Home
last modified time | relevance | path

Searched refs:TKey (Results 1 – 25 of 31) sorted by relevance

12

/third_party/typescript/tests/baselines/reference/
DmissingTypeArguments3.types9 GroupBy<TKey>(keySelector: (element: T) => TKey): Enumerable<Grouping<TKey, T>>;
10TKey>(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…
15TKey>(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 …]
DmissingTypeArguments3.symbols15 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 …]
DmissingTypeArguments3.js6 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 …]
DgenericSpecializationToTypeLiteral1.types66 toDictionary<TKey>(keySelector: (element: T) => TKey): IDictionary<TKey, any>;
67TKey>(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…
72TKey>(keySelector: (element: T) => TKey): IDictionary<TKey, any>; <TKey, TValue>(keySelector: (ele…
73 >keySelector : (element: T) => TKey
78TKey, TValue, TCompare>(keySelector: (element: T) => TKey, elementSelector: (element: T) => TValue…
79TKey>(keySelector: (element: T) => TKey): IDictionary<TKey, any>; <TKey, TValue>(keySelector: (ele…
80 >keySelector : (element: T) => TKey
84 >compareSelector : (key: TKey) => TCompare
[all …]
DgenericSpecializationToTypeLiteral1.js22 toDictionary<TKey>(keySelector: (element: T) => TKey): IDictionary<TKey, any>;
23 …toDictionary<TKey, TValue>(keySelector: (element: T) => TKey, elementSelector: (element: T) => TVa…
24TKey, TValue, TCompare>(keySelector: (element: T) => TKey, elementSelector: (element: T) => TValue…
27 interface IDictionary<TKey, TValue> {
28 toEnumerable(): IEnumerable<{ key: TKey; value: TValue }>;
DgenericSpecializationToTypeLiteral1.symbols118 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))
144TKey, TValue, TCompare>(keySelector: (element: T) => TKey, elementSelector: (element: T) => TValue…
146 >TKey : Symbol(TKey, Decl(genericSpecializationToTypeLiteral1.ts, 22, 17))
[all …]
DmappedTypeIndexedAccess.symbols8 [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))
DmappedTypeIndexedAccess.types7 [TKey in keyof T]: {
8 key: TKey;
9 >key : TKey
11 value: T[TKey];
12 >value : T[TKey]
DmappedTypeIndexedAccess.js5 [TKey in keyof T]: {
6 key: TKey;
7 value: T[TKey];
DunionTypeInference.js60 { [TKey in keyof T]: T[TKey] | DeepPromised<T[TKey]> | Promise<DeepPromised<T[TKey]>> };
DunionTypeInference.symbols204 { [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))
DmappedTypeIndexedAccess.errors.txt13 [TKey in keyof T]: {
14 key: TKey;
15 value: T[TKey];
DunionTypeInference.errors.txt68 { [TKey in keyof T]: T[TKey] | DeepPromised<T[TKey]> | Promise<DeepPromised<T[TKey]>> };
/third_party/typescript_eslint/packages/eslint-plugin/typings/
Dfunctional-red-black-tree.d.ts2 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/
DmissingTypeArguments3.ts5 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 …]
DgenericSpecializationToTypeLiteral1.ts21 toDictionary<TKey>(keySelector: (element: T) => TKey): IDictionary<TKey, any>;
22 …toDictionary<TKey, TValue>(keySelector: (element: T) => TKey, elementSelector: (element: T) => TVa…
23TKey, TValue, TCompare>(keySelector: (element: T) => TKey, elementSelector: (element: T) => TValue…
26 interface IDictionary<TKey, TValue> {
27 toEnumerable(): IEnumerable<{ key: TKey; value: TValue }>;
DmappedTypeIndexedAccess.ts6 [TKey in keyof T]: {
7 key: TKey;
8 value: T[TKey];
/third_party/flutter/engine/flutter/third_party/txt/src/utils/
DLruCache.h37 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/
DMapField.cs71 … 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 …]
DReadOnlyDictionary.cs42 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/
Dparser-options.ts187 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/
DunionTypeInference.ts62 { [TKey in keyof T]: T[TKey] | DeepPromised<T[TKey]> | Promise<DeepPromised<T[TKey]>> };
/third_party/typescript_eslint/packages/eslint-plugin/tools/
Dgenerate-rules-lists.ts49 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/
Datl.hpp123 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/
DapplyDefault.ts39 -readonly [TKey in keyof T]: T[TKey];

12