- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 1,602 for lengths (0.05 sec)
-
src/test/java/jcifs/NetbiosNameTest.java
// When String scope = mockNetbiosName.getScope(); // Then assertNull(scope); } @Test @DisplayName("Should handle various name lengths") void testVariousNameLengths() { // NetBIOS names can be up to 15 characters String[] testNames = { "A", "SERVER", "LONGSERVERNAME", "EXACTLY15CHARS1" }; for (String testName : testNames) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTimingAttackTest.java
try { // Time comparison between different length passwords 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
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11.2K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabase.kt
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jul 28 07:33:49 UTC 2025 - 8.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescResponseTest.java
int result = response.readSetupWireFormat(buffer, 0, buffer.length); assertEquals(0, result); } @Test @DisplayName("Test readParametersWireFormat reads length correctly") void testReadParametersWireFormat() throws Exception { byte[] buffer = new byte[100]; int expectedLength = 0x12345678; // Write length in little-endian format
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/entity/FessUserTest.java
assertNotNull("Expected array is null but actual is not", expected); assertNotNull("Actual array is null but expected is not", actual); assertEquals("Array lengths differ", expected.length, actual.length); for (int i = 0; i < expected.length; i++) { assertEquals("Arrays differ at index " + i, expected[i], actual[i]); } } // Test implementation of FessUser interface
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 11.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationTest.java
int paramWritten = trans2QueryPathInfo.writeParametersWireFormat(paramBuffer, 0); int dataWritten = trans2QueryPathInfo.writeDataWireFormat(dataBuffer, 0); // Verify lengths assertEquals(2, setupWritten); assertTrue(paramWritten > 6); assertEquals(0, dataWritten); // Verify setup content
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/CrawlJobTest.java
return; } if (expected == null || actual == null) { fail("Arrays are not equal: one is null"); } assertEquals("Array lengths differ", expected.length, actual.length); for (int i = 0; i < expected.length; i++) { assertEquals("Array element at index " + i + " differs", expected[i], actual[i]); } } @Override public void setUp() throws Exception {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 25K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/CreateContextResponseTest.java
@DisplayName("Should handle various data lengths") void testVariousDataLengths(int length) throws SMBProtocolDecodingException { int result = testResponse.decode(testBuffer, 0, length); assertEquals(length, result); assertNotNull(testResponse.getData()); assertEquals(length, testResponse.getData().length); } } @Nested
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 16.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.9K bytes - Viewed (0) -
src/test/java/jcifs/netbios/SessionServicePacketTest.java
void testReadLengthMaximum() { byte[] src = { (byte) 0x00, (byte) 0x01, (byte) 0xFF, (byte) 0xFF }; int length = SessionServicePacket.readLength(src, 0); assertEquals(0x01FFFF, length); } @Test @DisplayName("readLength should handle zero length") void testReadLengthZero() { byte[] src = { (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00 };
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.5K bytes - Viewed (0)