Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 48 for small (0.54 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. docs/extensions/s3zip/README.md

    ## Overview
    
    MinIO implements an S3 extension to list, stat and download files inside a ZIP file stored in any bucket. A perfect use case scenario is when you have a lot of small files archived in multiple ZIP files. Uploading them is faster than uploading small files individually. Besides, your S3 applications will be able to access to the data with little performance overhead.
    
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 10 16:28:27 GMT 2024
    - 3K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. cmd/metacache-walk.go

    		return err
    	}
    
    	if !skipAccessChecks(opts.Bucket) {
    		// Stat a volume entry.
    		if err = Access(volumeDir); err != nil {
    			return convertAccessError(err, errVolumeAccessDenied)
    		}
    	}
    
    	// Use a small block size to start sending quickly
    	w := newMetacacheWriter(wr, 16<<10)
    	w.reuseBlocks = true // We are not sharing results, so reuse buffers.
    	defer w.Close()
    	out, err := w.stream()
    	if err != nil {
    		return err
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  8. internal/kms/kes.go

    	c.lock.RLock()
    	defer c.lock.RUnlock()
    
    	return c.client.ImportKey(ctx, keyID, &kes.ImportKeyRequest{
    		Key: bytes,
    	})
    }
    
    // EncryptKey Encrypts and authenticates a (small) plaintext with the cryptographic key
    // The plaintext must not exceed 1 MB
    func (c *kesClient) EncryptKey(keyID string, plaintext []byte, ctx Context) ([]byte, error) {
    	c.lock.RLock()
    	defer c.lock.RUnlock()
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Apr 16 15:43:39 GMT 2024
    - 14.9K 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/streaming-signature-v4_test.go

    		// Test - 3
    		bytes.NewReader([]byte(fmt.Sprintf("%4097d", 1))),
    		// Test - 4
    		bytes.NewReader([]byte("1000;chunk-signature=111123333333333333334444211\r\n")),
    	}
    	testCases := []testCase{
    		// Test - 1 - small bufio reader.
    		{
    			bufio.NewReaderSize(readers[0], 16),
    			errLineTooLong,
    			nil,
    			nil,
    		},
    		// Test - 2 - unexpected end of the reader.
    		{
    			bufio.NewReader(readers[1]),
    			io.ErrUnexpectedEOF,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 23 18:58:53 GMT 2021
    - 5.7K bytes
    - Viewed (0)
Back to top