Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 491 for Offset (0.04 sec)

  1. src/main/java/jcifs/smb1/ntlmssp/NtlmMessage.java

            final int offset = readULong(src, index + 4);
            final byte[] buffer = new byte[length];
            System.arraycopy(src, offset, buffer, 0, length);
            return buffer;
        }
    
        static void writeULong(final byte[] dest, final int offset, final int ulong) {
            dest[offset] = (byte) (ulong & 0xff);
            dest[offset + 1] = (byte) (ulong >> 8 & 0xff);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/create/LeaseV1CreateContextRequestTest.java

            assertArrayEquals(testKey.getKey(), encodedKey);
    
            // Verify lease state at offset 40 (24 + 16 for key)
            assertEquals(testState, SMBUtil.readInt4(buffer, 40));
    
            // Verify lease flags at offset 44 (40 + 4 for state)
            assertEquals(0, SMBUtil.readInt4(buffer, 44));
    
            // Verify lease duration at offset 48 (44 + 4 for flags) - should be 0 (reserved)
            assertEquals(0, SMBUtil.readInt8(buffer, 48));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  3. cmd/erasure-utils.go

    	for _, block := range enBlocks[:dataBlocks] {
    		// Skip blocks until we have reached our offset.
    		if offset >= int64(len(block)) {
    			// Decrement offset.
    			offset -= int64(len(block))
    			continue
    		}
    
    		// Skip until offset.
    		block = block[offset:]
    
    		// Reset the offset for next iteration to read everything
    		// from subsequent blocks.
    		offset = 0
    
    		// We have written all the blocks, write the last remaining block.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Jan 31 02:11:45 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java

            buffer[40] = 0x00;
    
            // Parameter offset (2 bytes)
            buffer[41] = 0x00;
            buffer[42] = 0x00;
    
            // Parameter displacement (2 bytes)
            buffer[43] = 0x00;
            buffer[44] = 0x00;
    
            // Data count (2 bytes)
            buffer[45] = 0x00;
            buffer[46] = 0x00;
    
            // Data offset (2 bytes)
            buffer[47] = 0x00;
            buffer[48] = 0x00;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationTest.java

            byte[] buffer = new byte[512];
            int offset = 0;
    
            // Write setup
            offset += trans2QueryFSInfo.writeSetupWireFormat(buffer, offset);
            assertEquals(2, offset);
    
            // Write parameters
            offset += trans2QueryFSInfo.writeParametersWireFormat(buffer, offset);
            assertEquals(4, offset);
    
            // Write data
            offset += trans2QueryFSInfo.writeDataWireFormat(buffer, offset);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/dict/mapping/CharMappingFile.java

            if (offset >= mappingItemList.size() || offset < 0) {
                return new PagingList<>(Collections.<CharMappingItem> emptyList(), offset, size, mappingItemList.size());
            }
    
            int toIndex = offset + size;
            if (toIndex > mappingItemList.size()) {
                toIndex = mappingItemList.size();
            }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/com/SmbComWriteAndX.java

         * @param fid the file identifier
         * @param offset the file offset at which to write
         * @param remaining the number of bytes remaining to be written
         * @param b the data buffer containing bytes to write
         * @param off the offset in the buffer where data starts
         * @param len the number of bytes to write
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbComWrite.java

        private int fid, count, offset, remaining, off;
        private byte[] b;
    
        SmbComWrite() {
            command = SMB_COM_WRITE;
        }
    
        SmbComWrite(final int fid, final int offset, final int remaining, final byte[] b, final int off, final int len) {
            this.fid = fid;
            this.count = len;
            this.offset = offset;
            this.remaining = remaining;
            this.b = b;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/util/MD4.java

         *    @param    offset    starting position of sub-array.
         */
        private void transform(final byte[] block, int offset) {
    
            // encodes 64 bytes from input block into an array of 16 32-bit
            // entities. Use A as a temp var.
            for (int i = 0; i < 16; i++) {
                X[i] = block[offset++] & 0xFF | (block[offset++] & 0xFF) << 8 | (block[offset++] & 0xFF) << 16 | (block[offset++] & 0xFF) << 24;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/fscc/FsctlPipeWaitRequestTest.java

            // Verify
            assertEquals(14 + nameBytes.length, bytesEncoded);
    
            // Check timeout value at offset
            assertEquals(timeout, SMBUtil.readInt8(buffer, offset));
    
            // Check name length at offset
            assertEquals(nameBytes.length, SMBUtil.readInt4(buffer, offset + 8));
    
            // Check timeout specified flag at offset
            assertEquals(0x1, buffer[offset + 12]);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
Back to top