Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 233 for name (0.15 sec)

  1. internal/event/name.go

    		return []Name{
    			ObjectManyVersions,
    			ObjectLargeVersions,
    			PrefixManyFolders,
    		}
    	case Everything:
    		res := make([]Name, objectSingleTypesEnd-1)
    		for i := range res {
    			res[i] = Name(i + 1)
    		}
    		return res
    	default:
    		return []Name{name}
    	}
    }
    
    // Mask returns the type as mask.
    // Compound "All" types are expanded.
    func (name Name) Mask() uint64 {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 08 17:45:03 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  2. src/cmd/api/main_test.go

    		w.emitf("type %s = %s", name, w.typeString(typ))
    		return
    	}
    	if tparams := obj.Type().(*types.Named).TypeParams(); tparams != nil {
    		var buf bytes.Buffer
    		buf.WriteString(name)
    		w.writeTypeParams(&buf, tparams, true)
    		name = buf.String()
    	}
    	switch typ := typ.Underlying().(type) {
    	case *types.Struct:
    		w.emitStructType(name, typ)
    	case *types.Interface:
    		w.emitIfaceType(name, typ)
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Apr 09 20:48:51 GMT 2024
    - 31.4K bytes
    - Viewed (0)
  3. src/archive/tar/writer_test.go

    	for _, test := range []struct {
    		name string
    		h    *Header
    	}{{
    		name: "name too long",
    		h:    &Header{Name: strings.Repeat("a", maxSpecialFileSize)},
    	}, {
    		name: "linkname too long",
    		h:    &Header{Linkname: strings.Repeat("a", maxSpecialFileSize)},
    	}, {
    		name: "uname too long",
    		h:    &Header{Uname: strings.Repeat("a", maxSpecialFileSize)},
    	}, {
    		name: "gname too long",
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Feb 27 16:39:23 GMT 2024
    - 38.7K bytes
    - Viewed (0)
  4. src/archive/tar/tar_test.go

    		if err != nil {
    			t.Error(err)
    			continue
    		}
    		if strings.Contains(fi.Name(), "/") {
    			t.Errorf("FileInfo of %q contains slash: %q", v.h.Name, fi.Name())
    		}
    		name := path.Base(v.h.Name)
    		if fi.IsDir() {
    			name += "/"
    		}
    		if got, want := h2.Name, name; got != want {
    			t.Errorf("i=%d: Name: got %v, want %v", i, got, want)
    		}
    		if got, want := h2.Size, v.h.Size; got != want {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24K bytes
    - Viewed (0)
  5. tests/sql_builder_test.go

    	}
    
    	var results []result
    	DB.Raw("SELECT name, age FROM users WHERE name = ? or name = ?", user2.Name, user3.Name).Scan(&results)
    	if len(results) != 2 || results[0].Name != user2.Name || results[1].Name != user3.Name {
    		t.Errorf("Raw with scan")
    	}
    
    	rows, _ := DB.Raw("select name, age from users where name = ?", user3.Name).Rows()
    	count := 0
    	for rows.Next() {
    		count++
    	}
    	if count != 1 {
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Fri Jan 12 08:42:21 GMT 2024
    - 16.7K bytes
    - Viewed (0)
  6. schema/relationship.go

    		})
    	}
    
    	for idx, relField := range refForeignFields {
    		joinFieldName := strings.Title(relation.FieldSchema.Name) + relField.Name
    
    		if _, ok := ownFieldsMap[joinFieldName]; ok {
    			if field.Name != relation.FieldSchema.Name {
    				joinFieldName = inflection.Singular(field.Name) + relField.Name
    			} else {
    				joinFieldName += "Reference"
    			}
    		}
    
    		if len(joinReferences) > idx {
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Mon Apr 15 03:20:20 GMT 2024
    - 22.4K bytes
    - Viewed (0)
  7. tests/associations_test.go

    }
    
    type AssociationEmptyUser struct {
    	ID   uint
    	Name string
    	Pets []AssociationEmptyPet
    }
    
    type AssociationEmptyPet struct {
    	AssociationEmptyUserID *uint  `gorm:"uniqueIndex:uniq_user_id_name"`
    	Name                   string `gorm:"uniqueIndex:uniq_user_id_name;size:256"`
    }
    
    func TestAssociationEmptyPrimaryKey(t *testing.T) {
    	if DB.Dialector.Name() != "mysql" {
    		t.Skip()
    	}
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Wed Feb 08 08:29:09 GMT 2023
    - 10.9K bytes
    - Viewed (0)
  8. internal/bucket/replication/replication_test.go

    		{ObjectOpts{}, cfgs[0], false},                                // 1. invalid ObjectOpts missing object name
    		{ObjectOpts{Name: "c1test"}, cfgs[0], true},                   // 2. valid ObjectOpts passing empty Filter
    		{ObjectOpts{Name: "c1test", VersionID: "vid"}, cfgs[0], true}, // 3. valid ObjectOpts passing empty Filter
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 32.5K bytes
    - Viewed (0)
  9. istioctl/pkg/proxyconfig/proxyconfig.go

      istioctl proxy-config routes <pod-name[.namespace]>
    
      # Retrieve route summary for route 9080.
      istioctl proxy-config route <pod-name[.namespace]> --name 9080
    
      # Retrieve full route dump for route 9080
      istioctl proxy-config route <pod-name[.namespace]> --name 9080 -o json
    
      # Retrieve route summary without using Kubernetes API
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Apr 16 03:28:36 GMT 2024
    - 48K bytes
    - Viewed (0)
  10. cmd/metacache-walk.go

    				}
    				meta.name = strings.TrimSuffix(entry, xlStorageFormatFileV1)
    				meta.name = strings.TrimSuffix(meta.name, SlashSeparator)
    				meta.name = pathJoinBuf(sb, current, meta.name)
    
    				return send(meta)
    			}
    			// Skip all other files.
    		}
    
    		// Process in sort order.
    		sort.Strings(entries)
    		dirStack := make([]string, 0, 5)
    		prefix = "" // Remove prefix after first level as we have already filtered the list.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 12.4K bytes
    - Viewed (0)
Back to top