/third_party/typescript/tests/baselines/reference/ |
D | assignmentToExpandingArrayType.types | 7 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 …]
|
D | stringLiteralTypesInImplementationSignatures.types | 4 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 …]
|
D | stringLiteralTypesInImplementationSignatures2.types | 8 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 …]
|
D | globalThisUnknownNoImplicitAny.types | 7 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 …]
|
D | globalThisUnknown.types | 7 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 …]
|
D | overloadOnConstDuplicateOverloads1.types | 2 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 …]
|
D | tsxTypeArgumentResolution.types | 23 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 …]
|
D | overloadOnConstNoAnyImplementation2.types | 3 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 …]
|
D | overloadOnConstNoStringImplementation2.types | 3 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 …]
|
D | checkJsxChildrenProperty1.types | 31 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
|
D | typeArgumentsShouldDisallowNonGenericOverloads.types | 14 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 …]
|
D | checkJsxChildrenProperty2.types | 31 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 …]
|
D | typesWithSpecializedCallSignatures.types | 21 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 …]
|
D | checkJsxChildrenProperty2.js | 19 hi hi hi! 27 hi hi hi! 46 hi hi hi! 66 hi hi hi! 72 hi hi hi! 85 hi hi hi!
|
D | constructorsWithSpecializedSignatures.types | 6 constructor(x: "hi"); 7 >x : "hi" 20 constructor(x: "hi"); 21 >x : "hi" 34 constructor(x: "hi"); 35 >x : "hi" 43 constructor(x: "hi") { } 44 >x : "hi" 51 constructor(x: "hi"); 52 >x : "hi" [all …]
|
D | computedPropertyNamesContextualType6_ES5.types | 12 >foo({ p: "", 0: () => { }, ["hi" + "bye"]: true, [0 + 1]: 0, [+"hi"]: [0]}) : strin… 14 >{ p: "", 0: () => { }, ["hi" + "bye"]: true, [0 + 1]: 0, [+"hi"]: [0]} : { [x: stri… 24 ["hi" + "bye"]: true, 25 >["hi" + "bye"] : true 26 >"hi" + "bye" : string 27 >"hi" : "hi" 38 [+"hi"]: [0] 39 >[+"hi"] : number[] 40 >+"hi" : number 41 >"hi" : "hi"
|
/third_party/python/Modules/_decimal/libmpdec/literature/ |
D | mulmod-64.txt | 21 (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 …]
|
D | umodarith.lisp | 253 (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/ |
D | arith.js | 53 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/python/Lib/ |
D | bisect.py | 4 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/openssl/crypto/bn/asm/ |
D | armv4-gf2m.pl | 75 ($hi,$lo,$t0,$t1, $i0,$i1 )=map("r$_",(4..9),12); 108 mov $hi,$t1,lsr#29 113 eor $hi,$hi,$t0,lsr#26 118 eor $hi,$hi,$t1,lsr#23 123 eor $hi,$hi,$t0,lsr#20 128 eor $hi,$hi,$t1,lsr#17 133 eor $hi,$hi,$t0,lsr#14 138 eor $hi,$hi,$t1,lsr#11 144 eor $hi,$hi,$t0,lsr#8 151 eorne $hi,$hi,$b,lsr#2 [all …]
|
/third_party/boost/boost/math/special_functions/ |
D | erf.hpp | 303 T hi, lo; in erf_imp() local 305 hi = floor(ldexp(frexp(z, &expon), 26)); in erf_imp() 306 hi = ldexp(hi, expon - 26); in erf_imp() 307 lo = z - hi; in erf_imp() 309 T err_sqr = ((hi * hi - sq) + 2 * hi * lo) + lo * lo; in erf_imp() 336 T hi, lo; in erf_imp() local 338 hi = floor(ldexp(frexp(z, &expon), 26)); in erf_imp() 339 hi = ldexp(hi, expon - 26); in erf_imp() 340 lo = z - hi; in erf_imp() 342 T err_sqr = ((hi * hi - sq) + 2 * hi * lo) + lo * lo; in erf_imp() [all …]
|
/third_party/typescript/tests/cases/conformance/jsx/ |
D | tsxTypeArgumentResolution.tsx | 18 let x = <MyComp<Prop> a={10} b="hi" />; // OK 20 x = <MyComp<Prop> a={10} b="hi"></MyComp>; // OK 26 x = <MyComp<Prop, Prop> a={10} b="hi" />; // error 28 x = <MyComp<Prop, Prop> a={10} b="hi"></MyComp>; // error 30 x = <MyComp<> a={10} b="hi" />; // error 32 x = <MyComp<> a={10} b="hi"></MyComp>; // error 45 x = <MyComp2<Prop> a={10} b="hi" />; // error 47 x = <MyComp2<Prop> a={10} b="hi"></MyComp2>; // error 49 x = <MyComp2<{a: string}, {b: string}> a="hi" b="hi" />; // OK 51 x = <MyComp2<{a: string}, {b: string}> a="hi" b="hi"></MyComp2>; // OK [all …]
|
D | checkJsxChildrenProperty2.tsx | 21 let k = <Comp a={10} b="hi" />; 24 <Comp a={10} b="hi" children="Random" > 25 hi hi hi! 32 <Comp a={10} b="hi" {...o} > 33 hi hi hi! 38 <Comp a={10} b="hi"> 44 <Comp a={10} b="hi"> 50 <Comp a={10} b="hi" > 52 hi hi hi! 56 <Comp a={10} b="hi" >
|
/third_party/python/Modules/ |
D | _bisectmodule.c | 19 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 …]
|