- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 497 for succeeds (0.12 seconds)
-
okhttp/src/jvmTest/kotlin/okhttp3/FastFallbackTest.kt
serverIpv4.enqueue( MockResponse(body = "this was the 2nd request on IPv4"), ) serverIpv6.enqueue( MockResponse(body = "unexpected call to IPv6"), ) // Confirm the retry succeeds on the same connection. val call = client.newCall(Request(url)) val response = call.execute() assertThat(response.body.string()).isEqualTo("this was the 2nd request on IPv4")
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Nov 04 19:13:52 GMT 2025 - 10.6K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/HashFunction.java
* * <ul> * <li><b>collision-resistant:</b> while the definition above requires making at least <i>some</i> * token attempt, one measure of the quality of a hash function is <i>how well</i> it succeeds * at this goal. Important note: it may be easy to achieve the theoretical minimum collision * rate when using completely <i>random</i> sample input. The true test of a hash function is
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 10.9K bytes - Click Count (0) -
src/test/java/jcifs/smb/Kerb5ContextTest.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 14.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockResponseTest.java
response.writeBytesWireFormat(buffer, 0); } success[index] = true; } catch (Exception e) { success[index] = false; } }); } // When for (Thread thread : threads) {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.1K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/ClosingFuture.java
return new ClosingFuture<>(future); } /** * Starts a {@link ClosingFuture} pipeline with a {@link ListenableFuture}. * * <p>If {@code future} succeeds, its value will be closed (using {@code closingExecutor)}) when * the pipeline is done, even if the pipeline is canceled or fails. *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 101.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/CoordinatorHelperTest.java
retriesSeen.add(remainingRetries); if (remainingRetries <= 0) { return false; } // Simulate: cleanup succeeds, retry with decremented retries return tryStartOperation(operationName, data, remainingRetries - 1); } }; helper.tryStartOperation("test_op", null, 3);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 06:59:19 GMT 2026 - 58.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureBenchmarks.java
static final int COMPLETED = 2; static final int CANCELLED = 4; static final int INTERRUPTED = 8; private V value; private Throwable exception; /* * Acquisition succeeds if the future is done, otherwise it fails. */ @Override protected int tryAcquireShared(int ignored) { if (isDone()) { return 1; } return -1; }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 13.8K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbTransportImplTest.java
} @Test @DisplayName("getSmbSession creates and then reuses matching session") void getSmbSession_createAndReuse() { // Arrange: minimal credentials chain so SmbSessionImpl constructor succeeds CredentialsInternal creds = mock(CredentialsInternal.class); when(ctx.getCredentials()).thenReturn(creds); when(creds.unwrap(CredentialsInternal.class)).thenReturn(creds);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.6K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 67.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/NotifyResponseTest.java
// This tests that the implementation properly handles list modifications try { notifications.clear(); // If this succeeds, the implementation allows modification assertTrue(notifications.isEmpty()); } catch (UnsupportedOperationException e) { // If this throws, the implementation returned an immutable listCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 21.2K bytes - Click Count (0)