Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 40 for ending (0.25 sec)

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

                    }
                    System.arraycopy( str.getBytes( UNI_ENCODING ), 0,
                                        dst, dstIndex, str.length() * 2 );
                    dstIndex += str.length() * 2;
                    dst[dstIndex++] = (byte)'\0';
                    dst[dstIndex++] = (byte)'\0';
                } else {
                    byte[] b = str.getBytes( OEM_ENCODING );
                    System.arraycopy( b, 0, dst, dstIndex, b.length );
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 21K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/ntlmssp/Type2Message.java

                    domain = DEFAULT_DOMAIN.getBytes(UNI_ENCODING);
                } catch (IOException ex) { }
            }
            int domainLength = domain.length;
            byte[] server = new byte[0];
            try {
                String host = NbtAddress.getLocalHost().getHostName();
                if (host != null) {
                    try {
                        server = host.getBytes(UNI_ENCODING);
                    } catch (IOException ex) { }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 12.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/Trans2FindFirst2Response.java

            String str = null;
            try {
                if( useUnicode ) {
                    // should Unicode alignment be corrected for here?
                    str = new String( src, srcIndex, len, UNI_ENCODING );
                } else {
        
                    /* On NT without Unicode the fileNameLength
                     * includes the '\0' whereas on win98 it doesn't. I
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 8.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/config/PropertyConfiguration.java

            this.disablePlainTextPasswords = Config.getBoolean(p, "jcifs.smb.client.disablePlainTextPasswords", true);
    
            this.oemEncoding = p.getProperty("jcifs.encoding", SmbConstants.DEFAULT_OEM_ENCODING);
    
            this.useNtStatus = Config.getBoolean(p, "jcifs.smb.client.useNtStatus", true);
            this.useExtendedSecurity = Config.getBoolean(p, "jcifs.smb.client.useExtendedSecurity", true);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:06:39 GMT 2023
    - 8.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/util/Encdec.java

            case TIME_1970_MILLIS_64LE:
                return enc_uint64le(date.getTime(), dst, di);
            default:
                throw new IllegalArgumentException("Unsupported time encoding");
            }
        }
    
    
        /*
         * Decode times
         */
    
        public static Date dec_time ( byte[] src, int si, int enc ) {
            long t;
    
            switch ( enc ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 11K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/netbios/NodeStatusResponse.java

                for( int i = 0; i < numberOfNames; srcIndex += 18, i++ ) {
                    for( j = srcIndex + 14; src[j] == 0x20; j-- )
                        ;
                    n = new String( src, srcIndex, j - srcIndex + 1, Name.OEM_ENCODING );
                    hexCode          =    src[srcIndex + 15] & 0xFF;
                    groupName        = (( src[srcIndex + 16] & 0x80 ) == 0x80 ) ? true : false;
                    ownerNodeType    =  ( src[srcIndex + 16] & 0x60 ) >> 5;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbTreeImpl.java

                return;
            }
            Smb2NegotiateRequest negoReq = new Smb2NegotiateRequest(sess.getConfig(), trans.getRequestSecurityMode(nego));
    
            log.debug("Sending VALIDATE_NEGOTIATE_INFO");
            Smb2IoctlRequest req = new Smb2IoctlRequest(sess.getConfig(), Smb2IoctlRequest.FSCTL_VALIDATE_NEGOTIATE_INFO);
            req.setFlags(Smb2IoctlRequest.SMB2_O_IOCTL_IS_FSCTL);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:06:39 GMT 2023
    - 29.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

                        out[ j++ ] = ch;
                    }
                    break;
                case 1:
                    /*
                     * Get ASCII hex value and convert to platform dependent
                     * encoding like EBCDIC perhaps
                     */
                    b[ 0 ] = (byte) ( Integer.parseInt(str.substring(i, i + 2), 16) & 0xFF );
                    out[ j++ ] = ( new String(b, 0, 1, "ASCII") ).charAt(0);
                    i++;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Jul 07 12:07:20 GMT 2020
    - 18.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/ntlmssp/Type3Message.java

                domainBytes = unicode ? domainName.getBytes(UNI_ENCODING) : domainName.getBytes(oemCp);
                size += domainBytes.length;
            }
    
            String userName = getUser();
            byte[] userBytes = null;
            if ( userName != null && userName.length() != 0 ) {
                userBytes = unicode ? userName.getBytes(UNI_ENCODING) : userName.toUpperCase().getBytes(oemCp);
                size += userBytes.length;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Jul 07 12:07:20 GMT 2020
    - 30.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/NtStatus.java

         * block is automatically generated from the ntstatus package.
         */
    
        public static final int NT_STATUS_OK = 0x00000000;
        public static final int NT_STATUS_PENDING = 0x00000103;
        public static final int NT_STATUS_NOTIFY_ENUM_DIR = 0x0000010C;
        public static final int NT_STATUS_BUFFER_OVERFLOW = 0x80000005;
        public static final int NT_STATUS_UNSUCCESSFUL = 0xC0000001;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Jun 01 10:09:29 GMT 2019
    - 11.9K bytes
    - Viewed (0)
Back to top