Home
last modified time | relevance | path

Searched refs:k1 (Results 1 - 25 of 208) sorted by relevance

123456789

/third_party/node/deps/npm/node_modules/imurmurhash/
H A Dimurmurhash.js38 var h1, k1, i, top, len;
43 k1 = this.k1;
46 case 0: k1 ^= len > i ? (key.charCodeAt(i++) & 0xffff) : 0;
47 case 1: k1 ^= len > i ? (key.charCodeAt(i++) & 0xffff) << 8 : 0;
48 case 2: k1 ^= len > i ? (key.charCodeAt(i++) & 0xffff) << 16 : 0;
50 k1 ^= len > i ? (key.charCodeAt(i) & 0xff) << 24 : 0;
51 k1 ^= len > i ? (key.charCodeAt(i++) & 0xff00) >> 8 : 0;
59 k1 = (k1 *
[all...]
/third_party/jerryscript/tests/jerry/es2015/
H A Dweakmap.js17 var k1 = {};
18 assert (m1.set (k1, 3.14) instanceof WeakMap);
19 assert (m1.has (k1) === true);
20 assert (m1.get (k1) === 3.14);
22 k1 = {};
25 assert (m1.has (k1) === false);
26 assert (m1.delete(k1) === false);
27 assert (m1.set (k1, "asd" + "fgh") instanceof WeakMap);
28 assert (m1.has (k1) === true);
29 assert (m1.get (k1)
[all...]
H A Dweakset.js18 var k1 = {};
19 assert (m1.add (k1) instanceof WeakSet);
20 assert (m1.has (k1) === true);
22 k1 = {};
25 assert (m1.has (k1) === false);
26 assert (m1.delete(k1) === false);
27 assert (m1.add (k1) instanceof WeakSet);
28 assert (m1.has (k1) === true);
41 assert (m1.delete(k1) === true);
43 assert (m1.has (k1)
[all...]
/third_party/python/Lib/test/
H A Dtest_keywordonlyarg.py10 def keywordonly_sum(*, k1=0, k2):
11 return k1 + k2
12 def keywordonly_nodefaults_sum(*, k1, k2):
13 return k1 + k2
14 def keywordonly_and_kwarg_sum(*, k1, k2, **kwarg):
15 return k1 + k2 + sum(kwarg.values())
16 def mixedargs_sum(a, b=0, *arg, k1, k2=0):
17 return a + b + k1 + k2 + sum(arg)
18 def mixedargs_sum2(a, b=0, *arg, k1, k2=0, **kwargs):
19 return a + b + k1
[all...]
/third_party/ffmpeg/libavutil/
H A Dxtea.c64 uint32_t k1 = ctx->key[1]; in xtea_crypt_ecb() local
89 DSTEP(0x8A8043AEU, k0, k1); in xtea_crypt_ecb()
90 DSTEP(0xEC48C9F5U, k1, k0); in xtea_crypt_ecb()
93 DSTEP(0x11A25CCAU, k3, k1); in xtea_crypt_ecb()
95 DSTEP(0xD5336958U, k1, k3); in xtea_crypt_ecb()
96 DSTEP(0x36FBEF9FU, k1, k2); in xtea_crypt_ecb()
97 DSTEP(0x98C475E6U, k2, k1); in xtea_crypt_ecb()
100 DSTEP(0xBE1E08BBU, k1, k2); in xtea_crypt_ecb()
101 DSTEP(0x1FE68F02U, k1, k1); in xtea_crypt_ecb()
[all...]
/third_party/skia/third_party/externals/angle2/src/common/third_party/smhasher/src/
H A DPMurHash.cpp150 #define DOBLOCK(h1, k1) \
153 k1 *= C1; \
154 k1 = ROTL32(k1, 15); \
155 k1 *= C2; \
157 h1 ^= k1; \
212 uint32_t k1 = READ_UINT32(ptr); in PMurHash32_Process() local
213 DOBLOCK(h1, k1); in PMurHash32_Process()
233 uint32_t k1 = READ_UINT32(ptr); in PMurHash32_Process() local
234 DOBLOCK(h1, k1); in PMurHash32_Process()
240 uint32_t k1 = c >> 24; PMurHash32_Process() local
249 uint32_t k1 = c >> 16; PMurHash32_Process() local
258 uint32_t k1 = c >> 8; PMurHash32_Process() local
282 uint32_t k1; PMurHash32_Result() local
[all...]
/third_party/typescript/tests/baselines/reference/
H A DkeyofAndForIn.js6 let k1: K;
7 for (k1 in obj) {
8 let x1 = obj[k1];
17 let k1: keyof T;
18 for (k1 in obj) {
19 let x1 = obj[k1];
28 let k1: K;
29 for (k1 in obj) {
30 let x1 = obj[k1];
41 var k1;
[all...]
H A DkeyofAndIndexedAccess2.js2 function f1(obj: { a: number, b: 0 | 1, c: string }, k0: 'a', k1: 'a' | 'b', k2: 'a' | 'b' | 'c') {
6 obj[k1] = 1;
7 obj[k1] = 2; // Error
8 obj[k1] = 'x'; // Error
50 function f10<T extends Item, K extends keyof T>(obj: T, k1: string, k2: keyof Item, k3: keyof T, k4: K) {
51 obj[k1] = 123; // Error
59 function f11<K extends keyof Dict>(obj: Dict, k1: keyof Dict, k2: K) {
61 obj[k1] = 123;
65 function f12<T extends Readonly<Dict>, K extends keyof T>(obj: T, k1: keyof Dict, k2: keyof T, k3: K) {
67 obj[k1]
[all...]
H A DkeyofAndIndexedAccessErrors.js71 function f20<T, U>(x: T | U, y: T & U, k1: keyof (T | U), k2: keyof T & keyof U, k3: keyof (T & U), k4: keyof T | keyof U) {
72 x[k1];
77 y[k1];
82 k1 = k2;
83 k1 = k3; // Error
84 k1 = k4; // Error
86 k2 = k1;
90 k3 = k1;
94 k4 = k1;
177 function f20(x, y, k1, k
[all...]
H A DtypeofClass.js7 var k1: K; variable
8 k1.foo;
9 k1.bar;
20 var k1; variable
21 k1.foo;
22 k1.bar;
H A DgenericObjectRest.js20 function f3<T, K1 extends keyof T, K2 extends keyof T>(obj: T, k1: K1, k2: K2) {
21 let { [k1]: a1, [k2]: a2, ...r1 } = obj;
26 function f4<K1 extends keyof Item, K2 extends keyof Item>(obj: Item, k1: K1, k2: K2) {
27 let { [k1]: a1, [k2]: a2, ...r1 } = obj;
58 function f3(obj, k1, k2) {
59 let _a = obj, _b = k1, a1 = _a[_b], _c = k2, a2 = _a[_c], r1 = __rest(_a, [typeof _b === "symbol" ? _b : _b + "", typeof _c === "symbol" ? _c : _c + ""]);
61 function f4(obj, k1, k2) {
62 let _a = obj, _b = k1, a1 = _a[_b], _c = k2, a2 = _a[_c], r1 = __rest(_a, [typeof _b === "symbol" ? _b : _b + "", typeof _c === "symbol" ? _c : _c + ""]);
H A DnoImplicitAnyForIn.js12 var k1 = x[0];
15 var k2 = k1[k];
41 var k1 = x[0];
43 var k2 = k1[k];
H A DoptionalPropertyAssignableToStringIndexSignature.js2 declare let optionalProperties: { k1?: string };
3 declare let undefinedProperties: { k1: string | undefined };
13 declare let optionalUndefined: { k1?: undefined };
17 let optional: { k1?: T } = undefined!;
/third_party/musl/libc-test/src/functional/
H A Dpthread_tsd.c9 static pthread_key_t k1, k2; variable
19 if (pthread_setspecific(k1, p) || pthread_setspecific(k2, p+1)) in start()
32 TESTR(r, pthread_key_create(&k1, dtor), "failed to create key"); in main()
35 TESTR(r, pthread_setspecific(k1, bar), "failed to set tsd"); in main()
42 TESTC(pthread_getspecific(k1) == bar, "tsd corrupted"); in main()
44 TESTR(r, pthread_setspecific(k1, 0), "failed to clear tsd"); in main()
46 TESTR(r, pthread_key_delete(k1), "failed to destroy key"); in main()
/third_party/node/deps/openssl/openssl/include/openssl/
H A Ddes.h61 # define DES_ecb2_encrypt(i,o,k1,k2,e) \
62 DES_ecb3_encrypt((i),(o),(k1),(k2),(k1),(e))
64 # define DES_ede2_cbc_encrypt(i,o,l,k1,k2,iv,e) \
65 DES_ede3_cbc_encrypt((i),(o),(l),(k1),(k2),(k1),(iv),(e))
67 # define DES_ede2_cfb64_encrypt(i,o,l,k1,k2,iv,n,e) \
68 DES_ede3_cfb64_encrypt((i),(o),(l),(k1),(k2),(k1),(iv),(n),(e))
70 # define DES_ede2_ofb64_encrypt(i,o,l,k1,k
[all...]
/third_party/openssl/include/openssl/
H A Ddes.h61 # define DES_ecb2_encrypt(i,o,k1,k2,e) \
62 DES_ecb3_encrypt((i),(o),(k1),(k2),(k1),(e))
64 # define DES_ede2_cbc_encrypt(i,o,l,k1,k2,iv,e) \
65 DES_ede3_cbc_encrypt((i),(o),(l),(k1),(k2),(k1),(iv),(e))
67 # define DES_ede2_cfb64_encrypt(i,o,l,k1,k2,iv,n,e) \
68 DES_ede3_cfb64_encrypt((i),(o),(l),(k1),(k2),(k1),(iv),(n),(e))
70 # define DES_ede2_ofb64_encrypt(i,o,l,k1,k
[all...]
/third_party/openssl/ohos_lite/include/openssl/
H A Ddes.h54 # define DES_ecb2_encrypt(i,o,k1,k2,e) \
55 DES_ecb3_encrypt((i),(o),(k1),(k2),(k1),(e))
57 # define DES_ede2_cbc_encrypt(i,o,l,k1,k2,iv,e) \
58 DES_ede3_cbc_encrypt((i),(o),(l),(k1),(k2),(k1),(iv),(e))
60 # define DES_ede2_cfb64_encrypt(i,o,l,k1,k2,iv,n,e) \
61 DES_ede3_cfb64_encrypt((i),(o),(l),(k1),(k2),(k1),(iv),(n),(e))
63 # define DES_ede2_ofb64_encrypt(i,o,l,k1,k
[all...]
/third_party/protobuf/java/util/src/main/java/com/google/protobuf/util/
H A DStructs.java42 public static Struct of(String k1, Value v1) { in of() argument
43 return Struct.newBuilder().putFields(k1, v1).build(); in of()
51 public static Struct of(String k1, Value v1, String k2, Value v2) { in of() argument
52 return Struct.newBuilder().putFields(k1, v1).putFields(k2, v2).build(); in of()
60 public static Struct of(String k1, Value v1, String k2, Value v2, String k3, Value v3) { in of() argument
61 return Struct.newBuilder().putFields(k1, v1).putFields(k2, v2).putFields(k3, v3).build(); in of()
/third_party/skia/third_party/externals/abseil-cpp/absl/random/internal/
H A Dwide_multiply_test.cc25 constexpr uint64_t k1 = 1; in TEST() local
37 MultiplyU64ToU128(kMax, k1 << i)); in TEST()
39 MultiplyU64ToU128(k1 << i, kMax)); in TEST()
46 MultiplyU64ToU128(k1 << i, k1 << j)); in TEST()
48 MultiplyU64ToU128(k1 << i, k1 << j)); in TEST()
/third_party/lame/libmp3lame/vector/
H A Dxmm_quantize_sub.c149 int i, k1, k2, k3, kx; in fht_SSE2() local
151 k1 = k4; in fht_SSE2()
153 k3 = k2 + k1; in fht_SSE2()
159 f1 = fi[0] - fi[k1]; in fht_SSE2()
160 f0 = fi[0] + fi[k1]; in fht_SSE2()
166 fi[k1] = f1 + f3; in fht_SSE2()
167 f1 = gi[0] - gi[k1]; in fht_SSE2()
168 f0 = gi[0] + gi[k1]; in fht_SSE2()
174 gi[k1] = f1 + f3; in fht_SSE2()
189 gi = fz + k1 in fht_SSE2()
[all...]
/third_party/skia/src/effects/
H A DSkBlenders.cpp12 sk_sp<SkBlender> SkBlenders::Arithmetic(float k1, float k2, float k3, float k4, in Arithmetic() argument
15 if (!SkScalarIsFinite(k1) || in Arithmetic()
24 float k1, k2, k3, k4; in Arithmetic() member
32 if (SkScalarNearlyEqual(k1, t.k1) && in Arithmetic()
60 k1, k2, k3, k4, in Arithmetic()
/third_party/node/deps/openssl/openssl/crypto/cmac/
H A Dcmac.c26 /* Keys k1 and k2 */
27 unsigned char k1[EVP_MAX_BLOCK_LENGTH]; member
39 static void make_kn(unsigned char *k1, const unsigned char *l, int bl) in make_kn() argument
46 k1[i] = (c << 1) | ((cnext = l[i + 1]) >> 7); in make_kn()
49 k1[i] = (c << 1) ^ ((0 - carry) & (bl == 16 ? 0x87 : 0x1b)); in make_kn()
73 OPENSSL_cleanse(ctx->k1, EVP_MAX_BLOCK_LENGTH); in CMAC_CTX_cleanup()
103 memcpy(out->k1, in->k1, bl); in CMAC_CTX_copy()
150 make_kn(ctx->k1, ctx->tbl, bl); in CMAC_Init()
151 make_kn(ctx->k2, ctx->k1, b in CMAC_Init()
[all...]
/third_party/openssl/crypto/cmac/
H A Dcmac.c26 /* Keys k1 and k2 */
27 unsigned char k1[EVP_MAX_BLOCK_LENGTH]; member
39 static void make_kn(unsigned char *k1, const unsigned char *l, int bl) in make_kn() argument
46 k1[i] = (c << 1) | ((cnext = l[i + 1]) >> 7); in make_kn()
49 k1[i] = (c << 1) ^ ((0 - carry) & (bl == 16 ? 0x87 : 0x1b)); in make_kn()
73 OPENSSL_cleanse(ctx->k1, EVP_MAX_BLOCK_LENGTH); in CMAC_CTX_cleanup()
103 memcpy(out->k1, in->k1, bl); in CMAC_CTX_copy()
150 make_kn(ctx->k1, ctx->tbl, bl); in CMAC_Init()
151 make_kn(ctx->k2, ctx->k1, b in CMAC_Init()
[all...]
/third_party/lame/libmp3lame/
H A Dfft.c75 int i, k1, k2, k3, kx; in fht() local
77 k1 = k4; in fht()
79 k3 = k2 + k1; in fht()
85 f1 = fi[0] - fi[k1]; in fht()
86 f0 = fi[0] + fi[k1]; in fht()
92 fi[k1] = f1 + f3; in fht()
93 f1 = gi[0] - gi[k1]; in fht()
94 f0 = gi[0] + gi[k1]; in fht()
100 gi[k1] = f1 + f3; in fht()
111 gi = fz + k1 in fht()
[all...]
/third_party/python/PC/layout/support/
H A Doptions.py112 k1 = key.replace("-", "_")
113 k2 = "include_{}".format(k1)
116 elif hasattr(ns, k1):
117 setattr(ns, k1, value)
119 raise AttributeError("no argument named '{}'".format(k1))

Completed in 7 milliseconds

123456789