Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 250 for ridx (0.12 sec)

  1. migrator/index.go

    // Table return the table name of the index.
    func (idx Index) Table() string {
    	return idx.TableName
    }
    
    // Name return the name of the index.
    func (idx Index) Name() string {
    	return idx.NameValue
    }
    
    // Columns return the columns of the index
    func (idx Index) Columns() []string {
    	return idx.ColumnList
    }
    
    // PrimaryKey returns the index is primary key or not.
    func (idx Index) PrimaryKey() (isPrimaryKey bool, ok bool) {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Tue Apr 11 02:32:46 GMT 2023
    - 1023 bytes
    - Viewed (0)
  2. schema/index_test.go

    	}
    
    	results := map[string]schema.Index{
    		"idx_user_indices_name": {
    			Name:   "idx_user_indices_name",
    			Fields: []schema.IndexOption{{Field: &schema.Field{Name: "Name"}}},
    		},
    		"idx_name": {
    			Name:   "idx_name",
    			Class:  "UNIQUE",
    			Fields: []schema.IndexOption{{Field: &schema.Field{Name: "Name2", UniqueIndex: "idx_name"}}},
    		},
    		"idx_user_indices_name3": {
    			Name:  "idx_user_indices_name3",
    			Type:  "btree",
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Sun Feb 04 07:49:19 GMT 2024
    - 8K bytes
    - Viewed (0)
  3. schema/index.go

    			for _, index := range fieldIndexes {
    				idx := indexes[index.Name]
    				idx.Name = index.Name
    				if idx.Class == "" {
    					idx.Class = index.Class
    				}
    				if idx.Type == "" {
    					idx.Type = index.Type
    				}
    				if idx.Where == "" {
    					idx.Where = index.Where
    				}
    				if idx.Comment == "" {
    					idx.Comment = index.Comment
    				}
    				if idx.Option == "" {
    					idx.Option = index.Option
    				}
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Sun Feb 04 07:49:19 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  4. internal/s3select/sql/jsonpath.go

    		default:
    			return nil, false, errKeyLookup
    		}
    
    	case p[0].Index != nil:
    		idx := *p[0].Index
    
    		arr, ok := v.([]interface{})
    		if !ok {
    			return nil, false, errIndexLookup
    		}
    
    		if idx >= len(arr) {
    			return nil, false, nil
    		}
    		return jsonpathEval(p[1:], arr[idx])
    
    	case p[0].ObjectWildcard:
    		switch kvs := v.(type) {
    		case jstream.KVS:
    			if len(p[1:]) > 0 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/TransactNamedPipeInputStream.java

                i = tmp.length - beg_idx;
                if( used > i ) { /* 2 chunks */
                    System.arraycopy( tmp, beg_idx, pipe_buf, 0, i );
                    System.arraycopy( tmp, 0, pipe_buf, i, used - i ); 
                } else {
                    System.arraycopy( tmp, beg_idx, pipe_buf, 0, used );
                }
                beg_idx = 0;
                nxt_idx = used;
                tmp = null;
            }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 4.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/crawler/transformer/FessTransformer.java

            }
    
            int idx = 0;
            String u = url;
            if (u.startsWith("https:") || u.startsWith("http:")) {
                idx = u.lastIndexOf('?');
                if (idx >= 0) {
                    u = u.substring(0, idx);
                }
    
                idx = u.lastIndexOf('#');
                if (idx >= 0) {
                    u = u.substring(0, idx);
                }
            }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  7. tests/joins_test.go

    	sort.Slice(users, func(i, j int) bool {
    		return users[i].ID > users[j].ID
    	})
    
    	for idx, user := range users {
    		// user
    		CheckUser(t, user, users2[idx])
    		if users2[idx].Manager == nil {
    			t.Fatalf("Failed to load Manager")
    		}
    		// manager
    		CheckUser(t, *user.Manager, *users2[idx].Manager)
    		// user pet
    		if users2[idx].NamedPet == nil {
    			t.Fatalf("Failed to load NamedPet")
    		}
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Wed Apr 26 14:19:32 GMT 2023
    - 13.5K bytes
    - Viewed (1)
  8. internal/s3select/csv/recordtransform.go

    	if len(rr.recordDelimiter) == 1 {
    		for idx := 0; idx < len(p); {
    			i := bytes.Index(p[idx:], rr.recordDelimiter)
    			if i < 0 {
    				break
    			}
    			idx += i
    			p[idx] = '\n'
    		}
    		return n, nil
    	}
    
    	// 2 characters...
    	for idx := 0; idx < len(p); {
    		i := bytes.Index(p[idx:], rr.recordDelimiter)
    		if i < 0 {
    			break
    		}
    		idx += i
    
    		p[idx] = '\n'
    		p = append(p[:idx+1], p[idx+2:]...)
    		n--
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 2.1K bytes
    - Viewed (0)
  9. clause/expression.go

    	var (
    		afterParenthesis bool
    		idx              int
    	)
    
    	for _, v := range []byte(expr.SQL) {
    		if v == '?' && len(expr.Vars) > idx {
    			if afterParenthesis || expr.WithoutParentheses {
    				if _, ok := expr.Vars[idx].(driver.Valuer); ok {
    					builder.AddVar(builder, expr.Vars[idx])
    				} else {
    					switch rv := reflect.ValueOf(expr.Vars[idx]); rv.Kind() {
    					case reflect.Slice, reflect.Array:
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Tue Oct 10 06:45:48 GMT 2023
    - 8.3K bytes
    - Viewed (0)
  10. clause/returning.go

    func (returning Returning) Name() string {
    	return "RETURNING"
    }
    
    // Build build where clause
    func (returning Returning) Build(builder Builder) {
    	if len(returning.Columns) > 0 {
    		for idx, column := range returning.Columns {
    			if idx > 0 {
    				builder.WriteByte(',')
    			}
    
    			builder.WriteQuoted(column)
    		}
    	} else {
    		builder.WriteByte('*')
    	}
    }
    
    // MergeClause merge order by clauses
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Wed Oct 27 23:56:55 GMT 2021
    - 681 bytes
    - Viewed (0)
Back to top