Home
last modified time | relevance | path

Searched full:join (Results 6626 - 6650 of 7034) sorted by relevance

1...<<261262263264265266267268269270>>...282

/third_party/node/lib/internal/
H A Derrors.js1638 protocols.join(', ')
/third_party/node/lib/
H A Drepl.js461 parentURL = pathToFileURL(path.join(process.cwd(), 'repl')).href;
/third_party/node/doc/api/
H A Dv8.json1040 "desc": "<p>The <code>v8.startupSnapshot</code> interface can be used to add serialization and\ndeserialization hooks for custom startup snapshots.</p>\n<pre><code class=\"language-console\">$ node --snapshot-blob snapshot.blob --build-snapshot entry.js\n# This launches a process with the snapshot\n$ node --snapshot-blob snapshot.blob\n</code></pre>\n<p>In the example above, <code>entry.js</code> can use methods from the <code>v8.startupSnapshot</code>\ninterface to specify how to save information for custom objects in the snapshot\nduring serialization and how the information can be used to synchronize these\nobjects during deserialization of the snapshot. For example, if the <code>entry.js</code>\ncontains the following script:</p>\n<pre><code class=\"language-cjs\">'use strict';\n\nconst fs = require('node:fs');\nconst zlib = require('node:zlib');\nconst path = require('node:path');\nconst assert = require('node:assert');\n\nconst v8 = require('node:v8');\n\nclass BookShelf {\n storage = new Map();\n\n // Reading a series of files from directory and store them into storage.\n constructor(directory, books) {\n for (const book of books) {\n this.storage.set(book, fs.readFileSync(path.join(directory, book)));\n }\n }\n\n static compressAll(shelf) {\n for (const [ book, content ] of shelf.storage) {\n shelf.storage.set(book, zlib.gzipSync(content));\n }\n }\n\n static decompressAll(shelf) {\n for (const [ book, content ] of shelf.storage) {\n shelf.storage.set(book, zlib.gunzipSync(content));\n }\n }\n}\n\n// __dirname here is where the snapshot script is placed\n// during snapshot building time.\nconst shelf = new BookShelf(__dirname, [\n 'book1.en_US.txt',\n 'book1.es_ES.txt',\n 'book2.zh_CN.txt',\n]);\n\nassert(v8.startupSnapshot.isBuildingSnapshot());\n// On snapshot serialization, compress the books to reduce size.\nv8.startupSnapshot.addSerializeCallback(BookShelf.compressAll, shelf);\n// On snapshot deserialization, decompress the books.\nv8.startupSnapshot.addDeserializeCallback(BookShelf.decompressAll, shelf);\nv8.startupSnapshot.setDeserializeMainFunction((shelf) => {\n // process.env and process.argv are refreshed during snapshot\n // deserialization.\n const lang = process.env.BOOK_LANG || 'en_US';\n const book = process.argv[1];\n const name = `${book}.${lang}.txt`;\n console.log(shelf.storage.get(name));\n}, shelf);\n</code></pre>\n<p>The resulted binary will get print the data deserialized from the snapshot\nduring start up, using the refreshed <code>process.env</code> and <code>process.argv</code> of\nthe launched process:</p>\n<pre><code class=\"language-console\">$ BOOK_LANG=es_ES node --snapshot-blob snapshot.blob book1\n# Prints content of book1.es_ES.txt deserialized from the snapshot.\n</code></pre>\n<p>Currently the application deserialized from a user-land snapshot cannot\nbe snapshotted again, so these APIs are only available to applications\nthat are not deserialized from a user-land snapshot.</p>",
H A Dnet.md56 path.join('\\\\?\\pipe', process.cwd(), 'myctl'));
H A Dmodules.json35 "desc": "<p>To get the exact filename that will be loaded when <code>require()</code> is called, use\nthe <code>require.resolve()</code> function.</p>\n<p>Putting together all of the above, here is the high-level algorithm\nin pseudocode of what <code>require()</code> does:</p>\n<pre>\nrequire(X) from module at path Y\n1. If X is a core module,\n a. return the core module\n b. STOP\n2. If X begins with '/'\n a. set Y to be the file system root\n3. If X begins with './' or '/' or '../'\n a. LOAD_AS_FILE(Y + X)\n b. LOAD_AS_DIRECTORY(Y + X)\n c. THROW \"not found\"\n4. If X begins with '#'\n a. LOAD_PACKAGE_IMPORTS(X, dirname(Y))\n5. LOAD_PACKAGE_SELF(X, dirname(Y))\n6. LOAD_NODE_MODULES(X, dirname(Y))\n7. THROW \"not found\"\n\nLOAD_AS_FILE(X)\n1. If X is a file, load X as its file extension format. STOP\n2. If X.js is a file, load X.js as JavaScript text. STOP\n3. If X.json is a file, parse X.json to a JavaScript Object. STOP\n4. If X.node is a file, load X.node as binary addon. STOP\n\nLOAD_INDEX(X)\n1. If X/index.js is a file, load X/index.js as JavaScript text. STOP\n2. If X/index.json is a file, parse X/index.json to a JavaScript object. STOP\n3. If X/index.node is a file, load X/index.node as binary addon. STOP\n\nLOAD_AS_DIRECTORY(X)\n1. If X/package.json is a file,\n a. Parse X/package.json, and look for \"main\" field.\n b. If \"main\" is a falsy value, GOTO 2.\n c. let M = X + (json main field)\n d. LOAD_AS_FILE(M)\n e. LOAD_INDEX(M)\n f. LOAD_INDEX(X) DEPRECATED\n g. THROW \"not found\"\n2. LOAD_INDEX(X)\n\nLOAD_NODE_MODULES(X, START)\n1. let DIRS = NODE_MODULES_PATHS(START)\n2. for each DIR in DIRS:\n a. LOAD_PACKAGE_EXPORTS(X, DIR)\n b. LOAD_AS_FILE(DIR/X)\n c. LOAD_AS_DIRECTORY(DIR/X)\n\nNODE_MODULES_PATHS(START)\n1. let PARTS = path split(START)\n2. let I = count of PARTS - 1\n3. let DIRS = []\n4. while I >= 0,\n a. if PARTS[I] = \"node_modules\" CONTINUE\n b. DIR = path join(PARTS[0 .. I] + \"node_modules\")\n c. DIRS = DIR + DIRS\n d. let I = I - 1\n5. return DIRS + GLOBAL_FOLDERS\n\nLOAD_PACKAGE_IMPORTS(X, DIR)\n1. Find the closest package scope SCOPE to DIR.\n2. If no scope was found, return.\n3. If the SCOPE/package.json \"imports\" is null or undefined, return.\n4. let MATCH = PACKAGE_IMPORTS_RESOLVE(X, pathToFileURL(SCOPE),\n [\"node\", \"require\"]) <a href=\"esm.md#resolver-algorithm-specification\">defined in the ESM resolver</a>.\n5. RESOLVE_ESM_MATCH(MATCH).\n\nLOAD_PACKAGE_EXPORTS(X, DIR)\n1. Try to interpret X as a combination of NAME and SUBPATH where the name\n may have a @scope/ prefix and the subpath begins with a slash (`/`).\n2. If X does not match this pattern or DIR/NAME/package.json is not a file,\n return.\n3. Parse DIR/NAME/package.json, and look for \"exports\" field.\n4. If \"exports\" is null or undefined, return.\n5. let MATCH = PACKAGE_EXPORTS_RESOLVE(pathToFileURL(DIR/NAME), \".\" + SUBPATH,\n `package.json` \"exports\", [\"node\", \"require\"]) <a href=\"esm.md#resolver-algorithm-specification\">defined in the ESM resolver</a>.\n6. RESOLVE_ESM_MATCH(MATCH)\n\nLOAD_PACKAGE_SELF(X, DIR)\n1. Find the closest package scope SCOPE to DIR.\n2. If no scope was found, return.\n3. If the SCOPE/package.json \"exports\" is null or undefined, return.\n4. If the SCOPE/package.json \"name\" is not the first segment of X, return.\n5. let MATCH = PACKAGE_EXPORTS_RESOLVE(pathToFileURL(SCOPE),\n \".\" + X.slice(\"name\".length), `package.json` \"exports\", [\"node\", \"require\"])\n <a href=\"esm.md#resolver-algorithm-specification\">defined in the ESM resolver</a>.\n6. RESOLVE_ESM_MATCH(MATCH)\n\nRESOLVE_ESM_MATCH(MATCH)\n1. let RESOLVED_PATH = fileURLToPath(MATCH)\n2. If the file at RESOLVED_PATH exists, load RESOLVED_PATH as its extension\n format. STOP\n3. THROW \"not found\"\n</pre>"
/third_party/mesa3d/src/intel/tools/
H A Di965_gram.y393 %token <integer> JMPI JOIN
/third_party/lwip/src/apps/mdns/
H A Dmdns.c2080 /* Join multicast groups */ in mdns_resp_add_netif()
/third_party/ltp/tools/sparse/sparse-src/
H A Dlinearize.c1749 // join in linearize_logical()
/third_party/lz4/lib/
H A Dlz4frame.c1527 /* join dict & dest into tmp */ in LZ4F_updateDict()
/third_party/node/deps/v8/src/base/platform/
H A Dplatform-win32.cc1631 void Thread::Join() { in Join() function in v8::base::Thread
/third_party/node/deps/v8/src/diagnostics/
H A Dgdb-jit.cc660 // Join the next 4 lines, omitting the spaces and double-slashes.
/third_party/node/deps/openssl/openssl/crypto/perlasm/
H A Dsparcv9_modes.pl1616 $ref = "$mnemonic\t".join(",",@_);
/third_party/node/deps/openssl/openssl/crypto/chacha/asm/
H A Dchacha-ppc.pl83 $code .= "\t$opcode\t".join(',',@_)."\n";
H A Dchacha-armv8.pl65 $code .= "\t$opcode\t".join(',',@_,$arg)."\n";
H A Dchacha-armv4.pl58 $code .= "\t$opcode\t".join(',',@_,$arg)."\n";
/third_party/node/deps/openssl/openssl/crypto/aes/asm/
H A Dvpaes-ppc.pl1580 print ".byte\t",join(',',map (sprintf("0x%02x",$_),@bytes)),"\n";
/third_party/libabigail/include/
H A Dabg-diff-utils.h1019 // k_plus_delta current diagonal. So to join the current in end_of_frr_d_path_in_k_plus_delta()
/third_party/rust/crates/cxx/gen/cmd/src/gen/
H A Dwrite.rs1394 symbol::join(&[&"std", &"vector", &element.to_mangled(types)]) in to_mangled()
/third_party/rust/crates/cxx/gen/src/
H A Dwrite.rs1394 symbol::join(&[&"std", &"vector", &element.to_mangled(types)]) in to_mangled()
/third_party/rust/crates/cxx/gen/lib/src/gen/
H A Dwrite.rs1394 symbol::join(&[&"std", &"vector", &element.to_mangled(types)]) in to_mangled()
/third_party/python/Doc/howto/
H A Dfunctional.rst837 itertools.starmap(os.path.join,
/third_party/python/Lib/test/
H A Dtest_calendar.py422 return [[[' '.join('{:02d}/{:02d}/{}'.format(
/third_party/python/Lib/test/test_asyncio/
H A Dtest_unix_events.py1739 th.join()
/third_party/openssl/crypto/perlasm/
H A Dsparcv9_modes.pl1616 $ref = "$mnemonic\t".join(",",@_);
/third_party/openssl/crypto/chacha/asm/
H A Dchacha-ppc.pl83 $code .= "\t$opcode\t".join(',',@_)."\n";

Completed in 65 milliseconds

1...<<261262263264265266267268269270>>...282