Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 58 for Account (0.16 sec)

  1. cmd/erasure-multipart.go

    	switch size := data.Size(); {
    	case size == 0:
    		buffer = make([]byte, 1) // Allocate at least a byte to reach EOF
    	case size == -1:
    		if size := data.ActualSize(); size > 0 && size < fi.Erasure.BlockSize {
    			// Account for padding and forced compression overhead and encryption.
    			buffer = make([]byte, data.ActualSize()+256+32+32, data.ActualSize()*2+512)
    		} else {
    			buffer = globalBytePoolCap.Load().Get()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 43K bytes
    - Viewed (0)
  2. cmd/bucket-metadata-sys.go

    func (sys *BucketMetadataSys) init(ctx context.Context, buckets []BucketInfo) {
    	count := 100 // load 100 bucket metadata at a time.
    	failedBuckets := make(map[string]struct{})
    	for {
    		if len(buckets) < count {
    			sys.concurrentLoad(ctx, buckets, failedBuckets)
    			break
    		}
    		sys.concurrentLoad(ctx, buckets[:count], failedBuckets)
    		buckets = buckets[count:]
    	}
    
    	sys.Lock()
    	sys.initialized = true
    	sys.Unlock()
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 19.8K bytes
    - Viewed (0)
  3. cmd/sts-handlers.go

    	}
    
    	user, _, s3Err := getReqAccessKeyV4(r, globalSite.Region, serviceSTS)
    	if s3Err != ErrNone {
    		return auth.Credentials{}, s3Err
    	}
    
    	// Temporary credentials or Service accounts cannot generate further temporary credentials.
    	if user.IsTemp() || user.IsServiceAccount() {
    		return auth.Credentials{}, ErrAccessDenied
    	}
    
    	// Session tokens are not allowed in STS AssumeRole requests.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 21:31:13 GMT 2024
    - 34.7K bytes
    - Viewed (2)
  4. cmd/s3-zip-handlers.go

    						listObjectsInfo.Prefixes = append(listObjectsInfo.Prefixes, commonPrefix)
    						count++
    					}
    					goto next
    				}
    			}
    			listObjectsInfo.Objects = append(listObjectsInfo.Objects, ObjectInfo{
    				Bucket:  bucket,
    				Name:    objName,
    				Size:    int64(file.UncompressedSize64),
    				ModTime: zipObjInfo.ModTime,
    			})
    			count++
    		}
    	next:
    		nextToken = objName
    	}
    
    	if isTruncated {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 09 10:41:25 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  5. cmd/metacache-set.go

    	filter := func(list []uint64) (commonCount uint64) {
    		max := 0
    		signatureMap := map[uint64]int{}
    		for _, v := range list {
    			signatureMap[v]++
    		}
    		for ops, count := range signatureMap {
    			if max < count && commonCount < ops {
    				max = count
    				commonCount = ops
    			}
    		}
    		if max < readQuorum {
    			return 0
    		}
    		return commonCount
    	}
    
    	commonWrite = filter(writes)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:59:08 GMT 2024
    - 30.4K bytes
    - Viewed (0)
  6. cmd/xl-storage-format-v2_test.go

    	count := len(testCases)
    	for i := 4; i < len(testCases); i++ {
    		tc := testCases[i]
    		dataDir, err := xl.DeleteVersion(fileInfos[i])
    		failOnErr(count+1, err)
    		if dataDir != tc.expectedDataDir {
    			t.Fatalf("Expected %s but got %s", tc.expectedDataDir, dataDir)
    		}
    		count++
    	}
    }
    
    func Benchmark_mergeXLV2Versions(b *testing.B) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 08 17:50:48 GMT 2024
    - 36.4K bytes
    - Viewed (0)
  7. cmd/data-usage-cache.go

    			// appear earlier in this array of intervals, see
    			// ObjectsHistogramIntervals
    			splCount += count
    			fallthrough
    		default:
    			res[szInt.name] = count
    		}
    	}
    	return res
    }
    
    // add a version count to the histogram.
    func (h *versionsHistogram) add(versions uint64) {
    	// Fetch the histogram interval corresponding
    	// to the passed object size.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 41.4K bytes
    - Viewed (1)
  8. cmd/sftp-server-driver.go

    			if err != nil {
    				return nil, err
    			}
    
    			// Set the parent of the temporary access key, this is useful
    			// in obtaining service accounts by this cred.
    			cred.ParentUser = targetUser
    
    			// Set this value to LDAP groups, LDAP user can be part
    			// of large number of groups
    			cred.Groups = targetGroups
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 12:23:42 GMT 2024
    - 12.9K bytes
    - Viewed (0)
  9. cmd/endpoint.go

    func (l EndpointServerPools) HTTPS() bool {
    	return l[0].Endpoints.HTTPS()
    }
    
    // NEndpoints - returns number of endpoints
    func (l EndpointServerPools) NEndpoints() (count int) {
    	for _, ep := range l {
    		count += len(ep.Endpoints)
    	}
    	return count
    }
    
    // GridHosts will return all peers, including local.
    // in websocket grid compatible format, The local peer
    // is returned as a separate string.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 34.1K bytes
    - Viewed (0)
  10. cmd/erasure.go

    			offlineDisks[ep]++
    			continue
    		}
    		onlineDisks[ep]++
    	}
    
    	rootDiskCount := 0
    	for _, di := range disksInfo {
    		if di.RootDisk {
    			rootDiskCount++
    		}
    	}
    
    	// Count offline disks as well to ensure consistent
    	// reportability of offline drives on local setups.
    	if len(disksInfo) == (rootDiskCount + offlineDisks.Sum()) {
    		// Success.
    		return onlineDisks, offlineDisks
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 16K bytes
    - Viewed (1)
Back to top