- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for decodeMap (0.11 sec)
-
src/encoding/base32/base32.go
switch { case encoder[i] == '\n' || encoder[i] == '\r': panic("encoding alphabet contains newline character") case e.decodeMap[encoder[i]] != invalidIndex: panic("encoding alphabet includes duplicate symbols") } e.decodeMap[encoder[i]] = uint8(i) } return e } // StdEncoding is the standard base32 encoding, as defined in RFC 4648.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 16:25:54 UTC 2024 - 15.9K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/internal/modes/decode_test.go
}, assertOnError: assertNilError, }, }) group(t, "map", []test{ { name: "reject duplicate negative int keys into struct", modes: []cbor.DecMode{modes.DecodeLax}, in: hex("a220012002"), // {-1: 1, -1: 2} into: struct{}{}, assertOnError: assertIdenticalError(&cbor.DupMapKeyError{Key: int64(-1), Index: 1}), }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 22 18:43:10 UTC 2024 - 25.6K bytes - Viewed (0)