Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 110 for Renoth (0.15 sec)

  1. internal/hash/checksum.go

    	for len(b) > 0 {
    		t, n := binary.Uvarint(b)
    		if n < 0 {
    			break
    		}
    		b = b[n:]
    
    		typ := ChecksumType(t)
    		length := typ.RawByteLen()
    		if length == 0 || len(b) < length {
    			break
    		}
    		cs := base64.StdEncoding.EncodeToString(b[:length])
    		b = b[length:]
    		if typ.Is(ChecksumMultipart) {
    			t, n := binary.Uvarint(b)
    			if n < 0 {
    				break
    			}
    			cs = fmt.Sprintf("%s-%d", cs, t)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  2. cmd/object_api_suite_test.go

    	length = int64(len(uploadContent))
    	_, err = obj.PutObject(context.Background(), "bucket", "object", mustGetPutObjReader(t, bytes.NewBufferString(uploadContent), length, "", ""), opts)
    	if err != nil {
    		t.Fatalf("%s: <ERROR> %s", instanceType, err)
    	}
    
    	var bytesBuffer bytes.Buffer
    	err = GetObject(context.Background(), obj, "bucket", "object", 0, length, &bytesBuffer, "", opts)
    	if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 32.3K bytes
    - Viewed (0)
  3. cmd/object-multipart-handlers.go

    		return
    	}
    
    	// Get the object offset & length
    	startOffset, length, err := rs.GetOffsetLength(actualPartSize)
    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	// maximum copy size for multipart objects in a single operation
    	if isMaxObjectSize(length) {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrEntityTooLarge), r.URL)
    		return
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 39K bytes
    - Viewed (0)
  4. cmd/signature-v4-utils.go

    			extractedSignedHeaders[http.CanonicalHeaderKey(header)] = r.TransferEncoding
    		case "content-length":
    			// Signature-V4 spec excludes Content-Length from signed headers list for signature calculation.
    			// But some clients deviate from this rule. Hence we consider Content-Length for signature
    			// calculation to be compatible with such clients.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Jan 31 18:56:45 GMT 2024
    - 9K bytes
    - Viewed (0)
  5. cmd/bucket-policy-handlers.go

    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	// Error out if Content-Length is missing.
    	// PutBucketPolicy always needs Content-Length.
    	if r.ContentLength <= 0 {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrMissingContentLength), r.URL)
    		return
    	}
    
    	// Error out if Content-Length is beyond allowed size.
    	if r.ContentLength > maxBucketPolicySize {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  6. cmd/erasure-object.go

    	if startOffset > fi.Size || startOffset+length > fi.Size {
    		return InvalidRange{startOffset, length, fi.Size}
    	}
    
    	// Get start part index and offset.
    	partIndex, partOffset, err := fi.ObjectToPartOffset(ctx, startOffset)
    	if err != nil {
    		return InvalidRange{startOffset, length, fi.Size}
    	}
    
    	// Calculate endOffset according to length
    	endOffset := startOffset
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  7. cmd/xl-storage-meta-inline.go

    			return keys, fmt.Errorf("xlMetaInlineData: key %d is length 0", i)
    		}
    		keys = append(keys, string(key))
    		// Skip data...
    		_, buf, err = msgp.ReadBytesZC(buf)
    		if err != nil {
    			return keys, err
    		}
    	}
    	return keys, nil
    }
    
    // serialize will serialize the provided keys and values.
    // The function will panic if keys/value slices aren't of equal length.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 9.5K bytes
    - Viewed (0)
  8. docs/sts/web-identity.md

    | :--                  | :--                                            |
    | *Type*               | *String*                                       |
    | *Length Constraints* | *Minimum length of 4. Maximum length of 2048.* |
    | *Required*           | *Yes*                                          |
    
    ### WebIdentityAccessToken (MinIO Extension)
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 19.2K bytes
    - Viewed (1)
  9. cmd/naughty-disk_test.go

    }
    
    func (d *naughtyDisk) ReadFileStream(ctx context.Context, volume, path string, offset, length int64) (io.ReadCloser, error) {
    	if err := d.calcError(); err != nil {
    		return nil, err
    	}
    	return d.disk.ReadFileStream(ctx, volume, path, offset, length)
    }
    
    func (d *naughtyDisk) CreateFile(ctx context.Context, origvolume, volume, path string, size int64, reader io.Reader) error {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  10. cmd/bitrot-whole.go

    type wholeBitrotReader struct {
    	disk       StorageAPI
    	volume     string
    	filePath   string
    	verifier   *BitrotVerifier // Holds the bit-rot info
    	tillOffset int64           // Affects the length of data requested in disk.ReadFile depending on Read()'s offset
    	buf        []byte          // Holds bit-rot verified data
    }
    
    func (b *wholeBitrotReader) ReadAt(buf []byte, offset int64) (n int, err error) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Jan 31 02:11:45 GMT 2024
    - 2.7K bytes
    - Viewed (0)
Back to top