/dports/devel/php-ice37/ice-3.7.2/csharp/test/Ice/hash/ |
H A D | Client.cs | 81 test(endpoint.GetHashCode() == endpoint.GetHashCode()); 86 test(obj.GetHashCode() == obj.GetHashCode()); 199 test(iComparer.GetHashCode(prx1) == iComparer.GetHashCode(prx1)); 244 test(ex.GetHashCode() == ex.GetHashCode()); 279 test(ex.GetHashCode() == ex.GetHashCode()); 309 test(ex.GetHashCode() == ex.GetHashCode()); 328 test(ex.GetHashCode() == ex.GetHashCode()); 359 test(pf.GetHashCode() == pf.GetHashCode()); 385 test(pd.GetHashCode() == pd.GetHashCode()); 473 test(c.GetHashCode() == c.GetHashCode()); [all …]
|
/dports/devel/ice37/ice-3.7.2/csharp/test/Ice/hash/ |
H A D | Client.cs | 81 test(endpoint.GetHashCode() == endpoint.GetHashCode()); in run() 86 test(obj.GetHashCode() == obj.GetHashCode()); in run() 199 test(iComparer.GetHashCode(prx1) == iComparer.GetHashCode(prx1)); in run() 244 test(ex.GetHashCode() == ex.GetHashCode()); in run() 279 test(ex.GetHashCode() == ex.GetHashCode()); in run() 309 test(ex.GetHashCode() == ex.GetHashCode()); in run() 328 test(ex.GetHashCode() == ex.GetHashCode()); in run() 359 test(pf.GetHashCode() == pf.GetHashCode()); in run() 385 test(pd.GetHashCode() == pd.GetHashCode()); in run() 473 test(c.GetHashCode() == c.GetHashCode()); in run() [all …]
|
/dports/devel/py-ice37/ice-3.7.2/csharp/test/Ice/hash/ |
H A D | Client.cs | 81 test(endpoint.GetHashCode() == endpoint.GetHashCode()); in run() 86 test(obj.GetHashCode() == obj.GetHashCode()); in run() 199 test(iComparer.GetHashCode(prx1) == iComparer.GetHashCode(prx1)); in run() 244 test(ex.GetHashCode() == ex.GetHashCode()); in run() 279 test(ex.GetHashCode() == ex.GetHashCode()); in run() 309 test(ex.GetHashCode() == ex.GetHashCode()); in run() 328 test(ex.GetHashCode() == ex.GetHashCode()); in run() 359 test(pf.GetHashCode() == pf.GetHashCode()); in run() 385 test(pd.GetHashCode() == pd.GetHashCode()); in run() 473 test(c.GetHashCode() == c.GetHashCode()); in run() [all …]
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Runtime/tests/System/ |
H A D | AttributeTests.cs | 106 Assert.NotEqual(a1.GetHashCode(), a2.GetHashCode()); in DefaultHashCode() 107 Assert.NotEqual(a2.GetHashCode(), a3.GetHashCode()); in DefaultHashCode() 108 Assert.Equal(a1.GetHashCode(), a3.GetHashCode()); in DefaultHashCode() 117 Assert.Equal(s1.GetHashCode(), s3.GetHashCode()); in DefaultHashCode() 121 Assert.Equal(d1.GetHashCode(), d3.GetHashCode()); in DefaultHashCode() 123 Assert.Equal(f1.GetHashCode(), f2.GetHashCode()); in DefaultHashCode() 124 Assert.Equal(f2.GetHashCode(), f3.GetHashCode()); in DefaultHashCode() 125 Assert.Equal(f1.GetHashCode(), f3.GetHashCode()); in DefaultHashCode() 139 Assert.NotEqual(f1.GetHashCode(), a1.GetHashCode()); in DefaultHashCode() 140 Assert.NotEqual(f2.GetHashCode(), a2.GetHashCode()); in DefaultHashCode() [all …]
|
/dports/lang/mono/mono-5.10.1.57/mono/tests/ |
H A D | enum.cs | 75 if (ByteEnum.A.GetHashCode () != EqualityComparer<ByteEnum>.Default.GetHashCode (ByteEnum.A)) in test_0_byte_enum_hashcode() 77 if (ByteEnum.A.GetHashCode () != ((byte)ByteEnum.A).GetHashCode () ) in test_0_byte_enum_hashcode() 84 if (SByteEnum.A.GetHashCode () != EqualityComparer<SByteEnum>.Default.GetHashCode (SByteEnum.A)) in test_0_sbyte_enum_hashcode() 86 if (SByteEnum.A.GetHashCode () != ((sbyte)SByteEnum.A).GetHashCode () ) in test_0_sbyte_enum_hashcode() 95 if (ShortEnum.A.GetHashCode () != ((short)ShortEnum.A).GetHashCode () ) in test_0_short_enum_hashcode() 104 if (UShortEnum.A.GetHashCode () != ((ushort)UShortEnum.A).GetHashCode () ) in test_0_ushort_enum_hashcode() 111 if (IntEnum.A.GetHashCode () != EqualityComparer<IntEnum>.Default.GetHashCode (IntEnum.A)) in test_0_int_enum_hashcode() 113 if (IntEnum.A.GetHashCode () != ((int)IntEnum.A).GetHashCode () ) in test_0_int_enum_hashcode() 122 if (UIntEnum.A.GetHashCode () != ((uint)UIntEnum.A).GetHashCode () ) in test_0_uint_enum_hashcode() 131 if (LongEnum.A.GetHashCode () != ((long)LongEnum.A).GetHashCode () ) in test_0_long_enum_hashcode() [all …]
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Memory/tests/Memory/ |
H A D | GetHashCode.cs | 21 Assert.Equal(left.GetHashCode(), right.GetHashCode()); in SameObjectsHaveSameHashCodes() 22 Assert.NotEqual(left.GetHashCode(), different.GetHashCode()); in SameObjectsHaveSameHashCodes() 32 Assert.NotEqual(left.GetHashCode(), right.GetHashCode()); in HashCodeIncludesLength() 42 Assert.NotEqual(left.GetHashCode(), right.GetHashCode()); in HashCodeIncludesBase() 51 Assert.NotEqual(left.GetHashCode(), right.GetHashCode()); in HashCodesDifferentForSameContent() 62 Assert.NotEqual(left.GetHashCode(), right.GetHashCode()); in EmptyMemoryHashCodeNotUnified() 70 Assert.Equal(left.GetHashCode(), right.GetHashCode()); in EmptyMemoryHashCodeNotUnified() 83 Assert.Equal(readOnlyMemory.GetHashCode(), memory.GetHashCode()); in HashCodesForImplicitCastsAreEqual() 84 Assert.Equal(implicitReadOnlyMemory.GetHashCode(), memory.GetHashCode()); in HashCodesForImplicitCastsAreEqual() 85 Assert.Equal(implicitMemoryArray.GetHashCode(), memory.GetHashCode()); in HashCodesForImplicitCastsAreEqual() [all …]
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Collections.NonGeneric/tests/ |
H A D | CaseInsensitiveHashCodeProviderTests.cs | 26 Assert.Equal(provider.GetHashCode(a), provider.GetHashCode(a)); in Ctor_Empty_GetHashCodeCompare() 27 Assert.Equal(provider.GetHashCode(b), provider.GetHashCode(b)); in Ctor_Empty_GetHashCodeCompare() 28 Assert.Equal(expected, provider.GetHashCode(a) == provider.GetHashCode(b)); in Ctor_Empty_GetHashCodeCompare() 68 Assert.Equal(provider.GetHashCode(ra), provider.GetHashCode(ra)); in Ctor_Empty_ChangeCurrentCulture_GetHashCodeCompare() 69 Assert.Equal(provider.GetHashCode(rb), provider.GetHashCode(rb)); in Ctor_Empty_ChangeCurrentCulture_GetHashCodeCompare() 70 … Assert.Equal(expectedResult, provider.GetHashCode(ra) == provider.GetHashCode(rb)); in Ctor_Empty_ChangeCurrentCulture_GetHashCodeCompare() 108 Assert.Equal(provider.GetHashCode(a), provider.GetHashCode(a)); in Ctor_CultureInfo_ChangeCurrentCulture_GetHashCodeCompare() 109 Assert.Equal(provider.GetHashCode(b), provider.GetHashCode(b)); in Ctor_CultureInfo_ChangeCurrentCulture_GetHashCodeCompare() 110 Assert.Equal(expected, provider.GetHashCode(a) == provider.GetHashCode(b)); in Ctor_CultureInfo_ChangeCurrentCulture_GetHashCodeCompare() 144 provider.GetHashCode("file") == provider.GetHashCode("FILE")); in Ctor_CultureInfo_GetHashCodeCompare_TurkishI() [all …]
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Memory/tests/ReadOnlyMemory/ |
H A D | GetHashCode.cs | 21 Assert.Equal(left.GetHashCode(), right.GetHashCode()); in SameObjectsHaveSameHashCodes() 22 Assert.NotEqual(left.GetHashCode(), different.GetHashCode()); in SameObjectsHaveSameHashCodes() 32 Assert.NotEqual(left.GetHashCode(), right.GetHashCode()); in HashCodeIncludesLength() 42 Assert.NotEqual(left.GetHashCode(), right.GetHashCode()); in HashCodeIncludesBase() 51 Assert.NotEqual(left.GetHashCode(), right.GetHashCode()); in HashCodesDifferentForSameContent() 62 Assert.NotEqual(left.GetHashCode(), right.GetHashCode()); in EmptyMemoryHashCodeNotUnified() 63 … Assert.NotEqual(left.GetHashCode(), memoryFromNonEmptyArrayButWithZeroLength.GetHashCode()); in EmptyMemoryHashCodeNotUnified() 64 … Assert.NotEqual(right.GetHashCode(), memoryFromNonEmptyArrayButWithZeroLength.GetHashCode()); in EmptyMemoryHashCodeNotUnified() 70 Assert.Equal(left.GetHashCode(), right.GetHashCode()); in EmptyMemoryHashCodeNotUnified() 77 Assert.Equal(0, memory.GetHashCode()); in DefaultMemoryHashCode() [all …]
|
/dports/lang/mono/mono-5.10.1.57/external/aspnetwebstack/test/System.Json.Test.Integration/Common/ |
H A D | TypeLibrary.cs | 247 public override int GetHashCode() in GetHashCode() method in System.Json.DCType_1 291 public override int GetHashCode() in GetHashCode() method in System.Json.DCType_3 333 public override int GetHashCode() in GetHashCode() method in System.Json.SerType_4 413 public override int GetHashCode() in GetHashCode() method in System.Json.SerType_5 468 public override int GetHashCode() in GetHashCode() method in System.Json.DCType_7 514 public override int GetHashCode() in GetHashCode() method in System.Json.DCType_9 551 public override int GetHashCode() in GetHashCode() method in System.Json.SerType_11 623 public override int GetHashCode() in GetHashCode() method in System.Json.DCType_15 669 public override int GetHashCode() in GetHashCode() method in System.Json.DCType_16 714 public override int GetHashCode() in GetHashCode() method in System.Json.DCType_18 [all …]
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Private.Xml/tests/Misc/ |
H A D | RandomizedHashing.cs | 53 …shes = new Tuple<int, int, int>(_strings[0].GetHashCode(), _strings[1].GetHashCode(), _strings[2].… in StringsDontHashToAnyKnownNonRandomizedSets() 69 if (collPair.Item1.GetHashCode() != collPair.Item2.GetHashCode()) in StringsDoNotUseAlgorithmSimilarToCoreClrWhenRandomizedHashingIsDisabled() 82 Assert.Equal("foo".GetHashCode(), new XmlQualifiedName("foo").GetHashCode()); in XmlQualifiedNameUsesStringGetHashCode() 83 Assert.Equal("asdf".GetHashCode(), new XmlQualifiedName("asdf").GetHashCode()); in XmlQualifiedNameUsesStringGetHashCode() 84 … Assert.Equal("randhashing".GetHashCode(), new XmlQualifiedName("randhashing").GetHashCode()); in XmlQualifiedNameUsesStringGetHashCode() 91 Assert.Equal("foo".GetHashCode(), new SecureStringHasher().GetHashCode("foo")); in SecureStringHasherUsesStringGetHashCode() 92 Assert.Equal("asdf".GetHashCode(), new SecureStringHasher().GetHashCode("asdf")); in SecureStringHasherUsesStringGetHashCode() 93 … Assert.Equal("randhashing".GetHashCode(), new SecureStringHasher().GetHashCode("randhashing")); in SecureStringHasherUsesStringGetHashCode()
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.ValueTuple/src/System/ValueTuple/ |
H A D | ValueTuple.cs | 2040 …turn ValueTuple.CombineHashCodes(comparer.GetHashCode(Item1), comparer.GetHashCode(Item2), compare… in GetHashCodeCore() 2041 … comparer.GetHashCode(Item4), comparer.GetHashCode(Item5), comparer.GetHashCode(Item6), in GetHashCodeCore() 2055 …return ValueTuple.CombineHashCodes(comparer.GetHashCode(Item6), comparer.GetHashCode(Item7), rest.… in GetHashCodeCore() 2057 …turn ValueTuple.CombineHashCodes(comparer.GetHashCode(Item5), comparer.GetHashCode(Item6), compare… in GetHashCodeCore() 2060 …turn ValueTuple.CombineHashCodes(comparer.GetHashCode(Item4), comparer.GetHashCode(Item5), compare… in GetHashCodeCore() 2063 …turn ValueTuple.CombineHashCodes(comparer.GetHashCode(Item3), comparer.GetHashCode(Item4), compare… in GetHashCodeCore() 2064 … comparer.GetHashCode(Item6), comparer.GetHashCode(Item7), rest.GetHashCode(comparer)); in GetHashCodeCore() 2066 …turn ValueTuple.CombineHashCodes(comparer.GetHashCode(Item2), comparer.GetHashCode(Item3), compare… in GetHashCodeCore() 2067 … comparer.GetHashCode(Item5), comparer.GetHashCode(Item6), comparer.GetHashCode(Item7), in GetHashCodeCore() 2071 …turn ValueTuple.CombineHashCodes(comparer.GetHashCode(Item1), comparer.GetHashCode(Item2), compare… in GetHashCodeCore() [all …]
|
/dports/lang/mono/mono-5.10.1.57/external/corert/src/System.Private.CoreLib/shared/System/ |
H A D | ValueTuple.cs | 2225 …turn ValueTuple.CombineHashCodes(comparer.GetHashCode(Item1), comparer.GetHashCode(Item2), compare… in GetHashCodeCore() 2226 … comparer.GetHashCode(Item4), comparer.GetHashCode(Item5), comparer.GetHashCode(Item6), in GetHashCodeCore() 2240 …return ValueTuple.CombineHashCodes(comparer.GetHashCode(Item6), comparer.GetHashCode(Item7), rest.… in GetHashCodeCore() 2242 …turn ValueTuple.CombineHashCodes(comparer.GetHashCode(Item5), comparer.GetHashCode(Item6), compare… in GetHashCodeCore() 2245 …turn ValueTuple.CombineHashCodes(comparer.GetHashCode(Item4), comparer.GetHashCode(Item5), compare… in GetHashCodeCore() 2248 …turn ValueTuple.CombineHashCodes(comparer.GetHashCode(Item3), comparer.GetHashCode(Item4), compare… in GetHashCodeCore() 2249 … comparer.GetHashCode(Item6), comparer.GetHashCode(Item7), rest.GetHashCode(comparer)); in GetHashCodeCore() 2251 …turn ValueTuple.CombineHashCodes(comparer.GetHashCode(Item2), comparer.GetHashCode(Item3), compare… in GetHashCodeCore() 2252 … comparer.GetHashCode(Item5), comparer.GetHashCode(Item6), comparer.GetHashCode(Item7), in GetHashCodeCore() 2256 …turn ValueTuple.CombineHashCodes(comparer.GetHashCode(Item1), comparer.GetHashCode(Item2), compare… in GetHashCodeCore() [all …]
|
H A D | HashCode.cs | 83 var hc1 = (uint)(value1?.GetHashCode() ?? 0); in Combine() 96 var hc1 = (uint)(value1?.GetHashCode() ?? 0); in Combine() 97 var hc2 = (uint)(value2?.GetHashCode() ?? 0); in Combine() 111 var hc1 = (uint)(value1?.GetHashCode() ?? 0); in Combine() 112 var hc2 = (uint)(value2?.GetHashCode() ?? 0); in Combine() 113 var hc3 = (uint)(value3?.GetHashCode() ?? 0); in Combine() 128 var hc1 = (uint)(value1?.GetHashCode() ?? 0); in Combine() 129 var hc2 = (uint)(value2?.GetHashCode() ?? 0); in Combine() 130 var hc3 = (uint)(value3?.GetHashCode() ?? 0); in Combine() 308 Add(value?.GetHashCode() ?? 0); in Add() [all …]
|
H A D | Tuple.cs | 402 …return Tuple.CombineHashCodes(comparer.GetHashCode(m_Item1), comparer.GetHashCode(m_Item2), compar… in IStructuralEquatable.GetHashCode() 537 …mbineHashCodes(comparer.GetHashCode(m_Item1), comparer.GetHashCode(m_Item2), comparer.GetHashCode(… in IStructuralEquatable.GetHashCode() 683 …comparer.GetHashCode(m_Item1), comparer.GetHashCode(m_Item2), comparer.GetHashCode(m_Item3), compa… in IStructuralEquatable.GetHashCode() 840 …GetHashCode(m_Item1), comparer.GetHashCode(m_Item2), comparer.GetHashCode(m_Item3), comparer.GetHa… in IStructuralEquatable.GetHashCode() 1008 …GetHashCode(m_Item1), comparer.GetHashCode(m_Item2), comparer.GetHashCode(m_Item3), comparer.GetHa… in IStructuralEquatable.GetHashCode() 1203 …return Tuple.CombineHashCodes(comparer.GetHashCode(m_Item6), comparer.GetHashCode(m_Item7), t.GetH… in IStructuralEquatable.GetHashCode() 1205 …e.CombineHashCodes(comparer.GetHashCode(m_Item5), comparer.GetHashCode(m_Item6), comparer.GetHashC… in IStructuralEquatable.GetHashCode() 1207 …es(comparer.GetHashCode(m_Item4), comparer.GetHashCode(m_Item5), comparer.GetHashCode(m_Item6), co… in IStructuralEquatable.GetHashCode() 1209 …GetHashCode(m_Item3), comparer.GetHashCode(m_Item4), comparer.GetHashCode(m_Item5), comparer.GetHa… in IStructuralEquatable.GetHashCode() 1211 …GetHashCode(m_Item2), comparer.GetHashCode(m_Item3), comparer.GetHashCode(m_Item4), comparer.GetHa… in IStructuralEquatable.GetHashCode() [all …]
|
/dports/lang/mono/mono-5.10.1.57/external/roslyn-binaries/ValueTuple/ |
H A D | ValueTuple.cs | 1990 …turn ValueTuple.CombineHashCodes(comparer.GetHashCode(Item1), comparer.GetHashCode(Item2), compare… in GetHashCodeCore() 1991 … comparer.GetHashCode(Item4), comparer.GetHashCode(Item5), comparer.GetHashCode(Item6), in GetHashCodeCore() 2005 …return ValueTuple.CombineHashCodes(comparer.GetHashCode(Item6), comparer.GetHashCode(Item7), rest.… in GetHashCodeCore() 2007 …turn ValueTuple.CombineHashCodes(comparer.GetHashCode(Item5), comparer.GetHashCode(Item6), compare… in GetHashCodeCore() 2010 …turn ValueTuple.CombineHashCodes(comparer.GetHashCode(Item4), comparer.GetHashCode(Item5), compare… in GetHashCodeCore() 2013 …turn ValueTuple.CombineHashCodes(comparer.GetHashCode(Item3), comparer.GetHashCode(Item4), compare… in GetHashCodeCore() 2014 … comparer.GetHashCode(Item6), comparer.GetHashCode(Item7), rest.GetHashCode(comparer)); in GetHashCodeCore() 2016 …turn ValueTuple.CombineHashCodes(comparer.GetHashCode(Item2), comparer.GetHashCode(Item3), compare… in GetHashCodeCore() 2017 … comparer.GetHashCode(Item5), comparer.GetHashCode(Item6), comparer.GetHashCode(Item7), in GetHashCodeCore() 2021 …turn ValueTuple.CombineHashCodes(comparer.GetHashCode(Item1), comparer.GetHashCode(Item2), compare… in GetHashCodeCore() [all …]
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/Common/src/CoreLib/System/ |
H A D | ValueTuple.cs | 2224 …turn ValueTuple.CombineHashCodes(comparer.GetHashCode(Item1), comparer.GetHashCode(Item2), compare… in GetHashCodeCore() 2225 … comparer.GetHashCode(Item4), comparer.GetHashCode(Item5), comparer.GetHashCode(Item6), in GetHashCodeCore() 2239 …return ValueTuple.CombineHashCodes(comparer.GetHashCode(Item6), comparer.GetHashCode(Item7), rest.… in GetHashCodeCore() 2241 …turn ValueTuple.CombineHashCodes(comparer.GetHashCode(Item5), comparer.GetHashCode(Item6), compare… in GetHashCodeCore() 2244 …turn ValueTuple.CombineHashCodes(comparer.GetHashCode(Item4), comparer.GetHashCode(Item5), compare… in GetHashCodeCore() 2247 …turn ValueTuple.CombineHashCodes(comparer.GetHashCode(Item3), comparer.GetHashCode(Item4), compare… in GetHashCodeCore() 2248 … comparer.GetHashCode(Item6), comparer.GetHashCode(Item7), rest.GetHashCode(comparer)); in GetHashCodeCore() 2250 …turn ValueTuple.CombineHashCodes(comparer.GetHashCode(Item2), comparer.GetHashCode(Item3), compare… in GetHashCodeCore() 2251 … comparer.GetHashCode(Item5), comparer.GetHashCode(Item6), comparer.GetHashCode(Item7), in GetHashCodeCore() 2255 …turn ValueTuple.CombineHashCodes(comparer.GetHashCode(Item1), comparer.GetHashCode(Item2), compare… in GetHashCodeCore() [all …]
|
H A D | HashCode.cs | 83 var hc1 = (uint)(value1?.GetHashCode() ?? 0); in Combine() 96 var hc1 = (uint)(value1?.GetHashCode() ?? 0); in Combine() 97 var hc2 = (uint)(value2?.GetHashCode() ?? 0); in Combine() 111 var hc1 = (uint)(value1?.GetHashCode() ?? 0); in Combine() 112 var hc2 = (uint)(value2?.GetHashCode() ?? 0); in Combine() 113 var hc3 = (uint)(value3?.GetHashCode() ?? 0); in Combine() 128 var hc1 = (uint)(value1?.GetHashCode() ?? 0); in Combine() 129 var hc2 = (uint)(value2?.GetHashCode() ?? 0); in Combine() 130 var hc3 = (uint)(value3?.GetHashCode() ?? 0); in Combine() 308 Add(value?.GetHashCode() ?? 0); in Add() [all …]
|
H A D | Tuple.cs | 400 …return Tuple.CombineHashCodes(comparer.GetHashCode(m_Item1), comparer.GetHashCode(m_Item2), compar… in IStructuralEquatable.GetHashCode() 535 …mbineHashCodes(comparer.GetHashCode(m_Item1), comparer.GetHashCode(m_Item2), comparer.GetHashCode(… in IStructuralEquatable.GetHashCode() 681 …comparer.GetHashCode(m_Item1), comparer.GetHashCode(m_Item2), comparer.GetHashCode(m_Item3), compa… in IStructuralEquatable.GetHashCode() 838 …GetHashCode(m_Item1), comparer.GetHashCode(m_Item2), comparer.GetHashCode(m_Item3), comparer.GetHa… in IStructuralEquatable.GetHashCode() 1006 …GetHashCode(m_Item1), comparer.GetHashCode(m_Item2), comparer.GetHashCode(m_Item3), comparer.GetHa… in IStructuralEquatable.GetHashCode() 1201 …return Tuple.CombineHashCodes(comparer.GetHashCode(m_Item6), comparer.GetHashCode(m_Item7), t.GetH… in IStructuralEquatable.GetHashCode() 1203 …e.CombineHashCodes(comparer.GetHashCode(m_Item5), comparer.GetHashCode(m_Item6), comparer.GetHashC… in IStructuralEquatable.GetHashCode() 1205 …es(comparer.GetHashCode(m_Item4), comparer.GetHashCode(m_Item5), comparer.GetHashCode(m_Item6), co… in IStructuralEquatable.GetHashCode() 1207 …GetHashCode(m_Item3), comparer.GetHashCode(m_Item4), comparer.GetHashCode(m_Item5), comparer.GetHa… in IStructuralEquatable.GetHashCode() 1209 …GetHashCode(m_Item2), comparer.GetHashCode(m_Item3), comparer.GetHashCode(m_Item4), comparer.GetHa… in IStructuralEquatable.GetHashCode() [all …]
|
/dports/games/openbve/OpenBVE-1.8.2.1/source/OpenBveApi/World/ |
H A D | LightMappedVertex.cs | 71 public override int GetHashCode() in GetHashCode() method in OpenBveApi.Objects.VertexTemplate 76 var hashCode = Coordinates.X.GetHashCode(); in GetHashCode() 157 public override int GetHashCode() in GetHashCode() method in OpenBveApi.Objects.Vertex 162 var hashCode = Coordinates.X.GetHashCode(); in GetHashCode() 254 public override int GetHashCode() in GetHashCode() method in OpenBveApi.Objects.LightMappedVertex 259 var hashCode = Coordinates.X.GetHashCode(); in GetHashCode() 337 public override int GetHashCode() in GetHashCode() method in OpenBveApi.Objects.ColoredVertex 342 var hashCode = Coordinates.X.GetHashCode(); in GetHashCode() 347 hashCode = (hashCode * 397) ^ Color.R.GetHashCode(); in GetHashCode() 348 hashCode = (hashCode * 397) ^ Color.G.GetHashCode(); in GetHashCode() [all …]
|
/dports/lang/mono/mono-5.10.1.57/external/corert/src/ILCompiler.TypeSystem/tests/ |
H A D | HashcodeTests.cs | 38 …shingAlgorithms.ComputeArrayTypeHashCode(objectType.GetHashCode(), 1), objectMDArrayRank1.GetHashC… in TestMultidimensionalArrays() 39 …shingAlgorithms.ComputeArrayTypeHashCode(objectType.GetHashCode(), 2), objectMDArrayRank2.GetHashC… in TestMultidimensionalArrays() 40 …shingAlgorithms.ComputeArrayTypeHashCode(objectType.GetHashCode(), 3), objectMDArrayRank3.GetHashC… in TestMultidimensionalArrays() 52 …eHashingAlgorithms.ComputeArrayTypeHashCode(objectType.GetHashCode(), -1), objectArray.GetHashCode… in TestSingleDimensionalArrays() 100 Assert.Equal(expHashInt, intType.GetHashCode()); in TestInstantiatedMethods() 130 Assert.NotEqual(genMethodI.GetHashCode(), genMethodS.GetHashCode()); in TestInstantiatedMethods() 131 Assert.NotEqual(genMethodI.GetHashCode(), genMethod.GetHashCode()); in TestInstantiatedMethods() 132 Assert.NotEqual(genMethodS.GetHashCode(), genMethod.GetHashCode()); in TestInstantiatedMethods() 152 Assert.Equal(expHashInt, intType.GetHashCode()); in TestPointerTypes() 172 Assert.Equal(expHashFnPtr, fnPtrType.GetHashCode()); in TestFunctionPointerTypes() [all …]
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/mscorlib/system/ |
H A D | tuple.cs | 335 …return Tuple.CombineHashCodes(comparer.GetHashCode(m_Item1), comparer.GetHashCode(m_Item2), compar… in IStructuralEquatable.GetHashCode() 455 …mbineHashCodes(comparer.GetHashCode(m_Item1), comparer.GetHashCode(m_Item2), comparer.GetHashCode(… in IStructuralEquatable.GetHashCode() 586 …comparer.GetHashCode(m_Item1), comparer.GetHashCode(m_Item2), comparer.GetHashCode(m_Item3), compa… in IStructuralEquatable.GetHashCode() 728 …GetHashCode(m_Item1), comparer.GetHashCode(m_Item2), comparer.GetHashCode(m_Item3), comparer.GetHa… in IStructuralEquatable.GetHashCode() 881 …GetHashCode(m_Item1), comparer.GetHashCode(m_Item2), comparer.GetHashCode(m_Item3), comparer.GetHa… in IStructuralEquatable.GetHashCode() 1059 …return Tuple.CombineHashCodes(comparer.GetHashCode(m_Item6), comparer.GetHashCode(m_Item7), t.GetH… in IStructuralEquatable.GetHashCode() 1061 …e.CombineHashCodes(comparer.GetHashCode(m_Item5), comparer.GetHashCode(m_Item6), comparer.GetHashC… in IStructuralEquatable.GetHashCode() 1063 …es(comparer.GetHashCode(m_Item4), comparer.GetHashCode(m_Item5), comparer.GetHashCode(m_Item6), co… in IStructuralEquatable.GetHashCode() 1065 …GetHashCode(m_Item3), comparer.GetHashCode(m_Item4), comparer.GetHashCode(m_Item5), comparer.GetHa… in IStructuralEquatable.GetHashCode() 1067 …GetHashCode(m_Item2), comparer.GetHashCode(m_Item3), comparer.GetHashCode(m_Item4), comparer.GetHa… in IStructuralEquatable.GetHashCode() [all …]
|
/dports/devel/msbuild/msbuild-0.06/src/Framework.UnitTests/ |
H A D | EventArgs_Tests.cs | 45 s_baseGenericEvent.GetHashCode(); in TestGetHashCode() 103 … currentBuildEventContextSubmission.GetHashCode().ShouldBe(parentBuildEventContext.GetHashCode()); in ExerciseBuildEventContext() 104 … currentBuildEventContext.GetHashCode().ShouldNotBe(parentBuildEventContext.GetHashCode()); in ExerciseBuildEventContext() 105 … currentBuildEventContextNode.GetHashCode().ShouldNotBe(parentBuildEventContext.GetHashCode()); in ExerciseBuildEventContext() 106 …currentBuildEventContextEvaluation.GetHashCode().ShouldNotBe(parentBuildEventContext.GetHashCode()… in ExerciseBuildEventContext() 107 …currentBuildEventContextProjectInstance.GetHashCode().ShouldNotBe(parentBuildEventContext.GetHashC… in ExerciseBuildEventContext() 108 … currentBuildEventProjectContext.GetHashCode().ShouldNotBe(parentBuildEventContext.GetHashCode()); in ExerciseBuildEventContext() 109 … currentBuildEventContextTarget.GetHashCode().ShouldNotBe(parentBuildEventContext.GetHashCode()); in ExerciseBuildEventContext() 110 … currentBuildEventContextTask.GetHashCode().ShouldNotBe(parentBuildEventContext.GetHashCode()); in ExerciseBuildEventContext() 111 allDifferent.GetHashCode().ShouldNotBe(parentBuildEventContext.GetHashCode()); in ExerciseBuildEventContext() [all …]
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/System.Drawing/Test/System.Drawing.Imaging/ |
H A D | TestImageFormat.cs | 121 Assert.AreEqual (BmpImageFormat.GetHashCode (), BmpImageFormat.Guid.GetHashCode (), "Bmp"); in TestGetHashCode() 122 Assert.AreEqual (EmfImageFormat.GetHashCode (), EmfImageFormat.Guid.GetHashCode (), "Emf"); in TestGetHashCode() 123 Assert.AreEqual (ExifImageFormat.GetHashCode (), ExifImageFormat.Guid.GetHashCode (), "Exif"); in TestGetHashCode() 124 Assert.AreEqual (GifImageFormat.GetHashCode (), GifImageFormat.Guid.GetHashCode (), "Gif"); in TestGetHashCode() 125 Assert.AreEqual (TiffImageFormat.GetHashCode (), TiffImageFormat.Guid.GetHashCode (), "Tiff"); in TestGetHashCode() 126 Assert.AreEqual (PngImageFormat.GetHashCode (), PngImageFormat.Guid.GetHashCode (), "Png"); in TestGetHashCode() 127 …Assert.AreEqual (MemoryBmpImageFormat.GetHashCode (), MemoryBmpImageFormat.Guid.GetHashCode (), "M… in TestGetHashCode() 128 Assert.AreEqual (IconImageFormat.GetHashCode (), IconImageFormat.Guid.GetHashCode (), "Icon"); in TestGetHashCode() 129 Assert.AreEqual (JpegImageFormat.GetHashCode (), JpegImageFormat.Guid.GetHashCode (), "Jpeg"); in TestGetHashCode() 130 Assert.AreEqual (WmfImageFormat.GetHashCode (), WmfImageFormat.Guid.GetHashCode (), "Wmf"); in TestGetHashCode() [all …]
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/mscorlib/system/collections/generic/ |
H A D | equalitycomparer.cs | 178 return obj.GetHashCode(); in GetHashCode() 217 public override int GetHashCode() { in GetHashCode() method in System.Collections.Generic.GenericEqualityComparer 237 return obj.GetHashCode(); in GetHashCode() 276 public override int GetHashCode() { in GetHashCode() method in System.Collections.Generic.NullableEqualityComparer 297 return obj.GetHashCode(); in GetHashCode() 336 public override int GetHashCode() { in GetHashCode() method in System.Collections.Generic.ObjectEqualityComparer 381 return b.GetHashCode(); in GetHashCode() 433 return x_final.GetHashCode(); in GetHashCode() 503 return x_final.GetHashCode(); in GetHashCode() 537 return obj.GetHashCode (); in GetHashCode() [all …]
|
/dports/devel/msbuild/msbuild-0.06/src/Build.UnitTests/Collections/ |
H A D | MSBuildNameIgnoreCaseComparer_Tests.cs | 59 …Assert.Equal(MSBuildNameIgnoreCaseComparer.Default.GetHashCode("foo"), comparer.GetHashCode(s, 2, … in MatchProperty() 167 … Assert.Equal(true, 0 == MSBuildNameIgnoreCaseComparer.Default.GetHashCode((string)null)); in DefaultGetHashcode() 169 MSBuildNameIgnoreCaseComparer.Default.GetHashCode(""); // doesn't throw in DefaultGetHashcode() 170 …ual(MSBuildNameIgnoreCaseComparer.Default.GetHashCode("aBc"), MSBuildNameIgnoreCaseComparer.Defaul… in DefaultGetHashcode() 181 comparer.GetHashCode(""); // does not crash in IndexedGetHashcode1() 183 Assert.Equal(true, 0 == comparer.GetHashCode((string)null)); in IndexedGetHashcode1() 184 Assert.Equal(comparer.GetHashCode("aBc"), comparer.GetHashCode("AbC")); in IndexedGetHashcode1() 185 Assert.Equal(comparer.GetHashCode("xyz", 0, 1), comparer.GetHashCode("x")); in IndexedGetHashcode1() 196 Assert.Equal(comparer.GetHashCode("xyz", 1, 2), comparer.GetHashCode("YZ")); in IndexedGetHashcode2() 207 Assert.Equal(comparer.GetHashCode("abcd", 0, 3), comparer.GetHashCode("abc")); in IndexedGetHashcode3()
|