- Sort Score
- Num 10 results
- Language All
Results 41 - 44 of 44 for StructureSize (0.07 seconds)
-
src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java
int written = request.writeBytesWireFormat(buffer, 0); // Then assertEquals(32, written); // Verify complete structure assertEquals(32, SMBUtil.readInt2(buffer, 0)); // StructureSize assertEquals(0x0001, SMBUtil.readInt2(buffer, 2)); // Flags assertEquals(8192, SMBUtil.readInt4(buffer, 4)); // OutputBufferLength // FileId at offset 8-23
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoResponseTest.java
"Should throw SMBProtocolDecodingException for invalid structure size"); assertEquals("Expected structureSize = 9", exception.getMessage()); } @ParameterizedTest @ValueSource(ints = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 10, 11, 100, 255, 256, 65535 })
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 24.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java
SMBProtocolDecodingException exception = assertThrows(SMBProtocolDecodingException.class, () -> response.readBytesWireFormat(buffer, 0)); assertEquals("Expected structureSize = 60", exception.getMessage()); } @ParameterizedTest @ValueSource(ints = { 0, 10, 20, 30 }) @DisplayName("Should correctly read from different buffer offsets")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 26.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java
SMBProtocolDecodingException exception = assertThrows(SMBProtocolDecodingException.class, () -> notification.readBytesWireFormat(buffer, 0)); assertEquals("Expected structureSize = 24", exception.getMessage()); } @ParameterizedTest @DisplayName("Should read different oplock levels correctly") @ValueSource(bytes = { 0x00, 0x01, 0x02, 0x08, (byte) 0xFF })Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.6K bytes - Click Count (0)