- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 328 for samr (0.18 sec)
-
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) -
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 otherwiseRegistered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 18.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTimingAttackTest.java
long timeDiffLength = measureEqualsTime(auth1, auth2, TIMING_ITERATIONS); // Create same length passwords for comparison char[] password3 = "short".toCharArray(); char[] password4 = "shore".toCharArray(); // Same length, different content NtlmPasswordAuthenticator auth3 = new NtlmPasswordAuthenticator("domain", "user", new String(password3));
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11.2K bytes - Viewed (0) -
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) -
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) -
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 processRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.8K bytes - Viewed (0) -
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. */ @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.6K bytes - Viewed (0) -
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) -
src/test/java/jcifs/smb/SmbFilenameFilterTest.java
assertTrue(npe2.getMessage().contains("non-null")); verifyNoInteractions(mockDir); } /** * Sanity: implementing via an anonymous class works the same as a lambda. */ @Test @DisplayName("anonymous class implementation behaves correctly") void anonymousClassImplementation() throws Exception { SmbFilenameFilter filter = new SmbFilenameFilter() {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.3K bytes - Viewed (0) -
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 { // ArrangeRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0)