Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 419 for SECOND (0.03 sec)

  1. src/test/java/jcifs/util/SmbCircuitBreakerTest.java

            // Need successThreshold (2) consecutive successes to close the circuit
            // Second success should close the circuit (threshold is 2)
            result = circuitBreaker.executeWithCircuitBreaker(() -> "success 1");
            assertEquals("success 1", result, "Should execute second success");
            assertEquals(State.CLOSED, circuitBreaker.getState(), "Circuit should be CLOSED after success threshold");
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 23.2K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/exception/UnsupportedSearchExceptionTest.java

            assertNotNull(newStackTrace);
        }
    
        public void test_multipleInstances() {
            // Test that multiple instances are independent
            String message1 = "First exception";
            String message2 = "Second exception";
    
            UnsupportedSearchException exception1 = new UnsupportedSearchException(message1);
            UnsupportedSearchException exception2 = new UnsupportedSearchException(message2);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/hash/SipHashFunction.java

      /**
       * @param c the number of compression rounds (must be positive)
       * @param d the number of finalization rounds (must be positive)
       * @param k0 the first half of the key
       * @param k1 the second half of the key
       */
      SipHashFunction(int c, int d, long k0, long k1) {
        checkArgument(
            c > 0, "The number of SipRound iterations (c=%s) during Compression must be positive.", c);
        checkArgument(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  4. tests/update_has_one_test.go

    		t.Fatalf("errors happened when update: %v", err)
    	}
    
    	var user3 User
    	DB.Preload("Account").Find(&user3, "id = ?", user.ID)
    
    	CheckUser(t, user2, user3)
    	lastUpdatedAt := user2.Account.UpdatedAt
    	time.Sleep(time.Second)
    
    	if err := DB.Session(&gorm.Session{FullSaveAssociations: true}).Save(&user).Error; err != nil {
    		t.Fatalf("errors happened when update: %v", err)
    	}
    
    	var user4 User
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Jul 14 06:55:54 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/validation/CustomSizeTest.java

            assertEquals("Second group should be AnotherTestGroup", AnotherTestGroup.class, multiAnnotation.groups()[1]);
    
            assertEquals("Should have 2 payloads", 2, multiAnnotation.payload().length);
            assertEquals("First payload should be TestPayload", TestPayload.class, multiAnnotation.payload()[0]);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/ntlmssp/av/AvPairsTest.java

            assertTrue(pairs.get(0) instanceof AvFlags, "First pair should be AvFlags instance");
    
            // Check second pair (AvTimestamp)
            assertEquals(AvPair.MsvAvTimestamp, pairs.get(1).getType(), "Second pair should be MsvAvTimestamp");
            assertTrue(pairs.get(1) instanceof AvTimestamp, "Second pair should be AvTimestamp instance");
    
            // Check third pair (AvTargetName)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  7. utils/utils_test.go

    		{"driver.Valuer equal", ModifyAt{Time: now, Valid: true}, ModifyAt{Time: now, Valid: true}, true},
    		{"driver.Valuer not equal", ModifyAt{Time: now, Valid: true}, ModifyAt{Time: now.Add(time.Second), Valid: true}, false},
    		{"driver.Valuer equal (ptr to nil ptr)", (*ModifyAt)(nil), &ModifyAt{}, false},
    	}
    	for _, test := range assertEqualTests {
    		t.Run(test.name, func(t *testing.T) {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Aug 22 11:03:42 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/config/DelegatingConfigurationTest.java

            assertTrue(ipcSigningEnforced, "Should delegate IPC signing enforced setting");
            assertTrue(firstExtendedSecurityCall, "First call should return true");
            assertFalse(secondExtendedSecurityCall, "Second call should return false");
    
            verify(mockDelegate).isEncryptionEnabled();
            verify(mockDelegate).isSigningEnabled();
            verify(mockDelegate).isSigningEnforced();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/ClosingFuture.java

       * ClosingFuture}s. Use {@link #whenAllSucceed(ClosingFuture, ClosingFuture)} to start this
       * combination.
       *
       * @param <V1> the type returned by the first future
       * @param <V2> the type returned by the second future
       */
      public static final class Combiner2<V1 extends @Nullable Object, V2 extends @Nullable Object>
          extends Combiner {
    
        /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 23 15:26:56 UTC 2025
    - 98.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/TransWaitNamedPipeTest.java

            assertEquals(4, written, "Setup should write 4 bytes");
            assertEquals(SmbComTransaction.TRANS_WAIT_NAMED_PIPE, dst[0], "First byte should be subCommand");
            assertEquals(0, dst[1], "Second byte should be 0");
            assertEquals(0, dst[2], "Third byte should be 0 (no FID)");
            assertEquals(0, dst[3], "Fourth byte should be 0 (no FID)");
        }
    
        @Test
        public void testReadSetupWireFormat() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.3K bytes
    - Viewed (0)
Back to top