- Sort Score
- Num 10 results
- Language All
Results 171 - 180 of 1,344 for calls (0.02 seconds)
-
tests/test_dump_json_fast_path.py
client = TestClient(app) def test_default_response_class_skips_json_dumps(): """When no response_class is set, the fast path serializes directly to JSON bytes via Pydantic's dump_json and never calls json.dumps.""" with patch( "starlette.responses.json.dumps", wraps=__import__("json").dumps ) as mock_dumps: response = client.get("/default") assert response.status_code == 200
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 22 16:07:19 GMT 2026 - 1.4K bytes - Click Count (0) -
internal/rest/rpc-stats.go
type RPCStats struct { Errs uint64 DialAvgDuration uint64 TTFBAvgDuration uint64 DialErrs uint64 } // GetRPCStats returns RPC stats, include calls errors and dhcp/tcp metrics func GetRPCStats() RPCStats { s := RPCStats{ Errs: atomic.LoadUint64(&globalStats.errs), DialErrs: atomic.LoadUint64(&globalStats.tcpDialErrs), }Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Aug 13 18:21:34 GMT 2024 - 2.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/auth/chain/AuthenticationChainTest.java
chain.updateThrowsException = false; chain.update(null); assertEquals(1, chain.updateCalls.size()); assertNull(chain.updateCalls.get(0)); } // Test update with multiple calls @Test public void test_update_multipleCalls() { TestAuthenticationChain chain = new TestAuthenticationChain(); User user1 = createTestUser("user1", "User One");Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 14.8K bytes - Click Count (0) -
docs/metrics/prometheus/list.md
| `minio_inter_node_traffic_dial_avg_time` | Average time of internodes TCP dial calls. | | `minio_inter_node_traffic_dial_errors` | Total number of internode TCP dial timeouts and errors. | | `minio_inter_node_traffic_errors_total` | Total number of failed internode calls. | | `minio_inter_node_traffic_received_bytes` | Total number of bytes received from other peer nodes. |
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Aug 12 18:20:36 GMT 2025 - 43.4K bytes - Click Count (0) -
apache-maven/src/site/apt/index.apt.vm
${project.name} ----- Hervé Boutemy ----- 2021-07-11 ----- ${project.name} ${project.description} * References * <<<mvn>>> invocation can be customized through pre-invocation script calls, that can be disabled by setting <<<MAVEN_SKIP_RC>>> environment variable: *----------+--------------------------------------------+-----------------------+ || || system level || user levelCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Aug 20 00:26:03 GMT 2021 - 1.9K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListGetTester.java
@SuppressWarnings("JUnit4ClassUsedInJUnit3") public class ListGetTester<E> extends AbstractListTester<E> { public void testGet_valid() { // This calls get() on each index and checks the result: expectContents(createOrderedArray()); } public void testGet_negative() { assertThrows(IndexOutOfBoundsException.class, () -> getList().get(-1)); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 1.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/graph/InvalidatableSetTest.java
// sanity check on construction of copyOfModifiedSet assertThat(wrappedSet).isEqualTo(copyOfModifiedSet); // setToTest should throw when it calls equals(), or equals is called on it, except for itself assertThat(setToTest).isEqualTo(setToTest); assertThrows(IllegalStateException.class, () -> setToTest.equals(wrappedSet));Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 2.2K bytes - Click Count (0) -
docs/en/docs/tutorial/testing.md
{* ../../docs_src/app_testing/tutorial001_py310.py hl[2,12,15:18] *} /// tip Notice that the testing functions are normal `def`, not `async def`. And the calls to the client are also normal calls, not using `await`. This allows you to use `pytest` directly without complications. /// /// note | Technical Details You could also use `from starlette.testclient import TestClient`.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 5.7K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcSamrOpenDomainTest.java
// Since SamrOpenDomain's constructor is called, we implicitly test that the arguments // are passed up. Mockito cannot directly verify super() calls without PowerMock, // which is not ideal for simple constructor tests. // The primary responsibility of this constructor is setting ptype and flags, // which are directly verifiable. }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 1.7K bytes - Click Count (0) -
src/test/java/jcifs/smb/SSPContextTest.java
ctx.verifyMIC(new byte[] { 5 }, mic); ctx.isMICAvailable(); ctx.dispose(); } @Test @DisplayName("Verifies calls and argument flow across methods") void testInteractions() throws Exception { // Arrange when(mockCtx.getSigningKey()).thenReturn(new byte[] { 7 });
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.2K bytes - Click Count (0)