- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 486 for _offsets (0.06 sec)
-
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/jcifs/ntlmssp/NtlmMessage.java
final int offset = readULong(src, index + 4); final byte[] buffer = new byte[length]; System.arraycopy(src, offset, buffer, 0, length); return buffer; } static void writeULong(final byte[] dest, final int offset, final int ulong) { dest[offset] = (byte) (ulong & 0xff); dest[offset + 1] = (byte) (ulong >> 8 & 0xff);
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/test/java/jcifs/smb1/smb1/SmbComNtTransactionTest.java
} } @BeforeEach void setUp() { smbComNtTransaction = new ConcreteSmbComNtTransaction(); } @Test void testConstructor() { // Test if the offsets are initialized correctly by the constructor. assertEquals(69, smbComNtTransaction.primarySetupOffset, "primarySetupOffset should be initialized to 69");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0) -
src/cmd/asm/internal/asm/asm.go
if lastAddr, ok := p.dataAddr[name]; ok && nameAddr.Offset < lastAddr { p.errorf("overlapping DATA entry for %s", name) return } p.dataAddr[name] = nameAddr.Offset + int64(sz) switch valueAddr.Type { case obj.TYPE_CONST: switch sz { case 1, 2, 4, 8: nameAddr.Sym.WriteInt(p.ctxt, nameAddr.Offset, int(sz), valueAddr.Offset) default: p.errorf("bad int size for DATA argument: %d", sz)
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Tue Aug 05 17:31:25 UTC 2025 - 26.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 32.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/DfsReferralRequestBufferTest.java
@DisplayName("Should encode with offset correctly") void testEncodeWithOffset() { String path = "\\\\test"; int maxReferralLevel = 5; buffer = new DfsReferralRequestBuffer(path, maxReferralLevel); int offset = 10; byte[] dst = new byte[offset + buffer.size()]; int bytesEncoded = buffer.encode(dst, offset);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComWriteTest.java
assertEquals(offset, getFieldValue(write, "offset"), "Offset should match constructor arg"); assertEquals(remaining, getFieldValue(write, "remaining"), "Remaining should match constructor arg"); assertEquals(buffer, getFieldValue(write, "b"), "Buffer reference should be set"); assertEquals(off, getFieldValue(write, "off"), "Off should match constructor arg");
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/jcifs/internal/smb1/com/SmbComSeekResponse.java
private long offset; /** * Constructs a seek response. * * @param config the configuration */ public SmbComSeekResponse(final Configuration config) { super(config); } /** * Gets the current file offset after the seek operation. * * @return the offset */ public long getOffset() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 2.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/io/Smb2WriteRequest.java
this.writeFlags = writeFlags; } /** * Sets the file offset where the write operation should begin. * * @param offset the offset to set */ public void setOffset(final long offset) { this.offset = offset; } /** * Add RDMA channel information for direct memory access *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 7.1K 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)