- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 541 for offset (0.06 sec)
-
src/test/java/jcifs/internal/smb2/ioctl/SrvCopyChunkCopyResponseTest.java
@Test @DisplayName("Should decode at different buffer offset") void testDecodeWithOffset() throws SMBProtocolDecodingException { byte[] buffer = new byte[256]; int offset = 100; byte[] responseData = createValidCopyChunkResponse(10, 131072, 1310720); System.arraycopy(responseData, 0, buffer, offset, responseData.length);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.8K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/HashCode.java
writeBytesToImpl(dest, offset, maxLength); return maxLength; } abstract void writeBytesToImpl(byte[] dest, int offset, int maxLength); /** * Returns a mutable view of the underlying bytes for the given {@code HashCode} if it is a * byte-based hashcode. Otherwise it returns {@link HashCode#asBytes}. Do <i>not</i> mutate this
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 12.6K 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/util/SMBUtilTest.java
assertEquals(0xFFFF, SMBUtil.readInt2(buffer, 14)); // Test different offsets for (int offset = 0; offset <= 8; offset++) { SMBUtil.writeInt4(0x12345678, buffer, offset); assertEquals(0x12345678, SMBUtil.readInt4(buffer, offset)); } } @Test void testNegativeValueHandling() { byte[] buffer = new byte[8];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.1K 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/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java
SMBUtil.writeInt8(testTime, buffer, offset + 8); SMBUtil.writeInt8(testTime + 1000, buffer, offset + 16); SMBUtil.writeInt8(testTime + 2000, buffer, offset + 24); SMBUtil.writeInt8(testTime + 3000, buffer, offset + 32); SMBUtil.writeInt8(8192, buffer, offset + 40); SMBUtil.writeInt8(2048, buffer, offset + 48); SMBUtil.writeInt4(0x10, buffer, offset + 56);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 26.9K bytes - Viewed (0) -
generics.go
return c.with(func(db *DB) *DB { return db.Or(query, args...) }) } func (c chainG[T]) Limit(offset int) ChainInterface[T] { return c.with(func(db *DB) *DB { return db.Limit(offset) }) } func (c chainG[T]) Offset(offset int) ChainInterface[T] { return c.with(func(db *DB) *DB { return db.Offset(offset) }) } type joinBuilder struct { db *DB }
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Thu Sep 04 13:13:16 UTC 2025 - 15.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoRequestTest.java
@Test @DisplayName("Test encode with offset") void testEncodeWithOffset() { ValidateNegotiateInfoRequest request = new ValidateNegotiateInfoRequest(DEFAULT_CAPABILITIES, defaultClientGuid, DEFAULT_SECURITY_MODE, defaultDialects); int offset = 100; byte[] buffer = new byte[offset + request.size()]; int encodedLength = request.encode(buffer, offset); // Verify encoded lengthRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.7K 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) -
lib/wasm/wasm_exec.js
let offset = 4096; const strPtr = (str) => { const ptr = offset; const bytes = encoder.encode(str + "\0"); new Uint8Array(this.mem.buffer, offset, bytes.length).set(bytes); offset += bytes.length; if (offset % 8 !== 0) { offset += 8 - (offset % 8); } return ptr; }; const argc = this.argv.length;Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Sun Dec 08 15:34:47 UTC 2024 - 16.6K bytes - Viewed (0)