Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for react (0.14 sec)

  1. cmd/erasure-object.go

    	// Fetch buffer for I/O, returns from the pool if not allocates a new one and returns.
    	var buffer []byte
    	switch size := data.Size(); {
    	case size == 0:
    		buffer = make([]byte, 1) // Allocate at least a byte to reach EOF
    	case size >= fi.Erasure.BlockSize:
    		buffer = globalBytePoolCap.Load().Get()
    		defer globalBytePoolCap.Load().Put(buffer)
    	case size < fi.Erasure.BlockSize:
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Apr 19 16:44:59 GMT 2024
    - 76.3K bytes
    - Viewed (2)
  2. cmd/erasure-server-pool.go

    	serverPools.FilterMaxUsed(100 - (100 * diskReserveFraction))
    	total := serverPools.TotalAvailable()
    	if total == 0 {
    		return -1
    	}
    	// choose when we reach this many
    	choose := rand.Uint64() % total
    	atTotal := uint64(0)
    	for _, pool := range serverPools {
    		atTotal += pool.Available
    		if atTotal > choose && pool.Available > 0 {
    			return pool.Index
    		}
    	}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Apr 19 16:44:59 GMT 2024
    - 77.8K bytes
    - Viewed (0)
  3. cmd/admin-handlers.go

    		newConcurrent := concurrent + (concurrent+1)/2
    		autoTunedCapacityNeeded := uint64(newConcurrent * size)
    		if capacity < autoTunedCapacityNeeded {
    			// Turn-off auto-tuning if next possible concurrency would reach beyond disk capacity.
    			return true, false, ""
    		}
    	}
    
    	return true, autotune, ""
    }
    
    // DriveSpeedtestHandler - reports throughput of drives available in the cluster
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 97.3K bytes
    - Viewed (2)
  4. istioctl/pkg/describe/describe.go

    	if matches < possibleDests {
    		// We've printed the match conditions.  We can't say for sure that matching
    		// traffic will reach this pod, because an earlier match condition could have captured it.
    		fmt.Fprintf(writer, "%s%d additional destination(s) that will not reach this pod\n",
    			printSpaces(initPrintNum+printLevel1), possibleDests-matches)
    		// If we matched, but printed nothing, treat this as the catch-all
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 50.4K bytes
    - Viewed (0)
Back to top