- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 491 for Offset (0.03 sec)
-
src/main/java/jcifs/internal/smb1/com/SmbComReadAndX.java
@Override public String toString() { return ("SmbComReadAndX[" + super.toString() + ",fid=" + this.fid + ",offset=" + this.offset + ",maxCount=" + this.maxCount + ",minCount=" + this.minCount + ",openTimeout=" + this.openTimeout + ",remaining=" + this.remaining + ",offset=" + this.offset + "]"); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.4K bytes - Viewed (0) -
docs/smb3-features/01-smb3-lease-design.md
breakReason = readInt4(buffer, offset); offset += 4; // AccessMaskHint (4 bytes) accessMaskHint = readInt4(buffer, offset); offset += 4; // ShareAccessHint (4 bytes) shareAccessHint = readInt4(buffer, offset); offset += 4; return offset - start; } } ``` ### 5.2 Lease Break Acknowledgment ```java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 22K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeTest.java
byte[] dst = new byte[100]; int bytesWritten = notifyChange.writeSetupWireFormat(dst, 10); // Verify structure: // Offset 0-3: Completion Filter (4 bytes) // Offset 4-5: FID (2 bytes) // Offset 6: Watch Tree (1 byte) // Offset 7: Reserved (1 byte) assertEquals(8, bytesWritten); // Check completion filter
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/RegularImmutableSortedMultiset.java
this.elementSet = elementSet; this.cumulativeCounts = cumulativeCounts; this.offset = offset; this.length = length; } private int getCount(int index) { return (int) (cumulativeCounts[offset + index + 1] - cumulativeCounts[offset + index]); } @Override Entry<E> getEntry(int index) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 28 01:26:26 UTC 2024 - 4.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/SMBSigningDigestTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
src/bytes/compare_test.go
buffer := make([]byte, len(tt.b)+numShifts) // vary the input alignment of tt.b for offset := 0; offset <= numShifts; offset++ { shiftedB := buffer[offset : len(tt.b)+offset] copy(shiftedB, tt.b) cmp := Compare(tt.a, shiftedB) if cmp != tt.i { t.Errorf(`Compare(%q, %q), offset %d = %v; want %v`, tt.a, tt.b, offset, cmp, tt.i) } } } } func TestCompareIdenticalSlice(t *testing.T) {
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Thu Jul 13 23:11:42 UTC 2023 - 6.8K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacTest.java
writeLittleEndianInt(baos, 8); // minimal size writeLittleEndianLong(baos, 72); // offset (aligned) // Buffer 2: SERVER_CHECKSUM writeLittleEndianInt(baos, PacConstants.SERVER_CHECKSUM); writeLittleEndianInt(baos, 20); // signature size writeLittleEndianLong(baos, 80); // offset (aligned) // Buffer 3: PRIVSVR_CHECKSUM
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/test/java/jcifs/internal/dtyp/ACETest.java
@Test @DisplayName("Test decode with offset") void testDecodeWithOffset() { // Prepare test data with offset testBuffer = new byte[150]; int offset = 50; testBuffer[offset] = 0x00; // Allow ACE testBuffer[offset + 1] = 0x08; // FLAGS_INHERIT_ONLY testBuffer[offset + 2] = 0x20; // Size low byte testBuffer[offset + 3] = 0x00; // Size high byte
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.6K bytes - Viewed (0) -
cmd/streaming-v4-unsigned.go
func (cr *s3UnsignedChunkedReader) Read(buf []byte) (n int, err error) { // First, if there is any unread data, copy it to the client // provided buffer. if cr.offset > 0 { n = copy(buf, cr.buffer[cr.offset:]) if n == len(buf) { cr.offset += n return n, nil } cr.offset = 0 buf = buf[n:] } // mustRead reads from input and compares against provided slice. mustRead := func(b ...byte) error { for _, want := range b {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Thu Apr 03 14:55:52 UTC 2025 - 6.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java
@DisplayName("Should handle buffer with offset correctly") void testReadWithBufferOffset() throws Exception { int offset = 10; byte[] buffer = new byte[64]; byte[] fileId = createTestData(16); byte oplockLevel = 0x02; // Fill some random data before offset Arrays.fill(buffer, 0, offset, (byte) 0xAB);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0)