Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for iota (0.13 sec)

  1. cmd/batch-handlers.go

    }
    
    //msgp:ignore batchJobMetric
    //go:generate stringer -type=batchJobMetric -trimprefix=batchJobMetric $GOFILE
    type batchJobMetric uint8
    
    const (
    	batchJobMetricReplication batchJobMetric = iota
    	batchJobMetricKeyRotation
    	batchJobMetricExpire
    )
    
    func batchJobTrace(d batchJobMetric, job string, startTime time.Time, duration time.Duration, info objTraceInfoer, attempts int, err error) madmin.TraceInfo {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 55.2K bytes
    - Viewed (0)
  2. cmd/api-errors.go

    type APIErrorCode int
    
    //go:generate stringer -type=APIErrorCode -trimprefix=Err $GOFILE
    
    // Error codes, non exhaustive list - http://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html
    const (
    	ErrNone APIErrorCode = iota
    	ErrAccessDenied
    	ErrBadDigest
    	ErrEntityTooSmall
    	ErrEntityTooLarge
    	ErrPolicyTooLarge
    	ErrIncompleteBody
    	ErrInternalError
    	ErrInvalidAccessKeyID
    	ErrAccessKeyDisabled
    	ErrInvalidArgument
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (6)
  3. cmd/test-utils_test.go

    	return req, nil
    }
    
    // Various signature types we are supporting, currently
    // two main signature types.
    type signerType int
    
    const (
    	signerV2 signerType = iota
    	signerV4
    )
    
    func newTestSignedRequest(method, urlStr string, contentLength int64, body io.ReadSeeker, accessKey, secretKey string, signer signerType) (*http.Request, error) {
    	if signer == signerV2 {
    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)
  4. cmd/iam.go

    	configLoaded chan struct{}
    }
    
    // IAMUserType represents a user type inside MinIO server
    type IAMUserType int
    
    const (
    	unknownIAMUserType IAMUserType = iota - 1
    	regUser
    	stsUser
    	svcUser
    )
    
    // LoadGroup - loads a specific group from storage, and updates the
    // memberships cache. If the specified group does not exist in
    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)
  5. cmd/xl-storage-format-v2.go

    }
    
    // xlFlags contains flags on the object.
    // This can be extended up to 64 bits without breaking compatibility.
    type xlFlags uint8
    
    const (
    	xlFlagFreeVersion xlFlags = 1 << iota
    	xlFlagUsesDataDir
    	xlFlagInlineData
    )
    
    func (x xlFlags) String() string {
    	var s strings.Builder
    	if x&xlFlagFreeVersion != 0 {
    		s.WriteString("FreeVersion")
    	}
    	if x&xlFlagUsesDataDir != 0 {
    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)
  6. src/cmd/cgo/gcc.go

    	}
    	if stderr == "" {
    		fatalf("%s produced no output\non input:\n%s", gccBaseCmd[0], b.Bytes())
    	}
    
    	completed := false
    	sniff := make([]int, len(names))
    	const (
    		notType = 1 << iota
    		notIntConst
    		notNumConst
    		notStrLiteral
    		notDeclared
    	)
    	sawUnmatchedErrors := false
    	for _, line := range strings.Split(stderr, "\n") {
    		// Ignore warnings and random comments, with one
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  7. tests/query_test.go

    		t.Errorf("errors happened when query find: %v, length: %v", err, len(all))
    	} else {
    		for idx, user := range users {
    			t.Run("FindAll#"+strconv.Itoa(idx+1), func(t *testing.T) {
    				CheckUser(t, all[idx], user)
    			})
    		}
    	}
    
    	t.Run("FirstMap", func(t *testing.T) {
    		first := map[string]interface{}{}
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Thu Apr 25 12:22:53 GMT 2024
    - 49.8K bytes
    - Viewed (0)
  8. cmd/xl-storage.go

    				res["free-versions"] = strconv.Itoa(len(fivs.FreeVersions))
    			}
    
    			if sizeS.versions > 0 {
    				res["versions"] = strconv.FormatUint(sizeS.versions, 10)
    			}
    			res["size"] = strconv.FormatInt(sizeS.totalSize, 10)
    			for name, tier := range sizeS.tiers {
    				res["tier-size-"+name] = strconv.FormatUint(tier.TotalSize, 10)
    				res["tier-versions-"+name] = strconv.Itoa(tier.NumVersions)
    			}
    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)
  9. cmd/erasure-object.go

    		}
    
    		if parityDrives >= len(storageDisks)/2 {
    			parityDrives = len(storageDisks) / 2
    		}
    
    		if parityOrig != parityDrives {
    			userDefined[minIOErasureUpgraded] = strconv.Itoa(parityOrig) + "->" + strconv.Itoa(parityDrives)
    		}
    	}
    	dataDrives := len(storageDisks) - parityDrives
    
    	// we now know the number of blocks this object needs for data and parity.
    	// writeQuorum is dataBlocks + 1
    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)
  10. internal/bucket/lifecycle/lifecycle_test.go

    	// test that the lowest max noncurrent versions limit is returned among
    	// matching rules
    	var rules []Rule
    	for i := 1; i <= 10; i++ {
    		rules = append(rules, Rule{
    			ID:     strconv.Itoa(i),
    			Status: "Enabled",
    			NoncurrentVersionExpiration: NoncurrentVersionExpiration{
    				NewerNoncurrentVersions: i,
    				NoncurrentDays:          ExpirationDays(i),
    			},
    		})
    	}
    	lc := Lifecycle{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 53.2K bytes
    - Viewed (0)
Back to top