Home
last modified time | relevance | path

Searched refs:hi (Results 1 – 25 of 1978) sorted by relevance

12345678910>>...80

/third_party/typescript/tests/baselines/reference/
DassignmentToExpandingArrayType.types7 x[0] = { foo: 'hi' }
8 >x[0] = { foo: 'hi' } : { foo: string; }
12 >{ foo: 'hi' } : { foo: string; }
14 >'hi' : "hi"
16 x[0] = { foo: 'hi' }
17 >x[0] = { foo: 'hi' } : { foo: string; }
21 >{ foo: 'hi' } : { foo: string; }
23 >'hi' : "hi"
25 x[0] = { foo: 'hi' }
26 >x[0] = { foo: 'hi' } : { foo: string; }
[all …]
DstringLiteralTypesInImplementationSignatures.types4 function foo(x: 'hi') { }
5 >foo : (x: 'hi') => void
6 >x : "hi"
8 var f = function foo(x: 'hi') { }
9 >f : (x: 'hi') => void
10 >function foo(x: 'hi') { } : (x: 'hi') => void
11 >foo : (x: 'hi') => void
12 >x : "hi"
14 var f2 = (x: 'hi', y: 'hi') => { }
15 >f2 : (x: 'hi', y: 'hi') => void
[all …]
DstringLiteralTypesInImplementationSignatures2.types8 function foo(x: 'hi') { }
10 >x : "hi"
19 foo(x: 'hi') { }
21 >x : "hi"
28 (x: 'hi');
29 >x : "hi"
32 >foo : { (x: 'a', y: 'a'): any; (x: "hi", y: "hi"): any; }
36 foo(x: 'hi', y: 'hi');
37 >foo : { (x: "a", y: "a"): any; (x: 'hi', y: 'hi'): any; }
38 >x : "hi"
[all …]
DglobalThisUnknownNoImplicitAny.types7 win.hi
8 >win.hi : any
10 >hi : any
12 this.hi
13 >this.hi : any
15 >hi : any
17 globalThis.hi
18 >globalThis.hi : any
20 >hi : any
22 win['hi']
[all …]
DglobalThisUnknown.types7 win.hi
8 >win.hi : any
10 >hi : any
13 this.hi
14 >this.hi : any
16 >hi : any
18 globalThis.hi
19 >globalThis.hi : any
21 >hi : any
24 win['hi']
[all …]
DtsxTypeArgumentResolution.types23 let x = <MyComp<Prop> a={10} b="hi" />; // OK
25 ><MyComp<Prop> a={10} b="hi" /> : JSX.Element
31 x = <MyComp<Prop> a={10} b="hi"></MyComp>; // OK
32 >x = <MyComp<Prop> a={10} b="hi"></MyComp> : JSX.Element
34 ><MyComp<Prop> a={10} b="hi"></MyComp> : JSX.Element
62 x = <MyComp<Prop, Prop> a={10} b="hi" />; // error
63 >x = <MyComp<Prop, Prop> a={10} b="hi" /> : JSX.Element
65 ><MyComp<Prop, Prop> a={10} b="hi" /> : JSX.Element
71 x = <MyComp<Prop, Prop> a={10} b="hi"></MyComp>; // error
72 >x = <MyComp<Prop, Prop> a={10} b="hi"></MyComp> : JSX.Element
[all …]
DoverloadOnConstNoAnyImplementation2.types3 x1(a: number, callback: (x: 'hi') => number);
4 >x1 : (a: number, callback: (x: 'hi') => number) => any
6 >callback : (x: 'hi') => number
7 >x : "hi"
13 x1(a: number, callback: (x: 'hi') => number);
14 >x1 : (a: number, callback: (x: 'hi') => number) => any
16 >callback : (x: 'hi') => number
17 >x : "hi"
20 >x1 : (a: number, callback: (x: "hi") => number) => any
25 callback('hi');
[all …]
DoverloadOnConstDuplicateOverloads1.types2 function foo(a: 'hi', x: string);
3 >foo : { (a: 'hi', x: string): any; (a: "hi", x: string): any; }
4 >a : "hi"
7 function foo(a: 'hi', x: string);
8 >foo : { (a: "hi", x: string): any; (a: 'hi', x: string): any; }
9 >a : "hi"
13 >foo : { (a: "hi", x: string): any; (a: "hi", x: string): any; }
18 function foo2(a: 'hi', x: string);
19 >foo2 : { (a: 'hi', x: string): any; (a: "hi", x: string): any; (a: string, x: string): any; }
20 >a : "hi"
[all …]
DoverloadOnConstNoStringImplementation2.types3 x1(a: number, callback: (x: 'hi') => number);
4 >x1 : (a: number, callback: (x: 'hi') => number) => any
6 >callback : (x: 'hi') => number
7 >x : "hi"
13 x1(a: number, callback: (x: 'hi') => number);
14 >x1 : (a: number, callback: (x: 'hi') => number) => any
16 >callback : (x: 'hi') => number
17 >x : "hi"
20 >x1 : (a: number, callback: (x: "hi") => number) => any
25 callback('hi');
[all …]
DcheckJsxChildrenProperty2.types31 let k = <Comp a={10} b="hi" />;
33 ><Comp a={10} b="hi" /> : JSX.Element
42 <Comp a={10} b="hi" children="Random" >
43 ><Comp a={10} b="hi" children="Random" > hi hi hi! </Comp> : JSX.Element
50 hi hi hi!
65 <Comp a={10} b="hi" {...o} >
66 ><Comp a={10} b="hi" {...o} > hi hi hi! </Comp> : JSX.Element
73 hi hi hi!
81 <Comp a={10} b="hi">
82 ><Comp a={10} b="hi"> <div> My Div </div> {(name: string) => <div> My name {name} </d…
[all …]
DtypesWithSpecializedCallSignatures.types21 foo(x: 'hi'): Derived1;
22 >foo : { (x: 'hi'): Derived1; (x: "bye"): Derived2; (x: string): Base; }
23 >x : "hi"
26 >foo : { (x: "hi"): Derived1; (x: 'bye'): Derived2; (x: string): Base; }
30 >foo : { (x: "hi"): Derived1; (x: "bye"): Derived2; (x: string): Base; }
34 >foo : { (x: "hi"): Derived1; (x: "bye"): Derived2; (x: string): Base; }
47 foo(x: 'hi'): Derived1;
48 >foo : { (x: 'hi'): Derived1; (x: "bye"): Derived2; (x: string): Base; }
49 >x : "hi"
52 >foo : { (x: "hi"): Derived1; (x: 'bye'): Derived2; (x: string): Base; }
[all …]
DcheckJsxChildrenProperty1.types31 let k = <Comp a={10} b="hi" children ="lol" />;
33 ><Comp a={10} b="hi" children ="lol" /> : JSX.Element
43 <Comp a={10} b="hi">
44 ><Comp a={10} b="hi"> hi hi hi! </Comp> : JSX.Element
50 hi hi hi!
57 <Comp a={10} b="hi">
58 ><Comp a={10} b="hi"> <div>hi hi hi!</div> </Comp> : JSX.Element
64 <div>hi hi hi!</div>
65 ><div>hi hi hi!</div> : JSX.Element
DtypeArgumentsShouldDisallowNonGenericOverloads.types14 return "hi";
15 >"hi" : "hi"
18 var x: number = foo<string>("hi"); // return type should be 'number'
20 >foo<string>("hi") : number
22 >"hi" : "hi"
24 var y: string = foo("hi"); // return type should be 'string'
26 >foo("hi") : string
28 >"hi" : "hi"
30 var w: string = foo<string>("hi"); // should error
32 >foo<string>("hi") : number
[all …]
DtypeFromJSConstructor.types29 this.twice = 'hi'
30 >this.twice = 'hi' : "hi"
34 >'hi' : "hi"
52 …rg = 'hi' // error this.unknown = 'hi' // ok this.newProperty = 1 // ok: number | boolean …
58 …rg = 'hi' // error this.unknown = 'hi' // ok this.newProperty = 1 // ok: number | boolean …
60 this.arg = 'hi' // error
61 >this.arg = 'hi' : "hi"
65 >'hi' : "hi"
67 this.unknown = 'hi' // ok
68 >this.unknown = 'hi' : "hi"
[all …]
/third_party/python/Modules/_decimal/libmpdec/literature/
Dmulmod-64.txt21 (1) hi * 2**64 + lo = a * b
29 (3) R(hi, lo) = hi * z - hi + lo
35 a) Set (hi, lo) to the result of a * b.
37 b) Set (hi', lo') to the result of R(hi, lo).
39 c) Repeat step b) until 0 <= hi' * 2**64 + lo' < 2*p.
47 hi * 2**64 + lo == hi * z - hi + lo (mod p)
52 hi * 2**64 + lo = (2**64 - z + 1) * hi + z * hi - hi + lo
54 = p * hi + z * hi - hi + lo
56 == z * hi - hi + lo (mod p)
64 def R(hi, lo, z):
[all …]
Dumodarith.lisp253 (defun dw-reduce (hi lo m base)
254 (let* ((r1 (mod hi m))
260 (< hi base) (< lo base)
262 (natp hi) (natp lo))
263 (equal (dw-reduce hi lo m base)
264 (mod (+ (* hi base) lo) m))))
294 (< hi base) (< lo base)
296 (natp hi) (natp lo)
297 (equal r1 (mod hi m)))
301 ("Subgoal 1''" :cases ((< (+ lo (* base (mod hi m))) (* base m))))
[all …]
/third_party/protobuf/js/binary/
Darith.js53 jspb.arith.UInt64 = function(lo, hi) { argument
63 this.hi = hi;
74 if (this.hi < other.hi || (this.hi == other.hi && this.lo < other.lo)) {
76 } else if (this.hi == other.hi && this.lo == other.lo) {
89 var hi = this.hi >>> 1;
90 var lo = (this.lo >>> 1) | ((this.hi & 1) << 31);
91 return new jspb.arith.UInt64(lo >>> 0, hi >>> 0);
101 var hi = (this.hi << 1) | (this.lo >>> 31);
102 return new jspb.arith.UInt64(lo >>> 0, hi >>> 0);
111 return !!(this.hi & 0x80000000);
[all …]
/third_party/musl/porting/liteos_a/kernel/src/math/
Dsqrtl.c17 uint64_t hi; member
26 u.i2.hi = x.hi; in mkldbl()
28 u.i2.hi &= 0x0000ffffffffffff; in mkldbl()
29 u.i2.hi |= top << 48; in mkldbl()
46 r.hi = u.i2.hi; in asu128()
51 r.hi = u.i.m>>15; in asu128()
52 r.hi &= 0x0000ffffffffffff; in asu128()
53 r.hi |= (uint64_t)u.i.se << 48; in asu128()
78 r.hi = a.hi; in add64()
80 r.hi++; in add64()
[all …]
/third_party/musl/src/math/
Dsqrtl.c17 uint64_t hi; member
26 u.i2.hi = x.hi; in mkldbl()
28 u.i2.hi &= 0x0000ffffffffffff; in mkldbl()
29 u.i2.hi |= top << 48; in mkldbl()
46 r.hi = u.i2.hi; in asu128()
51 r.hi = u.i.m>>15; in asu128()
52 r.hi &= 0x0000ffffffffffff; in asu128()
53 r.hi |= (uint64_t)u.i.se << 48; in asu128()
78 r.hi = a.hi; in add64()
80 r.hi++; in add64()
[all …]
/third_party/python/Lib/
Dbisect.py4 def insort_right(a, x, lo=0, hi=None, *, key=None): argument
13 lo = bisect_right(a, x, lo, hi)
15 lo = bisect_right(a, key(x), lo, hi, key=key)
19 def bisect_right(a, x, lo=0, hi=None, *, key=None): argument
32 if hi is None:
33 hi = len(a)
37 while lo < hi:
38 mid = (lo + hi) // 2
40 hi = mid
44 while lo < hi:
[all …]
/third_party/node/deps/openssl/openssl/crypto/bn/asm/
Darmv4-gf2m.pl78 ($hi,$lo,$t0,$t1, $i0,$i1 )=map("r$_",(4..9),12);
111 mov $hi,$t1,lsr#29
116 eor $hi,$hi,$t0,lsr#26
121 eor $hi,$hi,$t1,lsr#23
126 eor $hi,$hi,$t0,lsr#20
131 eor $hi,$hi,$t1,lsr#17
136 eor $hi,$hi,$t0,lsr#14
141 eor $hi,$hi,$t1,lsr#11
147 eor $hi,$hi,$t0,lsr#8
154 eorne $hi,$hi,$b,lsr#2
[all …]
/third_party/openssl/crypto/bn/asm/
Darmv4-gf2m.pl78 ($hi,$lo,$t0,$t1, $i0,$i1 )=map("r$_",(4..9),12);
111 mov $hi,$t1,lsr#29
116 eor $hi,$hi,$t0,lsr#26
121 eor $hi,$hi,$t1,lsr#23
126 eor $hi,$hi,$t0,lsr#20
131 eor $hi,$hi,$t1,lsr#17
136 eor $hi,$hi,$t0,lsr#14
141 eor $hi,$hi,$t1,lsr#11
147 eor $hi,$hi,$t0,lsr#8
154 eorne $hi,$hi,$b,lsr#2
[all …]
/third_party/vixl/test/aarch32/
Dtest-assembler-cond-rdlow-operand-imm8-in-it-block-t32.cc107 {{hi, r3, 187}, true, hi, "hi r3 187", "hi_r3_187"},
133 {{hi, r4, 176}, true, hi, "hi r4 176", "hi_r4_176"},
136 {{hi, r0, 145}, true, hi, "hi r0 145", "hi_r0_145"},
138 {{hi, r0, 124}, true, hi, "hi r0 124", "hi_r0_124"},
147 {{hi, r3, 101}, true, hi, "hi r3 101", "hi_r3_101"},
150 {{hi, r7, 32}, true, hi, "hi r7 32", "hi_r7_32"},
210 {{hi, r5, 240}, true, hi, "hi r5 240", "hi_r5_240"},
220 {{hi, r2, 102}, true, hi, "hi r2 102", "hi_r2_102"},
234 {{hi, r7, 3}, true, hi, "hi r7 3", "hi_r7_3"},
242 {{hi, r6, 204}, true, hi, "hi r6 204", "hi_r6_204"},
[all …]
/third_party/python/Modules/
D_bisectmodule.c19 internal_bisect_right(PyObject *list, PyObject *item, Py_ssize_t lo, Py_ssize_t hi, in internal_bisect_right() argument
30 if (hi == -1) { in internal_bisect_right()
31 hi = PySequence_Size(list); in internal_bisect_right()
32 if (hi < 0) in internal_bisect_right()
35 while (lo < hi) { in internal_bisect_right()
39 mid = ((size_t)lo + hi) / 2; in internal_bisect_right()
56 hi = mid; in internal_bisect_right()
85 Py_ssize_t lo, Py_ssize_t hi, PyObject *key) in _bisect_bisect_right_impl() argument
88 return internal_bisect_right(a, x, lo, hi, key); in _bisect_bisect_right_impl()
111 Py_ssize_t lo, Py_ssize_t hi, PyObject *key) in _bisect_insort_right_impl() argument
[all …]
/third_party/python/Modules/_decimal/libmpdec/
Dumodarith.h103 dw_reduce(mpd_uint_t hi, mpd_uint_t lo, mpd_uint_t m) in dw_reduce() argument
107 _mpd_div_word(&w, &r1, hi, m); in dw_reduce()
119 dw_submod(mpd_uint_t a, mpd_uint_t hi, mpd_uint_t lo, mpd_uint_t m) in dw_submod() argument
123 r = dw_reduce(hi, lo, m); in dw_submod()
154 mpd_uint_t hi, lo, x, y; in x64_mulmod() local
157 _mpd_mul_words(&hi, &lo, a, b); in x64_mulmod()
162 x = y = hi; in x64_mulmod()
163 hi >>= 32; in x64_mulmod()
166 if (x > lo) hi--; in x64_mulmod()
170 if (lo < y) hi++; in x64_mulmod()
[all …]

12345678910>>...80