- Sort Score
- Num 10 results
- Language All
Results 951 - 960 of 4,243 for getZ (0.3 seconds)
-
tests/test_security_oauth2_optional.py
return form_data @app.get("/users/me") def read_users_me(current_user: Optional[User] = Depends(get_current_user)): if current_user is None: return {"msg": "Create an account first"} return current_user client = TestClient(app) def test_security_oauth2(): response = client.get("/users/me", headers={"Authorization": "Bearer footokenbar"})Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 8.9K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/Helpers.java
* <li><i>consistency</i>: {@code comparator.compare(ti, tj) < 0} and {@code * comparator.compare(tj, ti) > 0} for {@code i < j}, where {@code ti = * valuesInExpectedOrder.get(i)} and {@code tj = valuesInExpectedOrder.get(j)}. * </ul> */ public static <T extends @Nullable Object> void testComparator( Comparator<? super T> comparator, List<T> valuesInExpectedOrder) {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Oct 10 23:13:45 GMT 2025 - 17.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/service/KuromojiService.java
} /** * Get a Kuromoji item. * * @param dictId The dictionary ID. * @param id The ID of the Kuromoji item. * @return An optional entity of the Kuromoji item. */ public OptionalEntity<KuromojiItem> getKuromojiItem(final String dictId, final long id) { return getKuromojiFile(dictId).map(file -> file.get(id).get()); } /** * Store a Kuromoji item.Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 4.1K bytes - Click Count (0) -
tests/test_tutorial/test_path_params/test_tutorial003b.py
client = TestClient(app) def test_get_users(): response = client.get("/users") assert response.status_code == 200, response.text assert response.json() == ["Rick", "Morty"] def test_read_users2(): # Just for coverage assert asyncio.run(read_users2()) == ["Bean", "Elfo"] def test_openapi_schema(): response = client.get("/openapi.json") assert response.status_code == 200, response.text
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Dec 26 10:43:02 GMT 2025 - 1.3K bytes - Click Count (0) -
mockwebserver/src/main/kotlin/mockwebserver3/internal/MockWebServerSocket.kt
} } }.buffer() val localAddress: InetAddress get() = javaNetSocket.localAddress val localPort: Int get() = javaNetSocket.localPort val scheme: String get() = when (javaNetSocket) { is SSLSocket -> "https" else -> "http" } val handshake: Handshake? get() = (javaNetSocket as? SSLSocket)?.session?.handshake()Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Thu Jul 31 04:18:40 GMT 2025 - 3.3K bytes - Click Count (0) -
docs_src/path_params_numeric_validations/tutorial005_an_py39.py
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Mar 18 12:29:59 GMT 2023 - 331 bytes - Click Count (0) -
tests/test_return_none_stringified_annotations.py
from fastapi import FastAPI from fastapi.testclient import TestClient def test_no_content(): app = FastAPI() @app.get("/no-content", status_code=http.HTTPStatus.NO_CONTENT) def return_no_content() -> "None": return client = TestClient(app) response = client.get("/no-content") assert response.status_code == http.HTTPStatus.NO_CONTENT, response.text
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Sep 20 18:44:43 GMT 2025 - 431 bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/ListenableFutureTask.java
@ParametricNullness public V get(long timeout, TimeUnit unit) throws TimeoutException, InterruptedException, ExecutionException { long timeoutNanos = unit.toNanos(timeout); if (timeoutNanos <= OverflowAvoidingLockSupport.MAX_NANOSECONDS_THRESHOLD) { return super.get(timeout, unit); } // Waiting 68 years should be enough for any program. return super.get(Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 4.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/graph/NetworkMutationTest.java
assertThat(network.removeNode(nodeList.get(i))).isTrue(); } assertThat(network.nodes()).hasSize(NUM_NODES - numNodesToRemove); // Number of edges remaining is unknown (node's incident edges have been removed). AbstractNetworkTest.validateNetwork(network); for (int i = numNodesToRemove; i < NUM_NODES; ++i) { assertThat(network.removeNode(nodeList.get(i))).isTrue(); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 4.6K bytes - Click Count (0) -
src/test/java/org/codelibs/core/collection/SLinkedListTest.java
*/ @Test public void testGet() throws Exception { list.addLast("1"); list.addLast("2"); list.addLast("3"); assertThat(list.get(0), is("1")); assertThat(list.get(1), is("2")); assertThat(list.get(2), is("3")); } /** * @throws Exception */ @Test public void testSerialize() throws Exception { list.addLast("1");Created: Sat Dec 20 08:55:33 GMT 2025 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 8.3K bytes - Click Count (0)