- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 208 for 2586 (0.02 sec)
-
src/test/java/jcifs/netbios/SessionServicePacketTest.java
assertEquals((byte) (value & 0xFF), dst[3]); } private static Stream<Arguments> provideInt4TestValues() { return Stream.of(Arguments.of(0), Arguments.of(1), Arguments.of(255), Arguments.of(256), Arguments.of(65535), Arguments.of(65536), Arguments.of(0x7FFFFFFF), Arguments.of(0xFFFFFFFF)); } @Test @DisplayName("readInt2 should correctly read 16-bit integer")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/CommonServerMessageBlockResponseTest.java
verify(response).getErrorCode(); } @Test @DisplayName("Test Response interface methods - verifySignature") void testVerifySignature() { // Given byte[] buffer = new byte[256]; int offset = 10; int size = 100; when(response.verifySignature(buffer, offset, size)).thenReturn(true); // When
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.3K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketReaderTest.kt
assertFailsWith<EOFException> { serverReader.processNextFrame() } } @Test fun clientSimpleBinary() { val bytes = binaryData(256) data.write("827E0100".decodeHex()).write(bytes) clientReader.processNextFrame() callback.assertBinaryMessage(bytes) } @Test fun clientTwoFrameBinary() { val bytes = binaryData(200)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 14.4K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcShareGetInfoTest.java
largeDescriptor[i] = 0; } // Rest of the buffer can be arbitrary for (int i = 20; i < largeDescriptor.length; i++) { largeDescriptor[i] = (byte) (i % 256); } info502.security_descriptor = largeDescriptor; info502.sd_size = largeDescriptor.length; // Replace info field
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.3K bytes - Viewed (0) -
okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerCertificatesTest.kt
private val certificateTransparencySignedCertificateTimestamps = "1.3.6.1.4.1.11129.2.4.2" private val authorityInfoAccess = "1.3.6.1.5.5.7.1.1" private val serialNumber = "2.5.4.5" private val countryName = "2.5.4.6" private val localityName = "2.5.4.7" private val stateOrProvinceName = "2.5.4.8" private val organizationName = "2.5.4.10" private val businessCategory = "2.5.4.15" private val subjectKeyIdentifier = "2.5.29.14"
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 43.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/NetServerEnum2Test.java
assertEquals(SmbComTransaction.NET_SERVER_ENUM2, subCommand); } @Test @DisplayName("Test with very long domain name") void testVeryLongDomainName() { String longDomain = "A".repeat(256); // Very long domain name netServerEnum2 = new NetServerEnum2(realConfig, longDomain, NetServerEnum2.SV_TYPE_ALL); byte[] dst = new byte[2048];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java
void testGetNextEntryOffset() throws SMBProtocolDecodingException { // Prepare test data byte[] buffer = createValidBuffer("file.txt", "FILE~1.TXT", true); int expectedNextEntryOffset = 256; SMBUtil.writeInt4(expectedNextEntryOffset, buffer, 0); // Decode fileBothDirectoryInfo.decode(buffer, 0, buffer.length); // Verify
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 43.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ListsTest.java
} public void testNewArrayListWithCapacity() { ArrayList<Integer> list = Lists.newArrayListWithCapacity(0); assertEquals(emptyList(), list); ArrayList<Integer> bigger = Lists.newArrayListWithCapacity(256); assertEquals(emptyList(), bigger); } public void testNewArrayListWithCapacity_negative() { assertThrows(IllegalArgumentException.class, () -> Lists.newArrayListWithCapacity(-1)); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 35.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java
"U4.50", // #2 "R0.00, R1.38, R1.13", // #3, after that the rate changes "R0.88", // #4, this is what the throttling would be with the old rate "R0.34, R0.28, R0.25, R0.25", // #5 "U4.25", // #6 "R0.00, R0.72, R0.66, R0.59, R0.53, R0.47, R0.41", // #7 "R0.34, R0.28, R0.25, R0.25"); // #7 (cont.), note, this matches #5 } public void testWarmUpAndUpdateWithColdFactor() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 21.9K bytes - Viewed (0)