Home
last modified time | relevance | path

Searched refs:Dictionary (Results 1 – 25 of 218) sorted by relevance

123456789

/third_party/typescript/tests/baselines/reference/
DemptyObjectNotSubtypeOfIndexSignatureContainingObject2.types4 interface Dictionary<T> {
28 type DictionaryIterator<T, TResult> = ObjectIterator<Dictionary<T>, TResult>;
33 …: <T, TResult>(obj: Dictionary<T> | NumericDictionary<T> | null | undefined, callback: DictionaryI…
35 obj: Dictionary<T> | NumericDictionary<T> | null | undefined,
36 >obj : Dictionary<T> | NumericDictionary<T>
42 ): Dictionary<TResult> {
69 >wat : Dictionary<string>
70 >mapValues(foos, f => f.foo) : Dictionary<string>
71 …mapValues : <T, TResult>(obj: Dictionary<T> | NumericDictionary<T>, callback: DictionaryIterator<T…
80 >result : Dictionary<string>
[all …]
DintersectionsAndEmptyObjects.types63 type Dictionary = { [name: string]: string };
64 >Dictionary : { [name: string]: string; }
67 const intersectDictionaries = <F1 extends Dictionary, F2 extends Dictionary>(
68 >intersectDictionaries : <F1 extends Dictionary, F2 extends Dictionary>(d1: F1, d2: F2) => F1 & F2
69 …tends Dictionary, F2 extends Dictionary>( d1: F1, d2: F2,): F1 & F2 => Object.assign({}, d1, d2)…
86 const testDictionary = <T extends Dictionary>(_value: T) => { };
87 >testDictionary : <T extends Dictionary>(_value: T) => void
88 ><T extends Dictionary>(_value: T) => { } : <T extends Dictionary>(_value: T) => void
97 >testDictionary : <T extends Dictionary>(_value: T) => void
103 >intersectDictionaries : <F1 extends Dictionary, F2 extends Dictionary>(d1: F1, d2: F2) => F1 & F2
[all …]
DemptyObjectNotSubtypeOfIndexSignatureContainingObject1.types4 interface Dictionary<T> {
28 type DictionaryIterator<T, TResult> = ObjectIterator<Dictionary<T>, TResult>;
33 …: <T, TResult>(obj: Dictionary<T> | NumericDictionary<T> | null | undefined, callback: DictionaryI…
35 obj: Dictionary<T> | NumericDictionary<T> | null | undefined,
36 >obj : Dictionary<T> | NumericDictionary<T>
42 ): Dictionary<TResult> {
69 >result : Dictionary<string>
70 >foos == null ? {} : mapValues(foos, f => f.foo) : Dictionary<string>
75 >mapValues(foos, f => f.foo) : Dictionary<string>
76 …mapValues : <T, TResult>(obj: Dictionary<T> | NumericDictionary<T>, callback: DictionaryIterator<T…
[all …]
DunderscoreTest1.types13 >_.each : { <T>(list: T[], iterator: Iterator_<T, void>, context?: any): void; <T>(list: Dictionary
15 >each : { <T>(list: T[], iterator: Iterator_<T, void>, context?: any): void; <T>(list: Dictionary<T…
31 >_.each : { <T>(list: T[], iterator: Iterator_<T, void>, context?: any): void; <T>(list: Dictionary
33 >each : { <T>(list: T[], iterator: Iterator_<T, void>, context?: any): void; <T>(list: Dictionary<T…
53 …ist: T[], iterator: Iterator_<T, U>, context?: any): U[]; <T, U>(list: Dictionary<T>, iterator: It…
55 >map : { <T, U>(list: T[], iterator: Iterator_<T, U>, context?: any): U[]; <T, U>(list: Dictionary<…
68 …ist: T[], iterator: Iterator_<T, U>, context?: any): U[]; <T, U>(list: Dictionary<T>, iterator: It…
70 >map : { <T, U>(list: T[], iterator: Iterator_<T, U>, context?: any): U[]; <T, U>(list: Dictionary<…
88 …text?: any): U; <T>(list: Dictionary<T>, iterator: Reducer<T, T>, initialValue?: T, context?: any)…
90 …text?: any): U; <T>(list: Dictionary<T>, iterator: Reducer<T, T>, initialValue?: T, context?: any)…
[all …]
DincrementOnNullAssertion.types2 interface Dictionary<T> {
10 let foo: Dictionary<number> = {}
11 >foo : Dictionary<number>
17 >foo : Dictionary<number>
24 >foo : Dictionary<number>
32 >foo : Dictionary<number>
38 >foo : Dictionary<number>
45 >foo : Dictionary<number>
DemptyObjectNotSubtypeOfIndexSignatureContainingObject1.symbols4 interface Dictionary<T> {
5 >Dictionary : Symbol(Dictionary, Decl(emptyObjectNotSubtypeOfIndexSignatureContainingObject1.ts, 0,…
42 type DictionaryIterator<T, TResult> = ObjectIterator<Dictionary<T>, TResult>;
47 >Dictionary : Symbol(Dictionary, Decl(emptyObjectNotSubtypeOfIndexSignatureContainingObject1.ts, 0,…
57 obj: Dictionary<T> | NumericDictionary<T> | null | undefined,
59 >Dictionary : Symbol(Dictionary, Decl(emptyObjectNotSubtypeOfIndexSignatureContainingObject1.ts, 0,…
70 ): Dictionary<TResult> {
71 >Dictionary : Symbol(Dictionary, Decl(emptyObjectNotSubtypeOfIndexSignatureContainingObject1.ts, 0,…
DemptyObjectNotSubtypeOfIndexSignatureContainingObject2.symbols4 interface Dictionary<T> {
5 >Dictionary : Symbol(Dictionary, Decl(emptyObjectNotSubtypeOfIndexSignatureContainingObject2.ts, 0,…
42 type DictionaryIterator<T, TResult> = ObjectIterator<Dictionary<T>, TResult>;
47 >Dictionary : Symbol(Dictionary, Decl(emptyObjectNotSubtypeOfIndexSignatureContainingObject2.ts, 0,…
57 obj: Dictionary<T> | NumericDictionary<T> | null | undefined,
59 >Dictionary : Symbol(Dictionary, Decl(emptyObjectNotSubtypeOfIndexSignatureContainingObject2.ts, 0,…
70 ): Dictionary<TResult> {
71 >Dictionary : Symbol(Dictionary, Decl(emptyObjectNotSubtypeOfIndexSignatureContainingObject2.ts, 0,…
DunderscoreTest1.js4 interface Dictionary<T> {
117 groupBy(iterator?: Iterator_<T, any>, context?: any): Dictionary<T[]>;
118 groupBy(propertyName: string): Dictionary<T[]>;
119 countBy(iterator?: Iterator_<T, any>, context?: any): Dictionary<number>;
120 countBy(propertyName: string): Dictionary<number>;
166 export interface WrappedDictionary<T> extends WrappedObject<Dictionary<T>> {
200 groupBy(iterator?: Iterator_<T, any>, context?: any): Dictionary<T[]>;
201 groupBy(propertyName: string): Dictionary<T[]>;
202 countBy(iterator?: Iterator_<T, any>, context?: any): Dictionary<number>;
203 countBy(propertyName: string): Dictionary<number>;
[all …]
DunderscoreTest1.errors.txt6 …Overload 2 of 2, '(list: Dictionary<unknown>, iterator?: Iterator_<unknown, boolean>, context?: an…
7 … type '(string | number | boolean)[]' is not assignable to parameter of type 'Dictionary<unknown>'.
44 !!! error TS2769: Overload 2 of 2, '(list: Dictionary<unknown>, iterator?: Iterator_<unknown, boo…
45 … type '(string | number | boolean)[]' is not assignable to parameter of type 'Dictionary<unknown>'.
274 interface Dictionary<T> {
387 groupBy(iterator?: Iterator_<T, any>, context?: any): Dictionary<T[]>;
388 groupBy(propertyName: string): Dictionary<T[]>;
389 countBy(iterator?: Iterator_<T, any>, context?: any): Dictionary<number>;
390 countBy(propertyName: string): Dictionary<number>;
436 export interface WrappedDictionary<T> extends WrappedObject<Dictionary<T>> {
[all …]
DincrementOnNullAssertion.symbols2 interface Dictionary<T> {
3 >Dictionary : Symbol(Dictionary, Decl(incrementOnNullAssertion.ts, 0, 0))
13 let foo: Dictionary<number> = {}
15 >Dictionary : Symbol(Dictionary, Decl(incrementOnNullAssertion.ts, 0, 0))
DmissingTypeArguments3.symbols44 ToDictionary<TKey>(keySelector: (element: T) => TKey): Dictionary<TKey, T>;
51 >Dictionary : Symbol(Dictionary, Decl(missingTypeArguments3.ts, 22, 5))
109 interface Dictionary<TKey, TValue> {
110 >Dictionary : Symbol(Dictionary, Decl(missingTypeArguments3.ts, 22, 5))
115 >Add : Symbol(Dictionary.Add, Decl(missingTypeArguments3.ts, 24, 40))
122 >Get : Symbol(Dictionary.Get, Decl(missingTypeArguments3.ts, 25, 44))
128 >Set : Symbol(Dictionary.Set, Decl(missingTypeArguments3.ts, 26, 30))
135 >Contains : Symbol(Dictionary.Contains, Decl(missingTypeArguments3.ts, 27, 47))
140 >Clear : Symbol(Dictionary.Clear, Decl(missingTypeArguments3.ts, 28, 37))
143 >Remove : Symbol(Dictionary.Remove, Decl(missingTypeArguments3.ts, 29, 22))
[all …]
DemptyObjectNotSubtypeOfIndexSignatureContainingObject1.errors.txt1 …SubtypeOfIndexSignatureContainingObject1.ts(41,3): error TS2322: Type 'Dictionary<string>' is not …
9 interface Dictionary<T> {
23 type DictionaryIterator<T, TResult> = ObjectIterator<Dictionary<T>, TResult>;
27 obj: Dictionary<T> | NumericDictionary<T> | null | undefined,
29 ): Dictionary<TResult> {
49 !!! error TS2322: Type 'Dictionary<string>' is not assignable to type 'Record<string, Bar>'.
DemptyObjectNotSubtypeOfIndexSignatureContainingObject2.errors.txt1 …SubtypeOfIndexSignatureContainingObject2.ts(42,3): error TS2322: Type 'Dictionary<string>' is not …
9 interface Dictionary<T> {
23 type DictionaryIterator<T, TResult> = ObjectIterator<Dictionary<T>, TResult>;
27 obj: Dictionary<T> | NumericDictionary<T> | null | undefined,
29 ): Dictionary<TResult> {
50 !!! error TS2322: Type 'Dictionary<string>' is not assignable to type 'Record<string, Bar>'.
/third_party/node/deps/v8/src/objects/
Ddictionary-inl.h29 Dictionary<Derived, Shape>::Dictionary(Address ptr) in CAST_ACCESSOR()
33 Object Dictionary<Derived, Shape>::ValueAt(InternalIndex entry) { in ValueAt()
39 Object Dictionary<Derived, Shape>::ValueAt(PtrComprCageBase cage_base, in ValueAt()
46 base::Optional<Object> Dictionary<Derived, Shape>::TryValueAt( in TryValueAt()
64 void Dictionary<Derived, Shape>::ValueAtPut(InternalIndex entry, Object value) { in ValueAtPut()
70 PropertyDetails Dictionary<Derived, Shape>::DetailsAt(InternalIndex entry) { in DetailsAt()
75 void Dictionary<Derived, Shape>::DetailsAtPut(InternalIndex entry, in DetailsAtPut()
82 : Dictionary<Derived, Shape>(ptr) {} in BaseNameDictionary()
120 : Dictionary<NumberDictionary, NumberDictionaryShape>(ptr) { in NumberDictionary()
125 : Dictionary<SimpleNumberDictionary, SimpleNumberDictionaryShape>(ptr) { in SimpleNumberDictionary()
[all …]
Ddictionary.h35 class EXPORT_TEMPLATE_DECLARE(V8_EXPORT_PRIVATE) Dictionary in EXPORT_TEMPLATE_DECLARE()
98 OBJECT_CONSTRUCTORS(Dictionary, HashTable<Derived, Shape>); in EXPORT_TEMPLATE_DECLARE()
104 Dictionary<DERIVED, SHAPE>;
110 template <typename Dictionary>
111 static inline PropertyDetails DetailsAt(Dictionary dict, InternalIndex entry);
113 template <typename Dictionary>
114 static inline void DetailsAtPut(Dictionary dict, InternalIndex entry,
134 : public Dictionary<Derived, Shape> { in EXPORT_TEMPLATE_DECLARE()
175 OBJECT_CONSTRUCTORS(BaseNameDictionary, Dictionary<Derived, Shape>); in EXPORT_TEMPLATE_DECLARE()
215 template <typename Dictionary>
[all …]
/third_party/typescript/tests/cases/compiler/
DunderscoreTest1.ts2 interface Dictionary<T> { interface
115 groupBy(iterator?: Iterator_<T, any>, context?: any): Dictionary<T[]>;
116 groupBy(propertyName: string): Dictionary<T[]>;
117 countBy(iterator?: Iterator_<T, any>, context?: any): Dictionary<number>;
118 countBy(propertyName: string): Dictionary<number>;
164 export interface WrappedDictionary<T> extends WrappedObject<Dictionary<T>> {
198 groupBy(iterator?: Iterator_<T, any>, context?: any): Dictionary<T[]>;
199 groupBy(propertyName: string): Dictionary<T[]>;
200 countBy(iterator?: Iterator_<T, any>, context?: any): Dictionary<number>;
201 countBy(propertyName: string): Dictionary<number>;
[all …]
DemptyObjectNotSubtypeOfIndexSignatureContainingObject1.ts3 interface Dictionary<T> { interface
17 type DictionaryIterator<T, TResult> = ObjectIterator<Dictionary<T>, TResult>;
21 obj: Dictionary<T> | NumericDictionary<T> | null | undefined,
23 ): Dictionary<TResult> {
DemptyObjectNotSubtypeOfIndexSignatureContainingObject2.ts3 interface Dictionary<T> { interface
17 type DictionaryIterator<T, TResult> = ObjectIterator<Dictionary<T>, TResult>;
21 obj: Dictionary<T> | NumericDictionary<T> | null | undefined,
23 ): Dictionary<TResult> {
/third_party/skia/third_party/externals/brotli/java/org/brotli/wrapper/common/
DSetRfcDictionaryTest.java13 import org.brotli.dec.Dictionary;
32 System.err.println(Dictionary.getData().slice().remaining()); in testRfcDictionaryChecksums()
34 md5.update(Dictionary.getData().slice()); in testRfcDictionaryChecksums()
38 sha1.update(Dictionary.getData().slice()); in testRfcDictionaryChecksums()
42 sha256.update(Dictionary.getData().slice()); in testRfcDictionaryChecksums()
51 BrotliCommon.setDictionaryData(Dictionary.getData()); in testSetRfcDictionary()
/third_party/skia/third_party/externals/brotli/csharp/org/brotli/dec/
DDictionary.cs20 internal sealed class Dictionary class
61 …ng[] { Org.Brotli.Dec.Dictionary.DataHolder0.GetData(), Org.Brotli.Dec.Dictionary.DataHolder1.GetD… in DataHolder()
84 return Org.Brotli.Dec.Dictionary.DataHolder.Data; in GetData()
/third_party/skia/third_party/externals/brotli/java/org/brotli/dec/
DDictionary.java20 public final class Dictionary { class
34 Class.forName(Dictionary.class.getPackage().getName() + ".DictionaryData");
56 int[] dictionaryOffsets = Dictionary.offsets; in setData()
57 int[] dictionarySizeBits = Dictionary.sizeBits; in setData()
80 Dictionary.data = data; in setData()
/third_party/node/deps/v8/src/runtime/
Druntime-classes.cc125 template <typename Dictionary>
127 STATIC_ASSERT((std::is_same<Dictionary, SwissNameDictionary>::value || in KeyToName()
128 std::is_same<Dictionary, NameDictionary>::value)); in KeyToName()
145 template <typename Dictionary>
165 Handle<Name> name = KeyToName<Dictionary>(isolate, key); in GetMethodAndSetName()
193 template <typename Dictionary>
194 Handle<Dictionary> ShallowCopyDictionaryTemplate( in ShallowCopyDictionaryTemplate()
195 Isolate* isolate, Handle<Dictionary> dictionary_template) { in ShallowCopyDictionaryTemplate()
196 Handle<Dictionary> dictionary = in ShallowCopyDictionaryTemplate()
197 Dictionary::ShallowCopy(isolate, dictionary_template); in ShallowCopyDictionaryTemplate()
[all …]
/third_party/protobuf/csharp/src/Google.Protobuf/Reflection/
DTypeRegistry.cs45 …public static TypeRegistry Empty { get; } = new TypeRegistry(new Dictionary<string, MessageDescrip…
47 private readonly Dictionary<string, MessageDescriptor> fullNameToMessageMap;
49 private TypeRegistry(Dictionary<string, MessageDescriptor> fullNameToMessageMap) in TypeRegistry()
140 private readonly Dictionary<string, MessageDescriptor> types;
145 types = new Dictionary<string, MessageDescriptor>(); in Builder()
/third_party/protobuf/objectivec/Tests/
DGPBDictionaryTests.pddm54 //%GPB##KEY_NAME##VALUE_NAME##Dictionary
56 //%GPB##KEY_NAME##VALUE_NAME##Dictionary
58 //%GPB##KEY_NAME##VALUE_NAME##Dictionary<VALUE_TYPE>
69 …PER(KEY_NAME, VALUE_NAME, VALUE_TYPE) *dict = [[GPB##KEY_NAME##VALUE_NAME##Dictionary alloc] init];
81 …PER(KEY_NAME, VALUE_NAME, VALUE_TYPE) *dict = [[GPB##KEY_NAME##VALUE_NAME##Dictionary alloc] init];
99 //% [[GPB##KEY_NAME##VALUE_NAME##Dictionary alloc] initWith##VALUE_NAME$u##s:k##VNAME$u##s
150 //% [[GPB##KEY_NAME##VALUE_NAME##Dictionary alloc] initWith##VALUE_NAME##s:k##VNAME$u##s1
155 //% [[GPB##KEY_NAME##VALUE_NAME##Dictionary alloc] initWith##VALUE_NAME##s:k##VNAME$u##s1
160 //% [[GPB##KEY_NAME##VALUE_NAME##Dictionary alloc] initWith##VALUE_NAME##s:k##VNAME$u##s2
165 //% [[GPB##KEY_NAME##VALUE_NAME##Dictionary alloc] initWith##VALUE_NAME##s:k##VNAME$u##s1
[all …]
/third_party/protobuf/csharp/src/Google.Protobuf.Benchmarks/
DWriteRawPrimitivesBenchmark.cs50 Dictionary<int, uint[]> varint32Values;
51 Dictionary<int, ulong[]> varint64Values;
57 Dictionary<int, string[]> stringValues;
60 Dictionary<int, string[]> nonAsciiStringValues;
63 Dictionary<int, ByteString[]> byteStringValues;
79 varint32Values = new Dictionary<int, uint[]>(); in GlobalSetup()
80 varint64Values = new Dictionary<int, ulong[]>(); in GlobalSetup()
93 stringValues = new Dictionary<int, string[]>(); in GlobalSetup()
95 byteStringValues = new Dictionary<int, ByteString[]>(); in GlobalSetup()
102 nonAsciiStringValues = new Dictionary<int, string[]>(); in GlobalSetup()

123456789