Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for parseLong (0.14 sec)

  1. src/main/java/jcifs/smb/SID.java

            this.revision = Byte.parseByte(st.nextToken());
            String tmp = st.nextToken();
            long id = 0;
            if ( tmp.startsWith("0x") )
                id = Long.parseLong(tmp.substring(2), 16);
            else
                id = Long.parseLong(tmp);
    
            this.identifier_authority = new byte[6];
            for ( int i = 5; id > 0; i-- ) {
                this.identifier_authority[ i ] = (byte) ( id % 256 );
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 14.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SID.java

            this.revision = Byte.parseByte(st.nextToken());
            String tmp = st.nextToken();
            long id = 0;
            if (tmp.startsWith("0x"))
                id = Long.parseLong(tmp.substring(2), 16);
            else
                id = Long.parseLong(tmp);
    
            this.identifier_authority = new byte[6];
            for (int i = 5; id > 0;  i--) {
                this.identifier_authority[i] = (byte) (id % 256);
                id >>= 8;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 26.6K bytes
    - Viewed (0)
Back to top