Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for populate (0.17 sec)

  1. cmd/erasure-server-pool.go

    	}
    
    	// Initialize byte pool once for all sets, bpool size is set to
    	// setCount * setDriveCount with each memory upto blockSizeV2.
    	buffers := bpool.NewBytePoolCap(n, blockSizeV2, blockSizeV2*2)
    	buffers.Populate()
    	globalBytePoolCap.Store(buffers)
    
    	var localDrives []StorageAPI
    	local := endpointServerPools.FirstLocal()
    	for i, ep := range endpointServerPools {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  2. cmd/api-errors.go

    	if apiErr, ok := errorCodes[code]; ok {
    		return apiErr
    	}
    	return errorCodes.ToAPIErr(ErrInternalError)
    }
    
    // getErrorResponse gets in standard error and resource value and
    // provides a encodable populated response values
    func getAPIErrorResponse(ctx context.Context, err APIError, resource, requestID, hostID string) APIErrorResponse {
    	reqInfo := logger.GetReqInfo(ctx)
    	return APIErrorResponse{
    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)
  3. cmd/xl-storage.go

    			return err
    		}
    	}
    
    	// Do the same for inline data
    	dirs, err := xl.data.list()
    	if err != nil {
    		return err
    	}
    
    	// Clear and repopulate
    	for k := range foundDirs {
    		delete(foundDirs, k)
    	}
    
    	// Populate into map
    	for _, k := range dirs {
    		foundDirs[k] = struct{}{}
    	}
    
    	// Delete all directories we expect to be there.
    	for _, dir := range wantDirs {
    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

    	iamOS, ok := store.IAMStorageAPI.(*IAMObjectStore)
    	if !ok {
    		// No purging is done for non-object storage.
    		return nil
    	}
    	return iamOS.PurgeExpiredSTS(ctx)
    }
    
    // LoadIAMCache reads all IAM items and populates a new iamCache object and
    // replaces the in-memory cache object.
    func (store *IAMStoreSys) LoadIAMCache(ctx context.Context, firstTime bool) error {
    	bootstrapTraceMsg := func(s string) {
    		if firstTime {
    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/bucket-handlers.go

    		objects[i] = deleteObjectsReq.Objects[i].ObjectV
    	}
    
    	// Make sure to update context to print ObjectNames for multi objects.
    	ctx = updateReqContext(ctx, objects...)
    
    	// Call checkRequestAuthType to populate ReqInfo.AccessKey before GetBucketInfo()
    	// Ignore errors here to preserve the S3 error behavior of GetBucketInfo()
    	checkRequestAuthType(ctx, r, policy.DeleteObjectAction, bucket, "")
    
    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)
Back to top