- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 533 for callableId (0.14 sec)
-
android/guava/src/com/google/common/util/concurrent/FakeTimeLimiter.java
@Override @ParametricNullness public <T extends @Nullable Object> T callWithTimeout( Callable<T> callable, long timeoutDuration, TimeUnit timeoutUnit) throws ExecutionException { checkNotNull(callable); checkNotNull(timeoutUnit); try { return callable.call(); } catch (RuntimeException e) { throw new UncheckedExecutionException(e); } catch (Exception e) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Dec 14 20:35:03 UTC 2023 - 3.5K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/TimeLimiter.java
* @throws ExecutionError if {@code callable} throws an {@code Error} * @since 28.0 */ @CanIgnoreReturnValue @ParametricNullness default <T extends @Nullable Object> T callWithTimeout(Callable<T> callable, Duration timeout) throws TimeoutException, InterruptedException, ExecutionException { return callWithTimeout(callable, toNanosSaturated(timeout), TimeUnit.NANOSECONDS);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri May 12 18:32:03 UTC 2023 - 15.3K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/TrustedListenableFutureTask.java
} @WeakOuter private final class TrustedFutureInterruptibleTask extends InterruptibleTask<V> { private final Callable<V> callable; TrustedFutureInterruptibleTask(Callable<V> callable) { this.callable = checkNotNull(callable); } @Override final boolean isDone() { return TrustedListenableFutureTask.this.isDone(); } @Override
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Oct 01 17:18:04 UTC 2021 - 5.6K bytes - Viewed (0) -
subprojects/core/src/testFixtures/groovy/org/gradle/util/internal/MockExecutor.java
public ScheduledFuture<?> schedule(Runnable command, long delay, TimeUnit unit) { singleScheduledActions.add(command); return null; } @Override public <V> ScheduledFuture<V> schedule(Callable<V> callable, long delay, TimeUnit unit) { throw new UnsupportedOperationException(); } @Override public ScheduledFuture<?> scheduleAtFixedRate(Runnable command, long initialDelay, long period, TimeUnit unit) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 07 08:18:49 UTC 2021 - 4.4K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/AbstractJUnitSpockIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 4.8K bytes - Viewed (0) -
platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/collections/UnpackingVisitorTest.groovy
def "recursively resolves return value of a Callable"() { def fileCollection = Mock(FileCollectionInternal) def callable = Mock(Callable) when: visitor.add(callable) then: 1 * callable.call() >> fileCollection 1 * context.accept(fileCollection) 0 * context._ } def "resolves a Callable which returns null"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 5.9K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirSymbolProviderByJavaPsi.kt
override fun getCallableSymbol(callable: PsiMember): KaCallableSymbol? { if (callable !is PsiMethod && callable !is PsiField) return null val name = callable.name?.let(Name::identifier) ?: return null val containingClass = callable.containingClass ?: return null val classSymbol = getNamedClassSymbol(containingClass) ?: return null
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 22 06:28:34 UTC 2024 - 2.1K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/ListenableFutureTask.java
/** * Creates a {@code ListenableFutureTask} that will upon running, execute the given {@code * Callable}. * * @param callable the callable task * @since 10.0 */ public static <V extends @Nullable Object> ListenableFutureTask<V> create(Callable<V> callable) { return new ListenableFutureTask<>(callable); } /** * Creates a {@code ListenableFutureTask} that will upon running, execute the given {@code
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Apr 04 09:45:04 UTC 2023 - 4.3K bytes - Viewed (0) -
tensorflow/cc/experimental/libtf/tests/perf_test.cc
} // namespace // Add numbers in a loop by calling a callable. void CallFunctions(::testing::benchmark::State& state) { Integer sum(0); Callable callable((impl::TaggedValue(impl::Func(AddTagged)))); *callable.Call<Integer>(sum, Integer(30)); size_t i = 0; for (auto dummy : state) { sum = *callable.Call<Integer>(sum, Integer(i)); i++; } }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jul 15 16:58:38 UTC 2021 - 3K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AbstractListeningExecutorService.java
*/ @CanIgnoreReturnValue // TODO(kak): consider removing this @Override protected final <T extends @Nullable Object> RunnableFuture<T> newTaskFor(Callable<T> callable) { return TrustedListenableFutureTask.create(callable); } @CanIgnoreReturnValue // TODO(kak): consider removing this @Override public ListenableFuture<?> submit(Runnable task) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri May 12 18:32:03 UTC 2023 - 3K bytes - Viewed (0)