- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 365 for _offset (0.03 sec)
-
src/test/java/jcifs/internal/smb1/net/NetShareEnumResponseTest.java
SMBUtil.writeInt2(shareType, buffer, bufferIndex); bufferIndex += 2; // Write remark offset (4 bytes) int remarkOffset = shareNameSize + typeSize + offsetSize; SMBUtil.writeInt4(remarkOffset, buffer, bufferIndex); bufferIndex += 4; // Write remark at the calculated offset byte[] remarkBytes = remark.getBytes(StandardCharsets.US_ASCII);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.2K bytes - Viewed (0) -
docs/smb3-features/03-multi-channel-design.md
private void encodeSockaddr(byte[] buffer, int offset) { if (ipv6) { // IPv6 sockaddr_in6 structure writeInt2(buffer, offset, 23); // AF_INET6 writeInt2(buffer, offset + 2, 445); // Port writeInt4(buffer, offset + 4, 0); // Flow info System.arraycopy(address.getAddress(), 0, buffer, offset + 8, 16); writeInt4(buffer, offset + 24, 0); // Scope ID } else {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 39.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationTest.java
byte[] buffer = new byte[512]; int offset = 0; // Write setup offset += trans2QueryFSInfo.writeSetupWireFormat(buffer, offset); assertEquals(2, offset); // Write parameters offset += trans2QueryFSInfo.writeParametersWireFormat(buffer, offset); assertEquals(4, offset); // Write data offset += trans2QueryFSInfo.writeDataWireFormat(buffer, offset);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComWrite.java
private int fid, count, offset, remaining, off; private byte[] b; SmbComWrite() { command = SMB_COM_WRITE; } SmbComWrite(final int fid, final int offset, final int remaining, final byte[] b, final int off, final int len) { this.fid = fid; this.count = len; this.offset = offset; this.remaining = remaining; this.b = b;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/AndXServerMessageBlockTest.java
@DisplayName("writeAndXWireFormat without andx writes 0xFF and sentinel offset") void testWriteAndXWireFormatWithoutAndx() { DummyAndXBlock block = new DummyAndXBlock(); byte[] buf = new byte[128]; int n = block.writeAndXWireFormat(buf, 0); assertTrue(n > 0); // Common AndX header: command at +1, reserved at +2, offset at +3/+4
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileInternalInfoTest.java
@Test @DisplayName("Test decode with buffer offset") void testDecodeWithBufferOffset() throws SMBProtocolDecodingException { // Prepare test data with offset byte[] buffer = new byte[20]; // Extra space to test offset int bufferIndex = 7; // Start at offset 7 long expectedIndexNumber = 0xFEDCBA9876543210L; // Encode test data at offset
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/main/java/jcifs/util/ServerResponseValidator.java
} } /** * Validate offset and length for file operations * * @param offset file offset * @param length operation length * @param fileSize total file size * @throws SmbException if parameters are invalid */ public void validateFileOperation(long offset, long length, long fileSize) throws SmbException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeTest.java
assertEquals(SmbComTransaction.TRANS_CALL_NAMED_PIPE, dst[offset]); assertEquals((byte) 0x00, dst[offset + 1]); assertEquals((byte) 0x00, dst[offset + 2]); assertEquals((byte) 0x00, dst[offset + 3]); } @Test @DisplayName("Test readSetupWireFormat returns 0") void testReadSetupWireFormat() { // Given
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (0) -
guava/src/com/google/common/hash/Murmur3_32HashFunction.java
} h1 ^= mixK1(k1); return fmix(h1, len); } private static int getIntLittleEndian(byte[] input, int offset) { return Ints.fromBytes(input[offset + 3], input[offset + 2], input[offset + 1], input[offset]); } private static int mixK1(int k1) { k1 *= C1; k1 = Integer.rotateLeft(k1, 15); k1 *= C2; return k1; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Apr 14 16:36:11 UTC 2025 - 11.8K bytes - Viewed (0) -
src/test/java/jcifs/http/NtlmSspTest.java
message[8] = 0x03; // LM Response (24 bytes at offset 64) message[12] = 24; // Length message[13] = 0; message[14] = 24; // Max Length message[15] = 0; message[16] = 64; // Offset message[17] = 0; message[18] = 0; message[19] = 0; // NT Response (24 bytes at offset 88) message[20] = 24; // Length message[21] = 0;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 11.4K bytes - Viewed (0)