- Sort Score
- Num 10 results
- Language All
Results 2971 - 2980 of 4,168 for get (0.02 seconds)
-
docs_src/security/tutorial003_py310.py
raise HTTPException(status_code=400, detail="Inactive user") return current_user @app.post("/token") async def login(form_data: OAuth2PasswordRequestForm = Depends()): user_dict = fake_users_db.get(form_data.username) if not user_dict: raise HTTPException(status_code=400, detail="Incorrect username or password") user = UserInDB(**user_dict) hashed_password = fake_hash_password(form_data.password)
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Mon Nov 24 19:03:06 GMT 2025 - 2.4K bytes - Click Count (0) -
RELEASE.md
* `tf.tpu.experimental.embedding.TPUEmbeddingV2` * Add `compute_sparse_core_stats` for sparse core users to profile the data with this API to get the `max_ids` and `max_unique_ids`. These numbers will be needed to configure the sparse core embedding mid level api. * Remove the `preprocess_features` method since that's no longer needed. ## Thanks to our ContributorsCreated: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Mon Mar 30 18:31:38 GMT 2026 - 746.5K bytes - Click Count (3) -
guava-tests/test/com/google/common/collect/AbstractRangeSetTest.java
List<Range<C>> asRanges = ImmutableList.copyOf(rangeSet.asRanges()); // test that connected ranges are coalesced for (int i = 0; i + 1 < asRanges.size(); i++) { Range<C> range1 = asRanges.get(i); Range<C> range2 = asRanges.get(i + 1); assertFalse(range1.isConnected(range2)); } // test that there are no empty ranges for (Range<C> range : asRanges) { assertFalse(range.isEmpty()); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 2.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/TransposedTableTest.java
original.put(1, "foo", 'a'); assertEquals((Character) 'a', transpose.get("foo", 1)); } public void testPutTransposeModifiesOriginal() { Table<Integer, String, Character> original = HashBasedTable.create(); Table<String, Integer, Character> transpose = transpose(original); transpose.put("foo", 1, 'a'); assertEquals((Character) 'a', original.get(1, "foo")); } public void testTransposedViews() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 2.9K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/transform/warnings/RemoveWarnings.java
this.testName = testName; } @Override public void transformTest(ObjectNode doNodeParent) { ObjectNode doNodeValue = (ObjectNode) doNodeParent.get(getKeyToFind()); ArrayNode arrayWarnings = (ArrayNode) doNodeValue.get("warnings"); if (arrayWarnings == null) { return; } List<String> keepWarnings = new ArrayList<>();Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Thu Jul 15 08:50:42 GMT 2021 - 2.9K bytes - Click Count (0) -
.teamcity/scripts/CheckWrapper.java
Future<String> outFuture = readStreamAsync(p.getInputStream()); Future<String> errFuture = readStreamAsync(p.getErrorStream()); int code = p.waitFor(); String out = outFuture.get(); String err = errFuture.get(); return new ExecResult(code, out, err); } private static Future<String> readStreamAsync(InputStream inputStream) {
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Tue Jan 20 03:53:25 GMT 2026 - 6.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/eventbus/outside/OutsideEventBusTest.java
} }); String EVENT = "Hello!"; bus.post(EVENT); assertEquals("Only one event should be delivered.", 1, deliveries.get()); assertWithMessage("Correct string should be delivered.").that(holder.get()).isEqualTo(EVENT); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 1.9K bytes - Click Count (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/KotlinModifiersBreakingChangeRule.groovy
return null } JApiMethod method = (JApiMethod) member def metadata = KotlinMetadataQueries.INSTANCE def oldMethod = method.oldMethod.get() def newMethod = method.newMethod.get() def oldIsOperator = metadata.isKotlinOperatorFunction(oldMethod) def newIsOperator = metadata.isKotlinOperatorFunction(newMethod)Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Oct 06 19:15:15 GMT 2022 - 2.4K bytes - Click Count (0) -
docs_src/security/tutorial003_an_py310.py
raise HTTPException(status_code=400, detail="Inactive user") return current_user @app.post("/token") async def login(form_data: Annotated[OAuth2PasswordRequestForm, Depends()]): user_dict = fake_users_db.get(form_data.username) if not user_dict: raise HTTPException(status_code=400, detail="Incorrect username or password") user = UserInDB(**user_dict) hashed_password = fake_hash_password(form_data.password)
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Mon Nov 24 19:03:06 GMT 2025 - 2.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainFinallyHookTest.java
}; FwAssistantDirector assistantDirector = createMockAssistantDirector(); customHook.hook(assistantDirector); // Verify that exception was handled assertTrue(exceptionHandled.get()); } // Test with a custom ClassLoader to simulate class availability @Test public void test_hook_withCustomClassLoader() throws Exception {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 8.7K bytes - Click Count (0)