- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 181 for readBytesWireFormat (0.89 sec)
-
src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndXResponse.java
this.shareIsInDfs = (buffer[bufferIndex] & SMB_SHARE_IS_IN_DFS) == SMB_SHARE_IS_IN_DFS; return 2; } @Override protected int readBytesWireFormat(final byte[] buffer, int bufferIndex) { final int start = bufferIndex; final int len = readStringLength(buffer, bufferIndex, 32); try {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2SetInfoRequestTest.java
assertEquals(32 + infoSize, bytesWritten); } @Test @DisplayName("Test readBytesWireFormat returns 0") void testReadBytesWireFormat() { request = new Smb2SetInfoRequest(mockConfig); byte[] buffer = new byte[256]; int bytesRead = request.readBytesWireFormat(buffer, 0); // This method should always return 0 as the request doesn't read responses
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/internal/smb1/com/SmbComOpenAndX.java
} @Override protected int readParameterWordsWireFormat(final byte[] buffer, final int bufferIndex) { return 0; } @Override protected int readBytesWireFormat(final byte[] buffer, final int bufferIndex) { return 0; } @Override public String toString() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComWriteAndX.java
} @Override protected int readParameterWordsWireFormat(final byte[] buffer, final int bufferIndex) { return 0; } @Override protected int readBytesWireFormat(final byte[] buffer, final int bufferIndex) { return 0; } @Override public String toString() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComOpenAndXResponse.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComNegotiateResponse.java
bufferIndex += 2; server.encryptionKeyLength = buffer[bufferIndex++] & 0xFF; return bufferIndex - start; } @Override int readBytesWireFormat(final byte[] buffer, int bufferIndex) { final int start = bufferIndex; if ((server.capabilities & CAP_EXTENDED_SECURITY) == 0) { server.encryptionKey = new byte[server.encryptionKeyLength];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComTransactionResponse.java
if ((setupCount != 0) && (LogStream.level > 2)) { log.println("setupCount is not zero: " + setupCount); } return bufferIndex - start; } @Override int readBytesWireFormat(final byte[] buffer, int bufferIndex) { pad = pad1 = 0; final int n; if (parameterCount > 0) { bufferIndex += pad = parameterOffset - (bufferIndex - headerStart);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequestTest.java
assertEquals(0, fnLength); } @Test @DisplayName("Test readBytesWireFormat returns 0") void testReadBytesWireFormat() { request = new Smb2QueryDirectoryRequest(mockConfig); byte[] buffer = new byte[100]; int bytesRead = request.readBytesWireFormat(buffer, 0); assertEquals(0, bytesRead); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java
} @Test void testReadBytesWireFormat() { // Test readBytesWireFormat - should always return 0 response = new SmbComQueryInformationResponse(mockConfig, 0L); byte[] buffer = new byte[256]; int bytesRead = response.readBytesWireFormat(buffer, 0); assertEquals(0, bytesRead); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/TreeConnectResponseTest.java
buffer[12] = (byte) 0xFF; buffer[13] = 0x01; buffer[14] = 0x1F; buffer[15] = 0x00; // When int bytesRead = (int) invokeMethod(response, "readBytesWireFormat", new Class[] { byte[].class, int.class }, buffer, 0); // Then assertEquals(16, bytesRead, "Should read 16 bytes");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.9K bytes - Viewed (0)