Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for BufferOffset (0.81 sec)

  1. src/main/java/jcifs/pac/Pac.java

                    int bufferSize = pacStream.readInt();
                    long bufferOffset = pacStream.readLong();
    
                    if ( bufferOffset % 8 != 0 ) {
                        throw new PACDecodingException("Unaligned buffer " + bufferType);
                    }
    
                    byte[] bufferData = new byte[bufferSize];
                    System.arraycopy(data, (int) bufferOffset, bufferData, 0, bufferSize);
    
                    switch ( bufferType ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponse.java

            }
    
            int bufferOffset = SMBUtil.readInt2(buffer, bufferIndex + 2) + getHeaderStart();
            bufferIndex += 4;
            int len = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
    
            int elemStart = bufferOffset;
            FileNotifyInformationImpl i = new FileNotifyInformationImpl();
            bufferIndex += i.decode(buffer, bufferOffset, len);
            this.notifyInformation.add(i);
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 05 07:13:17 UTC 2018
    - 3.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponse.java

                throw new SMBProtocolDecodingException("Expected structureSize = 9");
            }
    
            int bufferOffset = SMBUtil.readInt2(buffer, bufferIndex + 2) + getHeaderStart();
            bufferIndex += 4;
            int bufferLength = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
    
            // bufferIndex = bufferOffset;
    
            List<FileEntry> infos = new ArrayList<>();
            do {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/info/Smb2QueryInfoResponse.java

            }
    
            int bufferOffset = SMBUtil.readInt2(buffer, bufferIndex + 2) + getHeaderStart();
            bufferIndex += 4;
            int bufferLength = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
            Decodable i = createInformation(this.expectInfoType, this.expectInfoClass);
            if ( i != null ) {
                i.decode(buffer, bufferOffset, bufferLength);
            }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Nov 13 15:13:49 UTC 2021
    - 6K bytes
    - Viewed (0)
Back to top