Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 120 for figure (0.19 sec)

  1. cmd/erasure-metadata-utils.go

    package cmd
    
    import (
    	"context"
    	"encoding/binary"
    	"errors"
    	"hash/crc32"
    
    	"github.com/minio/pkg/v2/sync/errgroup"
    )
    
    // figure out the most commonVersions across disk that satisfies
    // the 'writeQuorum' this function returns "" if quorum cannot
    // be achieved and disks have too many inconsistent versions.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  2. cmd/admin-handlers-idp-config.go

    		}
    
    		return ErrNone
    	}
    
    	// For the default configuration name, since it will always be an available
    	// target, we need to check if a configuration value has been set previously
    	// to figure out if this is a valid create or update API call.
    
    	// This cannot really error (FIXME: improve the type for GetConfigInfo)
    	var cfgInfos []madmin.IDPCfgInfo
    	switch subSys {
    	case madmin.IdentityOpenIDSubSys:
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  3. cmd/erasure-utils.go

    	"io"
    	"strings"
    
    	"github.com/klauspost/reedsolomon"
    )
    
    // getDataBlockLen - get length of data blocks from encoded blocks.
    func getDataBlockLen(enBlocks [][]byte, dataBlocks int) int {
    	size := 0
    	// Figure out the data block length.
    	for _, block := range enBlocks[:dataBlocks] {
    		size += len(block)
    	}
    	return size
    }
    
    // Writes all the data blocks from encoded blocks until requested
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Jan 31 02:11:45 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  4. cmd/endpoint-ellipses.go

    func commonSetDriveCount(divisibleSize uint64, setCounts []uint64) (setSize uint64) {
    	// prefers setCounts to be sorted for optimal behavior.
    	if divisibleSize < setCounts[len(setCounts)-1] {
    		return divisibleSize
    	}
    
    	// Figure out largest value of total_drives_in_erasure_set which results
    	// in least number of total_drives/total_drives_erasure_set ratio.
    	prevD := divisibleSize / setCounts[0]
    	for _, cnt := range setCounts {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 11 21:22:47 GMT 2024
    - 14.8K bytes
    - Viewed (0)
  5. cmd/erasure-healing.go

    		}, index)
    	}
    	return reduceReadQuorumErrs(ctx, g.Wait(), bucketMetadataOpIgnoredErrs, readQuorum)
    }
    
    // Only heal on disks where we are sure that healing is needed. We can expand
    // this list as and when we figure out more errors can be added to this list safely.
    func shouldHealObjectOnDisk(erErr, dataErr error, meta FileInfo, latestMeta FileInfo) bool {
    	switch {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  6. internal/jwt/parser_test.go

    	// Iterate over test data set and run tests
    	for _, data := range jwtTestData {
    		data := data
    		t.Run(data.name, func(t *testing.T) {
    			// Parse the token
    			var err error
    
    			// Figure out correct claims type
    			switch claims := data.claims.(type) {
    			case *MapClaims:
    				if data.tokenString == "" {
    					data.tokenString = mapClaimsToken(claims)
    				}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Nov 05 19:20:08 GMT 2021
    - 6K bytes
    - Viewed (0)
  7. src/cmd/cgo/gcc.go

    		}
    		if t.Name == "string" {
    			return !top
    		}
    		if t.Name == "error" {
    			return true
    		}
    		if goTypes[t.Name] != nil {
    			return false
    		}
    		// We can't figure out the type. Conservative
    		// approach is to assume it has a pointer.
    		return true
    	case *ast.SelectorExpr:
    		if l, ok := t.X.(*ast.Ident); !ok || l.Name != "C" {
    			// Type defined in a different package.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  8. cmd/metacache-entries.go

    	objQuorum int // Number of disks needed for an object to 'exist'.
    
    	// An optimization request only an 'n' amount of versions from xl.meta
    	// to avoid resolving all versions to figure out the latest 'version'
    	// for ListObjects, ListObjectsV2
    	requestedVersions int
    
    	bucket string // Name of the bucket. Used for generating cached fileinfo.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 16:43:43 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  9. internal/bucket/object/lock/lock.go

    	ErrInvalidRetentionDate = errors.New("date must be provided in ISO 8601 format")
    	// ErrPastObjectLockRetainDate - indicates that retention date must be in the future
    	ErrPastObjectLockRetainDate = errors.New("the retain until date must be in the future")
    	// ErrUnknownWORMModeDirective - indicates that the retention mode is invalid
    	ErrUnknownWORMModeDirective = errors.New("unknown WORM mode directive")
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 17.1K bytes
    - Viewed (0)
  10. cni/pkg/nodeagent/ztunnelserver_test.go

    	ztunnelKeepAliveCheckInterval = time.Second / 10
    	mt := monitortest.New(t)
    	setupLogging()
    	ctx, cancel := context.WithCancel(context.Background())
    	defer cancel()
    
    	fixture := connect(ctx)
    	ztunClient := fixture.ztunClient
    	uid := fixture.uid
    
    	m, fds := readRequest(t, ztunClient)
    	// we got am essage from ztun, so it should have observed us being connected
    	mt.Assert(ztunnelConnected.Name(), nil, monitortest.Exactly(1))
    
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 8.6K bytes
    - Viewed (0)
Back to top