Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 110 for stream (0.15 sec)

  1. cmd/storage-rest-server.go

    // Note that upstream errors are currently not forwarded, but may be in the future.
    func (h *httpStreamResponse) Write(b []byte) (int, error) {
    	if len(b) == 0 || h.err != nil {
    		// Ignore 0 length blocks
    		return 0, h.err
    	}
    	tmp := make([]byte, len(b))
    	copy(tmp, b)
    	h.block <- tmp
    	return len(b), h.err
    }
    
    // CloseWithError will close the stream and return the specified error.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 44.8K bytes
    - Viewed (0)
  2. cmd/handler-utils.go

    			return nil, err
    		}
    	}
    
    	// Set content-type to default value if it is not set.
    	if _, ok := metadata[strings.ToLower(xhttp.ContentType)]; !ok {
    		metadata[strings.ToLower(xhttp.ContentType)] = "binary/octet-stream"
    	}
    
    	// https://github.com/google/security-research/security/advisories/GHSA-76wf-9vgp-pj7w
    	for k := range metadata {
    		if equals(k, xhttp.AmzMetaUnencryptedContentLength, xhttp.AmzMetaUnencryptedContentMD5) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 15.5K bytes
    - Viewed (3)
  3. docs/debugging/inspect/decrypt-v2.go

    				}
    				if err := stream.Skip(); err != nil {
    					return fmt.Errorf("stream skip: %w", err)
    				}
    				continue
    			}
    			if extracted {
    				return keepFileErr{fmt.Errorf("next stream: %w", err)}
    			}
    			return fmt.Errorf("next stream: %w", err)
    		}
    		if stream.Name == "inspect.zip" {
    			if extracted {
    				return keepFileErr{errors.New("multiple inspect.zip streams found")}
    			}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 21:22:47 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  4. cmd/bucket-lifecycle.go

    // storage specified by the transition ARN, the metadata is left behind on source cluster and original content
    // is moved to the transition tier. Note that in the case of encrypted objects, entire encrypted stream is moved
    // to the transition tier without decrypting or re-encrypting.
    func transitionObject(ctx context.Context, objectAPI ObjectLayer, oi ObjectInfo, lae lcAuditEvent) (err error) {
    	defer func() {
    		if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  5. cmd/xl-storage.go

    		default:
    			return nil, err
    		}
    	}
    
    	return w, nil
    }
    
    type sendFileReader struct {
    	io.Reader
    	io.Closer
    }
    
    // ReadFileStream - Returns the read stream of the file.
    func (s *xlStorage) ReadFileStream(ctx context.Context, volume, path string, offset, length int64) (io.ReadCloser, error) {
    	if offset < 0 {
    		return nil, errInvalidArgument
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  6. cmd/testdata/xl-meta-consist.zip

    '’žÉ§MetaSys ¼X-Minio-Internal-actual-sizeÄ 141250§MetaUsr‚¬content-type¸application/octet-stream¤etagÙ"51fe09d68bacc8c5a68a-1Îøù{~ 2/xl.meta XL2 Æ b ¨Versions‘‚¤Type ¥V2ObjÞ ¢IDÄ ¤DDirÄ ÔLã°ê8EÒŸˆ”Ù Sé6¦EcAlgo £EcM £EcN §EcBSizeÒ §EcIndex ¦EcDistš ¨CSumAlgo ¨PartNums‘ ©PartETags‘ ©PartSizes‘Ò 'ªPartASizes‘Ò '¤SizeÒ 'Â¥MTimeÓ ¿W '’žÉ§MetaSys ¼X-Minio-Internal-actual-sizeÄ 141250§MetaUsr‚¬content-type¸application/octet-stream¤etagÙ"51fe09d68bacc8c5a68a-1Îe 00 3/xl.meta XL2 Æ b ¨Versions‘‚¤Type ¥V2ObjÞ ¢IDÄ...
    ZIP Archive
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Jan 19 18:48:00 GMT 2022
    - 4.1K bytes
    - Viewed (0)
  7. cmd/object-api-utils_test.go

    			metadata: map[string]string{"content-type": "application/octet-stream", "etag": "de75a98baf2c6aef435b57dd0fc33c86", "x-amz-storage-class": "STANDARD"},
    			want:     map[string]string{"content-type": "application/octet-stream", "etag": "de75a98baf2c6aef435b57dd0fc33c86"},
    		},
    		{
    			name:     "2",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 23.4K bytes
    - Viewed (0)
  8. internal/s3select/simdj/reader.go

    	"github.com/minio/minio/internal/s3select/sql"
    	"github.com/minio/simdjson-go"
    )
    
    // Reader - JSON record reader for S3Select.
    type Reader struct {
    	args    *json.ReaderArgs
    	input   chan simdjson.Stream
    	decoded chan simdjson.Object
    
    	// err will only be returned after decoded has been closed.
    	err          *error
    	readCloser   io.ReadCloser
    	onReaderExit func()
    
    	exitReader chan struct{}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue May 30 17:02:22 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  9. internal/s3select/json/preader.go

    					continue
    				}
    				dst, ok := r.kvDstPool.Get().([]jstream.KVS)
    				if !ok {
    					dst = make([]jstream.KVS, 0, 1000)
    				}
    
    				d := jstream.NewDecoder(bytes.NewBuffer(in.input), 0).ObjectAsKVS()
    				stream := d.Stream()
    				all := dst[:0]
    				for mv := range stream {
    					var kvs jstream.KVS
    					if mv.ValueType == jstream.Object {
    						// This is a JSON object type (that preserves key
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 05 04:57:35 GMT 2023
    - 6.4K bytes
    - Viewed (0)
  10. cmd/dummy-data-generator_test.go

    }
    
    // NewDummyDataGen returns a ReadSeeker over the first `totalLength`
    // bytes from the infinite stream consisting of repeated
    // concatenations of `alphabets`.
    //
    // The skipOffset (generally = 0) can be used to skip a given number
    // of bytes from the beginning of the infinite stream. This is useful
    // to compare such streams of bytes that may be split up, because:
    //
    // Given the function:
    //
    //	f := func(r io.Reader) string {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 19 18:05:16 GMT 2022
    - 4.8K bytes
    - Viewed (0)
Back to top