Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 434 for size (0.14 sec)

  1. cmd/last-minute_gen.go

    		switch msgp.UnsafeString(field) {
    		case "Total":
    			z.Total, err = dc.ReadInt64()
    			if err != nil {
    				err = msgp.WrapError(err, "Total")
    				return
    			}
    		case "Size":
    			z.Size, err = dc.ReadInt64()
    			if err != nil {
    				err = msgp.WrapError(err, "Size")
    				return
    			}
    		case "N":
    			z.N, err = dc.ReadInt64()
    			if err != nil {
    				err = msgp.WrapError(err, "N")
    				return
    			}
    		default:
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Jul 05 21:45:49 GMT 2022
    - 17.2K bytes
    - Viewed (0)
  2. cmd/erasure-multipart.go

    	}
    
    	// Fetch buffer for I/O, returns from the pool if not allocates a new one and returns.
    	var buffer []byte
    	switch size := data.Size(); {
    	case size == 0:
    		buffer = make([]byte, 1) // Allocate at least a byte to reach EOF
    	case size == -1:
    		if size := data.ActualSize(); size > 0 && size < fi.Erasure.BlockSize {
    			// Account for padding and forced compression overhead and encryption.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 43K bytes
    - Viewed (0)
  3. cmd/data-usage-cache.go

    		}
    		root.merge(e)
    	}
    	root.Children = nil
    	return root
    }
    
    // add a size to the histogram.
    func (h *sizeHistogram) add(size int64) {
    	// Fetch the histogram interval corresponding
    	// to the passed object size.
    	for i, interval := range ObjectsHistogramIntervals[:] {
    		if size >= interval.start && size <= interval.end {
    			h[i]++
    			break
    		}
    	}
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 41.4K bytes
    - Viewed (1)
  4. cmd/xl-storage-format-v1.go

    type ObjectPartInfo struct {
    	ETag       string            `json:"etag,omitempty"`
    	Number     int               `json:"number"`
    	Size       int64             `json:"size"`       // Size of the part on the disk.
    	ActualSize int64             `json:"actualSize"` // Original size of the part without compression or encryption bytes.
    	ModTime    time.Time         `json:"modTime"`    // Date and time at which the part was uploaded.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  5. cmd/s3-zip-handlers.go

    		if err != nil {
    			return nil, ObjectInfo{}, err
    		}
    		if size > len(b) {
    			size = len(b)
    		}
    
    		// Calculate the object real size if encrypted
    		if _, ok := crypto.IsEncrypted(gr.ObjInfo.UserDefined); ok {
    			objSize, err = gr.ObjInfo.DecryptedSize()
    			if err != nil {
    				return nil, ObjectInfo{}, err
    			}
    		} else {
    			objSize = gr.ObjInfo.Size
    		}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 09 10:41:25 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  6. cmd/batch-expire_gen.go

    				err = z.Metadata[za0002].DecodeMsg(dc)
    				if err != nil {
    					err = msgp.WrapError(err, "Metadata", za0002)
    					return
    				}
    			}
    		case "Size":
    			err = z.Size.DecodeMsg(dc)
    			if err != nil {
    				err = msgp.WrapError(err, "Size")
    				return
    			}
    		case "Type":
    			z.Type, err = dc.ReadString()
    			if err != nil {
    				err = msgp.WrapError(err, "Type")
    				return
    			}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Dec 02 10:51:33 GMT 2023
    - 19.8K bytes
    - Viewed (0)
  7. .github/workflows/mint/nginx.conf

            server_name  localhost;
    
            # To allow special characters in headers
            ignore_invalid_headers off;
            # Allow any size file to be uploaded.
            # Set to a value such as 1000m; to restrict file size to a specific value
            client_max_body_size 0;
            # To disable buffering
            proxy_buffering off;
            proxy_request_buffering off;
    
            location / {
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Mar 31 21:38:10 GMT 2023
    - 3K bytes
    - Viewed (0)
  8. cmd/utils_test.go

    	"strings"
    	"testing"
    )
    
    // Tests maximum object size.
    func TestMaxObjectSize(t *testing.T) {
    	sizes := []struct {
    		isMax bool
    		size  int64
    	}{
    		// Test - 1 - maximum object size.
    		{
    			true,
    			globalMaxObjectSize + 1,
    		},
    		// Test - 2 - not maximum object size.
    		{
    			false,
    			globalMaxObjectSize - 1,
    		},
    	}
    	for i, s := range sizes {
    		isMax := isMaxObjectSize(s.size)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Feb 23 21:28:14 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  9. docs/bigdata/README.md

    fs.s3a.fast.upload.buffer=disk # Use disk as the buffer for uploads
    fs.s3a.fast.upload=true # Turn on fast upload mode
    fs.s3a.max.total.tasks=2048 # Maximum number of parallel tasks
    fs.s3a.multipart.size=512M # Size of each multipart chunk
    fs.s3a.multipart.threshold=512M # Size before using multipart uploads
    fs.s3a.socket.recv.buffer=65536 # Read socket buffer hint
    fs.s3a.socket.send.buffer=65536 # Write socket buffer hint
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Sep 29 04:28:45 GMT 2022
    - 14.7K bytes
    - Viewed (0)
  10. internal/kms/context.go

    				dst.WriteByte(hexTable[b&0xF])
    			}
    			i++
    			start = i
    			continue
    		}
    		c, size := utf8.DecodeRuneInString(s[i:])
    		if c == utf8.RuneError && size == 1 {
    			if start < i {
    				dst.WriteString(s[start:i])
    			}
    			dst.WriteString(`\ufffd`)
    			i += size
    			start = i
    			continue
    		}
    		// U+2028 is LINE SEPARATOR.
    		// U+2029 is PARAGRAPH SEPARATOR.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 6K bytes
    - Viewed (0)
Back to top