Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for Uint64N (0.23 sec)

  1. cmd/xl-storage.go

    	return dataUsageInfo, nil
    }
    
    func (s *xlStorage) getDeleteAttribute() uint64 {
    	attr := "user.total_deletes"
    	buf, err := xattr.LGet(s.formatFile, attr)
    	if err != nil {
    		// We start off with '0' if we can read the attributes
    		return 0
    	}
    	return binary.LittleEndian.Uint64(buf[:8])
    }
    
    func (s *xlStorage) getWriteAttribute() uint64 {
    	attr := "user.total_writes"
    	buf, err := xattr.LGet(s.formatFile, attr)
    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)
  2. cmd/erasure-server-pool.go

    type poolAvailableSpace struct {
    	Index      int
    	Available  uint64 // in bytes
    	MaxUsedPct int    // Used disk percentage of most filled disk, rounded down.
    }
    
    // TotalAvailable - total available space
    func (p serverPoolsAvailableSpace) TotalAvailable() uint64 {
    	total := uint64(0)
    	for _, z := range p {
    		total += z.Available
    	}
    	return total
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  3. tests/query_test.go

    		t.Fatalf("Build OR condition, but got %v", result.Statement.SQL.String())
    	}
    }
    
    type Int64 int64
    
    func (v Int64) Value() (driver.Value, error) {
    	return v - 1, nil
    }
    
    func (f *Int64) Scan(v interface{}) error {
    	y := v.(int64)
    	*f = Int64(y + 1)
    	return nil
    }
    
    func TestPluck(t *testing.T) {
    	users := []*User{
    		GetUser("pluck-user1", Config{}),
    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)
  4. cmd/xl-storage-format-v2.go

    	PartSizes          []int64           `json:"PartSizes" msg:"PartSizes"`                      // Part Sizes
    	PartActualSizes    []int64           `json:"PartASizes,omitempty" msg:"PartASizes,allownil"` // Part ActualSizes (compression)
    	PartIndices        [][]byte          `json:"PartIndices,omitempty" msg:"PartIdx,omitempty"`  // Part Indexes (compression)
    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)
  5. cmd/test-utils_test.go

    func calculateSignedChunkLength(chunkDataSize int64) int64 {
    	return int64(len(fmt.Sprintf("%x", chunkDataSize))) +
    		17 + // ";chunk-signature="
    		64 + // e.g. "f2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6ccc26fd2"
    		2 + // CRLF
    		chunkDataSize +
    		2 // CRLF
    }
    
    func mustGetPutObjReader(t TestErrHandler, data io.Reader, size int64, md5hex, sha256hex string) *PutObjReader {
    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)
  6. cmd/admin-handlers-users.go

    	}
    
    	for _, bucket := range buckets {
    		rd, wr := isAllowedAccess(bucket.Name)
    		if rd || wr {
    			// Fetch the data usage of the current bucket
    			var size uint64
    			var objectsCount uint64
    			var objectsHist, versionsHist map[string]uint64
    			if !dataUsageInfo.LastUpdate.IsZero() {
    				size = dataUsageInfo.BucketsUsage[bucket.Name].Size
    				objectsCount = dataUsageInfo.BucketsUsage[bucket.Name].ObjectsCount
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 12:41:13 GMT 2024
    - 77.5K bytes
    - Viewed (0)
  7. cmd/batch-handlers.go

    	// Verbose information
    	Objects             int64 `json:"objects" msg:"ob"`
    	DeleteMarkers       int64 `json:"deleteMarkers" msg:"dm"`
    	ObjectsFailed       int64 `json:"objectsFailed" msg:"obf"`
    	DeleteMarkersFailed int64 `json:"deleteMarkersFailed" msg:"dmf"`
    	BytesTransferred    int64 `json:"bytesTransferred" msg:"bt"`
    	BytesFailed         int64 `json:"bytesFailed" msg:"bf"`
    }
    
    const (
    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)
  8. cmd/iam.go

    type IAMSys struct {
    	// Need to keep them here to keep alignment - ref: https://golang.org/pkg/sync/atomic/#pkg-note-BUG
    	// metrics
    	LastRefreshTimeUnixNano         uint64
    	LastRefreshDurationMilliseconds uint64
    	TotalRefreshSuccesses           uint64
    	TotalRefreshFailures            uint64
    
    	sync.Mutex
    
    	iamRefreshInterval time.Duration
    
    	LDAPConfig   xldap.Config  // only valid if usersSysType is LDAPUsers
    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)
  9. cmd/xl-storage-format-v2_gen.go

    			if err != nil {
    				err = msgp.WrapError(err, "PartSizes")
    				return
    			}
    			if cap(z.PartSizes) >= int(zb0007) {
    				z.PartSizes = (z.PartSizes)[:zb0007]
    			} else {
    				z.PartSizes = make([]int64, zb0007)
    			}
    			for za0006 := range z.PartSizes {
    				z.PartSizes[za0006], err = dc.ReadInt64()
    				if err != nil {
    					err = msgp.WrapError(err, "PartSizes", za0006)
    					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)
  10. cmd/object-api-listobjects_test.go

    	for _, object := range testObjects {
    		md5Bytes := md5.Sum([]byte(object.content))
    		_, err = obj.PutObject(context.Background(), object.parentBucket, object.name, mustGetPutObjReader(t, bytes.NewBufferString(object.content),
    			int64(len(object.content)), hex.EncodeToString(md5Bytes[:]), ""), ObjectOptions{
    			Versioned:   globalBucketVersioningSys.PrefixEnabled(object.parentBucket, object.name),
    			UserDefined: object.meta,
    		})
    		if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 11:07:40 GMT 2024
    - 73.1K bytes
    - Viewed (0)
Back to top