Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 265 for consistent (0.07 seconds)

  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")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  2. 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);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsItemTest.java

            assertNotSame(item1.hashCode(), item3.hashCode());
    
            // Consistent hashCode
            assertEquals(item1.hashCode(), item1.hashCode());
        }
    
        @Test
        public void test_hashCode_withNullInput() {
            // Test hashCode with null input - should not throw, returns consistent hash for null
            ProtwordsItem item1 = new ProtwordsItem(1, null);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  4. 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.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jul 10 01:47:55 GMT 2025
    - 14.5K bytes
    - Click Count (0)
  5. 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.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jul 10 01:47:55 GMT 2025
    - 15K bytes
    - Click Count (0)
  6. doc/go_mem.html

    then <i>A</i> is synchronized before <i>B</i>.
    All the atomic operations executed in a program behave as though executed
    in some sequentially consistent order.
    </p>
    
    <p>
    The preceding definition has the same semantics as C++’s sequentially consistent atomics
    and Java’s <code>volatile</code> variables.
    </p>
    
    <h3 id="finalizer">Finalizers</h3>
    
    <p>
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Tue Aug 05 15:41:37 GMT 2025
    - 26.6K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessSecurityResourceProviderTest.java

            assertSame(invertibleCryptographer, first);
        }
    
        @Test
        public void test_providePrimaryInvertibleCryptographer_consistency() {
            // Test multiple calls return consistent results
            for (int i = 0; i < 10; i++) {
                InvertibleCryptographer cryptographer = securityResourceProvider.providePrimaryInvertibleCryptographer();
                assertNotNull(cryptographer);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 13.2K bytes
    - Click Count (0)
  8. 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);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 11.2K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/AbstractBiMap.java

          K conflict = inverse.delegate.putIfAbsent(v, k);
          if (conflict != null) {
            broken = entry;
            // We're definitely going to throw, but we'll try to keep the BiMap in an internally
            // consistent state by removing the bad entry.
            itr.remove();
          }
        }
        if (broken != null) {
          throw new IllegalArgumentException("value already present: " + broken.getValue());
        }
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 15:50:50 GMT 2025
    - 14.3K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/dict/stopwords/StopwordsItemTest.java

            assertNotSame(item1.hashCode(), item4.hashCode());
        }
    
        @Test
        public void test_hashCode_withNullInput() {
            // Test hashCode with null input - should not throw, returns consistent hash for null
            StopwordsItem item1 = new StopwordsItem(1, null);
            StopwordsItem item2 = new StopwordsItem(2, null);
    
            // Should not throw
            int hash1 = item1.hashCode();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.4K bytes
    - Click Count (0)
Back to Top