Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for init (0.2 sec)

  1. cmd/server_test.go

    	testCases := []*TestSuiteCommon{
    		// Init and run test on ErasureSD backend with signature v4.
    		{serverType: "ErasureSD", signer: signerV4},
    		// Init and run test on ErasureSD backend with signature v2.
    		{serverType: "ErasureSD", signer: signerV2},
    		// Init and run test on ErasureSD backend, with tls enabled.
    		{serverType: "ErasureSD", signer: signerV4, secure: true},
    		// Init and run test on Erasure backend.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  2. cmd/object-handlers.go

    	var update bool
    	if cachedResult {
    		rc := &cache.CondCheck{}
    		h := r.Header.Clone()
    		if opts.PartNumber > 0 {
    			h.Set(xhttp.PartNumber, strconv.Itoa(opts.PartNumber))
    		}
    		rc.Init(bucket, object, h)
    
    		ci, err := globalCacheConfig.Get(rc)
    		if ci != nil {
    			tgs, ok := ci.Metadata[xhttp.AmzObjectTagging]
    			if ok {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 20:15:54 GMT 2024
    - 125.2K bytes
    - Viewed (0)
  3. cmd/metrics-v2.go

    	clusterCollector        *minioClusterCollector
    	bucketCollector         *minioBucketCollector
    	peerMetricsGroups       []*MetricsGroupV2
    	bucketPeerMetricsGroups []*MetricsGroupV2
    )
    
    func init() {
    	clusterMetricsGroups := []*MetricsGroupV2{
    		getNodeHealthMetrics(MetricsGroupOpts{dependGlobalNotificationSys: true}),
    		getClusterStorageMetrics(MetricsGroupOpts{dependGlobalObjectAPI: true}),
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 132.6K bytes
    - Viewed (0)
  4. cmd/data-usage-cache_gen.go

    				return
    			}
    		}
    	}
    	o = bts
    	return
    }
    
    // Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
    func (z *allTierStats) Msgsize() (s int) {
    	s = 1 + 3 + msgp.MapHeaderSize
    	if z.Tiers != nil {
    		for za0001, za0002 := range z.Tiers {
    			_ = za0002
    			s += msgp.StringPrefixSize + len(za0001) + 1 + 3 + msgp.Uint64Size + 3 + msgp.IntSize + 3 + msgp.IntSize
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 21 17:21:35 GMT 2024
    - 100.8K bytes
    - Viewed (0)
  5. cmd/admin-handlers.go

    }
    
    func getPoolsInfo(ctx context.Context, allDisks []madmin.Disk) (map[int]map[int]madmin.ErasureSetInfo, error) {
    	objectAPI := newObjectLayerFn()
    	if objectAPI == nil {
    		return nil, errServerNotInitialized
    	}
    
    	z, ok := objectAPI.(*erasureServerPools)
    	if !ok {
    		return nil, errServerNotInitialized
    	}
    
    	poolsInfo := make(map[int]map[int]madmin.ErasureSetInfo)
    	for _, d := range allDisks {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 29 17:39:04 GMT 2024
    - 97.8K bytes
    - Viewed (2)
  6. cmd/site-replication.go

    	Enabled           bool
    	MaxBuckets        int                             // maximum buckets seen across sites
    	MaxUsers          int                             // maximum users seen across sites
    	MaxGroups         int                             // maximum groups seen across sites
    	MaxPolicies       int                             // maximum policies across sites
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
  7. cmd/object-handlers_test.go

    	for _, input := range objectInputs {
    		uploadTestObject(t, apiRouter, credentials, bucketName, input.objectName, input.partLengths, input.metaData, false)
    	}
    
    	mkGetReqWithPartNumber := func(oindex int, oi ObjectInput, partNumber int) {
    		object := oi.objectName
    
    		queries := url.Values{}
    		queries.Add("partNumber", strconv.Itoa(partNumber))
    		targetURL := makeTestTargetURL("", bucketName, object, queries)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
  8. cmd/storage-datatypes_gen.go

    func (z VolInfo) Msgsize() (s int) {
    	s = 1 + msgp.StringPrefixSize + len(z.Name) + msgp.TimeSize
    	return
    }
    
    // DecodeMsg implements msgp.Decodable
    func (z *VolsInfo) DecodeMsg(dc *msgp.Reader) (err error) {
    	var zb0002 uint32
    	zb0002, err = dc.ReadArrayHeader()
    	if err != nil {
    		err = msgp.WrapError(err)
    		return
    	}
    	if cap((*z)) >= int(zb0002) {
    		(*z) = (*z)[:zb0002]
    	} else {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 127.5K bytes
    - Viewed (0)
  9. cmd/bucket-replication.go

    func (p *ReplicationPool) ActiveWorkers() int {
    	return int(atomic.LoadInt32(&p.activeWorkers))
    }
    
    // ActiveMRFWorkers returns the number of active workers handling replication failures.
    func (p *ReplicationPool) ActiveMRFWorkers() int {
    	return int(atomic.LoadInt32(&p.activeMRFWorkers))
    }
    
    // ResizeWorkers sets replication workers pool to new size.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 112.2K bytes
    - Viewed (1)
  10. src/cmd/cgo/internal/test/callback.go

    	// Use a new goroutine so that we get a small stack.
    	c := make(chan int)
    	go func() {
    		c <- int(C.returnAfterGrowFromGo())
    	}()
    	if got, want := <-c, 129*128/2; got != want {
    		t.Errorf("got %d want %d", got, want)
    	}
    }
    
    //export goReturnVal
    func goReturnVal() (r C.int) {
    	// Force a stack copy.
    	var f func(int) int
    	f = func(i int) int {
    		var buf [256]byte
    		use(buf[:])
    		if i == 0 {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 111.5K bytes
    - Viewed (0)
Back to top