Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 329 for OFFSET (0.12 sec)

  1. src/test/java/jcifs/internal/fscc/FileStandardInfoTest.java

            // Encode test data
            int offset = 0;
            SMBUtil.writeInt8(expectedAllocationSize, buffer, offset);
            offset += 8;
            SMBUtil.writeInt8(expectedEndOfFile, buffer, offset);
            offset += 8;
            SMBUtil.writeInt4(expectedNumberOfLinks, buffer, offset);
            offset += 4;
            buffer[offset++] = (byte) (expectedDeletePending ? 1 : 0);
            buffer[offset++] = (byte) (expectedDirectory ? 1 : 0);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponseTest.java

            offset += 8;
    
            // sectorsPerAllocationUnit (4 bytes)
            SMBUtil.writeInt4(16, buffer, offset);
            offset += 4;
    
            // bytesPerSector (4 bytes)
            SMBUtil.writeInt4(4096, buffer, offset);
            offset += 4;
    
            // Set dataCount using reflection
            setDataCount(response, offset);
    
            int bytesRead = response.readDataWireFormat(buffer, 0, offset);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  3. 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)
  4. src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponseTest.java

                // DFS alternate path offset (2 bytes)
                SMBUtil.writeInt2(0, buffer, offset + 14);
    
                // Network address offset (2 bytes)
                SMBUtil.writeInt2(0, buffer, offset + 16);
    
                // Padding
                buffer[offset + 18] = 0;
                buffer[offset + 19] = 0;
    
                // Write string data at stringOffset
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java

            buffer[offset + 3] = 0;
            SMBUtil.writeInt4(0x1234, buffer, offset + 4);
            SMBUtil.writeInt4(0x5678, buffer, offset + 8);
            SMBUtil.writeInt4(0x9ABC, buffer, offset + 12);
    
            // When
            int bytesRead = response.readBytesWireFormat(buffer, offset);
    
            // Then
            assertEquals(16, bytesRead);
            assertEquals((byte) 0x02, response.getShareType());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/com/SmbComReadAndXResponse.java

        }
    
        /**
         * Gets the offset in the data buffer.
         *
         * @return the offset
         */
        public final int getOffset() {
            return this.offset;
        }
    
        /**
         * Adjusts the offset by the specified amount.
         *
         * @param n the amount to adjust the offset
         */
        public void adjustOffset(final int n) {
            this.offset += n;
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  7. 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)
  8. src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java

                    System.arraycopy(data, 0, dst, offset, data.length);
                    offset += data.length;
                }
    
                // Pad to 8-byte boundary
                while ((offset - dstIndex) % 8 != 0) {
                    dst[offset++] = 0;
                }
    
                return offset - dstIndex;
            }
    
            @Override
            public int size() {
                sizeCallCount++;
                if (throwOnSize) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top