- Sort Score
- Num 10 results
- Language All
Results 381 - 390 of 1,542 for Mall (0.06 seconds)
-
android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java
nodes.add(node); map.put(key, node); } // Pre-populate all allowedPriorLocks with nodes of smaller ordinal. for (int i = 1; i < numKeys; i++) { nodes.get(i).checkAcquiredLocks(Policies.THROW, nodes.subList(0, i)); } // Pre-populate all disallowedPriorLocks with nodes of larger ordinal. for (int i = 0; i < numKeys - 1; i++) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 36K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/CancelCall.java
.build(); final long startNanos = System.nanoTime(); final Call call = client.newCall(request); // Schedule a job to cancel the call in 1 second. executor.schedule(() -> { System.out.printf("%.2f Canceling call.%n", (System.nanoTime() - startNanos) / 1e9f); call.cancel(); System.out.printf("%.2f Canceled call.%n", (System.nanoTime() - startNanos) / 1e9f); }, 1, TimeUnit.SECONDS);
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat Jan 12 03:31:36 GMT 2019 - 2.1K bytes - Click Count (0) -
android/guava/src/com/google/common/io/ByteSource.java
* entire stream. To avoid a potentially expensive operation, see {@link #sizeIfKnown}. * * <p>The default implementation calls {@link #sizeIfKnown} and returns the value if present. If * absent, it will fall back to a heavyweight operation that will open a stream, read (or {@link * InputStream#skip(long) skip}, if possible) to the end of the stream and return the total number * of bytes that were read. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 08 18:35:13 GMT 2025 - 25.7K bytes - Click Count (0) -
okhttp-sse/src/main/kotlin/okhttp3/sse/internal/RealEventSource.kt
) : EventSource, ServerSentEventReader.Callback, Callback { private var call: Call? = null @Volatile private var canceled = false fun connect(callFactory: Call.Factory) { call = callFactory.newCall(request).apply { enqueue(this@RealEventSource) } } override fun onResponse( call: Call, response: Response, ) { processResponse(response) }Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Oct 03 07:51:20 GMT 2025 - 3.2K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/HostnameVerifierTest.kt
} /** * Ignored due to incompatibilities between Android and Java on how non-ASCII subject alt names * are parsed. Android fails to parse these, which means we fall back to the CN. The RI does parse * them, so the CN is unused. */ @Test fun verifyNonAsciiSubjectAlt() { // Expecting actual: // ["bar.com", "è±å.co.jp"]
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 40.4K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/QueueTestSuiteBuilder.java
return new QueueTestSuiteBuilder<E>().usingGenerator(generator); } private boolean runCollectionTests = true; /** * Specify whether to skip the general collection tests. Call this method when testing a * collection that's both a queue and a list, to avoid running the common collection tests twice. * By default, collection tests do run. */ @CanIgnoreReturnValue
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 26 19:46:10 GMT 2024 - 2.5K bytes - Click Count (0) -
module-tests/src/test/java/okhttp3/modules/test/JavaModuleTest.java
server.enqueue(new MockResponse(200, Headers.of(), "Hello, Java9!")); server.start(); // Just check we can run code that depends on OkHttp types Call call = OkHttpCaller.callOkHttp(server.url("/")); try (Response response = call.execute();) { System.out.println(response.body().string()); } } @Test public void testModules() { Module okHttpModule = OkHttpClient.class.getModule();
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Sep 21 06:22:22 GMT 2025 - 2.1K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/ImmutableGraph.java
* .putEdge(GERMANY, BELGIUM) * .addNode(ICELAND) * .build(); * } * * <p>Builder instances can be reused; it is safe to call {@link #build} multiple times to build * multiple graphs in series. Each new graph contains all the elements of the ones created before * it. * * @since 28.0 */ public static class Builder<N> {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 11 01:10:31 GMT 2026 - 7.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/job/AggregateLogJobTest.java
// Second call (even) should fail String result2 = aggregateLogJob.execute(); assertTrue(result2.contains("Even call error")); // Third call (odd) should succeed String result3 = aggregateLogJob.execute(); assertEquals("", result3); } @Test public void test_execute_performanceWithLargeErrorMessage() { // Test with very large error messageCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 12.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/opensearch/config/exentity/ScheduledJobTest.java
// ============== @FunctionalInterface private interface LaunchNowCallback { LaunchedProcess call(LaunchNowOpCall opCall); } private LaScheduledJob createMockLaScheduledJob(final LaunchNowCallback launchNowWithParamsCallback) { return new DelegatingLaScheduledJob(null) { @OverrideCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 11:55:54 GMT 2026 - 15.8K bytes - Click Count (0)