Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for Goff (0.17 sec)

  1. cmd/admin-handlers.go

    	// if we do run out of capacity, make sure to turn-off autotuning
    	// in such situations.
    	if autotune {
    		newConcurrent := concurrent + (concurrent+1)/2
    		autoTunedCapacityNeeded := uint64(newConcurrent * size)
    		if capacity < autoTunedCapacityNeeded {
    			// Turn-off auto-tuning if next possible concurrency would reach beyond disk capacity.
    			return true, false, ""
    		}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 97.3K bytes
    - Viewed (2)
  2. cmd/batch-handlers.go

    			}
    		}
    	}
    }
    
    func lookupStyle(s string) miniogo.BucketLookupType {
    	var lookup miniogo.BucketLookupType
    	switch s {
    	case "on":
    		lookup = miniogo.BucketLookupPath
    	case "off":
    		lookup = miniogo.BucketLookupDNS
    	default:
    		lookup = miniogo.BucketLookupAuto
    
    	}
    	return lookup
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 08 14:11:38 GMT 2024
    - 55.2K bytes
    - Viewed (0)
  3. src/cmd/cgo/gcc.go

    			// structs are in system headers that cannot be corrected.
    			continue
    		}
    
    		// Round off up to talign, assumed to be a power of 2.
    		off = (off + talign - 1) &^ (talign - 1)
    
    		if f.ByteOffset > off {
    			fld, sizes = c.pad(fld, sizes, f.ByteOffset-off)
    			off = f.ByteOffset
    		}
    		if f.ByteOffset < off {
    			// Drop a packed field that we can't represent.
    			continue
    		}
    
    		n := len(fld)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  4. src/bytes/bytes_test.go

    	if len(bmbuf) < maxSize {
    		bmbuf = make([]byte, maxSize)
    	}
    
    	for _, n := range sizes {
    		for _, off := range []int{0, 1, 4, 7} {
    			buf1 := bmbuf[off : off+n]
    			buf2Start := (len(bmbuf) / 2) + off
    			buf2 := bmbuf[buf2Start : buf2Start+n]
    			buf1[n-1] = 'x'
    			buf2[n-1] = 'x'
    			b.Run(fmt.Sprint(n, off), func(b *testing.B) {
    				b.SetBytes(int64(n))
    				for i := 0; i < b.N; i++ {
    					eq := Equal(buf1, buf2)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 24 16:07:25 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  5. cmd/xl-storage.go

    	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)
    	if err != nil {
    		// We start off with '0' if we can read the attributes
    		return 0
    	}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  6. cmd/erasure-object.go

    	}
    
    	fn, off, length, err := NewGetObjectReader(rs, objInfo, opts)
    	if err != nil {
    		return nil, err
    	}
    
    	if unlockOnDefer {
    		unlockOnDefer = fi.InlineData()
    	}
    
    	pr, pw := xioutil.WaitPipe()
    	go func() {
    		pw.CloseWithError(er.getObjectWithFileInfo(ctx, bucket, object, off, length, pw, fi, metaArr, onlineDisks))
    	}()
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 76.9K bytes
    - Viewed (2)
Back to top