- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 435 for _offset (0.04 sec)
-
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) -
android/guava/src/com/google/common/collect/ImmutableList.java
return new SubList(fromIndex, toIndex - fromIndex); } private final class SubList extends ImmutableList<E> { final transient int offset; final transient int length; SubList(int offset, int length) { this.offset = offset; this.length = length; } @Override public int size() { return length; } @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 27.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) -
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/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/test/java/jcifs/internal/smb2/info/Smb2QueryInfoResponseTest.java
SMBUtil.writeInt2(0x8004, buffer, 22); // Control flags SMBUtil.writeInt4(0, buffer, 24); // Owner offset SMBUtil.writeInt4(0, buffer, 28); // Group offset SMBUtil.writeInt4(0, buffer, 32); // SACL offset SMBUtil.writeInt4(0, buffer, 36); // DACL offset int result = response.readBytesWireFormat(buffer, bufferIndex); assertNotNull(response.getInfo());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/Smb2RdmaTransform.java
*/ public Smb2RdmaTransform(long offset, int token, int length) { this.offset = offset; this.token = token; this.length = length; } /** * Get buffer offset * * @return offset within registered buffer */ public long getOffset() { return offset; } /** * Get RDMA token * * @return RDMA provider token
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 3K bytes - Viewed (0) -
src/test/java/jcifs/util/HexdumpTest.java
} @Test @DisplayName("Should format with specific offset and length") void testHexdumpWithOffsetAndLength() { // Given byte[] data = createTestData(64); int offset = 16; int length = 32; // When String result = Hexdump.toHexString(data, offset, length); // Then assertNotNull(result);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/rank/fusion/RankFusionProcessor.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 24.8K bytes - Viewed (0)