- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 595 for result2 (0.17 sec)
-
src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java
// Test at buffer start int result1 = request.encode(buffer, 0); assertTrue(result1 > 0); // Test at buffer middle int result2 = request.encode(buffer, 128); assertTrue(result2 > 0); // Test near buffer end (should still fit) request.setEncodedSize(16); int result3 = request.encode(buffer, 240);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/util/HMACT64Test.java
for (byte b : TEST_DATA) { hmac2.engineUpdate(b); } // Both should produce the same result byte[] result1 = hmac1.engineDigest(); byte[] result2 = hmac2.engineDigest(); assertArrayEquals(result1, result2); } @Test void testHMACT64WithKnownTestVector() throws NoSuchAlgorithmException { // Test with known test vector
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.1K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NodeStatusRequestTest.java
// Act int result1 = nodeStatusRequest.writeBodyWireFormat(dst, 0); int result2 = nodeStatusRequest.writeBodyWireFormat(dst, 50); int result3 = nodeStatusRequest.writeBodyWireFormat(dst, 100); // Assert assertEquals(result1, result2); assertEquals(result2, result3); assertTrue(result1 > 0); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.9K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/service/impl/UrlQueueServiceImplTest.java
AccessResultImpl<Long> result1 = new AccessResultImpl<>(); result1.setUrl("https://example.com/page1"); result1.setMethod("GET"); result1.setParentUrl("https://example.com"); result1.setLastModified(123456789L); accessResultMap.put("https://example.com/page1", result1); AccessResultImpl<Long> result2 = new AccessResultImpl<>();Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 13 13:29:22 UTC 2025 - 14.1K bytes - Viewed (0) -
src/test/java/jcifs/SmbWatchHandleTest.java
List<FileNotifyInformation> result1 = watchHandle.watch(); List<FileNotifyInformation> result2 = watchHandle.watch(); List<FileNotifyInformation> result3 = watchHandle.watch(); // Verify results assertEquals(1, result1.size()); assertEquals(fileNotifyInfo1, result1.get(0)); assertEquals(2, result2.size()); assertEquals(fileNotifyInfo2, result2.get(0));
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.2K bytes - Viewed (1) -
src/test/java/jcifs/internal/NotifyResponseTest.java
List<FileNotifyInformation> result1 = response.getNotifyInformation(); List<FileNotifyInformation> result2 = response.getNotifyInformation(); List<FileNotifyInformation> result3 = response.getNotifyInformation(); // Verify all calls return the same content assertEquals(result1.size(), result2.size()); assertEquals(result2.size(), result3.size());
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21.2K bytes - Viewed (0) -
src/test/java/jcifs/SmbSessionTest.java
Configuration mockConfig = mock(Configuration.class); when(mockSession.getConfig()).thenReturn(mockConfig); Configuration result1 = mockSession.getConfig(); Configuration result2 = mockSession.getConfig(); assertSame(result1, result2, "getConfig() should return consistent values"); verify(mockSession, times(2)).getConfig(); } } @Nested
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.1K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/TransformerTest.java
ResultData result1 = transformer1.transform(responseData); ResultData result2 = transformer2.transform(responseData); ResultData result3 = transformer3.transform(responseData); assertEquals("transformer1", result1.getTransformerName()); assertEquals("transformer2", result2.getTransformerName()); assertEquals("transformer3", result3.getTransformerName());Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Sep 06 04:15:37 UTC 2025 - 28K bytes - Viewed (0) -
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) -
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)