- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 401 for Futures (0.14 sec)
-
okhttp/src/test/java/okhttp3/internal/cache2/RelayTest.kt
val relay = edit(file, pipe.source, metadata, 5) val future1 = executor.submit(sourceReader(relay.newSource())) val future2 = executor.submit(sourceReader(relay.newSource())) Thread.sleep(500) sink.writeUtf8("abcdefghij") Thread.sleep(500) sink.writeUtf8("klmnopqrst") sink.close() assertThat<ByteString>(future1.get()) .isEqualTo("abcdefghijklmnopqrst".encodeUtf8())
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Apr 11 22:09:35 UTC 2024 - 8.1K bytes - Viewed (0) -
docs/ja/docs/history-design-future.md
Sebastián Ramírez <******@****.***> 1722296107 -0500
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Mon Jul 29 23:35:07 UTC 2024 - 5.3K bytes - Viewed (0) -
docs/pt/docs/history-design-future.md
Sebastián Ramírez <******@****.***> 1722296107 -0500
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Mon Jul 29 23:35:07 UTC 2024 - 4.5K bytes - Viewed (0) -
docs/ru/docs/history-design-future.md
Sebastián Ramírez <******@****.***> 1722296107 -0500
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Mon Jul 29 23:35:07 UTC 2024 - 7.2K bytes - Viewed (0) -
docs/de/docs/history-design-future.md
Sebastián Ramírez <******@****.***> 1722296107 -0500
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Mon Jul 29 23:35:07 UTC 2024 - 4.8K bytes - Viewed (0) -
docs/zh/docs/history-design-future.md
Sebastián Ramírez <******@****.***> 1722296107 -0500
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Mon Jul 29 23:35:07 UTC 2024 - 4.1K bytes - Viewed (0) -
docs/tr/docs/history-design-future.md
Sebastián Ramírez <******@****.***> 1722296107 -0500
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Mon Jul 29 23:35:07 UTC 2024 - 4.7K bytes - Viewed (0) -
docs/em/docs/history-design-future.md
Sebastián Ramírez <******@****.***> 1722296107 -0500
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Mon Jul 29 23:35:07 UTC 2024 - 3.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractFutureBenchmarks.java
* The method is invoked automatically by a successful call to {@link #cancel(boolean) * cancel(true)}. * * <p>The default implementation does nothing. * * @since 10.0 */ protected void interruptTask() {} /** * Returns true if this future was cancelled with {@code mayInterruptIfRunning} set to {@code
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 02:42:09 UTC 2024 - 13.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java
assertFalse(future.isCancelled()); ExecutorService executor = Executors.newSingleThreadExecutor(); try { Future<Boolean> getResult = executor.submit(() -> future.get()); // Release the future value. latch.countDown(); assertTrue(getResult.get(10, SECONDS)); } finally { executor.shutdownNow(); } assertTrue(future.isDone());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 18:30:30 UTC 2023 - 6K bytes - Viewed (0)