- Sort Score
- Result 10 results
- Languages All
Results 511 - 520 of 3,996 for get3 (0.02 sec)
-
tests/test_additional_responses_bad.py
from fastapi.testclient import TestClient app = FastAPI() @app.get("/a", responses={"hello": {"description": "Not a valid additional response"}}) async def a(): pass # pragma: no cover openapi_schema = { "openapi": "3.1.0", "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/a": { "get": { "responses": {
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 1.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/CollectorTester.java
enum CollectStrategy { /** Get one accumulator and accumulate the elements into it sequentially. */ SEQUENTIAL { @Override final <T extends @Nullable Object, A extends @Nullable Object, R extends @Nullable Object> A result(Collector<T, A, R> collector, Iterable<T> inputs) { A accum = collector.supplier().get(); for (T input : inputs) {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 16 22:01:32 UTC 2025 - 6.8K bytes - Viewed (0) -
cmd/config-dir.go
err = nil } } return err } func getConfigFile() string { return filepath.Join(globalConfigDir.Get(), minioConfigFile) } func getPublicCertFile() string { return filepath.Join(globalCertsDir.Get(), publicCertFile) } func getPrivateKeyFile() string { return filepath.Join(globalCertsDir.Get(), privateKeyFile)
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Jan 02 17:15:06 UTC 2022 - 3K bytes - Viewed (0) -
guava/src/com/google/common/hash/Murmur3_128HashFunction.java
k2 ^= (long) toUnsignedInt(bb.get(14)) << 48; // fall through case 14: k2 ^= (long) toUnsignedInt(bb.get(13)) << 40; // fall through case 13: k2 ^= (long) toUnsignedInt(bb.get(12)) << 32; // fall through case 12: k2 ^= (long) toUnsignedInt(bb.get(11)) << 24; // fall through case 11: k2 ^= (long) toUnsignedInt(bb.get(10)) << 16; // fall through case 10:
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Apr 14 16:36:11 UTC 2025 - 5.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/pager/DuplicateHostPager.java
* * @return the default current page number (1) */ protected int getDefaultCurrentPageNumber() { return DEFAULT_CURRENT_PAGE_NUMBER; } /** * Gets the total number of records across all pages. * * @return the total record count */ public int getAllRecordCount() { return allRecordCount; } /**Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 7.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java
assertThat(multimap.keySet()).containsExactly("a", "b", "c").inOrder(); assertThat(multimap.values()).containsExactly(1, 3, 2, 4).inOrder(); assertThat(multimap.get("a")).containsExactly(1, 3).inOrder(); assertThat(multimap.get("b")).containsExactly(2); assertThat(multimap.get("c")).containsExactly(4); } public void testEmptyMultimapReads() { ImmutableListMultimap<String, Integer> multimap = ImmutableListMultimap.of();
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 24K bytes - Viewed (0) -
tests/test_validate_response.py
name: str price: Optional[float] = None owner_ids: Optional[list[int]] = None @app.get("/items/invalid", response_model=Item) def get_invalid(): return {"name": "invalid", "price": "foo"} @app.get("/items/invalidnone", response_model=Item) def get_invalid_none(): return None @app.get("/items/validnone", response_model=Union[Item, None]) def get_valid_none(send_none: bool = False):Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 21:25:59 UTC 2025 - 2K bytes - Viewed (0) -
tests/test_security_http_basic_optional.py
security = HTTPBasic(auto_error=False) @app.get("/users/me") def read_current_user(credentials: Optional[HTTPBasicCredentials] = Security(security)): if credentials is None: return {"msg": "Create an account first"} return {"username": credentials.username, "password": credentials.password} client = TestClient(app) def test_security_http_basic(): response = client.get("/users/me", auth=("john", "secret"))
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 24 19:03:06 UTC 2025 - 2.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/sso/SsoAuthenticator.java
/** * Gets the login credential for SSO authentication. * @return The login credential. */ LoginCredential getLoginCredential(); /** * Resolves credential using the provided resolver. * @param resolver The login credential resolver. */ void resolveCredential(LoginCredentialResolver resolver); /**Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 2.2K bytes - Viewed (1) -
src/test/java/jcifs/util/ResourceManagerTest.java
assertNotNull(stats); assertTrue((long) stats.get("totalAllocated") >= 2); assertTrue((long) stats.get("totalReleased") >= 1); assertNotNull(stats.get("activeResources")); assertNotNull(stats.get("closedResources")); } @Test @DisplayName("Test get active resources") void testGetActiveResources() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 8.9K bytes - Viewed (0)