- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 7,625 for expect (1.26 sec)
-
guava-tests/test/com/google/common/cache/LocalCacheMapComputeTest.java
.expireAfterAccess(500000, MILLISECONDS) .maximumSize(count) .build(); } public void testComputeIfAbsent() { // simultaneous insertion for same key, expect 1 winner doParallelCacheOp( count, n -> { cache.asMap().computeIfAbsent(key, k -> "value" + n); }); assertThat(cache.size()).isEqualTo(1); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 30 22:03:28 UTC 2025 - 7K bytes - Viewed (0) -
docs/en/docs/tutorial/body-nested-models.md
### Use the submodel as a type { #use-the-submodel-as-a-type } And then we can use it as the type of an attribute: {* ../../docs_src/body_nested_models/tutorial004_py310.py hl[18] *} This would mean that **FastAPI** would expect a body similar to: ```JSON { "name": "Foo", "description": "The pretender", "price": 42.0, "tax": 3.2, "tags": ["rock", "metal", "bar"], "image": {Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 6.7K bytes - Viewed (0) -
docs/en/docs/tutorial/request-files.md
* It exposes an actual Python <a href="https://docs.python.org/3/library/tempfile.html#tempfile.SpooledTemporaryFile" class="external-link" target="_blank">`SpooledTemporaryFile`</a> object that you can pass directly to other libraries that expect a file-like object. ### `UploadFile` { #uploadfile } `UploadFile` has the following attributes: * `filename`: A `str` with the original file name that was uploaded (e.g. `myimage.jpg`).
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 7.3K bytes - Viewed (0) -
tests/sql_builder_test.go
execStmt := dryRunDB.Exec("WHERE (pizza = ? AND (size = ? OR size = ?)) OR (pizza = ? AND size = ?)", "pepperoni", "small", "medium", "hawaiian", "xlarge").Statement result := DB.Dialector.Explain(stmt.SQL.String(), stmt.Vars...) expects := DB.Dialector.Explain(execStmt.SQL.String(), execStmt.Vars...) if !strings.HasSuffix(result, expects) { t.Errorf("expects: %v, got %v", expects, result) }Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Mon Jul 21 02:46:58 UTC 2025 - 16.7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbFileTest.java
// Test parent of root - currently throws NPE due to bug in SmbFile.getParent() // when authority is null. This is a known issue in the legacy implementation. // For now, we expect the NPE to maintain backward compatibility assertThrows(NullPointerException.class, () -> new SmbFile("smb1://").getParent()); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/ArrayMapTest.java
} /** * Test method for {@link org.seasar.util.collection.ArrayIterator#remove()} * . */ @Test public void testArrayIteratorRemoveException() { exception.expect(ClIllegalStateException.class); exception.expectMessage(is("last == -1")); ArrayMap<String, String> m = new ArrayMap<String, String>(); Iterator<Map.Entry<String, String>> i = m.entrySet().iterator();Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 10.7K bytes - Viewed (0) -
src/test/java/org/codelibs/core/net/MimeTypeUtilTest.java
} /** * Test method for * {@link org.codelibs.core.net.MimeTypeUtil#guessContentType(String)} . */ @Test public void testGuessContentType() { exception.expect(EmptyArgumentException.class); exception.expectMessage(is("[ECL0010]argument[path] is null or empty string.")); MimeTypeUtil.guessContentType(null); }Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 2.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbPipeHandleImplTest.java
void testUnwrap() { // Happy path: unwrap to concrete type SmbPipeHandleImpl unwrapped = target.unwrap(SmbPipeHandleImpl.class); assertSame(target, unwrapped); // Incompatible type: expect ClassCastException class OtherPipeHandle implements SmbPipeHandle { @Override public SmbPipeResource getPipe() { return mock(SmbPipeResource.class); }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.7K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/publicsuffix/PublicSuffixList.kt
/** * Basic I/O for `PublicSuffixDatabase.list` */ internal interface PublicSuffixList { fun ensureLoaded() val bytes: ByteString val exceptionBytes: ByteString companion object }Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue May 27 22:00:49 UTC 2025 - 929 bytes - Viewed (0) -
docs/en/docs/advanced/behind-a-proxy.md
```JSON { "message": "Hello World", "root_path": "/api/v1" } ``` So, it won't expect to be accessed at `http://127.0.0.1:8000/api/v1/app`. Uvicorn will expect the proxy to access Uvicorn at `http://127.0.0.1:8000/app`, and then it would be the proxy's responsibility to add the extra `/api/v1` prefix on top.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 16.4K bytes - Viewed (0)