- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 301 for decimal32 (0.2 sec)
-
common-protos/k8s.io/apimachinery/pkg/api/resource/generated.proto
// // (Note that <suffix> may be empty, from the "" case in <decimalSI>.) // // <digit> ::= 0 | 1 | ... | 9 // <digits> ::= <digit> | <digit><digits> // <number> ::= <digits> | <digits>.<digits> | <digits>. | .<digits> // <sign> ::= "+" | "-" // <signedNumber> ::= <number> | <sign><number> // <suffix> ::= <binarySI> | <decimalExponent> | <decimalSI> // <binarySI> ::= Ki | Mi | Gi | Ti | Pi | Ei //
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Mar 11 18:43:24 UTC 2024 - 3.9K bytes - Viewed (0) -
src/cmd/gofmt/testdata/go2numbers.input
package p const ( // 0-octals _ = 0 _ = 0123 _ = 0123456 _ = 0_123 _ = 0123_456 // decimals _ = 1 _ = 1234 _ = 1234567 _ = 1_234 _ = 1_234_567 // hexadecimals _ = 0x0 _ = 0x1234 _ = 0xcafef00d _ = 0X0 _ = 0X1234 _ = 0XCAFEf00d _ = 0X_0 _ = 0X_1234 _ = 0X_CAFE_f00d // octals _ = 0o0 _ = 0o1234 _ = 0o01234567 _ = 0O0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 21 17:24:29 UTC 2019 - 2K bytes - Viewed (0) -
src/go/printer/testdata/go2numbers.golden
package p const ( // 0-octals _ = 0 _ = 0123 _ = 0123456 _ = 0_123 _ = 0123_456 // decimals _ = 1 _ = 1234 _ = 1234567 _ = 1_234 _ = 1_234_567 // hexadecimals _ = 0x0 _ = 0x1234 _ = 0xcafef00d _ = 0X0 _ = 0X1234 _ = 0XCAFEf00d _ = 0X_0 _ = 0X_1234 _ = 0X_CAFE_f00d // octals _ = 0o0 _ = 0o1234 _ = 0o01234567 _ = 0O0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 01 21:54:06 UTC 2020 - 2K bytes - Viewed (0) -
src/internal/types/testdata/check/literals.go
// and compares them with literals or constant expressions // of equal values. package literals func _() { // 0-octals assert(0_123 == 0123) assert(0123_456 == 0123456) // decimals assert(1_234 == 1234) assert(1_234_567 == 1234567) // hexadecimals assert(0X_0 == 0) assert(0X_1234 == 0x1234) assert(0X_CAFE_f00d == 0xcafef00d) // octals assert(0o0 == 0)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 02 02:58:32 UTC 2022 - 2.4K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/api/resource/quantity_proto_test.go
expect Quantity }{ {"0", Quantity{i: int64Amount{value: 0, scale: 0}, s: "0", Format: DecimalSI}}, {"100m", Quantity{i: int64Amount{value: 100, scale: -3}, s: "100m", Format: DecimalSI}}, {"50m", Quantity{i: int64Amount{value: 50, scale: -3}, s: "50m", Format: DecimalSI}}, {"10000T", Quantity{i: int64Amount{value: 10000, scale: 12}, s: "10000T", Format: DecimalSI}}, } for _, testCase := range table { q := MustParse(testCase.quantity)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 25 07:12:11 UTC 2017 - 3.7K bytes - Viewed (0) -
pkg/kubelet/kubelet_node_status_test.go
Capacity: v1.ResourceList{ v1.ResourceCPU: *resource.NewMilliQuantity(3000, resource.DecimalSI), v1.ResourceMemory: *resource.NewQuantity(20e9, resource.BinarySI), v1.ResourcePods: *resource.NewQuantity(0, resource.DecimalSI), }, Allocatable: v1.ResourceList{ v1.ResourceCPU: *resource.NewMilliQuantity(2800, resource.DecimalSI), v1.ResourceMemory: *resource.NewQuantity(19900e6, resource.BinarySI),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 08 19:23:19 UTC 2024 - 115.8K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/api/resource/quantity_example_test.go
fmt.Printf("milliCores = %v (%v)\n", cores2.MilliValue(), cores2.Format) // Output: // memorySize = 5368709120 (BinarySI) // diskSize = 5000000000 (DecimalSI) // milliCores = 5300 (DecimalSI) // milliCores = 5400 (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) -
src/fmt/example_test.go
// Result: true true // Integers print as decimals with %v and %d, // or in hex with %x, octal with %o, or binary with %b. answer := 42 fmt.Printf("%v %d %x %o %b\n", answer, answer, answer, answer, answer) // Result: 42 42 2a 52 101010 // Floats have multiple formats: %v and %g print a compact representation, // while %f prints a decimal point and %e uses exponential notation. The
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 21:03:10 UTC 2019 - 11.8K bytes - Viewed (0) -
pkg/kubelet/apis/config/validation/validation_reserved_memory_test.go
{ NumaNode: 0, Limits: v1.ResourceList{ v1.ResourceMemory: *resource.NewQuantity(128, resource.DecimalSI), }, }, { NumaNode: 0, Limits: v1.ResourceList{ v1.ResourceMemory: *resource.NewQuantity(64, resource.DecimalSI), }, }, }, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Nov 18 13:38:01 UTC 2021 - 3.7K bytes - Viewed (0) -
pkg/quota/v1/evaluator/core/services.go
// default service usage result[serviceObjectCountName] = *(resource.NewQuantity(1, resource.DecimalSI)) result[corev1.ResourceServices] = *(resource.NewQuantity(1, resource.DecimalSI)) result[corev1.ResourceServicesLoadBalancers] = resource.Quantity{Format: resource.DecimalSI} result[corev1.ResourceServicesNodePorts] = resource.Quantity{Format: resource.DecimalSI} switch svc.Spec.Type { case corev1.ServiceTypeNodePort:
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jul 26 17:14:05 UTC 2022 - 7K bytes - Viewed (0)