Home
last modified time | relevance | path

Searched refs:TryGetValue (Results 1 – 25 of 2569) sorted by relevance

12345678910>>...103

/dports/lang/mono/mono-5.10.1.57/mcs/class/Mono.Data.Sqlite/Mono.Data.Sqlite_2.0/
H A DSQLiteConnectionStringBuilder.cs83 TryGetValue("version", out value);
106 TryGetValue("synchronous", out value);
146 TryGetValue("pooling", out value);
166 TryGetValue("binaryguid", out value);
186 TryGetValue("data source", out value);
204 TryGetValue("uri", out value);
245 TryGetValue("enlist", out value);
306 TryGetValue("read only", out value);
326 TryGetValue("password", out value);
346 TryGetValue("page size", out value);
[all …]
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Data.SqlClient/tests/ManualTests/SQL/ParameterTest/
H A DSteParam.cs19 …if (perm.TryGetValue(SteAttributeKey.SqlDbType, out attr) && (attr != SteTypeBoundaries.s_doNotUse… in Map()
25 …if (perm.TryGetValue(SteAttributeKey.MaxLength, out attr) && (attr != SteTypeBoundaries.s_doNotUse… in Map()
30 …if (perm.TryGetValue(SteAttributeKey.Precision, out attr) && (attr != SteTypeBoundaries.s_doNotUse… in Map()
35 …if (perm.TryGetValue(SteAttributeKey.Scale, out attr) && (attr != SteTypeBoundaries.s_doNotUseMark… in Map()
40 …if (perm.TryGetValue(SteAttributeKey.LocaleId, out attr) && (attr != SteTypeBoundaries.s_doNotUseM… in Map()
45 …if (perm.TryGetValue(SteAttributeKey.CompareOptions, out attr) && (attr != SteTypeBoundaries.s_doN… in Map()
50 …if (perm.TryGetValue(SteAttributeKey.TypeName, out attr) && (attr != SteTypeBoundaries.s_doNotUseM… in Map()
64 …if (perm.TryGetValue(SteAttributeKey.Offset, out attr) && (attr != SteTypeBoundaries.s_doNotUseMar… in Map()
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.ComponentModel.Composition/tests/System/ComponentModel/Composition/Hosting/
H A DCompositionTransactionTests.cs76 Assert.True(ct.TryGetValue(ct, out value)); in SetValue_ToNull_ShouldBeAllowed()
89 Assert.True(ct.TryGetValue(ct, out value)); in SetValue_ValueType_ShouldBeAllowed()
103 Assert.True(ct.TryGetValue(ct, out value)); in SetValue_Reference_ShouldBeAllowed()
126 Assert.True(ct.TryGetValue(keys[i], out value)); in SetValue_CauseResize_ShouldWorkFine()
142 Assert.False(ct2.TryGetValue(key, out value)); in SetValue_ChangeOuterValuesWhileHaveInner_ShouldThrow()
143 Assert.False(ct.TryGetValue(key, out value)); in SetValue_ChangeOuterValuesWhileHaveInner_ShouldThrow()
149 Assert.True(ct.TryGetValue(key, out value)); in SetValue_ChangeOuterValuesWhileHaveInner_ShouldThrow()
283 Assert.False(context.TryGetValue(key, out value)); in TestNoValue()
289 Assert.True(context.TryGetValue(key, out value)); in TestValue()
343 if (context.TryGetValue(key, out query)) in TestQuery()
[all …]
/dports/lang/mono/mono-5.10.1.57/mcs/class/Mono.CodeContracts/Mono.CodeContracts.Static.DataStructures/
H A DDoubleDictionary.cs40 if (!base.TryGetValue (a, out dict)) {
56 if (!base.TryGetValue (a, out dict)) { in Add()
66 if (base.TryGetValue (a, out dict)) in Keys2()
74 if (!base.TryGetValue (a, out dict)) in ContainsKey()
80 public bool TryGetValue (A a, B b, out C value) in TryGetValue() method in Mono.CodeContracts.Static.DataStructures.DoubleDictionary
83 if (base.TryGetValue (a, out dict)) in TryGetValue()
84 return dict.TryGetValue (b, out value); in TryGetValue()
/dports/devel/php-ice37/ice-3.7.2/csharp/src/Ice/
H A DServantManager.cs25 _servantMapMap.TryGetValue(ident, out m); in addServant()
55 _defaultServantMap.TryGetValue(category, out obj); in addDefaultServant()
80 _servantMapMap.TryGetValue(ident, out m); in removeServant()
111 _defaultServantMap.TryGetValue(category, out obj); in removeDefaultServant()
132 _servantMapMap.TryGetValue(ident, out m); in removeAllFacets()
164 _servantMapMap.TryGetValue(ident, out m); in findServant()
176 m.TryGetValue(facet, out obj); in findServant()
225 _servantMapMap.TryGetValue(ident, out m); in hasServant()
245 _locatorMap.TryGetValue(category, out l); in addServantLocator()
265 _locatorMap.TryGetValue(category, out l); in removeServantLocator()
[all …]
H A DImplicitContextI.cs116 _context.TryGetValue(key, out oldVal); in put()
245 if(!_map.TryGetValue(Thread.CurrentThread, out threadContext)) in containsKey()
264 if(!_map.TryGetValue(Thread.CurrentThread, out threadContext)) in get()
292 if(!_map.TryGetValue(Thread.CurrentThread, out threadContext)) in put()
300 if(!threadContext.TryGetValue(key, out oldVal)) in put()
319 if(!_map.TryGetValue(Thread.CurrentThread, out threadContext)) in remove()
326 if(!threadContext.TryGetValue(key, out val)) in remove()
342 _map.TryGetValue(Thread.CurrentThread, out threadContext); in write()
376 if(!_map.TryGetValue(Thread.CurrentThread, out threadContext)) in combine()
/dports/devel/ice37/ice-3.7.2/csharp/src/Ice/
H A DServantManager.cs25 _servantMapMap.TryGetValue(ident, out m); in addServant()
55 _defaultServantMap.TryGetValue(category, out obj); in addDefaultServant()
80 _servantMapMap.TryGetValue(ident, out m); in removeServant()
111 _defaultServantMap.TryGetValue(category, out obj); in removeDefaultServant()
132 _servantMapMap.TryGetValue(ident, out m); in removeAllFacets()
164 _servantMapMap.TryGetValue(ident, out m); in findServant()
176 m.TryGetValue(facet, out obj); in findServant()
225 _servantMapMap.TryGetValue(ident, out m); in hasServant()
245 _locatorMap.TryGetValue(category, out l); in addServantLocator()
265 _locatorMap.TryGetValue(category, out l); in removeServantLocator()
[all …]
H A DImplicitContextI.cs116 _context.TryGetValue(key, out oldVal); in put()
245 if(!_map.TryGetValue(Thread.CurrentThread, out threadContext)) in containsKey()
264 if(!_map.TryGetValue(Thread.CurrentThread, out threadContext)) in get()
292 if(!_map.TryGetValue(Thread.CurrentThread, out threadContext)) in put()
300 if(!threadContext.TryGetValue(key, out oldVal)) in put()
319 if(!_map.TryGetValue(Thread.CurrentThread, out threadContext)) in remove()
326 if(!threadContext.TryGetValue(key, out val)) in remove()
342 _map.TryGetValue(Thread.CurrentThread, out threadContext); in write()
376 if(!_map.TryGetValue(Thread.CurrentThread, out threadContext)) in combine()
/dports/devel/py-ice37/ice-3.7.2/csharp/src/Ice/
H A DServantManager.cs25 _servantMapMap.TryGetValue(ident, out m); in addServant()
55 _defaultServantMap.TryGetValue(category, out obj); in addDefaultServant()
80 _servantMapMap.TryGetValue(ident, out m); in removeServant()
111 _defaultServantMap.TryGetValue(category, out obj); in removeDefaultServant()
132 _servantMapMap.TryGetValue(ident, out m); in removeAllFacets()
164 _servantMapMap.TryGetValue(ident, out m); in findServant()
176 m.TryGetValue(facet, out obj); in findServant()
225 _servantMapMap.TryGetValue(ident, out m); in hasServant()
245 _locatorMap.TryGetValue(category, out l); in addServantLocator()
265 _locatorMap.TryGetValue(category, out l); in removeServantLocator()
[all …]
H A DImplicitContextI.cs116 _context.TryGetValue(key, out oldVal); in put()
245 if(!_map.TryGetValue(Thread.CurrentThread, out threadContext)) in containsKey()
264 if(!_map.TryGetValue(Thread.CurrentThread, out threadContext)) in get()
292 if(!_map.TryGetValue(Thread.CurrentThread, out threadContext)) in put()
300 if(!threadContext.TryGetValue(key, out oldVal)) in put()
319 if(!_map.TryGetValue(Thread.CurrentThread, out threadContext)) in remove()
326 if(!threadContext.TryGetValue(key, out val)) in remove()
342 _map.TryGetValue(Thread.CurrentThread, out threadContext); in write()
376 if(!_map.TryGetValue(Thread.CurrentThread, out threadContext)) in combine()
/dports/lang/mono/mono-5.10.1.57/mcs/class/corlib/Test/System.Collections.Concurrent/
H A DConcurrentDictionaryTests.cs63 Assert.IsTrue (map.TryGetValue("baz", out val)); in AddWithoutDuplicateTest()
86 Assert.IsTrue (map.TryGetValue ("monkey1", out value), "#1"); in AddParallelWithoutDuplicateTest()
89 Assert.IsTrue (map.TryGetValue ("monkey2", out value), "#2"); in AddParallelWithoutDuplicateTest()
92 Assert.IsTrue (map.TryGetValue ("monkey3", out value), "#3"); in AddParallelWithoutDuplicateTest()
95 Assert.IsTrue (map.TryGetValue ("monkey4", out value), "#4"); in AddParallelWithoutDuplicateTest()
132 Assert.IsFalse (map.TryGetValue ("bar", out value), "#2b"); in RemoveParallelTest()
133 Assert.IsFalse (map.TryGetValue ("foobar", out value), "#3b"); in RemoveParallelTest()
155 Assert.IsFalse(map.TryGetValue("barfoo", out val)); in GetValueUnknownTest()
166 Assert.IsTrue(map.TryGetValue("foo", out val), "#3"); in ModificationTest()
275 Assert.IsTrue (cdic.TryGetValue (index, out val)); in InitWithEnumerableTest()
[all …]
/dports/irc/smuxi/smuxi-1.1/lib/ServiceStack/src/ServiceStack.Common/Web/
H A DHttpResponseFilter.cs100 if (this.ContentTypeSerializers.TryGetValue(contentType, out responseStreamWriter) || in SerializeToBytes()
101 …this.ContentTypeSerializers.TryGetValue(ContentType.GetRealContentType(contentType), out responseS… in SerializeToBytes()
112 if (this.ContentTypeResponseSerializers.TryGetValue(contentType, out responseWriter) || in SerializeToBytes()
113 …this.ContentTypeResponseSerializers.TryGetValue(ContentType.GetRealContentType(contentType), out r… in SerializeToBytes()
145 if (this.ContentTypeSerializers.TryGetValue(contentType, out responseStreamWriter) || in SerializeToString()
146 …this.ContentTypeSerializers.TryGetValue(ContentType.GetRealContentType(contentType), out responseS… in SerializeToString()
159 if (this.ContentTypeResponseSerializers.TryGetValue(contentType, out responseWriter) || in SerializeToString()
214 if (this.ContentTypeResponseSerializers.TryGetValue(contentType, out responseWriter)|| in GetResponseSerializer()
229 if (this.ContentTypeSerializers.TryGetValue(contentType, out responseWriter)|| in GetStreamSerializer()
230 …this.ContentTypeSerializers.TryGetValue(ContentType.GetRealContentType(contentType), out responseW… in GetStreamSerializer()
[all …]
/dports/devel/msbuild/msbuild-0.06/src/Build/Instance/TaskFactories/
H A DAssemblyTaskFactory.cs217 if (_tasksAndAppDomains.TryGetValue(task, out appDomain)) in CleanupTask()
367 if (!mergedParameters.TryGetValue(XMakeAttributes.runtime, out runtime)) in CreateTaskInstance()
372 if (!mergedParameters.TryGetValue(XMakeAttributes.architecture, out architecture)) in CreateTaskInstance()
487 if (identityParameters.TryGetValue(XMakeAttributes.runtime, out runtime)) in VerifyThrowIdentityParametersValid()
507 if (identityParameters.TryGetValue(XMakeAttributes.architecture, out architecture)) in VerifyThrowIdentityParametersValid()
545 taskIdentityParameters.TryGetValue(XMakeAttributes.runtime, out taskRuntime); in TaskIdentityParametersMatchFactory()
546 factoryIdentityParameters.TryGetValue(XMakeAttributes.runtime, out usingTaskRuntime); in TaskIdentityParametersMatchFactory()
585 mergedParameters.TryGetValue(XMakeAttributes.runtime, out mergedRuntime); in MergeTaskFactoryParameterSets()
600 taskIdentityParameters.TryGetValue(XMakeAttributes.runtime, out taskRuntime); in MergeTaskFactoryParameterSets()
641 if (mergedParameters.TryGetValue(XMakeAttributes.runtime, out runtime)) in TaskHostParametersMatchCurrentProcess()
[all …]
/dports/lang/mono/mono-5.10.1.57/mcs/class/System.Xaml/System.Xaml/
H A DAttachablePropertyServices.cs18 if (instance == null || !props.TryGetValue (instance, out t)) in CopyPropertiesTo()
26 return instance != null && props.TryGetValue (instance, out t) ? t.Count : 0; in GetAttachedPropertyCount()
35 return instance != null && props.TryGetValue (instance, out t) ? t.Remove (name) : false; in RemoveProperty()
44 if (!props.TryGetValue (instance, out t)) { in SetProperty()
58 …return instance != null && props.TryGetValue (instance, out t) ? t.TryGetValue (name, out value) :… in TryGetProperty()
/dports/biology/ncbi-cxx-toolkit/ncbi_cxx--25_2_0/include/objects/seqtable/
H A DSeqTable_multi_data.hpp139 bool TryGetValue(size_t row, Int1& v) const { in TryGetValue() function in CSeqTable_multi_data
142 bool TryGetValue(size_t row, Int2& v) const { in TryGetValue() function in CSeqTable_multi_data
145 bool TryGetValue(size_t row, Int4& v) const { in TryGetValue() function in CSeqTable_multi_data
148 bool TryGetValue(size_t row, Int8& v) const { in TryGetValue() function in CSeqTable_multi_data
151 bool TryGetValue(size_t row, bool& v) const { in TryGetValue() function in CSeqTable_multi_data
154 bool TryGetValue(size_t row, double& v) const { in TryGetValue() function in CSeqTable_multi_data
157 bool TryGetValue(size_t row, string& v) const { in TryGetValue() function in CSeqTable_multi_data
164 bool TryGetValue(size_t row, TBytesValue& v) const { in TryGetValue() function in CSeqTable_multi_data
H A DSeqTable_column.hpp76 bool TryGetValue(size_t row, Value& v) const { in TryGetValue() function in CSeqTable_column
88 if ( IsSetData() && GetData().TryGetValue(index, v) ) { in TryGetValue()
100 return TryGetValue(row, v); in TryGetBool()
104 return TryGetValue(row, v); in TryGetInt()
108 return TryGetValue(row, v); in TryGetReal()
/dports/biology/ncbi-blast+/ncbi-blast-2.12.0+-src/c++/include/objects/seqtable/
H A DSeqTable_multi_data.hpp139 bool TryGetValue(size_t row, Int1& v) const { in TryGetValue() function in CSeqTable_multi_data
142 bool TryGetValue(size_t row, Int2& v) const { in TryGetValue() function in CSeqTable_multi_data
145 bool TryGetValue(size_t row, Int4& v) const { in TryGetValue() function in CSeqTable_multi_data
148 bool TryGetValue(size_t row, Int8& v) const { in TryGetValue() function in CSeqTable_multi_data
151 bool TryGetValue(size_t row, bool& v) const { in TryGetValue() function in CSeqTable_multi_data
154 bool TryGetValue(size_t row, double& v) const { in TryGetValue() function in CSeqTable_multi_data
157 bool TryGetValue(size_t row, string& v) const { in TryGetValue() function in CSeqTable_multi_data
164 bool TryGetValue(size_t row, TBytesValue& v) const { in TryGetValue() function in CSeqTable_multi_data
H A DSeqTable_column.hpp76 bool TryGetValue(size_t row, Value& v) const { in TryGetValue() function in CSeqTable_column
88 if ( IsSetData() && GetData().TryGetValue(index, v) ) { in TryGetValue()
100 return TryGetValue(row, v); in TryGetBool()
104 return TryGetValue(row, v); in TryGetInt()
108 return TryGetValue(row, v); in TryGetReal()
/dports/lang/mono/mono-5.10.1.57/mcs/class/System.Windows.Forms/System.Windows.Forms/
H A DTableLayoutSettings.cs165 if (!columns.TryGetValue (control, out column)) in GetCellPosition()
167 if (!(control is Control) || !columns.TryGetValue ((control as Control).Name, out column)) in GetCellPosition()
170 if (!rows.TryGetValue (control, out row)) in GetCellPosition()
172 if (!(control is Control) || !rows.TryGetValue ((control as Control).Name, out row)) in GetCellPosition()
187 if (columns.TryGetValue (control, out retval)) in GetColumn()
189 if ((control is Control) && columns.TryGetValue ((control as Control).Name, out retval)) in GetColumn()
202 if (column_spans.TryGetValue (control, out retval)) in GetColumnSpan()
218 if (rows.TryGetValue (control, out retval)) in GetRow()
220 if ((control is Control) && rows.TryGetValue ((control as Control).Name, out retval)) in GetRow()
233 if (row_spans.TryGetValue (control, out retval)) in GetRowSpan()
[all …]
/dports/devel/msbuild/msbuild-0.06/src/Build/BackEnd/Components/Scheduler/
H A DSchedulingData.cs433 if (!_configurationToRequests.TryGetValue(configurationId, out requests)) in GetRequestsAssignedToConfigurationCount()
465 if (_blockedRequests.TryGetValue(globalRequestId, out request)) in GetBlockedRequestIfAny()
507 if (!_executingRequestByNode.TryGetValue(nodeId, out request)) in IsNodeWorking()
564 if (!_scheduledRequestsByNode.TryGetValue(nodeId, out requests)) in GetScheduledRequestsCountByNode()
578 if (!_scheduledRequestsByNode.TryGetValue(nodeId, out requests)) in GetScheduledRequestsByNode()
592 if (!_readyRequestsByNode.TryGetValue(nodeId, out requests)) in GetReadyRequestsByNode()
631 if (!_configurationToNode.TryGetValue(configurationId, out assignedNode)) in GetAssignedNodeForRequestConfiguration()
670 if (_executingRequests.TryGetValue(globalRequestId, out returnValue)) in InternalGetScheduledRequestByGlobalRequestId()
675 if (_blockedRequests.TryGetValue(globalRequestId, out returnValue)) in InternalGetScheduledRequestByGlobalRequestId()
680 if (_yieldingRequests.TryGetValue(globalRequestId, out returnValue)) in InternalGetScheduledRequestByGlobalRequestId()
[all …]
/dports/lang/mono/mono-5.10.1.57/external/linker/linker/Linker/
H A DAnnotations.cs85 if (assembly_actions.TryGetValue (assembly, out action)) in GetAction()
94 if (method_actions.TryGetValue (method, out action)) in GetAction()
160 if (preserved_types.TryGetValue (type, out existing)) in SetPreserve()
190 if (preserved_types.TryGetValue (type, out preserve)) in GetPreserve()
199 if (resources_to_remove.TryGetValue (assembly, out resources)) in GetResourcesToRemove()
208 if (!resources_to_remove.TryGetValue (assembly, out resources)) { in AddResourceToRemove()
239 if (override_methods.TryGetValue (method, out overrides)) in GetOverrides()
259 if (base_methods.TryGetValue (method, out bases)) in GetBaseMethods()
288 if (preserved_methods.TryGetValue (definition, out preserved)) in GetPreservedMethods()
313 if (!symbol_readers.TryGetValue (assembly, out symbolReader)) in CloseSymbolReader()
[all …]
/dports/devel/msbuild/msbuild-0.06/src/Samples/XmlFileLogger/
H A DPropertyBag.cs101 if (_properties.TryGetValue(key, out currentValue)) in AddProperty()
109 else if (_parent != null && _parent.TryGetValue(key, out currentValue)) in AddProperty()
130 public bool TryGetValue(string key, out string value) in TryGetValue() method in Microsoft.Build.Logging.StructuredLogger.PropertyBag
132 if (_properties.TryGetValue(key, out value)) in TryGetValue()
137 return _parent != null && _parent.TryGetValue(key, out value); in TryGetValue()
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Composition.Convention/src/System/Composition/Convention/
H A DConventionBuilder.cs165 _memberInfos.TryGetValue(memberInfo, out cachedAttributes); in GetCustomAttributes()
177 if (!_memberInfos.TryGetValue(memberInfo, out cachedAttributes)) in GetCustomAttributes()
192 if (!_memberInfos.TryGetValue(mi, out memberAttributes)) in GetCustomAttributes()
205 if (!_parameters.TryGetValue(pi, out parameterAttributes)) in GetCustomAttributes()
215 _memberInfos.TryGetValue(memberInfo, out cachedAttributes); in GetCustomAttributes()
246 if (!_memberInfos.TryGetValue(member, out cachedAttributes)) in ReadMemberCustomAttributes()
250 …&& !_memberInfos.TryGetValue(member.DeclaringType.GetTypeInfo() as MemberInfo, out cachedAttribute… in ReadMemberCustomAttributes()
272 _memberInfos.TryGetValue(member, out cachedAttributes); in ReadMemberCustomAttributes()
306 if (!_parameters.TryGetValue(parameter, out cachedAttributes)) in ReadParameterCustomAttributes()
310 … && !_memberInfos.TryGetValue(reflectedType.GetTypeInfo() as MemberInfo, out cachedAttributes)) in ReadParameterCustomAttributes()
[all …]
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.ObjectModel/tests/KeyedCollection/
H A DTestMethods.netcoreapp.cs16 public void TryGetValue( in TryGetValue() method in System.Collections.ObjectModel.Tests.KeyedCollectionTests
43 () => collection.TryGetValue(keyNotIn, out item)); in TryGetValue()
48 Assert.False(collection.TryGetValue(keyNotIn, out item)); in TryGetValue()
57 () => collection.TryGetValue(key, out item)); in TryGetValue()
60 Assert.True(collection.TryGetValue(key, out item)); in TryGetValue()
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Security.Cryptography.Encoding/src/Internal/Cryptography/
H A DOidLookup.cs39 if (s_oidToFriendlyName.TryGetValue(oid, out mappedName) || in ToFriendlyName()
40 s_compatOids.TryGetValue(oid, out mappedName) || in ToFriendlyName()
41 s_lateBoundOidToFriendlyName.TryGetValue(oid, out mappedName)) in ToFriendlyName()
75 if (s_friendlyNameToOid.TryGetValue(friendlyName, out mappedOid) || in ToOid()
76 s_lateBoundFriendlyNameToOid.TryGetValue(friendlyName, out mappedOid)) in ToOid()

12345678910>>...103