- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 465 for OFFSET (0.03 sec)
-
src/archive/zip/writer.go
closed bool compressors map[uint16]Compressor comment string // testHookCloseSizeOffset if non-nil is called with the size // of offset of the central directory at Close. testHookCloseSizeOffset func(size, offset uint64) } type header struct { *FileHeader offset uint64 raw bool } // NewWriter returns a new [Writer] writing a zip file to w. func NewWriter(w io.Writer) *Writer {
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Tue Jan 28 04:20:09 UTC 2025 - 19.4K 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) -
cmd/erasure-decode.go
if offset < 0 || length < 0 { return -1, errInvalidArgument } if offset+length > totalLength { return -1, errInvalidArgument } if length == 0 { return 0, nil } reader := newParallelReader(readers, e, offset, totalLength) if len(prefer) == len(readers) {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Thu Aug 29 01:40:52 UTC 2024 - 9.5K bytes - Viewed (0) -
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) -
src/test/java/jcifs/netbios/NameTest.java
byte[] dst = new byte[200]; int offset = 50; int length = name.writeWireFormat(dst, offset); // Check first byte at offset assertEquals(0x20, dst[offset]); // Check type encoding at correct offset assertEquals('C', dst[offset + 31]); assertEquals('A', dst[offset + 32]); assertTrue(length > 33); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.4K 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/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/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/smb2/io/Smb2ReadResponseTest.java
} @Test @DisplayName("Should handle output buffer with offset") void testReadBytesWireFormatWithOutputOffset() throws Exception { // Given int offset = 100; byte[] largeOutputBuffer = new byte[1024]; Smb2ReadResponse offsetResponse = new Smb2ReadResponse(mockConfig, largeOutputBuffer, offset); byte[] buffer = new byte[256]; int bodyStart = 0;
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/io/Smb2FlushRequestTest.java
int offset = 64; // Start at offset to test proper indexing int written = request.writeBytesWireFormat(buffer, offset); // Verify bytes written assertEquals(24, written); // Verify structure size (should be 24) assertEquals(24, SMBUtil.readInt2(buffer, offset)); // Verify Reserved1 (2 bytes at offset+2, should be 0)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0)