- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 301 for 0300 (0.01 sec)
-
src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java
void setup() throws GeneralSecurityException { digest = new Smb2SigningDigest(sessionKey, Smb2Constants.SMB2_DIALECT_0202, null); data = new byte[128]; Arrays.fill(data, (byte) 0x00); // Set up mock messages request = mock(CommonServerMessageBlock.class); response = mock(CommonServerMessageBlock.class); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 43.7K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/DateFormatting.kt
var result = STANDARD_DATE_FORMAT.get().parse(this, position) if (position.index == length) { // STANDARD_DATE_FORMAT must match exactly; all text must be consumed, e.g. no ignored // non-standard trailing "+01:00". Those cases are covered below. return result } synchronized(BROWSER_COMPATIBLE_DATE_FORMAT_STRINGS) { for (i in 0 until BROWSER_COMPATIBLE_DATE_FORMAT_STRINGS.size) {
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 4.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java
response.readBytesWireFormat(buffer, 0); }); assertTrue(exception.getMessage().contains("Invalid negotiate context count: 1000")); assertTrue(exception.getMessage().contains("must be 0-100")); } /** * Test validation of negative negotiate context count. */ @Test public void testNegativeNegotiateContextCount() { byte[] buffer = createBasicNegotiateResponseBuffer();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NameTest.java
assertEquals(4, dst[0]); // Should end with 0x00 assertEquals(0x00, dst[length - 1]); // Length should be scope length + 2 assertEquals(name.scope.length() + 2, length); } @Test void readScopeWireFormat_withNullScope_shouldReturnOne() { byte[] src = new byte[10]; src[0] = 0x00; Name name = new Name(mockConfig);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.4K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/av/AvSingleHostTest.java
byte[] value = avSingleHost.getRaw(); assertNotNull(value); assertEquals(48, value.length); // Verify customData part byte[] expectedCustomData = { 0x01, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; byte[] actualCustomData = new byte[8]; System.arraycopy(value, 8, actualCustomData, 0, 8); assertArrayEquals(expectedCustomData, actualCustomData);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/NetShareEnumTest.java
assertNotNull(netShareEnum); assertEquals("\\PIPE\\LANMAN", getFieldValue(netShareEnum, "name")); assertEquals(8, getFieldValue(netShareEnum, "maxParameterCount")); assertEquals((byte) 0x00, getFieldValue(netShareEnum, "maxSetupCount")); assertEquals(0, getFieldValue(netShareEnum, "setupCount")); assertEquals(5000, getFieldValue(netShareEnum, "timeout"));Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NodeStatusResponseTest.java
// Bit 2: active (1) // Bit 1: permanent (1) // MAC address byte[] testMac = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; System.arraycopy(testMac, 0, src, srcIndex + 19, 6); // Statistics byte[] stats = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; System.arraycopy(stats, 0, src, srcIndex + 25, 6); response.readRDataWireFormat(src, srcIndex);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java
byte[] wireData = new byte[] { 0x10, 0x00, // StructureSize (must be 16) 0x01, // ShareType (DISK) 0x00, // Reserved 0x01, 0x00, 0x00, 0x00, // ShareFlags 0x08, 0x00, 0x00, 0x00, // Capabilities (byte) 0xFF, 0x01, 0x1F, 0x00 // MaximalAccess }; // When
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeTest.java
// Verify FID (2 bytes) assertEquals(fid, SMBUtil.readInt2(dst, dstIndex + 4)); // Verify watchTree flag (1 byte) assertEquals(0x00, dst[dstIndex + 6]); // Verify reserved byte (1 byte) assertEquals(0x00, dst[dstIndex + 7]); } @Test @DisplayName("Test writeSetupWireFormat with watchTree true") void testWriteSetupWireFormatWatchTreeTrue() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2ResponseTest.java
buffer[0] = 0x03; buffer[1] = 0x00; // isEndOfSearch (2 bytes) buffer[2] = 0x00; // end of search = false buffer[3] = 0x00; // eaErrorOffset (2 bytes) buffer[4] = 0x00; buffer[5] = 0x00; // lastNameOffset (2 bytes) buffer[6] = 0x08; buffer[7] = 0x00;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0)