Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,293 for result2 (0.05 sec)

  1. src/test/java/jcifs/internal/smb1/SMB1SigningDigestTest.java

            digest.update(data1, 0, data1.length);
            byte[] result1 = digest.digest();
            assertNotNull(result1);
    
            // Second cycle
            byte[] data2 = new byte[] { 0x05, 0x06, 0x07, 0x08 };
            digest.update(data2, 0, data2.length);
            byte[] result2 = digest.digest();
            assertNotNull(result2);
    
            // Results should be different due to different input
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTimingAttackTest.java

            char[] password3 = "testpassworX".toCharArray();
    
            Boolean result1 = (Boolean) constantTimeMethod.invoke(null, password1, password2);
            Boolean result2 = (Boolean) constantTimeMethod.invoke(null, password1, password3);
    
            assertTrue(result1, "Identical passwords should be equal");
            assertFalse(result2, "Different passwords should not be equal");
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/netbios/LmhostsTest.java

            // First call should read the file
            NbtAddress result1 = lmhosts.getByName("TESTHOST", mockContext);
            assertNotNull(result1);
    
            // Second call should use cached data (file not modified)
            NbtAddress result2 = lmhosts.getByName("TESTHOST", mockContext);
            assertNotNull(result2);
            assertEquals(result1, result2);
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/suggest/index/writer/SuggestIndexWriterTest.java

            SuggestWriterResult result2 =
                    writer.write(runner.client(), suggester.settings(), suggester.getIndex(), new SuggestItem[] { updatedItem }, true);
            assertNotNull(result2);
            assertFalse(result2.hasFailure());
    
            runner.refresh();
    
            GetResponse getResponse =
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/dcerpc/msrpc/MsrpcShareGetInfoTest.java

            // Call getSecurity multiple times - should return consistent results
            ACE[] result1 = msrpcShareGetInfo.getSecurity();
            ACE[] result2 = msrpcShareGetInfo.getSecurity();
    
            // Both should be null (no DACL)
            assertNull(result1);
            assertNull(result2);
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/create/CreateContextResponseTest.java

                int result1 = response.decode(buffer, 0, 10);
                assertEquals(10, result1);
    
                // Test at buffer end
                int result2 = response.decode(buffer, 90, 10);
                assertEquals(10, result2);
    
                // Test full buffer
                int result3 = response.decode(buffer, 0, 100);
                assertEquals(100, result3);
            }
    
            @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeResponseTest.java

            assertTrue(result.contains("TransWaitNamedPipeResponse["));
            assertTrue(result.endsWith("]"));
        }
    
        @Test
        @DisplayName("toString should include parent class information")
        void testToStringIncludesParentInfo() {
            // Act
            String result = response.toString();
    
            // Assert
            assertNotNull(result);
            assertTrue(result.contains("TransWaitNamedPipeResponse"));
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/SmbTransportPoolTest.java

                // Given
                when(transportPool.close()).thenReturn(false);
    
                // When
                boolean result1 = transportPool.close();
                boolean result2 = transportPool.close();
    
                // Then
                assertFalse(result1);
                assertFalse(result2);
                verify(transportPool, times(2)).close();
            }
        }
    
        @Nested
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  9. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/client/FesenClientTest.java

            when(mockBuilder.setPreference(any(String.class))).thenReturn(mockBuilder);
    
            fesenClient.setSearchPreference("_local");
    
            final SearchRequestBuilder result1 = fesenClient.prepareSearch("index1");
            final SearchRequestBuilder result2 = fesenClient.prepareStreamSearch("index1");
    
            // Both should use the same underlying mechanism
            verify(mockClient, times(2)).prepareSearch(any(String[].class));
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 20 08:44:44 UTC 2025
    - 17K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/suggest/converter/AnalyzerConverterTest.java

            List<String> results = converter.convert(text, field, "en");
    
            assertNotNull(results);
            // Results may vary based on analyzer configuration
        }
    
        @Test
        public void testConvertWithMultipleLanguages() throws IOException {
            // Test convert with multiple languages
            String text = "test text";
            String field = "content";
    
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 12.5K bytes
    - Viewed (0)
Back to top