Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 286 for isSame (6.01 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/net/protocol/storage/HandlerTest.java

            startLatch.countDown();
    
            // Wait for all threads to complete
            assertTrue("Threads did not complete in time", doneLatch.await(5, TimeUnit.SECONDS));
    
            // All threads should fail with the same IOException (endpoint is blank)
            // But importantly, there should be no race condition errors
            assertEquals(threadCount, failureCount.get());
            assertEquals(0, successCount.get());
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/HandlerTest.java

        void testHandlerEquality() throws Exception {
            // Create two URLs with the same handler
            URL url1 = new URL(null, "smb://host1/share1", handler);
            URL url2 = new URL(null, "smb://host2/share2", handler);
    
            // Both should use the same handler instance
            assertNotNull(url1);
            assertNotNull(url2);
    
            // Protocol should be consistent
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/pac/PacUnicodeStringTest.java

            PacUnicodeString pacString = new PacUnicodeString((short) 10, (short) 20, 100);
            String testString = "abcde";
    
            // The check method should return the same string instance
            String result = pacString.check(testString);
            assertSame(testString, result, "The check method should return the original string on success.");
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/suggest/settings/SuggestSettingsBuilderTest.java

            assertEquals("value2", builder2.initialSettings.get("key"));
        }
    
        @Test
        public void testBuildMultipleInstances() {
            // Test that multiple SuggestSettings can be built from the same builder
            builder.setSettingsIndexName("MULTI_INDEX").addInitialSettings("multi.key", "multiValue").scrollTimeout("25s");
    
            SuggestSettings settings1 = builder.build(client, "id1");
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/util/RC4.java

                s[i] = s[j];
                s[j] = t;
            }
    
            i = j = 0;
        }
    
        /**
         * Encrypts or decrypts data using the RC4 stream cipher.
         * Since RC4 is a stream cipher, the same operation is used for both encryption and decryption.
         *
         * @param src the source data array
         * @param soff the offset in the source array
         * @param slen the length of data to process
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/RobotsTxt.java

             * According to RFC 9309:
             * 1. Find the longest matching pattern (by priority length)
             * 2. If both Allow and Disallow patterns match with the same length, Allow takes precedence
             * 3. If no pattern matches, the path is allowed by default
             *
             * @param path the path to check
             * @return true if the path is allowed, false otherwise
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/DfsReferralTest.java

            // Create a DfsReferral instance with the mock data
            DfsReferral dfsReferral = new DfsReferral(mockData);
    
            // Verify that getData() returns the same mock data object
            assertEquals(mockData, dfsReferral.getData(), "getData() should return the DfsReferralData object passed to the constructor.");
        }
    
        /**
         * Test the toString method.
         */
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbPipeOutputStreamTest.java

            // Arrange
            SmbPipeOutputStream out = newStream();
    
            // Act
            SmbPipeHandleImpl got = out.getHandle();
    
            // Assert
            assertSame(handle, got, "getHandle should expose the same instance passed to constructor");
        }
    
        @Test
        @DisplayName("close does nothing and does not touch handle")
        void close_doesNothing() throws Exception {
            // Arrange
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/TemporaryFileInputStream.java

            }
        }
    
        /**
         * Marks the current position in this input stream. A subsequent call to the reset method repositions this stream at the last marked position so that subsequent reads re-read the same bytes.
         * This method delegates to {@link FileInputStream#mark(int)}.
         *
         * @param readlimit the maximum limit of bytes that can be read before the mark position becomes invalid
         */
        @Override
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Nov 22 13:28:22 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/AbstractExtractorTest.java

            extractor.getText(in, null);
    
            assertTrue("validateInputStream should be called", extractor.isValidateCalled());
            assertSame("Should validate the same stream instance", in, extractor.getLastValidatedStream());
        }
    
        /**
         * Test that getText throws exception when null stream is provided.
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 8.4K bytes
    - Viewed (0)
Back to top