Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 365 for _offset (0.03 sec)

  1. src/main/java/jcifs/internal/smb2/Smb2SigningDigest.java

            // Validate input parameters
            if (data == null) {
                log.error("Data buffer is null in verify");
                return false;
            }
            if (offset < 0 || length < 0) {
                log.error("Invalid offset or length in verify: offset={}, length={}", offset, length);
                return false;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbComReadAndX.java

            this.offset = offset;
            this.maxCount = minCount = maxCount;
            command = SMB_COM_READ_ANDX;
            openTimeout = 0xFFFFFFFF;
        }
    
        void setParam(final int fid, final long offset, final int maxCount) {
            this.fid = fid;
            this.offset = offset;
            this.maxCount = minCount = maxCount;
        }
    
        @Override
        int getBatchLimit(final byte command) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/lock/Smb2LockTest.java

                Smb2Lock lock3 = new Smb2Lock(500L, 600L, 4);
    
                int offset = 0;
                offset += lock1.encode(buffer, offset);
                offset += lock2.encode(buffer, offset);
                offset += lock3.encode(buffer, offset);
    
                assertEquals(72, offset); // 3 * 24
    
                // Verify first lock
                assertEquals(100L, SMBUtil.readInt8(buffer, 0));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SigningDigest.java

         * @param offset the offset in the buffer where data starts
         * @param len the length of data to digest
         */
        public void update(final byte[] input, final int offset, final int len) {
            if (LogStream.level >= 5) {
                log.println("update: " + updates + " " + offset + ":" + len);
                Hexdump.hexdump(log, input, offset, Math.min(len, 256));
                log.flush();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. src/test/java/jcifs/internal/fscc/SmbInfoAllocationTest.java

            // Encode test data at offset
            int offset = bufferIndex;
            SMBUtil.writeInt4(idFileSystem, buffer, offset);
            offset += 4;
            SMBUtil.writeInt4(sectPerAlloc, buffer, offset);
            offset += 4;
            SMBUtil.writeInt4((int) alloc, buffer, offset);
            offset += 4;
            SMBUtil.writeInt4((int) free, buffer, offset);
            offset += 4;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
Back to top