Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for readLength (0.17 sec)

  1. src/main/java/jcifs/internal/smb2/io/Smb2ReadRequest.java

         */
        public void setReadFlags ( byte readFlags ) {
            this.readFlags = readFlags;
        }
    
    
        /**
         * @param readLength
         *            the readLength to set
         */
        public void setReadLength ( int readLength ) {
            this.readLength = readLength;
        }
    
    
        /**
         * @param offset
         *            the offset to set
         */
        public void setOffset ( long offset ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/pac/ASN1Util.java

            int ftag = in.read();
            int tag = readTagNumber(in, ftag);
            if ( tag != expectTag ) {
                throw new IOException("Unexpected tag " + tag);
            }
            int length = readLength(in, limit, false);
            byte[] content = new byte[length];
            in.read(content);
            return content;
        }
    
        // shamelessly stolen from BC ASN1InputStream
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Oct 02 12:02:06 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/netbios/SessionServicePacket.java

            return ( ( src[ srcIndex ] & 0xFF ) << 24 ) + ( ( src[ srcIndex + 1 ] & 0xFF ) << 16 ) + ( ( src[ srcIndex + 2 ] & 0xFF ) << 8 )
                    + ( src[ srcIndex + 3 ] & 0xFF );
        }
    
    
        static int readLength ( byte[] src, int srcIndex ) {
            srcIndex++;
            return ( ( src[ srcIndex++ ] & 0x01 ) << 16 ) + ( ( src[ srcIndex++ ] & 0xFF ) << 8 ) + ( src[ srcIndex++ ] & 0xFF );
        }
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/netbios/SocketInputStream.java

                    case SessionServicePacket.SESSION_KEEP_ALIVE:
                        break;
                    case SessionServicePacket.SESSION_MESSAGE:
                        bip = SessionServicePacket.readLength( header, 0 );
                        break;
                    case -1:
                        if( tot > 0 ) {
                            return tot;
                        }
                        return -1;
                }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 3.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/netbios/SessionServicePacket.java

                    (( src[srcIndex + 1] & 0xFF ) << 16 ) +
                    (( src[srcIndex + 2] & 0xFF ) << 8 ) +
                    ( src[srcIndex + 3] & 0xFF );
        }
        static int readLength( byte[] src, int srcIndex ) {
            srcIndex++;
            return (( src[srcIndex++] & 0x01 ) << 16 ) +
                    (( src[srcIndex++] & 0xFF ) << 8 ) +
                    ( src[srcIndex++] & 0xFF );
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 4.8K bytes
    - Viewed (0)
Back to top