- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 15 for Callable (0.05 seconds)
-
fastapi/routing.py
# dependencies' AsyncExitStack def request_response( func: Callable[[Request], Awaitable[Response] | Response], ) -> ASGIApp: """ Takes a function or coroutine `func(request) -> response`, and returns an ASGI application. """ f: Callable[[Request], Awaitable[Response]] = ( func # type: ignore[assignment] # ty: ignore[unused-ignore-comment]
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 15 11:44:39 GMT 2026 - 193K bytes - Click Count (0) -
fastapi/applications.py
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Apr 01 16:16:24 GMT 2026 - 178.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java
} public void testSubmit_callable_throwsException() { Exception exception = new Exception("Exception for testing"); Callable<Integer> callable = () -> { throw exception; }; ListenableFuture<Integer> future = submit(callable, directExecutor()); ExecutionException expected = assertThrows(ExecutionException.class, () -> getDone(future));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 134K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/FuturesTest.java
} public void testSubmit_callable_throwsException() { Exception exception = new Exception("Exception for testing"); Callable<Integer> callable = () -> { throw exception; }; ListenableFuture<Integer> future = submit(callable, directExecutor()); ExecutionException expected = assertThrows(ExecutionException.class, () -> getDone(future));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 134K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/ClosingFuture.java
* @param <U> the type returned by the function */ public interface ClosingFunction5< V1 extends @Nullable Object, V2 extends @Nullable Object, V3 extends @Nullable Object, V4 extends @Nullable Object, V5 extends @Nullable Object, U extends @Nullable Object> { /** * Applies this function to five inputs, or throws an exception if unable to do so. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 101.7K bytes - Click Count (0) -
src/main/webapp/js/bootstrap.min.js.map
}\n }\n }\n}\n\nfunction findHandler(events, callable, delegationSelector = null) {\n return Object.values(events)\n .find(event => event.callable === callable && event.delegationSelector === delegationSelector)\n}\n\nfunction normalizeParameters(originalTypeEvent, handler, delegationFunction) {\n const isDelegated = typeof handler === 'string'\n // TODO: tooltip passes `false` instead of selector, so we need to check\n const callable = isDelegated ? delegationFunction : (handler || ...
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 12 06:14:02 GMT 2025 - 211.9K bytes - Click Count (0) -
android/guava/src/com/google/common/cache/LocalCache.java
int nextSegmentIndex; int nextTableIndex; @Nullable Segment<K, V> currentSegment; @Nullable AtomicReferenceArray<ReferenceEntry<K, V>> currentTable; @Nullable ReferenceEntry<K, V> nextEntry; @Nullable WriteThroughEntry nextExternal; @Nullable WriteThroughEntry lastReturned; HashIterator() { nextSegmentIndex = segments.length - 1;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 143.5K bytes - Click Count (0) -
guava/src/com/google/common/cache/LocalCache.java
int nextSegmentIndex; int nextTableIndex; @Nullable Segment<K, V> currentSegment; @Nullable AtomicReferenceArray<ReferenceEntry<K, V>> currentTable; @Nullable ReferenceEntry<K, V> nextEntry; @Nullable WriteThroughEntry nextExternal; @Nullable WriteThroughEntry lastReturned; HashIterator() { nextSegmentIndex = segments.length - 1;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 148.9K bytes - Click Count (0) -
guava/src/com/google/common/collect/Maps.java
} @Override public boolean containsKey(@Nullable Object key) { return backingSet().contains(key); } @Override public @Nullable V get(@Nullable Object key) { return getOrDefault(key, null); } @Override public @Nullable V getOrDefault(@Nullable Object key, @Nullable V defaultValue) { if (Collections2.safeContains(backingSet(), key)) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 163.4K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Maps.java
} private static <K extends @Nullable Object, V extends @Nullable Object> @Nullable Entry<K, V> unmodifiableOrNull(@Nullable Entry<K, ? extends V> entry) { return (entry == null) ? null : unmodifiableEntry(entry); } @GwtIncompatible // NavigableMap private static final class UnmodifiableNavigableMap< K extends @Nullable Object, V extends @Nullable Object>
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 157.6K bytes - Click Count (0)