- Sort Score
- Num 10 results
- Language All
Results 81 - 90 of 974 for callable (0.09 seconds)
-
android/guava/src/com/google/common/util/concurrent/AbstractScheduledService.java
public CustomScheduler() {} /** A callable class that can reschedule itself using a {@link CustomScheduler}. */ private final class ReschedulableCallable implements Callable<@Nullable Void> { /** The underlying task. */ private final Runnable wrappedRunnable; /** The executor on which this Callable will be scheduled. */ private final ScheduledExecutorService executor;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 27.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java
fakeTicker = new FakeTicker(); } @Test public void loader() throws ExecutionException { Cache<Integer, Integer> cache = CacheBuilder.newBuilder().build(); Callable<Integer> loader = new Callable<Integer>() { private int i = 0; @Override public Integer call() throws Exception { return ++i; } }; cache.put(0, 10);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 30 22:03:28 GMT 2025 - 14.8K bytes - Click Count (0) -
fastapi/openapi/models.py
from collections.abc import Iterable, Mapping from enum import Enum from typing import Annotated, Any, Callable, Optional, Union from fastapi._compat import with_info_plain_validator_function from fastapi.logger import logger from pydantic import ( AnyUrl, BaseModel, Field, GetJsonSchemaHandler, ) from typing_extensions import Literal, TypedDict from typing_extensions import deprecated as typing_deprecated try:
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 12:54:56 GMT 2025 - 15.1K bytes - Click Count (0) -
android/guava/src/com/google/common/cache/AbstractCache.java
import com.google.common.annotations.GwtCompatible; import com.google.common.collect.ImmutableMap; import java.util.LinkedHashMap; import java.util.Map; import java.util.Map.Entry; import java.util.concurrent.Callable; import java.util.concurrent.ConcurrentMap; import java.util.concurrent.ExecutionException; /** * This class provides a skeletal implementation of the {@code Cache} interface to minimize theCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 9.1K bytes - Click Count (0) -
guava/src/com/google/common/cache/AbstractCache.java
import com.google.common.annotations.GwtCompatible; import com.google.common.collect.ImmutableMap; import java.util.LinkedHashMap; import java.util.Map; import java.util.Map.Entry; import java.util.concurrent.Callable; import java.util.concurrent.ConcurrentMap; import java.util.concurrent.ExecutionException; /** * This class provides a skeletal implementation of the {@code Cache} interface to minimize theCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 9.1K bytes - Click Count (0) -
android/guava/src/com/google/common/cache/CacheStats.java
import static java.lang.Math.max; import com.google.common.annotations.GwtCompatible; import com.google.common.base.MoreObjects; import java.util.Objects; import java.util.concurrent.Callable; import org.jspecify.annotations.Nullable; /** * Statistics about the performance of a {@link Cache}. Instances of this class are immutable. * * <p>Cache statistics are incremented according to the following rules: * * <ul>Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 12.6K bytes - Click Count (0) -
guava/src/com/google/common/cache/CacheStats.java
import static java.lang.Math.max; import com.google.common.annotations.GwtCompatible; import com.google.common.base.MoreObjects; import java.util.Objects; import java.util.concurrent.Callable; import org.jspecify.annotations.Nullable; /** * Statistics about the performance of a {@link Cache}. Instances of this class are immutable. * * <p>Cache statistics are incremented according to the following rules: * * <ul>Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 12.6K bytes - Click Count (0) -
docs/de/docs/advanced/advanced-dependencies.md
Aber wir wollen diesen vordefinierten Inhalt per Parameter festlegen können. ## Eine „aufrufbare“ Instanz { #a-callable-instance } In Python gibt es eine Möglichkeit, eine Instanz einer Klasse <abbr title="Englisch „callable“">„aufrufbar“</abbr> zu machen. Nicht die Klasse selbst (die bereits aufrufbar ist), sondern eine Instanz dieser Klasse. Dazu deklarieren wir eine Methode `__call__`:Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Dec 02 17:32:56 GMT 2025 - 10.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/graph/ValueGraphTest.java
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 07 15:57:03 GMT 2025 - 18.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/CacheExpirationTest.java
CacheTesting.drainRecencyQueues(cache); ticker.advance(1, MILLISECONDS); assertThat(keySet).containsExactly(2, 3, 4, 5, 6, 7, 8, 9, 0); // get(K, Callable) doesn't stop 2 from expiring Integer unused = cache.get(2, Callables.returning(-2)); CacheTesting.drainRecencyQueues(cache); ticker.advance(1, MILLISECONDS); assertThat(keySet).containsExactly(3, 4, 5, 6, 7, 8, 9, 0);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 30 22:03:28 GMT 2025 - 19.2K bytes - Click Count (0)