Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 251 for readInt8 (0.05 seconds)

  1. src/main/java/jcifs/smb1/smb1/Trans2QueryFSInformationResponse.java

            final SmbInfoAllocation info = new SmbInfoAllocation();
    
            info.alloc = readInt8(buffer, bufferIndex);
            bufferIndex += 8;
    
            info.free = readInt8(buffer, bufferIndex);
            bufferIndex += 8;
    
            info.sectPerAlloc = readInt4(buffer, bufferIndex);
            bufferIndex += 4;
    
            info.bytesPerSect = readInt4(buffer, bufferIndex);
            bufferIndex += 4;
    
            this.info = info;
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  2. src/main/java/jcifs/smb1/smb1/SmbComNTCreateAndXResponse.java

            bufferIndex += 8;
            extFileAttributes = readInt4(buffer, bufferIndex);
            bufferIndex += 4;
            allocationSize = readInt8(buffer, bufferIndex);
            bufferIndex += 8;
            endOfFile = readInt8(buffer, bufferIndex);
            bufferIndex += 8;
            fileType = readInt2(buffer, bufferIndex);
            bufferIndex += 2;
            deviceState = readInt2(buffer, bufferIndex);
            bufferIndex += 2;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  3. src/main/java/jcifs/smb1/smb1/Trans2QueryPathInformationResponse.java

            final SmbQueryFileStandardInfo info = new SmbQueryFileStandardInfo();
            info.allocationSize = readInt8(buffer, bufferIndex);
            bufferIndex += 8;
            info.endOfFile = readInt8(buffer, bufferIndex);
            bufferIndex += 8;
            info.numberOfLinks = readInt4(buffer, bufferIndex);
            bufferIndex += 4;
            info.deletePending = (buffer[bufferIndex] & 0xFF) > 0;
            bufferIndex++;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb1/smb1/Trans2FindFirst2Response.java

                e.endOfFile = readInt8(buffer, bufferIndex + 40);
                //      e.allocationSize = readInt8( buffer, bufferIndex + 48 );
                e.extFileAttributes = readInt4(buffer, bufferIndex + 56);
                e.fileNameLength = readInt4(buffer, bufferIndex + 60);
                //      e.eaSize = readInt4( buffer, bufferIndex + 64 );
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  5. src/main/java/jcifs/internal/util/SMBUtil.java

         * @param srcIndex the starting index in the source array
         * @return the 64-bit integer value
         */
        public static long readInt8(final byte[] src, final int srcIndex) {
            return (readInt4(src, srcIndex) & 0xFFFFFFFFL) + ((long) readInt4(src, srcIndex + 4) << 32);
        }
    
        /**
         * Writes a 64-bit integer value to a byte array in little-endian format
         * @param val the value to write
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 8K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java

            command = buffer[bufferIndex + CMD_OFFSET];
            errorCode = readInt4(buffer, bufferIndex + ERROR_CODE_OFFSET);
            flags = buffer[bufferIndex + FLAGS_OFFSET];
            flags2 = readInt2(buffer, bufferIndex + FLAGS_OFFSET + 1);
            tid = readInt2(buffer, bufferIndex + TID_OFFSET);
            pid = readInt2(buffer, bufferIndex + TID_OFFSET + 2);
            uid = readInt2(buffer, bufferIndex + TID_OFFSET + 4);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 19.7K bytes
    - Click Count (0)
  7. docs/smb3-features/01-smb3-lease-design.md

            System.arraycopy(buffer, offset, keyBytes, 0, 16);
            this.leaseKey = new Smb2LeaseKey(keyBytes);
            
            this.leaseState = readInt4(buffer, offset + 16);
            this.leaseFlags = readInt4(buffer, offset + 20);
            this.leaseDuration = readInt8(buffer, offset + 24);
            
            if (length >= 52) {  // V2 lease
                byte[] parentKeyBytes = new byte[16];
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 22K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkTest.java

                // Verify first chunk
                assertEquals(100L, SMBUtil.readInt8(buffer, 0));
                assertEquals(200L, SMBUtil.readInt8(buffer, 8));
                assertEquals(300, SMBUtil.readInt4(buffer, 16));
    
                // Verify second chunk
                assertEquals(400L, SMBUtil.readInt8(buffer, EXPECTED_SIZE));
                assertEquals(500L, SMBUtil.readInt8(buffer, EXPECTED_SIZE + 8));
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.4K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/util/SMBUtilTest.java

                    (byte) 0xCD, (byte) 0xAB // 0xABCD
            };
    
            assertEquals(0x1234, SMBUtil.readInt2(src, 0));
            assertEquals(0xFFFF, SMBUtil.readInt2(src, 2));
            assertEquals(0x0000, SMBUtil.readInt2(src, 4));
            assertEquals(0xABCD, SMBUtil.readInt2(src, 6));
        }
    
        @Test
        void testReadInt4() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  10. docs/smb3-features/04-directory-leasing-design.md

                
                int scopeOrdinal = readInt4(buffer, dataOffset);
                this.cacheScope = DirectoryCacheScope.values()[scopeOrdinal];
                dataOffset += 4;
                
                this.maxCacheAge = readInt8(buffer, dataOffset);
                dataOffset += 8;
                
                int flags = readInt4(buffer, dataOffset);
                dataOffset += 4;
                
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 36.2K bytes
    - Click Count (0)
Back to Top