- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for writeRDataWireFormat (0.1 sec)
-
src/test/java/jcifs/netbios/NodeStatusRequestTest.java
byte[] dst = new byte[100]; // Act & Assert assertEquals(0, nodeStatusRequest.writeRDataWireFormat(dst, 0)); assertEquals(0, nodeStatusRequest.writeRDataWireFormat(dst, 50)); assertEquals(0, nodeStatusRequest.writeRDataWireFormat(dst, 99)); } @Test void readRDataWireFormat_shouldAlwaysReturnZero() { // 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/test/java/jcifs/netbios/NameServicePacketTest.java
packet.recordType = NameServicePacket.A; packet.recordClass = NameServicePacket.IN; packet.ttl = 100; packet.rDataLength = 0; // Will be set by writeRDataWireFormat // TestNameServicePacket.writeRDataWireFormat returns 0 int written = packet.writeResourceRecordWireFormat(dst, 0); assertEquals(12, written); // 2 (pointer) + 2 (type) + 2 (class) + 4 (ttl) + 2 (rDataLength) + 0 (rData)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.9K bytes - Viewed (0) -
src/main/java/jcifs/netbios/NameServicePacket.java
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
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/NameQueryResponseTest.java
// This method is implemented to always return 0 byte[] dst = new byte[10]; int dstIndex = 0; assertEquals(0, nameQueryResponse.writeRDataWireFormat(dst, dstIndex), "writeRDataWireFormat should always return 0"); } @Test void readRDataWireFormat_shouldReturnZero_whenResultCodeIsNotZero() 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/NodeStatusResponseTest.java
assertTrue(result > 0); } @Test void writeRDataWireFormat_shouldReturnZero() { byte[] dst = new byte[100]; int result = response.writeRDataWireFormat(dst, 10); assertEquals(0, result); } @Test void readRDataWireFormat_shouldParseNodeStatusData() throws Exception { // Prepare test data byte[] src = new byte[200];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.3K bytes - Viewed (0)