Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for srcIndex (0.09 sec)

  1. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

            if ( unicode ) {
                // Unicode requires word alignment
                if ( ( ( srcIndex - this.headerStart ) % 2 ) != 0 ) {
                    srcIndex++;
                }
                return Strings.fromUNIBytes(src, srcIndex, Strings.findUNITermination(src, srcIndex, maxLen));
            }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 05 09:45:59 UTC 2018
    - 32.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/netbios/NodeStatusResponse.java

            for ( int i = 0; i < this.numberOfNames; srcIndex += 18, i++ ) {
                for ( j = srcIndex + 14; src[ j ] == 0x20; j-- );
                n = Strings.fromOEMBytes(src, srcIndex, j - srcIndex + 1, this.config);
                hexCode = src[ srcIndex + 15 ] & 0xFF;
                groupName = ( ( src[ srcIndex + 16 ] & 0x80 ) == 0x80 ) ? true : false;
                ownerNodeType = ( src[ srcIndex + 16 ] & 0x60 ) >> 5;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/netbios/SessionServicePacket.java

        }
        static int readInt2( byte[] src, int srcIndex ) {
            return (( src[srcIndex] & 0xFF ) << 8 ) +
                    ( src[srcIndex + 1] & 0xFF );
        }
        static int readInt4( byte[] src, int srcIndex ) {
            return (( src[srcIndex] & 0xFF ) << 24 ) +
                    (( src[srcIndex + 1] & 0xFF ) << 16 ) +
                    (( src[srcIndex + 2] & 0xFF ) << 8 ) +
                    ( src[srcIndex + 3] & 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)
  4. src/main/java/jcifs/smb1/netbios/Name.java

        }
        int readScopeWireFormat( byte[] src, int srcIndex ) {
            int start = srcIndex;
            int n;
            StringBuffer sb;
    
            if(( n = src[srcIndex++] & 0xFF ) == 0 ) {
                scope = null;
                return 1;
            }
    
            try {
                sb = new StringBuffer( new String( src, srcIndex, n, Name.OEM_ENCODING ));
                srcIndex += n;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 6.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/netbios/NameQueryResponse.java

        }
        int readBodyWireFormat( byte[] src, int srcIndex ) {
            return readResourceRecordWireFormat( src, srcIndex );
        }
        int writeRDataWireFormat( byte[] dst, int dstIndex ) {
            return 0;
        }
        int readRDataWireFormat( byte[] src, int srcIndex ) {
            if( resultCode != 0 || opCode != QUERY ) {
                return 0;
            }
            boolean groupName = (( src[srcIndex] & 0x80 ) == 0x80 ) ? true : false;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/util/SMBUtil.java

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

        }
    
    
        static int readInt2 ( byte[] src, int srcIndex ) {
            return ( ( src[ srcIndex ] & 0xFF ) << 8 ) + ( src[ srcIndex + 1 ] & 0xFF );
        }
    
    
        static int readInt4 ( byte[] src, int srcIndex ) {
            return ( ( src[ srcIndex ] & 0xFF ) << 24 ) + ( ( src[ srcIndex + 1 ] & 0xFF ) << 16 ) + ( ( src[ srcIndex + 2 ] & 0xFF ) << 8 )
                    + ( src[ srcIndex + 3 ] & 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)
  8. src/main/java/jcifs/netbios/NameQueryResponse.java

            boolean groupName = ( ( src[ srcIndex ] & 0x80 ) == 0x80 ) ? true : false;
            int nodeType = ( src[ srcIndex ] & 0x60 ) >> 5;
            srcIndex += 2;
            int address = readInt4(src, srcIndex);
            if ( address != 0 ) {
                this.addrEntry[ this.addrIndex ] = new NbtAddress(this.recordName, address, groupName, nodeType);
            }
            else {
                this.addrEntry[ this.addrIndex ] = null;
            }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Dec 20 14:09:34 UTC 2020
    - 2.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/netbios/NameServicePacket.java

        }
    
    
        int readQuestionSectionWireFormat ( byte[] src, int srcIndex ) {
            int start = srcIndex;
            srcIndex += this.questionName.readWireFormat(src, srcIndex);
            this.questionType = readInt2(src, srcIndex);
            srcIndex += 2;
            this.questionClass = readInt2(src, srcIndex);
            srcIndex += 2;
            return srcIndex - start;
        }
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 12K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/netbios/NameServicePacket.java

        }
        int readQuestionSectionWireFormat( byte[] src, int srcIndex ) {
            int start = srcIndex;
            srcIndex += questionName.readWireFormat( src, srcIndex );
            questionType = readInt2( src, srcIndex );
            srcIndex += 2;
            questionClass = readInt2( src, srcIndex );
            srcIndex += 2;
            return srcIndex - start;
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 12.4K bytes
    - Viewed (0)
Back to top