Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 46 of 46 for ReadUint8 (0.23 sec)

  1. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java

            // Then
            assertTrue(bytesWritten > 0);
    
            // Verify negotiate context offset/count area is zeroed
            assertEquals(0, SMBUtil.readInt8(buffer, 28));
        }
    
        @Test
        @DisplayName("Should read empty bytes from wire format")
        void testReadBytesWireFormat() {
            // Given
            request = new Smb2NegotiateRequest(mockConfig, 0);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseContext.java

                int scopeOrdinal = SMBUtil.readInt4(buffer, dataOffset);
                this.cacheScope = DirectoryCacheScope.values()[scopeOrdinal];
                dataOffset += 4;
    
                this.maxCacheAge = SMBUtil.readInt8(buffer, dataOffset);
                dataOffset += 8;
    
                int flags = SMBUtil.readInt4(buffer, dataOffset);
                this.notificationEnabled = (flags & DIRECTORY_LEASE_FLAG_NOTIFICATIONS) != 0;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java

            return (src[srcIndex] & 0xFF) + ((src[srcIndex + 1] & 0xFF) << 8) + ((src[srcIndex + 2] & 0xFF) << 16)
                    + ((src[srcIndex + 3] & 0xFF) << 24);
        }
    
        static long readInt8(final byte[] src, final int srcIndex) {
            return (readInt4(src, srcIndex) & 0xFFFFFFFFL) + ((long) readInt4(src, srcIndex + 4) << 32);
        }
    
        static void writeInt8(long val, final byte[] dst, int dstIndex) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  4. docs/smb3-features/01-smb3-lease-design.md

            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];
                System.arraycopy(buffer, offset + 32, parentKeyBytes, 0, 16);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 22K bytes
    - Viewed (0)
  5. 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;
                
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  6. docs/smb3-features/03-multi-channel-design.md

                int next = readInt4(data, offset);
                int ifIndex = readInt4(data, offset + 4);
                int capability = readInt4(data, offset + 8);
                long linkSpeed = readInt8(data, offset + 16);
                
                // Parse socket address
                InetAddress addr = parseSockaddr(data, offset + 24);
                
                NetworkInterfaceInfo info = new NetworkInterfaceInfo(
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 39.6K bytes
    - Viewed (0)
Back to top