- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 585 for buffer1 (1.28 sec)
-
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java
byte[] buffer = new byte[512]; // When int bytesWritten = request.writeBytesWireFormat(buffer, 0); // Then assertTrue(bytesWritten > 0); // Verify structure size assertEquals(36, SMBUtil.readInt2(buffer, 0)); // Verify dialect count assertEquals(3, SMBUtil.readInt2(buffer, 2)); // SMB210, SMB300, SMB302Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComLockingAndX.java
protected int readParameterWordsWireFormat(final byte[] buffer, int bufferIndex) { final int start = bufferIndex; this.fid = SMBUtil.readInt2(buffer, bufferIndex); bufferIndex += 2; this.typeOfLock = buffer[bufferIndex]; if ((this.typeOfLock & 0x10) == 0x10) { this.largeFile = true; } this.newOpLockLevel = buffer[bufferIndex + 1]; bufferIndex += 2;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.2K bytes - Viewed (0) -
src/main/java/jcifs/util/Strings.java
/** * Finds the null termination in a UTF-16LE encoded string buffer. * * @param buffer the byte buffer to search * @param bufferIndex the starting position in the buffer * @param maxLen the maximum length to search * @return position of terminating null bytes */ public static int findUNITermination(final byte[] buffer, final int bufferIndex, final int maxLen) { int len = 0;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java
SMBUtil.writeTime(testTime, buffer, 32); // changeTime SMBUtil.writeInt8(1024L, buffer, 40); // endOfFile SMBUtil.writeInt8(2048L, buffer, 48); // allocationSize SMBUtil.writeInt4(0x20, buffer, 56); // extFileAttributes SMBUtil.writeInt4(512, buffer, 64); // eaSize // Decode fileBothDirectoryInfo.decode(buffer, 0, buffer.length);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponseTest.java
SMBUtil.writeInt4(-1000, buffer, bufferIndex + 11); SMBUtil.writeInt4(0, buffer, bufferIndex + 15); SMBUtil.writeInt4(0, buffer, bufferIndex + 19); SMBUtil.writeInt4(-5000, buffer, bufferIndex + 23); SMBUtil.writeInt4(0, buffer, bufferIndex + 27); SMBUtil.writeInt4(0, buffer, bufferIndex + 31); buffer[bufferIndex + 35] = (byte) 0x80; // 128 as unsigned
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 16.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescResponseTest.java
// Group SID at offset 40 buffer.position(40); buffer.put((byte) 0x01); // Revision buffer.put((byte) 0x01); // SubAuthorityCount buffer.put(new byte[] { 0, 0, 0, 0, 0, 2 }); // IdentifierAuthority buffer.putInt(0); // SubAuthority // DACL at offset 60 buffer.position(60); buffer.put((byte) 0x02); // AclRevisionRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComReadAndXResponse.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeHandleInternal.java
/** * Gets the send buffer size of the underlying SMB connection * @return the send buffer size of the underlying connection * @throws CIFSException if an error occurs retrieving the buffer size */ int getSendBufferSize() throws CIFSException; /** * Gets the receive buffer size of the underlying SMB connection * @return the receive buffer size of the underlying connectionRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3K bytes - Viewed (0) -
src/test/java/jcifs/util/EncdecTest.java
int value = 0x12345678; byte[] buffer = new byte[4]; // When - encode little endian Encdec.enc_uint32le(value, buffer, 0); long decoded = Encdec.dec_uint32le(buffer, 0); // Then assertEquals(value & 0xFFFFFFFFL, decoded); assertEquals(0x78, buffer[0] & 0xFF); assertEquals(0x56, buffer[1] & 0xFF); assertEquals(0x34, buffer[2] & 0xFF);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/compression/CompressionNegotiateContextTest.java
// Encode first byte[] buffer = new byte[256]; int encodedSize = context.encode(buffer, 0); // Create new context for decoding CompressionNegotiateContext decodedContext = new CompressionNegotiateContext(); int decodedSize = decodedContext.decode(buffer, 0, encodedSize); assertEquals(encodedSize, decodedSize);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 5.6K bytes - Viewed (0)