Home
last modified time | relevance | path

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

12345678910

/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 : Dictionary
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 …]
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>
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 …]
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,…
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))
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 …]
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 …]
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>'.
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.js4 interface Dictionary<T> {
18 type DictionaryIterator<T, TResult> = ObjectIterator<Dictionary<T>, TResult>;
22 obj: Dictionary<T> | NumericDictionary<T> | null | undefined,
24 ): Dictionary<TResult> {
DemptyObjectNotSubtypeOfIndexSignatureContainingObject2.js4 interface Dictionary<T> {
18 type DictionaryIterator<T, TResult> = ObjectIterator<Dictionary<T>, TResult>;
22 obj: Dictionary<T> | NumericDictionary<T> | null | undefined,
24 ): Dictionary<TResult> {
/third_party/grpc/src/csharp/Grpc.Reflection/
DSymbolRegistry.cs26 private readonly Dictionary<string, FileDescriptor> filesByName;
27 private readonly Dictionary<string, FileDescriptor> filesBySymbol;
29 …private SymbolRegistry(Dictionary<string, FileDescriptor> filesByName, Dictionary<string, FileDesc… in SymbolRegistry()
31 this.filesByName = new Dictionary<string, FileDescriptor>(filesByName); in SymbolRegistry()
32 this.filesBySymbol = new Dictionary<string, FileDescriptor>(filesBySymbol); in SymbolRegistry()
76 private readonly Dictionary<string, FileDescriptor> filesByName;
77 private readonly Dictionary<string, FileDescriptor> filesBySymbol;
82 filesByName = new Dictionary<string, FileDescriptor>(); in Builder()
83 filesBySymbol = new Dictionary<string, FileDescriptor>(); in Builder()
/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/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/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/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/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/grpc/src/csharp/Grpc.IntegrationTesting/
DXdsInteropClient.cs77 Dictionary<RpcType, Metadata> metadata;
268 private static Dictionary<RpcType, Metadata> ParseMetadataArgument(string metadataArg) in ParseMetadataArgument()
270 var rpcMetadata = new Dictionary<RpcType, Metadata>(); in ParseMetadataArgument()
315 private Dictionary<string, int> rpcsByHostname;
316 private Dictionary<string, Dictionary<string, int>> rpcsByMethod;
351 rpcsByMethod[method] = new Dictionary<string, int>(); in OnRpcComplete()
376 rpcsByHostname = new Dictionary<string, int>(); in Reset()
377 rpcsByMethod = new Dictionary<string, Dictionary<string, int>>(); in Reset()
/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()

12345678910