Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for Breiding (0.21 sec)

  1. cmd/object-api-interface.go

    	// Object operations.
    
    	// GetObjectNInfo returns a GetObjectReader that satisfies the
    	// ReadCloser interface. The Close method runs any cleanup
    	// functions, so it must always be called after reading till EOF
    	//
    	// IMPORTANTLY, when implementations return err != nil, this
    	// function MUST NOT return a non-nil ReadCloser.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Apr 20 09:05:54 GMT 2024
    - 16.9K bytes
    - Viewed (0)
  2. cmd/s3-zip-handlers.go

    		ContentType: mime.TypeByExtension(filepath.Ext(object)),
    	}
    
    	var rc io.ReadCloser
    
    	if file.UncompressedSize64 > 0 {
    		// There may be number of header bytes before the content.
    		// Reading 64K extra. This should more than cover name and any "extra" details.
    		end := file.Offset + int64(file.CompressedSize64) + 64<<10
    		if end > zipObjInfo.Size {
    			end = zipObjInfo.Size
    		}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 09 10:41:25 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  3. cmd/erasure-multipart.go

    func (er erasureObjects) newMultipartUpload(ctx context.Context, bucket string, object string, opts ObjectOptions) (*NewMultipartUploadResult, error) {
    	if opts.CheckPrecondFn != nil {
    		// Lock the object before reading.
    		lk := er.NewNSLock(bucket, object)
    		lkctx, err := lk.GetRLock(ctx, globalOperationTimeout)
    		if err != nil {
    			return nil, err
    		}
    		rctx := lkctx.Context()
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 43K bytes
    - Viewed (0)
  4. cmd/metacache-set.go

    			case ObjectNotFound, InsufficientReadQuorum:
    				retryWait()
    				continue
    			}
    			// Allow one fast retry for other errors.
    			if retries > 0 {
    				return entries, fmt.Errorf("reading first part metadata: %v", err)
    			}
    			retryWait()
    			continue
    		}
    
    		partN, err := o.findFirstPart(fi)
    		switch {
    		case err == nil:
    		case errors.Is(err, io.ErrUnexpectedEOF):
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 19:52:52 GMT 2024
    - 30.4K bytes
    - Viewed (0)
  5. internal/logger/target/http/http.go

    	status         int32
    
    	// Worker control
    	workers    int64
    	maxWorkers int64
    	// workerStartMu sync.Mutex
    	lastStarted time.Time
    
    	wg sync.WaitGroup
    
    	// Channel of log entries.
    	// Reading logCh must hold read lock on logChMu (to avoid read race)
    	// Sending a value on logCh must hold read lock on logChMu (to avoid closing)
    	logCh   chan interface{}
    	logChMu sync.RWMutex
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Mar 25 16:44:20 GMT 2024
    - 14.9K bytes
    - Viewed (0)
  6. internal/auth/credentials.go

    	Name         string                 `xml:"-" json:"name,omitempty"`
    	Description  string                 `xml:"-" json:"description,omitempty"`
    
    	// Deprecated: In favor of Description - when reading credentials from
    	// storage the value of this field is placed in the Description field above
    	// if the existing Description from storage is empty.
    	Comment string `xml:"-" json:"comment,omitempty"`
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Mar 01 21:09:42 GMT 2024
    - 11.4K bytes
    - Viewed (0)
  7. cmd/utils.go

    	if err != nil {
    		return "", fmt.Errorf("request err: %v", err)
    	}
    	// {
    	// 	bodyBuf, err := io.ReadAll(resp.Body)
    	// 	if err != nil {
    	// 		return "", fmt.Errorf("Error reading body: %v", err)
    	// 	}
    	// 	fmt.Printf("bodyBuf (for LDAP login page): %s\n", string(bodyBuf))
    	// }
    
    	// Fill the login form with our test creds:
    	// fmt.Printf("login form url: %s\n", lastReq.URL.String())
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 31.3K bytes
    - Viewed (0)
  8. cmd/metacache-stream.go

    	}
    }
    
    var s2DecPool = sync.Pool{New: func() interface{} {
    	// Default alloc block for network transfer.
    	return s2.NewReader(nil, s2.ReaderAllocBlock(16<<10))
    }}
    
    // metacacheReader allows reading a cache stream.
    type metacacheReader struct {
    	mr      *msgp.Reader
    	current metaCacheEntry
    	err     error // stateful error
    	closer  func()
    	creator func() error
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 19.5K bytes
    - Viewed (0)
  9. internal/s3select/csv/reader_contrib_test.go

    	if err != nil {
    		b.Fatalf("Reading init failed with %s", err)
    	}
    	defer r.Close()
    	b.ReportAllocs()
    	b.ResetTimer()
    	b.SetBytes(int64(len(f)))
    	var record sql.Record
    	for i := 0; i < b.N; i++ {
    		r, err = NewReader(io.NopCloser(bytes.NewBuffer(f)), &args)
    		if err != nil {
    			b.Fatalf("Reading init failed with %s", err)
    		}
    		for err == nil {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Sep 19 18:05:16 GMT 2022
    - 38.5K bytes
    - Viewed (0)
  10. internal/hash/reader.go

    				ExpectedMD5:   v.Expected.String(),
    				CalculatedMD5: v.Computed.String(),
    			}
    		}
    	}
    	return n, err
    }
    
    // Size returns the absolute number of bytes the Reader
    // will return during reading. It returns -1 for unlimited
    // data.
    func (r *Reader) Size() int64 { return r.size }
    
    // ActualSize returns the pre-modified size of the object.
    // DecompressedSize - For compressed objects.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Sep 18 17:00:54 GMT 2023
    - 10.8K bytes
    - Viewed (0)
Back to top