Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 56 for small (0.2 sec)

  1. cmd/bucket-stats.go

    	}
    }
    
    // RMetricName - name of replication metric
    type RMetricName string
    
    const (
    	// Large - objects larger than 128MiB
    	Large RMetricName = "Large"
    	// Small - objects smaller than 128MiB
    	Small RMetricName = "Small"
    	// Total - metric pertaining to totals
    	Total RMetricName = "Total"
    )
    
    // ReplQNodeStats holds queue stats for replication per node
    type ReplQNodeStats struct {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Feb 06 06:00:45 GMT 2024
    - 13.1K bytes
    - Viewed (0)
  2. src/archive/tar/writer_test.go

    	}{{
    		// The writer test file was produced with this command:
    		// tar (GNU tar) 1.26
    		//   ln -s small.txt link.txt
    		//   tar -b 1 --format=ustar -c -f writer.tar small.txt small2.txt link.txt
    		file: "testdata/writer.tar",
    		tests: []testFnc{
    			testHeader{Header{
    				Typeflag: TypeReg,
    				Name:     "small.txt",
    				Size:     5,
    				Mode:     0640,
    				Uid:      73025,
    				Gid:      5000,
    				Uname:    "dsymonds",
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Feb 27 16:39:23 GMT 2024
    - 38.7K bytes
    - Viewed (0)
  3. src/arena/arena.go

    This functionality in this package is mostly captured in the Arena type.
    Arenas allocate large chunks of memory for Go values, so they're likely to
    be inefficient for allocating only small amounts of small Go values. They're
    best used in bulk, on the order of MiB of memory allocated on each use.
    
    Note that by allowing for this limited form of manual memory allocation
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Oct 12 20:23:36 GMT 2022
    - 4.3K bytes
    - Viewed (0)
  4. internal/grid/grid.go

    		return &m
    	},
    }
    
    var internal32KByteBuffer = sync.Pool{
    	New: func() any {
    		m := make([]byte, 0, biggerBufMin)
    		return &m
    	},
    }
    
    // GetByteBuffer can be replaced with a function that returns a small
    // byte buffer.
    // When replacing PutByteBuffer should also be replaced
    // There is no minimum size.
    var GetByteBuffer = func() []byte {
    	b := *internalByteBuffer.Get().(*[]byte)
    	return b[:0]
    }
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Apr 02 15:56:18 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  5. internal/auth/credentials.go

    // the given io.Reader. If random is nil, crypto/rand.Reader is used.
    // If length <= 0, the access key length is chosen automatically.
    //
    // GenerateAccessKey returns an error if length is too small for a valid
    // access key.
    func GenerateAccessKey(length int, random io.Reader) (string, error) {
    	if random == nil {
    		random = rand.Reader
    	}
    	if length <= 0 {
    		length = accessKeyMaxLen
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Mar 01 21:09:42 GMT 2024
    - 11.4K bytes
    - Viewed (0)
  6. istioctl/pkg/tag/revision.go

    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    
    	"istio.io/api/label"
    	iopv1alpha1 "istio.io/istio/operator/pkg/apis/istio/v1alpha1"
    	"istio.io/istio/pkg/kube"
    )
    
    // PodFilteredInfo represents a small subset of fields from
    // Pod object in Kubernetes. Exposed for integration test
    type PodFilteredInfo struct {
    	Namespace string          `json:"namespace"`
    	Name      string          `json:"name"`
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Jan 28 13:16:05 GMT 2023
    - 4.5K bytes
    - Viewed (0)
  7. cmd/object-handlers_test.go

    	// downloading is done. Data bytes are from DummyDataGen.
    	objectInputs := []ObjectInput{
    		// // cases 0-3: small single part objects
    		{"nothing", []int64{0}, make(map[string]string)},
    		{"small-0", []int64{11}, make(map[string]string)},
    		{"small-1", []int64{509}, make(map[string]string)},
    		{"small-2", []int64{5 * oneMiB}, make(map[string]string)},
    		// // // cases 4-7: multipart part objects
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
  8. tests/sql_builder_test.go

    	stmt := dryRunDB.Where(
    		DB.Where("pizza = ?", "pepperoni").Where(DB.Where("size = ?", "small").Or("size = ?", "medium")),
    	).Or(
    		DB.Where("pizza = ?", "hawaiian").Where("size = ?", "xlarge"),
    	).Find(&Pizza{}).Statement
    
    	execStmt := dryRunDB.Exec("WHERE (pizza = ? AND (size = ? OR size = ?)) OR (pizza = ? AND size = ?)", "pepperoni", "small", "medium", "hawaiian", "xlarge").Statement
    
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Fri Jan 12 08:42:21 GMT 2024
    - 16.7K bytes
    - Viewed (0)
  9. internal/handlers/forwarder.go

    	}
    
    	return f
    }
    
    type bufPool struct {
    	sz   int
    	pool sync.Pool
    }
    
    func (b *bufPool) Put(buf []byte) {
    	if cap(buf) < b.sz || cap(buf) > b.sz*2 {
    		// Buffer too small or will likely leak memory after being expanded.
    		// Drop it.
    		return
    	}
    	b.pool.Put(&buf)
    }
    
    func (b *bufPool) Get() []byte {
    	bufp := b.pool.Get().(*[]byte)
    	return (*bufp)[:b.sz]
    }
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Apr 07 05:42:10 GMT 2023
    - 5.6K bytes
    - Viewed (0)
  10. cmd/perf-tests.go

    	clusterInfos, err := globalSiteReplicationSys.GetClusterInfo(ctx)
    	if err != nil {
    		return madmin.SiteNetPerfNodeResult{Error: err.Error()}
    	}
    
    	// Scale the number of connections from 32 -> 4 from small to large clusters.
    	connectionsPerPeer := 3 + (29+len(clusterInfos.Sites)-1)/len(clusterInfos.Sites)
    
    	errStr := ""
    	var wg sync.WaitGroup
    
    	for _, info := range clusterInfos.Sites {
    		// skip self
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Jan 28 18:04:17 GMT 2024
    - 11.3K bytes
    - Viewed (0)
Back to top