- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for c349010000000000000000 (0.11 sec)
-
staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/internal/modes/appendixa_test.go
}, { example: hex("3bffffffffffffffff"), reject: "-2^64-1 overflows int64 and falling back to float64 (as with JSON) loses distinction between float and integer", }, { example: hex("c349010000000000000000"), reject: "-18446744073709551617 overflows int64 and falling back to float64 (as with JSON) loses distinction between float and integer", fixme: "decoding negative bigint to interface{} must not produce math/big.Int",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 15 18:59:36 UTC 2024 - 15.8K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/internal/modes/decode_test.go
if e == nil { t.Error("expected non-nil error") } }, }, }) group(t, "negative bignum", []test{ { name: "rejected", in: hex("c349010000000000000000"), // 3(-18446744073709551617) fixme: "decoding cbor data tagged with 3 produces big.Int instead of rejecting", assertOnError: func(t *testing.T, e error) { // TODO: Once this can pass, make the assertion stronger.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 22 18:43:10 UTC 2024 - 25.6K bytes - Viewed (0)