Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 71 for Fowler (0.3 sec)

  1. cmd/admin-handlers_test.go

    	}
    
    	var peerLocks []*PeerLocks
    	for _, owner := range owners {
    		peerLocks = append(peerLocks, &PeerLocks{
    			Addr:  owner,
    			Locks: locksHeld,
    		})
    	}
    	var exp madmin.LockEntries
    	for _, lri := range lris {
    		lockType := func(lri lockRequesterInfo) string {
    			if lri.Writer {
    				return "WRITE"
    			}
    			return "READ"
    		}
    		exp = append(exp, madmin.LockEntry{
    			Resource:   lri.Name,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 13.8K bytes
    - Viewed (0)
  2. cmd/local-locker.go

    // or last read lock)
    // UID and optionally owner must match for entries to be deleted.
    func (l *localLocker) removeEntry(name string, args dsync.LockArgs, lri *[]lockRequesterInfo) bool {
    	// Find correct entry to remove based on uid.
    	for index, entry := range *lri {
    		if entry.UID == args.UID && (args.Owner == "" || entry.Owner == args.Owner) {
    			if len(*lri) == 1 {
    				// Remove the write lock.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 19 22:54:46 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  3. cmd/admin-handlers-users.go

    	objectAPI := newObjectLayerFn()
    	if objectAPI == nil || globalNotificationSys == nil {
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrServerNotInitialized), r.URL)
    		return
    	}
    
    	cred, owner, s3Err := validateAdminSignature(ctx, r, "")
    	if s3Err != ErrNone {
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(s3Err), r.URL)
    		return
    	}
    
    	checkDenyOnly := false
    	if name == cred.AccessKey {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 12:41:13 GMT 2024
    - 77.5K bytes
    - Viewed (0)
  4. tests/update_test.go

    	}
    
    	owner = TokenOwner{
    		ID:    owner.ID,
    		Name:  "user",
    		Token: Token{Content: "token2"},
    	}
    	o2, err := saveTokenOwner(&owner)
    	if err != nil {
    		t.Errorf("failed to save token owner, got error: %v", err)
    	}
    	if o2.Name != "user_name" {
    		t.Errorf(`owner name should be "user_name", but got: "%s"`, o2.Name)
    	}
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Dec 04 03:50:58 GMT 2023
    - 30.3K bytes
    - Viewed (0)
  5. cni/pkg/util/podutil.go

    		Patch(
    			context.Background(),
    			pod.Name,
    			types.MergePatchType,
    			annotationPatch,
    			metav1.PatchOptions{},
    			// Both "pods" and "pods/status" can mutate the metadata. However, pods/status is lower privilege, so we use that instead.
    			"status",
    		)
    	return err
    }
    
    func AnnotateUnenrollPod(client kubernetes.Interface, pod *metav1.ObjectMeta) error {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  6. schema/relationship.go

    			relationships.Relations[relation.Name] = relation
    		}
    	}
    }
    
    // User has many Toys, its `Polymorphic` is `Owner`, Pet has one Toy, its `Polymorphic` is `Owner`
    //
    //	type User struct {
    //	  Toys []Toy `gorm:"polymorphic:Owner;"`
    //	}
    //	type Pet struct {
    //	  Toy Toy `gorm:"polymorphic:Owner;"`
    //	}
    //	type Toy struct {
    //	  OwnerID   int
    //	  OwnerType string
    //	}
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Apr 15 03:20:20 GMT 2024
    - 22.4K bytes
    - Viewed (0)
  7. cmd/admin-handlers-idp-ldap.go

    	objectAPI := newObjectLayerFn()
    	if objectAPI == nil || globalNotificationSys == nil {
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrServerNotInitialized), r.URL)
    		return
    	}
    
    	cred, owner, s3Err := validateAdminSignature(ctx, r, "")
    	if s3Err != ErrNone {
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(s3Err), r.URL)
    		return
    	}
    
    	userDN := r.Form.Get("userDN")
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  8. cmd/api-resources.go

    			return
    		}
    	} else {
    		maxkeys = maxObjectList
    	}
    
    	prefix = values.Get("prefix")
    	startAfter = values.Get("start-after")
    	delimiter = values.Get("delimiter")
    	fetchOwner = values.Get("fetch-owner") == "true"
    	encodingType = values.Get("encoding-type")
    
    	if token = values.Get("continuation-token"); token != "" {
    		decodedToken, err := base64.StdEncoding.DecodeString(token)
    		if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Jun 07 18:25:26 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  9. src/archive/tar/common.go

    	Size  int64  // Logical file size in bytes
    	Mode  int64  // Permission and mode bits
    	Uid   int    // User ID of owner
    	Gid   int    // Group ID of owner
    	Uname string // User name of owner
    	Gname string // Group name of owner
    
    	// If the Format is unspecified, then Writer.WriteHeader rounds ModTime
    	// to the nearest second and ignores the AccessTime and ChangeTime fields.
    	//
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24.7K bytes
    - Viewed (2)
  10. cmd/dynamic-timeouts.go

    import (
    	"math"
    	"sync"
    	"sync/atomic"
    	"time"
    )
    
    const (
    	dynamicTimeoutIncreaseThresholdPct = 0.33 // Upper threshold for failures in order to increase timeout
    	dynamicTimeoutDecreaseThresholdPct = 0.10 // Lower threshold for failures in order to decrease timeout
    	dynamicTimeoutLogSize              = 16
    	maxDuration                        = math.MaxInt64
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Aug 19 23:21:05 GMT 2022
    - 4.5K bytes
    - Viewed (0)
Back to top