Home
last modified time | relevance | path

Searched refs:WeakSet (Results 1 – 25 of 64) sorted by relevance

123

/third_party/jerryscript/tests/jerry/es2015/
Dweakset.js16 var m1 = new WeakSet();
19 assert (m1.add (k1) instanceof WeakSet);
27 assert (m1.add (k1) instanceof WeakSet);
48 assert (m1.add (k1) instanceof WeakSet);
53 var m2 = new WeakSet();
70 new WeakSet().add(new WeakSet().add(new WeakSet().add(new WeakSet().add(new WeakSet().add(new WeakS…
74 WeakSet();
81 WeakSet.prototype.get.call({}); class
87 assert (new WeakSet(null) instanceof WeakSet);
91 m1 = new WeakSet([k1, k2]);
[all …]
Dnew-target-for-containers.js40 Reflect.construct (WeakSet, [], o);
68 Reflect.construct (WeakSet);
77 class MyWeakSet extends WeakSet {};
/third_party/python/Lib/test/
Dtest_weakset.py2 from weakref import WeakSet
28 self.ab_weakset = WeakSet(self.ab_items)
29 self.abcde_weakset = WeakSet(self.abcde_items)
30 self.def_weakset = WeakSet(self.def_items)
32 self.s = WeakSet(self.items)
35 self.fs = WeakSet([self.obj])
38 weaksetmethods = dir(WeakSet)
46 self.assertRaises(TypeError, WeakSet, [], 2)
69 self.assertEqual(self.s, WeakSet(self.items))
70 self.assertEqual(type(u), WeakSet)
[all …]
/third_party/typescript/tests/baselines/reference/
DforwardDeclaredCommonTypes01.types7 interface WeakSet<T extends object> {}
10 …se; new Symbol; Symbol(); new Map; new WeakMap; new Set; new WeakSet;}) : () => void
11 …ise; new Symbol; Symbol(); new Map; new WeakMap; new Set; new WeakSet;} : () => void
35 new WeakSet;
36 >new WeakSet : any
37 >WeakSet : any
DforwardDeclaredCommonTypes01.symbols23 interface WeakSet<T extends object> {}
24 >WeakSet : Symbol(WeakSet, Decl(forwardDeclaredCommonTypes01.ts, 4, 19))
33 new WeakSet;
DforwardDeclaredCommonTypes01.js7 interface WeakSet<T extends object> {}
15 new WeakSet;
27 new WeakSet;
DdidYouMeanSuggestionErrors.types24 …onst b = new Set(); const c = new WeakMap(); const d = new WeakSet(); const e…
27 …onst b = new Set(); const c = new WeakMap(); const d = new WeakSet(); const e…
30 …onst b = new Set(); const c = new WeakMap(); const d = new WeakSet(); const e…
33 …onst b = new Set(); const c = new WeakMap(); const d = new WeakSet(); const e…
86 const d = new WeakSet();
88 >new WeakSet() : any
89 >WeakSet : any
DextendingSetWithCheckJs.types13 class MyWeakSet extends WeakSet {
15 >WeakSet : WeakSet<object>
DextendingSetWithCheckJs.symbols12 class MyWeakSet extends WeakSet {
14 >WeakSet : Symbol(WeakSet, Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.collection.d.t…
DdidYouMeanSuggestionErrors.js20 const d = new WeakSet();
47 var d = new WeakSet();
DforwardDeclaredCommonTypes01.errors.txt7 tests/cases/compiler/forwardDeclaredCommonTypes01.ts(14,9): error TS2585: 'WeakSet' only refers to …
16 interface WeakSet<T extends object> {}
36 new WeakSet;
38 !!! error TS2585: 'WeakSet' only refers to a type, but is being used as a value here. Do you need t…
/third_party/python/Lib/
D_py_abc.py1 from _weakrefset import WeakSet
48 cls._abc_registry = WeakSet()
49 cls._abc_cache = WeakSet()
50 cls._abc_negative_cache = WeakSet()
79 if isinstance(value, WeakSet):
118 cls._abc_negative_cache = WeakSet()
/third_party/typescript/lib/
Dlib.es2015.collection.d.ts79 interface WeakSet<T extends object> { interface
86 new <T extends object = object>(values?: readonly T[] | null): WeakSet<T>;
87 readonly prototype: WeakSet<object>;
89 declare var WeakSet: WeakSetConstructor; variable
Dlib.es2015.iterable.d.ts211 interface WeakSet<T extends object> { } interface
214 new <T extends object = object>(iterable: Iterable<T>): WeakSet<T>;
/third_party/typescript/src/lib/
Des2015.collection.d.ts59 interface WeakSet<T extends object> { interface
66 new <T extends object = object>(values?: readonly T[] | null): WeakSet<T>;
67 readonly prototype: WeakSet<object>;
69 declare var WeakSet: WeakSetConstructor; variable
Des2015.iterable.d.ts191 interface WeakSet<T extends object> { } interface
194 new <T extends object = object>(iterable: Iterable<T>): WeakSet<T>;
/third_party/node/deps/npm/node_modules/es-abstract/
DGetIntrinsic.js158 '$ %WeakSet%': typeof WeakSet === 'undefined' ? undefined : WeakSet,
159 '$ %WeakSetPrototype%': typeof WeakSet === 'undefined' ? undefined : WeakSet.prototype
/third_party/typescript/tests/cases/compiler/
DforwardDeclaredCommonTypes01.ts9 interface WeakSet<T extends object> {} interface
17 new WeakSet;
DextendingSetWithCheckJs.ts12 class MyWeakSet extends WeakSet {
DdidYouMeanSuggestionErrors.ts20 const d = new WeakSet();
/third_party/node/lib/internal/
Dfreeze_intrinsics.js109 WeakSet,
300 WeakSet, // 23.4
346 const frozenSet = new WeakSet();
/third_party/node/lib/internal/per_context/
Dprimordials.js255 WeakSet,
357 WeakSet,
358 class SafeWeakSet extends WeakSet {
/third_party/jerryscript/tests/jerry/
Dregression-test-issue-264.js37 Float64Array(performance,WeakSet(),Infinity.valueOf());
Dregression-test-issue-263.js35 Float64Array(performance,WeakSet(),Infinity.valueOf());
/third_party/python/Lib/multiprocessing/
Dprocess.py22 from _weakrefset import WeakSet
432 _dangling = WeakSet()

123