- Sort Score
- Num 10 results
- Language All
Results 131 - 140 of 190 for Runnables (0.08 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
android/guava-tests/benchmark/com/google/common/util/concurrent/MoreExecutorsDirectExecutorBenchmark.java
return directExecutor(); } }; abstract Executor executor(); } @Param Impl impl; Executor executor; static final class CountingRunnable implements Runnable { AtomicInteger integer = new AtomicInteger(); @Override public void run() { integer.incrementAndGet(); } } CountingRunnable countingRunnable = new CountingRunnable();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 3.4K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/TestLocking.java
import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** * Test class for SMB file locking operations. * This class is used to test concurrent file access and locking behavior. */ public class TestLocking implements Runnable { private static final Logger logger = LoggerFactory.getLogger(TestLocking.class); /** * Default constructor for TestLocking */ public TestLocking() { // Default constructorCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 4.2K bytes - Click Count (0) -
okhttp/src/androidMain/baseline-prof.txt
HSPLokhttp3/internal/concurrent/TaskRunner$RealBackend;->execute(Lokhttp3/internal/concurrent/TaskRunner;Ljava/lang/Runnable;)V HSPLokhttp3/internal/concurrent/TaskRunner$RealBackend;->nanoTime()J HSPLokhttp3/internal/concurrent/TaskRunner$runnable$1;-><init>(Lokhttp3/internal/concurrent/TaskRunner;)V HSPLokhttp3/internal/concurrent/TaskRunner$runnable$1;->run()V HSPLokhttp3/internal/concurrent/TaskRunner;-><clinit>()V
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Dec 30 23:28:56 GMT 2024 - 127.9K bytes - Click Count (1) -
android/guava-tests/test/com/google/common/eventbus/EventBusTest.java
this.exception = exception; this.context = context; } } /** Runnable which registers a StringCatcher on an event bus and adds it to a list. */ private static class Registrator implements Runnable { private final EventBus bus; private final List<StringCatcher> catchers; Registrator(EventBus bus, List<StringCatcher> catchers) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 11.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/eventbus/EventBusTest.java
this.exception = exception; this.context = context; } } /** Runnable which registers a StringCatcher on an event bus and adds it to a list. */ private static class Registrator implements Runnable { private final EventBus bus; private final List<StringCatcher> catchers; Registrator(EventBus bus, List<StringCatcher> catchers) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 11.6K bytes - Click Count (0) -
guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/ListenableFuture.java
* For restrictions, please refer to the documentation of the then() method. */ public interface ListenableFuture<V extends @Nullable Object> extends Future<V>, IThenable<V> { void addListener(Runnable listener, Executor executor); /** Note that this method is not expected to be overridden. */ @JsMethod @Override default <R extends @Nullable Object> IThenable<R> then(
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 3.8K bytes - Click Count (0) -
.github/ISSUE_TEMPLATE/00-bug.yml
validations: required: true - type: textarea id: what-did-you-do attributes: label: "What did you do?" description: "If possible, provide a recipe for reproducing the error. A complete runnable program is good. A link on [go.dev/play](https://go.dev/play) is best." validations: required: true - type: textarea id: actual-behavior attributes: label: "What did you see happen?"Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Jan 04 23:31:17 GMT 2024 - 3.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/TrustedListenableFutureTaskTest.java
TrustedListenableFutureTask<Integer> task = TrustedListenableFutureTask.create(counter::incrementAndGet); CyclicBarrier barrier = new CyclicBarrier(numThreads + 1); Runnable wrapper = () -> { awaitUnchecked(barrier); task.run(); awaitUnchecked(barrier); }; for (int j = 0; j < 10; j++) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 6.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/FutureCallbackTest.java
}; addCallback(f, callback, directExecutor()); } private static final class CountingSameThreadExecutor implements Executor { int runCount = 0; @Override public void execute(Runnable command) { command.run(); runCount++; } } private static final class MockCallback implements FutureCallback<String> { @Nullable private String value = null;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 6.7K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/Futures.java
return task; } /** * Executes {@code runnable} on the specified {@code executor}, returning a {@code Future} that * will complete after execution. * * @throws RejectedExecutionException if the task cannot be scheduled for execution * @since 28.2 */ public static ListenableFuture<@Nullable Void> submit(Runnable runnable, Executor executor) { TrustedListenableFutureTask<@Nullable Void> task =Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 64.2K bytes - Click Count (0)