/third_party/typescript/tests/baselines/reference/ |
D | missingTypeArguments3.types | 9 GroupBy<TKey>(keySelector: (element: T) => TKey): Enumerable<Grouping<TKey, T>>; 10 …TKey>(keySelector: (element: T) => TKey): Enumerable<Grouping<TKey, T>>; <TKey, TElement>(keySelec… 11 >keySelector : (element: T) => TKey 14 …GroupBy<TKey, TElement>(keySelector: (element: T) => TKey, elementSelector: (element: T) => TEleme… 15 …TKey>(keySelector: (element: T) => TKey): Enumerable<Grouping<TKey, T>>; <TKey, TElement>(keySelec… 16 >keySelector : (element: T) => TKey 21 ToDictionary<TKey>(keySelector: (element: T) => TKey): Dictionary<TKey, T>; 22 >ToDictionary : <TKey>(keySelector: (element: T) => TKey) => Dictionary<TKey, T> 23 >keySelector : (element: T) => TKey 34 interface Grouping<TKey, TElement> extends Enumerable<TElement> { [all …]
|
D | missingTypeArguments3.symbols | 15 GroupBy<TKey>(keySelector: (element: T) => TKey): Enumerable<Grouping<TKey, T>>; 17 >TKey : Symbol(TKey, Decl(missingTypeArguments3.ts, 4, 16)) 21 >TKey : Symbol(TKey, Decl(missingTypeArguments3.ts, 4, 16)) 24 >TKey : Symbol(TKey, Decl(missingTypeArguments3.ts, 4, 16)) 27 …GroupBy<TKey, TElement>(keySelector: (element: T) => TKey, elementSelector: (element: T) => TEleme… 29 >TKey : Symbol(TKey, Decl(missingTypeArguments3.ts, 5, 16)) 34 >TKey : Symbol(TKey, Decl(missingTypeArguments3.ts, 5, 16)) 41 >TKey : Symbol(TKey, Decl(missingTypeArguments3.ts, 5, 16)) 44 ToDictionary<TKey>(keySelector: (element: T) => TKey): Dictionary<TKey, T>; 46 >TKey : Symbol(TKey, Decl(missingTypeArguments3.ts, 6, 21)) [all …]
|
D | missingTypeArguments3.js | 6 GroupBy<TKey>(keySelector: (element: T) => TKey): Enumerable<Grouping<TKey, T>>; 7 …GroupBy<TKey, TElement>(keySelector: (element: T) => TKey, elementSelector: (element: T) => TEleme… 8 ToDictionary<TKey>(keySelector: (element: T) => TKey): Dictionary<TKey, T>; 15 interface Grouping<TKey, TElement> extends Enumerable<TElement> { 16 Key(): TKey; 19 interface Lookup<TKey, TElement> { 23 ToEnumerable(): Enumerable<Grouping<TKey, any>>; 26 interface Dictionary<TKey, TValue> { 27 Add(key: TKey, value: TValue): void; 28 Get(ke: TKey): TValue; [all …]
|
D | genericSpecializationToTypeLiteral1.types | 66 toDictionary<TKey>(keySelector: (element: T) => TKey): IDictionary<TKey, any>; 67 …TKey>(keySelector: (element: T) => TKey): IDictionary<TKey, any>; <TKey, TValue>(keySelector: (ele… 68 >keySelector : (element: T) => TKey 71 …toDictionary<TKey, TValue>(keySelector: (element: T) => TKey, elementSelector: (element: T) => TVa… 72 …TKey>(keySelector: (element: T) => TKey): IDictionary<TKey, any>; <TKey, TValue>(keySelector: (ele… 73 >keySelector : (element: T) => TKey 78 …TKey, TValue, TCompare>(keySelector: (element: T) => TKey, elementSelector: (element: T) => TValue… 79 …TKey>(keySelector: (element: T) => TKey): IDictionary<TKey, any>; <TKey, TValue>(keySelector: (ele… 80 >keySelector : (element: T) => TKey 84 >compareSelector : (key: TKey) => TCompare [all …]
|
D | genericSpecializationToTypeLiteral1.js | 22 toDictionary<TKey>(keySelector: (element: T) => TKey): IDictionary<TKey, any>; 23 …toDictionary<TKey, TValue>(keySelector: (element: T) => TKey, elementSelector: (element: T) => TVa… 24 …TKey, TValue, TCompare>(keySelector: (element: T) => TKey, elementSelector: (element: T) => TValue… 27 interface IDictionary<TKey, TValue> { 28 toEnumerable(): IEnumerable<{ key: TKey; value: TValue }>;
|
D | genericSpecializationToTypeLiteral1.symbols | 118 toDictionary<TKey>(keySelector: (element: T) => TKey): IDictionary<TKey, any>; 120 >TKey : Symbol(TKey, Decl(genericSpecializationToTypeLiteral1.ts, 20, 17)) 124 >TKey : Symbol(TKey, Decl(genericSpecializationToTypeLiteral1.ts, 20, 17)) 126 >TKey : Symbol(TKey, Decl(genericSpecializationToTypeLiteral1.ts, 20, 17)) 128 …toDictionary<TKey, TValue>(keySelector: (element: T) => TKey, elementSelector: (element: T) => TVa… 130 >TKey : Symbol(TKey, Decl(genericSpecializationToTypeLiteral1.ts, 21, 17)) 135 >TKey : Symbol(TKey, Decl(genericSpecializationToTypeLiteral1.ts, 21, 17)) 141 >TKey : Symbol(TKey, Decl(genericSpecializationToTypeLiteral1.ts, 21, 17)) 144 …TKey, TValue, TCompare>(keySelector: (element: T) => TKey, elementSelector: (element: T) => TValue… 146 >TKey : Symbol(TKey, Decl(genericSpecializationToTypeLiteral1.ts, 22, 17)) [all …]
|
D | mappedTypeIndexedAccess.symbols | 8 [TKey in keyof T]: { 9 >TKey : Symbol(TKey, Decl(mappedTypeIndexedAccess.ts, 3, 5)) 12 key: TKey; 14 >TKey : Symbol(TKey, Decl(mappedTypeIndexedAccess.ts, 3, 5)) 16 value: T[TKey]; 19 >TKey : Symbol(TKey, Decl(mappedTypeIndexedAccess.ts, 3, 5))
|
D | mappedTypeIndexedAccess.types | 7 [TKey in keyof T]: { 8 key: TKey; 9 >key : TKey 11 value: T[TKey]; 12 >value : T[TKey]
|
D | mappedTypeIndexedAccess.js | 5 [TKey in keyof T]: { 6 key: TKey; 7 value: T[TKey];
|
D | unionTypeInference.js | 60 { [TKey in keyof T]: T[TKey] | DeepPromised<T[TKey]> | Promise<DeepPromised<T[TKey]>> };
|
D | unionTypeInference.symbols | 204 { [TKey in keyof T]: T[TKey] | DeepPromised<T[TKey]> | Promise<DeepPromised<T[TKey]>> }; 205 >TKey : Symbol(TKey, Decl(unionTypeInference.ts, 58, 7)) 208 >TKey : Symbol(TKey, Decl(unionTypeInference.ts, 58, 7)) 211 >TKey : Symbol(TKey, Decl(unionTypeInference.ts, 58, 7)) 215 >TKey : Symbol(TKey, Decl(unionTypeInference.ts, 58, 7))
|
D | mappedTypeIndexedAccess.errors.txt | 13 [TKey in keyof T]: { 14 key: TKey; 15 value: T[TKey];
|
D | unionTypeInference.errors.txt | 68 { [TKey in keyof T]: T[TKey] | DeepPromised<T[TKey]> | Promise<DeepPromised<T[TKey]>> };
|
/third_party/typescript_eslint/packages/eslint-plugin/typings/ |
D | functional-red-black-tree.d.ts | 2 class RBNode<TValue, TKey = number> { 3 public readonly key: TKey; 4 public readonly left: RBNode<TValue, TKey>; 5 public readonly right: RBNode<TValue, TKey>; 9 class RedBlackTreeIterator<TValue, TKey = number> { 13 public readonly key: TKey; 14 public readonly node: RBNode<TValue, TKey> | null; 15 public readonly tree: RBTree<TValue, TKey>; 19 public clone(): RedBlackTreeIterator<TValue, TKey>; 20 public remove(): RBTree<TValue, TKey>; [all …]
|
/third_party/typescript/tests/cases/compiler/ |
D | missingTypeArguments3.ts | 5 GroupBy<TKey>(keySelector: (element: T) => TKey): Enumerable<Grouping<TKey, T>>; 6 …GroupBy<TKey, TElement>(keySelector: (element: T) => TKey, elementSelector: (element: T) => TEleme… 7 ToDictionary<TKey>(keySelector: (element: T) => TKey): Dictionary<TKey, T>; 14 interface Grouping<TKey, TElement> extends Enumerable<TElement> { 15 Key(): TKey; 18 interface Lookup<TKey, TElement> { 22 ToEnumerable(): Enumerable<Grouping<TKey, any>>; 25 interface Dictionary<TKey, TValue> { 26 Add(key: TKey, value: TValue): void; 27 Get(ke: TKey): TValue; [all …]
|
D | genericSpecializationToTypeLiteral1.ts | 21 toDictionary<TKey>(keySelector: (element: T) => TKey): IDictionary<TKey, any>; 22 …toDictionary<TKey, TValue>(keySelector: (element: T) => TKey, elementSelector: (element: T) => TVa… 23 …TKey, TValue, TCompare>(keySelector: (element: T) => TKey, elementSelector: (element: T) => TValue… 26 interface IDictionary<TKey, TValue> { 27 toEnumerable(): IEnumerable<{ key: TKey; value: TValue }>;
|
D | mappedTypeIndexedAccess.ts | 6 [TKey in keyof T]: { 7 key: TKey; 8 value: T[TKey];
|
/third_party/flutter/engine/flutter/third_party/txt/src/utils/ |
D | LruCache.h | 37 template <typename TKey, typename TValue> 47 void setOnEntryRemovedListener(OnEntryRemoved<TKey, TValue>* listener); 49 const TValue& get(const TKey& key); 50 bool put(const TKey& key, const TValue& value); 51 bool remove(const TKey& key); 63 virtual const TKey& getKey() const = 0; 71 TKey key; 76 Entry(TKey _key, TValue _value) in Entry() 78 const TKey& getKey() const final { return key; } in getKey() 83 const TKey& key; [all …]
|
/third_party/protobuf/csharp/src/Google.Protobuf/Collections/ |
D | MapField.cs | 71 … sealed class MapField<TKey, TValue> : IDeepCloneable<MapField<TKey, TValue>>, IDictionary<TKey, T… 73 , IReadOnlyDictionary<TKey, TValue> 77 …ate static readonly EqualityComparer<TKey> KeyEqualityComparer = ProtobufEqualityComparers.GetEqua… 80 private readonly Dictionary<TKey, LinkedListNode<KeyValuePair<TKey, TValue>>> map = 81 new Dictionary<TKey, LinkedListNode<KeyValuePair<TKey, TValue>>>(KeyEqualityComparer); 82 …private readonly LinkedList<KeyValuePair<TKey, TValue>> list = new LinkedList<KeyValuePair<TKey, T… 90 public MapField<TKey, TValue> Clone() in Clone() 92 var clone = new MapField<TKey, TValue>(); in Clone() 118 public void Add(TKey key, TValue value) in Add() 133 public bool ContainsKey(TKey key) in ContainsKey() [all …]
|
D | ReadOnlyDictionary.cs | 42 internal sealed class ReadOnlyDictionary<TKey, TValue> : IDictionary<TKey, TValue> 44 private readonly IDictionary<TKey, TValue> wrapped; 46 public ReadOnlyDictionary(IDictionary<TKey, TValue> wrapped) in ReadOnlyDictionary() argument 51 public void Add(TKey key, TValue value) in Add() 56 public bool ContainsKey(TKey key) in ContainsKey() 61 public ICollection<TKey> Keys 66 public bool Remove(TKey key) in Remove() 71 public bool TryGetValue(TKey key, out TValue value) in TryGetValue() 81 public TValue this[TKey key] 87 public void Add(KeyValuePair<TKey, TValue> item) in Add() argument [all …]
|
/third_party/typescript_eslint/packages/typescript-estree/src/ |
D | parser-options.ts | 187 export interface ParserWeakMap<TKey, TValueBase> { 188 get<TValue extends TValueBase>(key: TKey): TValue; 193 TKey extends TSESTree.Node = TSESTree.Node 195 get<TKeyBase extends TKey>(key: TKeyBase): TSESTreeToTSNode<TKeyBase>;
|
/third_party/typescript/tests/cases/conformance/types/typeRelationships/typeInference/ |
D | unionTypeInference.ts | 62 { [TKey in keyof T]: T[TKey] | DeepPromised<T[TKey]> | Promise<DeepPromised<T[TKey]>> };
|
/third_party/typescript_eslint/packages/eslint-plugin/tools/ |
D | generate-rules-lists.ts | 49 const returnEmojiIfTrue = <TKey extends keyof typeof emojiKey>( 50 key: TKey, 51 obj: { [K in TKey]?: unknown }, 52 ): typeof emojiKey[TKey] | '' => (obj[key] ? emojiKey[key] : '');
|
/third_party/boost/boost/range/ |
D | atl.hpp | 123 template< class TKey, class TVal, class TEqual > 134 template< class TKey, class TVal > 533 template< class TKey, class TVal, class TEqual > 534 struct customization< ATL::CSimpleMap<TKey, TVal, TEqual> > 536 template< class TKey, class TVal > 537 struct customization< ATL::CSimpleMap<TKey, TVal> > 543 typedef TKey k_val_t;
|
/third_party/typescript_eslint/packages/experimental-utils/src/eslint-utils/ |
D | applyDefault.ts | 39 -readonly [TKey in keyof T]: T[TKey];
|