/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/test/jdk/sun/security/ec/ed/ |
H A D | EdCRLSign.java | 47 private static final String PROVIDER = "SunEC"; field in EdCRLSign 54 test(PROVIDER, ED25519, null, initWithRandom); in main() 55 test(PROVIDER, ED448, null, initWithRandom); in main() 61 test(PROVIDER, ED448, ED448, initWithRandom); in main() 62 test(PROVIDER, OIDN448, ED448, initWithRandom); in main() 63 test(PROVIDER, OID448, ED448, initWithRandom); in main() 66 test(PROVIDER, ED25519, 255, initWithRandom); in main() 68 test(PROVIDER, OID25519, 255, initWithRandom); in main() 69 test(PROVIDER, ED448, 448, initWithRandom); in main() 70 test(PROVIDER, OIDN448, 448, initWithRandom); in main() [all …]
|
H A D | EdDSAKeySize.java | 61 private static final String PROVIDER = "SunEC"; field in EdDSAKeySize 71 testKeyAttributes(PROVIDER, EDDSA, initWithRandom, null, 256); in main() 72 testKeyAttributes(PROVIDER, ED25519, initWithRandom, null, 256); in main() 73 testKeyAttributes(PROVIDER, ED448, initWithRandom, null, 456); in main() 80 testKeyAttributes(PROVIDER, ED448, initWithRandom, ED448, 456); in main() 82 testKeyAttributes(PROVIDER, OID448, initWithRandom, ED448, 456); in main() 85 testKeyAttributes(PROVIDER, EDDSA, initWithRandom, 255, 256); in main() 86 testKeyAttributes(PROVIDER, ED25519, initWithRandom, 255, 256); in main() 89 testKeyAttributes(PROVIDER, ED448, initWithRandom, 448, 456); in main() 90 testKeyAttributes(PROVIDER, OIDN448, initWithRandom, 448, 456); in main() [all …]
|
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/test/jdk/sun/security/ec/ed/ |
H A D | EdCRLSign.java | 47 private static final String PROVIDER = "SunEC"; field in EdCRLSign 54 test(PROVIDER, ED25519, null, initWithRandom); in main() 55 test(PROVIDER, ED448, null, initWithRandom); in main() 61 test(PROVIDER, ED448, ED448, initWithRandom); in main() 62 test(PROVIDER, OIDN448, ED448, initWithRandom); in main() 63 test(PROVIDER, OID448, ED448, initWithRandom); in main() 66 test(PROVIDER, ED25519, 255, initWithRandom); in main() 68 test(PROVIDER, OID25519, 255, initWithRandom); in main() 69 test(PROVIDER, ED448, 448, initWithRandom); in main() 70 test(PROVIDER, OIDN448, 448, initWithRandom); in main() [all …]
|
H A D | EdDSAKeySize.java | 61 private static final String PROVIDER = "SunEC"; field in EdDSAKeySize 71 testKeyAttributes(PROVIDER, EDDSA, initWithRandom, null, 256); in main() 72 testKeyAttributes(PROVIDER, ED25519, initWithRandom, null, 256); in main() 73 testKeyAttributes(PROVIDER, ED448, initWithRandom, null, 456); in main() 80 testKeyAttributes(PROVIDER, ED448, initWithRandom, ED448, 456); in main() 82 testKeyAttributes(PROVIDER, OID448, initWithRandom, ED448, 456); in main() 85 testKeyAttributes(PROVIDER, EDDSA, initWithRandom, 255, 256); in main() 86 testKeyAttributes(PROVIDER, ED25519, initWithRandom, 255, 256); in main() 89 testKeyAttributes(PROVIDER, ED448, initWithRandom, 448, 456); in main() 90 testKeyAttributes(PROVIDER, OIDN448, initWithRandom, 448, 456); in main() [all …]
|
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/test/jdk/sun/security/ec/ed/ |
H A D | EdCRLSign.java | 47 private static final String PROVIDER = "SunEC"; field in EdCRLSign 54 test(PROVIDER, ED25519, null, initWithRandom); in main() 55 test(PROVIDER, ED448, null, initWithRandom); in main() 61 test(PROVIDER, ED448, ED448, initWithRandom); in main() 62 test(PROVIDER, OIDN448, ED448, initWithRandom); in main() 63 test(PROVIDER, OID448, ED448, initWithRandom); in main() 66 test(PROVIDER, ED25519, 255, initWithRandom); in main() 68 test(PROVIDER, OID25519, 255, initWithRandom); in main() 69 test(PROVIDER, ED448, 448, initWithRandom); in main() 70 test(PROVIDER, OIDN448, 448, initWithRandom); in main() [all …]
|
H A D | EdDSAKeySize.java | 63 private static final String PROVIDER = "SunEC"; field in EdDSAKeySize 73 testKeyAttributes(PROVIDER, EDDSA, initWithRandom, null, 256); in main() 74 testKeyAttributes(PROVIDER, ED25519, initWithRandom, null, 256); in main() 75 testKeyAttributes(PROVIDER, ED448, initWithRandom, null, 456); in main() 82 testKeyAttributes(PROVIDER, ED448, initWithRandom, ED448, 456); in main() 84 testKeyAttributes(PROVIDER, OID448, initWithRandom, ED448, 456); in main() 87 testKeyAttributes(PROVIDER, EDDSA, initWithRandom, 255, 256); in main() 88 testKeyAttributes(PROVIDER, ED25519, initWithRandom, 255, 256); in main() 91 testKeyAttributes(PROVIDER, ED448, initWithRandom, 448, 456); in main() 92 testKeyAttributes(PROVIDER, OIDN448, initWithRandom, 448, 456); in main() [all …]
|
/dports/security/acme.sh/acme.sh-3.0.1/dnsapi/ |
H A D | dns_lexicon.sh | 16 PROVIDER="${PROVIDER:-$(_readdomainconf PROVIDER)}" 17 if [ -z "$PROVIDER" ]; then 18 PROVIDER="" 23 _savedomainconf PROVIDER "$PROVIDER" 24 export PROVIDER 28 Lx_name=$(echo LEXICON_"${PROVIDER}"_USERNAME | tr 'a-z' 'A-Z') 38 Lx_token=$(echo LEXICON_"${PROVIDER}"_TOKEN | tr 'a-z' 'A-Z') 48 Lx_password=$(echo LEXICON_"${PROVIDER}"_PASSWORD | tr 'a-z' 'A-Z') 58 Lx_domaintoken=$(echo LEXICON_"${PROVIDER}"_DOMAINTOKEN | tr 'a-z' 'A-Z') 68 Lx_api_key=$(echo LEXICON_"${PROVIDER}"_API_KEY | tr 'a-z' 'A-Z') [all …]
|
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.hotspot.test/src/jdk/vm/ci/hotspot/test/ |
H A D | MemoryAccessProviderTest.java | 64 …Assert.assertNull(PROVIDER.readPrimitiveConstant(kind, null, offset, bitsCount), "Unexpected value… in testReadPrimitiveConstantNullBase() 69 PROVIDER.readPrimitiveConstant(kind, base, 0L, kind == null ? 0 : kind.getByteCount() / 8); in testNegativeReadPrimitiveConstant() 75 PROVIDER.readPrimitiveConstant(kind, base, offset, kind.getByteCount() * 8); in testReadPrimitiveInstanceFieldOutOfBounds() 85 PROVIDER.readPrimitiveConstant(kind, base, offset, kind.getByteCount() * 8); in testReadPrimitiveStaticFieldOutOFBounds() 95 PROVIDER.readObjectConstant(base, offset); in testReadObjectOutOfBoundsObjectArray() 104 PROVIDER.readPrimitiveConstant(kind, base, 0L, bitsCount); in testObjectReadPrimitiveConstant() 109 PROVIDER.readPrimitiveConstant(kind, base, offset, bitsCount - 1); in testReadPrimitiveConstantLessBits() 114 … Assert.assertEquals(PROVIDER.readObjectConstant(base, offset), expected, "Unexpected result"); in testPositiveReadObjectConstant() 119 Assert.assertNull(PROVIDER.readObjectConstant(null, offset), "Unexpected return"); in testNegativeReadObjectConstantNullBase() 124 Assert.assertNull(PROVIDER.readObjectConstant(base, offset + 1), "Expected null"); in testNegativeReadObjectConstantWrongOffset() [all …]
|
H A D | MethodHandleAccessProviderTest.java | 56 …private static final MethodHandleAccessProvider PROVIDER = CONSTANT_REFLECTION.getMethodHandleAcce… field in MethodHandleAccessProviderTest 61 …Assert.assertEquals(expected, PROVIDER.lookupMethodHandleIntrinsic(mtd), "Unexpected intrinsic ret… in testLookupMethodHandleIntrinsic() 66 … Assert.assertNull(PROVIDER.lookupMethodHandleIntrinsic(mtd), "Expected null return for " + mtd); in testLookupMethodHandleIntrinsicNegative() 71 PROVIDER.lookupMethodHandleIntrinsic(null); in testLookupMethodHandleIntrinsicNull() 76 ResolvedJavaMethod mtd = PROVIDER.resolveInvokeBasicTarget(javaConstantMethodHandle, force); in testResolveInvokeBasicTarget() 82 Assert.assertNull(PROVIDER.resolveInvokeBasicTarget(javaConstantMethodHandle, force), in testResolveInvokeBasicTargetNegative1() 88 PROVIDER.resolveInvokeBasicTarget(javaConstantMethodHandle, force); in testResolveInvokeBasicTargetNegative2() 119 ResolvedJavaMethod mtd = PROVIDER.resolveLinkToTarget(jcMemberName); in testResolveLinkToTarget() 125 PROVIDER.resolveLinkToTarget(null); in testResolveLinkToTargetNegativeNull() 130 …Assert.assertNull(PROVIDER.resolveLinkToTarget(JavaConstant.NULL_POINTER), "Expected null return"); in testResolveLinkToTargetNegativeNullConstant() [all …]
|
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.hotspot.test/src/jdk/vm/ci/hotspot/test/ |
H A D | MemoryAccessProviderTest.java | 60 …Assert.assertEquals(PROVIDER.readPrimitiveConstant(kind, base, offset, bitsCount), expected, "Fail… in testPositiveReadPrimitiveConstant() 65 …Assert.assertNull(PROVIDER.readPrimitiveConstant(kind, null, offset, bitsCount), "Unexpected value… in testReadPrimitiveConstantNullBase() 70 PROVIDER.readPrimitiveConstant(kind, base, 0L, kind == null ? 0 : kind.getByteCount() / 8); in testNegativeReadPrimitiveConstant() 76 PROVIDER.readPrimitiveConstant(kind, base, offset, kind.getByteCount() * 8); in testReadPrimitiveInstanceFieldOutOfBounds() 86 PROVIDER.readPrimitiveConstant(kind, base, offset, kind.getByteCount() * 8); in testReadPrimitiveStaticFieldOutOFBounds() 95 PROVIDER.readPrimitiveConstant(kind, base, 0L, bitsCount); in testObjectReadPrimitiveConstant() 100 PROVIDER.readPrimitiveConstant(kind, base, offset, bitsCount - 1); in testReadPrimitiveConstantLessBits() 105 … Assert.assertEquals(PROVIDER.readObjectConstant(base, offset), expected, "Unexpected result"); in testPositiveReadObjectConstant() 110 Assert.assertNull(PROVIDER.readObjectConstant(null, offset), "Unexpected return"); in testNegativeReadObjectConstantNullBase() 115 Assert.assertNull(PROVIDER.readObjectConstant(base, offset + 1), "Expected null"); in testNegativeReadObjectConstantWrongOffset() [all …]
|
H A D | MethodHandleAccessProviderTest.java | 56 …private static final MethodHandleAccessProvider PROVIDER = CONSTANT_REFLECTION.getMethodHandleAcce… field in MethodHandleAccessProviderTest 61 …Assert.assertEquals(expected, PROVIDER.lookupMethodHandleIntrinsic(mtd), "Unexpected intrinsic ret… in testLookupMethodHandleIntrinsic() 66 … Assert.assertNull(PROVIDER.lookupMethodHandleIntrinsic(mtd), "Expected null return for " + mtd); in testLookupMethodHandleIntrinsicNegative() 71 PROVIDER.lookupMethodHandleIntrinsic(null); in testLookupMethodHandleIntrinsicNull() 76 ResolvedJavaMethod mtd = PROVIDER.resolveInvokeBasicTarget(javaConstantMethodHandle, force); in testResolveInvokeBasicTarget() 82 Assert.assertNull(PROVIDER.resolveInvokeBasicTarget(javaConstantMethodHandle, force), in testResolveInvokeBasicTargetNegative1() 88 PROVIDER.resolveInvokeBasicTarget(javaConstantMethodHandle, force); in testResolveInvokeBasicTargetNegative2() 119 ResolvedJavaMethod mtd = PROVIDER.resolveLinkToTarget(jcMemberName); in testResolveLinkToTarget() 125 PROVIDER.resolveLinkToTarget(null); in testResolveLinkToTargetNegativeNull() 130 …Assert.assertNull(PROVIDER.resolveLinkToTarget(JavaConstant.NULL_POINTER), "Expected null return"); in testResolveLinkToTargetNegativeNullConstant() [all …]
|
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.hotspot.test/src/jdk/vm/ci/hotspot/test/ |
H A D | MemoryAccessProviderTest.java | 60 …Assert.assertEquals(PROVIDER.readPrimitiveConstant(kind, base, offset, bitsCount), expected, "Fail… in testPositiveReadPrimitiveConstant() 65 …Assert.assertNull(PROVIDER.readPrimitiveConstant(kind, null, offset, bitsCount), "Unexpected value… in testReadPrimitiveConstantNullBase() 70 PROVIDER.readPrimitiveConstant(kind, base, 0L, kind == null ? 0 : kind.getByteCount() / 8); in testNegativeReadPrimitiveConstant() 76 PROVIDER.readPrimitiveConstant(kind, base, offset, kind.getByteCount() * 8); in testReadPrimitiveInstanceFieldOutOfBounds() 86 PROVIDER.readPrimitiveConstant(kind, base, offset, kind.getByteCount() * 8); in testReadPrimitiveStaticFieldOutOFBounds() 95 PROVIDER.readPrimitiveConstant(kind, base, 0L, bitsCount); in testObjectReadPrimitiveConstant() 100 PROVIDER.readPrimitiveConstant(kind, base, offset, bitsCount - 1); in testReadPrimitiveConstantLessBits() 105 … Assert.assertEquals(PROVIDER.readObjectConstant(base, offset), expected, "Unexpected result"); in testPositiveReadObjectConstant() 110 Assert.assertNull(PROVIDER.readObjectConstant(null, offset), "Unexpected return"); in testNegativeReadObjectConstantNullBase() 115 Assert.assertNull(PROVIDER.readObjectConstant(base, offset + 1), "Expected null"); in testNegativeReadObjectConstantWrongOffset() [all …]
|
H A D | MethodHandleAccessProviderTest.java | 56 …private static final MethodHandleAccessProvider PROVIDER = CONSTANT_REFLECTION.getMethodHandleAcce… field in MethodHandleAccessProviderTest 61 …Assert.assertEquals(expected, PROVIDER.lookupMethodHandleIntrinsic(mtd), "Unexpected intrinsic ret… in testLookupMethodHandleIntrinsic() 66 … Assert.assertNull(PROVIDER.lookupMethodHandleIntrinsic(mtd), "Expected null return for " + mtd); in testLookupMethodHandleIntrinsicNegative() 71 PROVIDER.lookupMethodHandleIntrinsic(null); in testLookupMethodHandleIntrinsicNull() 76 ResolvedJavaMethod mtd = PROVIDER.resolveInvokeBasicTarget(javaConstantMethodHandle, force); in testResolveInvokeBasicTarget() 82 Assert.assertNull(PROVIDER.resolveInvokeBasicTarget(javaConstantMethodHandle, force), in testResolveInvokeBasicTargetNegative1() 88 PROVIDER.resolveInvokeBasicTarget(javaConstantMethodHandle, force); in testResolveInvokeBasicTargetNegative2() 119 ResolvedJavaMethod mtd = PROVIDER.resolveLinkToTarget(jcMemberName); in testResolveLinkToTarget() 125 PROVIDER.resolveLinkToTarget(null); in testResolveLinkToTargetNegativeNull() 130 …Assert.assertNull(PROVIDER.resolveLinkToTarget(JavaConstant.NULL_POINTER), "Expected null return"); in testResolveLinkToTargetNegativeNullConstant() [all …]
|
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.hotspot.test/src/jdk/vm/ci/hotspot/test/ |
H A D | MemoryAccessProviderTest.java | 59 …Assert.assertEquals(PROVIDER.readPrimitiveConstant(kind, base, offset, bitsCount), expected, "Fail… in testPositiveReadPrimitiveConstant() 64 …Assert.assertNull(PROVIDER.readPrimitiveConstant(kind, null, offset, bitsCount), "Unexpected value… in testReadPrimitiveConstantNullBase() 69 PROVIDER.readPrimitiveConstant(kind, base, 0L, kind == null ? 0 : kind.getByteCount() / 8); in testNegativeReadPrimitiveConstant() 75 PROVIDER.readPrimitiveConstant(kind, base, offset, kind.getByteCount() * 8); in testReadPrimitiveInstanceFieldOutOfBounds() 85 PROVIDER.readPrimitiveConstant(kind, base, offset, kind.getByteCount() * 8); in testReadPrimitiveStaticFieldOutOFBounds() 94 PROVIDER.readPrimitiveConstant(kind, base, 0L, bitsCount); in testObjectReadPrimitiveConstant() 99 PROVIDER.readPrimitiveConstant(kind, base, offset, bitsCount - 1); in testReadPrimitiveConstantLessBits() 104 … Assert.assertEquals(PROVIDER.readObjectConstant(base, offset), expected, "Unexpected result"); in testPositiveReadObjectConstant() 109 Assert.assertNull(PROVIDER.readObjectConstant(null, offset), "Unexpected return"); in testNegativeReadObjectConstantNullBase() 114 Assert.assertNull(PROVIDER.readObjectConstant(base, offset + 1), "Expected null"); in testNegativeReadObjectConstantWrongOffset() [all …]
|
H A D | MethodHandleAccessProviderTest.java | 56 …private static final MethodHandleAccessProvider PROVIDER = CONSTANT_REFLECTION.getMethodHandleAcce… field in MethodHandleAccessProviderTest 61 …Assert.assertEquals(expected, PROVIDER.lookupMethodHandleIntrinsic(mtd), "Unexpected intrinsic ret… in testLookupMethodHandleIntrinsic() 66 … Assert.assertNull(PROVIDER.lookupMethodHandleIntrinsic(mtd), "Expected null return for " + mtd); in testLookupMethodHandleIntrinsicNegative() 71 PROVIDER.lookupMethodHandleIntrinsic(null); in testLookupMethodHandleIntrinsicNull() 76 ResolvedJavaMethod mtd = PROVIDER.resolveInvokeBasicTarget(javaConstantMethodHandle, force); in testResolveInvokeBasicTarget() 82 Assert.assertNull(PROVIDER.resolveInvokeBasicTarget(javaConstantMethodHandle, force), in testResolveInvokeBasicTargetNegative1() 88 PROVIDER.resolveInvokeBasicTarget(javaConstantMethodHandle, force); in testResolveInvokeBasicTargetNegative2() 119 ResolvedJavaMethod mtd = PROVIDER.resolveLinkToTarget(jcMemberName); in testResolveLinkToTarget() 125 PROVIDER.resolveLinkToTarget(null); in testResolveLinkToTargetNegativeNull() 130 …Assert.assertNull(PROVIDER.resolveLinkToTarget(JavaConstant.NULL_POINTER), "Expected null return"); in testResolveLinkToTargetNegativeNullConstant() [all …]
|
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.hotspot.test/src/jdk/vm/ci/hotspot/test/ |
H A D | MemoryAccessProviderTest.java | 59 …Assert.assertEquals(PROVIDER.readPrimitiveConstant(kind, base, offset, bitsCount), expected, "Fail… in testPositiveReadPrimitiveConstant() 64 …Assert.assertNull(PROVIDER.readPrimitiveConstant(kind, null, offset, bitsCount), "Unexpected value… in testReadPrimitiveConstantNullBase() 69 PROVIDER.readPrimitiveConstant(kind, base, 0L, kind == null ? 0 : kind.getByteCount() / 8); in testNegativeReadPrimitiveConstant() 75 PROVIDER.readPrimitiveConstant(kind, base, offset, kind.getByteCount() * 8); in testReadPrimitiveInstanceFieldOutOfBounds() 85 PROVIDER.readPrimitiveConstant(kind, base, offset, kind.getByteCount() * 8); in testReadPrimitiveStaticFieldOutOFBounds() 94 PROVIDER.readPrimitiveConstant(kind, base, 0L, bitsCount); in testObjectReadPrimitiveConstant() 99 PROVIDER.readPrimitiveConstant(kind, base, offset, bitsCount - 1); in testReadPrimitiveConstantLessBits() 104 … Assert.assertEquals(PROVIDER.readObjectConstant(base, offset), expected, "Unexpected result"); in testPositiveReadObjectConstant() 109 Assert.assertNull(PROVIDER.readObjectConstant(null, offset), "Unexpected return"); in testNegativeReadObjectConstantNullBase() 114 Assert.assertNull(PROVIDER.readObjectConstant(base, offset + 1), "Expected null"); in testNegativeReadObjectConstantWrongOffset() [all …]
|
H A D | MethodHandleAccessProviderTest.java | 56 …private static final MethodHandleAccessProvider PROVIDER = CONSTANT_REFLECTION.getMethodHandleAcce… field in MethodHandleAccessProviderTest 61 …Assert.assertEquals(expected, PROVIDER.lookupMethodHandleIntrinsic(mtd), "Unexpected intrinsic ret… in testLookupMethodHandleIntrinsic() 66 … Assert.assertNull(PROVIDER.lookupMethodHandleIntrinsic(mtd), "Expected null return for " + mtd); in testLookupMethodHandleIntrinsicNegative() 71 PROVIDER.lookupMethodHandleIntrinsic(null); in testLookupMethodHandleIntrinsicNull() 76 ResolvedJavaMethod mtd = PROVIDER.resolveInvokeBasicTarget(javaConstantMethodHandle, force); in testResolveInvokeBasicTarget() 82 Assert.assertNull(PROVIDER.resolveInvokeBasicTarget(javaConstantMethodHandle, force), in testResolveInvokeBasicTargetNegative1() 88 PROVIDER.resolveInvokeBasicTarget(javaConstantMethodHandle, force); in testResolveInvokeBasicTargetNegative2() 119 ResolvedJavaMethod mtd = PROVIDER.resolveLinkToTarget(jcMemberName); in testResolveLinkToTarget() 125 PROVIDER.resolveLinkToTarget(null); in testResolveLinkToTargetNegativeNull() 130 …Assert.assertNull(PROVIDER.resolveLinkToTarget(JavaConstant.NULL_POINTER), "Expected null return"); in testResolveLinkToTargetNegativeNullConstant() [all …]
|
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.hotspot.test/src/jdk/vm/ci/hotspot/test/ |
H A D | MemoryAccessProviderTest.java | 60 …Assert.assertEquals(PROVIDER.readPrimitiveConstant(kind, base, offset, bitsCount), expected, "Fail… in testPositiveReadPrimitiveConstant() 65 …Assert.assertNull(PROVIDER.readPrimitiveConstant(kind, null, offset, bitsCount), "Unexpected value… in testReadPrimitiveConstantNullBase() 70 PROVIDER.readPrimitiveConstant(kind, base, 0L, kind == null ? 0 : kind.getByteCount() / 8); in testNegativeReadPrimitiveConstant() 76 PROVIDER.readPrimitiveConstant(kind, base, offset, kind.getByteCount() * 8); in testReadPrimitiveInstanceFieldOutOfBounds() 86 PROVIDER.readPrimitiveConstant(kind, base, offset, kind.getByteCount() * 8); in testReadPrimitiveStaticFieldOutOFBounds() 95 PROVIDER.readPrimitiveConstant(kind, base, 0L, bitsCount); in testObjectReadPrimitiveConstant() 100 PROVIDER.readPrimitiveConstant(kind, base, offset, bitsCount - 1); in testReadPrimitiveConstantLessBits() 105 … Assert.assertEquals(PROVIDER.readObjectConstant(base, offset), expected, "Unexpected result"); in testPositiveReadObjectConstant() 110 Assert.assertNull(PROVIDER.readObjectConstant(null, offset), "Unexpected return"); in testNegativeReadObjectConstantNullBase() 115 Assert.assertNull(PROVIDER.readObjectConstant(base, offset + 1), "Expected null"); in testNegativeReadObjectConstantWrongOffset() [all …]
|
H A D | MethodHandleAccessProviderTest.java | 56 …private static final MethodHandleAccessProvider PROVIDER = CONSTANT_REFLECTION.getMethodHandleAcce… field in MethodHandleAccessProviderTest 61 …Assert.assertEquals(expected, PROVIDER.lookupMethodHandleIntrinsic(mtd), "Unexpected intrinsic ret… in testLookupMethodHandleIntrinsic() 66 … Assert.assertNull(PROVIDER.lookupMethodHandleIntrinsic(mtd), "Expected null return for " + mtd); in testLookupMethodHandleIntrinsicNegative() 71 PROVIDER.lookupMethodHandleIntrinsic(null); in testLookupMethodHandleIntrinsicNull() 76 ResolvedJavaMethod mtd = PROVIDER.resolveInvokeBasicTarget(javaConstantMethodHandle, force); in testResolveInvokeBasicTarget() 82 Assert.assertNull(PROVIDER.resolveInvokeBasicTarget(javaConstantMethodHandle, force), in testResolveInvokeBasicTargetNegative1() 88 PROVIDER.resolveInvokeBasicTarget(javaConstantMethodHandle, force); in testResolveInvokeBasicTargetNegative2() 119 ResolvedJavaMethod mtd = PROVIDER.resolveLinkToTarget(jcMemberName); in testResolveLinkToTarget() 125 PROVIDER.resolveLinkToTarget(null); in testResolveLinkToTargetNegativeNull() 130 …Assert.assertNull(PROVIDER.resolveLinkToTarget(JavaConstant.NULL_POINTER), "Expected null return"); in testResolveLinkToTargetNegativeNullConstant() [all …]
|
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.hotspot.test/src/jdk/vm/ci/hotspot/test/ |
H A D | MemoryAccessProviderTest.java | 60 …Assert.assertEquals(PROVIDER.readPrimitiveConstant(kind, base, offset, bitsCount), expected, "Fail… in testPositiveReadPrimitiveConstant() 65 …Assert.assertNull(PROVIDER.readPrimitiveConstant(kind, null, offset, bitsCount), "Unexpected value… in testReadPrimitiveConstantNullBase() 70 PROVIDER.readPrimitiveConstant(kind, base, 0L, kind == null ? 0 : kind.getByteCount() / 8); in testNegativeReadPrimitiveConstant() 76 PROVIDER.readPrimitiveConstant(kind, base, offset, kind.getByteCount() * 8); in testReadPrimitiveInstanceFieldOutOfBounds() 86 PROVIDER.readPrimitiveConstant(kind, base, offset, kind.getByteCount() * 8); in testReadPrimitiveStaticFieldOutOFBounds() 95 PROVIDER.readPrimitiveConstant(kind, base, 0L, bitsCount); in testObjectReadPrimitiveConstant() 100 PROVIDER.readPrimitiveConstant(kind, base, offset, bitsCount - 1); in testReadPrimitiveConstantLessBits() 105 … Assert.assertEquals(PROVIDER.readObjectConstant(base, offset), expected, "Unexpected result"); in testPositiveReadObjectConstant() 110 Assert.assertNull(PROVIDER.readObjectConstant(null, offset), "Unexpected return"); in testNegativeReadObjectConstantNullBase() 115 Assert.assertNull(PROVIDER.readObjectConstant(base, offset + 1), "Expected null"); in testNegativeReadObjectConstantWrongOffset() [all …]
|
H A D | MethodHandleAccessProviderTest.java | 56 …private static final MethodHandleAccessProvider PROVIDER = CONSTANT_REFLECTION.getMethodHandleAcce… field in MethodHandleAccessProviderTest 61 …Assert.assertEquals(expected, PROVIDER.lookupMethodHandleIntrinsic(mtd), "Unexpected intrinsic ret… in testLookupMethodHandleIntrinsic() 66 … Assert.assertNull(PROVIDER.lookupMethodHandleIntrinsic(mtd), "Expected null return for " + mtd); in testLookupMethodHandleIntrinsicNegative() 71 PROVIDER.lookupMethodHandleIntrinsic(null); in testLookupMethodHandleIntrinsicNull() 76 ResolvedJavaMethod mtd = PROVIDER.resolveInvokeBasicTarget(javaConstantMethodHandle, force); in testResolveInvokeBasicTarget() 82 Assert.assertNull(PROVIDER.resolveInvokeBasicTarget(javaConstantMethodHandle, force), in testResolveInvokeBasicTargetNegative1() 88 PROVIDER.resolveInvokeBasicTarget(javaConstantMethodHandle, force); in testResolveInvokeBasicTargetNegative2() 119 ResolvedJavaMethod mtd = PROVIDER.resolveLinkToTarget(jcMemberName); in testResolveLinkToTarget() 125 PROVIDER.resolveLinkToTarget(null); in testResolveLinkToTargetNegativeNull() 130 …Assert.assertNull(PROVIDER.resolveLinkToTarget(JavaConstant.NULL_POINTER), "Expected null return"); in testResolveLinkToTargetNegativeNullConstant() [all …]
|
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.hotspot.test/src/jdk/vm/ci/hotspot/test/ |
H A D | MemoryAccessProviderTest.java | 60 …Assert.assertEquals(PROVIDER.readPrimitiveConstant(kind, base, offset, bitsCount), expected, "Fail… in testPositiveReadPrimitiveConstant() 65 …Assert.assertNull(PROVIDER.readPrimitiveConstant(kind, null, offset, bitsCount), "Unexpected value… in testReadPrimitiveConstantNullBase() 70 PROVIDER.readPrimitiveConstant(kind, base, 0L, kind == null ? 0 : kind.getByteCount() / 8); in testNegativeReadPrimitiveConstant() 76 PROVIDER.readPrimitiveConstant(kind, base, offset, kind.getByteCount() * 8); in testReadPrimitiveInstanceFieldOutOfBounds() 86 PROVIDER.readPrimitiveConstant(kind, base, offset, kind.getByteCount() * 8); in testReadPrimitiveStaticFieldOutOFBounds() 95 PROVIDER.readPrimitiveConstant(kind, base, 0L, bitsCount); in testObjectReadPrimitiveConstant() 100 PROVIDER.readPrimitiveConstant(kind, base, offset, bitsCount - 1); in testReadPrimitiveConstantLessBits() 105 … Assert.assertEquals(PROVIDER.readObjectConstant(base, offset), expected, "Unexpected result"); in testPositiveReadObjectConstant() 110 Assert.assertNull(PROVIDER.readObjectConstant(null, offset), "Unexpected return"); in testNegativeReadObjectConstantNullBase() 115 Assert.assertNull(PROVIDER.readObjectConstant(base, offset + 1), "Expected null"); in testNegativeReadObjectConstantWrongOffset() [all …]
|
H A D | MethodHandleAccessProviderTest.java | 56 …private static final MethodHandleAccessProvider PROVIDER = CONSTANT_REFLECTION.getMethodHandleAcce… field in MethodHandleAccessProviderTest 61 …Assert.assertEquals(expected, PROVIDER.lookupMethodHandleIntrinsic(mtd), "Unexpected intrinsic ret… in testLookupMethodHandleIntrinsic() 66 … Assert.assertNull(PROVIDER.lookupMethodHandleIntrinsic(mtd), "Expected null return for " + mtd); in testLookupMethodHandleIntrinsicNegative() 71 PROVIDER.lookupMethodHandleIntrinsic(null); in testLookupMethodHandleIntrinsicNull() 76 ResolvedJavaMethod mtd = PROVIDER.resolveInvokeBasicTarget(javaConstantMethodHandle, force); in testResolveInvokeBasicTarget() 82 Assert.assertNull(PROVIDER.resolveInvokeBasicTarget(javaConstantMethodHandle, force), in testResolveInvokeBasicTargetNegative1() 88 PROVIDER.resolveInvokeBasicTarget(javaConstantMethodHandle, force); in testResolveInvokeBasicTargetNegative2() 119 ResolvedJavaMethod mtd = PROVIDER.resolveLinkToTarget(jcMemberName); in testResolveLinkToTarget() 125 PROVIDER.resolveLinkToTarget(null); in testResolveLinkToTargetNegativeNull() 130 …Assert.assertNull(PROVIDER.resolveLinkToTarget(JavaConstant.NULL_POINTER), "Expected null return"); in testResolveLinkToTargetNegativeNullConstant() [all …]
|
/dports/sysutils/py-salt/salt-3004.1/tests/integration/cloud/clouds/ |
H A D | test_digitalocean.py | 18 PROVIDER = "digitalocean" variable in DigitalOceanTest 29 image_list = self.run_cloud("--list-images {}".format(self.PROVIDER)) 36 _list_locations = self.run_cloud("--list-locations {}".format(self.PROVIDER)) 43 _list_sizes = self.run_cloud("--list-sizes {}".format(self.PROVIDER)) 77 self.PROVIDER, do_key_name, pub 85 list_keypairs = self.run_cloud("-f list_keypairs {}".format(self.PROVIDER)) 91 "-f show_keypair {} keyname={}".format(self.PROVIDER, do_key_name) 96 self.run_cloud("-f remove_key {} id={}".format(self.PROVIDER, finger_print)) 102 "-f remove_key {} id={}".format(self.PROVIDER, finger_print)
|
H A D | test_profitbricks.py | 24 PROVIDER = "profitbricks" variable in ProfitBricksTest 39 self.PROVIDER 47 list_images = self.run_cloud("--list-images {}".format(self.PROVIDER)) 57 cmd = "-f list_images {}".format(self.PROVIDER) 65 list_sizes = self.run_cloud("--list-sizes {}".format(self.PROVIDER)) 73 cmd = "-f list_datacenters {}".format(self.PROVIDER) 83 list_nodes = self.run_cloud("-f list_nodes {}".format(self.PROVIDER)) 93 cmd = "-f list_nodes_full {}".format(self.PROVIDER) 104 cmd = "--list-locations {}".format(self.PROVIDER)
|