Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for seorang (0.18 sec)

  1. cmd/iam-store.go

    	now := UTCNow().Round(time.Millisecond)
    	d.UpdateDate = now
    	if d.CreateDate.IsZero() {
    		d.CreateDate = now
    	}
    	d.Policy = p
    }
    
    // parseJSON parses both the old and the new format for storing policy
    // definitions.
    //
    // The on-disk format of policy definitions has changed (around early 12/2021)
    // from policy.Policy to PolicyDoc. To avoid a migration, loading supports
    // both the old and the new formats.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  2. internal/s3select/select.go

    	size   int64 // actual object size regardless of compression/encryption
    	offset int64
    	reader io.ReadCloser
    
    	// reader can be closed idempotently multiple times
    	closerOnce sync.Once
    	// Error storing reader.Close()
    	closerErr error
    }
    
    // NewObjectReadSeekCloser creates a new ObjectReadSeekCloser.
    func NewObjectReadSeekCloser(segmentReader ObjectSegmentReaderFn, actualSize int64) *ObjectReadSeekCloser {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Nov 06 22:26:08 GMT 2023
    - 21K bytes
    - Viewed (0)
  3. cmd/object-multipart-handlers.go

    	for k, v := range encMetadata {
    		metadata[k] = v
    	}
    
    	// Ensure that metadata does not contain sensitive information
    	crypto.RemoveSensitiveEntries(metadata)
    
    	if isCompressible(r.Header, object) {
    		// Storing the compression metadata.
    		metadata[ReservedMetadataPrefix+"compression"] = compressionAlgorithmV2
    	}
    
    	opts, err := putOptsFromReq(ctx, r, bucket, object, metadata)
    	if err != nil {
    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/object-handlers.go

    	reader = rd
    	if buf != nil {
    		reader = io.TeeReader(rd, buf)
    	}
    
    	actualSize := size
    	var idxCb func() []byte
    	if isCompressible(r.Header, object) && size > minCompressibleSize {
    		// Storing the compression metadata.
    		metadata[ReservedMetadataPrefix+"compression"] = compressionAlgorithmV2
    		metadata[ReservedMetadataPrefix+"actual-size"] = strconv.FormatInt(size, 10)
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 20:15:54 GMT 2024
    - 125.2K bytes
    - Viewed (0)
  5. cmd/erasure-server-pool.go

    	storageLogIf(ctx, fmt.Errorf("reached end of serverPools (total: %v, atTotal: %v, choose: %v)", total, atTotal, choose))
    	return -1
    }
    
    // getServerPoolsAvailableSpace will return the available space of each pool after storing the content.
    // If there is not enough space the pool will return 0 bytes available.
    // The size of each will be multiplied by the number of sets.
    // Negative sizes are seen as 0 bytes.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  6. cmd/bitrot-streaming.go

    		totalFileSize := int64(-1) // For compressed objects length will be unknown (represented by length=-1)
    		if length != -1 {
    			bitrotSumsTotalSize := ceilFrac(length, shardSize) * int64(h.Size()) // Size used for storing bitrot checksums.
    			totalFileSize = bitrotSumsTotalSize + length
    		}
    		r.CloseWithError(disk.CreateFile(context.TODO(), origvolume, volume, filePath, totalFileSize, r))
    	}()
    	return bw
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Jan 31 02:11:45 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  7. internal/etag/etag.go

    // An S3 implementation has to remember the content MD5 of objects
    // in case of SSE-S3. However, storing the ETag of an encrypted
    // object in plaintext may reveal some information about the object.
    // For example, two objects with the same ETag are identical with
    // a very high probability.
    //
    // Therefore, an S3 implementation may encrypt an ETag before storing
    // it. In this case, the stored ETag may not be a well-formed S3 ETag.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 10 21:09:36 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  8. src/archive/tar/common.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Package tar implements access to tar archives.
    //
    // Tape archives (tar) are a file format for storing a sequence of files that
    // can be read and written in a streaming manner.
    // This package aims to cover most variations of the format,
    // including those produced by GNU and BSD tar tools.
    package tar
    
    import (
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24.7K bytes
    - Viewed (2)
  9. cmd/object-handlers_test.go

    }
    
    func testAPINewMultipartHandlerParallel(obj ObjectLayer, instanceType, bucketName string, apiRouter http.Handler,
    	credentials auth.Credentials, t *testing.T,
    ) {
    	// used for storing the uploadID's parsed on concurrent HTTP requests for NewMultipart upload on the same object.
    	testUploads := struct {
    		sync.Mutex
    		uploads []string
    	}{}
    
    	objectName := "test-object-new-multipart-parallel"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
  10. cmd/warm-backend-s3.go

    	gopts := minio.GetObjectOptions{}
    
    	if rv != "" {
    		gopts.VersionID = string(rv)
    	}
    	if opts.startOffset >= 0 && opts.length > 0 {
    		if err := gopts.SetRange(opts.startOffset, opts.startOffset+opts.length-1); err != nil {
    			return nil, s3.ToObjectError(err, object)
    		}
    	}
    	c := &minio.Core{Client: s3.client}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 5.5K bytes
    - Viewed (0)
Back to top