Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 217 for consistency (0.05 sec)

  1. src/test/java/jcifs/dcerpc/ndr/NdrShortTest.java

                ndrShort1.encode(encodeBuffer);
    
                NdrShort ndrShort2 = new NdrShort(0);
                ndrShort2.decode(decodeBuffer);
    
                // Then: Should maintain masked value consistency
                verify(encodeBuffer).enc_ndr_short(maskedValue);
                verify(decodeBuffer).dec_ndr_short();
                assertEquals(maskedValue, ndrShort1.value);
                assertEquals(maskedValue, ndrShort2.value);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/opensearch/common/ImplementedInvokerAssistantTest.java

        // Test multiple calls to the same method return consistent results
        public void test_methodConsistency() {
            // Test assistClientInvokeNames consistency
            String[] names1 = invokerAssistant.assistClientInvokeNames();
            String[] names2 = invokerAssistant.assistClientInvokeNames();
            assertSame(names1, names2);
    
            // Test assistByPassInvokeNames consistency
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/entity/SearchLogEventTest.java

        }
    
        // Test interface contract consistency
        public void test_interfaceContract() {
            TestSearchLogEvent event = new TestSearchLogEvent("contract-id", 5L, "contract-type");
    
            // Test consistency of returned values
            String id1 = event.getId();
            String id2 = event.getId();
            assertEquals(id1, id2);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/config/PropertyConfigurationTest.java

            assertEquals("parentdomain", testConfig.getDefaultDomain()); // Inherited
        }
    
        @Test
        @DisplayName("Should validate configuration consistency")
        void testConfigurationValidation() throws CIFSException {
            // Given
            Properties props = new Properties();
            props.setProperty("jcifs.smb.client.minVersion", "SMB311");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/com/SmbComTreeDisconnectTest.java

            }
    
            // Then - no exceptions should have been thrown
            assertTrue(true); // If we reach here, no exceptions occurred
        }
    
        /**
         * Test consistency across multiple calls
         */
        @Test
        @DisplayName("Test consistency across multiple calls")
        public void testConsistencyAcrossMultipleCalls() {
            // Given
            smbComTreeDisconnect = new SmbComTreeDisconnect(config);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ImmutableList.java

        return CollectCollectors.toImmutableList();
      }
    
      /**
       * Returns the empty immutable list. This list behaves and performs comparably to {@link
       * Collections#emptyList}, and is preferable mainly for consistency and maintainability of your
       * code.
       *
       * <p><b>Performance note:</b> the instance returned is a singleton.
       */
      // Casting to any type is safe because the list will never hold any elements.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 27.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/fscc/FileEndOfFileInformationTest.java

        void testMultipleEncodeOperations() {
            long endOfFile = 0x1234567890ABCDEFL;
            FileEndOfFileInformation info = new FileEndOfFileInformation(endOfFile);
    
            // Encode multiple times to verify consistency
            byte[] buffer1 = new byte[8];
            byte[] buffer2 = new byte[8];
    
            int bytes1 = info.encode(buffer1, 0);
            int bytes2 = info.encode(buffer2, 0);
    
            assertEquals(8, bytes1);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTimingAttackTest.java

                }
    
                executor.shutdown();
                assertTrue(executor.awaitTermination(30, TimeUnit.SECONDS), "All threads should complete within timeout");
    
                // Analyze timing consistency across threads
                if (!timings.isEmpty()) {
                    double avgTime = timings.stream().mapToLong(Long::longValue).average().orElse(0.0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/util/SimpleCircuitBreakerTest.java

            for (Thread t : threads) {
                t.start();
            }
    
            // Wait for completion
            for (Thread t : threads) {
                t.join();
            }
    
            // Verify consistency
            SimpleCircuitBreaker.Statistics stats = breaker.getStatistics();
            assertEquals(successCount.get() + failureCount.get(), stats.totalSuccesses + stats.totalFailures + stats.rejectedCalls);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/dict/mapping/CharMappingFile.java

        }
    
        /**
         * Inner class for handling updates to the character mapping file.
         * This class manages the temporary file creation, writing operations,
         * and atomic updates to ensure data consistency during modifications.
         */
        protected class MappingUpdater implements Closeable {
    
            /** Flag indicating whether changes should be committed to the file. */
            protected boolean isCommit = false;
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 14.9K bytes
    - Viewed (0)
Back to top