- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for readRDataWireFormat (0.96 sec)
-
src/test/java/jcifs/netbios/NodeStatusResponseTest.java
// Statistics (6 bytes) byte[] stats = { 0x00, 0x01, 0x02, 0x03, 0x04, 0x05 }; System.arraycopy(stats, 0, src, srcIndex + 61, 6); int result = response.readRDataWireFormat(src, srcIndex); assertEquals(67, result); // Verify parsed data Field addressArrayField = NodeStatusResponse.class.getDeclaredField("addressArray");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.3K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NameQueryResponseTest.java
resultCodeField.set(nameQueryResponse, 1); // Simulate an error result code byte[] src = new byte[10]; int srcIndex = 0; assertEquals(0, nameQueryResponse.readRDataWireFormat(src, srcIndex), "readRDataWireFormat should return 0 if resultCode is not 0"); } @Test void readRDataWireFormat_shouldReturnZero_whenOpCodeIsNotQuery() throws NoSuchFieldException, IllegalAccessException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.4K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NodeStatusRequestTest.java
byte[] src = new byte[100]; // Act & Assert assertEquals(0, nodeStatusRequest.readRDataWireFormat(src, 0)); assertEquals(0, nodeStatusRequest.readRDataWireFormat(src, 50)); assertEquals(0, nodeStatusRequest.readRDataWireFormat(src, 99)); } @Test void toString_shouldReturnFormattedString() { // Arrange
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.9K bytes - Viewed (0) -
src/main/java/jcifs/netbios/NameServicePacket.java
srcIndex += readRDataWireFormat(src, srcIndex); } return srcIndex - start; } abstract int writeBodyWireFormat(byte[] dst, int dstIndex); abstract int readBodyWireFormat(byte[] src, int srcIndex); abstract int writeRDataWireFormat(byte[] dst, int dstIndex); abstract int readRDataWireFormat(byte[] src, int srcIndex); @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 11.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/NameServicePacket.java
srcIndex += readRDataWireFormat(src, srcIndex); } return srcIndex - start; } abstract int writeBodyWireFormat(byte[] dst, int dstIndex); abstract int readBodyWireFormat(byte[] src, int srcIndex); abstract int writeRDataWireFormat(byte[] dst, int dstIndex); abstract int readRDataWireFormat(byte[] src, int srcIndex); @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 10.6K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NameServicePacketTest.java
int writeRDataWireFormat(byte[] dst, int dstIndex) { // For testing purposes, we can return a fixed length or mock behavior return 0; } @Override int readRDataWireFormat(byte[] src, int srcIndex) { // For testing purposes, we can return a fixed length or mock behavior // Create a dummy Name object for NbtAddress constructor
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.9K bytes - Viewed (0)