Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 177 for Lange (0.14 sec)

  1. cmd/data-usage_test.go

    			oSizes: sizeHistogram{0: 1, 1: 1, 2: 2, 4: 1},
    		},
    		{
    			path:  "/dir1/dira",
    			isNil: true,
    		},
    		{
    			path:  "/nonexistying",
    			isNil: true,
    		},
    	}
    
    	for _, w := range want {
    		p := path.Join(bucket, w.path)
    		t.Run(p, func(t *testing.T) {
    			e := got.find(p)
    			if w.isNil {
    				if e != nil {
    					t.Error("want nil, got", e)
    				}
    				return
    			}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Mar 27 15:10:40 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  2. cmd/site-replication-metrics_gen.go

    			if err != nil {
    				err = msgp.WrapError(err, "ErrCounts")
    				return
    			}
    			if z.ErrCounts == nil {
    				z.ErrCounts = make(map[string]int, zb0003)
    			} else if len(z.ErrCounts) > 0 {
    				for key := range z.ErrCounts {
    					delete(z.ErrCounts, key)
    				}
    			}
    			for zb0003 > 0 {
    				zb0003--
    				var za0001 string
    				var za0002 int
    				za0001, err = dc.ReadString()
    				if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 06 06:00:45 GMT 2024
    - 40.6K bytes
    - Viewed (0)
  3. cmd/erasure-server-pool-rebalance.go

    	z.rebalMu.RLock()
    	participants := make([]bool, len(z.rebalMeta.PoolStats))
    	for i, ps := range z.rebalMeta.PoolStats {
    		// skip pools which have completed rebalancing
    		if ps.Info.Status != rebalStarted {
    			continue
    		}
    
    		participants[i] = ps.Participating
    	}
    	z.rebalMu.RUnlock()
    
    	for poolIdx, doRebalance := range participants {
    		if !doRebalance {
    			continue
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 19:29:28 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  4. cmd/xl-storage-disk-id-check.go

    	if err != nil {
    		for i := range errs {
    			errs[i] = ctx.Err()
    		}
    		return errs
    	}
    	defer func() {
    		if !skipAccessChecks(volume) {
    			var permanentDeletes uint64
    			var deleteMarkers uint64
    
    			for i, nerr := range errs {
    				if nerr != nil {
    					continue
    				}
    				for _, fi := range versions[i].Versions {
    					if fi.Deleted {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 33K bytes
    - Viewed (0)
  5. cmd/object-multipart-handlers.go

    	getObjectNInfo := objectAPI.GetObjectNInfo
    
    	// Get request range.
    	var rs *HTTPRangeSpec
    	var parseRangeErr error
    	if rangeHeader := r.Header.Get(xhttp.AmzCopySourceRange); rangeHeader != "" {
    		rs, parseRangeErr = parseCopyPartRangeSpec(rangeHeader)
    	} else {
    		// This check is to see if client specified a header but the value
    		// is empty for 'x-amz-copy-source-range'
    		_, ok := r.Header[xhttp.AmzCopySourceRange]
    		if ok {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 39K bytes
    - Viewed (0)
  6. internal/jwt/parser.go

    			return &buf
    		},
    	}
    
    	hmacSigners = []*SigningMethodHMAC{
    		{Name: "HS256", Hash: crypto.SHA256},
    		{Name: "HS384", Hash: crypto.SHA384},
    		{Name: "HS512", Hash: crypto.SHA512},
    	}
    	for i := range hmacSigners {
    		h := hmacSigners[i].Hash
    		hmacSigners[i].HasherPool.New = func() interface{} {
    			return h.New()
    		}
    	}
    }
    
    // HashBorrower allows borrowing hashes and will keep track of them.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue May 09 07:53:08 GMT 2023
    - 13.9K bytes
    - Viewed (0)
  7. cmd/batch-replicate_gen.go

    	for za0001 := range z.Tags {
    		o, err = z.Tags[za0001].MarshalMsg(o)
    		if err != nil {
    			err = msgp.WrapError(err, "Tags", za0001)
    			return
    		}
    	}
    	// string "Metadata"
    	o = append(o, 0xa8, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61)
    	o = msgp.AppendArrayHeader(o, uint32(len(z.Metadata)))
    	for za0002 := range z.Metadata {
    		o, err = z.Metadata[za0002].MarshalMsg(o)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Nov 22 18:51:46 GMT 2023
    - 40.6K bytes
    - Viewed (0)
  8. internal/s3select/select.go

    	// End is the offset of the last byte that should be returned when Start
    	// is set, otherwise it is the offset from EOF to start reading.
    	End *uint64 `xml:"End"`
    }
    
    // Validate if the scan range is valid.
    func (s *ScanRange) Validate() error {
    	if s == nil {
    		return nil
    	}
    	if s.Start == nil && s.End == nil {
    		// This parameter is optional, but when specified, it must not be empty.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Nov 06 22:26:08 GMT 2023
    - 21K bytes
    - Viewed (0)
  9. internal/event/name.go

    		res := make([]Name, objectSingleTypesEnd-1)
    		for i := range res {
    			res[i] = Name(i + 1)
    		}
    		return res
    	default:
    		return []Name{name}
    	}
    }
    
    // Mask returns the type as mask.
    // Compound "All" types are expanded.
    func (name Name) Mask() uint64 {
    	if name < objectSingleTypesEnd {
    		return 1 << (name - 1)
    	}
    	var mask uint64
    	for _, n := range name.Expand() {
    		mask |= 1 << (n - 1)
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  10. internal/hash/reader_test.go

    			size:       4,
    			actualSize: 4,
    			md5hex:     "e2fc714c4727ee9395f324cd2e7f331f",
    			err:        ioutil.ErrOverread,
    		},
    	}
    	for i, testCase := range testCases {
    		t.Run(fmt.Sprintf("case-%d", i+1), func(t *testing.T) {
    			r, err := NewReader(context.Background(), testCase.src, testCase.size, testCase.md5hex, testCase.sha256hex, testCase.actualSize)
    			if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 18 17:00:54 GMT 2023
    - 10.3K bytes
    - Viewed (0)
Back to top