Home
last modified time | relevance | path

Searched refs:testValues (Results 1 – 25 of 1096) sorted by relevance

12345678910>>...44

/dports/science/dakota/dakota-6.13.0-release-public.src-UI/packages/external/queso/test/test_GaussianVectorRVClass/
H A Dtest_VectorPdf_gsl.C63 testValues[0] = testValues[1] = 0.0; in main()
66 testValues[0] = 1.0; testValues[1] = 1.0; in main()
70 testValues[0] = 0.0; testValues[1] = 1.0; in main()
74 testValues[0] = -1.0; testValues[1] = 1.0; in main()
78 testValues[0] = -1.0; testValues[1] = 0.0; in main()
94 testValues[0] = 1.0; testValues[1] = 0.0; in main()
107 testValues[0] = testValues[1] = 0.0; in main()
110 testValues[0] = 1.0; testValues[1] = 1.0; in main()
198 testValues[0] = testValues[1] = 0.0; in main()
243 testValues[0] = testValues[1] = 0.0; in main()
[all …]
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Runtime.Extensions/tests/System/
H A DConvert.ToString.cs15 Object[] testValues = in FromBoxedObject()
183 for (int i = 0; i < testValues.Length; i++) in FromBoxedObject()
201 for (int i = 0; i < testValues.Length; i++) in FromDateTime()
203 Assert.Equal(testValues[i].ToString(), Convert.ToString(testValues[i])); in FromDateTime()
214 for (int i = 0; i < testValues.Length; i++) in FromChar()
230 for (int i = 0; i < testValues.Length; i++) in Verify()
243 for (int i = 0; i < testValues.Length; i++) in FromByteBase2()
255 for (int i = 0; i < testValues.Length; i++) in FromByteBase8()
267 for (int i = 0; i < testValues.Length; i++) in FromByteBase10()
279 for (int i = 0; i < testValues.Length; i++) in FromByteBase16()
[all …]
H A DConvert.ToBoolean.cs14 Boolean[] testValues = { true, false }; in FromBoolean()
15 Verify(Convert.ToBoolean, testValues, testValues); in FromBoolean()
21 Byte[] testValues = { Byte.MinValue, Byte.MaxValue, }; in FromByte()
23 Verify(Convert.ToBoolean, testValues, expectedValues); in FromByte()
31 Verify(Convert.ToBoolean, testValues, expectedValues); in FromDecimal()
39 Verify(Convert.ToBoolean, testValues, expectedValues); in FromDouble()
47 Verify(Convert.ToBoolean, testValues, expectedValues); in FromInt16()
55 Verify(Convert.ToBoolean, testValues, expectedValues); in FromInt32()
63 Verify(Convert.ToBoolean, testValues, expectedValues); in FromInt64()
80 Object[] testValues = { null }; in FromObject()
[all …]
H A DConvert.TestBase.cs16 Assert.Equal(expectedValues.Length, testValues.Length); in Verify()
18 for (int i = 0; i < testValues.Length; i++) in Verify()
20 TOutput result = convert(testValues[i]); in Verify()
30 Verify<String>(convert, testValues, expectedValues); in VerifyFromString()
39 Verify<Object>(convert, testValues, expectedValues); in VerifyFromObject()
48 Assert.Equal(testValues.Length, testBases.Length); in VerifyFromStringWithBase()
49 Assert.Equal(testValues.Length, expectedValues.Length); in VerifyFromStringWithBase()
51 for (int i = 0; i < testValues.Length; i++) in VerifyFromStringWithBase()
63 Assert.Equal(testValues.Length, testBases.Length);
65 for (int i = 0; i < testValues.Length; i++)
[all …]
H A DConvert.ToInt32.cs14 Boolean[] testValues = { true, false }; in FromBoolean()
16 Verify(Convert.ToInt32, testValues, expectedValues); in FromBoolean()
38 Decimal[] testValues = { 100m, -100m, 0m }; in FromDecimal()
49 Double[] testValues = { 100.0, -100.0, 0 }; in FromDouble()
60 Int16[] testValues = { 100, -100, 0, }; in FromInt16()
76 Int64[] testValues = { 100, -100, 0 }; in FromInt64()
87 Object[] testValues = { null }; in FromObject()
98 SByte[] testValues = { 100, -100, 0 }; in FromSByte()
152 UInt16[] testValues = { 100, 0 }; in FromUInt16()
160 UInt32[] testValues = { 100, 0 }; in FromUInt32()
[all …]
H A DConvert.ToInt64.cs14 Boolean[] testValues = { true, false }; in FromBoolean()
16 Verify(Convert.ToInt64, testValues, expectedValues); in FromBoolean()
24 Verify(Convert.ToInt64, testValues, expectedValues); in FromByte()
38 Decimal[] testValues = { 100m, -100m, 0m }; in FromDecimal()
49 Double[] testValues = { 100.0, -100.0, 0 }; in FromDouble()
60 Int16[] testValues = { 100, -100, 0, }; in FromInt16()
84 Object[] testValues = { null }; in FromObject()
95 SByte[] testValues = { 100, -100, 0 }; in FromSByte()
149 UInt16[] testValues = { 100, 0 }; in FromUInt16()
157 UInt32[] testValues = { 100, 0 }; in FromUInt32()
[all …]
H A DConvert.ToSingle.cs14 Boolean[] testValues = { false, true }; in FromBoolean()
16 Verify(Convert.ToSingle, testValues, expectedValues); in FromBoolean()
22 Byte[] testValues = { Byte.MaxValue, Byte.MinValue }; in FromByte()
24 Verify(Convert.ToSingle, testValues, expectedValues); in FromByte()
32 Verify(Convert.ToSingle, testValues, expectedValues); in FromDecimal()
40 Verify(Convert.ToSingle, testValues, expectedValues); in FromDouble()
48 Verify(Convert.ToSingle, testValues, expectedValues); in FromInt16()
56 Verify(Convert.ToSingle, testValues, expectedValues); in FromInt32()
64 Verify(Convert.ToSingle, testValues, expectedValues); in FromInt64()
70 Object[] testValues = { null }; in FromObject()
[all …]
H A DConvert.ToInt16.cs14 Boolean[] testValues = { true, false }; in FromBoolean()
30 Char[] testValues = { 'A', Char.MinValue, }; in FromChar()
38 Decimal[] testValues = { 100m, -100m, 0m }; in FromDecimal()
49 Double[] testValues = { 100.0, -100.0, 0 }; in FromDouble()
68 Int32[] testValues = { 100, -100, 0 }; in FromInt32()
79 Int64[] testValues = { 100, -100, 0 }; in FromInt64()
90 Object[] testValues = { null }; in FromObject()
101 SByte[] testValues = { 100, -100, 0 }; in FromSByte()
155 UInt16[] testValues = { 100, 0 }; in FromUInt16()
166 UInt32[] testValues = { 100, 0 }; in FromUInt32()
[all …]
H A DConvert.ToUInt16.cs14 Boolean[] testValues = { true, false }; in FromBoolean()
16 Verify(Convert.ToUInt16, testValues, expectedValues); in FromBoolean()
38 Decimal[] testValues = { 1000m, 0m }; in FromDecimal()
49 Double[] testValues = { 1000.0, 0.0 }; in FromDouble()
71 Int32[] testValues = { 1000, 0 }; in FromInt32()
82 Int64[] testValues = { 1000, 0 }; in FromInt64()
93 Object[] testValues = { null }; in FromObject()
104 SByte[] testValues = { 100, 0 }; in FromSByte()
115 Single[] testValues = { 1000.0f, 0.0f }; in FromSingle()
169 UInt32[] testValues = { 100, 0 }; in FromUInt32()
[all …]
H A DConvert.ToDecimal.cs14 Boolean[] testValues = { true, false }; in FromBoolean()
16 Verify(Convert.ToDecimal, testValues, expectedValues); in FromBoolean()
22 Byte[] testValues = { Byte.MaxValue, Byte.MinValue }; in FromByte()
24 Verify(Convert.ToDecimal, testValues, expectedValues); in FromByte()
32 Verify(Convert.ToDecimal, testValues, expectedValues); in FromDecimal()
40 Verify(Convert.ToDecimal, testValues, expectedValues); in FromDouble()
51 Verify(Convert.ToDecimal, testValues, expectedValues); in FromInt16()
59 Verify(Convert.ToDecimal, testValues, expectedValues); in FromInt32()
67 Verify(Convert.ToDecimal, testValues, expectedValues); in FromInt64()
73 Object[] testValues = { null }; in FromObject()
[all …]
H A DConvert.ToDouble.cs14 Boolean[] testValues = { true, false }; in FromBoolean()
16 Verify(Convert.ToDouble, testValues, expectedValues); in FromBoolean()
22 Byte[] testValues = { Byte.MaxValue, Byte.MinValue }; in FromByte()
24 Verify(Convert.ToDouble, testValues, expectedValues); in FromByte()
32 Verify(Convert.ToDouble, testValues, expectedValues); in FromDecimal()
40 Verify(Convert.ToDouble, testValues, expectedValues); in FromDouble()
48 Verify(Convert.ToDouble, testValues, expectedValues); in FromInt16()
56 Verify(Convert.ToDouble, testValues, expectedValues); in FromInt32()
64 Verify(Convert.ToDouble, testValues, expectedValues); in FromInt64()
70 Object[] testValues = { null }; in FromObject()
[all …]
H A DConvert.ToUInt64.cs14 Boolean[] testValues = { true, false }; in FromBoolean()
16 Verify(Convert.ToUInt64, testValues, expectedValues); in FromBoolean()
22 Byte[] testValues = { Byte.MaxValue, Byte.MinValue }; in FromByte()
38 Decimal[] testValues = { 1000m, 0m }; in FromDecimal()
49 Double[] testValues = { 1000.0, 0.0 }; in FromDouble()
60 Int16[] testValues = { 1000, 0, Int16.MaxValue }; in FromInt16()
71 Int32[] testValues = { 1000, 0, Int32.MaxValue }; in FromInt32()
93 Object[] testValues = { null }; in FromObject()
104 SByte[] testValues = { 100, 0 }; in FromSByte()
115 Single[] testValues = { 1000.0f, 0.0f }; in FromSingle()
[all …]
H A DConvert.ToSByte.cs14 Boolean[] testValues = { true, false }; in FromBoolean()
22 Byte[] testValues = { 100, 0 }; in FromByte()
33 Char[] testValues = { 'A', Char.MinValue, }; in FromChar()
41 Decimal[] testValues = { 100m, -100m, 0m }; in FromDecimal()
63 Int16[] testValues = { 100, -100, 0 }; in FromInt16()
74 Int32[] testValues = { 100, -100, 0 }; in FromInt32()
85 Int64[] testValues = { 100, -100, 0 }; in FromInt64()
96 Object[] testValues = { null }; in FromObject()
166 UInt16[] testValues = { 100, 0 }; in FromUInt16()
177 UInt32[] testValues = { 100, 0 }; in FromUInt32()
[all …]
H A DConvert.ToUInt32.cs14 Boolean[] testValues = { true, false }; in FromBoolean()
16 Verify(Convert.ToUInt32, testValues, expectedValues); in FromBoolean()
22 Byte[] testValues = { Byte.MaxValue, Byte.MinValue }; in FromByte()
38 Decimal[] testValues = { 1000m, 0m }; in FromDecimal()
60 Int16[] testValues = { 1000, 0, Int16.MaxValue }; in FromInt16()
82 Int64[] testValues = { 1000, 0 }; in FromInt64()
93 Object[] testValues = { null }; in FromObject()
104 SByte[] testValues = { 100, 0 }; in FromSByte()
115 Single[] testValues = { 1000.0f, 0.0f }; in FromSingle()
161 UInt16[] testValues = { 100, 0 }; in FromUInt16()
[all …]
H A DConvert.ToByte.cs14 Boolean[] testValues = { true, false }; in FromBoolean()
16 Verify(Convert.ToByte, testValues, expectedValues); in FromBoolean()
22 Char[] testValues = { 'A', Char.MinValue }; in FromChar()
24 Verify(Convert.ToByte, testValues, expectedValues); in FromChar()
35 Verify(Convert.ToByte, testValues, expectedValues); in FromDecimal()
46 Verify(Convert.ToByte, testValues, expectedValues); in FromDouble()
57 Verify(Convert.ToByte, testValues, expectedValues); in FromInt16()
68 Verify(Convert.ToByte, testValues, expectedValues); in FromInt32()
79 Verify(Convert.ToByte, testValues, expectedValues); in FromInt64()
88 Object[] testValues = { null }; in FromObject()
[all …]
H A DConvert.ToChar.cs14 Byte[] testValues = { Byte.MaxValue, Byte.MinValue }; in FromByte()
16 Verify(Convert.ToChar, testValues, expectedValues); in FromByte()
44 Int16[] testValues = { Int16.MaxValue, 0 }; in FromInt16()
46 Verify(Convert.ToChar, testValues, expectedValues); in FromInt16()
57 Verify(Convert.ToChar, testValues, expectedValues); in FromInt32()
66 Int64[] testValues = { 0, 98, UInt16.MaxValue }; in FromInt64()
77 Object[] testValues = { null }; in FromObject()
88 SByte[] testValues = { SByte.MaxValue, 0 }; in FromSByte()
106 String[] testValues = { "a", "T", "z", "a" }; in FromString()
118 UInt16[] testValues = { 0, 98, UInt16.MaxValue }; in FromUInt16()
[all …]
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Linq.Expressions/src/System/Linq/Expressions/
H A DSwitchCase.cs18 internal SwitchCase(Expression body, ReadOnlyCollection<Expression> testValues) in SwitchCase() argument
21 TestValues = testValues; in SwitchCase()
51 public SwitchCase Update(IEnumerable<Expression> testValues, Expression body) in Update() argument
53 if (body == Body & testValues != null) in Update()
55 if (ExpressionUtils.SameElements(ref testValues, TestValues)) in Update()
61 return Expression.SwitchCase(body, testValues); in Update()
73 public static SwitchCase SwitchCase(Expression body, params Expression[] testValues) in SwitchCase() argument
75 return SwitchCase(body, (IEnumerable<Expression>)testValues); in SwitchCase()
88 ReadOnlyCollection<Expression> values = testValues.ToReadOnly(); in SwitchCase()
89 ContractUtils.RequiresNotEmpty(values, nameof(testValues)); in SwitchCase()
[all …]
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/test/jdk/com/sun/crypto/provider/Cipher/AES/
H A DTestKATForGCM.java88 private static TestVector[] testValues = { field in TestKATForGCM
263 for (int i = 0; i < testValues.length; i++) { in execute()
265 c.init(Cipher.ENCRYPT_MODE, testValues[i].key, testValues[i].spec); in execute()
266 c.updateAAD(testValues[i].aad); in execute()
269 c.init(Cipher.DECRYPT_MODE, testValues[i].key, testValues[i].spec); in execute()
270 c.updateAAD(testValues[i].aad); in execute()
278 int ctLen = testValues[i].cipherText.length; in execute()
279 if (!Arrays.equals(testValues[i].cipherText, in execute()
284 int tagLen = testValues[i].tag.length; in execute()
286 (testValues[i].tag, in execute()
[all …]
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/test/jdk/com/sun/crypto/provider/Cipher/AES/
H A DTestKATForGCM.java88 private static TestVector[] testValues = { field in TestKATForGCM
263 for (int i = 0; i < testValues.length; i++) { in execute()
265 c.init(Cipher.ENCRYPT_MODE, testValues[i].key, testValues[i].spec); in execute()
266 c.updateAAD(testValues[i].aad); in execute()
269 c.init(Cipher.DECRYPT_MODE, testValues[i].key, testValues[i].spec); in execute()
270 c.updateAAD(testValues[i].aad); in execute()
278 int ctLen = testValues[i].cipherText.length; in execute()
279 if (!Arrays.equals(testValues[i].cipherText, in execute()
284 int tagLen = testValues[i].tag.length; in execute()
286 (testValues[i].tag, in execute()
[all …]
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/test/jdk/com/sun/crypto/provider/Cipher/AES/
H A DTestKATForGCM.java88 private static TestVector[] testValues = { field in TestKATForGCM
263 for (int i = 0; i < testValues.length; i++) { in execute()
265 c.init(Cipher.ENCRYPT_MODE, testValues[i].key, testValues[i].spec); in execute()
266 c.updateAAD(testValues[i].aad); in execute()
269 c.init(Cipher.DECRYPT_MODE, testValues[i].key, testValues[i].spec); in execute()
270 c.updateAAD(testValues[i].aad); in execute()
278 int ctLen = testValues[i].cipherText.length; in execute()
279 if (!Arrays.equals(testValues[i].cipherText, in execute()
284 int tagLen = testValues[i].tag.length; in execute()
286 (testValues[i].tag, in execute()
[all …]
/dports/java/openjdk8/jdk8u-jdk8u312-b07.1/jdk/test/com/sun/crypto/provider/Cipher/AES/
H A DTestKATForGCM.java89 private static TestVector[] testValues = { field in TestKATForGCM
264 for (int i = 0; i < testValues.length; i++) { in execute()
266 c.init(Cipher.ENCRYPT_MODE, testValues[i].key, testValues[i].spec); in execute()
267 c.updateAAD(testValues[i].aad); in execute()
270 c.init(Cipher.DECRYPT_MODE, testValues[i].key, testValues[i].spec); in execute()
271 c.updateAAD(testValues[i].aad); in execute()
279 int ctLen = testValues[i].cipherText.length; in execute()
280 if (!Arrays.equals(testValues[i].cipherText, in execute()
285 int tagLen = testValues[i].tag.length; in execute()
287 (testValues[i].tag, in execute()
[all …]
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/test/jdk/com/sun/crypto/provider/Cipher/AES/
H A DTestKATForGCM.java88 private static TestVector[] testValues = { field in TestKATForGCM
263 for (int i = 0; i < testValues.length; i++) { in execute()
265 c.init(Cipher.ENCRYPT_MODE, testValues[i].key, testValues[i].spec); in execute()
266 c.updateAAD(testValues[i].aad); in execute()
269 c.init(Cipher.DECRYPT_MODE, testValues[i].key, testValues[i].spec); in execute()
270 c.updateAAD(testValues[i].aad); in execute()
278 int ctLen = testValues[i].cipherText.length; in execute()
279 if (!Arrays.equals(testValues[i].cipherText, in execute()
284 int tagLen = testValues[i].tag.length; in execute()
286 (testValues[i].tag, in execute()
[all …]
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/test/jdk/com/sun/crypto/provider/Cipher/AES/
H A DTestKATForGCM.java88 private static TestVector[] testValues = { field in TestKATForGCM
263 for (int i = 0; i < testValues.length; i++) { in execute()
265 c.init(Cipher.ENCRYPT_MODE, testValues[i].key, testValues[i].spec); in execute()
266 c.updateAAD(testValues[i].aad); in execute()
269 c.init(Cipher.DECRYPT_MODE, testValues[i].key, testValues[i].spec); in execute()
270 c.updateAAD(testValues[i].aad); in execute()
278 int ctLen = testValues[i].cipherText.length; in execute()
279 if (!Arrays.equals(testValues[i].cipherText, in execute()
284 int tagLen = testValues[i].tag.length; in execute()
286 (testValues[i].tag, in execute()
[all …]
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/test/jdk/com/sun/crypto/provider/Cipher/AES/
H A DTestKATForGCM.java88 private static TestVector[] testValues = { field in TestKATForGCM
263 for (int i = 0; i < testValues.length; i++) { in execute()
265 c.init(Cipher.ENCRYPT_MODE, testValues[i].key, testValues[i].spec); in execute()
266 c.updateAAD(testValues[i].aad); in execute()
269 c.init(Cipher.DECRYPT_MODE, testValues[i].key, testValues[i].spec); in execute()
270 c.updateAAD(testValues[i].aad); in execute()
278 int ctLen = testValues[i].cipherText.length; in execute()
279 if (!Arrays.equals(testValues[i].cipherText, in execute()
284 int tagLen = testValues[i].tag.length; in execute()
286 (testValues[i].tag, in execute()
[all …]
/dports/java/openjdk8-jre/jdk8u-jdk8u312-b07.1/jdk/test/com/sun/crypto/provider/Cipher/AES/
H A DTestKATForGCM.java89 private static TestVector[] testValues = { field in TestKATForGCM
264 for (int i = 0; i < testValues.length; i++) { in execute()
266 c.init(Cipher.ENCRYPT_MODE, testValues[i].key, testValues[i].spec); in execute()
267 c.updateAAD(testValues[i].aad); in execute()
270 c.init(Cipher.DECRYPT_MODE, testValues[i].key, testValues[i].spec); in execute()
271 c.updateAAD(testValues[i].aad); in execute()
279 int ctLen = testValues[i].cipherText.length; in execute()
280 if (!Arrays.equals(testValues[i].cipherText, in execute()
285 int tagLen = testValues[i].tag.length; in execute()
287 (testValues[i].tag, in execute()
[all …]

12345678910>>...44