Home
last modified time | relevance | path

Searched refs:init (Results 1 – 25 of 6180) sorted by relevance

12345678910>>...248

/third_party/openssl/include/internal/
Dthread_once.h26 #define DEFINE_RUN_ONCE(init) \ argument
27 static int init(void); \
28 int init##_ossl_ret_ = 0; \
29 void init##_ossl_(void) \
31 init##_ossl_ret_ = init(); \
33 static int init(void)
39 #define DECLARE_RUN_ONCE(init) \ argument
40 extern int init##_ossl_ret_; \
41 void init##_ossl_(void);
58 #define DEFINE_RUN_ONCE_STATIC(init) \ argument
[all …]
/third_party/typescript_eslint/packages/eslint-plugin/src/rules/
Dno-inferrable-types.ts53 init: TSESTree.Expression,
56 if (init.type === AST_NODE_TYPES.ChainExpression) {
57 return isFunctionCall(init.expression, callName);
61 init.type === AST_NODE_TYPES.CallExpression &&
62 init.callee.type === AST_NODE_TYPES.Identifier &&
63 init.callee.name === callName
66 function isLiteral(init: TSESTree.Expression, typeName: string): boolean {
68 init.type === AST_NODE_TYPES.Literal && typeof init.value === typeName
72 init: TSESTree.Expression,
76 init.type === AST_NODE_TYPES.Identifier && names.includes(init.name)
[all …]
/third_party/mindspore/tests/ut/python/utils/
Dtest_initializer.py23 import mindspore.common.initializer as init namespace
36 class InitTwo(init.Initializer):
40 init._assignment(arr, 2)
60 tensor = init.initializer(InitTwo(), [2, 2], ms.int32)
67 tensor = init.initializer(tensor, [1, 2, 3], ms.float32)
72 tensor = init.initializer(init.Zero(), [2, 2])
78 tensor = init.initializer(init.Zero(), [2, 2], ms.float32)
83 tensor = init.initializer('zeros', [1, 2])
89 tensor = init.initializer('zeros', [1, 2], ms.float32)
94 tensor = init.initializer(init.One(), [2, 2], ms.float32)
[all …]
/third_party/boost/libs/compute/include/boost/compute/algorithm/
Daccumulate.hpp35 T init, in generic_accumulate() argument
43 return init; in generic_accumulate()
49 first, last, device_result.begin(), init, function, queue in generic_accumulate()
63 inline bool can_accumulate_with_reduce(T init, F function) in can_accumulate_with_reduce() argument
65 (void) init; in can_accumulate_with_reduce()
73 inline bool can_accumulate_with_reduce(type init, plus<type>) \
75 return init == type(0); \
77 inline bool can_accumulate_with_reduce(type init, multiplies<type>) \
79 return init == type(1); \
89 inline bool can_accumulate_with_reduce(T init, min<T>) in can_accumulate_with_reduce() argument
[all …]
/third_party/boost/boost/compute/algorithm/
Daccumulate.hpp35 T init, in generic_accumulate() argument
43 return init; in generic_accumulate()
49 first, last, device_result.begin(), init, function, queue in generic_accumulate()
63 inline bool can_accumulate_with_reduce(T init, F function) in can_accumulate_with_reduce() argument
65 (void) init; in can_accumulate_with_reduce()
73 inline bool can_accumulate_with_reduce(type init, plus<type>) \
75 return init == type(0); \
77 inline bool can_accumulate_with_reduce(type init, multiplies<type>) \
79 return init == type(1); \
89 inline bool can_accumulate_with_reduce(T init, min<T>) in can_accumulate_with_reduce() argument
[all …]
/third_party/boost/boost/spirit/home/classic/phoenix/
Dtuples.hpp556 tuple(TupleT const& init) in tuple()
557 : a(init[tuple_index<0>()]) in tuple()
597 tuple(TupleT const& init) in tuple()
598 : a(init[tuple_index<0>()]), b(init[tuple_index<1>()]) in tuple()
640 tuple(TupleT const& init) in tuple()
641 : a(init[tuple_index<0>()]), b(init[tuple_index<1>()]), in tuple()
642 c(init[tuple_index<2>()]) in tuple()
683 tuple(TupleT const& init) in tuple()
684 : a(init[tuple_index<0>()]), b(init[tuple_index<1>()]), in tuple()
685 c(init[tuple_index<2>()]), d(init[tuple_index<3>()]) in tuple()
[all …]
/third_party/mindspore/mindspore/ccsrc/pybind_api/ir/
Ddtype_py.cc54 (void)py::class_<Number, Type, std::shared_ptr<Number>>(m_sub, "Number").def(py::init()); in __anonbf3463190102()
56 .def(py::init()) in __anonbf3463190102()
65 .def(py::init()) in __anonbf3463190102()
66 .def(py::init<int>(), py::arg("nbits")) in __anonbf3463190102()
81 .def(py::init()) in __anonbf3463190102()
82 .def(py::init<int>(), py::arg("nbits")) in __anonbf3463190102()
97 .def(py::init()) in __anonbf3463190102()
98 .def(py::init<int>(), py::arg("nbits")) in __anonbf3463190102()
113 .def(py::init()) in __anonbf3463190102()
114 .def(py::init<int>(), py::arg("nbits")) in __anonbf3463190102()
[all …]
/third_party/mindspore/tests/ut/python/keep_order/
Dtest_keep_order.py43 init = self.alloc_status()
46 init = F.depend(init, sum_)
47 init = F.depend(init, product)
48 get_status = self.get_status(init)
52 init = F.depend(init, out)
53 clear = self.clear_status(init)
70 init = self.alloc_status()
73 init = F.depend(init, sum1)
74 init = F.depend(init, dx)
75 get_status = self.get_status(init)
[all …]
/third_party/node/test/async-hooks/
Dtest-tcpwrap.js36 checkInvocations(tcpserver, { init: 1 }, 'when calling server.listen'); property
57 checkInvocations(tcpserver, { init: 1 }, property
59 checkInvocations(tcp1, { init: 1 }, 'tcp1 when client is connecting'); property
74 { init: 1, before: 1, after: 1 } :
75 { init: 1, before: 1 };
91 const expected = serverConnection ? { init: 1 } : { init: 1, before: 1 };
102 { init: 1, before: 1, after: 1 } :
103 { init: 1 };
105 checkInvocations(tcp1, { init: 1 }, 'tcp1 when client connects'); property
121 checkInvocations(tcpserver, { init: 1, before: 1 }, property
[all …]
Dtest-tlswrap.js50 checkInvocations(svr, { init: 1 }, 'server: when client connecting'); property
67 checkInvocations(svr, { init: 1, before: 1, after: 1 }, property
70 checkInvocations(client, { init: 1, before: 2, after: 1 }, property
78 checkInvocations(svr, { init: 1, before: 2, after: 1 }, property
80 checkInvocations(client, { init: 1, before: 2, after: 2 }, property
87 checkInvocations(svr, { init: 1, before: 2, after: 1 }, property
89 checkInvocations(client, { init: 1, before: 2, after: 2 }, property
94 checkInvocations(svr, { init: 1, before: 2, after: 2 }, property
103 checkInvocations(client, { init: 1, before: 3, after: 3 }, property
110 checkInvocations(svr, { init: 1, before: 2, after: 2 }, property
[all …]
/third_party/node/deps/npm/test/tap/
Dinit-create.js26 var init = requireInject('../../lib/init', {
31 init(['name'], function () {})
43 var init = requireInject('../../lib/init', {
51 init(['@scope'], function () {})
57 init(['@scope/name'], function () {})
69 var init = requireInject('../../lib/init', {
77 init(['name@1.2.3'], function () {})
83 init(['name@^1.2.3'], function () {})
95 var init = requireInject('../../lib/init', {
103 init(['user/foo'], function () {})
[all …]
/third_party/glslang/glslang/MachineIndependent/
Dglslang.y1182 $$.init($1.loc);
1192 $$.init($1.loc);
1199 $$.init($1.loc);
1207 $$.init($1.loc);
1214 $$.init($1.loc);
1222 $$.init($1.loc);
1232 $$.init($1.loc);
1239 $$.init($1.loc);
1246 $$.init($1.loc);
1270 $$.init($1.loc);
[all …]
Dglslang.m41182 $$.init($1.loc);
1192 $$.init($1.loc);
1199 $$.init($1.loc);
1207 $$.init($1.loc);
1214 $$.init($1.loc);
1222 $$.init($1.loc);
1232 $$.init($1.loc);
1239 $$.init($1.loc);
1246 $$.init($1.loc);
1270 $$.init($1.loc);
[all …]
/third_party/python/Lib/test/test_importlib/
Dtest_api.py3 init = test_util.import_importlib('importlib') variable
25 module = self.init.import_module('top_level')
35 module = self.init.import_module(name)
47 self.init.import_module(pkg_name)
48 module = self.init.import_module(relative_name, pkg_name)
55 self.init.import_module('a')
56 self.init.import_module('a.b')
57 module = self.init.import_module('..c', 'a.b')
68 self.init.import_module(pkg_name)
69 module = self.init.import_module(name, pkg_name)
[all …]
/third_party/node/deps/npm/node_modules/node-fetch-npm/src/
Drequest.js26 constructor (input, init) { argument
27 if (!init) init = {}
46 let method = init.method || input.method || 'GET'
48 if ((init.body != null || (input instanceof Request && input.body !== null)) &&
53 let inputBody = init.body != null
54 ? init.body
60 timeout: init.timeout || input.timeout || 0,
61 size: init.size || input.size || 0
66 this.redirect = init.redirect || input.redirect || 'follow'
67 this.headers = new Headers(init.headers || input.headers || {})
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/crosstest/
Dmem_intrin.cpp19 reset_buf(uint8_t *buf, uint8_t init, SizeT length) { in reset_buf() argument
21 SizeT v = init; in reset_buf()
43 int memcpy_test(uint8_t *buf, uint8_t *buf2, uint8_t init, SizeT length) { in memcpy_test() argument
44 reset_buf(buf, init, length); in memcpy_test()
49 int memmove_test(uint8_t *buf, uint8_t *buf2, uint8_t init, SizeT length) { in memmove_test() argument
57 reset_buf(buf, init, length); in memmove_test()
68 int memset_test(uint8_t *buf, uint8_t *buf2, uint8_t init, SizeT length) { in memset_test() argument
69 memset((void *)buf, init, length); in memset_test()
70 memset((void *)buf2, init + 4, length); in memset_test()
75 int memcpy_test_fixed_len_##NBYTES(uint8_t init) { \
[all …]
/third_party/skia/third_party/externals/icu/source/data/zone/
Dceb.txt19 ld{"Oras sa Tag-init sa British"}
34 ld{"Oras sa Tag-init sa West Africa"}
39 ld{"Oras sa Tag-init sa Alaska"}
44 ld{"Oras sa Tag-init sa Amazon"}
49 ld{"Sentrong Oras sa Tag-init"}
54 ld{"Oras sa Tag-init sa Sidlakan"}
59 ld{"Oras sa Tag-init sa Kabukiran"}
64 ld{"Oras sa Tag-init sa Pasipiko"}
69 ld{"Oras sa Tag-init sa Apia"}
74 ld{"Oras sa Tag-init sa Arabia"}
[all …]
/third_party/icu/icu4c/source/data/zone/
Dceb.txt19 ld{"Oras sa Tag-init sa British"}
34 ld{"Oras sa Tag-init sa West Africa"}
39 ld{"Oras sa Tag-init sa Alaska"}
44 ld{"Oras sa Tag-init sa Amazon"}
49 ld{"Sentrong Oras sa Tag-init"}
54 ld{"Oras sa Tag-init sa Sidlakan"}
59 ld{"Oras sa Tag-init sa Kabukiran"}
64 ld{"Oras sa Tag-init sa Pasipiko"}
69 ld{"Oras sa Tag-init sa Apia"}
74 ld{"Oras sa Tag-init sa Arabia"}
[all …]
/third_party/node/deps/npm/docs/content/cli-commands/
Dnpm-init.md3 title: npm-init
7 # npm-init(1)
13 npm init [--force|-f|--yes|-y|--scope]
14 npm init <@scope> (same as `npx <@scope>/create`)
15 npm init [<@scope>/]<name> (same as `npx [<@scope>/]create-<name>`)
22 $ npm init react-app ./my-react-app
28 $ npm init esm --yes
31 Generate a plain old package.json using legacy init:
34 $ git init
35 $ npm init
[all …]
/third_party/ltp/testscripts/
Dautofs1.sh137 /etc/init.d/autofs start
141 echo "FAILED: "/etc/init.d/autofs start""
147 /etc/init.d/autofs stop
151 echo "FAILED: "/etc/init.d/autofs stop""
154 /etc/init.d/autofs start
159 /etc/init.d/autofs restart
162 /etc/init.d/autofs stop
164 echo "FAILED: "/etc/init.d/autofs restart""
170 /etc/init.d/autofs status
173 /etc/init.d/autofs stop
[all …]
Dautofs4.sh129 /etc/init.d/autofs start >/dev/null 2>&1
133 echo "FAILED: "/etc/init.d/autofs start""
139 /etc/init.d/autofs stop >/dev/null 2>&1
143 echo "FAILED: "/etc/init.d/autofs stop""
146 /etc/init.d/autofs start >/dev/null 2>&1
150 /etc/init.d/autofs restart >/dev/null 2>&1
153 /etc/init.d/autofs stop >/dev/null 2>&1
155 echo "FAILED: "/etc/init.d/autofs restart""
161 /etc/init.d/autofs status >/dev/null 2>&1
164 /etc/init.d/autofs stop >/dev/null 2>&1
[all …]
/third_party/mindspore/tests/ut/python/parallel/
Dtest_using_seed_for_initializer.py17 import mindspore.common.initializer as init namespace
27 …self.para_xavier_uniform = Parameter(init.initializer('xavier_uniform', parameter_shape), name="xa…
28 …self.para_he_uniform = Parameter(init.initializer('he_uniform', parameter_shape), name="he_uniform…
29 … self.para_xavier_uniform2 = Parameter(init.initializer(init.XavierUniform(), parameter_shape),
31 …self.para_he_uniform2 = Parameter(init.initializer(init.HeUniform(), parameter_shape), name="he_un…
32 … self.para_truncated_normal = Parameter(init.initializer(init.TruncatedNormal(), parameter_shape),
34 … self.para_normal = Parameter(init.initializer(init.Normal(), parameter_shape), name="normal")
35 … self.para_uniform = Parameter(init.initializer(init.Uniform(), parameter_shape), name="uniform")
/third_party/ffmpeg/libavformat/
Drawenc.c67 .init = force_one_stream,
99 .init = force_one_stream,
113 .init = force_one_stream,
126 .init = force_one_stream,
139 .init = force_one_stream,
152 .init = force_one_stream,
164 .init = force_one_stream,
175 .init = force_one_stream,
188 .init = force_one_stream,
201 .init = force_one_stream,
[all …]
/third_party/boost/boost/algorithm/cxx17/
Dtransform_reduce.hpp28 InputIterator2 first2, T init, in transform_reduce() argument
32 init = bOp1(init, bOp2(*first1, *first2)); in transform_reduce()
33 return init; in transform_reduce()
39 T init, BinaryOperation bOp, UnaryOperation uOp) in transform_reduce() argument
42 init = bOp(init, uOp(*first)); in transform_reduce()
43 return init; in transform_reduce()
48 InputIterator2 first2, T init) in transform_reduce() argument
50 return boost::algorithm::transform_reduce(first1, last1, first2, init, in transform_reduce()
/third_party/typescript/tests/baselines/reference/
DgenericFunctionParameters.types43 declare const s: <R>(go: <S>(ops: { init(): S; }) => R) => R;
44 >s : <R>(go: <S>(ops: { init(): S; }) => R) => R
45 >go : <S>(ops: { init(): S; }) => R
46 >ops : { init(): S; }
47 >init : () => S
49 const x = s(a => a.init()); // x is any, should have been {}
51 >s(a => a.init()) : unknown
52 >s : <R>(go: <S>(ops: { init(): S; }) => R) => R
53 >a => a.init() : <S>(a: { init(): S; }) => S
54 >a : { init(): S; }
[all …]

12345678910>>...248