Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for James (0.14 sec)

  1. cmd/metacache-entries.go

    		if entry.name != "" {
    			n++
    			if first == nil {
    				first = &m[i]
    			}
    		}
    	}
    	return first, n
    }
    
    // names will return all names in order.
    // Since this allocates it should not be used in critical functions.
    func (m metaCacheEntries) names() []string {
    	res := make([]string, 0, len(m))
    	for _, obj := range m {
    		res = append(res, obj.name)
    	}
    	return res
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:43:43 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  2. cmd/object-api-utils.go

    func isStringEqual(s1 string, s2 string) bool {
    	if runtime.GOOS == globalWindowsOSName {
    		return strings.EqualFold(s1, s2)
    	}
    	return s1 == s2
    }
    
    // Ignores all reserved bucket names or invalid bucket names.
    func isReservedOrInvalidBucket(bucketEntry string, strict bool) bool {
    	if bucketEntry == "" {
    		return true
    	}
    
    	bucketEntry = strings.TrimSuffix(bucketEntry, SlashSeparator)
    	if strict {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 11 11:55:34 GMT 2024
    - 35.6K bytes
    - Viewed (1)
  3. chainable_api.go

    		tx.Statement.Table = name
    	} else {
    		tx.Statement.TableExpr = nil
    		tx.Statement.Table = ""
    	}
    	return
    }
    
    // Distinct specify distinct fields that you want querying
    //
    //	// Select distinct names of users
    //	db.Distinct("name").Find(&results)
    //	// Select distinct name/age pairs from users
    //	db.Distinct("name", "age").Find(&results)
    func (db *DB) Distinct(args ...interface{}) (tx *DB) {
    	tx = db.getInstance()
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Wed Apr 17 03:38:55 GMT 2024
    - 14.3K bytes
    - Viewed (1)
  4. cmd/batch-expire.go

    //   prefix: myprefix # (Optional) Prefix under which this job will expire objects matching the rules below.
    //   rules:
    //     - type: object  # regular objects with zero or more older versions
    //       name: NAME # match object names that satisfy the wildcard expression.
    //       olderThan: 70h # match objects older than this value
    //       createdBefore: "2006-01-02T15:04:05.00Z" # match objects created before "date"
    //       tags:
    //         - key: name
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 21K bytes
    - Viewed (1)
  5. scan.go

    						}
    					} else if names := utils.SplitNestedRelationName(column); len(names) > 1 { // has nested relation
    						if rel, ok := sch.Relationships.Relations[names[0]]; ok {
    							subNameCount := len(names)
    							// nested relation fields
    							relFields := make([]*schema.Field, 0, subNameCount-1)
    							relFields = append(relFields, rel.Field)
    							for _, name := range names[1 : subNameCount-1] {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Apr 26 09:53:11 GMT 2024
    - 9.8K bytes
    - Viewed (0)
  6. cmd/encryption-v1.go

    		// objects.
    		// Therefore, we remember which objects (there index)
    		// in the current batch are single-part SSE-S3 objects.
    		metadata = metadata[:0:N]
    		buckets = buckets[:0:N]
    		names = names[:0:N]
    		SSES3SinglePartObjects := make(map[int]bool)
    		for i, object := range batch {
    			if kind, ok := crypto.IsEncrypted(object.UserDefined); ok && kind == crypto.S3 && !crypto.IsMultiPart(object.UserDefined) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 36.5K bytes
    - Viewed (0)
  7. cmd/tier.go

    	if err != nil {
    		return nil, nil, err
    	}
    	if GlobalKMS == nil {
    		return NewPutObjReader(hr), &ObjectOptions{MaxParity: true}, nil
    	}
    
    	// Note: Local variables with names ek, oek, etc are named inline with
    	// acronyms defined here -
    	// https://github.com/minio/minio/blob/master/docs/security/README.md#acronyms
    
    	// Encrypt json encoded tier configurations
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 15.5K bytes
    - Viewed (0)
  8. cmd/common-main.go

    	if dnsTTL <= 0 {
    		if orchestrated {
    			dnsTTL = 30 * time.Second
    		} else {
    			dnsTTL = 10 * time.Minute
    		}
    	}
    
    	// Call to refresh will refresh names in cache.
    	go func() {
    		// Baremetal setups set DNS refresh window up to dnsTTL duration.
    		t := time.NewTicker(dnsTTL)
    		defer t.Stop()
    		for {
    			select {
    			case <-t.C:
    				globalDNSCache.Refresh()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 35.8K bytes
    - Viewed (2)
  9. internal/event/name.go

    	ObjectAccessedAll
    	ObjectCreatedAll
    	ObjectRemovedAll
    	ObjectReplicationAll
    	ObjectRestoreAll
    	ObjectTransitionAll
    	ObjectScannerAll
    	Everything
    )
    
    // The number of single names should not exceed 64.
    // This will break masking. Use bit 63 as extension.
    var _ = uint64(1 << objectSingleTypesEnd)
    
    // Expand - returns expanded values of abbreviated event type.
    func (name Name) Expand() []Name {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  10. istioctl/pkg/precheck/precheck.go

    	for _, r := range res.Items {
    		if r.Spec.Group != gvk.KubernetesGateway.Group {
    			continue
    		}
    		if !betaKinds.Contains(r.Spec.Names.Kind) {
    			continue
    		}
    
    		versions := extractCRDVersions(&r)
    		has := "none"
    		if len(versions) > 0 {
    			has = strings.Join(sets.SortedList(versions), ",")
    		}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 02:57:30 GMT 2024
    - 19.3K bytes
    - Viewed (0)
Back to top