Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for bias (0.14 sec)

  1. cmd/tier-last-day-stats.go

    	l.UpdatedAt = t // update to the latest time index
    
    	if since >= 24 {
    		l.Bins = [24]tierStats{}
    		return
    	}
    
    	for lastIdx != idx {
    		lastIdx = (lastIdx + 1) % 24
    		l.Bins[lastIdx] = tierStats{}
    	}
    }
    
    func (l *lastDayTierStats) clone() lastDayTierStats {
    	clone := lastDayTierStats{
    		UpdatedAt: l.UpdatedAt,
    	}
    	copy(clone.Bins[:], l.Bins[:])
    	return clone
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 19 22:54:46 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  2. cmd/xl-storage-format-v2_gen.go

    	}
    	return
    }
    
    // EncodeMsg implements msgp.Encodable
    func (z *xlMetaDataDirDecoder) EncodeMsg(en *msgp.Writer) (err error) {
    	// check for omitted fields
    	zb0001Len := uint32(1)
    	var zb0001Mask uint8 /* 1 bits */
    	_ = zb0001Mask
    	if z.ObjectV2 == nil {
    		zb0001Len--
    		zb0001Mask |= 0x1
    	}
    	// variable map header, size zb0001Len
    	err = en.Append(0x80 | uint8(zb0001Len))
    	if err != nil {
    		return
    	}
    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)
  3. internal/crypto/error.go

    	// MD5 checksum.
    	ErrMissingCustomerKeyMD5 = Errorf("The SSE-C request is missing the customer key MD5")
    
    	// ErrInvalidCustomerKey indicates that the SSE-C client key is not valid - e.g. not a
    	// base64-encoded string or not 256 bits long.
    	ErrInvalidCustomerKey = Errorf("The SSE-C client key is invalid")
    
    	// ErrSecretKeyMismatch indicates that the provided secret key (SSE-C client key / SSE-S3 KMS key)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  4. cmd/data-usage-cache_gen.go

    	return
    }
    
    // EncodeMsg implements msgp.Encodable
    func (z *dataUsageEntry) EncodeMsg(en *msgp.Writer) (err error) {
    	// check for omitted fields
    	zb0001Len := uint32(10)
    	var zb0001Mask uint16 /* 10 bits */
    	_ = zb0001Mask
    	if z.ReplicationStats == nil {
    		zb0001Len--
    		zb0001Mask |= 0x80
    	}
    	if z.AllTierStats == nil {
    		zb0001Len--
    		zb0001Mask |= 0x100
    	}
    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/tier-last-day-stats_gen.go

    	// map header, size 2
    	// write "Bins"
    	err = en.Append(0x82, 0xa4, 0x42, 0x69, 0x6e, 0x73)
    	if err != nil {
    		return
    	}
    	err = en.WriteArrayHeader(uint32(24))
    	if err != nil {
    		err = msgp.WrapError(err, "Bins")
    		return
    	}
    	for za0001 := range z.Bins {
    		err = z.Bins[za0001].EncodeMsg(en)
    		if err != nil {
    			err = msgp.WrapError(err, "Bins", za0001)
    			return
    		}
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 21 17:21:35 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  6. internal/rest/client.go

    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.
    	// Calling this returns true or false if the target
    	// is online or offline.
    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)
  7. cmd/storage-datatypes.go

    	// Date and time when the file was last modified, if Deleted
    	// is 'true' this value represents when while was deleted.
    	ModTime time.Time `msg:"mt"`
    
    	// Total file size.
    	Size int64 `msg:"sz"`
    
    	// File mode bits.
    	Mode uint32 `msg:"m"`
    
    	// WrittenByVersion is the unix time stamp of the MinIO
    	// version that created this version of the object.
    	WrittenByVersion uint64 `msg:"wv"`
    
    	// File metadata
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  8. cmd/test-utils_test.go

    )
    
    const letterBytes = "abcdefghijklmnopqrstuvwxyz01234569"
    const (
    	letterIdxBits = 6                    // 6 bits to represent a letter index
    	letterIdxMask = 1<<letterIdxBits - 1 // All 1-bits, as many as letterIdxBits
    	letterIdxMax  = 63 / letterIdxBits   // # of letter indices fitting in 63 bits
    )
    
    // Random number state.
    // We generate random temporary file names so that there's a good
    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)
  9. cmd/storage-datatypes_gen.go

    		}
    	}
    	return
    }
    
    // EncodeMsg implements msgp.Encodable
    func (z *DeleteOptions) EncodeMsg(en *msgp.Writer) (err error) {
    	// check for omitted fields
    	zb0001Len := uint32(5)
    	var zb0001Mask uint8 /* 5 bits */
    	_ = zb0001Mask
    	if z.OldDataDir == "" {
    		zb0001Len--
    		zb0001Mask |= 0x10
    	}
    	// variable map header, size zb0001Len
    	err = en.Append(0x80 | uint8(zb0001Len))
    	if err != nil {
    		return
    	}
    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)
  10. cmd/xl-storage-format-v2.go

    	WrittenByVersion uint64                `msg:"v"` // Tracks written by MinIO version
    }
    
    // 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
    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)
Back to top