- Sort Score
- Num 10 results
- Language All
Results 1171 - 1180 of 3,527 for getC (0.06 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
tests/test_security_scopes_sub_dependency.py
call_counts["get_user_items"] += 1 return { "user_items": f"user_items_{call_counts['get_user_items']}", "user_me": user_me, } app = FastAPI() @app.get("/") def path_operation( user_me: Annotated[dict, Depends(get_user_me)], user_items: Annotated[dict, Security(get_user_items, scopes=["items"])], ): return { "user_me": user_me,
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 2.9K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/google/AbstractMultimapTester.java
assertEqualIgnoringOrder(values, multimap().get(key)); if (!values.isEmpty()) { assertEqualIgnoringOrder(values, multimap().asMap().get(key)); assertFalse(multimap().isEmpty()); } else { assertNull(multimap().asMap().get(key)); } assertEquals(values.size(), multimap().get(key).size()); assertEquals(values.size() > 0, multimap().containsKey(key));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 6.1K bytes - Click Count (0) -
src/test/java/jcifs/smb/StaticJAASConfigurationTest.java
// Assert assertNotNull(returned, "Returned options should not be null"); assertEquals("true", returned.get("useKeyTab")); assertEquals("true", returned.get("storeKey")); assertEquals("******@****.***", returned.get("principal")); // Ensure no unexpected extra options assertEquals(3, returned.size(), "Only provided options are expected"); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/transform/match/ReplaceKeyInMatch.java
return "match"; } @Override public void transformTest(ObjectNode matchParent) { ObjectNode matchNode = (ObjectNode) matchParent.get(getKeyToFind()); JsonNode previousValue = matchNode.get(requiredChildKey()); matchNode.remove(requiredChildKey()); matchNode.set(getNewChildKey(), previousValue); }
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 1.4K bytes - Click Count (0) -
docs_src/response_model/tutorial005_py310.py
"description": "There goes my baz", "price": 50.2, "tax": 10.5, }, } @app.get( "/items/{item_id}/name", response_model=Item, response_model_include={"name", "description"}, ) async def read_item_name(item_id: str): return items[item_id] @app.get("/items/{item_id}/public", response_model=Item, response_model_exclude={"tax"}) async def read_item_public_data(item_id: str):
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Jan 07 14:11:31 GMT 2022 - 816 bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t10/ProjectInheritanceTest.java
assertFalse(map.isEmpty(), "No Artifacts"); assertTrue(map.size() == 3, "Set size should be 3, is " + map.size()); Artifact a = (Artifact) map.get("maven-test:t10-a"); Artifact b = (Artifact) map.get("maven-test:t10-b"); Artifact c = (Artifact) map.get("maven-test:t10-c"); assertNotNull(a); assertNotNull(b); assertNotNull(c); // inherited from depMgmt
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jul 23 17:27:08 GMT 2025 - 3.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/storage/ApiAdminStorageAction.java
} return null; } // GET /api/admin/storage/download/{id}/ /** * Downloads a file from storage. * @param id The ID of the file to download. * @return A StreamResponse containing the file content. */ @Execute public StreamResponse get$download(final String id) { final PathInfo pi = convertToItem(id);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 6.9K bytes - Click Count (0) -
okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/SimpleIdnaMappingTable.kt
val type: Int, val mappedTo: ByteString, ) { val section: Int get() = sourceCodePoint0 and 0x1fff80 val rangeStart: Int get() = sourceCodePoint0 and 0x7f val hasSingleSourceCodePoint: Boolean get() = sourceCodePoint0 == sourceCodePoint1 val spansSections: Boolean get() = (sourceCodePoint0 and 0x1fff80) != (sourceCodePoint1 and 0x1fff80)Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 6.9K bytes - Click Count (0) -
src/test/java/jcifs/http/NtlmHttpFilterTest.java
when(filterConfig.getInitParameterNames()).thenReturn(Collections.enumeration(initParams.keySet())); when(filterConfig.getInitParameter(anyString())).thenAnswer(invocation -> initParams.get(invocation.getArgument(0))); assertDoesNotThrow(() -> filter.init(filterConfig)); } @Test void testInit_withMinimalConfig() throws ServletException {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 12.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/primitives/ImmutableIntArrayTest.java
assertThat(iia.get(0)).isEqualTo(0); assertThat(iia.get(2)).isEqualTo(3); assertThat(iia.subArray(1, 3).get(1)).isEqualTo(3); } public void testGet_bad() { ImmutableIntArray iia = ImmutableIntArray.of(0, 1, 3); assertThrows(IndexOutOfBoundsException.class, () -> iia.get(-1)); assertThrows(IndexOutOfBoundsException.class, () -> iia.get(3));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 20.2K bytes - Click Count (0)