- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 776 for succeeds (0.1 seconds)
-
src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java
Path tempDir = Files.createTempDirectory("concurrent_test"); try { Path targetFile = tempDir.resolve("target.tmp"); Files.createFile(targetFile); // First delete succeeds assertTrue(Files.deleteIfExists(targetFile)); // Second delete returns false (file already gone) assertFalse(Files.deleteIfExists(targetFile)); } finally {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 20.4K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbTransportPoolImplTest.java
// Mock transports SmbTransportImpl trans1 = mock(SmbTransportImpl.class); SmbTransportImpl trans2 = mock(SmbTransportImpl.class); // trans2 fails first (lower fail count, tried first), trans1 succeeds when(trans2.unwrap(SmbTransportImpl.class)).thenReturn(trans2); when(trans2.ensureConnected()).thenThrow(new IOException("Connection failed")); doNothing().when(trans2).close();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 19.2K 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-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) -
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) -
docs/security/README.md
#### Key rotation - Basic Operation The MinIO server supports key rotation for SSE-S3 encrypted objects. The minio server decrypts the OEK using the current encrypted data key and the master key ID of the object metadata. If this succeeds, the server requests a new data key from the KMS using the master key ID of the **current MinIO KMS configuration** and re-wraps the *OEK* with a new *KEK* derived from the new data key / EK: ##### Figure 3 - KMS data key rotation
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Feb 26 09:25:50 GMT 2025 - 13.8K 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)