- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 490 for callableId (0.14 sec)
-
platforms/core-runtime/logging/src/main/java/org/gradle/util/GUtil.java
} /** * Calls the given callable converting any thrown exception to an unchecked exception via {@link UncheckedException#throwAsUncheckedException(Throwable)} * * @param callable The callable to call * @param <T> Callable's return type * @return The value returned by {@link Callable#call()} */ @Nullable public static <T> T uncheckedCall(Callable<T> callable) { try {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 13:09:37 UTC 2024 - 21.3K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/CombinedFuture.java
private final Callable<V> callable; CallableInterruptibleTask(Callable<V> callable, Executor listenerExecutor) { super(listenerExecutor); this.callable = checkNotNull(callable); } @Override @ParametricNullness V runInterruptibly() throws Exception { return callable.call(); } @Override void setValue(@ParametricNullness V value) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 01 21:46:34 UTC 2024 - 6.8K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/CombinedFuture.java
private final Callable<V> callable; CallableInterruptibleTask(Callable<V> callable, Executor listenerExecutor) { super(listenerExecutor); this.callable = checkNotNull(callable); } @Override @ParametricNullness V runInterruptibly() throws Exception { return callable.call(); } @Override void setValue(@ParametricNullness V value) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 01 21:46:34 UTC 2024 - 6.8K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/WrappingExecutorService.java
this.delegate = checkNotNull(delegate); } /** * Wraps a {@code Callable} for submission to the underlying executor. This method is also applied * to any {@code Runnable} passed to the default implementation of {@link #wrapTask(Runnable)}. */ protected abstract <T extends @Nullable Object> Callable<T> wrapTask(Callable<T> callable); /**
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Apr 04 09:45:04 UTC 2023 - 5.5K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/WrappingExecutorService.java
this.delegate = checkNotNull(delegate); } /** * Wraps a {@code Callable} for submission to the underlying executor. This method is also applied * to any {@code Runnable} passed to the default implementation of {@link #wrapTask(Runnable)}. */ protected abstract <T extends @Nullable Object> Callable<T> wrapTask(Callable<T> callable); /**
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Apr 04 09:45:04 UTC 2023 - 5.5K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/DefaultProviderTest.groovy
then: def t = thrown(RuntimeException) t == failure } def "infers value type from callable implementation"() { def provider = new DefaultProvider(callable) expect: provider.type == valueType where: callable | valueType new RawCallable() | null new StringCallable() | String
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Dec 15 20:21:32 UTC 2023 - 4.2K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/ChangingProvider.java
* * <h3>Configuration Cache Behavior</h3> * <b>Lazy</b>. The given {@link Callable} is stored to the cache so the value can be recomputed on each run. */ class ChangingProvider<T> extends DefaultProvider<T> { public <CALLABLE extends Callable<T> & Serializable> ChangingProvider(CALLABLE value) { super(value); } @Override protected String toStringNoReentrance() { return "changing(?)";
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sun Feb 04 21:04:56 UTC 2024 - 1.6K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/serialization/codecs/CallableCodecTest.kt
import org.junit.Test import java.util.concurrent.Callable class CallableCodecTest : AbstractFunctionalTypeTest() { @Test fun `defers evaluation of Callable objects`() { assertDeferredEvaluationOf(callable()) { call() } } @Test fun `defers evaluation of dynamic Callable fields`() { assertDeferredEvaluationOf(BeanOf(callable())) { value.call() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 1.4K bytes - Viewed (0) -
analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/scopeProvider/AbstractTypeScopeTest.kt
val callables = typeScope.getCallableSignatures().toList() return prettyPrint { callables.forEach { appendLine(stringRepresentation(it)) } } } private fun KaSession.prettyPrintForTests(typeScope: KaTypeScope): String { val callables = typeScope.getCallableSignatures().toList() return prettyPrint {
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 29 17:43:55 UTC 2024 - 5.5K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/SimpleTimeLimiter.java
@ParametricNullness private <T extends @Nullable Object> T callWithTimeout( Callable<T> callable, long timeoutDuration, TimeUnit timeoutUnit, boolean amInterruptible) throws Exception { checkNotNull(callable); checkNotNull(timeoutUnit); checkPositiveTimeout(timeoutDuration); Future<T> future = executor.submit(callable); try { return amInterruptible
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jun 27 14:21:11 UTC 2023 - 9.7K bytes - Viewed (0)