Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for AsCanonicalBase1024Bytes (0.14 sec)

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

    	}
    	return strconv.AppendInt(out, amount, 10), exponent
    }
    
    // AsCanonicalBase1024Bytes accepts a buffer to write the base-1024 string value of this field to, and returns
    // either that buffer or a larger buffer and the current exponent of the value. 2048 is 2 * 1024 ^ 1 and would
    // return []byte("2048"), 1.
    func (a int64Amount) AsCanonicalBase1024Bytes(out []byte) (result []byte, exponent int32) {
    	value, ok := a.AsScaledInt64(0)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 13 19:42:28 UTC 2023
    - 9.3K bytes
    - Viewed (0)
Back to top