Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for uni (0.01 sec)

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

            final 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);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  2. schema/constraint.go

    	}
    	return checks
    }
    
    type UniqueConstraint struct {
    	Name  string
    	Field *Field
    }
    
    func (uni *UniqueConstraint) GetName() string { return uni.Name }
    
    func (uni *UniqueConstraint) Build() (sql string, vars []interface{}) {
    	return "CONSTRAINT ? UNIQUE (?)", []interface{}{clause.Column{Name: uni.Name}, clause.Column{Name: uni.Field.DBName}}
    }
    
    // ParseUniqueConstraints parse schema unique constraints
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Mar 18 07:33:54 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/util/Encdec.java

            final 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);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/util/StringsTest.java

                // Then
                assertNotNull(uniBytes, "UNI bytes should not be null");
                assertNotNull(asciiBytes, "ASCII bytes should not be null");
                assertNotNull(oemBytes, "OEM bytes should not be null");
                assertEquals(0, uniBytes.length, "UNI bytes should be empty");
                assertEquals(0, asciiBytes.length, "ASCII bytes should be empty");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  5. schema/naming.go

    	return ns.formatName("idx", table, ns.toDBName(column))
    }
    
    // UniqueName generate unique constraint name
    func (ns NamingStrategy) UniqueName(table, column string) string {
    	return ns.formatName("uni", table, ns.toDBName(column))
    }
    
    func (ns NamingStrategy) formatName(prefix, table, name string) string {
    	formattedName := strings.ReplaceAll(strings.Join([]string{
    		prefix, table, name,
    	}, "_"), ".", "_")
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Jun 12 03:46:59 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  6. 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() {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Fri Jun 06 02:35:01 UTC 2025
    - 29.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java

         * @return the Unicode MD4 hash response
         */
        static public byte[] getNTLMResponse(final String password, final byte[] challenge) {
            byte[] uni = null;
            final byte[] p21 = new byte[21];
            final byte[] p24 = new byte[24];
    
            try {
                uni = password.getBytes(SmbConstants.UNI_ENCODING);
            } catch (final UnsupportedEncodingException uee) {
                if (LogStream.level > 0) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 26.7K bytes
    - Viewed (0)
Back to top