Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 73 for consistent (0.05 sec)

  1. src/test/java/org/codelibs/fess/exception/JobNotFoundExceptionTest.java

        public void test_getMessage_consistency() {
            // Test that getMessage returns consistent results
            String message = "Consistent message";
            JobNotFoundException exception = new JobNotFoundException(message);
    
            assertEquals(message, exception.getMessage());
            assertEquals(message, exception.getMessage()); // Call twice to verify consistency
            assertEquals(message, exception.getLocalizedMessage());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9K bytes
    - Viewed (0)
  2. cmd/erasure-sets_test.go

    		{"SHØRT", 49},
    		{"There are far too many object names, and far too few bucket names!", 8},
    		{"a/b/c/", 159},
    		{"/a/b/c", 96},
    		{string([]byte{0xff, 0xfe, 0xfd}), 147},
    	}
    
    	// Tests hashing order to be consistent.
    	for i, testCase := range testCases {
    		if sipHashElement := hashKey("SIPMOD", testCase.objectName, 200, testUUID); sipHashElement != testCase.sipHash {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessJsonResourceProviderTest.java

            // Each call should return a new instance
            assertNotSame(option1, option2);
        }
    
        public void test_provideMappingOption_consistency() {
            // Test that multiple calls provide consistent configuration
            JsonMappingOption option1 = provider.provideMappingOption();
            JsonMappingOption option2 = provider.provideMappingOption();
    
            assertEquals(option1.getFieldNaming(), option2.getFieldNaming());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessSecurityResourceProviderTest.java

            assertSame(first, second);
            assertSame(invertibleCryptographer, first);
        }
    
        public void test_providePrimaryInvertibleCryptographer_consistency() {
            // Test multiple calls return consistent results
            for (int i = 0; i < 10; i++) {
                InvertibleCryptographer cryptographer = securityResourceProvider.providePrimaryInvertibleCryptographer();
                assertNotNull(cryptographer);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTimingAttackTest.java

                long timeSameLength = measureEqualsTime(auth3, auth4, TIMING_ITERATIONS);
    
                // Timing should be relatively consistent regardless of length differences
                double maxTime = Math.max(timeDiffLength, timeSameLength);
                double minTime = Math.min(timeDiffLength, timeSameLength);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessUserTimeZoneProcessProviderTest.java

            assertTrue(result.contains(expectedHashCode));
        }
    
        // Test toString() format consistency
        public void test_toString_formatConsistency() {
            // Create multiple instances and verify consistent format
            FessUserTimeZoneProcessProvider provider1 = new FessUserTimeZoneProcessProvider();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  7. cmd/xl-storage-format-v2.go

    		tops = tops[:0]
    		var topSig xlMetaV2VersionHeader
    		consistent := true // Are all signatures consistent (shortcut)
    		for _, vers := range versions {
    			if len(vers) == 0 {
    				consistent = false
    				continue
    			}
    			ver := vers[0]
    			if len(tops) == 0 {
    				consistent = true
    				topSig = ver.header
    			} else {
    				consistent = consistent && ver.header == topSig
    			}
    			tops = append(tops, vers[0])
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 65.6K bytes
    - Viewed (1)
  8. cmd/erasure-metadata-utils.go

    	var inconsistent int
    	for i, meta := range metaArr {
    		if disks[i] == nil {
    			// Assuming offline drives as inconsistent,
    			// to be safe and fallback to original
    			// distribution order.
    			inconsistent++
    			continue
    		}
    		if !meta.IsValid() {
    			inconsistent++
    			continue
    		}
    		if meta.XLV1 != fi.XLV1 {
    			inconsistent++
    			continue
    		}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/AuthenticationProvider.java

     */
    
    package jcifs.smb;
    
    import jcifs.CIFSContext;
    import jcifs.CIFSException;
    
    /**
     * Unified authentication provider interface for SMB authentication
     *
     * This interface provides a consistent authentication mechanism across
     * SMB1, SMB2, and SMB3 protocols, addressing the issue of multiple
     * scattered authentication implementations.
     */
    public interface AuthenticationProvider {
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 3.9K bytes
    - Viewed (1)
  10. src/test/java/org/codelibs/fess/opensearch/client/CrawlerEngineClientTest.java

            String result = crawlerEngineClient.toString();
            assertNotNull(result);
        }
    
        // Test hashCode method
        public void test_hashCode() {
            // Test that hashCode returns consistent value
            int hashCode1 = crawlerEngineClient.hashCode();
            int hashCode2 = crawlerEngineClient.hashCode();
            assertEquals(hashCode1, hashCode2);
        }
    
        // Test equals method
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4.7K bytes
    - Viewed (0)
Back to top