Home
last modified time | relevance | path

Searched refs:num (Results 1 – 25 of 3198) sorted by relevance

12345678910>>...128

/third_party/ltp/testcases/kernel/mce-test/tsrc/
Drun-huge-test.sh19 num=0
26 num=$7
50 file_type="-f $num"
76 num=$((num+1))
77 exec_testcase 2 1 "head" "early" "file" "fork_shared" $num
78 num=$((num+1))
79 exec_testcase 2 1 "head" "early" "file" "fork_private_nocow" $num
80 num=$((num+1))
81 exec_testcase 2 1 "head" "early" "file" "fork_private_cow" $num
82 num=$((num+1))
[all …]
/third_party/typescript/tests/baselines/reference/
DnumberVsBigIntOperations.js3 let bigInt = 1n, num = 2; variable
4 bigInt = 1n; bigInt = 2; num = 1n; num = 2;
5 bigInt += 1n; bigInt += 2; num += 1n; num += 2;
6 bigInt -= 1n; bigInt -= 2; num -= 1n; num -= 2;
7 bigInt *= 1n; bigInt *= 2; num *= 1n; num *= 2;
8 bigInt /= 1n; bigInt /= 2; num /= 1n; num /= 2;
9 bigInt %= 1n; bigInt %= 2; num %= 1n; num %= 2;
10 bigInt **= 1n; bigInt **= 2; num **= 1n; num **= 2;
11 bigInt <<= 1n; bigInt <<= 2; num <<= 1n; num <<= 2;
12 bigInt >>= 1n; bigInt >>= 2; num >>= 1n; num >>= 2;
[all …]
DnumberVsBigIntOperations.types3 let bigInt = 1n, num = 2;
6 >num : number
9 bigInt = 1n; bigInt = 2; num = 1n; num = 2;
16 >num = 1n : 1n
17 >num : number
19 >num = 2 : 2
20 >num : number
23 bigInt += 1n; bigInt += 2; num += 1n; num += 2;
30 >num += 1n : any
31 >num : number
[all …]
DnumberVsBigIntOperations.symbols3 let bigInt = 1n, num = 2;
5 >num : Symbol(num, Decl(numberVsBigIntOperations.ts, 1, 16))
7 bigInt = 1n; bigInt = 2; num = 1n; num = 2;
10 >num : Symbol(num, Decl(numberVsBigIntOperations.ts, 1, 16))
11 >num : Symbol(num, Decl(numberVsBigIntOperations.ts, 1, 16))
13 bigInt += 1n; bigInt += 2; num += 1n; num += 2;
16 >num : Symbol(num, Decl(numberVsBigIntOperations.ts, 1, 16))
17 >num : Symbol(num, Decl(numberVsBigIntOperations.ts, 1, 16))
19 bigInt -= 1n; bigInt -= 2; num -= 1n; num -= 2;
22 >num : Symbol(num, Decl(numberVsBigIntOperations.ts, 1, 16))
[all …]
DtypeGuardsInClassAccessors.js6 var num: number; variable
13 num = typeof var1 === "string" && var1.length; // string
17 num = typeof var2 === "string" && var2.length; // string
24 num = typeof var1 === "string" && var1.length; // string
27 num = typeof param === "string" && param.length; // string
31 num = typeof var2 === "string" && var2.length; // string
36 num = typeof var1 === "string" && var1.length; // string
40 num = typeof var2 === "string" && var2.length; // string
47 num = typeof var1 === "string" && var1.length; // string
50 num = typeof param === "string" && param.length; // string
[all …]
DgenericChainedCalls.types12 var r1 = v1.func(num => num.toString())
14 >v1.func(num => num.toString()) .func(str => str.length) // error, number doesn't have a…
15 >v1.func(num => num.toString()) .func(str => str.length) // error, number doesn't have a…
16 >v1.func(num => num.toString()) .func(str => str.length) : I1<number>
17 >v1.func(num => num.toString()) .func : <U>(callback: (value: number) => U) => I1<number>
18 >v1.func(num => num.toString()) : I1<number>
22 >num => num.toString() : (num: number) => string
23 >num : number
24 >num.toString() : string
25 >num.toString : (radix?: number) => string
[all …]
DtypeGuardsInFunction.js6 var num: number; variable
11 num = typeof var1 === "string" && var1.length; // string
15 num = typeof var2 === "string" && var2.length; // string
18 num = typeof param === "string" && param.length; // string
25 num = typeof var1 === "string" && var1.length; // string
28 num = typeof var2 === "string" && var2.length; // string
31 num = typeof param === "string" && param.length; // string
35 num = typeof var3 === "string" && var3.length; // string
36 num = typeof param1 === "string" && param1.length; // string
46 num = typeof var1 === "string" && var1.length; // string
[all …]
DtypeGuardsInClassMethods.js6 var num: number; variable
11 num = typeof var1 === "string" && var1.length; // string
15 num = typeof var2 === "string" && var2.length; // string
18 num = typeof param === "string" && param.length; // string
23 num = typeof var1 === "string" && var1.length; // string
27 num = typeof var2 === "string" && var2.length; // string
30 num = typeof param === "string" && param.length; // string
35 num = typeof var1 === "string" && var1.length; // string
39 num = typeof var2 === "string" && var2.length; // string
42 num = typeof param === "string" && param.length; // string
[all …]
DkeyofDoesntContainSymbols.types7 const num = 0;
8 >num : 0
11 const obj = { num: 0, str: 's', [num]: num as 0, [sym]: sym };
12 >obj : { num: number; str: string; 0: 0; [sym]: symbol; }
13 >{ num: 0, str: 's', [num]: num as 0, [sym]: sym } : { num: number; str: string; 0: 0; [sym]: symbo…
14 >num : number
18 >[num] : 0
19 >num : 0
20 >num as 0 : 0
21 >num : 0
[all …]
DoverEagerReturnTypeSpecialization.types14 var r1: I1<string> = v1.func(num => num.toString()) // Correctly returns an I1<string>
16 >v1.func(num => num.toString()) // Correctly returns an I1<string> .func(str => str.lengt…
17 >v1.func(num => num.toString()) // Correctly returns an I1<string> .func : <U>(callback: …
18 >v1.func(num => num.toString()) : I1<string>
22 >num => num.toString() : (num: number) => string
23 >num : number
24 >num.toString() : string
25 >num.toString : (radix?: number) => string
26 >num : number
37 var r2: I1<number> = v1.func(num => num.toString()) // Correctly returns an I1<string>
[all …]
DtypeGuardsInFunction.types6 var num: number;
7 >num : number
18 num = typeof var1 === "string" && var1.length; // string
19 >num = typeof var1 === "string" && var1.length : number
20 >num : number
34 num = typeof var2 === "string" && var2.length; // string
35 >num = typeof var2 === "string" && var2.length : number
36 >num : number
47 num = typeof param === "string" && param.length; // string
48 >num = typeof param === "string" && param.length : number
[all …]
/third_party/typescript/tests/cases/compiler/
DnumberVsBigIntOperations.ts4 let bigInt = 1n, num = 2; variable
5 bigInt = 1n; bigInt = 2; num = 1n; num = 2;
6 bigInt += 1n; bigInt += 2; num += 1n; num += 2;
7 bigInt -= 1n; bigInt -= 2; num -= 1n; num -= 2;
8 bigInt *= 1n; bigInt *= 2; num *= 1n; num *= 2;
9 bigInt /= 1n; bigInt /= 2; num /= 1n; num /= 2;
10 bigInt %= 1n; bigInt %= 2; num %= 1n; num %= 2;
11 bigInt **= 1n; bigInt **= 2; num **= 1n; num **= 2;
12 bigInt <<= 1n; bigInt <<= 2; num <<= 1n; num <<= 2;
13 bigInt >>= 1n; bigInt >>= 2; num >>= 1n; num >>= 2;
[all …]
/third_party/mesa3d/src/imagination/rogue/
Drogue_encode.c132 { .start = 47, .num = 1, },
152 { .start = 100, .num = 1, },
164 { .start = 43, .num = 2, }, /* SB3(2..1) */
165 { .start = 54, .num = 1, }, /* SB3(0) */
166 { .start = 34, .num = 3, }, /* S3(10..8) */
167 { .start = 41, .num = 2, }, /* S3(7..6) */
168 { .start = 53, .num = 6, }, /* S3(5..0) */
179 { .start = 59, .num = 1, },
190 { .start = 59, .num = 1, }, /* SB0(2) */
191 { .start = 76, .num = 1, }, /* SB0(1) */
[all …]
/third_party/musl/libc-test/src/functionalext/supplement/stdlib/
Datoll.c35 long long int num; in atoll_0100() local
37 num = atoll(str); in atoll_0100()
38 EXPECT_EQ("atoll_0100", num, result); in atoll_0100()
48 long long int num; in atoll_0200() local
50 num = atoll(str); in atoll_0200()
51 EXPECT_EQ("atoll_0200", num, resultA); in atoll_0200()
61 long long int num; in atoll_0300() local
63 num = atoll(str); in atoll_0300()
64 EXPECT_EQ("atoll_0300", num, resultA); in atoll_0300()
74 long long int num; in atoll_0400() local
[all …]
/third_party/ffmpeg/libavutil/
Drational.c36 int64_t num, int64_t den, int64_t max) in av_reduce() argument
39 int sign = (num < 0) ^ (den < 0); in av_reduce()
40 int64_t gcd = av_gcd(FFABS(num), FFABS(den)); in av_reduce()
43 num = FFABS(num) / gcd; in av_reduce()
46 if (num <= max && den <= max) { in av_reduce()
47 a1 = (AVRational) { num, den }; in av_reduce()
52 uint64_t x = num / den; in av_reduce()
53 int64_t next_den = num - den * x; in av_reduce()
54 int64_t a2n = x * a1.num + a0.num; in av_reduce()
58 if (a1.num) x = (max - a0.num) / a1.num; in av_reduce()
[all …]
/third_party/ltp/testcases/kernel/fs/doio/
Dbytes_by_prefix.c77 float num; in bytes_by_prefix() local
80 nconv = sscanf(s, "%f%c%c", &num, &mult, &junk); in bytes_by_prefix()
85 result = num; in bytes_by_prefix()
91 result = (int)(num * (float)B_MULT); in bytes_by_prefix()
94 result = (int)(num * (float)K_MULT); in bytes_by_prefix()
97 result = (int)((num * (float)K_MULT) * sizeof(long)); in bytes_by_prefix()
100 result = (int)(num * (float)M_MULT); in bytes_by_prefix()
103 result = (int)((num * (float)M_MULT) * sizeof(long)); in bytes_by_prefix()
106 result = (int)(num * (float)G_MULT); in bytes_by_prefix()
109 result = (int)((num * (float)G_MULT) * sizeof(long)); in bytes_by_prefix()
[all …]
/third_party/rust/crates/num-traits/
DRELEASES.md20 [195]: https://github.com/rust-num/num-traits/pull/195
21 [196]: https://github.com/rust-num/num-traits/pull/196
22 [201]: https://github.com/rust-num/num-traits/pull/201
23 [202]: https://github.com/rust-num/num-traits/pull/202
24 [205]: https://github.com/rust-num/num-traits/pull/205
25 [207]: https://github.com/rust-num/num-traits/pull/207
26 [210]: https://github.com/rust-num/num-traits/pull/210
27 [214]: https://github.com/rust-num/num-traits/pull/214
50 [180]: https://github.com/rust-num/num-traits/pull/180
51 [185]: https://github.com/rust-num/num-traits/pull/185
[all …]
/third_party/rust/crates/minimal-lexical/src/
Dparse.rs10 use crate::num::Float;
30 let mut num = Number::default(); in parse_number_fast() localVariable
36 num.mantissa = num.mantissa.wrapping_mul(10).wrapping_add(digit as u64); in parse_number_fast()
41 num.mantissa = num.mantissa.wrapping_mul(10).wrapping_add(digit as u64); in parse_number_fast()
46 num.exponent = exponent.saturating_sub(fraction_count as i32); in parse_number_fast()
47 Some(num) in parse_number_fast()
64 if let Some(num) = parse_number_fast(integer.clone(), fraction.clone(), exponent) { in parse_number()
65 return num; in parse_number()
69 let mut num = Number::default(); in parse_number() localVariable
75 num.many_digits = true; in parse_number()
[all …]
/third_party/openssl/crypto/bio/
Dbf_buff.c15 static int buffer_write(BIO *h, const char *buf, int num);
89 int i, num = 0; in buffer_read() local
98 num = 0; in buffer_read()
110 num += i; in buffer_read()
112 return num; in buffer_read()
129 return ((num > 0) ? num : i); in buffer_read()
131 return num; in buffer_read()
133 num += i; in buffer_read()
135 return num; in buffer_read()
147 return ((num > 0) ? num : i); in buffer_read()
[all …]
/third_party/iowow/src/utils/
Diwarr.c187 list->num = 0; in iwulist_init()
238 return list->num; in iwulist_length()
242 if (!list->num) { in iwulist_clone()
249 size_t anum = list->num > IWULIST_ALLOC_UNIT ? list->num : IWULIST_ALLOC_UNIT; in iwulist_clone()
255 memcpy(nlist->array, list->array + list->start, list->num * list->usize); in iwulist_clone()
257 nlist->num = list->num; in iwulist_clone()
265 if (index >= list->num) { in iwulist_at()
274 if (index >= list->num) { in iwulist_at2()
282 size_t index = list->start + list->num; in iwulist_push()
284 size_t anum = list->anum + list->num + 1; in iwulist_push()
[all …]
/third_party/typescript/tests/cases/conformance/expressions/typeGuards/
DtypeGuardsInClassAccessors.ts7 var num: number; variable
14 num = typeof var1 === "string" && var1.length; // string
18 num = typeof var2 === "string" && var2.length; // string
25 num = typeof var1 === "string" && var1.length; // string
28 num = typeof param === "string" && param.length; // string
32 num = typeof var2 === "string" && var2.length; // string
37 num = typeof var1 === "string" && var1.length; // string
41 num = typeof var2 === "string" && var2.length; // string
48 num = typeof var1 === "string" && var1.length; // string
51 num = typeof param === "string" && param.length; // string
[all …]
/third_party/skia/third_party/externals/tint/src/
Dintrinsic_table.inl5186 /* num parameters */ 1,
5187 /* num open types */ 1,
5188 /* num open numbers */ 0,
5198 /* num parameters */ 2,
5199 /* num open types */ 1,
5200 /* num open numbers */ 0,
5210 /* num parameters */ 1,
5211 /* num open types */ 1,
5212 /* num open numbers */ 0,
5222 /* num parameters */ 2,
[all …]
/third_party/ltp/testcases/kernel/syscalls/move_pages/
Dmove_pages_support.c37 void free_pages(void **pages, unsigned int num) in free_pages() argument
43 for (i = 0; i < num; i++) { in free_pages()
63 int alloc_pages_on_nodes(void **pages, unsigned int num, int *nodes) in alloc_pages_on_nodes() argument
70 for (i = 0; i < (int)num; i++) { in alloc_pages_on_nodes()
74 for (i = 0; i < (int)num; i++) { in alloc_pages_on_nodes()
91 if (i == (int)num) in alloc_pages_on_nodes()
94 free_pages(pages, num); in alloc_pages_on_nodes()
110 int alloc_pages_linear(void **pages, unsigned int num) in alloc_pages_linear() argument
112 int nodes[num]; in alloc_pages_linear()
126 for (i = 0; i < num; i++) { in alloc_pages_linear()
[all …]
/third_party/ffmpeg/libavutil/tests/
Drational.c34 for (a.num = -2; a.num <= 2; a.num++) { in main()
36 for (b.num = -2; b.num <= 2; b.num++) { in main()
45 av_log(NULL, AV_LOG_ERROR, "%d/%d %d/%d, %d %f\n", a.num, in main()
46 a.den, b.num, b.den, c,d); in main()
48 … if(b.den && (r.num*a.den != a.num*r.den || !r.num != !a.num || !r.den != !a.den)) in main()
49 av_log(NULL, AV_LOG_ERROR, "%d/%d ", r.num, r.den); in main()
90 for (a.num = 1; a.num <= 10; a.num++) { in main()
92 if (av_gcd(a.num, a.den) > 1) in main()
94 for (b.num = 1; b.num <= 10; b.num++) { in main()
97 if (av_gcd(b.num, b.den) > 1) in main()
[all …]
/third_party/musl/libc-test/src/functionalext/supplement/stdio/
Dprintf.c27 int num = 6; in printf_0100() local
28 int result = printf("%d\n", num); in printf_0100()
39 int num = 6; in printf_0200() local
40 int result = printf("%o\n", num); in printf_0200()
51 int num = 6; in printf_0300() local
52 int result = printf("%x\n", num); in printf_0300()
55 result = printf("%X\n", num); in printf_0300()
66 int num = 6; in printf_0400() local
67 int result = printf("%u\n", num); in printf_0400()
78 int num = 6; in printf_0500() local
[all …]

12345678910>>...128