Home
last modified time | relevance | path

Searched defs:TKey (Results 1 – 25 of 483) sorted by relevance

12345678910>>...20

/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.ObjectModel/tests/KeyedCollection/
H A DTestMethods.cs299 Named<KeyedCollectionGetKeyedValue<TKey, TValue>> in AddNullKey()
340 Named<KeyedCollectionGetKeyedValue<TKey, TValue>> in AddExistingKey()
380 Named<KeyedCollectionGetKeyedValue<TKey, TValue>> in AddUniqueKey()
420 Named<KeyedCollectionGetKeyedValue<TKey, TValue>> in NonGenericAddNullKey()
459 Named<KeyedCollectionGetKeyedValue<TKey, TValue>> in NonGenericAddExistingKey()
496 Named<KeyedCollectionGetKeyedValue<TKey, TValue>> in NonGenericAddUniqueKey()
533 Named<KeyedCollectionGetKeyedValue<TKey, TValue>> in ChangeItemKey()
1544 KeyedCollection<TKey, IKeyedItem<TKey, TValue>> dictionary, in VerifyDictionary()
1571 Named<AddItemsFunc<TKey, IKeyedItem<TKey, TValue>>> addItems) in Threshold()
2064 KeyedCollection<TKey, TValue> list) in InvalidateEnumerator()
[all …]
/dports/audio/milkytracker/MilkyTracker-1.03.00/src/fx/
H A DTCBSpline.h31 struct TKey struct
39 TKey* keys; argument
/dports/editors/py-babi/babi-0.0.24/babi/
H A Dfdict.py10 TKey = TypeVar('TKey', contravariant=True) variable
15 def __init__(self, dct: Mapping[TKey, TValue]) -> None:
18 def __getitem__(self, k: TKey) -> TValue:
21 def __contains__(self, k: TKey) -> bool:
32 def __getitem__(self, key: TKey) -> TValue: ...
36 def __init__(self, *mappings: Indexable[TKey, TValue]) -> None:
39 def __getitem__(self, key: TKey) -> TValue:
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.ObjectModel/tests/ReadOnlyDictionary/
H A DReadOnlyDictionaryTests.cs288 public void Add(KeyValuePair<TKey, TValue> item) in Add()
298 public bool Contains(KeyValuePair<TKey, TValue> item) in Contains()
308 public bool Remove(KeyValuePair<TKey, TValue> item) in Remove()
450IReadOnlyDictionary<TKey, TValue> collection, KeyValuePair<TKey, TValue>[] expectedItems, in IReadOnlyDictionary_T_Test()
451 Func<KeyValuePair<TKey, TValue>> generateItem) in IReadOnlyDictionary_T_Test()
607 …public void VerifyCollection(IReadOnlyDictionary<TKey, TValue> collection, KeyValuePair<TKey, TVal… in VerifyCollection()
626 …private void VerifyGenericEnumerator(IReadOnlyDictionary<TKey, TValue> collection, KeyValuePair<TK… in VerifyGenericEnumerator()
687 …private void VerifyEnumerator(IReadOnlyDictionary<TKey, TValue> collection, KeyValuePair<TKey, TVa… in VerifyEnumerator()
747 … private bool IsUniqueKey(KeyValuePair<TKey, TValue>[] items, KeyValuePair<TKey, TValue> item) in IsUniqueKey()
873 public void Add(KeyValuePair<TKey, TValue> item) in Add()
[all …]
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Collections.Immutable/src/System/Collections/Immutable/
H A DImmutableInterlocked.cs157 …static TValue GetOrAdd<TKey, TValue, TArg>(ref ImmutableDictionary<TKey, TValue> location, TKey ke… in GetOrAdd()
186 …ublic static TValue GetOrAdd<TKey, TValue>(ref ImmutableDictionary<TKey, TValue> location, TKey ke… in GetOrAdd()
212 …public static TValue GetOrAdd<TKey, TValue>(ref ImmutableDictionary<TKey, TValue> location, TKey k… in GetOrAdd()
247 …ic static TValue AddOrUpdate<TKey, TValue>(ref ImmutableDictionary<TKey, TValue> location, TKey ke… in AddOrUpdate()
291 … TValue AddOrUpdate<TKey, TValue>(ref ImmutableDictionary<TKey, TValue> location, TKey key, TValue… in AddOrUpdate()
333 …public static bool TryAdd<TKey, TValue>(ref ImmutableDictionary<TKey, TValue> location, TKey key, … in TryAdd()
365 …public static bool TryUpdate<TKey, TValue>(ref ImmutableDictionary<TKey, TValue> location, TKey ke… in TryUpdate()
399 …public static bool TryRemove<TKey, TValue>(ref ImmutableDictionary<TKey, TValue> location, TKey ke… in TryRemove()
H A DImmutableDictionary.cs70 …c ImmutableDictionary<TKey, TValue> CreateRange<TKey, TValue>(IEnumerable<KeyValuePair<TKey, TValu… in CreateRange()
85 …reateRange<TKey, TValue>(IEqualityComparer<TKey> keyComparer, IEnumerable<KeyValuePair<TKey, TValu… in CreateRange()
101 …r<TKey> keyComparer, IEqualityComparer<TValue> valueComparer, IEnumerable<KeyValuePair<TKey, TValu… in CreateRange()
242 …ctionary<TKey, TValue> ToImmutableDictionary<TKey, TValue>(this IEnumerable<KeyValuePair<TKey, TVa… in ToImmutableDictionary()
266 …ctionary<TKey, TValue> ToImmutableDictionary<TKey, TValue>(this IEnumerable<KeyValuePair<TKey, TVa… in ToImmutableDictionary()
280 …ctionary<TKey, TValue> ToImmutableDictionary<TKey, TValue>(this IEnumerable<KeyValuePair<TKey, TVa… in ToImmutableDictionary()
297 …public static bool Contains<TKey, TValue>(this IImmutableDictionary<TKey, TValue> map, TKey key, T… in Contains()
311 …public static TValue GetValueOrDefault<TKey, TValue>(this IImmutableDictionary<TKey, TValue> dicti… in GetValueOrDefault()
328 …public static TValue GetValueOrDefault<TKey, TValue>(this IImmutableDictionary<TKey, TValue> dicti… in GetValueOrDefault()
H A DImmutableSortedDictionary_2.cs293 …public ImmutableSortedDictionary<TKey, TValue> SetItems(IEnumerable<KeyValuePair<TKey, TValue>> it… in SetItems()
306 …public ImmutableSortedDictionary<TKey, TValue> AddRange(IEnumerable<KeyValuePair<TKey, TValue>> it… in AddRange()
447 …ary<TKey, TValue> IImmutableDictionary<TKey, TValue>.SetItems(IEnumerable<KeyValuePair<TKey, TValu… in SetItems()
456 …ary<TKey, TValue> IImmutableDictionary<TKey, TValue>.AddRange(IEnumerable<KeyValuePair<TKey, TValu… in AddRange()
491 public bool Contains(KeyValuePair<TKey, TValue> pair) in Contains()
557 void ICollection<KeyValuePair<TKey, TValue>>.Add(KeyValuePair<TKey, TValue> item) in Add()
567 bool ICollection<KeyValuePair<TKey, TValue>>.Remove(KeyValuePair<TKey, TValue> item) in Remove()
572 …void ICollection<KeyValuePair<TKey, TValue>>.CopyTo(KeyValuePair<TKey, TValue>[] array, int arrayI… in CopyTo()
807 …static bool TryCastToImmutableMap(IEnumerable<KeyValuePair<TKey, TValue>> sequence, out ImmutableS… in TryCastToImmutableMap()
832 …private ImmutableSortedDictionary<TKey, TValue> AddRange(IEnumerable<KeyValuePair<TKey, TValue>> i… in AddRange()
[all …]
H A DImmutableSortedDictionary.cs66 …tableSortedDictionary<TKey, TValue> CreateRange<TKey, TValue>(IEnumerable<KeyValuePair<TKey, TValu… in CreateRange()
81 …Value> CreateRange<TKey, TValue>(IComparer<TKey> keyComparer, IEnumerable<KeyValuePair<TKey, TValu… in CreateRange()
97 …r<TKey> keyComparer, IEqualityComparer<TValue> valueComparer, IEnumerable<KeyValuePair<TKey, TValu… in CreateRange()
209 …ry<TKey, TValue> ToImmutableSortedDictionary<TKey, TValue>(this IEnumerable<KeyValuePair<TKey, TVa… in ToImmutableSortedDictionary()
233 …ry<TKey, TValue> ToImmutableSortedDictionary<TKey, TValue>(this IEnumerable<KeyValuePair<TKey, TVa… in ToImmutableSortedDictionary()
247 …ry<TKey, TValue> ToImmutableSortedDictionary<TKey, TValue>(this IEnumerable<KeyValuePair<TKey, TVa… in ToImmutableSortedDictionary()
/dports/biology/ncbi-cxx-toolkit/ncbi_cxx--25_2_0/src/objects/seq/
H A Dseq_id_tree.hpp359 struct TKey { struct in CSeq_id_Textseq_Info
360 TKey(void) in TKey() function
365 unsigned m_Hash;
366 TVersion m_Version;
367 Uint1 m_PrefixLen;
368 enum {
773 typedef string TKey; typedef in CSeq_id_General_Id_Info
798 struct TKey { struct in CSeq_id_General_Str_Info
799 TPacked m_Key;
800 string m_Db;
[all …]
/dports/biology/ncbi-blast+/ncbi-blast-2.12.0+-src/c++/src/objects/seq/
H A Dseq_id_tree.hpp359 struct TKey { struct in CSeq_id_Textseq_Info
360 TKey(void) in TKey() function
365 unsigned m_Hash;
366 TVersion m_Version;
367 Uint1 m_PrefixLen;
368 enum {
773 typedef string TKey; typedef in CSeq_id_General_Id_Info
798 struct TKey { struct in CSeq_id_General_Str_Info
799 TPacked m_Key;
800 string m_Db;
[all …]
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Collections.Concurrent/tests/ConcurrentDictionary/
H A DConcurrentDictionaryExtensions.cs11 this ConcurrentDictionary<TKey, TValue> dictionary, in GetOrAdd()
12 TKey key, Func<TKey, TArg, TValue> valueFactory, TArg factoryArgument) in GetOrAdd()
30 this ConcurrentDictionary<TKey, TValue> dictionary, in AddOrUpdate()
31 …TKey key, Func<TKey, TArg, TValue> addValueFactory, Func<TKey, TValue, TArg, TValue> updateValueFa… in AddOrUpdate()
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/mscorlib/system/runtime/interopservices/windowsruntime/
H A Dconstantsplittablemap.cs37 public Int32 Compare(KeyValuePair<TKey, TValue> x, KeyValuePair<TKey, TValue> y) in Compare()
50 internal ConstantSplittableMap(IReadOnlyDictionary<TKey, TValue> data) in ConstantSplittableMap()
61 internal ConstantSplittableMap(IMapView<TKey, TValue> data) in ConstantSplittableMap()
81 …private ConstantSplittableMap(KeyValuePair<TKey, TValue>[] items, Int32 firstItemIndex, Int32 last… in ConstantSplittableMap()
89 …KeyValuePair<TKey, TValue>[] CreateKeyValueArray(Int32 count, IEnumerator<KeyValuePair<TKey, TValu… in CreateKeyValueArray()
102 …eyValuePair<TKey, TValue>[] CreateKeyValueArray(Int32 count, IEnumerator<IKeyValuePair<TKey, TValu… in CreateKeyValueArray()
172 …public void Split(out IMapView<TKey, TValue> firstPartition, out IMapView<TKey, TValue> secondPart… in Split()
/dports/lang/mono/mono-5.10.1.57/external/api-doc-tools/external/Lucene.Net.Light/src/core/Support/Compatibility/
H A DConcurrentDictionary.cs54 public ConcurrentDictionary(IEnumerable<KeyValuePair<TKey, TValue>> keyValuePairs) in ConcurrentDictionary()
65 …public TValue AddOrUpdate(TKey key, Func<TKey, TValue> addValueFactory, Func<TKey, TValue, TValue>… in AddOrUpdate()
82 …public TValue AddOrUpdate(TKey key, TValue addValue, Func<TKey, TValue, TValue> updateValueFactory) in AddOrUpdate()
99 public TValue GetOrAdd(TKey key, Func<TKey, TValue> valueFactory) in GetOrAdd()
268 bool ICollection<KeyValuePair<TKey, TValue>>.Contains(KeyValuePair<TKey, TValue> item) in Contains()
284 void ICollection<KeyValuePair<TKey, TValue>>.Add(KeyValuePair<TKey, TValue> item) in Add()
292 …void ICollection<KeyValuePair<TKey, TValue>>.CopyTo(KeyValuePair<TKey, TValue>[] array, int arrayI… in CopyTo()
300 bool ICollection<KeyValuePair<TKey, TValue>>.Remove(KeyValuePair<TKey, TValue> item) in Remove()
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.ServiceModel.Internals/System/Runtime/
H A DReadOnlyDictionaryInternal.cs17 public ReadOnlyDictionaryInternal(IDictionary<TKey, TValue> dictionary) in ReadOnlyDictionaryInternal()
54 public static IDictionary<TKey, TValue> Create(IDictionary<TKey, TValue> dictionary) in Create()
76 public void Add(KeyValuePair<TKey, TValue> item) in Add()
86 public bool Contains(KeyValuePair<TKey, TValue> item) in Contains()
95 public void CopyTo(KeyValuePair<TKey, TValue>[] array, int arrayIndex) in CopyTo()
115 public bool Remove(KeyValuePair<TKey, TValue> item) in Remove()
/dports/sysutils/istio/istio-1.6.7/vendor/github.com/antlr/antlr4/runtime/CSharp/runtime/CSharp/Antlr4.Runtime/Sharpen/Compat/
H A DConcurrentDictionary.cs58 public ConcurrentDictionary (IEnumerable<KeyValuePair<TKey, TValue>> collection) in ConcurrentDictionary()
84 IEnumerable<KeyValuePair<TKey, TValue>> collection, in ConcurrentDictionary()
120 void ICollection<KeyValuePair<TKey,TValue>>.Add (KeyValuePair<TKey, TValue> pair) in Add()
125 …public TValue AddOrUpdate (TKey key, Func<TKey, TValue> addValueFactory, Func<TKey, TValue, TValue… in AddOrUpdate()
185 public TValue GetOrAdd (TKey key, Func<TKey, TValue> valueFactory) in GetOrAdd()
218 bool ICollection<KeyValuePair<TKey,TValue>>.Remove (KeyValuePair<TKey,TValue> pair) in Remove()
270 bool ICollection<KeyValuePair<TKey,TValue>>.Contains (KeyValuePair<TKey, TValue> pair) in Contains()
337 ICollection<T> GetPart<T> (Func<KeyValuePair<TKey, TValue>, T> extractor) in GetPart()
356 void CopyTo (KeyValuePair<TKey, TValue>[] array, int startIndex) in CopyTo()
366 void CopyTo (KeyValuePair<TKey, TValue>[] array, int startIndex, int num) in CopyTo()
[all …]
/dports/irc/smuxi/smuxi-1.1/lib/ServiceStack/src/ServiceStack.Common/Net30/
H A DConcurrentDictionary.cs48 public ConcurrentDictionary (IEnumerable<KeyValuePair<TKey, TValue>> collection) in ConcurrentDictionary()
74 IEnumerable<KeyValuePair<TKey, TValue>> collection, in ConcurrentDictionary()
103 void ICollection<KeyValuePair<TKey,TValue>>.Add (KeyValuePair<TKey, TValue> pair) in Add()
108 …public TValue AddOrUpdate (TKey key, Func<TKey, TValue> addValueFactory, Func<TKey, TValue, TValue… in AddOrUpdate()
160 public TValue GetOrAdd (TKey key, Func<TKey, TValue> valueFactory) in GetOrAdd()
190 bool ICollection<KeyValuePair<TKey,TValue>>.Remove (KeyValuePair<TKey,TValue> pair) in Remove()
241 bool ICollection<KeyValuePair<TKey,TValue>>.Contains (KeyValuePair<TKey, TValue> pair) in Contains()
308 ICollection<T> GetPart<T> (Func<KeyValuePair<TKey, TValue>, T> extractor) in GetPart()
327 void CopyTo (KeyValuePair<TKey, TValue>[] array, int startIndex) in CopyTo()
337 void CopyTo (KeyValuePair<TKey, TValue>[] array, int startIndex, int num) in CopyTo()
[all …]
/dports/irc/smuxi/smuxi-1.1/lib/ServiceStack.Text/src/ServiceStack.Text/Marc/
H A DLink.cs14 class Link<TKey, TValue> where TKey : class class
16 public static bool TryGet(Link<TKey, TValue> link, TKey key, out TValue value) in TryGet()
31 public static bool TryAdd(ref Link<TKey, TValue> head, TKey key, ref TValue value) in TryAdd()
50 private Link(TKey key, TValue value, Link<TKey, TValue> tail) in Link() method in ServiceStack.Text.Marc.TKey
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Collections/src/System/Collections/Generic/
H A DCollectionExtensions.cs9 …public static TValue GetValueOrDefault<TKey, TValue>(this IReadOnlyDictionary<TKey, TValue> dictio… in GetValueOrDefault()
14 …public static TValue GetValueOrDefault<TKey, TValue>(this IReadOnlyDictionary<TKey, TValue> dictio… in GetValueOrDefault()
25 …public static bool TryAdd<TKey, TValue>(this IDictionary<TKey, TValue> dictionary, TKey key, TValu… in TryAdd()
41 …public static bool Remove<TKey, TValue>(this IDictionary<TKey, TValue> dictionary, TKey key, out T… in Remove()
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Collections.Immutable/tests/
H A DImmutableDictionaryTestBase.cs437 …protected void AddExistingKeySameValueTestHelper<TKey, TValue>(IImmutableDictionary<TKey, TValue> … in AddExistingKeySameValueTestHelper()
461 …ected void AddExistingKeyDifferentValueTestHelper<TKey, TValue>(IImmutableDictionary<TKey, TValue>… in AddExistingKeyDifferentValueTestHelper()
473 …protected void ContainsKeyTestHelper<TKey, TValue>(IImmutableDictionary<TKey, TValue> map, TKey ke… in ContainsKeyTestHelper()
479 …protected void ContainsTestHelper<TKey, TValue>(IImmutableDictionary<TKey, TValue> map, TKey key, … in ContainsTestHelper()
487 … protected void RemoveTestHelper<TKey, TValue>(IImmutableDictionary<TKey, TValue> map, TKey key) in RemoveTestHelper()
500 … protected void KeysTestHelper<TKey, TValue>(IImmutableDictionary<TKey, TValue> map, TKey key) in KeysTestHelper()
511 … protected void ValuesTestHelper<TKey, TValue>(IImmutableDictionary<TKey, TValue> map, TKey key) in ValuesTestHelper()
566 …stract IEqualityComparer<TValue> GetValueComparer<TKey, TValue>(IImmutableDictionary<TKey, TValue>… in GetValueComparer()
568 …internal abstract IBinaryTree GetRootNode<TKey, TValue>(IImmutableDictionary<TKey, TValue> diction… in GetRootNode()
591 private void VerifyAvlTreeState<TKey, TValue>(IImmutableDictionary<TKey, TValue> dictionary) in VerifyAvlTreeState()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/protobuf/csharp/src/Google.Protobuf/Collections/
H A DReadOnlyDictionary.cs46 public ReadOnlyDictionary(IDictionary<TKey, TValue> wrapped) in ReadOnlyDictionary()
87 public void Add(KeyValuePair<TKey, TValue> item) in Add()
97 public bool Contains(KeyValuePair<TKey, TValue> item) in Contains()
102 public void CopyTo(KeyValuePair<TKey, TValue>[] array, int arrayIndex) in CopyTo()
117 public bool Remove(KeyValuePair<TKey, TValue> item) in Remove()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/protobuf/csharp/src/Google.Protobuf/Collections/
H A DReadOnlyDictionary.cs46 public ReadOnlyDictionary(IDictionary<TKey, TValue> wrapped) in ReadOnlyDictionary()
87 public void Add(KeyValuePair<TKey, TValue> item) in Add()
97 public bool Contains(KeyValuePair<TKey, TValue> item) in Contains()
102 public void CopyTo(KeyValuePair<TKey, TValue>[] array, int arrayIndex) in CopyTo()
117 public bool Remove(KeyValuePair<TKey, TValue> item) in Remove()
/dports/science/py-cirq-aqt/Cirq-0.12.0/cirq-core/cirq/ops/
H A Dpauli_string.py62 TKey = TypeVar('TKey', bound=raw_types.Qid) variable
459 qubit_map: Mapping[TKey, int],
561 qubit_map: Mapping[TKey, int],
942 qubit_map: Mapping[TKey, int], pauli_qubits: Tuple[TKey, ...], num_state_qubits: int
1122 def __delitem__(self, key: TKey):
1134 self, key: TKey, default: TDefault
1138 def get(self, key: TKey, default=None):
1436 qubit: TKey,
1451 qubit0: TKey,
1452 qubit1: TKey,
[all …]
/dports/science/py-cirq-core/Cirq-0.13.1/cirq-core/cirq/ops/
H A Dpauli_string.py62 TKey = TypeVar('TKey', bound=raw_types.Qid) variable
464 qubit_map: Mapping[TKey, int],
569 qubit_map: Mapping[TKey, int],
956 qubit_map: Mapping[TKey, int], pauli_qubits: Tuple[TKey, ...], num_state_qubits: int
1137 def __delitem__(self, key: TKey):
1149 self, key: TKey, default: TDefault
1153 def get(self, key: TKey, default=None):
1453 qubit: TKey,
1468 qubit0: TKey,
1469 qubit1: TKey,
[all …]
/dports/science/py-cirq-pasqal/Cirq-0.13.1/cirq-core/cirq/ops/
H A Dpauli_string.py62 TKey = TypeVar('TKey', bound=raw_types.Qid) variable
464 qubit_map: Mapping[TKey, int],
569 qubit_map: Mapping[TKey, int],
956 qubit_map: Mapping[TKey, int], pauli_qubits: Tuple[TKey, ...], num_state_qubits: int
1137 def __delitem__(self, key: TKey):
1149 self, key: TKey, default: TDefault
1153 def get(self, key: TKey, default=None):
1453 qubit: TKey,
1468 qubit0: TKey,
1469 qubit1: TKey,
[all …]
/dports/science/py-cirq-google/Cirq-0.13.0/cirq-core/cirq/ops/
H A Dpauli_string.py62 TKey = TypeVar('TKey', bound=raw_types.Qid) variable
464 qubit_map: Mapping[TKey, int],
569 qubit_map: Mapping[TKey, int],
956 qubit_map: Mapping[TKey, int], pauli_qubits: Tuple[TKey, ...], num_state_qubits: int
1137 def __delitem__(self, key: TKey):
1149 self, key: TKey, default: TDefault
1153 def get(self, key: TKey, default=None):
1453 qubit: TKey,
1468 qubit0: TKey,
1469 qubit1: TKey,
[all …]

12345678910>>...20