Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 671 - 677 of 677 for algo (0.02 seconds)

  1. cmd/erasure-object.go

    		diskErrs := make([]error, len(storageDisks))
    		// Iterate over disks to fetch the error
    		// of deleting of the current object
    		for i := range delObjErrs {
    			// delObjErrs[i] is not nil when disks[i] is also not nil
    			if delObjErrs[i] != nil {
    				diskErrs[i] = delObjErrs[i][objIndex]
    			}
    		}
    		err := reduceWriteQuorumErrs(ctx, diskErrs, objectOpIgnoredErrs, writeQuorums[objIndex])
    		if err == nil {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Oct 24 04:05:31 GMT 2025
    - 80.4K bytes
    - Click Count (0)
  2. cmd/object-api-multipart_test.go

    				}
    			}
    		})
    	}
    }
    
    // Benchmarks for ObjectLayer.PutObjectPart().
    // The intent is to benchmark PutObjectPart for various sizes ranging from few bytes to 100MB.
    // Also each of these Benchmarks are run both Erasure and FS backends.
    
    // BenchmarkPutObjectPart5MbFS - Benchmark FS.PutObjectPart() for object size of 5MB.
    func BenchmarkPutObjectPart5MbFS(b *testing.B) {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 89.4K bytes
    - Click Count (0)
  3. cmd/bucket-replication.go

    		return rCfg, err
    	}
    	return rCfg, nil
    }
    
    // validateReplicationDestination returns error if replication destination bucket missing or not configured
    // It also returns true if replication destination is same as this server.
    func validateReplicationDestination(ctx context.Context, bucket string, rCfg *replication.Config, opts *validateReplicationDestinationOptions) (bool, APIError) {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 118.2K bytes
    - Click Count (0)
  4. cmd/object-api-listobjects_test.go

    		}
    		metadata.lifecycleConfig = lifecycleConfig
    		globalBucketMetadataSys.Set(upload.bucket, metadata)
    		defer globalBucketMetadataSys.Remove(upload.bucket)
    
    		// Upload objects which modtime as one week ago, supposed to be expired by ILM
    		for range upload.expired {
    			_, err := obj.PutObject(context.Background(), upload.bucket, randString(32),
    				mustGetPutObjReader(t,
    					bytes.NewBufferString(objContent),
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Oct 10 18:57:03 GMT 2025
    - 76.1K bytes
    - Click Count (0)
  5. cmd/admin-handlers.go

    		var err error
    		count, err = strconv.Atoi(countStr)
    		if err != nil {
    			writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    			return
    		}
    	}
    	stale := r.Form.Get("stale") == "true" // list also stale locks
    
    	peerLocks := globalNotificationSys.GetLocks(ctx, r)
    
    	topLocks := topLockEntries(peerLocks, stale)
    
    	// Marshal API response upto requested count.
    	if len(topLocks) > count && count > 0 {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 99.7K bytes
    - Click Count (0)
  6. cmd/server_test.go

    	response, err = s.client.Do(request)
    	c.Assert(err, nil)
    	c.Assert(response.StatusCode, http.StatusOK)
    
    	// test Cases containing data to make partial range requests.
    	// also has expected response data.
    	testCases := []struct {
    		byteRange      string
    		expectedString string
    	}{
    		// request for byte range 10-11.
    		// expecting the result to contain only putContent[10:12] bytes.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 118.1K bytes
    - Click Count (0)
  7. cmd/site-replication.go

    		return madmin.ReplicateAddStatus{}, errSRInvalidRequest(fmt.Errorf("please send your request to the cluster containing data/buckets: %s", nonLocalPeerWithBuckets))
    	}
    
    	// FIXME: Ideally, we also need to check if there are any global IAM
    	// policies and any (LDAP user created) service accounts on the other
    	// peer clusters, and if so, reject the cluster replicate add request.
    	// This is not yet implemented.
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 184.8K bytes
    - Click Count (1)
Back to Top