- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for ExampleFormat (0.22 sec)
-
staging/src/k8s.io/apimachinery/pkg/api/resource/quantity_example_test.go
See the License for the specific language governing permissions and limitations under the License. */ package resource_test import ( "fmt" "k8s.io/apimachinery/pkg/api/resource" ) func ExampleFormat() { memorySize := resource.NewQuantity(5*1024*1024*1024, resource.BinarySI) fmt.Printf("memorySize = %v\n", memorySize) diskSize := resource.NewQuantity(5*1000*1000*1000, resource.DecimalSI)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Jan 29 20:41:44 UTC 2017 - 1.7K bytes - Viewed (0)