Home
last modified time | relevance | path

Searched refs:unbox (Results 1 - 6 of 6) sorted by relevance

/third_party/typescript/tests/baselines/reference/
H A DoptionalChainingInference.js3 declare function unbox<T>(box: { value: T | undefined }): T;
10 const v1: number = unbox(b1);
13 const v2: number = unbox(b2);
16 const v3: number = unbox(b3);
19 const v4: number = unbox(b4);
22 const v5: number = unbox(b5);
25 const v6: number = unbox(b6);
28 const v7: number = unbox(b7);
31 const v8: number = unbox(b8);
37 var v1 = unbox(b
[all...]
H A DcontrolFlowGenericTypes.js34 declare function unbox<T>(x: Box<T>): T;
38 unbox(x);
44 unbox(x);
50 unbox(x); // Error
56 unbox(x); // Error
253 unbox(x);
258 unbox(x);
263 unbox(x); // Error
268 unbox(x); // Error
H A DrecursiveConditionalTypes.js65 declare function unbox<T>(box: RecBox<T>): T
79 unbox(b1); // string
80 unbox(b2); // string
81 unbox(b3); // InfBox<string>
82 unbox({ value: { value: { value: { value: { value: { value: 5 }}}}}}); // number
83 unbox(b4); // { value: { value: typeof b4 }}
84 unbox({ value: { value: { get value() { return this; } }}}); // { readonly value: ... }
189 unbox(b1); // string
190 unbox(b2); // string
191 unbox(b
[all...]
H A DgenericContextualTypes1.js14 declare function unbox<W>(x: Box<W>): W;
31 const f12: <T>(x: Box<T[]>) => T = compose(a => unbox(a), b => unlist(b));
32 const f13: <T>(x: Box<T[]>) => T = compose(unbox, unlist);
61 var f12 = compose(function (a) { return unbox(a); }, function (b) { return unlist(b); });
62 var f13 = compose(unbox, unlist);
84 declare function unbox<W>(x: Box<W>): W;
H A DisomorphicMappedTypeInference.js14 function unbox<T>(x: Box<T>): T {
29 result[k] = unbox(obj[k]);
186 function unbox(x) { function
199 result[k] = unbox(obj[k]);
308 declare function unbox<T>(x: Box<T>): T;
/third_party/node/deps/v8/src/codegen/mips64/
H A Dassembler-mips64.cc3733 uint32_t unbox = (instr & kJRawMark) ? J : JAL; in RelocateInternalReference() local
3734 instr_at_put(pc, unbox | (imm26 & kImm26Mask)); in RelocateInternalReference()

Completed in 12 milliseconds