Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for uni (0.23 sec)

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

     */
        static public byte[] getNTLMResponse( String password, byte[] challenge ) {
            byte[] uni = null;
            byte[] p21 = new byte[21];
            byte[] p24 = new byte[24];
    
            try {
                uni = password.getBytes( SmbConstants.UNI_ENCODING );
            } catch( UnsupportedEncodingException uee ) {
                if( log.level > 0 )
                    uee.printStackTrace( log );
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 22.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/util/Encdec.java

            char[] uni = new char[slim - si];
            int ui, ch;
    
            for( ui = 0; si < slim && (ch = src[si++] & 0xFF) != 0; ui++ ) {
                if( ch < 0x80 ) {
                    uni[ui] = (char)ch;
                } else if((ch & 0xE0) == 0xC0 ) {
                    if((slim - si) < 2 ) {
                        break;
                    }
                    uni[ui] = (char)((ch & 0x1F) << 6);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 10.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/util/Encdec.java

                    }
                    uni[ ui ] = (char) ( ( ch & 0x1F ) << 6 );
                    ch = src[ si++ ] & 0xFF;
                    uni[ ui ] |= ch & 0x3F;
                    if ( ( ch & 0xC0 ) != 0x80 || uni[ ui ] < 0x80 ) {
                        throw new IOException("Invalid UTF-8 sequence");
                    }
                }
                else if ( ( ch & 0xF0 ) == 0xE0 ) {
                    if ( ( slim - si ) < 3 ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 11K bytes
    - Viewed (0)
  4. src/main/java/jcifs/ntlmssp/Type2Message.java

         */
        private static byte[] makeTargetInfo ( CIFSContext tc, String domainStr ) {
            byte[] domain = new byte[0];
            if ( domainStr != null ) {
                try {
                    domain = domainStr.getBytes(UNI_ENCODING);
                }
                catch ( IOException ex ) {
                    log.debug("Failed to get domain bytes", ex);
                }
            }
            int domainLength = domain.length;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 14.4K bytes
    - Viewed (0)
  5. migrator/migrator.go

    							createTableSQL += sql + ","
    							values = append(values, vars...)
    						}
    					}
    				}
    			}
    
    			for _, uni := range stmt.Schema.ParseUniqueConstraints() {
    				createTableSQL += "CONSTRAINT ? UNIQUE (?),"
    				values = append(values, clause.Column{Name: uni.Name}, clause.Expr{SQL: stmt.Quote(uni.Field.DBName)})
    			}
    
    			for _, chk := range stmt.Schema.ParseCheckConstraints() {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Apr 26 07:15:49 GMT 2024
    - 29K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/ntlmssp/Type3Message.java

                            domainName.getBytes(UNI_ENCODING) :
                                    domainName.getBytes(oem);
                }
                int domainLength = (domain != null) ? domain.length : 0;
                String userName = getUser();
                byte[] user = null;
                if (userName != null && userName.length() != 0) {
                    user = unicode ? userName.getBytes(UNI_ENCODING) :
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 22.9K bytes
    - Viewed (0)
  7. 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)
  8. 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);
    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)
  9. src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java

                    if((( dstIndex - headerStart ) % 2 ) != 0 ) {
                        dst[dstIndex++] = (byte)'\0';
                    }
                    System.arraycopy( str.getBytes( UNI_ENCODING ), 0,
                                        dst, dstIndex, str.length() * 2 );
                    dstIndex += str.length() * 2;
                    dst[dstIndex++] = (byte)'\0';
                    dst[dstIndex++] = (byte)'\0';
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 21K bytes
    - Viewed (0)
Back to top