Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 369 for _offset (1.65 sec)

  1. src/main/java/jcifs/smb/compression/CompressionService.java

         *
         * @param data the data buffer
         * @param offset the offset in the buffer
         * @param length the length of data to compress
         * @param algorithm the compression algorithm to use
         * @return the compressed data
         * @throws CIFSException if compression fails
         */
        byte[] compress(byte[] data, int offset, int length, int algorithm) throws CIFSException;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java

            // Verify notify flags
            assertEquals(Smb2ChangeNotifyRequest.SMB2_WATCH_TREE, SMBUtil.readInt2(buffer, offset + 2));
    
            // Verify output buffer length
            assertEquals(8192, SMBUtil.readInt4(buffer, offset + 4));
    
            // Verify file ID
            byte[] readFileId = new byte[16];
            System.arraycopy(buffer, offset + 8, readFileId, 0, 16);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponseTest.java

            byte[] hdr = new byte[64]; // SMB2 header is 64 bytes
            System.arraycopy(SMBUtil.SMB2_HEADER, 0, hdr, 0, 64);
            // Write Status (little-endian) at offset 8 in the SMB2 header
            SMBUtil.writeInt4(status, hdr, 8);
            // Write Command = SMB2_IOCTL (0x000B) at offset 12
            SMBUtil.writeInt2(0x000B, hdr, 12);
            // Mark as server response to be realistic (optional)
    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/test/java/jcifs/ntlmssp/NtlmMessageTest.java

            // Length = 5, Offset = 8
            ByteBuffer buffer = ByteBuffer.wrap(data).order(ByteOrder.LITTLE_ENDIAN);
            buffer.putShort(0, (short) content.length); // Length
            buffer.putShort(2, (short) content.length); // MaxLength (not used by readSecurityBuffer, but typically same as length)
            buffer.putInt(4, 8); // Offset
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/hash/Fingerprint2011.java

      }
    
      private static long hashLength33To64(byte[] bytes, int offset, int length) {
        long z = load64(bytes, offset + 24);
        long a = load64(bytes, offset) + (length + load64(bytes, offset + length - 16)) * K0;
        long b = rotateRight(a + z, 52);
        long c = rotateRight(a, 37);
        a += load64(bytes, offset + 8);
        c += rotateRight(a, 7);
        a += load64(bytes, offset + 16);
        long vf = a + z;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/lock/Smb2Lock.java

         */
        public static final int SMB2_LOCKFLAG_FAIL_IMMEDIATELY = 0x10;
    
        private final long offset;
        private final long length;
        private final int flags;
    
        /**
         * Constructs an SMB2 lock element with the specified parameters.
         *
         * @param offset the byte offset in the file where the lock begins
         * @param length the number of bytes to lock
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/io/Smb2ReadRequest.java

            this.readLength = readLength;
        }
    
        /**
         * Sets the file offset from which to start reading
         *
         * @param offset
         *            the offset to set
         */
        public void setOffset(final long offset) {
            this.offset = offset;
        }
    
        /**
         * Sets the minimum number of bytes that must be read for the operation to succeed
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/nego/EncryptionNegotiateContextTest.java

            }
    
            @Test
            @DisplayName("Should decode at non-zero offset")
            void testDecodeWithOffset() throws SMBProtocolDecodingException {
                int offset = 50;
                SMBUtil.writeInt2(1, buffer, offset);
                SMBUtil.writeInt2(EncryptionNegotiateContext.CIPHER_AES128_GCM, buffer, offset + 2);
    
                EncryptionNegotiateContext context = new EncryptionNegotiateContext();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/Location.java

        /**
         * Return the byte or character offset into the input source this location
         * is pointing to. If the input source is a file or a byte stream then
         * this is the byte offset into that stream, but if the input source is
         * a character media then the offset is the character offset.
         * Returns -1 if there is no offset available.
         * @return the current offset
         */
        int getCharacterOffset();
    
        /**
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Mon Mar 25 10:50:01 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  10. 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)
Back to top