Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for MaxMilliValue (0.15 sec)

  1. staging/src/k8s.io/apimachinery/pkg/api/resource/math.go

    	// The maximum value we can represent milli-units for.
    	// Compare with the return value of Quantity.Value() to
    	// see if it's safe to use Quantity.MilliValue().
    	MaxMilliValue = int64(((1 << 63) - 1) / 1000)
    )
    
    const mostNegative = -(mostPositive + 1)
    const mostPositive = 1<<63 - 1
    
    // int64Add returns a+b, or false if that would overflow int64.
    func int64Add(a, b int64) (int64, bool) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 23 13:07:14 UTC 2020
    - 7.3K bytes
    - Viewed (0)
Back to top