Search Options

Results per page
Sort
Preferred Languages
Advance

Results 251 - 260 of 1,204 for difference (1.52 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpAuthenticationHolder.java

    import java.util.List;
    
    /**
     * Holds a list of FtpAuthentication objects and provides methods to add and retrieve them based on a given path.
     * This class is designed to manage FTP authentication details for different paths.
     */
    public class FtpAuthenticationHolder {
        List<FtpAuthentication> authenticationList = new ArrayList<>();
    
        /**
         * Constructs a new FtpAuthenticationHolder.
         */
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  2. impl/maven-core/src/test/java/org/apache/maven/configuration/internal/CompositeBeanHelperPerformanceTest.java

            }
        }
    
        /**
         * Benchmark with multiple different bean types to test method cache effectiveness.
         */
        @Benchmark
        public void benchmarkOriginalHelperMultipleTypes() throws Exception {
            // Test with different bean types
            RealisticTestBean bean1 = new RealisticTestBean();
            TestBean bean2 = new TestBean();
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Jul 17 07:40:49 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java

                }
    
                assertTrue(latch.await(5, TimeUnit.SECONDS), "All threads should complete");
                executor.shutdown();
    
                // Verify each result has a unique signature (different input = different signature)
                for (int i = 0; i < threadCount; i++) {
                    byte[] sig1 = Arrays.copyOfRange(results[i], SIGNATURE_OFFSET, SIGNATURE_OFFSET + SIGNATURE_LENGTH);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 43.7K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/util/CrawlingParameterUtilTest.java

            assertEquals("main-thread", CrawlingParameterUtil.getUrlQueue().getSessionId());
            assertEquals("main-context", CrawlingParameterUtil.getCrawlerContext().getSessionId());
    
            // Test in a different thread
            final CountDownLatch latch = new CountDownLatch(1);
            final AtomicReference<String> otherThreadUrlQueueSessionId = new AtomicReference<>();
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/interval/impl/HostIntervalControllerTest.java

            long elapsed = (System.nanoTime() - time) / 1000000;
            long wait = waittime * (numTasks - 1);
            assertTrue(elapsed + " >= " + wait, elapsed + 1L >= wait);
        }
    
        /**
         * Test that different hosts can be accessed concurrently without delay
         */
        public void test_multipleHosts_concurrent() {
            final int numTasks = 10;
            final Long waittime = 100L;
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java

            // When
            int bytesRead = request.readBytesWireFormat(buffer, offset);
    
            // Then
            assertEquals(0, bytesRead);
        }
    
        @DisplayName("Should handle different completion filter combinations")
        @ParameterizedTest
        @CsvSource({ "1, FILE_NOTIFY_CHANGE_FILE_NAME", "2, FILE_NOTIFY_CHANGE_DIR_NAME", "4, FILE_NOTIFY_CHANGE_ATTRIBUTES",
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/nego/NegotiateContextResponseTest.java

                assertEquals(0, context.getSalt().length);
            }
    
            @ParameterizedTest
            @ValueSource(ints = { 0, 1, 3, 5, 10 })
            @DisplayName("Should calculate size correctly for different hash algo counts")
            void testSizeCalculation(int hashAlgoCount) {
                // Arrange
                int[] hashAlgos = new int[hashAlgoCount];
                byte[] salt = new byte[16];
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/netbios/NameServiceClient.java

                            break;
                        }
                        /* Message was sent to WINS but
                         * failed to receive response.
                         * Try a different WINS server.
                         */
                        if (request.addr == NbtAddress.getWINSAddress()) {
                            NbtAddress.switchWINS();
                        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/Smb2EchoResponseTest.java

            }
    
            @Test
            @DisplayName("Should handle different buffer positions correctly")
            void testReadBytesWireFormatDifferentPositions() throws SMBProtocolDecodingException {
                byte[] buffer = new byte[1024];
    
                // Test at different positions
                int[] positions = { 0, 50, 100, 500, 800 };
    
                for (int position : positions) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  10. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ModelVersionUtilsTest.java

            }
        }
    
        @Nested
        @DisplayName("Inference Eligibility")
        class InferenceEligibilityTests {
    
            @ParameterizedTest(name = "for model version {0}")
            @ValueSource(strings = {"4.0.0", "4.1.0"})
            @DisplayName("should determine inference eligibility correctly")
            void shouldDetermineInferenceEligibilityCorrectly(String modelVersion) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 19.6K bytes
    - Viewed (0)
Back to top