Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 59 for out (0.18 sec)

  1. docs/debugging/xl-meta/main.go

    	}
    	if missing > 0 {
    		out += ".truncated"
    	} else {
    		out += ".complete"
    	}
    	fmt.Println(missing, "bytes missing. Truncating", len(filled)-lastValid-1, "from end.")
    	mapped = mapped[:lastValid+1]
    	err := os.WriteFile(out, mapped, os.ModePerm)
    	if err != nil {
    		return err
    	}
    	fmt.Println("Wrote output to", out)
    	return nil
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 17:56:22 GMT 2024
    - 20.2K bytes
    - Viewed (1)
  2. cmd/bucket-targets.go

    				sys.hMutex.Unlock()
    			}
    			hcTimer.Reset(defaultHealthCheckDuration)
    		case <-ctx.Done():
    			return
    		}
    	}
    }
    
    // periodically rebuild the healthCheck map from list of targets to clear
    // out stale endpoints
    func (sys *BucketTargetSys) reloadHealthCheckers(ctx context.Context) {
    	m := make(map[string]epHealth)
    	tgts := sys.ListTargets(ctx, "", "")
    	sys.hMutex.Lock()
    	for _, t := range tgts {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 20.9K bytes
    - Viewed (0)
  3. cmd/erasure-server-pool-rebalance.go

    	"github.com/minio/pkg/v2/workers"
    )
    
    //go:generate msgp -file $GOFILE -unexported
    
    // rebalanceStats contains per-pool rebalance statistics like number of objects,
    // versions and bytes rebalanced out of a pool
    type rebalanceStats struct {
    	InitFreeSpace uint64 `json:"initFreeSpace" msg:"ifs"` // Pool free space at the start of rebalance
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 19:29:28 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  4. cmd/object-api-errors.go

    func (e SignatureDoesNotMatch) Error() string {
    	return "The request signature we calculated does not match the signature you provided. Check your key and signing method."
    }
    
    // StorageFull storage ran out of space.
    type StorageFull struct{}
    
    func (e StorageFull) Error() string {
    	return "Storage reached its minimum free drive threshold."
    }
    
    // SlowDown  too many file descriptors open or backend busy .
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  5. update-credits.sh

          liable to You for damages, including any direct, indirect, special,
          incidental, or consequential damages of any character arising as a
          result of this License or out of the use or inability to use the
          Work (including but not limited to damages for loss of goodwill,
          work stoppage, computer failure or malfunction, or any and all
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Aug 11 05:08:38 GMT 2023
    - 11.4K bytes
    - Viewed (0)
  6. internal/grid/handlers.go

    	// It must keep consuming from 'in' until it returns.
    	// 'in' and 'out' are independent.
    	// The handler should never close out.
    	// Buffers received from 'in'  can be recycled with PutByteBuffer.
    	// Buffers sent on out can not be referenced once sent.
    	StreamHandlerFn func(ctx context.Context, payload []byte, in <-chan []byte, out chan<- []byte) *RemoteErr
    
    	// StreamHandler handles fully bidirectional streams,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 27.1K bytes
    - Viewed (0)
  7. internal/grid/muxclient.go

    // req may not be read/written to after calling.
    // TODO: Not implemented
    func (m *muxClient) RequestStateless(h HandlerID, req []byte, out chan<- Response) {
    	if m.init {
    		out <- Response{Err: errors.New("mux client already used")}
    	}
    	m.init = true
    
    	// Try to grab an initial block.
    	m.singleResp = false
    	msg := message{
    		Op:         OpConnectMux,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14.2K bytes
    - Viewed (0)
  8. internal/grid/benchmark_test.go

    			// Send 10x response.
    			Handle: func(ctx context.Context, payload []byte, _ <-chan []byte, out chan<- []byte) *RemoteErr {
    				for i := 0; i < responses; i++ {
    					toSend := GetByteBuffer()[:0]
    					toSend = append(toSend, byte(i))
    					toSend = append(toSend, payload...)
    					select {
    					case <-ctx.Done():
    						return nil
    					case out <- toSend:
    					}
    				}
    				return nil
    			},
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Nov 21 01:09:35 GMT 2023
    - 12.2K bytes
    - Viewed (0)
  9. cmd/metacache-entries.go

    // If the context is canceled the function will return the error,
    // otherwise the function will return nil.
    func mergeEntryChannels(ctx context.Context, in []chan metaCacheEntry, out chan<- metaCacheEntry, readQuorum int) error {
    	defer xioutil.SafeClose(out)
    	top := make([]*metaCacheEntry, len(in))
    	nDone := 0
    	ctxDone := ctx.Done()
    
    	// Use simpler forwarder.
    	if len(in) == 1 {
    		for {
    			select {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:43:43 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  10. cmd/erasure-server-pool-decom.go

    			pd.QueuedBuckets = append(pd.QueuedBuckets[:i], pd.QueuedBuckets[i+1:]...)
    			// Clear tracker info.
    			if pd.Bucket == bucket {
    				pd.Bucket = "" // empty this out for next bucket
    				pd.Prefix = "" // empty this out for the next bucket
    				pd.Object = "" // empty this out for next object
    			}
    			return true
    		}
    	}
    	return false
    }
    
    func (pd *PoolDecommissionInfo) isBucketDecommissioned(bucket string) bool {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 15:18:21 GMT 2024
    - 41.5K bytes
    - Viewed (1)
Back to top