Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 499 for succeeds (0.04 sec)

  1. 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();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 19.2K bytes
    - Viewed (0)
  2. 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) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/AndXServerMessageBlockTest.java

        void testGetBatchLimitDefault() {
            DummyAndXBlock block = new DummyAndXBlock();
            assertEquals(0, block.getBatchLimit((byte) 0x25));
        }
    
        @Test
        @DisplayName("encode without andx succeeds and signs when digest present")
        void testEncodeNoAndxWithSigning() throws Exception {
            DummyAndXBlock block = new DummyAndXBlock();
            TestSigningDigest digest = new TestSigningDigest();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  4. 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")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  5. 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.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 23 15:26:56 UTC 2025
    - 97.8K bytes
    - Viewed (0)
  6. 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;
          }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jan 30 16:59:10 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/Kerb5ContextTest.java

        }
    
        @Test
        @DisplayName("verifyMIC delegates to GSS and succeeds")
        void verifyMIC_success() throws Exception {
            byte[] data = new byte[] { 1, 2 };
            byte[] mic = new byte[] { 3 };
            // No exception means success
            doNothing().when(gssContext).verifyMIC(eq(mic), eq(0), eq(1), eq(data), eq(0), eq(2), any());
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/job/PurgeLogJobTest.java

                }
            };
    
            UserInfoService userInfoService = new UserInfoService() {
                @Override
                public void deleteBefore(int days) {
                    // This one succeeds
                }
            };
    
            SystemHelper systemHelper = new SystemHelper() {
                @Override
                public long getCurrentTimeAsLong() {
                    return 1234567890L;
                }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  9. 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
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Feb 26 09:25:50 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  10. 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 list
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21.2K bytes
    - Viewed (0)
Back to top