Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 58 for int32 (0.15 sec)

  1. cmd/xl-storage-disk-id-check.go

    		}
    	}
    }
    
    const (
    	diskHealthOK int32 = iota
    	diskHealthFaulty
    )
    
    type diskHealthTracker struct {
    	// atomic time of last success
    	lastSuccess int64
    
    	// atomic time of last time a token was grabbed.
    	lastStarted int64
    
    	// Atomic status of disk.
    	status atomic.Int32
    
    	// Atomic number indicates if a disk is hung
    	waiting atomic.Int32
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 33K bytes
    - Viewed (0)
  2. cmd/globals.go

    	globalConsoleSrv *consoleapi.Server
    
    	// handles service freeze or un-freeze S3 API calls.
    	globalServiceFreeze atomic.Value
    
    	// Only needed for tracking
    	globalServiceFreezeCnt int32
    	globalServiceFreezeMu  sync.Mutex // Updates.
    
    	// List of local drives to this node, this is only set during server startup,
    	// and is only mutated by HealFormat. Hold globalLocalDrivesMu to access.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 16.5K bytes
    - Viewed (0)
  3. internal/rest/client.go

    // Unwrap returns the error wrapped in NetworkError.
    func (n *NetworkError) Unwrap() error {
    	return n.Err
    }
    
    // Client - http based RPC client.
    type Client struct {
    	connected int32 // ref: https://golang.org/pkg/sync/atomic/#pkg-note-BUG
    	_         int32 // For 64 bits alignment
    	lastConn  int64
    
    	// HealthCheckFn is the function set to test for health.
    	// If not set the client will not keep track of health.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 14.4K bytes
    - Viewed (0)
  4. cmd/warm-backend-azure.go

    	containerURL := az.serviceURL.NewContainerURL(az.Bucket)
    	resp, err := containerURL.ListBlobsHierarchySegment(ctx, azblob.Marker{}, "/", azblob.ListBlobsSegmentOptions{
    		Prefix:     az.Prefix,
    		MaxResults: int32(1),
    	})
    	if err != nil {
    		return false, azureToObjectError(err, az.Bucket, az.Prefix)
    	}
    	if len(resp.Segment.BlobPrefixes) > 0 || len(resp.Segment.BlobItems) > 0 {
    		return true, nil
    	}
    	return false, nil
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Mar 05 16:44:08 GMT 2024
    - 7.8K bytes
    - Viewed (1)
  5. cmd/bucket-lifecycle.go

    type expiryStats struct {
    	missedExpiryTasks      atomic.Int64
    	missedFreeVersTasks    atomic.Int64
    	missedTierJournalTasks atomic.Int64
    	workers                atomic.Int32
    }
    
    // MissedTasks returns the number of ILM expiry tasks that were missed since
    // there were no available workers.
    func (e *expiryStats) MissedTasks() int64 {
    	return e.missedExpiryTasks.Load()
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  6. cmd/data-usage-cache_gen.go

    				err = msgp.WrapError(err, "DeleteMarkers")
    				return
    			}
    		case "szs":
    			var zb0002 uint32
    			zb0002, err = dc.ReadArrayHeader()
    			if err != nil {
    				err = msgp.WrapError(err, "ObjSizes")
    				return
    			}
    			if zb0002 != uint32(dataUsageBucketLen) {
    				err = msgp.ArrayError{Wanted: uint32(dataUsageBucketLen), Got: zb0002}
    				return
    			}
    			for za0001 := range z.ObjSizes {
    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)
  7. cmd/xl-storage-format-v2_gen.go

    		o = msgp.AppendMapHeader(o, uint32(len(z.MetaSys)))
    		for za0002, za0003 := range z.MetaSys {
    			o = msgp.AppendString(o, za0002)
    			o = msgp.AppendBytes(o, za0003)
    		}
    	}
    	return
    }
    
    // UnmarshalMsg implements msgp.Unmarshaler
    func (z *xlMetaV2DeleteMarker) UnmarshalMsg(bts []byte) (o []byte, err error) {
    	var field []byte
    	_ = field
    	var zb0001 uint32
    	zb0001, bts, err = msgp.ReadMapHeaderBytes(bts)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:43:43 GMT 2024
    - 53.8K bytes
    - Viewed (0)
  8. cmd/xl-storage-meta-inline.go

    func (x xlMetaInlineData) find(key string) []byte {
    	if len(x) == 0 || !x.versionOK() {
    		return nil
    	}
    	sz, buf, err := msgp.ReadMapHeaderBytes(x.afterVersion())
    	if err != nil || sz == 0 {
    		return nil
    	}
    	for i := uint32(0); i < sz; i++ {
    		var found []byte
    		found, buf, err = msgp.ReadMapKeyZC(buf)
    		if err != nil || sz == 0 {
    			return nil
    		}
    		if string(found) == key {
    			val, _, _ := msgp.ReadBytesZC(buf)
    			return val
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 9.5K bytes
    - Viewed (0)
  9. internal/grid/types.go

    // MarshalMsg implements msgp.Marshaler
    func (u URLValues) MarshalMsg(b []byte) (o []byte, err error) {
    	o = msgp.Require(b, u.Msgsize())
    	o = msgp.AppendMapHeader(o, uint32(len(u)))
    	for zb0006, zb0007 := range u {
    		o = msgp.AppendString(o, zb0006)
    		o = msgp.AppendArrayHeader(o, uint32(len(zb0007)))
    		for zb0008 := range zb0007 {
    			o = msgp.AppendString(o, zb0007[zb0008])
    		}
    	}
    	return
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 01 23:42:09 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  10. cmd/metrics-v2_gen.go

    	o = msgp.AppendMapHeader(o, uint32(len(z.Histogram)))
    	for za0005, za0006 := range z.Histogram {
    		o = msgp.AppendString(o, za0005)
    		o = msgp.AppendUint64(o, za0006)
    	}
    	return
    }
    
    // UnmarshalMsg implements msgp.Unmarshaler
    func (z *MetricV2) UnmarshalMsg(bts []byte) (o []byte, err error) {
    	var field []byte
    	_ = field
    	var zb0001 uint32
    	zb0001, bts, err = msgp.ReadMapHeaderBytes(bts)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 10 09:15:15 GMT 2024
    - 19.2K bytes
    - Viewed (0)
Back to top