Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for num_bytes (0.06 sec)

  1. src/main/java/jcifs/smb1/netbios/SocketInputStream.java

        }
        public synchronized long skip( long numbytes ) throws IOException {
            if( numbytes <= 0 ) {
                return 0;
            }
            long n = numbytes;
            while( n > 0 ) {
                int r = read( tmp, 0, (int)Math.min( (long)TMP_BUFFER_SIZE, n ));
                if (r < 0) {
                    break;
                }
                n -= r;
            }
            return numbytes - n;
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 3.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/fscc/FsctlPipeWaitRequest.java

            dstIndex += 8;
            SMBUtil.writeInt4(this.nameBytes.length, dst, dstIndex);
            dstIndex += 4;
    
            dst[ dstIndex ] = (byte) ( this.timeoutSpecified ? 0x1 : 0x0 );
            dstIndex++;
            dstIndex++; // Padding
    
            System.arraycopy(this.nameBytes, 0, dst, dstIndex, this.nameBytes.length);
            dstIndex += this.nameBytes.length;
    
            return dstIndex - start;
        }
    
    
        /**
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/fscc/FileRenameInformation2.java

            dstIndex += 8; // 7 Reserved
            dstIndex += 8; // RootDirectory = 0
    
            byte[] nameBytes = this.fileName.getBytes(StandardCharsets.UTF_16LE);
    
            SMBUtil.writeInt4(nameBytes.length, dst, dstIndex);
            dstIndex += 4;
    
            System.arraycopy(nameBytes, 0, dst, dstIndex, nameBytes.length);
            dstIndex += nameBytes.length;
    
            return dstIndex - start;
        }
    
    
        /**
         * {@inheritDoc}
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/create/Smb2CreateResponse.java

                    cci += 4;
    
                    byte[] nameBytes = new byte[nameLength];
                    System.arraycopy(buffer, createContextStart + nameOffset, nameBytes, 0, nameBytes.length);
                    cci = Math.max(cci, createContextStart + nameOffset + nameLength);
    
                    CreateContextResponse cc = createContext(nameBytes);
                    if ( cc != null ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.6K bytes
    - Viewed (0)
Back to top