- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 67 for infer (0.04 seconds)
-
docs/en/docs/advanced/custom-response.md
* `path` - The file path to the file to stream. * `headers` - Any custom headers to include, as a dictionary. * `media_type` - A string giving the media type. If unset, the filename or path will be used to infer a media type. * `filename` - If set, this will be included in the response `Content-Disposition`. File responses will include appropriate `Content-Length`, `Last-Modified` and `ETag` headers.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 11K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/MultimapsTest.java
} @J2ktIncompatible // Synchronized public void testSynchronizedMultimapSampleCodeCompilation() { // Extra indirection for J2KT, to avoid error: not enough information to infer type variable K this.<@Nullable Object, @Nullable Object>genericTestSynchronizedMultimapSampleCodeCompilation(); } @J2ktIncompatible // Synchronized
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 39.2K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/AbstractFuture.java
} /** Unblocks all threads and runs all listeners. */ private static void complete(AbstractFuture<?> param, boolean callInterruptTask) { // Declare a "true" local variable so that the Checker Framework will infer nullness. @RetainedLocalRef AbstractFuture<?> future = param; @RetainedLocalRef Listener next = null; outer: while (true) { future.releaseWaiters(); /*
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 14:39:00 GMT 2026 - 43.6K bytes - Click Count (0) -
android/guava/src/com/google/common/reflect/TypeToken.java
* code. * * @param formalType is {@code Foo<formalType>} a supertype of {@code Foo<T>}? * @param declaration The type variable in the context of a parameterized type. Used to infer type * bound when {@code formalType} is a wildcard with implicit upper bound. */ private boolean is(Type formalType, TypeVariable<?> declaration) { if (runtimeType.equals(formalType)) { return true;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 22:14:05 GMT 2026 - 53.8K bytes - Click Count (0) -
doc/go_spec.html
From (1) a compiler can infer that the type argument for <code>S</code> is <code>Slice</code>. Similarly, because the underlying type of <code>Slice</code> is <code>[]int</code> and <code>[]int</code> must match <code>[]E</code> of the constraint, a compiler can infer that <code>E</code> must be <code>int</code>. Thus, for these two equations, type inference infers </p> <pre> S ➞ Slice E ➞ int
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Wed Apr 01 23:39:18 GMT 2026 - 287.8K bytes - Click Count (1) -
RELEASE.md
be used with [`tf.keras.layers.Embedding`](https://www.tensorflow.org/api_docs/python/tf/keras/layers/Embedding) with `mask_zero=True` to automatically infer a correct padding mask. * Added a `use_causal_mask` call time argument to the layer. Passing `use_causal_mask=True` will compute a causal attention mask, andCreated: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Mon Mar 30 18:31:38 GMT 2026 - 746.5K bytes - Click Count (3) -
android/guava-tests/test/com/google/common/util/concurrent/SettableFutureTest.java
async.cancel(true); assertTrue(inner.isCancelled()); assertTrue(inner.wasInterrupted()); assertThrows(CancellationException.class, inner::get); } public void testCancel_resultCancelsInner() throws Exception { SettableFuture<Object> async = SettableFuture.create(); SettableFuture<Object> inner = SettableFuture.create(); async.setFuture(inner); async.cancel(false);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 7.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/SettableFutureTest.java
async.cancel(true); assertTrue(inner.isCancelled()); assertTrue(inner.wasInterrupted()); assertThrows(CancellationException.class, inner::get); } public void testCancel_resultCancelsInner() throws Exception { SettableFuture<Object> async = SettableFuture.create(); SettableFuture<Object> inner = SettableFuture.create(); async.setFuture(inner); async.cancel(false);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 7.4K bytes - Click Count (0) -
tests/test_strict_content_type_nested.py
assert response.status_code == 200 # Strict app -> lax outer router -> strict inner router app_mixed = FastAPI(strict_content_type=True) mixed_outer = APIRouter(prefix="/outer", strict_content_type=False) mixed_inner = APIRouter(prefix="/inner", strict_content_type=True) @mixed_outer.post("/items/") async def mixed_outer_post(data: dict): return data
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Mon Feb 23 17:45:20 GMT 2026 - 2.7K bytes - Click Count (0) -
tests/test_custom_middleware_exception.py
self.app = app self.max_content_size = max_content_size def receive_wrapper(self, receive): received = 0 async def inner(): nonlocal received message = await receive() if message["type"] != "http.request": return message # pragma: no coverCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 2.8K bytes - Click Count (0)