- Sort Score
- Num 10 results
- Language All
Results 271 - 280 of 294 for JDK (0.04 seconds)
-
android/guava/src/com/google/common/io/MoreFiles.java
cpovirk <******@****.***> 1744646586 -0700
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Apr 14 16:07:06 GMT 2025 - 34.6K bytes - Click Count (0) -
module-tests/build.gradle.kts
application { mainClass = "okhttp3.modules.Main" mainModule = "okhttp3.modules" } jlinkApplication { stripDebug = true stripJavaDebugAttributes = true compress.set("zip-9") addModules.addAll("jdk.crypto.ec", "java.logging") vm.set("server") } extraJavaModuleInfo { module("com.squareup.okio:okio-jvm", "okio") { exportAllPackages() requires("kotlin.stdlib") requires("java.logging") }Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 1.8K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java
} }, /** * Disables cycle detection. This option causes the factory to return unmodified lock * implementations provided by the JDK, and is provided to allow applications to easily * parameterize when cycle detection is enabled. * * <p>Note that locks created by a factory with this policy will not participate theCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 36K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/AbstractFuture.java
// when deep chains of futures exist resulting in a StackOverflowError. We could detect // arbitrary cycles using a thread local but this should be a good enough solution (it is also // what jdk collections do in these cases) try { if (o == this) { builder.append("this future"); } else { builder.append(o); } } catch (Throwable e) { /*Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 14:39:00 GMT 2026 - 43.6K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/CompactHashMap.java
* collections intelligently fall back to a binary search tree if hash table collisions are * detected. Rather than going to all the trouble of reimplementing this ourselves, we * simply switch over to use the JDK implementation wholesale if probable hash flooding is * detected, sacrificing the compactness guarantee in very rare cases in exchange for much * more reliable worst-case behavior.
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 35.7K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/AbstractMapBasedMultimap.java
public boolean removeAll(Collection<?> c) { if (c.isEmpty()) { return false; } int oldSize = size(); // calls refreshIfEmpty // Guava issue 1013: AbstractSet and most JDK set implementations are // susceptible to quadratic removeAll performance on lists; // use a slightly smarter implementation here boolean changed = Sets.removeAllImpl((Set<V>) delegate, c);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Aug 12 15:51:57 GMT 2025 - 46.9K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt
server.enqueue(MockResponse(body = "response that will never be received")) val response = executeSynchronously("/") response.assertFailure( // JDK 11 response to the FAIL_HANDSHAKE: SSLException::class.java, // RI response to the FAIL_HANDSHAKE: SSLProtocolException::class.java, // Android's response to the FAIL_HANDSHAKE:
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Mar 15 09:02:18 GMT 2026 - 146.5K bytes - Click Count (0) -
container-tests/src/test/java/okhttp3/containers/BasicLoomTest.kt
private lateinit var executor: ExecutorService private lateinit var client: OkHttpClient @BeforeEach fun setUp() { platform.assumeLoom() assertThat(System.getProperty("jdk.tracePinnedThreads")).isNotEmpty() client = OkHttpClient .Builder() .trustMockServer() .dispatcher(Dispatcher(newVirtualThreadPerTaskExecutor())) .build()
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 3.7K bytes - Click Count (1) -
guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java
private static <E> Iterator<E> asIterator(E... elements) { return asList(elements).iterator(); } // In GWT, java.util.TreeSet throws ClassCastException when the comparator // throws it, unlike the JDK. Therefore, we accept ClassCastException as a // valid result thrown by java.util.TreeSet#equals. private static void assertNotEqualLenient(TreeSet<?> unexpected, SortedSet<?> actual) { try {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 47.2K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableSortedSet.java
* ImmutableSortedSet#copyOf(Comparable[])}.</b> */ @DoNotCall("Pass parameters of type Comparable") @Deprecated // The usage of "Z" here works around bugs in Javadoc (JDK-8318093) and JDiff. public static <Z> ImmutableSortedSet<Z> copyOf(Z[] elements) { throw new UnsupportedOperationException(); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 36.8K bytes - Click Count (0)