- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 142 for forName (0.17 sec)
-
guava-tests/benchmark/com/google/common/util/concurrent/MonitorBenchmark.java
String prefix = (useMonitor ? "com.google.common.util.concurrent.MonitorBased" : "java.util.concurrent."); String className = prefix + queueType + "BlockingQueue"; Constructor<?> constructor = Class.forName(className).getConstructor(int.class); queue = (BlockingQueue<String>) constructor.newInstance(capacity); strings = new String[capacity]; for (int i = 0; i < capacity; i++) {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 2K bytes - Viewed (0) -
src/main/java/jcifs/http/Handler.java
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 6.9K bytes - Viewed (0) -
samples/guide/src/test/kotlin/okhttp3/AllMainsTest.kt
} @Disabled("Don't run by default") @Tag("Slow") class AllMainsTest { @ParameterizedTest @ArgumentsSource(MainTestProvider::class) fun runMain(className: String) { val mainMethod = Class.forName(className) .methods.find { it.name == "main" } try { if (mainMethod != null) { if (mainMethod.parameters.isEmpty()) { mainMethod.invoke(null) } else {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 2.7K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt
try { Class.forName("org.eclipse.jetty.alpn.ALPN", true, null) true } catch (cnfe: ClassNotFoundException) { false } val isCorrettoSupported: Boolean = try { // Trigger an early exception over a fatal error, prefer a RuntimeException over Error. Class.forName("com.amazon.corretto.crypto.provider.AmazonCorrettoCryptoProvider")
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 15.3K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/platform/ConscryptPlatform.kt
}.socketFactory } companion object { val isSupported: Boolean = try { // Trigger an early exception over a fatal error, prefer a RuntimeException over Error. Class.forName("org.conscrypt.Conscrypt\$Version", false, javaClass.classLoader) when { // Bump this version if we ever have a binary incompatibility Conscrypt.isAvailable() && atLeastVersion(2, 1, 0) -> true
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 4.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/CoreLibConstants.java
* * @author shinsuke * */ public class CoreLibConstants { /** * UTF-8 */ public static final String UTF_8 = "UTF-8"; public static final Charset CHARSET_UTF_8 = Charset.forName(UTF_8); public static final String DATE_FORMAT_ISO_8601_BASIC = "yyyyMMdd'T'HHmmss.SSSZ"; public static final String DATE_FORMAT_ISO_8601_EXTEND = "yyyy-MM-dd'T'HH:mm:ss.SSSZ";
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 1.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java
} private static boolean unsafeComparatorAvailable() { // See Java Puzzler #44 // Use reflection instead of catching NoClassDefFoundError try { Class.forName(unsafeComparatorClassName()); return true; } catch (Error | ClassNotFoundException tolerable) { /* * We're probably running on Android. * * A note on exception types:
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 13.4K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBenchmark.java
String prefix = (useMonitor ? "com.google.common.util.concurrent.MonitorBased" : "java.util.concurrent."); String className = prefix + queueType + "BlockingQueue"; Constructor<?> constructor = Class.forName(className).getConstructor(int.class); queue = (BlockingQueue<String>) constructor.newInstance(capacity); strings = new String[capacity]; for (int i = 0; i < capacity; i++) {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 2K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/DoubleUtilsTest.java
} private static Method getJdkNextDown() throws Exception { try { return Math.class.getMethod("nextDown", double.class); } catch (NoSuchMethodException expectedBeforeJava8) { return Class.forName("sun.misc.FpUtils").getMethod("nextDown", double.class); } } @AndroidIncompatible // TODO(cpovirk): File bug for BigDecimal.doubleValue(). public void testBigToDouble() {
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 2.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/DoubleUtilsTest.java
} private static Method getJdkNextDown() throws Exception { try { return Math.class.getMethod("nextDown", double.class); } catch (NoSuchMethodException expectedBeforeJava8) { return Class.forName("sun.misc.FpUtils").getMethod("nextDown", double.class); } } @AndroidIncompatible // TODO(cpovirk): File bug for BigDecimal.doubleValue(). public void testBigToDouble() {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 2.9K bytes - Viewed (0)