- Sort Score
- Num 10 results
- Language All
Results 11 - 15 of 15 for readBodyWireFormat (0.22 seconds)
-
src/main/java/jcifs/smb1/netbios/NodeStatusResponse.java
macAddress = new byte[6]; } @Override int writeBodyWireFormat(final byte[] dst, final int dstIndex) { return 0; } @Override int readBodyWireFormat(final byte[] src, final int srcIndex) { return readResourceRecordWireFormat(src, srcIndex); } @Override int writeRDataWireFormat(final byte[] dst, final int dstIndex) { return 0;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 5.8K bytes - Click Count (0) -
src/test/java/jcifs/netbios/NameServicePacketTest.java
int writeBodyWireFormat(byte[] dst, int dstIndex) { // For testing purposes, we can return a fixed length or mock behavior return 0; } @Override int readBodyWireFormat(byte[] src, int srcIndex) { // For testing purposes, we can return a fixed length or mock behavior return 0; } @Override
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.9K bytes - Click Count (0) -
src/test/java/jcifs/netbios/NameQueryResponseTest.java
// The method should return the number of bytes read by readResourceRecordWireFormat int result = nameQueryResponse.readBodyWireFormat(src, srcIndex); assertEquals(12 + 6, result, "readBodyWireFormat should return the total bytes read"); } @Test void writeRDataWireFormat_shouldReturnZero() { // This method is implemented to always return 0Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.4K bytes - Click Count (0) -
src/test/java/jcifs/netbios/NodeStatusRequestTest.java
byte[] src = new byte[100]; // Act & Assert assertEquals(0, nodeStatusRequest.readBodyWireFormat(src, 0)); assertEquals(0, nodeStatusRequest.readBodyWireFormat(src, 50)); assertEquals(0, nodeStatusRequest.readBodyWireFormat(src, 99)); } @Test void writeRDataWireFormat_shouldAlwaysReturnZero() { // Arrange
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.9K bytes - Click Count (0) -
src/test/java/jcifs/netbios/NodeStatusResponseTest.java
questionNameField.setAccessible(true); questionNameField.set(response, new Name(mockConfig)); int result = response.readBodyWireFormat(src, srcIndex); assertTrue(result > 0); } @Test void writeRDataWireFormat_shouldReturnZero() { byte[] dst = new byte[100];
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 19.3K bytes - Click Count (0)