Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for means (0.17 sec)

  1. cmd/erasure-object.go

    	if err != nil {
    		if errors.Is(err, errFileNotFound) {
    			// An in-quorum errFileNotFound means that client stream
    			// prematurely closed and we do not find any xl.meta or
    			// part.1's - in such a scenario we must return as if client
    			// disconnected. This means that erasure.Encode() CreateFile()
    			// did not do anything.
    			return ObjectInfo{}, IncompleteBody{Bucket: bucket, Object: object}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  2. cmd/test-utils_test.go

    func getRandomRange(min, max int, seed int64) int {
    	// special value -1 means no explicit seeding.
    	if seed != -1 {
    		rand.Seed(seed)
    	}
    	return rand.Intn(max-min) + min
    }
    
    // Randomizes the order of bytes in the byte array
    // using Knuth Fisher-Yates shuffle algorithm.
    func randomizeBytes(s []byte, seed int64) []byte {
    	// special value -1 means no explicit seeding.
    	if seed != -1 {
    		rand.Seed(seed)
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  3. cmd/xl-storage.go

    			switch {
    			case oi.DeleteMarker, oi.TransitionedObject.FreeVersion:
    				continue
    			}
    			tier := oi.StorageClass
    			if tier == "" {
    				tier = storageclass.STANDARD // no SC means "STANDARD"
    			}
    			if oi.TransitionedObject.Status == lifecycle.TransitionComplete {
    				tier = oi.TransitionedObject.Tier
    			}
    			if sizeS.tiers != nil {
    				if st, ok := sizeS.tiers[tier]; ok {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  4. cmd/iam-store.go

    		m = cache.iamSTSPolicyMap
    	default:
    		m = cache.iamUserPolicyMap
    	}
    	err := store.loadMappedPolicy(ctx, userOrGroup, userType, isGroup, m)
    	if errors.Is(err, errNoSuchPolicy) {
    		// This means that the policy mapping was deleted, so we update
    		// the cache.
    		m.Delete(userOrGroup)
    		cache.updatedAt = time.Now()
    
    		err = nil
    	}
    	return err
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  5. cmd/peer-rest-server.go

    		atomic.AddUint64(&globalNetPerfRX.RX, uint64(n))
    		if err != nil && err != io.EOF {
    			// If there is a disconnection before globalNetPerfMinDuration (we give a margin of error of 1 sec)
    			// would mean the network is not stable. Logging here will help in debugging network issues.
    			if time.Since(connectTime) < (globalNetPerfMinDuration - time.Second) {
    				peersLogIf(ctx, err)
    			}
    		}
    		if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 51.8K bytes
    - Viewed (0)
  6. cmd/api-errors.go

    		HTTPStatusCode: http.StatusNotFound,
    	},
    	ErrAdminNoSuchUserLDAPWarn: {
    		Code:           "XMinioAdminNoSuchUser",
    		Description:    "The specified user does not exist. If you meant a user in LDAP, use `mc idp ldap`",
    		HTTPStatusCode: http.StatusNotFound,
    	},
    	ErrAdminNoSuchGroup: {
    		Code:           "XMinioAdminNoSuchGroup",
    		Description:    "The specified group does not exist.",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (7)
  7. cmd/iam.go

    	}
    
    	// Sub policy not set. Evaluate only the parent policies.
    	return (isOwnerDerived || combinedPolicy.IsAllowed(parentArgs))
    }
    
    // IsAllowedSTS is meant for STS based temporary credentials,
    // which implements claims validation and verification other than
    // applying policies.
    func (sys *IAMSys) IsAllowedSTS(args policy.Args, parentUser string) bool {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  8. cmd/bucket-handlers.go

    //
    //	need to update the entry then proceed to update
    //
    // -- If yes, check if the IP of entry matches local IP.
    //
    //	This means entry is for this instance.
    //
    // -- If IP of the entry doesn't match, this means entry is
    //
    //	for another instance. Log an error to console.
    func initFederatorBackend(buckets []BucketInfo, objLayer ObjectLayer) {
    	if len(buckets) == 0 {
    		return
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 16:27:27 GMT 2024
    - 61.6K bytes
    - Viewed (0)
  9. cmd/xl-storage-format-v2.go

    func (x *xlMetaV2) DeleteVersion(fi FileInfo) (string, error) {
    	// This is a situation where versionId is explicitly
    	// specified as "null", as we do not save "null"
    	// string it is considered empty. But empty also
    	// means the version which matches will be purged.
    	if fi.VersionID == nullVersionID {
    		fi.VersionID = ""
    	}
    
    	var uv uuid.UUID
    	var err error
    	if fi.VersionID != "" {
    		uv, err = uuid.Parse(fi.VersionID)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 05:07:37 GMT 2024
    - 63.6K bytes
    - Viewed (1)
  10. src/cmd/cgo/gcc.go

    				sawUnmatchedErrors = true
    			}
    			continue
    		}
    
    		switch filename {
    		case "completed":
    			// Strictly speaking, there is no guarantee that seeing the error at completed:1
    			// (at the end of the file) means we've seen all the errors from earlier in the file,
    			// but usually it does. Certainly if we don't see the completed:1 error, we did
    			// not get all the errors we expected.
    			completed = true
    
    		case "not-declared":
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
Back to top