Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for segment (0.25 sec)

  1. cmd/warm-backend-azure.go

    		Prefix:     az.Prefix,
    		MaxResults: int32(1),
    	})
    	if err != nil {
    		return false, azureToObjectError(err, az.Bucket, az.Prefix)
    	}
    	if len(resp.Segment.BlobPrefixes) > 0 || len(resp.Segment.BlobItems) > 0 {
    		return true, nil
    	}
    	return false, nil
    }
    
    func newCredentialFromSP(conf madmin.TierAzure) (azblob.Credential, error) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Mar 05 16:44:08 GMT 2024
    - 7.8K bytes
    - Viewed (1)
  2. internal/s3select/select.go

    	return &limitedReadCloser{
    		LimitedReader: io.LimitedReader{R: r, N: n},
    		Closer:        r,
    	}
    }
    
    // ObjectSegmentReaderFn is a function that returns a reader for a contiguous
    // suffix segment of an object starting at the given (non-negative) offset.
    type ObjectSegmentReaderFn func(offset int64) (io.ReadCloser, error)
    
    // ObjectReadSeekCloser implements ReadSeekCloser interface for reading objects.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Nov 06 22:26:08 GMT 2023
    - 21K bytes
    - Viewed (1)
  3. docs/minio-limits.md

    | Maximum length for object names                                                 | 1024                                                                            |
    | Maximum length for '/' separated object name segment                            | 255                                                                             |
    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)
  4. cmd/xl-storage.go

    	}
    
    	// On Unix we reject paths if they are just '.', '..' or '/'
    	if pathName == "." || pathName == ".." || pathName == slashSeparator {
    		return errFileAccessDenied
    	}
    
    	// Check each path segment length is > 255 on all Unix
    	// platforms, look for this value as NAME_MAX in
    	// /usr/include/linux/limits.h
    	var count int64
    	for _, p := range pathName {
    		switch p {
    		case '/':
    			count = 0 // Reset
    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)
  5. cmd/xl-storage_test.go

    		{"path/to/my/testobject", nil},
    		// TestXLStorage to use object is a directory now.
    		{"object-as-dir", errIsNotRegular},
    		// path segment uses previously uploaded object.
    		{"myobject/testobject", errFileAccessDenied},
    		// One path segment length is > 255 chars long.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 17:45:28 GMT 2024
    - 66.7K bytes
    - Viewed (0)
  6. cmd/sftp-server-driver.go

    	_ = w.w.CloseWithError(err)
    	_ = w.r.CloseWithError(err)
    	w.err = err
    }
    
    func (w *writerAt) Close() (err error) {
    	switch {
    	case len(w.buffer) > 0:
    		err = errors.New("some file segments were not flushed from the queue")
    		_ = w.w.CloseWithError(err)
    	case w.err != nil:
    		// No need to close here since both pipes were
    		// closing inside TransferError()
    		err = w.err
    	default:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 12:23:42 GMT 2024
    - 12.9K bytes
    - Viewed (0)
  7. cmd/xl-storage-format-v2.go

    		//nolint:staticcheck // SA6002 we are fine with the tiny alloc
    		metaDataPool.Put(buf)
    	}
    }
    
    // readXLMetaNoData will load the metadata, but skip data segments.
    // This should only be used when data is never interesting.
    // If data is not xlv2, it is returned in full.
    func readXLMetaNoData(r io.Reader, size int64) ([]byte, error) {
    	initial := size
    	hasFull := true
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 05:07:37 GMT 2024
    - 63.6K bytes
    - Viewed (1)
  8. cmd/bitrot-streaming.go

    	err := b.iow.Close()
    	// Wait for all data to be written before returning else it causes race conditions.
    	// Race condition is because of io.PipeWriter implementation. i.e consider the following
    	// sequent of operations:
    	// 1) pipe.Write()
    	// 2) pipe.Close()
    	// Now pipe.Close() can return before the data is read on the other end of the pipe and written to the disk
    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)
  9. cmd/veeam-sos-api.go

    // multiple buckets can be used together. The placement logic for additional backup files is based on available space. Other values
    // will augment the Veeam user interface and statistics, including free space warnings.
    type capacityInfo struct {
    	XMLName   xml.Name `xml:"CapacityInfo" json:"-"`
    	Capacity  int64    `xml:"Capacity"`
    	Available int64    `xml:"Available"`
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 30 18:43:58 GMT 2024
    - 8.2K bytes
    - Viewed (2)
Back to top