- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 260 for bufferIndex (0.25 sec)
-
src/test/java/jcifs/smb1/smb1/Trans2FindFirst2ResponseTest.java
byte[] buffer = new byte[120]; int bufferIndex = 0; // Entry 1 writeInt4(120, buffer, bufferIndex); // nextEntryOffset = 120 (relative) writeInt4(1, buffer, bufferIndex + 4); // fileIndex = 1 writeTime(1672531200000L, buffer, bufferIndex + 8); // creationTime writeTime(1672617600000L, buffer, bufferIndex + 24); // lastWriteTimeRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComTreeConnectAndXResponse.java
supportSearchBits = (buffer[bufferIndex] & SMB_SUPPORT_SEARCH_BITS) == SMB_SUPPORT_SEARCH_BITS; shareIsInDfs = (buffer[bufferIndex] & SMB_SHARE_IS_IN_DFS) == SMB_SHARE_IS_IN_DFS; return 2; } @Override int readBytesWireFormat(final byte[] buffer, int bufferIndex) { final int start = bufferIndex;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 2.9K bytes - Viewed (0) -
src/main/java/jcifs/netbios/SessionRequestPacket.java
final int start = bufferIndex; if (in.read(buffer, bufferIndex, this.length) != this.length) { throw new IOException("invalid session request wire format"); } bufferIndex += this.calledName.readWireFormat(buffer, bufferIndex); bufferIndex += this.callingName.readWireFormat(buffer, bufferIndex);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImpl.java
bufferIndex += 4; this.fileNameLength = SMBUtil.readInt4(buffer, bufferIndex); bufferIndex += 4; this.fileName = Strings.fromUNIBytes(buffer, bufferIndex, this.fileNameLength); bufferIndex += this.fileNameLength; return bufferIndex - start; } @Override public String toString() {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2ReadResponseTest.java
byte[] buffer = new byte[256]; int bufferIndex = 0; // Write structure size (9) - indicates error response SMBUtil.writeInt2(9, buffer, bufferIndex); // Write error context and error data buffer[bufferIndex + 2] = 1; // Error context count buffer[bufferIndex + 3] = 0; // Reserved SMBUtil.writeInt4(0, buffer, bufferIndex + 4); // ByteCount (0 for error)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 22.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponseTest.java
SMBUtil.writeInt4(testCapabilities, buffer, bufferIndex); System.arraycopy(testGuid, 0, buffer, bufferIndex + 4, 16); SMBUtil.writeInt2(testSecurityMode, buffer, bufferIndex + 20); SMBUtil.writeInt2(testDialect, buffer, bufferIndex + 22); // Execute decode int bytesDecoded = response.decode(buffer, bufferIndex, 24); // Verify results
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2FlushResponseTest.java
// Given byte[] buffer = new byte[10]; int bufferIndex = 2; SMBUtil.writeInt2(4, buffer, bufferIndex); // Write structure size = 4 SMBUtil.writeInt2(0, buffer, bufferIndex + 2); // Reserved field // When int bytesRead = response.readBytesWireFormat(buffer, bufferIndex); // Then assertEquals(4, bytesRead); }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/Smb2RdmaTransform.java
* * @param buffer source buffer * @param bufferIndex starting index * @return decoded transform */ public static Smb2RdmaTransform decode(byte[] buffer, int bufferIndex) { long offset = SMBUtil.readInt8(buffer, bufferIndex); int token = SMBUtil.readInt4(buffer, bufferIndex + 8); int length = SMBUtil.readInt4(buffer, bufferIndex + 12);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/LockingAndXRange.java
final int lLow = SMBUtil.readInt4(buffer, bufferIndex + 16); this.lengthInBytes = lHigh << 32 | lLow; return 20; } this.pid = SMBUtil.readInt2(buffer, bufferIndex); this.byteOffset = SMBUtil.readInt4(buffer, bufferIndex + 2); this.lengthInBytes = SMBUtil.readInt4(buffer, bufferIndex + 6); return 10; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans/TransPeekNamedPipeResponse.java
protected int readSetupWireFormat(final byte[] buffer, final int bufferIndex, final int len) { return 0; } @Override protected int readParametersWireFormat(final byte[] buffer, int bufferIndex, final int len) { this.available = SMBUtil.readInt2(buffer, bufferIndex); bufferIndex += 2; SMBUtil.readInt2(buffer, bufferIndex); bufferIndex += 2; setStatus(SMBUtil.readInt2(buffer, bufferIndex));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.3K bytes - Viewed (0)