Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 394 for consistent (0.13 sec)

  1. src/test/java/jcifs/context/BaseContextTest.java

            // Then - should be same instances
            assertSame(config1, config2, "Configuration should be consistent");
            assertSame(dfs1, dfs2, "DFS resolver should be consistent");
            assertSame(cache1, cache2, "Buffer cache should be consistent");
        }
    
        @Test
        @DisplayName("Context should provide working resource creation")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  2. 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)
  3. src/test/java/jcifs/DialectVersionTest.java

            assertEquals(0, DialectVersion.SMB302.compareTo(DialectVersion.SMB302));
        }
    
        @Test
        @DisplayName("Should return consistent ordinal values")
        void testOrdinalValues() {
            // Ordinal values should be consistent with enum declaration order
            assertTrue(DialectVersion.SMB1.ordinal() < DialectVersion.SMB202.ordinal());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/SmbSessionTest.java

                assertSame(mockConfig, result, "getConfig() should return the expected configuration");
            }
    
            @Test
            @DisplayName("Should maintain consistent getConfig return value")
            void shouldMaintainConsistentGetConfigReturn() {
                SmbSession mockSession = mock(SmbSession.class);
                Configuration mockConfig = mock(Configuration.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  5. 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)
  6. docs/debugging/hash-set/main.go

    	sum64 := siphash.Hash(k0, k1, []byte(key))
    	return int(sum64 % uint64(cardinality))
    }
    
    // hashOrder - hashes input key to return consistent
    // hashed integer slice. Returned integer order is salted
    // with an input key. This results in consistent order.
    // NOTE: collisions are fine, we are not looking for uniqueness
    // in the slices returned.
    func hashOrder(key string, cardinality int) []int {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  7. 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)
  8. android/guava/src/com/google/common/base/Equivalence.java

       * <p>The {@code hash} has the following properties:
       *
       * <ul>
       *   <li>It is <i>consistent</i>: for any reference {@code x}, multiple invocations of {@code
       *       hash(x}} consistently return the same value provided {@code x} remains unchanged
       *       according to the definition of the equivalence. The hash need not remain consistent from
       *       one execution of an application to another execution of the same application.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 10 01:47:55 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  9. .editorconfig

    # EditorConfig helps developers define and maintain consistent
    # coding styles between different editors and IDEs
    # editorconfig.org
    
    root = true
    
    [*]
    
    indent_style = space
    indent_size = 4
    
    
    end_of_line = lf
    charset = utf-8
    trim_trailing_whitespace = true
    insert_final_newline = true
    
    # Markdown files sometimes need trailing whitespaces.
    [*.md]
    trim_trailing_whitespace = false
    
    [*.{yml,yaml}]
    indent_size = 2
    
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Tue Jan 28 15:35:13 UTC 2025
    - 555 bytes
    - Viewed (0)
  10. 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)
Back to top