- Sort Score
- Num 10 results
- Language All
Results 371 - 380 of 4,419 for getC (0.03 seconds)
-
tests/test_starlette_exception.py
client = TestClient(app) def test_get_item(): response = client.get("/items/foo") assert response.status_code == 200, response.text assert response.json() == {"item": "The Foo Wrestlers"} def test_get_item_not_found(): response = client.get("/items/bar") assert response.status_code == 404, response.text assert response.headers.get("x-error") == "Some custom header"
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 08 10:18:38 GMT 2026 - 8.1K bytes - Click Count (0) -
tests/test_path.py
def test_text_get(): response = client.get("/text") assert response.status_code == 200, response.text assert response.json() == "Hello World" def test_nonexistent(): response = client.get("/nonexistent") assert response.status_code == 404, response.text assert response.json() == {"detail": "Not Found"} def test_path_foobar(): response = client.get("/path/foobar")
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 20.5K bytes - Click Count (2) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapGetTester.java
assertContains(multimap().get(null), getValueForNullKey()); } @MapFeature.Require(ALLOWS_NULL_KEY_QUERIES) public void testGetNullAbsent() { assertEmpty(multimap().get(null)); } @MapFeature.Require(absent = ALLOWS_NULL_KEY_QUERIES) public void testGetNullForbidden() { assertThrows(NullPointerException.class, () -> multimap().get(null)); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 5.7K bytes - Click Count (0) -
src/main/java/jcifs/util/transport/Request.java
* * @return whether this is a cancel request */ boolean isCancel(); /** * Gets the next request in the chain. * * @return chained request */ Request getNext(); /** * Gets the response for this request. * * @return the response for this request */ Response getResponse();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 1.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/sso/saml/SamlAuthenticatorTest.java
assertNotNull(defaultSettings.get("onelogin.saml2.security.nameid_encrypted")); assertNotNull(defaultSettings.get("onelogin.saml2.security.authnrequest_signed")); assertNotNull(defaultSettings.get("onelogin.saml2.security.logoutrequest_signed")); assertNotNull(defaultSettings.get("onelogin.saml2.security.logoutresponse_signed")); assertNotNull(defaultSettings.get("onelogin.saml2.security.want_messages_signed"));
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 18.4K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/create/LeaseV2CreateContextRequest.java
this.epoch = epoch; } @Override public byte[] getName() { return CONTEXT_NAME_BYTES; } /** * Gets the lease key for this V2 lease request * @return the lease key */ public Smb2LeaseKey getLeaseKey() { return leaseKey; } /** * Sets the lease key for this V2 lease requestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 02:21:31 GMT 2025 - 6.2K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java
@Override public int getInitialCredits() { return getCredit(); } /** * Gets the SMB dialect revision selected by the server. * * @return the dialectRevision */ public int getDialectRevision() { return this.dialectRevision; } /** * Gets the server GUID used for identification. * * @return the serverGuid */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 24K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapAsMapGetTester.java
Collection<V> result = multimap().asMap().get(k0()); result.add(v3()); assertContentsAnyOrder(multimap().get(k0()), v0(), v3()); } @CollectionSize.Require(absent = ZERO) @MapFeature.Require({SUPPORTS_REMOVE, SUPPORTS_PUT}) public void testPropagatesRemoveThenAddToMultimap() { int oldSize = getNumElements(); Collection<V> result = multimap().asMap().get(k0()); assertTrue(result.remove(v0()));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 5.1K bytes - Click Count (0) -
src/main/java/jcifs/CIFSContext.java
* {@link jcifs.context.CIFSContextWrapper} to get forward compatibility. * * @author mbechler * */ public interface CIFSContext { /** * Get a resource * * @param url the URL of the SMB resource * @return the SMB resource at the specified location * @throws CIFSException if the resource cannot be accessed */ SmbResource get(String url) throws CIFSException; /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java
// asserts that all get calling threads received the same value Object result = Iterables.getOnlyElement(finalResults); if (result == CancellationException.class) { assertTrue(future.isCancelled()); assertTrue(cancellationSuccess.get()); assertFalse(setFutureSuccess.get()); } else { assertTrue(setFutureSuccess.get()); assertFalse(cancellationSuccess.get());Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 45.2K bytes - Click Count (0)