- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 979 for buffer (0.13 sec)
-
src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java
@Test @DisplayName("Should decode buffer with zero values") void shouldDecodeBufferWithZeroValues() throws SMBProtocolDecodingException { // Given ByteBuffer buffer = ByteBuffer.allocate(24); buffer.order(ByteOrder.LITTLE_ENDIAN); buffer.putLong(0L); buffer.putLong(0L); buffer.putInt(0); buffer.putInt(0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 25.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/dtyp/SecurityDescriptor.java
/** * Creates a security descriptor by decoding from a byte buffer. * * @param buffer the byte buffer containing the security descriptor data * @param bufferIndex the starting offset in the buffer * @param len the length of data to decode * @throws IOException if an I/O error occurs during decoding */ public SecurityDescriptor(final byte[] buffer, final int bufferIndex, final int len) throws IOException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/RdmaMemoryRegion.java
* * @param buffer memory buffer to register * @param access access permissions */ public RdmaMemoryRegion(ByteBuffer buffer, EnumSet<RdmaAccess> access) { this.buffer = buffer; this.accessFlags = access; this.localKey = generateLocalKey(); this.remoteKey = generateRemoteKey(); this.address = getBufferAddress(buffer); this.valid = true; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 4.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileStandardInfoTest.java
offset += 8; SMBUtil.writeInt4(expectedNumberOfLinks, buffer, offset); offset += 4; buffer[offset++] = (byte) (expectedDeletePending ? 1 : 0); buffer[offset++] = (byte) (expectedDirectory ? 1 : 0); // Decode and verify fileStandardInfo.decode(buffer, 0, buffer.length); assertEquals(expectedEndOfFile, fileStandardInfo.getSize()); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/SmbComTransactionTest.java
this.dataWireFormatReturn = value; } void setSetupBuffer(byte[] buffer) { this.setupBuffer = buffer; } void setParametersBuffer(byte[] buffer) { this.parametersBuffer = buffer; } void setDataBuffer(byte[] buffer) { this.dataBuffer = buffer; } } @BeforeEach void setUp() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java
} @Override public int decode(final byte[] buffer, final int bufferIndex) throws SMBProtocolDecodingException { return decode(buffer, bufferIndex, false); } /** * Decodes the SMB2 message from the buffer. * * @param buffer the buffer containing the message * @param bufferIndex the starting position in the buffer * @param compound whether this is part of a compound chain
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 24K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java
// Given byte[] buffer = new byte[256]; SMBUtil.writeInt2(16, buffer, 0); buffer[2] = (byte) 0xFF; // Max share type buffer[3] = 0; SMBUtil.writeInt4(0xFFFFFFFF, buffer, 4); // Max share flags SMBUtil.writeInt4(0xFFFFFFFF, buffer, 8); // Max capabilities SMBUtil.writeInt4(0xFFFFFFFF, buffer, 12); // Max access // When
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/internal/smb1/trans2/Trans2QueryFSInformationResponseTest.java
byte[] buffer = new byte[100]; int offset = 20; // Prepare data at offset int dataOffset = offset; SMBUtil.writeInt4(0, buffer, dataOffset); dataOffset += 4; SMBUtil.writeInt4(8, buffer, dataOffset); dataOffset += 4; SMBUtil.writeInt4(1000000, buffer, dataOffset); dataOffset += 4; SMBUtil.writeInt4(500000, buffer, dataOffset);
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/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java
SMBUtil.writeTime(creationTimeMs, buffer, 8); SMBUtil.writeTime(lastAccessTimeMs, buffer, 16); SMBUtil.writeTime(lastWriteTimeMs, buffer, 24); SMBUtil.writeTime(creationTimeMs + 300, buffer, 32); SMBUtil.writeInt8(4096, buffer, 40); SMBUtil.writeInt8(2048, buffer, 48); SMBUtil.writeInt4(0x20, buffer, 56); // When
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 26.9K bytes - Viewed (0)