Home
last modified time | relevance | path

Searched refs:ConcurrentDictionary (Results 1 – 25 of 211) sorted by relevance

123456789

/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Collections.Concurrent/tests/Performance/
H A DPerf.ConcurrentDictionary.cs22 new ConcurrentDictionary<int, string>(); // 1 in Ctor()
23 new ConcurrentDictionary<int, string>(); // 2 in Ctor()
24 new ConcurrentDictionary<int, string>(); // 3 in Ctor()
25 new ConcurrentDictionary<int, string>(); // 4 in Ctor()
26 new ConcurrentDictionary<int, string>(); // 5 in Ctor()
27 new ConcurrentDictionary<int, string>(); // 6 in Ctor()
28 new ConcurrentDictionary<int, string>(); // 7 in Ctor()
29 new ConcurrentDictionary<int, string>(); // 8 in Ctor()
46 var d = new ConcurrentDictionary<int, int>(); in TryAdd()
74 var d = new ConcurrentDictionary<long, long>(); in TryGetValue()
[all …]
/dports/devel/msbuild/msbuild-0.06/src/Shared/
H A DRegisteredTaskObjectCacheBase.cs29 …private static Lazy<ConcurrentDictionary<object, object>> s_appDomainLifetimeObjects = new Lazy<Co…
34 …private Lazy<ConcurrentDictionary<object, object>> _buildLifetimeObjects = new Lazy<ConcurrentDict…
65ConcurrentDictionary<object, object> dict = GetCollectionForLifetime(lifetime, dontCreate: false); in RegisterTaskObject()
78ConcurrentDictionary<object, object> dict = GetCollectionForLifetime(lifetime, dontCreate: true); in GetRegisteredTaskObject()
93ConcurrentDictionary<object, object> dict = GetCollectionForLifetime(lifetime, dontCreate: true); in UnregisterTaskObject()
117 …protected ConcurrentDictionary<object, object> GetCollectionForLifetime(RegisteredTaskObjectLifeti… in GetCollectionForLifetime()
119 … Lazy<ConcurrentDictionary<object, object>> dict = GetLazyCollectionForLifetime(lifetime); in GetCollectionForLifetime()
133 …protected Lazy<ConcurrentDictionary<object, object>> GetLazyCollectionForLifetime(RegisteredTaskOb… in GetLazyCollectionForLifetime()
135 Lazy<ConcurrentDictionary<object, object>> dict = null; in GetLazyCollectionForLifetime()
153 … private static void DisposeObjects(Lazy<ConcurrentDictionary<object, object>> lifetimeObjects) in DisposeObjects()
H A DTypeLoader.cs34ConcurrentDictionary<Func<Type, object, bool>, ConcurrentDictionary<AssemblyLoadInfo, AssemblyInfo…
39ConcurrentDictionary<Func<Type, object, bool>, ConcurrentDictionary<AssemblyLoadInfo, AssemblyInfo…
234 …private LoadedType GetLoadedType(ConcurrentDictionary<Func<Type, object, bool>, ConcurrentDictiona… in GetLoadedType()
238 ConcurrentDictionary<AssemblyLoadInfo, AssemblyInfoToLoadedTypes> loadInfoToType = in GetLoadedType()
239 …cache.GetOrAdd(_isDesiredType, (_) => new ConcurrentDictionary<AssemblyLoadInfo, AssemblyInfoToLoa… in GetLoadedType()
275 private ConcurrentDictionary<string, Type> _typeNameToType;
304 … _typeNameToType = new ConcurrentDictionary<string, Type>(StringComparer.OrdinalIgnoreCase); in AssemblyInfoToLoadedTypes()
/dports/devel/msbuild/msbuild-0.06/src/MSBuildTaskHost/
H A DTypeLoader.cs30ConcurrentDictionary<TypeFilter, Concurrent.ConcurrentDictionary<AssemblyLoadInfo, AssemblyInfoToL…
35ConcurrentDictionary<TypeFilter, Concurrent.ConcurrentDictionary<AssemblyLoadInfo, AssemblyInfoToL…
167 …private LoadedType GetLoadedType(Concurrent.ConcurrentDictionary<TypeFilter, Concurrent.Concurrent… in GetLoadedType()
171 … Concurrent.ConcurrentDictionary<AssemblyLoadInfo, AssemblyInfoToLoadedTypes> loadInfoToType = in GetLoadedType()
172 …cache.GetOrAdd(_isDesiredType, (_) => new Concurrent.ConcurrentDictionary<AssemblyLoadInfo, Assemb… in GetLoadedType()
208 private Concurrent.ConcurrentDictionary<string, Type> _typeNameToType;
237 …_typeNameToType = new Concurrent.ConcurrentDictionary<string, Type>(StringComparer.OrdinalIgnoreCa… in AssemblyInfoToLoadedTypes()
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Collections.Concurrent/tests/ConcurrentDictionary/
H A DConcurrentDictionaryTests.cs20 ConcurrentDictionary<int, int> cd = new ConcurrentDictionary<int, int>(); in TestBasicScenarios()
75ConcurrentDictionary<int, int> dictConcurrent = new ConcurrentDictionary<int, int>(cLevel, 1); in TestAdd1()
258 ConcurrentDictionary<int, int> dict = new ConcurrentDictionary<int, int>(cLevel, 1); in TestRemove1()
327 ConcurrentDictionary<int, int> dict = new ConcurrentDictionary<int, int>(); in TestRemove2()
376 ConcurrentDictionary<int, int> dict = new ConcurrentDictionary<int, int>(); in TestRemove3()
431 ConcurrentDictionary<int, int> dict = new ConcurrentDictionary<int, int>(cLevel, 1); in TestGetOrAddOrUpdate()
548 ConcurrentDictionary<string, int> dict = new ConcurrentDictionary<string, int>(); in TestDebuggerAttributes()
655 () => new ConcurrentDictionary<int, int>(0, 10)); in TestConstructor_Negative()
659 () => new ConcurrentDictionary<int, int>(-1, 0)); in TestConstructor_Negative()
881 var dictionary = new ConcurrentDictionary<int, int>(); in TestClear()
[all …]
H A DConcurrentDictionary.Generic.Tests.cs91 return new ConcurrentDictionary<TKey, TValue>(); in GenericIDictionaryFactory()
114 IDictionary<TKey, TValue> copied = new ConcurrentDictionary<TKey, TValue>(source); in Ctor_IDictionary()
124ConcurrentDictionary<TKey, TValue> copied = new ConcurrentDictionary<TKey, TValue>(source, compare… in Ctor_IDictionary_IEqualityComparer()
134ConcurrentDictionary<TKey, TValue> copied = new ConcurrentDictionary<TKey, TValue>(source, compare… in Ctor_IEqualityComparer()
/dports/lang/mono/mono-5.10.1.57/mcs/class/System.Web.Mvc3/Mvc/
H A DReflectedAttributeCache.cs10 …ly ConcurrentDictionary<MethodInfo, ReadOnlyCollection<ActionMethodSelectorAttribute>> _actionMeth…
11 …only ConcurrentDictionary<MethodInfo, ReadOnlyCollection<ActionNameSelectorAttribute>> _actionName…
12 …atic readonly ConcurrentDictionary<MethodInfo, ReadOnlyCollection<FilterAttribute>> _methodFilterA…
14 …e static readonly ConcurrentDictionary<Type, ReadOnlyCollection<FilterAttribute>> _typeFilterAttri…
32 …OnlyCollection<TAttribute> GetAttributes<TMemberInfo, TAttribute>(ConcurrentDictionary<TMemberInfo…
/dports/lang/mono/mono-5.10.1.57/external/aspnetwebstack/src/System.Web.Mvc/
H A DReflectedAttributeCache.cs13 …ly ConcurrentDictionary<MethodInfo, ReadOnlyCollection<ActionMethodSelectorAttribute>> _actionMeth…
14 …only ConcurrentDictionary<MethodInfo, ReadOnlyCollection<ActionNameSelectorAttribute>> _actionName…
15 …atic readonly ConcurrentDictionary<MethodInfo, ReadOnlyCollection<FilterAttribute>> _methodFilterA…
17 …e static readonly ConcurrentDictionary<Type, ReadOnlyCollection<FilterAttribute>> _typeFilterAttri…
39 …OnlyCollection<TAttribute> GetAttributes<TMemberInfo, TAttribute>(ConcurrentDictionary<TMemberInfo…
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Data.SqlClient/tests/StressTests/System.Data.StressRunner/
H A DRecordedExceptions.cs21 …vate ConcurrentDictionary<string, ConcurrentDictionary<string, ExceptionCount>> _exceptions = new
33ConcurrentDictionary<string, ExceptionCount> exceptionsForTest = _exceptions.GetOrAdd(testName, _ … in Record()
70ConcurrentDictionary<string, ExceptionCount> exceptionsForTest = _exceptions[testName]; in TraceAllExceptions()
96ConcurrentDictionary<string, ExceptionCount> exceptionsForTest = _exceptions[testName]; in GetExceptionsCount()
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Web/UI/
H A DTargetFrameworkUtil.cs20 private ConcurrentDictionary<string, EventInfo> _events;
21 private ConcurrentDictionary<Tuple<string, int>, FieldInfo> _fields;
22 private ConcurrentDictionary<Tuple<string, int>, PropertyInfo> _properties;
27 internal ConcurrentDictionary<string, EventInfo> Events {
30 _events = new ConcurrentDictionary<string, EventInfo>();
35 internal ConcurrentDictionary<Tuple<string, int>, FieldInfo> Fields {
53 …private static ConcurrentDictionary<Type, MemberCache> s_memberCache = new ConcurrentDictionary<Ty…
58 new ConcurrentDictionary<Type, PropertyDescriptorCollection>();
60 new ConcurrentDictionary<object, PropertyDescriptorCollection>();
62 new ConcurrentDictionary<Type, EventDescriptorCollection>();
[all …]
/dports/devel/msbuild/msbuild-0.06/src/Build/BackEnd/Components/SdkResolution/
H A DCachingSdkResolverService.cs20 …ate readonly ConcurrentDictionary<int, ConcurrentDictionary<string, SdkResult>> _cache = new Concu…
40ConcurrentDictionary<string, SdkResult> cached = _cache.GetOrAdd(submissionId, new ConcurrentDicti… in ResolveSdk()
H A DSdkResolverCachingWrapper.cs23 …ate readonly ConcurrentDictionary<int, ConcurrentDictionary<string, SdkResult>> _cache = new Concu…
52ConcurrentDictionary<string, SdkResult> cached = _cache.GetOrAdd(submissionId, new ConcurrentDicti… in ResolveSdk()
H A DSdkResolverService.cs36 …y ConcurrentDictionary<int, ConcurrentDictionary<SdkResolver, object>> _resolverStateBySubmission …
207 ConcurrentDictionary<SdkResolver, object> resolverState; in GetResolverState()
241ConcurrentDictionary<SdkResolver, object> resolverState = _resolverStateBySubmission.GetOrAdd(subm… in SetResolverState()
/dports/devel/msbuild/msbuild-0.06/src/Build/Utilities/
H A DEngineFileUtilities.cs87 ConcurrentDictionary<string, ImmutableArray<string>> entriesCache = null in GetFileListEscaped()
141 ConcurrentDictionary<string, ImmutableArray<string>> entriesCache = null in GetFileList()
242 …donly Lazy<ConcurrentDictionary<string, bool>> _regexMatchCache = new Lazy<ConcurrentDictionary<st…
263 …adonly Lazy<ConcurrentDictionary<string, bool>> existenceCache = new Lazy<ConcurrentDictionary<str…
/dports/games/openbve/OpenBVE-1.8.2.1/source/OpenBveApi/World/UnitConversions/
H A DUnitConvertor.cs21 …static ConcurrentDictionary<TUnitType, Func<TValueType, TValueType>> ConversionsTo = new Concurren…
26 …static ConcurrentDictionary<TUnitType, Func<TValueType, TValueType>> ConversionsFrom = new Concurr…
/dports/lang/mono/mono-5.10.1.57/mcs/class/System.Web.Mvc3/Mvc/ExpressionUtil/
H A DCachedExpressionCompiler.cs22 …private static readonly ConcurrentDictionary<MemberInfo, Func<TIn, TOut>> _simpleMemberAccessDict =
23 new ConcurrentDictionary<MemberInfo, Func<TIn, TOut>>();
25 …private static readonly ConcurrentDictionary<MemberInfo, Func<object, TOut>> _constMemberAccessDic…
26 new ConcurrentDictionary<MemberInfo, Func<object, TOut>>();
28 …private static readonly ConcurrentDictionary<ExpressionFingerprintChain, Hoisted<TIn, TOut>> _fing…
29 new ConcurrentDictionary<ExpressionFingerprintChain, Hoisted<TIn, TOut>>();
/dports/lang/mono/mono-5.10.1.57/external/aspnetwebstack/src/Microsoft.Web.Mvc/ExpressionUtil/
H A DCachedExpressionCompiler.cs27 …private static readonly ConcurrentDictionary<MemberInfo, Func<TIn, TOut>> _simpleMemberAccessDict =
28 new ConcurrentDictionary<MemberInfo, Func<TIn, TOut>>();
30 …private static readonly ConcurrentDictionary<MemberInfo, Func<object, TOut>> _constMemberAccessDic…
31 new ConcurrentDictionary<MemberInfo, Func<object, TOut>>();
33 …private static readonly ConcurrentDictionary<ExpressionFingerprintChain, Hoisted<TIn, TOut>> _fing…
34 new ConcurrentDictionary<ExpressionFingerprintChain, Hoisted<TIn, TOut>>();
/dports/lang/mono/mono-5.10.1.57/external/aspnetwebstack/src/System.Web.Mvc/ExpressionUtil/
H A DCachedExpressionCompiler.cs26 …private static readonly ConcurrentDictionary<MemberInfo, Func<TIn, TOut>> _simpleMemberAccessDict =
27 new ConcurrentDictionary<MemberInfo, Func<TIn, TOut>>();
29 …private static readonly ConcurrentDictionary<MemberInfo, Func<object, TOut>> _constMemberAccessDic…
30 new ConcurrentDictionary<MemberInfo, Func<object, TOut>>();
32 …private static readonly ConcurrentDictionary<ExpressionFingerprintChain, Hoisted<TIn, TOut>> _fing…
33 new ConcurrentDictionary<ExpressionFingerprintChain, Hoisted<TIn, TOut>>();
/dports/lang/mono/mono-5.10.1.57/external/aspnetwebstack/test/System.Web.WebPages.Test/Utils/
H A DSessionStateUtilTest.cs24 …ateUtil.SetUpSessionState(context.Object, webPageHttpHandler, new ConcurrentDictionary<Type, Sessi… in SetUpSessionStateDoesNotInvokeSessionStateBehaviorIfNoPageHasDirective()
40 …ateUtil.SetUpSessionState(context.Object, webPageHttpHandler, new ConcurrentDictionary<Type, Sessi… in SetUpSessionStateUsesSessionStateValueFromRequestingPageIfAvailable()
60 …ateUtil.SetUpSessionState(context.Object, webPageHttpHandler, new ConcurrentDictionary<Type, Sessi… in SetUpSessionStateUsesSessionStateValueFromStartPageHierarchy()
76 …ateUtil.SetUpSessionState(context.Object, webPageHttpHandler, new ConcurrentDictionary<Type, Sessi… in SetUpSessionStateThrowsIfSessionStateValueIsInvalid()
89 …ateUtil.SetUpSessionState(context.Object, webPageHttpHandler, new ConcurrentDictionary<Type, Sessi… in SetUpSessionStateThrowsIfMultipleSessionStateValueIsInvalid()
100 var dictionary = new ConcurrentDictionary<Type, SessionStateBehavior?>(); in SetUpSessionStateUsesCache()
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.ComponentModel.DataAnnotations/DataAnnotations/
H A DAssociatedMetadataTypeTypeDescriptor.cs83 …private static readonly ConcurrentDictionary<Type, Type> _metadataTypeCache = new ConcurrentDictio…
86 …private static readonly ConcurrentDictionary<Tuple<Type, string>, Attribute[]> _typeMemberCache = …
89 …private static readonly ConcurrentDictionary<Tuple<Type, Type>, bool> _validatedMetadataTypeCache …
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Security.Cryptography.Encoding/src/Internal/Cryptography/
H A DOidLookup.cs15 private static readonly ConcurrentDictionary<string, string> s_lateBoundOidToFriendlyName =
16 new ConcurrentDictionary<string, string>();
18 private static readonly ConcurrentDictionary<string, string> s_lateBoundFriendlyNameToOid =
19 new ConcurrentDictionary<string, string>(StringComparer.OrdinalIgnoreCase);
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Data.Odbc/src/Common/System/Data/ProviderBase/
H A DDbConnectionPoolGroup.cs33 private ConcurrentDictionary<DbConnectionPoolIdentity, DbConnectionPool> _poolCollection;
57 … _poolCollection = new ConcurrentDictionary<DbConnectionPoolIdentity, DbConnectionPool>(); in DbConnectionPoolGroup()
117ConcurrentDictionary<DbConnectionPoolIdentity, DbConnectionPool> oldPoolCollection = null; in Clear()
123 … _poolCollection = new ConcurrentDictionary<DbConnectionPoolIdentity, DbConnectionPool>(); in Clear()
254 … var newPoolCollection = new ConcurrentDictionary<DbConnectionPoolIdentity, DbConnectionPool>(); in Prune()
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Data.SqlClient/src/System/Data/ProviderBase/
H A DDbConnectionPoolGroup.cs36 private ConcurrentDictionary<DbConnectionPoolIdentity, DbConnectionPool> _poolCollection;
61 … _poolCollection = new ConcurrentDictionary<DbConnectionPoolIdentity, DbConnectionPool>(); in DbConnectionPoolGroup()
133ConcurrentDictionary<DbConnectionPoolIdentity, DbConnectionPool> oldPoolCollection = null; in Clear()
139 … _poolCollection = new ConcurrentDictionary<DbConnectionPoolIdentity, DbConnectionPool>(); in Clear()
265 … var newPoolCollection = new ConcurrentDictionary<DbConnectionPoolIdentity, DbConnectionPool>(); in Prune()
/dports/lang/mono/mono-5.10.1.57/external/aspnetwebstack/src/System.Web.WebPages/Utils/
H A DSessionStateUtil.cs15 …private static readonly ConcurrentDictionary<Type, SessionStateBehavior?> _sessionStateBehaviorCac…
22 … SetUpSessionState(HttpContextBase context, IHttpHandler handler, ConcurrentDictionary<Type, Sessi… in SetUpSessionState()
55 …StateBehavior? GetSessionStateBehavior(WebPageExecutingBase page, ConcurrentDictionary<Type, Sessi… in GetSessionStateBehavior()
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Data/System/Data/ProviderBase/
H A DDbConnectionPoolGroup.cs37 private ConcurrentDictionary<DbConnectionPoolIdentity, DbConnectionPool> _poolCollection;
65 … _poolCollection = new ConcurrentDictionary<DbConnectionPoolIdentity, DbConnectionPool>(); in DbConnectionPoolGroup()
126ConcurrentDictionary<DbConnectionPoolIdentity, DbConnectionPool> oldPoolCollection = null; in Clear()
130 … _poolCollection = new ConcurrentDictionary<DbConnectionPoolIdentity, DbConnectionPool>(); in Clear()
256 … var newPoolCollection = new ConcurrentDictionary<DbConnectionPoolIdentity, DbConnectionPool>(); in Prune()

123456789