Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for enc_uint64le (0.1 sec)

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

                return enc_uint64be(t, dst, di);
            case TIME_1601_NANOS_64LE:
                t = ( date.getTime() + SmbConstants.MILLISECONDS_BETWEEN_1970_AND_1601 ) * 10000L;
                return enc_uint64le(t, dst, di);
            case TIME_1970_MILLIS_64BE:
                return enc_uint64be(date.getTime(), dst, di);
            case TIME_1970_MILLIS_64LE:
                return enc_uint64le(date.getTime(), dst, di);
            default:
    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 int enc_uint64be( long l, byte[] dst, int di )
        {
            enc_uint32be( (int)(l & 0xFFFFFFFFL), dst, di + 4 );
            enc_uint32be( (int)(( l >> 32L ) & 0xFFFFFFFFL), dst, di );
            return 8;
        }
        public static int enc_uint64le( long l, byte[] dst, int di )
        {
            enc_uint32le( (int)(l & 0xFFFFFFFFL), dst, di );
            enc_uint32le( (int)(( l >> 32L ) & 0xFFFFFFFFL), dst, di + 4 );
    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/dcerpc/ndr/NdrBuffer.java

            align(4);
            int i = index;
            int len = s.length();
            Encdec.enc_uint32le(len + 1, buf, i); i += 4;
            Encdec.enc_uint32le(0, buf, i); i += 4;
            Encdec.enc_uint32le(len + 1, buf, i); i += 4;
            try {
                System.arraycopy(s.getBytes("UTF-16LE"), 0, buf, i, len * 2);
            } catch( UnsupportedEncodingException uee ) {
            }
            i += len * 2;
            buf[i++] = (byte)'\0';
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 6.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/dcerpc/ndr/NdrBuffer.java

            align(4);
            int i = this.index;
            int len = s.length();
            Encdec.enc_uint32le(len + 1, this.buf, i);
            i += 4;
            Encdec.enc_uint32le(0, this.buf, i);
            i += 4;
            Encdec.enc_uint32le(len + 1, this.buf, i);
            i += 4;
            System.arraycopy(Strings.getUNIBytes(s), 0, this.buf, i, len * 2);
            i += len * 2;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/NtlmUtil.java

            byte[] temp = new byte[28 + avPairsLength + 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 ( avPairs != null )
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 9.7K bytes
    - Viewed (0)
  6. 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)
  7. src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java

        public final void writeInt( int v ) throws SmbException {
            Encdec.enc_uint32be( v, tmp, 0 );
            write( tmp, 0, 4 );
        }
        public final void writeLong( long v ) throws SmbException {
            Encdec.enc_uint64be( v, tmp, 0 );
            write( tmp, 0, 8 );
        }
        public final void writeFloat( float v ) throws SmbException {
            Encdec.enc_floatbe( v, tmp, 0 );
            write( tmp, 0, 4 );
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 10.9K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. src/main/java/jcifs/smb/SmbRandomAccessFile.java

            Encdec.enc_uint32be(v, this.tmp, 0);
            write(this.tmp, 0, 4);
        }
    
    
        @Override
        public final void writeLong ( long v ) throws SmbException {
            Encdec.enc_uint64be(v, this.tmp, 0);
            write(this.tmp, 0, 8);
        }
    
    
        @Override
        public final void writeFloat ( float v ) throws SmbException {
            Encdec.enc_floatbe(v, this.tmp, 0);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 08 12:01:33 UTC 2020
    - 18.5K bytes
    - Viewed (0)
Back to top