Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 82 for u_size (0.15 sec)

  1. 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 May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 43K bytes
    - Viewed (0)
  2. 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 May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 09 10:41:25 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  3. 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 May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 02 10:51:33 GMT 2023
    - 19.8K bytes
    - Viewed (0)
  4. 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 May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 41.4K bytes
    - Viewed (1)
  5. .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 May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 31 21:38:10 GMT 2023
    - 3K bytes
    - Viewed (0)
  6. cmd/utils_test.go

    		if isMax != s.isMax {
    			t.Errorf("Test %d: Expected %t, got %t", i+1, s.isMax, isMax)
    		}
    	}
    }
    
    // Tests minimum allowed part size.
    func TestMinAllowedPartSize(t *testing.T) {
    	sizes := []struct {
    		isMin bool
    		size  int64
    	}{
    		// Test - 1 - within minimum part size.
    		{
    			true,
    			globalMinPartSize + 1,
    		},
    		// Test - 2 - smaller than minimum part size.
    		{
    			false,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Feb 23 21:28:14 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  7. 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 May 05 19:28:20 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 6K bytes
    - Viewed (0)
  8. cmd/batch-handlers.go

    		if err != nil {
    			return err
    		}
    		pReader := NewPutObjReader(hr)
    		opts.PreserveETag = ""
    		pInfo, err = api.PutObjectPart(ctx, tgtBucket, tgtObject, res.UploadID, i+1, pReader, opts)
    		if err != nil {
    			return err
    		}
    		if pInfo.Size != objInfo.Size {
    			return fmt.Errorf("Part size mismatch: got %d, want %d", pInfo.Size, objInfo.Size)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 55.2K bytes
    - Viewed (0)
  9. .github/workflows/multipart/nginx-site1.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 May 05 19:28:20 GMT 2024
    - Last Modified: Sat Sep 30 10:13:56 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  10. docs/minio-limits.md

    | Maximum object size                                                             | 50 TiB                                                                          |
    | Minimum object size                                                             | 0 B                                                                             |
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 5.9K bytes
    - Viewed (0)
Back to top