Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for dec_uint32le (0.32 sec)

  1. src/main/java/jcifs/util/Encdec.java

                return new Date(dec_uint32be(src, si) * 1000L);
            case TIME_1970_SEC_32LE:
                return new Date(dec_uint32le(src, si) * 1000L);
            case TIME_1904_SEC_32BE:
                return new Date( ( ( dec_uint32be(src, si) & 0xFFFFFFFFL ) - SEC_BETWEEEN_1904_AND_1970 ) * 1000L);
            case TIME_1904_SEC_32LE:
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 11K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/util/Encdec.java

        public static long dec_uint64le( byte[] src, int si )
        {
            long l;
            l = dec_uint32le( src, si + 4 ) & 0xFFFFFFFFL;
            l <<= 32L;
            l |= dec_uint32le( src, si ) & 0xFFFFFFFFL;
            return l;
        }
    
        /* Encode floats
         */
    
        public static int enc_floatle( float f, byte[] dst, int di )
        {
            return enc_uint32le( Float.floatToIntBits( f ), dst, di );
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 10.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbTransport.java

                if (size < (HEADER_LENGTH + 1) || (4 + size) > rcv_buf_size ) {
                    throw new IOException( "Invalid payload size: " + size );
                }
                int errorCode = Encdec.dec_uint32le( BUF, 9 ) & 0xFFFFFFFF;
                if (resp.command == ServerMessageBlock.SMB_COM_READ_ANDX &&
                            (errorCode == 0 ||
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 31.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java

        }
        public final int readInt() throws SmbException {
            if((read( tmp, 0, 4 )) < 0 ) {
                throw new SmbException( "EOF" );
            }
            return Encdec.dec_uint32be( tmp, 0 );
        }
        public final long readLong() throws SmbException {
            if((read( tmp, 0, 8 )) < 0 ) {
                throw new SmbException( "EOF" );
            }
            return Encdec.dec_uint64be( tmp, 0 );
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 10.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java

            byte[] temp = new byte[28 + targetInfoLength + 4];
    
            Encdec.enc_uint32le(0x00000101, temp, 0); // Header
            Encdec.enc_uint32le(0x00000000, temp, 4); // Reserved
            Encdec.enc_uint64le(nanos1601, temp, 8);
            System.arraycopy(clientChallenge, 0, temp, 16, 8);
            Encdec.enc_uint32le(0x00000000, temp, 24); // Unknown
            if (targetInfo != null)
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 22.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/pac/kerberos/KerberosEncData.java

                InvalidKeyException, IllegalBlockSizeException, BadPaddingException {
            Cipher cipher;
            byte[] decrypt;
            byte[] code = new byte[4];
            Encdec.enc_uint32le(2, code, 0);
            byte[] codeHmac = getHmac(code, key.getEncoded());
    
            byte[] dataChecksum = new byte[KerberosConstants.CHECKSUM_SIZE];
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Oct 02 12:02:06 UTC 2023
    - 11.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SID.java

            System.arraycopy(sid.identifier_authority, 0, dst, di, 6);
            di += 6;
            for ( int ii = 0; ii < sid.sub_authority_count; ii++ ) {
                jcifs.util.Encdec.enc_uint32le(sid.sub_authority[ ii ], dst, di);
                di += 4;
            }
            return dst;
        }
    
        int type;
        String domainName = null;
        String acctName = null;
        String origin_server = null;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 14.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbRandomAccessFile.java

        }
    
    
        @Override
        public final int readInt () throws SmbException {
            if ( ( read(this.tmp, 0, 4) ) < 0 ) {
                throw new SmbEndOfFileException();
            }
            return Encdec.dec_uint32be(this.tmp, 0);
        }
    
    
        @Override
        public final long readLong () throws SmbException {
            if ( ( read(this.tmp, 0, 8) ) < 0 ) {
                throw new SmbEndOfFileException();
            }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 08 12:01:33 UTC 2020
    - 18.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SID.java

            System.arraycopy(sid.identifier_authority, 0, dst, di, 6);
            di += 6;
            for (int ii = 0; ii < sid.sub_authority_count; ii++) {
                jcifs.smb1.util.Encdec.enc_uint32le(sid.sub_authority[ii], dst, di);
                di += 4;
            }
            return dst;
        }
    
        int type;
        String domainName = null;
        String acctName = null;
        String origin_server = null;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 26.6K bytes
    - Viewed (0)
Back to top