Searched full:param (Results 22551 - 22565 of 22565) sorted by relevance
1...<<901902903
| /third_party/mindspore/ |
| H A D | mindspore-v2.1.0.zip | mindspore-v2.1.0/
mindspore-v2.1.0/.clang-format
mindspore-v2.1.0/ ... |
| /third_party/libabigail/tests/data/test-diff-suppr/ |
| H A D | test46-PR25128-base.xml | [all...] |
| H A D | test46-PR25128-new.xml | [all...] |
| H A D | test45-abi.xml | [all...] |
| /third_party/node/doc/api/ |
| H A D | all.json | 2823 "desc": "<pre><code class=\"language-c\">napi_status napi_new_instance(napi_env env,\n napi_value cons,\n size_t argc,\n napi_value* argv,\n napi_value* result)\n</code></pre>\n<ul>\n<li><code>[in] env</code>: The environment that the API is invoked under.</li>\n<li><code>[in] cons</code>: <code>napi_value</code> representing the JavaScript function to be invoked\nas a constructor.</li>\n<li><code>[in] argc</code>: The count of elements in the <code>argv</code> array.</li>\n<li><code>[in] argv</code>: Array of JavaScript values as <code>napi_value</code> representing the\narguments to the constructor. If <code>argc</code> is zero this parameter may be\nomitted by passing in <code>NULL</code>.</li>\n<li><code>[out] result</code>: <code>napi_value</code> representing the JavaScript object returned,\nwhich in this case is the constructed object.</li>\n</ul>\n<p>This method is used to instantiate a new JavaScript value using a given\n<code>napi_value</code> that represents the constructor for the object. For example,\nconsider the following snippet:</p>\n<pre><code class=\"language-js\">function MyObject(param) {\n this.param = param;\n}\n\nconst arg = 'hello';\nconst value = new MyObject(arg);\n</code></pre>\n<p>The following can be approximated in Node-API using the following snippet:</p>\n<pre><code class=\"language-c\">// Get the constructor function MyObject\nnapi_value global, constructor, arg, value;\nnapi_status status = napi_get_global(env, &global);\nif (status != napi_ok) return;\n\nstatus = napi_get_named_property(env, global, \"MyObject\", &constructor);\nif (status != napi_ok) return;\n\n// const arg = \"hello\"\nstatus = napi_create_string_utf8(env, \"hello\", NAPI_AUTO_LENGTH, &arg);\nif (status != napi_ok) return;\n\nnapi_value* argv = &arg;\nsize_t argc = 1;\n\n// const value = new MyObject(arg)\nstatus = napi_new_instance(env, constructor, argc, argv, &value);\n</code></pre>\n<p>Returns <code>napi_ok</code> if the API succeeded.</p>", [all...] |
| H A D | all.html | [all...] |
| /third_party/curl/ |
| H A D | configure | 33637 ac_fn_c_check_header_compile "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" " [all...] |
| /third_party/typescript/tests/baselines/reference/user/ |
| H A D | chrome-devtools-frontend.log | 601 node_modules/chrome-devtools-frontend/front_end/audits2_worker/Audits2Service.js(33,31): error TS8024: JSDoc '@param' tag has name '', but there is no parameter with that name. [all...] |
| /third_party/libabigail/tests/data/test-diff-filter/ |
| H A D | test-PR27569-v1.abi | [all...] |
| H A D | test-PR27569-v0.abi | [all...] |
| /third_party/sqlite/src/ |
| H A D | sqlite3.c | [all...] |
| /base/update/packaging_tools/test/ |
| H A D | target_vendor_data | [all...] |
| H A D | source_vendor_data | [all...] |
| /third_party/skia/third_party/externals/swiftshader/tests/regres/testlists/ |
| H A D | vk-master-PASS.txt | [all...] |
| /third_party/vk-gl-cts/android/cts/main/src/ |
| H A D | vk-master-2021-03-01.txt | [all...] |
Completed in 572 milliseconds
1...<<901902903