Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for Typ (0.02 sec)

  1. tests/migrate_test.go

    	}
    	typ := reflect.Indirect(reflect.ValueOf(&UserMigrateColumn2{})).Type()
    	numField := typ.NumField()
    	if numField != len(columnTypes) {
    		t.Fatalf("column's number not match struct and ddl, %d != %d", numField, len(columnTypes))
    	}
    	namer := schema.NamingStrategy{}
    	for i := 0; i < numField; i++ {
    		expectName := namer.ColumnName("", typ.Field(i).Name)
    		if columnTypes[i].Name() != expectName {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Mar 18 11:24:16 UTC 2024
    - 56.2K bytes
    - Viewed (0)
  2. cmd/xl-storage.go

    	}
    	var xl xlMetaV2
    	err = xl.LoadOrConvert(buf)
    	if err != nil {
    		return err
    	}
    	foundDirs := make(map[string]struct{}, len(xl.versions))
    	err = readDirFn(baseDir, func(name string, typ os.FileMode) error {
    		if !typ.IsDir() {
    			return nil
    		}
    		// See if directory has a UUID name.
    		base := filepath.Base(name)
    		_, err := uuid.Parse(base)
    		if err == nil {
    			foundDirs[base] = struct{}{}
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 91.3K bytes
    - Viewed (0)
  3. src/cmd/cgo/gcc.go

    					break
    				}
    				fatalf("malformed DWARF TagVariable entry")
    			}
    			if !strings.HasPrefix(name, "__cgo__") {
    				break
    			}
    			typ, err := d.Type(typOff)
    			if err != nil {
    				fatalf("loading DWARF type: %s", err)
    			}
    			t, ok := typ.(*dwarf.PtrType)
    			if !ok || t == nil {
    				fatalf("internal error: %s has non-pointer type", name)
    			}
    			i, err := strconv.Atoi(name[7:])
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 18 15:07:34 UTC 2024
    - 97.1K bytes
    - Viewed (0)
Back to top