From e234cb9a8b99704fa0459384e2822838bf9e7ca6 Mon Sep 17 00:00:00 2001 From: Christopher Swenson Date: Wed, 30 Nov 2022 11:52:58 -0800 Subject: [PATCH 1/7] Remove fastpath --- README.md | 24 +- codec/bench/bench.sh | 2 +- codec/bench/shared_test.go | 2 +- codec/build.sh | 46 +- codec/codecgen/z.go | 2 +- codec/doc.go | 19 - codec/fast-path.generated.go | 33668 -------------------- codec/fast-path.go.tmpl | 491 - codec/fast-path.not.go | 14 +- codec/gen-internal.go | 284 + codec/gen.go | 310 +- codec/mammoth2-test.go.tmpl | 2 - codec/mammoth2_codecgen_generated_test.go | 24957 +++++++++++++-- codec/mammoth2_generated_test.go | 2 - codec/values_codecgen_generated_test.go | 1787 +- codec/z_all_test.go | 4 +- go.mod | 13 +- go.sum | 1 - 18 files changed, 24614 insertions(+), 37014 deletions(-) delete mode 100644 codec/fast-path.generated.go delete mode 100644 codec/fast-path.go.tmpl create mode 100644 codec/gen-internal.go diff --git a/README.md b/README.md index b9044ce2..f45b58b1 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ This repository contains the `go-codec` library. To install: ``` -go get github.com/ugorji/go/codec +go get github.com/hashicorp/go-msgpack/codec ``` # Package Documentation @@ -242,28 +242,6 @@ You can run the tag 'safe' to run tests or build in safe mode. e.g. Please see http://github.com/ugorji/go-codec-bench . -## Managing Binary Size - -This package could add up to 10MB to the size of your binaries. - -This is because we include some a auto-generated file: -`fast-path.generated.go` to help with performance when encoding/decoding -slices and maps of built in numeric, boolean, string and interface{} types. - -You can override this by building (or running tests and benchmarks) with the -tag: `notfastpath`. - -``` - go install -tags notfastpath - go build -tags notfastpath - go test -tags notfastpath -``` - -Be aware that, at least in our representative microbenchmarks for cbor (for -example), we see up to 33% increase in decoding and 50% increase in encoding -speeds. YMMV. - - ## Caveats Struct fields matching the following are ignored during encoding and diff --git a/codec/bench/bench.sh b/codec/bench/bench.sh index 30c7e5d4..a8aaf101 100755 --- a/codec/bench/bench.sh +++ b/codec/bench/bench.sh @@ -62,7 +62,7 @@ _gen() { # _suite() { local t="alltests x" - local a=( "" "safe" "notfastpath" "notfastpath safe" "codecgen" "codecgen safe") + local a=( "" "safe" "codecgen" "codecgen safe") local b=( "generated" "generated safe") for i in "${a[@]}" do diff --git a/codec/bench/shared_test.go b/codec/bench/shared_test.go index 932a89a4..f2503bdc 100644 --- a/codec/bench/shared_test.go +++ b/codec/bench/shared_test.go @@ -51,7 +51,7 @@ import ( "testing" ) -import . "github.com/ugorji/go/codec" +import . "github.com/hashicorp/go-msgpack/v2/codec" type testHED struct { H Handle diff --git a/codec/build.sh b/codec/build.sh index dd79c13f..10f47168 100755 --- a/codec/build.sh +++ b/codec/build.sh @@ -5,8 +5,7 @@ _tests() { local gover=$( go version | cut -f 3 -d ' ' ) - # note that codecgen requires fastpath, so you cannot do "codecgen notfastpath" - local a=( "" "safe" "notfastpath" "notfastpath safe" "codecgen" "codecgen safe" ) + local a=( "" "safe" "codecgen" ) for i in "${a[@]}" do echo ">>>> TAGS: $i" @@ -17,7 +16,7 @@ _tests() { *) go vet -printfuncs "errorf" "$@" && go test ${zargs[*]} -vet off -tags "alltests $i" -run "Suite" -coverprofile "${i2// /-}.cov.out" "$@" ;; esac - if [[ "$?" != 0 ]]; then return 1; fi + if [[ "$?" != 0 ]]; then return 1; fi done echo "++++++++ TEST SUITES ALL PASSED ++++++++" } @@ -26,10 +25,10 @@ _tests() { # is a generation needed? _ng() { local a="$1" - if [[ ! -e "$a" ]]; then echo 1; return; fi + if [[ ! -e "$a" ]]; then echo 1; return; fi for i in `ls -1 *.go.tmpl gen.go values_test.go` do - if [[ "$a" -ot "$i" ]]; then echo 1; return; fi + if [[ "$a" -ot "$i" ]]; then echo 1; return; fi done } @@ -42,19 +41,18 @@ EOF rm -f ${1} } -# _build generates fast-path.go and gen-helper.go. +# _build generates gen-helper.go. _build() { - if ! [[ "${zforce}" || $(_ng "fast-path.generated.go") || $(_ng "gen-helper.generated.go") || $(_ng "gen.generated.go") ]]; then return 0; fi - + if ! [[ "${zforce}" || $(_ng "gen-helper.generated.go") || $(_ng "gen.generated.go") ]]; then return 0; fi + if [ "${zbak}" ]; then _zts=`date '+%m%d%Y_%H%M%S'` _gg=".generated.go" [ -e "gen-helper${_gg}" ] && mv gen-helper${_gg} gen-helper${_gg}__${_zts}.bak - [ -e "fast-path${_gg}" ] && mv fast-path${_gg} fast-path${_gg}__${_zts}.bak [ -e "gen${_gg}" ] && mv gen${_gg} gen${_gg}__${_zts}.bak - fi - rm -f gen-helper.generated.go fast-path.generated.go gen.generated.go \ - *safe.generated.go *_generated_test.go *.generated_ffjson_expose.go + fi + rm -f gen-helper.generated.go gen.generated.go \ + *safe.generated.go *_generated_test.go *.generated_ffjson_expose.go cat > gen.generated.go < gen-from-tmpl.codec.generated.go < bench/shared_test.go - + # explicitly return 0 if this passes, else return 1 - go run -tags "notfastpath safe codecgen.exec" gen-from-tmpl.generated.go && + go run -tags "safe codecgen.exec" gen-from-tmpl.generated.go && rm -f gen-from-tmpl.*generated.go && return 0 return 1 @@ -136,7 +133,7 @@ _codegenerators() { local c9="codecgen-scratch.go" if ! [[ $zforce || $(_ng "values_codecgen${c5}") ]]; then return 0; fi - + # Note: ensure you run the codecgen for this codebase/directory i.e. ./codecgen/codecgen true && echo "codecgen ... " && @@ -145,9 +142,9 @@ _codegenerators() { fi && $c8 -rt codecgen -t 'codecgen generated' -o values_codecgen${c5} -d 19780 $zfin $zfin2 && cp mammoth2_generated_test.go $c9 && - $c8 -t '!notfastpath' -o mammoth2_codecgen${c5} -d 19781 mammoth2_generated_test.go && + $c8 -o mammoth2_codecgen${c5} -d 19781 mammoth2_generated_test.go && rm -f $c9 && - echo "generators done!" + echo "generators done!" } _prebuild() { @@ -155,10 +152,10 @@ _prebuild() { local d="$PWD" zfin="test_values.generated.go" zfin2="test_values_flex.generated.go" - zpkg="github.com/ugorji/go/codec" + zpkg="github.com/hashicorp/go-msgpack/v2/codec" # zpkg=${d##*/src/} # zgobase=${d%%/src/*} - # rm -f *_generated_test.go + # rm -f *_generated_test.go rm -f codecgen-*.go && _build && cp $d/values_test.go $d/$zfin && @@ -221,7 +218,7 @@ EOF _usage() { cat < [tests, make, prebuild (force) (external), inlining diagnostics, mid-stack inlining, race detector] -v -> verbose EOF @@ -263,5 +260,4 @@ _main() { unset zforce zargs zbenchflags } -[ "." = `dirname $0` ] && _main "$@" - +[ "." = `dirname $0` ] && _main "$@" \ No newline at end of file diff --git a/codec/codecgen/z.go b/codec/codecgen/z.go index 562a339d..98ccecfb 100644 --- a/codec/codecgen/z.go +++ b/codec/codecgen/z.go @@ -3,4 +3,4 @@ package main -const genCodecPath = "github.com/ugorji/go/codec" +const genCodecPath = "github.com/hashicorp/go-msgpack/v2/codec" diff --git a/codec/doc.go b/codec/doc.go index 5c5df9cf..d8530974 100644 --- a/codec/doc.go +++ b/codec/doc.go @@ -207,25 +207,6 @@ Running Benchmarks Please see http://github.com/ugorji/go-codec-bench . -Managing Binary Size - -This package could add up to 10MB to the size of your binaries. - -This is because we include some a auto-generated file: `fast-path.generated.go` -to help with performance when encoding/decoding slices and maps of -built in numeric, boolean, string and interface{} types. - -You can override this by building (or running tests and benchmarks) -with the tag: `notfastpath`. - - go install -tags notfastpath - go build -tags notfastpath - go test -tags notfastpath - -Be aware that, at least in our representative microbenchmarks for cbor (for example), -we see up to 33% increase in decoding and 50% increase in encoding speeds. -YMMV. - Caveats Struct fields matching the following are ignored during encoding and decoding diff --git a/codec/fast-path.generated.go b/codec/fast-path.generated.go deleted file mode 100644 index 9bc14bd6..00000000 --- a/codec/fast-path.generated.go +++ /dev/null @@ -1,33668 +0,0 @@ -// +build !notfastpath - -// Copyright (c) 2012-2018 Ugorji Nwoke. All rights reserved. -// Use of this source code is governed by a MIT license found in the LICENSE file. - -// Code generated from fast-path.go.tmpl - DO NOT EDIT. - -package codec - -// Fast path functions try to create a fast path encode or decode implementation -// for common maps and slices. -// -// We define the functions and register then in this single file -// so as not to pollute the encode.go and decode.go, and create a dependency in there. -// This file can be omitted without causing a build failure. -// -// The advantage of fast paths is: -// - Many calls bypass reflection altogether -// -// Currently support -// - slice of all builtin types, -// - map of all builtin types to string or interface value -// - symmetrical maps of all builtin types (e.g. str-str, uint8-uint8) -// This should provide adequate "typical" implementations. -// -// Note that fast track decode functions must handle values for which an address cannot be obtained. -// For example: -// m2 := map[string]int{} -// p2 := []interface{}{m2} -// // decoding into p2 will bomb if fast track functions do not treat like unaddressable. -// - -import ( - "reflect" - "sort" -) - -const fastpathEnabled = true - -const fastpathMapBySliceErrMsg = "mapBySlice requires even slice length, but got %v" - -type fastpathT struct{} - -var fastpathTV fastpathT - -type fastpathE struct { - rtid uintptr - rt reflect.Type - encfn func(*Encoder, *codecFnInfo, reflect.Value) - decfn func(*Decoder, *codecFnInfo, reflect.Value) -} - -type fastpathA [271]fastpathE - -func (x *fastpathA) index(rtid uintptr) int { - // use binary search to grab the index (adapted from sort/search.go) - // Note: we use goto (instead of for loop) so this can be inlined. - // h, i, j := 0, 0, len(x) - var h, i uint - var j = uint(len(x)) -LOOP: - if i < j { - h = i + (j-i)/2 - if x[h].rtid < rtid { - i = h + 1 - } else { - j = h - } - goto LOOP - } - if i < uint(len(x)) && x[i].rtid == rtid { - return int(i) - } - return -1 -} - -type fastpathAslice []fastpathE - -func (x fastpathAslice) Len() int { return len(x) } -func (x fastpathAslice) Less(i, j int) bool { return x[uint(i)].rtid < x[uint(j)].rtid } -func (x fastpathAslice) Swap(i, j int) { x[uint(i)], x[uint(j)] = x[uint(j)], x[uint(i)] } - -var fastpathAV fastpathA - -// due to possible initialization loop error, make fastpath in an init() -func init() { - var i uint = 0 - fn := func(v interface{}, - fe func(*Encoder, *codecFnInfo, reflect.Value), - fd func(*Decoder, *codecFnInfo, reflect.Value)) { - xrt := reflect.TypeOf(v) - xptr := rt2id(xrt) - fastpathAV[i] = fastpathE{xptr, xrt, fe, fd} - i++ - } - - fn([]interface{}(nil), (*Encoder).fastpathEncSliceIntfR, (*Decoder).fastpathDecSliceIntfR) - fn([]string(nil), (*Encoder).fastpathEncSliceStringR, (*Decoder).fastpathDecSliceStringR) - fn([]float32(nil), (*Encoder).fastpathEncSliceFloat32R, (*Decoder).fastpathDecSliceFloat32R) - fn([]float64(nil), (*Encoder).fastpathEncSliceFloat64R, (*Decoder).fastpathDecSliceFloat64R) - fn([]uint(nil), (*Encoder).fastpathEncSliceUintR, (*Decoder).fastpathDecSliceUintR) - fn([]uint16(nil), (*Encoder).fastpathEncSliceUint16R, (*Decoder).fastpathDecSliceUint16R) - fn([]uint32(nil), (*Encoder).fastpathEncSliceUint32R, (*Decoder).fastpathDecSliceUint32R) - fn([]uint64(nil), (*Encoder).fastpathEncSliceUint64R, (*Decoder).fastpathDecSliceUint64R) - fn([]uintptr(nil), (*Encoder).fastpathEncSliceUintptrR, (*Decoder).fastpathDecSliceUintptrR) - fn([]int(nil), (*Encoder).fastpathEncSliceIntR, (*Decoder).fastpathDecSliceIntR) - fn([]int8(nil), (*Encoder).fastpathEncSliceInt8R, (*Decoder).fastpathDecSliceInt8R) - fn([]int16(nil), (*Encoder).fastpathEncSliceInt16R, (*Decoder).fastpathDecSliceInt16R) - fn([]int32(nil), (*Encoder).fastpathEncSliceInt32R, (*Decoder).fastpathDecSliceInt32R) - fn([]int64(nil), (*Encoder).fastpathEncSliceInt64R, (*Decoder).fastpathDecSliceInt64R) - fn([]bool(nil), (*Encoder).fastpathEncSliceBoolR, (*Decoder).fastpathDecSliceBoolR) - - fn(map[interface{}]interface{}(nil), (*Encoder).fastpathEncMapIntfIntfR, (*Decoder).fastpathDecMapIntfIntfR) - fn(map[interface{}]string(nil), (*Encoder).fastpathEncMapIntfStringR, (*Decoder).fastpathDecMapIntfStringR) - fn(map[interface{}]uint(nil), (*Encoder).fastpathEncMapIntfUintR, (*Decoder).fastpathDecMapIntfUintR) - fn(map[interface{}]uint8(nil), (*Encoder).fastpathEncMapIntfUint8R, (*Decoder).fastpathDecMapIntfUint8R) - fn(map[interface{}]uint16(nil), (*Encoder).fastpathEncMapIntfUint16R, (*Decoder).fastpathDecMapIntfUint16R) - fn(map[interface{}]uint32(nil), (*Encoder).fastpathEncMapIntfUint32R, (*Decoder).fastpathDecMapIntfUint32R) - fn(map[interface{}]uint64(nil), (*Encoder).fastpathEncMapIntfUint64R, (*Decoder).fastpathDecMapIntfUint64R) - fn(map[interface{}]uintptr(nil), (*Encoder).fastpathEncMapIntfUintptrR, (*Decoder).fastpathDecMapIntfUintptrR) - fn(map[interface{}]int(nil), (*Encoder).fastpathEncMapIntfIntR, (*Decoder).fastpathDecMapIntfIntR) - fn(map[interface{}]int8(nil), (*Encoder).fastpathEncMapIntfInt8R, (*Decoder).fastpathDecMapIntfInt8R) - fn(map[interface{}]int16(nil), (*Encoder).fastpathEncMapIntfInt16R, (*Decoder).fastpathDecMapIntfInt16R) - fn(map[interface{}]int32(nil), (*Encoder).fastpathEncMapIntfInt32R, (*Decoder).fastpathDecMapIntfInt32R) - fn(map[interface{}]int64(nil), (*Encoder).fastpathEncMapIntfInt64R, (*Decoder).fastpathDecMapIntfInt64R) - fn(map[interface{}]float32(nil), (*Encoder).fastpathEncMapIntfFloat32R, (*Decoder).fastpathDecMapIntfFloat32R) - fn(map[interface{}]float64(nil), (*Encoder).fastpathEncMapIntfFloat64R, (*Decoder).fastpathDecMapIntfFloat64R) - fn(map[interface{}]bool(nil), (*Encoder).fastpathEncMapIntfBoolR, (*Decoder).fastpathDecMapIntfBoolR) - fn(map[string]interface{}(nil), (*Encoder).fastpathEncMapStringIntfR, (*Decoder).fastpathDecMapStringIntfR) - fn(map[string]string(nil), (*Encoder).fastpathEncMapStringStringR, (*Decoder).fastpathDecMapStringStringR) - fn(map[string]uint(nil), (*Encoder).fastpathEncMapStringUintR, (*Decoder).fastpathDecMapStringUintR) - fn(map[string]uint8(nil), (*Encoder).fastpathEncMapStringUint8R, (*Decoder).fastpathDecMapStringUint8R) - fn(map[string]uint16(nil), (*Encoder).fastpathEncMapStringUint16R, (*Decoder).fastpathDecMapStringUint16R) - fn(map[string]uint32(nil), (*Encoder).fastpathEncMapStringUint32R, (*Decoder).fastpathDecMapStringUint32R) - fn(map[string]uint64(nil), (*Encoder).fastpathEncMapStringUint64R, (*Decoder).fastpathDecMapStringUint64R) - fn(map[string]uintptr(nil), (*Encoder).fastpathEncMapStringUintptrR, (*Decoder).fastpathDecMapStringUintptrR) - fn(map[string]int(nil), (*Encoder).fastpathEncMapStringIntR, (*Decoder).fastpathDecMapStringIntR) - fn(map[string]int8(nil), (*Encoder).fastpathEncMapStringInt8R, (*Decoder).fastpathDecMapStringInt8R) - fn(map[string]int16(nil), (*Encoder).fastpathEncMapStringInt16R, (*Decoder).fastpathDecMapStringInt16R) - fn(map[string]int32(nil), (*Encoder).fastpathEncMapStringInt32R, (*Decoder).fastpathDecMapStringInt32R) - fn(map[string]int64(nil), (*Encoder).fastpathEncMapStringInt64R, (*Decoder).fastpathDecMapStringInt64R) - fn(map[string]float32(nil), (*Encoder).fastpathEncMapStringFloat32R, (*Decoder).fastpathDecMapStringFloat32R) - fn(map[string]float64(nil), (*Encoder).fastpathEncMapStringFloat64R, (*Decoder).fastpathDecMapStringFloat64R) - fn(map[string]bool(nil), (*Encoder).fastpathEncMapStringBoolR, (*Decoder).fastpathDecMapStringBoolR) - fn(map[float32]interface{}(nil), (*Encoder).fastpathEncMapFloat32IntfR, (*Decoder).fastpathDecMapFloat32IntfR) - fn(map[float32]string(nil), (*Encoder).fastpathEncMapFloat32StringR, (*Decoder).fastpathDecMapFloat32StringR) - fn(map[float32]uint(nil), (*Encoder).fastpathEncMapFloat32UintR, (*Decoder).fastpathDecMapFloat32UintR) - fn(map[float32]uint8(nil), (*Encoder).fastpathEncMapFloat32Uint8R, (*Decoder).fastpathDecMapFloat32Uint8R) - fn(map[float32]uint16(nil), (*Encoder).fastpathEncMapFloat32Uint16R, (*Decoder).fastpathDecMapFloat32Uint16R) - fn(map[float32]uint32(nil), (*Encoder).fastpathEncMapFloat32Uint32R, (*Decoder).fastpathDecMapFloat32Uint32R) - fn(map[float32]uint64(nil), (*Encoder).fastpathEncMapFloat32Uint64R, (*Decoder).fastpathDecMapFloat32Uint64R) - fn(map[float32]uintptr(nil), (*Encoder).fastpathEncMapFloat32UintptrR, (*Decoder).fastpathDecMapFloat32UintptrR) - fn(map[float32]int(nil), (*Encoder).fastpathEncMapFloat32IntR, (*Decoder).fastpathDecMapFloat32IntR) - fn(map[float32]int8(nil), (*Encoder).fastpathEncMapFloat32Int8R, (*Decoder).fastpathDecMapFloat32Int8R) - fn(map[float32]int16(nil), (*Encoder).fastpathEncMapFloat32Int16R, (*Decoder).fastpathDecMapFloat32Int16R) - fn(map[float32]int32(nil), (*Encoder).fastpathEncMapFloat32Int32R, (*Decoder).fastpathDecMapFloat32Int32R) - fn(map[float32]int64(nil), (*Encoder).fastpathEncMapFloat32Int64R, (*Decoder).fastpathDecMapFloat32Int64R) - fn(map[float32]float32(nil), (*Encoder).fastpathEncMapFloat32Float32R, (*Decoder).fastpathDecMapFloat32Float32R) - fn(map[float32]float64(nil), (*Encoder).fastpathEncMapFloat32Float64R, (*Decoder).fastpathDecMapFloat32Float64R) - fn(map[float32]bool(nil), (*Encoder).fastpathEncMapFloat32BoolR, (*Decoder).fastpathDecMapFloat32BoolR) - fn(map[float64]interface{}(nil), (*Encoder).fastpathEncMapFloat64IntfR, (*Decoder).fastpathDecMapFloat64IntfR) - fn(map[float64]string(nil), (*Encoder).fastpathEncMapFloat64StringR, (*Decoder).fastpathDecMapFloat64StringR) - fn(map[float64]uint(nil), (*Encoder).fastpathEncMapFloat64UintR, (*Decoder).fastpathDecMapFloat64UintR) - fn(map[float64]uint8(nil), (*Encoder).fastpathEncMapFloat64Uint8R, (*Decoder).fastpathDecMapFloat64Uint8R) - fn(map[float64]uint16(nil), (*Encoder).fastpathEncMapFloat64Uint16R, (*Decoder).fastpathDecMapFloat64Uint16R) - fn(map[float64]uint32(nil), (*Encoder).fastpathEncMapFloat64Uint32R, (*Decoder).fastpathDecMapFloat64Uint32R) - fn(map[float64]uint64(nil), (*Encoder).fastpathEncMapFloat64Uint64R, (*Decoder).fastpathDecMapFloat64Uint64R) - fn(map[float64]uintptr(nil), (*Encoder).fastpathEncMapFloat64UintptrR, (*Decoder).fastpathDecMapFloat64UintptrR) - fn(map[float64]int(nil), (*Encoder).fastpathEncMapFloat64IntR, (*Decoder).fastpathDecMapFloat64IntR) - fn(map[float64]int8(nil), (*Encoder).fastpathEncMapFloat64Int8R, (*Decoder).fastpathDecMapFloat64Int8R) - fn(map[float64]int16(nil), (*Encoder).fastpathEncMapFloat64Int16R, (*Decoder).fastpathDecMapFloat64Int16R) - fn(map[float64]int32(nil), (*Encoder).fastpathEncMapFloat64Int32R, (*Decoder).fastpathDecMapFloat64Int32R) - fn(map[float64]int64(nil), (*Encoder).fastpathEncMapFloat64Int64R, (*Decoder).fastpathDecMapFloat64Int64R) - fn(map[float64]float32(nil), (*Encoder).fastpathEncMapFloat64Float32R, (*Decoder).fastpathDecMapFloat64Float32R) - fn(map[float64]float64(nil), (*Encoder).fastpathEncMapFloat64Float64R, (*Decoder).fastpathDecMapFloat64Float64R) - fn(map[float64]bool(nil), (*Encoder).fastpathEncMapFloat64BoolR, (*Decoder).fastpathDecMapFloat64BoolR) - fn(map[uint]interface{}(nil), (*Encoder).fastpathEncMapUintIntfR, (*Decoder).fastpathDecMapUintIntfR) - fn(map[uint]string(nil), (*Encoder).fastpathEncMapUintStringR, (*Decoder).fastpathDecMapUintStringR) - fn(map[uint]uint(nil), (*Encoder).fastpathEncMapUintUintR, (*Decoder).fastpathDecMapUintUintR) - fn(map[uint]uint8(nil), (*Encoder).fastpathEncMapUintUint8R, (*Decoder).fastpathDecMapUintUint8R) - fn(map[uint]uint16(nil), (*Encoder).fastpathEncMapUintUint16R, (*Decoder).fastpathDecMapUintUint16R) - fn(map[uint]uint32(nil), (*Encoder).fastpathEncMapUintUint32R, (*Decoder).fastpathDecMapUintUint32R) - fn(map[uint]uint64(nil), (*Encoder).fastpathEncMapUintUint64R, (*Decoder).fastpathDecMapUintUint64R) - fn(map[uint]uintptr(nil), (*Encoder).fastpathEncMapUintUintptrR, (*Decoder).fastpathDecMapUintUintptrR) - fn(map[uint]int(nil), (*Encoder).fastpathEncMapUintIntR, (*Decoder).fastpathDecMapUintIntR) - fn(map[uint]int8(nil), (*Encoder).fastpathEncMapUintInt8R, (*Decoder).fastpathDecMapUintInt8R) - fn(map[uint]int16(nil), (*Encoder).fastpathEncMapUintInt16R, (*Decoder).fastpathDecMapUintInt16R) - fn(map[uint]int32(nil), (*Encoder).fastpathEncMapUintInt32R, (*Decoder).fastpathDecMapUintInt32R) - fn(map[uint]int64(nil), (*Encoder).fastpathEncMapUintInt64R, (*Decoder).fastpathDecMapUintInt64R) - fn(map[uint]float32(nil), (*Encoder).fastpathEncMapUintFloat32R, (*Decoder).fastpathDecMapUintFloat32R) - fn(map[uint]float64(nil), (*Encoder).fastpathEncMapUintFloat64R, (*Decoder).fastpathDecMapUintFloat64R) - fn(map[uint]bool(nil), (*Encoder).fastpathEncMapUintBoolR, (*Decoder).fastpathDecMapUintBoolR) - fn(map[uint8]interface{}(nil), (*Encoder).fastpathEncMapUint8IntfR, (*Decoder).fastpathDecMapUint8IntfR) - fn(map[uint8]string(nil), (*Encoder).fastpathEncMapUint8StringR, (*Decoder).fastpathDecMapUint8StringR) - fn(map[uint8]uint(nil), (*Encoder).fastpathEncMapUint8UintR, (*Decoder).fastpathDecMapUint8UintR) - fn(map[uint8]uint8(nil), (*Encoder).fastpathEncMapUint8Uint8R, (*Decoder).fastpathDecMapUint8Uint8R) - fn(map[uint8]uint16(nil), (*Encoder).fastpathEncMapUint8Uint16R, (*Decoder).fastpathDecMapUint8Uint16R) - fn(map[uint8]uint32(nil), (*Encoder).fastpathEncMapUint8Uint32R, (*Decoder).fastpathDecMapUint8Uint32R) - fn(map[uint8]uint64(nil), (*Encoder).fastpathEncMapUint8Uint64R, (*Decoder).fastpathDecMapUint8Uint64R) - fn(map[uint8]uintptr(nil), (*Encoder).fastpathEncMapUint8UintptrR, (*Decoder).fastpathDecMapUint8UintptrR) - fn(map[uint8]int(nil), (*Encoder).fastpathEncMapUint8IntR, (*Decoder).fastpathDecMapUint8IntR) - fn(map[uint8]int8(nil), (*Encoder).fastpathEncMapUint8Int8R, (*Decoder).fastpathDecMapUint8Int8R) - fn(map[uint8]int16(nil), (*Encoder).fastpathEncMapUint8Int16R, (*Decoder).fastpathDecMapUint8Int16R) - fn(map[uint8]int32(nil), (*Encoder).fastpathEncMapUint8Int32R, (*Decoder).fastpathDecMapUint8Int32R) - fn(map[uint8]int64(nil), (*Encoder).fastpathEncMapUint8Int64R, (*Decoder).fastpathDecMapUint8Int64R) - fn(map[uint8]float32(nil), (*Encoder).fastpathEncMapUint8Float32R, (*Decoder).fastpathDecMapUint8Float32R) - fn(map[uint8]float64(nil), (*Encoder).fastpathEncMapUint8Float64R, (*Decoder).fastpathDecMapUint8Float64R) - fn(map[uint8]bool(nil), (*Encoder).fastpathEncMapUint8BoolR, (*Decoder).fastpathDecMapUint8BoolR) - fn(map[uint16]interface{}(nil), (*Encoder).fastpathEncMapUint16IntfR, (*Decoder).fastpathDecMapUint16IntfR) - fn(map[uint16]string(nil), (*Encoder).fastpathEncMapUint16StringR, (*Decoder).fastpathDecMapUint16StringR) - fn(map[uint16]uint(nil), (*Encoder).fastpathEncMapUint16UintR, (*Decoder).fastpathDecMapUint16UintR) - fn(map[uint16]uint8(nil), (*Encoder).fastpathEncMapUint16Uint8R, (*Decoder).fastpathDecMapUint16Uint8R) - fn(map[uint16]uint16(nil), (*Encoder).fastpathEncMapUint16Uint16R, (*Decoder).fastpathDecMapUint16Uint16R) - fn(map[uint16]uint32(nil), (*Encoder).fastpathEncMapUint16Uint32R, (*Decoder).fastpathDecMapUint16Uint32R) - fn(map[uint16]uint64(nil), (*Encoder).fastpathEncMapUint16Uint64R, (*Decoder).fastpathDecMapUint16Uint64R) - fn(map[uint16]uintptr(nil), (*Encoder).fastpathEncMapUint16UintptrR, (*Decoder).fastpathDecMapUint16UintptrR) - fn(map[uint16]int(nil), (*Encoder).fastpathEncMapUint16IntR, (*Decoder).fastpathDecMapUint16IntR) - fn(map[uint16]int8(nil), (*Encoder).fastpathEncMapUint16Int8R, (*Decoder).fastpathDecMapUint16Int8R) - fn(map[uint16]int16(nil), (*Encoder).fastpathEncMapUint16Int16R, (*Decoder).fastpathDecMapUint16Int16R) - fn(map[uint16]int32(nil), (*Encoder).fastpathEncMapUint16Int32R, (*Decoder).fastpathDecMapUint16Int32R) - fn(map[uint16]int64(nil), (*Encoder).fastpathEncMapUint16Int64R, (*Decoder).fastpathDecMapUint16Int64R) - fn(map[uint16]float32(nil), (*Encoder).fastpathEncMapUint16Float32R, (*Decoder).fastpathDecMapUint16Float32R) - fn(map[uint16]float64(nil), (*Encoder).fastpathEncMapUint16Float64R, (*Decoder).fastpathDecMapUint16Float64R) - fn(map[uint16]bool(nil), (*Encoder).fastpathEncMapUint16BoolR, (*Decoder).fastpathDecMapUint16BoolR) - fn(map[uint32]interface{}(nil), (*Encoder).fastpathEncMapUint32IntfR, (*Decoder).fastpathDecMapUint32IntfR) - fn(map[uint32]string(nil), (*Encoder).fastpathEncMapUint32StringR, (*Decoder).fastpathDecMapUint32StringR) - fn(map[uint32]uint(nil), (*Encoder).fastpathEncMapUint32UintR, (*Decoder).fastpathDecMapUint32UintR) - fn(map[uint32]uint8(nil), (*Encoder).fastpathEncMapUint32Uint8R, (*Decoder).fastpathDecMapUint32Uint8R) - fn(map[uint32]uint16(nil), (*Encoder).fastpathEncMapUint32Uint16R, (*Decoder).fastpathDecMapUint32Uint16R) - fn(map[uint32]uint32(nil), (*Encoder).fastpathEncMapUint32Uint32R, (*Decoder).fastpathDecMapUint32Uint32R) - fn(map[uint32]uint64(nil), (*Encoder).fastpathEncMapUint32Uint64R, (*Decoder).fastpathDecMapUint32Uint64R) - fn(map[uint32]uintptr(nil), (*Encoder).fastpathEncMapUint32UintptrR, (*Decoder).fastpathDecMapUint32UintptrR) - fn(map[uint32]int(nil), (*Encoder).fastpathEncMapUint32IntR, (*Decoder).fastpathDecMapUint32IntR) - fn(map[uint32]int8(nil), (*Encoder).fastpathEncMapUint32Int8R, (*Decoder).fastpathDecMapUint32Int8R) - fn(map[uint32]int16(nil), (*Encoder).fastpathEncMapUint32Int16R, (*Decoder).fastpathDecMapUint32Int16R) - fn(map[uint32]int32(nil), (*Encoder).fastpathEncMapUint32Int32R, (*Decoder).fastpathDecMapUint32Int32R) - fn(map[uint32]int64(nil), (*Encoder).fastpathEncMapUint32Int64R, (*Decoder).fastpathDecMapUint32Int64R) - fn(map[uint32]float32(nil), (*Encoder).fastpathEncMapUint32Float32R, (*Decoder).fastpathDecMapUint32Float32R) - fn(map[uint32]float64(nil), (*Encoder).fastpathEncMapUint32Float64R, (*Decoder).fastpathDecMapUint32Float64R) - fn(map[uint32]bool(nil), (*Encoder).fastpathEncMapUint32BoolR, (*Decoder).fastpathDecMapUint32BoolR) - fn(map[uint64]interface{}(nil), (*Encoder).fastpathEncMapUint64IntfR, (*Decoder).fastpathDecMapUint64IntfR) - fn(map[uint64]string(nil), (*Encoder).fastpathEncMapUint64StringR, (*Decoder).fastpathDecMapUint64StringR) - fn(map[uint64]uint(nil), (*Encoder).fastpathEncMapUint64UintR, (*Decoder).fastpathDecMapUint64UintR) - fn(map[uint64]uint8(nil), (*Encoder).fastpathEncMapUint64Uint8R, (*Decoder).fastpathDecMapUint64Uint8R) - fn(map[uint64]uint16(nil), (*Encoder).fastpathEncMapUint64Uint16R, (*Decoder).fastpathDecMapUint64Uint16R) - fn(map[uint64]uint32(nil), (*Encoder).fastpathEncMapUint64Uint32R, (*Decoder).fastpathDecMapUint64Uint32R) - fn(map[uint64]uint64(nil), (*Encoder).fastpathEncMapUint64Uint64R, (*Decoder).fastpathDecMapUint64Uint64R) - fn(map[uint64]uintptr(nil), (*Encoder).fastpathEncMapUint64UintptrR, (*Decoder).fastpathDecMapUint64UintptrR) - fn(map[uint64]int(nil), (*Encoder).fastpathEncMapUint64IntR, (*Decoder).fastpathDecMapUint64IntR) - fn(map[uint64]int8(nil), (*Encoder).fastpathEncMapUint64Int8R, (*Decoder).fastpathDecMapUint64Int8R) - fn(map[uint64]int16(nil), (*Encoder).fastpathEncMapUint64Int16R, (*Decoder).fastpathDecMapUint64Int16R) - fn(map[uint64]int32(nil), (*Encoder).fastpathEncMapUint64Int32R, (*Decoder).fastpathDecMapUint64Int32R) - fn(map[uint64]int64(nil), (*Encoder).fastpathEncMapUint64Int64R, (*Decoder).fastpathDecMapUint64Int64R) - fn(map[uint64]float32(nil), (*Encoder).fastpathEncMapUint64Float32R, (*Decoder).fastpathDecMapUint64Float32R) - fn(map[uint64]float64(nil), (*Encoder).fastpathEncMapUint64Float64R, (*Decoder).fastpathDecMapUint64Float64R) - fn(map[uint64]bool(nil), (*Encoder).fastpathEncMapUint64BoolR, (*Decoder).fastpathDecMapUint64BoolR) - fn(map[uintptr]interface{}(nil), (*Encoder).fastpathEncMapUintptrIntfR, (*Decoder).fastpathDecMapUintptrIntfR) - fn(map[uintptr]string(nil), (*Encoder).fastpathEncMapUintptrStringR, (*Decoder).fastpathDecMapUintptrStringR) - fn(map[uintptr]uint(nil), (*Encoder).fastpathEncMapUintptrUintR, (*Decoder).fastpathDecMapUintptrUintR) - fn(map[uintptr]uint8(nil), (*Encoder).fastpathEncMapUintptrUint8R, (*Decoder).fastpathDecMapUintptrUint8R) - fn(map[uintptr]uint16(nil), (*Encoder).fastpathEncMapUintptrUint16R, (*Decoder).fastpathDecMapUintptrUint16R) - fn(map[uintptr]uint32(nil), (*Encoder).fastpathEncMapUintptrUint32R, (*Decoder).fastpathDecMapUintptrUint32R) - fn(map[uintptr]uint64(nil), (*Encoder).fastpathEncMapUintptrUint64R, (*Decoder).fastpathDecMapUintptrUint64R) - fn(map[uintptr]uintptr(nil), (*Encoder).fastpathEncMapUintptrUintptrR, (*Decoder).fastpathDecMapUintptrUintptrR) - fn(map[uintptr]int(nil), (*Encoder).fastpathEncMapUintptrIntR, (*Decoder).fastpathDecMapUintptrIntR) - fn(map[uintptr]int8(nil), (*Encoder).fastpathEncMapUintptrInt8R, (*Decoder).fastpathDecMapUintptrInt8R) - fn(map[uintptr]int16(nil), (*Encoder).fastpathEncMapUintptrInt16R, (*Decoder).fastpathDecMapUintptrInt16R) - fn(map[uintptr]int32(nil), (*Encoder).fastpathEncMapUintptrInt32R, (*Decoder).fastpathDecMapUintptrInt32R) - fn(map[uintptr]int64(nil), (*Encoder).fastpathEncMapUintptrInt64R, (*Decoder).fastpathDecMapUintptrInt64R) - fn(map[uintptr]float32(nil), (*Encoder).fastpathEncMapUintptrFloat32R, (*Decoder).fastpathDecMapUintptrFloat32R) - fn(map[uintptr]float64(nil), (*Encoder).fastpathEncMapUintptrFloat64R, (*Decoder).fastpathDecMapUintptrFloat64R) - fn(map[uintptr]bool(nil), (*Encoder).fastpathEncMapUintptrBoolR, (*Decoder).fastpathDecMapUintptrBoolR) - fn(map[int]interface{}(nil), (*Encoder).fastpathEncMapIntIntfR, (*Decoder).fastpathDecMapIntIntfR) - fn(map[int]string(nil), (*Encoder).fastpathEncMapIntStringR, (*Decoder).fastpathDecMapIntStringR) - fn(map[int]uint(nil), (*Encoder).fastpathEncMapIntUintR, (*Decoder).fastpathDecMapIntUintR) - fn(map[int]uint8(nil), (*Encoder).fastpathEncMapIntUint8R, (*Decoder).fastpathDecMapIntUint8R) - fn(map[int]uint16(nil), (*Encoder).fastpathEncMapIntUint16R, (*Decoder).fastpathDecMapIntUint16R) - fn(map[int]uint32(nil), (*Encoder).fastpathEncMapIntUint32R, (*Decoder).fastpathDecMapIntUint32R) - fn(map[int]uint64(nil), (*Encoder).fastpathEncMapIntUint64R, (*Decoder).fastpathDecMapIntUint64R) - fn(map[int]uintptr(nil), (*Encoder).fastpathEncMapIntUintptrR, (*Decoder).fastpathDecMapIntUintptrR) - fn(map[int]int(nil), (*Encoder).fastpathEncMapIntIntR, (*Decoder).fastpathDecMapIntIntR) - fn(map[int]int8(nil), (*Encoder).fastpathEncMapIntInt8R, (*Decoder).fastpathDecMapIntInt8R) - fn(map[int]int16(nil), (*Encoder).fastpathEncMapIntInt16R, (*Decoder).fastpathDecMapIntInt16R) - fn(map[int]int32(nil), (*Encoder).fastpathEncMapIntInt32R, (*Decoder).fastpathDecMapIntInt32R) - fn(map[int]int64(nil), (*Encoder).fastpathEncMapIntInt64R, (*Decoder).fastpathDecMapIntInt64R) - fn(map[int]float32(nil), (*Encoder).fastpathEncMapIntFloat32R, (*Decoder).fastpathDecMapIntFloat32R) - fn(map[int]float64(nil), (*Encoder).fastpathEncMapIntFloat64R, (*Decoder).fastpathDecMapIntFloat64R) - fn(map[int]bool(nil), (*Encoder).fastpathEncMapIntBoolR, (*Decoder).fastpathDecMapIntBoolR) - fn(map[int8]interface{}(nil), (*Encoder).fastpathEncMapInt8IntfR, (*Decoder).fastpathDecMapInt8IntfR) - fn(map[int8]string(nil), (*Encoder).fastpathEncMapInt8StringR, (*Decoder).fastpathDecMapInt8StringR) - fn(map[int8]uint(nil), (*Encoder).fastpathEncMapInt8UintR, (*Decoder).fastpathDecMapInt8UintR) - fn(map[int8]uint8(nil), (*Encoder).fastpathEncMapInt8Uint8R, (*Decoder).fastpathDecMapInt8Uint8R) - fn(map[int8]uint16(nil), (*Encoder).fastpathEncMapInt8Uint16R, (*Decoder).fastpathDecMapInt8Uint16R) - fn(map[int8]uint32(nil), (*Encoder).fastpathEncMapInt8Uint32R, (*Decoder).fastpathDecMapInt8Uint32R) - fn(map[int8]uint64(nil), (*Encoder).fastpathEncMapInt8Uint64R, (*Decoder).fastpathDecMapInt8Uint64R) - fn(map[int8]uintptr(nil), (*Encoder).fastpathEncMapInt8UintptrR, (*Decoder).fastpathDecMapInt8UintptrR) - fn(map[int8]int(nil), (*Encoder).fastpathEncMapInt8IntR, (*Decoder).fastpathDecMapInt8IntR) - fn(map[int8]int8(nil), (*Encoder).fastpathEncMapInt8Int8R, (*Decoder).fastpathDecMapInt8Int8R) - fn(map[int8]int16(nil), (*Encoder).fastpathEncMapInt8Int16R, (*Decoder).fastpathDecMapInt8Int16R) - fn(map[int8]int32(nil), (*Encoder).fastpathEncMapInt8Int32R, (*Decoder).fastpathDecMapInt8Int32R) - fn(map[int8]int64(nil), (*Encoder).fastpathEncMapInt8Int64R, (*Decoder).fastpathDecMapInt8Int64R) - fn(map[int8]float32(nil), (*Encoder).fastpathEncMapInt8Float32R, (*Decoder).fastpathDecMapInt8Float32R) - fn(map[int8]float64(nil), (*Encoder).fastpathEncMapInt8Float64R, (*Decoder).fastpathDecMapInt8Float64R) - fn(map[int8]bool(nil), (*Encoder).fastpathEncMapInt8BoolR, (*Decoder).fastpathDecMapInt8BoolR) - fn(map[int16]interface{}(nil), (*Encoder).fastpathEncMapInt16IntfR, (*Decoder).fastpathDecMapInt16IntfR) - fn(map[int16]string(nil), (*Encoder).fastpathEncMapInt16StringR, (*Decoder).fastpathDecMapInt16StringR) - fn(map[int16]uint(nil), (*Encoder).fastpathEncMapInt16UintR, (*Decoder).fastpathDecMapInt16UintR) - fn(map[int16]uint8(nil), (*Encoder).fastpathEncMapInt16Uint8R, (*Decoder).fastpathDecMapInt16Uint8R) - fn(map[int16]uint16(nil), (*Encoder).fastpathEncMapInt16Uint16R, (*Decoder).fastpathDecMapInt16Uint16R) - fn(map[int16]uint32(nil), (*Encoder).fastpathEncMapInt16Uint32R, (*Decoder).fastpathDecMapInt16Uint32R) - fn(map[int16]uint64(nil), (*Encoder).fastpathEncMapInt16Uint64R, (*Decoder).fastpathDecMapInt16Uint64R) - fn(map[int16]uintptr(nil), (*Encoder).fastpathEncMapInt16UintptrR, (*Decoder).fastpathDecMapInt16UintptrR) - fn(map[int16]int(nil), (*Encoder).fastpathEncMapInt16IntR, (*Decoder).fastpathDecMapInt16IntR) - fn(map[int16]int8(nil), (*Encoder).fastpathEncMapInt16Int8R, (*Decoder).fastpathDecMapInt16Int8R) - fn(map[int16]int16(nil), (*Encoder).fastpathEncMapInt16Int16R, (*Decoder).fastpathDecMapInt16Int16R) - fn(map[int16]int32(nil), (*Encoder).fastpathEncMapInt16Int32R, (*Decoder).fastpathDecMapInt16Int32R) - fn(map[int16]int64(nil), (*Encoder).fastpathEncMapInt16Int64R, (*Decoder).fastpathDecMapInt16Int64R) - fn(map[int16]float32(nil), (*Encoder).fastpathEncMapInt16Float32R, (*Decoder).fastpathDecMapInt16Float32R) - fn(map[int16]float64(nil), (*Encoder).fastpathEncMapInt16Float64R, (*Decoder).fastpathDecMapInt16Float64R) - fn(map[int16]bool(nil), (*Encoder).fastpathEncMapInt16BoolR, (*Decoder).fastpathDecMapInt16BoolR) - fn(map[int32]interface{}(nil), (*Encoder).fastpathEncMapInt32IntfR, (*Decoder).fastpathDecMapInt32IntfR) - fn(map[int32]string(nil), (*Encoder).fastpathEncMapInt32StringR, (*Decoder).fastpathDecMapInt32StringR) - fn(map[int32]uint(nil), (*Encoder).fastpathEncMapInt32UintR, (*Decoder).fastpathDecMapInt32UintR) - fn(map[int32]uint8(nil), (*Encoder).fastpathEncMapInt32Uint8R, (*Decoder).fastpathDecMapInt32Uint8R) - fn(map[int32]uint16(nil), (*Encoder).fastpathEncMapInt32Uint16R, (*Decoder).fastpathDecMapInt32Uint16R) - fn(map[int32]uint32(nil), (*Encoder).fastpathEncMapInt32Uint32R, (*Decoder).fastpathDecMapInt32Uint32R) - fn(map[int32]uint64(nil), (*Encoder).fastpathEncMapInt32Uint64R, (*Decoder).fastpathDecMapInt32Uint64R) - fn(map[int32]uintptr(nil), (*Encoder).fastpathEncMapInt32UintptrR, (*Decoder).fastpathDecMapInt32UintptrR) - fn(map[int32]int(nil), (*Encoder).fastpathEncMapInt32IntR, (*Decoder).fastpathDecMapInt32IntR) - fn(map[int32]int8(nil), (*Encoder).fastpathEncMapInt32Int8R, (*Decoder).fastpathDecMapInt32Int8R) - fn(map[int32]int16(nil), (*Encoder).fastpathEncMapInt32Int16R, (*Decoder).fastpathDecMapInt32Int16R) - fn(map[int32]int32(nil), (*Encoder).fastpathEncMapInt32Int32R, (*Decoder).fastpathDecMapInt32Int32R) - fn(map[int32]int64(nil), (*Encoder).fastpathEncMapInt32Int64R, (*Decoder).fastpathDecMapInt32Int64R) - fn(map[int32]float32(nil), (*Encoder).fastpathEncMapInt32Float32R, (*Decoder).fastpathDecMapInt32Float32R) - fn(map[int32]float64(nil), (*Encoder).fastpathEncMapInt32Float64R, (*Decoder).fastpathDecMapInt32Float64R) - fn(map[int32]bool(nil), (*Encoder).fastpathEncMapInt32BoolR, (*Decoder).fastpathDecMapInt32BoolR) - fn(map[int64]interface{}(nil), (*Encoder).fastpathEncMapInt64IntfR, (*Decoder).fastpathDecMapInt64IntfR) - fn(map[int64]string(nil), (*Encoder).fastpathEncMapInt64StringR, (*Decoder).fastpathDecMapInt64StringR) - fn(map[int64]uint(nil), (*Encoder).fastpathEncMapInt64UintR, (*Decoder).fastpathDecMapInt64UintR) - fn(map[int64]uint8(nil), (*Encoder).fastpathEncMapInt64Uint8R, (*Decoder).fastpathDecMapInt64Uint8R) - fn(map[int64]uint16(nil), (*Encoder).fastpathEncMapInt64Uint16R, (*Decoder).fastpathDecMapInt64Uint16R) - fn(map[int64]uint32(nil), (*Encoder).fastpathEncMapInt64Uint32R, (*Decoder).fastpathDecMapInt64Uint32R) - fn(map[int64]uint64(nil), (*Encoder).fastpathEncMapInt64Uint64R, (*Decoder).fastpathDecMapInt64Uint64R) - fn(map[int64]uintptr(nil), (*Encoder).fastpathEncMapInt64UintptrR, (*Decoder).fastpathDecMapInt64UintptrR) - fn(map[int64]int(nil), (*Encoder).fastpathEncMapInt64IntR, (*Decoder).fastpathDecMapInt64IntR) - fn(map[int64]int8(nil), (*Encoder).fastpathEncMapInt64Int8R, (*Decoder).fastpathDecMapInt64Int8R) - fn(map[int64]int16(nil), (*Encoder).fastpathEncMapInt64Int16R, (*Decoder).fastpathDecMapInt64Int16R) - fn(map[int64]int32(nil), (*Encoder).fastpathEncMapInt64Int32R, (*Decoder).fastpathDecMapInt64Int32R) - fn(map[int64]int64(nil), (*Encoder).fastpathEncMapInt64Int64R, (*Decoder).fastpathDecMapInt64Int64R) - fn(map[int64]float32(nil), (*Encoder).fastpathEncMapInt64Float32R, (*Decoder).fastpathDecMapInt64Float32R) - fn(map[int64]float64(nil), (*Encoder).fastpathEncMapInt64Float64R, (*Decoder).fastpathDecMapInt64Float64R) - fn(map[int64]bool(nil), (*Encoder).fastpathEncMapInt64BoolR, (*Decoder).fastpathDecMapInt64BoolR) - fn(map[bool]interface{}(nil), (*Encoder).fastpathEncMapBoolIntfR, (*Decoder).fastpathDecMapBoolIntfR) - fn(map[bool]string(nil), (*Encoder).fastpathEncMapBoolStringR, (*Decoder).fastpathDecMapBoolStringR) - fn(map[bool]uint(nil), (*Encoder).fastpathEncMapBoolUintR, (*Decoder).fastpathDecMapBoolUintR) - fn(map[bool]uint8(nil), (*Encoder).fastpathEncMapBoolUint8R, (*Decoder).fastpathDecMapBoolUint8R) - fn(map[bool]uint16(nil), (*Encoder).fastpathEncMapBoolUint16R, (*Decoder).fastpathDecMapBoolUint16R) - fn(map[bool]uint32(nil), (*Encoder).fastpathEncMapBoolUint32R, (*Decoder).fastpathDecMapBoolUint32R) - fn(map[bool]uint64(nil), (*Encoder).fastpathEncMapBoolUint64R, (*Decoder).fastpathDecMapBoolUint64R) - fn(map[bool]uintptr(nil), (*Encoder).fastpathEncMapBoolUintptrR, (*Decoder).fastpathDecMapBoolUintptrR) - fn(map[bool]int(nil), (*Encoder).fastpathEncMapBoolIntR, (*Decoder).fastpathDecMapBoolIntR) - fn(map[bool]int8(nil), (*Encoder).fastpathEncMapBoolInt8R, (*Decoder).fastpathDecMapBoolInt8R) - fn(map[bool]int16(nil), (*Encoder).fastpathEncMapBoolInt16R, (*Decoder).fastpathDecMapBoolInt16R) - fn(map[bool]int32(nil), (*Encoder).fastpathEncMapBoolInt32R, (*Decoder).fastpathDecMapBoolInt32R) - fn(map[bool]int64(nil), (*Encoder).fastpathEncMapBoolInt64R, (*Decoder).fastpathDecMapBoolInt64R) - fn(map[bool]float32(nil), (*Encoder).fastpathEncMapBoolFloat32R, (*Decoder).fastpathDecMapBoolFloat32R) - fn(map[bool]float64(nil), (*Encoder).fastpathEncMapBoolFloat64R, (*Decoder).fastpathDecMapBoolFloat64R) - fn(map[bool]bool(nil), (*Encoder).fastpathEncMapBoolBoolR, (*Decoder).fastpathDecMapBoolBoolR) - - sort.Sort(fastpathAslice(fastpathAV[:])) -} - -// -- encode - -// -- -- fast path type switch -func fastpathEncodeTypeSwitch(iv interface{}, e *Encoder) bool { - switch v := iv.(type) { - - case []interface{}: - fastpathTV.EncSliceIntfV(v, e) - case *[]interface{}: - fastpathTV.EncSliceIntfV(*v, e) - case []string: - fastpathTV.EncSliceStringV(v, e) - case *[]string: - fastpathTV.EncSliceStringV(*v, e) - case []float32: - fastpathTV.EncSliceFloat32V(v, e) - case *[]float32: - fastpathTV.EncSliceFloat32V(*v, e) - case []float64: - fastpathTV.EncSliceFloat64V(v, e) - case *[]float64: - fastpathTV.EncSliceFloat64V(*v, e) - case []uint: - fastpathTV.EncSliceUintV(v, e) - case *[]uint: - fastpathTV.EncSliceUintV(*v, e) - case []uint16: - fastpathTV.EncSliceUint16V(v, e) - case *[]uint16: - fastpathTV.EncSliceUint16V(*v, e) - case []uint32: - fastpathTV.EncSliceUint32V(v, e) - case *[]uint32: - fastpathTV.EncSliceUint32V(*v, e) - case []uint64: - fastpathTV.EncSliceUint64V(v, e) - case *[]uint64: - fastpathTV.EncSliceUint64V(*v, e) - case []uintptr: - fastpathTV.EncSliceUintptrV(v, e) - case *[]uintptr: - fastpathTV.EncSliceUintptrV(*v, e) - case []int: - fastpathTV.EncSliceIntV(v, e) - case *[]int: - fastpathTV.EncSliceIntV(*v, e) - case []int8: - fastpathTV.EncSliceInt8V(v, e) - case *[]int8: - fastpathTV.EncSliceInt8V(*v, e) - case []int16: - fastpathTV.EncSliceInt16V(v, e) - case *[]int16: - fastpathTV.EncSliceInt16V(*v, e) - case []int32: - fastpathTV.EncSliceInt32V(v, e) - case *[]int32: - fastpathTV.EncSliceInt32V(*v, e) - case []int64: - fastpathTV.EncSliceInt64V(v, e) - case *[]int64: - fastpathTV.EncSliceInt64V(*v, e) - case []bool: - fastpathTV.EncSliceBoolV(v, e) - case *[]bool: - fastpathTV.EncSliceBoolV(*v, e) - - case map[interface{}]interface{}: - fastpathTV.EncMapIntfIntfV(v, e) - case *map[interface{}]interface{}: - fastpathTV.EncMapIntfIntfV(*v, e) - case map[interface{}]string: - fastpathTV.EncMapIntfStringV(v, e) - case *map[interface{}]string: - fastpathTV.EncMapIntfStringV(*v, e) - case map[interface{}]uint: - fastpathTV.EncMapIntfUintV(v, e) - case *map[interface{}]uint: - fastpathTV.EncMapIntfUintV(*v, e) - case map[interface{}]uint8: - fastpathTV.EncMapIntfUint8V(v, e) - case *map[interface{}]uint8: - fastpathTV.EncMapIntfUint8V(*v, e) - case map[interface{}]uint16: - fastpathTV.EncMapIntfUint16V(v, e) - case *map[interface{}]uint16: - fastpathTV.EncMapIntfUint16V(*v, e) - case map[interface{}]uint32: - fastpathTV.EncMapIntfUint32V(v, e) - case *map[interface{}]uint32: - fastpathTV.EncMapIntfUint32V(*v, e) - case map[interface{}]uint64: - fastpathTV.EncMapIntfUint64V(v, e) - case *map[interface{}]uint64: - fastpathTV.EncMapIntfUint64V(*v, e) - case map[interface{}]uintptr: - fastpathTV.EncMapIntfUintptrV(v, e) - case *map[interface{}]uintptr: - fastpathTV.EncMapIntfUintptrV(*v, e) - case map[interface{}]int: - fastpathTV.EncMapIntfIntV(v, e) - case *map[interface{}]int: - fastpathTV.EncMapIntfIntV(*v, e) - case map[interface{}]int8: - fastpathTV.EncMapIntfInt8V(v, e) - case *map[interface{}]int8: - fastpathTV.EncMapIntfInt8V(*v, e) - case map[interface{}]int16: - fastpathTV.EncMapIntfInt16V(v, e) - case *map[interface{}]int16: - fastpathTV.EncMapIntfInt16V(*v, e) - case map[interface{}]int32: - fastpathTV.EncMapIntfInt32V(v, e) - case *map[interface{}]int32: - fastpathTV.EncMapIntfInt32V(*v, e) - case map[interface{}]int64: - fastpathTV.EncMapIntfInt64V(v, e) - case *map[interface{}]int64: - fastpathTV.EncMapIntfInt64V(*v, e) - case map[interface{}]float32: - fastpathTV.EncMapIntfFloat32V(v, e) - case *map[interface{}]float32: - fastpathTV.EncMapIntfFloat32V(*v, e) - case map[interface{}]float64: - fastpathTV.EncMapIntfFloat64V(v, e) - case *map[interface{}]float64: - fastpathTV.EncMapIntfFloat64V(*v, e) - case map[interface{}]bool: - fastpathTV.EncMapIntfBoolV(v, e) - case *map[interface{}]bool: - fastpathTV.EncMapIntfBoolV(*v, e) - case map[string]interface{}: - fastpathTV.EncMapStringIntfV(v, e) - case *map[string]interface{}: - fastpathTV.EncMapStringIntfV(*v, e) - case map[string]string: - fastpathTV.EncMapStringStringV(v, e) - case *map[string]string: - fastpathTV.EncMapStringStringV(*v, e) - case map[string]uint: - fastpathTV.EncMapStringUintV(v, e) - case *map[string]uint: - fastpathTV.EncMapStringUintV(*v, e) - case map[string]uint8: - fastpathTV.EncMapStringUint8V(v, e) - case *map[string]uint8: - fastpathTV.EncMapStringUint8V(*v, e) - case map[string]uint16: - fastpathTV.EncMapStringUint16V(v, e) - case *map[string]uint16: - fastpathTV.EncMapStringUint16V(*v, e) - case map[string]uint32: - fastpathTV.EncMapStringUint32V(v, e) - case *map[string]uint32: - fastpathTV.EncMapStringUint32V(*v, e) - case map[string]uint64: - fastpathTV.EncMapStringUint64V(v, e) - case *map[string]uint64: - fastpathTV.EncMapStringUint64V(*v, e) - case map[string]uintptr: - fastpathTV.EncMapStringUintptrV(v, e) - case *map[string]uintptr: - fastpathTV.EncMapStringUintptrV(*v, e) - case map[string]int: - fastpathTV.EncMapStringIntV(v, e) - case *map[string]int: - fastpathTV.EncMapStringIntV(*v, e) - case map[string]int8: - fastpathTV.EncMapStringInt8V(v, e) - case *map[string]int8: - fastpathTV.EncMapStringInt8V(*v, e) - case map[string]int16: - fastpathTV.EncMapStringInt16V(v, e) - case *map[string]int16: - fastpathTV.EncMapStringInt16V(*v, e) - case map[string]int32: - fastpathTV.EncMapStringInt32V(v, e) - case *map[string]int32: - fastpathTV.EncMapStringInt32V(*v, e) - case map[string]int64: - fastpathTV.EncMapStringInt64V(v, e) - case *map[string]int64: - fastpathTV.EncMapStringInt64V(*v, e) - case map[string]float32: - fastpathTV.EncMapStringFloat32V(v, e) - case *map[string]float32: - fastpathTV.EncMapStringFloat32V(*v, e) - case map[string]float64: - fastpathTV.EncMapStringFloat64V(v, e) - case *map[string]float64: - fastpathTV.EncMapStringFloat64V(*v, e) - case map[string]bool: - fastpathTV.EncMapStringBoolV(v, e) - case *map[string]bool: - fastpathTV.EncMapStringBoolV(*v, e) - case map[float32]interface{}: - fastpathTV.EncMapFloat32IntfV(v, e) - case *map[float32]interface{}: - fastpathTV.EncMapFloat32IntfV(*v, e) - case map[float32]string: - fastpathTV.EncMapFloat32StringV(v, e) - case *map[float32]string: - fastpathTV.EncMapFloat32StringV(*v, e) - case map[float32]uint: - fastpathTV.EncMapFloat32UintV(v, e) - case *map[float32]uint: - fastpathTV.EncMapFloat32UintV(*v, e) - case map[float32]uint8: - fastpathTV.EncMapFloat32Uint8V(v, e) - case *map[float32]uint8: - fastpathTV.EncMapFloat32Uint8V(*v, e) - case map[float32]uint16: - fastpathTV.EncMapFloat32Uint16V(v, e) - case *map[float32]uint16: - fastpathTV.EncMapFloat32Uint16V(*v, e) - case map[float32]uint32: - fastpathTV.EncMapFloat32Uint32V(v, e) - case *map[float32]uint32: - fastpathTV.EncMapFloat32Uint32V(*v, e) - case map[float32]uint64: - fastpathTV.EncMapFloat32Uint64V(v, e) - case *map[float32]uint64: - fastpathTV.EncMapFloat32Uint64V(*v, e) - case map[float32]uintptr: - fastpathTV.EncMapFloat32UintptrV(v, e) - case *map[float32]uintptr: - fastpathTV.EncMapFloat32UintptrV(*v, e) - case map[float32]int: - fastpathTV.EncMapFloat32IntV(v, e) - case *map[float32]int: - fastpathTV.EncMapFloat32IntV(*v, e) - case map[float32]int8: - fastpathTV.EncMapFloat32Int8V(v, e) - case *map[float32]int8: - fastpathTV.EncMapFloat32Int8V(*v, e) - case map[float32]int16: - fastpathTV.EncMapFloat32Int16V(v, e) - case *map[float32]int16: - fastpathTV.EncMapFloat32Int16V(*v, e) - case map[float32]int32: - fastpathTV.EncMapFloat32Int32V(v, e) - case *map[float32]int32: - fastpathTV.EncMapFloat32Int32V(*v, e) - case map[float32]int64: - fastpathTV.EncMapFloat32Int64V(v, e) - case *map[float32]int64: - fastpathTV.EncMapFloat32Int64V(*v, e) - case map[float32]float32: - fastpathTV.EncMapFloat32Float32V(v, e) - case *map[float32]float32: - fastpathTV.EncMapFloat32Float32V(*v, e) - case map[float32]float64: - fastpathTV.EncMapFloat32Float64V(v, e) - case *map[float32]float64: - fastpathTV.EncMapFloat32Float64V(*v, e) - case map[float32]bool: - fastpathTV.EncMapFloat32BoolV(v, e) - case *map[float32]bool: - fastpathTV.EncMapFloat32BoolV(*v, e) - case map[float64]interface{}: - fastpathTV.EncMapFloat64IntfV(v, e) - case *map[float64]interface{}: - fastpathTV.EncMapFloat64IntfV(*v, e) - case map[float64]string: - fastpathTV.EncMapFloat64StringV(v, e) - case *map[float64]string: - fastpathTV.EncMapFloat64StringV(*v, e) - case map[float64]uint: - fastpathTV.EncMapFloat64UintV(v, e) - case *map[float64]uint: - fastpathTV.EncMapFloat64UintV(*v, e) - case map[float64]uint8: - fastpathTV.EncMapFloat64Uint8V(v, e) - case *map[float64]uint8: - fastpathTV.EncMapFloat64Uint8V(*v, e) - case map[float64]uint16: - fastpathTV.EncMapFloat64Uint16V(v, e) - case *map[float64]uint16: - fastpathTV.EncMapFloat64Uint16V(*v, e) - case map[float64]uint32: - fastpathTV.EncMapFloat64Uint32V(v, e) - case *map[float64]uint32: - fastpathTV.EncMapFloat64Uint32V(*v, e) - case map[float64]uint64: - fastpathTV.EncMapFloat64Uint64V(v, e) - case *map[float64]uint64: - fastpathTV.EncMapFloat64Uint64V(*v, e) - case map[float64]uintptr: - fastpathTV.EncMapFloat64UintptrV(v, e) - case *map[float64]uintptr: - fastpathTV.EncMapFloat64UintptrV(*v, e) - case map[float64]int: - fastpathTV.EncMapFloat64IntV(v, e) - case *map[float64]int: - fastpathTV.EncMapFloat64IntV(*v, e) - case map[float64]int8: - fastpathTV.EncMapFloat64Int8V(v, e) - case *map[float64]int8: - fastpathTV.EncMapFloat64Int8V(*v, e) - case map[float64]int16: - fastpathTV.EncMapFloat64Int16V(v, e) - case *map[float64]int16: - fastpathTV.EncMapFloat64Int16V(*v, e) - case map[float64]int32: - fastpathTV.EncMapFloat64Int32V(v, e) - case *map[float64]int32: - fastpathTV.EncMapFloat64Int32V(*v, e) - case map[float64]int64: - fastpathTV.EncMapFloat64Int64V(v, e) - case *map[float64]int64: - fastpathTV.EncMapFloat64Int64V(*v, e) - case map[float64]float32: - fastpathTV.EncMapFloat64Float32V(v, e) - case *map[float64]float32: - fastpathTV.EncMapFloat64Float32V(*v, e) - case map[float64]float64: - fastpathTV.EncMapFloat64Float64V(v, e) - case *map[float64]float64: - fastpathTV.EncMapFloat64Float64V(*v, e) - case map[float64]bool: - fastpathTV.EncMapFloat64BoolV(v, e) - case *map[float64]bool: - fastpathTV.EncMapFloat64BoolV(*v, e) - case map[uint]interface{}: - fastpathTV.EncMapUintIntfV(v, e) - case *map[uint]interface{}: - fastpathTV.EncMapUintIntfV(*v, e) - case map[uint]string: - fastpathTV.EncMapUintStringV(v, e) - case *map[uint]string: - fastpathTV.EncMapUintStringV(*v, e) - case map[uint]uint: - fastpathTV.EncMapUintUintV(v, e) - case *map[uint]uint: - fastpathTV.EncMapUintUintV(*v, e) - case map[uint]uint8: - fastpathTV.EncMapUintUint8V(v, e) - case *map[uint]uint8: - fastpathTV.EncMapUintUint8V(*v, e) - case map[uint]uint16: - fastpathTV.EncMapUintUint16V(v, e) - case *map[uint]uint16: - fastpathTV.EncMapUintUint16V(*v, e) - case map[uint]uint32: - fastpathTV.EncMapUintUint32V(v, e) - case *map[uint]uint32: - fastpathTV.EncMapUintUint32V(*v, e) - case map[uint]uint64: - fastpathTV.EncMapUintUint64V(v, e) - case *map[uint]uint64: - fastpathTV.EncMapUintUint64V(*v, e) - case map[uint]uintptr: - fastpathTV.EncMapUintUintptrV(v, e) - case *map[uint]uintptr: - fastpathTV.EncMapUintUintptrV(*v, e) - case map[uint]int: - fastpathTV.EncMapUintIntV(v, e) - case *map[uint]int: - fastpathTV.EncMapUintIntV(*v, e) - case map[uint]int8: - fastpathTV.EncMapUintInt8V(v, e) - case *map[uint]int8: - fastpathTV.EncMapUintInt8V(*v, e) - case map[uint]int16: - fastpathTV.EncMapUintInt16V(v, e) - case *map[uint]int16: - fastpathTV.EncMapUintInt16V(*v, e) - case map[uint]int32: - fastpathTV.EncMapUintInt32V(v, e) - case *map[uint]int32: - fastpathTV.EncMapUintInt32V(*v, e) - case map[uint]int64: - fastpathTV.EncMapUintInt64V(v, e) - case *map[uint]int64: - fastpathTV.EncMapUintInt64V(*v, e) - case map[uint]float32: - fastpathTV.EncMapUintFloat32V(v, e) - case *map[uint]float32: - fastpathTV.EncMapUintFloat32V(*v, e) - case map[uint]float64: - fastpathTV.EncMapUintFloat64V(v, e) - case *map[uint]float64: - fastpathTV.EncMapUintFloat64V(*v, e) - case map[uint]bool: - fastpathTV.EncMapUintBoolV(v, e) - case *map[uint]bool: - fastpathTV.EncMapUintBoolV(*v, e) - case map[uint8]interface{}: - fastpathTV.EncMapUint8IntfV(v, e) - case *map[uint8]interface{}: - fastpathTV.EncMapUint8IntfV(*v, e) - case map[uint8]string: - fastpathTV.EncMapUint8StringV(v, e) - case *map[uint8]string: - fastpathTV.EncMapUint8StringV(*v, e) - case map[uint8]uint: - fastpathTV.EncMapUint8UintV(v, e) - case *map[uint8]uint: - fastpathTV.EncMapUint8UintV(*v, e) - case map[uint8]uint8: - fastpathTV.EncMapUint8Uint8V(v, e) - case *map[uint8]uint8: - fastpathTV.EncMapUint8Uint8V(*v, e) - case map[uint8]uint16: - fastpathTV.EncMapUint8Uint16V(v, e) - case *map[uint8]uint16: - fastpathTV.EncMapUint8Uint16V(*v, e) - case map[uint8]uint32: - fastpathTV.EncMapUint8Uint32V(v, e) - case *map[uint8]uint32: - fastpathTV.EncMapUint8Uint32V(*v, e) - case map[uint8]uint64: - fastpathTV.EncMapUint8Uint64V(v, e) - case *map[uint8]uint64: - fastpathTV.EncMapUint8Uint64V(*v, e) - case map[uint8]uintptr: - fastpathTV.EncMapUint8UintptrV(v, e) - case *map[uint8]uintptr: - fastpathTV.EncMapUint8UintptrV(*v, e) - case map[uint8]int: - fastpathTV.EncMapUint8IntV(v, e) - case *map[uint8]int: - fastpathTV.EncMapUint8IntV(*v, e) - case map[uint8]int8: - fastpathTV.EncMapUint8Int8V(v, e) - case *map[uint8]int8: - fastpathTV.EncMapUint8Int8V(*v, e) - case map[uint8]int16: - fastpathTV.EncMapUint8Int16V(v, e) - case *map[uint8]int16: - fastpathTV.EncMapUint8Int16V(*v, e) - case map[uint8]int32: - fastpathTV.EncMapUint8Int32V(v, e) - case *map[uint8]int32: - fastpathTV.EncMapUint8Int32V(*v, e) - case map[uint8]int64: - fastpathTV.EncMapUint8Int64V(v, e) - case *map[uint8]int64: - fastpathTV.EncMapUint8Int64V(*v, e) - case map[uint8]float32: - fastpathTV.EncMapUint8Float32V(v, e) - case *map[uint8]float32: - fastpathTV.EncMapUint8Float32V(*v, e) - case map[uint8]float64: - fastpathTV.EncMapUint8Float64V(v, e) - case *map[uint8]float64: - fastpathTV.EncMapUint8Float64V(*v, e) - case map[uint8]bool: - fastpathTV.EncMapUint8BoolV(v, e) - case *map[uint8]bool: - fastpathTV.EncMapUint8BoolV(*v, e) - case map[uint16]interface{}: - fastpathTV.EncMapUint16IntfV(v, e) - case *map[uint16]interface{}: - fastpathTV.EncMapUint16IntfV(*v, e) - case map[uint16]string: - fastpathTV.EncMapUint16StringV(v, e) - case *map[uint16]string: - fastpathTV.EncMapUint16StringV(*v, e) - case map[uint16]uint: - fastpathTV.EncMapUint16UintV(v, e) - case *map[uint16]uint: - fastpathTV.EncMapUint16UintV(*v, e) - case map[uint16]uint8: - fastpathTV.EncMapUint16Uint8V(v, e) - case *map[uint16]uint8: - fastpathTV.EncMapUint16Uint8V(*v, e) - case map[uint16]uint16: - fastpathTV.EncMapUint16Uint16V(v, e) - case *map[uint16]uint16: - fastpathTV.EncMapUint16Uint16V(*v, e) - case map[uint16]uint32: - fastpathTV.EncMapUint16Uint32V(v, e) - case *map[uint16]uint32: - fastpathTV.EncMapUint16Uint32V(*v, e) - case map[uint16]uint64: - fastpathTV.EncMapUint16Uint64V(v, e) - case *map[uint16]uint64: - fastpathTV.EncMapUint16Uint64V(*v, e) - case map[uint16]uintptr: - fastpathTV.EncMapUint16UintptrV(v, e) - case *map[uint16]uintptr: - fastpathTV.EncMapUint16UintptrV(*v, e) - case map[uint16]int: - fastpathTV.EncMapUint16IntV(v, e) - case *map[uint16]int: - fastpathTV.EncMapUint16IntV(*v, e) - case map[uint16]int8: - fastpathTV.EncMapUint16Int8V(v, e) - case *map[uint16]int8: - fastpathTV.EncMapUint16Int8V(*v, e) - case map[uint16]int16: - fastpathTV.EncMapUint16Int16V(v, e) - case *map[uint16]int16: - fastpathTV.EncMapUint16Int16V(*v, e) - case map[uint16]int32: - fastpathTV.EncMapUint16Int32V(v, e) - case *map[uint16]int32: - fastpathTV.EncMapUint16Int32V(*v, e) - case map[uint16]int64: - fastpathTV.EncMapUint16Int64V(v, e) - case *map[uint16]int64: - fastpathTV.EncMapUint16Int64V(*v, e) - case map[uint16]float32: - fastpathTV.EncMapUint16Float32V(v, e) - case *map[uint16]float32: - fastpathTV.EncMapUint16Float32V(*v, e) - case map[uint16]float64: - fastpathTV.EncMapUint16Float64V(v, e) - case *map[uint16]float64: - fastpathTV.EncMapUint16Float64V(*v, e) - case map[uint16]bool: - fastpathTV.EncMapUint16BoolV(v, e) - case *map[uint16]bool: - fastpathTV.EncMapUint16BoolV(*v, e) - case map[uint32]interface{}: - fastpathTV.EncMapUint32IntfV(v, e) - case *map[uint32]interface{}: - fastpathTV.EncMapUint32IntfV(*v, e) - case map[uint32]string: - fastpathTV.EncMapUint32StringV(v, e) - case *map[uint32]string: - fastpathTV.EncMapUint32StringV(*v, e) - case map[uint32]uint: - fastpathTV.EncMapUint32UintV(v, e) - case *map[uint32]uint: - fastpathTV.EncMapUint32UintV(*v, e) - case map[uint32]uint8: - fastpathTV.EncMapUint32Uint8V(v, e) - case *map[uint32]uint8: - fastpathTV.EncMapUint32Uint8V(*v, e) - case map[uint32]uint16: - fastpathTV.EncMapUint32Uint16V(v, e) - case *map[uint32]uint16: - fastpathTV.EncMapUint32Uint16V(*v, e) - case map[uint32]uint32: - fastpathTV.EncMapUint32Uint32V(v, e) - case *map[uint32]uint32: - fastpathTV.EncMapUint32Uint32V(*v, e) - case map[uint32]uint64: - fastpathTV.EncMapUint32Uint64V(v, e) - case *map[uint32]uint64: - fastpathTV.EncMapUint32Uint64V(*v, e) - case map[uint32]uintptr: - fastpathTV.EncMapUint32UintptrV(v, e) - case *map[uint32]uintptr: - fastpathTV.EncMapUint32UintptrV(*v, e) - case map[uint32]int: - fastpathTV.EncMapUint32IntV(v, e) - case *map[uint32]int: - fastpathTV.EncMapUint32IntV(*v, e) - case map[uint32]int8: - fastpathTV.EncMapUint32Int8V(v, e) - case *map[uint32]int8: - fastpathTV.EncMapUint32Int8V(*v, e) - case map[uint32]int16: - fastpathTV.EncMapUint32Int16V(v, e) - case *map[uint32]int16: - fastpathTV.EncMapUint32Int16V(*v, e) - case map[uint32]int32: - fastpathTV.EncMapUint32Int32V(v, e) - case *map[uint32]int32: - fastpathTV.EncMapUint32Int32V(*v, e) - case map[uint32]int64: - fastpathTV.EncMapUint32Int64V(v, e) - case *map[uint32]int64: - fastpathTV.EncMapUint32Int64V(*v, e) - case map[uint32]float32: - fastpathTV.EncMapUint32Float32V(v, e) - case *map[uint32]float32: - fastpathTV.EncMapUint32Float32V(*v, e) - case map[uint32]float64: - fastpathTV.EncMapUint32Float64V(v, e) - case *map[uint32]float64: - fastpathTV.EncMapUint32Float64V(*v, e) - case map[uint32]bool: - fastpathTV.EncMapUint32BoolV(v, e) - case *map[uint32]bool: - fastpathTV.EncMapUint32BoolV(*v, e) - case map[uint64]interface{}: - fastpathTV.EncMapUint64IntfV(v, e) - case *map[uint64]interface{}: - fastpathTV.EncMapUint64IntfV(*v, e) - case map[uint64]string: - fastpathTV.EncMapUint64StringV(v, e) - case *map[uint64]string: - fastpathTV.EncMapUint64StringV(*v, e) - case map[uint64]uint: - fastpathTV.EncMapUint64UintV(v, e) - case *map[uint64]uint: - fastpathTV.EncMapUint64UintV(*v, e) - case map[uint64]uint8: - fastpathTV.EncMapUint64Uint8V(v, e) - case *map[uint64]uint8: - fastpathTV.EncMapUint64Uint8V(*v, e) - case map[uint64]uint16: - fastpathTV.EncMapUint64Uint16V(v, e) - case *map[uint64]uint16: - fastpathTV.EncMapUint64Uint16V(*v, e) - case map[uint64]uint32: - fastpathTV.EncMapUint64Uint32V(v, e) - case *map[uint64]uint32: - fastpathTV.EncMapUint64Uint32V(*v, e) - case map[uint64]uint64: - fastpathTV.EncMapUint64Uint64V(v, e) - case *map[uint64]uint64: - fastpathTV.EncMapUint64Uint64V(*v, e) - case map[uint64]uintptr: - fastpathTV.EncMapUint64UintptrV(v, e) - case *map[uint64]uintptr: - fastpathTV.EncMapUint64UintptrV(*v, e) - case map[uint64]int: - fastpathTV.EncMapUint64IntV(v, e) - case *map[uint64]int: - fastpathTV.EncMapUint64IntV(*v, e) - case map[uint64]int8: - fastpathTV.EncMapUint64Int8V(v, e) - case *map[uint64]int8: - fastpathTV.EncMapUint64Int8V(*v, e) - case map[uint64]int16: - fastpathTV.EncMapUint64Int16V(v, e) - case *map[uint64]int16: - fastpathTV.EncMapUint64Int16V(*v, e) - case map[uint64]int32: - fastpathTV.EncMapUint64Int32V(v, e) - case *map[uint64]int32: - fastpathTV.EncMapUint64Int32V(*v, e) - case map[uint64]int64: - fastpathTV.EncMapUint64Int64V(v, e) - case *map[uint64]int64: - fastpathTV.EncMapUint64Int64V(*v, e) - case map[uint64]float32: - fastpathTV.EncMapUint64Float32V(v, e) - case *map[uint64]float32: - fastpathTV.EncMapUint64Float32V(*v, e) - case map[uint64]float64: - fastpathTV.EncMapUint64Float64V(v, e) - case *map[uint64]float64: - fastpathTV.EncMapUint64Float64V(*v, e) - case map[uint64]bool: - fastpathTV.EncMapUint64BoolV(v, e) - case *map[uint64]bool: - fastpathTV.EncMapUint64BoolV(*v, e) - case map[uintptr]interface{}: - fastpathTV.EncMapUintptrIntfV(v, e) - case *map[uintptr]interface{}: - fastpathTV.EncMapUintptrIntfV(*v, e) - case map[uintptr]string: - fastpathTV.EncMapUintptrStringV(v, e) - case *map[uintptr]string: - fastpathTV.EncMapUintptrStringV(*v, e) - case map[uintptr]uint: - fastpathTV.EncMapUintptrUintV(v, e) - case *map[uintptr]uint: - fastpathTV.EncMapUintptrUintV(*v, e) - case map[uintptr]uint8: - fastpathTV.EncMapUintptrUint8V(v, e) - case *map[uintptr]uint8: - fastpathTV.EncMapUintptrUint8V(*v, e) - case map[uintptr]uint16: - fastpathTV.EncMapUintptrUint16V(v, e) - case *map[uintptr]uint16: - fastpathTV.EncMapUintptrUint16V(*v, e) - case map[uintptr]uint32: - fastpathTV.EncMapUintptrUint32V(v, e) - case *map[uintptr]uint32: - fastpathTV.EncMapUintptrUint32V(*v, e) - case map[uintptr]uint64: - fastpathTV.EncMapUintptrUint64V(v, e) - case *map[uintptr]uint64: - fastpathTV.EncMapUintptrUint64V(*v, e) - case map[uintptr]uintptr: - fastpathTV.EncMapUintptrUintptrV(v, e) - case *map[uintptr]uintptr: - fastpathTV.EncMapUintptrUintptrV(*v, e) - case map[uintptr]int: - fastpathTV.EncMapUintptrIntV(v, e) - case *map[uintptr]int: - fastpathTV.EncMapUintptrIntV(*v, e) - case map[uintptr]int8: - fastpathTV.EncMapUintptrInt8V(v, e) - case *map[uintptr]int8: - fastpathTV.EncMapUintptrInt8V(*v, e) - case map[uintptr]int16: - fastpathTV.EncMapUintptrInt16V(v, e) - case *map[uintptr]int16: - fastpathTV.EncMapUintptrInt16V(*v, e) - case map[uintptr]int32: - fastpathTV.EncMapUintptrInt32V(v, e) - case *map[uintptr]int32: - fastpathTV.EncMapUintptrInt32V(*v, e) - case map[uintptr]int64: - fastpathTV.EncMapUintptrInt64V(v, e) - case *map[uintptr]int64: - fastpathTV.EncMapUintptrInt64V(*v, e) - case map[uintptr]float32: - fastpathTV.EncMapUintptrFloat32V(v, e) - case *map[uintptr]float32: - fastpathTV.EncMapUintptrFloat32V(*v, e) - case map[uintptr]float64: - fastpathTV.EncMapUintptrFloat64V(v, e) - case *map[uintptr]float64: - fastpathTV.EncMapUintptrFloat64V(*v, e) - case map[uintptr]bool: - fastpathTV.EncMapUintptrBoolV(v, e) - case *map[uintptr]bool: - fastpathTV.EncMapUintptrBoolV(*v, e) - case map[int]interface{}: - fastpathTV.EncMapIntIntfV(v, e) - case *map[int]interface{}: - fastpathTV.EncMapIntIntfV(*v, e) - case map[int]string: - fastpathTV.EncMapIntStringV(v, e) - case *map[int]string: - fastpathTV.EncMapIntStringV(*v, e) - case map[int]uint: - fastpathTV.EncMapIntUintV(v, e) - case *map[int]uint: - fastpathTV.EncMapIntUintV(*v, e) - case map[int]uint8: - fastpathTV.EncMapIntUint8V(v, e) - case *map[int]uint8: - fastpathTV.EncMapIntUint8V(*v, e) - case map[int]uint16: - fastpathTV.EncMapIntUint16V(v, e) - case *map[int]uint16: - fastpathTV.EncMapIntUint16V(*v, e) - case map[int]uint32: - fastpathTV.EncMapIntUint32V(v, e) - case *map[int]uint32: - fastpathTV.EncMapIntUint32V(*v, e) - case map[int]uint64: - fastpathTV.EncMapIntUint64V(v, e) - case *map[int]uint64: - fastpathTV.EncMapIntUint64V(*v, e) - case map[int]uintptr: - fastpathTV.EncMapIntUintptrV(v, e) - case *map[int]uintptr: - fastpathTV.EncMapIntUintptrV(*v, e) - case map[int]int: - fastpathTV.EncMapIntIntV(v, e) - case *map[int]int: - fastpathTV.EncMapIntIntV(*v, e) - case map[int]int8: - fastpathTV.EncMapIntInt8V(v, e) - case *map[int]int8: - fastpathTV.EncMapIntInt8V(*v, e) - case map[int]int16: - fastpathTV.EncMapIntInt16V(v, e) - case *map[int]int16: - fastpathTV.EncMapIntInt16V(*v, e) - case map[int]int32: - fastpathTV.EncMapIntInt32V(v, e) - case *map[int]int32: - fastpathTV.EncMapIntInt32V(*v, e) - case map[int]int64: - fastpathTV.EncMapIntInt64V(v, e) - case *map[int]int64: - fastpathTV.EncMapIntInt64V(*v, e) - case map[int]float32: - fastpathTV.EncMapIntFloat32V(v, e) - case *map[int]float32: - fastpathTV.EncMapIntFloat32V(*v, e) - case map[int]float64: - fastpathTV.EncMapIntFloat64V(v, e) - case *map[int]float64: - fastpathTV.EncMapIntFloat64V(*v, e) - case map[int]bool: - fastpathTV.EncMapIntBoolV(v, e) - case *map[int]bool: - fastpathTV.EncMapIntBoolV(*v, e) - case map[int8]interface{}: - fastpathTV.EncMapInt8IntfV(v, e) - case *map[int8]interface{}: - fastpathTV.EncMapInt8IntfV(*v, e) - case map[int8]string: - fastpathTV.EncMapInt8StringV(v, e) - case *map[int8]string: - fastpathTV.EncMapInt8StringV(*v, e) - case map[int8]uint: - fastpathTV.EncMapInt8UintV(v, e) - case *map[int8]uint: - fastpathTV.EncMapInt8UintV(*v, e) - case map[int8]uint8: - fastpathTV.EncMapInt8Uint8V(v, e) - case *map[int8]uint8: - fastpathTV.EncMapInt8Uint8V(*v, e) - case map[int8]uint16: - fastpathTV.EncMapInt8Uint16V(v, e) - case *map[int8]uint16: - fastpathTV.EncMapInt8Uint16V(*v, e) - case map[int8]uint32: - fastpathTV.EncMapInt8Uint32V(v, e) - case *map[int8]uint32: - fastpathTV.EncMapInt8Uint32V(*v, e) - case map[int8]uint64: - fastpathTV.EncMapInt8Uint64V(v, e) - case *map[int8]uint64: - fastpathTV.EncMapInt8Uint64V(*v, e) - case map[int8]uintptr: - fastpathTV.EncMapInt8UintptrV(v, e) - case *map[int8]uintptr: - fastpathTV.EncMapInt8UintptrV(*v, e) - case map[int8]int: - fastpathTV.EncMapInt8IntV(v, e) - case *map[int8]int: - fastpathTV.EncMapInt8IntV(*v, e) - case map[int8]int8: - fastpathTV.EncMapInt8Int8V(v, e) - case *map[int8]int8: - fastpathTV.EncMapInt8Int8V(*v, e) - case map[int8]int16: - fastpathTV.EncMapInt8Int16V(v, e) - case *map[int8]int16: - fastpathTV.EncMapInt8Int16V(*v, e) - case map[int8]int32: - fastpathTV.EncMapInt8Int32V(v, e) - case *map[int8]int32: - fastpathTV.EncMapInt8Int32V(*v, e) - case map[int8]int64: - fastpathTV.EncMapInt8Int64V(v, e) - case *map[int8]int64: - fastpathTV.EncMapInt8Int64V(*v, e) - case map[int8]float32: - fastpathTV.EncMapInt8Float32V(v, e) - case *map[int8]float32: - fastpathTV.EncMapInt8Float32V(*v, e) - case map[int8]float64: - fastpathTV.EncMapInt8Float64V(v, e) - case *map[int8]float64: - fastpathTV.EncMapInt8Float64V(*v, e) - case map[int8]bool: - fastpathTV.EncMapInt8BoolV(v, e) - case *map[int8]bool: - fastpathTV.EncMapInt8BoolV(*v, e) - case map[int16]interface{}: - fastpathTV.EncMapInt16IntfV(v, e) - case *map[int16]interface{}: - fastpathTV.EncMapInt16IntfV(*v, e) - case map[int16]string: - fastpathTV.EncMapInt16StringV(v, e) - case *map[int16]string: - fastpathTV.EncMapInt16StringV(*v, e) - case map[int16]uint: - fastpathTV.EncMapInt16UintV(v, e) - case *map[int16]uint: - fastpathTV.EncMapInt16UintV(*v, e) - case map[int16]uint8: - fastpathTV.EncMapInt16Uint8V(v, e) - case *map[int16]uint8: - fastpathTV.EncMapInt16Uint8V(*v, e) - case map[int16]uint16: - fastpathTV.EncMapInt16Uint16V(v, e) - case *map[int16]uint16: - fastpathTV.EncMapInt16Uint16V(*v, e) - case map[int16]uint32: - fastpathTV.EncMapInt16Uint32V(v, e) - case *map[int16]uint32: - fastpathTV.EncMapInt16Uint32V(*v, e) - case map[int16]uint64: - fastpathTV.EncMapInt16Uint64V(v, e) - case *map[int16]uint64: - fastpathTV.EncMapInt16Uint64V(*v, e) - case map[int16]uintptr: - fastpathTV.EncMapInt16UintptrV(v, e) - case *map[int16]uintptr: - fastpathTV.EncMapInt16UintptrV(*v, e) - case map[int16]int: - fastpathTV.EncMapInt16IntV(v, e) - case *map[int16]int: - fastpathTV.EncMapInt16IntV(*v, e) - case map[int16]int8: - fastpathTV.EncMapInt16Int8V(v, e) - case *map[int16]int8: - fastpathTV.EncMapInt16Int8V(*v, e) - case map[int16]int16: - fastpathTV.EncMapInt16Int16V(v, e) - case *map[int16]int16: - fastpathTV.EncMapInt16Int16V(*v, e) - case map[int16]int32: - fastpathTV.EncMapInt16Int32V(v, e) - case *map[int16]int32: - fastpathTV.EncMapInt16Int32V(*v, e) - case map[int16]int64: - fastpathTV.EncMapInt16Int64V(v, e) - case *map[int16]int64: - fastpathTV.EncMapInt16Int64V(*v, e) - case map[int16]float32: - fastpathTV.EncMapInt16Float32V(v, e) - case *map[int16]float32: - fastpathTV.EncMapInt16Float32V(*v, e) - case map[int16]float64: - fastpathTV.EncMapInt16Float64V(v, e) - case *map[int16]float64: - fastpathTV.EncMapInt16Float64V(*v, e) - case map[int16]bool: - fastpathTV.EncMapInt16BoolV(v, e) - case *map[int16]bool: - fastpathTV.EncMapInt16BoolV(*v, e) - case map[int32]interface{}: - fastpathTV.EncMapInt32IntfV(v, e) - case *map[int32]interface{}: - fastpathTV.EncMapInt32IntfV(*v, e) - case map[int32]string: - fastpathTV.EncMapInt32StringV(v, e) - case *map[int32]string: - fastpathTV.EncMapInt32StringV(*v, e) - case map[int32]uint: - fastpathTV.EncMapInt32UintV(v, e) - case *map[int32]uint: - fastpathTV.EncMapInt32UintV(*v, e) - case map[int32]uint8: - fastpathTV.EncMapInt32Uint8V(v, e) - case *map[int32]uint8: - fastpathTV.EncMapInt32Uint8V(*v, e) - case map[int32]uint16: - fastpathTV.EncMapInt32Uint16V(v, e) - case *map[int32]uint16: - fastpathTV.EncMapInt32Uint16V(*v, e) - case map[int32]uint32: - fastpathTV.EncMapInt32Uint32V(v, e) - case *map[int32]uint32: - fastpathTV.EncMapInt32Uint32V(*v, e) - case map[int32]uint64: - fastpathTV.EncMapInt32Uint64V(v, e) - case *map[int32]uint64: - fastpathTV.EncMapInt32Uint64V(*v, e) - case map[int32]uintptr: - fastpathTV.EncMapInt32UintptrV(v, e) - case *map[int32]uintptr: - fastpathTV.EncMapInt32UintptrV(*v, e) - case map[int32]int: - fastpathTV.EncMapInt32IntV(v, e) - case *map[int32]int: - fastpathTV.EncMapInt32IntV(*v, e) - case map[int32]int8: - fastpathTV.EncMapInt32Int8V(v, e) - case *map[int32]int8: - fastpathTV.EncMapInt32Int8V(*v, e) - case map[int32]int16: - fastpathTV.EncMapInt32Int16V(v, e) - case *map[int32]int16: - fastpathTV.EncMapInt32Int16V(*v, e) - case map[int32]int32: - fastpathTV.EncMapInt32Int32V(v, e) - case *map[int32]int32: - fastpathTV.EncMapInt32Int32V(*v, e) - case map[int32]int64: - fastpathTV.EncMapInt32Int64V(v, e) - case *map[int32]int64: - fastpathTV.EncMapInt32Int64V(*v, e) - case map[int32]float32: - fastpathTV.EncMapInt32Float32V(v, e) - case *map[int32]float32: - fastpathTV.EncMapInt32Float32V(*v, e) - case map[int32]float64: - fastpathTV.EncMapInt32Float64V(v, e) - case *map[int32]float64: - fastpathTV.EncMapInt32Float64V(*v, e) - case map[int32]bool: - fastpathTV.EncMapInt32BoolV(v, e) - case *map[int32]bool: - fastpathTV.EncMapInt32BoolV(*v, e) - case map[int64]interface{}: - fastpathTV.EncMapInt64IntfV(v, e) - case *map[int64]interface{}: - fastpathTV.EncMapInt64IntfV(*v, e) - case map[int64]string: - fastpathTV.EncMapInt64StringV(v, e) - case *map[int64]string: - fastpathTV.EncMapInt64StringV(*v, e) - case map[int64]uint: - fastpathTV.EncMapInt64UintV(v, e) - case *map[int64]uint: - fastpathTV.EncMapInt64UintV(*v, e) - case map[int64]uint8: - fastpathTV.EncMapInt64Uint8V(v, e) - case *map[int64]uint8: - fastpathTV.EncMapInt64Uint8V(*v, e) - case map[int64]uint16: - fastpathTV.EncMapInt64Uint16V(v, e) - case *map[int64]uint16: - fastpathTV.EncMapInt64Uint16V(*v, e) - case map[int64]uint32: - fastpathTV.EncMapInt64Uint32V(v, e) - case *map[int64]uint32: - fastpathTV.EncMapInt64Uint32V(*v, e) - case map[int64]uint64: - fastpathTV.EncMapInt64Uint64V(v, e) - case *map[int64]uint64: - fastpathTV.EncMapInt64Uint64V(*v, e) - case map[int64]uintptr: - fastpathTV.EncMapInt64UintptrV(v, e) - case *map[int64]uintptr: - fastpathTV.EncMapInt64UintptrV(*v, e) - case map[int64]int: - fastpathTV.EncMapInt64IntV(v, e) - case *map[int64]int: - fastpathTV.EncMapInt64IntV(*v, e) - case map[int64]int8: - fastpathTV.EncMapInt64Int8V(v, e) - case *map[int64]int8: - fastpathTV.EncMapInt64Int8V(*v, e) - case map[int64]int16: - fastpathTV.EncMapInt64Int16V(v, e) - case *map[int64]int16: - fastpathTV.EncMapInt64Int16V(*v, e) - case map[int64]int32: - fastpathTV.EncMapInt64Int32V(v, e) - case *map[int64]int32: - fastpathTV.EncMapInt64Int32V(*v, e) - case map[int64]int64: - fastpathTV.EncMapInt64Int64V(v, e) - case *map[int64]int64: - fastpathTV.EncMapInt64Int64V(*v, e) - case map[int64]float32: - fastpathTV.EncMapInt64Float32V(v, e) - case *map[int64]float32: - fastpathTV.EncMapInt64Float32V(*v, e) - case map[int64]float64: - fastpathTV.EncMapInt64Float64V(v, e) - case *map[int64]float64: - fastpathTV.EncMapInt64Float64V(*v, e) - case map[int64]bool: - fastpathTV.EncMapInt64BoolV(v, e) - case *map[int64]bool: - fastpathTV.EncMapInt64BoolV(*v, e) - case map[bool]interface{}: - fastpathTV.EncMapBoolIntfV(v, e) - case *map[bool]interface{}: - fastpathTV.EncMapBoolIntfV(*v, e) - case map[bool]string: - fastpathTV.EncMapBoolStringV(v, e) - case *map[bool]string: - fastpathTV.EncMapBoolStringV(*v, e) - case map[bool]uint: - fastpathTV.EncMapBoolUintV(v, e) - case *map[bool]uint: - fastpathTV.EncMapBoolUintV(*v, e) - case map[bool]uint8: - fastpathTV.EncMapBoolUint8V(v, e) - case *map[bool]uint8: - fastpathTV.EncMapBoolUint8V(*v, e) - case map[bool]uint16: - fastpathTV.EncMapBoolUint16V(v, e) - case *map[bool]uint16: - fastpathTV.EncMapBoolUint16V(*v, e) - case map[bool]uint32: - fastpathTV.EncMapBoolUint32V(v, e) - case *map[bool]uint32: - fastpathTV.EncMapBoolUint32V(*v, e) - case map[bool]uint64: - fastpathTV.EncMapBoolUint64V(v, e) - case *map[bool]uint64: - fastpathTV.EncMapBoolUint64V(*v, e) - case map[bool]uintptr: - fastpathTV.EncMapBoolUintptrV(v, e) - case *map[bool]uintptr: - fastpathTV.EncMapBoolUintptrV(*v, e) - case map[bool]int: - fastpathTV.EncMapBoolIntV(v, e) - case *map[bool]int: - fastpathTV.EncMapBoolIntV(*v, e) - case map[bool]int8: - fastpathTV.EncMapBoolInt8V(v, e) - case *map[bool]int8: - fastpathTV.EncMapBoolInt8V(*v, e) - case map[bool]int16: - fastpathTV.EncMapBoolInt16V(v, e) - case *map[bool]int16: - fastpathTV.EncMapBoolInt16V(*v, e) - case map[bool]int32: - fastpathTV.EncMapBoolInt32V(v, e) - case *map[bool]int32: - fastpathTV.EncMapBoolInt32V(*v, e) - case map[bool]int64: - fastpathTV.EncMapBoolInt64V(v, e) - case *map[bool]int64: - fastpathTV.EncMapBoolInt64V(*v, e) - case map[bool]float32: - fastpathTV.EncMapBoolFloat32V(v, e) - case *map[bool]float32: - fastpathTV.EncMapBoolFloat32V(*v, e) - case map[bool]float64: - fastpathTV.EncMapBoolFloat64V(v, e) - case *map[bool]float64: - fastpathTV.EncMapBoolFloat64V(*v, e) - case map[bool]bool: - fastpathTV.EncMapBoolBoolV(v, e) - case *map[bool]bool: - fastpathTV.EncMapBoolBoolV(*v, e) - - default: - _ = v // workaround https://github.com/golang/go/issues/12927 seen in go1.4 - return false - } - return true -} - -// -- -- fast path functions - -func (e *Encoder) fastpathEncSliceIntfR(f *codecFnInfo, rv reflect.Value) { - if f.ti.mbs { - fastpathTV.EncAsMapSliceIntfV(rv2i(rv).([]interface{}), e) - } else { - fastpathTV.EncSliceIntfV(rv2i(rv).([]interface{}), e) - } -} -func (_ fastpathT) EncSliceIntfV(v []interface{}, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteArrayStart(len(v)) - for _, v2 := range v { - if esep { - ee.WriteArrayElem() - } - e.encode(v2) - } - ee.WriteArrayEnd() -} -func (_ fastpathT) EncAsMapSliceIntfV(v []interface{}, e *Encoder) { - ee, esep := e.e, e.hh.hasElemSeparators() - if len(v)%2 == 1 { - e.errorf(fastpathMapBySliceErrMsg, len(v)) - return - } - ee.WriteMapStart(len(v) / 2) - for j, v2 := range v { - if esep { - if j%2 == 0 { - ee.WriteMapElemKey() - } else { - ee.WriteMapElemValue() - } - } - e.encode(v2) - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncSliceStringR(f *codecFnInfo, rv reflect.Value) { - if f.ti.mbs { - fastpathTV.EncAsMapSliceStringV(rv2i(rv).([]string), e) - } else { - fastpathTV.EncSliceStringV(rv2i(rv).([]string), e) - } -} -func (_ fastpathT) EncSliceStringV(v []string, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteArrayStart(len(v)) - for _, v2 := range v { - if esep { - ee.WriteArrayElem() - } - if e.h.StringToRaw { - ee.EncodeStringBytesRaw(bytesView(v2)) - } else { - ee.EncodeStringEnc(cUTF8, v2) - } - } - ee.WriteArrayEnd() -} -func (_ fastpathT) EncAsMapSliceStringV(v []string, e *Encoder) { - ee, esep := e.e, e.hh.hasElemSeparators() - if len(v)%2 == 1 { - e.errorf(fastpathMapBySliceErrMsg, len(v)) - return - } - ee.WriteMapStart(len(v) / 2) - for j, v2 := range v { - if esep { - if j%2 == 0 { - ee.WriteMapElemKey() - } else { - ee.WriteMapElemValue() - } - } - if e.h.StringToRaw { - ee.EncodeStringBytesRaw(bytesView(v2)) - } else { - ee.EncodeStringEnc(cUTF8, v2) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncSliceFloat32R(f *codecFnInfo, rv reflect.Value) { - if f.ti.mbs { - fastpathTV.EncAsMapSliceFloat32V(rv2i(rv).([]float32), e) - } else { - fastpathTV.EncSliceFloat32V(rv2i(rv).([]float32), e) - } -} -func (_ fastpathT) EncSliceFloat32V(v []float32, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteArrayStart(len(v)) - for _, v2 := range v { - if esep { - ee.WriteArrayElem() - } - ee.EncodeFloat32(v2) - } - ee.WriteArrayEnd() -} -func (_ fastpathT) EncAsMapSliceFloat32V(v []float32, e *Encoder) { - ee, esep := e.e, e.hh.hasElemSeparators() - if len(v)%2 == 1 { - e.errorf(fastpathMapBySliceErrMsg, len(v)) - return - } - ee.WriteMapStart(len(v) / 2) - for j, v2 := range v { - if esep { - if j%2 == 0 { - ee.WriteMapElemKey() - } else { - ee.WriteMapElemValue() - } - } - ee.EncodeFloat32(v2) - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncSliceFloat64R(f *codecFnInfo, rv reflect.Value) { - if f.ti.mbs { - fastpathTV.EncAsMapSliceFloat64V(rv2i(rv).([]float64), e) - } else { - fastpathTV.EncSliceFloat64V(rv2i(rv).([]float64), e) - } -} -func (_ fastpathT) EncSliceFloat64V(v []float64, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteArrayStart(len(v)) - for _, v2 := range v { - if esep { - ee.WriteArrayElem() - } - ee.EncodeFloat64(v2) - } - ee.WriteArrayEnd() -} -func (_ fastpathT) EncAsMapSliceFloat64V(v []float64, e *Encoder) { - ee, esep := e.e, e.hh.hasElemSeparators() - if len(v)%2 == 1 { - e.errorf(fastpathMapBySliceErrMsg, len(v)) - return - } - ee.WriteMapStart(len(v) / 2) - for j, v2 := range v { - if esep { - if j%2 == 0 { - ee.WriteMapElemKey() - } else { - ee.WriteMapElemValue() - } - } - ee.EncodeFloat64(v2) - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncSliceUintR(f *codecFnInfo, rv reflect.Value) { - if f.ti.mbs { - fastpathTV.EncAsMapSliceUintV(rv2i(rv).([]uint), e) - } else { - fastpathTV.EncSliceUintV(rv2i(rv).([]uint), e) - } -} -func (_ fastpathT) EncSliceUintV(v []uint, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteArrayStart(len(v)) - for _, v2 := range v { - if esep { - ee.WriteArrayElem() - } - ee.EncodeUint(uint64(v2)) - } - ee.WriteArrayEnd() -} -func (_ fastpathT) EncAsMapSliceUintV(v []uint, e *Encoder) { - ee, esep := e.e, e.hh.hasElemSeparators() - if len(v)%2 == 1 { - e.errorf(fastpathMapBySliceErrMsg, len(v)) - return - } - ee.WriteMapStart(len(v) / 2) - for j, v2 := range v { - if esep { - if j%2 == 0 { - ee.WriteMapElemKey() - } else { - ee.WriteMapElemValue() - } - } - ee.EncodeUint(uint64(v2)) - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncSliceUint8R(f *codecFnInfo, rv reflect.Value) { - if f.ti.mbs { - fastpathTV.EncAsMapSliceUint8V(rv2i(rv).([]uint8), e) - } else { - fastpathTV.EncSliceUint8V(rv2i(rv).([]uint8), e) - } -} -func (_ fastpathT) EncSliceUint8V(v []uint8, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteArrayStart(len(v)) - for _, v2 := range v { - if esep { - ee.WriteArrayElem() - } - ee.EncodeUint(uint64(v2)) - } - ee.WriteArrayEnd() -} -func (_ fastpathT) EncAsMapSliceUint8V(v []uint8, e *Encoder) { - ee, esep := e.e, e.hh.hasElemSeparators() - if len(v)%2 == 1 { - e.errorf(fastpathMapBySliceErrMsg, len(v)) - return - } - ee.WriteMapStart(len(v) / 2) - for j, v2 := range v { - if esep { - if j%2 == 0 { - ee.WriteMapElemKey() - } else { - ee.WriteMapElemValue() - } - } - ee.EncodeUint(uint64(v2)) - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncSliceUint16R(f *codecFnInfo, rv reflect.Value) { - if f.ti.mbs { - fastpathTV.EncAsMapSliceUint16V(rv2i(rv).([]uint16), e) - } else { - fastpathTV.EncSliceUint16V(rv2i(rv).([]uint16), e) - } -} -func (_ fastpathT) EncSliceUint16V(v []uint16, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteArrayStart(len(v)) - for _, v2 := range v { - if esep { - ee.WriteArrayElem() - } - ee.EncodeUint(uint64(v2)) - } - ee.WriteArrayEnd() -} -func (_ fastpathT) EncAsMapSliceUint16V(v []uint16, e *Encoder) { - ee, esep := e.e, e.hh.hasElemSeparators() - if len(v)%2 == 1 { - e.errorf(fastpathMapBySliceErrMsg, len(v)) - return - } - ee.WriteMapStart(len(v) / 2) - for j, v2 := range v { - if esep { - if j%2 == 0 { - ee.WriteMapElemKey() - } else { - ee.WriteMapElemValue() - } - } - ee.EncodeUint(uint64(v2)) - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncSliceUint32R(f *codecFnInfo, rv reflect.Value) { - if f.ti.mbs { - fastpathTV.EncAsMapSliceUint32V(rv2i(rv).([]uint32), e) - } else { - fastpathTV.EncSliceUint32V(rv2i(rv).([]uint32), e) - } -} -func (_ fastpathT) EncSliceUint32V(v []uint32, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteArrayStart(len(v)) - for _, v2 := range v { - if esep { - ee.WriteArrayElem() - } - ee.EncodeUint(uint64(v2)) - } - ee.WriteArrayEnd() -} -func (_ fastpathT) EncAsMapSliceUint32V(v []uint32, e *Encoder) { - ee, esep := e.e, e.hh.hasElemSeparators() - if len(v)%2 == 1 { - e.errorf(fastpathMapBySliceErrMsg, len(v)) - return - } - ee.WriteMapStart(len(v) / 2) - for j, v2 := range v { - if esep { - if j%2 == 0 { - ee.WriteMapElemKey() - } else { - ee.WriteMapElemValue() - } - } - ee.EncodeUint(uint64(v2)) - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncSliceUint64R(f *codecFnInfo, rv reflect.Value) { - if f.ti.mbs { - fastpathTV.EncAsMapSliceUint64V(rv2i(rv).([]uint64), e) - } else { - fastpathTV.EncSliceUint64V(rv2i(rv).([]uint64), e) - } -} -func (_ fastpathT) EncSliceUint64V(v []uint64, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteArrayStart(len(v)) - for _, v2 := range v { - if esep { - ee.WriteArrayElem() - } - ee.EncodeUint(uint64(v2)) - } - ee.WriteArrayEnd() -} -func (_ fastpathT) EncAsMapSliceUint64V(v []uint64, e *Encoder) { - ee, esep := e.e, e.hh.hasElemSeparators() - if len(v)%2 == 1 { - e.errorf(fastpathMapBySliceErrMsg, len(v)) - return - } - ee.WriteMapStart(len(v) / 2) - for j, v2 := range v { - if esep { - if j%2 == 0 { - ee.WriteMapElemKey() - } else { - ee.WriteMapElemValue() - } - } - ee.EncodeUint(uint64(v2)) - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncSliceUintptrR(f *codecFnInfo, rv reflect.Value) { - if f.ti.mbs { - fastpathTV.EncAsMapSliceUintptrV(rv2i(rv).([]uintptr), e) - } else { - fastpathTV.EncSliceUintptrV(rv2i(rv).([]uintptr), e) - } -} -func (_ fastpathT) EncSliceUintptrV(v []uintptr, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteArrayStart(len(v)) - for _, v2 := range v { - if esep { - ee.WriteArrayElem() - } - e.encode(v2) - } - ee.WriteArrayEnd() -} -func (_ fastpathT) EncAsMapSliceUintptrV(v []uintptr, e *Encoder) { - ee, esep := e.e, e.hh.hasElemSeparators() - if len(v)%2 == 1 { - e.errorf(fastpathMapBySliceErrMsg, len(v)) - return - } - ee.WriteMapStart(len(v) / 2) - for j, v2 := range v { - if esep { - if j%2 == 0 { - ee.WriteMapElemKey() - } else { - ee.WriteMapElemValue() - } - } - e.encode(v2) - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncSliceIntR(f *codecFnInfo, rv reflect.Value) { - if f.ti.mbs { - fastpathTV.EncAsMapSliceIntV(rv2i(rv).([]int), e) - } else { - fastpathTV.EncSliceIntV(rv2i(rv).([]int), e) - } -} -func (_ fastpathT) EncSliceIntV(v []int, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteArrayStart(len(v)) - for _, v2 := range v { - if esep { - ee.WriteArrayElem() - } - ee.EncodeInt(int64(v2)) - } - ee.WriteArrayEnd() -} -func (_ fastpathT) EncAsMapSliceIntV(v []int, e *Encoder) { - ee, esep := e.e, e.hh.hasElemSeparators() - if len(v)%2 == 1 { - e.errorf(fastpathMapBySliceErrMsg, len(v)) - return - } - ee.WriteMapStart(len(v) / 2) - for j, v2 := range v { - if esep { - if j%2 == 0 { - ee.WriteMapElemKey() - } else { - ee.WriteMapElemValue() - } - } - ee.EncodeInt(int64(v2)) - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncSliceInt8R(f *codecFnInfo, rv reflect.Value) { - if f.ti.mbs { - fastpathTV.EncAsMapSliceInt8V(rv2i(rv).([]int8), e) - } else { - fastpathTV.EncSliceInt8V(rv2i(rv).([]int8), e) - } -} -func (_ fastpathT) EncSliceInt8V(v []int8, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteArrayStart(len(v)) - for _, v2 := range v { - if esep { - ee.WriteArrayElem() - } - ee.EncodeInt(int64(v2)) - } - ee.WriteArrayEnd() -} -func (_ fastpathT) EncAsMapSliceInt8V(v []int8, e *Encoder) { - ee, esep := e.e, e.hh.hasElemSeparators() - if len(v)%2 == 1 { - e.errorf(fastpathMapBySliceErrMsg, len(v)) - return - } - ee.WriteMapStart(len(v) / 2) - for j, v2 := range v { - if esep { - if j%2 == 0 { - ee.WriteMapElemKey() - } else { - ee.WriteMapElemValue() - } - } - ee.EncodeInt(int64(v2)) - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncSliceInt16R(f *codecFnInfo, rv reflect.Value) { - if f.ti.mbs { - fastpathTV.EncAsMapSliceInt16V(rv2i(rv).([]int16), e) - } else { - fastpathTV.EncSliceInt16V(rv2i(rv).([]int16), e) - } -} -func (_ fastpathT) EncSliceInt16V(v []int16, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteArrayStart(len(v)) - for _, v2 := range v { - if esep { - ee.WriteArrayElem() - } - ee.EncodeInt(int64(v2)) - } - ee.WriteArrayEnd() -} -func (_ fastpathT) EncAsMapSliceInt16V(v []int16, e *Encoder) { - ee, esep := e.e, e.hh.hasElemSeparators() - if len(v)%2 == 1 { - e.errorf(fastpathMapBySliceErrMsg, len(v)) - return - } - ee.WriteMapStart(len(v) / 2) - for j, v2 := range v { - if esep { - if j%2 == 0 { - ee.WriteMapElemKey() - } else { - ee.WriteMapElemValue() - } - } - ee.EncodeInt(int64(v2)) - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncSliceInt32R(f *codecFnInfo, rv reflect.Value) { - if f.ti.mbs { - fastpathTV.EncAsMapSliceInt32V(rv2i(rv).([]int32), e) - } else { - fastpathTV.EncSliceInt32V(rv2i(rv).([]int32), e) - } -} -func (_ fastpathT) EncSliceInt32V(v []int32, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteArrayStart(len(v)) - for _, v2 := range v { - if esep { - ee.WriteArrayElem() - } - ee.EncodeInt(int64(v2)) - } - ee.WriteArrayEnd() -} -func (_ fastpathT) EncAsMapSliceInt32V(v []int32, e *Encoder) { - ee, esep := e.e, e.hh.hasElemSeparators() - if len(v)%2 == 1 { - e.errorf(fastpathMapBySliceErrMsg, len(v)) - return - } - ee.WriteMapStart(len(v) / 2) - for j, v2 := range v { - if esep { - if j%2 == 0 { - ee.WriteMapElemKey() - } else { - ee.WriteMapElemValue() - } - } - ee.EncodeInt(int64(v2)) - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncSliceInt64R(f *codecFnInfo, rv reflect.Value) { - if f.ti.mbs { - fastpathTV.EncAsMapSliceInt64V(rv2i(rv).([]int64), e) - } else { - fastpathTV.EncSliceInt64V(rv2i(rv).([]int64), e) - } -} -func (_ fastpathT) EncSliceInt64V(v []int64, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteArrayStart(len(v)) - for _, v2 := range v { - if esep { - ee.WriteArrayElem() - } - ee.EncodeInt(int64(v2)) - } - ee.WriteArrayEnd() -} -func (_ fastpathT) EncAsMapSliceInt64V(v []int64, e *Encoder) { - ee, esep := e.e, e.hh.hasElemSeparators() - if len(v)%2 == 1 { - e.errorf(fastpathMapBySliceErrMsg, len(v)) - return - } - ee.WriteMapStart(len(v) / 2) - for j, v2 := range v { - if esep { - if j%2 == 0 { - ee.WriteMapElemKey() - } else { - ee.WriteMapElemValue() - } - } - ee.EncodeInt(int64(v2)) - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncSliceBoolR(f *codecFnInfo, rv reflect.Value) { - if f.ti.mbs { - fastpathTV.EncAsMapSliceBoolV(rv2i(rv).([]bool), e) - } else { - fastpathTV.EncSliceBoolV(rv2i(rv).([]bool), e) - } -} -func (_ fastpathT) EncSliceBoolV(v []bool, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteArrayStart(len(v)) - for _, v2 := range v { - if esep { - ee.WriteArrayElem() - } - ee.EncodeBool(v2) - } - ee.WriteArrayEnd() -} -func (_ fastpathT) EncAsMapSliceBoolV(v []bool, e *Encoder) { - ee, esep := e.e, e.hh.hasElemSeparators() - if len(v)%2 == 1 { - e.errorf(fastpathMapBySliceErrMsg, len(v)) - return - } - ee.WriteMapStart(len(v) / 2) - for j, v2 := range v { - if esep { - if j%2 == 0 { - ee.WriteMapElemKey() - } else { - ee.WriteMapElemValue() - } - } - ee.EncodeBool(v2) - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapIntfIntfR(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapIntfIntfV(rv2i(rv).(map[interface{}]interface{}), e) -} -func (_ fastpathT) EncMapIntfIntfV(v map[interface{}]interface{}, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - var mksv []byte = make([]byte, 0, len(v)*16) // temporary byte slice for the encoding - e2 := NewEncoderBytes(&mksv, e.hh) - v2 := make([]bytesI, len(v)) - var i, l uint - var vp *bytesI - for k2 := range v { - l = uint(len(mksv)) - e2.MustEncode(k2) - vp = &v2[i] - vp.v = mksv[l:] - vp.i = k2 - i++ - } - sort.Sort(bytesISlice(v2)) - for j := range v2 { - if esep { - ee.WriteMapElemKey() - } - e.asis(v2[j].v) - if esep { - ee.WriteMapElemValue() - } - e.encode(v[v2[j].i]) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - e.encode(k2) - if esep { - ee.WriteMapElemValue() - } - e.encode(v2) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapIntfStringR(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapIntfStringV(rv2i(rv).(map[interface{}]string), e) -} -func (_ fastpathT) EncMapIntfStringV(v map[interface{}]string, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - var mksv []byte = make([]byte, 0, len(v)*16) // temporary byte slice for the encoding - e2 := NewEncoderBytes(&mksv, e.hh) - v2 := make([]bytesI, len(v)) - var i, l uint - var vp *bytesI - for k2 := range v { - l = uint(len(mksv)) - e2.MustEncode(k2) - vp = &v2[i] - vp.v = mksv[l:] - vp.i = k2 - i++ - } - sort.Sort(bytesISlice(v2)) - for j := range v2 { - if esep { - ee.WriteMapElemKey() - } - e.asis(v2[j].v) - if esep { - ee.WriteMapElemValue() - } - e.encode(v[v2[j].i]) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - e.encode(k2) - if esep { - ee.WriteMapElemValue() - } - if e.h.StringToRaw { - ee.EncodeStringBytesRaw(bytesView(v2)) - } else { - ee.EncodeStringEnc(cUTF8, v2) - } - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapIntfUintR(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapIntfUintV(rv2i(rv).(map[interface{}]uint), e) -} -func (_ fastpathT) EncMapIntfUintV(v map[interface{}]uint, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - var mksv []byte = make([]byte, 0, len(v)*16) // temporary byte slice for the encoding - e2 := NewEncoderBytes(&mksv, e.hh) - v2 := make([]bytesI, len(v)) - var i, l uint - var vp *bytesI - for k2 := range v { - l = uint(len(mksv)) - e2.MustEncode(k2) - vp = &v2[i] - vp.v = mksv[l:] - vp.i = k2 - i++ - } - sort.Sort(bytesISlice(v2)) - for j := range v2 { - if esep { - ee.WriteMapElemKey() - } - e.asis(v2[j].v) - if esep { - ee.WriteMapElemValue() - } - e.encode(v[v2[j].i]) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - e.encode(k2) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapIntfUint8R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapIntfUint8V(rv2i(rv).(map[interface{}]uint8), e) -} -func (_ fastpathT) EncMapIntfUint8V(v map[interface{}]uint8, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - var mksv []byte = make([]byte, 0, len(v)*16) // temporary byte slice for the encoding - e2 := NewEncoderBytes(&mksv, e.hh) - v2 := make([]bytesI, len(v)) - var i, l uint - var vp *bytesI - for k2 := range v { - l = uint(len(mksv)) - e2.MustEncode(k2) - vp = &v2[i] - vp.v = mksv[l:] - vp.i = k2 - i++ - } - sort.Sort(bytesISlice(v2)) - for j := range v2 { - if esep { - ee.WriteMapElemKey() - } - e.asis(v2[j].v) - if esep { - ee.WriteMapElemValue() - } - e.encode(v[v2[j].i]) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - e.encode(k2) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapIntfUint16R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapIntfUint16V(rv2i(rv).(map[interface{}]uint16), e) -} -func (_ fastpathT) EncMapIntfUint16V(v map[interface{}]uint16, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - var mksv []byte = make([]byte, 0, len(v)*16) // temporary byte slice for the encoding - e2 := NewEncoderBytes(&mksv, e.hh) - v2 := make([]bytesI, len(v)) - var i, l uint - var vp *bytesI - for k2 := range v { - l = uint(len(mksv)) - e2.MustEncode(k2) - vp = &v2[i] - vp.v = mksv[l:] - vp.i = k2 - i++ - } - sort.Sort(bytesISlice(v2)) - for j := range v2 { - if esep { - ee.WriteMapElemKey() - } - e.asis(v2[j].v) - if esep { - ee.WriteMapElemValue() - } - e.encode(v[v2[j].i]) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - e.encode(k2) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapIntfUint32R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapIntfUint32V(rv2i(rv).(map[interface{}]uint32), e) -} -func (_ fastpathT) EncMapIntfUint32V(v map[interface{}]uint32, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - var mksv []byte = make([]byte, 0, len(v)*16) // temporary byte slice for the encoding - e2 := NewEncoderBytes(&mksv, e.hh) - v2 := make([]bytesI, len(v)) - var i, l uint - var vp *bytesI - for k2 := range v { - l = uint(len(mksv)) - e2.MustEncode(k2) - vp = &v2[i] - vp.v = mksv[l:] - vp.i = k2 - i++ - } - sort.Sort(bytesISlice(v2)) - for j := range v2 { - if esep { - ee.WriteMapElemKey() - } - e.asis(v2[j].v) - if esep { - ee.WriteMapElemValue() - } - e.encode(v[v2[j].i]) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - e.encode(k2) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapIntfUint64R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapIntfUint64V(rv2i(rv).(map[interface{}]uint64), e) -} -func (_ fastpathT) EncMapIntfUint64V(v map[interface{}]uint64, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - var mksv []byte = make([]byte, 0, len(v)*16) // temporary byte slice for the encoding - e2 := NewEncoderBytes(&mksv, e.hh) - v2 := make([]bytesI, len(v)) - var i, l uint - var vp *bytesI - for k2 := range v { - l = uint(len(mksv)) - e2.MustEncode(k2) - vp = &v2[i] - vp.v = mksv[l:] - vp.i = k2 - i++ - } - sort.Sort(bytesISlice(v2)) - for j := range v2 { - if esep { - ee.WriteMapElemKey() - } - e.asis(v2[j].v) - if esep { - ee.WriteMapElemValue() - } - e.encode(v[v2[j].i]) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - e.encode(k2) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapIntfUintptrR(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapIntfUintptrV(rv2i(rv).(map[interface{}]uintptr), e) -} -func (_ fastpathT) EncMapIntfUintptrV(v map[interface{}]uintptr, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - var mksv []byte = make([]byte, 0, len(v)*16) // temporary byte slice for the encoding - e2 := NewEncoderBytes(&mksv, e.hh) - v2 := make([]bytesI, len(v)) - var i, l uint - var vp *bytesI - for k2 := range v { - l = uint(len(mksv)) - e2.MustEncode(k2) - vp = &v2[i] - vp.v = mksv[l:] - vp.i = k2 - i++ - } - sort.Sort(bytesISlice(v2)) - for j := range v2 { - if esep { - ee.WriteMapElemKey() - } - e.asis(v2[j].v) - if esep { - ee.WriteMapElemValue() - } - e.encode(v[v2[j].i]) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - e.encode(k2) - if esep { - ee.WriteMapElemValue() - } - e.encode(v2) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapIntfIntR(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapIntfIntV(rv2i(rv).(map[interface{}]int), e) -} -func (_ fastpathT) EncMapIntfIntV(v map[interface{}]int, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - var mksv []byte = make([]byte, 0, len(v)*16) // temporary byte slice for the encoding - e2 := NewEncoderBytes(&mksv, e.hh) - v2 := make([]bytesI, len(v)) - var i, l uint - var vp *bytesI - for k2 := range v { - l = uint(len(mksv)) - e2.MustEncode(k2) - vp = &v2[i] - vp.v = mksv[l:] - vp.i = k2 - i++ - } - sort.Sort(bytesISlice(v2)) - for j := range v2 { - if esep { - ee.WriteMapElemKey() - } - e.asis(v2[j].v) - if esep { - ee.WriteMapElemValue() - } - e.encode(v[v2[j].i]) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - e.encode(k2) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapIntfInt8R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapIntfInt8V(rv2i(rv).(map[interface{}]int8), e) -} -func (_ fastpathT) EncMapIntfInt8V(v map[interface{}]int8, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - var mksv []byte = make([]byte, 0, len(v)*16) // temporary byte slice for the encoding - e2 := NewEncoderBytes(&mksv, e.hh) - v2 := make([]bytesI, len(v)) - var i, l uint - var vp *bytesI - for k2 := range v { - l = uint(len(mksv)) - e2.MustEncode(k2) - vp = &v2[i] - vp.v = mksv[l:] - vp.i = k2 - i++ - } - sort.Sort(bytesISlice(v2)) - for j := range v2 { - if esep { - ee.WriteMapElemKey() - } - e.asis(v2[j].v) - if esep { - ee.WriteMapElemValue() - } - e.encode(v[v2[j].i]) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - e.encode(k2) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapIntfInt16R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapIntfInt16V(rv2i(rv).(map[interface{}]int16), e) -} -func (_ fastpathT) EncMapIntfInt16V(v map[interface{}]int16, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - var mksv []byte = make([]byte, 0, len(v)*16) // temporary byte slice for the encoding - e2 := NewEncoderBytes(&mksv, e.hh) - v2 := make([]bytesI, len(v)) - var i, l uint - var vp *bytesI - for k2 := range v { - l = uint(len(mksv)) - e2.MustEncode(k2) - vp = &v2[i] - vp.v = mksv[l:] - vp.i = k2 - i++ - } - sort.Sort(bytesISlice(v2)) - for j := range v2 { - if esep { - ee.WriteMapElemKey() - } - e.asis(v2[j].v) - if esep { - ee.WriteMapElemValue() - } - e.encode(v[v2[j].i]) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - e.encode(k2) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapIntfInt32R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapIntfInt32V(rv2i(rv).(map[interface{}]int32), e) -} -func (_ fastpathT) EncMapIntfInt32V(v map[interface{}]int32, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - var mksv []byte = make([]byte, 0, len(v)*16) // temporary byte slice for the encoding - e2 := NewEncoderBytes(&mksv, e.hh) - v2 := make([]bytesI, len(v)) - var i, l uint - var vp *bytesI - for k2 := range v { - l = uint(len(mksv)) - e2.MustEncode(k2) - vp = &v2[i] - vp.v = mksv[l:] - vp.i = k2 - i++ - } - sort.Sort(bytesISlice(v2)) - for j := range v2 { - if esep { - ee.WriteMapElemKey() - } - e.asis(v2[j].v) - if esep { - ee.WriteMapElemValue() - } - e.encode(v[v2[j].i]) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - e.encode(k2) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapIntfInt64R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapIntfInt64V(rv2i(rv).(map[interface{}]int64), e) -} -func (_ fastpathT) EncMapIntfInt64V(v map[interface{}]int64, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - var mksv []byte = make([]byte, 0, len(v)*16) // temporary byte slice for the encoding - e2 := NewEncoderBytes(&mksv, e.hh) - v2 := make([]bytesI, len(v)) - var i, l uint - var vp *bytesI - for k2 := range v { - l = uint(len(mksv)) - e2.MustEncode(k2) - vp = &v2[i] - vp.v = mksv[l:] - vp.i = k2 - i++ - } - sort.Sort(bytesISlice(v2)) - for j := range v2 { - if esep { - ee.WriteMapElemKey() - } - e.asis(v2[j].v) - if esep { - ee.WriteMapElemValue() - } - e.encode(v[v2[j].i]) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - e.encode(k2) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapIntfFloat32R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapIntfFloat32V(rv2i(rv).(map[interface{}]float32), e) -} -func (_ fastpathT) EncMapIntfFloat32V(v map[interface{}]float32, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - var mksv []byte = make([]byte, 0, len(v)*16) // temporary byte slice for the encoding - e2 := NewEncoderBytes(&mksv, e.hh) - v2 := make([]bytesI, len(v)) - var i, l uint - var vp *bytesI - for k2 := range v { - l = uint(len(mksv)) - e2.MustEncode(k2) - vp = &v2[i] - vp.v = mksv[l:] - vp.i = k2 - i++ - } - sort.Sort(bytesISlice(v2)) - for j := range v2 { - if esep { - ee.WriteMapElemKey() - } - e.asis(v2[j].v) - if esep { - ee.WriteMapElemValue() - } - e.encode(v[v2[j].i]) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - e.encode(k2) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeFloat32(v2) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapIntfFloat64R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapIntfFloat64V(rv2i(rv).(map[interface{}]float64), e) -} -func (_ fastpathT) EncMapIntfFloat64V(v map[interface{}]float64, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - var mksv []byte = make([]byte, 0, len(v)*16) // temporary byte slice for the encoding - e2 := NewEncoderBytes(&mksv, e.hh) - v2 := make([]bytesI, len(v)) - var i, l uint - var vp *bytesI - for k2 := range v { - l = uint(len(mksv)) - e2.MustEncode(k2) - vp = &v2[i] - vp.v = mksv[l:] - vp.i = k2 - i++ - } - sort.Sort(bytesISlice(v2)) - for j := range v2 { - if esep { - ee.WriteMapElemKey() - } - e.asis(v2[j].v) - if esep { - ee.WriteMapElemValue() - } - e.encode(v[v2[j].i]) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - e.encode(k2) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeFloat64(v2) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapIntfBoolR(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapIntfBoolV(rv2i(rv).(map[interface{}]bool), e) -} -func (_ fastpathT) EncMapIntfBoolV(v map[interface{}]bool, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - var mksv []byte = make([]byte, 0, len(v)*16) // temporary byte slice for the encoding - e2 := NewEncoderBytes(&mksv, e.hh) - v2 := make([]bytesI, len(v)) - var i, l uint - var vp *bytesI - for k2 := range v { - l = uint(len(mksv)) - e2.MustEncode(k2) - vp = &v2[i] - vp.v = mksv[l:] - vp.i = k2 - i++ - } - sort.Sort(bytesISlice(v2)) - for j := range v2 { - if esep { - ee.WriteMapElemKey() - } - e.asis(v2[j].v) - if esep { - ee.WriteMapElemValue() - } - e.encode(v[v2[j].i]) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - e.encode(k2) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeBool(v2) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapStringIntfR(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapStringIntfV(rv2i(rv).(map[string]interface{}), e) -} -func (_ fastpathT) EncMapStringIntfV(v map[string]interface{}, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]string, len(v)) - var i uint - for k := range v { - v2[i] = string(k) - i++ - } - sort.Sort(stringSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - if e.h.StringToRaw { - ee.EncodeStringBytesRaw(bytesView(k2)) - } else { - ee.EncodeStringEnc(cUTF8, k2) - } - if esep { - ee.WriteMapElemValue() - } - e.encode(v[string(k2)]) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - if e.h.StringToRaw { - ee.EncodeStringBytesRaw(bytesView(k2)) - } else { - ee.EncodeStringEnc(cUTF8, k2) - } - if esep { - ee.WriteMapElemValue() - } - e.encode(v2) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapStringStringR(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapStringStringV(rv2i(rv).(map[string]string), e) -} -func (_ fastpathT) EncMapStringStringV(v map[string]string, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]string, len(v)) - var i uint - for k := range v { - v2[i] = string(k) - i++ - } - sort.Sort(stringSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - if e.h.StringToRaw { - ee.EncodeStringBytesRaw(bytesView(k2)) - } else { - ee.EncodeStringEnc(cUTF8, k2) - } - if esep { - ee.WriteMapElemValue() - } - if e.h.StringToRaw { - ee.EncodeStringBytesRaw(bytesView(v[string(k2)])) - } else { - ee.EncodeStringEnc(cUTF8, v[string(k2)]) - } - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - if e.h.StringToRaw { - ee.EncodeStringBytesRaw(bytesView(k2)) - } else { - ee.EncodeStringEnc(cUTF8, k2) - } - if esep { - ee.WriteMapElemValue() - } - if e.h.StringToRaw { - ee.EncodeStringBytesRaw(bytesView(v2)) - } else { - ee.EncodeStringEnc(cUTF8, v2) - } - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapStringUintR(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapStringUintV(rv2i(rv).(map[string]uint), e) -} -func (_ fastpathT) EncMapStringUintV(v map[string]uint, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]string, len(v)) - var i uint - for k := range v { - v2[i] = string(k) - i++ - } - sort.Sort(stringSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - if e.h.StringToRaw { - ee.EncodeStringBytesRaw(bytesView(k2)) - } else { - ee.EncodeStringEnc(cUTF8, k2) - } - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v[string(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - if e.h.StringToRaw { - ee.EncodeStringBytesRaw(bytesView(k2)) - } else { - ee.EncodeStringEnc(cUTF8, k2) - } - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapStringUint8R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapStringUint8V(rv2i(rv).(map[string]uint8), e) -} -func (_ fastpathT) EncMapStringUint8V(v map[string]uint8, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]string, len(v)) - var i uint - for k := range v { - v2[i] = string(k) - i++ - } - sort.Sort(stringSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - if e.h.StringToRaw { - ee.EncodeStringBytesRaw(bytesView(k2)) - } else { - ee.EncodeStringEnc(cUTF8, k2) - } - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v[string(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - if e.h.StringToRaw { - ee.EncodeStringBytesRaw(bytesView(k2)) - } else { - ee.EncodeStringEnc(cUTF8, k2) - } - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapStringUint16R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapStringUint16V(rv2i(rv).(map[string]uint16), e) -} -func (_ fastpathT) EncMapStringUint16V(v map[string]uint16, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]string, len(v)) - var i uint - for k := range v { - v2[i] = string(k) - i++ - } - sort.Sort(stringSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - if e.h.StringToRaw { - ee.EncodeStringBytesRaw(bytesView(k2)) - } else { - ee.EncodeStringEnc(cUTF8, k2) - } - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v[string(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - if e.h.StringToRaw { - ee.EncodeStringBytesRaw(bytesView(k2)) - } else { - ee.EncodeStringEnc(cUTF8, k2) - } - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapStringUint32R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapStringUint32V(rv2i(rv).(map[string]uint32), e) -} -func (_ fastpathT) EncMapStringUint32V(v map[string]uint32, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]string, len(v)) - var i uint - for k := range v { - v2[i] = string(k) - i++ - } - sort.Sort(stringSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - if e.h.StringToRaw { - ee.EncodeStringBytesRaw(bytesView(k2)) - } else { - ee.EncodeStringEnc(cUTF8, k2) - } - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v[string(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - if e.h.StringToRaw { - ee.EncodeStringBytesRaw(bytesView(k2)) - } else { - ee.EncodeStringEnc(cUTF8, k2) - } - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapStringUint64R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapStringUint64V(rv2i(rv).(map[string]uint64), e) -} -func (_ fastpathT) EncMapStringUint64V(v map[string]uint64, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]string, len(v)) - var i uint - for k := range v { - v2[i] = string(k) - i++ - } - sort.Sort(stringSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - if e.h.StringToRaw { - ee.EncodeStringBytesRaw(bytesView(k2)) - } else { - ee.EncodeStringEnc(cUTF8, k2) - } - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v[string(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - if e.h.StringToRaw { - ee.EncodeStringBytesRaw(bytesView(k2)) - } else { - ee.EncodeStringEnc(cUTF8, k2) - } - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapStringUintptrR(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapStringUintptrV(rv2i(rv).(map[string]uintptr), e) -} -func (_ fastpathT) EncMapStringUintptrV(v map[string]uintptr, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]string, len(v)) - var i uint - for k := range v { - v2[i] = string(k) - i++ - } - sort.Sort(stringSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - if e.h.StringToRaw { - ee.EncodeStringBytesRaw(bytesView(k2)) - } else { - ee.EncodeStringEnc(cUTF8, k2) - } - if esep { - ee.WriteMapElemValue() - } - e.encode(v[string(k2)]) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - if e.h.StringToRaw { - ee.EncodeStringBytesRaw(bytesView(k2)) - } else { - ee.EncodeStringEnc(cUTF8, k2) - } - if esep { - ee.WriteMapElemValue() - } - e.encode(v2) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapStringIntR(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapStringIntV(rv2i(rv).(map[string]int), e) -} -func (_ fastpathT) EncMapStringIntV(v map[string]int, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]string, len(v)) - var i uint - for k := range v { - v2[i] = string(k) - i++ - } - sort.Sort(stringSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - if e.h.StringToRaw { - ee.EncodeStringBytesRaw(bytesView(k2)) - } else { - ee.EncodeStringEnc(cUTF8, k2) - } - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v[string(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - if e.h.StringToRaw { - ee.EncodeStringBytesRaw(bytesView(k2)) - } else { - ee.EncodeStringEnc(cUTF8, k2) - } - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapStringInt8R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapStringInt8V(rv2i(rv).(map[string]int8), e) -} -func (_ fastpathT) EncMapStringInt8V(v map[string]int8, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]string, len(v)) - var i uint - for k := range v { - v2[i] = string(k) - i++ - } - sort.Sort(stringSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - if e.h.StringToRaw { - ee.EncodeStringBytesRaw(bytesView(k2)) - } else { - ee.EncodeStringEnc(cUTF8, k2) - } - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v[string(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - if e.h.StringToRaw { - ee.EncodeStringBytesRaw(bytesView(k2)) - } else { - ee.EncodeStringEnc(cUTF8, k2) - } - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapStringInt16R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapStringInt16V(rv2i(rv).(map[string]int16), e) -} -func (_ fastpathT) EncMapStringInt16V(v map[string]int16, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]string, len(v)) - var i uint - for k := range v { - v2[i] = string(k) - i++ - } - sort.Sort(stringSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - if e.h.StringToRaw { - ee.EncodeStringBytesRaw(bytesView(k2)) - } else { - ee.EncodeStringEnc(cUTF8, k2) - } - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v[string(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - if e.h.StringToRaw { - ee.EncodeStringBytesRaw(bytesView(k2)) - } else { - ee.EncodeStringEnc(cUTF8, k2) - } - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapStringInt32R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapStringInt32V(rv2i(rv).(map[string]int32), e) -} -func (_ fastpathT) EncMapStringInt32V(v map[string]int32, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]string, len(v)) - var i uint - for k := range v { - v2[i] = string(k) - i++ - } - sort.Sort(stringSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - if e.h.StringToRaw { - ee.EncodeStringBytesRaw(bytesView(k2)) - } else { - ee.EncodeStringEnc(cUTF8, k2) - } - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v[string(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - if e.h.StringToRaw { - ee.EncodeStringBytesRaw(bytesView(k2)) - } else { - ee.EncodeStringEnc(cUTF8, k2) - } - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapStringInt64R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapStringInt64V(rv2i(rv).(map[string]int64), e) -} -func (_ fastpathT) EncMapStringInt64V(v map[string]int64, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]string, len(v)) - var i uint - for k := range v { - v2[i] = string(k) - i++ - } - sort.Sort(stringSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - if e.h.StringToRaw { - ee.EncodeStringBytesRaw(bytesView(k2)) - } else { - ee.EncodeStringEnc(cUTF8, k2) - } - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v[string(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - if e.h.StringToRaw { - ee.EncodeStringBytesRaw(bytesView(k2)) - } else { - ee.EncodeStringEnc(cUTF8, k2) - } - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapStringFloat32R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapStringFloat32V(rv2i(rv).(map[string]float32), e) -} -func (_ fastpathT) EncMapStringFloat32V(v map[string]float32, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]string, len(v)) - var i uint - for k := range v { - v2[i] = string(k) - i++ - } - sort.Sort(stringSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - if e.h.StringToRaw { - ee.EncodeStringBytesRaw(bytesView(k2)) - } else { - ee.EncodeStringEnc(cUTF8, k2) - } - if esep { - ee.WriteMapElemValue() - } - ee.EncodeFloat32(v[string(k2)]) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - if e.h.StringToRaw { - ee.EncodeStringBytesRaw(bytesView(k2)) - } else { - ee.EncodeStringEnc(cUTF8, k2) - } - if esep { - ee.WriteMapElemValue() - } - ee.EncodeFloat32(v2) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapStringFloat64R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapStringFloat64V(rv2i(rv).(map[string]float64), e) -} -func (_ fastpathT) EncMapStringFloat64V(v map[string]float64, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]string, len(v)) - var i uint - for k := range v { - v2[i] = string(k) - i++ - } - sort.Sort(stringSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - if e.h.StringToRaw { - ee.EncodeStringBytesRaw(bytesView(k2)) - } else { - ee.EncodeStringEnc(cUTF8, k2) - } - if esep { - ee.WriteMapElemValue() - } - ee.EncodeFloat64(v[string(k2)]) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - if e.h.StringToRaw { - ee.EncodeStringBytesRaw(bytesView(k2)) - } else { - ee.EncodeStringEnc(cUTF8, k2) - } - if esep { - ee.WriteMapElemValue() - } - ee.EncodeFloat64(v2) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapStringBoolR(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapStringBoolV(rv2i(rv).(map[string]bool), e) -} -func (_ fastpathT) EncMapStringBoolV(v map[string]bool, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]string, len(v)) - var i uint - for k := range v { - v2[i] = string(k) - i++ - } - sort.Sort(stringSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - if e.h.StringToRaw { - ee.EncodeStringBytesRaw(bytesView(k2)) - } else { - ee.EncodeStringEnc(cUTF8, k2) - } - if esep { - ee.WriteMapElemValue() - } - ee.EncodeBool(v[string(k2)]) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - if e.h.StringToRaw { - ee.EncodeStringBytesRaw(bytesView(k2)) - } else { - ee.EncodeStringEnc(cUTF8, k2) - } - if esep { - ee.WriteMapElemValue() - } - ee.EncodeBool(v2) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapFloat32IntfR(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapFloat32IntfV(rv2i(rv).(map[float32]interface{}), e) -} -func (_ fastpathT) EncMapFloat32IntfV(v map[float32]interface{}, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]float64, len(v)) - var i uint - for k := range v { - v2[i] = float64(k) - i++ - } - sort.Sort(floatSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeFloat32(float32(k2)) - if esep { - ee.WriteMapElemValue() - } - e.encode(v[float32(k2)]) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeFloat32(k2) - if esep { - ee.WriteMapElemValue() - } - e.encode(v2) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapFloat32StringR(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapFloat32StringV(rv2i(rv).(map[float32]string), e) -} -func (_ fastpathT) EncMapFloat32StringV(v map[float32]string, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]float64, len(v)) - var i uint - for k := range v { - v2[i] = float64(k) - i++ - } - sort.Sort(floatSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeFloat32(float32(k2)) - if esep { - ee.WriteMapElemValue() - } - if e.h.StringToRaw { - ee.EncodeStringBytesRaw(bytesView(v[float32(k2)])) - } else { - ee.EncodeStringEnc(cUTF8, v[float32(k2)]) - } - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeFloat32(k2) - if esep { - ee.WriteMapElemValue() - } - if e.h.StringToRaw { - ee.EncodeStringBytesRaw(bytesView(v2)) - } else { - ee.EncodeStringEnc(cUTF8, v2) - } - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapFloat32UintR(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapFloat32UintV(rv2i(rv).(map[float32]uint), e) -} -func (_ fastpathT) EncMapFloat32UintV(v map[float32]uint, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]float64, len(v)) - var i uint - for k := range v { - v2[i] = float64(k) - i++ - } - sort.Sort(floatSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeFloat32(float32(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v[float32(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeFloat32(k2) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapFloat32Uint8R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapFloat32Uint8V(rv2i(rv).(map[float32]uint8), e) -} -func (_ fastpathT) EncMapFloat32Uint8V(v map[float32]uint8, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]float64, len(v)) - var i uint - for k := range v { - v2[i] = float64(k) - i++ - } - sort.Sort(floatSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeFloat32(float32(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v[float32(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeFloat32(k2) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapFloat32Uint16R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapFloat32Uint16V(rv2i(rv).(map[float32]uint16), e) -} -func (_ fastpathT) EncMapFloat32Uint16V(v map[float32]uint16, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]float64, len(v)) - var i uint - for k := range v { - v2[i] = float64(k) - i++ - } - sort.Sort(floatSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeFloat32(float32(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v[float32(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeFloat32(k2) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapFloat32Uint32R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapFloat32Uint32V(rv2i(rv).(map[float32]uint32), e) -} -func (_ fastpathT) EncMapFloat32Uint32V(v map[float32]uint32, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]float64, len(v)) - var i uint - for k := range v { - v2[i] = float64(k) - i++ - } - sort.Sort(floatSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeFloat32(float32(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v[float32(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeFloat32(k2) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapFloat32Uint64R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapFloat32Uint64V(rv2i(rv).(map[float32]uint64), e) -} -func (_ fastpathT) EncMapFloat32Uint64V(v map[float32]uint64, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]float64, len(v)) - var i uint - for k := range v { - v2[i] = float64(k) - i++ - } - sort.Sort(floatSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeFloat32(float32(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v[float32(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeFloat32(k2) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapFloat32UintptrR(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapFloat32UintptrV(rv2i(rv).(map[float32]uintptr), e) -} -func (_ fastpathT) EncMapFloat32UintptrV(v map[float32]uintptr, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]float64, len(v)) - var i uint - for k := range v { - v2[i] = float64(k) - i++ - } - sort.Sort(floatSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeFloat32(float32(k2)) - if esep { - ee.WriteMapElemValue() - } - e.encode(v[float32(k2)]) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeFloat32(k2) - if esep { - ee.WriteMapElemValue() - } - e.encode(v2) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapFloat32IntR(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapFloat32IntV(rv2i(rv).(map[float32]int), e) -} -func (_ fastpathT) EncMapFloat32IntV(v map[float32]int, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]float64, len(v)) - var i uint - for k := range v { - v2[i] = float64(k) - i++ - } - sort.Sort(floatSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeFloat32(float32(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v[float32(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeFloat32(k2) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapFloat32Int8R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapFloat32Int8V(rv2i(rv).(map[float32]int8), e) -} -func (_ fastpathT) EncMapFloat32Int8V(v map[float32]int8, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]float64, len(v)) - var i uint - for k := range v { - v2[i] = float64(k) - i++ - } - sort.Sort(floatSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeFloat32(float32(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v[float32(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeFloat32(k2) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapFloat32Int16R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapFloat32Int16V(rv2i(rv).(map[float32]int16), e) -} -func (_ fastpathT) EncMapFloat32Int16V(v map[float32]int16, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]float64, len(v)) - var i uint - for k := range v { - v2[i] = float64(k) - i++ - } - sort.Sort(floatSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeFloat32(float32(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v[float32(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeFloat32(k2) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapFloat32Int32R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapFloat32Int32V(rv2i(rv).(map[float32]int32), e) -} -func (_ fastpathT) EncMapFloat32Int32V(v map[float32]int32, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]float64, len(v)) - var i uint - for k := range v { - v2[i] = float64(k) - i++ - } - sort.Sort(floatSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeFloat32(float32(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v[float32(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeFloat32(k2) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapFloat32Int64R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapFloat32Int64V(rv2i(rv).(map[float32]int64), e) -} -func (_ fastpathT) EncMapFloat32Int64V(v map[float32]int64, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]float64, len(v)) - var i uint - for k := range v { - v2[i] = float64(k) - i++ - } - sort.Sort(floatSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeFloat32(float32(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v[float32(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeFloat32(k2) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapFloat32Float32R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapFloat32Float32V(rv2i(rv).(map[float32]float32), e) -} -func (_ fastpathT) EncMapFloat32Float32V(v map[float32]float32, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]float64, len(v)) - var i uint - for k := range v { - v2[i] = float64(k) - i++ - } - sort.Sort(floatSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeFloat32(float32(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeFloat32(v[float32(k2)]) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeFloat32(k2) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeFloat32(v2) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapFloat32Float64R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapFloat32Float64V(rv2i(rv).(map[float32]float64), e) -} -func (_ fastpathT) EncMapFloat32Float64V(v map[float32]float64, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]float64, len(v)) - var i uint - for k := range v { - v2[i] = float64(k) - i++ - } - sort.Sort(floatSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeFloat32(float32(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeFloat64(v[float32(k2)]) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeFloat32(k2) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeFloat64(v2) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapFloat32BoolR(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapFloat32BoolV(rv2i(rv).(map[float32]bool), e) -} -func (_ fastpathT) EncMapFloat32BoolV(v map[float32]bool, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]float64, len(v)) - var i uint - for k := range v { - v2[i] = float64(k) - i++ - } - sort.Sort(floatSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeFloat32(float32(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeBool(v[float32(k2)]) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeFloat32(k2) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeBool(v2) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapFloat64IntfR(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapFloat64IntfV(rv2i(rv).(map[float64]interface{}), e) -} -func (_ fastpathT) EncMapFloat64IntfV(v map[float64]interface{}, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]float64, len(v)) - var i uint - for k := range v { - v2[i] = float64(k) - i++ - } - sort.Sort(floatSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeFloat64(float64(k2)) - if esep { - ee.WriteMapElemValue() - } - e.encode(v[float64(k2)]) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeFloat64(k2) - if esep { - ee.WriteMapElemValue() - } - e.encode(v2) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapFloat64StringR(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapFloat64StringV(rv2i(rv).(map[float64]string), e) -} -func (_ fastpathT) EncMapFloat64StringV(v map[float64]string, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]float64, len(v)) - var i uint - for k := range v { - v2[i] = float64(k) - i++ - } - sort.Sort(floatSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeFloat64(float64(k2)) - if esep { - ee.WriteMapElemValue() - } - if e.h.StringToRaw { - ee.EncodeStringBytesRaw(bytesView(v[float64(k2)])) - } else { - ee.EncodeStringEnc(cUTF8, v[float64(k2)]) - } - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeFloat64(k2) - if esep { - ee.WriteMapElemValue() - } - if e.h.StringToRaw { - ee.EncodeStringBytesRaw(bytesView(v2)) - } else { - ee.EncodeStringEnc(cUTF8, v2) - } - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapFloat64UintR(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapFloat64UintV(rv2i(rv).(map[float64]uint), e) -} -func (_ fastpathT) EncMapFloat64UintV(v map[float64]uint, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]float64, len(v)) - var i uint - for k := range v { - v2[i] = float64(k) - i++ - } - sort.Sort(floatSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeFloat64(float64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v[float64(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeFloat64(k2) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapFloat64Uint8R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapFloat64Uint8V(rv2i(rv).(map[float64]uint8), e) -} -func (_ fastpathT) EncMapFloat64Uint8V(v map[float64]uint8, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]float64, len(v)) - var i uint - for k := range v { - v2[i] = float64(k) - i++ - } - sort.Sort(floatSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeFloat64(float64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v[float64(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeFloat64(k2) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapFloat64Uint16R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapFloat64Uint16V(rv2i(rv).(map[float64]uint16), e) -} -func (_ fastpathT) EncMapFloat64Uint16V(v map[float64]uint16, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]float64, len(v)) - var i uint - for k := range v { - v2[i] = float64(k) - i++ - } - sort.Sort(floatSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeFloat64(float64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v[float64(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeFloat64(k2) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapFloat64Uint32R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapFloat64Uint32V(rv2i(rv).(map[float64]uint32), e) -} -func (_ fastpathT) EncMapFloat64Uint32V(v map[float64]uint32, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]float64, len(v)) - var i uint - for k := range v { - v2[i] = float64(k) - i++ - } - sort.Sort(floatSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeFloat64(float64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v[float64(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeFloat64(k2) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapFloat64Uint64R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapFloat64Uint64V(rv2i(rv).(map[float64]uint64), e) -} -func (_ fastpathT) EncMapFloat64Uint64V(v map[float64]uint64, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]float64, len(v)) - var i uint - for k := range v { - v2[i] = float64(k) - i++ - } - sort.Sort(floatSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeFloat64(float64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v[float64(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeFloat64(k2) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapFloat64UintptrR(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapFloat64UintptrV(rv2i(rv).(map[float64]uintptr), e) -} -func (_ fastpathT) EncMapFloat64UintptrV(v map[float64]uintptr, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]float64, len(v)) - var i uint - for k := range v { - v2[i] = float64(k) - i++ - } - sort.Sort(floatSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeFloat64(float64(k2)) - if esep { - ee.WriteMapElemValue() - } - e.encode(v[float64(k2)]) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeFloat64(k2) - if esep { - ee.WriteMapElemValue() - } - e.encode(v2) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapFloat64IntR(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapFloat64IntV(rv2i(rv).(map[float64]int), e) -} -func (_ fastpathT) EncMapFloat64IntV(v map[float64]int, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]float64, len(v)) - var i uint - for k := range v { - v2[i] = float64(k) - i++ - } - sort.Sort(floatSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeFloat64(float64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v[float64(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeFloat64(k2) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapFloat64Int8R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapFloat64Int8V(rv2i(rv).(map[float64]int8), e) -} -func (_ fastpathT) EncMapFloat64Int8V(v map[float64]int8, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]float64, len(v)) - var i uint - for k := range v { - v2[i] = float64(k) - i++ - } - sort.Sort(floatSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeFloat64(float64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v[float64(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeFloat64(k2) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapFloat64Int16R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapFloat64Int16V(rv2i(rv).(map[float64]int16), e) -} -func (_ fastpathT) EncMapFloat64Int16V(v map[float64]int16, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]float64, len(v)) - var i uint - for k := range v { - v2[i] = float64(k) - i++ - } - sort.Sort(floatSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeFloat64(float64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v[float64(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeFloat64(k2) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapFloat64Int32R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapFloat64Int32V(rv2i(rv).(map[float64]int32), e) -} -func (_ fastpathT) EncMapFloat64Int32V(v map[float64]int32, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]float64, len(v)) - var i uint - for k := range v { - v2[i] = float64(k) - i++ - } - sort.Sort(floatSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeFloat64(float64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v[float64(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeFloat64(k2) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapFloat64Int64R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapFloat64Int64V(rv2i(rv).(map[float64]int64), e) -} -func (_ fastpathT) EncMapFloat64Int64V(v map[float64]int64, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]float64, len(v)) - var i uint - for k := range v { - v2[i] = float64(k) - i++ - } - sort.Sort(floatSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeFloat64(float64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v[float64(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeFloat64(k2) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapFloat64Float32R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapFloat64Float32V(rv2i(rv).(map[float64]float32), e) -} -func (_ fastpathT) EncMapFloat64Float32V(v map[float64]float32, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]float64, len(v)) - var i uint - for k := range v { - v2[i] = float64(k) - i++ - } - sort.Sort(floatSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeFloat64(float64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeFloat32(v[float64(k2)]) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeFloat64(k2) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeFloat32(v2) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapFloat64Float64R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapFloat64Float64V(rv2i(rv).(map[float64]float64), e) -} -func (_ fastpathT) EncMapFloat64Float64V(v map[float64]float64, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]float64, len(v)) - var i uint - for k := range v { - v2[i] = float64(k) - i++ - } - sort.Sort(floatSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeFloat64(float64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeFloat64(v[float64(k2)]) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeFloat64(k2) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeFloat64(v2) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapFloat64BoolR(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapFloat64BoolV(rv2i(rv).(map[float64]bool), e) -} -func (_ fastpathT) EncMapFloat64BoolV(v map[float64]bool, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]float64, len(v)) - var i uint - for k := range v { - v2[i] = float64(k) - i++ - } - sort.Sort(floatSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeFloat64(float64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeBool(v[float64(k2)]) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeFloat64(k2) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeBool(v2) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapUintIntfR(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapUintIntfV(rv2i(rv).(map[uint]interface{}), e) -} -func (_ fastpathT) EncMapUintIntfV(v map[uint]interface{}, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]uint64, len(v)) - var i uint - for k := range v { - v2[i] = uint64(k) - i++ - } - sort.Sort(uintSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(uint(k2))) - if esep { - ee.WriteMapElemValue() - } - e.encode(v[uint(k2)]) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(k2)) - if esep { - ee.WriteMapElemValue() - } - e.encode(v2) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapUintStringR(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapUintStringV(rv2i(rv).(map[uint]string), e) -} -func (_ fastpathT) EncMapUintStringV(v map[uint]string, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]uint64, len(v)) - var i uint - for k := range v { - v2[i] = uint64(k) - i++ - } - sort.Sort(uintSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(uint(k2))) - if esep { - ee.WriteMapElemValue() - } - if e.h.StringToRaw { - ee.EncodeStringBytesRaw(bytesView(v[uint(k2)])) - } else { - ee.EncodeStringEnc(cUTF8, v[uint(k2)]) - } - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(k2)) - if esep { - ee.WriteMapElemValue() - } - if e.h.StringToRaw { - ee.EncodeStringBytesRaw(bytesView(v2)) - } else { - ee.EncodeStringEnc(cUTF8, v2) - } - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapUintUintR(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapUintUintV(rv2i(rv).(map[uint]uint), e) -} -func (_ fastpathT) EncMapUintUintV(v map[uint]uint, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]uint64, len(v)) - var i uint - for k := range v { - v2[i] = uint64(k) - i++ - } - sort.Sort(uintSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(uint(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v[uint(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapUintUint8R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapUintUint8V(rv2i(rv).(map[uint]uint8), e) -} -func (_ fastpathT) EncMapUintUint8V(v map[uint]uint8, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]uint64, len(v)) - var i uint - for k := range v { - v2[i] = uint64(k) - i++ - } - sort.Sort(uintSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(uint(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v[uint(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapUintUint16R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapUintUint16V(rv2i(rv).(map[uint]uint16), e) -} -func (_ fastpathT) EncMapUintUint16V(v map[uint]uint16, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]uint64, len(v)) - var i uint - for k := range v { - v2[i] = uint64(k) - i++ - } - sort.Sort(uintSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(uint(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v[uint(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapUintUint32R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapUintUint32V(rv2i(rv).(map[uint]uint32), e) -} -func (_ fastpathT) EncMapUintUint32V(v map[uint]uint32, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]uint64, len(v)) - var i uint - for k := range v { - v2[i] = uint64(k) - i++ - } - sort.Sort(uintSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(uint(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v[uint(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapUintUint64R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapUintUint64V(rv2i(rv).(map[uint]uint64), e) -} -func (_ fastpathT) EncMapUintUint64V(v map[uint]uint64, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]uint64, len(v)) - var i uint - for k := range v { - v2[i] = uint64(k) - i++ - } - sort.Sort(uintSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(uint(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v[uint(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapUintUintptrR(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapUintUintptrV(rv2i(rv).(map[uint]uintptr), e) -} -func (_ fastpathT) EncMapUintUintptrV(v map[uint]uintptr, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]uint64, len(v)) - var i uint - for k := range v { - v2[i] = uint64(k) - i++ - } - sort.Sort(uintSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(uint(k2))) - if esep { - ee.WriteMapElemValue() - } - e.encode(v[uint(k2)]) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(k2)) - if esep { - ee.WriteMapElemValue() - } - e.encode(v2) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapUintIntR(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapUintIntV(rv2i(rv).(map[uint]int), e) -} -func (_ fastpathT) EncMapUintIntV(v map[uint]int, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]uint64, len(v)) - var i uint - for k := range v { - v2[i] = uint64(k) - i++ - } - sort.Sort(uintSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(uint(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v[uint(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapUintInt8R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapUintInt8V(rv2i(rv).(map[uint]int8), e) -} -func (_ fastpathT) EncMapUintInt8V(v map[uint]int8, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]uint64, len(v)) - var i uint - for k := range v { - v2[i] = uint64(k) - i++ - } - sort.Sort(uintSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(uint(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v[uint(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapUintInt16R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapUintInt16V(rv2i(rv).(map[uint]int16), e) -} -func (_ fastpathT) EncMapUintInt16V(v map[uint]int16, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]uint64, len(v)) - var i uint - for k := range v { - v2[i] = uint64(k) - i++ - } - sort.Sort(uintSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(uint(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v[uint(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapUintInt32R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapUintInt32V(rv2i(rv).(map[uint]int32), e) -} -func (_ fastpathT) EncMapUintInt32V(v map[uint]int32, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]uint64, len(v)) - var i uint - for k := range v { - v2[i] = uint64(k) - i++ - } - sort.Sort(uintSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(uint(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v[uint(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapUintInt64R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapUintInt64V(rv2i(rv).(map[uint]int64), e) -} -func (_ fastpathT) EncMapUintInt64V(v map[uint]int64, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]uint64, len(v)) - var i uint - for k := range v { - v2[i] = uint64(k) - i++ - } - sort.Sort(uintSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(uint(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v[uint(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapUintFloat32R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapUintFloat32V(rv2i(rv).(map[uint]float32), e) -} -func (_ fastpathT) EncMapUintFloat32V(v map[uint]float32, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]uint64, len(v)) - var i uint - for k := range v { - v2[i] = uint64(k) - i++ - } - sort.Sort(uintSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(uint(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeFloat32(v[uint(k2)]) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeFloat32(v2) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapUintFloat64R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapUintFloat64V(rv2i(rv).(map[uint]float64), e) -} -func (_ fastpathT) EncMapUintFloat64V(v map[uint]float64, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]uint64, len(v)) - var i uint - for k := range v { - v2[i] = uint64(k) - i++ - } - sort.Sort(uintSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(uint(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeFloat64(v[uint(k2)]) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeFloat64(v2) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapUintBoolR(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapUintBoolV(rv2i(rv).(map[uint]bool), e) -} -func (_ fastpathT) EncMapUintBoolV(v map[uint]bool, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]uint64, len(v)) - var i uint - for k := range v { - v2[i] = uint64(k) - i++ - } - sort.Sort(uintSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(uint(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeBool(v[uint(k2)]) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeBool(v2) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapUint8IntfR(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapUint8IntfV(rv2i(rv).(map[uint8]interface{}), e) -} -func (_ fastpathT) EncMapUint8IntfV(v map[uint8]interface{}, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]uint64, len(v)) - var i uint - for k := range v { - v2[i] = uint64(k) - i++ - } - sort.Sort(uintSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(uint8(k2))) - if esep { - ee.WriteMapElemValue() - } - e.encode(v[uint8(k2)]) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(k2)) - if esep { - ee.WriteMapElemValue() - } - e.encode(v2) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapUint8StringR(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapUint8StringV(rv2i(rv).(map[uint8]string), e) -} -func (_ fastpathT) EncMapUint8StringV(v map[uint8]string, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]uint64, len(v)) - var i uint - for k := range v { - v2[i] = uint64(k) - i++ - } - sort.Sort(uintSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(uint8(k2))) - if esep { - ee.WriteMapElemValue() - } - if e.h.StringToRaw { - ee.EncodeStringBytesRaw(bytesView(v[uint8(k2)])) - } else { - ee.EncodeStringEnc(cUTF8, v[uint8(k2)]) - } - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(k2)) - if esep { - ee.WriteMapElemValue() - } - if e.h.StringToRaw { - ee.EncodeStringBytesRaw(bytesView(v2)) - } else { - ee.EncodeStringEnc(cUTF8, v2) - } - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapUint8UintR(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapUint8UintV(rv2i(rv).(map[uint8]uint), e) -} -func (_ fastpathT) EncMapUint8UintV(v map[uint8]uint, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]uint64, len(v)) - var i uint - for k := range v { - v2[i] = uint64(k) - i++ - } - sort.Sort(uintSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(uint8(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v[uint8(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapUint8Uint8R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapUint8Uint8V(rv2i(rv).(map[uint8]uint8), e) -} -func (_ fastpathT) EncMapUint8Uint8V(v map[uint8]uint8, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]uint64, len(v)) - var i uint - for k := range v { - v2[i] = uint64(k) - i++ - } - sort.Sort(uintSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(uint8(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v[uint8(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapUint8Uint16R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapUint8Uint16V(rv2i(rv).(map[uint8]uint16), e) -} -func (_ fastpathT) EncMapUint8Uint16V(v map[uint8]uint16, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]uint64, len(v)) - var i uint - for k := range v { - v2[i] = uint64(k) - i++ - } - sort.Sort(uintSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(uint8(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v[uint8(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapUint8Uint32R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapUint8Uint32V(rv2i(rv).(map[uint8]uint32), e) -} -func (_ fastpathT) EncMapUint8Uint32V(v map[uint8]uint32, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]uint64, len(v)) - var i uint - for k := range v { - v2[i] = uint64(k) - i++ - } - sort.Sort(uintSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(uint8(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v[uint8(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapUint8Uint64R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapUint8Uint64V(rv2i(rv).(map[uint8]uint64), e) -} -func (_ fastpathT) EncMapUint8Uint64V(v map[uint8]uint64, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]uint64, len(v)) - var i uint - for k := range v { - v2[i] = uint64(k) - i++ - } - sort.Sort(uintSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(uint8(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v[uint8(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapUint8UintptrR(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapUint8UintptrV(rv2i(rv).(map[uint8]uintptr), e) -} -func (_ fastpathT) EncMapUint8UintptrV(v map[uint8]uintptr, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]uint64, len(v)) - var i uint - for k := range v { - v2[i] = uint64(k) - i++ - } - sort.Sort(uintSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(uint8(k2))) - if esep { - ee.WriteMapElemValue() - } - e.encode(v[uint8(k2)]) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(k2)) - if esep { - ee.WriteMapElemValue() - } - e.encode(v2) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapUint8IntR(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapUint8IntV(rv2i(rv).(map[uint8]int), e) -} -func (_ fastpathT) EncMapUint8IntV(v map[uint8]int, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]uint64, len(v)) - var i uint - for k := range v { - v2[i] = uint64(k) - i++ - } - sort.Sort(uintSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(uint8(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v[uint8(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapUint8Int8R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapUint8Int8V(rv2i(rv).(map[uint8]int8), e) -} -func (_ fastpathT) EncMapUint8Int8V(v map[uint8]int8, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]uint64, len(v)) - var i uint - for k := range v { - v2[i] = uint64(k) - i++ - } - sort.Sort(uintSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(uint8(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v[uint8(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapUint8Int16R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapUint8Int16V(rv2i(rv).(map[uint8]int16), e) -} -func (_ fastpathT) EncMapUint8Int16V(v map[uint8]int16, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]uint64, len(v)) - var i uint - for k := range v { - v2[i] = uint64(k) - i++ - } - sort.Sort(uintSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(uint8(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v[uint8(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapUint8Int32R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapUint8Int32V(rv2i(rv).(map[uint8]int32), e) -} -func (_ fastpathT) EncMapUint8Int32V(v map[uint8]int32, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]uint64, len(v)) - var i uint - for k := range v { - v2[i] = uint64(k) - i++ - } - sort.Sort(uintSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(uint8(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v[uint8(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapUint8Int64R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapUint8Int64V(rv2i(rv).(map[uint8]int64), e) -} -func (_ fastpathT) EncMapUint8Int64V(v map[uint8]int64, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]uint64, len(v)) - var i uint - for k := range v { - v2[i] = uint64(k) - i++ - } - sort.Sort(uintSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(uint8(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v[uint8(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapUint8Float32R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapUint8Float32V(rv2i(rv).(map[uint8]float32), e) -} -func (_ fastpathT) EncMapUint8Float32V(v map[uint8]float32, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]uint64, len(v)) - var i uint - for k := range v { - v2[i] = uint64(k) - i++ - } - sort.Sort(uintSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(uint8(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeFloat32(v[uint8(k2)]) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeFloat32(v2) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapUint8Float64R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapUint8Float64V(rv2i(rv).(map[uint8]float64), e) -} -func (_ fastpathT) EncMapUint8Float64V(v map[uint8]float64, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]uint64, len(v)) - var i uint - for k := range v { - v2[i] = uint64(k) - i++ - } - sort.Sort(uintSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(uint8(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeFloat64(v[uint8(k2)]) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeFloat64(v2) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapUint8BoolR(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapUint8BoolV(rv2i(rv).(map[uint8]bool), e) -} -func (_ fastpathT) EncMapUint8BoolV(v map[uint8]bool, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]uint64, len(v)) - var i uint - for k := range v { - v2[i] = uint64(k) - i++ - } - sort.Sort(uintSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(uint8(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeBool(v[uint8(k2)]) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeBool(v2) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapUint16IntfR(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapUint16IntfV(rv2i(rv).(map[uint16]interface{}), e) -} -func (_ fastpathT) EncMapUint16IntfV(v map[uint16]interface{}, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]uint64, len(v)) - var i uint - for k := range v { - v2[i] = uint64(k) - i++ - } - sort.Sort(uintSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(uint16(k2))) - if esep { - ee.WriteMapElemValue() - } - e.encode(v[uint16(k2)]) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(k2)) - if esep { - ee.WriteMapElemValue() - } - e.encode(v2) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapUint16StringR(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapUint16StringV(rv2i(rv).(map[uint16]string), e) -} -func (_ fastpathT) EncMapUint16StringV(v map[uint16]string, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]uint64, len(v)) - var i uint - for k := range v { - v2[i] = uint64(k) - i++ - } - sort.Sort(uintSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(uint16(k2))) - if esep { - ee.WriteMapElemValue() - } - if e.h.StringToRaw { - ee.EncodeStringBytesRaw(bytesView(v[uint16(k2)])) - } else { - ee.EncodeStringEnc(cUTF8, v[uint16(k2)]) - } - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(k2)) - if esep { - ee.WriteMapElemValue() - } - if e.h.StringToRaw { - ee.EncodeStringBytesRaw(bytesView(v2)) - } else { - ee.EncodeStringEnc(cUTF8, v2) - } - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapUint16UintR(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapUint16UintV(rv2i(rv).(map[uint16]uint), e) -} -func (_ fastpathT) EncMapUint16UintV(v map[uint16]uint, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]uint64, len(v)) - var i uint - for k := range v { - v2[i] = uint64(k) - i++ - } - sort.Sort(uintSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(uint16(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v[uint16(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapUint16Uint8R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapUint16Uint8V(rv2i(rv).(map[uint16]uint8), e) -} -func (_ fastpathT) EncMapUint16Uint8V(v map[uint16]uint8, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]uint64, len(v)) - var i uint - for k := range v { - v2[i] = uint64(k) - i++ - } - sort.Sort(uintSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(uint16(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v[uint16(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapUint16Uint16R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapUint16Uint16V(rv2i(rv).(map[uint16]uint16), e) -} -func (_ fastpathT) EncMapUint16Uint16V(v map[uint16]uint16, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]uint64, len(v)) - var i uint - for k := range v { - v2[i] = uint64(k) - i++ - } - sort.Sort(uintSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(uint16(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v[uint16(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapUint16Uint32R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapUint16Uint32V(rv2i(rv).(map[uint16]uint32), e) -} -func (_ fastpathT) EncMapUint16Uint32V(v map[uint16]uint32, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]uint64, len(v)) - var i uint - for k := range v { - v2[i] = uint64(k) - i++ - } - sort.Sort(uintSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(uint16(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v[uint16(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapUint16Uint64R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapUint16Uint64V(rv2i(rv).(map[uint16]uint64), e) -} -func (_ fastpathT) EncMapUint16Uint64V(v map[uint16]uint64, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]uint64, len(v)) - var i uint - for k := range v { - v2[i] = uint64(k) - i++ - } - sort.Sort(uintSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(uint16(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v[uint16(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapUint16UintptrR(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapUint16UintptrV(rv2i(rv).(map[uint16]uintptr), e) -} -func (_ fastpathT) EncMapUint16UintptrV(v map[uint16]uintptr, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]uint64, len(v)) - var i uint - for k := range v { - v2[i] = uint64(k) - i++ - } - sort.Sort(uintSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(uint16(k2))) - if esep { - ee.WriteMapElemValue() - } - e.encode(v[uint16(k2)]) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(k2)) - if esep { - ee.WriteMapElemValue() - } - e.encode(v2) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapUint16IntR(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapUint16IntV(rv2i(rv).(map[uint16]int), e) -} -func (_ fastpathT) EncMapUint16IntV(v map[uint16]int, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]uint64, len(v)) - var i uint - for k := range v { - v2[i] = uint64(k) - i++ - } - sort.Sort(uintSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(uint16(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v[uint16(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapUint16Int8R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapUint16Int8V(rv2i(rv).(map[uint16]int8), e) -} -func (_ fastpathT) EncMapUint16Int8V(v map[uint16]int8, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]uint64, len(v)) - var i uint - for k := range v { - v2[i] = uint64(k) - i++ - } - sort.Sort(uintSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(uint16(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v[uint16(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapUint16Int16R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapUint16Int16V(rv2i(rv).(map[uint16]int16), e) -} -func (_ fastpathT) EncMapUint16Int16V(v map[uint16]int16, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]uint64, len(v)) - var i uint - for k := range v { - v2[i] = uint64(k) - i++ - } - sort.Sort(uintSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(uint16(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v[uint16(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapUint16Int32R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapUint16Int32V(rv2i(rv).(map[uint16]int32), e) -} -func (_ fastpathT) EncMapUint16Int32V(v map[uint16]int32, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]uint64, len(v)) - var i uint - for k := range v { - v2[i] = uint64(k) - i++ - } - sort.Sort(uintSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(uint16(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v[uint16(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapUint16Int64R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapUint16Int64V(rv2i(rv).(map[uint16]int64), e) -} -func (_ fastpathT) EncMapUint16Int64V(v map[uint16]int64, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]uint64, len(v)) - var i uint - for k := range v { - v2[i] = uint64(k) - i++ - } - sort.Sort(uintSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(uint16(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v[uint16(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapUint16Float32R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapUint16Float32V(rv2i(rv).(map[uint16]float32), e) -} -func (_ fastpathT) EncMapUint16Float32V(v map[uint16]float32, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]uint64, len(v)) - var i uint - for k := range v { - v2[i] = uint64(k) - i++ - } - sort.Sort(uintSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(uint16(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeFloat32(v[uint16(k2)]) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeFloat32(v2) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapUint16Float64R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapUint16Float64V(rv2i(rv).(map[uint16]float64), e) -} -func (_ fastpathT) EncMapUint16Float64V(v map[uint16]float64, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]uint64, len(v)) - var i uint - for k := range v { - v2[i] = uint64(k) - i++ - } - sort.Sort(uintSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(uint16(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeFloat64(v[uint16(k2)]) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeFloat64(v2) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapUint16BoolR(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapUint16BoolV(rv2i(rv).(map[uint16]bool), e) -} -func (_ fastpathT) EncMapUint16BoolV(v map[uint16]bool, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]uint64, len(v)) - var i uint - for k := range v { - v2[i] = uint64(k) - i++ - } - sort.Sort(uintSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(uint16(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeBool(v[uint16(k2)]) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeBool(v2) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapUint32IntfR(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapUint32IntfV(rv2i(rv).(map[uint32]interface{}), e) -} -func (_ fastpathT) EncMapUint32IntfV(v map[uint32]interface{}, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]uint64, len(v)) - var i uint - for k := range v { - v2[i] = uint64(k) - i++ - } - sort.Sort(uintSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(uint32(k2))) - if esep { - ee.WriteMapElemValue() - } - e.encode(v[uint32(k2)]) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(k2)) - if esep { - ee.WriteMapElemValue() - } - e.encode(v2) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapUint32StringR(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapUint32StringV(rv2i(rv).(map[uint32]string), e) -} -func (_ fastpathT) EncMapUint32StringV(v map[uint32]string, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]uint64, len(v)) - var i uint - for k := range v { - v2[i] = uint64(k) - i++ - } - sort.Sort(uintSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(uint32(k2))) - if esep { - ee.WriteMapElemValue() - } - if e.h.StringToRaw { - ee.EncodeStringBytesRaw(bytesView(v[uint32(k2)])) - } else { - ee.EncodeStringEnc(cUTF8, v[uint32(k2)]) - } - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(k2)) - if esep { - ee.WriteMapElemValue() - } - if e.h.StringToRaw { - ee.EncodeStringBytesRaw(bytesView(v2)) - } else { - ee.EncodeStringEnc(cUTF8, v2) - } - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapUint32UintR(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapUint32UintV(rv2i(rv).(map[uint32]uint), e) -} -func (_ fastpathT) EncMapUint32UintV(v map[uint32]uint, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]uint64, len(v)) - var i uint - for k := range v { - v2[i] = uint64(k) - i++ - } - sort.Sort(uintSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(uint32(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v[uint32(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapUint32Uint8R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapUint32Uint8V(rv2i(rv).(map[uint32]uint8), e) -} -func (_ fastpathT) EncMapUint32Uint8V(v map[uint32]uint8, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]uint64, len(v)) - var i uint - for k := range v { - v2[i] = uint64(k) - i++ - } - sort.Sort(uintSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(uint32(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v[uint32(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapUint32Uint16R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapUint32Uint16V(rv2i(rv).(map[uint32]uint16), e) -} -func (_ fastpathT) EncMapUint32Uint16V(v map[uint32]uint16, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]uint64, len(v)) - var i uint - for k := range v { - v2[i] = uint64(k) - i++ - } - sort.Sort(uintSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(uint32(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v[uint32(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapUint32Uint32R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapUint32Uint32V(rv2i(rv).(map[uint32]uint32), e) -} -func (_ fastpathT) EncMapUint32Uint32V(v map[uint32]uint32, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]uint64, len(v)) - var i uint - for k := range v { - v2[i] = uint64(k) - i++ - } - sort.Sort(uintSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(uint32(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v[uint32(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapUint32Uint64R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapUint32Uint64V(rv2i(rv).(map[uint32]uint64), e) -} -func (_ fastpathT) EncMapUint32Uint64V(v map[uint32]uint64, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]uint64, len(v)) - var i uint - for k := range v { - v2[i] = uint64(k) - i++ - } - sort.Sort(uintSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(uint32(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v[uint32(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapUint32UintptrR(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapUint32UintptrV(rv2i(rv).(map[uint32]uintptr), e) -} -func (_ fastpathT) EncMapUint32UintptrV(v map[uint32]uintptr, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]uint64, len(v)) - var i uint - for k := range v { - v2[i] = uint64(k) - i++ - } - sort.Sort(uintSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(uint32(k2))) - if esep { - ee.WriteMapElemValue() - } - e.encode(v[uint32(k2)]) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(k2)) - if esep { - ee.WriteMapElemValue() - } - e.encode(v2) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapUint32IntR(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapUint32IntV(rv2i(rv).(map[uint32]int), e) -} -func (_ fastpathT) EncMapUint32IntV(v map[uint32]int, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]uint64, len(v)) - var i uint - for k := range v { - v2[i] = uint64(k) - i++ - } - sort.Sort(uintSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(uint32(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v[uint32(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapUint32Int8R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapUint32Int8V(rv2i(rv).(map[uint32]int8), e) -} -func (_ fastpathT) EncMapUint32Int8V(v map[uint32]int8, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]uint64, len(v)) - var i uint - for k := range v { - v2[i] = uint64(k) - i++ - } - sort.Sort(uintSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(uint32(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v[uint32(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapUint32Int16R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapUint32Int16V(rv2i(rv).(map[uint32]int16), e) -} -func (_ fastpathT) EncMapUint32Int16V(v map[uint32]int16, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]uint64, len(v)) - var i uint - for k := range v { - v2[i] = uint64(k) - i++ - } - sort.Sort(uintSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(uint32(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v[uint32(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapUint32Int32R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapUint32Int32V(rv2i(rv).(map[uint32]int32), e) -} -func (_ fastpathT) EncMapUint32Int32V(v map[uint32]int32, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]uint64, len(v)) - var i uint - for k := range v { - v2[i] = uint64(k) - i++ - } - sort.Sort(uintSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(uint32(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v[uint32(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapUint32Int64R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapUint32Int64V(rv2i(rv).(map[uint32]int64), e) -} -func (_ fastpathT) EncMapUint32Int64V(v map[uint32]int64, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]uint64, len(v)) - var i uint - for k := range v { - v2[i] = uint64(k) - i++ - } - sort.Sort(uintSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(uint32(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v[uint32(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapUint32Float32R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapUint32Float32V(rv2i(rv).(map[uint32]float32), e) -} -func (_ fastpathT) EncMapUint32Float32V(v map[uint32]float32, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]uint64, len(v)) - var i uint - for k := range v { - v2[i] = uint64(k) - i++ - } - sort.Sort(uintSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(uint32(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeFloat32(v[uint32(k2)]) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeFloat32(v2) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapUint32Float64R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapUint32Float64V(rv2i(rv).(map[uint32]float64), e) -} -func (_ fastpathT) EncMapUint32Float64V(v map[uint32]float64, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]uint64, len(v)) - var i uint - for k := range v { - v2[i] = uint64(k) - i++ - } - sort.Sort(uintSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(uint32(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeFloat64(v[uint32(k2)]) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeFloat64(v2) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapUint32BoolR(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapUint32BoolV(rv2i(rv).(map[uint32]bool), e) -} -func (_ fastpathT) EncMapUint32BoolV(v map[uint32]bool, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]uint64, len(v)) - var i uint - for k := range v { - v2[i] = uint64(k) - i++ - } - sort.Sort(uintSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(uint32(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeBool(v[uint32(k2)]) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeBool(v2) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapUint64IntfR(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapUint64IntfV(rv2i(rv).(map[uint64]interface{}), e) -} -func (_ fastpathT) EncMapUint64IntfV(v map[uint64]interface{}, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]uint64, len(v)) - var i uint - for k := range v { - v2[i] = uint64(k) - i++ - } - sort.Sort(uintSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(uint64(k2))) - if esep { - ee.WriteMapElemValue() - } - e.encode(v[uint64(k2)]) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(k2)) - if esep { - ee.WriteMapElemValue() - } - e.encode(v2) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapUint64StringR(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapUint64StringV(rv2i(rv).(map[uint64]string), e) -} -func (_ fastpathT) EncMapUint64StringV(v map[uint64]string, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]uint64, len(v)) - var i uint - for k := range v { - v2[i] = uint64(k) - i++ - } - sort.Sort(uintSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(uint64(k2))) - if esep { - ee.WriteMapElemValue() - } - if e.h.StringToRaw { - ee.EncodeStringBytesRaw(bytesView(v[uint64(k2)])) - } else { - ee.EncodeStringEnc(cUTF8, v[uint64(k2)]) - } - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(k2)) - if esep { - ee.WriteMapElemValue() - } - if e.h.StringToRaw { - ee.EncodeStringBytesRaw(bytesView(v2)) - } else { - ee.EncodeStringEnc(cUTF8, v2) - } - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapUint64UintR(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapUint64UintV(rv2i(rv).(map[uint64]uint), e) -} -func (_ fastpathT) EncMapUint64UintV(v map[uint64]uint, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]uint64, len(v)) - var i uint - for k := range v { - v2[i] = uint64(k) - i++ - } - sort.Sort(uintSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(uint64(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v[uint64(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapUint64Uint8R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapUint64Uint8V(rv2i(rv).(map[uint64]uint8), e) -} -func (_ fastpathT) EncMapUint64Uint8V(v map[uint64]uint8, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]uint64, len(v)) - var i uint - for k := range v { - v2[i] = uint64(k) - i++ - } - sort.Sort(uintSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(uint64(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v[uint64(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapUint64Uint16R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapUint64Uint16V(rv2i(rv).(map[uint64]uint16), e) -} -func (_ fastpathT) EncMapUint64Uint16V(v map[uint64]uint16, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]uint64, len(v)) - var i uint - for k := range v { - v2[i] = uint64(k) - i++ - } - sort.Sort(uintSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(uint64(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v[uint64(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapUint64Uint32R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapUint64Uint32V(rv2i(rv).(map[uint64]uint32), e) -} -func (_ fastpathT) EncMapUint64Uint32V(v map[uint64]uint32, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]uint64, len(v)) - var i uint - for k := range v { - v2[i] = uint64(k) - i++ - } - sort.Sort(uintSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(uint64(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v[uint64(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapUint64Uint64R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapUint64Uint64V(rv2i(rv).(map[uint64]uint64), e) -} -func (_ fastpathT) EncMapUint64Uint64V(v map[uint64]uint64, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]uint64, len(v)) - var i uint - for k := range v { - v2[i] = uint64(k) - i++ - } - sort.Sort(uintSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(uint64(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v[uint64(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapUint64UintptrR(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapUint64UintptrV(rv2i(rv).(map[uint64]uintptr), e) -} -func (_ fastpathT) EncMapUint64UintptrV(v map[uint64]uintptr, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]uint64, len(v)) - var i uint - for k := range v { - v2[i] = uint64(k) - i++ - } - sort.Sort(uintSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(uint64(k2))) - if esep { - ee.WriteMapElemValue() - } - e.encode(v[uint64(k2)]) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(k2)) - if esep { - ee.WriteMapElemValue() - } - e.encode(v2) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapUint64IntR(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapUint64IntV(rv2i(rv).(map[uint64]int), e) -} -func (_ fastpathT) EncMapUint64IntV(v map[uint64]int, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]uint64, len(v)) - var i uint - for k := range v { - v2[i] = uint64(k) - i++ - } - sort.Sort(uintSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(uint64(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v[uint64(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapUint64Int8R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapUint64Int8V(rv2i(rv).(map[uint64]int8), e) -} -func (_ fastpathT) EncMapUint64Int8V(v map[uint64]int8, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]uint64, len(v)) - var i uint - for k := range v { - v2[i] = uint64(k) - i++ - } - sort.Sort(uintSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(uint64(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v[uint64(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapUint64Int16R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapUint64Int16V(rv2i(rv).(map[uint64]int16), e) -} -func (_ fastpathT) EncMapUint64Int16V(v map[uint64]int16, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]uint64, len(v)) - var i uint - for k := range v { - v2[i] = uint64(k) - i++ - } - sort.Sort(uintSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(uint64(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v[uint64(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapUint64Int32R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapUint64Int32V(rv2i(rv).(map[uint64]int32), e) -} -func (_ fastpathT) EncMapUint64Int32V(v map[uint64]int32, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]uint64, len(v)) - var i uint - for k := range v { - v2[i] = uint64(k) - i++ - } - sort.Sort(uintSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(uint64(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v[uint64(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapUint64Int64R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapUint64Int64V(rv2i(rv).(map[uint64]int64), e) -} -func (_ fastpathT) EncMapUint64Int64V(v map[uint64]int64, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]uint64, len(v)) - var i uint - for k := range v { - v2[i] = uint64(k) - i++ - } - sort.Sort(uintSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(uint64(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v[uint64(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapUint64Float32R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapUint64Float32V(rv2i(rv).(map[uint64]float32), e) -} -func (_ fastpathT) EncMapUint64Float32V(v map[uint64]float32, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]uint64, len(v)) - var i uint - for k := range v { - v2[i] = uint64(k) - i++ - } - sort.Sort(uintSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(uint64(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeFloat32(v[uint64(k2)]) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeFloat32(v2) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapUint64Float64R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapUint64Float64V(rv2i(rv).(map[uint64]float64), e) -} -func (_ fastpathT) EncMapUint64Float64V(v map[uint64]float64, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]uint64, len(v)) - var i uint - for k := range v { - v2[i] = uint64(k) - i++ - } - sort.Sort(uintSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(uint64(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeFloat64(v[uint64(k2)]) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeFloat64(v2) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapUint64BoolR(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapUint64BoolV(rv2i(rv).(map[uint64]bool), e) -} -func (_ fastpathT) EncMapUint64BoolV(v map[uint64]bool, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]uint64, len(v)) - var i uint - for k := range v { - v2[i] = uint64(k) - i++ - } - sort.Sort(uintSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(uint64(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeBool(v[uint64(k2)]) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeUint(uint64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeBool(v2) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapUintptrIntfR(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapUintptrIntfV(rv2i(rv).(map[uintptr]interface{}), e) -} -func (_ fastpathT) EncMapUintptrIntfV(v map[uintptr]interface{}, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]uint64, len(v)) - var i uint - for k := range v { - v2[i] = uint64(k) - i++ - } - sort.Sort(uintSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - e.encode(uintptr(k2)) - if esep { - ee.WriteMapElemValue() - } - e.encode(v[uintptr(k2)]) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - e.encode(k2) - if esep { - ee.WriteMapElemValue() - } - e.encode(v2) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapUintptrStringR(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapUintptrStringV(rv2i(rv).(map[uintptr]string), e) -} -func (_ fastpathT) EncMapUintptrStringV(v map[uintptr]string, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]uint64, len(v)) - var i uint - for k := range v { - v2[i] = uint64(k) - i++ - } - sort.Sort(uintSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - e.encode(uintptr(k2)) - if esep { - ee.WriteMapElemValue() - } - if e.h.StringToRaw { - ee.EncodeStringBytesRaw(bytesView(v[uintptr(k2)])) - } else { - ee.EncodeStringEnc(cUTF8, v[uintptr(k2)]) - } - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - e.encode(k2) - if esep { - ee.WriteMapElemValue() - } - if e.h.StringToRaw { - ee.EncodeStringBytesRaw(bytesView(v2)) - } else { - ee.EncodeStringEnc(cUTF8, v2) - } - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapUintptrUintR(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapUintptrUintV(rv2i(rv).(map[uintptr]uint), e) -} -func (_ fastpathT) EncMapUintptrUintV(v map[uintptr]uint, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]uint64, len(v)) - var i uint - for k := range v { - v2[i] = uint64(k) - i++ - } - sort.Sort(uintSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - e.encode(uintptr(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v[uintptr(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - e.encode(k2) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapUintptrUint8R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapUintptrUint8V(rv2i(rv).(map[uintptr]uint8), e) -} -func (_ fastpathT) EncMapUintptrUint8V(v map[uintptr]uint8, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]uint64, len(v)) - var i uint - for k := range v { - v2[i] = uint64(k) - i++ - } - sort.Sort(uintSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - e.encode(uintptr(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v[uintptr(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - e.encode(k2) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapUintptrUint16R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapUintptrUint16V(rv2i(rv).(map[uintptr]uint16), e) -} -func (_ fastpathT) EncMapUintptrUint16V(v map[uintptr]uint16, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]uint64, len(v)) - var i uint - for k := range v { - v2[i] = uint64(k) - i++ - } - sort.Sort(uintSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - e.encode(uintptr(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v[uintptr(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - e.encode(k2) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapUintptrUint32R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapUintptrUint32V(rv2i(rv).(map[uintptr]uint32), e) -} -func (_ fastpathT) EncMapUintptrUint32V(v map[uintptr]uint32, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]uint64, len(v)) - var i uint - for k := range v { - v2[i] = uint64(k) - i++ - } - sort.Sort(uintSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - e.encode(uintptr(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v[uintptr(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - e.encode(k2) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapUintptrUint64R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapUintptrUint64V(rv2i(rv).(map[uintptr]uint64), e) -} -func (_ fastpathT) EncMapUintptrUint64V(v map[uintptr]uint64, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]uint64, len(v)) - var i uint - for k := range v { - v2[i] = uint64(k) - i++ - } - sort.Sort(uintSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - e.encode(uintptr(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v[uintptr(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - e.encode(k2) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapUintptrUintptrR(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapUintptrUintptrV(rv2i(rv).(map[uintptr]uintptr), e) -} -func (_ fastpathT) EncMapUintptrUintptrV(v map[uintptr]uintptr, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]uint64, len(v)) - var i uint - for k := range v { - v2[i] = uint64(k) - i++ - } - sort.Sort(uintSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - e.encode(uintptr(k2)) - if esep { - ee.WriteMapElemValue() - } - e.encode(v[uintptr(k2)]) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - e.encode(k2) - if esep { - ee.WriteMapElemValue() - } - e.encode(v2) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapUintptrIntR(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapUintptrIntV(rv2i(rv).(map[uintptr]int), e) -} -func (_ fastpathT) EncMapUintptrIntV(v map[uintptr]int, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]uint64, len(v)) - var i uint - for k := range v { - v2[i] = uint64(k) - i++ - } - sort.Sort(uintSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - e.encode(uintptr(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v[uintptr(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - e.encode(k2) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapUintptrInt8R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapUintptrInt8V(rv2i(rv).(map[uintptr]int8), e) -} -func (_ fastpathT) EncMapUintptrInt8V(v map[uintptr]int8, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]uint64, len(v)) - var i uint - for k := range v { - v2[i] = uint64(k) - i++ - } - sort.Sort(uintSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - e.encode(uintptr(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v[uintptr(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - e.encode(k2) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapUintptrInt16R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapUintptrInt16V(rv2i(rv).(map[uintptr]int16), e) -} -func (_ fastpathT) EncMapUintptrInt16V(v map[uintptr]int16, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]uint64, len(v)) - var i uint - for k := range v { - v2[i] = uint64(k) - i++ - } - sort.Sort(uintSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - e.encode(uintptr(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v[uintptr(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - e.encode(k2) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapUintptrInt32R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapUintptrInt32V(rv2i(rv).(map[uintptr]int32), e) -} -func (_ fastpathT) EncMapUintptrInt32V(v map[uintptr]int32, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]uint64, len(v)) - var i uint - for k := range v { - v2[i] = uint64(k) - i++ - } - sort.Sort(uintSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - e.encode(uintptr(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v[uintptr(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - e.encode(k2) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapUintptrInt64R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapUintptrInt64V(rv2i(rv).(map[uintptr]int64), e) -} -func (_ fastpathT) EncMapUintptrInt64V(v map[uintptr]int64, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]uint64, len(v)) - var i uint - for k := range v { - v2[i] = uint64(k) - i++ - } - sort.Sort(uintSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - e.encode(uintptr(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v[uintptr(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - e.encode(k2) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapUintptrFloat32R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapUintptrFloat32V(rv2i(rv).(map[uintptr]float32), e) -} -func (_ fastpathT) EncMapUintptrFloat32V(v map[uintptr]float32, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]uint64, len(v)) - var i uint - for k := range v { - v2[i] = uint64(k) - i++ - } - sort.Sort(uintSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - e.encode(uintptr(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeFloat32(v[uintptr(k2)]) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - e.encode(k2) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeFloat32(v2) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapUintptrFloat64R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapUintptrFloat64V(rv2i(rv).(map[uintptr]float64), e) -} -func (_ fastpathT) EncMapUintptrFloat64V(v map[uintptr]float64, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]uint64, len(v)) - var i uint - for k := range v { - v2[i] = uint64(k) - i++ - } - sort.Sort(uintSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - e.encode(uintptr(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeFloat64(v[uintptr(k2)]) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - e.encode(k2) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeFloat64(v2) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapUintptrBoolR(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapUintptrBoolV(rv2i(rv).(map[uintptr]bool), e) -} -func (_ fastpathT) EncMapUintptrBoolV(v map[uintptr]bool, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]uint64, len(v)) - var i uint - for k := range v { - v2[i] = uint64(k) - i++ - } - sort.Sort(uintSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - e.encode(uintptr(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeBool(v[uintptr(k2)]) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - e.encode(k2) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeBool(v2) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapIntIntfR(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapIntIntfV(rv2i(rv).(map[int]interface{}), e) -} -func (_ fastpathT) EncMapIntIntfV(v map[int]interface{}, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]int64, len(v)) - var i uint - for k := range v { - v2[i] = int64(k) - i++ - } - sort.Sort(intSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(int(k2))) - if esep { - ee.WriteMapElemValue() - } - e.encode(v[int(k2)]) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(k2)) - if esep { - ee.WriteMapElemValue() - } - e.encode(v2) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapIntStringR(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapIntStringV(rv2i(rv).(map[int]string), e) -} -func (_ fastpathT) EncMapIntStringV(v map[int]string, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]int64, len(v)) - var i uint - for k := range v { - v2[i] = int64(k) - i++ - } - sort.Sort(intSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(int(k2))) - if esep { - ee.WriteMapElemValue() - } - if e.h.StringToRaw { - ee.EncodeStringBytesRaw(bytesView(v[int(k2)])) - } else { - ee.EncodeStringEnc(cUTF8, v[int(k2)]) - } - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(k2)) - if esep { - ee.WriteMapElemValue() - } - if e.h.StringToRaw { - ee.EncodeStringBytesRaw(bytesView(v2)) - } else { - ee.EncodeStringEnc(cUTF8, v2) - } - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapIntUintR(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapIntUintV(rv2i(rv).(map[int]uint), e) -} -func (_ fastpathT) EncMapIntUintV(v map[int]uint, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]int64, len(v)) - var i uint - for k := range v { - v2[i] = int64(k) - i++ - } - sort.Sort(intSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(int(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v[int(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapIntUint8R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapIntUint8V(rv2i(rv).(map[int]uint8), e) -} -func (_ fastpathT) EncMapIntUint8V(v map[int]uint8, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]int64, len(v)) - var i uint - for k := range v { - v2[i] = int64(k) - i++ - } - sort.Sort(intSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(int(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v[int(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapIntUint16R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapIntUint16V(rv2i(rv).(map[int]uint16), e) -} -func (_ fastpathT) EncMapIntUint16V(v map[int]uint16, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]int64, len(v)) - var i uint - for k := range v { - v2[i] = int64(k) - i++ - } - sort.Sort(intSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(int(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v[int(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapIntUint32R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapIntUint32V(rv2i(rv).(map[int]uint32), e) -} -func (_ fastpathT) EncMapIntUint32V(v map[int]uint32, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]int64, len(v)) - var i uint - for k := range v { - v2[i] = int64(k) - i++ - } - sort.Sort(intSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(int(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v[int(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapIntUint64R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapIntUint64V(rv2i(rv).(map[int]uint64), e) -} -func (_ fastpathT) EncMapIntUint64V(v map[int]uint64, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]int64, len(v)) - var i uint - for k := range v { - v2[i] = int64(k) - i++ - } - sort.Sort(intSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(int(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v[int(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapIntUintptrR(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapIntUintptrV(rv2i(rv).(map[int]uintptr), e) -} -func (_ fastpathT) EncMapIntUintptrV(v map[int]uintptr, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]int64, len(v)) - var i uint - for k := range v { - v2[i] = int64(k) - i++ - } - sort.Sort(intSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(int(k2))) - if esep { - ee.WriteMapElemValue() - } - e.encode(v[int(k2)]) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(k2)) - if esep { - ee.WriteMapElemValue() - } - e.encode(v2) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapIntIntR(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapIntIntV(rv2i(rv).(map[int]int), e) -} -func (_ fastpathT) EncMapIntIntV(v map[int]int, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]int64, len(v)) - var i uint - for k := range v { - v2[i] = int64(k) - i++ - } - sort.Sort(intSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(int(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v[int(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapIntInt8R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapIntInt8V(rv2i(rv).(map[int]int8), e) -} -func (_ fastpathT) EncMapIntInt8V(v map[int]int8, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]int64, len(v)) - var i uint - for k := range v { - v2[i] = int64(k) - i++ - } - sort.Sort(intSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(int(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v[int(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapIntInt16R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapIntInt16V(rv2i(rv).(map[int]int16), e) -} -func (_ fastpathT) EncMapIntInt16V(v map[int]int16, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]int64, len(v)) - var i uint - for k := range v { - v2[i] = int64(k) - i++ - } - sort.Sort(intSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(int(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v[int(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapIntInt32R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapIntInt32V(rv2i(rv).(map[int]int32), e) -} -func (_ fastpathT) EncMapIntInt32V(v map[int]int32, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]int64, len(v)) - var i uint - for k := range v { - v2[i] = int64(k) - i++ - } - sort.Sort(intSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(int(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v[int(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapIntInt64R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapIntInt64V(rv2i(rv).(map[int]int64), e) -} -func (_ fastpathT) EncMapIntInt64V(v map[int]int64, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]int64, len(v)) - var i uint - for k := range v { - v2[i] = int64(k) - i++ - } - sort.Sort(intSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(int(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v[int(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapIntFloat32R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapIntFloat32V(rv2i(rv).(map[int]float32), e) -} -func (_ fastpathT) EncMapIntFloat32V(v map[int]float32, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]int64, len(v)) - var i uint - for k := range v { - v2[i] = int64(k) - i++ - } - sort.Sort(intSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(int(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeFloat32(v[int(k2)]) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeFloat32(v2) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapIntFloat64R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapIntFloat64V(rv2i(rv).(map[int]float64), e) -} -func (_ fastpathT) EncMapIntFloat64V(v map[int]float64, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]int64, len(v)) - var i uint - for k := range v { - v2[i] = int64(k) - i++ - } - sort.Sort(intSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(int(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeFloat64(v[int(k2)]) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeFloat64(v2) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapIntBoolR(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapIntBoolV(rv2i(rv).(map[int]bool), e) -} -func (_ fastpathT) EncMapIntBoolV(v map[int]bool, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]int64, len(v)) - var i uint - for k := range v { - v2[i] = int64(k) - i++ - } - sort.Sort(intSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(int(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeBool(v[int(k2)]) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeBool(v2) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapInt8IntfR(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapInt8IntfV(rv2i(rv).(map[int8]interface{}), e) -} -func (_ fastpathT) EncMapInt8IntfV(v map[int8]interface{}, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]int64, len(v)) - var i uint - for k := range v { - v2[i] = int64(k) - i++ - } - sort.Sort(intSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(int8(k2))) - if esep { - ee.WriteMapElemValue() - } - e.encode(v[int8(k2)]) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(k2)) - if esep { - ee.WriteMapElemValue() - } - e.encode(v2) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapInt8StringR(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapInt8StringV(rv2i(rv).(map[int8]string), e) -} -func (_ fastpathT) EncMapInt8StringV(v map[int8]string, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]int64, len(v)) - var i uint - for k := range v { - v2[i] = int64(k) - i++ - } - sort.Sort(intSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(int8(k2))) - if esep { - ee.WriteMapElemValue() - } - if e.h.StringToRaw { - ee.EncodeStringBytesRaw(bytesView(v[int8(k2)])) - } else { - ee.EncodeStringEnc(cUTF8, v[int8(k2)]) - } - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(k2)) - if esep { - ee.WriteMapElemValue() - } - if e.h.StringToRaw { - ee.EncodeStringBytesRaw(bytesView(v2)) - } else { - ee.EncodeStringEnc(cUTF8, v2) - } - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapInt8UintR(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapInt8UintV(rv2i(rv).(map[int8]uint), e) -} -func (_ fastpathT) EncMapInt8UintV(v map[int8]uint, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]int64, len(v)) - var i uint - for k := range v { - v2[i] = int64(k) - i++ - } - sort.Sort(intSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(int8(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v[int8(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapInt8Uint8R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapInt8Uint8V(rv2i(rv).(map[int8]uint8), e) -} -func (_ fastpathT) EncMapInt8Uint8V(v map[int8]uint8, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]int64, len(v)) - var i uint - for k := range v { - v2[i] = int64(k) - i++ - } - sort.Sort(intSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(int8(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v[int8(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapInt8Uint16R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapInt8Uint16V(rv2i(rv).(map[int8]uint16), e) -} -func (_ fastpathT) EncMapInt8Uint16V(v map[int8]uint16, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]int64, len(v)) - var i uint - for k := range v { - v2[i] = int64(k) - i++ - } - sort.Sort(intSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(int8(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v[int8(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapInt8Uint32R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapInt8Uint32V(rv2i(rv).(map[int8]uint32), e) -} -func (_ fastpathT) EncMapInt8Uint32V(v map[int8]uint32, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]int64, len(v)) - var i uint - for k := range v { - v2[i] = int64(k) - i++ - } - sort.Sort(intSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(int8(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v[int8(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapInt8Uint64R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapInt8Uint64V(rv2i(rv).(map[int8]uint64), e) -} -func (_ fastpathT) EncMapInt8Uint64V(v map[int8]uint64, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]int64, len(v)) - var i uint - for k := range v { - v2[i] = int64(k) - i++ - } - sort.Sort(intSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(int8(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v[int8(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapInt8UintptrR(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapInt8UintptrV(rv2i(rv).(map[int8]uintptr), e) -} -func (_ fastpathT) EncMapInt8UintptrV(v map[int8]uintptr, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]int64, len(v)) - var i uint - for k := range v { - v2[i] = int64(k) - i++ - } - sort.Sort(intSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(int8(k2))) - if esep { - ee.WriteMapElemValue() - } - e.encode(v[int8(k2)]) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(k2)) - if esep { - ee.WriteMapElemValue() - } - e.encode(v2) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapInt8IntR(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapInt8IntV(rv2i(rv).(map[int8]int), e) -} -func (_ fastpathT) EncMapInt8IntV(v map[int8]int, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]int64, len(v)) - var i uint - for k := range v { - v2[i] = int64(k) - i++ - } - sort.Sort(intSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(int8(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v[int8(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapInt8Int8R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapInt8Int8V(rv2i(rv).(map[int8]int8), e) -} -func (_ fastpathT) EncMapInt8Int8V(v map[int8]int8, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]int64, len(v)) - var i uint - for k := range v { - v2[i] = int64(k) - i++ - } - sort.Sort(intSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(int8(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v[int8(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapInt8Int16R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapInt8Int16V(rv2i(rv).(map[int8]int16), e) -} -func (_ fastpathT) EncMapInt8Int16V(v map[int8]int16, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]int64, len(v)) - var i uint - for k := range v { - v2[i] = int64(k) - i++ - } - sort.Sort(intSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(int8(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v[int8(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapInt8Int32R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapInt8Int32V(rv2i(rv).(map[int8]int32), e) -} -func (_ fastpathT) EncMapInt8Int32V(v map[int8]int32, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]int64, len(v)) - var i uint - for k := range v { - v2[i] = int64(k) - i++ - } - sort.Sort(intSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(int8(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v[int8(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapInt8Int64R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapInt8Int64V(rv2i(rv).(map[int8]int64), e) -} -func (_ fastpathT) EncMapInt8Int64V(v map[int8]int64, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]int64, len(v)) - var i uint - for k := range v { - v2[i] = int64(k) - i++ - } - sort.Sort(intSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(int8(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v[int8(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapInt8Float32R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapInt8Float32V(rv2i(rv).(map[int8]float32), e) -} -func (_ fastpathT) EncMapInt8Float32V(v map[int8]float32, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]int64, len(v)) - var i uint - for k := range v { - v2[i] = int64(k) - i++ - } - sort.Sort(intSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(int8(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeFloat32(v[int8(k2)]) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeFloat32(v2) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapInt8Float64R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapInt8Float64V(rv2i(rv).(map[int8]float64), e) -} -func (_ fastpathT) EncMapInt8Float64V(v map[int8]float64, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]int64, len(v)) - var i uint - for k := range v { - v2[i] = int64(k) - i++ - } - sort.Sort(intSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(int8(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeFloat64(v[int8(k2)]) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeFloat64(v2) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapInt8BoolR(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapInt8BoolV(rv2i(rv).(map[int8]bool), e) -} -func (_ fastpathT) EncMapInt8BoolV(v map[int8]bool, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]int64, len(v)) - var i uint - for k := range v { - v2[i] = int64(k) - i++ - } - sort.Sort(intSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(int8(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeBool(v[int8(k2)]) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeBool(v2) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapInt16IntfR(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapInt16IntfV(rv2i(rv).(map[int16]interface{}), e) -} -func (_ fastpathT) EncMapInt16IntfV(v map[int16]interface{}, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]int64, len(v)) - var i uint - for k := range v { - v2[i] = int64(k) - i++ - } - sort.Sort(intSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(int16(k2))) - if esep { - ee.WriteMapElemValue() - } - e.encode(v[int16(k2)]) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(k2)) - if esep { - ee.WriteMapElemValue() - } - e.encode(v2) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapInt16StringR(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapInt16StringV(rv2i(rv).(map[int16]string), e) -} -func (_ fastpathT) EncMapInt16StringV(v map[int16]string, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]int64, len(v)) - var i uint - for k := range v { - v2[i] = int64(k) - i++ - } - sort.Sort(intSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(int16(k2))) - if esep { - ee.WriteMapElemValue() - } - if e.h.StringToRaw { - ee.EncodeStringBytesRaw(bytesView(v[int16(k2)])) - } else { - ee.EncodeStringEnc(cUTF8, v[int16(k2)]) - } - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(k2)) - if esep { - ee.WriteMapElemValue() - } - if e.h.StringToRaw { - ee.EncodeStringBytesRaw(bytesView(v2)) - } else { - ee.EncodeStringEnc(cUTF8, v2) - } - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapInt16UintR(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapInt16UintV(rv2i(rv).(map[int16]uint), e) -} -func (_ fastpathT) EncMapInt16UintV(v map[int16]uint, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]int64, len(v)) - var i uint - for k := range v { - v2[i] = int64(k) - i++ - } - sort.Sort(intSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(int16(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v[int16(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapInt16Uint8R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapInt16Uint8V(rv2i(rv).(map[int16]uint8), e) -} -func (_ fastpathT) EncMapInt16Uint8V(v map[int16]uint8, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]int64, len(v)) - var i uint - for k := range v { - v2[i] = int64(k) - i++ - } - sort.Sort(intSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(int16(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v[int16(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapInt16Uint16R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapInt16Uint16V(rv2i(rv).(map[int16]uint16), e) -} -func (_ fastpathT) EncMapInt16Uint16V(v map[int16]uint16, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]int64, len(v)) - var i uint - for k := range v { - v2[i] = int64(k) - i++ - } - sort.Sort(intSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(int16(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v[int16(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapInt16Uint32R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapInt16Uint32V(rv2i(rv).(map[int16]uint32), e) -} -func (_ fastpathT) EncMapInt16Uint32V(v map[int16]uint32, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]int64, len(v)) - var i uint - for k := range v { - v2[i] = int64(k) - i++ - } - sort.Sort(intSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(int16(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v[int16(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapInt16Uint64R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapInt16Uint64V(rv2i(rv).(map[int16]uint64), e) -} -func (_ fastpathT) EncMapInt16Uint64V(v map[int16]uint64, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]int64, len(v)) - var i uint - for k := range v { - v2[i] = int64(k) - i++ - } - sort.Sort(intSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(int16(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v[int16(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapInt16UintptrR(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapInt16UintptrV(rv2i(rv).(map[int16]uintptr), e) -} -func (_ fastpathT) EncMapInt16UintptrV(v map[int16]uintptr, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]int64, len(v)) - var i uint - for k := range v { - v2[i] = int64(k) - i++ - } - sort.Sort(intSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(int16(k2))) - if esep { - ee.WriteMapElemValue() - } - e.encode(v[int16(k2)]) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(k2)) - if esep { - ee.WriteMapElemValue() - } - e.encode(v2) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapInt16IntR(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapInt16IntV(rv2i(rv).(map[int16]int), e) -} -func (_ fastpathT) EncMapInt16IntV(v map[int16]int, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]int64, len(v)) - var i uint - for k := range v { - v2[i] = int64(k) - i++ - } - sort.Sort(intSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(int16(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v[int16(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapInt16Int8R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapInt16Int8V(rv2i(rv).(map[int16]int8), e) -} -func (_ fastpathT) EncMapInt16Int8V(v map[int16]int8, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]int64, len(v)) - var i uint - for k := range v { - v2[i] = int64(k) - i++ - } - sort.Sort(intSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(int16(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v[int16(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapInt16Int16R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapInt16Int16V(rv2i(rv).(map[int16]int16), e) -} -func (_ fastpathT) EncMapInt16Int16V(v map[int16]int16, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]int64, len(v)) - var i uint - for k := range v { - v2[i] = int64(k) - i++ - } - sort.Sort(intSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(int16(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v[int16(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapInt16Int32R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapInt16Int32V(rv2i(rv).(map[int16]int32), e) -} -func (_ fastpathT) EncMapInt16Int32V(v map[int16]int32, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]int64, len(v)) - var i uint - for k := range v { - v2[i] = int64(k) - i++ - } - sort.Sort(intSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(int16(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v[int16(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapInt16Int64R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapInt16Int64V(rv2i(rv).(map[int16]int64), e) -} -func (_ fastpathT) EncMapInt16Int64V(v map[int16]int64, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]int64, len(v)) - var i uint - for k := range v { - v2[i] = int64(k) - i++ - } - sort.Sort(intSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(int16(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v[int16(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapInt16Float32R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapInt16Float32V(rv2i(rv).(map[int16]float32), e) -} -func (_ fastpathT) EncMapInt16Float32V(v map[int16]float32, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]int64, len(v)) - var i uint - for k := range v { - v2[i] = int64(k) - i++ - } - sort.Sort(intSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(int16(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeFloat32(v[int16(k2)]) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeFloat32(v2) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapInt16Float64R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapInt16Float64V(rv2i(rv).(map[int16]float64), e) -} -func (_ fastpathT) EncMapInt16Float64V(v map[int16]float64, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]int64, len(v)) - var i uint - for k := range v { - v2[i] = int64(k) - i++ - } - sort.Sort(intSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(int16(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeFloat64(v[int16(k2)]) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeFloat64(v2) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapInt16BoolR(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapInt16BoolV(rv2i(rv).(map[int16]bool), e) -} -func (_ fastpathT) EncMapInt16BoolV(v map[int16]bool, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]int64, len(v)) - var i uint - for k := range v { - v2[i] = int64(k) - i++ - } - sort.Sort(intSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(int16(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeBool(v[int16(k2)]) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeBool(v2) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapInt32IntfR(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapInt32IntfV(rv2i(rv).(map[int32]interface{}), e) -} -func (_ fastpathT) EncMapInt32IntfV(v map[int32]interface{}, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]int64, len(v)) - var i uint - for k := range v { - v2[i] = int64(k) - i++ - } - sort.Sort(intSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(int32(k2))) - if esep { - ee.WriteMapElemValue() - } - e.encode(v[int32(k2)]) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(k2)) - if esep { - ee.WriteMapElemValue() - } - e.encode(v2) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapInt32StringR(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapInt32StringV(rv2i(rv).(map[int32]string), e) -} -func (_ fastpathT) EncMapInt32StringV(v map[int32]string, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]int64, len(v)) - var i uint - for k := range v { - v2[i] = int64(k) - i++ - } - sort.Sort(intSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(int32(k2))) - if esep { - ee.WriteMapElemValue() - } - if e.h.StringToRaw { - ee.EncodeStringBytesRaw(bytesView(v[int32(k2)])) - } else { - ee.EncodeStringEnc(cUTF8, v[int32(k2)]) - } - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(k2)) - if esep { - ee.WriteMapElemValue() - } - if e.h.StringToRaw { - ee.EncodeStringBytesRaw(bytesView(v2)) - } else { - ee.EncodeStringEnc(cUTF8, v2) - } - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapInt32UintR(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapInt32UintV(rv2i(rv).(map[int32]uint), e) -} -func (_ fastpathT) EncMapInt32UintV(v map[int32]uint, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]int64, len(v)) - var i uint - for k := range v { - v2[i] = int64(k) - i++ - } - sort.Sort(intSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(int32(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v[int32(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapInt32Uint8R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapInt32Uint8V(rv2i(rv).(map[int32]uint8), e) -} -func (_ fastpathT) EncMapInt32Uint8V(v map[int32]uint8, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]int64, len(v)) - var i uint - for k := range v { - v2[i] = int64(k) - i++ - } - sort.Sort(intSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(int32(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v[int32(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapInt32Uint16R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapInt32Uint16V(rv2i(rv).(map[int32]uint16), e) -} -func (_ fastpathT) EncMapInt32Uint16V(v map[int32]uint16, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]int64, len(v)) - var i uint - for k := range v { - v2[i] = int64(k) - i++ - } - sort.Sort(intSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(int32(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v[int32(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapInt32Uint32R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapInt32Uint32V(rv2i(rv).(map[int32]uint32), e) -} -func (_ fastpathT) EncMapInt32Uint32V(v map[int32]uint32, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]int64, len(v)) - var i uint - for k := range v { - v2[i] = int64(k) - i++ - } - sort.Sort(intSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(int32(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v[int32(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapInt32Uint64R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapInt32Uint64V(rv2i(rv).(map[int32]uint64), e) -} -func (_ fastpathT) EncMapInt32Uint64V(v map[int32]uint64, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]int64, len(v)) - var i uint - for k := range v { - v2[i] = int64(k) - i++ - } - sort.Sort(intSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(int32(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v[int32(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapInt32UintptrR(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapInt32UintptrV(rv2i(rv).(map[int32]uintptr), e) -} -func (_ fastpathT) EncMapInt32UintptrV(v map[int32]uintptr, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]int64, len(v)) - var i uint - for k := range v { - v2[i] = int64(k) - i++ - } - sort.Sort(intSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(int32(k2))) - if esep { - ee.WriteMapElemValue() - } - e.encode(v[int32(k2)]) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(k2)) - if esep { - ee.WriteMapElemValue() - } - e.encode(v2) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapInt32IntR(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapInt32IntV(rv2i(rv).(map[int32]int), e) -} -func (_ fastpathT) EncMapInt32IntV(v map[int32]int, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]int64, len(v)) - var i uint - for k := range v { - v2[i] = int64(k) - i++ - } - sort.Sort(intSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(int32(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v[int32(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapInt32Int8R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapInt32Int8V(rv2i(rv).(map[int32]int8), e) -} -func (_ fastpathT) EncMapInt32Int8V(v map[int32]int8, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]int64, len(v)) - var i uint - for k := range v { - v2[i] = int64(k) - i++ - } - sort.Sort(intSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(int32(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v[int32(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapInt32Int16R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapInt32Int16V(rv2i(rv).(map[int32]int16), e) -} -func (_ fastpathT) EncMapInt32Int16V(v map[int32]int16, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]int64, len(v)) - var i uint - for k := range v { - v2[i] = int64(k) - i++ - } - sort.Sort(intSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(int32(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v[int32(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapInt32Int32R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapInt32Int32V(rv2i(rv).(map[int32]int32), e) -} -func (_ fastpathT) EncMapInt32Int32V(v map[int32]int32, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]int64, len(v)) - var i uint - for k := range v { - v2[i] = int64(k) - i++ - } - sort.Sort(intSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(int32(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v[int32(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapInt32Int64R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapInt32Int64V(rv2i(rv).(map[int32]int64), e) -} -func (_ fastpathT) EncMapInt32Int64V(v map[int32]int64, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]int64, len(v)) - var i uint - for k := range v { - v2[i] = int64(k) - i++ - } - sort.Sort(intSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(int32(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v[int32(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapInt32Float32R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapInt32Float32V(rv2i(rv).(map[int32]float32), e) -} -func (_ fastpathT) EncMapInt32Float32V(v map[int32]float32, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]int64, len(v)) - var i uint - for k := range v { - v2[i] = int64(k) - i++ - } - sort.Sort(intSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(int32(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeFloat32(v[int32(k2)]) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeFloat32(v2) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapInt32Float64R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapInt32Float64V(rv2i(rv).(map[int32]float64), e) -} -func (_ fastpathT) EncMapInt32Float64V(v map[int32]float64, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]int64, len(v)) - var i uint - for k := range v { - v2[i] = int64(k) - i++ - } - sort.Sort(intSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(int32(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeFloat64(v[int32(k2)]) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeFloat64(v2) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapInt32BoolR(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapInt32BoolV(rv2i(rv).(map[int32]bool), e) -} -func (_ fastpathT) EncMapInt32BoolV(v map[int32]bool, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]int64, len(v)) - var i uint - for k := range v { - v2[i] = int64(k) - i++ - } - sort.Sort(intSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(int32(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeBool(v[int32(k2)]) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeBool(v2) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapInt64IntfR(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapInt64IntfV(rv2i(rv).(map[int64]interface{}), e) -} -func (_ fastpathT) EncMapInt64IntfV(v map[int64]interface{}, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]int64, len(v)) - var i uint - for k := range v { - v2[i] = int64(k) - i++ - } - sort.Sort(intSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(int64(k2))) - if esep { - ee.WriteMapElemValue() - } - e.encode(v[int64(k2)]) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(k2)) - if esep { - ee.WriteMapElemValue() - } - e.encode(v2) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapInt64StringR(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapInt64StringV(rv2i(rv).(map[int64]string), e) -} -func (_ fastpathT) EncMapInt64StringV(v map[int64]string, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]int64, len(v)) - var i uint - for k := range v { - v2[i] = int64(k) - i++ - } - sort.Sort(intSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(int64(k2))) - if esep { - ee.WriteMapElemValue() - } - if e.h.StringToRaw { - ee.EncodeStringBytesRaw(bytesView(v[int64(k2)])) - } else { - ee.EncodeStringEnc(cUTF8, v[int64(k2)]) - } - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(k2)) - if esep { - ee.WriteMapElemValue() - } - if e.h.StringToRaw { - ee.EncodeStringBytesRaw(bytesView(v2)) - } else { - ee.EncodeStringEnc(cUTF8, v2) - } - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapInt64UintR(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapInt64UintV(rv2i(rv).(map[int64]uint), e) -} -func (_ fastpathT) EncMapInt64UintV(v map[int64]uint, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]int64, len(v)) - var i uint - for k := range v { - v2[i] = int64(k) - i++ - } - sort.Sort(intSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(int64(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v[int64(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapInt64Uint8R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapInt64Uint8V(rv2i(rv).(map[int64]uint8), e) -} -func (_ fastpathT) EncMapInt64Uint8V(v map[int64]uint8, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]int64, len(v)) - var i uint - for k := range v { - v2[i] = int64(k) - i++ - } - sort.Sort(intSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(int64(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v[int64(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapInt64Uint16R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapInt64Uint16V(rv2i(rv).(map[int64]uint16), e) -} -func (_ fastpathT) EncMapInt64Uint16V(v map[int64]uint16, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]int64, len(v)) - var i uint - for k := range v { - v2[i] = int64(k) - i++ - } - sort.Sort(intSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(int64(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v[int64(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapInt64Uint32R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapInt64Uint32V(rv2i(rv).(map[int64]uint32), e) -} -func (_ fastpathT) EncMapInt64Uint32V(v map[int64]uint32, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]int64, len(v)) - var i uint - for k := range v { - v2[i] = int64(k) - i++ - } - sort.Sort(intSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(int64(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v[int64(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapInt64Uint64R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapInt64Uint64V(rv2i(rv).(map[int64]uint64), e) -} -func (_ fastpathT) EncMapInt64Uint64V(v map[int64]uint64, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]int64, len(v)) - var i uint - for k := range v { - v2[i] = int64(k) - i++ - } - sort.Sort(intSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(int64(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v[int64(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapInt64UintptrR(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapInt64UintptrV(rv2i(rv).(map[int64]uintptr), e) -} -func (_ fastpathT) EncMapInt64UintptrV(v map[int64]uintptr, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]int64, len(v)) - var i uint - for k := range v { - v2[i] = int64(k) - i++ - } - sort.Sort(intSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(int64(k2))) - if esep { - ee.WriteMapElemValue() - } - e.encode(v[int64(k2)]) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(k2)) - if esep { - ee.WriteMapElemValue() - } - e.encode(v2) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapInt64IntR(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapInt64IntV(rv2i(rv).(map[int64]int), e) -} -func (_ fastpathT) EncMapInt64IntV(v map[int64]int, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]int64, len(v)) - var i uint - for k := range v { - v2[i] = int64(k) - i++ - } - sort.Sort(intSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(int64(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v[int64(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapInt64Int8R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapInt64Int8V(rv2i(rv).(map[int64]int8), e) -} -func (_ fastpathT) EncMapInt64Int8V(v map[int64]int8, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]int64, len(v)) - var i uint - for k := range v { - v2[i] = int64(k) - i++ - } - sort.Sort(intSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(int64(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v[int64(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapInt64Int16R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapInt64Int16V(rv2i(rv).(map[int64]int16), e) -} -func (_ fastpathT) EncMapInt64Int16V(v map[int64]int16, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]int64, len(v)) - var i uint - for k := range v { - v2[i] = int64(k) - i++ - } - sort.Sort(intSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(int64(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v[int64(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapInt64Int32R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapInt64Int32V(rv2i(rv).(map[int64]int32), e) -} -func (_ fastpathT) EncMapInt64Int32V(v map[int64]int32, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]int64, len(v)) - var i uint - for k := range v { - v2[i] = int64(k) - i++ - } - sort.Sort(intSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(int64(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v[int64(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapInt64Int64R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapInt64Int64V(rv2i(rv).(map[int64]int64), e) -} -func (_ fastpathT) EncMapInt64Int64V(v map[int64]int64, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]int64, len(v)) - var i uint - for k := range v { - v2[i] = int64(k) - i++ - } - sort.Sort(intSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(int64(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v[int64(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapInt64Float32R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapInt64Float32V(rv2i(rv).(map[int64]float32), e) -} -func (_ fastpathT) EncMapInt64Float32V(v map[int64]float32, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]int64, len(v)) - var i uint - for k := range v { - v2[i] = int64(k) - i++ - } - sort.Sort(intSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(int64(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeFloat32(v[int64(k2)]) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeFloat32(v2) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapInt64Float64R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapInt64Float64V(rv2i(rv).(map[int64]float64), e) -} -func (_ fastpathT) EncMapInt64Float64V(v map[int64]float64, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]int64, len(v)) - var i uint - for k := range v { - v2[i] = int64(k) - i++ - } - sort.Sort(intSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(int64(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeFloat64(v[int64(k2)]) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeFloat64(v2) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapInt64BoolR(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapInt64BoolV(rv2i(rv).(map[int64]bool), e) -} -func (_ fastpathT) EncMapInt64BoolV(v map[int64]bool, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]int64, len(v)) - var i uint - for k := range v { - v2[i] = int64(k) - i++ - } - sort.Sort(intSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(int64(k2))) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeBool(v[int64(k2)]) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeInt(int64(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeBool(v2) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapBoolIntfR(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapBoolIntfV(rv2i(rv).(map[bool]interface{}), e) -} -func (_ fastpathT) EncMapBoolIntfV(v map[bool]interface{}, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]bool, len(v)) - var i uint - for k := range v { - v2[i] = bool(k) - i++ - } - sort.Sort(boolSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeBool(bool(k2)) - if esep { - ee.WriteMapElemValue() - } - e.encode(v[bool(k2)]) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeBool(k2) - if esep { - ee.WriteMapElemValue() - } - e.encode(v2) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapBoolStringR(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapBoolStringV(rv2i(rv).(map[bool]string), e) -} -func (_ fastpathT) EncMapBoolStringV(v map[bool]string, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]bool, len(v)) - var i uint - for k := range v { - v2[i] = bool(k) - i++ - } - sort.Sort(boolSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeBool(bool(k2)) - if esep { - ee.WriteMapElemValue() - } - if e.h.StringToRaw { - ee.EncodeStringBytesRaw(bytesView(v[bool(k2)])) - } else { - ee.EncodeStringEnc(cUTF8, v[bool(k2)]) - } - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeBool(k2) - if esep { - ee.WriteMapElemValue() - } - if e.h.StringToRaw { - ee.EncodeStringBytesRaw(bytesView(v2)) - } else { - ee.EncodeStringEnc(cUTF8, v2) - } - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapBoolUintR(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapBoolUintV(rv2i(rv).(map[bool]uint), e) -} -func (_ fastpathT) EncMapBoolUintV(v map[bool]uint, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]bool, len(v)) - var i uint - for k := range v { - v2[i] = bool(k) - i++ - } - sort.Sort(boolSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeBool(bool(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v[bool(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeBool(k2) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapBoolUint8R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapBoolUint8V(rv2i(rv).(map[bool]uint8), e) -} -func (_ fastpathT) EncMapBoolUint8V(v map[bool]uint8, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]bool, len(v)) - var i uint - for k := range v { - v2[i] = bool(k) - i++ - } - sort.Sort(boolSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeBool(bool(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v[bool(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeBool(k2) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapBoolUint16R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapBoolUint16V(rv2i(rv).(map[bool]uint16), e) -} -func (_ fastpathT) EncMapBoolUint16V(v map[bool]uint16, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]bool, len(v)) - var i uint - for k := range v { - v2[i] = bool(k) - i++ - } - sort.Sort(boolSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeBool(bool(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v[bool(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeBool(k2) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapBoolUint32R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapBoolUint32V(rv2i(rv).(map[bool]uint32), e) -} -func (_ fastpathT) EncMapBoolUint32V(v map[bool]uint32, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]bool, len(v)) - var i uint - for k := range v { - v2[i] = bool(k) - i++ - } - sort.Sort(boolSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeBool(bool(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v[bool(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeBool(k2) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapBoolUint64R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapBoolUint64V(rv2i(rv).(map[bool]uint64), e) -} -func (_ fastpathT) EncMapBoolUint64V(v map[bool]uint64, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]bool, len(v)) - var i uint - for k := range v { - v2[i] = bool(k) - i++ - } - sort.Sort(boolSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeBool(bool(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v[bool(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeBool(k2) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeUint(uint64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapBoolUintptrR(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapBoolUintptrV(rv2i(rv).(map[bool]uintptr), e) -} -func (_ fastpathT) EncMapBoolUintptrV(v map[bool]uintptr, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]bool, len(v)) - var i uint - for k := range v { - v2[i] = bool(k) - i++ - } - sort.Sort(boolSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeBool(bool(k2)) - if esep { - ee.WriteMapElemValue() - } - e.encode(v[bool(k2)]) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeBool(k2) - if esep { - ee.WriteMapElemValue() - } - e.encode(v2) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapBoolIntR(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapBoolIntV(rv2i(rv).(map[bool]int), e) -} -func (_ fastpathT) EncMapBoolIntV(v map[bool]int, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]bool, len(v)) - var i uint - for k := range v { - v2[i] = bool(k) - i++ - } - sort.Sort(boolSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeBool(bool(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v[bool(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeBool(k2) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapBoolInt8R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapBoolInt8V(rv2i(rv).(map[bool]int8), e) -} -func (_ fastpathT) EncMapBoolInt8V(v map[bool]int8, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]bool, len(v)) - var i uint - for k := range v { - v2[i] = bool(k) - i++ - } - sort.Sort(boolSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeBool(bool(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v[bool(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeBool(k2) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapBoolInt16R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapBoolInt16V(rv2i(rv).(map[bool]int16), e) -} -func (_ fastpathT) EncMapBoolInt16V(v map[bool]int16, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]bool, len(v)) - var i uint - for k := range v { - v2[i] = bool(k) - i++ - } - sort.Sort(boolSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeBool(bool(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v[bool(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeBool(k2) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapBoolInt32R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapBoolInt32V(rv2i(rv).(map[bool]int32), e) -} -func (_ fastpathT) EncMapBoolInt32V(v map[bool]int32, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]bool, len(v)) - var i uint - for k := range v { - v2[i] = bool(k) - i++ - } - sort.Sort(boolSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeBool(bool(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v[bool(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeBool(k2) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapBoolInt64R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapBoolInt64V(rv2i(rv).(map[bool]int64), e) -} -func (_ fastpathT) EncMapBoolInt64V(v map[bool]int64, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]bool, len(v)) - var i uint - for k := range v { - v2[i] = bool(k) - i++ - } - sort.Sort(boolSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeBool(bool(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v[bool(k2)])) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeBool(k2) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeInt(int64(v2)) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapBoolFloat32R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapBoolFloat32V(rv2i(rv).(map[bool]float32), e) -} -func (_ fastpathT) EncMapBoolFloat32V(v map[bool]float32, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]bool, len(v)) - var i uint - for k := range v { - v2[i] = bool(k) - i++ - } - sort.Sort(boolSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeBool(bool(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeFloat32(v[bool(k2)]) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeBool(k2) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeFloat32(v2) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapBoolFloat64R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapBoolFloat64V(rv2i(rv).(map[bool]float64), e) -} -func (_ fastpathT) EncMapBoolFloat64V(v map[bool]float64, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]bool, len(v)) - var i uint - for k := range v { - v2[i] = bool(k) - i++ - } - sort.Sort(boolSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeBool(bool(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeFloat64(v[bool(k2)]) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeBool(k2) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeFloat64(v2) - } - } - ee.WriteMapEnd() -} - -func (e *Encoder) fastpathEncMapBoolBoolR(f *codecFnInfo, rv reflect.Value) { - fastpathTV.EncMapBoolBoolV(rv2i(rv).(map[bool]bool), e) -} -func (_ fastpathT) EncMapBoolBoolV(v map[bool]bool, e *Encoder) { - if v == nil { - e.e.EncodeNil() - return - } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - v2 := make([]bool, len(v)) - var i uint - for k := range v { - v2[i] = bool(k) - i++ - } - sort.Sort(boolSlice(v2)) - for _, k2 := range v2 { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeBool(bool(k2)) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeBool(v[bool(k2)]) - } - } else { - for k2, v2 := range v { - if esep { - ee.WriteMapElemKey() - } - ee.EncodeBool(k2) - if esep { - ee.WriteMapElemValue() - } - ee.EncodeBool(v2) - } - } - ee.WriteMapEnd() -} - -// -- decode - -// -- -- fast path type switch -func fastpathDecodeTypeSwitch(iv interface{}, d *Decoder) bool { - var changed bool - switch v := iv.(type) { - - case []interface{}: - var v2 []interface{} - v2, changed = fastpathTV.DecSliceIntfV(v, false, d) - if changed && len(v) > 0 && len(v2) > 0 && !(len(v2) == len(v) && &v2[0] == &v[0]) { - copy(v, v2) - } - case *[]interface{}: - var v2 []interface{} - v2, changed = fastpathTV.DecSliceIntfV(*v, true, d) - if changed { - *v = v2 - } - case []string: - var v2 []string - v2, changed = fastpathTV.DecSliceStringV(v, false, d) - if changed && len(v) > 0 && len(v2) > 0 && !(len(v2) == len(v) && &v2[0] == &v[0]) { - copy(v, v2) - } - case *[]string: - var v2 []string - v2, changed = fastpathTV.DecSliceStringV(*v, true, d) - if changed { - *v = v2 - } - case []float32: - var v2 []float32 - v2, changed = fastpathTV.DecSliceFloat32V(v, false, d) - if changed && len(v) > 0 && len(v2) > 0 && !(len(v2) == len(v) && &v2[0] == &v[0]) { - copy(v, v2) - } - case *[]float32: - var v2 []float32 - v2, changed = fastpathTV.DecSliceFloat32V(*v, true, d) - if changed { - *v = v2 - } - case []float64: - var v2 []float64 - v2, changed = fastpathTV.DecSliceFloat64V(v, false, d) - if changed && len(v) > 0 && len(v2) > 0 && !(len(v2) == len(v) && &v2[0] == &v[0]) { - copy(v, v2) - } - case *[]float64: - var v2 []float64 - v2, changed = fastpathTV.DecSliceFloat64V(*v, true, d) - if changed { - *v = v2 - } - case []uint: - var v2 []uint - v2, changed = fastpathTV.DecSliceUintV(v, false, d) - if changed && len(v) > 0 && len(v2) > 0 && !(len(v2) == len(v) && &v2[0] == &v[0]) { - copy(v, v2) - } - case *[]uint: - var v2 []uint - v2, changed = fastpathTV.DecSliceUintV(*v, true, d) - if changed { - *v = v2 - } - case []uint16: - var v2 []uint16 - v2, changed = fastpathTV.DecSliceUint16V(v, false, d) - if changed && len(v) > 0 && len(v2) > 0 && !(len(v2) == len(v) && &v2[0] == &v[0]) { - copy(v, v2) - } - case *[]uint16: - var v2 []uint16 - v2, changed = fastpathTV.DecSliceUint16V(*v, true, d) - if changed { - *v = v2 - } - case []uint32: - var v2 []uint32 - v2, changed = fastpathTV.DecSliceUint32V(v, false, d) - if changed && len(v) > 0 && len(v2) > 0 && !(len(v2) == len(v) && &v2[0] == &v[0]) { - copy(v, v2) - } - case *[]uint32: - var v2 []uint32 - v2, changed = fastpathTV.DecSliceUint32V(*v, true, d) - if changed { - *v = v2 - } - case []uint64: - var v2 []uint64 - v2, changed = fastpathTV.DecSliceUint64V(v, false, d) - if changed && len(v) > 0 && len(v2) > 0 && !(len(v2) == len(v) && &v2[0] == &v[0]) { - copy(v, v2) - } - case *[]uint64: - var v2 []uint64 - v2, changed = fastpathTV.DecSliceUint64V(*v, true, d) - if changed { - *v = v2 - } - case []uintptr: - var v2 []uintptr - v2, changed = fastpathTV.DecSliceUintptrV(v, false, d) - if changed && len(v) > 0 && len(v2) > 0 && !(len(v2) == len(v) && &v2[0] == &v[0]) { - copy(v, v2) - } - case *[]uintptr: - var v2 []uintptr - v2, changed = fastpathTV.DecSliceUintptrV(*v, true, d) - if changed { - *v = v2 - } - case []int: - var v2 []int - v2, changed = fastpathTV.DecSliceIntV(v, false, d) - if changed && len(v) > 0 && len(v2) > 0 && !(len(v2) == len(v) && &v2[0] == &v[0]) { - copy(v, v2) - } - case *[]int: - var v2 []int - v2, changed = fastpathTV.DecSliceIntV(*v, true, d) - if changed { - *v = v2 - } - case []int8: - var v2 []int8 - v2, changed = fastpathTV.DecSliceInt8V(v, false, d) - if changed && len(v) > 0 && len(v2) > 0 && !(len(v2) == len(v) && &v2[0] == &v[0]) { - copy(v, v2) - } - case *[]int8: - var v2 []int8 - v2, changed = fastpathTV.DecSliceInt8V(*v, true, d) - if changed { - *v = v2 - } - case []int16: - var v2 []int16 - v2, changed = fastpathTV.DecSliceInt16V(v, false, d) - if changed && len(v) > 0 && len(v2) > 0 && !(len(v2) == len(v) && &v2[0] == &v[0]) { - copy(v, v2) - } - case *[]int16: - var v2 []int16 - v2, changed = fastpathTV.DecSliceInt16V(*v, true, d) - if changed { - *v = v2 - } - case []int32: - var v2 []int32 - v2, changed = fastpathTV.DecSliceInt32V(v, false, d) - if changed && len(v) > 0 && len(v2) > 0 && !(len(v2) == len(v) && &v2[0] == &v[0]) { - copy(v, v2) - } - case *[]int32: - var v2 []int32 - v2, changed = fastpathTV.DecSliceInt32V(*v, true, d) - if changed { - *v = v2 - } - case []int64: - var v2 []int64 - v2, changed = fastpathTV.DecSliceInt64V(v, false, d) - if changed && len(v) > 0 && len(v2) > 0 && !(len(v2) == len(v) && &v2[0] == &v[0]) { - copy(v, v2) - } - case *[]int64: - var v2 []int64 - v2, changed = fastpathTV.DecSliceInt64V(*v, true, d) - if changed { - *v = v2 - } - case []bool: - var v2 []bool - v2, changed = fastpathTV.DecSliceBoolV(v, false, d) - if changed && len(v) > 0 && len(v2) > 0 && !(len(v2) == len(v) && &v2[0] == &v[0]) { - copy(v, v2) - } - case *[]bool: - var v2 []bool - v2, changed = fastpathTV.DecSliceBoolV(*v, true, d) - if changed { - *v = v2 - } - - case map[interface{}]interface{}: - fastpathTV.DecMapIntfIntfV(v, false, d) - case *map[interface{}]interface{}: - var v2 map[interface{}]interface{} - v2, changed = fastpathTV.DecMapIntfIntfV(*v, true, d) - if changed { - *v = v2 - } - case map[interface{}]string: - fastpathTV.DecMapIntfStringV(v, false, d) - case *map[interface{}]string: - var v2 map[interface{}]string - v2, changed = fastpathTV.DecMapIntfStringV(*v, true, d) - if changed { - *v = v2 - } - case map[interface{}]uint: - fastpathTV.DecMapIntfUintV(v, false, d) - case *map[interface{}]uint: - var v2 map[interface{}]uint - v2, changed = fastpathTV.DecMapIntfUintV(*v, true, d) - if changed { - *v = v2 - } - case map[interface{}]uint8: - fastpathTV.DecMapIntfUint8V(v, false, d) - case *map[interface{}]uint8: - var v2 map[interface{}]uint8 - v2, changed = fastpathTV.DecMapIntfUint8V(*v, true, d) - if changed { - *v = v2 - } - case map[interface{}]uint16: - fastpathTV.DecMapIntfUint16V(v, false, d) - case *map[interface{}]uint16: - var v2 map[interface{}]uint16 - v2, changed = fastpathTV.DecMapIntfUint16V(*v, true, d) - if changed { - *v = v2 - } - case map[interface{}]uint32: - fastpathTV.DecMapIntfUint32V(v, false, d) - case *map[interface{}]uint32: - var v2 map[interface{}]uint32 - v2, changed = fastpathTV.DecMapIntfUint32V(*v, true, d) - if changed { - *v = v2 - } - case map[interface{}]uint64: - fastpathTV.DecMapIntfUint64V(v, false, d) - case *map[interface{}]uint64: - var v2 map[interface{}]uint64 - v2, changed = fastpathTV.DecMapIntfUint64V(*v, true, d) - if changed { - *v = v2 - } - case map[interface{}]uintptr: - fastpathTV.DecMapIntfUintptrV(v, false, d) - case *map[interface{}]uintptr: - var v2 map[interface{}]uintptr - v2, changed = fastpathTV.DecMapIntfUintptrV(*v, true, d) - if changed { - *v = v2 - } - case map[interface{}]int: - fastpathTV.DecMapIntfIntV(v, false, d) - case *map[interface{}]int: - var v2 map[interface{}]int - v2, changed = fastpathTV.DecMapIntfIntV(*v, true, d) - if changed { - *v = v2 - } - case map[interface{}]int8: - fastpathTV.DecMapIntfInt8V(v, false, d) - case *map[interface{}]int8: - var v2 map[interface{}]int8 - v2, changed = fastpathTV.DecMapIntfInt8V(*v, true, d) - if changed { - *v = v2 - } - case map[interface{}]int16: - fastpathTV.DecMapIntfInt16V(v, false, d) - case *map[interface{}]int16: - var v2 map[interface{}]int16 - v2, changed = fastpathTV.DecMapIntfInt16V(*v, true, d) - if changed { - *v = v2 - } - case map[interface{}]int32: - fastpathTV.DecMapIntfInt32V(v, false, d) - case *map[interface{}]int32: - var v2 map[interface{}]int32 - v2, changed = fastpathTV.DecMapIntfInt32V(*v, true, d) - if changed { - *v = v2 - } - case map[interface{}]int64: - fastpathTV.DecMapIntfInt64V(v, false, d) - case *map[interface{}]int64: - var v2 map[interface{}]int64 - v2, changed = fastpathTV.DecMapIntfInt64V(*v, true, d) - if changed { - *v = v2 - } - case map[interface{}]float32: - fastpathTV.DecMapIntfFloat32V(v, false, d) - case *map[interface{}]float32: - var v2 map[interface{}]float32 - v2, changed = fastpathTV.DecMapIntfFloat32V(*v, true, d) - if changed { - *v = v2 - } - case map[interface{}]float64: - fastpathTV.DecMapIntfFloat64V(v, false, d) - case *map[interface{}]float64: - var v2 map[interface{}]float64 - v2, changed = fastpathTV.DecMapIntfFloat64V(*v, true, d) - if changed { - *v = v2 - } - case map[interface{}]bool: - fastpathTV.DecMapIntfBoolV(v, false, d) - case *map[interface{}]bool: - var v2 map[interface{}]bool - v2, changed = fastpathTV.DecMapIntfBoolV(*v, true, d) - if changed { - *v = v2 - } - case map[string]interface{}: - fastpathTV.DecMapStringIntfV(v, false, d) - case *map[string]interface{}: - var v2 map[string]interface{} - v2, changed = fastpathTV.DecMapStringIntfV(*v, true, d) - if changed { - *v = v2 - } - case map[string]string: - fastpathTV.DecMapStringStringV(v, false, d) - case *map[string]string: - var v2 map[string]string - v2, changed = fastpathTV.DecMapStringStringV(*v, true, d) - if changed { - *v = v2 - } - case map[string]uint: - fastpathTV.DecMapStringUintV(v, false, d) - case *map[string]uint: - var v2 map[string]uint - v2, changed = fastpathTV.DecMapStringUintV(*v, true, d) - if changed { - *v = v2 - } - case map[string]uint8: - fastpathTV.DecMapStringUint8V(v, false, d) - case *map[string]uint8: - var v2 map[string]uint8 - v2, changed = fastpathTV.DecMapStringUint8V(*v, true, d) - if changed { - *v = v2 - } - case map[string]uint16: - fastpathTV.DecMapStringUint16V(v, false, d) - case *map[string]uint16: - var v2 map[string]uint16 - v2, changed = fastpathTV.DecMapStringUint16V(*v, true, d) - if changed { - *v = v2 - } - case map[string]uint32: - fastpathTV.DecMapStringUint32V(v, false, d) - case *map[string]uint32: - var v2 map[string]uint32 - v2, changed = fastpathTV.DecMapStringUint32V(*v, true, d) - if changed { - *v = v2 - } - case map[string]uint64: - fastpathTV.DecMapStringUint64V(v, false, d) - case *map[string]uint64: - var v2 map[string]uint64 - v2, changed = fastpathTV.DecMapStringUint64V(*v, true, d) - if changed { - *v = v2 - } - case map[string]uintptr: - fastpathTV.DecMapStringUintptrV(v, false, d) - case *map[string]uintptr: - var v2 map[string]uintptr - v2, changed = fastpathTV.DecMapStringUintptrV(*v, true, d) - if changed { - *v = v2 - } - case map[string]int: - fastpathTV.DecMapStringIntV(v, false, d) - case *map[string]int: - var v2 map[string]int - v2, changed = fastpathTV.DecMapStringIntV(*v, true, d) - if changed { - *v = v2 - } - case map[string]int8: - fastpathTV.DecMapStringInt8V(v, false, d) - case *map[string]int8: - var v2 map[string]int8 - v2, changed = fastpathTV.DecMapStringInt8V(*v, true, d) - if changed { - *v = v2 - } - case map[string]int16: - fastpathTV.DecMapStringInt16V(v, false, d) - case *map[string]int16: - var v2 map[string]int16 - v2, changed = fastpathTV.DecMapStringInt16V(*v, true, d) - if changed { - *v = v2 - } - case map[string]int32: - fastpathTV.DecMapStringInt32V(v, false, d) - case *map[string]int32: - var v2 map[string]int32 - v2, changed = fastpathTV.DecMapStringInt32V(*v, true, d) - if changed { - *v = v2 - } - case map[string]int64: - fastpathTV.DecMapStringInt64V(v, false, d) - case *map[string]int64: - var v2 map[string]int64 - v2, changed = fastpathTV.DecMapStringInt64V(*v, true, d) - if changed { - *v = v2 - } - case map[string]float32: - fastpathTV.DecMapStringFloat32V(v, false, d) - case *map[string]float32: - var v2 map[string]float32 - v2, changed = fastpathTV.DecMapStringFloat32V(*v, true, d) - if changed { - *v = v2 - } - case map[string]float64: - fastpathTV.DecMapStringFloat64V(v, false, d) - case *map[string]float64: - var v2 map[string]float64 - v2, changed = fastpathTV.DecMapStringFloat64V(*v, true, d) - if changed { - *v = v2 - } - case map[string]bool: - fastpathTV.DecMapStringBoolV(v, false, d) - case *map[string]bool: - var v2 map[string]bool - v2, changed = fastpathTV.DecMapStringBoolV(*v, true, d) - if changed { - *v = v2 - } - case map[float32]interface{}: - fastpathTV.DecMapFloat32IntfV(v, false, d) - case *map[float32]interface{}: - var v2 map[float32]interface{} - v2, changed = fastpathTV.DecMapFloat32IntfV(*v, true, d) - if changed { - *v = v2 - } - case map[float32]string: - fastpathTV.DecMapFloat32StringV(v, false, d) - case *map[float32]string: - var v2 map[float32]string - v2, changed = fastpathTV.DecMapFloat32StringV(*v, true, d) - if changed { - *v = v2 - } - case map[float32]uint: - fastpathTV.DecMapFloat32UintV(v, false, d) - case *map[float32]uint: - var v2 map[float32]uint - v2, changed = fastpathTV.DecMapFloat32UintV(*v, true, d) - if changed { - *v = v2 - } - case map[float32]uint8: - fastpathTV.DecMapFloat32Uint8V(v, false, d) - case *map[float32]uint8: - var v2 map[float32]uint8 - v2, changed = fastpathTV.DecMapFloat32Uint8V(*v, true, d) - if changed { - *v = v2 - } - case map[float32]uint16: - fastpathTV.DecMapFloat32Uint16V(v, false, d) - case *map[float32]uint16: - var v2 map[float32]uint16 - v2, changed = fastpathTV.DecMapFloat32Uint16V(*v, true, d) - if changed { - *v = v2 - } - case map[float32]uint32: - fastpathTV.DecMapFloat32Uint32V(v, false, d) - case *map[float32]uint32: - var v2 map[float32]uint32 - v2, changed = fastpathTV.DecMapFloat32Uint32V(*v, true, d) - if changed { - *v = v2 - } - case map[float32]uint64: - fastpathTV.DecMapFloat32Uint64V(v, false, d) - case *map[float32]uint64: - var v2 map[float32]uint64 - v2, changed = fastpathTV.DecMapFloat32Uint64V(*v, true, d) - if changed { - *v = v2 - } - case map[float32]uintptr: - fastpathTV.DecMapFloat32UintptrV(v, false, d) - case *map[float32]uintptr: - var v2 map[float32]uintptr - v2, changed = fastpathTV.DecMapFloat32UintptrV(*v, true, d) - if changed { - *v = v2 - } - case map[float32]int: - fastpathTV.DecMapFloat32IntV(v, false, d) - case *map[float32]int: - var v2 map[float32]int - v2, changed = fastpathTV.DecMapFloat32IntV(*v, true, d) - if changed { - *v = v2 - } - case map[float32]int8: - fastpathTV.DecMapFloat32Int8V(v, false, d) - case *map[float32]int8: - var v2 map[float32]int8 - v2, changed = fastpathTV.DecMapFloat32Int8V(*v, true, d) - if changed { - *v = v2 - } - case map[float32]int16: - fastpathTV.DecMapFloat32Int16V(v, false, d) - case *map[float32]int16: - var v2 map[float32]int16 - v2, changed = fastpathTV.DecMapFloat32Int16V(*v, true, d) - if changed { - *v = v2 - } - case map[float32]int32: - fastpathTV.DecMapFloat32Int32V(v, false, d) - case *map[float32]int32: - var v2 map[float32]int32 - v2, changed = fastpathTV.DecMapFloat32Int32V(*v, true, d) - if changed { - *v = v2 - } - case map[float32]int64: - fastpathTV.DecMapFloat32Int64V(v, false, d) - case *map[float32]int64: - var v2 map[float32]int64 - v2, changed = fastpathTV.DecMapFloat32Int64V(*v, true, d) - if changed { - *v = v2 - } - case map[float32]float32: - fastpathTV.DecMapFloat32Float32V(v, false, d) - case *map[float32]float32: - var v2 map[float32]float32 - v2, changed = fastpathTV.DecMapFloat32Float32V(*v, true, d) - if changed { - *v = v2 - } - case map[float32]float64: - fastpathTV.DecMapFloat32Float64V(v, false, d) - case *map[float32]float64: - var v2 map[float32]float64 - v2, changed = fastpathTV.DecMapFloat32Float64V(*v, true, d) - if changed { - *v = v2 - } - case map[float32]bool: - fastpathTV.DecMapFloat32BoolV(v, false, d) - case *map[float32]bool: - var v2 map[float32]bool - v2, changed = fastpathTV.DecMapFloat32BoolV(*v, true, d) - if changed { - *v = v2 - } - case map[float64]interface{}: - fastpathTV.DecMapFloat64IntfV(v, false, d) - case *map[float64]interface{}: - var v2 map[float64]interface{} - v2, changed = fastpathTV.DecMapFloat64IntfV(*v, true, d) - if changed { - *v = v2 - } - case map[float64]string: - fastpathTV.DecMapFloat64StringV(v, false, d) - case *map[float64]string: - var v2 map[float64]string - v2, changed = fastpathTV.DecMapFloat64StringV(*v, true, d) - if changed { - *v = v2 - } - case map[float64]uint: - fastpathTV.DecMapFloat64UintV(v, false, d) - case *map[float64]uint: - var v2 map[float64]uint - v2, changed = fastpathTV.DecMapFloat64UintV(*v, true, d) - if changed { - *v = v2 - } - case map[float64]uint8: - fastpathTV.DecMapFloat64Uint8V(v, false, d) - case *map[float64]uint8: - var v2 map[float64]uint8 - v2, changed = fastpathTV.DecMapFloat64Uint8V(*v, true, d) - if changed { - *v = v2 - } - case map[float64]uint16: - fastpathTV.DecMapFloat64Uint16V(v, false, d) - case *map[float64]uint16: - var v2 map[float64]uint16 - v2, changed = fastpathTV.DecMapFloat64Uint16V(*v, true, d) - if changed { - *v = v2 - } - case map[float64]uint32: - fastpathTV.DecMapFloat64Uint32V(v, false, d) - case *map[float64]uint32: - var v2 map[float64]uint32 - v2, changed = fastpathTV.DecMapFloat64Uint32V(*v, true, d) - if changed { - *v = v2 - } - case map[float64]uint64: - fastpathTV.DecMapFloat64Uint64V(v, false, d) - case *map[float64]uint64: - var v2 map[float64]uint64 - v2, changed = fastpathTV.DecMapFloat64Uint64V(*v, true, d) - if changed { - *v = v2 - } - case map[float64]uintptr: - fastpathTV.DecMapFloat64UintptrV(v, false, d) - case *map[float64]uintptr: - var v2 map[float64]uintptr - v2, changed = fastpathTV.DecMapFloat64UintptrV(*v, true, d) - if changed { - *v = v2 - } - case map[float64]int: - fastpathTV.DecMapFloat64IntV(v, false, d) - case *map[float64]int: - var v2 map[float64]int - v2, changed = fastpathTV.DecMapFloat64IntV(*v, true, d) - if changed { - *v = v2 - } - case map[float64]int8: - fastpathTV.DecMapFloat64Int8V(v, false, d) - case *map[float64]int8: - var v2 map[float64]int8 - v2, changed = fastpathTV.DecMapFloat64Int8V(*v, true, d) - if changed { - *v = v2 - } - case map[float64]int16: - fastpathTV.DecMapFloat64Int16V(v, false, d) - case *map[float64]int16: - var v2 map[float64]int16 - v2, changed = fastpathTV.DecMapFloat64Int16V(*v, true, d) - if changed { - *v = v2 - } - case map[float64]int32: - fastpathTV.DecMapFloat64Int32V(v, false, d) - case *map[float64]int32: - var v2 map[float64]int32 - v2, changed = fastpathTV.DecMapFloat64Int32V(*v, true, d) - if changed { - *v = v2 - } - case map[float64]int64: - fastpathTV.DecMapFloat64Int64V(v, false, d) - case *map[float64]int64: - var v2 map[float64]int64 - v2, changed = fastpathTV.DecMapFloat64Int64V(*v, true, d) - if changed { - *v = v2 - } - case map[float64]float32: - fastpathTV.DecMapFloat64Float32V(v, false, d) - case *map[float64]float32: - var v2 map[float64]float32 - v2, changed = fastpathTV.DecMapFloat64Float32V(*v, true, d) - if changed { - *v = v2 - } - case map[float64]float64: - fastpathTV.DecMapFloat64Float64V(v, false, d) - case *map[float64]float64: - var v2 map[float64]float64 - v2, changed = fastpathTV.DecMapFloat64Float64V(*v, true, d) - if changed { - *v = v2 - } - case map[float64]bool: - fastpathTV.DecMapFloat64BoolV(v, false, d) - case *map[float64]bool: - var v2 map[float64]bool - v2, changed = fastpathTV.DecMapFloat64BoolV(*v, true, d) - if changed { - *v = v2 - } - case map[uint]interface{}: - fastpathTV.DecMapUintIntfV(v, false, d) - case *map[uint]interface{}: - var v2 map[uint]interface{} - v2, changed = fastpathTV.DecMapUintIntfV(*v, true, d) - if changed { - *v = v2 - } - case map[uint]string: - fastpathTV.DecMapUintStringV(v, false, d) - case *map[uint]string: - var v2 map[uint]string - v2, changed = fastpathTV.DecMapUintStringV(*v, true, d) - if changed { - *v = v2 - } - case map[uint]uint: - fastpathTV.DecMapUintUintV(v, false, d) - case *map[uint]uint: - var v2 map[uint]uint - v2, changed = fastpathTV.DecMapUintUintV(*v, true, d) - if changed { - *v = v2 - } - case map[uint]uint8: - fastpathTV.DecMapUintUint8V(v, false, d) - case *map[uint]uint8: - var v2 map[uint]uint8 - v2, changed = fastpathTV.DecMapUintUint8V(*v, true, d) - if changed { - *v = v2 - } - case map[uint]uint16: - fastpathTV.DecMapUintUint16V(v, false, d) - case *map[uint]uint16: - var v2 map[uint]uint16 - v2, changed = fastpathTV.DecMapUintUint16V(*v, true, d) - if changed { - *v = v2 - } - case map[uint]uint32: - fastpathTV.DecMapUintUint32V(v, false, d) - case *map[uint]uint32: - var v2 map[uint]uint32 - v2, changed = fastpathTV.DecMapUintUint32V(*v, true, d) - if changed { - *v = v2 - } - case map[uint]uint64: - fastpathTV.DecMapUintUint64V(v, false, d) - case *map[uint]uint64: - var v2 map[uint]uint64 - v2, changed = fastpathTV.DecMapUintUint64V(*v, true, d) - if changed { - *v = v2 - } - case map[uint]uintptr: - fastpathTV.DecMapUintUintptrV(v, false, d) - case *map[uint]uintptr: - var v2 map[uint]uintptr - v2, changed = fastpathTV.DecMapUintUintptrV(*v, true, d) - if changed { - *v = v2 - } - case map[uint]int: - fastpathTV.DecMapUintIntV(v, false, d) - case *map[uint]int: - var v2 map[uint]int - v2, changed = fastpathTV.DecMapUintIntV(*v, true, d) - if changed { - *v = v2 - } - case map[uint]int8: - fastpathTV.DecMapUintInt8V(v, false, d) - case *map[uint]int8: - var v2 map[uint]int8 - v2, changed = fastpathTV.DecMapUintInt8V(*v, true, d) - if changed { - *v = v2 - } - case map[uint]int16: - fastpathTV.DecMapUintInt16V(v, false, d) - case *map[uint]int16: - var v2 map[uint]int16 - v2, changed = fastpathTV.DecMapUintInt16V(*v, true, d) - if changed { - *v = v2 - } - case map[uint]int32: - fastpathTV.DecMapUintInt32V(v, false, d) - case *map[uint]int32: - var v2 map[uint]int32 - v2, changed = fastpathTV.DecMapUintInt32V(*v, true, d) - if changed { - *v = v2 - } - case map[uint]int64: - fastpathTV.DecMapUintInt64V(v, false, d) - case *map[uint]int64: - var v2 map[uint]int64 - v2, changed = fastpathTV.DecMapUintInt64V(*v, true, d) - if changed { - *v = v2 - } - case map[uint]float32: - fastpathTV.DecMapUintFloat32V(v, false, d) - case *map[uint]float32: - var v2 map[uint]float32 - v2, changed = fastpathTV.DecMapUintFloat32V(*v, true, d) - if changed { - *v = v2 - } - case map[uint]float64: - fastpathTV.DecMapUintFloat64V(v, false, d) - case *map[uint]float64: - var v2 map[uint]float64 - v2, changed = fastpathTV.DecMapUintFloat64V(*v, true, d) - if changed { - *v = v2 - } - case map[uint]bool: - fastpathTV.DecMapUintBoolV(v, false, d) - case *map[uint]bool: - var v2 map[uint]bool - v2, changed = fastpathTV.DecMapUintBoolV(*v, true, d) - if changed { - *v = v2 - } - case map[uint8]interface{}: - fastpathTV.DecMapUint8IntfV(v, false, d) - case *map[uint8]interface{}: - var v2 map[uint8]interface{} - v2, changed = fastpathTV.DecMapUint8IntfV(*v, true, d) - if changed { - *v = v2 - } - case map[uint8]string: - fastpathTV.DecMapUint8StringV(v, false, d) - case *map[uint8]string: - var v2 map[uint8]string - v2, changed = fastpathTV.DecMapUint8StringV(*v, true, d) - if changed { - *v = v2 - } - case map[uint8]uint: - fastpathTV.DecMapUint8UintV(v, false, d) - case *map[uint8]uint: - var v2 map[uint8]uint - v2, changed = fastpathTV.DecMapUint8UintV(*v, true, d) - if changed { - *v = v2 - } - case map[uint8]uint8: - fastpathTV.DecMapUint8Uint8V(v, false, d) - case *map[uint8]uint8: - var v2 map[uint8]uint8 - v2, changed = fastpathTV.DecMapUint8Uint8V(*v, true, d) - if changed { - *v = v2 - } - case map[uint8]uint16: - fastpathTV.DecMapUint8Uint16V(v, false, d) - case *map[uint8]uint16: - var v2 map[uint8]uint16 - v2, changed = fastpathTV.DecMapUint8Uint16V(*v, true, d) - if changed { - *v = v2 - } - case map[uint8]uint32: - fastpathTV.DecMapUint8Uint32V(v, false, d) - case *map[uint8]uint32: - var v2 map[uint8]uint32 - v2, changed = fastpathTV.DecMapUint8Uint32V(*v, true, d) - if changed { - *v = v2 - } - case map[uint8]uint64: - fastpathTV.DecMapUint8Uint64V(v, false, d) - case *map[uint8]uint64: - var v2 map[uint8]uint64 - v2, changed = fastpathTV.DecMapUint8Uint64V(*v, true, d) - if changed { - *v = v2 - } - case map[uint8]uintptr: - fastpathTV.DecMapUint8UintptrV(v, false, d) - case *map[uint8]uintptr: - var v2 map[uint8]uintptr - v2, changed = fastpathTV.DecMapUint8UintptrV(*v, true, d) - if changed { - *v = v2 - } - case map[uint8]int: - fastpathTV.DecMapUint8IntV(v, false, d) - case *map[uint8]int: - var v2 map[uint8]int - v2, changed = fastpathTV.DecMapUint8IntV(*v, true, d) - if changed { - *v = v2 - } - case map[uint8]int8: - fastpathTV.DecMapUint8Int8V(v, false, d) - case *map[uint8]int8: - var v2 map[uint8]int8 - v2, changed = fastpathTV.DecMapUint8Int8V(*v, true, d) - if changed { - *v = v2 - } - case map[uint8]int16: - fastpathTV.DecMapUint8Int16V(v, false, d) - case *map[uint8]int16: - var v2 map[uint8]int16 - v2, changed = fastpathTV.DecMapUint8Int16V(*v, true, d) - if changed { - *v = v2 - } - case map[uint8]int32: - fastpathTV.DecMapUint8Int32V(v, false, d) - case *map[uint8]int32: - var v2 map[uint8]int32 - v2, changed = fastpathTV.DecMapUint8Int32V(*v, true, d) - if changed { - *v = v2 - } - case map[uint8]int64: - fastpathTV.DecMapUint8Int64V(v, false, d) - case *map[uint8]int64: - var v2 map[uint8]int64 - v2, changed = fastpathTV.DecMapUint8Int64V(*v, true, d) - if changed { - *v = v2 - } - case map[uint8]float32: - fastpathTV.DecMapUint8Float32V(v, false, d) - case *map[uint8]float32: - var v2 map[uint8]float32 - v2, changed = fastpathTV.DecMapUint8Float32V(*v, true, d) - if changed { - *v = v2 - } - case map[uint8]float64: - fastpathTV.DecMapUint8Float64V(v, false, d) - case *map[uint8]float64: - var v2 map[uint8]float64 - v2, changed = fastpathTV.DecMapUint8Float64V(*v, true, d) - if changed { - *v = v2 - } - case map[uint8]bool: - fastpathTV.DecMapUint8BoolV(v, false, d) - case *map[uint8]bool: - var v2 map[uint8]bool - v2, changed = fastpathTV.DecMapUint8BoolV(*v, true, d) - if changed { - *v = v2 - } - case map[uint16]interface{}: - fastpathTV.DecMapUint16IntfV(v, false, d) - case *map[uint16]interface{}: - var v2 map[uint16]interface{} - v2, changed = fastpathTV.DecMapUint16IntfV(*v, true, d) - if changed { - *v = v2 - } - case map[uint16]string: - fastpathTV.DecMapUint16StringV(v, false, d) - case *map[uint16]string: - var v2 map[uint16]string - v2, changed = fastpathTV.DecMapUint16StringV(*v, true, d) - if changed { - *v = v2 - } - case map[uint16]uint: - fastpathTV.DecMapUint16UintV(v, false, d) - case *map[uint16]uint: - var v2 map[uint16]uint - v2, changed = fastpathTV.DecMapUint16UintV(*v, true, d) - if changed { - *v = v2 - } - case map[uint16]uint8: - fastpathTV.DecMapUint16Uint8V(v, false, d) - case *map[uint16]uint8: - var v2 map[uint16]uint8 - v2, changed = fastpathTV.DecMapUint16Uint8V(*v, true, d) - if changed { - *v = v2 - } - case map[uint16]uint16: - fastpathTV.DecMapUint16Uint16V(v, false, d) - case *map[uint16]uint16: - var v2 map[uint16]uint16 - v2, changed = fastpathTV.DecMapUint16Uint16V(*v, true, d) - if changed { - *v = v2 - } - case map[uint16]uint32: - fastpathTV.DecMapUint16Uint32V(v, false, d) - case *map[uint16]uint32: - var v2 map[uint16]uint32 - v2, changed = fastpathTV.DecMapUint16Uint32V(*v, true, d) - if changed { - *v = v2 - } - case map[uint16]uint64: - fastpathTV.DecMapUint16Uint64V(v, false, d) - case *map[uint16]uint64: - var v2 map[uint16]uint64 - v2, changed = fastpathTV.DecMapUint16Uint64V(*v, true, d) - if changed { - *v = v2 - } - case map[uint16]uintptr: - fastpathTV.DecMapUint16UintptrV(v, false, d) - case *map[uint16]uintptr: - var v2 map[uint16]uintptr - v2, changed = fastpathTV.DecMapUint16UintptrV(*v, true, d) - if changed { - *v = v2 - } - case map[uint16]int: - fastpathTV.DecMapUint16IntV(v, false, d) - case *map[uint16]int: - var v2 map[uint16]int - v2, changed = fastpathTV.DecMapUint16IntV(*v, true, d) - if changed { - *v = v2 - } - case map[uint16]int8: - fastpathTV.DecMapUint16Int8V(v, false, d) - case *map[uint16]int8: - var v2 map[uint16]int8 - v2, changed = fastpathTV.DecMapUint16Int8V(*v, true, d) - if changed { - *v = v2 - } - case map[uint16]int16: - fastpathTV.DecMapUint16Int16V(v, false, d) - case *map[uint16]int16: - var v2 map[uint16]int16 - v2, changed = fastpathTV.DecMapUint16Int16V(*v, true, d) - if changed { - *v = v2 - } - case map[uint16]int32: - fastpathTV.DecMapUint16Int32V(v, false, d) - case *map[uint16]int32: - var v2 map[uint16]int32 - v2, changed = fastpathTV.DecMapUint16Int32V(*v, true, d) - if changed { - *v = v2 - } - case map[uint16]int64: - fastpathTV.DecMapUint16Int64V(v, false, d) - case *map[uint16]int64: - var v2 map[uint16]int64 - v2, changed = fastpathTV.DecMapUint16Int64V(*v, true, d) - if changed { - *v = v2 - } - case map[uint16]float32: - fastpathTV.DecMapUint16Float32V(v, false, d) - case *map[uint16]float32: - var v2 map[uint16]float32 - v2, changed = fastpathTV.DecMapUint16Float32V(*v, true, d) - if changed { - *v = v2 - } - case map[uint16]float64: - fastpathTV.DecMapUint16Float64V(v, false, d) - case *map[uint16]float64: - var v2 map[uint16]float64 - v2, changed = fastpathTV.DecMapUint16Float64V(*v, true, d) - if changed { - *v = v2 - } - case map[uint16]bool: - fastpathTV.DecMapUint16BoolV(v, false, d) - case *map[uint16]bool: - var v2 map[uint16]bool - v2, changed = fastpathTV.DecMapUint16BoolV(*v, true, d) - if changed { - *v = v2 - } - case map[uint32]interface{}: - fastpathTV.DecMapUint32IntfV(v, false, d) - case *map[uint32]interface{}: - var v2 map[uint32]interface{} - v2, changed = fastpathTV.DecMapUint32IntfV(*v, true, d) - if changed { - *v = v2 - } - case map[uint32]string: - fastpathTV.DecMapUint32StringV(v, false, d) - case *map[uint32]string: - var v2 map[uint32]string - v2, changed = fastpathTV.DecMapUint32StringV(*v, true, d) - if changed { - *v = v2 - } - case map[uint32]uint: - fastpathTV.DecMapUint32UintV(v, false, d) - case *map[uint32]uint: - var v2 map[uint32]uint - v2, changed = fastpathTV.DecMapUint32UintV(*v, true, d) - if changed { - *v = v2 - } - case map[uint32]uint8: - fastpathTV.DecMapUint32Uint8V(v, false, d) - case *map[uint32]uint8: - var v2 map[uint32]uint8 - v2, changed = fastpathTV.DecMapUint32Uint8V(*v, true, d) - if changed { - *v = v2 - } - case map[uint32]uint16: - fastpathTV.DecMapUint32Uint16V(v, false, d) - case *map[uint32]uint16: - var v2 map[uint32]uint16 - v2, changed = fastpathTV.DecMapUint32Uint16V(*v, true, d) - if changed { - *v = v2 - } - case map[uint32]uint32: - fastpathTV.DecMapUint32Uint32V(v, false, d) - case *map[uint32]uint32: - var v2 map[uint32]uint32 - v2, changed = fastpathTV.DecMapUint32Uint32V(*v, true, d) - if changed { - *v = v2 - } - case map[uint32]uint64: - fastpathTV.DecMapUint32Uint64V(v, false, d) - case *map[uint32]uint64: - var v2 map[uint32]uint64 - v2, changed = fastpathTV.DecMapUint32Uint64V(*v, true, d) - if changed { - *v = v2 - } - case map[uint32]uintptr: - fastpathTV.DecMapUint32UintptrV(v, false, d) - case *map[uint32]uintptr: - var v2 map[uint32]uintptr - v2, changed = fastpathTV.DecMapUint32UintptrV(*v, true, d) - if changed { - *v = v2 - } - case map[uint32]int: - fastpathTV.DecMapUint32IntV(v, false, d) - case *map[uint32]int: - var v2 map[uint32]int - v2, changed = fastpathTV.DecMapUint32IntV(*v, true, d) - if changed { - *v = v2 - } - case map[uint32]int8: - fastpathTV.DecMapUint32Int8V(v, false, d) - case *map[uint32]int8: - var v2 map[uint32]int8 - v2, changed = fastpathTV.DecMapUint32Int8V(*v, true, d) - if changed { - *v = v2 - } - case map[uint32]int16: - fastpathTV.DecMapUint32Int16V(v, false, d) - case *map[uint32]int16: - var v2 map[uint32]int16 - v2, changed = fastpathTV.DecMapUint32Int16V(*v, true, d) - if changed { - *v = v2 - } - case map[uint32]int32: - fastpathTV.DecMapUint32Int32V(v, false, d) - case *map[uint32]int32: - var v2 map[uint32]int32 - v2, changed = fastpathTV.DecMapUint32Int32V(*v, true, d) - if changed { - *v = v2 - } - case map[uint32]int64: - fastpathTV.DecMapUint32Int64V(v, false, d) - case *map[uint32]int64: - var v2 map[uint32]int64 - v2, changed = fastpathTV.DecMapUint32Int64V(*v, true, d) - if changed { - *v = v2 - } - case map[uint32]float32: - fastpathTV.DecMapUint32Float32V(v, false, d) - case *map[uint32]float32: - var v2 map[uint32]float32 - v2, changed = fastpathTV.DecMapUint32Float32V(*v, true, d) - if changed { - *v = v2 - } - case map[uint32]float64: - fastpathTV.DecMapUint32Float64V(v, false, d) - case *map[uint32]float64: - var v2 map[uint32]float64 - v2, changed = fastpathTV.DecMapUint32Float64V(*v, true, d) - if changed { - *v = v2 - } - case map[uint32]bool: - fastpathTV.DecMapUint32BoolV(v, false, d) - case *map[uint32]bool: - var v2 map[uint32]bool - v2, changed = fastpathTV.DecMapUint32BoolV(*v, true, d) - if changed { - *v = v2 - } - case map[uint64]interface{}: - fastpathTV.DecMapUint64IntfV(v, false, d) - case *map[uint64]interface{}: - var v2 map[uint64]interface{} - v2, changed = fastpathTV.DecMapUint64IntfV(*v, true, d) - if changed { - *v = v2 - } - case map[uint64]string: - fastpathTV.DecMapUint64StringV(v, false, d) - case *map[uint64]string: - var v2 map[uint64]string - v2, changed = fastpathTV.DecMapUint64StringV(*v, true, d) - if changed { - *v = v2 - } - case map[uint64]uint: - fastpathTV.DecMapUint64UintV(v, false, d) - case *map[uint64]uint: - var v2 map[uint64]uint - v2, changed = fastpathTV.DecMapUint64UintV(*v, true, d) - if changed { - *v = v2 - } - case map[uint64]uint8: - fastpathTV.DecMapUint64Uint8V(v, false, d) - case *map[uint64]uint8: - var v2 map[uint64]uint8 - v2, changed = fastpathTV.DecMapUint64Uint8V(*v, true, d) - if changed { - *v = v2 - } - case map[uint64]uint16: - fastpathTV.DecMapUint64Uint16V(v, false, d) - case *map[uint64]uint16: - var v2 map[uint64]uint16 - v2, changed = fastpathTV.DecMapUint64Uint16V(*v, true, d) - if changed { - *v = v2 - } - case map[uint64]uint32: - fastpathTV.DecMapUint64Uint32V(v, false, d) - case *map[uint64]uint32: - var v2 map[uint64]uint32 - v2, changed = fastpathTV.DecMapUint64Uint32V(*v, true, d) - if changed { - *v = v2 - } - case map[uint64]uint64: - fastpathTV.DecMapUint64Uint64V(v, false, d) - case *map[uint64]uint64: - var v2 map[uint64]uint64 - v2, changed = fastpathTV.DecMapUint64Uint64V(*v, true, d) - if changed { - *v = v2 - } - case map[uint64]uintptr: - fastpathTV.DecMapUint64UintptrV(v, false, d) - case *map[uint64]uintptr: - var v2 map[uint64]uintptr - v2, changed = fastpathTV.DecMapUint64UintptrV(*v, true, d) - if changed { - *v = v2 - } - case map[uint64]int: - fastpathTV.DecMapUint64IntV(v, false, d) - case *map[uint64]int: - var v2 map[uint64]int - v2, changed = fastpathTV.DecMapUint64IntV(*v, true, d) - if changed { - *v = v2 - } - case map[uint64]int8: - fastpathTV.DecMapUint64Int8V(v, false, d) - case *map[uint64]int8: - var v2 map[uint64]int8 - v2, changed = fastpathTV.DecMapUint64Int8V(*v, true, d) - if changed { - *v = v2 - } - case map[uint64]int16: - fastpathTV.DecMapUint64Int16V(v, false, d) - case *map[uint64]int16: - var v2 map[uint64]int16 - v2, changed = fastpathTV.DecMapUint64Int16V(*v, true, d) - if changed { - *v = v2 - } - case map[uint64]int32: - fastpathTV.DecMapUint64Int32V(v, false, d) - case *map[uint64]int32: - var v2 map[uint64]int32 - v2, changed = fastpathTV.DecMapUint64Int32V(*v, true, d) - if changed { - *v = v2 - } - case map[uint64]int64: - fastpathTV.DecMapUint64Int64V(v, false, d) - case *map[uint64]int64: - var v2 map[uint64]int64 - v2, changed = fastpathTV.DecMapUint64Int64V(*v, true, d) - if changed { - *v = v2 - } - case map[uint64]float32: - fastpathTV.DecMapUint64Float32V(v, false, d) - case *map[uint64]float32: - var v2 map[uint64]float32 - v2, changed = fastpathTV.DecMapUint64Float32V(*v, true, d) - if changed { - *v = v2 - } - case map[uint64]float64: - fastpathTV.DecMapUint64Float64V(v, false, d) - case *map[uint64]float64: - var v2 map[uint64]float64 - v2, changed = fastpathTV.DecMapUint64Float64V(*v, true, d) - if changed { - *v = v2 - } - case map[uint64]bool: - fastpathTV.DecMapUint64BoolV(v, false, d) - case *map[uint64]bool: - var v2 map[uint64]bool - v2, changed = fastpathTV.DecMapUint64BoolV(*v, true, d) - if changed { - *v = v2 - } - case map[uintptr]interface{}: - fastpathTV.DecMapUintptrIntfV(v, false, d) - case *map[uintptr]interface{}: - var v2 map[uintptr]interface{} - v2, changed = fastpathTV.DecMapUintptrIntfV(*v, true, d) - if changed { - *v = v2 - } - case map[uintptr]string: - fastpathTV.DecMapUintptrStringV(v, false, d) - case *map[uintptr]string: - var v2 map[uintptr]string - v2, changed = fastpathTV.DecMapUintptrStringV(*v, true, d) - if changed { - *v = v2 - } - case map[uintptr]uint: - fastpathTV.DecMapUintptrUintV(v, false, d) - case *map[uintptr]uint: - var v2 map[uintptr]uint - v2, changed = fastpathTV.DecMapUintptrUintV(*v, true, d) - if changed { - *v = v2 - } - case map[uintptr]uint8: - fastpathTV.DecMapUintptrUint8V(v, false, d) - case *map[uintptr]uint8: - var v2 map[uintptr]uint8 - v2, changed = fastpathTV.DecMapUintptrUint8V(*v, true, d) - if changed { - *v = v2 - } - case map[uintptr]uint16: - fastpathTV.DecMapUintptrUint16V(v, false, d) - case *map[uintptr]uint16: - var v2 map[uintptr]uint16 - v2, changed = fastpathTV.DecMapUintptrUint16V(*v, true, d) - if changed { - *v = v2 - } - case map[uintptr]uint32: - fastpathTV.DecMapUintptrUint32V(v, false, d) - case *map[uintptr]uint32: - var v2 map[uintptr]uint32 - v2, changed = fastpathTV.DecMapUintptrUint32V(*v, true, d) - if changed { - *v = v2 - } - case map[uintptr]uint64: - fastpathTV.DecMapUintptrUint64V(v, false, d) - case *map[uintptr]uint64: - var v2 map[uintptr]uint64 - v2, changed = fastpathTV.DecMapUintptrUint64V(*v, true, d) - if changed { - *v = v2 - } - case map[uintptr]uintptr: - fastpathTV.DecMapUintptrUintptrV(v, false, d) - case *map[uintptr]uintptr: - var v2 map[uintptr]uintptr - v2, changed = fastpathTV.DecMapUintptrUintptrV(*v, true, d) - if changed { - *v = v2 - } - case map[uintptr]int: - fastpathTV.DecMapUintptrIntV(v, false, d) - case *map[uintptr]int: - var v2 map[uintptr]int - v2, changed = fastpathTV.DecMapUintptrIntV(*v, true, d) - if changed { - *v = v2 - } - case map[uintptr]int8: - fastpathTV.DecMapUintptrInt8V(v, false, d) - case *map[uintptr]int8: - var v2 map[uintptr]int8 - v2, changed = fastpathTV.DecMapUintptrInt8V(*v, true, d) - if changed { - *v = v2 - } - case map[uintptr]int16: - fastpathTV.DecMapUintptrInt16V(v, false, d) - case *map[uintptr]int16: - var v2 map[uintptr]int16 - v2, changed = fastpathTV.DecMapUintptrInt16V(*v, true, d) - if changed { - *v = v2 - } - case map[uintptr]int32: - fastpathTV.DecMapUintptrInt32V(v, false, d) - case *map[uintptr]int32: - var v2 map[uintptr]int32 - v2, changed = fastpathTV.DecMapUintptrInt32V(*v, true, d) - if changed { - *v = v2 - } - case map[uintptr]int64: - fastpathTV.DecMapUintptrInt64V(v, false, d) - case *map[uintptr]int64: - var v2 map[uintptr]int64 - v2, changed = fastpathTV.DecMapUintptrInt64V(*v, true, d) - if changed { - *v = v2 - } - case map[uintptr]float32: - fastpathTV.DecMapUintptrFloat32V(v, false, d) - case *map[uintptr]float32: - var v2 map[uintptr]float32 - v2, changed = fastpathTV.DecMapUintptrFloat32V(*v, true, d) - if changed { - *v = v2 - } - case map[uintptr]float64: - fastpathTV.DecMapUintptrFloat64V(v, false, d) - case *map[uintptr]float64: - var v2 map[uintptr]float64 - v2, changed = fastpathTV.DecMapUintptrFloat64V(*v, true, d) - if changed { - *v = v2 - } - case map[uintptr]bool: - fastpathTV.DecMapUintptrBoolV(v, false, d) - case *map[uintptr]bool: - var v2 map[uintptr]bool - v2, changed = fastpathTV.DecMapUintptrBoolV(*v, true, d) - if changed { - *v = v2 - } - case map[int]interface{}: - fastpathTV.DecMapIntIntfV(v, false, d) - case *map[int]interface{}: - var v2 map[int]interface{} - v2, changed = fastpathTV.DecMapIntIntfV(*v, true, d) - if changed { - *v = v2 - } - case map[int]string: - fastpathTV.DecMapIntStringV(v, false, d) - case *map[int]string: - var v2 map[int]string - v2, changed = fastpathTV.DecMapIntStringV(*v, true, d) - if changed { - *v = v2 - } - case map[int]uint: - fastpathTV.DecMapIntUintV(v, false, d) - case *map[int]uint: - var v2 map[int]uint - v2, changed = fastpathTV.DecMapIntUintV(*v, true, d) - if changed { - *v = v2 - } - case map[int]uint8: - fastpathTV.DecMapIntUint8V(v, false, d) - case *map[int]uint8: - var v2 map[int]uint8 - v2, changed = fastpathTV.DecMapIntUint8V(*v, true, d) - if changed { - *v = v2 - } - case map[int]uint16: - fastpathTV.DecMapIntUint16V(v, false, d) - case *map[int]uint16: - var v2 map[int]uint16 - v2, changed = fastpathTV.DecMapIntUint16V(*v, true, d) - if changed { - *v = v2 - } - case map[int]uint32: - fastpathTV.DecMapIntUint32V(v, false, d) - case *map[int]uint32: - var v2 map[int]uint32 - v2, changed = fastpathTV.DecMapIntUint32V(*v, true, d) - if changed { - *v = v2 - } - case map[int]uint64: - fastpathTV.DecMapIntUint64V(v, false, d) - case *map[int]uint64: - var v2 map[int]uint64 - v2, changed = fastpathTV.DecMapIntUint64V(*v, true, d) - if changed { - *v = v2 - } - case map[int]uintptr: - fastpathTV.DecMapIntUintptrV(v, false, d) - case *map[int]uintptr: - var v2 map[int]uintptr - v2, changed = fastpathTV.DecMapIntUintptrV(*v, true, d) - if changed { - *v = v2 - } - case map[int]int: - fastpathTV.DecMapIntIntV(v, false, d) - case *map[int]int: - var v2 map[int]int - v2, changed = fastpathTV.DecMapIntIntV(*v, true, d) - if changed { - *v = v2 - } - case map[int]int8: - fastpathTV.DecMapIntInt8V(v, false, d) - case *map[int]int8: - var v2 map[int]int8 - v2, changed = fastpathTV.DecMapIntInt8V(*v, true, d) - if changed { - *v = v2 - } - case map[int]int16: - fastpathTV.DecMapIntInt16V(v, false, d) - case *map[int]int16: - var v2 map[int]int16 - v2, changed = fastpathTV.DecMapIntInt16V(*v, true, d) - if changed { - *v = v2 - } - case map[int]int32: - fastpathTV.DecMapIntInt32V(v, false, d) - case *map[int]int32: - var v2 map[int]int32 - v2, changed = fastpathTV.DecMapIntInt32V(*v, true, d) - if changed { - *v = v2 - } - case map[int]int64: - fastpathTV.DecMapIntInt64V(v, false, d) - case *map[int]int64: - var v2 map[int]int64 - v2, changed = fastpathTV.DecMapIntInt64V(*v, true, d) - if changed { - *v = v2 - } - case map[int]float32: - fastpathTV.DecMapIntFloat32V(v, false, d) - case *map[int]float32: - var v2 map[int]float32 - v2, changed = fastpathTV.DecMapIntFloat32V(*v, true, d) - if changed { - *v = v2 - } - case map[int]float64: - fastpathTV.DecMapIntFloat64V(v, false, d) - case *map[int]float64: - var v2 map[int]float64 - v2, changed = fastpathTV.DecMapIntFloat64V(*v, true, d) - if changed { - *v = v2 - } - case map[int]bool: - fastpathTV.DecMapIntBoolV(v, false, d) - case *map[int]bool: - var v2 map[int]bool - v2, changed = fastpathTV.DecMapIntBoolV(*v, true, d) - if changed { - *v = v2 - } - case map[int8]interface{}: - fastpathTV.DecMapInt8IntfV(v, false, d) - case *map[int8]interface{}: - var v2 map[int8]interface{} - v2, changed = fastpathTV.DecMapInt8IntfV(*v, true, d) - if changed { - *v = v2 - } - case map[int8]string: - fastpathTV.DecMapInt8StringV(v, false, d) - case *map[int8]string: - var v2 map[int8]string - v2, changed = fastpathTV.DecMapInt8StringV(*v, true, d) - if changed { - *v = v2 - } - case map[int8]uint: - fastpathTV.DecMapInt8UintV(v, false, d) - case *map[int8]uint: - var v2 map[int8]uint - v2, changed = fastpathTV.DecMapInt8UintV(*v, true, d) - if changed { - *v = v2 - } - case map[int8]uint8: - fastpathTV.DecMapInt8Uint8V(v, false, d) - case *map[int8]uint8: - var v2 map[int8]uint8 - v2, changed = fastpathTV.DecMapInt8Uint8V(*v, true, d) - if changed { - *v = v2 - } - case map[int8]uint16: - fastpathTV.DecMapInt8Uint16V(v, false, d) - case *map[int8]uint16: - var v2 map[int8]uint16 - v2, changed = fastpathTV.DecMapInt8Uint16V(*v, true, d) - if changed { - *v = v2 - } - case map[int8]uint32: - fastpathTV.DecMapInt8Uint32V(v, false, d) - case *map[int8]uint32: - var v2 map[int8]uint32 - v2, changed = fastpathTV.DecMapInt8Uint32V(*v, true, d) - if changed { - *v = v2 - } - case map[int8]uint64: - fastpathTV.DecMapInt8Uint64V(v, false, d) - case *map[int8]uint64: - var v2 map[int8]uint64 - v2, changed = fastpathTV.DecMapInt8Uint64V(*v, true, d) - if changed { - *v = v2 - } - case map[int8]uintptr: - fastpathTV.DecMapInt8UintptrV(v, false, d) - case *map[int8]uintptr: - var v2 map[int8]uintptr - v2, changed = fastpathTV.DecMapInt8UintptrV(*v, true, d) - if changed { - *v = v2 - } - case map[int8]int: - fastpathTV.DecMapInt8IntV(v, false, d) - case *map[int8]int: - var v2 map[int8]int - v2, changed = fastpathTV.DecMapInt8IntV(*v, true, d) - if changed { - *v = v2 - } - case map[int8]int8: - fastpathTV.DecMapInt8Int8V(v, false, d) - case *map[int8]int8: - var v2 map[int8]int8 - v2, changed = fastpathTV.DecMapInt8Int8V(*v, true, d) - if changed { - *v = v2 - } - case map[int8]int16: - fastpathTV.DecMapInt8Int16V(v, false, d) - case *map[int8]int16: - var v2 map[int8]int16 - v2, changed = fastpathTV.DecMapInt8Int16V(*v, true, d) - if changed { - *v = v2 - } - case map[int8]int32: - fastpathTV.DecMapInt8Int32V(v, false, d) - case *map[int8]int32: - var v2 map[int8]int32 - v2, changed = fastpathTV.DecMapInt8Int32V(*v, true, d) - if changed { - *v = v2 - } - case map[int8]int64: - fastpathTV.DecMapInt8Int64V(v, false, d) - case *map[int8]int64: - var v2 map[int8]int64 - v2, changed = fastpathTV.DecMapInt8Int64V(*v, true, d) - if changed { - *v = v2 - } - case map[int8]float32: - fastpathTV.DecMapInt8Float32V(v, false, d) - case *map[int8]float32: - var v2 map[int8]float32 - v2, changed = fastpathTV.DecMapInt8Float32V(*v, true, d) - if changed { - *v = v2 - } - case map[int8]float64: - fastpathTV.DecMapInt8Float64V(v, false, d) - case *map[int8]float64: - var v2 map[int8]float64 - v2, changed = fastpathTV.DecMapInt8Float64V(*v, true, d) - if changed { - *v = v2 - } - case map[int8]bool: - fastpathTV.DecMapInt8BoolV(v, false, d) - case *map[int8]bool: - var v2 map[int8]bool - v2, changed = fastpathTV.DecMapInt8BoolV(*v, true, d) - if changed { - *v = v2 - } - case map[int16]interface{}: - fastpathTV.DecMapInt16IntfV(v, false, d) - case *map[int16]interface{}: - var v2 map[int16]interface{} - v2, changed = fastpathTV.DecMapInt16IntfV(*v, true, d) - if changed { - *v = v2 - } - case map[int16]string: - fastpathTV.DecMapInt16StringV(v, false, d) - case *map[int16]string: - var v2 map[int16]string - v2, changed = fastpathTV.DecMapInt16StringV(*v, true, d) - if changed { - *v = v2 - } - case map[int16]uint: - fastpathTV.DecMapInt16UintV(v, false, d) - case *map[int16]uint: - var v2 map[int16]uint - v2, changed = fastpathTV.DecMapInt16UintV(*v, true, d) - if changed { - *v = v2 - } - case map[int16]uint8: - fastpathTV.DecMapInt16Uint8V(v, false, d) - case *map[int16]uint8: - var v2 map[int16]uint8 - v2, changed = fastpathTV.DecMapInt16Uint8V(*v, true, d) - if changed { - *v = v2 - } - case map[int16]uint16: - fastpathTV.DecMapInt16Uint16V(v, false, d) - case *map[int16]uint16: - var v2 map[int16]uint16 - v2, changed = fastpathTV.DecMapInt16Uint16V(*v, true, d) - if changed { - *v = v2 - } - case map[int16]uint32: - fastpathTV.DecMapInt16Uint32V(v, false, d) - case *map[int16]uint32: - var v2 map[int16]uint32 - v2, changed = fastpathTV.DecMapInt16Uint32V(*v, true, d) - if changed { - *v = v2 - } - case map[int16]uint64: - fastpathTV.DecMapInt16Uint64V(v, false, d) - case *map[int16]uint64: - var v2 map[int16]uint64 - v2, changed = fastpathTV.DecMapInt16Uint64V(*v, true, d) - if changed { - *v = v2 - } - case map[int16]uintptr: - fastpathTV.DecMapInt16UintptrV(v, false, d) - case *map[int16]uintptr: - var v2 map[int16]uintptr - v2, changed = fastpathTV.DecMapInt16UintptrV(*v, true, d) - if changed { - *v = v2 - } - case map[int16]int: - fastpathTV.DecMapInt16IntV(v, false, d) - case *map[int16]int: - var v2 map[int16]int - v2, changed = fastpathTV.DecMapInt16IntV(*v, true, d) - if changed { - *v = v2 - } - case map[int16]int8: - fastpathTV.DecMapInt16Int8V(v, false, d) - case *map[int16]int8: - var v2 map[int16]int8 - v2, changed = fastpathTV.DecMapInt16Int8V(*v, true, d) - if changed { - *v = v2 - } - case map[int16]int16: - fastpathTV.DecMapInt16Int16V(v, false, d) - case *map[int16]int16: - var v2 map[int16]int16 - v2, changed = fastpathTV.DecMapInt16Int16V(*v, true, d) - if changed { - *v = v2 - } - case map[int16]int32: - fastpathTV.DecMapInt16Int32V(v, false, d) - case *map[int16]int32: - var v2 map[int16]int32 - v2, changed = fastpathTV.DecMapInt16Int32V(*v, true, d) - if changed { - *v = v2 - } - case map[int16]int64: - fastpathTV.DecMapInt16Int64V(v, false, d) - case *map[int16]int64: - var v2 map[int16]int64 - v2, changed = fastpathTV.DecMapInt16Int64V(*v, true, d) - if changed { - *v = v2 - } - case map[int16]float32: - fastpathTV.DecMapInt16Float32V(v, false, d) - case *map[int16]float32: - var v2 map[int16]float32 - v2, changed = fastpathTV.DecMapInt16Float32V(*v, true, d) - if changed { - *v = v2 - } - case map[int16]float64: - fastpathTV.DecMapInt16Float64V(v, false, d) - case *map[int16]float64: - var v2 map[int16]float64 - v2, changed = fastpathTV.DecMapInt16Float64V(*v, true, d) - if changed { - *v = v2 - } - case map[int16]bool: - fastpathTV.DecMapInt16BoolV(v, false, d) - case *map[int16]bool: - var v2 map[int16]bool - v2, changed = fastpathTV.DecMapInt16BoolV(*v, true, d) - if changed { - *v = v2 - } - case map[int32]interface{}: - fastpathTV.DecMapInt32IntfV(v, false, d) - case *map[int32]interface{}: - var v2 map[int32]interface{} - v2, changed = fastpathTV.DecMapInt32IntfV(*v, true, d) - if changed { - *v = v2 - } - case map[int32]string: - fastpathTV.DecMapInt32StringV(v, false, d) - case *map[int32]string: - var v2 map[int32]string - v2, changed = fastpathTV.DecMapInt32StringV(*v, true, d) - if changed { - *v = v2 - } - case map[int32]uint: - fastpathTV.DecMapInt32UintV(v, false, d) - case *map[int32]uint: - var v2 map[int32]uint - v2, changed = fastpathTV.DecMapInt32UintV(*v, true, d) - if changed { - *v = v2 - } - case map[int32]uint8: - fastpathTV.DecMapInt32Uint8V(v, false, d) - case *map[int32]uint8: - var v2 map[int32]uint8 - v2, changed = fastpathTV.DecMapInt32Uint8V(*v, true, d) - if changed { - *v = v2 - } - case map[int32]uint16: - fastpathTV.DecMapInt32Uint16V(v, false, d) - case *map[int32]uint16: - var v2 map[int32]uint16 - v2, changed = fastpathTV.DecMapInt32Uint16V(*v, true, d) - if changed { - *v = v2 - } - case map[int32]uint32: - fastpathTV.DecMapInt32Uint32V(v, false, d) - case *map[int32]uint32: - var v2 map[int32]uint32 - v2, changed = fastpathTV.DecMapInt32Uint32V(*v, true, d) - if changed { - *v = v2 - } - case map[int32]uint64: - fastpathTV.DecMapInt32Uint64V(v, false, d) - case *map[int32]uint64: - var v2 map[int32]uint64 - v2, changed = fastpathTV.DecMapInt32Uint64V(*v, true, d) - if changed { - *v = v2 - } - case map[int32]uintptr: - fastpathTV.DecMapInt32UintptrV(v, false, d) - case *map[int32]uintptr: - var v2 map[int32]uintptr - v2, changed = fastpathTV.DecMapInt32UintptrV(*v, true, d) - if changed { - *v = v2 - } - case map[int32]int: - fastpathTV.DecMapInt32IntV(v, false, d) - case *map[int32]int: - var v2 map[int32]int - v2, changed = fastpathTV.DecMapInt32IntV(*v, true, d) - if changed { - *v = v2 - } - case map[int32]int8: - fastpathTV.DecMapInt32Int8V(v, false, d) - case *map[int32]int8: - var v2 map[int32]int8 - v2, changed = fastpathTV.DecMapInt32Int8V(*v, true, d) - if changed { - *v = v2 - } - case map[int32]int16: - fastpathTV.DecMapInt32Int16V(v, false, d) - case *map[int32]int16: - var v2 map[int32]int16 - v2, changed = fastpathTV.DecMapInt32Int16V(*v, true, d) - if changed { - *v = v2 - } - case map[int32]int32: - fastpathTV.DecMapInt32Int32V(v, false, d) - case *map[int32]int32: - var v2 map[int32]int32 - v2, changed = fastpathTV.DecMapInt32Int32V(*v, true, d) - if changed { - *v = v2 - } - case map[int32]int64: - fastpathTV.DecMapInt32Int64V(v, false, d) - case *map[int32]int64: - var v2 map[int32]int64 - v2, changed = fastpathTV.DecMapInt32Int64V(*v, true, d) - if changed { - *v = v2 - } - case map[int32]float32: - fastpathTV.DecMapInt32Float32V(v, false, d) - case *map[int32]float32: - var v2 map[int32]float32 - v2, changed = fastpathTV.DecMapInt32Float32V(*v, true, d) - if changed { - *v = v2 - } - case map[int32]float64: - fastpathTV.DecMapInt32Float64V(v, false, d) - case *map[int32]float64: - var v2 map[int32]float64 - v2, changed = fastpathTV.DecMapInt32Float64V(*v, true, d) - if changed { - *v = v2 - } - case map[int32]bool: - fastpathTV.DecMapInt32BoolV(v, false, d) - case *map[int32]bool: - var v2 map[int32]bool - v2, changed = fastpathTV.DecMapInt32BoolV(*v, true, d) - if changed { - *v = v2 - } - case map[int64]interface{}: - fastpathTV.DecMapInt64IntfV(v, false, d) - case *map[int64]interface{}: - var v2 map[int64]interface{} - v2, changed = fastpathTV.DecMapInt64IntfV(*v, true, d) - if changed { - *v = v2 - } - case map[int64]string: - fastpathTV.DecMapInt64StringV(v, false, d) - case *map[int64]string: - var v2 map[int64]string - v2, changed = fastpathTV.DecMapInt64StringV(*v, true, d) - if changed { - *v = v2 - } - case map[int64]uint: - fastpathTV.DecMapInt64UintV(v, false, d) - case *map[int64]uint: - var v2 map[int64]uint - v2, changed = fastpathTV.DecMapInt64UintV(*v, true, d) - if changed { - *v = v2 - } - case map[int64]uint8: - fastpathTV.DecMapInt64Uint8V(v, false, d) - case *map[int64]uint8: - var v2 map[int64]uint8 - v2, changed = fastpathTV.DecMapInt64Uint8V(*v, true, d) - if changed { - *v = v2 - } - case map[int64]uint16: - fastpathTV.DecMapInt64Uint16V(v, false, d) - case *map[int64]uint16: - var v2 map[int64]uint16 - v2, changed = fastpathTV.DecMapInt64Uint16V(*v, true, d) - if changed { - *v = v2 - } - case map[int64]uint32: - fastpathTV.DecMapInt64Uint32V(v, false, d) - case *map[int64]uint32: - var v2 map[int64]uint32 - v2, changed = fastpathTV.DecMapInt64Uint32V(*v, true, d) - if changed { - *v = v2 - } - case map[int64]uint64: - fastpathTV.DecMapInt64Uint64V(v, false, d) - case *map[int64]uint64: - var v2 map[int64]uint64 - v2, changed = fastpathTV.DecMapInt64Uint64V(*v, true, d) - if changed { - *v = v2 - } - case map[int64]uintptr: - fastpathTV.DecMapInt64UintptrV(v, false, d) - case *map[int64]uintptr: - var v2 map[int64]uintptr - v2, changed = fastpathTV.DecMapInt64UintptrV(*v, true, d) - if changed { - *v = v2 - } - case map[int64]int: - fastpathTV.DecMapInt64IntV(v, false, d) - case *map[int64]int: - var v2 map[int64]int - v2, changed = fastpathTV.DecMapInt64IntV(*v, true, d) - if changed { - *v = v2 - } - case map[int64]int8: - fastpathTV.DecMapInt64Int8V(v, false, d) - case *map[int64]int8: - var v2 map[int64]int8 - v2, changed = fastpathTV.DecMapInt64Int8V(*v, true, d) - if changed { - *v = v2 - } - case map[int64]int16: - fastpathTV.DecMapInt64Int16V(v, false, d) - case *map[int64]int16: - var v2 map[int64]int16 - v2, changed = fastpathTV.DecMapInt64Int16V(*v, true, d) - if changed { - *v = v2 - } - case map[int64]int32: - fastpathTV.DecMapInt64Int32V(v, false, d) - case *map[int64]int32: - var v2 map[int64]int32 - v2, changed = fastpathTV.DecMapInt64Int32V(*v, true, d) - if changed { - *v = v2 - } - case map[int64]int64: - fastpathTV.DecMapInt64Int64V(v, false, d) - case *map[int64]int64: - var v2 map[int64]int64 - v2, changed = fastpathTV.DecMapInt64Int64V(*v, true, d) - if changed { - *v = v2 - } - case map[int64]float32: - fastpathTV.DecMapInt64Float32V(v, false, d) - case *map[int64]float32: - var v2 map[int64]float32 - v2, changed = fastpathTV.DecMapInt64Float32V(*v, true, d) - if changed { - *v = v2 - } - case map[int64]float64: - fastpathTV.DecMapInt64Float64V(v, false, d) - case *map[int64]float64: - var v2 map[int64]float64 - v2, changed = fastpathTV.DecMapInt64Float64V(*v, true, d) - if changed { - *v = v2 - } - case map[int64]bool: - fastpathTV.DecMapInt64BoolV(v, false, d) - case *map[int64]bool: - var v2 map[int64]bool - v2, changed = fastpathTV.DecMapInt64BoolV(*v, true, d) - if changed { - *v = v2 - } - case map[bool]interface{}: - fastpathTV.DecMapBoolIntfV(v, false, d) - case *map[bool]interface{}: - var v2 map[bool]interface{} - v2, changed = fastpathTV.DecMapBoolIntfV(*v, true, d) - if changed { - *v = v2 - } - case map[bool]string: - fastpathTV.DecMapBoolStringV(v, false, d) - case *map[bool]string: - var v2 map[bool]string - v2, changed = fastpathTV.DecMapBoolStringV(*v, true, d) - if changed { - *v = v2 - } - case map[bool]uint: - fastpathTV.DecMapBoolUintV(v, false, d) - case *map[bool]uint: - var v2 map[bool]uint - v2, changed = fastpathTV.DecMapBoolUintV(*v, true, d) - if changed { - *v = v2 - } - case map[bool]uint8: - fastpathTV.DecMapBoolUint8V(v, false, d) - case *map[bool]uint8: - var v2 map[bool]uint8 - v2, changed = fastpathTV.DecMapBoolUint8V(*v, true, d) - if changed { - *v = v2 - } - case map[bool]uint16: - fastpathTV.DecMapBoolUint16V(v, false, d) - case *map[bool]uint16: - var v2 map[bool]uint16 - v2, changed = fastpathTV.DecMapBoolUint16V(*v, true, d) - if changed { - *v = v2 - } - case map[bool]uint32: - fastpathTV.DecMapBoolUint32V(v, false, d) - case *map[bool]uint32: - var v2 map[bool]uint32 - v2, changed = fastpathTV.DecMapBoolUint32V(*v, true, d) - if changed { - *v = v2 - } - case map[bool]uint64: - fastpathTV.DecMapBoolUint64V(v, false, d) - case *map[bool]uint64: - var v2 map[bool]uint64 - v2, changed = fastpathTV.DecMapBoolUint64V(*v, true, d) - if changed { - *v = v2 - } - case map[bool]uintptr: - fastpathTV.DecMapBoolUintptrV(v, false, d) - case *map[bool]uintptr: - var v2 map[bool]uintptr - v2, changed = fastpathTV.DecMapBoolUintptrV(*v, true, d) - if changed { - *v = v2 - } - case map[bool]int: - fastpathTV.DecMapBoolIntV(v, false, d) - case *map[bool]int: - var v2 map[bool]int - v2, changed = fastpathTV.DecMapBoolIntV(*v, true, d) - if changed { - *v = v2 - } - case map[bool]int8: - fastpathTV.DecMapBoolInt8V(v, false, d) - case *map[bool]int8: - var v2 map[bool]int8 - v2, changed = fastpathTV.DecMapBoolInt8V(*v, true, d) - if changed { - *v = v2 - } - case map[bool]int16: - fastpathTV.DecMapBoolInt16V(v, false, d) - case *map[bool]int16: - var v2 map[bool]int16 - v2, changed = fastpathTV.DecMapBoolInt16V(*v, true, d) - if changed { - *v = v2 - } - case map[bool]int32: - fastpathTV.DecMapBoolInt32V(v, false, d) - case *map[bool]int32: - var v2 map[bool]int32 - v2, changed = fastpathTV.DecMapBoolInt32V(*v, true, d) - if changed { - *v = v2 - } - case map[bool]int64: - fastpathTV.DecMapBoolInt64V(v, false, d) - case *map[bool]int64: - var v2 map[bool]int64 - v2, changed = fastpathTV.DecMapBoolInt64V(*v, true, d) - if changed { - *v = v2 - } - case map[bool]float32: - fastpathTV.DecMapBoolFloat32V(v, false, d) - case *map[bool]float32: - var v2 map[bool]float32 - v2, changed = fastpathTV.DecMapBoolFloat32V(*v, true, d) - if changed { - *v = v2 - } - case map[bool]float64: - fastpathTV.DecMapBoolFloat64V(v, false, d) - case *map[bool]float64: - var v2 map[bool]float64 - v2, changed = fastpathTV.DecMapBoolFloat64V(*v, true, d) - if changed { - *v = v2 - } - case map[bool]bool: - fastpathTV.DecMapBoolBoolV(v, false, d) - case *map[bool]bool: - var v2 map[bool]bool - v2, changed = fastpathTV.DecMapBoolBoolV(*v, true, d) - if changed { - *v = v2 - } - default: - _ = v // workaround https://github.com/golang/go/issues/12927 seen in go1.4 - return false - } - return true -} - -func fastpathDecodeSetZeroTypeSwitch(iv interface{}) bool { - switch v := iv.(type) { - - case *[]interface{}: - *v = nil - case *[]string: - *v = nil - case *[]float32: - *v = nil - case *[]float64: - *v = nil - case *[]uint: - *v = nil - case *[]uint8: - *v = nil - case *[]uint16: - *v = nil - case *[]uint32: - *v = nil - case *[]uint64: - *v = nil - case *[]uintptr: - *v = nil - case *[]int: - *v = nil - case *[]int8: - *v = nil - case *[]int16: - *v = nil - case *[]int32: - *v = nil - case *[]int64: - *v = nil - case *[]bool: - *v = nil - - case *map[interface{}]interface{}: - *v = nil - case *map[interface{}]string: - *v = nil - case *map[interface{}]uint: - *v = nil - case *map[interface{}]uint8: - *v = nil - case *map[interface{}]uint16: - *v = nil - case *map[interface{}]uint32: - *v = nil - case *map[interface{}]uint64: - *v = nil - case *map[interface{}]uintptr: - *v = nil - case *map[interface{}]int: - *v = nil - case *map[interface{}]int8: - *v = nil - case *map[interface{}]int16: - *v = nil - case *map[interface{}]int32: - *v = nil - case *map[interface{}]int64: - *v = nil - case *map[interface{}]float32: - *v = nil - case *map[interface{}]float64: - *v = nil - case *map[interface{}]bool: - *v = nil - case *map[string]interface{}: - *v = nil - case *map[string]string: - *v = nil - case *map[string]uint: - *v = nil - case *map[string]uint8: - *v = nil - case *map[string]uint16: - *v = nil - case *map[string]uint32: - *v = nil - case *map[string]uint64: - *v = nil - case *map[string]uintptr: - *v = nil - case *map[string]int: - *v = nil - case *map[string]int8: - *v = nil - case *map[string]int16: - *v = nil - case *map[string]int32: - *v = nil - case *map[string]int64: - *v = nil - case *map[string]float32: - *v = nil - case *map[string]float64: - *v = nil - case *map[string]bool: - *v = nil - case *map[float32]interface{}: - *v = nil - case *map[float32]string: - *v = nil - case *map[float32]uint: - *v = nil - case *map[float32]uint8: - *v = nil - case *map[float32]uint16: - *v = nil - case *map[float32]uint32: - *v = nil - case *map[float32]uint64: - *v = nil - case *map[float32]uintptr: - *v = nil - case *map[float32]int: - *v = nil - case *map[float32]int8: - *v = nil - case *map[float32]int16: - *v = nil - case *map[float32]int32: - *v = nil - case *map[float32]int64: - *v = nil - case *map[float32]float32: - *v = nil - case *map[float32]float64: - *v = nil - case *map[float32]bool: - *v = nil - case *map[float64]interface{}: - *v = nil - case *map[float64]string: - *v = nil - case *map[float64]uint: - *v = nil - case *map[float64]uint8: - *v = nil - case *map[float64]uint16: - *v = nil - case *map[float64]uint32: - *v = nil - case *map[float64]uint64: - *v = nil - case *map[float64]uintptr: - *v = nil - case *map[float64]int: - *v = nil - case *map[float64]int8: - *v = nil - case *map[float64]int16: - *v = nil - case *map[float64]int32: - *v = nil - case *map[float64]int64: - *v = nil - case *map[float64]float32: - *v = nil - case *map[float64]float64: - *v = nil - case *map[float64]bool: - *v = nil - case *map[uint]interface{}: - *v = nil - case *map[uint]string: - *v = nil - case *map[uint]uint: - *v = nil - case *map[uint]uint8: - *v = nil - case *map[uint]uint16: - *v = nil - case *map[uint]uint32: - *v = nil - case *map[uint]uint64: - *v = nil - case *map[uint]uintptr: - *v = nil - case *map[uint]int: - *v = nil - case *map[uint]int8: - *v = nil - case *map[uint]int16: - *v = nil - case *map[uint]int32: - *v = nil - case *map[uint]int64: - *v = nil - case *map[uint]float32: - *v = nil - case *map[uint]float64: - *v = nil - case *map[uint]bool: - *v = nil - case *map[uint8]interface{}: - *v = nil - case *map[uint8]string: - *v = nil - case *map[uint8]uint: - *v = nil - case *map[uint8]uint8: - *v = nil - case *map[uint8]uint16: - *v = nil - case *map[uint8]uint32: - *v = nil - case *map[uint8]uint64: - *v = nil - case *map[uint8]uintptr: - *v = nil - case *map[uint8]int: - *v = nil - case *map[uint8]int8: - *v = nil - case *map[uint8]int16: - *v = nil - case *map[uint8]int32: - *v = nil - case *map[uint8]int64: - *v = nil - case *map[uint8]float32: - *v = nil - case *map[uint8]float64: - *v = nil - case *map[uint8]bool: - *v = nil - case *map[uint16]interface{}: - *v = nil - case *map[uint16]string: - *v = nil - case *map[uint16]uint: - *v = nil - case *map[uint16]uint8: - *v = nil - case *map[uint16]uint16: - *v = nil - case *map[uint16]uint32: - *v = nil - case *map[uint16]uint64: - *v = nil - case *map[uint16]uintptr: - *v = nil - case *map[uint16]int: - *v = nil - case *map[uint16]int8: - *v = nil - case *map[uint16]int16: - *v = nil - case *map[uint16]int32: - *v = nil - case *map[uint16]int64: - *v = nil - case *map[uint16]float32: - *v = nil - case *map[uint16]float64: - *v = nil - case *map[uint16]bool: - *v = nil - case *map[uint32]interface{}: - *v = nil - case *map[uint32]string: - *v = nil - case *map[uint32]uint: - *v = nil - case *map[uint32]uint8: - *v = nil - case *map[uint32]uint16: - *v = nil - case *map[uint32]uint32: - *v = nil - case *map[uint32]uint64: - *v = nil - case *map[uint32]uintptr: - *v = nil - case *map[uint32]int: - *v = nil - case *map[uint32]int8: - *v = nil - case *map[uint32]int16: - *v = nil - case *map[uint32]int32: - *v = nil - case *map[uint32]int64: - *v = nil - case *map[uint32]float32: - *v = nil - case *map[uint32]float64: - *v = nil - case *map[uint32]bool: - *v = nil - case *map[uint64]interface{}: - *v = nil - case *map[uint64]string: - *v = nil - case *map[uint64]uint: - *v = nil - case *map[uint64]uint8: - *v = nil - case *map[uint64]uint16: - *v = nil - case *map[uint64]uint32: - *v = nil - case *map[uint64]uint64: - *v = nil - case *map[uint64]uintptr: - *v = nil - case *map[uint64]int: - *v = nil - case *map[uint64]int8: - *v = nil - case *map[uint64]int16: - *v = nil - case *map[uint64]int32: - *v = nil - case *map[uint64]int64: - *v = nil - case *map[uint64]float32: - *v = nil - case *map[uint64]float64: - *v = nil - case *map[uint64]bool: - *v = nil - case *map[uintptr]interface{}: - *v = nil - case *map[uintptr]string: - *v = nil - case *map[uintptr]uint: - *v = nil - case *map[uintptr]uint8: - *v = nil - case *map[uintptr]uint16: - *v = nil - case *map[uintptr]uint32: - *v = nil - case *map[uintptr]uint64: - *v = nil - case *map[uintptr]uintptr: - *v = nil - case *map[uintptr]int: - *v = nil - case *map[uintptr]int8: - *v = nil - case *map[uintptr]int16: - *v = nil - case *map[uintptr]int32: - *v = nil - case *map[uintptr]int64: - *v = nil - case *map[uintptr]float32: - *v = nil - case *map[uintptr]float64: - *v = nil - case *map[uintptr]bool: - *v = nil - case *map[int]interface{}: - *v = nil - case *map[int]string: - *v = nil - case *map[int]uint: - *v = nil - case *map[int]uint8: - *v = nil - case *map[int]uint16: - *v = nil - case *map[int]uint32: - *v = nil - case *map[int]uint64: - *v = nil - case *map[int]uintptr: - *v = nil - case *map[int]int: - *v = nil - case *map[int]int8: - *v = nil - case *map[int]int16: - *v = nil - case *map[int]int32: - *v = nil - case *map[int]int64: - *v = nil - case *map[int]float32: - *v = nil - case *map[int]float64: - *v = nil - case *map[int]bool: - *v = nil - case *map[int8]interface{}: - *v = nil - case *map[int8]string: - *v = nil - case *map[int8]uint: - *v = nil - case *map[int8]uint8: - *v = nil - case *map[int8]uint16: - *v = nil - case *map[int8]uint32: - *v = nil - case *map[int8]uint64: - *v = nil - case *map[int8]uintptr: - *v = nil - case *map[int8]int: - *v = nil - case *map[int8]int8: - *v = nil - case *map[int8]int16: - *v = nil - case *map[int8]int32: - *v = nil - case *map[int8]int64: - *v = nil - case *map[int8]float32: - *v = nil - case *map[int8]float64: - *v = nil - case *map[int8]bool: - *v = nil - case *map[int16]interface{}: - *v = nil - case *map[int16]string: - *v = nil - case *map[int16]uint: - *v = nil - case *map[int16]uint8: - *v = nil - case *map[int16]uint16: - *v = nil - case *map[int16]uint32: - *v = nil - case *map[int16]uint64: - *v = nil - case *map[int16]uintptr: - *v = nil - case *map[int16]int: - *v = nil - case *map[int16]int8: - *v = nil - case *map[int16]int16: - *v = nil - case *map[int16]int32: - *v = nil - case *map[int16]int64: - *v = nil - case *map[int16]float32: - *v = nil - case *map[int16]float64: - *v = nil - case *map[int16]bool: - *v = nil - case *map[int32]interface{}: - *v = nil - case *map[int32]string: - *v = nil - case *map[int32]uint: - *v = nil - case *map[int32]uint8: - *v = nil - case *map[int32]uint16: - *v = nil - case *map[int32]uint32: - *v = nil - case *map[int32]uint64: - *v = nil - case *map[int32]uintptr: - *v = nil - case *map[int32]int: - *v = nil - case *map[int32]int8: - *v = nil - case *map[int32]int16: - *v = nil - case *map[int32]int32: - *v = nil - case *map[int32]int64: - *v = nil - case *map[int32]float32: - *v = nil - case *map[int32]float64: - *v = nil - case *map[int32]bool: - *v = nil - case *map[int64]interface{}: - *v = nil - case *map[int64]string: - *v = nil - case *map[int64]uint: - *v = nil - case *map[int64]uint8: - *v = nil - case *map[int64]uint16: - *v = nil - case *map[int64]uint32: - *v = nil - case *map[int64]uint64: - *v = nil - case *map[int64]uintptr: - *v = nil - case *map[int64]int: - *v = nil - case *map[int64]int8: - *v = nil - case *map[int64]int16: - *v = nil - case *map[int64]int32: - *v = nil - case *map[int64]int64: - *v = nil - case *map[int64]float32: - *v = nil - case *map[int64]float64: - *v = nil - case *map[int64]bool: - *v = nil - case *map[bool]interface{}: - *v = nil - case *map[bool]string: - *v = nil - case *map[bool]uint: - *v = nil - case *map[bool]uint8: - *v = nil - case *map[bool]uint16: - *v = nil - case *map[bool]uint32: - *v = nil - case *map[bool]uint64: - *v = nil - case *map[bool]uintptr: - *v = nil - case *map[bool]int: - *v = nil - case *map[bool]int8: - *v = nil - case *map[bool]int16: - *v = nil - case *map[bool]int32: - *v = nil - case *map[bool]int64: - *v = nil - case *map[bool]float32: - *v = nil - case *map[bool]float64: - *v = nil - case *map[bool]bool: - *v = nil - default: - _ = v // workaround https://github.com/golang/go/issues/12927 seen in go1.4 - return false - } - return true -} - -// -- -- fast path functions - -func (d *Decoder) fastpathDecSliceIntfR(f *codecFnInfo, rv reflect.Value) { - if array := f.seq == seqTypeArray; !array && rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*[]interface{}) - v, changed := fastpathTV.DecSliceIntfV(*vp, !array, d) - if changed { - *vp = v - } - } else { - v := rv2i(rv).([]interface{}) - v2, changed := fastpathTV.DecSliceIntfV(v, !array, d) - if changed && len(v) > 0 && len(v2) > 0 && !(len(v2) == len(v) && &v2[0] == &v[0]) { - copy(v, v2) - } - } -} -func (f fastpathT) DecSliceIntfX(vp *[]interface{}, d *Decoder) { - v, changed := f.DecSliceIntfV(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecSliceIntfV(v []interface{}, canChange bool, d *Decoder) (_ []interface{}, changed bool) { - dd := d.d - slh, containerLenS := d.decSliceHelperStart() - if containerLenS == 0 { - if canChange { - if v == nil { - v = []interface{}{} - } else if len(v) != 0 { - v = v[:0] - } - changed = true - } - slh.End() - return v, changed - } - d.depthIncr() - hasLen := containerLenS > 0 - var xlen int - if hasLen && canChange { - if containerLenS > cap(v) { - xlen = decInferLen(containerLenS, d.h.MaxInitLen, 16) - if xlen <= cap(v) { - v = v[:uint(xlen)] - } else { - v = make([]interface{}, uint(xlen)) - } - changed = true - } else if containerLenS != len(v) { - v = v[:containerLenS] - changed = true - } - } - var j int - for j = 0; (hasLen && j < containerLenS) || !(hasLen || dd.CheckBreak()); j++ { - if j == 0 && len(v) == 0 && canChange { - if hasLen { - xlen = decInferLen(containerLenS, d.h.MaxInitLen, 16) - } else { - xlen = 8 - } - v = make([]interface{}, uint(xlen)) - changed = true - } - // if indefinite, etc, then expand the slice if necessary - var decodeIntoBlank bool - if j >= len(v) { - if canChange { - v = append(v, nil) - changed = true - } else { - d.arrayCannotExpand(len(v), j+1) - decodeIntoBlank = true - } - } - slh.ElemContainerState(j) - if decodeIntoBlank { - d.swallow() - } else if dd.TryDecodeAsNil() { - v[uint(j)] = nil - } else { - d.decode(&v[uint(j)]) - } - } - if canChange { - if j < len(v) { - v = v[:uint(j)] - changed = true - } else if j == 0 && v == nil { - v = make([]interface{}, 0) - changed = true - } - } - slh.End() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecSliceStringR(f *codecFnInfo, rv reflect.Value) { - if array := f.seq == seqTypeArray; !array && rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*[]string) - v, changed := fastpathTV.DecSliceStringV(*vp, !array, d) - if changed { - *vp = v - } - } else { - v := rv2i(rv).([]string) - v2, changed := fastpathTV.DecSliceStringV(v, !array, d) - if changed && len(v) > 0 && len(v2) > 0 && !(len(v2) == len(v) && &v2[0] == &v[0]) { - copy(v, v2) - } - } -} -func (f fastpathT) DecSliceStringX(vp *[]string, d *Decoder) { - v, changed := f.DecSliceStringV(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecSliceStringV(v []string, canChange bool, d *Decoder) (_ []string, changed bool) { - dd := d.d - slh, containerLenS := d.decSliceHelperStart() - if containerLenS == 0 { - if canChange { - if v == nil { - v = []string{} - } else if len(v) != 0 { - v = v[:0] - } - changed = true - } - slh.End() - return v, changed - } - d.depthIncr() - hasLen := containerLenS > 0 - var xlen int - if hasLen && canChange { - if containerLenS > cap(v) { - xlen = decInferLen(containerLenS, d.h.MaxInitLen, 16) - if xlen <= cap(v) { - v = v[:uint(xlen)] - } else { - v = make([]string, uint(xlen)) - } - changed = true - } else if containerLenS != len(v) { - v = v[:containerLenS] - changed = true - } - } - var j int - for j = 0; (hasLen && j < containerLenS) || !(hasLen || dd.CheckBreak()); j++ { - if j == 0 && len(v) == 0 && canChange { - if hasLen { - xlen = decInferLen(containerLenS, d.h.MaxInitLen, 16) - } else { - xlen = 8 - } - v = make([]string, uint(xlen)) - changed = true - } - // if indefinite, etc, then expand the slice if necessary - var decodeIntoBlank bool - if j >= len(v) { - if canChange { - v = append(v, "") - changed = true - } else { - d.arrayCannotExpand(len(v), j+1) - decodeIntoBlank = true - } - } - slh.ElemContainerState(j) - if decodeIntoBlank { - d.swallow() - } else if dd.TryDecodeAsNil() { - v[uint(j)] = "" - } else { - v[uint(j)] = dd.DecodeString() - } - } - if canChange { - if j < len(v) { - v = v[:uint(j)] - changed = true - } else if j == 0 && v == nil { - v = make([]string, 0) - changed = true - } - } - slh.End() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecSliceFloat32R(f *codecFnInfo, rv reflect.Value) { - if array := f.seq == seqTypeArray; !array && rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*[]float32) - v, changed := fastpathTV.DecSliceFloat32V(*vp, !array, d) - if changed { - *vp = v - } - } else { - v := rv2i(rv).([]float32) - v2, changed := fastpathTV.DecSliceFloat32V(v, !array, d) - if changed && len(v) > 0 && len(v2) > 0 && !(len(v2) == len(v) && &v2[0] == &v[0]) { - copy(v, v2) - } - } -} -func (f fastpathT) DecSliceFloat32X(vp *[]float32, d *Decoder) { - v, changed := f.DecSliceFloat32V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecSliceFloat32V(v []float32, canChange bool, d *Decoder) (_ []float32, changed bool) { - dd := d.d - slh, containerLenS := d.decSliceHelperStart() - if containerLenS == 0 { - if canChange { - if v == nil { - v = []float32{} - } else if len(v) != 0 { - v = v[:0] - } - changed = true - } - slh.End() - return v, changed - } - d.depthIncr() - hasLen := containerLenS > 0 - var xlen int - if hasLen && canChange { - if containerLenS > cap(v) { - xlen = decInferLen(containerLenS, d.h.MaxInitLen, 4) - if xlen <= cap(v) { - v = v[:uint(xlen)] - } else { - v = make([]float32, uint(xlen)) - } - changed = true - } else if containerLenS != len(v) { - v = v[:containerLenS] - changed = true - } - } - var j int - for j = 0; (hasLen && j < containerLenS) || !(hasLen || dd.CheckBreak()); j++ { - if j == 0 && len(v) == 0 && canChange { - if hasLen { - xlen = decInferLen(containerLenS, d.h.MaxInitLen, 4) - } else { - xlen = 8 - } - v = make([]float32, uint(xlen)) - changed = true - } - // if indefinite, etc, then expand the slice if necessary - var decodeIntoBlank bool - if j >= len(v) { - if canChange { - v = append(v, 0) - changed = true - } else { - d.arrayCannotExpand(len(v), j+1) - decodeIntoBlank = true - } - } - slh.ElemContainerState(j) - if decodeIntoBlank { - d.swallow() - } else if dd.TryDecodeAsNil() { - v[uint(j)] = 0 - } else { - v[uint(j)] = float32(chkOvf.Float32V(dd.DecodeFloat64())) - } - } - if canChange { - if j < len(v) { - v = v[:uint(j)] - changed = true - } else if j == 0 && v == nil { - v = make([]float32, 0) - changed = true - } - } - slh.End() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecSliceFloat64R(f *codecFnInfo, rv reflect.Value) { - if array := f.seq == seqTypeArray; !array && rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*[]float64) - v, changed := fastpathTV.DecSliceFloat64V(*vp, !array, d) - if changed { - *vp = v - } - } else { - v := rv2i(rv).([]float64) - v2, changed := fastpathTV.DecSliceFloat64V(v, !array, d) - if changed && len(v) > 0 && len(v2) > 0 && !(len(v2) == len(v) && &v2[0] == &v[0]) { - copy(v, v2) - } - } -} -func (f fastpathT) DecSliceFloat64X(vp *[]float64, d *Decoder) { - v, changed := f.DecSliceFloat64V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecSliceFloat64V(v []float64, canChange bool, d *Decoder) (_ []float64, changed bool) { - dd := d.d - slh, containerLenS := d.decSliceHelperStart() - if containerLenS == 0 { - if canChange { - if v == nil { - v = []float64{} - } else if len(v) != 0 { - v = v[:0] - } - changed = true - } - slh.End() - return v, changed - } - d.depthIncr() - hasLen := containerLenS > 0 - var xlen int - if hasLen && canChange { - if containerLenS > cap(v) { - xlen = decInferLen(containerLenS, d.h.MaxInitLen, 8) - if xlen <= cap(v) { - v = v[:uint(xlen)] - } else { - v = make([]float64, uint(xlen)) - } - changed = true - } else if containerLenS != len(v) { - v = v[:containerLenS] - changed = true - } - } - var j int - for j = 0; (hasLen && j < containerLenS) || !(hasLen || dd.CheckBreak()); j++ { - if j == 0 && len(v) == 0 && canChange { - if hasLen { - xlen = decInferLen(containerLenS, d.h.MaxInitLen, 8) - } else { - xlen = 8 - } - v = make([]float64, uint(xlen)) - changed = true - } - // if indefinite, etc, then expand the slice if necessary - var decodeIntoBlank bool - if j >= len(v) { - if canChange { - v = append(v, 0) - changed = true - } else { - d.arrayCannotExpand(len(v), j+1) - decodeIntoBlank = true - } - } - slh.ElemContainerState(j) - if decodeIntoBlank { - d.swallow() - } else if dd.TryDecodeAsNil() { - v[uint(j)] = 0 - } else { - v[uint(j)] = dd.DecodeFloat64() - } - } - if canChange { - if j < len(v) { - v = v[:uint(j)] - changed = true - } else if j == 0 && v == nil { - v = make([]float64, 0) - changed = true - } - } - slh.End() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecSliceUintR(f *codecFnInfo, rv reflect.Value) { - if array := f.seq == seqTypeArray; !array && rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*[]uint) - v, changed := fastpathTV.DecSliceUintV(*vp, !array, d) - if changed { - *vp = v - } - } else { - v := rv2i(rv).([]uint) - v2, changed := fastpathTV.DecSliceUintV(v, !array, d) - if changed && len(v) > 0 && len(v2) > 0 && !(len(v2) == len(v) && &v2[0] == &v[0]) { - copy(v, v2) - } - } -} -func (f fastpathT) DecSliceUintX(vp *[]uint, d *Decoder) { - v, changed := f.DecSliceUintV(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecSliceUintV(v []uint, canChange bool, d *Decoder) (_ []uint, changed bool) { - dd := d.d - slh, containerLenS := d.decSliceHelperStart() - if containerLenS == 0 { - if canChange { - if v == nil { - v = []uint{} - } else if len(v) != 0 { - v = v[:0] - } - changed = true - } - slh.End() - return v, changed - } - d.depthIncr() - hasLen := containerLenS > 0 - var xlen int - if hasLen && canChange { - if containerLenS > cap(v) { - xlen = decInferLen(containerLenS, d.h.MaxInitLen, 8) - if xlen <= cap(v) { - v = v[:uint(xlen)] - } else { - v = make([]uint, uint(xlen)) - } - changed = true - } else if containerLenS != len(v) { - v = v[:containerLenS] - changed = true - } - } - var j int - for j = 0; (hasLen && j < containerLenS) || !(hasLen || dd.CheckBreak()); j++ { - if j == 0 && len(v) == 0 && canChange { - if hasLen { - xlen = decInferLen(containerLenS, d.h.MaxInitLen, 8) - } else { - xlen = 8 - } - v = make([]uint, uint(xlen)) - changed = true - } - // if indefinite, etc, then expand the slice if necessary - var decodeIntoBlank bool - if j >= len(v) { - if canChange { - v = append(v, 0) - changed = true - } else { - d.arrayCannotExpand(len(v), j+1) - decodeIntoBlank = true - } - } - slh.ElemContainerState(j) - if decodeIntoBlank { - d.swallow() - } else if dd.TryDecodeAsNil() { - v[uint(j)] = 0 - } else { - v[uint(j)] = uint(chkOvf.UintV(dd.DecodeUint64(), uintBitsize)) - } - } - if canChange { - if j < len(v) { - v = v[:uint(j)] - changed = true - } else if j == 0 && v == nil { - v = make([]uint, 0) - changed = true - } - } - slh.End() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecSliceUint8R(f *codecFnInfo, rv reflect.Value) { - if array := f.seq == seqTypeArray; !array && rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*[]uint8) - v, changed := fastpathTV.DecSliceUint8V(*vp, !array, d) - if changed { - *vp = v - } - } else { - v := rv2i(rv).([]uint8) - v2, changed := fastpathTV.DecSliceUint8V(v, !array, d) - if changed && len(v) > 0 && len(v2) > 0 && !(len(v2) == len(v) && &v2[0] == &v[0]) { - copy(v, v2) - } - } -} -func (f fastpathT) DecSliceUint8X(vp *[]uint8, d *Decoder) { - v, changed := f.DecSliceUint8V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecSliceUint8V(v []uint8, canChange bool, d *Decoder) (_ []uint8, changed bool) { - dd := d.d - slh, containerLenS := d.decSliceHelperStart() - if containerLenS == 0 { - if canChange { - if v == nil { - v = []uint8{} - } else if len(v) != 0 { - v = v[:0] - } - changed = true - } - slh.End() - return v, changed - } - d.depthIncr() - hasLen := containerLenS > 0 - var xlen int - if hasLen && canChange { - if containerLenS > cap(v) { - xlen = decInferLen(containerLenS, d.h.MaxInitLen, 1) - if xlen <= cap(v) { - v = v[:uint(xlen)] - } else { - v = make([]uint8, uint(xlen)) - } - changed = true - } else if containerLenS != len(v) { - v = v[:containerLenS] - changed = true - } - } - var j int - for j = 0; (hasLen && j < containerLenS) || !(hasLen || dd.CheckBreak()); j++ { - if j == 0 && len(v) == 0 && canChange { - if hasLen { - xlen = decInferLen(containerLenS, d.h.MaxInitLen, 1) - } else { - xlen = 8 - } - v = make([]uint8, uint(xlen)) - changed = true - } - // if indefinite, etc, then expand the slice if necessary - var decodeIntoBlank bool - if j >= len(v) { - if canChange { - v = append(v, 0) - changed = true - } else { - d.arrayCannotExpand(len(v), j+1) - decodeIntoBlank = true - } - } - slh.ElemContainerState(j) - if decodeIntoBlank { - d.swallow() - } else if dd.TryDecodeAsNil() { - v[uint(j)] = 0 - } else { - v[uint(j)] = uint8(chkOvf.UintV(dd.DecodeUint64(), 8)) - } - } - if canChange { - if j < len(v) { - v = v[:uint(j)] - changed = true - } else if j == 0 && v == nil { - v = make([]uint8, 0) - changed = true - } - } - slh.End() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecSliceUint16R(f *codecFnInfo, rv reflect.Value) { - if array := f.seq == seqTypeArray; !array && rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*[]uint16) - v, changed := fastpathTV.DecSliceUint16V(*vp, !array, d) - if changed { - *vp = v - } - } else { - v := rv2i(rv).([]uint16) - v2, changed := fastpathTV.DecSliceUint16V(v, !array, d) - if changed && len(v) > 0 && len(v2) > 0 && !(len(v2) == len(v) && &v2[0] == &v[0]) { - copy(v, v2) - } - } -} -func (f fastpathT) DecSliceUint16X(vp *[]uint16, d *Decoder) { - v, changed := f.DecSliceUint16V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecSliceUint16V(v []uint16, canChange bool, d *Decoder) (_ []uint16, changed bool) { - dd := d.d - slh, containerLenS := d.decSliceHelperStart() - if containerLenS == 0 { - if canChange { - if v == nil { - v = []uint16{} - } else if len(v) != 0 { - v = v[:0] - } - changed = true - } - slh.End() - return v, changed - } - d.depthIncr() - hasLen := containerLenS > 0 - var xlen int - if hasLen && canChange { - if containerLenS > cap(v) { - xlen = decInferLen(containerLenS, d.h.MaxInitLen, 2) - if xlen <= cap(v) { - v = v[:uint(xlen)] - } else { - v = make([]uint16, uint(xlen)) - } - changed = true - } else if containerLenS != len(v) { - v = v[:containerLenS] - changed = true - } - } - var j int - for j = 0; (hasLen && j < containerLenS) || !(hasLen || dd.CheckBreak()); j++ { - if j == 0 && len(v) == 0 && canChange { - if hasLen { - xlen = decInferLen(containerLenS, d.h.MaxInitLen, 2) - } else { - xlen = 8 - } - v = make([]uint16, uint(xlen)) - changed = true - } - // if indefinite, etc, then expand the slice if necessary - var decodeIntoBlank bool - if j >= len(v) { - if canChange { - v = append(v, 0) - changed = true - } else { - d.arrayCannotExpand(len(v), j+1) - decodeIntoBlank = true - } - } - slh.ElemContainerState(j) - if decodeIntoBlank { - d.swallow() - } else if dd.TryDecodeAsNil() { - v[uint(j)] = 0 - } else { - v[uint(j)] = uint16(chkOvf.UintV(dd.DecodeUint64(), 16)) - } - } - if canChange { - if j < len(v) { - v = v[:uint(j)] - changed = true - } else if j == 0 && v == nil { - v = make([]uint16, 0) - changed = true - } - } - slh.End() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecSliceUint32R(f *codecFnInfo, rv reflect.Value) { - if array := f.seq == seqTypeArray; !array && rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*[]uint32) - v, changed := fastpathTV.DecSliceUint32V(*vp, !array, d) - if changed { - *vp = v - } - } else { - v := rv2i(rv).([]uint32) - v2, changed := fastpathTV.DecSliceUint32V(v, !array, d) - if changed && len(v) > 0 && len(v2) > 0 && !(len(v2) == len(v) && &v2[0] == &v[0]) { - copy(v, v2) - } - } -} -func (f fastpathT) DecSliceUint32X(vp *[]uint32, d *Decoder) { - v, changed := f.DecSliceUint32V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecSliceUint32V(v []uint32, canChange bool, d *Decoder) (_ []uint32, changed bool) { - dd := d.d - slh, containerLenS := d.decSliceHelperStart() - if containerLenS == 0 { - if canChange { - if v == nil { - v = []uint32{} - } else if len(v) != 0 { - v = v[:0] - } - changed = true - } - slh.End() - return v, changed - } - d.depthIncr() - hasLen := containerLenS > 0 - var xlen int - if hasLen && canChange { - if containerLenS > cap(v) { - xlen = decInferLen(containerLenS, d.h.MaxInitLen, 4) - if xlen <= cap(v) { - v = v[:uint(xlen)] - } else { - v = make([]uint32, uint(xlen)) - } - changed = true - } else if containerLenS != len(v) { - v = v[:containerLenS] - changed = true - } - } - var j int - for j = 0; (hasLen && j < containerLenS) || !(hasLen || dd.CheckBreak()); j++ { - if j == 0 && len(v) == 0 && canChange { - if hasLen { - xlen = decInferLen(containerLenS, d.h.MaxInitLen, 4) - } else { - xlen = 8 - } - v = make([]uint32, uint(xlen)) - changed = true - } - // if indefinite, etc, then expand the slice if necessary - var decodeIntoBlank bool - if j >= len(v) { - if canChange { - v = append(v, 0) - changed = true - } else { - d.arrayCannotExpand(len(v), j+1) - decodeIntoBlank = true - } - } - slh.ElemContainerState(j) - if decodeIntoBlank { - d.swallow() - } else if dd.TryDecodeAsNil() { - v[uint(j)] = 0 - } else { - v[uint(j)] = uint32(chkOvf.UintV(dd.DecodeUint64(), 32)) - } - } - if canChange { - if j < len(v) { - v = v[:uint(j)] - changed = true - } else if j == 0 && v == nil { - v = make([]uint32, 0) - changed = true - } - } - slh.End() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecSliceUint64R(f *codecFnInfo, rv reflect.Value) { - if array := f.seq == seqTypeArray; !array && rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*[]uint64) - v, changed := fastpathTV.DecSliceUint64V(*vp, !array, d) - if changed { - *vp = v - } - } else { - v := rv2i(rv).([]uint64) - v2, changed := fastpathTV.DecSliceUint64V(v, !array, d) - if changed && len(v) > 0 && len(v2) > 0 && !(len(v2) == len(v) && &v2[0] == &v[0]) { - copy(v, v2) - } - } -} -func (f fastpathT) DecSliceUint64X(vp *[]uint64, d *Decoder) { - v, changed := f.DecSliceUint64V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecSliceUint64V(v []uint64, canChange bool, d *Decoder) (_ []uint64, changed bool) { - dd := d.d - slh, containerLenS := d.decSliceHelperStart() - if containerLenS == 0 { - if canChange { - if v == nil { - v = []uint64{} - } else if len(v) != 0 { - v = v[:0] - } - changed = true - } - slh.End() - return v, changed - } - d.depthIncr() - hasLen := containerLenS > 0 - var xlen int - if hasLen && canChange { - if containerLenS > cap(v) { - xlen = decInferLen(containerLenS, d.h.MaxInitLen, 8) - if xlen <= cap(v) { - v = v[:uint(xlen)] - } else { - v = make([]uint64, uint(xlen)) - } - changed = true - } else if containerLenS != len(v) { - v = v[:containerLenS] - changed = true - } - } - var j int - for j = 0; (hasLen && j < containerLenS) || !(hasLen || dd.CheckBreak()); j++ { - if j == 0 && len(v) == 0 && canChange { - if hasLen { - xlen = decInferLen(containerLenS, d.h.MaxInitLen, 8) - } else { - xlen = 8 - } - v = make([]uint64, uint(xlen)) - changed = true - } - // if indefinite, etc, then expand the slice if necessary - var decodeIntoBlank bool - if j >= len(v) { - if canChange { - v = append(v, 0) - changed = true - } else { - d.arrayCannotExpand(len(v), j+1) - decodeIntoBlank = true - } - } - slh.ElemContainerState(j) - if decodeIntoBlank { - d.swallow() - } else if dd.TryDecodeAsNil() { - v[uint(j)] = 0 - } else { - v[uint(j)] = dd.DecodeUint64() - } - } - if canChange { - if j < len(v) { - v = v[:uint(j)] - changed = true - } else if j == 0 && v == nil { - v = make([]uint64, 0) - changed = true - } - } - slh.End() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecSliceUintptrR(f *codecFnInfo, rv reflect.Value) { - if array := f.seq == seqTypeArray; !array && rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*[]uintptr) - v, changed := fastpathTV.DecSliceUintptrV(*vp, !array, d) - if changed { - *vp = v - } - } else { - v := rv2i(rv).([]uintptr) - v2, changed := fastpathTV.DecSliceUintptrV(v, !array, d) - if changed && len(v) > 0 && len(v2) > 0 && !(len(v2) == len(v) && &v2[0] == &v[0]) { - copy(v, v2) - } - } -} -func (f fastpathT) DecSliceUintptrX(vp *[]uintptr, d *Decoder) { - v, changed := f.DecSliceUintptrV(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecSliceUintptrV(v []uintptr, canChange bool, d *Decoder) (_ []uintptr, changed bool) { - dd := d.d - slh, containerLenS := d.decSliceHelperStart() - if containerLenS == 0 { - if canChange { - if v == nil { - v = []uintptr{} - } else if len(v) != 0 { - v = v[:0] - } - changed = true - } - slh.End() - return v, changed - } - d.depthIncr() - hasLen := containerLenS > 0 - var xlen int - if hasLen && canChange { - if containerLenS > cap(v) { - xlen = decInferLen(containerLenS, d.h.MaxInitLen, 8) - if xlen <= cap(v) { - v = v[:uint(xlen)] - } else { - v = make([]uintptr, uint(xlen)) - } - changed = true - } else if containerLenS != len(v) { - v = v[:containerLenS] - changed = true - } - } - var j int - for j = 0; (hasLen && j < containerLenS) || !(hasLen || dd.CheckBreak()); j++ { - if j == 0 && len(v) == 0 && canChange { - if hasLen { - xlen = decInferLen(containerLenS, d.h.MaxInitLen, 8) - } else { - xlen = 8 - } - v = make([]uintptr, uint(xlen)) - changed = true - } - // if indefinite, etc, then expand the slice if necessary - var decodeIntoBlank bool - if j >= len(v) { - if canChange { - v = append(v, 0) - changed = true - } else { - d.arrayCannotExpand(len(v), j+1) - decodeIntoBlank = true - } - } - slh.ElemContainerState(j) - if decodeIntoBlank { - d.swallow() - } else if dd.TryDecodeAsNil() { - v[uint(j)] = 0 - } else { - v[uint(j)] = uintptr(chkOvf.UintV(dd.DecodeUint64(), uintBitsize)) - } - } - if canChange { - if j < len(v) { - v = v[:uint(j)] - changed = true - } else if j == 0 && v == nil { - v = make([]uintptr, 0) - changed = true - } - } - slh.End() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecSliceIntR(f *codecFnInfo, rv reflect.Value) { - if array := f.seq == seqTypeArray; !array && rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*[]int) - v, changed := fastpathTV.DecSliceIntV(*vp, !array, d) - if changed { - *vp = v - } - } else { - v := rv2i(rv).([]int) - v2, changed := fastpathTV.DecSliceIntV(v, !array, d) - if changed && len(v) > 0 && len(v2) > 0 && !(len(v2) == len(v) && &v2[0] == &v[0]) { - copy(v, v2) - } - } -} -func (f fastpathT) DecSliceIntX(vp *[]int, d *Decoder) { - v, changed := f.DecSliceIntV(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecSliceIntV(v []int, canChange bool, d *Decoder) (_ []int, changed bool) { - dd := d.d - slh, containerLenS := d.decSliceHelperStart() - if containerLenS == 0 { - if canChange { - if v == nil { - v = []int{} - } else if len(v) != 0 { - v = v[:0] - } - changed = true - } - slh.End() - return v, changed - } - d.depthIncr() - hasLen := containerLenS > 0 - var xlen int - if hasLen && canChange { - if containerLenS > cap(v) { - xlen = decInferLen(containerLenS, d.h.MaxInitLen, 8) - if xlen <= cap(v) { - v = v[:uint(xlen)] - } else { - v = make([]int, uint(xlen)) - } - changed = true - } else if containerLenS != len(v) { - v = v[:containerLenS] - changed = true - } - } - var j int - for j = 0; (hasLen && j < containerLenS) || !(hasLen || dd.CheckBreak()); j++ { - if j == 0 && len(v) == 0 && canChange { - if hasLen { - xlen = decInferLen(containerLenS, d.h.MaxInitLen, 8) - } else { - xlen = 8 - } - v = make([]int, uint(xlen)) - changed = true - } - // if indefinite, etc, then expand the slice if necessary - var decodeIntoBlank bool - if j >= len(v) { - if canChange { - v = append(v, 0) - changed = true - } else { - d.arrayCannotExpand(len(v), j+1) - decodeIntoBlank = true - } - } - slh.ElemContainerState(j) - if decodeIntoBlank { - d.swallow() - } else if dd.TryDecodeAsNil() { - v[uint(j)] = 0 - } else { - v[uint(j)] = int(chkOvf.IntV(dd.DecodeInt64(), intBitsize)) - } - } - if canChange { - if j < len(v) { - v = v[:uint(j)] - changed = true - } else if j == 0 && v == nil { - v = make([]int, 0) - changed = true - } - } - slh.End() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecSliceInt8R(f *codecFnInfo, rv reflect.Value) { - if array := f.seq == seqTypeArray; !array && rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*[]int8) - v, changed := fastpathTV.DecSliceInt8V(*vp, !array, d) - if changed { - *vp = v - } - } else { - v := rv2i(rv).([]int8) - v2, changed := fastpathTV.DecSliceInt8V(v, !array, d) - if changed && len(v) > 0 && len(v2) > 0 && !(len(v2) == len(v) && &v2[0] == &v[0]) { - copy(v, v2) - } - } -} -func (f fastpathT) DecSliceInt8X(vp *[]int8, d *Decoder) { - v, changed := f.DecSliceInt8V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecSliceInt8V(v []int8, canChange bool, d *Decoder) (_ []int8, changed bool) { - dd := d.d - slh, containerLenS := d.decSliceHelperStart() - if containerLenS == 0 { - if canChange { - if v == nil { - v = []int8{} - } else if len(v) != 0 { - v = v[:0] - } - changed = true - } - slh.End() - return v, changed - } - d.depthIncr() - hasLen := containerLenS > 0 - var xlen int - if hasLen && canChange { - if containerLenS > cap(v) { - xlen = decInferLen(containerLenS, d.h.MaxInitLen, 1) - if xlen <= cap(v) { - v = v[:uint(xlen)] - } else { - v = make([]int8, uint(xlen)) - } - changed = true - } else if containerLenS != len(v) { - v = v[:containerLenS] - changed = true - } - } - var j int - for j = 0; (hasLen && j < containerLenS) || !(hasLen || dd.CheckBreak()); j++ { - if j == 0 && len(v) == 0 && canChange { - if hasLen { - xlen = decInferLen(containerLenS, d.h.MaxInitLen, 1) - } else { - xlen = 8 - } - v = make([]int8, uint(xlen)) - changed = true - } - // if indefinite, etc, then expand the slice if necessary - var decodeIntoBlank bool - if j >= len(v) { - if canChange { - v = append(v, 0) - changed = true - } else { - d.arrayCannotExpand(len(v), j+1) - decodeIntoBlank = true - } - } - slh.ElemContainerState(j) - if decodeIntoBlank { - d.swallow() - } else if dd.TryDecodeAsNil() { - v[uint(j)] = 0 - } else { - v[uint(j)] = int8(chkOvf.IntV(dd.DecodeInt64(), 8)) - } - } - if canChange { - if j < len(v) { - v = v[:uint(j)] - changed = true - } else if j == 0 && v == nil { - v = make([]int8, 0) - changed = true - } - } - slh.End() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecSliceInt16R(f *codecFnInfo, rv reflect.Value) { - if array := f.seq == seqTypeArray; !array && rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*[]int16) - v, changed := fastpathTV.DecSliceInt16V(*vp, !array, d) - if changed { - *vp = v - } - } else { - v := rv2i(rv).([]int16) - v2, changed := fastpathTV.DecSliceInt16V(v, !array, d) - if changed && len(v) > 0 && len(v2) > 0 && !(len(v2) == len(v) && &v2[0] == &v[0]) { - copy(v, v2) - } - } -} -func (f fastpathT) DecSliceInt16X(vp *[]int16, d *Decoder) { - v, changed := f.DecSliceInt16V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecSliceInt16V(v []int16, canChange bool, d *Decoder) (_ []int16, changed bool) { - dd := d.d - slh, containerLenS := d.decSliceHelperStart() - if containerLenS == 0 { - if canChange { - if v == nil { - v = []int16{} - } else if len(v) != 0 { - v = v[:0] - } - changed = true - } - slh.End() - return v, changed - } - d.depthIncr() - hasLen := containerLenS > 0 - var xlen int - if hasLen && canChange { - if containerLenS > cap(v) { - xlen = decInferLen(containerLenS, d.h.MaxInitLen, 2) - if xlen <= cap(v) { - v = v[:uint(xlen)] - } else { - v = make([]int16, uint(xlen)) - } - changed = true - } else if containerLenS != len(v) { - v = v[:containerLenS] - changed = true - } - } - var j int - for j = 0; (hasLen && j < containerLenS) || !(hasLen || dd.CheckBreak()); j++ { - if j == 0 && len(v) == 0 && canChange { - if hasLen { - xlen = decInferLen(containerLenS, d.h.MaxInitLen, 2) - } else { - xlen = 8 - } - v = make([]int16, uint(xlen)) - changed = true - } - // if indefinite, etc, then expand the slice if necessary - var decodeIntoBlank bool - if j >= len(v) { - if canChange { - v = append(v, 0) - changed = true - } else { - d.arrayCannotExpand(len(v), j+1) - decodeIntoBlank = true - } - } - slh.ElemContainerState(j) - if decodeIntoBlank { - d.swallow() - } else if dd.TryDecodeAsNil() { - v[uint(j)] = 0 - } else { - v[uint(j)] = int16(chkOvf.IntV(dd.DecodeInt64(), 16)) - } - } - if canChange { - if j < len(v) { - v = v[:uint(j)] - changed = true - } else if j == 0 && v == nil { - v = make([]int16, 0) - changed = true - } - } - slh.End() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecSliceInt32R(f *codecFnInfo, rv reflect.Value) { - if array := f.seq == seqTypeArray; !array && rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*[]int32) - v, changed := fastpathTV.DecSliceInt32V(*vp, !array, d) - if changed { - *vp = v - } - } else { - v := rv2i(rv).([]int32) - v2, changed := fastpathTV.DecSliceInt32V(v, !array, d) - if changed && len(v) > 0 && len(v2) > 0 && !(len(v2) == len(v) && &v2[0] == &v[0]) { - copy(v, v2) - } - } -} -func (f fastpathT) DecSliceInt32X(vp *[]int32, d *Decoder) { - v, changed := f.DecSliceInt32V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecSliceInt32V(v []int32, canChange bool, d *Decoder) (_ []int32, changed bool) { - dd := d.d - slh, containerLenS := d.decSliceHelperStart() - if containerLenS == 0 { - if canChange { - if v == nil { - v = []int32{} - } else if len(v) != 0 { - v = v[:0] - } - changed = true - } - slh.End() - return v, changed - } - d.depthIncr() - hasLen := containerLenS > 0 - var xlen int - if hasLen && canChange { - if containerLenS > cap(v) { - xlen = decInferLen(containerLenS, d.h.MaxInitLen, 4) - if xlen <= cap(v) { - v = v[:uint(xlen)] - } else { - v = make([]int32, uint(xlen)) - } - changed = true - } else if containerLenS != len(v) { - v = v[:containerLenS] - changed = true - } - } - var j int - for j = 0; (hasLen && j < containerLenS) || !(hasLen || dd.CheckBreak()); j++ { - if j == 0 && len(v) == 0 && canChange { - if hasLen { - xlen = decInferLen(containerLenS, d.h.MaxInitLen, 4) - } else { - xlen = 8 - } - v = make([]int32, uint(xlen)) - changed = true - } - // if indefinite, etc, then expand the slice if necessary - var decodeIntoBlank bool - if j >= len(v) { - if canChange { - v = append(v, 0) - changed = true - } else { - d.arrayCannotExpand(len(v), j+1) - decodeIntoBlank = true - } - } - slh.ElemContainerState(j) - if decodeIntoBlank { - d.swallow() - } else if dd.TryDecodeAsNil() { - v[uint(j)] = 0 - } else { - v[uint(j)] = int32(chkOvf.IntV(dd.DecodeInt64(), 32)) - } - } - if canChange { - if j < len(v) { - v = v[:uint(j)] - changed = true - } else if j == 0 && v == nil { - v = make([]int32, 0) - changed = true - } - } - slh.End() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecSliceInt64R(f *codecFnInfo, rv reflect.Value) { - if array := f.seq == seqTypeArray; !array && rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*[]int64) - v, changed := fastpathTV.DecSliceInt64V(*vp, !array, d) - if changed { - *vp = v - } - } else { - v := rv2i(rv).([]int64) - v2, changed := fastpathTV.DecSliceInt64V(v, !array, d) - if changed && len(v) > 0 && len(v2) > 0 && !(len(v2) == len(v) && &v2[0] == &v[0]) { - copy(v, v2) - } - } -} -func (f fastpathT) DecSliceInt64X(vp *[]int64, d *Decoder) { - v, changed := f.DecSliceInt64V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecSliceInt64V(v []int64, canChange bool, d *Decoder) (_ []int64, changed bool) { - dd := d.d - slh, containerLenS := d.decSliceHelperStart() - if containerLenS == 0 { - if canChange { - if v == nil { - v = []int64{} - } else if len(v) != 0 { - v = v[:0] - } - changed = true - } - slh.End() - return v, changed - } - d.depthIncr() - hasLen := containerLenS > 0 - var xlen int - if hasLen && canChange { - if containerLenS > cap(v) { - xlen = decInferLen(containerLenS, d.h.MaxInitLen, 8) - if xlen <= cap(v) { - v = v[:uint(xlen)] - } else { - v = make([]int64, uint(xlen)) - } - changed = true - } else if containerLenS != len(v) { - v = v[:containerLenS] - changed = true - } - } - var j int - for j = 0; (hasLen && j < containerLenS) || !(hasLen || dd.CheckBreak()); j++ { - if j == 0 && len(v) == 0 && canChange { - if hasLen { - xlen = decInferLen(containerLenS, d.h.MaxInitLen, 8) - } else { - xlen = 8 - } - v = make([]int64, uint(xlen)) - changed = true - } - // if indefinite, etc, then expand the slice if necessary - var decodeIntoBlank bool - if j >= len(v) { - if canChange { - v = append(v, 0) - changed = true - } else { - d.arrayCannotExpand(len(v), j+1) - decodeIntoBlank = true - } - } - slh.ElemContainerState(j) - if decodeIntoBlank { - d.swallow() - } else if dd.TryDecodeAsNil() { - v[uint(j)] = 0 - } else { - v[uint(j)] = dd.DecodeInt64() - } - } - if canChange { - if j < len(v) { - v = v[:uint(j)] - changed = true - } else if j == 0 && v == nil { - v = make([]int64, 0) - changed = true - } - } - slh.End() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecSliceBoolR(f *codecFnInfo, rv reflect.Value) { - if array := f.seq == seqTypeArray; !array && rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*[]bool) - v, changed := fastpathTV.DecSliceBoolV(*vp, !array, d) - if changed { - *vp = v - } - } else { - v := rv2i(rv).([]bool) - v2, changed := fastpathTV.DecSliceBoolV(v, !array, d) - if changed && len(v) > 0 && len(v2) > 0 && !(len(v2) == len(v) && &v2[0] == &v[0]) { - copy(v, v2) - } - } -} -func (f fastpathT) DecSliceBoolX(vp *[]bool, d *Decoder) { - v, changed := f.DecSliceBoolV(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecSliceBoolV(v []bool, canChange bool, d *Decoder) (_ []bool, changed bool) { - dd := d.d - slh, containerLenS := d.decSliceHelperStart() - if containerLenS == 0 { - if canChange { - if v == nil { - v = []bool{} - } else if len(v) != 0 { - v = v[:0] - } - changed = true - } - slh.End() - return v, changed - } - d.depthIncr() - hasLen := containerLenS > 0 - var xlen int - if hasLen && canChange { - if containerLenS > cap(v) { - xlen = decInferLen(containerLenS, d.h.MaxInitLen, 1) - if xlen <= cap(v) { - v = v[:uint(xlen)] - } else { - v = make([]bool, uint(xlen)) - } - changed = true - } else if containerLenS != len(v) { - v = v[:containerLenS] - changed = true - } - } - var j int - for j = 0; (hasLen && j < containerLenS) || !(hasLen || dd.CheckBreak()); j++ { - if j == 0 && len(v) == 0 && canChange { - if hasLen { - xlen = decInferLen(containerLenS, d.h.MaxInitLen, 1) - } else { - xlen = 8 - } - v = make([]bool, uint(xlen)) - changed = true - } - // if indefinite, etc, then expand the slice if necessary - var decodeIntoBlank bool - if j >= len(v) { - if canChange { - v = append(v, false) - changed = true - } else { - d.arrayCannotExpand(len(v), j+1) - decodeIntoBlank = true - } - } - slh.ElemContainerState(j) - if decodeIntoBlank { - d.swallow() - } else if dd.TryDecodeAsNil() { - v[uint(j)] = false - } else { - v[uint(j)] = dd.DecodeBool() - } - } - if canChange { - if j < len(v) { - v = v[:uint(j)] - changed = true - } else if j == 0 && v == nil { - v = make([]bool, 0) - changed = true - } - } - slh.End() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapIntfIntfR(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[interface{}]interface{}) - v, changed := fastpathTV.DecMapIntfIntfV(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapIntfIntfV(rv2i(rv).(map[interface{}]interface{}), false, d) - } -} -func (f fastpathT) DecMapIntfIntfX(vp *map[interface{}]interface{}, d *Decoder) { - v, changed := f.DecMapIntfIntfV(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapIntfIntfV(v map[interface{}]interface{}, canChange bool, - d *Decoder) (_ map[interface{}]interface{}, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 32) - v = make(map[interface{}]interface{}, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - mapGet := v != nil && !d.h.MapValueReset && !d.h.InterfaceReset - var mk interface{} - var mv interface{} - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = nil - d.decode(&mk) - if bv, bok := mk.([]byte); bok { - mk = d.string(bv) - } - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = nil - } - continue - } - if mapGet { - mv = v[mk] - } else { - mv = nil - } - d.decode(&mv) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapIntfStringR(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[interface{}]string) - v, changed := fastpathTV.DecMapIntfStringV(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapIntfStringV(rv2i(rv).(map[interface{}]string), false, d) - } -} -func (f fastpathT) DecMapIntfStringX(vp *map[interface{}]string, d *Decoder) { - v, changed := f.DecMapIntfStringV(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapIntfStringV(v map[interface{}]string, canChange bool, - d *Decoder) (_ map[interface{}]string, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 32) - v = make(map[interface{}]string, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk interface{} - var mv string - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = nil - d.decode(&mk) - if bv, bok := mk.([]byte); bok { - mk = d.string(bv) - } - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = "" - } - continue - } - mv = dd.DecodeString() - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapIntfUintR(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[interface{}]uint) - v, changed := fastpathTV.DecMapIntfUintV(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapIntfUintV(rv2i(rv).(map[interface{}]uint), false, d) - } -} -func (f fastpathT) DecMapIntfUintX(vp *map[interface{}]uint, d *Decoder) { - v, changed := f.DecMapIntfUintV(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapIntfUintV(v map[interface{}]uint, canChange bool, - d *Decoder) (_ map[interface{}]uint, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 24) - v = make(map[interface{}]uint, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk interface{} - var mv uint - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = nil - d.decode(&mk) - if bv, bok := mk.([]byte); bok { - mk = d.string(bv) - } - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = uint(chkOvf.UintV(dd.DecodeUint64(), uintBitsize)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapIntfUint8R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[interface{}]uint8) - v, changed := fastpathTV.DecMapIntfUint8V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapIntfUint8V(rv2i(rv).(map[interface{}]uint8), false, d) - } -} -func (f fastpathT) DecMapIntfUint8X(vp *map[interface{}]uint8, d *Decoder) { - v, changed := f.DecMapIntfUint8V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapIntfUint8V(v map[interface{}]uint8, canChange bool, - d *Decoder) (_ map[interface{}]uint8, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 17) - v = make(map[interface{}]uint8, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk interface{} - var mv uint8 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = nil - d.decode(&mk) - if bv, bok := mk.([]byte); bok { - mk = d.string(bv) - } - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = uint8(chkOvf.UintV(dd.DecodeUint64(), 8)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapIntfUint16R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[interface{}]uint16) - v, changed := fastpathTV.DecMapIntfUint16V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapIntfUint16V(rv2i(rv).(map[interface{}]uint16), false, d) - } -} -func (f fastpathT) DecMapIntfUint16X(vp *map[interface{}]uint16, d *Decoder) { - v, changed := f.DecMapIntfUint16V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapIntfUint16V(v map[interface{}]uint16, canChange bool, - d *Decoder) (_ map[interface{}]uint16, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 18) - v = make(map[interface{}]uint16, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk interface{} - var mv uint16 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = nil - d.decode(&mk) - if bv, bok := mk.([]byte); bok { - mk = d.string(bv) - } - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = uint16(chkOvf.UintV(dd.DecodeUint64(), 16)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapIntfUint32R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[interface{}]uint32) - v, changed := fastpathTV.DecMapIntfUint32V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapIntfUint32V(rv2i(rv).(map[interface{}]uint32), false, d) - } -} -func (f fastpathT) DecMapIntfUint32X(vp *map[interface{}]uint32, d *Decoder) { - v, changed := f.DecMapIntfUint32V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapIntfUint32V(v map[interface{}]uint32, canChange bool, - d *Decoder) (_ map[interface{}]uint32, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 20) - v = make(map[interface{}]uint32, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk interface{} - var mv uint32 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = nil - d.decode(&mk) - if bv, bok := mk.([]byte); bok { - mk = d.string(bv) - } - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = uint32(chkOvf.UintV(dd.DecodeUint64(), 32)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapIntfUint64R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[interface{}]uint64) - v, changed := fastpathTV.DecMapIntfUint64V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapIntfUint64V(rv2i(rv).(map[interface{}]uint64), false, d) - } -} -func (f fastpathT) DecMapIntfUint64X(vp *map[interface{}]uint64, d *Decoder) { - v, changed := f.DecMapIntfUint64V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapIntfUint64V(v map[interface{}]uint64, canChange bool, - d *Decoder) (_ map[interface{}]uint64, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 24) - v = make(map[interface{}]uint64, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk interface{} - var mv uint64 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = nil - d.decode(&mk) - if bv, bok := mk.([]byte); bok { - mk = d.string(bv) - } - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = dd.DecodeUint64() - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapIntfUintptrR(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[interface{}]uintptr) - v, changed := fastpathTV.DecMapIntfUintptrV(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapIntfUintptrV(rv2i(rv).(map[interface{}]uintptr), false, d) - } -} -func (f fastpathT) DecMapIntfUintptrX(vp *map[interface{}]uintptr, d *Decoder) { - v, changed := f.DecMapIntfUintptrV(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapIntfUintptrV(v map[interface{}]uintptr, canChange bool, - d *Decoder) (_ map[interface{}]uintptr, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 24) - v = make(map[interface{}]uintptr, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk interface{} - var mv uintptr - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = nil - d.decode(&mk) - if bv, bok := mk.([]byte); bok { - mk = d.string(bv) - } - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = uintptr(chkOvf.UintV(dd.DecodeUint64(), uintBitsize)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapIntfIntR(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[interface{}]int) - v, changed := fastpathTV.DecMapIntfIntV(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapIntfIntV(rv2i(rv).(map[interface{}]int), false, d) - } -} -func (f fastpathT) DecMapIntfIntX(vp *map[interface{}]int, d *Decoder) { - v, changed := f.DecMapIntfIntV(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapIntfIntV(v map[interface{}]int, canChange bool, - d *Decoder) (_ map[interface{}]int, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 24) - v = make(map[interface{}]int, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk interface{} - var mv int - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = nil - d.decode(&mk) - if bv, bok := mk.([]byte); bok { - mk = d.string(bv) - } - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = int(chkOvf.IntV(dd.DecodeInt64(), intBitsize)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapIntfInt8R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[interface{}]int8) - v, changed := fastpathTV.DecMapIntfInt8V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapIntfInt8V(rv2i(rv).(map[interface{}]int8), false, d) - } -} -func (f fastpathT) DecMapIntfInt8X(vp *map[interface{}]int8, d *Decoder) { - v, changed := f.DecMapIntfInt8V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapIntfInt8V(v map[interface{}]int8, canChange bool, - d *Decoder) (_ map[interface{}]int8, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 17) - v = make(map[interface{}]int8, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk interface{} - var mv int8 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = nil - d.decode(&mk) - if bv, bok := mk.([]byte); bok { - mk = d.string(bv) - } - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = int8(chkOvf.IntV(dd.DecodeInt64(), 8)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapIntfInt16R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[interface{}]int16) - v, changed := fastpathTV.DecMapIntfInt16V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapIntfInt16V(rv2i(rv).(map[interface{}]int16), false, d) - } -} -func (f fastpathT) DecMapIntfInt16X(vp *map[interface{}]int16, d *Decoder) { - v, changed := f.DecMapIntfInt16V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapIntfInt16V(v map[interface{}]int16, canChange bool, - d *Decoder) (_ map[interface{}]int16, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 18) - v = make(map[interface{}]int16, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk interface{} - var mv int16 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = nil - d.decode(&mk) - if bv, bok := mk.([]byte); bok { - mk = d.string(bv) - } - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = int16(chkOvf.IntV(dd.DecodeInt64(), 16)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapIntfInt32R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[interface{}]int32) - v, changed := fastpathTV.DecMapIntfInt32V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapIntfInt32V(rv2i(rv).(map[interface{}]int32), false, d) - } -} -func (f fastpathT) DecMapIntfInt32X(vp *map[interface{}]int32, d *Decoder) { - v, changed := f.DecMapIntfInt32V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapIntfInt32V(v map[interface{}]int32, canChange bool, - d *Decoder) (_ map[interface{}]int32, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 20) - v = make(map[interface{}]int32, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk interface{} - var mv int32 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = nil - d.decode(&mk) - if bv, bok := mk.([]byte); bok { - mk = d.string(bv) - } - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = int32(chkOvf.IntV(dd.DecodeInt64(), 32)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapIntfInt64R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[interface{}]int64) - v, changed := fastpathTV.DecMapIntfInt64V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapIntfInt64V(rv2i(rv).(map[interface{}]int64), false, d) - } -} -func (f fastpathT) DecMapIntfInt64X(vp *map[interface{}]int64, d *Decoder) { - v, changed := f.DecMapIntfInt64V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapIntfInt64V(v map[interface{}]int64, canChange bool, - d *Decoder) (_ map[interface{}]int64, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 24) - v = make(map[interface{}]int64, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk interface{} - var mv int64 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = nil - d.decode(&mk) - if bv, bok := mk.([]byte); bok { - mk = d.string(bv) - } - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = dd.DecodeInt64() - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapIntfFloat32R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[interface{}]float32) - v, changed := fastpathTV.DecMapIntfFloat32V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapIntfFloat32V(rv2i(rv).(map[interface{}]float32), false, d) - } -} -func (f fastpathT) DecMapIntfFloat32X(vp *map[interface{}]float32, d *Decoder) { - v, changed := f.DecMapIntfFloat32V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapIntfFloat32V(v map[interface{}]float32, canChange bool, - d *Decoder) (_ map[interface{}]float32, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 20) - v = make(map[interface{}]float32, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk interface{} - var mv float32 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = nil - d.decode(&mk) - if bv, bok := mk.([]byte); bok { - mk = d.string(bv) - } - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = float32(chkOvf.Float32V(dd.DecodeFloat64())) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapIntfFloat64R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[interface{}]float64) - v, changed := fastpathTV.DecMapIntfFloat64V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapIntfFloat64V(rv2i(rv).(map[interface{}]float64), false, d) - } -} -func (f fastpathT) DecMapIntfFloat64X(vp *map[interface{}]float64, d *Decoder) { - v, changed := f.DecMapIntfFloat64V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapIntfFloat64V(v map[interface{}]float64, canChange bool, - d *Decoder) (_ map[interface{}]float64, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 24) - v = make(map[interface{}]float64, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk interface{} - var mv float64 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = nil - d.decode(&mk) - if bv, bok := mk.([]byte); bok { - mk = d.string(bv) - } - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = dd.DecodeFloat64() - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapIntfBoolR(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[interface{}]bool) - v, changed := fastpathTV.DecMapIntfBoolV(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapIntfBoolV(rv2i(rv).(map[interface{}]bool), false, d) - } -} -func (f fastpathT) DecMapIntfBoolX(vp *map[interface{}]bool, d *Decoder) { - v, changed := f.DecMapIntfBoolV(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapIntfBoolV(v map[interface{}]bool, canChange bool, - d *Decoder) (_ map[interface{}]bool, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 17) - v = make(map[interface{}]bool, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk interface{} - var mv bool - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = nil - d.decode(&mk) - if bv, bok := mk.([]byte); bok { - mk = d.string(bv) - } - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = false - } - continue - } - mv = dd.DecodeBool() - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapStringIntfR(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[string]interface{}) - v, changed := fastpathTV.DecMapStringIntfV(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapStringIntfV(rv2i(rv).(map[string]interface{}), false, d) - } -} -func (f fastpathT) DecMapStringIntfX(vp *map[string]interface{}, d *Decoder) { - v, changed := f.DecMapStringIntfV(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapStringIntfV(v map[string]interface{}, canChange bool, - d *Decoder) (_ map[string]interface{}, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 32) - v = make(map[string]interface{}, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - mapGet := v != nil && !d.h.MapValueReset && !d.h.InterfaceReset - var mk string - var mv interface{} - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = dd.DecodeString() - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = nil - } - continue - } - if mapGet { - mv = v[mk] - } else { - mv = nil - } - d.decode(&mv) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapStringStringR(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[string]string) - v, changed := fastpathTV.DecMapStringStringV(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapStringStringV(rv2i(rv).(map[string]string), false, d) - } -} -func (f fastpathT) DecMapStringStringX(vp *map[string]string, d *Decoder) { - v, changed := f.DecMapStringStringV(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapStringStringV(v map[string]string, canChange bool, - d *Decoder) (_ map[string]string, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 32) - v = make(map[string]string, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk string - var mv string - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = dd.DecodeString() - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = "" - } - continue - } - mv = dd.DecodeString() - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapStringUintR(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[string]uint) - v, changed := fastpathTV.DecMapStringUintV(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapStringUintV(rv2i(rv).(map[string]uint), false, d) - } -} -func (f fastpathT) DecMapStringUintX(vp *map[string]uint, d *Decoder) { - v, changed := f.DecMapStringUintV(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapStringUintV(v map[string]uint, canChange bool, - d *Decoder) (_ map[string]uint, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 24) - v = make(map[string]uint, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk string - var mv uint - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = dd.DecodeString() - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = uint(chkOvf.UintV(dd.DecodeUint64(), uintBitsize)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapStringUint8R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[string]uint8) - v, changed := fastpathTV.DecMapStringUint8V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapStringUint8V(rv2i(rv).(map[string]uint8), false, d) - } -} -func (f fastpathT) DecMapStringUint8X(vp *map[string]uint8, d *Decoder) { - v, changed := f.DecMapStringUint8V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapStringUint8V(v map[string]uint8, canChange bool, - d *Decoder) (_ map[string]uint8, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 17) - v = make(map[string]uint8, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk string - var mv uint8 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = dd.DecodeString() - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = uint8(chkOvf.UintV(dd.DecodeUint64(), 8)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapStringUint16R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[string]uint16) - v, changed := fastpathTV.DecMapStringUint16V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapStringUint16V(rv2i(rv).(map[string]uint16), false, d) - } -} -func (f fastpathT) DecMapStringUint16X(vp *map[string]uint16, d *Decoder) { - v, changed := f.DecMapStringUint16V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapStringUint16V(v map[string]uint16, canChange bool, - d *Decoder) (_ map[string]uint16, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 18) - v = make(map[string]uint16, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk string - var mv uint16 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = dd.DecodeString() - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = uint16(chkOvf.UintV(dd.DecodeUint64(), 16)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapStringUint32R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[string]uint32) - v, changed := fastpathTV.DecMapStringUint32V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapStringUint32V(rv2i(rv).(map[string]uint32), false, d) - } -} -func (f fastpathT) DecMapStringUint32X(vp *map[string]uint32, d *Decoder) { - v, changed := f.DecMapStringUint32V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapStringUint32V(v map[string]uint32, canChange bool, - d *Decoder) (_ map[string]uint32, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 20) - v = make(map[string]uint32, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk string - var mv uint32 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = dd.DecodeString() - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = uint32(chkOvf.UintV(dd.DecodeUint64(), 32)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapStringUint64R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[string]uint64) - v, changed := fastpathTV.DecMapStringUint64V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapStringUint64V(rv2i(rv).(map[string]uint64), false, d) - } -} -func (f fastpathT) DecMapStringUint64X(vp *map[string]uint64, d *Decoder) { - v, changed := f.DecMapStringUint64V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapStringUint64V(v map[string]uint64, canChange bool, - d *Decoder) (_ map[string]uint64, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 24) - v = make(map[string]uint64, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk string - var mv uint64 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = dd.DecodeString() - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = dd.DecodeUint64() - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapStringUintptrR(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[string]uintptr) - v, changed := fastpathTV.DecMapStringUintptrV(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapStringUintptrV(rv2i(rv).(map[string]uintptr), false, d) - } -} -func (f fastpathT) DecMapStringUintptrX(vp *map[string]uintptr, d *Decoder) { - v, changed := f.DecMapStringUintptrV(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapStringUintptrV(v map[string]uintptr, canChange bool, - d *Decoder) (_ map[string]uintptr, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 24) - v = make(map[string]uintptr, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk string - var mv uintptr - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = dd.DecodeString() - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = uintptr(chkOvf.UintV(dd.DecodeUint64(), uintBitsize)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapStringIntR(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[string]int) - v, changed := fastpathTV.DecMapStringIntV(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapStringIntV(rv2i(rv).(map[string]int), false, d) - } -} -func (f fastpathT) DecMapStringIntX(vp *map[string]int, d *Decoder) { - v, changed := f.DecMapStringIntV(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapStringIntV(v map[string]int, canChange bool, - d *Decoder) (_ map[string]int, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 24) - v = make(map[string]int, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk string - var mv int - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = dd.DecodeString() - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = int(chkOvf.IntV(dd.DecodeInt64(), intBitsize)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapStringInt8R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[string]int8) - v, changed := fastpathTV.DecMapStringInt8V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapStringInt8V(rv2i(rv).(map[string]int8), false, d) - } -} -func (f fastpathT) DecMapStringInt8X(vp *map[string]int8, d *Decoder) { - v, changed := f.DecMapStringInt8V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapStringInt8V(v map[string]int8, canChange bool, - d *Decoder) (_ map[string]int8, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 17) - v = make(map[string]int8, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk string - var mv int8 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = dd.DecodeString() - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = int8(chkOvf.IntV(dd.DecodeInt64(), 8)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapStringInt16R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[string]int16) - v, changed := fastpathTV.DecMapStringInt16V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapStringInt16V(rv2i(rv).(map[string]int16), false, d) - } -} -func (f fastpathT) DecMapStringInt16X(vp *map[string]int16, d *Decoder) { - v, changed := f.DecMapStringInt16V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapStringInt16V(v map[string]int16, canChange bool, - d *Decoder) (_ map[string]int16, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 18) - v = make(map[string]int16, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk string - var mv int16 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = dd.DecodeString() - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = int16(chkOvf.IntV(dd.DecodeInt64(), 16)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapStringInt32R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[string]int32) - v, changed := fastpathTV.DecMapStringInt32V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapStringInt32V(rv2i(rv).(map[string]int32), false, d) - } -} -func (f fastpathT) DecMapStringInt32X(vp *map[string]int32, d *Decoder) { - v, changed := f.DecMapStringInt32V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapStringInt32V(v map[string]int32, canChange bool, - d *Decoder) (_ map[string]int32, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 20) - v = make(map[string]int32, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk string - var mv int32 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = dd.DecodeString() - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = int32(chkOvf.IntV(dd.DecodeInt64(), 32)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapStringInt64R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[string]int64) - v, changed := fastpathTV.DecMapStringInt64V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapStringInt64V(rv2i(rv).(map[string]int64), false, d) - } -} -func (f fastpathT) DecMapStringInt64X(vp *map[string]int64, d *Decoder) { - v, changed := f.DecMapStringInt64V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapStringInt64V(v map[string]int64, canChange bool, - d *Decoder) (_ map[string]int64, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 24) - v = make(map[string]int64, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk string - var mv int64 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = dd.DecodeString() - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = dd.DecodeInt64() - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapStringFloat32R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[string]float32) - v, changed := fastpathTV.DecMapStringFloat32V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapStringFloat32V(rv2i(rv).(map[string]float32), false, d) - } -} -func (f fastpathT) DecMapStringFloat32X(vp *map[string]float32, d *Decoder) { - v, changed := f.DecMapStringFloat32V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapStringFloat32V(v map[string]float32, canChange bool, - d *Decoder) (_ map[string]float32, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 20) - v = make(map[string]float32, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk string - var mv float32 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = dd.DecodeString() - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = float32(chkOvf.Float32V(dd.DecodeFloat64())) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapStringFloat64R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[string]float64) - v, changed := fastpathTV.DecMapStringFloat64V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapStringFloat64V(rv2i(rv).(map[string]float64), false, d) - } -} -func (f fastpathT) DecMapStringFloat64X(vp *map[string]float64, d *Decoder) { - v, changed := f.DecMapStringFloat64V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapStringFloat64V(v map[string]float64, canChange bool, - d *Decoder) (_ map[string]float64, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 24) - v = make(map[string]float64, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk string - var mv float64 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = dd.DecodeString() - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = dd.DecodeFloat64() - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapStringBoolR(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[string]bool) - v, changed := fastpathTV.DecMapStringBoolV(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapStringBoolV(rv2i(rv).(map[string]bool), false, d) - } -} -func (f fastpathT) DecMapStringBoolX(vp *map[string]bool, d *Decoder) { - v, changed := f.DecMapStringBoolV(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapStringBoolV(v map[string]bool, canChange bool, - d *Decoder) (_ map[string]bool, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 17) - v = make(map[string]bool, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk string - var mv bool - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = dd.DecodeString() - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = false - } - continue - } - mv = dd.DecodeBool() - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapFloat32IntfR(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[float32]interface{}) - v, changed := fastpathTV.DecMapFloat32IntfV(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapFloat32IntfV(rv2i(rv).(map[float32]interface{}), false, d) - } -} -func (f fastpathT) DecMapFloat32IntfX(vp *map[float32]interface{}, d *Decoder) { - v, changed := f.DecMapFloat32IntfV(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapFloat32IntfV(v map[float32]interface{}, canChange bool, - d *Decoder) (_ map[float32]interface{}, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 20) - v = make(map[float32]interface{}, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - mapGet := v != nil && !d.h.MapValueReset && !d.h.InterfaceReset - var mk float32 - var mv interface{} - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = float32(chkOvf.Float32V(dd.DecodeFloat64())) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = nil - } - continue - } - if mapGet { - mv = v[mk] - } else { - mv = nil - } - d.decode(&mv) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapFloat32StringR(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[float32]string) - v, changed := fastpathTV.DecMapFloat32StringV(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapFloat32StringV(rv2i(rv).(map[float32]string), false, d) - } -} -func (f fastpathT) DecMapFloat32StringX(vp *map[float32]string, d *Decoder) { - v, changed := f.DecMapFloat32StringV(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapFloat32StringV(v map[float32]string, canChange bool, - d *Decoder) (_ map[float32]string, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 20) - v = make(map[float32]string, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk float32 - var mv string - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = float32(chkOvf.Float32V(dd.DecodeFloat64())) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = "" - } - continue - } - mv = dd.DecodeString() - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapFloat32UintR(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[float32]uint) - v, changed := fastpathTV.DecMapFloat32UintV(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapFloat32UintV(rv2i(rv).(map[float32]uint), false, d) - } -} -func (f fastpathT) DecMapFloat32UintX(vp *map[float32]uint, d *Decoder) { - v, changed := f.DecMapFloat32UintV(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapFloat32UintV(v map[float32]uint, canChange bool, - d *Decoder) (_ map[float32]uint, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 12) - v = make(map[float32]uint, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk float32 - var mv uint - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = float32(chkOvf.Float32V(dd.DecodeFloat64())) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = uint(chkOvf.UintV(dd.DecodeUint64(), uintBitsize)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapFloat32Uint8R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[float32]uint8) - v, changed := fastpathTV.DecMapFloat32Uint8V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapFloat32Uint8V(rv2i(rv).(map[float32]uint8), false, d) - } -} -func (f fastpathT) DecMapFloat32Uint8X(vp *map[float32]uint8, d *Decoder) { - v, changed := f.DecMapFloat32Uint8V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapFloat32Uint8V(v map[float32]uint8, canChange bool, - d *Decoder) (_ map[float32]uint8, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 5) - v = make(map[float32]uint8, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk float32 - var mv uint8 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = float32(chkOvf.Float32V(dd.DecodeFloat64())) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = uint8(chkOvf.UintV(dd.DecodeUint64(), 8)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapFloat32Uint16R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[float32]uint16) - v, changed := fastpathTV.DecMapFloat32Uint16V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapFloat32Uint16V(rv2i(rv).(map[float32]uint16), false, d) - } -} -func (f fastpathT) DecMapFloat32Uint16X(vp *map[float32]uint16, d *Decoder) { - v, changed := f.DecMapFloat32Uint16V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapFloat32Uint16V(v map[float32]uint16, canChange bool, - d *Decoder) (_ map[float32]uint16, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 6) - v = make(map[float32]uint16, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk float32 - var mv uint16 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = float32(chkOvf.Float32V(dd.DecodeFloat64())) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = uint16(chkOvf.UintV(dd.DecodeUint64(), 16)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapFloat32Uint32R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[float32]uint32) - v, changed := fastpathTV.DecMapFloat32Uint32V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapFloat32Uint32V(rv2i(rv).(map[float32]uint32), false, d) - } -} -func (f fastpathT) DecMapFloat32Uint32X(vp *map[float32]uint32, d *Decoder) { - v, changed := f.DecMapFloat32Uint32V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapFloat32Uint32V(v map[float32]uint32, canChange bool, - d *Decoder) (_ map[float32]uint32, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 8) - v = make(map[float32]uint32, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk float32 - var mv uint32 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = float32(chkOvf.Float32V(dd.DecodeFloat64())) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = uint32(chkOvf.UintV(dd.DecodeUint64(), 32)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapFloat32Uint64R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[float32]uint64) - v, changed := fastpathTV.DecMapFloat32Uint64V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapFloat32Uint64V(rv2i(rv).(map[float32]uint64), false, d) - } -} -func (f fastpathT) DecMapFloat32Uint64X(vp *map[float32]uint64, d *Decoder) { - v, changed := f.DecMapFloat32Uint64V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapFloat32Uint64V(v map[float32]uint64, canChange bool, - d *Decoder) (_ map[float32]uint64, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 12) - v = make(map[float32]uint64, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk float32 - var mv uint64 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = float32(chkOvf.Float32V(dd.DecodeFloat64())) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = dd.DecodeUint64() - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapFloat32UintptrR(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[float32]uintptr) - v, changed := fastpathTV.DecMapFloat32UintptrV(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapFloat32UintptrV(rv2i(rv).(map[float32]uintptr), false, d) - } -} -func (f fastpathT) DecMapFloat32UintptrX(vp *map[float32]uintptr, d *Decoder) { - v, changed := f.DecMapFloat32UintptrV(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapFloat32UintptrV(v map[float32]uintptr, canChange bool, - d *Decoder) (_ map[float32]uintptr, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 12) - v = make(map[float32]uintptr, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk float32 - var mv uintptr - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = float32(chkOvf.Float32V(dd.DecodeFloat64())) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = uintptr(chkOvf.UintV(dd.DecodeUint64(), uintBitsize)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapFloat32IntR(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[float32]int) - v, changed := fastpathTV.DecMapFloat32IntV(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapFloat32IntV(rv2i(rv).(map[float32]int), false, d) - } -} -func (f fastpathT) DecMapFloat32IntX(vp *map[float32]int, d *Decoder) { - v, changed := f.DecMapFloat32IntV(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapFloat32IntV(v map[float32]int, canChange bool, - d *Decoder) (_ map[float32]int, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 12) - v = make(map[float32]int, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk float32 - var mv int - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = float32(chkOvf.Float32V(dd.DecodeFloat64())) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = int(chkOvf.IntV(dd.DecodeInt64(), intBitsize)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapFloat32Int8R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[float32]int8) - v, changed := fastpathTV.DecMapFloat32Int8V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapFloat32Int8V(rv2i(rv).(map[float32]int8), false, d) - } -} -func (f fastpathT) DecMapFloat32Int8X(vp *map[float32]int8, d *Decoder) { - v, changed := f.DecMapFloat32Int8V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapFloat32Int8V(v map[float32]int8, canChange bool, - d *Decoder) (_ map[float32]int8, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 5) - v = make(map[float32]int8, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk float32 - var mv int8 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = float32(chkOvf.Float32V(dd.DecodeFloat64())) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = int8(chkOvf.IntV(dd.DecodeInt64(), 8)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapFloat32Int16R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[float32]int16) - v, changed := fastpathTV.DecMapFloat32Int16V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapFloat32Int16V(rv2i(rv).(map[float32]int16), false, d) - } -} -func (f fastpathT) DecMapFloat32Int16X(vp *map[float32]int16, d *Decoder) { - v, changed := f.DecMapFloat32Int16V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapFloat32Int16V(v map[float32]int16, canChange bool, - d *Decoder) (_ map[float32]int16, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 6) - v = make(map[float32]int16, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk float32 - var mv int16 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = float32(chkOvf.Float32V(dd.DecodeFloat64())) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = int16(chkOvf.IntV(dd.DecodeInt64(), 16)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapFloat32Int32R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[float32]int32) - v, changed := fastpathTV.DecMapFloat32Int32V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapFloat32Int32V(rv2i(rv).(map[float32]int32), false, d) - } -} -func (f fastpathT) DecMapFloat32Int32X(vp *map[float32]int32, d *Decoder) { - v, changed := f.DecMapFloat32Int32V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapFloat32Int32V(v map[float32]int32, canChange bool, - d *Decoder) (_ map[float32]int32, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 8) - v = make(map[float32]int32, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk float32 - var mv int32 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = float32(chkOvf.Float32V(dd.DecodeFloat64())) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = int32(chkOvf.IntV(dd.DecodeInt64(), 32)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapFloat32Int64R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[float32]int64) - v, changed := fastpathTV.DecMapFloat32Int64V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapFloat32Int64V(rv2i(rv).(map[float32]int64), false, d) - } -} -func (f fastpathT) DecMapFloat32Int64X(vp *map[float32]int64, d *Decoder) { - v, changed := f.DecMapFloat32Int64V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapFloat32Int64V(v map[float32]int64, canChange bool, - d *Decoder) (_ map[float32]int64, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 12) - v = make(map[float32]int64, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk float32 - var mv int64 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = float32(chkOvf.Float32V(dd.DecodeFloat64())) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = dd.DecodeInt64() - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapFloat32Float32R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[float32]float32) - v, changed := fastpathTV.DecMapFloat32Float32V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapFloat32Float32V(rv2i(rv).(map[float32]float32), false, d) - } -} -func (f fastpathT) DecMapFloat32Float32X(vp *map[float32]float32, d *Decoder) { - v, changed := f.DecMapFloat32Float32V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapFloat32Float32V(v map[float32]float32, canChange bool, - d *Decoder) (_ map[float32]float32, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 8) - v = make(map[float32]float32, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk float32 - var mv float32 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = float32(chkOvf.Float32V(dd.DecodeFloat64())) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = float32(chkOvf.Float32V(dd.DecodeFloat64())) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapFloat32Float64R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[float32]float64) - v, changed := fastpathTV.DecMapFloat32Float64V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapFloat32Float64V(rv2i(rv).(map[float32]float64), false, d) - } -} -func (f fastpathT) DecMapFloat32Float64X(vp *map[float32]float64, d *Decoder) { - v, changed := f.DecMapFloat32Float64V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapFloat32Float64V(v map[float32]float64, canChange bool, - d *Decoder) (_ map[float32]float64, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 12) - v = make(map[float32]float64, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk float32 - var mv float64 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = float32(chkOvf.Float32V(dd.DecodeFloat64())) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = dd.DecodeFloat64() - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapFloat32BoolR(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[float32]bool) - v, changed := fastpathTV.DecMapFloat32BoolV(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapFloat32BoolV(rv2i(rv).(map[float32]bool), false, d) - } -} -func (f fastpathT) DecMapFloat32BoolX(vp *map[float32]bool, d *Decoder) { - v, changed := f.DecMapFloat32BoolV(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapFloat32BoolV(v map[float32]bool, canChange bool, - d *Decoder) (_ map[float32]bool, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 5) - v = make(map[float32]bool, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk float32 - var mv bool - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = float32(chkOvf.Float32V(dd.DecodeFloat64())) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = false - } - continue - } - mv = dd.DecodeBool() - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapFloat64IntfR(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[float64]interface{}) - v, changed := fastpathTV.DecMapFloat64IntfV(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapFloat64IntfV(rv2i(rv).(map[float64]interface{}), false, d) - } -} -func (f fastpathT) DecMapFloat64IntfX(vp *map[float64]interface{}, d *Decoder) { - v, changed := f.DecMapFloat64IntfV(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapFloat64IntfV(v map[float64]interface{}, canChange bool, - d *Decoder) (_ map[float64]interface{}, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 24) - v = make(map[float64]interface{}, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - mapGet := v != nil && !d.h.MapValueReset && !d.h.InterfaceReset - var mk float64 - var mv interface{} - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = dd.DecodeFloat64() - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = nil - } - continue - } - if mapGet { - mv = v[mk] - } else { - mv = nil - } - d.decode(&mv) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapFloat64StringR(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[float64]string) - v, changed := fastpathTV.DecMapFloat64StringV(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapFloat64StringV(rv2i(rv).(map[float64]string), false, d) - } -} -func (f fastpathT) DecMapFloat64StringX(vp *map[float64]string, d *Decoder) { - v, changed := f.DecMapFloat64StringV(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapFloat64StringV(v map[float64]string, canChange bool, - d *Decoder) (_ map[float64]string, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 24) - v = make(map[float64]string, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk float64 - var mv string - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = dd.DecodeFloat64() - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = "" - } - continue - } - mv = dd.DecodeString() - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapFloat64UintR(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[float64]uint) - v, changed := fastpathTV.DecMapFloat64UintV(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapFloat64UintV(rv2i(rv).(map[float64]uint), false, d) - } -} -func (f fastpathT) DecMapFloat64UintX(vp *map[float64]uint, d *Decoder) { - v, changed := f.DecMapFloat64UintV(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapFloat64UintV(v map[float64]uint, canChange bool, - d *Decoder) (_ map[float64]uint, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 16) - v = make(map[float64]uint, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk float64 - var mv uint - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = dd.DecodeFloat64() - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = uint(chkOvf.UintV(dd.DecodeUint64(), uintBitsize)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapFloat64Uint8R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[float64]uint8) - v, changed := fastpathTV.DecMapFloat64Uint8V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapFloat64Uint8V(rv2i(rv).(map[float64]uint8), false, d) - } -} -func (f fastpathT) DecMapFloat64Uint8X(vp *map[float64]uint8, d *Decoder) { - v, changed := f.DecMapFloat64Uint8V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapFloat64Uint8V(v map[float64]uint8, canChange bool, - d *Decoder) (_ map[float64]uint8, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 9) - v = make(map[float64]uint8, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk float64 - var mv uint8 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = dd.DecodeFloat64() - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = uint8(chkOvf.UintV(dd.DecodeUint64(), 8)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapFloat64Uint16R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[float64]uint16) - v, changed := fastpathTV.DecMapFloat64Uint16V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapFloat64Uint16V(rv2i(rv).(map[float64]uint16), false, d) - } -} -func (f fastpathT) DecMapFloat64Uint16X(vp *map[float64]uint16, d *Decoder) { - v, changed := f.DecMapFloat64Uint16V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapFloat64Uint16V(v map[float64]uint16, canChange bool, - d *Decoder) (_ map[float64]uint16, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 10) - v = make(map[float64]uint16, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk float64 - var mv uint16 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = dd.DecodeFloat64() - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = uint16(chkOvf.UintV(dd.DecodeUint64(), 16)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapFloat64Uint32R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[float64]uint32) - v, changed := fastpathTV.DecMapFloat64Uint32V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapFloat64Uint32V(rv2i(rv).(map[float64]uint32), false, d) - } -} -func (f fastpathT) DecMapFloat64Uint32X(vp *map[float64]uint32, d *Decoder) { - v, changed := f.DecMapFloat64Uint32V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapFloat64Uint32V(v map[float64]uint32, canChange bool, - d *Decoder) (_ map[float64]uint32, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 12) - v = make(map[float64]uint32, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk float64 - var mv uint32 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = dd.DecodeFloat64() - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = uint32(chkOvf.UintV(dd.DecodeUint64(), 32)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapFloat64Uint64R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[float64]uint64) - v, changed := fastpathTV.DecMapFloat64Uint64V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapFloat64Uint64V(rv2i(rv).(map[float64]uint64), false, d) - } -} -func (f fastpathT) DecMapFloat64Uint64X(vp *map[float64]uint64, d *Decoder) { - v, changed := f.DecMapFloat64Uint64V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapFloat64Uint64V(v map[float64]uint64, canChange bool, - d *Decoder) (_ map[float64]uint64, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 16) - v = make(map[float64]uint64, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk float64 - var mv uint64 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = dd.DecodeFloat64() - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = dd.DecodeUint64() - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapFloat64UintptrR(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[float64]uintptr) - v, changed := fastpathTV.DecMapFloat64UintptrV(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapFloat64UintptrV(rv2i(rv).(map[float64]uintptr), false, d) - } -} -func (f fastpathT) DecMapFloat64UintptrX(vp *map[float64]uintptr, d *Decoder) { - v, changed := f.DecMapFloat64UintptrV(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapFloat64UintptrV(v map[float64]uintptr, canChange bool, - d *Decoder) (_ map[float64]uintptr, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 16) - v = make(map[float64]uintptr, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk float64 - var mv uintptr - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = dd.DecodeFloat64() - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = uintptr(chkOvf.UintV(dd.DecodeUint64(), uintBitsize)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapFloat64IntR(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[float64]int) - v, changed := fastpathTV.DecMapFloat64IntV(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapFloat64IntV(rv2i(rv).(map[float64]int), false, d) - } -} -func (f fastpathT) DecMapFloat64IntX(vp *map[float64]int, d *Decoder) { - v, changed := f.DecMapFloat64IntV(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapFloat64IntV(v map[float64]int, canChange bool, - d *Decoder) (_ map[float64]int, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 16) - v = make(map[float64]int, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk float64 - var mv int - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = dd.DecodeFloat64() - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = int(chkOvf.IntV(dd.DecodeInt64(), intBitsize)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapFloat64Int8R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[float64]int8) - v, changed := fastpathTV.DecMapFloat64Int8V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapFloat64Int8V(rv2i(rv).(map[float64]int8), false, d) - } -} -func (f fastpathT) DecMapFloat64Int8X(vp *map[float64]int8, d *Decoder) { - v, changed := f.DecMapFloat64Int8V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapFloat64Int8V(v map[float64]int8, canChange bool, - d *Decoder) (_ map[float64]int8, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 9) - v = make(map[float64]int8, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk float64 - var mv int8 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = dd.DecodeFloat64() - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = int8(chkOvf.IntV(dd.DecodeInt64(), 8)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapFloat64Int16R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[float64]int16) - v, changed := fastpathTV.DecMapFloat64Int16V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapFloat64Int16V(rv2i(rv).(map[float64]int16), false, d) - } -} -func (f fastpathT) DecMapFloat64Int16X(vp *map[float64]int16, d *Decoder) { - v, changed := f.DecMapFloat64Int16V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapFloat64Int16V(v map[float64]int16, canChange bool, - d *Decoder) (_ map[float64]int16, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 10) - v = make(map[float64]int16, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk float64 - var mv int16 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = dd.DecodeFloat64() - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = int16(chkOvf.IntV(dd.DecodeInt64(), 16)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapFloat64Int32R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[float64]int32) - v, changed := fastpathTV.DecMapFloat64Int32V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapFloat64Int32V(rv2i(rv).(map[float64]int32), false, d) - } -} -func (f fastpathT) DecMapFloat64Int32X(vp *map[float64]int32, d *Decoder) { - v, changed := f.DecMapFloat64Int32V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapFloat64Int32V(v map[float64]int32, canChange bool, - d *Decoder) (_ map[float64]int32, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 12) - v = make(map[float64]int32, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk float64 - var mv int32 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = dd.DecodeFloat64() - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = int32(chkOvf.IntV(dd.DecodeInt64(), 32)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapFloat64Int64R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[float64]int64) - v, changed := fastpathTV.DecMapFloat64Int64V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapFloat64Int64V(rv2i(rv).(map[float64]int64), false, d) - } -} -func (f fastpathT) DecMapFloat64Int64X(vp *map[float64]int64, d *Decoder) { - v, changed := f.DecMapFloat64Int64V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapFloat64Int64V(v map[float64]int64, canChange bool, - d *Decoder) (_ map[float64]int64, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 16) - v = make(map[float64]int64, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk float64 - var mv int64 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = dd.DecodeFloat64() - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = dd.DecodeInt64() - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapFloat64Float32R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[float64]float32) - v, changed := fastpathTV.DecMapFloat64Float32V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapFloat64Float32V(rv2i(rv).(map[float64]float32), false, d) - } -} -func (f fastpathT) DecMapFloat64Float32X(vp *map[float64]float32, d *Decoder) { - v, changed := f.DecMapFloat64Float32V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapFloat64Float32V(v map[float64]float32, canChange bool, - d *Decoder) (_ map[float64]float32, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 12) - v = make(map[float64]float32, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk float64 - var mv float32 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = dd.DecodeFloat64() - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = float32(chkOvf.Float32V(dd.DecodeFloat64())) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapFloat64Float64R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[float64]float64) - v, changed := fastpathTV.DecMapFloat64Float64V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapFloat64Float64V(rv2i(rv).(map[float64]float64), false, d) - } -} -func (f fastpathT) DecMapFloat64Float64X(vp *map[float64]float64, d *Decoder) { - v, changed := f.DecMapFloat64Float64V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapFloat64Float64V(v map[float64]float64, canChange bool, - d *Decoder) (_ map[float64]float64, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 16) - v = make(map[float64]float64, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk float64 - var mv float64 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = dd.DecodeFloat64() - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = dd.DecodeFloat64() - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapFloat64BoolR(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[float64]bool) - v, changed := fastpathTV.DecMapFloat64BoolV(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapFloat64BoolV(rv2i(rv).(map[float64]bool), false, d) - } -} -func (f fastpathT) DecMapFloat64BoolX(vp *map[float64]bool, d *Decoder) { - v, changed := f.DecMapFloat64BoolV(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapFloat64BoolV(v map[float64]bool, canChange bool, - d *Decoder) (_ map[float64]bool, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 9) - v = make(map[float64]bool, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk float64 - var mv bool - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = dd.DecodeFloat64() - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = false - } - continue - } - mv = dd.DecodeBool() - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapUintIntfR(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[uint]interface{}) - v, changed := fastpathTV.DecMapUintIntfV(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapUintIntfV(rv2i(rv).(map[uint]interface{}), false, d) - } -} -func (f fastpathT) DecMapUintIntfX(vp *map[uint]interface{}, d *Decoder) { - v, changed := f.DecMapUintIntfV(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapUintIntfV(v map[uint]interface{}, canChange bool, - d *Decoder) (_ map[uint]interface{}, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 24) - v = make(map[uint]interface{}, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - mapGet := v != nil && !d.h.MapValueReset && !d.h.InterfaceReset - var mk uint - var mv interface{} - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = uint(chkOvf.UintV(dd.DecodeUint64(), uintBitsize)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = nil - } - continue - } - if mapGet { - mv = v[mk] - } else { - mv = nil - } - d.decode(&mv) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapUintStringR(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[uint]string) - v, changed := fastpathTV.DecMapUintStringV(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapUintStringV(rv2i(rv).(map[uint]string), false, d) - } -} -func (f fastpathT) DecMapUintStringX(vp *map[uint]string, d *Decoder) { - v, changed := f.DecMapUintStringV(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapUintStringV(v map[uint]string, canChange bool, - d *Decoder) (_ map[uint]string, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 24) - v = make(map[uint]string, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk uint - var mv string - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = uint(chkOvf.UintV(dd.DecodeUint64(), uintBitsize)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = "" - } - continue - } - mv = dd.DecodeString() - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapUintUintR(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[uint]uint) - v, changed := fastpathTV.DecMapUintUintV(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapUintUintV(rv2i(rv).(map[uint]uint), false, d) - } -} -func (f fastpathT) DecMapUintUintX(vp *map[uint]uint, d *Decoder) { - v, changed := f.DecMapUintUintV(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapUintUintV(v map[uint]uint, canChange bool, - d *Decoder) (_ map[uint]uint, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 16) - v = make(map[uint]uint, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk uint - var mv uint - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = uint(chkOvf.UintV(dd.DecodeUint64(), uintBitsize)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = uint(chkOvf.UintV(dd.DecodeUint64(), uintBitsize)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapUintUint8R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[uint]uint8) - v, changed := fastpathTV.DecMapUintUint8V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapUintUint8V(rv2i(rv).(map[uint]uint8), false, d) - } -} -func (f fastpathT) DecMapUintUint8X(vp *map[uint]uint8, d *Decoder) { - v, changed := f.DecMapUintUint8V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapUintUint8V(v map[uint]uint8, canChange bool, - d *Decoder) (_ map[uint]uint8, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 9) - v = make(map[uint]uint8, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk uint - var mv uint8 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = uint(chkOvf.UintV(dd.DecodeUint64(), uintBitsize)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = uint8(chkOvf.UintV(dd.DecodeUint64(), 8)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapUintUint16R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[uint]uint16) - v, changed := fastpathTV.DecMapUintUint16V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapUintUint16V(rv2i(rv).(map[uint]uint16), false, d) - } -} -func (f fastpathT) DecMapUintUint16X(vp *map[uint]uint16, d *Decoder) { - v, changed := f.DecMapUintUint16V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapUintUint16V(v map[uint]uint16, canChange bool, - d *Decoder) (_ map[uint]uint16, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 10) - v = make(map[uint]uint16, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk uint - var mv uint16 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = uint(chkOvf.UintV(dd.DecodeUint64(), uintBitsize)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = uint16(chkOvf.UintV(dd.DecodeUint64(), 16)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapUintUint32R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[uint]uint32) - v, changed := fastpathTV.DecMapUintUint32V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapUintUint32V(rv2i(rv).(map[uint]uint32), false, d) - } -} -func (f fastpathT) DecMapUintUint32X(vp *map[uint]uint32, d *Decoder) { - v, changed := f.DecMapUintUint32V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapUintUint32V(v map[uint]uint32, canChange bool, - d *Decoder) (_ map[uint]uint32, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 12) - v = make(map[uint]uint32, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk uint - var mv uint32 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = uint(chkOvf.UintV(dd.DecodeUint64(), uintBitsize)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = uint32(chkOvf.UintV(dd.DecodeUint64(), 32)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapUintUint64R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[uint]uint64) - v, changed := fastpathTV.DecMapUintUint64V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapUintUint64V(rv2i(rv).(map[uint]uint64), false, d) - } -} -func (f fastpathT) DecMapUintUint64X(vp *map[uint]uint64, d *Decoder) { - v, changed := f.DecMapUintUint64V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapUintUint64V(v map[uint]uint64, canChange bool, - d *Decoder) (_ map[uint]uint64, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 16) - v = make(map[uint]uint64, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk uint - var mv uint64 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = uint(chkOvf.UintV(dd.DecodeUint64(), uintBitsize)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = dd.DecodeUint64() - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapUintUintptrR(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[uint]uintptr) - v, changed := fastpathTV.DecMapUintUintptrV(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapUintUintptrV(rv2i(rv).(map[uint]uintptr), false, d) - } -} -func (f fastpathT) DecMapUintUintptrX(vp *map[uint]uintptr, d *Decoder) { - v, changed := f.DecMapUintUintptrV(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapUintUintptrV(v map[uint]uintptr, canChange bool, - d *Decoder) (_ map[uint]uintptr, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 16) - v = make(map[uint]uintptr, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk uint - var mv uintptr - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = uint(chkOvf.UintV(dd.DecodeUint64(), uintBitsize)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = uintptr(chkOvf.UintV(dd.DecodeUint64(), uintBitsize)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapUintIntR(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[uint]int) - v, changed := fastpathTV.DecMapUintIntV(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapUintIntV(rv2i(rv).(map[uint]int), false, d) - } -} -func (f fastpathT) DecMapUintIntX(vp *map[uint]int, d *Decoder) { - v, changed := f.DecMapUintIntV(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapUintIntV(v map[uint]int, canChange bool, - d *Decoder) (_ map[uint]int, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 16) - v = make(map[uint]int, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk uint - var mv int - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = uint(chkOvf.UintV(dd.DecodeUint64(), uintBitsize)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = int(chkOvf.IntV(dd.DecodeInt64(), intBitsize)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapUintInt8R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[uint]int8) - v, changed := fastpathTV.DecMapUintInt8V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapUintInt8V(rv2i(rv).(map[uint]int8), false, d) - } -} -func (f fastpathT) DecMapUintInt8X(vp *map[uint]int8, d *Decoder) { - v, changed := f.DecMapUintInt8V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapUintInt8V(v map[uint]int8, canChange bool, - d *Decoder) (_ map[uint]int8, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 9) - v = make(map[uint]int8, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk uint - var mv int8 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = uint(chkOvf.UintV(dd.DecodeUint64(), uintBitsize)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = int8(chkOvf.IntV(dd.DecodeInt64(), 8)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapUintInt16R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[uint]int16) - v, changed := fastpathTV.DecMapUintInt16V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapUintInt16V(rv2i(rv).(map[uint]int16), false, d) - } -} -func (f fastpathT) DecMapUintInt16X(vp *map[uint]int16, d *Decoder) { - v, changed := f.DecMapUintInt16V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapUintInt16V(v map[uint]int16, canChange bool, - d *Decoder) (_ map[uint]int16, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 10) - v = make(map[uint]int16, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk uint - var mv int16 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = uint(chkOvf.UintV(dd.DecodeUint64(), uintBitsize)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = int16(chkOvf.IntV(dd.DecodeInt64(), 16)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapUintInt32R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[uint]int32) - v, changed := fastpathTV.DecMapUintInt32V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapUintInt32V(rv2i(rv).(map[uint]int32), false, d) - } -} -func (f fastpathT) DecMapUintInt32X(vp *map[uint]int32, d *Decoder) { - v, changed := f.DecMapUintInt32V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapUintInt32V(v map[uint]int32, canChange bool, - d *Decoder) (_ map[uint]int32, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 12) - v = make(map[uint]int32, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk uint - var mv int32 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = uint(chkOvf.UintV(dd.DecodeUint64(), uintBitsize)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = int32(chkOvf.IntV(dd.DecodeInt64(), 32)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapUintInt64R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[uint]int64) - v, changed := fastpathTV.DecMapUintInt64V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapUintInt64V(rv2i(rv).(map[uint]int64), false, d) - } -} -func (f fastpathT) DecMapUintInt64X(vp *map[uint]int64, d *Decoder) { - v, changed := f.DecMapUintInt64V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapUintInt64V(v map[uint]int64, canChange bool, - d *Decoder) (_ map[uint]int64, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 16) - v = make(map[uint]int64, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk uint - var mv int64 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = uint(chkOvf.UintV(dd.DecodeUint64(), uintBitsize)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = dd.DecodeInt64() - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapUintFloat32R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[uint]float32) - v, changed := fastpathTV.DecMapUintFloat32V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapUintFloat32V(rv2i(rv).(map[uint]float32), false, d) - } -} -func (f fastpathT) DecMapUintFloat32X(vp *map[uint]float32, d *Decoder) { - v, changed := f.DecMapUintFloat32V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapUintFloat32V(v map[uint]float32, canChange bool, - d *Decoder) (_ map[uint]float32, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 12) - v = make(map[uint]float32, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk uint - var mv float32 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = uint(chkOvf.UintV(dd.DecodeUint64(), uintBitsize)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = float32(chkOvf.Float32V(dd.DecodeFloat64())) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapUintFloat64R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[uint]float64) - v, changed := fastpathTV.DecMapUintFloat64V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapUintFloat64V(rv2i(rv).(map[uint]float64), false, d) - } -} -func (f fastpathT) DecMapUintFloat64X(vp *map[uint]float64, d *Decoder) { - v, changed := f.DecMapUintFloat64V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapUintFloat64V(v map[uint]float64, canChange bool, - d *Decoder) (_ map[uint]float64, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 16) - v = make(map[uint]float64, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk uint - var mv float64 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = uint(chkOvf.UintV(dd.DecodeUint64(), uintBitsize)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = dd.DecodeFloat64() - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapUintBoolR(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[uint]bool) - v, changed := fastpathTV.DecMapUintBoolV(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapUintBoolV(rv2i(rv).(map[uint]bool), false, d) - } -} -func (f fastpathT) DecMapUintBoolX(vp *map[uint]bool, d *Decoder) { - v, changed := f.DecMapUintBoolV(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapUintBoolV(v map[uint]bool, canChange bool, - d *Decoder) (_ map[uint]bool, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 9) - v = make(map[uint]bool, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk uint - var mv bool - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = uint(chkOvf.UintV(dd.DecodeUint64(), uintBitsize)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = false - } - continue - } - mv = dd.DecodeBool() - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapUint8IntfR(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[uint8]interface{}) - v, changed := fastpathTV.DecMapUint8IntfV(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapUint8IntfV(rv2i(rv).(map[uint8]interface{}), false, d) - } -} -func (f fastpathT) DecMapUint8IntfX(vp *map[uint8]interface{}, d *Decoder) { - v, changed := f.DecMapUint8IntfV(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapUint8IntfV(v map[uint8]interface{}, canChange bool, - d *Decoder) (_ map[uint8]interface{}, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 17) - v = make(map[uint8]interface{}, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - mapGet := v != nil && !d.h.MapValueReset && !d.h.InterfaceReset - var mk uint8 - var mv interface{} - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = uint8(chkOvf.UintV(dd.DecodeUint64(), 8)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = nil - } - continue - } - if mapGet { - mv = v[mk] - } else { - mv = nil - } - d.decode(&mv) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapUint8StringR(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[uint8]string) - v, changed := fastpathTV.DecMapUint8StringV(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapUint8StringV(rv2i(rv).(map[uint8]string), false, d) - } -} -func (f fastpathT) DecMapUint8StringX(vp *map[uint8]string, d *Decoder) { - v, changed := f.DecMapUint8StringV(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapUint8StringV(v map[uint8]string, canChange bool, - d *Decoder) (_ map[uint8]string, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 17) - v = make(map[uint8]string, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk uint8 - var mv string - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = uint8(chkOvf.UintV(dd.DecodeUint64(), 8)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = "" - } - continue - } - mv = dd.DecodeString() - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapUint8UintR(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[uint8]uint) - v, changed := fastpathTV.DecMapUint8UintV(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapUint8UintV(rv2i(rv).(map[uint8]uint), false, d) - } -} -func (f fastpathT) DecMapUint8UintX(vp *map[uint8]uint, d *Decoder) { - v, changed := f.DecMapUint8UintV(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapUint8UintV(v map[uint8]uint, canChange bool, - d *Decoder) (_ map[uint8]uint, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 9) - v = make(map[uint8]uint, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk uint8 - var mv uint - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = uint8(chkOvf.UintV(dd.DecodeUint64(), 8)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = uint(chkOvf.UintV(dd.DecodeUint64(), uintBitsize)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapUint8Uint8R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[uint8]uint8) - v, changed := fastpathTV.DecMapUint8Uint8V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapUint8Uint8V(rv2i(rv).(map[uint8]uint8), false, d) - } -} -func (f fastpathT) DecMapUint8Uint8X(vp *map[uint8]uint8, d *Decoder) { - v, changed := f.DecMapUint8Uint8V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapUint8Uint8V(v map[uint8]uint8, canChange bool, - d *Decoder) (_ map[uint8]uint8, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 2) - v = make(map[uint8]uint8, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk uint8 - var mv uint8 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = uint8(chkOvf.UintV(dd.DecodeUint64(), 8)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = uint8(chkOvf.UintV(dd.DecodeUint64(), 8)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapUint8Uint16R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[uint8]uint16) - v, changed := fastpathTV.DecMapUint8Uint16V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapUint8Uint16V(rv2i(rv).(map[uint8]uint16), false, d) - } -} -func (f fastpathT) DecMapUint8Uint16X(vp *map[uint8]uint16, d *Decoder) { - v, changed := f.DecMapUint8Uint16V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapUint8Uint16V(v map[uint8]uint16, canChange bool, - d *Decoder) (_ map[uint8]uint16, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 3) - v = make(map[uint8]uint16, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk uint8 - var mv uint16 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = uint8(chkOvf.UintV(dd.DecodeUint64(), 8)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = uint16(chkOvf.UintV(dd.DecodeUint64(), 16)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapUint8Uint32R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[uint8]uint32) - v, changed := fastpathTV.DecMapUint8Uint32V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapUint8Uint32V(rv2i(rv).(map[uint8]uint32), false, d) - } -} -func (f fastpathT) DecMapUint8Uint32X(vp *map[uint8]uint32, d *Decoder) { - v, changed := f.DecMapUint8Uint32V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapUint8Uint32V(v map[uint8]uint32, canChange bool, - d *Decoder) (_ map[uint8]uint32, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 5) - v = make(map[uint8]uint32, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk uint8 - var mv uint32 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = uint8(chkOvf.UintV(dd.DecodeUint64(), 8)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = uint32(chkOvf.UintV(dd.DecodeUint64(), 32)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapUint8Uint64R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[uint8]uint64) - v, changed := fastpathTV.DecMapUint8Uint64V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapUint8Uint64V(rv2i(rv).(map[uint8]uint64), false, d) - } -} -func (f fastpathT) DecMapUint8Uint64X(vp *map[uint8]uint64, d *Decoder) { - v, changed := f.DecMapUint8Uint64V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapUint8Uint64V(v map[uint8]uint64, canChange bool, - d *Decoder) (_ map[uint8]uint64, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 9) - v = make(map[uint8]uint64, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk uint8 - var mv uint64 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = uint8(chkOvf.UintV(dd.DecodeUint64(), 8)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = dd.DecodeUint64() - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapUint8UintptrR(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[uint8]uintptr) - v, changed := fastpathTV.DecMapUint8UintptrV(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapUint8UintptrV(rv2i(rv).(map[uint8]uintptr), false, d) - } -} -func (f fastpathT) DecMapUint8UintptrX(vp *map[uint8]uintptr, d *Decoder) { - v, changed := f.DecMapUint8UintptrV(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapUint8UintptrV(v map[uint8]uintptr, canChange bool, - d *Decoder) (_ map[uint8]uintptr, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 9) - v = make(map[uint8]uintptr, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk uint8 - var mv uintptr - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = uint8(chkOvf.UintV(dd.DecodeUint64(), 8)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = uintptr(chkOvf.UintV(dd.DecodeUint64(), uintBitsize)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapUint8IntR(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[uint8]int) - v, changed := fastpathTV.DecMapUint8IntV(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapUint8IntV(rv2i(rv).(map[uint8]int), false, d) - } -} -func (f fastpathT) DecMapUint8IntX(vp *map[uint8]int, d *Decoder) { - v, changed := f.DecMapUint8IntV(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapUint8IntV(v map[uint8]int, canChange bool, - d *Decoder) (_ map[uint8]int, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 9) - v = make(map[uint8]int, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk uint8 - var mv int - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = uint8(chkOvf.UintV(dd.DecodeUint64(), 8)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = int(chkOvf.IntV(dd.DecodeInt64(), intBitsize)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapUint8Int8R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[uint8]int8) - v, changed := fastpathTV.DecMapUint8Int8V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapUint8Int8V(rv2i(rv).(map[uint8]int8), false, d) - } -} -func (f fastpathT) DecMapUint8Int8X(vp *map[uint8]int8, d *Decoder) { - v, changed := f.DecMapUint8Int8V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapUint8Int8V(v map[uint8]int8, canChange bool, - d *Decoder) (_ map[uint8]int8, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 2) - v = make(map[uint8]int8, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk uint8 - var mv int8 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = uint8(chkOvf.UintV(dd.DecodeUint64(), 8)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = int8(chkOvf.IntV(dd.DecodeInt64(), 8)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapUint8Int16R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[uint8]int16) - v, changed := fastpathTV.DecMapUint8Int16V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapUint8Int16V(rv2i(rv).(map[uint8]int16), false, d) - } -} -func (f fastpathT) DecMapUint8Int16X(vp *map[uint8]int16, d *Decoder) { - v, changed := f.DecMapUint8Int16V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapUint8Int16V(v map[uint8]int16, canChange bool, - d *Decoder) (_ map[uint8]int16, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 3) - v = make(map[uint8]int16, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk uint8 - var mv int16 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = uint8(chkOvf.UintV(dd.DecodeUint64(), 8)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = int16(chkOvf.IntV(dd.DecodeInt64(), 16)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapUint8Int32R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[uint8]int32) - v, changed := fastpathTV.DecMapUint8Int32V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapUint8Int32V(rv2i(rv).(map[uint8]int32), false, d) - } -} -func (f fastpathT) DecMapUint8Int32X(vp *map[uint8]int32, d *Decoder) { - v, changed := f.DecMapUint8Int32V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapUint8Int32V(v map[uint8]int32, canChange bool, - d *Decoder) (_ map[uint8]int32, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 5) - v = make(map[uint8]int32, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk uint8 - var mv int32 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = uint8(chkOvf.UintV(dd.DecodeUint64(), 8)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = int32(chkOvf.IntV(dd.DecodeInt64(), 32)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapUint8Int64R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[uint8]int64) - v, changed := fastpathTV.DecMapUint8Int64V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapUint8Int64V(rv2i(rv).(map[uint8]int64), false, d) - } -} -func (f fastpathT) DecMapUint8Int64X(vp *map[uint8]int64, d *Decoder) { - v, changed := f.DecMapUint8Int64V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapUint8Int64V(v map[uint8]int64, canChange bool, - d *Decoder) (_ map[uint8]int64, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 9) - v = make(map[uint8]int64, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk uint8 - var mv int64 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = uint8(chkOvf.UintV(dd.DecodeUint64(), 8)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = dd.DecodeInt64() - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapUint8Float32R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[uint8]float32) - v, changed := fastpathTV.DecMapUint8Float32V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapUint8Float32V(rv2i(rv).(map[uint8]float32), false, d) - } -} -func (f fastpathT) DecMapUint8Float32X(vp *map[uint8]float32, d *Decoder) { - v, changed := f.DecMapUint8Float32V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapUint8Float32V(v map[uint8]float32, canChange bool, - d *Decoder) (_ map[uint8]float32, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 5) - v = make(map[uint8]float32, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk uint8 - var mv float32 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = uint8(chkOvf.UintV(dd.DecodeUint64(), 8)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = float32(chkOvf.Float32V(dd.DecodeFloat64())) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapUint8Float64R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[uint8]float64) - v, changed := fastpathTV.DecMapUint8Float64V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapUint8Float64V(rv2i(rv).(map[uint8]float64), false, d) - } -} -func (f fastpathT) DecMapUint8Float64X(vp *map[uint8]float64, d *Decoder) { - v, changed := f.DecMapUint8Float64V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapUint8Float64V(v map[uint8]float64, canChange bool, - d *Decoder) (_ map[uint8]float64, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 9) - v = make(map[uint8]float64, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk uint8 - var mv float64 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = uint8(chkOvf.UintV(dd.DecodeUint64(), 8)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = dd.DecodeFloat64() - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapUint8BoolR(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[uint8]bool) - v, changed := fastpathTV.DecMapUint8BoolV(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapUint8BoolV(rv2i(rv).(map[uint8]bool), false, d) - } -} -func (f fastpathT) DecMapUint8BoolX(vp *map[uint8]bool, d *Decoder) { - v, changed := f.DecMapUint8BoolV(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapUint8BoolV(v map[uint8]bool, canChange bool, - d *Decoder) (_ map[uint8]bool, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 2) - v = make(map[uint8]bool, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk uint8 - var mv bool - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = uint8(chkOvf.UintV(dd.DecodeUint64(), 8)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = false - } - continue - } - mv = dd.DecodeBool() - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapUint16IntfR(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[uint16]interface{}) - v, changed := fastpathTV.DecMapUint16IntfV(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapUint16IntfV(rv2i(rv).(map[uint16]interface{}), false, d) - } -} -func (f fastpathT) DecMapUint16IntfX(vp *map[uint16]interface{}, d *Decoder) { - v, changed := f.DecMapUint16IntfV(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapUint16IntfV(v map[uint16]interface{}, canChange bool, - d *Decoder) (_ map[uint16]interface{}, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 18) - v = make(map[uint16]interface{}, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - mapGet := v != nil && !d.h.MapValueReset && !d.h.InterfaceReset - var mk uint16 - var mv interface{} - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = uint16(chkOvf.UintV(dd.DecodeUint64(), 16)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = nil - } - continue - } - if mapGet { - mv = v[mk] - } else { - mv = nil - } - d.decode(&mv) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapUint16StringR(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[uint16]string) - v, changed := fastpathTV.DecMapUint16StringV(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapUint16StringV(rv2i(rv).(map[uint16]string), false, d) - } -} -func (f fastpathT) DecMapUint16StringX(vp *map[uint16]string, d *Decoder) { - v, changed := f.DecMapUint16StringV(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapUint16StringV(v map[uint16]string, canChange bool, - d *Decoder) (_ map[uint16]string, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 18) - v = make(map[uint16]string, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk uint16 - var mv string - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = uint16(chkOvf.UintV(dd.DecodeUint64(), 16)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = "" - } - continue - } - mv = dd.DecodeString() - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapUint16UintR(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[uint16]uint) - v, changed := fastpathTV.DecMapUint16UintV(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapUint16UintV(rv2i(rv).(map[uint16]uint), false, d) - } -} -func (f fastpathT) DecMapUint16UintX(vp *map[uint16]uint, d *Decoder) { - v, changed := f.DecMapUint16UintV(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapUint16UintV(v map[uint16]uint, canChange bool, - d *Decoder) (_ map[uint16]uint, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 10) - v = make(map[uint16]uint, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk uint16 - var mv uint - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = uint16(chkOvf.UintV(dd.DecodeUint64(), 16)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = uint(chkOvf.UintV(dd.DecodeUint64(), uintBitsize)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapUint16Uint8R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[uint16]uint8) - v, changed := fastpathTV.DecMapUint16Uint8V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapUint16Uint8V(rv2i(rv).(map[uint16]uint8), false, d) - } -} -func (f fastpathT) DecMapUint16Uint8X(vp *map[uint16]uint8, d *Decoder) { - v, changed := f.DecMapUint16Uint8V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapUint16Uint8V(v map[uint16]uint8, canChange bool, - d *Decoder) (_ map[uint16]uint8, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 3) - v = make(map[uint16]uint8, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk uint16 - var mv uint8 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = uint16(chkOvf.UintV(dd.DecodeUint64(), 16)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = uint8(chkOvf.UintV(dd.DecodeUint64(), 8)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapUint16Uint16R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[uint16]uint16) - v, changed := fastpathTV.DecMapUint16Uint16V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapUint16Uint16V(rv2i(rv).(map[uint16]uint16), false, d) - } -} -func (f fastpathT) DecMapUint16Uint16X(vp *map[uint16]uint16, d *Decoder) { - v, changed := f.DecMapUint16Uint16V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapUint16Uint16V(v map[uint16]uint16, canChange bool, - d *Decoder) (_ map[uint16]uint16, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 4) - v = make(map[uint16]uint16, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk uint16 - var mv uint16 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = uint16(chkOvf.UintV(dd.DecodeUint64(), 16)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = uint16(chkOvf.UintV(dd.DecodeUint64(), 16)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapUint16Uint32R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[uint16]uint32) - v, changed := fastpathTV.DecMapUint16Uint32V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapUint16Uint32V(rv2i(rv).(map[uint16]uint32), false, d) - } -} -func (f fastpathT) DecMapUint16Uint32X(vp *map[uint16]uint32, d *Decoder) { - v, changed := f.DecMapUint16Uint32V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapUint16Uint32V(v map[uint16]uint32, canChange bool, - d *Decoder) (_ map[uint16]uint32, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 6) - v = make(map[uint16]uint32, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk uint16 - var mv uint32 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = uint16(chkOvf.UintV(dd.DecodeUint64(), 16)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = uint32(chkOvf.UintV(dd.DecodeUint64(), 32)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapUint16Uint64R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[uint16]uint64) - v, changed := fastpathTV.DecMapUint16Uint64V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapUint16Uint64V(rv2i(rv).(map[uint16]uint64), false, d) - } -} -func (f fastpathT) DecMapUint16Uint64X(vp *map[uint16]uint64, d *Decoder) { - v, changed := f.DecMapUint16Uint64V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapUint16Uint64V(v map[uint16]uint64, canChange bool, - d *Decoder) (_ map[uint16]uint64, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 10) - v = make(map[uint16]uint64, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk uint16 - var mv uint64 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = uint16(chkOvf.UintV(dd.DecodeUint64(), 16)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = dd.DecodeUint64() - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapUint16UintptrR(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[uint16]uintptr) - v, changed := fastpathTV.DecMapUint16UintptrV(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapUint16UintptrV(rv2i(rv).(map[uint16]uintptr), false, d) - } -} -func (f fastpathT) DecMapUint16UintptrX(vp *map[uint16]uintptr, d *Decoder) { - v, changed := f.DecMapUint16UintptrV(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapUint16UintptrV(v map[uint16]uintptr, canChange bool, - d *Decoder) (_ map[uint16]uintptr, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 10) - v = make(map[uint16]uintptr, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk uint16 - var mv uintptr - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = uint16(chkOvf.UintV(dd.DecodeUint64(), 16)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = uintptr(chkOvf.UintV(dd.DecodeUint64(), uintBitsize)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapUint16IntR(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[uint16]int) - v, changed := fastpathTV.DecMapUint16IntV(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapUint16IntV(rv2i(rv).(map[uint16]int), false, d) - } -} -func (f fastpathT) DecMapUint16IntX(vp *map[uint16]int, d *Decoder) { - v, changed := f.DecMapUint16IntV(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapUint16IntV(v map[uint16]int, canChange bool, - d *Decoder) (_ map[uint16]int, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 10) - v = make(map[uint16]int, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk uint16 - var mv int - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = uint16(chkOvf.UintV(dd.DecodeUint64(), 16)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = int(chkOvf.IntV(dd.DecodeInt64(), intBitsize)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapUint16Int8R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[uint16]int8) - v, changed := fastpathTV.DecMapUint16Int8V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapUint16Int8V(rv2i(rv).(map[uint16]int8), false, d) - } -} -func (f fastpathT) DecMapUint16Int8X(vp *map[uint16]int8, d *Decoder) { - v, changed := f.DecMapUint16Int8V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapUint16Int8V(v map[uint16]int8, canChange bool, - d *Decoder) (_ map[uint16]int8, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 3) - v = make(map[uint16]int8, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk uint16 - var mv int8 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = uint16(chkOvf.UintV(dd.DecodeUint64(), 16)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = int8(chkOvf.IntV(dd.DecodeInt64(), 8)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapUint16Int16R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[uint16]int16) - v, changed := fastpathTV.DecMapUint16Int16V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapUint16Int16V(rv2i(rv).(map[uint16]int16), false, d) - } -} -func (f fastpathT) DecMapUint16Int16X(vp *map[uint16]int16, d *Decoder) { - v, changed := f.DecMapUint16Int16V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapUint16Int16V(v map[uint16]int16, canChange bool, - d *Decoder) (_ map[uint16]int16, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 4) - v = make(map[uint16]int16, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk uint16 - var mv int16 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = uint16(chkOvf.UintV(dd.DecodeUint64(), 16)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = int16(chkOvf.IntV(dd.DecodeInt64(), 16)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapUint16Int32R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[uint16]int32) - v, changed := fastpathTV.DecMapUint16Int32V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapUint16Int32V(rv2i(rv).(map[uint16]int32), false, d) - } -} -func (f fastpathT) DecMapUint16Int32X(vp *map[uint16]int32, d *Decoder) { - v, changed := f.DecMapUint16Int32V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapUint16Int32V(v map[uint16]int32, canChange bool, - d *Decoder) (_ map[uint16]int32, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 6) - v = make(map[uint16]int32, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk uint16 - var mv int32 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = uint16(chkOvf.UintV(dd.DecodeUint64(), 16)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = int32(chkOvf.IntV(dd.DecodeInt64(), 32)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapUint16Int64R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[uint16]int64) - v, changed := fastpathTV.DecMapUint16Int64V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapUint16Int64V(rv2i(rv).(map[uint16]int64), false, d) - } -} -func (f fastpathT) DecMapUint16Int64X(vp *map[uint16]int64, d *Decoder) { - v, changed := f.DecMapUint16Int64V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapUint16Int64V(v map[uint16]int64, canChange bool, - d *Decoder) (_ map[uint16]int64, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 10) - v = make(map[uint16]int64, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk uint16 - var mv int64 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = uint16(chkOvf.UintV(dd.DecodeUint64(), 16)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = dd.DecodeInt64() - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapUint16Float32R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[uint16]float32) - v, changed := fastpathTV.DecMapUint16Float32V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapUint16Float32V(rv2i(rv).(map[uint16]float32), false, d) - } -} -func (f fastpathT) DecMapUint16Float32X(vp *map[uint16]float32, d *Decoder) { - v, changed := f.DecMapUint16Float32V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapUint16Float32V(v map[uint16]float32, canChange bool, - d *Decoder) (_ map[uint16]float32, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 6) - v = make(map[uint16]float32, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk uint16 - var mv float32 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = uint16(chkOvf.UintV(dd.DecodeUint64(), 16)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = float32(chkOvf.Float32V(dd.DecodeFloat64())) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapUint16Float64R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[uint16]float64) - v, changed := fastpathTV.DecMapUint16Float64V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapUint16Float64V(rv2i(rv).(map[uint16]float64), false, d) - } -} -func (f fastpathT) DecMapUint16Float64X(vp *map[uint16]float64, d *Decoder) { - v, changed := f.DecMapUint16Float64V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapUint16Float64V(v map[uint16]float64, canChange bool, - d *Decoder) (_ map[uint16]float64, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 10) - v = make(map[uint16]float64, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk uint16 - var mv float64 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = uint16(chkOvf.UintV(dd.DecodeUint64(), 16)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = dd.DecodeFloat64() - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapUint16BoolR(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[uint16]bool) - v, changed := fastpathTV.DecMapUint16BoolV(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapUint16BoolV(rv2i(rv).(map[uint16]bool), false, d) - } -} -func (f fastpathT) DecMapUint16BoolX(vp *map[uint16]bool, d *Decoder) { - v, changed := f.DecMapUint16BoolV(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapUint16BoolV(v map[uint16]bool, canChange bool, - d *Decoder) (_ map[uint16]bool, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 3) - v = make(map[uint16]bool, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk uint16 - var mv bool - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = uint16(chkOvf.UintV(dd.DecodeUint64(), 16)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = false - } - continue - } - mv = dd.DecodeBool() - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapUint32IntfR(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[uint32]interface{}) - v, changed := fastpathTV.DecMapUint32IntfV(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapUint32IntfV(rv2i(rv).(map[uint32]interface{}), false, d) - } -} -func (f fastpathT) DecMapUint32IntfX(vp *map[uint32]interface{}, d *Decoder) { - v, changed := f.DecMapUint32IntfV(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapUint32IntfV(v map[uint32]interface{}, canChange bool, - d *Decoder) (_ map[uint32]interface{}, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 20) - v = make(map[uint32]interface{}, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - mapGet := v != nil && !d.h.MapValueReset && !d.h.InterfaceReset - var mk uint32 - var mv interface{} - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = uint32(chkOvf.UintV(dd.DecodeUint64(), 32)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = nil - } - continue - } - if mapGet { - mv = v[mk] - } else { - mv = nil - } - d.decode(&mv) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapUint32StringR(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[uint32]string) - v, changed := fastpathTV.DecMapUint32StringV(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapUint32StringV(rv2i(rv).(map[uint32]string), false, d) - } -} -func (f fastpathT) DecMapUint32StringX(vp *map[uint32]string, d *Decoder) { - v, changed := f.DecMapUint32StringV(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapUint32StringV(v map[uint32]string, canChange bool, - d *Decoder) (_ map[uint32]string, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 20) - v = make(map[uint32]string, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk uint32 - var mv string - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = uint32(chkOvf.UintV(dd.DecodeUint64(), 32)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = "" - } - continue - } - mv = dd.DecodeString() - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapUint32UintR(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[uint32]uint) - v, changed := fastpathTV.DecMapUint32UintV(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapUint32UintV(rv2i(rv).(map[uint32]uint), false, d) - } -} -func (f fastpathT) DecMapUint32UintX(vp *map[uint32]uint, d *Decoder) { - v, changed := f.DecMapUint32UintV(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapUint32UintV(v map[uint32]uint, canChange bool, - d *Decoder) (_ map[uint32]uint, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 12) - v = make(map[uint32]uint, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk uint32 - var mv uint - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = uint32(chkOvf.UintV(dd.DecodeUint64(), 32)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = uint(chkOvf.UintV(dd.DecodeUint64(), uintBitsize)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapUint32Uint8R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[uint32]uint8) - v, changed := fastpathTV.DecMapUint32Uint8V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapUint32Uint8V(rv2i(rv).(map[uint32]uint8), false, d) - } -} -func (f fastpathT) DecMapUint32Uint8X(vp *map[uint32]uint8, d *Decoder) { - v, changed := f.DecMapUint32Uint8V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapUint32Uint8V(v map[uint32]uint8, canChange bool, - d *Decoder) (_ map[uint32]uint8, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 5) - v = make(map[uint32]uint8, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk uint32 - var mv uint8 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = uint32(chkOvf.UintV(dd.DecodeUint64(), 32)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = uint8(chkOvf.UintV(dd.DecodeUint64(), 8)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapUint32Uint16R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[uint32]uint16) - v, changed := fastpathTV.DecMapUint32Uint16V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapUint32Uint16V(rv2i(rv).(map[uint32]uint16), false, d) - } -} -func (f fastpathT) DecMapUint32Uint16X(vp *map[uint32]uint16, d *Decoder) { - v, changed := f.DecMapUint32Uint16V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapUint32Uint16V(v map[uint32]uint16, canChange bool, - d *Decoder) (_ map[uint32]uint16, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 6) - v = make(map[uint32]uint16, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk uint32 - var mv uint16 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = uint32(chkOvf.UintV(dd.DecodeUint64(), 32)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = uint16(chkOvf.UintV(dd.DecodeUint64(), 16)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapUint32Uint32R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[uint32]uint32) - v, changed := fastpathTV.DecMapUint32Uint32V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapUint32Uint32V(rv2i(rv).(map[uint32]uint32), false, d) - } -} -func (f fastpathT) DecMapUint32Uint32X(vp *map[uint32]uint32, d *Decoder) { - v, changed := f.DecMapUint32Uint32V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapUint32Uint32V(v map[uint32]uint32, canChange bool, - d *Decoder) (_ map[uint32]uint32, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 8) - v = make(map[uint32]uint32, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk uint32 - var mv uint32 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = uint32(chkOvf.UintV(dd.DecodeUint64(), 32)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = uint32(chkOvf.UintV(dd.DecodeUint64(), 32)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapUint32Uint64R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[uint32]uint64) - v, changed := fastpathTV.DecMapUint32Uint64V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapUint32Uint64V(rv2i(rv).(map[uint32]uint64), false, d) - } -} -func (f fastpathT) DecMapUint32Uint64X(vp *map[uint32]uint64, d *Decoder) { - v, changed := f.DecMapUint32Uint64V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapUint32Uint64V(v map[uint32]uint64, canChange bool, - d *Decoder) (_ map[uint32]uint64, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 12) - v = make(map[uint32]uint64, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk uint32 - var mv uint64 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = uint32(chkOvf.UintV(dd.DecodeUint64(), 32)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = dd.DecodeUint64() - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapUint32UintptrR(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[uint32]uintptr) - v, changed := fastpathTV.DecMapUint32UintptrV(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapUint32UintptrV(rv2i(rv).(map[uint32]uintptr), false, d) - } -} -func (f fastpathT) DecMapUint32UintptrX(vp *map[uint32]uintptr, d *Decoder) { - v, changed := f.DecMapUint32UintptrV(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapUint32UintptrV(v map[uint32]uintptr, canChange bool, - d *Decoder) (_ map[uint32]uintptr, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 12) - v = make(map[uint32]uintptr, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk uint32 - var mv uintptr - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = uint32(chkOvf.UintV(dd.DecodeUint64(), 32)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = uintptr(chkOvf.UintV(dd.DecodeUint64(), uintBitsize)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapUint32IntR(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[uint32]int) - v, changed := fastpathTV.DecMapUint32IntV(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapUint32IntV(rv2i(rv).(map[uint32]int), false, d) - } -} -func (f fastpathT) DecMapUint32IntX(vp *map[uint32]int, d *Decoder) { - v, changed := f.DecMapUint32IntV(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapUint32IntV(v map[uint32]int, canChange bool, - d *Decoder) (_ map[uint32]int, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 12) - v = make(map[uint32]int, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk uint32 - var mv int - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = uint32(chkOvf.UintV(dd.DecodeUint64(), 32)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = int(chkOvf.IntV(dd.DecodeInt64(), intBitsize)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapUint32Int8R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[uint32]int8) - v, changed := fastpathTV.DecMapUint32Int8V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapUint32Int8V(rv2i(rv).(map[uint32]int8), false, d) - } -} -func (f fastpathT) DecMapUint32Int8X(vp *map[uint32]int8, d *Decoder) { - v, changed := f.DecMapUint32Int8V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapUint32Int8V(v map[uint32]int8, canChange bool, - d *Decoder) (_ map[uint32]int8, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 5) - v = make(map[uint32]int8, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk uint32 - var mv int8 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = uint32(chkOvf.UintV(dd.DecodeUint64(), 32)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = int8(chkOvf.IntV(dd.DecodeInt64(), 8)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapUint32Int16R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[uint32]int16) - v, changed := fastpathTV.DecMapUint32Int16V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapUint32Int16V(rv2i(rv).(map[uint32]int16), false, d) - } -} -func (f fastpathT) DecMapUint32Int16X(vp *map[uint32]int16, d *Decoder) { - v, changed := f.DecMapUint32Int16V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapUint32Int16V(v map[uint32]int16, canChange bool, - d *Decoder) (_ map[uint32]int16, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 6) - v = make(map[uint32]int16, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk uint32 - var mv int16 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = uint32(chkOvf.UintV(dd.DecodeUint64(), 32)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = int16(chkOvf.IntV(dd.DecodeInt64(), 16)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapUint32Int32R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[uint32]int32) - v, changed := fastpathTV.DecMapUint32Int32V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapUint32Int32V(rv2i(rv).(map[uint32]int32), false, d) - } -} -func (f fastpathT) DecMapUint32Int32X(vp *map[uint32]int32, d *Decoder) { - v, changed := f.DecMapUint32Int32V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapUint32Int32V(v map[uint32]int32, canChange bool, - d *Decoder) (_ map[uint32]int32, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 8) - v = make(map[uint32]int32, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk uint32 - var mv int32 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = uint32(chkOvf.UintV(dd.DecodeUint64(), 32)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = int32(chkOvf.IntV(dd.DecodeInt64(), 32)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapUint32Int64R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[uint32]int64) - v, changed := fastpathTV.DecMapUint32Int64V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapUint32Int64V(rv2i(rv).(map[uint32]int64), false, d) - } -} -func (f fastpathT) DecMapUint32Int64X(vp *map[uint32]int64, d *Decoder) { - v, changed := f.DecMapUint32Int64V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapUint32Int64V(v map[uint32]int64, canChange bool, - d *Decoder) (_ map[uint32]int64, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 12) - v = make(map[uint32]int64, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk uint32 - var mv int64 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = uint32(chkOvf.UintV(dd.DecodeUint64(), 32)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = dd.DecodeInt64() - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapUint32Float32R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[uint32]float32) - v, changed := fastpathTV.DecMapUint32Float32V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapUint32Float32V(rv2i(rv).(map[uint32]float32), false, d) - } -} -func (f fastpathT) DecMapUint32Float32X(vp *map[uint32]float32, d *Decoder) { - v, changed := f.DecMapUint32Float32V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapUint32Float32V(v map[uint32]float32, canChange bool, - d *Decoder) (_ map[uint32]float32, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 8) - v = make(map[uint32]float32, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk uint32 - var mv float32 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = uint32(chkOvf.UintV(dd.DecodeUint64(), 32)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = float32(chkOvf.Float32V(dd.DecodeFloat64())) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapUint32Float64R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[uint32]float64) - v, changed := fastpathTV.DecMapUint32Float64V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapUint32Float64V(rv2i(rv).(map[uint32]float64), false, d) - } -} -func (f fastpathT) DecMapUint32Float64X(vp *map[uint32]float64, d *Decoder) { - v, changed := f.DecMapUint32Float64V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapUint32Float64V(v map[uint32]float64, canChange bool, - d *Decoder) (_ map[uint32]float64, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 12) - v = make(map[uint32]float64, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk uint32 - var mv float64 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = uint32(chkOvf.UintV(dd.DecodeUint64(), 32)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = dd.DecodeFloat64() - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapUint32BoolR(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[uint32]bool) - v, changed := fastpathTV.DecMapUint32BoolV(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapUint32BoolV(rv2i(rv).(map[uint32]bool), false, d) - } -} -func (f fastpathT) DecMapUint32BoolX(vp *map[uint32]bool, d *Decoder) { - v, changed := f.DecMapUint32BoolV(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapUint32BoolV(v map[uint32]bool, canChange bool, - d *Decoder) (_ map[uint32]bool, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 5) - v = make(map[uint32]bool, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk uint32 - var mv bool - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = uint32(chkOvf.UintV(dd.DecodeUint64(), 32)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = false - } - continue - } - mv = dd.DecodeBool() - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapUint64IntfR(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[uint64]interface{}) - v, changed := fastpathTV.DecMapUint64IntfV(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapUint64IntfV(rv2i(rv).(map[uint64]interface{}), false, d) - } -} -func (f fastpathT) DecMapUint64IntfX(vp *map[uint64]interface{}, d *Decoder) { - v, changed := f.DecMapUint64IntfV(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapUint64IntfV(v map[uint64]interface{}, canChange bool, - d *Decoder) (_ map[uint64]interface{}, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 24) - v = make(map[uint64]interface{}, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - mapGet := v != nil && !d.h.MapValueReset && !d.h.InterfaceReset - var mk uint64 - var mv interface{} - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = dd.DecodeUint64() - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = nil - } - continue - } - if mapGet { - mv = v[mk] - } else { - mv = nil - } - d.decode(&mv) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapUint64StringR(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[uint64]string) - v, changed := fastpathTV.DecMapUint64StringV(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapUint64StringV(rv2i(rv).(map[uint64]string), false, d) - } -} -func (f fastpathT) DecMapUint64StringX(vp *map[uint64]string, d *Decoder) { - v, changed := f.DecMapUint64StringV(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapUint64StringV(v map[uint64]string, canChange bool, - d *Decoder) (_ map[uint64]string, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 24) - v = make(map[uint64]string, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk uint64 - var mv string - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = dd.DecodeUint64() - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = "" - } - continue - } - mv = dd.DecodeString() - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapUint64UintR(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[uint64]uint) - v, changed := fastpathTV.DecMapUint64UintV(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapUint64UintV(rv2i(rv).(map[uint64]uint), false, d) - } -} -func (f fastpathT) DecMapUint64UintX(vp *map[uint64]uint, d *Decoder) { - v, changed := f.DecMapUint64UintV(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapUint64UintV(v map[uint64]uint, canChange bool, - d *Decoder) (_ map[uint64]uint, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 16) - v = make(map[uint64]uint, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk uint64 - var mv uint - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = dd.DecodeUint64() - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = uint(chkOvf.UintV(dd.DecodeUint64(), uintBitsize)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapUint64Uint8R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[uint64]uint8) - v, changed := fastpathTV.DecMapUint64Uint8V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapUint64Uint8V(rv2i(rv).(map[uint64]uint8), false, d) - } -} -func (f fastpathT) DecMapUint64Uint8X(vp *map[uint64]uint8, d *Decoder) { - v, changed := f.DecMapUint64Uint8V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapUint64Uint8V(v map[uint64]uint8, canChange bool, - d *Decoder) (_ map[uint64]uint8, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 9) - v = make(map[uint64]uint8, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk uint64 - var mv uint8 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = dd.DecodeUint64() - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = uint8(chkOvf.UintV(dd.DecodeUint64(), 8)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapUint64Uint16R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[uint64]uint16) - v, changed := fastpathTV.DecMapUint64Uint16V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapUint64Uint16V(rv2i(rv).(map[uint64]uint16), false, d) - } -} -func (f fastpathT) DecMapUint64Uint16X(vp *map[uint64]uint16, d *Decoder) { - v, changed := f.DecMapUint64Uint16V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapUint64Uint16V(v map[uint64]uint16, canChange bool, - d *Decoder) (_ map[uint64]uint16, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 10) - v = make(map[uint64]uint16, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk uint64 - var mv uint16 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = dd.DecodeUint64() - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = uint16(chkOvf.UintV(dd.DecodeUint64(), 16)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapUint64Uint32R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[uint64]uint32) - v, changed := fastpathTV.DecMapUint64Uint32V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapUint64Uint32V(rv2i(rv).(map[uint64]uint32), false, d) - } -} -func (f fastpathT) DecMapUint64Uint32X(vp *map[uint64]uint32, d *Decoder) { - v, changed := f.DecMapUint64Uint32V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapUint64Uint32V(v map[uint64]uint32, canChange bool, - d *Decoder) (_ map[uint64]uint32, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 12) - v = make(map[uint64]uint32, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk uint64 - var mv uint32 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = dd.DecodeUint64() - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = uint32(chkOvf.UintV(dd.DecodeUint64(), 32)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapUint64Uint64R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[uint64]uint64) - v, changed := fastpathTV.DecMapUint64Uint64V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapUint64Uint64V(rv2i(rv).(map[uint64]uint64), false, d) - } -} -func (f fastpathT) DecMapUint64Uint64X(vp *map[uint64]uint64, d *Decoder) { - v, changed := f.DecMapUint64Uint64V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapUint64Uint64V(v map[uint64]uint64, canChange bool, - d *Decoder) (_ map[uint64]uint64, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 16) - v = make(map[uint64]uint64, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk uint64 - var mv uint64 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = dd.DecodeUint64() - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = dd.DecodeUint64() - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapUint64UintptrR(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[uint64]uintptr) - v, changed := fastpathTV.DecMapUint64UintptrV(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapUint64UintptrV(rv2i(rv).(map[uint64]uintptr), false, d) - } -} -func (f fastpathT) DecMapUint64UintptrX(vp *map[uint64]uintptr, d *Decoder) { - v, changed := f.DecMapUint64UintptrV(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapUint64UintptrV(v map[uint64]uintptr, canChange bool, - d *Decoder) (_ map[uint64]uintptr, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 16) - v = make(map[uint64]uintptr, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk uint64 - var mv uintptr - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = dd.DecodeUint64() - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = uintptr(chkOvf.UintV(dd.DecodeUint64(), uintBitsize)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapUint64IntR(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[uint64]int) - v, changed := fastpathTV.DecMapUint64IntV(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapUint64IntV(rv2i(rv).(map[uint64]int), false, d) - } -} -func (f fastpathT) DecMapUint64IntX(vp *map[uint64]int, d *Decoder) { - v, changed := f.DecMapUint64IntV(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapUint64IntV(v map[uint64]int, canChange bool, - d *Decoder) (_ map[uint64]int, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 16) - v = make(map[uint64]int, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk uint64 - var mv int - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = dd.DecodeUint64() - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = int(chkOvf.IntV(dd.DecodeInt64(), intBitsize)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapUint64Int8R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[uint64]int8) - v, changed := fastpathTV.DecMapUint64Int8V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapUint64Int8V(rv2i(rv).(map[uint64]int8), false, d) - } -} -func (f fastpathT) DecMapUint64Int8X(vp *map[uint64]int8, d *Decoder) { - v, changed := f.DecMapUint64Int8V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapUint64Int8V(v map[uint64]int8, canChange bool, - d *Decoder) (_ map[uint64]int8, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 9) - v = make(map[uint64]int8, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk uint64 - var mv int8 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = dd.DecodeUint64() - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = int8(chkOvf.IntV(dd.DecodeInt64(), 8)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapUint64Int16R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[uint64]int16) - v, changed := fastpathTV.DecMapUint64Int16V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapUint64Int16V(rv2i(rv).(map[uint64]int16), false, d) - } -} -func (f fastpathT) DecMapUint64Int16X(vp *map[uint64]int16, d *Decoder) { - v, changed := f.DecMapUint64Int16V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapUint64Int16V(v map[uint64]int16, canChange bool, - d *Decoder) (_ map[uint64]int16, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 10) - v = make(map[uint64]int16, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk uint64 - var mv int16 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = dd.DecodeUint64() - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = int16(chkOvf.IntV(dd.DecodeInt64(), 16)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapUint64Int32R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[uint64]int32) - v, changed := fastpathTV.DecMapUint64Int32V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapUint64Int32V(rv2i(rv).(map[uint64]int32), false, d) - } -} -func (f fastpathT) DecMapUint64Int32X(vp *map[uint64]int32, d *Decoder) { - v, changed := f.DecMapUint64Int32V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapUint64Int32V(v map[uint64]int32, canChange bool, - d *Decoder) (_ map[uint64]int32, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 12) - v = make(map[uint64]int32, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk uint64 - var mv int32 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = dd.DecodeUint64() - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = int32(chkOvf.IntV(dd.DecodeInt64(), 32)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapUint64Int64R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[uint64]int64) - v, changed := fastpathTV.DecMapUint64Int64V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapUint64Int64V(rv2i(rv).(map[uint64]int64), false, d) - } -} -func (f fastpathT) DecMapUint64Int64X(vp *map[uint64]int64, d *Decoder) { - v, changed := f.DecMapUint64Int64V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapUint64Int64V(v map[uint64]int64, canChange bool, - d *Decoder) (_ map[uint64]int64, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 16) - v = make(map[uint64]int64, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk uint64 - var mv int64 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = dd.DecodeUint64() - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = dd.DecodeInt64() - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapUint64Float32R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[uint64]float32) - v, changed := fastpathTV.DecMapUint64Float32V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapUint64Float32V(rv2i(rv).(map[uint64]float32), false, d) - } -} -func (f fastpathT) DecMapUint64Float32X(vp *map[uint64]float32, d *Decoder) { - v, changed := f.DecMapUint64Float32V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapUint64Float32V(v map[uint64]float32, canChange bool, - d *Decoder) (_ map[uint64]float32, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 12) - v = make(map[uint64]float32, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk uint64 - var mv float32 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = dd.DecodeUint64() - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = float32(chkOvf.Float32V(dd.DecodeFloat64())) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapUint64Float64R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[uint64]float64) - v, changed := fastpathTV.DecMapUint64Float64V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapUint64Float64V(rv2i(rv).(map[uint64]float64), false, d) - } -} -func (f fastpathT) DecMapUint64Float64X(vp *map[uint64]float64, d *Decoder) { - v, changed := f.DecMapUint64Float64V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapUint64Float64V(v map[uint64]float64, canChange bool, - d *Decoder) (_ map[uint64]float64, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 16) - v = make(map[uint64]float64, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk uint64 - var mv float64 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = dd.DecodeUint64() - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = dd.DecodeFloat64() - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapUint64BoolR(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[uint64]bool) - v, changed := fastpathTV.DecMapUint64BoolV(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapUint64BoolV(rv2i(rv).(map[uint64]bool), false, d) - } -} -func (f fastpathT) DecMapUint64BoolX(vp *map[uint64]bool, d *Decoder) { - v, changed := f.DecMapUint64BoolV(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapUint64BoolV(v map[uint64]bool, canChange bool, - d *Decoder) (_ map[uint64]bool, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 9) - v = make(map[uint64]bool, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk uint64 - var mv bool - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = dd.DecodeUint64() - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = false - } - continue - } - mv = dd.DecodeBool() - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapUintptrIntfR(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[uintptr]interface{}) - v, changed := fastpathTV.DecMapUintptrIntfV(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapUintptrIntfV(rv2i(rv).(map[uintptr]interface{}), false, d) - } -} -func (f fastpathT) DecMapUintptrIntfX(vp *map[uintptr]interface{}, d *Decoder) { - v, changed := f.DecMapUintptrIntfV(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapUintptrIntfV(v map[uintptr]interface{}, canChange bool, - d *Decoder) (_ map[uintptr]interface{}, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 24) - v = make(map[uintptr]interface{}, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - mapGet := v != nil && !d.h.MapValueReset && !d.h.InterfaceReset - var mk uintptr - var mv interface{} - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = uintptr(chkOvf.UintV(dd.DecodeUint64(), uintBitsize)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = nil - } - continue - } - if mapGet { - mv = v[mk] - } else { - mv = nil - } - d.decode(&mv) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapUintptrStringR(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[uintptr]string) - v, changed := fastpathTV.DecMapUintptrStringV(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapUintptrStringV(rv2i(rv).(map[uintptr]string), false, d) - } -} -func (f fastpathT) DecMapUintptrStringX(vp *map[uintptr]string, d *Decoder) { - v, changed := f.DecMapUintptrStringV(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapUintptrStringV(v map[uintptr]string, canChange bool, - d *Decoder) (_ map[uintptr]string, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 24) - v = make(map[uintptr]string, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk uintptr - var mv string - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = uintptr(chkOvf.UintV(dd.DecodeUint64(), uintBitsize)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = "" - } - continue - } - mv = dd.DecodeString() - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapUintptrUintR(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[uintptr]uint) - v, changed := fastpathTV.DecMapUintptrUintV(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapUintptrUintV(rv2i(rv).(map[uintptr]uint), false, d) - } -} -func (f fastpathT) DecMapUintptrUintX(vp *map[uintptr]uint, d *Decoder) { - v, changed := f.DecMapUintptrUintV(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapUintptrUintV(v map[uintptr]uint, canChange bool, - d *Decoder) (_ map[uintptr]uint, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 16) - v = make(map[uintptr]uint, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk uintptr - var mv uint - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = uintptr(chkOvf.UintV(dd.DecodeUint64(), uintBitsize)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = uint(chkOvf.UintV(dd.DecodeUint64(), uintBitsize)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapUintptrUint8R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[uintptr]uint8) - v, changed := fastpathTV.DecMapUintptrUint8V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapUintptrUint8V(rv2i(rv).(map[uintptr]uint8), false, d) - } -} -func (f fastpathT) DecMapUintptrUint8X(vp *map[uintptr]uint8, d *Decoder) { - v, changed := f.DecMapUintptrUint8V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapUintptrUint8V(v map[uintptr]uint8, canChange bool, - d *Decoder) (_ map[uintptr]uint8, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 9) - v = make(map[uintptr]uint8, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk uintptr - var mv uint8 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = uintptr(chkOvf.UintV(dd.DecodeUint64(), uintBitsize)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = uint8(chkOvf.UintV(dd.DecodeUint64(), 8)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapUintptrUint16R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[uintptr]uint16) - v, changed := fastpathTV.DecMapUintptrUint16V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapUintptrUint16V(rv2i(rv).(map[uintptr]uint16), false, d) - } -} -func (f fastpathT) DecMapUintptrUint16X(vp *map[uintptr]uint16, d *Decoder) { - v, changed := f.DecMapUintptrUint16V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapUintptrUint16V(v map[uintptr]uint16, canChange bool, - d *Decoder) (_ map[uintptr]uint16, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 10) - v = make(map[uintptr]uint16, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk uintptr - var mv uint16 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = uintptr(chkOvf.UintV(dd.DecodeUint64(), uintBitsize)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = uint16(chkOvf.UintV(dd.DecodeUint64(), 16)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapUintptrUint32R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[uintptr]uint32) - v, changed := fastpathTV.DecMapUintptrUint32V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapUintptrUint32V(rv2i(rv).(map[uintptr]uint32), false, d) - } -} -func (f fastpathT) DecMapUintptrUint32X(vp *map[uintptr]uint32, d *Decoder) { - v, changed := f.DecMapUintptrUint32V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapUintptrUint32V(v map[uintptr]uint32, canChange bool, - d *Decoder) (_ map[uintptr]uint32, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 12) - v = make(map[uintptr]uint32, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk uintptr - var mv uint32 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = uintptr(chkOvf.UintV(dd.DecodeUint64(), uintBitsize)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = uint32(chkOvf.UintV(dd.DecodeUint64(), 32)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapUintptrUint64R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[uintptr]uint64) - v, changed := fastpathTV.DecMapUintptrUint64V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapUintptrUint64V(rv2i(rv).(map[uintptr]uint64), false, d) - } -} -func (f fastpathT) DecMapUintptrUint64X(vp *map[uintptr]uint64, d *Decoder) { - v, changed := f.DecMapUintptrUint64V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapUintptrUint64V(v map[uintptr]uint64, canChange bool, - d *Decoder) (_ map[uintptr]uint64, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 16) - v = make(map[uintptr]uint64, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk uintptr - var mv uint64 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = uintptr(chkOvf.UintV(dd.DecodeUint64(), uintBitsize)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = dd.DecodeUint64() - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapUintptrUintptrR(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[uintptr]uintptr) - v, changed := fastpathTV.DecMapUintptrUintptrV(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapUintptrUintptrV(rv2i(rv).(map[uintptr]uintptr), false, d) - } -} -func (f fastpathT) DecMapUintptrUintptrX(vp *map[uintptr]uintptr, d *Decoder) { - v, changed := f.DecMapUintptrUintptrV(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapUintptrUintptrV(v map[uintptr]uintptr, canChange bool, - d *Decoder) (_ map[uintptr]uintptr, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 16) - v = make(map[uintptr]uintptr, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk uintptr - var mv uintptr - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = uintptr(chkOvf.UintV(dd.DecodeUint64(), uintBitsize)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = uintptr(chkOvf.UintV(dd.DecodeUint64(), uintBitsize)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapUintptrIntR(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[uintptr]int) - v, changed := fastpathTV.DecMapUintptrIntV(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapUintptrIntV(rv2i(rv).(map[uintptr]int), false, d) - } -} -func (f fastpathT) DecMapUintptrIntX(vp *map[uintptr]int, d *Decoder) { - v, changed := f.DecMapUintptrIntV(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapUintptrIntV(v map[uintptr]int, canChange bool, - d *Decoder) (_ map[uintptr]int, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 16) - v = make(map[uintptr]int, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk uintptr - var mv int - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = uintptr(chkOvf.UintV(dd.DecodeUint64(), uintBitsize)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = int(chkOvf.IntV(dd.DecodeInt64(), intBitsize)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapUintptrInt8R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[uintptr]int8) - v, changed := fastpathTV.DecMapUintptrInt8V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapUintptrInt8V(rv2i(rv).(map[uintptr]int8), false, d) - } -} -func (f fastpathT) DecMapUintptrInt8X(vp *map[uintptr]int8, d *Decoder) { - v, changed := f.DecMapUintptrInt8V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapUintptrInt8V(v map[uintptr]int8, canChange bool, - d *Decoder) (_ map[uintptr]int8, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 9) - v = make(map[uintptr]int8, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk uintptr - var mv int8 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = uintptr(chkOvf.UintV(dd.DecodeUint64(), uintBitsize)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = int8(chkOvf.IntV(dd.DecodeInt64(), 8)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapUintptrInt16R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[uintptr]int16) - v, changed := fastpathTV.DecMapUintptrInt16V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapUintptrInt16V(rv2i(rv).(map[uintptr]int16), false, d) - } -} -func (f fastpathT) DecMapUintptrInt16X(vp *map[uintptr]int16, d *Decoder) { - v, changed := f.DecMapUintptrInt16V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapUintptrInt16V(v map[uintptr]int16, canChange bool, - d *Decoder) (_ map[uintptr]int16, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 10) - v = make(map[uintptr]int16, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk uintptr - var mv int16 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = uintptr(chkOvf.UintV(dd.DecodeUint64(), uintBitsize)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = int16(chkOvf.IntV(dd.DecodeInt64(), 16)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapUintptrInt32R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[uintptr]int32) - v, changed := fastpathTV.DecMapUintptrInt32V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapUintptrInt32V(rv2i(rv).(map[uintptr]int32), false, d) - } -} -func (f fastpathT) DecMapUintptrInt32X(vp *map[uintptr]int32, d *Decoder) { - v, changed := f.DecMapUintptrInt32V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapUintptrInt32V(v map[uintptr]int32, canChange bool, - d *Decoder) (_ map[uintptr]int32, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 12) - v = make(map[uintptr]int32, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk uintptr - var mv int32 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = uintptr(chkOvf.UintV(dd.DecodeUint64(), uintBitsize)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = int32(chkOvf.IntV(dd.DecodeInt64(), 32)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapUintptrInt64R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[uintptr]int64) - v, changed := fastpathTV.DecMapUintptrInt64V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapUintptrInt64V(rv2i(rv).(map[uintptr]int64), false, d) - } -} -func (f fastpathT) DecMapUintptrInt64X(vp *map[uintptr]int64, d *Decoder) { - v, changed := f.DecMapUintptrInt64V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapUintptrInt64V(v map[uintptr]int64, canChange bool, - d *Decoder) (_ map[uintptr]int64, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 16) - v = make(map[uintptr]int64, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk uintptr - var mv int64 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = uintptr(chkOvf.UintV(dd.DecodeUint64(), uintBitsize)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = dd.DecodeInt64() - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapUintptrFloat32R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[uintptr]float32) - v, changed := fastpathTV.DecMapUintptrFloat32V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapUintptrFloat32V(rv2i(rv).(map[uintptr]float32), false, d) - } -} -func (f fastpathT) DecMapUintptrFloat32X(vp *map[uintptr]float32, d *Decoder) { - v, changed := f.DecMapUintptrFloat32V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapUintptrFloat32V(v map[uintptr]float32, canChange bool, - d *Decoder) (_ map[uintptr]float32, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 12) - v = make(map[uintptr]float32, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk uintptr - var mv float32 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = uintptr(chkOvf.UintV(dd.DecodeUint64(), uintBitsize)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = float32(chkOvf.Float32V(dd.DecodeFloat64())) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapUintptrFloat64R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[uintptr]float64) - v, changed := fastpathTV.DecMapUintptrFloat64V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapUintptrFloat64V(rv2i(rv).(map[uintptr]float64), false, d) - } -} -func (f fastpathT) DecMapUintptrFloat64X(vp *map[uintptr]float64, d *Decoder) { - v, changed := f.DecMapUintptrFloat64V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapUintptrFloat64V(v map[uintptr]float64, canChange bool, - d *Decoder) (_ map[uintptr]float64, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 16) - v = make(map[uintptr]float64, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk uintptr - var mv float64 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = uintptr(chkOvf.UintV(dd.DecodeUint64(), uintBitsize)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = dd.DecodeFloat64() - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapUintptrBoolR(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[uintptr]bool) - v, changed := fastpathTV.DecMapUintptrBoolV(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapUintptrBoolV(rv2i(rv).(map[uintptr]bool), false, d) - } -} -func (f fastpathT) DecMapUintptrBoolX(vp *map[uintptr]bool, d *Decoder) { - v, changed := f.DecMapUintptrBoolV(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapUintptrBoolV(v map[uintptr]bool, canChange bool, - d *Decoder) (_ map[uintptr]bool, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 9) - v = make(map[uintptr]bool, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk uintptr - var mv bool - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = uintptr(chkOvf.UintV(dd.DecodeUint64(), uintBitsize)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = false - } - continue - } - mv = dd.DecodeBool() - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapIntIntfR(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[int]interface{}) - v, changed := fastpathTV.DecMapIntIntfV(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapIntIntfV(rv2i(rv).(map[int]interface{}), false, d) - } -} -func (f fastpathT) DecMapIntIntfX(vp *map[int]interface{}, d *Decoder) { - v, changed := f.DecMapIntIntfV(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapIntIntfV(v map[int]interface{}, canChange bool, - d *Decoder) (_ map[int]interface{}, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 24) - v = make(map[int]interface{}, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - mapGet := v != nil && !d.h.MapValueReset && !d.h.InterfaceReset - var mk int - var mv interface{} - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = int(chkOvf.IntV(dd.DecodeInt64(), intBitsize)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = nil - } - continue - } - if mapGet { - mv = v[mk] - } else { - mv = nil - } - d.decode(&mv) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapIntStringR(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[int]string) - v, changed := fastpathTV.DecMapIntStringV(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapIntStringV(rv2i(rv).(map[int]string), false, d) - } -} -func (f fastpathT) DecMapIntStringX(vp *map[int]string, d *Decoder) { - v, changed := f.DecMapIntStringV(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapIntStringV(v map[int]string, canChange bool, - d *Decoder) (_ map[int]string, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 24) - v = make(map[int]string, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk int - var mv string - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = int(chkOvf.IntV(dd.DecodeInt64(), intBitsize)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = "" - } - continue - } - mv = dd.DecodeString() - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapIntUintR(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[int]uint) - v, changed := fastpathTV.DecMapIntUintV(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapIntUintV(rv2i(rv).(map[int]uint), false, d) - } -} -func (f fastpathT) DecMapIntUintX(vp *map[int]uint, d *Decoder) { - v, changed := f.DecMapIntUintV(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapIntUintV(v map[int]uint, canChange bool, - d *Decoder) (_ map[int]uint, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 16) - v = make(map[int]uint, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk int - var mv uint - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = int(chkOvf.IntV(dd.DecodeInt64(), intBitsize)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = uint(chkOvf.UintV(dd.DecodeUint64(), uintBitsize)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapIntUint8R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[int]uint8) - v, changed := fastpathTV.DecMapIntUint8V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapIntUint8V(rv2i(rv).(map[int]uint8), false, d) - } -} -func (f fastpathT) DecMapIntUint8X(vp *map[int]uint8, d *Decoder) { - v, changed := f.DecMapIntUint8V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapIntUint8V(v map[int]uint8, canChange bool, - d *Decoder) (_ map[int]uint8, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 9) - v = make(map[int]uint8, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk int - var mv uint8 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = int(chkOvf.IntV(dd.DecodeInt64(), intBitsize)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = uint8(chkOvf.UintV(dd.DecodeUint64(), 8)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapIntUint16R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[int]uint16) - v, changed := fastpathTV.DecMapIntUint16V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapIntUint16V(rv2i(rv).(map[int]uint16), false, d) - } -} -func (f fastpathT) DecMapIntUint16X(vp *map[int]uint16, d *Decoder) { - v, changed := f.DecMapIntUint16V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapIntUint16V(v map[int]uint16, canChange bool, - d *Decoder) (_ map[int]uint16, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 10) - v = make(map[int]uint16, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk int - var mv uint16 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = int(chkOvf.IntV(dd.DecodeInt64(), intBitsize)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = uint16(chkOvf.UintV(dd.DecodeUint64(), 16)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapIntUint32R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[int]uint32) - v, changed := fastpathTV.DecMapIntUint32V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapIntUint32V(rv2i(rv).(map[int]uint32), false, d) - } -} -func (f fastpathT) DecMapIntUint32X(vp *map[int]uint32, d *Decoder) { - v, changed := f.DecMapIntUint32V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapIntUint32V(v map[int]uint32, canChange bool, - d *Decoder) (_ map[int]uint32, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 12) - v = make(map[int]uint32, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk int - var mv uint32 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = int(chkOvf.IntV(dd.DecodeInt64(), intBitsize)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = uint32(chkOvf.UintV(dd.DecodeUint64(), 32)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapIntUint64R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[int]uint64) - v, changed := fastpathTV.DecMapIntUint64V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapIntUint64V(rv2i(rv).(map[int]uint64), false, d) - } -} -func (f fastpathT) DecMapIntUint64X(vp *map[int]uint64, d *Decoder) { - v, changed := f.DecMapIntUint64V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapIntUint64V(v map[int]uint64, canChange bool, - d *Decoder) (_ map[int]uint64, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 16) - v = make(map[int]uint64, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk int - var mv uint64 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = int(chkOvf.IntV(dd.DecodeInt64(), intBitsize)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = dd.DecodeUint64() - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapIntUintptrR(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[int]uintptr) - v, changed := fastpathTV.DecMapIntUintptrV(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapIntUintptrV(rv2i(rv).(map[int]uintptr), false, d) - } -} -func (f fastpathT) DecMapIntUintptrX(vp *map[int]uintptr, d *Decoder) { - v, changed := f.DecMapIntUintptrV(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapIntUintptrV(v map[int]uintptr, canChange bool, - d *Decoder) (_ map[int]uintptr, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 16) - v = make(map[int]uintptr, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk int - var mv uintptr - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = int(chkOvf.IntV(dd.DecodeInt64(), intBitsize)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = uintptr(chkOvf.UintV(dd.DecodeUint64(), uintBitsize)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapIntIntR(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[int]int) - v, changed := fastpathTV.DecMapIntIntV(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapIntIntV(rv2i(rv).(map[int]int), false, d) - } -} -func (f fastpathT) DecMapIntIntX(vp *map[int]int, d *Decoder) { - v, changed := f.DecMapIntIntV(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapIntIntV(v map[int]int, canChange bool, - d *Decoder) (_ map[int]int, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 16) - v = make(map[int]int, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk int - var mv int - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = int(chkOvf.IntV(dd.DecodeInt64(), intBitsize)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = int(chkOvf.IntV(dd.DecodeInt64(), intBitsize)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapIntInt8R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[int]int8) - v, changed := fastpathTV.DecMapIntInt8V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapIntInt8V(rv2i(rv).(map[int]int8), false, d) - } -} -func (f fastpathT) DecMapIntInt8X(vp *map[int]int8, d *Decoder) { - v, changed := f.DecMapIntInt8V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapIntInt8V(v map[int]int8, canChange bool, - d *Decoder) (_ map[int]int8, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 9) - v = make(map[int]int8, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk int - var mv int8 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = int(chkOvf.IntV(dd.DecodeInt64(), intBitsize)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = int8(chkOvf.IntV(dd.DecodeInt64(), 8)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapIntInt16R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[int]int16) - v, changed := fastpathTV.DecMapIntInt16V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapIntInt16V(rv2i(rv).(map[int]int16), false, d) - } -} -func (f fastpathT) DecMapIntInt16X(vp *map[int]int16, d *Decoder) { - v, changed := f.DecMapIntInt16V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapIntInt16V(v map[int]int16, canChange bool, - d *Decoder) (_ map[int]int16, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 10) - v = make(map[int]int16, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk int - var mv int16 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = int(chkOvf.IntV(dd.DecodeInt64(), intBitsize)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = int16(chkOvf.IntV(dd.DecodeInt64(), 16)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapIntInt32R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[int]int32) - v, changed := fastpathTV.DecMapIntInt32V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapIntInt32V(rv2i(rv).(map[int]int32), false, d) - } -} -func (f fastpathT) DecMapIntInt32X(vp *map[int]int32, d *Decoder) { - v, changed := f.DecMapIntInt32V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapIntInt32V(v map[int]int32, canChange bool, - d *Decoder) (_ map[int]int32, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 12) - v = make(map[int]int32, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk int - var mv int32 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = int(chkOvf.IntV(dd.DecodeInt64(), intBitsize)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = int32(chkOvf.IntV(dd.DecodeInt64(), 32)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapIntInt64R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[int]int64) - v, changed := fastpathTV.DecMapIntInt64V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapIntInt64V(rv2i(rv).(map[int]int64), false, d) - } -} -func (f fastpathT) DecMapIntInt64X(vp *map[int]int64, d *Decoder) { - v, changed := f.DecMapIntInt64V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapIntInt64V(v map[int]int64, canChange bool, - d *Decoder) (_ map[int]int64, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 16) - v = make(map[int]int64, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk int - var mv int64 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = int(chkOvf.IntV(dd.DecodeInt64(), intBitsize)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = dd.DecodeInt64() - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapIntFloat32R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[int]float32) - v, changed := fastpathTV.DecMapIntFloat32V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapIntFloat32V(rv2i(rv).(map[int]float32), false, d) - } -} -func (f fastpathT) DecMapIntFloat32X(vp *map[int]float32, d *Decoder) { - v, changed := f.DecMapIntFloat32V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapIntFloat32V(v map[int]float32, canChange bool, - d *Decoder) (_ map[int]float32, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 12) - v = make(map[int]float32, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk int - var mv float32 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = int(chkOvf.IntV(dd.DecodeInt64(), intBitsize)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = float32(chkOvf.Float32V(dd.DecodeFloat64())) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapIntFloat64R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[int]float64) - v, changed := fastpathTV.DecMapIntFloat64V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapIntFloat64V(rv2i(rv).(map[int]float64), false, d) - } -} -func (f fastpathT) DecMapIntFloat64X(vp *map[int]float64, d *Decoder) { - v, changed := f.DecMapIntFloat64V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapIntFloat64V(v map[int]float64, canChange bool, - d *Decoder) (_ map[int]float64, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 16) - v = make(map[int]float64, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk int - var mv float64 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = int(chkOvf.IntV(dd.DecodeInt64(), intBitsize)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = dd.DecodeFloat64() - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapIntBoolR(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[int]bool) - v, changed := fastpathTV.DecMapIntBoolV(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapIntBoolV(rv2i(rv).(map[int]bool), false, d) - } -} -func (f fastpathT) DecMapIntBoolX(vp *map[int]bool, d *Decoder) { - v, changed := f.DecMapIntBoolV(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapIntBoolV(v map[int]bool, canChange bool, - d *Decoder) (_ map[int]bool, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 9) - v = make(map[int]bool, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk int - var mv bool - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = int(chkOvf.IntV(dd.DecodeInt64(), intBitsize)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = false - } - continue - } - mv = dd.DecodeBool() - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapInt8IntfR(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[int8]interface{}) - v, changed := fastpathTV.DecMapInt8IntfV(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapInt8IntfV(rv2i(rv).(map[int8]interface{}), false, d) - } -} -func (f fastpathT) DecMapInt8IntfX(vp *map[int8]interface{}, d *Decoder) { - v, changed := f.DecMapInt8IntfV(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapInt8IntfV(v map[int8]interface{}, canChange bool, - d *Decoder) (_ map[int8]interface{}, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 17) - v = make(map[int8]interface{}, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - mapGet := v != nil && !d.h.MapValueReset && !d.h.InterfaceReset - var mk int8 - var mv interface{} - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = int8(chkOvf.IntV(dd.DecodeInt64(), 8)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = nil - } - continue - } - if mapGet { - mv = v[mk] - } else { - mv = nil - } - d.decode(&mv) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapInt8StringR(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[int8]string) - v, changed := fastpathTV.DecMapInt8StringV(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapInt8StringV(rv2i(rv).(map[int8]string), false, d) - } -} -func (f fastpathT) DecMapInt8StringX(vp *map[int8]string, d *Decoder) { - v, changed := f.DecMapInt8StringV(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapInt8StringV(v map[int8]string, canChange bool, - d *Decoder) (_ map[int8]string, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 17) - v = make(map[int8]string, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk int8 - var mv string - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = int8(chkOvf.IntV(dd.DecodeInt64(), 8)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = "" - } - continue - } - mv = dd.DecodeString() - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapInt8UintR(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[int8]uint) - v, changed := fastpathTV.DecMapInt8UintV(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapInt8UintV(rv2i(rv).(map[int8]uint), false, d) - } -} -func (f fastpathT) DecMapInt8UintX(vp *map[int8]uint, d *Decoder) { - v, changed := f.DecMapInt8UintV(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapInt8UintV(v map[int8]uint, canChange bool, - d *Decoder) (_ map[int8]uint, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 9) - v = make(map[int8]uint, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk int8 - var mv uint - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = int8(chkOvf.IntV(dd.DecodeInt64(), 8)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = uint(chkOvf.UintV(dd.DecodeUint64(), uintBitsize)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapInt8Uint8R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[int8]uint8) - v, changed := fastpathTV.DecMapInt8Uint8V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapInt8Uint8V(rv2i(rv).(map[int8]uint8), false, d) - } -} -func (f fastpathT) DecMapInt8Uint8X(vp *map[int8]uint8, d *Decoder) { - v, changed := f.DecMapInt8Uint8V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapInt8Uint8V(v map[int8]uint8, canChange bool, - d *Decoder) (_ map[int8]uint8, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 2) - v = make(map[int8]uint8, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk int8 - var mv uint8 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = int8(chkOvf.IntV(dd.DecodeInt64(), 8)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = uint8(chkOvf.UintV(dd.DecodeUint64(), 8)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapInt8Uint16R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[int8]uint16) - v, changed := fastpathTV.DecMapInt8Uint16V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapInt8Uint16V(rv2i(rv).(map[int8]uint16), false, d) - } -} -func (f fastpathT) DecMapInt8Uint16X(vp *map[int8]uint16, d *Decoder) { - v, changed := f.DecMapInt8Uint16V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapInt8Uint16V(v map[int8]uint16, canChange bool, - d *Decoder) (_ map[int8]uint16, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 3) - v = make(map[int8]uint16, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk int8 - var mv uint16 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = int8(chkOvf.IntV(dd.DecodeInt64(), 8)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = uint16(chkOvf.UintV(dd.DecodeUint64(), 16)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapInt8Uint32R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[int8]uint32) - v, changed := fastpathTV.DecMapInt8Uint32V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapInt8Uint32V(rv2i(rv).(map[int8]uint32), false, d) - } -} -func (f fastpathT) DecMapInt8Uint32X(vp *map[int8]uint32, d *Decoder) { - v, changed := f.DecMapInt8Uint32V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapInt8Uint32V(v map[int8]uint32, canChange bool, - d *Decoder) (_ map[int8]uint32, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 5) - v = make(map[int8]uint32, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk int8 - var mv uint32 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = int8(chkOvf.IntV(dd.DecodeInt64(), 8)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = uint32(chkOvf.UintV(dd.DecodeUint64(), 32)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapInt8Uint64R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[int8]uint64) - v, changed := fastpathTV.DecMapInt8Uint64V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapInt8Uint64V(rv2i(rv).(map[int8]uint64), false, d) - } -} -func (f fastpathT) DecMapInt8Uint64X(vp *map[int8]uint64, d *Decoder) { - v, changed := f.DecMapInt8Uint64V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapInt8Uint64V(v map[int8]uint64, canChange bool, - d *Decoder) (_ map[int8]uint64, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 9) - v = make(map[int8]uint64, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk int8 - var mv uint64 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = int8(chkOvf.IntV(dd.DecodeInt64(), 8)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = dd.DecodeUint64() - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapInt8UintptrR(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[int8]uintptr) - v, changed := fastpathTV.DecMapInt8UintptrV(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapInt8UintptrV(rv2i(rv).(map[int8]uintptr), false, d) - } -} -func (f fastpathT) DecMapInt8UintptrX(vp *map[int8]uintptr, d *Decoder) { - v, changed := f.DecMapInt8UintptrV(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapInt8UintptrV(v map[int8]uintptr, canChange bool, - d *Decoder) (_ map[int8]uintptr, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 9) - v = make(map[int8]uintptr, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk int8 - var mv uintptr - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = int8(chkOvf.IntV(dd.DecodeInt64(), 8)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = uintptr(chkOvf.UintV(dd.DecodeUint64(), uintBitsize)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapInt8IntR(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[int8]int) - v, changed := fastpathTV.DecMapInt8IntV(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapInt8IntV(rv2i(rv).(map[int8]int), false, d) - } -} -func (f fastpathT) DecMapInt8IntX(vp *map[int8]int, d *Decoder) { - v, changed := f.DecMapInt8IntV(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapInt8IntV(v map[int8]int, canChange bool, - d *Decoder) (_ map[int8]int, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 9) - v = make(map[int8]int, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk int8 - var mv int - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = int8(chkOvf.IntV(dd.DecodeInt64(), 8)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = int(chkOvf.IntV(dd.DecodeInt64(), intBitsize)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapInt8Int8R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[int8]int8) - v, changed := fastpathTV.DecMapInt8Int8V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapInt8Int8V(rv2i(rv).(map[int8]int8), false, d) - } -} -func (f fastpathT) DecMapInt8Int8X(vp *map[int8]int8, d *Decoder) { - v, changed := f.DecMapInt8Int8V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapInt8Int8V(v map[int8]int8, canChange bool, - d *Decoder) (_ map[int8]int8, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 2) - v = make(map[int8]int8, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk int8 - var mv int8 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = int8(chkOvf.IntV(dd.DecodeInt64(), 8)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = int8(chkOvf.IntV(dd.DecodeInt64(), 8)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapInt8Int16R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[int8]int16) - v, changed := fastpathTV.DecMapInt8Int16V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapInt8Int16V(rv2i(rv).(map[int8]int16), false, d) - } -} -func (f fastpathT) DecMapInt8Int16X(vp *map[int8]int16, d *Decoder) { - v, changed := f.DecMapInt8Int16V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapInt8Int16V(v map[int8]int16, canChange bool, - d *Decoder) (_ map[int8]int16, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 3) - v = make(map[int8]int16, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk int8 - var mv int16 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = int8(chkOvf.IntV(dd.DecodeInt64(), 8)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = int16(chkOvf.IntV(dd.DecodeInt64(), 16)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapInt8Int32R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[int8]int32) - v, changed := fastpathTV.DecMapInt8Int32V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapInt8Int32V(rv2i(rv).(map[int8]int32), false, d) - } -} -func (f fastpathT) DecMapInt8Int32X(vp *map[int8]int32, d *Decoder) { - v, changed := f.DecMapInt8Int32V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapInt8Int32V(v map[int8]int32, canChange bool, - d *Decoder) (_ map[int8]int32, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 5) - v = make(map[int8]int32, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk int8 - var mv int32 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = int8(chkOvf.IntV(dd.DecodeInt64(), 8)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = int32(chkOvf.IntV(dd.DecodeInt64(), 32)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapInt8Int64R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[int8]int64) - v, changed := fastpathTV.DecMapInt8Int64V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapInt8Int64V(rv2i(rv).(map[int8]int64), false, d) - } -} -func (f fastpathT) DecMapInt8Int64X(vp *map[int8]int64, d *Decoder) { - v, changed := f.DecMapInt8Int64V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapInt8Int64V(v map[int8]int64, canChange bool, - d *Decoder) (_ map[int8]int64, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 9) - v = make(map[int8]int64, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk int8 - var mv int64 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = int8(chkOvf.IntV(dd.DecodeInt64(), 8)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = dd.DecodeInt64() - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapInt8Float32R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[int8]float32) - v, changed := fastpathTV.DecMapInt8Float32V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapInt8Float32V(rv2i(rv).(map[int8]float32), false, d) - } -} -func (f fastpathT) DecMapInt8Float32X(vp *map[int8]float32, d *Decoder) { - v, changed := f.DecMapInt8Float32V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapInt8Float32V(v map[int8]float32, canChange bool, - d *Decoder) (_ map[int8]float32, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 5) - v = make(map[int8]float32, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk int8 - var mv float32 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = int8(chkOvf.IntV(dd.DecodeInt64(), 8)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = float32(chkOvf.Float32V(dd.DecodeFloat64())) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapInt8Float64R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[int8]float64) - v, changed := fastpathTV.DecMapInt8Float64V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapInt8Float64V(rv2i(rv).(map[int8]float64), false, d) - } -} -func (f fastpathT) DecMapInt8Float64X(vp *map[int8]float64, d *Decoder) { - v, changed := f.DecMapInt8Float64V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapInt8Float64V(v map[int8]float64, canChange bool, - d *Decoder) (_ map[int8]float64, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 9) - v = make(map[int8]float64, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk int8 - var mv float64 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = int8(chkOvf.IntV(dd.DecodeInt64(), 8)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = dd.DecodeFloat64() - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapInt8BoolR(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[int8]bool) - v, changed := fastpathTV.DecMapInt8BoolV(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapInt8BoolV(rv2i(rv).(map[int8]bool), false, d) - } -} -func (f fastpathT) DecMapInt8BoolX(vp *map[int8]bool, d *Decoder) { - v, changed := f.DecMapInt8BoolV(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapInt8BoolV(v map[int8]bool, canChange bool, - d *Decoder) (_ map[int8]bool, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 2) - v = make(map[int8]bool, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk int8 - var mv bool - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = int8(chkOvf.IntV(dd.DecodeInt64(), 8)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = false - } - continue - } - mv = dd.DecodeBool() - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapInt16IntfR(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[int16]interface{}) - v, changed := fastpathTV.DecMapInt16IntfV(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapInt16IntfV(rv2i(rv).(map[int16]interface{}), false, d) - } -} -func (f fastpathT) DecMapInt16IntfX(vp *map[int16]interface{}, d *Decoder) { - v, changed := f.DecMapInt16IntfV(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapInt16IntfV(v map[int16]interface{}, canChange bool, - d *Decoder) (_ map[int16]interface{}, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 18) - v = make(map[int16]interface{}, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - mapGet := v != nil && !d.h.MapValueReset && !d.h.InterfaceReset - var mk int16 - var mv interface{} - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = int16(chkOvf.IntV(dd.DecodeInt64(), 16)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = nil - } - continue - } - if mapGet { - mv = v[mk] - } else { - mv = nil - } - d.decode(&mv) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapInt16StringR(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[int16]string) - v, changed := fastpathTV.DecMapInt16StringV(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapInt16StringV(rv2i(rv).(map[int16]string), false, d) - } -} -func (f fastpathT) DecMapInt16StringX(vp *map[int16]string, d *Decoder) { - v, changed := f.DecMapInt16StringV(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapInt16StringV(v map[int16]string, canChange bool, - d *Decoder) (_ map[int16]string, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 18) - v = make(map[int16]string, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk int16 - var mv string - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = int16(chkOvf.IntV(dd.DecodeInt64(), 16)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = "" - } - continue - } - mv = dd.DecodeString() - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapInt16UintR(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[int16]uint) - v, changed := fastpathTV.DecMapInt16UintV(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapInt16UintV(rv2i(rv).(map[int16]uint), false, d) - } -} -func (f fastpathT) DecMapInt16UintX(vp *map[int16]uint, d *Decoder) { - v, changed := f.DecMapInt16UintV(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapInt16UintV(v map[int16]uint, canChange bool, - d *Decoder) (_ map[int16]uint, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 10) - v = make(map[int16]uint, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk int16 - var mv uint - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = int16(chkOvf.IntV(dd.DecodeInt64(), 16)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = uint(chkOvf.UintV(dd.DecodeUint64(), uintBitsize)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapInt16Uint8R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[int16]uint8) - v, changed := fastpathTV.DecMapInt16Uint8V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapInt16Uint8V(rv2i(rv).(map[int16]uint8), false, d) - } -} -func (f fastpathT) DecMapInt16Uint8X(vp *map[int16]uint8, d *Decoder) { - v, changed := f.DecMapInt16Uint8V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapInt16Uint8V(v map[int16]uint8, canChange bool, - d *Decoder) (_ map[int16]uint8, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 3) - v = make(map[int16]uint8, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk int16 - var mv uint8 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = int16(chkOvf.IntV(dd.DecodeInt64(), 16)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = uint8(chkOvf.UintV(dd.DecodeUint64(), 8)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapInt16Uint16R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[int16]uint16) - v, changed := fastpathTV.DecMapInt16Uint16V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapInt16Uint16V(rv2i(rv).(map[int16]uint16), false, d) - } -} -func (f fastpathT) DecMapInt16Uint16X(vp *map[int16]uint16, d *Decoder) { - v, changed := f.DecMapInt16Uint16V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapInt16Uint16V(v map[int16]uint16, canChange bool, - d *Decoder) (_ map[int16]uint16, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 4) - v = make(map[int16]uint16, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk int16 - var mv uint16 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = int16(chkOvf.IntV(dd.DecodeInt64(), 16)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = uint16(chkOvf.UintV(dd.DecodeUint64(), 16)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapInt16Uint32R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[int16]uint32) - v, changed := fastpathTV.DecMapInt16Uint32V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapInt16Uint32V(rv2i(rv).(map[int16]uint32), false, d) - } -} -func (f fastpathT) DecMapInt16Uint32X(vp *map[int16]uint32, d *Decoder) { - v, changed := f.DecMapInt16Uint32V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapInt16Uint32V(v map[int16]uint32, canChange bool, - d *Decoder) (_ map[int16]uint32, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 6) - v = make(map[int16]uint32, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk int16 - var mv uint32 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = int16(chkOvf.IntV(dd.DecodeInt64(), 16)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = uint32(chkOvf.UintV(dd.DecodeUint64(), 32)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapInt16Uint64R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[int16]uint64) - v, changed := fastpathTV.DecMapInt16Uint64V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapInt16Uint64V(rv2i(rv).(map[int16]uint64), false, d) - } -} -func (f fastpathT) DecMapInt16Uint64X(vp *map[int16]uint64, d *Decoder) { - v, changed := f.DecMapInt16Uint64V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapInt16Uint64V(v map[int16]uint64, canChange bool, - d *Decoder) (_ map[int16]uint64, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 10) - v = make(map[int16]uint64, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk int16 - var mv uint64 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = int16(chkOvf.IntV(dd.DecodeInt64(), 16)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = dd.DecodeUint64() - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapInt16UintptrR(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[int16]uintptr) - v, changed := fastpathTV.DecMapInt16UintptrV(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapInt16UintptrV(rv2i(rv).(map[int16]uintptr), false, d) - } -} -func (f fastpathT) DecMapInt16UintptrX(vp *map[int16]uintptr, d *Decoder) { - v, changed := f.DecMapInt16UintptrV(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapInt16UintptrV(v map[int16]uintptr, canChange bool, - d *Decoder) (_ map[int16]uintptr, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 10) - v = make(map[int16]uintptr, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk int16 - var mv uintptr - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = int16(chkOvf.IntV(dd.DecodeInt64(), 16)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = uintptr(chkOvf.UintV(dd.DecodeUint64(), uintBitsize)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapInt16IntR(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[int16]int) - v, changed := fastpathTV.DecMapInt16IntV(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapInt16IntV(rv2i(rv).(map[int16]int), false, d) - } -} -func (f fastpathT) DecMapInt16IntX(vp *map[int16]int, d *Decoder) { - v, changed := f.DecMapInt16IntV(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapInt16IntV(v map[int16]int, canChange bool, - d *Decoder) (_ map[int16]int, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 10) - v = make(map[int16]int, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk int16 - var mv int - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = int16(chkOvf.IntV(dd.DecodeInt64(), 16)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = int(chkOvf.IntV(dd.DecodeInt64(), intBitsize)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapInt16Int8R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[int16]int8) - v, changed := fastpathTV.DecMapInt16Int8V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapInt16Int8V(rv2i(rv).(map[int16]int8), false, d) - } -} -func (f fastpathT) DecMapInt16Int8X(vp *map[int16]int8, d *Decoder) { - v, changed := f.DecMapInt16Int8V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapInt16Int8V(v map[int16]int8, canChange bool, - d *Decoder) (_ map[int16]int8, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 3) - v = make(map[int16]int8, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk int16 - var mv int8 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = int16(chkOvf.IntV(dd.DecodeInt64(), 16)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = int8(chkOvf.IntV(dd.DecodeInt64(), 8)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapInt16Int16R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[int16]int16) - v, changed := fastpathTV.DecMapInt16Int16V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapInt16Int16V(rv2i(rv).(map[int16]int16), false, d) - } -} -func (f fastpathT) DecMapInt16Int16X(vp *map[int16]int16, d *Decoder) { - v, changed := f.DecMapInt16Int16V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapInt16Int16V(v map[int16]int16, canChange bool, - d *Decoder) (_ map[int16]int16, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 4) - v = make(map[int16]int16, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk int16 - var mv int16 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = int16(chkOvf.IntV(dd.DecodeInt64(), 16)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = int16(chkOvf.IntV(dd.DecodeInt64(), 16)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapInt16Int32R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[int16]int32) - v, changed := fastpathTV.DecMapInt16Int32V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapInt16Int32V(rv2i(rv).(map[int16]int32), false, d) - } -} -func (f fastpathT) DecMapInt16Int32X(vp *map[int16]int32, d *Decoder) { - v, changed := f.DecMapInt16Int32V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapInt16Int32V(v map[int16]int32, canChange bool, - d *Decoder) (_ map[int16]int32, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 6) - v = make(map[int16]int32, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk int16 - var mv int32 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = int16(chkOvf.IntV(dd.DecodeInt64(), 16)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = int32(chkOvf.IntV(dd.DecodeInt64(), 32)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapInt16Int64R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[int16]int64) - v, changed := fastpathTV.DecMapInt16Int64V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapInt16Int64V(rv2i(rv).(map[int16]int64), false, d) - } -} -func (f fastpathT) DecMapInt16Int64X(vp *map[int16]int64, d *Decoder) { - v, changed := f.DecMapInt16Int64V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapInt16Int64V(v map[int16]int64, canChange bool, - d *Decoder) (_ map[int16]int64, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 10) - v = make(map[int16]int64, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk int16 - var mv int64 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = int16(chkOvf.IntV(dd.DecodeInt64(), 16)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = dd.DecodeInt64() - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapInt16Float32R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[int16]float32) - v, changed := fastpathTV.DecMapInt16Float32V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapInt16Float32V(rv2i(rv).(map[int16]float32), false, d) - } -} -func (f fastpathT) DecMapInt16Float32X(vp *map[int16]float32, d *Decoder) { - v, changed := f.DecMapInt16Float32V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapInt16Float32V(v map[int16]float32, canChange bool, - d *Decoder) (_ map[int16]float32, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 6) - v = make(map[int16]float32, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk int16 - var mv float32 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = int16(chkOvf.IntV(dd.DecodeInt64(), 16)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = float32(chkOvf.Float32V(dd.DecodeFloat64())) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapInt16Float64R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[int16]float64) - v, changed := fastpathTV.DecMapInt16Float64V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapInt16Float64V(rv2i(rv).(map[int16]float64), false, d) - } -} -func (f fastpathT) DecMapInt16Float64X(vp *map[int16]float64, d *Decoder) { - v, changed := f.DecMapInt16Float64V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapInt16Float64V(v map[int16]float64, canChange bool, - d *Decoder) (_ map[int16]float64, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 10) - v = make(map[int16]float64, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk int16 - var mv float64 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = int16(chkOvf.IntV(dd.DecodeInt64(), 16)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = dd.DecodeFloat64() - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapInt16BoolR(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[int16]bool) - v, changed := fastpathTV.DecMapInt16BoolV(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapInt16BoolV(rv2i(rv).(map[int16]bool), false, d) - } -} -func (f fastpathT) DecMapInt16BoolX(vp *map[int16]bool, d *Decoder) { - v, changed := f.DecMapInt16BoolV(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapInt16BoolV(v map[int16]bool, canChange bool, - d *Decoder) (_ map[int16]bool, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 3) - v = make(map[int16]bool, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk int16 - var mv bool - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = int16(chkOvf.IntV(dd.DecodeInt64(), 16)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = false - } - continue - } - mv = dd.DecodeBool() - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapInt32IntfR(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[int32]interface{}) - v, changed := fastpathTV.DecMapInt32IntfV(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapInt32IntfV(rv2i(rv).(map[int32]interface{}), false, d) - } -} -func (f fastpathT) DecMapInt32IntfX(vp *map[int32]interface{}, d *Decoder) { - v, changed := f.DecMapInt32IntfV(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapInt32IntfV(v map[int32]interface{}, canChange bool, - d *Decoder) (_ map[int32]interface{}, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 20) - v = make(map[int32]interface{}, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - mapGet := v != nil && !d.h.MapValueReset && !d.h.InterfaceReset - var mk int32 - var mv interface{} - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = int32(chkOvf.IntV(dd.DecodeInt64(), 32)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = nil - } - continue - } - if mapGet { - mv = v[mk] - } else { - mv = nil - } - d.decode(&mv) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapInt32StringR(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[int32]string) - v, changed := fastpathTV.DecMapInt32StringV(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapInt32StringV(rv2i(rv).(map[int32]string), false, d) - } -} -func (f fastpathT) DecMapInt32StringX(vp *map[int32]string, d *Decoder) { - v, changed := f.DecMapInt32StringV(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapInt32StringV(v map[int32]string, canChange bool, - d *Decoder) (_ map[int32]string, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 20) - v = make(map[int32]string, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk int32 - var mv string - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = int32(chkOvf.IntV(dd.DecodeInt64(), 32)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = "" - } - continue - } - mv = dd.DecodeString() - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapInt32UintR(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[int32]uint) - v, changed := fastpathTV.DecMapInt32UintV(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapInt32UintV(rv2i(rv).(map[int32]uint), false, d) - } -} -func (f fastpathT) DecMapInt32UintX(vp *map[int32]uint, d *Decoder) { - v, changed := f.DecMapInt32UintV(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapInt32UintV(v map[int32]uint, canChange bool, - d *Decoder) (_ map[int32]uint, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 12) - v = make(map[int32]uint, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk int32 - var mv uint - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = int32(chkOvf.IntV(dd.DecodeInt64(), 32)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = uint(chkOvf.UintV(dd.DecodeUint64(), uintBitsize)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapInt32Uint8R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[int32]uint8) - v, changed := fastpathTV.DecMapInt32Uint8V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapInt32Uint8V(rv2i(rv).(map[int32]uint8), false, d) - } -} -func (f fastpathT) DecMapInt32Uint8X(vp *map[int32]uint8, d *Decoder) { - v, changed := f.DecMapInt32Uint8V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapInt32Uint8V(v map[int32]uint8, canChange bool, - d *Decoder) (_ map[int32]uint8, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 5) - v = make(map[int32]uint8, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk int32 - var mv uint8 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = int32(chkOvf.IntV(dd.DecodeInt64(), 32)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = uint8(chkOvf.UintV(dd.DecodeUint64(), 8)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapInt32Uint16R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[int32]uint16) - v, changed := fastpathTV.DecMapInt32Uint16V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapInt32Uint16V(rv2i(rv).(map[int32]uint16), false, d) - } -} -func (f fastpathT) DecMapInt32Uint16X(vp *map[int32]uint16, d *Decoder) { - v, changed := f.DecMapInt32Uint16V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapInt32Uint16V(v map[int32]uint16, canChange bool, - d *Decoder) (_ map[int32]uint16, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 6) - v = make(map[int32]uint16, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk int32 - var mv uint16 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = int32(chkOvf.IntV(dd.DecodeInt64(), 32)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = uint16(chkOvf.UintV(dd.DecodeUint64(), 16)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapInt32Uint32R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[int32]uint32) - v, changed := fastpathTV.DecMapInt32Uint32V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapInt32Uint32V(rv2i(rv).(map[int32]uint32), false, d) - } -} -func (f fastpathT) DecMapInt32Uint32X(vp *map[int32]uint32, d *Decoder) { - v, changed := f.DecMapInt32Uint32V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapInt32Uint32V(v map[int32]uint32, canChange bool, - d *Decoder) (_ map[int32]uint32, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 8) - v = make(map[int32]uint32, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk int32 - var mv uint32 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = int32(chkOvf.IntV(dd.DecodeInt64(), 32)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = uint32(chkOvf.UintV(dd.DecodeUint64(), 32)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapInt32Uint64R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[int32]uint64) - v, changed := fastpathTV.DecMapInt32Uint64V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapInt32Uint64V(rv2i(rv).(map[int32]uint64), false, d) - } -} -func (f fastpathT) DecMapInt32Uint64X(vp *map[int32]uint64, d *Decoder) { - v, changed := f.DecMapInt32Uint64V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapInt32Uint64V(v map[int32]uint64, canChange bool, - d *Decoder) (_ map[int32]uint64, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 12) - v = make(map[int32]uint64, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk int32 - var mv uint64 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = int32(chkOvf.IntV(dd.DecodeInt64(), 32)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = dd.DecodeUint64() - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapInt32UintptrR(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[int32]uintptr) - v, changed := fastpathTV.DecMapInt32UintptrV(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapInt32UintptrV(rv2i(rv).(map[int32]uintptr), false, d) - } -} -func (f fastpathT) DecMapInt32UintptrX(vp *map[int32]uintptr, d *Decoder) { - v, changed := f.DecMapInt32UintptrV(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapInt32UintptrV(v map[int32]uintptr, canChange bool, - d *Decoder) (_ map[int32]uintptr, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 12) - v = make(map[int32]uintptr, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk int32 - var mv uintptr - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = int32(chkOvf.IntV(dd.DecodeInt64(), 32)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = uintptr(chkOvf.UintV(dd.DecodeUint64(), uintBitsize)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapInt32IntR(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[int32]int) - v, changed := fastpathTV.DecMapInt32IntV(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapInt32IntV(rv2i(rv).(map[int32]int), false, d) - } -} -func (f fastpathT) DecMapInt32IntX(vp *map[int32]int, d *Decoder) { - v, changed := f.DecMapInt32IntV(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapInt32IntV(v map[int32]int, canChange bool, - d *Decoder) (_ map[int32]int, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 12) - v = make(map[int32]int, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk int32 - var mv int - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = int32(chkOvf.IntV(dd.DecodeInt64(), 32)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = int(chkOvf.IntV(dd.DecodeInt64(), intBitsize)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapInt32Int8R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[int32]int8) - v, changed := fastpathTV.DecMapInt32Int8V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapInt32Int8V(rv2i(rv).(map[int32]int8), false, d) - } -} -func (f fastpathT) DecMapInt32Int8X(vp *map[int32]int8, d *Decoder) { - v, changed := f.DecMapInt32Int8V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapInt32Int8V(v map[int32]int8, canChange bool, - d *Decoder) (_ map[int32]int8, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 5) - v = make(map[int32]int8, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk int32 - var mv int8 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = int32(chkOvf.IntV(dd.DecodeInt64(), 32)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = int8(chkOvf.IntV(dd.DecodeInt64(), 8)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapInt32Int16R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[int32]int16) - v, changed := fastpathTV.DecMapInt32Int16V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapInt32Int16V(rv2i(rv).(map[int32]int16), false, d) - } -} -func (f fastpathT) DecMapInt32Int16X(vp *map[int32]int16, d *Decoder) { - v, changed := f.DecMapInt32Int16V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapInt32Int16V(v map[int32]int16, canChange bool, - d *Decoder) (_ map[int32]int16, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 6) - v = make(map[int32]int16, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk int32 - var mv int16 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = int32(chkOvf.IntV(dd.DecodeInt64(), 32)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = int16(chkOvf.IntV(dd.DecodeInt64(), 16)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapInt32Int32R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[int32]int32) - v, changed := fastpathTV.DecMapInt32Int32V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapInt32Int32V(rv2i(rv).(map[int32]int32), false, d) - } -} -func (f fastpathT) DecMapInt32Int32X(vp *map[int32]int32, d *Decoder) { - v, changed := f.DecMapInt32Int32V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapInt32Int32V(v map[int32]int32, canChange bool, - d *Decoder) (_ map[int32]int32, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 8) - v = make(map[int32]int32, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk int32 - var mv int32 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = int32(chkOvf.IntV(dd.DecodeInt64(), 32)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = int32(chkOvf.IntV(dd.DecodeInt64(), 32)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapInt32Int64R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[int32]int64) - v, changed := fastpathTV.DecMapInt32Int64V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapInt32Int64V(rv2i(rv).(map[int32]int64), false, d) - } -} -func (f fastpathT) DecMapInt32Int64X(vp *map[int32]int64, d *Decoder) { - v, changed := f.DecMapInt32Int64V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapInt32Int64V(v map[int32]int64, canChange bool, - d *Decoder) (_ map[int32]int64, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 12) - v = make(map[int32]int64, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk int32 - var mv int64 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = int32(chkOvf.IntV(dd.DecodeInt64(), 32)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = dd.DecodeInt64() - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapInt32Float32R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[int32]float32) - v, changed := fastpathTV.DecMapInt32Float32V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapInt32Float32V(rv2i(rv).(map[int32]float32), false, d) - } -} -func (f fastpathT) DecMapInt32Float32X(vp *map[int32]float32, d *Decoder) { - v, changed := f.DecMapInt32Float32V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapInt32Float32V(v map[int32]float32, canChange bool, - d *Decoder) (_ map[int32]float32, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 8) - v = make(map[int32]float32, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk int32 - var mv float32 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = int32(chkOvf.IntV(dd.DecodeInt64(), 32)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = float32(chkOvf.Float32V(dd.DecodeFloat64())) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapInt32Float64R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[int32]float64) - v, changed := fastpathTV.DecMapInt32Float64V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapInt32Float64V(rv2i(rv).(map[int32]float64), false, d) - } -} -func (f fastpathT) DecMapInt32Float64X(vp *map[int32]float64, d *Decoder) { - v, changed := f.DecMapInt32Float64V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapInt32Float64V(v map[int32]float64, canChange bool, - d *Decoder) (_ map[int32]float64, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 12) - v = make(map[int32]float64, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk int32 - var mv float64 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = int32(chkOvf.IntV(dd.DecodeInt64(), 32)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = dd.DecodeFloat64() - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapInt32BoolR(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[int32]bool) - v, changed := fastpathTV.DecMapInt32BoolV(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapInt32BoolV(rv2i(rv).(map[int32]bool), false, d) - } -} -func (f fastpathT) DecMapInt32BoolX(vp *map[int32]bool, d *Decoder) { - v, changed := f.DecMapInt32BoolV(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapInt32BoolV(v map[int32]bool, canChange bool, - d *Decoder) (_ map[int32]bool, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 5) - v = make(map[int32]bool, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk int32 - var mv bool - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = int32(chkOvf.IntV(dd.DecodeInt64(), 32)) - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = false - } - continue - } - mv = dd.DecodeBool() - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapInt64IntfR(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[int64]interface{}) - v, changed := fastpathTV.DecMapInt64IntfV(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapInt64IntfV(rv2i(rv).(map[int64]interface{}), false, d) - } -} -func (f fastpathT) DecMapInt64IntfX(vp *map[int64]interface{}, d *Decoder) { - v, changed := f.DecMapInt64IntfV(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapInt64IntfV(v map[int64]interface{}, canChange bool, - d *Decoder) (_ map[int64]interface{}, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 24) - v = make(map[int64]interface{}, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - mapGet := v != nil && !d.h.MapValueReset && !d.h.InterfaceReset - var mk int64 - var mv interface{} - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = dd.DecodeInt64() - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = nil - } - continue - } - if mapGet { - mv = v[mk] - } else { - mv = nil - } - d.decode(&mv) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapInt64StringR(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[int64]string) - v, changed := fastpathTV.DecMapInt64StringV(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapInt64StringV(rv2i(rv).(map[int64]string), false, d) - } -} -func (f fastpathT) DecMapInt64StringX(vp *map[int64]string, d *Decoder) { - v, changed := f.DecMapInt64StringV(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapInt64StringV(v map[int64]string, canChange bool, - d *Decoder) (_ map[int64]string, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 24) - v = make(map[int64]string, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk int64 - var mv string - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = dd.DecodeInt64() - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = "" - } - continue - } - mv = dd.DecodeString() - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapInt64UintR(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[int64]uint) - v, changed := fastpathTV.DecMapInt64UintV(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapInt64UintV(rv2i(rv).(map[int64]uint), false, d) - } -} -func (f fastpathT) DecMapInt64UintX(vp *map[int64]uint, d *Decoder) { - v, changed := f.DecMapInt64UintV(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapInt64UintV(v map[int64]uint, canChange bool, - d *Decoder) (_ map[int64]uint, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 16) - v = make(map[int64]uint, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk int64 - var mv uint - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = dd.DecodeInt64() - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = uint(chkOvf.UintV(dd.DecodeUint64(), uintBitsize)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapInt64Uint8R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[int64]uint8) - v, changed := fastpathTV.DecMapInt64Uint8V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapInt64Uint8V(rv2i(rv).(map[int64]uint8), false, d) - } -} -func (f fastpathT) DecMapInt64Uint8X(vp *map[int64]uint8, d *Decoder) { - v, changed := f.DecMapInt64Uint8V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapInt64Uint8V(v map[int64]uint8, canChange bool, - d *Decoder) (_ map[int64]uint8, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 9) - v = make(map[int64]uint8, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk int64 - var mv uint8 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = dd.DecodeInt64() - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = uint8(chkOvf.UintV(dd.DecodeUint64(), 8)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapInt64Uint16R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[int64]uint16) - v, changed := fastpathTV.DecMapInt64Uint16V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapInt64Uint16V(rv2i(rv).(map[int64]uint16), false, d) - } -} -func (f fastpathT) DecMapInt64Uint16X(vp *map[int64]uint16, d *Decoder) { - v, changed := f.DecMapInt64Uint16V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapInt64Uint16V(v map[int64]uint16, canChange bool, - d *Decoder) (_ map[int64]uint16, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 10) - v = make(map[int64]uint16, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk int64 - var mv uint16 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = dd.DecodeInt64() - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = uint16(chkOvf.UintV(dd.DecodeUint64(), 16)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapInt64Uint32R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[int64]uint32) - v, changed := fastpathTV.DecMapInt64Uint32V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapInt64Uint32V(rv2i(rv).(map[int64]uint32), false, d) - } -} -func (f fastpathT) DecMapInt64Uint32X(vp *map[int64]uint32, d *Decoder) { - v, changed := f.DecMapInt64Uint32V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapInt64Uint32V(v map[int64]uint32, canChange bool, - d *Decoder) (_ map[int64]uint32, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 12) - v = make(map[int64]uint32, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk int64 - var mv uint32 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = dd.DecodeInt64() - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = uint32(chkOvf.UintV(dd.DecodeUint64(), 32)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapInt64Uint64R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[int64]uint64) - v, changed := fastpathTV.DecMapInt64Uint64V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapInt64Uint64V(rv2i(rv).(map[int64]uint64), false, d) - } -} -func (f fastpathT) DecMapInt64Uint64X(vp *map[int64]uint64, d *Decoder) { - v, changed := f.DecMapInt64Uint64V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapInt64Uint64V(v map[int64]uint64, canChange bool, - d *Decoder) (_ map[int64]uint64, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 16) - v = make(map[int64]uint64, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk int64 - var mv uint64 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = dd.DecodeInt64() - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = dd.DecodeUint64() - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapInt64UintptrR(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[int64]uintptr) - v, changed := fastpathTV.DecMapInt64UintptrV(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapInt64UintptrV(rv2i(rv).(map[int64]uintptr), false, d) - } -} -func (f fastpathT) DecMapInt64UintptrX(vp *map[int64]uintptr, d *Decoder) { - v, changed := f.DecMapInt64UintptrV(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapInt64UintptrV(v map[int64]uintptr, canChange bool, - d *Decoder) (_ map[int64]uintptr, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 16) - v = make(map[int64]uintptr, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk int64 - var mv uintptr - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = dd.DecodeInt64() - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = uintptr(chkOvf.UintV(dd.DecodeUint64(), uintBitsize)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapInt64IntR(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[int64]int) - v, changed := fastpathTV.DecMapInt64IntV(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapInt64IntV(rv2i(rv).(map[int64]int), false, d) - } -} -func (f fastpathT) DecMapInt64IntX(vp *map[int64]int, d *Decoder) { - v, changed := f.DecMapInt64IntV(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapInt64IntV(v map[int64]int, canChange bool, - d *Decoder) (_ map[int64]int, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 16) - v = make(map[int64]int, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk int64 - var mv int - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = dd.DecodeInt64() - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = int(chkOvf.IntV(dd.DecodeInt64(), intBitsize)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapInt64Int8R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[int64]int8) - v, changed := fastpathTV.DecMapInt64Int8V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapInt64Int8V(rv2i(rv).(map[int64]int8), false, d) - } -} -func (f fastpathT) DecMapInt64Int8X(vp *map[int64]int8, d *Decoder) { - v, changed := f.DecMapInt64Int8V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapInt64Int8V(v map[int64]int8, canChange bool, - d *Decoder) (_ map[int64]int8, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 9) - v = make(map[int64]int8, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk int64 - var mv int8 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = dd.DecodeInt64() - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = int8(chkOvf.IntV(dd.DecodeInt64(), 8)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapInt64Int16R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[int64]int16) - v, changed := fastpathTV.DecMapInt64Int16V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapInt64Int16V(rv2i(rv).(map[int64]int16), false, d) - } -} -func (f fastpathT) DecMapInt64Int16X(vp *map[int64]int16, d *Decoder) { - v, changed := f.DecMapInt64Int16V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapInt64Int16V(v map[int64]int16, canChange bool, - d *Decoder) (_ map[int64]int16, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 10) - v = make(map[int64]int16, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk int64 - var mv int16 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = dd.DecodeInt64() - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = int16(chkOvf.IntV(dd.DecodeInt64(), 16)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapInt64Int32R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[int64]int32) - v, changed := fastpathTV.DecMapInt64Int32V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapInt64Int32V(rv2i(rv).(map[int64]int32), false, d) - } -} -func (f fastpathT) DecMapInt64Int32X(vp *map[int64]int32, d *Decoder) { - v, changed := f.DecMapInt64Int32V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapInt64Int32V(v map[int64]int32, canChange bool, - d *Decoder) (_ map[int64]int32, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 12) - v = make(map[int64]int32, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk int64 - var mv int32 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = dd.DecodeInt64() - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = int32(chkOvf.IntV(dd.DecodeInt64(), 32)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapInt64Int64R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[int64]int64) - v, changed := fastpathTV.DecMapInt64Int64V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapInt64Int64V(rv2i(rv).(map[int64]int64), false, d) - } -} -func (f fastpathT) DecMapInt64Int64X(vp *map[int64]int64, d *Decoder) { - v, changed := f.DecMapInt64Int64V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapInt64Int64V(v map[int64]int64, canChange bool, - d *Decoder) (_ map[int64]int64, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 16) - v = make(map[int64]int64, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk int64 - var mv int64 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = dd.DecodeInt64() - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = dd.DecodeInt64() - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapInt64Float32R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[int64]float32) - v, changed := fastpathTV.DecMapInt64Float32V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapInt64Float32V(rv2i(rv).(map[int64]float32), false, d) - } -} -func (f fastpathT) DecMapInt64Float32X(vp *map[int64]float32, d *Decoder) { - v, changed := f.DecMapInt64Float32V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapInt64Float32V(v map[int64]float32, canChange bool, - d *Decoder) (_ map[int64]float32, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 12) - v = make(map[int64]float32, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk int64 - var mv float32 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = dd.DecodeInt64() - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = float32(chkOvf.Float32V(dd.DecodeFloat64())) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapInt64Float64R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[int64]float64) - v, changed := fastpathTV.DecMapInt64Float64V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapInt64Float64V(rv2i(rv).(map[int64]float64), false, d) - } -} -func (f fastpathT) DecMapInt64Float64X(vp *map[int64]float64, d *Decoder) { - v, changed := f.DecMapInt64Float64V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapInt64Float64V(v map[int64]float64, canChange bool, - d *Decoder) (_ map[int64]float64, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 16) - v = make(map[int64]float64, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk int64 - var mv float64 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = dd.DecodeInt64() - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = dd.DecodeFloat64() - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapInt64BoolR(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[int64]bool) - v, changed := fastpathTV.DecMapInt64BoolV(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapInt64BoolV(rv2i(rv).(map[int64]bool), false, d) - } -} -func (f fastpathT) DecMapInt64BoolX(vp *map[int64]bool, d *Decoder) { - v, changed := f.DecMapInt64BoolV(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapInt64BoolV(v map[int64]bool, canChange bool, - d *Decoder) (_ map[int64]bool, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 9) - v = make(map[int64]bool, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk int64 - var mv bool - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = dd.DecodeInt64() - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = false - } - continue - } - mv = dd.DecodeBool() - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapBoolIntfR(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[bool]interface{}) - v, changed := fastpathTV.DecMapBoolIntfV(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapBoolIntfV(rv2i(rv).(map[bool]interface{}), false, d) - } -} -func (f fastpathT) DecMapBoolIntfX(vp *map[bool]interface{}, d *Decoder) { - v, changed := f.DecMapBoolIntfV(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapBoolIntfV(v map[bool]interface{}, canChange bool, - d *Decoder) (_ map[bool]interface{}, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 17) - v = make(map[bool]interface{}, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - mapGet := v != nil && !d.h.MapValueReset && !d.h.InterfaceReset - var mk bool - var mv interface{} - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = dd.DecodeBool() - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = nil - } - continue - } - if mapGet { - mv = v[mk] - } else { - mv = nil - } - d.decode(&mv) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapBoolStringR(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[bool]string) - v, changed := fastpathTV.DecMapBoolStringV(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapBoolStringV(rv2i(rv).(map[bool]string), false, d) - } -} -func (f fastpathT) DecMapBoolStringX(vp *map[bool]string, d *Decoder) { - v, changed := f.DecMapBoolStringV(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapBoolStringV(v map[bool]string, canChange bool, - d *Decoder) (_ map[bool]string, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 17) - v = make(map[bool]string, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk bool - var mv string - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = dd.DecodeBool() - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = "" - } - continue - } - mv = dd.DecodeString() - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapBoolUintR(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[bool]uint) - v, changed := fastpathTV.DecMapBoolUintV(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapBoolUintV(rv2i(rv).(map[bool]uint), false, d) - } -} -func (f fastpathT) DecMapBoolUintX(vp *map[bool]uint, d *Decoder) { - v, changed := f.DecMapBoolUintV(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapBoolUintV(v map[bool]uint, canChange bool, - d *Decoder) (_ map[bool]uint, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 9) - v = make(map[bool]uint, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk bool - var mv uint - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = dd.DecodeBool() - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = uint(chkOvf.UintV(dd.DecodeUint64(), uintBitsize)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapBoolUint8R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[bool]uint8) - v, changed := fastpathTV.DecMapBoolUint8V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapBoolUint8V(rv2i(rv).(map[bool]uint8), false, d) - } -} -func (f fastpathT) DecMapBoolUint8X(vp *map[bool]uint8, d *Decoder) { - v, changed := f.DecMapBoolUint8V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapBoolUint8V(v map[bool]uint8, canChange bool, - d *Decoder) (_ map[bool]uint8, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 2) - v = make(map[bool]uint8, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk bool - var mv uint8 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = dd.DecodeBool() - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = uint8(chkOvf.UintV(dd.DecodeUint64(), 8)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapBoolUint16R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[bool]uint16) - v, changed := fastpathTV.DecMapBoolUint16V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapBoolUint16V(rv2i(rv).(map[bool]uint16), false, d) - } -} -func (f fastpathT) DecMapBoolUint16X(vp *map[bool]uint16, d *Decoder) { - v, changed := f.DecMapBoolUint16V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapBoolUint16V(v map[bool]uint16, canChange bool, - d *Decoder) (_ map[bool]uint16, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 3) - v = make(map[bool]uint16, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk bool - var mv uint16 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = dd.DecodeBool() - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = uint16(chkOvf.UintV(dd.DecodeUint64(), 16)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapBoolUint32R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[bool]uint32) - v, changed := fastpathTV.DecMapBoolUint32V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapBoolUint32V(rv2i(rv).(map[bool]uint32), false, d) - } -} -func (f fastpathT) DecMapBoolUint32X(vp *map[bool]uint32, d *Decoder) { - v, changed := f.DecMapBoolUint32V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapBoolUint32V(v map[bool]uint32, canChange bool, - d *Decoder) (_ map[bool]uint32, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 5) - v = make(map[bool]uint32, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk bool - var mv uint32 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = dd.DecodeBool() - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = uint32(chkOvf.UintV(dd.DecodeUint64(), 32)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapBoolUint64R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[bool]uint64) - v, changed := fastpathTV.DecMapBoolUint64V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapBoolUint64V(rv2i(rv).(map[bool]uint64), false, d) - } -} -func (f fastpathT) DecMapBoolUint64X(vp *map[bool]uint64, d *Decoder) { - v, changed := f.DecMapBoolUint64V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapBoolUint64V(v map[bool]uint64, canChange bool, - d *Decoder) (_ map[bool]uint64, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 9) - v = make(map[bool]uint64, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk bool - var mv uint64 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = dd.DecodeBool() - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = dd.DecodeUint64() - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapBoolUintptrR(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[bool]uintptr) - v, changed := fastpathTV.DecMapBoolUintptrV(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapBoolUintptrV(rv2i(rv).(map[bool]uintptr), false, d) - } -} -func (f fastpathT) DecMapBoolUintptrX(vp *map[bool]uintptr, d *Decoder) { - v, changed := f.DecMapBoolUintptrV(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapBoolUintptrV(v map[bool]uintptr, canChange bool, - d *Decoder) (_ map[bool]uintptr, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 9) - v = make(map[bool]uintptr, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk bool - var mv uintptr - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = dd.DecodeBool() - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = uintptr(chkOvf.UintV(dd.DecodeUint64(), uintBitsize)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapBoolIntR(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[bool]int) - v, changed := fastpathTV.DecMapBoolIntV(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapBoolIntV(rv2i(rv).(map[bool]int), false, d) - } -} -func (f fastpathT) DecMapBoolIntX(vp *map[bool]int, d *Decoder) { - v, changed := f.DecMapBoolIntV(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapBoolIntV(v map[bool]int, canChange bool, - d *Decoder) (_ map[bool]int, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 9) - v = make(map[bool]int, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk bool - var mv int - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = dd.DecodeBool() - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = int(chkOvf.IntV(dd.DecodeInt64(), intBitsize)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapBoolInt8R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[bool]int8) - v, changed := fastpathTV.DecMapBoolInt8V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapBoolInt8V(rv2i(rv).(map[bool]int8), false, d) - } -} -func (f fastpathT) DecMapBoolInt8X(vp *map[bool]int8, d *Decoder) { - v, changed := f.DecMapBoolInt8V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapBoolInt8V(v map[bool]int8, canChange bool, - d *Decoder) (_ map[bool]int8, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 2) - v = make(map[bool]int8, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk bool - var mv int8 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = dd.DecodeBool() - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = int8(chkOvf.IntV(dd.DecodeInt64(), 8)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapBoolInt16R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[bool]int16) - v, changed := fastpathTV.DecMapBoolInt16V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapBoolInt16V(rv2i(rv).(map[bool]int16), false, d) - } -} -func (f fastpathT) DecMapBoolInt16X(vp *map[bool]int16, d *Decoder) { - v, changed := f.DecMapBoolInt16V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapBoolInt16V(v map[bool]int16, canChange bool, - d *Decoder) (_ map[bool]int16, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 3) - v = make(map[bool]int16, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk bool - var mv int16 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = dd.DecodeBool() - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = int16(chkOvf.IntV(dd.DecodeInt64(), 16)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapBoolInt32R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[bool]int32) - v, changed := fastpathTV.DecMapBoolInt32V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapBoolInt32V(rv2i(rv).(map[bool]int32), false, d) - } -} -func (f fastpathT) DecMapBoolInt32X(vp *map[bool]int32, d *Decoder) { - v, changed := f.DecMapBoolInt32V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapBoolInt32V(v map[bool]int32, canChange bool, - d *Decoder) (_ map[bool]int32, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 5) - v = make(map[bool]int32, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk bool - var mv int32 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = dd.DecodeBool() - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = int32(chkOvf.IntV(dd.DecodeInt64(), 32)) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapBoolInt64R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[bool]int64) - v, changed := fastpathTV.DecMapBoolInt64V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapBoolInt64V(rv2i(rv).(map[bool]int64), false, d) - } -} -func (f fastpathT) DecMapBoolInt64X(vp *map[bool]int64, d *Decoder) { - v, changed := f.DecMapBoolInt64V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapBoolInt64V(v map[bool]int64, canChange bool, - d *Decoder) (_ map[bool]int64, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 9) - v = make(map[bool]int64, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk bool - var mv int64 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = dd.DecodeBool() - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = dd.DecodeInt64() - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapBoolFloat32R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[bool]float32) - v, changed := fastpathTV.DecMapBoolFloat32V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapBoolFloat32V(rv2i(rv).(map[bool]float32), false, d) - } -} -func (f fastpathT) DecMapBoolFloat32X(vp *map[bool]float32, d *Decoder) { - v, changed := f.DecMapBoolFloat32V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapBoolFloat32V(v map[bool]float32, canChange bool, - d *Decoder) (_ map[bool]float32, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 5) - v = make(map[bool]float32, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk bool - var mv float32 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = dd.DecodeBool() - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = float32(chkOvf.Float32V(dd.DecodeFloat64())) - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapBoolFloat64R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[bool]float64) - v, changed := fastpathTV.DecMapBoolFloat64V(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapBoolFloat64V(rv2i(rv).(map[bool]float64), false, d) - } -} -func (f fastpathT) DecMapBoolFloat64X(vp *map[bool]float64, d *Decoder) { - v, changed := f.DecMapBoolFloat64V(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapBoolFloat64V(v map[bool]float64, canChange bool, - d *Decoder) (_ map[bool]float64, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 9) - v = make(map[bool]float64, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk bool - var mv float64 - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = dd.DecodeBool() - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = 0 - } - continue - } - mv = dd.DecodeFloat64() - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} - -func (d *Decoder) fastpathDecMapBoolBoolR(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[bool]bool) - v, changed := fastpathTV.DecMapBoolBoolV(*vp, true, d) - if changed { - *vp = v - } - } else { - fastpathTV.DecMapBoolBoolV(rv2i(rv).(map[bool]bool), false, d) - } -} -func (f fastpathT) DecMapBoolBoolX(vp *map[bool]bool, d *Decoder) { - v, changed := f.DecMapBoolBoolV(*vp, true, d) - if changed { - *vp = v - } -} -func (_ fastpathT) DecMapBoolBoolV(v map[bool]bool, canChange bool, - d *Decoder) (_ map[bool]bool, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators() - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, 2) - v = make(map[bool]bool, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - var mk bool - var mv bool - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { - dd.ReadMapElemKey() - } - mk = dd.DecodeBool() - if esep { - dd.ReadMapElemValue() - } - if dd.TryDecodeAsNil() { - if v == nil { - } else if d.h.DeleteOnNilMapValue { - delete(v, mk) - } else { - v[mk] = false - } - continue - } - mv = dd.DecodeBool() - if v != nil { - v[mk] = mv - } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} diff --git a/codec/fast-path.go.tmpl b/codec/fast-path.go.tmpl deleted file mode 100644 index 7617c435..00000000 --- a/codec/fast-path.go.tmpl +++ /dev/null @@ -1,491 +0,0 @@ -// +build !notfastpath - -// Copyright (c) 2012-2018 Ugorji Nwoke. All rights reserved. -// Use of this source code is governed by a MIT license found in the LICENSE file. - -// Code generated from fast-path.go.tmpl - DO NOT EDIT. - -package codec - -// Fast path functions try to create a fast path encode or decode implementation -// for common maps and slices. -// -// We define the functions and register then in this single file -// so as not to pollute the encode.go and decode.go, and create a dependency in there. -// This file can be omitted without causing a build failure. -// -// The advantage of fast paths is: -// - Many calls bypass reflection altogether -// -// Currently support -// - slice of all builtin types, -// - map of all builtin types to string or interface value -// - symmetrical maps of all builtin types (e.g. str-str, uint8-uint8) -// This should provide adequate "typical" implementations. -// -// Note that fast track decode functions must handle values for which an address cannot be obtained. -// For example: -// m2 := map[string]int{} -// p2 := []interface{}{m2} -// // decoding into p2 will bomb if fast track functions do not treat like unaddressable. -// - -import ( - "reflect" - "sort" -) - -const fastpathEnabled = true - -const fastpathMapBySliceErrMsg = "mapBySlice requires even slice length, but got %v" - -type fastpathT struct {} - -var fastpathTV fastpathT - -type fastpathE struct { - rtid uintptr - rt reflect.Type - encfn func(*Encoder, *codecFnInfo, reflect.Value) - decfn func(*Decoder, *codecFnInfo, reflect.Value) -} - -type fastpathA [{{ .FastpathLen }}]fastpathE - -func (x *fastpathA) index(rtid uintptr) int { - // use binary search to grab the index (adapted from sort/search.go) - // Note: we use goto (instead of for loop) so this can be inlined. - // h, i, j := 0, 0, len(x) - var h, i uint - var j = uint(len(x)) -LOOP: - if i < j { - h = i + (j-i)/2 - if x[h].rtid < rtid { - i = h + 1 - } else { - j = h - } - goto LOOP - } - if i < uint(len(x)) && x[i].rtid == rtid { - return int(i) - } - return -1 -} - -type fastpathAslice []fastpathE - -func (x fastpathAslice) Len() int { return len(x) } -func (x fastpathAslice) Less(i, j int) bool { return x[uint(i)].rtid < x[uint(j)].rtid } -func (x fastpathAslice) Swap(i, j int) { x[uint(i)], x[uint(j)] = x[uint(j)], x[uint(i)] } - -var fastpathAV fastpathA - -// due to possible initialization loop error, make fastpath in an init() -func init() { - var i uint = 0 - fn := func(v interface{}, - fe func(*Encoder, *codecFnInfo, reflect.Value), - fd func(*Decoder, *codecFnInfo, reflect.Value)) { - xrt := reflect.TypeOf(v) - xptr := rt2id(xrt) - fastpathAV[i] = fastpathE{xptr, xrt, fe, fd} - i++ - } - {{/* do not register []uint8 in fast-path */}} - {{range .Values}}{{if not .Primitive}}{{if not .MapKey }}{{if ne .Elem "uint8"}} - fn([]{{ .Elem }}(nil), (*Encoder).{{ .MethodNamePfx "fastpathEnc" false }}R, (*Decoder).{{ .MethodNamePfx "fastpathDec" false }}R){{end}}{{end}}{{end}}{{end}} - - {{range .Values}}{{if not .Primitive}}{{if .MapKey }} - fn(map[{{ .MapKey }}]{{ .Elem }}(nil), (*Encoder).{{ .MethodNamePfx "fastpathEnc" false }}R, (*Decoder).{{ .MethodNamePfx "fastpathDec" false }}R){{end}}{{end}}{{end}} - - sort.Sort(fastpathAslice(fastpathAV[:])) -} - -// -- encode - -// -- -- fast path type switch -func fastpathEncodeTypeSwitch(iv interface{}, e *Encoder) bool { - switch v := iv.(type) { - -{{range .Values}}{{if not .Primitive}}{{if not .MapKey }}{{if ne .Elem "uint8"}} - case []{{ .Elem }}: - fastpathTV.{{ .MethodNamePfx "Enc" false }}V(v, e) - case *[]{{ .Elem }}: - fastpathTV.{{ .MethodNamePfx "Enc" false }}V(*v, e){{/* -*/}}{{end}}{{end}}{{end}}{{end}} - -{{range .Values}}{{if not .Primitive}}{{if .MapKey }} - case map[{{ .MapKey }}]{{ .Elem }}: - fastpathTV.{{ .MethodNamePfx "Enc" false }}V(v, e) - case *map[{{ .MapKey }}]{{ .Elem }}: - fastpathTV.{{ .MethodNamePfx "Enc" false }}V(*v, e){{/* -*/}}{{end}}{{end}}{{end}} - - default: - _ = v // workaround https://github.com/golang/go/issues/12927 seen in go1.4 - return false - } - return true -} - -{{/* -**** removing this block, as they are never called directly **** - - - -**** removing this block, as they are never called directly **** - - - -func fastpathEncodeTypeSwitchSlice(iv interface{}, e *Encoder) bool { - switch v := iv.(type) { -{{range .Values}}{{if not .Primitive}}{{if not .MapKey }} - case []{{ .Elem }}: - fastpathTV.{{ .MethodNamePfx "Enc" false }}V(v, e) - case *[]{{ .Elem }}: - fastpathTV.{{ .MethodNamePfx "Enc" false }}V(*v, e) -{{end}}{{end}}{{end}} - default: - _ = v // workaround https://github.com/golang/go/issues/12927 seen in go1.4 - return false - } - return true -} - -func fastpathEncodeTypeSwitchMap(iv interface{}, e *Encoder) bool { - switch v := iv.(type) { -{{range .Values}}{{if not .Primitive}}{{if .MapKey }} - case map[{{ .MapKey }}]{{ .Elem }}: - fastpathTV.{{ .MethodNamePfx "Enc" false }}V(v, e) - case *map[{{ .MapKey }}]{{ .Elem }}: - fastpathTV.{{ .MethodNamePfx "Enc" false }}V(*v, e) -{{end}}{{end}}{{end}} - default: - _ = v // workaround https://github.com/golang/go/issues/12927 seen in go1.4 - return false - } - return true -} - - - -**** removing this block, as they are never called directly **** - - - -**** removing this block, as they are never called directly **** -*/}} - -// -- -- fast path functions -{{range .Values}}{{if not .Primitive}}{{if not .MapKey }} -func (e *Encoder) {{ .MethodNamePfx "fastpathEnc" false }}R(f *codecFnInfo, rv reflect.Value) { - if f.ti.mbs { - fastpathTV.{{ .MethodNamePfx "EncAsMap" false }}V(rv2i(rv).([]{{ .Elem }}), e) - } else { - fastpathTV.{{ .MethodNamePfx "Enc" false }}V(rv2i(rv).([]{{ .Elem }}), e) - } -} -func (_ fastpathT) {{ .MethodNamePfx "Enc" false }}V(v []{{ .Elem }}, e *Encoder) { - if v == nil { e.e.EncodeNil(); return } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteArrayStart(len(v)) - for _, v2 := range v { - if esep { ee.WriteArrayElem() } - {{ encmd .Elem "v2"}} - } - ee.WriteArrayEnd() -} -func (_ fastpathT) {{ .MethodNamePfx "EncAsMap" false }}V(v []{{ .Elem }}, e *Encoder) { - ee, esep := e.e, e.hh.hasElemSeparators() - if len(v)%2 == 1 { - e.errorf(fastpathMapBySliceErrMsg, len(v)) - return - } - ee.WriteMapStart(len(v) / 2) - for j, v2 := range v { - if esep { - if j%2 == 0 { - ee.WriteMapElemKey() - } else { - ee.WriteMapElemValue() - } - } - {{ encmd .Elem "v2"}} - } - ee.WriteMapEnd() -} -{{end}}{{end}}{{end}} - -{{range .Values}}{{if not .Primitive}}{{if .MapKey }} -func (e *Encoder) {{ .MethodNamePfx "fastpathEnc" false }}R(f *codecFnInfo, rv reflect.Value) { - fastpathTV.{{ .MethodNamePfx "Enc" false }}V(rv2i(rv).(map[{{ .MapKey }}]{{ .Elem }}), e) -} -func (_ fastpathT) {{ .MethodNamePfx "Enc" false }}V(v map[{{ .MapKey }}]{{ .Elem }}, e *Encoder) { - if v == nil { e.e.EncodeNil(); return } - ee, esep := e.e, e.hh.hasElemSeparators() - ee.WriteMapStart(len(v)) - if e.h.Canonical { - {{if eq .MapKey "interface{}"}}{{/* out of band - */}}var mksv []byte = make([]byte, 0, len(v)*16) // temporary byte slice for the encoding - e2 := NewEncoderBytes(&mksv, e.hh) - v2 := make([]bytesI, len(v)) - var i, l uint - var vp *bytesI {{/* put loop variables outside. seems currently needed for better perf */}} - for k2 := range v { - l = uint(len(mksv)) - e2.MustEncode(k2) - vp = &v2[i] - vp.v = mksv[l:] - vp.i = k2 - i++ - } - sort.Sort(bytesISlice(v2)) - for j := range v2 { - if esep { ee.WriteMapElemKey() } - e.asis(v2[j].v) - if esep { ee.WriteMapElemValue() } - e.encode(v[v2[j].i]) - } {{else}}{{ $x := sorttype .MapKey true}}v2 := make([]{{ $x }}, len(v)) - var i uint - for k := range v { - v2[i] = {{ $x }}(k) - i++ - } - sort.Sort({{ sorttype .MapKey false}}(v2)) - for _, k2 := range v2 { - if esep { ee.WriteMapElemKey() } - {{if eq .MapKey "string"}} if e.h.StringToRaw {ee.EncodeStringBytesRaw(bytesView(k2))} else {ee.EncodeStringEnc(cUTF8, k2)} {{else}}{{ $y := printf "%s(k2)" .MapKey }}{{ encmd .MapKey $y }}{{end}} - if esep { ee.WriteMapElemValue() } - {{ $y := printf "v[%s(k2)]" .MapKey }}{{ encmd .Elem $y }} - } {{end}} - } else { - for k2, v2 := range v { - if esep { ee.WriteMapElemKey() } - {{if eq .MapKey "string"}} if e.h.StringToRaw {ee.EncodeStringBytesRaw(bytesView(k2))} else {ee.EncodeStringEnc(cUTF8, k2)} {{else}}{{ encmd .MapKey "k2"}}{{end}} - if esep { ee.WriteMapElemValue() } - {{ encmd .Elem "v2"}} - } - } - ee.WriteMapEnd() -} -{{end}}{{end}}{{end}} - -// -- decode - -// -- -- fast path type switch -func fastpathDecodeTypeSwitch(iv interface{}, d *Decoder) bool { - var changed bool - switch v := iv.(type) { -{{range .Values}}{{if not .Primitive}}{{if not .MapKey }}{{if ne .Elem "uint8"}} - case []{{ .Elem }}: - var v2 []{{ .Elem }} - v2, changed = fastpathTV.{{ .MethodNamePfx "Dec" false }}V(v, false, d) - if changed && len(v) > 0 && len(v2) > 0 && !(len(v2) == len(v) && &v2[0] == &v[0]) { - copy(v, v2) - } - case *[]{{ .Elem }}: - var v2 []{{ .Elem }} - v2, changed = fastpathTV.{{ .MethodNamePfx "Dec" false }}V(*v, true, d) - if changed { - *v = v2 - }{{/* -*/}}{{end}}{{end}}{{end}}{{end}} -{{range .Values}}{{if not .Primitive}}{{if .MapKey }}{{/* -// maps only change if nil, and in that case, there's no point copying -*/}} - case map[{{ .MapKey }}]{{ .Elem }}: - fastpathTV.{{ .MethodNamePfx "Dec" false }}V(v, false, d) - case *map[{{ .MapKey }}]{{ .Elem }}: - var v2 map[{{ .MapKey }}]{{ .Elem }} - v2, changed = fastpathTV.{{ .MethodNamePfx "Dec" false }}V(*v, true, d) - if changed { - *v = v2 - }{{/* -*/}}{{end}}{{end}}{{end}} - default: - _ = v // workaround https://github.com/golang/go/issues/12927 seen in go1.4 - return false - } - return true -} - -func fastpathDecodeSetZeroTypeSwitch(iv interface{}) bool { - switch v := iv.(type) { -{{range .Values}}{{if not .Primitive}}{{if not .MapKey }} - case *[]{{ .Elem }}: - *v = nil {{/* -*/}}{{end}}{{end}}{{end}} -{{range .Values}}{{if not .Primitive}}{{if .MapKey }} - case *map[{{ .MapKey }}]{{ .Elem }}: - *v = nil {{/* -*/}}{{end}}{{end}}{{end}} - default: - _ = v // workaround https://github.com/golang/go/issues/12927 seen in go1.4 - return false - } - return true -} - -// -- -- fast path functions -{{range .Values}}{{if not .Primitive}}{{if not .MapKey }} -{{/* -Slices can change if they -- did not come from an array -- are addressable (from a ptr) -- are settable (e.g. contained in an interface{}) -*/}} -func (d *Decoder) {{ .MethodNamePfx "fastpathDec" false }}R(f *codecFnInfo, rv reflect.Value) { - if array := f.seq == seqTypeArray; !array && rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*[]{{ .Elem }}) - v, changed := fastpathTV.{{ .MethodNamePfx "Dec" false }}V(*vp, !array, d) - if changed { *vp = v } - } else { - v := rv2i(rv).([]{{ .Elem }}) - v2, changed := fastpathTV.{{ .MethodNamePfx "Dec" false }}V(v, !array, d) - if changed && len(v) > 0 && len(v2) > 0 && !(len(v2) == len(v) && &v2[0] == &v[0]) { - copy(v, v2) - } - } -} -func (f fastpathT) {{ .MethodNamePfx "Dec" false }}X(vp *[]{{ .Elem }}, d *Decoder) { - v, changed := f.{{ .MethodNamePfx "Dec" false }}V(*vp, true, d) - if changed { *vp = v } -} -func (_ fastpathT) {{ .MethodNamePfx "Dec" false }}V(v []{{ .Elem }}, canChange bool, d *Decoder) (_ []{{ .Elem }}, changed bool) { - dd := d.d{{/* - // if dd.isContainerType(valueTypeNil) { dd.TryDecodeAsNil() - */}} - slh, containerLenS := d.decSliceHelperStart() - if containerLenS == 0 { - if canChange { - if v == nil { v = []{{ .Elem }}{} } else if len(v) != 0 { v = v[:0] } - changed = true - } - slh.End() - return v, changed - } - d.depthIncr() - hasLen := containerLenS > 0 - var xlen int - if hasLen && canChange { - if containerLenS > cap(v) { - xlen = decInferLen(containerLenS, d.h.MaxInitLen, {{ .Size }}) - if xlen <= cap(v) { - v = v[:uint(xlen)] - } else { - v = make([]{{ .Elem }}, uint(xlen)) - } - changed = true - } else if containerLenS != len(v) { - v = v[:containerLenS] - changed = true - } - } - var j int - for j = 0; (hasLen && j < containerLenS) || !(hasLen || dd.CheckBreak()); j++ { - if j == 0 && len(v) == 0 && canChange { - if hasLen { - xlen = decInferLen(containerLenS, d.h.MaxInitLen, {{ .Size }}) - } else { - xlen = 8 - } - v = make([]{{ .Elem }}, uint(xlen)) - changed = true - } - // if indefinite, etc, then expand the slice if necessary - var decodeIntoBlank bool - if j >= len(v) { - if canChange { - v = append(v, {{ zerocmd .Elem }}) - changed = true - } else { - d.arrayCannotExpand(len(v), j+1) - decodeIntoBlank = true - } - } - slh.ElemContainerState(j) - if decodeIntoBlank { - d.swallow() - } else if dd.TryDecodeAsNil() { - v[uint(j)] = {{ zerocmd .Elem }} - } else { - {{ if eq .Elem "interface{}" }}d.decode(&v[uint(j)]){{ else }}v[uint(j)] = {{ decmd .Elem }}{{ end }} - } - } - if canChange { - if j < len(v) { - v = v[:uint(j)] - changed = true - } else if j == 0 && v == nil { - v = make([]{{ .Elem }}, 0) - changed = true - } - } - slh.End() - d.depthDecr() - return v, changed -} -{{end}}{{end}}{{end}} - -{{range .Values}}{{if not .Primitive}}{{if .MapKey }} -{{/* -Maps can change if they are -- addressable (from a ptr) -- settable (e.g. contained in an interface{}) -*/}} -func (d *Decoder) {{ .MethodNamePfx "fastpathDec" false }}R(f *codecFnInfo, rv reflect.Value) { - if rv.Kind() == reflect.Ptr { - vp := rv2i(rv).(*map[{{ .MapKey }}]{{ .Elem }}) - v, changed := fastpathTV.{{ .MethodNamePfx "Dec" false }}V(*vp, true, d); - if changed { *vp = v } - } else { - fastpathTV.{{ .MethodNamePfx "Dec" false }}V(rv2i(rv).(map[{{ .MapKey }}]{{ .Elem }}), false, d) - } -} -func (f fastpathT) {{ .MethodNamePfx "Dec" false }}X(vp *map[{{ .MapKey }}]{{ .Elem }}, d *Decoder) { - v, changed := f.{{ .MethodNamePfx "Dec" false }}V(*vp, true, d) - if changed { *vp = v } -} -func (_ fastpathT) {{ .MethodNamePfx "Dec" false }}V(v map[{{ .MapKey }}]{{ .Elem }}, canChange bool, - d *Decoder) (_ map[{{ .MapKey }}]{{ .Elem }}, changed bool) { - dd, esep := d.d, d.hh.hasElemSeparators(){{/* - // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil() - */}} - containerLen := dd.ReadMapStart() - if canChange && v == nil { - xlen := decInferLen(containerLen, d.h.MaxInitLen, {{ .Size }}) - v = make(map[{{ .MapKey }}]{{ .Elem }}, xlen) - changed = true - } - if containerLen == 0 { - dd.ReadMapEnd() - return v, changed - } - d.depthIncr() - {{ if eq .Elem "interface{}" }}mapGet := v != nil && !d.h.MapValueReset && !d.h.InterfaceReset - {{end}}var mk {{ .MapKey }} - var mv {{ .Elem }} - hasLen := containerLen > 0 - for j := 0; (hasLen && j < containerLen) || !(hasLen || dd.CheckBreak()); j++ { - if esep { dd.ReadMapElemKey() } - {{ if eq .MapKey "interface{}" }}mk = nil - d.decode(&mk) - if bv, bok := mk.([]byte); bok { - mk = d.string(bv) {{/* // maps cannot have []byte as key. switch to string. */}} - }{{ else }}mk = {{ decmd .MapKey }}{{ end }} - if esep { dd.ReadMapElemValue() } - if dd.TryDecodeAsNil() { - if v == nil {} else if d.h.DeleteOnNilMapValue { delete(v, mk) } else { v[mk] = {{ zerocmd .Elem }} } - continue - } - {{ if eq .Elem "interface{}" }}if mapGet { mv = v[mk] } else { mv = nil } - d.decode(&mv){{ else }}mv = {{ decmd .Elem }}{{ end }} - if v != nil { v[mk] = mv } - } - dd.ReadMapEnd() - d.depthDecr() - return v, changed -} -{{end}}{{end}}{{end}} diff --git a/codec/fast-path.not.go b/codec/fast-path.not.go index cf97db0f..93cb754a 100644 --- a/codec/fast-path.not.go +++ b/codec/fast-path.not.go @@ -1,21 +1,13 @@ // Copyright (c) 2012-2018 Ugorji Nwoke. All rights reserved. // Use of this source code is governed by a MIT license found in the LICENSE file. -// +build notfastpath - package codec import "reflect" -const fastpathEnabled = false +// fastpath was removed for safety reasons -// The generated fast-path code is very large, and adds a few seconds to the build time. -// This causes test execution, execution of small tools which use codec, etc -// to take a long time. -// -// To mitigate, we now support the notfastpath tag. -// This tag disables fastpath during build, allowing for faster build, test execution, -// short-program runs, etc. +const fastpathEnabled = false func fastpathDecodeTypeSwitch(iv interface{}, d *Decoder) bool { return false } func fastpathEncodeTypeSwitch(iv interface{}, e *Encoder) bool { return false } @@ -44,4 +36,4 @@ var fastpathAV fastpathA var fastpathTV fastpathT // ---- -type TestMammoth2Wrapper struct{} // to allow testMammoth work in notfastpath mode +// type TestMammoth2Wrapper struct{} diff --git a/codec/gen-internal.go b/codec/gen-internal.go new file mode 100644 index 00000000..d3c51a53 --- /dev/null +++ b/codec/gen-internal.go @@ -0,0 +1,284 @@ +// Copyright (c) 2012-2018 Ugorji Nwoke. All rights reserved. +// Use of this source code is governed by a MIT license found in the LICENSE file. + +package codec + +import ( + "bytes" + "errors" + "go/format" + "io" + "io/ioutil" + "strings" + "sync" + "text/template" +) + +const genVersion = 10 + +func genInternalEncCommandAsString(s string, vname string) string { + switch s { + case "uint", "uint8", "uint16", "uint32", "uint64": + return "ee.EncodeUint(uint64(" + vname + "))" + case "int", "int8", "int16", "int32", "int64": + return "ee.EncodeInt(int64(" + vname + "))" + case "string": + return "if e.h.StringToRaw { ee.EncodeStringBytesRaw(bytesView(" + vname + ")) " + + "} else { ee.EncodeStringEnc(cUTF8, " + vname + ") }" + case "float32": + return "ee.EncodeFloat32(" + vname + ")" + case "float64": + return "ee.EncodeFloat64(" + vname + ")" + case "bool": + return "ee.EncodeBool(" + vname + ")" + // case "symbol": + // return "ee.EncodeSymbol(" + vname + ")" + default: + return "e.encode(" + vname + ")" + } +} + +func genInternalDecCommandAsString(s string) string { + switch s { + case "uint": + return "uint(chkOvf.UintV(dd.DecodeUint64(), uintBitsize))" + case "uint8": + return "uint8(chkOvf.UintV(dd.DecodeUint64(), 8))" + case "uint16": + return "uint16(chkOvf.UintV(dd.DecodeUint64(), 16))" + case "uint32": + return "uint32(chkOvf.UintV(dd.DecodeUint64(), 32))" + case "uint64": + return "dd.DecodeUint64()" + case "uintptr": + return "uintptr(chkOvf.UintV(dd.DecodeUint64(), uintBitsize))" + case "int": + return "int(chkOvf.IntV(dd.DecodeInt64(), intBitsize))" + case "int8": + return "int8(chkOvf.IntV(dd.DecodeInt64(), 8))" + case "int16": + return "int16(chkOvf.IntV(dd.DecodeInt64(), 16))" + case "int32": + return "int32(chkOvf.IntV(dd.DecodeInt64(), 32))" + case "int64": + return "dd.DecodeInt64()" + + case "string": + return "dd.DecodeString()" + case "float32": + return "float32(chkOvf.Float32V(dd.DecodeFloat64()))" + case "float64": + return "dd.DecodeFloat64()" + case "bool": + return "dd.DecodeBool()" + default: + panic(errors.New("gen internal: unknown type for decode: " + s)) + } +} + +func genInternalZeroValue(s string) string { + switch s { + case "interface{}", "interface {}": + return "nil" + case "bool": + return "false" + case "string": + return `""` + default: + return "0" + } +} + +var genInternalNonZeroValueIdx [5]uint64 +var genInternalNonZeroValueStrs = [2][5]string{ + {`"string-is-an-interface"`, "true", `"some-string"`, "11.1", "33"}, + {`"string-is-an-interface-2"`, "true", `"some-string-2"`, "22.2", "44"}, +} + +func genInternalNonZeroValue(s string) string { + switch s { + case "interface{}", "interface {}": + genInternalNonZeroValueIdx[0]++ + return genInternalNonZeroValueStrs[genInternalNonZeroValueIdx[0]%2][0] // return string, to remove ambiguity + case "bool": + genInternalNonZeroValueIdx[1]++ + return genInternalNonZeroValueStrs[genInternalNonZeroValueIdx[1]%2][1] + case "string": + genInternalNonZeroValueIdx[2]++ + return genInternalNonZeroValueStrs[genInternalNonZeroValueIdx[2]%2][2] + case "float32", "float64", "float", "double": + genInternalNonZeroValueIdx[3]++ + return genInternalNonZeroValueStrs[genInternalNonZeroValueIdx[3]%2][3] + default: + genInternalNonZeroValueIdx[4]++ + return genInternalNonZeroValueStrs[genInternalNonZeroValueIdx[4]%2][4] + } +} + +func genInternalSortType(s string, elem bool) string { + for _, v := range [...]string{"int", "uint", "float", "bool", "string"} { + if strings.HasPrefix(s, v) { + if elem { + if v == "int" || v == "uint" || v == "float" { + return v + "64" + } else { + return v + } + } + return v + "Slice" + } + } + panic("sorttype: unexpected type: " + s) +} + +type genV struct { + // genV is either a primitive (Primitive != "") or a map (MapKey != "") or a slice + MapKey string + Elem string + Primitive string + Size int +} + +type genInternal struct { + Version int + Values []genV +} + +func (x genInternal) FastpathLen() (l int) { + for _, v := range x.Values { + if v.Primitive == "" && !(v.MapKey == "" && v.Elem == "uint8") { + l++ + } + } + return +} + +// var genInternalMu sync.Mutex +var genInternalV = genInternal{Version: genVersion} +var genInternalTmplFuncs template.FuncMap +var genInternalOnce sync.Once + +func genInternalInit() { + types := [...]string{ + "interface{}", + "string", + "float32", + "float64", + "uint", + "uint8", + "uint16", + "uint32", + "uint64", + "uintptr", + "int", + "int8", + "int16", + "int32", + "int64", + "bool", + } + // keep as slice, so it is in specific iteration order. + // Initial order was uint64, string, interface{}, int, int64 + mapvaltypes := [...]string{ + "interface{}", + "string", + "uint", + "uint8", + "uint16", + "uint32", + "uint64", + "uintptr", + "int", + "int8", + "int16", + "int32", + "int64", + "float32", + "float64", + "bool", + } + wordSizeBytes := int(intBitsize) / 8 + + mapvaltypes2 := map[string]int{ + "interface{}": 2 * wordSizeBytes, + "string": 2 * wordSizeBytes, + "uint": 1 * wordSizeBytes, + "uint8": 1, + "uint16": 2, + "uint32": 4, + "uint64": 8, + "uintptr": 1 * wordSizeBytes, + "int": 1 * wordSizeBytes, + "int8": 1, + "int16": 2, + "int32": 4, + "int64": 8, + "float32": 4, + "float64": 8, + "bool": 1, + } + var gt = genInternal{Version: genVersion} + + // For each slice or map type, there must be a (symmetrical) Encode and Decode fast-path function + for _, s := range types { + gt.Values = append(gt.Values, genV{Primitive: s, Size: mapvaltypes2[s]}) + // if s != "uint8" { // do not generate fast path for slice of bytes. Treat specially already. + // gt.Values = append(gt.Values, genV{Elem: s, Size: mapvaltypes2[s]}) + // } + gt.Values = append(gt.Values, genV{Elem: s, Size: mapvaltypes2[s]}) + if _, ok := mapvaltypes2[s]; !ok { + gt.Values = append(gt.Values, genV{MapKey: s, Elem: s, Size: 2 * mapvaltypes2[s]}) + } + for _, ms := range mapvaltypes { + gt.Values = append(gt.Values, genV{MapKey: s, Elem: ms, Size: mapvaltypes2[s] + mapvaltypes2[ms]}) + } + } + + funcs := make(template.FuncMap) + // funcs["haspfx"] = strings.HasPrefix + funcs["encmd"] = genInternalEncCommandAsString + funcs["decmd"] = genInternalDecCommandAsString + funcs["zerocmd"] = genInternalZeroValue + funcs["nonzerocmd"] = genInternalNonZeroValue + funcs["hasprefix"] = strings.HasPrefix + funcs["sorttype"] = genInternalSortType + + genInternalV = gt + genInternalTmplFuncs = funcs +} + +// genInternalGoFile is used to generate source files from templates. +// It is run by the program author alone. +// Unfortunately, it has to be exported so that it can be called from a command line tool. +// *** DO NOT USE *** +func genInternalGoFile(r io.Reader, w io.Writer) (err error) { + genInternalOnce.Do(genInternalInit) + + gt := genInternalV + + t := template.New("").Funcs(genInternalTmplFuncs) + + tmplstr, err := ioutil.ReadAll(r) + if err != nil { + return + } + + if t, err = t.Parse(string(tmplstr)); err != nil { + return + } + + var out bytes.Buffer + err = t.Execute(&out, gt) + if err != nil { + return + } + + bout, err := format.Source(out.Bytes()) + if err != nil { + w.Write(out.Bytes()) // write out if error, so we can still see. + // w.Write(bout) // write out if error, as much as possible, so we can still see. + return + } + w.Write(bout) + return +} diff --git a/codec/gen.go b/codec/gen.go index 74c4aa86..73c6242a 100644 --- a/codec/gen.go +++ b/codec/gen.go @@ -1,3 +1,4 @@ +//go:build codecgen.exec // +build codecgen.exec // Copyright (c) 2012-2018 Ugorji Nwoke. All rights reserved. @@ -6,20 +7,16 @@ package codec import ( - "bytes" "encoding/base64" "errors" "fmt" - "go/format" "io" - "io/ioutil" "math/rand" "reflect" "regexp" "sort" "strconv" "strings" - "sync" "text/template" "time" "unicode" @@ -28,15 +25,15 @@ import ( // --------------------------------------------------- // codecgen supports the full cycle of reflection-based codec: -// - RawExt -// - Raw -// - Extensions -// - (Binary|Text|JSON)(Unm|M)arshal -// - generic by-kind +// - RawExt +// - Raw +// - Extensions +// - (Binary|Text|JSON)(Unm|M)arshal +// - generic by-kind // // This means that, for dynamic things, we MUST use reflection to at least get the reflect.Type. // In those areas, we try to only do reflection or interface-conversion when NECESSARY: -// - Extensions, only if Extensions are configured. +// - Extensions, only if Extensions are configured. // // However, codecgen doesn't support the following: // - Canonical option. (codecgen IGNORES it currently) @@ -48,11 +45,12 @@ import ( // A type implementing Selfer will know how to encode/decode itself statically. // // The following field types are supported: -// array: [n]T -// slice: []T -// map: map[K]V -// primitive: [u]int[n], float(32|64), bool, string -// struct +// +// array: [n]T +// slice: []T +// map: map[K]V +// primitive: [u]int[n], float(32|64), bool, string +// struct // // --------------------------------------------------- // Note that a Selfer cannot call (e|d).(En|De)code on itself, @@ -81,13 +79,10 @@ import ( // codecgen will panic if the file was generated with an old version of the library in use. // // Note: -// It was a conscious decision to have gen.go always explicitly call EncodeNil or TryDecodeAsNil. -// This way, there isn't a function call overhead just to see that we should not enter a block of code. // -// Note: -// codecgen-generated code depends on the variables defined by fast-path.generated.go. -// consequently, you cannot run with tags "codecgen notfastpath". - +// It was a conscious decision to have gen.go always explicitly call EncodeNil or TryDecodeAsNil. +// This way, there isn't a function call overhead just to see that we should not enter a block of code. +// // GenVersion is the current version of codecgen. // // NOTE: Increment this value each time codecgen changes fundamentally. @@ -98,7 +93,9 @@ import ( // v1: Initial Version // v2: // v3: Changes for Kubernetes: -// changes in signature of some unpublished helper methods and codecgen cmdline arguments. +// +// changes in signature of some unpublished helper methods and codecgen cmdline arguments. +// // v4: Removed separator support from (en|de)cDriver, and refactored codec(gen) // v5: changes to support faster json decoding. Let encoder/decoder maintain state of collections. // v6: removed unsafe from gen, and now uses codecgen.exec tag @@ -106,8 +103,6 @@ import ( // v8: current - we now maintain compatibility with old generated code. // v9: skipped // v10: modified encDriver and decDriver interfaces. Remove deprecated methods after Jan 1, 2019 -const genVersion = 10 - const ( genCodecPkg = "codec1978" genTempVarPfx = "yy" @@ -1701,14 +1696,6 @@ func (x *genRunner) decStruct(varname string, rtid uintptr, t reflect.Type) { // -------- -type genV struct { - // genV is either a primitive (Primitive != "") or a map (MapKey != "") or a slice - MapKey string - Elem string - Primitive string - Size int -} - func (x *genRunner) newGenV(t reflect.Type) (v genV) { switch t.Kind() { case reflect.Slice, reflect.Array: @@ -1876,135 +1863,6 @@ func genIsImmutable(t reflect.Type) (v bool) { return isImmutableKind(t.Kind()) } -type genInternal struct { - Version int - Values []genV -} - -func (x genInternal) FastpathLen() (l int) { - for _, v := range x.Values { - if v.Primitive == "" && !(v.MapKey == "" && v.Elem == "uint8") { - l++ - } - } - return -} - -func genInternalZeroValue(s string) string { - switch s { - case "interface{}", "interface {}": - return "nil" - case "bool": - return "false" - case "string": - return `""` - default: - return "0" - } -} - -var genInternalNonZeroValueIdx [5]uint64 -var genInternalNonZeroValueStrs = [2][5]string{ - {`"string-is-an-interface"`, "true", `"some-string"`, "11.1", "33"}, - {`"string-is-an-interface-2"`, "true", `"some-string-2"`, "22.2", "44"}, -} - -func genInternalNonZeroValue(s string) string { - switch s { - case "interface{}", "interface {}": - genInternalNonZeroValueIdx[0]++ - return genInternalNonZeroValueStrs[genInternalNonZeroValueIdx[0]%2][0] // return string, to remove ambiguity - case "bool": - genInternalNonZeroValueIdx[1]++ - return genInternalNonZeroValueStrs[genInternalNonZeroValueIdx[1]%2][1] - case "string": - genInternalNonZeroValueIdx[2]++ - return genInternalNonZeroValueStrs[genInternalNonZeroValueIdx[2]%2][2] - case "float32", "float64", "float", "double": - genInternalNonZeroValueIdx[3]++ - return genInternalNonZeroValueStrs[genInternalNonZeroValueIdx[3]%2][3] - default: - genInternalNonZeroValueIdx[4]++ - return genInternalNonZeroValueStrs[genInternalNonZeroValueIdx[4]%2][4] - } -} - -func genInternalEncCommandAsString(s string, vname string) string { - switch s { - case "uint", "uint8", "uint16", "uint32", "uint64": - return "ee.EncodeUint(uint64(" + vname + "))" - case "int", "int8", "int16", "int32", "int64": - return "ee.EncodeInt(int64(" + vname + "))" - case "string": - return "if e.h.StringToRaw { ee.EncodeStringBytesRaw(bytesView(" + vname + ")) " + - "} else { ee.EncodeStringEnc(cUTF8, " + vname + ") }" - case "float32": - return "ee.EncodeFloat32(" + vname + ")" - case "float64": - return "ee.EncodeFloat64(" + vname + ")" - case "bool": - return "ee.EncodeBool(" + vname + ")" - // case "symbol": - // return "ee.EncodeSymbol(" + vname + ")" - default: - return "e.encode(" + vname + ")" - } -} - -func genInternalDecCommandAsString(s string) string { - switch s { - case "uint": - return "uint(chkOvf.UintV(dd.DecodeUint64(), uintBitsize))" - case "uint8": - return "uint8(chkOvf.UintV(dd.DecodeUint64(), 8))" - case "uint16": - return "uint16(chkOvf.UintV(dd.DecodeUint64(), 16))" - case "uint32": - return "uint32(chkOvf.UintV(dd.DecodeUint64(), 32))" - case "uint64": - return "dd.DecodeUint64()" - case "uintptr": - return "uintptr(chkOvf.UintV(dd.DecodeUint64(), uintBitsize))" - case "int": - return "int(chkOvf.IntV(dd.DecodeInt64(), intBitsize))" - case "int8": - return "int8(chkOvf.IntV(dd.DecodeInt64(), 8))" - case "int16": - return "int16(chkOvf.IntV(dd.DecodeInt64(), 16))" - case "int32": - return "int32(chkOvf.IntV(dd.DecodeInt64(), 32))" - case "int64": - return "dd.DecodeInt64()" - - case "string": - return "dd.DecodeString()" - case "float32": - return "float32(chkOvf.Float32V(dd.DecodeFloat64()))" - case "float64": - return "dd.DecodeFloat64()" - case "bool": - return "dd.DecodeBool()" - default: - panic(errors.New("gen internal: unknown type for decode: " + s)) - } -} - -func genInternalSortType(s string, elem bool) string { - for _, v := range [...]string{"int", "uint", "float", "bool", "string"} { - if strings.HasPrefix(s, v) { - if elem { - if v == "int" || v == "uint" || v == "float" { - return v + "64" - } else { - return v - } - } - return v + "Slice" - } - } - panic("sorttype: unexpected type: " + s) -} - func genStripVendor(s string) string { // HACK: Misbehaviour occurs in go 1.5. May have to re-visit this later. // if s contains /vendor/ OR startsWith vendor/, then return everything after it. @@ -2017,133 +1875,3 @@ func genStripVendor(s string) string { } return s } - -// var genInternalMu sync.Mutex -var genInternalV = genInternal{Version: genVersion} -var genInternalTmplFuncs template.FuncMap -var genInternalOnce sync.Once - -func genInternalInit() { - types := [...]string{ - "interface{}", - "string", - "float32", - "float64", - "uint", - "uint8", - "uint16", - "uint32", - "uint64", - "uintptr", - "int", - "int8", - "int16", - "int32", - "int64", - "bool", - } - // keep as slice, so it is in specific iteration order. - // Initial order was uint64, string, interface{}, int, int64 - mapvaltypes := [...]string{ - "interface{}", - "string", - "uint", - "uint8", - "uint16", - "uint32", - "uint64", - "uintptr", - "int", - "int8", - "int16", - "int32", - "int64", - "float32", - "float64", - "bool", - } - wordSizeBytes := int(intBitsize) / 8 - - mapvaltypes2 := map[string]int{ - "interface{}": 2 * wordSizeBytes, - "string": 2 * wordSizeBytes, - "uint": 1 * wordSizeBytes, - "uint8": 1, - "uint16": 2, - "uint32": 4, - "uint64": 8, - "uintptr": 1 * wordSizeBytes, - "int": 1 * wordSizeBytes, - "int8": 1, - "int16": 2, - "int32": 4, - "int64": 8, - "float32": 4, - "float64": 8, - "bool": 1, - } - var gt = genInternal{Version: genVersion} - - // For each slice or map type, there must be a (symmetrical) Encode and Decode fast-path function - for _, s := range types { - gt.Values = append(gt.Values, genV{Primitive: s, Size: mapvaltypes2[s]}) - // if s != "uint8" { // do not generate fast path for slice of bytes. Treat specially already. - // gt.Values = append(gt.Values, genV{Elem: s, Size: mapvaltypes2[s]}) - // } - gt.Values = append(gt.Values, genV{Elem: s, Size: mapvaltypes2[s]}) - if _, ok := mapvaltypes2[s]; !ok { - gt.Values = append(gt.Values, genV{MapKey: s, Elem: s, Size: 2 * mapvaltypes2[s]}) - } - for _, ms := range mapvaltypes { - gt.Values = append(gt.Values, genV{MapKey: s, Elem: ms, Size: mapvaltypes2[s] + mapvaltypes2[ms]}) - } - } - - funcs := make(template.FuncMap) - // funcs["haspfx"] = strings.HasPrefix - funcs["encmd"] = genInternalEncCommandAsString - funcs["decmd"] = genInternalDecCommandAsString - funcs["zerocmd"] = genInternalZeroValue - funcs["nonzerocmd"] = genInternalNonZeroValue - funcs["hasprefix"] = strings.HasPrefix - funcs["sorttype"] = genInternalSortType - - genInternalV = gt - genInternalTmplFuncs = funcs -} - -// genInternalGoFile is used to generate source files from templates. -// It is run by the program author alone. -// Unfortunately, it has to be exported so that it can be called from a command line tool. -// *** DO NOT USE *** -func genInternalGoFile(r io.Reader, w io.Writer) (err error) { - genInternalOnce.Do(genInternalInit) - - gt := genInternalV - - t := template.New("").Funcs(genInternalTmplFuncs) - - tmplstr, err := ioutil.ReadAll(r) - if err != nil { - return - } - - if t, err = t.Parse(string(tmplstr)); err != nil { - return - } - - var out bytes.Buffer - err = t.Execute(&out, gt) - if err != nil { - return - } - - bout, err := format.Source(out.Bytes()) - if err != nil { - w.Write(out.Bytes()) // write out if error, so we can still see. - // w.Write(bout) // write out if error, as much as possible, so we can still see. - return - } - w.Write(bout) - return -} diff --git a/codec/mammoth2-test.go.tmpl b/codec/mammoth2-test.go.tmpl index 71eaf618..3b546f3e 100644 --- a/codec/mammoth2-test.go.tmpl +++ b/codec/mammoth2-test.go.tmpl @@ -1,5 +1,3 @@ -// +build !notfastpath - // Copyright (c) 2012-2018 Ugorji Nwoke. All rights reserved. // Use of this source code is governed by a MIT license found in the LICENSE file. diff --git a/codec/mammoth2_codecgen_generated_test.go b/codec/mammoth2_codecgen_generated_test.go index d742def2..eb898ae5 100644 --- a/codec/mammoth2_codecgen_generated_test.go +++ b/codec/mammoth2_codecgen_generated_test.go @@ -1,5 +1,3 @@ -// +build !notfastpath - // Code generated by codecgen - DO NOT EDIT. package codec @@ -1099,7 +1097,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceIntfV(x.FSliceIntf, e) + h.encSliceInterface(([]interface{})(x.FSliceIntf), e) } } } else { @@ -1115,7 +1113,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceIntfV(x.FSliceIntf, e) + h.encSliceInterface(([]interface{})(x.FSliceIntf), e) } } } @@ -1137,7 +1135,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy135 := *x.FptrSliceIntf if false { } else { - z.F.EncSliceIntfV(yy135, e) + h.encSliceInterface(([]interface{})(yy135), e) } } } @@ -1158,7 +1156,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy137 := *x.FptrSliceIntf if false { } else { - z.F.EncSliceIntfV(yy137, e) + h.encSliceInterface(([]interface{})(yy137), e) } } } @@ -1170,7 +1168,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceStringV(x.FSliceString, e) + h.encSlicestring(([]string)(x.FSliceString), e) } } } else { @@ -1186,7 +1184,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceStringV(x.FSliceString, e) + h.encSlicestring(([]string)(x.FSliceString), e) } } } @@ -1208,7 +1206,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy143 := *x.FptrSliceString if false { } else { - z.F.EncSliceStringV(yy143, e) + h.encSlicestring(([]string)(yy143), e) } } } @@ -1229,7 +1227,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy145 := *x.FptrSliceString if false { } else { - z.F.EncSliceStringV(yy145, e) + h.encSlicestring(([]string)(yy145), e) } } } @@ -1241,7 +1239,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceFloat32V(x.FSliceFloat32, e) + h.encSlicefloat32(([]float32)(x.FSliceFloat32), e) } } } else { @@ -1257,7 +1255,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceFloat32V(x.FSliceFloat32, e) + h.encSlicefloat32(([]float32)(x.FSliceFloat32), e) } } } @@ -1279,7 +1277,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy151 := *x.FptrSliceFloat32 if false { } else { - z.F.EncSliceFloat32V(yy151, e) + h.encSlicefloat32(([]float32)(yy151), e) } } } @@ -1300,7 +1298,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy153 := *x.FptrSliceFloat32 if false { } else { - z.F.EncSliceFloat32V(yy153, e) + h.encSlicefloat32(([]float32)(yy153), e) } } } @@ -1312,7 +1310,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceFloat64V(x.FSliceFloat64, e) + h.encSlicefloat64(([]float64)(x.FSliceFloat64), e) } } } else { @@ -1328,7 +1326,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceFloat64V(x.FSliceFloat64, e) + h.encSlicefloat64(([]float64)(x.FSliceFloat64), e) } } } @@ -1350,7 +1348,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy159 := *x.FptrSliceFloat64 if false { } else { - z.F.EncSliceFloat64V(yy159, e) + h.encSlicefloat64(([]float64)(yy159), e) } } } @@ -1371,7 +1369,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy161 := *x.FptrSliceFloat64 if false { } else { - z.F.EncSliceFloat64V(yy161, e) + h.encSlicefloat64(([]float64)(yy161), e) } } } @@ -1383,7 +1381,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceUintV(x.FSliceUint, e) + h.encSliceuint(([]uint)(x.FSliceUint), e) } } } else { @@ -1399,7 +1397,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceUintV(x.FSliceUint, e) + h.encSliceuint(([]uint)(x.FSliceUint), e) } } } @@ -1421,7 +1419,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy167 := *x.FptrSliceUint if false { } else { - z.F.EncSliceUintV(yy167, e) + h.encSliceuint(([]uint)(yy167), e) } } } @@ -1442,7 +1440,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy169 := *x.FptrSliceUint if false { } else { - z.F.EncSliceUintV(yy169, e) + h.encSliceuint(([]uint)(yy169), e) } } } @@ -1525,7 +1523,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceUint16V(x.FSliceUint16, e) + h.encSliceuint16(([]uint16)(x.FSliceUint16), e) } } } else { @@ -1541,7 +1539,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceUint16V(x.FSliceUint16, e) + h.encSliceuint16(([]uint16)(x.FSliceUint16), e) } } } @@ -1563,7 +1561,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy183 := *x.FptrSliceUint16 if false { } else { - z.F.EncSliceUint16V(yy183, e) + h.encSliceuint16(([]uint16)(yy183), e) } } } @@ -1584,7 +1582,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy185 := *x.FptrSliceUint16 if false { } else { - z.F.EncSliceUint16V(yy185, e) + h.encSliceuint16(([]uint16)(yy185), e) } } } @@ -1596,7 +1594,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceUint32V(x.FSliceUint32, e) + h.encSliceuint32(([]uint32)(x.FSliceUint32), e) } } } else { @@ -1612,7 +1610,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceUint32V(x.FSliceUint32, e) + h.encSliceuint32(([]uint32)(x.FSliceUint32), e) } } } @@ -1634,7 +1632,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy191 := *x.FptrSliceUint32 if false { } else { - z.F.EncSliceUint32V(yy191, e) + h.encSliceuint32(([]uint32)(yy191), e) } } } @@ -1655,7 +1653,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy193 := *x.FptrSliceUint32 if false { } else { - z.F.EncSliceUint32V(yy193, e) + h.encSliceuint32(([]uint32)(yy193), e) } } } @@ -1667,7 +1665,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceUint64V(x.FSliceUint64, e) + h.encSliceuint64(([]uint64)(x.FSliceUint64), e) } } } else { @@ -1683,7 +1681,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceUint64V(x.FSliceUint64, e) + h.encSliceuint64(([]uint64)(x.FSliceUint64), e) } } } @@ -1705,7 +1703,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy199 := *x.FptrSliceUint64 if false { } else { - z.F.EncSliceUint64V(yy199, e) + h.encSliceuint64(([]uint64)(yy199), e) } } } @@ -1726,7 +1724,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy201 := *x.FptrSliceUint64 if false { } else { - z.F.EncSliceUint64V(yy201, e) + h.encSliceuint64(([]uint64)(yy201), e) } } } @@ -1738,7 +1736,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceUintptrV(x.FSliceUintptr, e) + h.encSliceuintptr(([]uintptr)(x.FSliceUintptr), e) } } } else { @@ -1754,7 +1752,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceUintptrV(x.FSliceUintptr, e) + h.encSliceuintptr(([]uintptr)(x.FSliceUintptr), e) } } } @@ -1776,7 +1774,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy207 := *x.FptrSliceUintptr if false { } else { - z.F.EncSliceUintptrV(yy207, e) + h.encSliceuintptr(([]uintptr)(yy207), e) } } } @@ -1797,7 +1795,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy209 := *x.FptrSliceUintptr if false { } else { - z.F.EncSliceUintptrV(yy209, e) + h.encSliceuintptr(([]uintptr)(yy209), e) } } } @@ -1809,7 +1807,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceIntV(x.FSliceInt, e) + h.encSliceint(([]int)(x.FSliceInt), e) } } } else { @@ -1825,7 +1823,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceIntV(x.FSliceInt, e) + h.encSliceint(([]int)(x.FSliceInt), e) } } } @@ -1847,7 +1845,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy215 := *x.FptrSliceInt if false { } else { - z.F.EncSliceIntV(yy215, e) + h.encSliceint(([]int)(yy215), e) } } } @@ -1868,7 +1866,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy217 := *x.FptrSliceInt if false { } else { - z.F.EncSliceIntV(yy217, e) + h.encSliceint(([]int)(yy217), e) } } } @@ -1880,7 +1878,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceInt8V(x.FSliceInt8, e) + h.encSliceint8(([]int8)(x.FSliceInt8), e) } } } else { @@ -1896,7 +1894,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceInt8V(x.FSliceInt8, e) + h.encSliceint8(([]int8)(x.FSliceInt8), e) } } } @@ -1918,7 +1916,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy223 := *x.FptrSliceInt8 if false { } else { - z.F.EncSliceInt8V(yy223, e) + h.encSliceint8(([]int8)(yy223), e) } } } @@ -1939,7 +1937,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy225 := *x.FptrSliceInt8 if false { } else { - z.F.EncSliceInt8V(yy225, e) + h.encSliceint8(([]int8)(yy225), e) } } } @@ -1951,7 +1949,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceInt16V(x.FSliceInt16, e) + h.encSliceint16(([]int16)(x.FSliceInt16), e) } } } else { @@ -1967,7 +1965,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceInt16V(x.FSliceInt16, e) + h.encSliceint16(([]int16)(x.FSliceInt16), e) } } } @@ -1989,7 +1987,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy231 := *x.FptrSliceInt16 if false { } else { - z.F.EncSliceInt16V(yy231, e) + h.encSliceint16(([]int16)(yy231), e) } } } @@ -2010,7 +2008,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy233 := *x.FptrSliceInt16 if false { } else { - z.F.EncSliceInt16V(yy233, e) + h.encSliceint16(([]int16)(yy233), e) } } } @@ -2022,7 +2020,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceInt32V(x.FSliceInt32, e) + h.encSliceint32(([]int32)(x.FSliceInt32), e) } } } else { @@ -2038,7 +2036,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceInt32V(x.FSliceInt32, e) + h.encSliceint32(([]int32)(x.FSliceInt32), e) } } } @@ -2060,7 +2058,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy239 := *x.FptrSliceInt32 if false { } else { - z.F.EncSliceInt32V(yy239, e) + h.encSliceint32(([]int32)(yy239), e) } } } @@ -2081,7 +2079,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy241 := *x.FptrSliceInt32 if false { } else { - z.F.EncSliceInt32V(yy241, e) + h.encSliceint32(([]int32)(yy241), e) } } } @@ -2093,7 +2091,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceInt64V(x.FSliceInt64, e) + h.encSliceint64(([]int64)(x.FSliceInt64), e) } } } else { @@ -2109,7 +2107,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceInt64V(x.FSliceInt64, e) + h.encSliceint64(([]int64)(x.FSliceInt64), e) } } } @@ -2131,7 +2129,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy247 := *x.FptrSliceInt64 if false { } else { - z.F.EncSliceInt64V(yy247, e) + h.encSliceint64(([]int64)(yy247), e) } } } @@ -2152,7 +2150,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy249 := *x.FptrSliceInt64 if false { } else { - z.F.EncSliceInt64V(yy249, e) + h.encSliceint64(([]int64)(yy249), e) } } } @@ -2164,7 +2162,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceBoolV(x.FSliceBool, e) + h.encSlicebool(([]bool)(x.FSliceBool), e) } } } else { @@ -2180,7 +2178,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceBoolV(x.FSliceBool, e) + h.encSlicebool(([]bool)(x.FSliceBool), e) } } } @@ -2202,7 +2200,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy255 := *x.FptrSliceBool if false { } else { - z.F.EncSliceBoolV(yy255, e) + h.encSlicebool(([]bool)(yy255), e) } } } @@ -2223,7 +2221,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy257 := *x.FptrSliceBool if false { } else { - z.F.EncSliceBoolV(yy257, e) + h.encSlicebool(([]bool)(yy257), e) } } } @@ -2235,7 +2233,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapIntfIntfV(x.FMapIntfIntf, e) + h.encMapInterfaceInterface((map[interface{}]interface{})(x.FMapIntfIntf), e) } } } else { @@ -2251,7 +2249,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapIntfIntfV(x.FMapIntfIntf, e) + h.encMapInterfaceInterface((map[interface{}]interface{})(x.FMapIntfIntf), e) } } } @@ -2273,7 +2271,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy263 := *x.FptrMapIntfIntf if false { } else { - z.F.EncMapIntfIntfV(yy263, e) + h.encMapInterfaceInterface((map[interface{}]interface{})(yy263), e) } } } @@ -2294,7 +2292,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy265 := *x.FptrMapIntfIntf if false { } else { - z.F.EncMapIntfIntfV(yy265, e) + h.encMapInterfaceInterface((map[interface{}]interface{})(yy265), e) } } } @@ -2306,7 +2304,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapIntfStringV(x.FMapIntfString, e) + h.encMapInterfacestring((map[interface{}]string)(x.FMapIntfString), e) } } } else { @@ -2322,7 +2320,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapIntfStringV(x.FMapIntfString, e) + h.encMapInterfacestring((map[interface{}]string)(x.FMapIntfString), e) } } } @@ -2344,7 +2342,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy271 := *x.FptrMapIntfString if false { } else { - z.F.EncMapIntfStringV(yy271, e) + h.encMapInterfacestring((map[interface{}]string)(yy271), e) } } } @@ -2365,7 +2363,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy273 := *x.FptrMapIntfString if false { } else { - z.F.EncMapIntfStringV(yy273, e) + h.encMapInterfacestring((map[interface{}]string)(yy273), e) } } } @@ -2377,7 +2375,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapIntfUintV(x.FMapIntfUint, e) + h.encMapInterfaceuint((map[interface{}]uint)(x.FMapIntfUint), e) } } } else { @@ -2393,7 +2391,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapIntfUintV(x.FMapIntfUint, e) + h.encMapInterfaceuint((map[interface{}]uint)(x.FMapIntfUint), e) } } } @@ -2415,7 +2413,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy279 := *x.FptrMapIntfUint if false { } else { - z.F.EncMapIntfUintV(yy279, e) + h.encMapInterfaceuint((map[interface{}]uint)(yy279), e) } } } @@ -2436,7 +2434,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy281 := *x.FptrMapIntfUint if false { } else { - z.F.EncMapIntfUintV(yy281, e) + h.encMapInterfaceuint((map[interface{}]uint)(yy281), e) } } } @@ -2448,7 +2446,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapIntfUint8V(x.FMapIntfUint8, e) + h.encMapInterfaceuint8((map[interface{}]uint8)(x.FMapIntfUint8), e) } } } else { @@ -2464,7 +2462,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapIntfUint8V(x.FMapIntfUint8, e) + h.encMapInterfaceuint8((map[interface{}]uint8)(x.FMapIntfUint8), e) } } } @@ -2486,7 +2484,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy287 := *x.FptrMapIntfUint8 if false { } else { - z.F.EncMapIntfUint8V(yy287, e) + h.encMapInterfaceuint8((map[interface{}]uint8)(yy287), e) } } } @@ -2507,7 +2505,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy289 := *x.FptrMapIntfUint8 if false { } else { - z.F.EncMapIntfUint8V(yy289, e) + h.encMapInterfaceuint8((map[interface{}]uint8)(yy289), e) } } } @@ -2519,7 +2517,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapIntfUint16V(x.FMapIntfUint16, e) + h.encMapInterfaceuint16((map[interface{}]uint16)(x.FMapIntfUint16), e) } } } else { @@ -2535,7 +2533,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapIntfUint16V(x.FMapIntfUint16, e) + h.encMapInterfaceuint16((map[interface{}]uint16)(x.FMapIntfUint16), e) } } } @@ -2557,7 +2555,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy295 := *x.FptrMapIntfUint16 if false { } else { - z.F.EncMapIntfUint16V(yy295, e) + h.encMapInterfaceuint16((map[interface{}]uint16)(yy295), e) } } } @@ -2578,7 +2576,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy297 := *x.FptrMapIntfUint16 if false { } else { - z.F.EncMapIntfUint16V(yy297, e) + h.encMapInterfaceuint16((map[interface{}]uint16)(yy297), e) } } } @@ -2590,7 +2588,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapIntfUint32V(x.FMapIntfUint32, e) + h.encMapInterfaceuint32((map[interface{}]uint32)(x.FMapIntfUint32), e) } } } else { @@ -2606,7 +2604,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapIntfUint32V(x.FMapIntfUint32, e) + h.encMapInterfaceuint32((map[interface{}]uint32)(x.FMapIntfUint32), e) } } } @@ -2628,7 +2626,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy303 := *x.FptrMapIntfUint32 if false { } else { - z.F.EncMapIntfUint32V(yy303, e) + h.encMapInterfaceuint32((map[interface{}]uint32)(yy303), e) } } } @@ -2649,7 +2647,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy305 := *x.FptrMapIntfUint32 if false { } else { - z.F.EncMapIntfUint32V(yy305, e) + h.encMapInterfaceuint32((map[interface{}]uint32)(yy305), e) } } } @@ -2661,7 +2659,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapIntfUint64V(x.FMapIntfUint64, e) + h.encMapInterfaceuint64((map[interface{}]uint64)(x.FMapIntfUint64), e) } } } else { @@ -2677,7 +2675,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapIntfUint64V(x.FMapIntfUint64, e) + h.encMapInterfaceuint64((map[interface{}]uint64)(x.FMapIntfUint64), e) } } } @@ -2699,7 +2697,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy311 := *x.FptrMapIntfUint64 if false { } else { - z.F.EncMapIntfUint64V(yy311, e) + h.encMapInterfaceuint64((map[interface{}]uint64)(yy311), e) } } } @@ -2720,7 +2718,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy313 := *x.FptrMapIntfUint64 if false { } else { - z.F.EncMapIntfUint64V(yy313, e) + h.encMapInterfaceuint64((map[interface{}]uint64)(yy313), e) } } } @@ -2732,7 +2730,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapIntfUintptrV(x.FMapIntfUintptr, e) + h.encMapInterfaceuintptr((map[interface{}]uintptr)(x.FMapIntfUintptr), e) } } } else { @@ -2748,7 +2746,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapIntfUintptrV(x.FMapIntfUintptr, e) + h.encMapInterfaceuintptr((map[interface{}]uintptr)(x.FMapIntfUintptr), e) } } } @@ -2770,7 +2768,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy319 := *x.FptrMapIntfUintptr if false { } else { - z.F.EncMapIntfUintptrV(yy319, e) + h.encMapInterfaceuintptr((map[interface{}]uintptr)(yy319), e) } } } @@ -2791,7 +2789,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy321 := *x.FptrMapIntfUintptr if false { } else { - z.F.EncMapIntfUintptrV(yy321, e) + h.encMapInterfaceuintptr((map[interface{}]uintptr)(yy321), e) } } } @@ -2803,7 +2801,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapIntfIntV(x.FMapIntfInt, e) + h.encMapInterfaceint((map[interface{}]int)(x.FMapIntfInt), e) } } } else { @@ -2819,7 +2817,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapIntfIntV(x.FMapIntfInt, e) + h.encMapInterfaceint((map[interface{}]int)(x.FMapIntfInt), e) } } } @@ -2841,7 +2839,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy327 := *x.FptrMapIntfInt if false { } else { - z.F.EncMapIntfIntV(yy327, e) + h.encMapInterfaceint((map[interface{}]int)(yy327), e) } } } @@ -2862,7 +2860,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy329 := *x.FptrMapIntfInt if false { } else { - z.F.EncMapIntfIntV(yy329, e) + h.encMapInterfaceint((map[interface{}]int)(yy329), e) } } } @@ -2874,7 +2872,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapIntfInt8V(x.FMapIntfInt8, e) + h.encMapInterfaceint8((map[interface{}]int8)(x.FMapIntfInt8), e) } } } else { @@ -2890,7 +2888,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapIntfInt8V(x.FMapIntfInt8, e) + h.encMapInterfaceint8((map[interface{}]int8)(x.FMapIntfInt8), e) } } } @@ -2912,7 +2910,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy335 := *x.FptrMapIntfInt8 if false { } else { - z.F.EncMapIntfInt8V(yy335, e) + h.encMapInterfaceint8((map[interface{}]int8)(yy335), e) } } } @@ -2933,7 +2931,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy337 := *x.FptrMapIntfInt8 if false { } else { - z.F.EncMapIntfInt8V(yy337, e) + h.encMapInterfaceint8((map[interface{}]int8)(yy337), e) } } } @@ -2945,7 +2943,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapIntfInt16V(x.FMapIntfInt16, e) + h.encMapInterfaceint16((map[interface{}]int16)(x.FMapIntfInt16), e) } } } else { @@ -2961,7 +2959,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapIntfInt16V(x.FMapIntfInt16, e) + h.encMapInterfaceint16((map[interface{}]int16)(x.FMapIntfInt16), e) } } } @@ -2983,7 +2981,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy343 := *x.FptrMapIntfInt16 if false { } else { - z.F.EncMapIntfInt16V(yy343, e) + h.encMapInterfaceint16((map[interface{}]int16)(yy343), e) } } } @@ -3004,7 +3002,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy345 := *x.FptrMapIntfInt16 if false { } else { - z.F.EncMapIntfInt16V(yy345, e) + h.encMapInterfaceint16((map[interface{}]int16)(yy345), e) } } } @@ -3016,7 +3014,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapIntfInt32V(x.FMapIntfInt32, e) + h.encMapInterfaceint32((map[interface{}]int32)(x.FMapIntfInt32), e) } } } else { @@ -3032,7 +3030,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapIntfInt32V(x.FMapIntfInt32, e) + h.encMapInterfaceint32((map[interface{}]int32)(x.FMapIntfInt32), e) } } } @@ -3054,7 +3052,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy351 := *x.FptrMapIntfInt32 if false { } else { - z.F.EncMapIntfInt32V(yy351, e) + h.encMapInterfaceint32((map[interface{}]int32)(yy351), e) } } } @@ -3075,7 +3073,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy353 := *x.FptrMapIntfInt32 if false { } else { - z.F.EncMapIntfInt32V(yy353, e) + h.encMapInterfaceint32((map[interface{}]int32)(yy353), e) } } } @@ -3087,7 +3085,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapIntfInt64V(x.FMapIntfInt64, e) + h.encMapInterfaceint64((map[interface{}]int64)(x.FMapIntfInt64), e) } } } else { @@ -3103,7 +3101,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapIntfInt64V(x.FMapIntfInt64, e) + h.encMapInterfaceint64((map[interface{}]int64)(x.FMapIntfInt64), e) } } } @@ -3125,7 +3123,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy359 := *x.FptrMapIntfInt64 if false { } else { - z.F.EncMapIntfInt64V(yy359, e) + h.encMapInterfaceint64((map[interface{}]int64)(yy359), e) } } } @@ -3146,7 +3144,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy361 := *x.FptrMapIntfInt64 if false { } else { - z.F.EncMapIntfInt64V(yy361, e) + h.encMapInterfaceint64((map[interface{}]int64)(yy361), e) } } } @@ -3158,7 +3156,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapIntfFloat32V(x.FMapIntfFloat32, e) + h.encMapInterfacefloat32((map[interface{}]float32)(x.FMapIntfFloat32), e) } } } else { @@ -3174,7 +3172,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapIntfFloat32V(x.FMapIntfFloat32, e) + h.encMapInterfacefloat32((map[interface{}]float32)(x.FMapIntfFloat32), e) } } } @@ -3196,7 +3194,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy367 := *x.FptrMapIntfFloat32 if false { } else { - z.F.EncMapIntfFloat32V(yy367, e) + h.encMapInterfacefloat32((map[interface{}]float32)(yy367), e) } } } @@ -3217,7 +3215,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy369 := *x.FptrMapIntfFloat32 if false { } else { - z.F.EncMapIntfFloat32V(yy369, e) + h.encMapInterfacefloat32((map[interface{}]float32)(yy369), e) } } } @@ -3229,7 +3227,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapIntfFloat64V(x.FMapIntfFloat64, e) + h.encMapInterfacefloat64((map[interface{}]float64)(x.FMapIntfFloat64), e) } } } else { @@ -3245,7 +3243,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapIntfFloat64V(x.FMapIntfFloat64, e) + h.encMapInterfacefloat64((map[interface{}]float64)(x.FMapIntfFloat64), e) } } } @@ -3267,7 +3265,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy375 := *x.FptrMapIntfFloat64 if false { } else { - z.F.EncMapIntfFloat64V(yy375, e) + h.encMapInterfacefloat64((map[interface{}]float64)(yy375), e) } } } @@ -3288,7 +3286,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy377 := *x.FptrMapIntfFloat64 if false { } else { - z.F.EncMapIntfFloat64V(yy377, e) + h.encMapInterfacefloat64((map[interface{}]float64)(yy377), e) } } } @@ -3300,7 +3298,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapIntfBoolV(x.FMapIntfBool, e) + h.encMapInterfacebool((map[interface{}]bool)(x.FMapIntfBool), e) } } } else { @@ -3316,7 +3314,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapIntfBoolV(x.FMapIntfBool, e) + h.encMapInterfacebool((map[interface{}]bool)(x.FMapIntfBool), e) } } } @@ -3338,7 +3336,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy383 := *x.FptrMapIntfBool if false { } else { - z.F.EncMapIntfBoolV(yy383, e) + h.encMapInterfacebool((map[interface{}]bool)(yy383), e) } } } @@ -3359,7 +3357,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy385 := *x.FptrMapIntfBool if false { } else { - z.F.EncMapIntfBoolV(yy385, e) + h.encMapInterfacebool((map[interface{}]bool)(yy385), e) } } } @@ -3371,7 +3369,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapStringIntfV(x.FMapStringIntf, e) + h.encMapstringInterface((map[string]interface{})(x.FMapStringIntf), e) } } } else { @@ -3387,7 +3385,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapStringIntfV(x.FMapStringIntf, e) + h.encMapstringInterface((map[string]interface{})(x.FMapStringIntf), e) } } } @@ -3409,7 +3407,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy391 := *x.FptrMapStringIntf if false { } else { - z.F.EncMapStringIntfV(yy391, e) + h.encMapstringInterface((map[string]interface{})(yy391), e) } } } @@ -3430,7 +3428,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy393 := *x.FptrMapStringIntf if false { } else { - z.F.EncMapStringIntfV(yy393, e) + h.encMapstringInterface((map[string]interface{})(yy393), e) } } } @@ -3442,7 +3440,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapStringStringV(x.FMapStringString, e) + h.encMapstringstring((map[string]string)(x.FMapStringString), e) } } } else { @@ -3458,7 +3456,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapStringStringV(x.FMapStringString, e) + h.encMapstringstring((map[string]string)(x.FMapStringString), e) } } } @@ -3480,7 +3478,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy399 := *x.FptrMapStringString if false { } else { - z.F.EncMapStringStringV(yy399, e) + h.encMapstringstring((map[string]string)(yy399), e) } } } @@ -3501,7 +3499,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy401 := *x.FptrMapStringString if false { } else { - z.F.EncMapStringStringV(yy401, e) + h.encMapstringstring((map[string]string)(yy401), e) } } } @@ -3513,7 +3511,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapStringUintV(x.FMapStringUint, e) + h.encMapstringuint((map[string]uint)(x.FMapStringUint), e) } } } else { @@ -3529,7 +3527,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapStringUintV(x.FMapStringUint, e) + h.encMapstringuint((map[string]uint)(x.FMapStringUint), e) } } } @@ -3551,7 +3549,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy407 := *x.FptrMapStringUint if false { } else { - z.F.EncMapStringUintV(yy407, e) + h.encMapstringuint((map[string]uint)(yy407), e) } } } @@ -3572,7 +3570,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy409 := *x.FptrMapStringUint if false { } else { - z.F.EncMapStringUintV(yy409, e) + h.encMapstringuint((map[string]uint)(yy409), e) } } } @@ -3584,7 +3582,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapStringUint8V(x.FMapStringUint8, e) + h.encMapstringuint8((map[string]uint8)(x.FMapStringUint8), e) } } } else { @@ -3600,7 +3598,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapStringUint8V(x.FMapStringUint8, e) + h.encMapstringuint8((map[string]uint8)(x.FMapStringUint8), e) } } } @@ -3622,7 +3620,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy415 := *x.FptrMapStringUint8 if false { } else { - z.F.EncMapStringUint8V(yy415, e) + h.encMapstringuint8((map[string]uint8)(yy415), e) } } } @@ -3643,7 +3641,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy417 := *x.FptrMapStringUint8 if false { } else { - z.F.EncMapStringUint8V(yy417, e) + h.encMapstringuint8((map[string]uint8)(yy417), e) } } } @@ -3655,7 +3653,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapStringUint16V(x.FMapStringUint16, e) + h.encMapstringuint16((map[string]uint16)(x.FMapStringUint16), e) } } } else { @@ -3671,7 +3669,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapStringUint16V(x.FMapStringUint16, e) + h.encMapstringuint16((map[string]uint16)(x.FMapStringUint16), e) } } } @@ -3693,7 +3691,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy423 := *x.FptrMapStringUint16 if false { } else { - z.F.EncMapStringUint16V(yy423, e) + h.encMapstringuint16((map[string]uint16)(yy423), e) } } } @@ -3714,7 +3712,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy425 := *x.FptrMapStringUint16 if false { } else { - z.F.EncMapStringUint16V(yy425, e) + h.encMapstringuint16((map[string]uint16)(yy425), e) } } } @@ -3726,7 +3724,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapStringUint32V(x.FMapStringUint32, e) + h.encMapstringuint32((map[string]uint32)(x.FMapStringUint32), e) } } } else { @@ -3742,7 +3740,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapStringUint32V(x.FMapStringUint32, e) + h.encMapstringuint32((map[string]uint32)(x.FMapStringUint32), e) } } } @@ -3764,7 +3762,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy431 := *x.FptrMapStringUint32 if false { } else { - z.F.EncMapStringUint32V(yy431, e) + h.encMapstringuint32((map[string]uint32)(yy431), e) } } } @@ -3785,7 +3783,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy433 := *x.FptrMapStringUint32 if false { } else { - z.F.EncMapStringUint32V(yy433, e) + h.encMapstringuint32((map[string]uint32)(yy433), e) } } } @@ -3797,7 +3795,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapStringUint64V(x.FMapStringUint64, e) + h.encMapstringuint64((map[string]uint64)(x.FMapStringUint64), e) } } } else { @@ -3813,7 +3811,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapStringUint64V(x.FMapStringUint64, e) + h.encMapstringuint64((map[string]uint64)(x.FMapStringUint64), e) } } } @@ -3835,7 +3833,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy439 := *x.FptrMapStringUint64 if false { } else { - z.F.EncMapStringUint64V(yy439, e) + h.encMapstringuint64((map[string]uint64)(yy439), e) } } } @@ -3856,7 +3854,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy441 := *x.FptrMapStringUint64 if false { } else { - z.F.EncMapStringUint64V(yy441, e) + h.encMapstringuint64((map[string]uint64)(yy441), e) } } } @@ -3868,7 +3866,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapStringUintptrV(x.FMapStringUintptr, e) + h.encMapstringuintptr((map[string]uintptr)(x.FMapStringUintptr), e) } } } else { @@ -3884,7 +3882,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapStringUintptrV(x.FMapStringUintptr, e) + h.encMapstringuintptr((map[string]uintptr)(x.FMapStringUintptr), e) } } } @@ -3906,7 +3904,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy447 := *x.FptrMapStringUintptr if false { } else { - z.F.EncMapStringUintptrV(yy447, e) + h.encMapstringuintptr((map[string]uintptr)(yy447), e) } } } @@ -3927,7 +3925,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy449 := *x.FptrMapStringUintptr if false { } else { - z.F.EncMapStringUintptrV(yy449, e) + h.encMapstringuintptr((map[string]uintptr)(yy449), e) } } } @@ -3939,7 +3937,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapStringIntV(x.FMapStringInt, e) + h.encMapstringint((map[string]int)(x.FMapStringInt), e) } } } else { @@ -3955,7 +3953,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapStringIntV(x.FMapStringInt, e) + h.encMapstringint((map[string]int)(x.FMapStringInt), e) } } } @@ -3977,7 +3975,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy455 := *x.FptrMapStringInt if false { } else { - z.F.EncMapStringIntV(yy455, e) + h.encMapstringint((map[string]int)(yy455), e) } } } @@ -3998,7 +3996,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy457 := *x.FptrMapStringInt if false { } else { - z.F.EncMapStringIntV(yy457, e) + h.encMapstringint((map[string]int)(yy457), e) } } } @@ -4010,7 +4008,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapStringInt8V(x.FMapStringInt8, e) + h.encMapstringint8((map[string]int8)(x.FMapStringInt8), e) } } } else { @@ -4026,7 +4024,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapStringInt8V(x.FMapStringInt8, e) + h.encMapstringint8((map[string]int8)(x.FMapStringInt8), e) } } } @@ -4048,7 +4046,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy463 := *x.FptrMapStringInt8 if false { } else { - z.F.EncMapStringInt8V(yy463, e) + h.encMapstringint8((map[string]int8)(yy463), e) } } } @@ -4069,7 +4067,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy465 := *x.FptrMapStringInt8 if false { } else { - z.F.EncMapStringInt8V(yy465, e) + h.encMapstringint8((map[string]int8)(yy465), e) } } } @@ -4081,7 +4079,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapStringInt16V(x.FMapStringInt16, e) + h.encMapstringint16((map[string]int16)(x.FMapStringInt16), e) } } } else { @@ -4097,7 +4095,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapStringInt16V(x.FMapStringInt16, e) + h.encMapstringint16((map[string]int16)(x.FMapStringInt16), e) } } } @@ -4119,7 +4117,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy471 := *x.FptrMapStringInt16 if false { } else { - z.F.EncMapStringInt16V(yy471, e) + h.encMapstringint16((map[string]int16)(yy471), e) } } } @@ -4140,7 +4138,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy473 := *x.FptrMapStringInt16 if false { } else { - z.F.EncMapStringInt16V(yy473, e) + h.encMapstringint16((map[string]int16)(yy473), e) } } } @@ -4152,7 +4150,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapStringInt32V(x.FMapStringInt32, e) + h.encMapstringint32((map[string]int32)(x.FMapStringInt32), e) } } } else { @@ -4168,7 +4166,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapStringInt32V(x.FMapStringInt32, e) + h.encMapstringint32((map[string]int32)(x.FMapStringInt32), e) } } } @@ -4190,7 +4188,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy479 := *x.FptrMapStringInt32 if false { } else { - z.F.EncMapStringInt32V(yy479, e) + h.encMapstringint32((map[string]int32)(yy479), e) } } } @@ -4211,7 +4209,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy481 := *x.FptrMapStringInt32 if false { } else { - z.F.EncMapStringInt32V(yy481, e) + h.encMapstringint32((map[string]int32)(yy481), e) } } } @@ -4223,7 +4221,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapStringInt64V(x.FMapStringInt64, e) + h.encMapstringint64((map[string]int64)(x.FMapStringInt64), e) } } } else { @@ -4239,7 +4237,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapStringInt64V(x.FMapStringInt64, e) + h.encMapstringint64((map[string]int64)(x.FMapStringInt64), e) } } } @@ -4261,7 +4259,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy487 := *x.FptrMapStringInt64 if false { } else { - z.F.EncMapStringInt64V(yy487, e) + h.encMapstringint64((map[string]int64)(yy487), e) } } } @@ -4282,7 +4280,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy489 := *x.FptrMapStringInt64 if false { } else { - z.F.EncMapStringInt64V(yy489, e) + h.encMapstringint64((map[string]int64)(yy489), e) } } } @@ -4294,7 +4292,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapStringFloat32V(x.FMapStringFloat32, e) + h.encMapstringfloat32((map[string]float32)(x.FMapStringFloat32), e) } } } else { @@ -4310,7 +4308,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapStringFloat32V(x.FMapStringFloat32, e) + h.encMapstringfloat32((map[string]float32)(x.FMapStringFloat32), e) } } } @@ -4332,7 +4330,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy495 := *x.FptrMapStringFloat32 if false { } else { - z.F.EncMapStringFloat32V(yy495, e) + h.encMapstringfloat32((map[string]float32)(yy495), e) } } } @@ -4353,7 +4351,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy497 := *x.FptrMapStringFloat32 if false { } else { - z.F.EncMapStringFloat32V(yy497, e) + h.encMapstringfloat32((map[string]float32)(yy497), e) } } } @@ -4365,7 +4363,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapStringFloat64V(x.FMapStringFloat64, e) + h.encMapstringfloat64((map[string]float64)(x.FMapStringFloat64), e) } } } else { @@ -4381,7 +4379,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapStringFloat64V(x.FMapStringFloat64, e) + h.encMapstringfloat64((map[string]float64)(x.FMapStringFloat64), e) } } } @@ -4403,7 +4401,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy503 := *x.FptrMapStringFloat64 if false { } else { - z.F.EncMapStringFloat64V(yy503, e) + h.encMapstringfloat64((map[string]float64)(yy503), e) } } } @@ -4424,7 +4422,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy505 := *x.FptrMapStringFloat64 if false { } else { - z.F.EncMapStringFloat64V(yy505, e) + h.encMapstringfloat64((map[string]float64)(yy505), e) } } } @@ -4436,7 +4434,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapStringBoolV(x.FMapStringBool, e) + h.encMapstringbool((map[string]bool)(x.FMapStringBool), e) } } } else { @@ -4452,7 +4450,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapStringBoolV(x.FMapStringBool, e) + h.encMapstringbool((map[string]bool)(x.FMapStringBool), e) } } } @@ -4474,7 +4472,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy511 := *x.FptrMapStringBool if false { } else { - z.F.EncMapStringBoolV(yy511, e) + h.encMapstringbool((map[string]bool)(yy511), e) } } } @@ -4495,7 +4493,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy513 := *x.FptrMapStringBool if false { } else { - z.F.EncMapStringBoolV(yy513, e) + h.encMapstringbool((map[string]bool)(yy513), e) } } } @@ -4507,7 +4505,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapFloat32IntfV(x.FMapFloat32Intf, e) + h.encMapfloat32Interface((map[float32]interface{})(x.FMapFloat32Intf), e) } } } else { @@ -4523,7 +4521,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapFloat32IntfV(x.FMapFloat32Intf, e) + h.encMapfloat32Interface((map[float32]interface{})(x.FMapFloat32Intf), e) } } } @@ -4545,7 +4543,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy519 := *x.FptrMapFloat32Intf if false { } else { - z.F.EncMapFloat32IntfV(yy519, e) + h.encMapfloat32Interface((map[float32]interface{})(yy519), e) } } } @@ -4566,7 +4564,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy521 := *x.FptrMapFloat32Intf if false { } else { - z.F.EncMapFloat32IntfV(yy521, e) + h.encMapfloat32Interface((map[float32]interface{})(yy521), e) } } } @@ -4578,7 +4576,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapFloat32StringV(x.FMapFloat32String, e) + h.encMapfloat32string((map[float32]string)(x.FMapFloat32String), e) } } } else { @@ -4594,7 +4592,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapFloat32StringV(x.FMapFloat32String, e) + h.encMapfloat32string((map[float32]string)(x.FMapFloat32String), e) } } } @@ -4616,7 +4614,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy527 := *x.FptrMapFloat32String if false { } else { - z.F.EncMapFloat32StringV(yy527, e) + h.encMapfloat32string((map[float32]string)(yy527), e) } } } @@ -4637,7 +4635,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy529 := *x.FptrMapFloat32String if false { } else { - z.F.EncMapFloat32StringV(yy529, e) + h.encMapfloat32string((map[float32]string)(yy529), e) } } } @@ -4649,7 +4647,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapFloat32UintV(x.FMapFloat32Uint, e) + h.encMapfloat32uint((map[float32]uint)(x.FMapFloat32Uint), e) } } } else { @@ -4665,7 +4663,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapFloat32UintV(x.FMapFloat32Uint, e) + h.encMapfloat32uint((map[float32]uint)(x.FMapFloat32Uint), e) } } } @@ -4687,7 +4685,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy535 := *x.FptrMapFloat32Uint if false { } else { - z.F.EncMapFloat32UintV(yy535, e) + h.encMapfloat32uint((map[float32]uint)(yy535), e) } } } @@ -4708,7 +4706,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy537 := *x.FptrMapFloat32Uint if false { } else { - z.F.EncMapFloat32UintV(yy537, e) + h.encMapfloat32uint((map[float32]uint)(yy537), e) } } } @@ -4720,7 +4718,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapFloat32Uint8V(x.FMapFloat32Uint8, e) + h.encMapfloat32uint8((map[float32]uint8)(x.FMapFloat32Uint8), e) } } } else { @@ -4736,7 +4734,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapFloat32Uint8V(x.FMapFloat32Uint8, e) + h.encMapfloat32uint8((map[float32]uint8)(x.FMapFloat32Uint8), e) } } } @@ -4758,7 +4756,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy543 := *x.FptrMapFloat32Uint8 if false { } else { - z.F.EncMapFloat32Uint8V(yy543, e) + h.encMapfloat32uint8((map[float32]uint8)(yy543), e) } } } @@ -4779,7 +4777,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy545 := *x.FptrMapFloat32Uint8 if false { } else { - z.F.EncMapFloat32Uint8V(yy545, e) + h.encMapfloat32uint8((map[float32]uint8)(yy545), e) } } } @@ -4791,7 +4789,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapFloat32Uint16V(x.FMapFloat32Uint16, e) + h.encMapfloat32uint16((map[float32]uint16)(x.FMapFloat32Uint16), e) } } } else { @@ -4807,7 +4805,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapFloat32Uint16V(x.FMapFloat32Uint16, e) + h.encMapfloat32uint16((map[float32]uint16)(x.FMapFloat32Uint16), e) } } } @@ -4829,7 +4827,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy551 := *x.FptrMapFloat32Uint16 if false { } else { - z.F.EncMapFloat32Uint16V(yy551, e) + h.encMapfloat32uint16((map[float32]uint16)(yy551), e) } } } @@ -4850,7 +4848,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy553 := *x.FptrMapFloat32Uint16 if false { } else { - z.F.EncMapFloat32Uint16V(yy553, e) + h.encMapfloat32uint16((map[float32]uint16)(yy553), e) } } } @@ -4862,7 +4860,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapFloat32Uint32V(x.FMapFloat32Uint32, e) + h.encMapfloat32uint32((map[float32]uint32)(x.FMapFloat32Uint32), e) } } } else { @@ -4878,7 +4876,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapFloat32Uint32V(x.FMapFloat32Uint32, e) + h.encMapfloat32uint32((map[float32]uint32)(x.FMapFloat32Uint32), e) } } } @@ -4900,7 +4898,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy559 := *x.FptrMapFloat32Uint32 if false { } else { - z.F.EncMapFloat32Uint32V(yy559, e) + h.encMapfloat32uint32((map[float32]uint32)(yy559), e) } } } @@ -4921,7 +4919,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy561 := *x.FptrMapFloat32Uint32 if false { } else { - z.F.EncMapFloat32Uint32V(yy561, e) + h.encMapfloat32uint32((map[float32]uint32)(yy561), e) } } } @@ -4933,7 +4931,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapFloat32Uint64V(x.FMapFloat32Uint64, e) + h.encMapfloat32uint64((map[float32]uint64)(x.FMapFloat32Uint64), e) } } } else { @@ -4949,7 +4947,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapFloat32Uint64V(x.FMapFloat32Uint64, e) + h.encMapfloat32uint64((map[float32]uint64)(x.FMapFloat32Uint64), e) } } } @@ -4971,7 +4969,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy567 := *x.FptrMapFloat32Uint64 if false { } else { - z.F.EncMapFloat32Uint64V(yy567, e) + h.encMapfloat32uint64((map[float32]uint64)(yy567), e) } } } @@ -4992,7 +4990,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy569 := *x.FptrMapFloat32Uint64 if false { } else { - z.F.EncMapFloat32Uint64V(yy569, e) + h.encMapfloat32uint64((map[float32]uint64)(yy569), e) } } } @@ -5004,7 +5002,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapFloat32UintptrV(x.FMapFloat32Uintptr, e) + h.encMapfloat32uintptr((map[float32]uintptr)(x.FMapFloat32Uintptr), e) } } } else { @@ -5020,7 +5018,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapFloat32UintptrV(x.FMapFloat32Uintptr, e) + h.encMapfloat32uintptr((map[float32]uintptr)(x.FMapFloat32Uintptr), e) } } } @@ -5042,7 +5040,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy575 := *x.FptrMapFloat32Uintptr if false { } else { - z.F.EncMapFloat32UintptrV(yy575, e) + h.encMapfloat32uintptr((map[float32]uintptr)(yy575), e) } } } @@ -5063,7 +5061,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy577 := *x.FptrMapFloat32Uintptr if false { } else { - z.F.EncMapFloat32UintptrV(yy577, e) + h.encMapfloat32uintptr((map[float32]uintptr)(yy577), e) } } } @@ -5075,7 +5073,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapFloat32IntV(x.FMapFloat32Int, e) + h.encMapfloat32int((map[float32]int)(x.FMapFloat32Int), e) } } } else { @@ -5091,7 +5089,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapFloat32IntV(x.FMapFloat32Int, e) + h.encMapfloat32int((map[float32]int)(x.FMapFloat32Int), e) } } } @@ -5113,7 +5111,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy583 := *x.FptrMapFloat32Int if false { } else { - z.F.EncMapFloat32IntV(yy583, e) + h.encMapfloat32int((map[float32]int)(yy583), e) } } } @@ -5134,7 +5132,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy585 := *x.FptrMapFloat32Int if false { } else { - z.F.EncMapFloat32IntV(yy585, e) + h.encMapfloat32int((map[float32]int)(yy585), e) } } } @@ -5146,7 +5144,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapFloat32Int8V(x.FMapFloat32Int8, e) + h.encMapfloat32int8((map[float32]int8)(x.FMapFloat32Int8), e) } } } else { @@ -5162,7 +5160,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapFloat32Int8V(x.FMapFloat32Int8, e) + h.encMapfloat32int8((map[float32]int8)(x.FMapFloat32Int8), e) } } } @@ -5184,7 +5182,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy591 := *x.FptrMapFloat32Int8 if false { } else { - z.F.EncMapFloat32Int8V(yy591, e) + h.encMapfloat32int8((map[float32]int8)(yy591), e) } } } @@ -5205,7 +5203,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy593 := *x.FptrMapFloat32Int8 if false { } else { - z.F.EncMapFloat32Int8V(yy593, e) + h.encMapfloat32int8((map[float32]int8)(yy593), e) } } } @@ -5217,7 +5215,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapFloat32Int16V(x.FMapFloat32Int16, e) + h.encMapfloat32int16((map[float32]int16)(x.FMapFloat32Int16), e) } } } else { @@ -5233,7 +5231,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapFloat32Int16V(x.FMapFloat32Int16, e) + h.encMapfloat32int16((map[float32]int16)(x.FMapFloat32Int16), e) } } } @@ -5255,7 +5253,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy599 := *x.FptrMapFloat32Int16 if false { } else { - z.F.EncMapFloat32Int16V(yy599, e) + h.encMapfloat32int16((map[float32]int16)(yy599), e) } } } @@ -5276,7 +5274,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy601 := *x.FptrMapFloat32Int16 if false { } else { - z.F.EncMapFloat32Int16V(yy601, e) + h.encMapfloat32int16((map[float32]int16)(yy601), e) } } } @@ -5288,7 +5286,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapFloat32Int32V(x.FMapFloat32Int32, e) + h.encMapfloat32int32((map[float32]int32)(x.FMapFloat32Int32), e) } } } else { @@ -5304,7 +5302,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapFloat32Int32V(x.FMapFloat32Int32, e) + h.encMapfloat32int32((map[float32]int32)(x.FMapFloat32Int32), e) } } } @@ -5326,7 +5324,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy607 := *x.FptrMapFloat32Int32 if false { } else { - z.F.EncMapFloat32Int32V(yy607, e) + h.encMapfloat32int32((map[float32]int32)(yy607), e) } } } @@ -5347,7 +5345,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy609 := *x.FptrMapFloat32Int32 if false { } else { - z.F.EncMapFloat32Int32V(yy609, e) + h.encMapfloat32int32((map[float32]int32)(yy609), e) } } } @@ -5359,7 +5357,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapFloat32Int64V(x.FMapFloat32Int64, e) + h.encMapfloat32int64((map[float32]int64)(x.FMapFloat32Int64), e) } } } else { @@ -5375,7 +5373,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapFloat32Int64V(x.FMapFloat32Int64, e) + h.encMapfloat32int64((map[float32]int64)(x.FMapFloat32Int64), e) } } } @@ -5397,7 +5395,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy615 := *x.FptrMapFloat32Int64 if false { } else { - z.F.EncMapFloat32Int64V(yy615, e) + h.encMapfloat32int64((map[float32]int64)(yy615), e) } } } @@ -5418,7 +5416,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy617 := *x.FptrMapFloat32Int64 if false { } else { - z.F.EncMapFloat32Int64V(yy617, e) + h.encMapfloat32int64((map[float32]int64)(yy617), e) } } } @@ -5430,7 +5428,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapFloat32Float32V(x.FMapFloat32Float32, e) + h.encMapfloat32float32((map[float32]float32)(x.FMapFloat32Float32), e) } } } else { @@ -5446,7 +5444,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapFloat32Float32V(x.FMapFloat32Float32, e) + h.encMapfloat32float32((map[float32]float32)(x.FMapFloat32Float32), e) } } } @@ -5468,7 +5466,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy623 := *x.FptrMapFloat32Float32 if false { } else { - z.F.EncMapFloat32Float32V(yy623, e) + h.encMapfloat32float32((map[float32]float32)(yy623), e) } } } @@ -5489,7 +5487,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy625 := *x.FptrMapFloat32Float32 if false { } else { - z.F.EncMapFloat32Float32V(yy625, e) + h.encMapfloat32float32((map[float32]float32)(yy625), e) } } } @@ -5501,7 +5499,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapFloat32Float64V(x.FMapFloat32Float64, e) + h.encMapfloat32float64((map[float32]float64)(x.FMapFloat32Float64), e) } } } else { @@ -5517,7 +5515,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapFloat32Float64V(x.FMapFloat32Float64, e) + h.encMapfloat32float64((map[float32]float64)(x.FMapFloat32Float64), e) } } } @@ -5539,7 +5537,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy631 := *x.FptrMapFloat32Float64 if false { } else { - z.F.EncMapFloat32Float64V(yy631, e) + h.encMapfloat32float64((map[float32]float64)(yy631), e) } } } @@ -5560,7 +5558,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy633 := *x.FptrMapFloat32Float64 if false { } else { - z.F.EncMapFloat32Float64V(yy633, e) + h.encMapfloat32float64((map[float32]float64)(yy633), e) } } } @@ -5572,7 +5570,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapFloat32BoolV(x.FMapFloat32Bool, e) + h.encMapfloat32bool((map[float32]bool)(x.FMapFloat32Bool), e) } } } else { @@ -5588,7 +5586,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapFloat32BoolV(x.FMapFloat32Bool, e) + h.encMapfloat32bool((map[float32]bool)(x.FMapFloat32Bool), e) } } } @@ -5610,7 +5608,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy639 := *x.FptrMapFloat32Bool if false { } else { - z.F.EncMapFloat32BoolV(yy639, e) + h.encMapfloat32bool((map[float32]bool)(yy639), e) } } } @@ -5631,7 +5629,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy641 := *x.FptrMapFloat32Bool if false { } else { - z.F.EncMapFloat32BoolV(yy641, e) + h.encMapfloat32bool((map[float32]bool)(yy641), e) } } } @@ -5643,7 +5641,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapFloat64IntfV(x.FMapFloat64Intf, e) + h.encMapfloat64Interface((map[float64]interface{})(x.FMapFloat64Intf), e) } } } else { @@ -5659,7 +5657,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapFloat64IntfV(x.FMapFloat64Intf, e) + h.encMapfloat64Interface((map[float64]interface{})(x.FMapFloat64Intf), e) } } } @@ -5681,7 +5679,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy647 := *x.FptrMapFloat64Intf if false { } else { - z.F.EncMapFloat64IntfV(yy647, e) + h.encMapfloat64Interface((map[float64]interface{})(yy647), e) } } } @@ -5702,7 +5700,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy649 := *x.FptrMapFloat64Intf if false { } else { - z.F.EncMapFloat64IntfV(yy649, e) + h.encMapfloat64Interface((map[float64]interface{})(yy649), e) } } } @@ -5714,7 +5712,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapFloat64StringV(x.FMapFloat64String, e) + h.encMapfloat64string((map[float64]string)(x.FMapFloat64String), e) } } } else { @@ -5730,7 +5728,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapFloat64StringV(x.FMapFloat64String, e) + h.encMapfloat64string((map[float64]string)(x.FMapFloat64String), e) } } } @@ -5752,7 +5750,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy655 := *x.FptrMapFloat64String if false { } else { - z.F.EncMapFloat64StringV(yy655, e) + h.encMapfloat64string((map[float64]string)(yy655), e) } } } @@ -5773,7 +5771,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy657 := *x.FptrMapFloat64String if false { } else { - z.F.EncMapFloat64StringV(yy657, e) + h.encMapfloat64string((map[float64]string)(yy657), e) } } } @@ -5785,7 +5783,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapFloat64UintV(x.FMapFloat64Uint, e) + h.encMapfloat64uint((map[float64]uint)(x.FMapFloat64Uint), e) } } } else { @@ -5801,7 +5799,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapFloat64UintV(x.FMapFloat64Uint, e) + h.encMapfloat64uint((map[float64]uint)(x.FMapFloat64Uint), e) } } } @@ -5823,7 +5821,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy663 := *x.FptrMapFloat64Uint if false { } else { - z.F.EncMapFloat64UintV(yy663, e) + h.encMapfloat64uint((map[float64]uint)(yy663), e) } } } @@ -5844,7 +5842,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy665 := *x.FptrMapFloat64Uint if false { } else { - z.F.EncMapFloat64UintV(yy665, e) + h.encMapfloat64uint((map[float64]uint)(yy665), e) } } } @@ -5856,7 +5854,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapFloat64Uint8V(x.FMapFloat64Uint8, e) + h.encMapfloat64uint8((map[float64]uint8)(x.FMapFloat64Uint8), e) } } } else { @@ -5872,7 +5870,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapFloat64Uint8V(x.FMapFloat64Uint8, e) + h.encMapfloat64uint8((map[float64]uint8)(x.FMapFloat64Uint8), e) } } } @@ -5894,7 +5892,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy671 := *x.FptrMapFloat64Uint8 if false { } else { - z.F.EncMapFloat64Uint8V(yy671, e) + h.encMapfloat64uint8((map[float64]uint8)(yy671), e) } } } @@ -5915,7 +5913,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy673 := *x.FptrMapFloat64Uint8 if false { } else { - z.F.EncMapFloat64Uint8V(yy673, e) + h.encMapfloat64uint8((map[float64]uint8)(yy673), e) } } } @@ -5927,7 +5925,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapFloat64Uint16V(x.FMapFloat64Uint16, e) + h.encMapfloat64uint16((map[float64]uint16)(x.FMapFloat64Uint16), e) } } } else { @@ -5943,7 +5941,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapFloat64Uint16V(x.FMapFloat64Uint16, e) + h.encMapfloat64uint16((map[float64]uint16)(x.FMapFloat64Uint16), e) } } } @@ -5965,7 +5963,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy679 := *x.FptrMapFloat64Uint16 if false { } else { - z.F.EncMapFloat64Uint16V(yy679, e) + h.encMapfloat64uint16((map[float64]uint16)(yy679), e) } } } @@ -5986,7 +5984,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy681 := *x.FptrMapFloat64Uint16 if false { } else { - z.F.EncMapFloat64Uint16V(yy681, e) + h.encMapfloat64uint16((map[float64]uint16)(yy681), e) } } } @@ -5998,7 +5996,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapFloat64Uint32V(x.FMapFloat64Uint32, e) + h.encMapfloat64uint32((map[float64]uint32)(x.FMapFloat64Uint32), e) } } } else { @@ -6014,7 +6012,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapFloat64Uint32V(x.FMapFloat64Uint32, e) + h.encMapfloat64uint32((map[float64]uint32)(x.FMapFloat64Uint32), e) } } } @@ -6036,7 +6034,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy687 := *x.FptrMapFloat64Uint32 if false { } else { - z.F.EncMapFloat64Uint32V(yy687, e) + h.encMapfloat64uint32((map[float64]uint32)(yy687), e) } } } @@ -6057,7 +6055,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy689 := *x.FptrMapFloat64Uint32 if false { } else { - z.F.EncMapFloat64Uint32V(yy689, e) + h.encMapfloat64uint32((map[float64]uint32)(yy689), e) } } } @@ -6069,7 +6067,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapFloat64Uint64V(x.FMapFloat64Uint64, e) + h.encMapfloat64uint64((map[float64]uint64)(x.FMapFloat64Uint64), e) } } } else { @@ -6085,7 +6083,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapFloat64Uint64V(x.FMapFloat64Uint64, e) + h.encMapfloat64uint64((map[float64]uint64)(x.FMapFloat64Uint64), e) } } } @@ -6107,7 +6105,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy695 := *x.FptrMapFloat64Uint64 if false { } else { - z.F.EncMapFloat64Uint64V(yy695, e) + h.encMapfloat64uint64((map[float64]uint64)(yy695), e) } } } @@ -6128,7 +6126,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy697 := *x.FptrMapFloat64Uint64 if false { } else { - z.F.EncMapFloat64Uint64V(yy697, e) + h.encMapfloat64uint64((map[float64]uint64)(yy697), e) } } } @@ -6140,7 +6138,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapFloat64UintptrV(x.FMapFloat64Uintptr, e) + h.encMapfloat64uintptr((map[float64]uintptr)(x.FMapFloat64Uintptr), e) } } } else { @@ -6156,7 +6154,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapFloat64UintptrV(x.FMapFloat64Uintptr, e) + h.encMapfloat64uintptr((map[float64]uintptr)(x.FMapFloat64Uintptr), e) } } } @@ -6178,7 +6176,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy703 := *x.FptrMapFloat64Uintptr if false { } else { - z.F.EncMapFloat64UintptrV(yy703, e) + h.encMapfloat64uintptr((map[float64]uintptr)(yy703), e) } } } @@ -6199,7 +6197,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy705 := *x.FptrMapFloat64Uintptr if false { } else { - z.F.EncMapFloat64UintptrV(yy705, e) + h.encMapfloat64uintptr((map[float64]uintptr)(yy705), e) } } } @@ -6211,7 +6209,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapFloat64IntV(x.FMapFloat64Int, e) + h.encMapfloat64int((map[float64]int)(x.FMapFloat64Int), e) } } } else { @@ -6227,7 +6225,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapFloat64IntV(x.FMapFloat64Int, e) + h.encMapfloat64int((map[float64]int)(x.FMapFloat64Int), e) } } } @@ -6249,7 +6247,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy711 := *x.FptrMapFloat64Int if false { } else { - z.F.EncMapFloat64IntV(yy711, e) + h.encMapfloat64int((map[float64]int)(yy711), e) } } } @@ -6270,7 +6268,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy713 := *x.FptrMapFloat64Int if false { } else { - z.F.EncMapFloat64IntV(yy713, e) + h.encMapfloat64int((map[float64]int)(yy713), e) } } } @@ -6282,7 +6280,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapFloat64Int8V(x.FMapFloat64Int8, e) + h.encMapfloat64int8((map[float64]int8)(x.FMapFloat64Int8), e) } } } else { @@ -6298,7 +6296,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapFloat64Int8V(x.FMapFloat64Int8, e) + h.encMapfloat64int8((map[float64]int8)(x.FMapFloat64Int8), e) } } } @@ -6320,7 +6318,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy719 := *x.FptrMapFloat64Int8 if false { } else { - z.F.EncMapFloat64Int8V(yy719, e) + h.encMapfloat64int8((map[float64]int8)(yy719), e) } } } @@ -6341,7 +6339,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy721 := *x.FptrMapFloat64Int8 if false { } else { - z.F.EncMapFloat64Int8V(yy721, e) + h.encMapfloat64int8((map[float64]int8)(yy721), e) } } } @@ -6353,7 +6351,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapFloat64Int16V(x.FMapFloat64Int16, e) + h.encMapfloat64int16((map[float64]int16)(x.FMapFloat64Int16), e) } } } else { @@ -6369,7 +6367,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapFloat64Int16V(x.FMapFloat64Int16, e) + h.encMapfloat64int16((map[float64]int16)(x.FMapFloat64Int16), e) } } } @@ -6391,7 +6389,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy727 := *x.FptrMapFloat64Int16 if false { } else { - z.F.EncMapFloat64Int16V(yy727, e) + h.encMapfloat64int16((map[float64]int16)(yy727), e) } } } @@ -6412,7 +6410,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy729 := *x.FptrMapFloat64Int16 if false { } else { - z.F.EncMapFloat64Int16V(yy729, e) + h.encMapfloat64int16((map[float64]int16)(yy729), e) } } } @@ -6424,7 +6422,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapFloat64Int32V(x.FMapFloat64Int32, e) + h.encMapfloat64int32((map[float64]int32)(x.FMapFloat64Int32), e) } } } else { @@ -6440,7 +6438,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapFloat64Int32V(x.FMapFloat64Int32, e) + h.encMapfloat64int32((map[float64]int32)(x.FMapFloat64Int32), e) } } } @@ -6462,7 +6460,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy735 := *x.FptrMapFloat64Int32 if false { } else { - z.F.EncMapFloat64Int32V(yy735, e) + h.encMapfloat64int32((map[float64]int32)(yy735), e) } } } @@ -6483,7 +6481,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy737 := *x.FptrMapFloat64Int32 if false { } else { - z.F.EncMapFloat64Int32V(yy737, e) + h.encMapfloat64int32((map[float64]int32)(yy737), e) } } } @@ -6495,7 +6493,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapFloat64Int64V(x.FMapFloat64Int64, e) + h.encMapfloat64int64((map[float64]int64)(x.FMapFloat64Int64), e) } } } else { @@ -6511,7 +6509,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapFloat64Int64V(x.FMapFloat64Int64, e) + h.encMapfloat64int64((map[float64]int64)(x.FMapFloat64Int64), e) } } } @@ -6533,7 +6531,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy743 := *x.FptrMapFloat64Int64 if false { } else { - z.F.EncMapFloat64Int64V(yy743, e) + h.encMapfloat64int64((map[float64]int64)(yy743), e) } } } @@ -6554,7 +6552,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy745 := *x.FptrMapFloat64Int64 if false { } else { - z.F.EncMapFloat64Int64V(yy745, e) + h.encMapfloat64int64((map[float64]int64)(yy745), e) } } } @@ -6566,7 +6564,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapFloat64Float32V(x.FMapFloat64Float32, e) + h.encMapfloat64float32((map[float64]float32)(x.FMapFloat64Float32), e) } } } else { @@ -6582,7 +6580,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapFloat64Float32V(x.FMapFloat64Float32, e) + h.encMapfloat64float32((map[float64]float32)(x.FMapFloat64Float32), e) } } } @@ -6604,7 +6602,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy751 := *x.FptrMapFloat64Float32 if false { } else { - z.F.EncMapFloat64Float32V(yy751, e) + h.encMapfloat64float32((map[float64]float32)(yy751), e) } } } @@ -6625,7 +6623,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy753 := *x.FptrMapFloat64Float32 if false { } else { - z.F.EncMapFloat64Float32V(yy753, e) + h.encMapfloat64float32((map[float64]float32)(yy753), e) } } } @@ -6637,7 +6635,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapFloat64Float64V(x.FMapFloat64Float64, e) + h.encMapfloat64float64((map[float64]float64)(x.FMapFloat64Float64), e) } } } else { @@ -6653,7 +6651,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapFloat64Float64V(x.FMapFloat64Float64, e) + h.encMapfloat64float64((map[float64]float64)(x.FMapFloat64Float64), e) } } } @@ -6675,7 +6673,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy759 := *x.FptrMapFloat64Float64 if false { } else { - z.F.EncMapFloat64Float64V(yy759, e) + h.encMapfloat64float64((map[float64]float64)(yy759), e) } } } @@ -6696,7 +6694,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy761 := *x.FptrMapFloat64Float64 if false { } else { - z.F.EncMapFloat64Float64V(yy761, e) + h.encMapfloat64float64((map[float64]float64)(yy761), e) } } } @@ -6708,7 +6706,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapFloat64BoolV(x.FMapFloat64Bool, e) + h.encMapfloat64bool((map[float64]bool)(x.FMapFloat64Bool), e) } } } else { @@ -6724,7 +6722,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapFloat64BoolV(x.FMapFloat64Bool, e) + h.encMapfloat64bool((map[float64]bool)(x.FMapFloat64Bool), e) } } } @@ -6746,7 +6744,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy767 := *x.FptrMapFloat64Bool if false { } else { - z.F.EncMapFloat64BoolV(yy767, e) + h.encMapfloat64bool((map[float64]bool)(yy767), e) } } } @@ -6767,7 +6765,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy769 := *x.FptrMapFloat64Bool if false { } else { - z.F.EncMapFloat64BoolV(yy769, e) + h.encMapfloat64bool((map[float64]bool)(yy769), e) } } } @@ -6779,7 +6777,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUintIntfV(x.FMapUintIntf, e) + h.encMapuintInterface((map[uint]interface{})(x.FMapUintIntf), e) } } } else { @@ -6795,7 +6793,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUintIntfV(x.FMapUintIntf, e) + h.encMapuintInterface((map[uint]interface{})(x.FMapUintIntf), e) } } } @@ -6817,7 +6815,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy775 := *x.FptrMapUintIntf if false { } else { - z.F.EncMapUintIntfV(yy775, e) + h.encMapuintInterface((map[uint]interface{})(yy775), e) } } } @@ -6838,7 +6836,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy777 := *x.FptrMapUintIntf if false { } else { - z.F.EncMapUintIntfV(yy777, e) + h.encMapuintInterface((map[uint]interface{})(yy777), e) } } } @@ -6850,7 +6848,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUintStringV(x.FMapUintString, e) + h.encMapuintstring((map[uint]string)(x.FMapUintString), e) } } } else { @@ -6866,7 +6864,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUintStringV(x.FMapUintString, e) + h.encMapuintstring((map[uint]string)(x.FMapUintString), e) } } } @@ -6888,7 +6886,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy783 := *x.FptrMapUintString if false { } else { - z.F.EncMapUintStringV(yy783, e) + h.encMapuintstring((map[uint]string)(yy783), e) } } } @@ -6909,7 +6907,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy785 := *x.FptrMapUintString if false { } else { - z.F.EncMapUintStringV(yy785, e) + h.encMapuintstring((map[uint]string)(yy785), e) } } } @@ -6921,7 +6919,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUintUintV(x.FMapUintUint, e) + h.encMapuintuint((map[uint]uint)(x.FMapUintUint), e) } } } else { @@ -6937,7 +6935,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUintUintV(x.FMapUintUint, e) + h.encMapuintuint((map[uint]uint)(x.FMapUintUint), e) } } } @@ -6959,7 +6957,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy791 := *x.FptrMapUintUint if false { } else { - z.F.EncMapUintUintV(yy791, e) + h.encMapuintuint((map[uint]uint)(yy791), e) } } } @@ -6980,7 +6978,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy793 := *x.FptrMapUintUint if false { } else { - z.F.EncMapUintUintV(yy793, e) + h.encMapuintuint((map[uint]uint)(yy793), e) } } } @@ -6992,7 +6990,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUintUint8V(x.FMapUintUint8, e) + h.encMapuintuint8((map[uint]uint8)(x.FMapUintUint8), e) } } } else { @@ -7008,7 +7006,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUintUint8V(x.FMapUintUint8, e) + h.encMapuintuint8((map[uint]uint8)(x.FMapUintUint8), e) } } } @@ -7030,7 +7028,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy799 := *x.FptrMapUintUint8 if false { } else { - z.F.EncMapUintUint8V(yy799, e) + h.encMapuintuint8((map[uint]uint8)(yy799), e) } } } @@ -7051,7 +7049,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy801 := *x.FptrMapUintUint8 if false { } else { - z.F.EncMapUintUint8V(yy801, e) + h.encMapuintuint8((map[uint]uint8)(yy801), e) } } } @@ -7063,7 +7061,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUintUint16V(x.FMapUintUint16, e) + h.encMapuintuint16((map[uint]uint16)(x.FMapUintUint16), e) } } } else { @@ -7079,7 +7077,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUintUint16V(x.FMapUintUint16, e) + h.encMapuintuint16((map[uint]uint16)(x.FMapUintUint16), e) } } } @@ -7101,7 +7099,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy807 := *x.FptrMapUintUint16 if false { } else { - z.F.EncMapUintUint16V(yy807, e) + h.encMapuintuint16((map[uint]uint16)(yy807), e) } } } @@ -7122,7 +7120,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy809 := *x.FptrMapUintUint16 if false { } else { - z.F.EncMapUintUint16V(yy809, e) + h.encMapuintuint16((map[uint]uint16)(yy809), e) } } } @@ -7134,7 +7132,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUintUint32V(x.FMapUintUint32, e) + h.encMapuintuint32((map[uint]uint32)(x.FMapUintUint32), e) } } } else { @@ -7150,7 +7148,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUintUint32V(x.FMapUintUint32, e) + h.encMapuintuint32((map[uint]uint32)(x.FMapUintUint32), e) } } } @@ -7172,7 +7170,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy815 := *x.FptrMapUintUint32 if false { } else { - z.F.EncMapUintUint32V(yy815, e) + h.encMapuintuint32((map[uint]uint32)(yy815), e) } } } @@ -7193,7 +7191,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy817 := *x.FptrMapUintUint32 if false { } else { - z.F.EncMapUintUint32V(yy817, e) + h.encMapuintuint32((map[uint]uint32)(yy817), e) } } } @@ -7205,7 +7203,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUintUint64V(x.FMapUintUint64, e) + h.encMapuintuint64((map[uint]uint64)(x.FMapUintUint64), e) } } } else { @@ -7221,7 +7219,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUintUint64V(x.FMapUintUint64, e) + h.encMapuintuint64((map[uint]uint64)(x.FMapUintUint64), e) } } } @@ -7243,7 +7241,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy823 := *x.FptrMapUintUint64 if false { } else { - z.F.EncMapUintUint64V(yy823, e) + h.encMapuintuint64((map[uint]uint64)(yy823), e) } } } @@ -7264,7 +7262,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy825 := *x.FptrMapUintUint64 if false { } else { - z.F.EncMapUintUint64V(yy825, e) + h.encMapuintuint64((map[uint]uint64)(yy825), e) } } } @@ -7276,7 +7274,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUintUintptrV(x.FMapUintUintptr, e) + h.encMapuintuintptr((map[uint]uintptr)(x.FMapUintUintptr), e) } } } else { @@ -7292,7 +7290,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUintUintptrV(x.FMapUintUintptr, e) + h.encMapuintuintptr((map[uint]uintptr)(x.FMapUintUintptr), e) } } } @@ -7314,7 +7312,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy831 := *x.FptrMapUintUintptr if false { } else { - z.F.EncMapUintUintptrV(yy831, e) + h.encMapuintuintptr((map[uint]uintptr)(yy831), e) } } } @@ -7335,7 +7333,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy833 := *x.FptrMapUintUintptr if false { } else { - z.F.EncMapUintUintptrV(yy833, e) + h.encMapuintuintptr((map[uint]uintptr)(yy833), e) } } } @@ -7347,7 +7345,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUintIntV(x.FMapUintInt, e) + h.encMapuintint((map[uint]int)(x.FMapUintInt), e) } } } else { @@ -7363,7 +7361,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUintIntV(x.FMapUintInt, e) + h.encMapuintint((map[uint]int)(x.FMapUintInt), e) } } } @@ -7385,7 +7383,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy839 := *x.FptrMapUintInt if false { } else { - z.F.EncMapUintIntV(yy839, e) + h.encMapuintint((map[uint]int)(yy839), e) } } } @@ -7406,7 +7404,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy841 := *x.FptrMapUintInt if false { } else { - z.F.EncMapUintIntV(yy841, e) + h.encMapuintint((map[uint]int)(yy841), e) } } } @@ -7418,7 +7416,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUintInt8V(x.FMapUintInt8, e) + h.encMapuintint8((map[uint]int8)(x.FMapUintInt8), e) } } } else { @@ -7434,7 +7432,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUintInt8V(x.FMapUintInt8, e) + h.encMapuintint8((map[uint]int8)(x.FMapUintInt8), e) } } } @@ -7456,7 +7454,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy847 := *x.FptrMapUintInt8 if false { } else { - z.F.EncMapUintInt8V(yy847, e) + h.encMapuintint8((map[uint]int8)(yy847), e) } } } @@ -7477,7 +7475,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy849 := *x.FptrMapUintInt8 if false { } else { - z.F.EncMapUintInt8V(yy849, e) + h.encMapuintint8((map[uint]int8)(yy849), e) } } } @@ -7489,7 +7487,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUintInt16V(x.FMapUintInt16, e) + h.encMapuintint16((map[uint]int16)(x.FMapUintInt16), e) } } } else { @@ -7505,7 +7503,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUintInt16V(x.FMapUintInt16, e) + h.encMapuintint16((map[uint]int16)(x.FMapUintInt16), e) } } } @@ -7527,7 +7525,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy855 := *x.FptrMapUintInt16 if false { } else { - z.F.EncMapUintInt16V(yy855, e) + h.encMapuintint16((map[uint]int16)(yy855), e) } } } @@ -7548,7 +7546,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy857 := *x.FptrMapUintInt16 if false { } else { - z.F.EncMapUintInt16V(yy857, e) + h.encMapuintint16((map[uint]int16)(yy857), e) } } } @@ -7560,7 +7558,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUintInt32V(x.FMapUintInt32, e) + h.encMapuintint32((map[uint]int32)(x.FMapUintInt32), e) } } } else { @@ -7576,7 +7574,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUintInt32V(x.FMapUintInt32, e) + h.encMapuintint32((map[uint]int32)(x.FMapUintInt32), e) } } } @@ -7598,7 +7596,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy863 := *x.FptrMapUintInt32 if false { } else { - z.F.EncMapUintInt32V(yy863, e) + h.encMapuintint32((map[uint]int32)(yy863), e) } } } @@ -7619,7 +7617,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy865 := *x.FptrMapUintInt32 if false { } else { - z.F.EncMapUintInt32V(yy865, e) + h.encMapuintint32((map[uint]int32)(yy865), e) } } } @@ -7631,7 +7629,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUintInt64V(x.FMapUintInt64, e) + h.encMapuintint64((map[uint]int64)(x.FMapUintInt64), e) } } } else { @@ -7647,7 +7645,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUintInt64V(x.FMapUintInt64, e) + h.encMapuintint64((map[uint]int64)(x.FMapUintInt64), e) } } } @@ -7669,7 +7667,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy871 := *x.FptrMapUintInt64 if false { } else { - z.F.EncMapUintInt64V(yy871, e) + h.encMapuintint64((map[uint]int64)(yy871), e) } } } @@ -7690,7 +7688,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy873 := *x.FptrMapUintInt64 if false { } else { - z.F.EncMapUintInt64V(yy873, e) + h.encMapuintint64((map[uint]int64)(yy873), e) } } } @@ -7702,7 +7700,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUintFloat32V(x.FMapUintFloat32, e) + h.encMapuintfloat32((map[uint]float32)(x.FMapUintFloat32), e) } } } else { @@ -7718,7 +7716,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUintFloat32V(x.FMapUintFloat32, e) + h.encMapuintfloat32((map[uint]float32)(x.FMapUintFloat32), e) } } } @@ -7740,7 +7738,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy879 := *x.FptrMapUintFloat32 if false { } else { - z.F.EncMapUintFloat32V(yy879, e) + h.encMapuintfloat32((map[uint]float32)(yy879), e) } } } @@ -7761,7 +7759,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy881 := *x.FptrMapUintFloat32 if false { } else { - z.F.EncMapUintFloat32V(yy881, e) + h.encMapuintfloat32((map[uint]float32)(yy881), e) } } } @@ -7773,7 +7771,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUintFloat64V(x.FMapUintFloat64, e) + h.encMapuintfloat64((map[uint]float64)(x.FMapUintFloat64), e) } } } else { @@ -7789,7 +7787,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUintFloat64V(x.FMapUintFloat64, e) + h.encMapuintfloat64((map[uint]float64)(x.FMapUintFloat64), e) } } } @@ -7811,7 +7809,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy887 := *x.FptrMapUintFloat64 if false { } else { - z.F.EncMapUintFloat64V(yy887, e) + h.encMapuintfloat64((map[uint]float64)(yy887), e) } } } @@ -7832,7 +7830,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy889 := *x.FptrMapUintFloat64 if false { } else { - z.F.EncMapUintFloat64V(yy889, e) + h.encMapuintfloat64((map[uint]float64)(yy889), e) } } } @@ -7844,7 +7842,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUintBoolV(x.FMapUintBool, e) + h.encMapuintbool((map[uint]bool)(x.FMapUintBool), e) } } } else { @@ -7860,7 +7858,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUintBoolV(x.FMapUintBool, e) + h.encMapuintbool((map[uint]bool)(x.FMapUintBool), e) } } } @@ -7882,7 +7880,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy895 := *x.FptrMapUintBool if false { } else { - z.F.EncMapUintBoolV(yy895, e) + h.encMapuintbool((map[uint]bool)(yy895), e) } } } @@ -7903,7 +7901,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy897 := *x.FptrMapUintBool if false { } else { - z.F.EncMapUintBoolV(yy897, e) + h.encMapuintbool((map[uint]bool)(yy897), e) } } } @@ -7915,7 +7913,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint8IntfV(x.FMapUint8Intf, e) + h.encMapuint8Interface((map[uint8]interface{})(x.FMapUint8Intf), e) } } } else { @@ -7931,7 +7929,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint8IntfV(x.FMapUint8Intf, e) + h.encMapuint8Interface((map[uint8]interface{})(x.FMapUint8Intf), e) } } } @@ -7953,7 +7951,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy903 := *x.FptrMapUint8Intf if false { } else { - z.F.EncMapUint8IntfV(yy903, e) + h.encMapuint8Interface((map[uint8]interface{})(yy903), e) } } } @@ -7974,7 +7972,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy905 := *x.FptrMapUint8Intf if false { } else { - z.F.EncMapUint8IntfV(yy905, e) + h.encMapuint8Interface((map[uint8]interface{})(yy905), e) } } } @@ -7986,7 +7984,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint8StringV(x.FMapUint8String, e) + h.encMapuint8string((map[uint8]string)(x.FMapUint8String), e) } } } else { @@ -8002,7 +8000,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint8StringV(x.FMapUint8String, e) + h.encMapuint8string((map[uint8]string)(x.FMapUint8String), e) } } } @@ -8024,7 +8022,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy911 := *x.FptrMapUint8String if false { } else { - z.F.EncMapUint8StringV(yy911, e) + h.encMapuint8string((map[uint8]string)(yy911), e) } } } @@ -8045,7 +8043,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy913 := *x.FptrMapUint8String if false { } else { - z.F.EncMapUint8StringV(yy913, e) + h.encMapuint8string((map[uint8]string)(yy913), e) } } } @@ -8057,7 +8055,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint8UintV(x.FMapUint8Uint, e) + h.encMapuint8uint((map[uint8]uint)(x.FMapUint8Uint), e) } } } else { @@ -8073,7 +8071,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint8UintV(x.FMapUint8Uint, e) + h.encMapuint8uint((map[uint8]uint)(x.FMapUint8Uint), e) } } } @@ -8095,7 +8093,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy919 := *x.FptrMapUint8Uint if false { } else { - z.F.EncMapUint8UintV(yy919, e) + h.encMapuint8uint((map[uint8]uint)(yy919), e) } } } @@ -8116,7 +8114,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy921 := *x.FptrMapUint8Uint if false { } else { - z.F.EncMapUint8UintV(yy921, e) + h.encMapuint8uint((map[uint8]uint)(yy921), e) } } } @@ -8128,7 +8126,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint8Uint8V(x.FMapUint8Uint8, e) + h.encMapuint8uint8((map[uint8]uint8)(x.FMapUint8Uint8), e) } } } else { @@ -8144,7 +8142,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint8Uint8V(x.FMapUint8Uint8, e) + h.encMapuint8uint8((map[uint8]uint8)(x.FMapUint8Uint8), e) } } } @@ -8166,7 +8164,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy927 := *x.FptrMapUint8Uint8 if false { } else { - z.F.EncMapUint8Uint8V(yy927, e) + h.encMapuint8uint8((map[uint8]uint8)(yy927), e) } } } @@ -8187,7 +8185,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy929 := *x.FptrMapUint8Uint8 if false { } else { - z.F.EncMapUint8Uint8V(yy929, e) + h.encMapuint8uint8((map[uint8]uint8)(yy929), e) } } } @@ -8199,7 +8197,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint8Uint16V(x.FMapUint8Uint16, e) + h.encMapuint8uint16((map[uint8]uint16)(x.FMapUint8Uint16), e) } } } else { @@ -8215,7 +8213,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint8Uint16V(x.FMapUint8Uint16, e) + h.encMapuint8uint16((map[uint8]uint16)(x.FMapUint8Uint16), e) } } } @@ -8237,7 +8235,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy935 := *x.FptrMapUint8Uint16 if false { } else { - z.F.EncMapUint8Uint16V(yy935, e) + h.encMapuint8uint16((map[uint8]uint16)(yy935), e) } } } @@ -8258,7 +8256,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy937 := *x.FptrMapUint8Uint16 if false { } else { - z.F.EncMapUint8Uint16V(yy937, e) + h.encMapuint8uint16((map[uint8]uint16)(yy937), e) } } } @@ -8270,7 +8268,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint8Uint32V(x.FMapUint8Uint32, e) + h.encMapuint8uint32((map[uint8]uint32)(x.FMapUint8Uint32), e) } } } else { @@ -8286,7 +8284,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint8Uint32V(x.FMapUint8Uint32, e) + h.encMapuint8uint32((map[uint8]uint32)(x.FMapUint8Uint32), e) } } } @@ -8308,7 +8306,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy943 := *x.FptrMapUint8Uint32 if false { } else { - z.F.EncMapUint8Uint32V(yy943, e) + h.encMapuint8uint32((map[uint8]uint32)(yy943), e) } } } @@ -8329,7 +8327,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy945 := *x.FptrMapUint8Uint32 if false { } else { - z.F.EncMapUint8Uint32V(yy945, e) + h.encMapuint8uint32((map[uint8]uint32)(yy945), e) } } } @@ -8341,7 +8339,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint8Uint64V(x.FMapUint8Uint64, e) + h.encMapuint8uint64((map[uint8]uint64)(x.FMapUint8Uint64), e) } } } else { @@ -8357,7 +8355,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint8Uint64V(x.FMapUint8Uint64, e) + h.encMapuint8uint64((map[uint8]uint64)(x.FMapUint8Uint64), e) } } } @@ -8379,7 +8377,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy951 := *x.FptrMapUint8Uint64 if false { } else { - z.F.EncMapUint8Uint64V(yy951, e) + h.encMapuint8uint64((map[uint8]uint64)(yy951), e) } } } @@ -8400,7 +8398,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy953 := *x.FptrMapUint8Uint64 if false { } else { - z.F.EncMapUint8Uint64V(yy953, e) + h.encMapuint8uint64((map[uint8]uint64)(yy953), e) } } } @@ -8412,7 +8410,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint8UintptrV(x.FMapUint8Uintptr, e) + h.encMapuint8uintptr((map[uint8]uintptr)(x.FMapUint8Uintptr), e) } } } else { @@ -8428,7 +8426,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint8UintptrV(x.FMapUint8Uintptr, e) + h.encMapuint8uintptr((map[uint8]uintptr)(x.FMapUint8Uintptr), e) } } } @@ -8450,7 +8448,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy959 := *x.FptrMapUint8Uintptr if false { } else { - z.F.EncMapUint8UintptrV(yy959, e) + h.encMapuint8uintptr((map[uint8]uintptr)(yy959), e) } } } @@ -8471,7 +8469,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy961 := *x.FptrMapUint8Uintptr if false { } else { - z.F.EncMapUint8UintptrV(yy961, e) + h.encMapuint8uintptr((map[uint8]uintptr)(yy961), e) } } } @@ -8483,7 +8481,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint8IntV(x.FMapUint8Int, e) + h.encMapuint8int((map[uint8]int)(x.FMapUint8Int), e) } } } else { @@ -8499,7 +8497,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint8IntV(x.FMapUint8Int, e) + h.encMapuint8int((map[uint8]int)(x.FMapUint8Int), e) } } } @@ -8521,7 +8519,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy967 := *x.FptrMapUint8Int if false { } else { - z.F.EncMapUint8IntV(yy967, e) + h.encMapuint8int((map[uint8]int)(yy967), e) } } } @@ -8542,7 +8540,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy969 := *x.FptrMapUint8Int if false { } else { - z.F.EncMapUint8IntV(yy969, e) + h.encMapuint8int((map[uint8]int)(yy969), e) } } } @@ -8554,7 +8552,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint8Int8V(x.FMapUint8Int8, e) + h.encMapuint8int8((map[uint8]int8)(x.FMapUint8Int8), e) } } } else { @@ -8570,7 +8568,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint8Int8V(x.FMapUint8Int8, e) + h.encMapuint8int8((map[uint8]int8)(x.FMapUint8Int8), e) } } } @@ -8592,7 +8590,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy975 := *x.FptrMapUint8Int8 if false { } else { - z.F.EncMapUint8Int8V(yy975, e) + h.encMapuint8int8((map[uint8]int8)(yy975), e) } } } @@ -8613,7 +8611,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy977 := *x.FptrMapUint8Int8 if false { } else { - z.F.EncMapUint8Int8V(yy977, e) + h.encMapuint8int8((map[uint8]int8)(yy977), e) } } } @@ -8625,7 +8623,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint8Int16V(x.FMapUint8Int16, e) + h.encMapuint8int16((map[uint8]int16)(x.FMapUint8Int16), e) } } } else { @@ -8641,7 +8639,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint8Int16V(x.FMapUint8Int16, e) + h.encMapuint8int16((map[uint8]int16)(x.FMapUint8Int16), e) } } } @@ -8663,7 +8661,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy983 := *x.FptrMapUint8Int16 if false { } else { - z.F.EncMapUint8Int16V(yy983, e) + h.encMapuint8int16((map[uint8]int16)(yy983), e) } } } @@ -8684,7 +8682,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy985 := *x.FptrMapUint8Int16 if false { } else { - z.F.EncMapUint8Int16V(yy985, e) + h.encMapuint8int16((map[uint8]int16)(yy985), e) } } } @@ -8696,7 +8694,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint8Int32V(x.FMapUint8Int32, e) + h.encMapuint8int32((map[uint8]int32)(x.FMapUint8Int32), e) } } } else { @@ -8712,7 +8710,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint8Int32V(x.FMapUint8Int32, e) + h.encMapuint8int32((map[uint8]int32)(x.FMapUint8Int32), e) } } } @@ -8734,7 +8732,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy991 := *x.FptrMapUint8Int32 if false { } else { - z.F.EncMapUint8Int32V(yy991, e) + h.encMapuint8int32((map[uint8]int32)(yy991), e) } } } @@ -8755,7 +8753,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy993 := *x.FptrMapUint8Int32 if false { } else { - z.F.EncMapUint8Int32V(yy993, e) + h.encMapuint8int32((map[uint8]int32)(yy993), e) } } } @@ -8767,7 +8765,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint8Int64V(x.FMapUint8Int64, e) + h.encMapuint8int64((map[uint8]int64)(x.FMapUint8Int64), e) } } } else { @@ -8783,7 +8781,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint8Int64V(x.FMapUint8Int64, e) + h.encMapuint8int64((map[uint8]int64)(x.FMapUint8Int64), e) } } } @@ -8805,7 +8803,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy999 := *x.FptrMapUint8Int64 if false { } else { - z.F.EncMapUint8Int64V(yy999, e) + h.encMapuint8int64((map[uint8]int64)(yy999), e) } } } @@ -8826,7 +8824,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1001 := *x.FptrMapUint8Int64 if false { } else { - z.F.EncMapUint8Int64V(yy1001, e) + h.encMapuint8int64((map[uint8]int64)(yy1001), e) } } } @@ -8838,7 +8836,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint8Float32V(x.FMapUint8Float32, e) + h.encMapuint8float32((map[uint8]float32)(x.FMapUint8Float32), e) } } } else { @@ -8854,7 +8852,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint8Float32V(x.FMapUint8Float32, e) + h.encMapuint8float32((map[uint8]float32)(x.FMapUint8Float32), e) } } } @@ -8876,7 +8874,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1007 := *x.FptrMapUint8Float32 if false { } else { - z.F.EncMapUint8Float32V(yy1007, e) + h.encMapuint8float32((map[uint8]float32)(yy1007), e) } } } @@ -8897,7 +8895,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1009 := *x.FptrMapUint8Float32 if false { } else { - z.F.EncMapUint8Float32V(yy1009, e) + h.encMapuint8float32((map[uint8]float32)(yy1009), e) } } } @@ -8909,7 +8907,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint8Float64V(x.FMapUint8Float64, e) + h.encMapuint8float64((map[uint8]float64)(x.FMapUint8Float64), e) } } } else { @@ -8925,7 +8923,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint8Float64V(x.FMapUint8Float64, e) + h.encMapuint8float64((map[uint8]float64)(x.FMapUint8Float64), e) } } } @@ -8947,7 +8945,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1015 := *x.FptrMapUint8Float64 if false { } else { - z.F.EncMapUint8Float64V(yy1015, e) + h.encMapuint8float64((map[uint8]float64)(yy1015), e) } } } @@ -8968,7 +8966,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1017 := *x.FptrMapUint8Float64 if false { } else { - z.F.EncMapUint8Float64V(yy1017, e) + h.encMapuint8float64((map[uint8]float64)(yy1017), e) } } } @@ -8980,7 +8978,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint8BoolV(x.FMapUint8Bool, e) + h.encMapuint8bool((map[uint8]bool)(x.FMapUint8Bool), e) } } } else { @@ -8996,7 +8994,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint8BoolV(x.FMapUint8Bool, e) + h.encMapuint8bool((map[uint8]bool)(x.FMapUint8Bool), e) } } } @@ -9018,7 +9016,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1023 := *x.FptrMapUint8Bool if false { } else { - z.F.EncMapUint8BoolV(yy1023, e) + h.encMapuint8bool((map[uint8]bool)(yy1023), e) } } } @@ -9039,7 +9037,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1025 := *x.FptrMapUint8Bool if false { } else { - z.F.EncMapUint8BoolV(yy1025, e) + h.encMapuint8bool((map[uint8]bool)(yy1025), e) } } } @@ -9051,7 +9049,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint16IntfV(x.FMapUint16Intf, e) + h.encMapuint16Interface((map[uint16]interface{})(x.FMapUint16Intf), e) } } } else { @@ -9067,7 +9065,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint16IntfV(x.FMapUint16Intf, e) + h.encMapuint16Interface((map[uint16]interface{})(x.FMapUint16Intf), e) } } } @@ -9089,7 +9087,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1031 := *x.FptrMapUint16Intf if false { } else { - z.F.EncMapUint16IntfV(yy1031, e) + h.encMapuint16Interface((map[uint16]interface{})(yy1031), e) } } } @@ -9110,7 +9108,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1033 := *x.FptrMapUint16Intf if false { } else { - z.F.EncMapUint16IntfV(yy1033, e) + h.encMapuint16Interface((map[uint16]interface{})(yy1033), e) } } } @@ -9122,7 +9120,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint16StringV(x.FMapUint16String, e) + h.encMapuint16string((map[uint16]string)(x.FMapUint16String), e) } } } else { @@ -9138,7 +9136,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint16StringV(x.FMapUint16String, e) + h.encMapuint16string((map[uint16]string)(x.FMapUint16String), e) } } } @@ -9160,7 +9158,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1039 := *x.FptrMapUint16String if false { } else { - z.F.EncMapUint16StringV(yy1039, e) + h.encMapuint16string((map[uint16]string)(yy1039), e) } } } @@ -9181,7 +9179,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1041 := *x.FptrMapUint16String if false { } else { - z.F.EncMapUint16StringV(yy1041, e) + h.encMapuint16string((map[uint16]string)(yy1041), e) } } } @@ -9193,7 +9191,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint16UintV(x.FMapUint16Uint, e) + h.encMapuint16uint((map[uint16]uint)(x.FMapUint16Uint), e) } } } else { @@ -9209,7 +9207,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint16UintV(x.FMapUint16Uint, e) + h.encMapuint16uint((map[uint16]uint)(x.FMapUint16Uint), e) } } } @@ -9231,7 +9229,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1047 := *x.FptrMapUint16Uint if false { } else { - z.F.EncMapUint16UintV(yy1047, e) + h.encMapuint16uint((map[uint16]uint)(yy1047), e) } } } @@ -9252,7 +9250,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1049 := *x.FptrMapUint16Uint if false { } else { - z.F.EncMapUint16UintV(yy1049, e) + h.encMapuint16uint((map[uint16]uint)(yy1049), e) } } } @@ -9264,7 +9262,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint16Uint8V(x.FMapUint16Uint8, e) + h.encMapuint16uint8((map[uint16]uint8)(x.FMapUint16Uint8), e) } } } else { @@ -9280,7 +9278,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint16Uint8V(x.FMapUint16Uint8, e) + h.encMapuint16uint8((map[uint16]uint8)(x.FMapUint16Uint8), e) } } } @@ -9302,7 +9300,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1055 := *x.FptrMapUint16Uint8 if false { } else { - z.F.EncMapUint16Uint8V(yy1055, e) + h.encMapuint16uint8((map[uint16]uint8)(yy1055), e) } } } @@ -9323,7 +9321,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1057 := *x.FptrMapUint16Uint8 if false { } else { - z.F.EncMapUint16Uint8V(yy1057, e) + h.encMapuint16uint8((map[uint16]uint8)(yy1057), e) } } } @@ -9335,7 +9333,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint16Uint16V(x.FMapUint16Uint16, e) + h.encMapuint16uint16((map[uint16]uint16)(x.FMapUint16Uint16), e) } } } else { @@ -9351,7 +9349,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint16Uint16V(x.FMapUint16Uint16, e) + h.encMapuint16uint16((map[uint16]uint16)(x.FMapUint16Uint16), e) } } } @@ -9373,7 +9371,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1063 := *x.FptrMapUint16Uint16 if false { } else { - z.F.EncMapUint16Uint16V(yy1063, e) + h.encMapuint16uint16((map[uint16]uint16)(yy1063), e) } } } @@ -9394,7 +9392,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1065 := *x.FptrMapUint16Uint16 if false { } else { - z.F.EncMapUint16Uint16V(yy1065, e) + h.encMapuint16uint16((map[uint16]uint16)(yy1065), e) } } } @@ -9406,7 +9404,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint16Uint32V(x.FMapUint16Uint32, e) + h.encMapuint16uint32((map[uint16]uint32)(x.FMapUint16Uint32), e) } } } else { @@ -9422,7 +9420,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint16Uint32V(x.FMapUint16Uint32, e) + h.encMapuint16uint32((map[uint16]uint32)(x.FMapUint16Uint32), e) } } } @@ -9444,7 +9442,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1071 := *x.FptrMapUint16Uint32 if false { } else { - z.F.EncMapUint16Uint32V(yy1071, e) + h.encMapuint16uint32((map[uint16]uint32)(yy1071), e) } } } @@ -9465,7 +9463,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1073 := *x.FptrMapUint16Uint32 if false { } else { - z.F.EncMapUint16Uint32V(yy1073, e) + h.encMapuint16uint32((map[uint16]uint32)(yy1073), e) } } } @@ -9477,7 +9475,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint16Uint64V(x.FMapUint16Uint64, e) + h.encMapuint16uint64((map[uint16]uint64)(x.FMapUint16Uint64), e) } } } else { @@ -9493,7 +9491,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint16Uint64V(x.FMapUint16Uint64, e) + h.encMapuint16uint64((map[uint16]uint64)(x.FMapUint16Uint64), e) } } } @@ -9515,7 +9513,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1079 := *x.FptrMapUint16Uint64 if false { } else { - z.F.EncMapUint16Uint64V(yy1079, e) + h.encMapuint16uint64((map[uint16]uint64)(yy1079), e) } } } @@ -9536,7 +9534,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1081 := *x.FptrMapUint16Uint64 if false { } else { - z.F.EncMapUint16Uint64V(yy1081, e) + h.encMapuint16uint64((map[uint16]uint64)(yy1081), e) } } } @@ -9548,7 +9546,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint16UintptrV(x.FMapUint16Uintptr, e) + h.encMapuint16uintptr((map[uint16]uintptr)(x.FMapUint16Uintptr), e) } } } else { @@ -9564,7 +9562,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint16UintptrV(x.FMapUint16Uintptr, e) + h.encMapuint16uintptr((map[uint16]uintptr)(x.FMapUint16Uintptr), e) } } } @@ -9586,7 +9584,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1087 := *x.FptrMapUint16Uintptr if false { } else { - z.F.EncMapUint16UintptrV(yy1087, e) + h.encMapuint16uintptr((map[uint16]uintptr)(yy1087), e) } } } @@ -9607,7 +9605,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1089 := *x.FptrMapUint16Uintptr if false { } else { - z.F.EncMapUint16UintptrV(yy1089, e) + h.encMapuint16uintptr((map[uint16]uintptr)(yy1089), e) } } } @@ -9619,7 +9617,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint16IntV(x.FMapUint16Int, e) + h.encMapuint16int((map[uint16]int)(x.FMapUint16Int), e) } } } else { @@ -9635,7 +9633,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint16IntV(x.FMapUint16Int, e) + h.encMapuint16int((map[uint16]int)(x.FMapUint16Int), e) } } } @@ -9657,7 +9655,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1095 := *x.FptrMapUint16Int if false { } else { - z.F.EncMapUint16IntV(yy1095, e) + h.encMapuint16int((map[uint16]int)(yy1095), e) } } } @@ -9678,7 +9676,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1097 := *x.FptrMapUint16Int if false { } else { - z.F.EncMapUint16IntV(yy1097, e) + h.encMapuint16int((map[uint16]int)(yy1097), e) } } } @@ -9690,7 +9688,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint16Int8V(x.FMapUint16Int8, e) + h.encMapuint16int8((map[uint16]int8)(x.FMapUint16Int8), e) } } } else { @@ -9706,7 +9704,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint16Int8V(x.FMapUint16Int8, e) + h.encMapuint16int8((map[uint16]int8)(x.FMapUint16Int8), e) } } } @@ -9728,7 +9726,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1103 := *x.FptrMapUint16Int8 if false { } else { - z.F.EncMapUint16Int8V(yy1103, e) + h.encMapuint16int8((map[uint16]int8)(yy1103), e) } } } @@ -9749,7 +9747,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1105 := *x.FptrMapUint16Int8 if false { } else { - z.F.EncMapUint16Int8V(yy1105, e) + h.encMapuint16int8((map[uint16]int8)(yy1105), e) } } } @@ -9761,7 +9759,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint16Int16V(x.FMapUint16Int16, e) + h.encMapuint16int16((map[uint16]int16)(x.FMapUint16Int16), e) } } } else { @@ -9777,7 +9775,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint16Int16V(x.FMapUint16Int16, e) + h.encMapuint16int16((map[uint16]int16)(x.FMapUint16Int16), e) } } } @@ -9799,7 +9797,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1111 := *x.FptrMapUint16Int16 if false { } else { - z.F.EncMapUint16Int16V(yy1111, e) + h.encMapuint16int16((map[uint16]int16)(yy1111), e) } } } @@ -9820,7 +9818,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1113 := *x.FptrMapUint16Int16 if false { } else { - z.F.EncMapUint16Int16V(yy1113, e) + h.encMapuint16int16((map[uint16]int16)(yy1113), e) } } } @@ -9832,7 +9830,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint16Int32V(x.FMapUint16Int32, e) + h.encMapuint16int32((map[uint16]int32)(x.FMapUint16Int32), e) } } } else { @@ -9848,7 +9846,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint16Int32V(x.FMapUint16Int32, e) + h.encMapuint16int32((map[uint16]int32)(x.FMapUint16Int32), e) } } } @@ -9870,7 +9868,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1119 := *x.FptrMapUint16Int32 if false { } else { - z.F.EncMapUint16Int32V(yy1119, e) + h.encMapuint16int32((map[uint16]int32)(yy1119), e) } } } @@ -9891,7 +9889,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1121 := *x.FptrMapUint16Int32 if false { } else { - z.F.EncMapUint16Int32V(yy1121, e) + h.encMapuint16int32((map[uint16]int32)(yy1121), e) } } } @@ -9903,7 +9901,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint16Int64V(x.FMapUint16Int64, e) + h.encMapuint16int64((map[uint16]int64)(x.FMapUint16Int64), e) } } } else { @@ -9919,7 +9917,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint16Int64V(x.FMapUint16Int64, e) + h.encMapuint16int64((map[uint16]int64)(x.FMapUint16Int64), e) } } } @@ -9941,7 +9939,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1127 := *x.FptrMapUint16Int64 if false { } else { - z.F.EncMapUint16Int64V(yy1127, e) + h.encMapuint16int64((map[uint16]int64)(yy1127), e) } } } @@ -9962,7 +9960,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1129 := *x.FptrMapUint16Int64 if false { } else { - z.F.EncMapUint16Int64V(yy1129, e) + h.encMapuint16int64((map[uint16]int64)(yy1129), e) } } } @@ -9974,7 +9972,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint16Float32V(x.FMapUint16Float32, e) + h.encMapuint16float32((map[uint16]float32)(x.FMapUint16Float32), e) } } } else { @@ -9990,7 +9988,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint16Float32V(x.FMapUint16Float32, e) + h.encMapuint16float32((map[uint16]float32)(x.FMapUint16Float32), e) } } } @@ -10012,7 +10010,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1135 := *x.FptrMapUint16Float32 if false { } else { - z.F.EncMapUint16Float32V(yy1135, e) + h.encMapuint16float32((map[uint16]float32)(yy1135), e) } } } @@ -10033,7 +10031,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1137 := *x.FptrMapUint16Float32 if false { } else { - z.F.EncMapUint16Float32V(yy1137, e) + h.encMapuint16float32((map[uint16]float32)(yy1137), e) } } } @@ -10045,7 +10043,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint16Float64V(x.FMapUint16Float64, e) + h.encMapuint16float64((map[uint16]float64)(x.FMapUint16Float64), e) } } } else { @@ -10061,7 +10059,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint16Float64V(x.FMapUint16Float64, e) + h.encMapuint16float64((map[uint16]float64)(x.FMapUint16Float64), e) } } } @@ -10083,7 +10081,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1143 := *x.FptrMapUint16Float64 if false { } else { - z.F.EncMapUint16Float64V(yy1143, e) + h.encMapuint16float64((map[uint16]float64)(yy1143), e) } } } @@ -10104,7 +10102,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1145 := *x.FptrMapUint16Float64 if false { } else { - z.F.EncMapUint16Float64V(yy1145, e) + h.encMapuint16float64((map[uint16]float64)(yy1145), e) } } } @@ -10116,7 +10114,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint16BoolV(x.FMapUint16Bool, e) + h.encMapuint16bool((map[uint16]bool)(x.FMapUint16Bool), e) } } } else { @@ -10132,7 +10130,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint16BoolV(x.FMapUint16Bool, e) + h.encMapuint16bool((map[uint16]bool)(x.FMapUint16Bool), e) } } } @@ -10154,7 +10152,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1151 := *x.FptrMapUint16Bool if false { } else { - z.F.EncMapUint16BoolV(yy1151, e) + h.encMapuint16bool((map[uint16]bool)(yy1151), e) } } } @@ -10175,7 +10173,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1153 := *x.FptrMapUint16Bool if false { } else { - z.F.EncMapUint16BoolV(yy1153, e) + h.encMapuint16bool((map[uint16]bool)(yy1153), e) } } } @@ -10187,7 +10185,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint32IntfV(x.FMapUint32Intf, e) + h.encMapuint32Interface((map[uint32]interface{})(x.FMapUint32Intf), e) } } } else { @@ -10203,7 +10201,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint32IntfV(x.FMapUint32Intf, e) + h.encMapuint32Interface((map[uint32]interface{})(x.FMapUint32Intf), e) } } } @@ -10225,7 +10223,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1159 := *x.FptrMapUint32Intf if false { } else { - z.F.EncMapUint32IntfV(yy1159, e) + h.encMapuint32Interface((map[uint32]interface{})(yy1159), e) } } } @@ -10246,7 +10244,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1161 := *x.FptrMapUint32Intf if false { } else { - z.F.EncMapUint32IntfV(yy1161, e) + h.encMapuint32Interface((map[uint32]interface{})(yy1161), e) } } } @@ -10258,7 +10256,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint32StringV(x.FMapUint32String, e) + h.encMapuint32string((map[uint32]string)(x.FMapUint32String), e) } } } else { @@ -10274,7 +10272,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint32StringV(x.FMapUint32String, e) + h.encMapuint32string((map[uint32]string)(x.FMapUint32String), e) } } } @@ -10296,7 +10294,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1167 := *x.FptrMapUint32String if false { } else { - z.F.EncMapUint32StringV(yy1167, e) + h.encMapuint32string((map[uint32]string)(yy1167), e) } } } @@ -10317,7 +10315,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1169 := *x.FptrMapUint32String if false { } else { - z.F.EncMapUint32StringV(yy1169, e) + h.encMapuint32string((map[uint32]string)(yy1169), e) } } } @@ -10329,7 +10327,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint32UintV(x.FMapUint32Uint, e) + h.encMapuint32uint((map[uint32]uint)(x.FMapUint32Uint), e) } } } else { @@ -10345,7 +10343,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint32UintV(x.FMapUint32Uint, e) + h.encMapuint32uint((map[uint32]uint)(x.FMapUint32Uint), e) } } } @@ -10367,7 +10365,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1175 := *x.FptrMapUint32Uint if false { } else { - z.F.EncMapUint32UintV(yy1175, e) + h.encMapuint32uint((map[uint32]uint)(yy1175), e) } } } @@ -10388,7 +10386,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1177 := *x.FptrMapUint32Uint if false { } else { - z.F.EncMapUint32UintV(yy1177, e) + h.encMapuint32uint((map[uint32]uint)(yy1177), e) } } } @@ -10400,7 +10398,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint32Uint8V(x.FMapUint32Uint8, e) + h.encMapuint32uint8((map[uint32]uint8)(x.FMapUint32Uint8), e) } } } else { @@ -10416,7 +10414,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint32Uint8V(x.FMapUint32Uint8, e) + h.encMapuint32uint8((map[uint32]uint8)(x.FMapUint32Uint8), e) } } } @@ -10438,7 +10436,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1183 := *x.FptrMapUint32Uint8 if false { } else { - z.F.EncMapUint32Uint8V(yy1183, e) + h.encMapuint32uint8((map[uint32]uint8)(yy1183), e) } } } @@ -10459,7 +10457,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1185 := *x.FptrMapUint32Uint8 if false { } else { - z.F.EncMapUint32Uint8V(yy1185, e) + h.encMapuint32uint8((map[uint32]uint8)(yy1185), e) } } } @@ -10471,7 +10469,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint32Uint16V(x.FMapUint32Uint16, e) + h.encMapuint32uint16((map[uint32]uint16)(x.FMapUint32Uint16), e) } } } else { @@ -10487,7 +10485,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint32Uint16V(x.FMapUint32Uint16, e) + h.encMapuint32uint16((map[uint32]uint16)(x.FMapUint32Uint16), e) } } } @@ -10509,7 +10507,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1191 := *x.FptrMapUint32Uint16 if false { } else { - z.F.EncMapUint32Uint16V(yy1191, e) + h.encMapuint32uint16((map[uint32]uint16)(yy1191), e) } } } @@ -10530,7 +10528,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1193 := *x.FptrMapUint32Uint16 if false { } else { - z.F.EncMapUint32Uint16V(yy1193, e) + h.encMapuint32uint16((map[uint32]uint16)(yy1193), e) } } } @@ -10542,7 +10540,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint32Uint32V(x.FMapUint32Uint32, e) + h.encMapuint32uint32((map[uint32]uint32)(x.FMapUint32Uint32), e) } } } else { @@ -10558,7 +10556,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint32Uint32V(x.FMapUint32Uint32, e) + h.encMapuint32uint32((map[uint32]uint32)(x.FMapUint32Uint32), e) } } } @@ -10580,7 +10578,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1199 := *x.FptrMapUint32Uint32 if false { } else { - z.F.EncMapUint32Uint32V(yy1199, e) + h.encMapuint32uint32((map[uint32]uint32)(yy1199), e) } } } @@ -10601,7 +10599,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1201 := *x.FptrMapUint32Uint32 if false { } else { - z.F.EncMapUint32Uint32V(yy1201, e) + h.encMapuint32uint32((map[uint32]uint32)(yy1201), e) } } } @@ -10613,7 +10611,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint32Uint64V(x.FMapUint32Uint64, e) + h.encMapuint32uint64((map[uint32]uint64)(x.FMapUint32Uint64), e) } } } else { @@ -10629,7 +10627,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint32Uint64V(x.FMapUint32Uint64, e) + h.encMapuint32uint64((map[uint32]uint64)(x.FMapUint32Uint64), e) } } } @@ -10651,7 +10649,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1207 := *x.FptrMapUint32Uint64 if false { } else { - z.F.EncMapUint32Uint64V(yy1207, e) + h.encMapuint32uint64((map[uint32]uint64)(yy1207), e) } } } @@ -10672,7 +10670,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1209 := *x.FptrMapUint32Uint64 if false { } else { - z.F.EncMapUint32Uint64V(yy1209, e) + h.encMapuint32uint64((map[uint32]uint64)(yy1209), e) } } } @@ -10684,7 +10682,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint32UintptrV(x.FMapUint32Uintptr, e) + h.encMapuint32uintptr((map[uint32]uintptr)(x.FMapUint32Uintptr), e) } } } else { @@ -10700,7 +10698,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint32UintptrV(x.FMapUint32Uintptr, e) + h.encMapuint32uintptr((map[uint32]uintptr)(x.FMapUint32Uintptr), e) } } } @@ -10722,7 +10720,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1215 := *x.FptrMapUint32Uintptr if false { } else { - z.F.EncMapUint32UintptrV(yy1215, e) + h.encMapuint32uintptr((map[uint32]uintptr)(yy1215), e) } } } @@ -10743,7 +10741,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1217 := *x.FptrMapUint32Uintptr if false { } else { - z.F.EncMapUint32UintptrV(yy1217, e) + h.encMapuint32uintptr((map[uint32]uintptr)(yy1217), e) } } } @@ -10755,7 +10753,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint32IntV(x.FMapUint32Int, e) + h.encMapuint32int((map[uint32]int)(x.FMapUint32Int), e) } } } else { @@ -10771,7 +10769,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint32IntV(x.FMapUint32Int, e) + h.encMapuint32int((map[uint32]int)(x.FMapUint32Int), e) } } } @@ -10793,7 +10791,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1223 := *x.FptrMapUint32Int if false { } else { - z.F.EncMapUint32IntV(yy1223, e) + h.encMapuint32int((map[uint32]int)(yy1223), e) } } } @@ -10814,7 +10812,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1225 := *x.FptrMapUint32Int if false { } else { - z.F.EncMapUint32IntV(yy1225, e) + h.encMapuint32int((map[uint32]int)(yy1225), e) } } } @@ -10826,7 +10824,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint32Int8V(x.FMapUint32Int8, e) + h.encMapuint32int8((map[uint32]int8)(x.FMapUint32Int8), e) } } } else { @@ -10842,7 +10840,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint32Int8V(x.FMapUint32Int8, e) + h.encMapuint32int8((map[uint32]int8)(x.FMapUint32Int8), e) } } } @@ -10864,7 +10862,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1231 := *x.FptrMapUint32Int8 if false { } else { - z.F.EncMapUint32Int8V(yy1231, e) + h.encMapuint32int8((map[uint32]int8)(yy1231), e) } } } @@ -10885,7 +10883,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1233 := *x.FptrMapUint32Int8 if false { } else { - z.F.EncMapUint32Int8V(yy1233, e) + h.encMapuint32int8((map[uint32]int8)(yy1233), e) } } } @@ -10897,7 +10895,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint32Int16V(x.FMapUint32Int16, e) + h.encMapuint32int16((map[uint32]int16)(x.FMapUint32Int16), e) } } } else { @@ -10913,7 +10911,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint32Int16V(x.FMapUint32Int16, e) + h.encMapuint32int16((map[uint32]int16)(x.FMapUint32Int16), e) } } } @@ -10935,7 +10933,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1239 := *x.FptrMapUint32Int16 if false { } else { - z.F.EncMapUint32Int16V(yy1239, e) + h.encMapuint32int16((map[uint32]int16)(yy1239), e) } } } @@ -10956,7 +10954,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1241 := *x.FptrMapUint32Int16 if false { } else { - z.F.EncMapUint32Int16V(yy1241, e) + h.encMapuint32int16((map[uint32]int16)(yy1241), e) } } } @@ -10968,7 +10966,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint32Int32V(x.FMapUint32Int32, e) + h.encMapuint32int32((map[uint32]int32)(x.FMapUint32Int32), e) } } } else { @@ -10984,7 +10982,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint32Int32V(x.FMapUint32Int32, e) + h.encMapuint32int32((map[uint32]int32)(x.FMapUint32Int32), e) } } } @@ -11006,7 +11004,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1247 := *x.FptrMapUint32Int32 if false { } else { - z.F.EncMapUint32Int32V(yy1247, e) + h.encMapuint32int32((map[uint32]int32)(yy1247), e) } } } @@ -11027,7 +11025,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1249 := *x.FptrMapUint32Int32 if false { } else { - z.F.EncMapUint32Int32V(yy1249, e) + h.encMapuint32int32((map[uint32]int32)(yy1249), e) } } } @@ -11039,7 +11037,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint32Int64V(x.FMapUint32Int64, e) + h.encMapuint32int64((map[uint32]int64)(x.FMapUint32Int64), e) } } } else { @@ -11055,7 +11053,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint32Int64V(x.FMapUint32Int64, e) + h.encMapuint32int64((map[uint32]int64)(x.FMapUint32Int64), e) } } } @@ -11077,7 +11075,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1255 := *x.FptrMapUint32Int64 if false { } else { - z.F.EncMapUint32Int64V(yy1255, e) + h.encMapuint32int64((map[uint32]int64)(yy1255), e) } } } @@ -11098,7 +11096,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1257 := *x.FptrMapUint32Int64 if false { } else { - z.F.EncMapUint32Int64V(yy1257, e) + h.encMapuint32int64((map[uint32]int64)(yy1257), e) } } } @@ -11110,7 +11108,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint32Float32V(x.FMapUint32Float32, e) + h.encMapuint32float32((map[uint32]float32)(x.FMapUint32Float32), e) } } } else { @@ -11126,7 +11124,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint32Float32V(x.FMapUint32Float32, e) + h.encMapuint32float32((map[uint32]float32)(x.FMapUint32Float32), e) } } } @@ -11148,7 +11146,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1263 := *x.FptrMapUint32Float32 if false { } else { - z.F.EncMapUint32Float32V(yy1263, e) + h.encMapuint32float32((map[uint32]float32)(yy1263), e) } } } @@ -11169,7 +11167,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1265 := *x.FptrMapUint32Float32 if false { } else { - z.F.EncMapUint32Float32V(yy1265, e) + h.encMapuint32float32((map[uint32]float32)(yy1265), e) } } } @@ -11181,7 +11179,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint32Float64V(x.FMapUint32Float64, e) + h.encMapuint32float64((map[uint32]float64)(x.FMapUint32Float64), e) } } } else { @@ -11197,7 +11195,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint32Float64V(x.FMapUint32Float64, e) + h.encMapuint32float64((map[uint32]float64)(x.FMapUint32Float64), e) } } } @@ -11219,7 +11217,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1271 := *x.FptrMapUint32Float64 if false { } else { - z.F.EncMapUint32Float64V(yy1271, e) + h.encMapuint32float64((map[uint32]float64)(yy1271), e) } } } @@ -11240,7 +11238,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1273 := *x.FptrMapUint32Float64 if false { } else { - z.F.EncMapUint32Float64V(yy1273, e) + h.encMapuint32float64((map[uint32]float64)(yy1273), e) } } } @@ -11252,7 +11250,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint32BoolV(x.FMapUint32Bool, e) + h.encMapuint32bool((map[uint32]bool)(x.FMapUint32Bool), e) } } } else { @@ -11268,7 +11266,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint32BoolV(x.FMapUint32Bool, e) + h.encMapuint32bool((map[uint32]bool)(x.FMapUint32Bool), e) } } } @@ -11290,7 +11288,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1279 := *x.FptrMapUint32Bool if false { } else { - z.F.EncMapUint32BoolV(yy1279, e) + h.encMapuint32bool((map[uint32]bool)(yy1279), e) } } } @@ -11311,7 +11309,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1281 := *x.FptrMapUint32Bool if false { } else { - z.F.EncMapUint32BoolV(yy1281, e) + h.encMapuint32bool((map[uint32]bool)(yy1281), e) } } } @@ -11323,7 +11321,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint64IntfV(x.FMapUint64Intf, e) + h.encMapuint64Interface((map[uint64]interface{})(x.FMapUint64Intf), e) } } } else { @@ -11339,7 +11337,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint64IntfV(x.FMapUint64Intf, e) + h.encMapuint64Interface((map[uint64]interface{})(x.FMapUint64Intf), e) } } } @@ -11361,7 +11359,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1287 := *x.FptrMapUint64Intf if false { } else { - z.F.EncMapUint64IntfV(yy1287, e) + h.encMapuint64Interface((map[uint64]interface{})(yy1287), e) } } } @@ -11382,7 +11380,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1289 := *x.FptrMapUint64Intf if false { } else { - z.F.EncMapUint64IntfV(yy1289, e) + h.encMapuint64Interface((map[uint64]interface{})(yy1289), e) } } } @@ -11394,7 +11392,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint64StringV(x.FMapUint64String, e) + h.encMapuint64string((map[uint64]string)(x.FMapUint64String), e) } } } else { @@ -11410,7 +11408,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint64StringV(x.FMapUint64String, e) + h.encMapuint64string((map[uint64]string)(x.FMapUint64String), e) } } } @@ -11432,7 +11430,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1295 := *x.FptrMapUint64String if false { } else { - z.F.EncMapUint64StringV(yy1295, e) + h.encMapuint64string((map[uint64]string)(yy1295), e) } } } @@ -11453,7 +11451,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1297 := *x.FptrMapUint64String if false { } else { - z.F.EncMapUint64StringV(yy1297, e) + h.encMapuint64string((map[uint64]string)(yy1297), e) } } } @@ -11465,7 +11463,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint64UintV(x.FMapUint64Uint, e) + h.encMapuint64uint((map[uint64]uint)(x.FMapUint64Uint), e) } } } else { @@ -11481,7 +11479,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint64UintV(x.FMapUint64Uint, e) + h.encMapuint64uint((map[uint64]uint)(x.FMapUint64Uint), e) } } } @@ -11503,7 +11501,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1303 := *x.FptrMapUint64Uint if false { } else { - z.F.EncMapUint64UintV(yy1303, e) + h.encMapuint64uint((map[uint64]uint)(yy1303), e) } } } @@ -11524,7 +11522,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1305 := *x.FptrMapUint64Uint if false { } else { - z.F.EncMapUint64UintV(yy1305, e) + h.encMapuint64uint((map[uint64]uint)(yy1305), e) } } } @@ -11536,7 +11534,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint64Uint8V(x.FMapUint64Uint8, e) + h.encMapuint64uint8((map[uint64]uint8)(x.FMapUint64Uint8), e) } } } else { @@ -11552,7 +11550,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint64Uint8V(x.FMapUint64Uint8, e) + h.encMapuint64uint8((map[uint64]uint8)(x.FMapUint64Uint8), e) } } } @@ -11574,7 +11572,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1311 := *x.FptrMapUint64Uint8 if false { } else { - z.F.EncMapUint64Uint8V(yy1311, e) + h.encMapuint64uint8((map[uint64]uint8)(yy1311), e) } } } @@ -11595,7 +11593,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1313 := *x.FptrMapUint64Uint8 if false { } else { - z.F.EncMapUint64Uint8V(yy1313, e) + h.encMapuint64uint8((map[uint64]uint8)(yy1313), e) } } } @@ -11607,7 +11605,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint64Uint16V(x.FMapUint64Uint16, e) + h.encMapuint64uint16((map[uint64]uint16)(x.FMapUint64Uint16), e) } } } else { @@ -11623,7 +11621,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint64Uint16V(x.FMapUint64Uint16, e) + h.encMapuint64uint16((map[uint64]uint16)(x.FMapUint64Uint16), e) } } } @@ -11645,7 +11643,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1319 := *x.FptrMapUint64Uint16 if false { } else { - z.F.EncMapUint64Uint16V(yy1319, e) + h.encMapuint64uint16((map[uint64]uint16)(yy1319), e) } } } @@ -11666,7 +11664,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1321 := *x.FptrMapUint64Uint16 if false { } else { - z.F.EncMapUint64Uint16V(yy1321, e) + h.encMapuint64uint16((map[uint64]uint16)(yy1321), e) } } } @@ -11678,7 +11676,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint64Uint32V(x.FMapUint64Uint32, e) + h.encMapuint64uint32((map[uint64]uint32)(x.FMapUint64Uint32), e) } } } else { @@ -11694,7 +11692,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint64Uint32V(x.FMapUint64Uint32, e) + h.encMapuint64uint32((map[uint64]uint32)(x.FMapUint64Uint32), e) } } } @@ -11716,7 +11714,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1327 := *x.FptrMapUint64Uint32 if false { } else { - z.F.EncMapUint64Uint32V(yy1327, e) + h.encMapuint64uint32((map[uint64]uint32)(yy1327), e) } } } @@ -11737,7 +11735,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1329 := *x.FptrMapUint64Uint32 if false { } else { - z.F.EncMapUint64Uint32V(yy1329, e) + h.encMapuint64uint32((map[uint64]uint32)(yy1329), e) } } } @@ -11749,7 +11747,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint64Uint64V(x.FMapUint64Uint64, e) + h.encMapuint64uint64((map[uint64]uint64)(x.FMapUint64Uint64), e) } } } else { @@ -11765,7 +11763,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint64Uint64V(x.FMapUint64Uint64, e) + h.encMapuint64uint64((map[uint64]uint64)(x.FMapUint64Uint64), e) } } } @@ -11787,7 +11785,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1335 := *x.FptrMapUint64Uint64 if false { } else { - z.F.EncMapUint64Uint64V(yy1335, e) + h.encMapuint64uint64((map[uint64]uint64)(yy1335), e) } } } @@ -11808,7 +11806,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1337 := *x.FptrMapUint64Uint64 if false { } else { - z.F.EncMapUint64Uint64V(yy1337, e) + h.encMapuint64uint64((map[uint64]uint64)(yy1337), e) } } } @@ -11820,7 +11818,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint64UintptrV(x.FMapUint64Uintptr, e) + h.encMapuint64uintptr((map[uint64]uintptr)(x.FMapUint64Uintptr), e) } } } else { @@ -11836,7 +11834,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint64UintptrV(x.FMapUint64Uintptr, e) + h.encMapuint64uintptr((map[uint64]uintptr)(x.FMapUint64Uintptr), e) } } } @@ -11858,7 +11856,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1343 := *x.FptrMapUint64Uintptr if false { } else { - z.F.EncMapUint64UintptrV(yy1343, e) + h.encMapuint64uintptr((map[uint64]uintptr)(yy1343), e) } } } @@ -11879,7 +11877,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1345 := *x.FptrMapUint64Uintptr if false { } else { - z.F.EncMapUint64UintptrV(yy1345, e) + h.encMapuint64uintptr((map[uint64]uintptr)(yy1345), e) } } } @@ -11891,7 +11889,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint64IntV(x.FMapUint64Int, e) + h.encMapuint64int((map[uint64]int)(x.FMapUint64Int), e) } } } else { @@ -11907,7 +11905,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint64IntV(x.FMapUint64Int, e) + h.encMapuint64int((map[uint64]int)(x.FMapUint64Int), e) } } } @@ -11929,7 +11927,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1351 := *x.FptrMapUint64Int if false { } else { - z.F.EncMapUint64IntV(yy1351, e) + h.encMapuint64int((map[uint64]int)(yy1351), e) } } } @@ -11950,7 +11948,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1353 := *x.FptrMapUint64Int if false { } else { - z.F.EncMapUint64IntV(yy1353, e) + h.encMapuint64int((map[uint64]int)(yy1353), e) } } } @@ -11962,7 +11960,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint64Int8V(x.FMapUint64Int8, e) + h.encMapuint64int8((map[uint64]int8)(x.FMapUint64Int8), e) } } } else { @@ -11978,7 +11976,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint64Int8V(x.FMapUint64Int8, e) + h.encMapuint64int8((map[uint64]int8)(x.FMapUint64Int8), e) } } } @@ -12000,7 +11998,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1359 := *x.FptrMapUint64Int8 if false { } else { - z.F.EncMapUint64Int8V(yy1359, e) + h.encMapuint64int8((map[uint64]int8)(yy1359), e) } } } @@ -12021,7 +12019,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1361 := *x.FptrMapUint64Int8 if false { } else { - z.F.EncMapUint64Int8V(yy1361, e) + h.encMapuint64int8((map[uint64]int8)(yy1361), e) } } } @@ -12033,7 +12031,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint64Int16V(x.FMapUint64Int16, e) + h.encMapuint64int16((map[uint64]int16)(x.FMapUint64Int16), e) } } } else { @@ -12049,7 +12047,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint64Int16V(x.FMapUint64Int16, e) + h.encMapuint64int16((map[uint64]int16)(x.FMapUint64Int16), e) } } } @@ -12071,7 +12069,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1367 := *x.FptrMapUint64Int16 if false { } else { - z.F.EncMapUint64Int16V(yy1367, e) + h.encMapuint64int16((map[uint64]int16)(yy1367), e) } } } @@ -12092,7 +12090,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1369 := *x.FptrMapUint64Int16 if false { } else { - z.F.EncMapUint64Int16V(yy1369, e) + h.encMapuint64int16((map[uint64]int16)(yy1369), e) } } } @@ -12104,7 +12102,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint64Int32V(x.FMapUint64Int32, e) + h.encMapuint64int32((map[uint64]int32)(x.FMapUint64Int32), e) } } } else { @@ -12120,7 +12118,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint64Int32V(x.FMapUint64Int32, e) + h.encMapuint64int32((map[uint64]int32)(x.FMapUint64Int32), e) } } } @@ -12142,7 +12140,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1375 := *x.FptrMapUint64Int32 if false { } else { - z.F.EncMapUint64Int32V(yy1375, e) + h.encMapuint64int32((map[uint64]int32)(yy1375), e) } } } @@ -12163,7 +12161,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1377 := *x.FptrMapUint64Int32 if false { } else { - z.F.EncMapUint64Int32V(yy1377, e) + h.encMapuint64int32((map[uint64]int32)(yy1377), e) } } } @@ -12175,7 +12173,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint64Int64V(x.FMapUint64Int64, e) + h.encMapuint64int64((map[uint64]int64)(x.FMapUint64Int64), e) } } } else { @@ -12191,7 +12189,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint64Int64V(x.FMapUint64Int64, e) + h.encMapuint64int64((map[uint64]int64)(x.FMapUint64Int64), e) } } } @@ -12213,7 +12211,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1383 := *x.FptrMapUint64Int64 if false { } else { - z.F.EncMapUint64Int64V(yy1383, e) + h.encMapuint64int64((map[uint64]int64)(yy1383), e) } } } @@ -12234,7 +12232,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1385 := *x.FptrMapUint64Int64 if false { } else { - z.F.EncMapUint64Int64V(yy1385, e) + h.encMapuint64int64((map[uint64]int64)(yy1385), e) } } } @@ -12246,7 +12244,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint64Float32V(x.FMapUint64Float32, e) + h.encMapuint64float32((map[uint64]float32)(x.FMapUint64Float32), e) } } } else { @@ -12262,7 +12260,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint64Float32V(x.FMapUint64Float32, e) + h.encMapuint64float32((map[uint64]float32)(x.FMapUint64Float32), e) } } } @@ -12284,7 +12282,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1391 := *x.FptrMapUint64Float32 if false { } else { - z.F.EncMapUint64Float32V(yy1391, e) + h.encMapuint64float32((map[uint64]float32)(yy1391), e) } } } @@ -12305,7 +12303,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1393 := *x.FptrMapUint64Float32 if false { } else { - z.F.EncMapUint64Float32V(yy1393, e) + h.encMapuint64float32((map[uint64]float32)(yy1393), e) } } } @@ -12317,7 +12315,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint64Float64V(x.FMapUint64Float64, e) + h.encMapuint64float64((map[uint64]float64)(x.FMapUint64Float64), e) } } } else { @@ -12333,7 +12331,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint64Float64V(x.FMapUint64Float64, e) + h.encMapuint64float64((map[uint64]float64)(x.FMapUint64Float64), e) } } } @@ -12355,7 +12353,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1399 := *x.FptrMapUint64Float64 if false { } else { - z.F.EncMapUint64Float64V(yy1399, e) + h.encMapuint64float64((map[uint64]float64)(yy1399), e) } } } @@ -12376,7 +12374,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1401 := *x.FptrMapUint64Float64 if false { } else { - z.F.EncMapUint64Float64V(yy1401, e) + h.encMapuint64float64((map[uint64]float64)(yy1401), e) } } } @@ -12388,7 +12386,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint64BoolV(x.FMapUint64Bool, e) + h.encMapuint64bool((map[uint64]bool)(x.FMapUint64Bool), e) } } } else { @@ -12404,7 +12402,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUint64BoolV(x.FMapUint64Bool, e) + h.encMapuint64bool((map[uint64]bool)(x.FMapUint64Bool), e) } } } @@ -12426,7 +12424,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1407 := *x.FptrMapUint64Bool if false { } else { - z.F.EncMapUint64BoolV(yy1407, e) + h.encMapuint64bool((map[uint64]bool)(yy1407), e) } } } @@ -12447,7 +12445,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1409 := *x.FptrMapUint64Bool if false { } else { - z.F.EncMapUint64BoolV(yy1409, e) + h.encMapuint64bool((map[uint64]bool)(yy1409), e) } } } @@ -12459,7 +12457,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUintptrIntfV(x.FMapUintptrIntf, e) + h.encMapuintptrInterface((map[uintptr]interface{})(x.FMapUintptrIntf), e) } } } else { @@ -12475,7 +12473,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUintptrIntfV(x.FMapUintptrIntf, e) + h.encMapuintptrInterface((map[uintptr]interface{})(x.FMapUintptrIntf), e) } } } @@ -12497,7 +12495,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1415 := *x.FptrMapUintptrIntf if false { } else { - z.F.EncMapUintptrIntfV(yy1415, e) + h.encMapuintptrInterface((map[uintptr]interface{})(yy1415), e) } } } @@ -12518,7 +12516,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1417 := *x.FptrMapUintptrIntf if false { } else { - z.F.EncMapUintptrIntfV(yy1417, e) + h.encMapuintptrInterface((map[uintptr]interface{})(yy1417), e) } } } @@ -12530,7 +12528,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUintptrStringV(x.FMapUintptrString, e) + h.encMapuintptrstring((map[uintptr]string)(x.FMapUintptrString), e) } } } else { @@ -12546,7 +12544,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUintptrStringV(x.FMapUintptrString, e) + h.encMapuintptrstring((map[uintptr]string)(x.FMapUintptrString), e) } } } @@ -12568,7 +12566,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1423 := *x.FptrMapUintptrString if false { } else { - z.F.EncMapUintptrStringV(yy1423, e) + h.encMapuintptrstring((map[uintptr]string)(yy1423), e) } } } @@ -12589,7 +12587,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1425 := *x.FptrMapUintptrString if false { } else { - z.F.EncMapUintptrStringV(yy1425, e) + h.encMapuintptrstring((map[uintptr]string)(yy1425), e) } } } @@ -12601,7 +12599,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUintptrUintV(x.FMapUintptrUint, e) + h.encMapuintptruint((map[uintptr]uint)(x.FMapUintptrUint), e) } } } else { @@ -12617,7 +12615,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUintptrUintV(x.FMapUintptrUint, e) + h.encMapuintptruint((map[uintptr]uint)(x.FMapUintptrUint), e) } } } @@ -12639,7 +12637,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1431 := *x.FptrMapUintptrUint if false { } else { - z.F.EncMapUintptrUintV(yy1431, e) + h.encMapuintptruint((map[uintptr]uint)(yy1431), e) } } } @@ -12660,7 +12658,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1433 := *x.FptrMapUintptrUint if false { } else { - z.F.EncMapUintptrUintV(yy1433, e) + h.encMapuintptruint((map[uintptr]uint)(yy1433), e) } } } @@ -12672,7 +12670,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUintptrUint8V(x.FMapUintptrUint8, e) + h.encMapuintptruint8((map[uintptr]uint8)(x.FMapUintptrUint8), e) } } } else { @@ -12688,7 +12686,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUintptrUint8V(x.FMapUintptrUint8, e) + h.encMapuintptruint8((map[uintptr]uint8)(x.FMapUintptrUint8), e) } } } @@ -12710,7 +12708,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1439 := *x.FptrMapUintptrUint8 if false { } else { - z.F.EncMapUintptrUint8V(yy1439, e) + h.encMapuintptruint8((map[uintptr]uint8)(yy1439), e) } } } @@ -12731,7 +12729,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1441 := *x.FptrMapUintptrUint8 if false { } else { - z.F.EncMapUintptrUint8V(yy1441, e) + h.encMapuintptruint8((map[uintptr]uint8)(yy1441), e) } } } @@ -12743,7 +12741,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUintptrUint16V(x.FMapUintptrUint16, e) + h.encMapuintptruint16((map[uintptr]uint16)(x.FMapUintptrUint16), e) } } } else { @@ -12759,7 +12757,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUintptrUint16V(x.FMapUintptrUint16, e) + h.encMapuintptruint16((map[uintptr]uint16)(x.FMapUintptrUint16), e) } } } @@ -12781,7 +12779,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1447 := *x.FptrMapUintptrUint16 if false { } else { - z.F.EncMapUintptrUint16V(yy1447, e) + h.encMapuintptruint16((map[uintptr]uint16)(yy1447), e) } } } @@ -12802,7 +12800,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1449 := *x.FptrMapUintptrUint16 if false { } else { - z.F.EncMapUintptrUint16V(yy1449, e) + h.encMapuintptruint16((map[uintptr]uint16)(yy1449), e) } } } @@ -12814,7 +12812,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUintptrUint32V(x.FMapUintptrUint32, e) + h.encMapuintptruint32((map[uintptr]uint32)(x.FMapUintptrUint32), e) } } } else { @@ -12830,7 +12828,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUintptrUint32V(x.FMapUintptrUint32, e) + h.encMapuintptruint32((map[uintptr]uint32)(x.FMapUintptrUint32), e) } } } @@ -12852,7 +12850,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1455 := *x.FptrMapUintptrUint32 if false { } else { - z.F.EncMapUintptrUint32V(yy1455, e) + h.encMapuintptruint32((map[uintptr]uint32)(yy1455), e) } } } @@ -12873,7 +12871,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1457 := *x.FptrMapUintptrUint32 if false { } else { - z.F.EncMapUintptrUint32V(yy1457, e) + h.encMapuintptruint32((map[uintptr]uint32)(yy1457), e) } } } @@ -12885,7 +12883,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUintptrUint64V(x.FMapUintptrUint64, e) + h.encMapuintptruint64((map[uintptr]uint64)(x.FMapUintptrUint64), e) } } } else { @@ -12901,7 +12899,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUintptrUint64V(x.FMapUintptrUint64, e) + h.encMapuintptruint64((map[uintptr]uint64)(x.FMapUintptrUint64), e) } } } @@ -12923,7 +12921,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1463 := *x.FptrMapUintptrUint64 if false { } else { - z.F.EncMapUintptrUint64V(yy1463, e) + h.encMapuintptruint64((map[uintptr]uint64)(yy1463), e) } } } @@ -12944,7 +12942,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1465 := *x.FptrMapUintptrUint64 if false { } else { - z.F.EncMapUintptrUint64V(yy1465, e) + h.encMapuintptruint64((map[uintptr]uint64)(yy1465), e) } } } @@ -12956,7 +12954,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUintptrUintptrV(x.FMapUintptrUintptr, e) + h.encMapuintptruintptr((map[uintptr]uintptr)(x.FMapUintptrUintptr), e) } } } else { @@ -12972,7 +12970,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUintptrUintptrV(x.FMapUintptrUintptr, e) + h.encMapuintptruintptr((map[uintptr]uintptr)(x.FMapUintptrUintptr), e) } } } @@ -12994,7 +12992,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1471 := *x.FptrMapUintptrUintptr if false { } else { - z.F.EncMapUintptrUintptrV(yy1471, e) + h.encMapuintptruintptr((map[uintptr]uintptr)(yy1471), e) } } } @@ -13015,7 +13013,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1473 := *x.FptrMapUintptrUintptr if false { } else { - z.F.EncMapUintptrUintptrV(yy1473, e) + h.encMapuintptruintptr((map[uintptr]uintptr)(yy1473), e) } } } @@ -13027,7 +13025,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUintptrIntV(x.FMapUintptrInt, e) + h.encMapuintptrint((map[uintptr]int)(x.FMapUintptrInt), e) } } } else { @@ -13043,7 +13041,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUintptrIntV(x.FMapUintptrInt, e) + h.encMapuintptrint((map[uintptr]int)(x.FMapUintptrInt), e) } } } @@ -13065,7 +13063,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1479 := *x.FptrMapUintptrInt if false { } else { - z.F.EncMapUintptrIntV(yy1479, e) + h.encMapuintptrint((map[uintptr]int)(yy1479), e) } } } @@ -13086,7 +13084,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1481 := *x.FptrMapUintptrInt if false { } else { - z.F.EncMapUintptrIntV(yy1481, e) + h.encMapuintptrint((map[uintptr]int)(yy1481), e) } } } @@ -13098,7 +13096,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUintptrInt8V(x.FMapUintptrInt8, e) + h.encMapuintptrint8((map[uintptr]int8)(x.FMapUintptrInt8), e) } } } else { @@ -13114,7 +13112,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUintptrInt8V(x.FMapUintptrInt8, e) + h.encMapuintptrint8((map[uintptr]int8)(x.FMapUintptrInt8), e) } } } @@ -13136,7 +13134,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1487 := *x.FptrMapUintptrInt8 if false { } else { - z.F.EncMapUintptrInt8V(yy1487, e) + h.encMapuintptrint8((map[uintptr]int8)(yy1487), e) } } } @@ -13157,7 +13155,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1489 := *x.FptrMapUintptrInt8 if false { } else { - z.F.EncMapUintptrInt8V(yy1489, e) + h.encMapuintptrint8((map[uintptr]int8)(yy1489), e) } } } @@ -13169,7 +13167,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUintptrInt16V(x.FMapUintptrInt16, e) + h.encMapuintptrint16((map[uintptr]int16)(x.FMapUintptrInt16), e) } } } else { @@ -13185,7 +13183,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUintptrInt16V(x.FMapUintptrInt16, e) + h.encMapuintptrint16((map[uintptr]int16)(x.FMapUintptrInt16), e) } } } @@ -13207,7 +13205,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1495 := *x.FptrMapUintptrInt16 if false { } else { - z.F.EncMapUintptrInt16V(yy1495, e) + h.encMapuintptrint16((map[uintptr]int16)(yy1495), e) } } } @@ -13228,7 +13226,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1497 := *x.FptrMapUintptrInt16 if false { } else { - z.F.EncMapUintptrInt16V(yy1497, e) + h.encMapuintptrint16((map[uintptr]int16)(yy1497), e) } } } @@ -13240,7 +13238,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUintptrInt32V(x.FMapUintptrInt32, e) + h.encMapuintptrint32((map[uintptr]int32)(x.FMapUintptrInt32), e) } } } else { @@ -13256,7 +13254,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUintptrInt32V(x.FMapUintptrInt32, e) + h.encMapuintptrint32((map[uintptr]int32)(x.FMapUintptrInt32), e) } } } @@ -13278,7 +13276,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1503 := *x.FptrMapUintptrInt32 if false { } else { - z.F.EncMapUintptrInt32V(yy1503, e) + h.encMapuintptrint32((map[uintptr]int32)(yy1503), e) } } } @@ -13299,7 +13297,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1505 := *x.FptrMapUintptrInt32 if false { } else { - z.F.EncMapUintptrInt32V(yy1505, e) + h.encMapuintptrint32((map[uintptr]int32)(yy1505), e) } } } @@ -13311,7 +13309,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUintptrInt64V(x.FMapUintptrInt64, e) + h.encMapuintptrint64((map[uintptr]int64)(x.FMapUintptrInt64), e) } } } else { @@ -13327,7 +13325,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUintptrInt64V(x.FMapUintptrInt64, e) + h.encMapuintptrint64((map[uintptr]int64)(x.FMapUintptrInt64), e) } } } @@ -13349,7 +13347,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1511 := *x.FptrMapUintptrInt64 if false { } else { - z.F.EncMapUintptrInt64V(yy1511, e) + h.encMapuintptrint64((map[uintptr]int64)(yy1511), e) } } } @@ -13370,7 +13368,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1513 := *x.FptrMapUintptrInt64 if false { } else { - z.F.EncMapUintptrInt64V(yy1513, e) + h.encMapuintptrint64((map[uintptr]int64)(yy1513), e) } } } @@ -13382,7 +13380,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUintptrFloat32V(x.FMapUintptrFloat32, e) + h.encMapuintptrfloat32((map[uintptr]float32)(x.FMapUintptrFloat32), e) } } } else { @@ -13398,7 +13396,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUintptrFloat32V(x.FMapUintptrFloat32, e) + h.encMapuintptrfloat32((map[uintptr]float32)(x.FMapUintptrFloat32), e) } } } @@ -13420,7 +13418,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1519 := *x.FptrMapUintptrFloat32 if false { } else { - z.F.EncMapUintptrFloat32V(yy1519, e) + h.encMapuintptrfloat32((map[uintptr]float32)(yy1519), e) } } } @@ -13441,7 +13439,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1521 := *x.FptrMapUintptrFloat32 if false { } else { - z.F.EncMapUintptrFloat32V(yy1521, e) + h.encMapuintptrfloat32((map[uintptr]float32)(yy1521), e) } } } @@ -13453,7 +13451,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUintptrFloat64V(x.FMapUintptrFloat64, e) + h.encMapuintptrfloat64((map[uintptr]float64)(x.FMapUintptrFloat64), e) } } } else { @@ -13469,7 +13467,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUintptrFloat64V(x.FMapUintptrFloat64, e) + h.encMapuintptrfloat64((map[uintptr]float64)(x.FMapUintptrFloat64), e) } } } @@ -13491,7 +13489,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1527 := *x.FptrMapUintptrFloat64 if false { } else { - z.F.EncMapUintptrFloat64V(yy1527, e) + h.encMapuintptrfloat64((map[uintptr]float64)(yy1527), e) } } } @@ -13512,7 +13510,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1529 := *x.FptrMapUintptrFloat64 if false { } else { - z.F.EncMapUintptrFloat64V(yy1529, e) + h.encMapuintptrfloat64((map[uintptr]float64)(yy1529), e) } } } @@ -13524,7 +13522,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUintptrBoolV(x.FMapUintptrBool, e) + h.encMapuintptrbool((map[uintptr]bool)(x.FMapUintptrBool), e) } } } else { @@ -13540,7 +13538,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapUintptrBoolV(x.FMapUintptrBool, e) + h.encMapuintptrbool((map[uintptr]bool)(x.FMapUintptrBool), e) } } } @@ -13562,7 +13560,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1535 := *x.FptrMapUintptrBool if false { } else { - z.F.EncMapUintptrBoolV(yy1535, e) + h.encMapuintptrbool((map[uintptr]bool)(yy1535), e) } } } @@ -13583,7 +13581,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1537 := *x.FptrMapUintptrBool if false { } else { - z.F.EncMapUintptrBoolV(yy1537, e) + h.encMapuintptrbool((map[uintptr]bool)(yy1537), e) } } } @@ -13595,7 +13593,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapIntIntfV(x.FMapIntIntf, e) + h.encMapintInterface((map[int]interface{})(x.FMapIntIntf), e) } } } else { @@ -13611,7 +13609,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapIntIntfV(x.FMapIntIntf, e) + h.encMapintInterface((map[int]interface{})(x.FMapIntIntf), e) } } } @@ -13633,7 +13631,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1543 := *x.FptrMapIntIntf if false { } else { - z.F.EncMapIntIntfV(yy1543, e) + h.encMapintInterface((map[int]interface{})(yy1543), e) } } } @@ -13654,7 +13652,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1545 := *x.FptrMapIntIntf if false { } else { - z.F.EncMapIntIntfV(yy1545, e) + h.encMapintInterface((map[int]interface{})(yy1545), e) } } } @@ -13666,7 +13664,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapIntStringV(x.FMapIntString, e) + h.encMapintstring((map[int]string)(x.FMapIntString), e) } } } else { @@ -13682,7 +13680,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapIntStringV(x.FMapIntString, e) + h.encMapintstring((map[int]string)(x.FMapIntString), e) } } } @@ -13704,7 +13702,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1551 := *x.FptrMapIntString if false { } else { - z.F.EncMapIntStringV(yy1551, e) + h.encMapintstring((map[int]string)(yy1551), e) } } } @@ -13725,7 +13723,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1553 := *x.FptrMapIntString if false { } else { - z.F.EncMapIntStringV(yy1553, e) + h.encMapintstring((map[int]string)(yy1553), e) } } } @@ -13737,7 +13735,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapIntUintV(x.FMapIntUint, e) + h.encMapintuint((map[int]uint)(x.FMapIntUint), e) } } } else { @@ -13753,7 +13751,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapIntUintV(x.FMapIntUint, e) + h.encMapintuint((map[int]uint)(x.FMapIntUint), e) } } } @@ -13775,7 +13773,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1559 := *x.FptrMapIntUint if false { } else { - z.F.EncMapIntUintV(yy1559, e) + h.encMapintuint((map[int]uint)(yy1559), e) } } } @@ -13796,7 +13794,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1561 := *x.FptrMapIntUint if false { } else { - z.F.EncMapIntUintV(yy1561, e) + h.encMapintuint((map[int]uint)(yy1561), e) } } } @@ -13808,7 +13806,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapIntUint8V(x.FMapIntUint8, e) + h.encMapintuint8((map[int]uint8)(x.FMapIntUint8), e) } } } else { @@ -13824,7 +13822,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapIntUint8V(x.FMapIntUint8, e) + h.encMapintuint8((map[int]uint8)(x.FMapIntUint8), e) } } } @@ -13846,7 +13844,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1567 := *x.FptrMapIntUint8 if false { } else { - z.F.EncMapIntUint8V(yy1567, e) + h.encMapintuint8((map[int]uint8)(yy1567), e) } } } @@ -13867,7 +13865,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1569 := *x.FptrMapIntUint8 if false { } else { - z.F.EncMapIntUint8V(yy1569, e) + h.encMapintuint8((map[int]uint8)(yy1569), e) } } } @@ -13879,7 +13877,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapIntUint16V(x.FMapIntUint16, e) + h.encMapintuint16((map[int]uint16)(x.FMapIntUint16), e) } } } else { @@ -13895,7 +13893,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapIntUint16V(x.FMapIntUint16, e) + h.encMapintuint16((map[int]uint16)(x.FMapIntUint16), e) } } } @@ -13917,7 +13915,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1575 := *x.FptrMapIntUint16 if false { } else { - z.F.EncMapIntUint16V(yy1575, e) + h.encMapintuint16((map[int]uint16)(yy1575), e) } } } @@ -13938,7 +13936,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1577 := *x.FptrMapIntUint16 if false { } else { - z.F.EncMapIntUint16V(yy1577, e) + h.encMapintuint16((map[int]uint16)(yy1577), e) } } } @@ -13950,7 +13948,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapIntUint32V(x.FMapIntUint32, e) + h.encMapintuint32((map[int]uint32)(x.FMapIntUint32), e) } } } else { @@ -13966,7 +13964,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapIntUint32V(x.FMapIntUint32, e) + h.encMapintuint32((map[int]uint32)(x.FMapIntUint32), e) } } } @@ -13988,7 +13986,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1583 := *x.FptrMapIntUint32 if false { } else { - z.F.EncMapIntUint32V(yy1583, e) + h.encMapintuint32((map[int]uint32)(yy1583), e) } } } @@ -14009,7 +14007,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1585 := *x.FptrMapIntUint32 if false { } else { - z.F.EncMapIntUint32V(yy1585, e) + h.encMapintuint32((map[int]uint32)(yy1585), e) } } } @@ -14021,7 +14019,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapIntUint64V(x.FMapIntUint64, e) + h.encMapintuint64((map[int]uint64)(x.FMapIntUint64), e) } } } else { @@ -14037,7 +14035,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapIntUint64V(x.FMapIntUint64, e) + h.encMapintuint64((map[int]uint64)(x.FMapIntUint64), e) } } } @@ -14059,7 +14057,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1591 := *x.FptrMapIntUint64 if false { } else { - z.F.EncMapIntUint64V(yy1591, e) + h.encMapintuint64((map[int]uint64)(yy1591), e) } } } @@ -14080,7 +14078,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1593 := *x.FptrMapIntUint64 if false { } else { - z.F.EncMapIntUint64V(yy1593, e) + h.encMapintuint64((map[int]uint64)(yy1593), e) } } } @@ -14092,7 +14090,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapIntUintptrV(x.FMapIntUintptr, e) + h.encMapintuintptr((map[int]uintptr)(x.FMapIntUintptr), e) } } } else { @@ -14108,7 +14106,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapIntUintptrV(x.FMapIntUintptr, e) + h.encMapintuintptr((map[int]uintptr)(x.FMapIntUintptr), e) } } } @@ -14130,7 +14128,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1599 := *x.FptrMapIntUintptr if false { } else { - z.F.EncMapIntUintptrV(yy1599, e) + h.encMapintuintptr((map[int]uintptr)(yy1599), e) } } } @@ -14151,7 +14149,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1601 := *x.FptrMapIntUintptr if false { } else { - z.F.EncMapIntUintptrV(yy1601, e) + h.encMapintuintptr((map[int]uintptr)(yy1601), e) } } } @@ -14163,7 +14161,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapIntIntV(x.FMapIntInt, e) + h.encMapintint((map[int]int)(x.FMapIntInt), e) } } } else { @@ -14179,7 +14177,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapIntIntV(x.FMapIntInt, e) + h.encMapintint((map[int]int)(x.FMapIntInt), e) } } } @@ -14201,7 +14199,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1607 := *x.FptrMapIntInt if false { } else { - z.F.EncMapIntIntV(yy1607, e) + h.encMapintint((map[int]int)(yy1607), e) } } } @@ -14222,7 +14220,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1609 := *x.FptrMapIntInt if false { } else { - z.F.EncMapIntIntV(yy1609, e) + h.encMapintint((map[int]int)(yy1609), e) } } } @@ -14234,7 +14232,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapIntInt8V(x.FMapIntInt8, e) + h.encMapintint8((map[int]int8)(x.FMapIntInt8), e) } } } else { @@ -14250,7 +14248,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapIntInt8V(x.FMapIntInt8, e) + h.encMapintint8((map[int]int8)(x.FMapIntInt8), e) } } } @@ -14272,7 +14270,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1615 := *x.FptrMapIntInt8 if false { } else { - z.F.EncMapIntInt8V(yy1615, e) + h.encMapintint8((map[int]int8)(yy1615), e) } } } @@ -14293,7 +14291,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1617 := *x.FptrMapIntInt8 if false { } else { - z.F.EncMapIntInt8V(yy1617, e) + h.encMapintint8((map[int]int8)(yy1617), e) } } } @@ -14305,7 +14303,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapIntInt16V(x.FMapIntInt16, e) + h.encMapintint16((map[int]int16)(x.FMapIntInt16), e) } } } else { @@ -14321,7 +14319,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapIntInt16V(x.FMapIntInt16, e) + h.encMapintint16((map[int]int16)(x.FMapIntInt16), e) } } } @@ -14343,7 +14341,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1623 := *x.FptrMapIntInt16 if false { } else { - z.F.EncMapIntInt16V(yy1623, e) + h.encMapintint16((map[int]int16)(yy1623), e) } } } @@ -14364,7 +14362,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1625 := *x.FptrMapIntInt16 if false { } else { - z.F.EncMapIntInt16V(yy1625, e) + h.encMapintint16((map[int]int16)(yy1625), e) } } } @@ -14376,7 +14374,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapIntInt32V(x.FMapIntInt32, e) + h.encMapintint32((map[int]int32)(x.FMapIntInt32), e) } } } else { @@ -14392,7 +14390,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapIntInt32V(x.FMapIntInt32, e) + h.encMapintint32((map[int]int32)(x.FMapIntInt32), e) } } } @@ -14414,7 +14412,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1631 := *x.FptrMapIntInt32 if false { } else { - z.F.EncMapIntInt32V(yy1631, e) + h.encMapintint32((map[int]int32)(yy1631), e) } } } @@ -14435,7 +14433,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1633 := *x.FptrMapIntInt32 if false { } else { - z.F.EncMapIntInt32V(yy1633, e) + h.encMapintint32((map[int]int32)(yy1633), e) } } } @@ -14447,7 +14445,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapIntInt64V(x.FMapIntInt64, e) + h.encMapintint64((map[int]int64)(x.FMapIntInt64), e) } } } else { @@ -14463,7 +14461,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapIntInt64V(x.FMapIntInt64, e) + h.encMapintint64((map[int]int64)(x.FMapIntInt64), e) } } } @@ -14485,7 +14483,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1639 := *x.FptrMapIntInt64 if false { } else { - z.F.EncMapIntInt64V(yy1639, e) + h.encMapintint64((map[int]int64)(yy1639), e) } } } @@ -14506,7 +14504,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1641 := *x.FptrMapIntInt64 if false { } else { - z.F.EncMapIntInt64V(yy1641, e) + h.encMapintint64((map[int]int64)(yy1641), e) } } } @@ -14518,7 +14516,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapIntFloat32V(x.FMapIntFloat32, e) + h.encMapintfloat32((map[int]float32)(x.FMapIntFloat32), e) } } } else { @@ -14534,7 +14532,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapIntFloat32V(x.FMapIntFloat32, e) + h.encMapintfloat32((map[int]float32)(x.FMapIntFloat32), e) } } } @@ -14556,7 +14554,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1647 := *x.FptrMapIntFloat32 if false { } else { - z.F.EncMapIntFloat32V(yy1647, e) + h.encMapintfloat32((map[int]float32)(yy1647), e) } } } @@ -14577,7 +14575,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1649 := *x.FptrMapIntFloat32 if false { } else { - z.F.EncMapIntFloat32V(yy1649, e) + h.encMapintfloat32((map[int]float32)(yy1649), e) } } } @@ -14589,7 +14587,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapIntFloat64V(x.FMapIntFloat64, e) + h.encMapintfloat64((map[int]float64)(x.FMapIntFloat64), e) } } } else { @@ -14605,7 +14603,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapIntFloat64V(x.FMapIntFloat64, e) + h.encMapintfloat64((map[int]float64)(x.FMapIntFloat64), e) } } } @@ -14627,7 +14625,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1655 := *x.FptrMapIntFloat64 if false { } else { - z.F.EncMapIntFloat64V(yy1655, e) + h.encMapintfloat64((map[int]float64)(yy1655), e) } } } @@ -14648,7 +14646,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1657 := *x.FptrMapIntFloat64 if false { } else { - z.F.EncMapIntFloat64V(yy1657, e) + h.encMapintfloat64((map[int]float64)(yy1657), e) } } } @@ -14660,7 +14658,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapIntBoolV(x.FMapIntBool, e) + h.encMapintbool((map[int]bool)(x.FMapIntBool), e) } } } else { @@ -14676,7 +14674,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapIntBoolV(x.FMapIntBool, e) + h.encMapintbool((map[int]bool)(x.FMapIntBool), e) } } } @@ -14698,7 +14696,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1663 := *x.FptrMapIntBool if false { } else { - z.F.EncMapIntBoolV(yy1663, e) + h.encMapintbool((map[int]bool)(yy1663), e) } } } @@ -14719,7 +14717,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1665 := *x.FptrMapIntBool if false { } else { - z.F.EncMapIntBoolV(yy1665, e) + h.encMapintbool((map[int]bool)(yy1665), e) } } } @@ -14731,7 +14729,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt8IntfV(x.FMapInt8Intf, e) + h.encMapint8Interface((map[int8]interface{})(x.FMapInt8Intf), e) } } } else { @@ -14747,7 +14745,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt8IntfV(x.FMapInt8Intf, e) + h.encMapint8Interface((map[int8]interface{})(x.FMapInt8Intf), e) } } } @@ -14769,7 +14767,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1671 := *x.FptrMapInt8Intf if false { } else { - z.F.EncMapInt8IntfV(yy1671, e) + h.encMapint8Interface((map[int8]interface{})(yy1671), e) } } } @@ -14790,7 +14788,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1673 := *x.FptrMapInt8Intf if false { } else { - z.F.EncMapInt8IntfV(yy1673, e) + h.encMapint8Interface((map[int8]interface{})(yy1673), e) } } } @@ -14802,7 +14800,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt8StringV(x.FMapInt8String, e) + h.encMapint8string((map[int8]string)(x.FMapInt8String), e) } } } else { @@ -14818,7 +14816,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt8StringV(x.FMapInt8String, e) + h.encMapint8string((map[int8]string)(x.FMapInt8String), e) } } } @@ -14840,7 +14838,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1679 := *x.FptrMapInt8String if false { } else { - z.F.EncMapInt8StringV(yy1679, e) + h.encMapint8string((map[int8]string)(yy1679), e) } } } @@ -14861,7 +14859,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1681 := *x.FptrMapInt8String if false { } else { - z.F.EncMapInt8StringV(yy1681, e) + h.encMapint8string((map[int8]string)(yy1681), e) } } } @@ -14873,7 +14871,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt8UintV(x.FMapInt8Uint, e) + h.encMapint8uint((map[int8]uint)(x.FMapInt8Uint), e) } } } else { @@ -14889,7 +14887,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt8UintV(x.FMapInt8Uint, e) + h.encMapint8uint((map[int8]uint)(x.FMapInt8Uint), e) } } } @@ -14911,7 +14909,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1687 := *x.FptrMapInt8Uint if false { } else { - z.F.EncMapInt8UintV(yy1687, e) + h.encMapint8uint((map[int8]uint)(yy1687), e) } } } @@ -14932,7 +14930,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1689 := *x.FptrMapInt8Uint if false { } else { - z.F.EncMapInt8UintV(yy1689, e) + h.encMapint8uint((map[int8]uint)(yy1689), e) } } } @@ -14944,7 +14942,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt8Uint8V(x.FMapInt8Uint8, e) + h.encMapint8uint8((map[int8]uint8)(x.FMapInt8Uint8), e) } } } else { @@ -14960,7 +14958,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt8Uint8V(x.FMapInt8Uint8, e) + h.encMapint8uint8((map[int8]uint8)(x.FMapInt8Uint8), e) } } } @@ -14982,7 +14980,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1695 := *x.FptrMapInt8Uint8 if false { } else { - z.F.EncMapInt8Uint8V(yy1695, e) + h.encMapint8uint8((map[int8]uint8)(yy1695), e) } } } @@ -15003,7 +15001,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1697 := *x.FptrMapInt8Uint8 if false { } else { - z.F.EncMapInt8Uint8V(yy1697, e) + h.encMapint8uint8((map[int8]uint8)(yy1697), e) } } } @@ -15015,7 +15013,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt8Uint16V(x.FMapInt8Uint16, e) + h.encMapint8uint16((map[int8]uint16)(x.FMapInt8Uint16), e) } } } else { @@ -15031,7 +15029,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt8Uint16V(x.FMapInt8Uint16, e) + h.encMapint8uint16((map[int8]uint16)(x.FMapInt8Uint16), e) } } } @@ -15053,7 +15051,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1703 := *x.FptrMapInt8Uint16 if false { } else { - z.F.EncMapInt8Uint16V(yy1703, e) + h.encMapint8uint16((map[int8]uint16)(yy1703), e) } } } @@ -15074,7 +15072,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1705 := *x.FptrMapInt8Uint16 if false { } else { - z.F.EncMapInt8Uint16V(yy1705, e) + h.encMapint8uint16((map[int8]uint16)(yy1705), e) } } } @@ -15086,7 +15084,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt8Uint32V(x.FMapInt8Uint32, e) + h.encMapint8uint32((map[int8]uint32)(x.FMapInt8Uint32), e) } } } else { @@ -15102,7 +15100,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt8Uint32V(x.FMapInt8Uint32, e) + h.encMapint8uint32((map[int8]uint32)(x.FMapInt8Uint32), e) } } } @@ -15124,7 +15122,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1711 := *x.FptrMapInt8Uint32 if false { } else { - z.F.EncMapInt8Uint32V(yy1711, e) + h.encMapint8uint32((map[int8]uint32)(yy1711), e) } } } @@ -15145,7 +15143,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1713 := *x.FptrMapInt8Uint32 if false { } else { - z.F.EncMapInt8Uint32V(yy1713, e) + h.encMapint8uint32((map[int8]uint32)(yy1713), e) } } } @@ -15157,7 +15155,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt8Uint64V(x.FMapInt8Uint64, e) + h.encMapint8uint64((map[int8]uint64)(x.FMapInt8Uint64), e) } } } else { @@ -15173,7 +15171,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt8Uint64V(x.FMapInt8Uint64, e) + h.encMapint8uint64((map[int8]uint64)(x.FMapInt8Uint64), e) } } } @@ -15195,7 +15193,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1719 := *x.FptrMapInt8Uint64 if false { } else { - z.F.EncMapInt8Uint64V(yy1719, e) + h.encMapint8uint64((map[int8]uint64)(yy1719), e) } } } @@ -15216,7 +15214,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1721 := *x.FptrMapInt8Uint64 if false { } else { - z.F.EncMapInt8Uint64V(yy1721, e) + h.encMapint8uint64((map[int8]uint64)(yy1721), e) } } } @@ -15228,7 +15226,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt8UintptrV(x.FMapInt8Uintptr, e) + h.encMapint8uintptr((map[int8]uintptr)(x.FMapInt8Uintptr), e) } } } else { @@ -15244,7 +15242,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt8UintptrV(x.FMapInt8Uintptr, e) + h.encMapint8uintptr((map[int8]uintptr)(x.FMapInt8Uintptr), e) } } } @@ -15266,7 +15264,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1727 := *x.FptrMapInt8Uintptr if false { } else { - z.F.EncMapInt8UintptrV(yy1727, e) + h.encMapint8uintptr((map[int8]uintptr)(yy1727), e) } } } @@ -15287,7 +15285,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1729 := *x.FptrMapInt8Uintptr if false { } else { - z.F.EncMapInt8UintptrV(yy1729, e) + h.encMapint8uintptr((map[int8]uintptr)(yy1729), e) } } } @@ -15299,7 +15297,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt8IntV(x.FMapInt8Int, e) + h.encMapint8int((map[int8]int)(x.FMapInt8Int), e) } } } else { @@ -15315,7 +15313,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt8IntV(x.FMapInt8Int, e) + h.encMapint8int((map[int8]int)(x.FMapInt8Int), e) } } } @@ -15337,7 +15335,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1735 := *x.FptrMapInt8Int if false { } else { - z.F.EncMapInt8IntV(yy1735, e) + h.encMapint8int((map[int8]int)(yy1735), e) } } } @@ -15358,7 +15356,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1737 := *x.FptrMapInt8Int if false { } else { - z.F.EncMapInt8IntV(yy1737, e) + h.encMapint8int((map[int8]int)(yy1737), e) } } } @@ -15370,7 +15368,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt8Int8V(x.FMapInt8Int8, e) + h.encMapint8int8((map[int8]int8)(x.FMapInt8Int8), e) } } } else { @@ -15386,7 +15384,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt8Int8V(x.FMapInt8Int8, e) + h.encMapint8int8((map[int8]int8)(x.FMapInt8Int8), e) } } } @@ -15408,7 +15406,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1743 := *x.FptrMapInt8Int8 if false { } else { - z.F.EncMapInt8Int8V(yy1743, e) + h.encMapint8int8((map[int8]int8)(yy1743), e) } } } @@ -15429,7 +15427,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1745 := *x.FptrMapInt8Int8 if false { } else { - z.F.EncMapInt8Int8V(yy1745, e) + h.encMapint8int8((map[int8]int8)(yy1745), e) } } } @@ -15441,7 +15439,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt8Int16V(x.FMapInt8Int16, e) + h.encMapint8int16((map[int8]int16)(x.FMapInt8Int16), e) } } } else { @@ -15457,7 +15455,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt8Int16V(x.FMapInt8Int16, e) + h.encMapint8int16((map[int8]int16)(x.FMapInt8Int16), e) } } } @@ -15479,7 +15477,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1751 := *x.FptrMapInt8Int16 if false { } else { - z.F.EncMapInt8Int16V(yy1751, e) + h.encMapint8int16((map[int8]int16)(yy1751), e) } } } @@ -15500,7 +15498,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1753 := *x.FptrMapInt8Int16 if false { } else { - z.F.EncMapInt8Int16V(yy1753, e) + h.encMapint8int16((map[int8]int16)(yy1753), e) } } } @@ -15512,7 +15510,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt8Int32V(x.FMapInt8Int32, e) + h.encMapint8int32((map[int8]int32)(x.FMapInt8Int32), e) } } } else { @@ -15528,7 +15526,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt8Int32V(x.FMapInt8Int32, e) + h.encMapint8int32((map[int8]int32)(x.FMapInt8Int32), e) } } } @@ -15550,7 +15548,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1759 := *x.FptrMapInt8Int32 if false { } else { - z.F.EncMapInt8Int32V(yy1759, e) + h.encMapint8int32((map[int8]int32)(yy1759), e) } } } @@ -15571,7 +15569,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1761 := *x.FptrMapInt8Int32 if false { } else { - z.F.EncMapInt8Int32V(yy1761, e) + h.encMapint8int32((map[int8]int32)(yy1761), e) } } } @@ -15583,7 +15581,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt8Int64V(x.FMapInt8Int64, e) + h.encMapint8int64((map[int8]int64)(x.FMapInt8Int64), e) } } } else { @@ -15599,7 +15597,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt8Int64V(x.FMapInt8Int64, e) + h.encMapint8int64((map[int8]int64)(x.FMapInt8Int64), e) } } } @@ -15621,7 +15619,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1767 := *x.FptrMapInt8Int64 if false { } else { - z.F.EncMapInt8Int64V(yy1767, e) + h.encMapint8int64((map[int8]int64)(yy1767), e) } } } @@ -15642,7 +15640,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1769 := *x.FptrMapInt8Int64 if false { } else { - z.F.EncMapInt8Int64V(yy1769, e) + h.encMapint8int64((map[int8]int64)(yy1769), e) } } } @@ -15654,7 +15652,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt8Float32V(x.FMapInt8Float32, e) + h.encMapint8float32((map[int8]float32)(x.FMapInt8Float32), e) } } } else { @@ -15670,7 +15668,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt8Float32V(x.FMapInt8Float32, e) + h.encMapint8float32((map[int8]float32)(x.FMapInt8Float32), e) } } } @@ -15692,7 +15690,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1775 := *x.FptrMapInt8Float32 if false { } else { - z.F.EncMapInt8Float32V(yy1775, e) + h.encMapint8float32((map[int8]float32)(yy1775), e) } } } @@ -15713,7 +15711,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1777 := *x.FptrMapInt8Float32 if false { } else { - z.F.EncMapInt8Float32V(yy1777, e) + h.encMapint8float32((map[int8]float32)(yy1777), e) } } } @@ -15725,7 +15723,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt8Float64V(x.FMapInt8Float64, e) + h.encMapint8float64((map[int8]float64)(x.FMapInt8Float64), e) } } } else { @@ -15741,7 +15739,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt8Float64V(x.FMapInt8Float64, e) + h.encMapint8float64((map[int8]float64)(x.FMapInt8Float64), e) } } } @@ -15763,7 +15761,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1783 := *x.FptrMapInt8Float64 if false { } else { - z.F.EncMapInt8Float64V(yy1783, e) + h.encMapint8float64((map[int8]float64)(yy1783), e) } } } @@ -15784,7 +15782,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1785 := *x.FptrMapInt8Float64 if false { } else { - z.F.EncMapInt8Float64V(yy1785, e) + h.encMapint8float64((map[int8]float64)(yy1785), e) } } } @@ -15796,7 +15794,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt8BoolV(x.FMapInt8Bool, e) + h.encMapint8bool((map[int8]bool)(x.FMapInt8Bool), e) } } } else { @@ -15812,7 +15810,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt8BoolV(x.FMapInt8Bool, e) + h.encMapint8bool((map[int8]bool)(x.FMapInt8Bool), e) } } } @@ -15834,7 +15832,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1791 := *x.FptrMapInt8Bool if false { } else { - z.F.EncMapInt8BoolV(yy1791, e) + h.encMapint8bool((map[int8]bool)(yy1791), e) } } } @@ -15855,7 +15853,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1793 := *x.FptrMapInt8Bool if false { } else { - z.F.EncMapInt8BoolV(yy1793, e) + h.encMapint8bool((map[int8]bool)(yy1793), e) } } } @@ -15867,7 +15865,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt16IntfV(x.FMapInt16Intf, e) + h.encMapint16Interface((map[int16]interface{})(x.FMapInt16Intf), e) } } } else { @@ -15883,7 +15881,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt16IntfV(x.FMapInt16Intf, e) + h.encMapint16Interface((map[int16]interface{})(x.FMapInt16Intf), e) } } } @@ -15905,7 +15903,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1799 := *x.FptrMapInt16Intf if false { } else { - z.F.EncMapInt16IntfV(yy1799, e) + h.encMapint16Interface((map[int16]interface{})(yy1799), e) } } } @@ -15926,7 +15924,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1801 := *x.FptrMapInt16Intf if false { } else { - z.F.EncMapInt16IntfV(yy1801, e) + h.encMapint16Interface((map[int16]interface{})(yy1801), e) } } } @@ -15938,7 +15936,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt16StringV(x.FMapInt16String, e) + h.encMapint16string((map[int16]string)(x.FMapInt16String), e) } } } else { @@ -15954,7 +15952,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt16StringV(x.FMapInt16String, e) + h.encMapint16string((map[int16]string)(x.FMapInt16String), e) } } } @@ -15976,7 +15974,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1807 := *x.FptrMapInt16String if false { } else { - z.F.EncMapInt16StringV(yy1807, e) + h.encMapint16string((map[int16]string)(yy1807), e) } } } @@ -15997,7 +15995,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1809 := *x.FptrMapInt16String if false { } else { - z.F.EncMapInt16StringV(yy1809, e) + h.encMapint16string((map[int16]string)(yy1809), e) } } } @@ -16009,7 +16007,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt16UintV(x.FMapInt16Uint, e) + h.encMapint16uint((map[int16]uint)(x.FMapInt16Uint), e) } } } else { @@ -16025,7 +16023,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt16UintV(x.FMapInt16Uint, e) + h.encMapint16uint((map[int16]uint)(x.FMapInt16Uint), e) } } } @@ -16047,7 +16045,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1815 := *x.FptrMapInt16Uint if false { } else { - z.F.EncMapInt16UintV(yy1815, e) + h.encMapint16uint((map[int16]uint)(yy1815), e) } } } @@ -16068,7 +16066,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1817 := *x.FptrMapInt16Uint if false { } else { - z.F.EncMapInt16UintV(yy1817, e) + h.encMapint16uint((map[int16]uint)(yy1817), e) } } } @@ -16080,7 +16078,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt16Uint8V(x.FMapInt16Uint8, e) + h.encMapint16uint8((map[int16]uint8)(x.FMapInt16Uint8), e) } } } else { @@ -16096,7 +16094,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt16Uint8V(x.FMapInt16Uint8, e) + h.encMapint16uint8((map[int16]uint8)(x.FMapInt16Uint8), e) } } } @@ -16118,7 +16116,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1823 := *x.FptrMapInt16Uint8 if false { } else { - z.F.EncMapInt16Uint8V(yy1823, e) + h.encMapint16uint8((map[int16]uint8)(yy1823), e) } } } @@ -16139,7 +16137,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1825 := *x.FptrMapInt16Uint8 if false { } else { - z.F.EncMapInt16Uint8V(yy1825, e) + h.encMapint16uint8((map[int16]uint8)(yy1825), e) } } } @@ -16151,7 +16149,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt16Uint16V(x.FMapInt16Uint16, e) + h.encMapint16uint16((map[int16]uint16)(x.FMapInt16Uint16), e) } } } else { @@ -16167,7 +16165,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt16Uint16V(x.FMapInt16Uint16, e) + h.encMapint16uint16((map[int16]uint16)(x.FMapInt16Uint16), e) } } } @@ -16189,7 +16187,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1831 := *x.FptrMapInt16Uint16 if false { } else { - z.F.EncMapInt16Uint16V(yy1831, e) + h.encMapint16uint16((map[int16]uint16)(yy1831), e) } } } @@ -16210,7 +16208,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1833 := *x.FptrMapInt16Uint16 if false { } else { - z.F.EncMapInt16Uint16V(yy1833, e) + h.encMapint16uint16((map[int16]uint16)(yy1833), e) } } } @@ -16222,7 +16220,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt16Uint32V(x.FMapInt16Uint32, e) + h.encMapint16uint32((map[int16]uint32)(x.FMapInt16Uint32), e) } } } else { @@ -16238,7 +16236,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt16Uint32V(x.FMapInt16Uint32, e) + h.encMapint16uint32((map[int16]uint32)(x.FMapInt16Uint32), e) } } } @@ -16260,7 +16258,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1839 := *x.FptrMapInt16Uint32 if false { } else { - z.F.EncMapInt16Uint32V(yy1839, e) + h.encMapint16uint32((map[int16]uint32)(yy1839), e) } } } @@ -16281,7 +16279,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1841 := *x.FptrMapInt16Uint32 if false { } else { - z.F.EncMapInt16Uint32V(yy1841, e) + h.encMapint16uint32((map[int16]uint32)(yy1841), e) } } } @@ -16293,7 +16291,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt16Uint64V(x.FMapInt16Uint64, e) + h.encMapint16uint64((map[int16]uint64)(x.FMapInt16Uint64), e) } } } else { @@ -16309,7 +16307,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt16Uint64V(x.FMapInt16Uint64, e) + h.encMapint16uint64((map[int16]uint64)(x.FMapInt16Uint64), e) } } } @@ -16331,7 +16329,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1847 := *x.FptrMapInt16Uint64 if false { } else { - z.F.EncMapInt16Uint64V(yy1847, e) + h.encMapint16uint64((map[int16]uint64)(yy1847), e) } } } @@ -16352,7 +16350,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1849 := *x.FptrMapInt16Uint64 if false { } else { - z.F.EncMapInt16Uint64V(yy1849, e) + h.encMapint16uint64((map[int16]uint64)(yy1849), e) } } } @@ -16364,7 +16362,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt16UintptrV(x.FMapInt16Uintptr, e) + h.encMapint16uintptr((map[int16]uintptr)(x.FMapInt16Uintptr), e) } } } else { @@ -16380,7 +16378,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt16UintptrV(x.FMapInt16Uintptr, e) + h.encMapint16uintptr((map[int16]uintptr)(x.FMapInt16Uintptr), e) } } } @@ -16402,7 +16400,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1855 := *x.FptrMapInt16Uintptr if false { } else { - z.F.EncMapInt16UintptrV(yy1855, e) + h.encMapint16uintptr((map[int16]uintptr)(yy1855), e) } } } @@ -16423,7 +16421,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1857 := *x.FptrMapInt16Uintptr if false { } else { - z.F.EncMapInt16UintptrV(yy1857, e) + h.encMapint16uintptr((map[int16]uintptr)(yy1857), e) } } } @@ -16435,7 +16433,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt16IntV(x.FMapInt16Int, e) + h.encMapint16int((map[int16]int)(x.FMapInt16Int), e) } } } else { @@ -16451,7 +16449,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt16IntV(x.FMapInt16Int, e) + h.encMapint16int((map[int16]int)(x.FMapInt16Int), e) } } } @@ -16473,7 +16471,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1863 := *x.FptrMapInt16Int if false { } else { - z.F.EncMapInt16IntV(yy1863, e) + h.encMapint16int((map[int16]int)(yy1863), e) } } } @@ -16494,7 +16492,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1865 := *x.FptrMapInt16Int if false { } else { - z.F.EncMapInt16IntV(yy1865, e) + h.encMapint16int((map[int16]int)(yy1865), e) } } } @@ -16506,7 +16504,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt16Int8V(x.FMapInt16Int8, e) + h.encMapint16int8((map[int16]int8)(x.FMapInt16Int8), e) } } } else { @@ -16522,7 +16520,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt16Int8V(x.FMapInt16Int8, e) + h.encMapint16int8((map[int16]int8)(x.FMapInt16Int8), e) } } } @@ -16544,7 +16542,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1871 := *x.FptrMapInt16Int8 if false { } else { - z.F.EncMapInt16Int8V(yy1871, e) + h.encMapint16int8((map[int16]int8)(yy1871), e) } } } @@ -16565,7 +16563,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1873 := *x.FptrMapInt16Int8 if false { } else { - z.F.EncMapInt16Int8V(yy1873, e) + h.encMapint16int8((map[int16]int8)(yy1873), e) } } } @@ -16577,7 +16575,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt16Int16V(x.FMapInt16Int16, e) + h.encMapint16int16((map[int16]int16)(x.FMapInt16Int16), e) } } } else { @@ -16593,7 +16591,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt16Int16V(x.FMapInt16Int16, e) + h.encMapint16int16((map[int16]int16)(x.FMapInt16Int16), e) } } } @@ -16615,7 +16613,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1879 := *x.FptrMapInt16Int16 if false { } else { - z.F.EncMapInt16Int16V(yy1879, e) + h.encMapint16int16((map[int16]int16)(yy1879), e) } } } @@ -16636,7 +16634,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1881 := *x.FptrMapInt16Int16 if false { } else { - z.F.EncMapInt16Int16V(yy1881, e) + h.encMapint16int16((map[int16]int16)(yy1881), e) } } } @@ -16648,7 +16646,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt16Int32V(x.FMapInt16Int32, e) + h.encMapint16int32((map[int16]int32)(x.FMapInt16Int32), e) } } } else { @@ -16664,7 +16662,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt16Int32V(x.FMapInt16Int32, e) + h.encMapint16int32((map[int16]int32)(x.FMapInt16Int32), e) } } } @@ -16686,7 +16684,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1887 := *x.FptrMapInt16Int32 if false { } else { - z.F.EncMapInt16Int32V(yy1887, e) + h.encMapint16int32((map[int16]int32)(yy1887), e) } } } @@ -16707,7 +16705,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1889 := *x.FptrMapInt16Int32 if false { } else { - z.F.EncMapInt16Int32V(yy1889, e) + h.encMapint16int32((map[int16]int32)(yy1889), e) } } } @@ -16719,7 +16717,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt16Int64V(x.FMapInt16Int64, e) + h.encMapint16int64((map[int16]int64)(x.FMapInt16Int64), e) } } } else { @@ -16735,7 +16733,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt16Int64V(x.FMapInt16Int64, e) + h.encMapint16int64((map[int16]int64)(x.FMapInt16Int64), e) } } } @@ -16757,7 +16755,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1895 := *x.FptrMapInt16Int64 if false { } else { - z.F.EncMapInt16Int64V(yy1895, e) + h.encMapint16int64((map[int16]int64)(yy1895), e) } } } @@ -16778,7 +16776,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1897 := *x.FptrMapInt16Int64 if false { } else { - z.F.EncMapInt16Int64V(yy1897, e) + h.encMapint16int64((map[int16]int64)(yy1897), e) } } } @@ -16790,7 +16788,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt16Float32V(x.FMapInt16Float32, e) + h.encMapint16float32((map[int16]float32)(x.FMapInt16Float32), e) } } } else { @@ -16806,7 +16804,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt16Float32V(x.FMapInt16Float32, e) + h.encMapint16float32((map[int16]float32)(x.FMapInt16Float32), e) } } } @@ -16828,7 +16826,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1903 := *x.FptrMapInt16Float32 if false { } else { - z.F.EncMapInt16Float32V(yy1903, e) + h.encMapint16float32((map[int16]float32)(yy1903), e) } } } @@ -16849,7 +16847,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1905 := *x.FptrMapInt16Float32 if false { } else { - z.F.EncMapInt16Float32V(yy1905, e) + h.encMapint16float32((map[int16]float32)(yy1905), e) } } } @@ -16861,7 +16859,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt16Float64V(x.FMapInt16Float64, e) + h.encMapint16float64((map[int16]float64)(x.FMapInt16Float64), e) } } } else { @@ -16877,7 +16875,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt16Float64V(x.FMapInt16Float64, e) + h.encMapint16float64((map[int16]float64)(x.FMapInt16Float64), e) } } } @@ -16899,7 +16897,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1911 := *x.FptrMapInt16Float64 if false { } else { - z.F.EncMapInt16Float64V(yy1911, e) + h.encMapint16float64((map[int16]float64)(yy1911), e) } } } @@ -16920,7 +16918,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1913 := *x.FptrMapInt16Float64 if false { } else { - z.F.EncMapInt16Float64V(yy1913, e) + h.encMapint16float64((map[int16]float64)(yy1913), e) } } } @@ -16932,7 +16930,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt16BoolV(x.FMapInt16Bool, e) + h.encMapint16bool((map[int16]bool)(x.FMapInt16Bool), e) } } } else { @@ -16948,7 +16946,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt16BoolV(x.FMapInt16Bool, e) + h.encMapint16bool((map[int16]bool)(x.FMapInt16Bool), e) } } } @@ -16970,7 +16968,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1919 := *x.FptrMapInt16Bool if false { } else { - z.F.EncMapInt16BoolV(yy1919, e) + h.encMapint16bool((map[int16]bool)(yy1919), e) } } } @@ -16991,7 +16989,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1921 := *x.FptrMapInt16Bool if false { } else { - z.F.EncMapInt16BoolV(yy1921, e) + h.encMapint16bool((map[int16]bool)(yy1921), e) } } } @@ -17003,7 +17001,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt32IntfV(x.FMapInt32Intf, e) + h.encMapint32Interface((map[int32]interface{})(x.FMapInt32Intf), e) } } } else { @@ -17019,7 +17017,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt32IntfV(x.FMapInt32Intf, e) + h.encMapint32Interface((map[int32]interface{})(x.FMapInt32Intf), e) } } } @@ -17041,7 +17039,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1927 := *x.FptrMapInt32Intf if false { } else { - z.F.EncMapInt32IntfV(yy1927, e) + h.encMapint32Interface((map[int32]interface{})(yy1927), e) } } } @@ -17062,7 +17060,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1929 := *x.FptrMapInt32Intf if false { } else { - z.F.EncMapInt32IntfV(yy1929, e) + h.encMapint32Interface((map[int32]interface{})(yy1929), e) } } } @@ -17074,7 +17072,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt32StringV(x.FMapInt32String, e) + h.encMapint32string((map[int32]string)(x.FMapInt32String), e) } } } else { @@ -17090,7 +17088,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt32StringV(x.FMapInt32String, e) + h.encMapint32string((map[int32]string)(x.FMapInt32String), e) } } } @@ -17112,7 +17110,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1935 := *x.FptrMapInt32String if false { } else { - z.F.EncMapInt32StringV(yy1935, e) + h.encMapint32string((map[int32]string)(yy1935), e) } } } @@ -17133,7 +17131,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1937 := *x.FptrMapInt32String if false { } else { - z.F.EncMapInt32StringV(yy1937, e) + h.encMapint32string((map[int32]string)(yy1937), e) } } } @@ -17145,7 +17143,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt32UintV(x.FMapInt32Uint, e) + h.encMapint32uint((map[int32]uint)(x.FMapInt32Uint), e) } } } else { @@ -17161,7 +17159,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt32UintV(x.FMapInt32Uint, e) + h.encMapint32uint((map[int32]uint)(x.FMapInt32Uint), e) } } } @@ -17183,7 +17181,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1943 := *x.FptrMapInt32Uint if false { } else { - z.F.EncMapInt32UintV(yy1943, e) + h.encMapint32uint((map[int32]uint)(yy1943), e) } } } @@ -17204,7 +17202,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1945 := *x.FptrMapInt32Uint if false { } else { - z.F.EncMapInt32UintV(yy1945, e) + h.encMapint32uint((map[int32]uint)(yy1945), e) } } } @@ -17216,7 +17214,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt32Uint8V(x.FMapInt32Uint8, e) + h.encMapint32uint8((map[int32]uint8)(x.FMapInt32Uint8), e) } } } else { @@ -17232,7 +17230,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt32Uint8V(x.FMapInt32Uint8, e) + h.encMapint32uint8((map[int32]uint8)(x.FMapInt32Uint8), e) } } } @@ -17254,7 +17252,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1951 := *x.FptrMapInt32Uint8 if false { } else { - z.F.EncMapInt32Uint8V(yy1951, e) + h.encMapint32uint8((map[int32]uint8)(yy1951), e) } } } @@ -17275,7 +17273,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1953 := *x.FptrMapInt32Uint8 if false { } else { - z.F.EncMapInt32Uint8V(yy1953, e) + h.encMapint32uint8((map[int32]uint8)(yy1953), e) } } } @@ -17287,7 +17285,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt32Uint16V(x.FMapInt32Uint16, e) + h.encMapint32uint16((map[int32]uint16)(x.FMapInt32Uint16), e) } } } else { @@ -17303,7 +17301,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt32Uint16V(x.FMapInt32Uint16, e) + h.encMapint32uint16((map[int32]uint16)(x.FMapInt32Uint16), e) } } } @@ -17325,7 +17323,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1959 := *x.FptrMapInt32Uint16 if false { } else { - z.F.EncMapInt32Uint16V(yy1959, e) + h.encMapint32uint16((map[int32]uint16)(yy1959), e) } } } @@ -17346,7 +17344,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1961 := *x.FptrMapInt32Uint16 if false { } else { - z.F.EncMapInt32Uint16V(yy1961, e) + h.encMapint32uint16((map[int32]uint16)(yy1961), e) } } } @@ -17358,7 +17356,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt32Uint32V(x.FMapInt32Uint32, e) + h.encMapint32uint32((map[int32]uint32)(x.FMapInt32Uint32), e) } } } else { @@ -17374,7 +17372,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt32Uint32V(x.FMapInt32Uint32, e) + h.encMapint32uint32((map[int32]uint32)(x.FMapInt32Uint32), e) } } } @@ -17396,7 +17394,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1967 := *x.FptrMapInt32Uint32 if false { } else { - z.F.EncMapInt32Uint32V(yy1967, e) + h.encMapint32uint32((map[int32]uint32)(yy1967), e) } } } @@ -17417,7 +17415,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1969 := *x.FptrMapInt32Uint32 if false { } else { - z.F.EncMapInt32Uint32V(yy1969, e) + h.encMapint32uint32((map[int32]uint32)(yy1969), e) } } } @@ -17429,7 +17427,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt32Uint64V(x.FMapInt32Uint64, e) + h.encMapint32uint64((map[int32]uint64)(x.FMapInt32Uint64), e) } } } else { @@ -17445,7 +17443,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt32Uint64V(x.FMapInt32Uint64, e) + h.encMapint32uint64((map[int32]uint64)(x.FMapInt32Uint64), e) } } } @@ -17467,7 +17465,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1975 := *x.FptrMapInt32Uint64 if false { } else { - z.F.EncMapInt32Uint64V(yy1975, e) + h.encMapint32uint64((map[int32]uint64)(yy1975), e) } } } @@ -17488,7 +17486,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1977 := *x.FptrMapInt32Uint64 if false { } else { - z.F.EncMapInt32Uint64V(yy1977, e) + h.encMapint32uint64((map[int32]uint64)(yy1977), e) } } } @@ -17500,7 +17498,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt32UintptrV(x.FMapInt32Uintptr, e) + h.encMapint32uintptr((map[int32]uintptr)(x.FMapInt32Uintptr), e) } } } else { @@ -17516,7 +17514,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt32UintptrV(x.FMapInt32Uintptr, e) + h.encMapint32uintptr((map[int32]uintptr)(x.FMapInt32Uintptr), e) } } } @@ -17538,7 +17536,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1983 := *x.FptrMapInt32Uintptr if false { } else { - z.F.EncMapInt32UintptrV(yy1983, e) + h.encMapint32uintptr((map[int32]uintptr)(yy1983), e) } } } @@ -17559,7 +17557,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1985 := *x.FptrMapInt32Uintptr if false { } else { - z.F.EncMapInt32UintptrV(yy1985, e) + h.encMapint32uintptr((map[int32]uintptr)(yy1985), e) } } } @@ -17571,7 +17569,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt32IntV(x.FMapInt32Int, e) + h.encMapint32int((map[int32]int)(x.FMapInt32Int), e) } } } else { @@ -17587,7 +17585,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt32IntV(x.FMapInt32Int, e) + h.encMapint32int((map[int32]int)(x.FMapInt32Int), e) } } } @@ -17609,7 +17607,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1991 := *x.FptrMapInt32Int if false { } else { - z.F.EncMapInt32IntV(yy1991, e) + h.encMapint32int((map[int32]int)(yy1991), e) } } } @@ -17630,7 +17628,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1993 := *x.FptrMapInt32Int if false { } else { - z.F.EncMapInt32IntV(yy1993, e) + h.encMapint32int((map[int32]int)(yy1993), e) } } } @@ -17642,7 +17640,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt32Int8V(x.FMapInt32Int8, e) + h.encMapint32int8((map[int32]int8)(x.FMapInt32Int8), e) } } } else { @@ -17658,7 +17656,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt32Int8V(x.FMapInt32Int8, e) + h.encMapint32int8((map[int32]int8)(x.FMapInt32Int8), e) } } } @@ -17680,7 +17678,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy1999 := *x.FptrMapInt32Int8 if false { } else { - z.F.EncMapInt32Int8V(yy1999, e) + h.encMapint32int8((map[int32]int8)(yy1999), e) } } } @@ -17701,7 +17699,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy2001 := *x.FptrMapInt32Int8 if false { } else { - z.F.EncMapInt32Int8V(yy2001, e) + h.encMapint32int8((map[int32]int8)(yy2001), e) } } } @@ -17713,7 +17711,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt32Int16V(x.FMapInt32Int16, e) + h.encMapint32int16((map[int32]int16)(x.FMapInt32Int16), e) } } } else { @@ -17729,7 +17727,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt32Int16V(x.FMapInt32Int16, e) + h.encMapint32int16((map[int32]int16)(x.FMapInt32Int16), e) } } } @@ -17751,7 +17749,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy2007 := *x.FptrMapInt32Int16 if false { } else { - z.F.EncMapInt32Int16V(yy2007, e) + h.encMapint32int16((map[int32]int16)(yy2007), e) } } } @@ -17772,7 +17770,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy2009 := *x.FptrMapInt32Int16 if false { } else { - z.F.EncMapInt32Int16V(yy2009, e) + h.encMapint32int16((map[int32]int16)(yy2009), e) } } } @@ -17784,7 +17782,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt32Int32V(x.FMapInt32Int32, e) + h.encMapint32int32((map[int32]int32)(x.FMapInt32Int32), e) } } } else { @@ -17800,7 +17798,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt32Int32V(x.FMapInt32Int32, e) + h.encMapint32int32((map[int32]int32)(x.FMapInt32Int32), e) } } } @@ -17822,7 +17820,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy2015 := *x.FptrMapInt32Int32 if false { } else { - z.F.EncMapInt32Int32V(yy2015, e) + h.encMapint32int32((map[int32]int32)(yy2015), e) } } } @@ -17843,7 +17841,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy2017 := *x.FptrMapInt32Int32 if false { } else { - z.F.EncMapInt32Int32V(yy2017, e) + h.encMapint32int32((map[int32]int32)(yy2017), e) } } } @@ -17855,7 +17853,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt32Int64V(x.FMapInt32Int64, e) + h.encMapint32int64((map[int32]int64)(x.FMapInt32Int64), e) } } } else { @@ -17871,7 +17869,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt32Int64V(x.FMapInt32Int64, e) + h.encMapint32int64((map[int32]int64)(x.FMapInt32Int64), e) } } } @@ -17893,7 +17891,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy2023 := *x.FptrMapInt32Int64 if false { } else { - z.F.EncMapInt32Int64V(yy2023, e) + h.encMapint32int64((map[int32]int64)(yy2023), e) } } } @@ -17914,7 +17912,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy2025 := *x.FptrMapInt32Int64 if false { } else { - z.F.EncMapInt32Int64V(yy2025, e) + h.encMapint32int64((map[int32]int64)(yy2025), e) } } } @@ -17926,7 +17924,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt32Float32V(x.FMapInt32Float32, e) + h.encMapint32float32((map[int32]float32)(x.FMapInt32Float32), e) } } } else { @@ -17942,7 +17940,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt32Float32V(x.FMapInt32Float32, e) + h.encMapint32float32((map[int32]float32)(x.FMapInt32Float32), e) } } } @@ -17964,7 +17962,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy2031 := *x.FptrMapInt32Float32 if false { } else { - z.F.EncMapInt32Float32V(yy2031, e) + h.encMapint32float32((map[int32]float32)(yy2031), e) } } } @@ -17985,7 +17983,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy2033 := *x.FptrMapInt32Float32 if false { } else { - z.F.EncMapInt32Float32V(yy2033, e) + h.encMapint32float32((map[int32]float32)(yy2033), e) } } } @@ -17997,7 +17995,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt32Float64V(x.FMapInt32Float64, e) + h.encMapint32float64((map[int32]float64)(x.FMapInt32Float64), e) } } } else { @@ -18013,7 +18011,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt32Float64V(x.FMapInt32Float64, e) + h.encMapint32float64((map[int32]float64)(x.FMapInt32Float64), e) } } } @@ -18035,7 +18033,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy2039 := *x.FptrMapInt32Float64 if false { } else { - z.F.EncMapInt32Float64V(yy2039, e) + h.encMapint32float64((map[int32]float64)(yy2039), e) } } } @@ -18056,7 +18054,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy2041 := *x.FptrMapInt32Float64 if false { } else { - z.F.EncMapInt32Float64V(yy2041, e) + h.encMapint32float64((map[int32]float64)(yy2041), e) } } } @@ -18068,7 +18066,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt32BoolV(x.FMapInt32Bool, e) + h.encMapint32bool((map[int32]bool)(x.FMapInt32Bool), e) } } } else { @@ -18084,7 +18082,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt32BoolV(x.FMapInt32Bool, e) + h.encMapint32bool((map[int32]bool)(x.FMapInt32Bool), e) } } } @@ -18106,7 +18104,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy2047 := *x.FptrMapInt32Bool if false { } else { - z.F.EncMapInt32BoolV(yy2047, e) + h.encMapint32bool((map[int32]bool)(yy2047), e) } } } @@ -18127,7 +18125,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy2049 := *x.FptrMapInt32Bool if false { } else { - z.F.EncMapInt32BoolV(yy2049, e) + h.encMapint32bool((map[int32]bool)(yy2049), e) } } } @@ -18139,7 +18137,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt64IntfV(x.FMapInt64Intf, e) + h.encMapint64Interface((map[int64]interface{})(x.FMapInt64Intf), e) } } } else { @@ -18155,7 +18153,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt64IntfV(x.FMapInt64Intf, e) + h.encMapint64Interface((map[int64]interface{})(x.FMapInt64Intf), e) } } } @@ -18177,7 +18175,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy2055 := *x.FptrMapInt64Intf if false { } else { - z.F.EncMapInt64IntfV(yy2055, e) + h.encMapint64Interface((map[int64]interface{})(yy2055), e) } } } @@ -18198,7 +18196,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy2057 := *x.FptrMapInt64Intf if false { } else { - z.F.EncMapInt64IntfV(yy2057, e) + h.encMapint64Interface((map[int64]interface{})(yy2057), e) } } } @@ -18210,7 +18208,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt64StringV(x.FMapInt64String, e) + h.encMapint64string((map[int64]string)(x.FMapInt64String), e) } } } else { @@ -18226,7 +18224,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt64StringV(x.FMapInt64String, e) + h.encMapint64string((map[int64]string)(x.FMapInt64String), e) } } } @@ -18248,7 +18246,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy2063 := *x.FptrMapInt64String if false { } else { - z.F.EncMapInt64StringV(yy2063, e) + h.encMapint64string((map[int64]string)(yy2063), e) } } } @@ -18269,7 +18267,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy2065 := *x.FptrMapInt64String if false { } else { - z.F.EncMapInt64StringV(yy2065, e) + h.encMapint64string((map[int64]string)(yy2065), e) } } } @@ -18281,7 +18279,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt64UintV(x.FMapInt64Uint, e) + h.encMapint64uint((map[int64]uint)(x.FMapInt64Uint), e) } } } else { @@ -18297,7 +18295,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt64UintV(x.FMapInt64Uint, e) + h.encMapint64uint((map[int64]uint)(x.FMapInt64Uint), e) } } } @@ -18319,7 +18317,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy2071 := *x.FptrMapInt64Uint if false { } else { - z.F.EncMapInt64UintV(yy2071, e) + h.encMapint64uint((map[int64]uint)(yy2071), e) } } } @@ -18340,7 +18338,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy2073 := *x.FptrMapInt64Uint if false { } else { - z.F.EncMapInt64UintV(yy2073, e) + h.encMapint64uint((map[int64]uint)(yy2073), e) } } } @@ -18352,7 +18350,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt64Uint8V(x.FMapInt64Uint8, e) + h.encMapint64uint8((map[int64]uint8)(x.FMapInt64Uint8), e) } } } else { @@ -18368,7 +18366,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt64Uint8V(x.FMapInt64Uint8, e) + h.encMapint64uint8((map[int64]uint8)(x.FMapInt64Uint8), e) } } } @@ -18390,7 +18388,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy2079 := *x.FptrMapInt64Uint8 if false { } else { - z.F.EncMapInt64Uint8V(yy2079, e) + h.encMapint64uint8((map[int64]uint8)(yy2079), e) } } } @@ -18411,7 +18409,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy2081 := *x.FptrMapInt64Uint8 if false { } else { - z.F.EncMapInt64Uint8V(yy2081, e) + h.encMapint64uint8((map[int64]uint8)(yy2081), e) } } } @@ -18423,7 +18421,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt64Uint16V(x.FMapInt64Uint16, e) + h.encMapint64uint16((map[int64]uint16)(x.FMapInt64Uint16), e) } } } else { @@ -18439,7 +18437,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt64Uint16V(x.FMapInt64Uint16, e) + h.encMapint64uint16((map[int64]uint16)(x.FMapInt64Uint16), e) } } } @@ -18461,7 +18459,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy2087 := *x.FptrMapInt64Uint16 if false { } else { - z.F.EncMapInt64Uint16V(yy2087, e) + h.encMapint64uint16((map[int64]uint16)(yy2087), e) } } } @@ -18482,7 +18480,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy2089 := *x.FptrMapInt64Uint16 if false { } else { - z.F.EncMapInt64Uint16V(yy2089, e) + h.encMapint64uint16((map[int64]uint16)(yy2089), e) } } } @@ -18494,7 +18492,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt64Uint32V(x.FMapInt64Uint32, e) + h.encMapint64uint32((map[int64]uint32)(x.FMapInt64Uint32), e) } } } else { @@ -18510,7 +18508,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt64Uint32V(x.FMapInt64Uint32, e) + h.encMapint64uint32((map[int64]uint32)(x.FMapInt64Uint32), e) } } } @@ -18532,7 +18530,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy2095 := *x.FptrMapInt64Uint32 if false { } else { - z.F.EncMapInt64Uint32V(yy2095, e) + h.encMapint64uint32((map[int64]uint32)(yy2095), e) } } } @@ -18553,7 +18551,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy2097 := *x.FptrMapInt64Uint32 if false { } else { - z.F.EncMapInt64Uint32V(yy2097, e) + h.encMapint64uint32((map[int64]uint32)(yy2097), e) } } } @@ -18565,7 +18563,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt64Uint64V(x.FMapInt64Uint64, e) + h.encMapint64uint64((map[int64]uint64)(x.FMapInt64Uint64), e) } } } else { @@ -18581,7 +18579,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt64Uint64V(x.FMapInt64Uint64, e) + h.encMapint64uint64((map[int64]uint64)(x.FMapInt64Uint64), e) } } } @@ -18603,7 +18601,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy2103 := *x.FptrMapInt64Uint64 if false { } else { - z.F.EncMapInt64Uint64V(yy2103, e) + h.encMapint64uint64((map[int64]uint64)(yy2103), e) } } } @@ -18624,7 +18622,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy2105 := *x.FptrMapInt64Uint64 if false { } else { - z.F.EncMapInt64Uint64V(yy2105, e) + h.encMapint64uint64((map[int64]uint64)(yy2105), e) } } } @@ -18636,7 +18634,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt64UintptrV(x.FMapInt64Uintptr, e) + h.encMapint64uintptr((map[int64]uintptr)(x.FMapInt64Uintptr), e) } } } else { @@ -18652,7 +18650,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt64UintptrV(x.FMapInt64Uintptr, e) + h.encMapint64uintptr((map[int64]uintptr)(x.FMapInt64Uintptr), e) } } } @@ -18674,7 +18672,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy2111 := *x.FptrMapInt64Uintptr if false { } else { - z.F.EncMapInt64UintptrV(yy2111, e) + h.encMapint64uintptr((map[int64]uintptr)(yy2111), e) } } } @@ -18695,7 +18693,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy2113 := *x.FptrMapInt64Uintptr if false { } else { - z.F.EncMapInt64UintptrV(yy2113, e) + h.encMapint64uintptr((map[int64]uintptr)(yy2113), e) } } } @@ -18707,7 +18705,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt64IntV(x.FMapInt64Int, e) + h.encMapint64int((map[int64]int)(x.FMapInt64Int), e) } } } else { @@ -18723,7 +18721,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt64IntV(x.FMapInt64Int, e) + h.encMapint64int((map[int64]int)(x.FMapInt64Int), e) } } } @@ -18745,7 +18743,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy2119 := *x.FptrMapInt64Int if false { } else { - z.F.EncMapInt64IntV(yy2119, e) + h.encMapint64int((map[int64]int)(yy2119), e) } } } @@ -18766,7 +18764,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy2121 := *x.FptrMapInt64Int if false { } else { - z.F.EncMapInt64IntV(yy2121, e) + h.encMapint64int((map[int64]int)(yy2121), e) } } } @@ -18778,7 +18776,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt64Int8V(x.FMapInt64Int8, e) + h.encMapint64int8((map[int64]int8)(x.FMapInt64Int8), e) } } } else { @@ -18794,7 +18792,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt64Int8V(x.FMapInt64Int8, e) + h.encMapint64int8((map[int64]int8)(x.FMapInt64Int8), e) } } } @@ -18816,7 +18814,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy2127 := *x.FptrMapInt64Int8 if false { } else { - z.F.EncMapInt64Int8V(yy2127, e) + h.encMapint64int8((map[int64]int8)(yy2127), e) } } } @@ -18837,7 +18835,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy2129 := *x.FptrMapInt64Int8 if false { } else { - z.F.EncMapInt64Int8V(yy2129, e) + h.encMapint64int8((map[int64]int8)(yy2129), e) } } } @@ -18849,7 +18847,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt64Int16V(x.FMapInt64Int16, e) + h.encMapint64int16((map[int64]int16)(x.FMapInt64Int16), e) } } } else { @@ -18865,7 +18863,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt64Int16V(x.FMapInt64Int16, e) + h.encMapint64int16((map[int64]int16)(x.FMapInt64Int16), e) } } } @@ -18887,7 +18885,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy2135 := *x.FptrMapInt64Int16 if false { } else { - z.F.EncMapInt64Int16V(yy2135, e) + h.encMapint64int16((map[int64]int16)(yy2135), e) } } } @@ -18908,7 +18906,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy2137 := *x.FptrMapInt64Int16 if false { } else { - z.F.EncMapInt64Int16V(yy2137, e) + h.encMapint64int16((map[int64]int16)(yy2137), e) } } } @@ -18920,7 +18918,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt64Int32V(x.FMapInt64Int32, e) + h.encMapint64int32((map[int64]int32)(x.FMapInt64Int32), e) } } } else { @@ -18936,7 +18934,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt64Int32V(x.FMapInt64Int32, e) + h.encMapint64int32((map[int64]int32)(x.FMapInt64Int32), e) } } } @@ -18958,7 +18956,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy2143 := *x.FptrMapInt64Int32 if false { } else { - z.F.EncMapInt64Int32V(yy2143, e) + h.encMapint64int32((map[int64]int32)(yy2143), e) } } } @@ -18979,7 +18977,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy2145 := *x.FptrMapInt64Int32 if false { } else { - z.F.EncMapInt64Int32V(yy2145, e) + h.encMapint64int32((map[int64]int32)(yy2145), e) } } } @@ -18991,7 +18989,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt64Int64V(x.FMapInt64Int64, e) + h.encMapint64int64((map[int64]int64)(x.FMapInt64Int64), e) } } } else { @@ -19007,7 +19005,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt64Int64V(x.FMapInt64Int64, e) + h.encMapint64int64((map[int64]int64)(x.FMapInt64Int64), e) } } } @@ -19029,7 +19027,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy2151 := *x.FptrMapInt64Int64 if false { } else { - z.F.EncMapInt64Int64V(yy2151, e) + h.encMapint64int64((map[int64]int64)(yy2151), e) } } } @@ -19050,7 +19048,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy2153 := *x.FptrMapInt64Int64 if false { } else { - z.F.EncMapInt64Int64V(yy2153, e) + h.encMapint64int64((map[int64]int64)(yy2153), e) } } } @@ -19062,7 +19060,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt64Float32V(x.FMapInt64Float32, e) + h.encMapint64float32((map[int64]float32)(x.FMapInt64Float32), e) } } } else { @@ -19078,7 +19076,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt64Float32V(x.FMapInt64Float32, e) + h.encMapint64float32((map[int64]float32)(x.FMapInt64Float32), e) } } } @@ -19100,7 +19098,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy2159 := *x.FptrMapInt64Float32 if false { } else { - z.F.EncMapInt64Float32V(yy2159, e) + h.encMapint64float32((map[int64]float32)(yy2159), e) } } } @@ -19121,7 +19119,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy2161 := *x.FptrMapInt64Float32 if false { } else { - z.F.EncMapInt64Float32V(yy2161, e) + h.encMapint64float32((map[int64]float32)(yy2161), e) } } } @@ -19133,7 +19131,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt64Float64V(x.FMapInt64Float64, e) + h.encMapint64float64((map[int64]float64)(x.FMapInt64Float64), e) } } } else { @@ -19149,7 +19147,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt64Float64V(x.FMapInt64Float64, e) + h.encMapint64float64((map[int64]float64)(x.FMapInt64Float64), e) } } } @@ -19171,7 +19169,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy2167 := *x.FptrMapInt64Float64 if false { } else { - z.F.EncMapInt64Float64V(yy2167, e) + h.encMapint64float64((map[int64]float64)(yy2167), e) } } } @@ -19192,7 +19190,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy2169 := *x.FptrMapInt64Float64 if false { } else { - z.F.EncMapInt64Float64V(yy2169, e) + h.encMapint64float64((map[int64]float64)(yy2169), e) } } } @@ -19204,7 +19202,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt64BoolV(x.FMapInt64Bool, e) + h.encMapint64bool((map[int64]bool)(x.FMapInt64Bool), e) } } } else { @@ -19220,7 +19218,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapInt64BoolV(x.FMapInt64Bool, e) + h.encMapint64bool((map[int64]bool)(x.FMapInt64Bool), e) } } } @@ -19242,7 +19240,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy2175 := *x.FptrMapInt64Bool if false { } else { - z.F.EncMapInt64BoolV(yy2175, e) + h.encMapint64bool((map[int64]bool)(yy2175), e) } } } @@ -19263,7 +19261,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy2177 := *x.FptrMapInt64Bool if false { } else { - z.F.EncMapInt64BoolV(yy2177, e) + h.encMapint64bool((map[int64]bool)(yy2177), e) } } } @@ -19275,7 +19273,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapBoolIntfV(x.FMapBoolIntf, e) + h.encMapboolInterface((map[bool]interface{})(x.FMapBoolIntf), e) } } } else { @@ -19291,7 +19289,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapBoolIntfV(x.FMapBoolIntf, e) + h.encMapboolInterface((map[bool]interface{})(x.FMapBoolIntf), e) } } } @@ -19313,7 +19311,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy2183 := *x.FptrMapBoolIntf if false { } else { - z.F.EncMapBoolIntfV(yy2183, e) + h.encMapboolInterface((map[bool]interface{})(yy2183), e) } } } @@ -19334,7 +19332,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy2185 := *x.FptrMapBoolIntf if false { } else { - z.F.EncMapBoolIntfV(yy2185, e) + h.encMapboolInterface((map[bool]interface{})(yy2185), e) } } } @@ -19346,7 +19344,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapBoolStringV(x.FMapBoolString, e) + h.encMapboolstring((map[bool]string)(x.FMapBoolString), e) } } } else { @@ -19362,7 +19360,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapBoolStringV(x.FMapBoolString, e) + h.encMapboolstring((map[bool]string)(x.FMapBoolString), e) } } } @@ -19384,7 +19382,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy2191 := *x.FptrMapBoolString if false { } else { - z.F.EncMapBoolStringV(yy2191, e) + h.encMapboolstring((map[bool]string)(yy2191), e) } } } @@ -19405,7 +19403,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy2193 := *x.FptrMapBoolString if false { } else { - z.F.EncMapBoolStringV(yy2193, e) + h.encMapboolstring((map[bool]string)(yy2193), e) } } } @@ -19417,7 +19415,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapBoolUintV(x.FMapBoolUint, e) + h.encMapbooluint((map[bool]uint)(x.FMapBoolUint), e) } } } else { @@ -19433,7 +19431,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapBoolUintV(x.FMapBoolUint, e) + h.encMapbooluint((map[bool]uint)(x.FMapBoolUint), e) } } } @@ -19455,7 +19453,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy2199 := *x.FptrMapBoolUint if false { } else { - z.F.EncMapBoolUintV(yy2199, e) + h.encMapbooluint((map[bool]uint)(yy2199), e) } } } @@ -19476,7 +19474,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy2201 := *x.FptrMapBoolUint if false { } else { - z.F.EncMapBoolUintV(yy2201, e) + h.encMapbooluint((map[bool]uint)(yy2201), e) } } } @@ -19488,7 +19486,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapBoolUint8V(x.FMapBoolUint8, e) + h.encMapbooluint8((map[bool]uint8)(x.FMapBoolUint8), e) } } } else { @@ -19504,7 +19502,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapBoolUint8V(x.FMapBoolUint8, e) + h.encMapbooluint8((map[bool]uint8)(x.FMapBoolUint8), e) } } } @@ -19526,7 +19524,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy2207 := *x.FptrMapBoolUint8 if false { } else { - z.F.EncMapBoolUint8V(yy2207, e) + h.encMapbooluint8((map[bool]uint8)(yy2207), e) } } } @@ -19547,7 +19545,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy2209 := *x.FptrMapBoolUint8 if false { } else { - z.F.EncMapBoolUint8V(yy2209, e) + h.encMapbooluint8((map[bool]uint8)(yy2209), e) } } } @@ -19559,7 +19557,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapBoolUint16V(x.FMapBoolUint16, e) + h.encMapbooluint16((map[bool]uint16)(x.FMapBoolUint16), e) } } } else { @@ -19575,7 +19573,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapBoolUint16V(x.FMapBoolUint16, e) + h.encMapbooluint16((map[bool]uint16)(x.FMapBoolUint16), e) } } } @@ -19597,7 +19595,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy2215 := *x.FptrMapBoolUint16 if false { } else { - z.F.EncMapBoolUint16V(yy2215, e) + h.encMapbooluint16((map[bool]uint16)(yy2215), e) } } } @@ -19618,7 +19616,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy2217 := *x.FptrMapBoolUint16 if false { } else { - z.F.EncMapBoolUint16V(yy2217, e) + h.encMapbooluint16((map[bool]uint16)(yy2217), e) } } } @@ -19630,7 +19628,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapBoolUint32V(x.FMapBoolUint32, e) + h.encMapbooluint32((map[bool]uint32)(x.FMapBoolUint32), e) } } } else { @@ -19646,7 +19644,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapBoolUint32V(x.FMapBoolUint32, e) + h.encMapbooluint32((map[bool]uint32)(x.FMapBoolUint32), e) } } } @@ -19668,7 +19666,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy2223 := *x.FptrMapBoolUint32 if false { } else { - z.F.EncMapBoolUint32V(yy2223, e) + h.encMapbooluint32((map[bool]uint32)(yy2223), e) } } } @@ -19689,7 +19687,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy2225 := *x.FptrMapBoolUint32 if false { } else { - z.F.EncMapBoolUint32V(yy2225, e) + h.encMapbooluint32((map[bool]uint32)(yy2225), e) } } } @@ -19701,7 +19699,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapBoolUint64V(x.FMapBoolUint64, e) + h.encMapbooluint64((map[bool]uint64)(x.FMapBoolUint64), e) } } } else { @@ -19717,7 +19715,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapBoolUint64V(x.FMapBoolUint64, e) + h.encMapbooluint64((map[bool]uint64)(x.FMapBoolUint64), e) } } } @@ -19739,7 +19737,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy2231 := *x.FptrMapBoolUint64 if false { } else { - z.F.EncMapBoolUint64V(yy2231, e) + h.encMapbooluint64((map[bool]uint64)(yy2231), e) } } } @@ -19760,7 +19758,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy2233 := *x.FptrMapBoolUint64 if false { } else { - z.F.EncMapBoolUint64V(yy2233, e) + h.encMapbooluint64((map[bool]uint64)(yy2233), e) } } } @@ -19772,7 +19770,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapBoolUintptrV(x.FMapBoolUintptr, e) + h.encMapbooluintptr((map[bool]uintptr)(x.FMapBoolUintptr), e) } } } else { @@ -19788,7 +19786,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapBoolUintptrV(x.FMapBoolUintptr, e) + h.encMapbooluintptr((map[bool]uintptr)(x.FMapBoolUintptr), e) } } } @@ -19810,7 +19808,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy2239 := *x.FptrMapBoolUintptr if false { } else { - z.F.EncMapBoolUintptrV(yy2239, e) + h.encMapbooluintptr((map[bool]uintptr)(yy2239), e) } } } @@ -19831,7 +19829,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy2241 := *x.FptrMapBoolUintptr if false { } else { - z.F.EncMapBoolUintptrV(yy2241, e) + h.encMapbooluintptr((map[bool]uintptr)(yy2241), e) } } } @@ -19843,7 +19841,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapBoolIntV(x.FMapBoolInt, e) + h.encMapboolint((map[bool]int)(x.FMapBoolInt), e) } } } else { @@ -19859,7 +19857,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapBoolIntV(x.FMapBoolInt, e) + h.encMapboolint((map[bool]int)(x.FMapBoolInt), e) } } } @@ -19881,7 +19879,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy2247 := *x.FptrMapBoolInt if false { } else { - z.F.EncMapBoolIntV(yy2247, e) + h.encMapboolint((map[bool]int)(yy2247), e) } } } @@ -19902,7 +19900,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy2249 := *x.FptrMapBoolInt if false { } else { - z.F.EncMapBoolIntV(yy2249, e) + h.encMapboolint((map[bool]int)(yy2249), e) } } } @@ -19914,7 +19912,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapBoolInt8V(x.FMapBoolInt8, e) + h.encMapboolint8((map[bool]int8)(x.FMapBoolInt8), e) } } } else { @@ -19930,7 +19928,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapBoolInt8V(x.FMapBoolInt8, e) + h.encMapboolint8((map[bool]int8)(x.FMapBoolInt8), e) } } } @@ -19952,7 +19950,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy2255 := *x.FptrMapBoolInt8 if false { } else { - z.F.EncMapBoolInt8V(yy2255, e) + h.encMapboolint8((map[bool]int8)(yy2255), e) } } } @@ -19973,7 +19971,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy2257 := *x.FptrMapBoolInt8 if false { } else { - z.F.EncMapBoolInt8V(yy2257, e) + h.encMapboolint8((map[bool]int8)(yy2257), e) } } } @@ -19985,7 +19983,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapBoolInt16V(x.FMapBoolInt16, e) + h.encMapboolint16((map[bool]int16)(x.FMapBoolInt16), e) } } } else { @@ -20001,7 +19999,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapBoolInt16V(x.FMapBoolInt16, e) + h.encMapboolint16((map[bool]int16)(x.FMapBoolInt16), e) } } } @@ -20023,7 +20021,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy2263 := *x.FptrMapBoolInt16 if false { } else { - z.F.EncMapBoolInt16V(yy2263, e) + h.encMapboolint16((map[bool]int16)(yy2263), e) } } } @@ -20044,7 +20042,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy2265 := *x.FptrMapBoolInt16 if false { } else { - z.F.EncMapBoolInt16V(yy2265, e) + h.encMapboolint16((map[bool]int16)(yy2265), e) } } } @@ -20056,7 +20054,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapBoolInt32V(x.FMapBoolInt32, e) + h.encMapboolint32((map[bool]int32)(x.FMapBoolInt32), e) } } } else { @@ -20072,7 +20070,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapBoolInt32V(x.FMapBoolInt32, e) + h.encMapboolint32((map[bool]int32)(x.FMapBoolInt32), e) } } } @@ -20094,7 +20092,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy2271 := *x.FptrMapBoolInt32 if false { } else { - z.F.EncMapBoolInt32V(yy2271, e) + h.encMapboolint32((map[bool]int32)(yy2271), e) } } } @@ -20115,7 +20113,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy2273 := *x.FptrMapBoolInt32 if false { } else { - z.F.EncMapBoolInt32V(yy2273, e) + h.encMapboolint32((map[bool]int32)(yy2273), e) } } } @@ -20127,7 +20125,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapBoolInt64V(x.FMapBoolInt64, e) + h.encMapboolint64((map[bool]int64)(x.FMapBoolInt64), e) } } } else { @@ -20143,7 +20141,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapBoolInt64V(x.FMapBoolInt64, e) + h.encMapboolint64((map[bool]int64)(x.FMapBoolInt64), e) } } } @@ -20165,7 +20163,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy2279 := *x.FptrMapBoolInt64 if false { } else { - z.F.EncMapBoolInt64V(yy2279, e) + h.encMapboolint64((map[bool]int64)(yy2279), e) } } } @@ -20186,7 +20184,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy2281 := *x.FptrMapBoolInt64 if false { } else { - z.F.EncMapBoolInt64V(yy2281, e) + h.encMapboolint64((map[bool]int64)(yy2281), e) } } } @@ -20198,7 +20196,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapBoolFloat32V(x.FMapBoolFloat32, e) + h.encMapboolfloat32((map[bool]float32)(x.FMapBoolFloat32), e) } } } else { @@ -20214,7 +20212,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapBoolFloat32V(x.FMapBoolFloat32, e) + h.encMapboolfloat32((map[bool]float32)(x.FMapBoolFloat32), e) } } } @@ -20236,7 +20234,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy2287 := *x.FptrMapBoolFloat32 if false { } else { - z.F.EncMapBoolFloat32V(yy2287, e) + h.encMapboolfloat32((map[bool]float32)(yy2287), e) } } } @@ -20257,7 +20255,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy2289 := *x.FptrMapBoolFloat32 if false { } else { - z.F.EncMapBoolFloat32V(yy2289, e) + h.encMapboolfloat32((map[bool]float32)(yy2289), e) } } } @@ -20269,7 +20267,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapBoolFloat64V(x.FMapBoolFloat64, e) + h.encMapboolfloat64((map[bool]float64)(x.FMapBoolFloat64), e) } } } else { @@ -20285,7 +20283,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapBoolFloat64V(x.FMapBoolFloat64, e) + h.encMapboolfloat64((map[bool]float64)(x.FMapBoolFloat64), e) } } } @@ -20307,7 +20305,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy2295 := *x.FptrMapBoolFloat64 if false { } else { - z.F.EncMapBoolFloat64V(yy2295, e) + h.encMapboolfloat64((map[bool]float64)(yy2295), e) } } } @@ -20328,7 +20326,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy2297 := *x.FptrMapBoolFloat64 if false { } else { - z.F.EncMapBoolFloat64V(yy2297, e) + h.encMapboolfloat64((map[bool]float64)(yy2297), e) } } } @@ -20340,7 +20338,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapBoolBoolV(x.FMapBoolBool, e) + h.encMapboolbool((map[bool]bool)(x.FMapBoolBool), e) } } } else { @@ -20356,7 +20354,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapBoolBoolV(x.FMapBoolBool, e) + h.encMapboolbool((map[bool]bool)(x.FMapBoolBool), e) } } } @@ -20378,7 +20376,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy2303 := *x.FptrMapBoolBool if false { } else { - z.F.EncMapBoolBoolV(yy2303, e) + h.encMapboolbool((map[bool]bool)(yy2303), e) } } } @@ -20399,7 +20397,7 @@ func (x *TestMammoth2) CodecEncodeSelf(e *Encoder) { yy2305 := *x.FptrMapBoolBool if false { } else { - z.F.EncMapBoolBoolV(yy2305, e) + h.encMapboolbool((map[bool]bool)(yy2305), e) } } } @@ -20806,7 +20804,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceIntfX(&x.FSliceIntf, d) + h.decSliceInterface((*[]interface{})(&x.FSliceIntf), d) } } case "FptrSliceIntf": @@ -20821,7 +20819,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecSliceIntfX(x.FptrSliceIntf, d) + h.decSliceInterface((*[]interface{})(x.FptrSliceIntf), d) } } case "FSliceString": @@ -20830,7 +20828,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceStringX(&x.FSliceString, d) + h.decSlicestring((*[]string)(&x.FSliceString), d) } } case "FptrSliceString": @@ -20845,7 +20843,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecSliceStringX(x.FptrSliceString, d) + h.decSlicestring((*[]string)(x.FptrSliceString), d) } } case "FSliceFloat32": @@ -20854,7 +20852,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceFloat32X(&x.FSliceFloat32, d) + h.decSlicefloat32((*[]float32)(&x.FSliceFloat32), d) } } case "FptrSliceFloat32": @@ -20869,7 +20867,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecSliceFloat32X(x.FptrSliceFloat32, d) + h.decSlicefloat32((*[]float32)(x.FptrSliceFloat32), d) } } case "FSliceFloat64": @@ -20878,7 +20876,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceFloat64X(&x.FSliceFloat64, d) + h.decSlicefloat64((*[]float64)(&x.FSliceFloat64), d) } } case "FptrSliceFloat64": @@ -20893,7 +20891,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecSliceFloat64X(x.FptrSliceFloat64, d) + h.decSlicefloat64((*[]float64)(x.FptrSliceFloat64), d) } } case "FSliceUint": @@ -20902,7 +20900,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceUintX(&x.FSliceUint, d) + h.decSliceuint((*[]uint)(&x.FSliceUint), d) } } case "FptrSliceUint": @@ -20917,7 +20915,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecSliceUintX(x.FptrSliceUint, d) + h.decSliceuint((*[]uint)(x.FptrSliceUint), d) } } case "FSliceUint8": @@ -20950,7 +20948,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceUint16X(&x.FSliceUint16, d) + h.decSliceuint16((*[]uint16)(&x.FSliceUint16), d) } } case "FptrSliceUint16": @@ -20965,7 +20963,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecSliceUint16X(x.FptrSliceUint16, d) + h.decSliceuint16((*[]uint16)(x.FptrSliceUint16), d) } } case "FSliceUint32": @@ -20974,7 +20972,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceUint32X(&x.FSliceUint32, d) + h.decSliceuint32((*[]uint32)(&x.FSliceUint32), d) } } case "FptrSliceUint32": @@ -20989,7 +20987,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecSliceUint32X(x.FptrSliceUint32, d) + h.decSliceuint32((*[]uint32)(x.FptrSliceUint32), d) } } case "FSliceUint64": @@ -20998,7 +20996,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceUint64X(&x.FSliceUint64, d) + h.decSliceuint64((*[]uint64)(&x.FSliceUint64), d) } } case "FptrSliceUint64": @@ -21013,7 +21011,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecSliceUint64X(x.FptrSliceUint64, d) + h.decSliceuint64((*[]uint64)(x.FptrSliceUint64), d) } } case "FSliceUintptr": @@ -21022,7 +21020,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceUintptrX(&x.FSliceUintptr, d) + h.decSliceuintptr((*[]uintptr)(&x.FSliceUintptr), d) } } case "FptrSliceUintptr": @@ -21037,7 +21035,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecSliceUintptrX(x.FptrSliceUintptr, d) + h.decSliceuintptr((*[]uintptr)(x.FptrSliceUintptr), d) } } case "FSliceInt": @@ -21046,7 +21044,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceIntX(&x.FSliceInt, d) + h.decSliceint((*[]int)(&x.FSliceInt), d) } } case "FptrSliceInt": @@ -21061,7 +21059,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecSliceIntX(x.FptrSliceInt, d) + h.decSliceint((*[]int)(x.FptrSliceInt), d) } } case "FSliceInt8": @@ -21070,7 +21068,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceInt8X(&x.FSliceInt8, d) + h.decSliceint8((*[]int8)(&x.FSliceInt8), d) } } case "FptrSliceInt8": @@ -21085,7 +21083,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecSliceInt8X(x.FptrSliceInt8, d) + h.decSliceint8((*[]int8)(x.FptrSliceInt8), d) } } case "FSliceInt16": @@ -21094,7 +21092,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceInt16X(&x.FSliceInt16, d) + h.decSliceint16((*[]int16)(&x.FSliceInt16), d) } } case "FptrSliceInt16": @@ -21109,7 +21107,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecSliceInt16X(x.FptrSliceInt16, d) + h.decSliceint16((*[]int16)(x.FptrSliceInt16), d) } } case "FSliceInt32": @@ -21118,7 +21116,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceInt32X(&x.FSliceInt32, d) + h.decSliceint32((*[]int32)(&x.FSliceInt32), d) } } case "FptrSliceInt32": @@ -21133,7 +21131,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecSliceInt32X(x.FptrSliceInt32, d) + h.decSliceint32((*[]int32)(x.FptrSliceInt32), d) } } case "FSliceInt64": @@ -21142,7 +21140,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceInt64X(&x.FSliceInt64, d) + h.decSliceint64((*[]int64)(&x.FSliceInt64), d) } } case "FptrSliceInt64": @@ -21157,7 +21155,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecSliceInt64X(x.FptrSliceInt64, d) + h.decSliceint64((*[]int64)(x.FptrSliceInt64), d) } } case "FSliceBool": @@ -21166,7 +21164,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceBoolX(&x.FSliceBool, d) + h.decSlicebool((*[]bool)(&x.FSliceBool), d) } } case "FptrSliceBool": @@ -21181,7 +21179,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecSliceBoolX(x.FptrSliceBool, d) + h.decSlicebool((*[]bool)(x.FptrSliceBool), d) } } case "FMapIntfIntf": @@ -21190,7 +21188,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapIntfIntfX(&x.FMapIntfIntf, d) + h.decMapInterfaceInterface((*map[interface{}]interface{})(&x.FMapIntfIntf), d) } } case "FptrMapIntfIntf": @@ -21205,7 +21203,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapIntfIntfX(x.FptrMapIntfIntf, d) + h.decMapInterfaceInterface((*map[interface{}]interface{})(x.FptrMapIntfIntf), d) } } case "FMapIntfString": @@ -21214,7 +21212,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapIntfStringX(&x.FMapIntfString, d) + h.decMapInterfacestring((*map[interface{}]string)(&x.FMapIntfString), d) } } case "FptrMapIntfString": @@ -21229,7 +21227,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapIntfStringX(x.FptrMapIntfString, d) + h.decMapInterfacestring((*map[interface{}]string)(x.FptrMapIntfString), d) } } case "FMapIntfUint": @@ -21238,7 +21236,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapIntfUintX(&x.FMapIntfUint, d) + h.decMapInterfaceuint((*map[interface{}]uint)(&x.FMapIntfUint), d) } } case "FptrMapIntfUint": @@ -21253,7 +21251,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapIntfUintX(x.FptrMapIntfUint, d) + h.decMapInterfaceuint((*map[interface{}]uint)(x.FptrMapIntfUint), d) } } case "FMapIntfUint8": @@ -21262,7 +21260,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapIntfUint8X(&x.FMapIntfUint8, d) + h.decMapInterfaceuint8((*map[interface{}]uint8)(&x.FMapIntfUint8), d) } } case "FptrMapIntfUint8": @@ -21277,7 +21275,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapIntfUint8X(x.FptrMapIntfUint8, d) + h.decMapInterfaceuint8((*map[interface{}]uint8)(x.FptrMapIntfUint8), d) } } case "FMapIntfUint16": @@ -21286,7 +21284,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapIntfUint16X(&x.FMapIntfUint16, d) + h.decMapInterfaceuint16((*map[interface{}]uint16)(&x.FMapIntfUint16), d) } } case "FptrMapIntfUint16": @@ -21301,7 +21299,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapIntfUint16X(x.FptrMapIntfUint16, d) + h.decMapInterfaceuint16((*map[interface{}]uint16)(x.FptrMapIntfUint16), d) } } case "FMapIntfUint32": @@ -21310,7 +21308,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapIntfUint32X(&x.FMapIntfUint32, d) + h.decMapInterfaceuint32((*map[interface{}]uint32)(&x.FMapIntfUint32), d) } } case "FptrMapIntfUint32": @@ -21325,7 +21323,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapIntfUint32X(x.FptrMapIntfUint32, d) + h.decMapInterfaceuint32((*map[interface{}]uint32)(x.FptrMapIntfUint32), d) } } case "FMapIntfUint64": @@ -21334,7 +21332,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapIntfUint64X(&x.FMapIntfUint64, d) + h.decMapInterfaceuint64((*map[interface{}]uint64)(&x.FMapIntfUint64), d) } } case "FptrMapIntfUint64": @@ -21349,7 +21347,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapIntfUint64X(x.FptrMapIntfUint64, d) + h.decMapInterfaceuint64((*map[interface{}]uint64)(x.FptrMapIntfUint64), d) } } case "FMapIntfUintptr": @@ -21358,7 +21356,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapIntfUintptrX(&x.FMapIntfUintptr, d) + h.decMapInterfaceuintptr((*map[interface{}]uintptr)(&x.FMapIntfUintptr), d) } } case "FptrMapIntfUintptr": @@ -21373,7 +21371,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapIntfUintptrX(x.FptrMapIntfUintptr, d) + h.decMapInterfaceuintptr((*map[interface{}]uintptr)(x.FptrMapIntfUintptr), d) } } case "FMapIntfInt": @@ -21382,7 +21380,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapIntfIntX(&x.FMapIntfInt, d) + h.decMapInterfaceint((*map[interface{}]int)(&x.FMapIntfInt), d) } } case "FptrMapIntfInt": @@ -21397,7 +21395,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapIntfIntX(x.FptrMapIntfInt, d) + h.decMapInterfaceint((*map[interface{}]int)(x.FptrMapIntfInt), d) } } case "FMapIntfInt8": @@ -21406,7 +21404,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapIntfInt8X(&x.FMapIntfInt8, d) + h.decMapInterfaceint8((*map[interface{}]int8)(&x.FMapIntfInt8), d) } } case "FptrMapIntfInt8": @@ -21421,7 +21419,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapIntfInt8X(x.FptrMapIntfInt8, d) + h.decMapInterfaceint8((*map[interface{}]int8)(x.FptrMapIntfInt8), d) } } case "FMapIntfInt16": @@ -21430,7 +21428,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapIntfInt16X(&x.FMapIntfInt16, d) + h.decMapInterfaceint16((*map[interface{}]int16)(&x.FMapIntfInt16), d) } } case "FptrMapIntfInt16": @@ -21445,7 +21443,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapIntfInt16X(x.FptrMapIntfInt16, d) + h.decMapInterfaceint16((*map[interface{}]int16)(x.FptrMapIntfInt16), d) } } case "FMapIntfInt32": @@ -21454,7 +21452,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapIntfInt32X(&x.FMapIntfInt32, d) + h.decMapInterfaceint32((*map[interface{}]int32)(&x.FMapIntfInt32), d) } } case "FptrMapIntfInt32": @@ -21469,7 +21467,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapIntfInt32X(x.FptrMapIntfInt32, d) + h.decMapInterfaceint32((*map[interface{}]int32)(x.FptrMapIntfInt32), d) } } case "FMapIntfInt64": @@ -21478,7 +21476,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapIntfInt64X(&x.FMapIntfInt64, d) + h.decMapInterfaceint64((*map[interface{}]int64)(&x.FMapIntfInt64), d) } } case "FptrMapIntfInt64": @@ -21493,7 +21491,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapIntfInt64X(x.FptrMapIntfInt64, d) + h.decMapInterfaceint64((*map[interface{}]int64)(x.FptrMapIntfInt64), d) } } case "FMapIntfFloat32": @@ -21502,7 +21500,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapIntfFloat32X(&x.FMapIntfFloat32, d) + h.decMapInterfacefloat32((*map[interface{}]float32)(&x.FMapIntfFloat32), d) } } case "FptrMapIntfFloat32": @@ -21517,7 +21515,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapIntfFloat32X(x.FptrMapIntfFloat32, d) + h.decMapInterfacefloat32((*map[interface{}]float32)(x.FptrMapIntfFloat32), d) } } case "FMapIntfFloat64": @@ -21526,7 +21524,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapIntfFloat64X(&x.FMapIntfFloat64, d) + h.decMapInterfacefloat64((*map[interface{}]float64)(&x.FMapIntfFloat64), d) } } case "FptrMapIntfFloat64": @@ -21541,7 +21539,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapIntfFloat64X(x.FptrMapIntfFloat64, d) + h.decMapInterfacefloat64((*map[interface{}]float64)(x.FptrMapIntfFloat64), d) } } case "FMapIntfBool": @@ -21550,7 +21548,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapIntfBoolX(&x.FMapIntfBool, d) + h.decMapInterfacebool((*map[interface{}]bool)(&x.FMapIntfBool), d) } } case "FptrMapIntfBool": @@ -21565,7 +21563,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapIntfBoolX(x.FptrMapIntfBool, d) + h.decMapInterfacebool((*map[interface{}]bool)(x.FptrMapIntfBool), d) } } case "FMapStringIntf": @@ -21574,7 +21572,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapStringIntfX(&x.FMapStringIntf, d) + h.decMapstringInterface((*map[string]interface{})(&x.FMapStringIntf), d) } } case "FptrMapStringIntf": @@ -21589,7 +21587,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapStringIntfX(x.FptrMapStringIntf, d) + h.decMapstringInterface((*map[string]interface{})(x.FptrMapStringIntf), d) } } case "FMapStringString": @@ -21598,7 +21596,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapStringStringX(&x.FMapStringString, d) + h.decMapstringstring((*map[string]string)(&x.FMapStringString), d) } } case "FptrMapStringString": @@ -21613,7 +21611,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapStringStringX(x.FptrMapStringString, d) + h.decMapstringstring((*map[string]string)(x.FptrMapStringString), d) } } case "FMapStringUint": @@ -21622,7 +21620,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapStringUintX(&x.FMapStringUint, d) + h.decMapstringuint((*map[string]uint)(&x.FMapStringUint), d) } } case "FptrMapStringUint": @@ -21637,7 +21635,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapStringUintX(x.FptrMapStringUint, d) + h.decMapstringuint((*map[string]uint)(x.FptrMapStringUint), d) } } case "FMapStringUint8": @@ -21646,7 +21644,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapStringUint8X(&x.FMapStringUint8, d) + h.decMapstringuint8((*map[string]uint8)(&x.FMapStringUint8), d) } } case "FptrMapStringUint8": @@ -21661,7 +21659,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapStringUint8X(x.FptrMapStringUint8, d) + h.decMapstringuint8((*map[string]uint8)(x.FptrMapStringUint8), d) } } case "FMapStringUint16": @@ -21670,7 +21668,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapStringUint16X(&x.FMapStringUint16, d) + h.decMapstringuint16((*map[string]uint16)(&x.FMapStringUint16), d) } } case "FptrMapStringUint16": @@ -21685,7 +21683,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapStringUint16X(x.FptrMapStringUint16, d) + h.decMapstringuint16((*map[string]uint16)(x.FptrMapStringUint16), d) } } case "FMapStringUint32": @@ -21694,7 +21692,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapStringUint32X(&x.FMapStringUint32, d) + h.decMapstringuint32((*map[string]uint32)(&x.FMapStringUint32), d) } } case "FptrMapStringUint32": @@ -21709,7 +21707,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapStringUint32X(x.FptrMapStringUint32, d) + h.decMapstringuint32((*map[string]uint32)(x.FptrMapStringUint32), d) } } case "FMapStringUint64": @@ -21718,7 +21716,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapStringUint64X(&x.FMapStringUint64, d) + h.decMapstringuint64((*map[string]uint64)(&x.FMapStringUint64), d) } } case "FptrMapStringUint64": @@ -21733,7 +21731,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapStringUint64X(x.FptrMapStringUint64, d) + h.decMapstringuint64((*map[string]uint64)(x.FptrMapStringUint64), d) } } case "FMapStringUintptr": @@ -21742,7 +21740,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapStringUintptrX(&x.FMapStringUintptr, d) + h.decMapstringuintptr((*map[string]uintptr)(&x.FMapStringUintptr), d) } } case "FptrMapStringUintptr": @@ -21757,7 +21755,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapStringUintptrX(x.FptrMapStringUintptr, d) + h.decMapstringuintptr((*map[string]uintptr)(x.FptrMapStringUintptr), d) } } case "FMapStringInt": @@ -21766,7 +21764,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapStringIntX(&x.FMapStringInt, d) + h.decMapstringint((*map[string]int)(&x.FMapStringInt), d) } } case "FptrMapStringInt": @@ -21781,7 +21779,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapStringIntX(x.FptrMapStringInt, d) + h.decMapstringint((*map[string]int)(x.FptrMapStringInt), d) } } case "FMapStringInt8": @@ -21790,7 +21788,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapStringInt8X(&x.FMapStringInt8, d) + h.decMapstringint8((*map[string]int8)(&x.FMapStringInt8), d) } } case "FptrMapStringInt8": @@ -21805,7 +21803,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapStringInt8X(x.FptrMapStringInt8, d) + h.decMapstringint8((*map[string]int8)(x.FptrMapStringInt8), d) } } case "FMapStringInt16": @@ -21814,7 +21812,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapStringInt16X(&x.FMapStringInt16, d) + h.decMapstringint16((*map[string]int16)(&x.FMapStringInt16), d) } } case "FptrMapStringInt16": @@ -21829,7 +21827,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapStringInt16X(x.FptrMapStringInt16, d) + h.decMapstringint16((*map[string]int16)(x.FptrMapStringInt16), d) } } case "FMapStringInt32": @@ -21838,7 +21836,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapStringInt32X(&x.FMapStringInt32, d) + h.decMapstringint32((*map[string]int32)(&x.FMapStringInt32), d) } } case "FptrMapStringInt32": @@ -21853,7 +21851,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapStringInt32X(x.FptrMapStringInt32, d) + h.decMapstringint32((*map[string]int32)(x.FptrMapStringInt32), d) } } case "FMapStringInt64": @@ -21862,7 +21860,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapStringInt64X(&x.FMapStringInt64, d) + h.decMapstringint64((*map[string]int64)(&x.FMapStringInt64), d) } } case "FptrMapStringInt64": @@ -21877,7 +21875,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapStringInt64X(x.FptrMapStringInt64, d) + h.decMapstringint64((*map[string]int64)(x.FptrMapStringInt64), d) } } case "FMapStringFloat32": @@ -21886,7 +21884,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapStringFloat32X(&x.FMapStringFloat32, d) + h.decMapstringfloat32((*map[string]float32)(&x.FMapStringFloat32), d) } } case "FptrMapStringFloat32": @@ -21901,7 +21899,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapStringFloat32X(x.FptrMapStringFloat32, d) + h.decMapstringfloat32((*map[string]float32)(x.FptrMapStringFloat32), d) } } case "FMapStringFloat64": @@ -21910,7 +21908,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapStringFloat64X(&x.FMapStringFloat64, d) + h.decMapstringfloat64((*map[string]float64)(&x.FMapStringFloat64), d) } } case "FptrMapStringFloat64": @@ -21925,7 +21923,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapStringFloat64X(x.FptrMapStringFloat64, d) + h.decMapstringfloat64((*map[string]float64)(x.FptrMapStringFloat64), d) } } case "FMapStringBool": @@ -21934,7 +21932,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapStringBoolX(&x.FMapStringBool, d) + h.decMapstringbool((*map[string]bool)(&x.FMapStringBool), d) } } case "FptrMapStringBool": @@ -21949,7 +21947,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapStringBoolX(x.FptrMapStringBool, d) + h.decMapstringbool((*map[string]bool)(x.FptrMapStringBool), d) } } case "FMapFloat32Intf": @@ -21958,7 +21956,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapFloat32IntfX(&x.FMapFloat32Intf, d) + h.decMapfloat32Interface((*map[float32]interface{})(&x.FMapFloat32Intf), d) } } case "FptrMapFloat32Intf": @@ -21973,7 +21971,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapFloat32IntfX(x.FptrMapFloat32Intf, d) + h.decMapfloat32Interface((*map[float32]interface{})(x.FptrMapFloat32Intf), d) } } case "FMapFloat32String": @@ -21982,7 +21980,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapFloat32StringX(&x.FMapFloat32String, d) + h.decMapfloat32string((*map[float32]string)(&x.FMapFloat32String), d) } } case "FptrMapFloat32String": @@ -21997,7 +21995,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapFloat32StringX(x.FptrMapFloat32String, d) + h.decMapfloat32string((*map[float32]string)(x.FptrMapFloat32String), d) } } case "FMapFloat32Uint": @@ -22006,7 +22004,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapFloat32UintX(&x.FMapFloat32Uint, d) + h.decMapfloat32uint((*map[float32]uint)(&x.FMapFloat32Uint), d) } } case "FptrMapFloat32Uint": @@ -22021,7 +22019,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapFloat32UintX(x.FptrMapFloat32Uint, d) + h.decMapfloat32uint((*map[float32]uint)(x.FptrMapFloat32Uint), d) } } case "FMapFloat32Uint8": @@ -22030,7 +22028,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapFloat32Uint8X(&x.FMapFloat32Uint8, d) + h.decMapfloat32uint8((*map[float32]uint8)(&x.FMapFloat32Uint8), d) } } case "FptrMapFloat32Uint8": @@ -22045,7 +22043,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapFloat32Uint8X(x.FptrMapFloat32Uint8, d) + h.decMapfloat32uint8((*map[float32]uint8)(x.FptrMapFloat32Uint8), d) } } case "FMapFloat32Uint16": @@ -22054,7 +22052,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapFloat32Uint16X(&x.FMapFloat32Uint16, d) + h.decMapfloat32uint16((*map[float32]uint16)(&x.FMapFloat32Uint16), d) } } case "FptrMapFloat32Uint16": @@ -22069,7 +22067,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapFloat32Uint16X(x.FptrMapFloat32Uint16, d) + h.decMapfloat32uint16((*map[float32]uint16)(x.FptrMapFloat32Uint16), d) } } case "FMapFloat32Uint32": @@ -22078,7 +22076,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapFloat32Uint32X(&x.FMapFloat32Uint32, d) + h.decMapfloat32uint32((*map[float32]uint32)(&x.FMapFloat32Uint32), d) } } case "FptrMapFloat32Uint32": @@ -22093,7 +22091,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapFloat32Uint32X(x.FptrMapFloat32Uint32, d) + h.decMapfloat32uint32((*map[float32]uint32)(x.FptrMapFloat32Uint32), d) } } case "FMapFloat32Uint64": @@ -22102,7 +22100,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapFloat32Uint64X(&x.FMapFloat32Uint64, d) + h.decMapfloat32uint64((*map[float32]uint64)(&x.FMapFloat32Uint64), d) } } case "FptrMapFloat32Uint64": @@ -22117,7 +22115,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapFloat32Uint64X(x.FptrMapFloat32Uint64, d) + h.decMapfloat32uint64((*map[float32]uint64)(x.FptrMapFloat32Uint64), d) } } case "FMapFloat32Uintptr": @@ -22126,7 +22124,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapFloat32UintptrX(&x.FMapFloat32Uintptr, d) + h.decMapfloat32uintptr((*map[float32]uintptr)(&x.FMapFloat32Uintptr), d) } } case "FptrMapFloat32Uintptr": @@ -22141,7 +22139,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapFloat32UintptrX(x.FptrMapFloat32Uintptr, d) + h.decMapfloat32uintptr((*map[float32]uintptr)(x.FptrMapFloat32Uintptr), d) } } case "FMapFloat32Int": @@ -22150,7 +22148,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapFloat32IntX(&x.FMapFloat32Int, d) + h.decMapfloat32int((*map[float32]int)(&x.FMapFloat32Int), d) } } case "FptrMapFloat32Int": @@ -22165,7 +22163,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapFloat32IntX(x.FptrMapFloat32Int, d) + h.decMapfloat32int((*map[float32]int)(x.FptrMapFloat32Int), d) } } case "FMapFloat32Int8": @@ -22174,7 +22172,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapFloat32Int8X(&x.FMapFloat32Int8, d) + h.decMapfloat32int8((*map[float32]int8)(&x.FMapFloat32Int8), d) } } case "FptrMapFloat32Int8": @@ -22189,7 +22187,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapFloat32Int8X(x.FptrMapFloat32Int8, d) + h.decMapfloat32int8((*map[float32]int8)(x.FptrMapFloat32Int8), d) } } case "FMapFloat32Int16": @@ -22198,7 +22196,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapFloat32Int16X(&x.FMapFloat32Int16, d) + h.decMapfloat32int16((*map[float32]int16)(&x.FMapFloat32Int16), d) } } case "FptrMapFloat32Int16": @@ -22213,7 +22211,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapFloat32Int16X(x.FptrMapFloat32Int16, d) + h.decMapfloat32int16((*map[float32]int16)(x.FptrMapFloat32Int16), d) } } case "FMapFloat32Int32": @@ -22222,7 +22220,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapFloat32Int32X(&x.FMapFloat32Int32, d) + h.decMapfloat32int32((*map[float32]int32)(&x.FMapFloat32Int32), d) } } case "FptrMapFloat32Int32": @@ -22237,7 +22235,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapFloat32Int32X(x.FptrMapFloat32Int32, d) + h.decMapfloat32int32((*map[float32]int32)(x.FptrMapFloat32Int32), d) } } case "FMapFloat32Int64": @@ -22246,7 +22244,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapFloat32Int64X(&x.FMapFloat32Int64, d) + h.decMapfloat32int64((*map[float32]int64)(&x.FMapFloat32Int64), d) } } case "FptrMapFloat32Int64": @@ -22261,7 +22259,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapFloat32Int64X(x.FptrMapFloat32Int64, d) + h.decMapfloat32int64((*map[float32]int64)(x.FptrMapFloat32Int64), d) } } case "FMapFloat32Float32": @@ -22270,7 +22268,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapFloat32Float32X(&x.FMapFloat32Float32, d) + h.decMapfloat32float32((*map[float32]float32)(&x.FMapFloat32Float32), d) } } case "FptrMapFloat32Float32": @@ -22285,7 +22283,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapFloat32Float32X(x.FptrMapFloat32Float32, d) + h.decMapfloat32float32((*map[float32]float32)(x.FptrMapFloat32Float32), d) } } case "FMapFloat32Float64": @@ -22294,7 +22292,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapFloat32Float64X(&x.FMapFloat32Float64, d) + h.decMapfloat32float64((*map[float32]float64)(&x.FMapFloat32Float64), d) } } case "FptrMapFloat32Float64": @@ -22309,7 +22307,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapFloat32Float64X(x.FptrMapFloat32Float64, d) + h.decMapfloat32float64((*map[float32]float64)(x.FptrMapFloat32Float64), d) } } case "FMapFloat32Bool": @@ -22318,7 +22316,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapFloat32BoolX(&x.FMapFloat32Bool, d) + h.decMapfloat32bool((*map[float32]bool)(&x.FMapFloat32Bool), d) } } case "FptrMapFloat32Bool": @@ -22333,7 +22331,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapFloat32BoolX(x.FptrMapFloat32Bool, d) + h.decMapfloat32bool((*map[float32]bool)(x.FptrMapFloat32Bool), d) } } case "FMapFloat64Intf": @@ -22342,7 +22340,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapFloat64IntfX(&x.FMapFloat64Intf, d) + h.decMapfloat64Interface((*map[float64]interface{})(&x.FMapFloat64Intf), d) } } case "FptrMapFloat64Intf": @@ -22357,7 +22355,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapFloat64IntfX(x.FptrMapFloat64Intf, d) + h.decMapfloat64Interface((*map[float64]interface{})(x.FptrMapFloat64Intf), d) } } case "FMapFloat64String": @@ -22366,7 +22364,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapFloat64StringX(&x.FMapFloat64String, d) + h.decMapfloat64string((*map[float64]string)(&x.FMapFloat64String), d) } } case "FptrMapFloat64String": @@ -22381,7 +22379,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapFloat64StringX(x.FptrMapFloat64String, d) + h.decMapfloat64string((*map[float64]string)(x.FptrMapFloat64String), d) } } case "FMapFloat64Uint": @@ -22390,7 +22388,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapFloat64UintX(&x.FMapFloat64Uint, d) + h.decMapfloat64uint((*map[float64]uint)(&x.FMapFloat64Uint), d) } } case "FptrMapFloat64Uint": @@ -22405,7 +22403,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapFloat64UintX(x.FptrMapFloat64Uint, d) + h.decMapfloat64uint((*map[float64]uint)(x.FptrMapFloat64Uint), d) } } case "FMapFloat64Uint8": @@ -22414,7 +22412,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapFloat64Uint8X(&x.FMapFloat64Uint8, d) + h.decMapfloat64uint8((*map[float64]uint8)(&x.FMapFloat64Uint8), d) } } case "FptrMapFloat64Uint8": @@ -22429,7 +22427,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapFloat64Uint8X(x.FptrMapFloat64Uint8, d) + h.decMapfloat64uint8((*map[float64]uint8)(x.FptrMapFloat64Uint8), d) } } case "FMapFloat64Uint16": @@ -22438,7 +22436,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapFloat64Uint16X(&x.FMapFloat64Uint16, d) + h.decMapfloat64uint16((*map[float64]uint16)(&x.FMapFloat64Uint16), d) } } case "FptrMapFloat64Uint16": @@ -22453,7 +22451,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapFloat64Uint16X(x.FptrMapFloat64Uint16, d) + h.decMapfloat64uint16((*map[float64]uint16)(x.FptrMapFloat64Uint16), d) } } case "FMapFloat64Uint32": @@ -22462,7 +22460,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapFloat64Uint32X(&x.FMapFloat64Uint32, d) + h.decMapfloat64uint32((*map[float64]uint32)(&x.FMapFloat64Uint32), d) } } case "FptrMapFloat64Uint32": @@ -22477,7 +22475,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapFloat64Uint32X(x.FptrMapFloat64Uint32, d) + h.decMapfloat64uint32((*map[float64]uint32)(x.FptrMapFloat64Uint32), d) } } case "FMapFloat64Uint64": @@ -22486,7 +22484,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapFloat64Uint64X(&x.FMapFloat64Uint64, d) + h.decMapfloat64uint64((*map[float64]uint64)(&x.FMapFloat64Uint64), d) } } case "FptrMapFloat64Uint64": @@ -22501,7 +22499,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapFloat64Uint64X(x.FptrMapFloat64Uint64, d) + h.decMapfloat64uint64((*map[float64]uint64)(x.FptrMapFloat64Uint64), d) } } case "FMapFloat64Uintptr": @@ -22510,7 +22508,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapFloat64UintptrX(&x.FMapFloat64Uintptr, d) + h.decMapfloat64uintptr((*map[float64]uintptr)(&x.FMapFloat64Uintptr), d) } } case "FptrMapFloat64Uintptr": @@ -22525,7 +22523,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapFloat64UintptrX(x.FptrMapFloat64Uintptr, d) + h.decMapfloat64uintptr((*map[float64]uintptr)(x.FptrMapFloat64Uintptr), d) } } case "FMapFloat64Int": @@ -22534,7 +22532,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapFloat64IntX(&x.FMapFloat64Int, d) + h.decMapfloat64int((*map[float64]int)(&x.FMapFloat64Int), d) } } case "FptrMapFloat64Int": @@ -22549,7 +22547,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapFloat64IntX(x.FptrMapFloat64Int, d) + h.decMapfloat64int((*map[float64]int)(x.FptrMapFloat64Int), d) } } case "FMapFloat64Int8": @@ -22558,7 +22556,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapFloat64Int8X(&x.FMapFloat64Int8, d) + h.decMapfloat64int8((*map[float64]int8)(&x.FMapFloat64Int8), d) } } case "FptrMapFloat64Int8": @@ -22573,7 +22571,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapFloat64Int8X(x.FptrMapFloat64Int8, d) + h.decMapfloat64int8((*map[float64]int8)(x.FptrMapFloat64Int8), d) } } case "FMapFloat64Int16": @@ -22582,7 +22580,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapFloat64Int16X(&x.FMapFloat64Int16, d) + h.decMapfloat64int16((*map[float64]int16)(&x.FMapFloat64Int16), d) } } case "FptrMapFloat64Int16": @@ -22597,7 +22595,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapFloat64Int16X(x.FptrMapFloat64Int16, d) + h.decMapfloat64int16((*map[float64]int16)(x.FptrMapFloat64Int16), d) } } case "FMapFloat64Int32": @@ -22606,7 +22604,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapFloat64Int32X(&x.FMapFloat64Int32, d) + h.decMapfloat64int32((*map[float64]int32)(&x.FMapFloat64Int32), d) } } case "FptrMapFloat64Int32": @@ -22621,7 +22619,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapFloat64Int32X(x.FptrMapFloat64Int32, d) + h.decMapfloat64int32((*map[float64]int32)(x.FptrMapFloat64Int32), d) } } case "FMapFloat64Int64": @@ -22630,7 +22628,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapFloat64Int64X(&x.FMapFloat64Int64, d) + h.decMapfloat64int64((*map[float64]int64)(&x.FMapFloat64Int64), d) } } case "FptrMapFloat64Int64": @@ -22645,7 +22643,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapFloat64Int64X(x.FptrMapFloat64Int64, d) + h.decMapfloat64int64((*map[float64]int64)(x.FptrMapFloat64Int64), d) } } case "FMapFloat64Float32": @@ -22654,7 +22652,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapFloat64Float32X(&x.FMapFloat64Float32, d) + h.decMapfloat64float32((*map[float64]float32)(&x.FMapFloat64Float32), d) } } case "FptrMapFloat64Float32": @@ -22669,7 +22667,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapFloat64Float32X(x.FptrMapFloat64Float32, d) + h.decMapfloat64float32((*map[float64]float32)(x.FptrMapFloat64Float32), d) } } case "FMapFloat64Float64": @@ -22678,7 +22676,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapFloat64Float64X(&x.FMapFloat64Float64, d) + h.decMapfloat64float64((*map[float64]float64)(&x.FMapFloat64Float64), d) } } case "FptrMapFloat64Float64": @@ -22693,7 +22691,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapFloat64Float64X(x.FptrMapFloat64Float64, d) + h.decMapfloat64float64((*map[float64]float64)(x.FptrMapFloat64Float64), d) } } case "FMapFloat64Bool": @@ -22702,7 +22700,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapFloat64BoolX(&x.FMapFloat64Bool, d) + h.decMapfloat64bool((*map[float64]bool)(&x.FMapFloat64Bool), d) } } case "FptrMapFloat64Bool": @@ -22717,7 +22715,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapFloat64BoolX(x.FptrMapFloat64Bool, d) + h.decMapfloat64bool((*map[float64]bool)(x.FptrMapFloat64Bool), d) } } case "FMapUintIntf": @@ -22726,7 +22724,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUintIntfX(&x.FMapUintIntf, d) + h.decMapuintInterface((*map[uint]interface{})(&x.FMapUintIntf), d) } } case "FptrMapUintIntf": @@ -22741,7 +22739,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapUintIntfX(x.FptrMapUintIntf, d) + h.decMapuintInterface((*map[uint]interface{})(x.FptrMapUintIntf), d) } } case "FMapUintString": @@ -22750,7 +22748,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUintStringX(&x.FMapUintString, d) + h.decMapuintstring((*map[uint]string)(&x.FMapUintString), d) } } case "FptrMapUintString": @@ -22765,7 +22763,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapUintStringX(x.FptrMapUintString, d) + h.decMapuintstring((*map[uint]string)(x.FptrMapUintString), d) } } case "FMapUintUint": @@ -22774,7 +22772,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUintUintX(&x.FMapUintUint, d) + h.decMapuintuint((*map[uint]uint)(&x.FMapUintUint), d) } } case "FptrMapUintUint": @@ -22789,7 +22787,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapUintUintX(x.FptrMapUintUint, d) + h.decMapuintuint((*map[uint]uint)(x.FptrMapUintUint), d) } } case "FMapUintUint8": @@ -22798,7 +22796,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUintUint8X(&x.FMapUintUint8, d) + h.decMapuintuint8((*map[uint]uint8)(&x.FMapUintUint8), d) } } case "FptrMapUintUint8": @@ -22813,7 +22811,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapUintUint8X(x.FptrMapUintUint8, d) + h.decMapuintuint8((*map[uint]uint8)(x.FptrMapUintUint8), d) } } case "FMapUintUint16": @@ -22822,7 +22820,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUintUint16X(&x.FMapUintUint16, d) + h.decMapuintuint16((*map[uint]uint16)(&x.FMapUintUint16), d) } } case "FptrMapUintUint16": @@ -22837,7 +22835,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapUintUint16X(x.FptrMapUintUint16, d) + h.decMapuintuint16((*map[uint]uint16)(x.FptrMapUintUint16), d) } } case "FMapUintUint32": @@ -22846,7 +22844,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUintUint32X(&x.FMapUintUint32, d) + h.decMapuintuint32((*map[uint]uint32)(&x.FMapUintUint32), d) } } case "FptrMapUintUint32": @@ -22861,7 +22859,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapUintUint32X(x.FptrMapUintUint32, d) + h.decMapuintuint32((*map[uint]uint32)(x.FptrMapUintUint32), d) } } case "FMapUintUint64": @@ -22870,7 +22868,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUintUint64X(&x.FMapUintUint64, d) + h.decMapuintuint64((*map[uint]uint64)(&x.FMapUintUint64), d) } } case "FptrMapUintUint64": @@ -22885,7 +22883,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapUintUint64X(x.FptrMapUintUint64, d) + h.decMapuintuint64((*map[uint]uint64)(x.FptrMapUintUint64), d) } } case "FMapUintUintptr": @@ -22894,7 +22892,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUintUintptrX(&x.FMapUintUintptr, d) + h.decMapuintuintptr((*map[uint]uintptr)(&x.FMapUintUintptr), d) } } case "FptrMapUintUintptr": @@ -22909,7 +22907,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapUintUintptrX(x.FptrMapUintUintptr, d) + h.decMapuintuintptr((*map[uint]uintptr)(x.FptrMapUintUintptr), d) } } case "FMapUintInt": @@ -22918,7 +22916,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUintIntX(&x.FMapUintInt, d) + h.decMapuintint((*map[uint]int)(&x.FMapUintInt), d) } } case "FptrMapUintInt": @@ -22933,7 +22931,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapUintIntX(x.FptrMapUintInt, d) + h.decMapuintint((*map[uint]int)(x.FptrMapUintInt), d) } } case "FMapUintInt8": @@ -22942,7 +22940,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUintInt8X(&x.FMapUintInt8, d) + h.decMapuintint8((*map[uint]int8)(&x.FMapUintInt8), d) } } case "FptrMapUintInt8": @@ -22957,7 +22955,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapUintInt8X(x.FptrMapUintInt8, d) + h.decMapuintint8((*map[uint]int8)(x.FptrMapUintInt8), d) } } case "FMapUintInt16": @@ -22966,7 +22964,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUintInt16X(&x.FMapUintInt16, d) + h.decMapuintint16((*map[uint]int16)(&x.FMapUintInt16), d) } } case "FptrMapUintInt16": @@ -22981,7 +22979,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapUintInt16X(x.FptrMapUintInt16, d) + h.decMapuintint16((*map[uint]int16)(x.FptrMapUintInt16), d) } } case "FMapUintInt32": @@ -22990,7 +22988,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUintInt32X(&x.FMapUintInt32, d) + h.decMapuintint32((*map[uint]int32)(&x.FMapUintInt32), d) } } case "FptrMapUintInt32": @@ -23005,7 +23003,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapUintInt32X(x.FptrMapUintInt32, d) + h.decMapuintint32((*map[uint]int32)(x.FptrMapUintInt32), d) } } case "FMapUintInt64": @@ -23014,7 +23012,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUintInt64X(&x.FMapUintInt64, d) + h.decMapuintint64((*map[uint]int64)(&x.FMapUintInt64), d) } } case "FptrMapUintInt64": @@ -23029,7 +23027,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapUintInt64X(x.FptrMapUintInt64, d) + h.decMapuintint64((*map[uint]int64)(x.FptrMapUintInt64), d) } } case "FMapUintFloat32": @@ -23038,7 +23036,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUintFloat32X(&x.FMapUintFloat32, d) + h.decMapuintfloat32((*map[uint]float32)(&x.FMapUintFloat32), d) } } case "FptrMapUintFloat32": @@ -23053,7 +23051,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapUintFloat32X(x.FptrMapUintFloat32, d) + h.decMapuintfloat32((*map[uint]float32)(x.FptrMapUintFloat32), d) } } case "FMapUintFloat64": @@ -23062,7 +23060,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUintFloat64X(&x.FMapUintFloat64, d) + h.decMapuintfloat64((*map[uint]float64)(&x.FMapUintFloat64), d) } } case "FptrMapUintFloat64": @@ -23077,7 +23075,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapUintFloat64X(x.FptrMapUintFloat64, d) + h.decMapuintfloat64((*map[uint]float64)(x.FptrMapUintFloat64), d) } } case "FMapUintBool": @@ -23086,7 +23084,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUintBoolX(&x.FMapUintBool, d) + h.decMapuintbool((*map[uint]bool)(&x.FMapUintBool), d) } } case "FptrMapUintBool": @@ -23101,7 +23099,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapUintBoolX(x.FptrMapUintBool, d) + h.decMapuintbool((*map[uint]bool)(x.FptrMapUintBool), d) } } case "FMapUint8Intf": @@ -23110,7 +23108,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint8IntfX(&x.FMapUint8Intf, d) + h.decMapuint8Interface((*map[uint8]interface{})(&x.FMapUint8Intf), d) } } case "FptrMapUint8Intf": @@ -23125,7 +23123,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapUint8IntfX(x.FptrMapUint8Intf, d) + h.decMapuint8Interface((*map[uint8]interface{})(x.FptrMapUint8Intf), d) } } case "FMapUint8String": @@ -23134,7 +23132,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint8StringX(&x.FMapUint8String, d) + h.decMapuint8string((*map[uint8]string)(&x.FMapUint8String), d) } } case "FptrMapUint8String": @@ -23149,7 +23147,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapUint8StringX(x.FptrMapUint8String, d) + h.decMapuint8string((*map[uint8]string)(x.FptrMapUint8String), d) } } case "FMapUint8Uint": @@ -23158,7 +23156,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint8UintX(&x.FMapUint8Uint, d) + h.decMapuint8uint((*map[uint8]uint)(&x.FMapUint8Uint), d) } } case "FptrMapUint8Uint": @@ -23173,7 +23171,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapUint8UintX(x.FptrMapUint8Uint, d) + h.decMapuint8uint((*map[uint8]uint)(x.FptrMapUint8Uint), d) } } case "FMapUint8Uint8": @@ -23182,7 +23180,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint8Uint8X(&x.FMapUint8Uint8, d) + h.decMapuint8uint8((*map[uint8]uint8)(&x.FMapUint8Uint8), d) } } case "FptrMapUint8Uint8": @@ -23197,7 +23195,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapUint8Uint8X(x.FptrMapUint8Uint8, d) + h.decMapuint8uint8((*map[uint8]uint8)(x.FptrMapUint8Uint8), d) } } case "FMapUint8Uint16": @@ -23206,7 +23204,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint8Uint16X(&x.FMapUint8Uint16, d) + h.decMapuint8uint16((*map[uint8]uint16)(&x.FMapUint8Uint16), d) } } case "FptrMapUint8Uint16": @@ -23221,7 +23219,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapUint8Uint16X(x.FptrMapUint8Uint16, d) + h.decMapuint8uint16((*map[uint8]uint16)(x.FptrMapUint8Uint16), d) } } case "FMapUint8Uint32": @@ -23230,7 +23228,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint8Uint32X(&x.FMapUint8Uint32, d) + h.decMapuint8uint32((*map[uint8]uint32)(&x.FMapUint8Uint32), d) } } case "FptrMapUint8Uint32": @@ -23245,7 +23243,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapUint8Uint32X(x.FptrMapUint8Uint32, d) + h.decMapuint8uint32((*map[uint8]uint32)(x.FptrMapUint8Uint32), d) } } case "FMapUint8Uint64": @@ -23254,7 +23252,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint8Uint64X(&x.FMapUint8Uint64, d) + h.decMapuint8uint64((*map[uint8]uint64)(&x.FMapUint8Uint64), d) } } case "FptrMapUint8Uint64": @@ -23269,7 +23267,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapUint8Uint64X(x.FptrMapUint8Uint64, d) + h.decMapuint8uint64((*map[uint8]uint64)(x.FptrMapUint8Uint64), d) } } case "FMapUint8Uintptr": @@ -23278,7 +23276,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint8UintptrX(&x.FMapUint8Uintptr, d) + h.decMapuint8uintptr((*map[uint8]uintptr)(&x.FMapUint8Uintptr), d) } } case "FptrMapUint8Uintptr": @@ -23293,7 +23291,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapUint8UintptrX(x.FptrMapUint8Uintptr, d) + h.decMapuint8uintptr((*map[uint8]uintptr)(x.FptrMapUint8Uintptr), d) } } case "FMapUint8Int": @@ -23302,7 +23300,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint8IntX(&x.FMapUint8Int, d) + h.decMapuint8int((*map[uint8]int)(&x.FMapUint8Int), d) } } case "FptrMapUint8Int": @@ -23317,7 +23315,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapUint8IntX(x.FptrMapUint8Int, d) + h.decMapuint8int((*map[uint8]int)(x.FptrMapUint8Int), d) } } case "FMapUint8Int8": @@ -23326,7 +23324,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint8Int8X(&x.FMapUint8Int8, d) + h.decMapuint8int8((*map[uint8]int8)(&x.FMapUint8Int8), d) } } case "FptrMapUint8Int8": @@ -23341,7 +23339,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapUint8Int8X(x.FptrMapUint8Int8, d) + h.decMapuint8int8((*map[uint8]int8)(x.FptrMapUint8Int8), d) } } case "FMapUint8Int16": @@ -23350,7 +23348,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint8Int16X(&x.FMapUint8Int16, d) + h.decMapuint8int16((*map[uint8]int16)(&x.FMapUint8Int16), d) } } case "FptrMapUint8Int16": @@ -23365,7 +23363,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapUint8Int16X(x.FptrMapUint8Int16, d) + h.decMapuint8int16((*map[uint8]int16)(x.FptrMapUint8Int16), d) } } case "FMapUint8Int32": @@ -23374,7 +23372,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint8Int32X(&x.FMapUint8Int32, d) + h.decMapuint8int32((*map[uint8]int32)(&x.FMapUint8Int32), d) } } case "FptrMapUint8Int32": @@ -23389,7 +23387,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapUint8Int32X(x.FptrMapUint8Int32, d) + h.decMapuint8int32((*map[uint8]int32)(x.FptrMapUint8Int32), d) } } case "FMapUint8Int64": @@ -23398,7 +23396,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint8Int64X(&x.FMapUint8Int64, d) + h.decMapuint8int64((*map[uint8]int64)(&x.FMapUint8Int64), d) } } case "FptrMapUint8Int64": @@ -23413,7 +23411,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapUint8Int64X(x.FptrMapUint8Int64, d) + h.decMapuint8int64((*map[uint8]int64)(x.FptrMapUint8Int64), d) } } case "FMapUint8Float32": @@ -23422,7 +23420,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint8Float32X(&x.FMapUint8Float32, d) + h.decMapuint8float32((*map[uint8]float32)(&x.FMapUint8Float32), d) } } case "FptrMapUint8Float32": @@ -23437,7 +23435,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapUint8Float32X(x.FptrMapUint8Float32, d) + h.decMapuint8float32((*map[uint8]float32)(x.FptrMapUint8Float32), d) } } case "FMapUint8Float64": @@ -23446,7 +23444,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint8Float64X(&x.FMapUint8Float64, d) + h.decMapuint8float64((*map[uint8]float64)(&x.FMapUint8Float64), d) } } case "FptrMapUint8Float64": @@ -23461,7 +23459,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapUint8Float64X(x.FptrMapUint8Float64, d) + h.decMapuint8float64((*map[uint8]float64)(x.FptrMapUint8Float64), d) } } case "FMapUint8Bool": @@ -23470,7 +23468,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint8BoolX(&x.FMapUint8Bool, d) + h.decMapuint8bool((*map[uint8]bool)(&x.FMapUint8Bool), d) } } case "FptrMapUint8Bool": @@ -23485,7 +23483,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapUint8BoolX(x.FptrMapUint8Bool, d) + h.decMapuint8bool((*map[uint8]bool)(x.FptrMapUint8Bool), d) } } case "FMapUint16Intf": @@ -23494,7 +23492,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint16IntfX(&x.FMapUint16Intf, d) + h.decMapuint16Interface((*map[uint16]interface{})(&x.FMapUint16Intf), d) } } case "FptrMapUint16Intf": @@ -23509,7 +23507,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapUint16IntfX(x.FptrMapUint16Intf, d) + h.decMapuint16Interface((*map[uint16]interface{})(x.FptrMapUint16Intf), d) } } case "FMapUint16String": @@ -23518,7 +23516,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint16StringX(&x.FMapUint16String, d) + h.decMapuint16string((*map[uint16]string)(&x.FMapUint16String), d) } } case "FptrMapUint16String": @@ -23533,7 +23531,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapUint16StringX(x.FptrMapUint16String, d) + h.decMapuint16string((*map[uint16]string)(x.FptrMapUint16String), d) } } case "FMapUint16Uint": @@ -23542,7 +23540,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint16UintX(&x.FMapUint16Uint, d) + h.decMapuint16uint((*map[uint16]uint)(&x.FMapUint16Uint), d) } } case "FptrMapUint16Uint": @@ -23557,7 +23555,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapUint16UintX(x.FptrMapUint16Uint, d) + h.decMapuint16uint((*map[uint16]uint)(x.FptrMapUint16Uint), d) } } case "FMapUint16Uint8": @@ -23566,7 +23564,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint16Uint8X(&x.FMapUint16Uint8, d) + h.decMapuint16uint8((*map[uint16]uint8)(&x.FMapUint16Uint8), d) } } case "FptrMapUint16Uint8": @@ -23581,7 +23579,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapUint16Uint8X(x.FptrMapUint16Uint8, d) + h.decMapuint16uint8((*map[uint16]uint8)(x.FptrMapUint16Uint8), d) } } case "FMapUint16Uint16": @@ -23590,7 +23588,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint16Uint16X(&x.FMapUint16Uint16, d) + h.decMapuint16uint16((*map[uint16]uint16)(&x.FMapUint16Uint16), d) } } case "FptrMapUint16Uint16": @@ -23605,7 +23603,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapUint16Uint16X(x.FptrMapUint16Uint16, d) + h.decMapuint16uint16((*map[uint16]uint16)(x.FptrMapUint16Uint16), d) } } case "FMapUint16Uint32": @@ -23614,7 +23612,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint16Uint32X(&x.FMapUint16Uint32, d) + h.decMapuint16uint32((*map[uint16]uint32)(&x.FMapUint16Uint32), d) } } case "FptrMapUint16Uint32": @@ -23629,7 +23627,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapUint16Uint32X(x.FptrMapUint16Uint32, d) + h.decMapuint16uint32((*map[uint16]uint32)(x.FptrMapUint16Uint32), d) } } case "FMapUint16Uint64": @@ -23638,7 +23636,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint16Uint64X(&x.FMapUint16Uint64, d) + h.decMapuint16uint64((*map[uint16]uint64)(&x.FMapUint16Uint64), d) } } case "FptrMapUint16Uint64": @@ -23653,7 +23651,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapUint16Uint64X(x.FptrMapUint16Uint64, d) + h.decMapuint16uint64((*map[uint16]uint64)(x.FptrMapUint16Uint64), d) } } case "FMapUint16Uintptr": @@ -23662,7 +23660,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint16UintptrX(&x.FMapUint16Uintptr, d) + h.decMapuint16uintptr((*map[uint16]uintptr)(&x.FMapUint16Uintptr), d) } } case "FptrMapUint16Uintptr": @@ -23677,7 +23675,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapUint16UintptrX(x.FptrMapUint16Uintptr, d) + h.decMapuint16uintptr((*map[uint16]uintptr)(x.FptrMapUint16Uintptr), d) } } case "FMapUint16Int": @@ -23686,7 +23684,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint16IntX(&x.FMapUint16Int, d) + h.decMapuint16int((*map[uint16]int)(&x.FMapUint16Int), d) } } case "FptrMapUint16Int": @@ -23701,7 +23699,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapUint16IntX(x.FptrMapUint16Int, d) + h.decMapuint16int((*map[uint16]int)(x.FptrMapUint16Int), d) } } case "FMapUint16Int8": @@ -23710,7 +23708,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint16Int8X(&x.FMapUint16Int8, d) + h.decMapuint16int8((*map[uint16]int8)(&x.FMapUint16Int8), d) } } case "FptrMapUint16Int8": @@ -23725,7 +23723,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapUint16Int8X(x.FptrMapUint16Int8, d) + h.decMapuint16int8((*map[uint16]int8)(x.FptrMapUint16Int8), d) } } case "FMapUint16Int16": @@ -23734,7 +23732,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint16Int16X(&x.FMapUint16Int16, d) + h.decMapuint16int16((*map[uint16]int16)(&x.FMapUint16Int16), d) } } case "FptrMapUint16Int16": @@ -23749,7 +23747,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapUint16Int16X(x.FptrMapUint16Int16, d) + h.decMapuint16int16((*map[uint16]int16)(x.FptrMapUint16Int16), d) } } case "FMapUint16Int32": @@ -23758,7 +23756,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint16Int32X(&x.FMapUint16Int32, d) + h.decMapuint16int32((*map[uint16]int32)(&x.FMapUint16Int32), d) } } case "FptrMapUint16Int32": @@ -23773,7 +23771,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapUint16Int32X(x.FptrMapUint16Int32, d) + h.decMapuint16int32((*map[uint16]int32)(x.FptrMapUint16Int32), d) } } case "FMapUint16Int64": @@ -23782,7 +23780,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint16Int64X(&x.FMapUint16Int64, d) + h.decMapuint16int64((*map[uint16]int64)(&x.FMapUint16Int64), d) } } case "FptrMapUint16Int64": @@ -23797,7 +23795,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapUint16Int64X(x.FptrMapUint16Int64, d) + h.decMapuint16int64((*map[uint16]int64)(x.FptrMapUint16Int64), d) } } case "FMapUint16Float32": @@ -23806,7 +23804,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint16Float32X(&x.FMapUint16Float32, d) + h.decMapuint16float32((*map[uint16]float32)(&x.FMapUint16Float32), d) } } case "FptrMapUint16Float32": @@ -23821,7 +23819,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapUint16Float32X(x.FptrMapUint16Float32, d) + h.decMapuint16float32((*map[uint16]float32)(x.FptrMapUint16Float32), d) } } case "FMapUint16Float64": @@ -23830,7 +23828,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint16Float64X(&x.FMapUint16Float64, d) + h.decMapuint16float64((*map[uint16]float64)(&x.FMapUint16Float64), d) } } case "FptrMapUint16Float64": @@ -23845,7 +23843,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapUint16Float64X(x.FptrMapUint16Float64, d) + h.decMapuint16float64((*map[uint16]float64)(x.FptrMapUint16Float64), d) } } case "FMapUint16Bool": @@ -23854,7 +23852,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint16BoolX(&x.FMapUint16Bool, d) + h.decMapuint16bool((*map[uint16]bool)(&x.FMapUint16Bool), d) } } case "FptrMapUint16Bool": @@ -23869,7 +23867,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapUint16BoolX(x.FptrMapUint16Bool, d) + h.decMapuint16bool((*map[uint16]bool)(x.FptrMapUint16Bool), d) } } case "FMapUint32Intf": @@ -23878,7 +23876,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint32IntfX(&x.FMapUint32Intf, d) + h.decMapuint32Interface((*map[uint32]interface{})(&x.FMapUint32Intf), d) } } case "FptrMapUint32Intf": @@ -23893,7 +23891,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapUint32IntfX(x.FptrMapUint32Intf, d) + h.decMapuint32Interface((*map[uint32]interface{})(x.FptrMapUint32Intf), d) } } case "FMapUint32String": @@ -23902,7 +23900,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint32StringX(&x.FMapUint32String, d) + h.decMapuint32string((*map[uint32]string)(&x.FMapUint32String), d) } } case "FptrMapUint32String": @@ -23917,7 +23915,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapUint32StringX(x.FptrMapUint32String, d) + h.decMapuint32string((*map[uint32]string)(x.FptrMapUint32String), d) } } case "FMapUint32Uint": @@ -23926,7 +23924,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint32UintX(&x.FMapUint32Uint, d) + h.decMapuint32uint((*map[uint32]uint)(&x.FMapUint32Uint), d) } } case "FptrMapUint32Uint": @@ -23941,7 +23939,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapUint32UintX(x.FptrMapUint32Uint, d) + h.decMapuint32uint((*map[uint32]uint)(x.FptrMapUint32Uint), d) } } case "FMapUint32Uint8": @@ -23950,7 +23948,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint32Uint8X(&x.FMapUint32Uint8, d) + h.decMapuint32uint8((*map[uint32]uint8)(&x.FMapUint32Uint8), d) } } case "FptrMapUint32Uint8": @@ -23965,7 +23963,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapUint32Uint8X(x.FptrMapUint32Uint8, d) + h.decMapuint32uint8((*map[uint32]uint8)(x.FptrMapUint32Uint8), d) } } case "FMapUint32Uint16": @@ -23974,7 +23972,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint32Uint16X(&x.FMapUint32Uint16, d) + h.decMapuint32uint16((*map[uint32]uint16)(&x.FMapUint32Uint16), d) } } case "FptrMapUint32Uint16": @@ -23989,7 +23987,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapUint32Uint16X(x.FptrMapUint32Uint16, d) + h.decMapuint32uint16((*map[uint32]uint16)(x.FptrMapUint32Uint16), d) } } case "FMapUint32Uint32": @@ -23998,7 +23996,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint32Uint32X(&x.FMapUint32Uint32, d) + h.decMapuint32uint32((*map[uint32]uint32)(&x.FMapUint32Uint32), d) } } case "FptrMapUint32Uint32": @@ -24013,7 +24011,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapUint32Uint32X(x.FptrMapUint32Uint32, d) + h.decMapuint32uint32((*map[uint32]uint32)(x.FptrMapUint32Uint32), d) } } case "FMapUint32Uint64": @@ -24022,7 +24020,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint32Uint64X(&x.FMapUint32Uint64, d) + h.decMapuint32uint64((*map[uint32]uint64)(&x.FMapUint32Uint64), d) } } case "FptrMapUint32Uint64": @@ -24037,7 +24035,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapUint32Uint64X(x.FptrMapUint32Uint64, d) + h.decMapuint32uint64((*map[uint32]uint64)(x.FptrMapUint32Uint64), d) } } case "FMapUint32Uintptr": @@ -24046,7 +24044,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint32UintptrX(&x.FMapUint32Uintptr, d) + h.decMapuint32uintptr((*map[uint32]uintptr)(&x.FMapUint32Uintptr), d) } } case "FptrMapUint32Uintptr": @@ -24061,7 +24059,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapUint32UintptrX(x.FptrMapUint32Uintptr, d) + h.decMapuint32uintptr((*map[uint32]uintptr)(x.FptrMapUint32Uintptr), d) } } case "FMapUint32Int": @@ -24070,7 +24068,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint32IntX(&x.FMapUint32Int, d) + h.decMapuint32int((*map[uint32]int)(&x.FMapUint32Int), d) } } case "FptrMapUint32Int": @@ -24085,7 +24083,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapUint32IntX(x.FptrMapUint32Int, d) + h.decMapuint32int((*map[uint32]int)(x.FptrMapUint32Int), d) } } case "FMapUint32Int8": @@ -24094,7 +24092,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint32Int8X(&x.FMapUint32Int8, d) + h.decMapuint32int8((*map[uint32]int8)(&x.FMapUint32Int8), d) } } case "FptrMapUint32Int8": @@ -24109,7 +24107,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapUint32Int8X(x.FptrMapUint32Int8, d) + h.decMapuint32int8((*map[uint32]int8)(x.FptrMapUint32Int8), d) } } case "FMapUint32Int16": @@ -24118,7 +24116,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint32Int16X(&x.FMapUint32Int16, d) + h.decMapuint32int16((*map[uint32]int16)(&x.FMapUint32Int16), d) } } case "FptrMapUint32Int16": @@ -24133,7 +24131,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapUint32Int16X(x.FptrMapUint32Int16, d) + h.decMapuint32int16((*map[uint32]int16)(x.FptrMapUint32Int16), d) } } case "FMapUint32Int32": @@ -24142,7 +24140,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint32Int32X(&x.FMapUint32Int32, d) + h.decMapuint32int32((*map[uint32]int32)(&x.FMapUint32Int32), d) } } case "FptrMapUint32Int32": @@ -24157,7 +24155,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapUint32Int32X(x.FptrMapUint32Int32, d) + h.decMapuint32int32((*map[uint32]int32)(x.FptrMapUint32Int32), d) } } case "FMapUint32Int64": @@ -24166,7 +24164,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint32Int64X(&x.FMapUint32Int64, d) + h.decMapuint32int64((*map[uint32]int64)(&x.FMapUint32Int64), d) } } case "FptrMapUint32Int64": @@ -24181,7 +24179,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapUint32Int64X(x.FptrMapUint32Int64, d) + h.decMapuint32int64((*map[uint32]int64)(x.FptrMapUint32Int64), d) } } case "FMapUint32Float32": @@ -24190,7 +24188,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint32Float32X(&x.FMapUint32Float32, d) + h.decMapuint32float32((*map[uint32]float32)(&x.FMapUint32Float32), d) } } case "FptrMapUint32Float32": @@ -24205,7 +24203,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapUint32Float32X(x.FptrMapUint32Float32, d) + h.decMapuint32float32((*map[uint32]float32)(x.FptrMapUint32Float32), d) } } case "FMapUint32Float64": @@ -24214,7 +24212,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint32Float64X(&x.FMapUint32Float64, d) + h.decMapuint32float64((*map[uint32]float64)(&x.FMapUint32Float64), d) } } case "FptrMapUint32Float64": @@ -24229,7 +24227,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapUint32Float64X(x.FptrMapUint32Float64, d) + h.decMapuint32float64((*map[uint32]float64)(x.FptrMapUint32Float64), d) } } case "FMapUint32Bool": @@ -24238,7 +24236,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint32BoolX(&x.FMapUint32Bool, d) + h.decMapuint32bool((*map[uint32]bool)(&x.FMapUint32Bool), d) } } case "FptrMapUint32Bool": @@ -24253,7 +24251,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapUint32BoolX(x.FptrMapUint32Bool, d) + h.decMapuint32bool((*map[uint32]bool)(x.FptrMapUint32Bool), d) } } case "FMapUint64Intf": @@ -24262,7 +24260,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint64IntfX(&x.FMapUint64Intf, d) + h.decMapuint64Interface((*map[uint64]interface{})(&x.FMapUint64Intf), d) } } case "FptrMapUint64Intf": @@ -24277,7 +24275,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapUint64IntfX(x.FptrMapUint64Intf, d) + h.decMapuint64Interface((*map[uint64]interface{})(x.FptrMapUint64Intf), d) } } case "FMapUint64String": @@ -24286,7 +24284,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint64StringX(&x.FMapUint64String, d) + h.decMapuint64string((*map[uint64]string)(&x.FMapUint64String), d) } } case "FptrMapUint64String": @@ -24301,7 +24299,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapUint64StringX(x.FptrMapUint64String, d) + h.decMapuint64string((*map[uint64]string)(x.FptrMapUint64String), d) } } case "FMapUint64Uint": @@ -24310,7 +24308,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint64UintX(&x.FMapUint64Uint, d) + h.decMapuint64uint((*map[uint64]uint)(&x.FMapUint64Uint), d) } } case "FptrMapUint64Uint": @@ -24325,7 +24323,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapUint64UintX(x.FptrMapUint64Uint, d) + h.decMapuint64uint((*map[uint64]uint)(x.FptrMapUint64Uint), d) } } case "FMapUint64Uint8": @@ -24334,7 +24332,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint64Uint8X(&x.FMapUint64Uint8, d) + h.decMapuint64uint8((*map[uint64]uint8)(&x.FMapUint64Uint8), d) } } case "FptrMapUint64Uint8": @@ -24349,7 +24347,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapUint64Uint8X(x.FptrMapUint64Uint8, d) + h.decMapuint64uint8((*map[uint64]uint8)(x.FptrMapUint64Uint8), d) } } case "FMapUint64Uint16": @@ -24358,7 +24356,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint64Uint16X(&x.FMapUint64Uint16, d) + h.decMapuint64uint16((*map[uint64]uint16)(&x.FMapUint64Uint16), d) } } case "FptrMapUint64Uint16": @@ -24373,7 +24371,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapUint64Uint16X(x.FptrMapUint64Uint16, d) + h.decMapuint64uint16((*map[uint64]uint16)(x.FptrMapUint64Uint16), d) } } case "FMapUint64Uint32": @@ -24382,7 +24380,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint64Uint32X(&x.FMapUint64Uint32, d) + h.decMapuint64uint32((*map[uint64]uint32)(&x.FMapUint64Uint32), d) } } case "FptrMapUint64Uint32": @@ -24397,7 +24395,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapUint64Uint32X(x.FptrMapUint64Uint32, d) + h.decMapuint64uint32((*map[uint64]uint32)(x.FptrMapUint64Uint32), d) } } case "FMapUint64Uint64": @@ -24406,7 +24404,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint64Uint64X(&x.FMapUint64Uint64, d) + h.decMapuint64uint64((*map[uint64]uint64)(&x.FMapUint64Uint64), d) } } case "FptrMapUint64Uint64": @@ -24421,7 +24419,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapUint64Uint64X(x.FptrMapUint64Uint64, d) + h.decMapuint64uint64((*map[uint64]uint64)(x.FptrMapUint64Uint64), d) } } case "FMapUint64Uintptr": @@ -24430,7 +24428,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint64UintptrX(&x.FMapUint64Uintptr, d) + h.decMapuint64uintptr((*map[uint64]uintptr)(&x.FMapUint64Uintptr), d) } } case "FptrMapUint64Uintptr": @@ -24445,7 +24443,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapUint64UintptrX(x.FptrMapUint64Uintptr, d) + h.decMapuint64uintptr((*map[uint64]uintptr)(x.FptrMapUint64Uintptr), d) } } case "FMapUint64Int": @@ -24454,7 +24452,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint64IntX(&x.FMapUint64Int, d) + h.decMapuint64int((*map[uint64]int)(&x.FMapUint64Int), d) } } case "FptrMapUint64Int": @@ -24469,7 +24467,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapUint64IntX(x.FptrMapUint64Int, d) + h.decMapuint64int((*map[uint64]int)(x.FptrMapUint64Int), d) } } case "FMapUint64Int8": @@ -24478,7 +24476,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint64Int8X(&x.FMapUint64Int8, d) + h.decMapuint64int8((*map[uint64]int8)(&x.FMapUint64Int8), d) } } case "FptrMapUint64Int8": @@ -24493,7 +24491,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapUint64Int8X(x.FptrMapUint64Int8, d) + h.decMapuint64int8((*map[uint64]int8)(x.FptrMapUint64Int8), d) } } case "FMapUint64Int16": @@ -24502,7 +24500,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint64Int16X(&x.FMapUint64Int16, d) + h.decMapuint64int16((*map[uint64]int16)(&x.FMapUint64Int16), d) } } case "FptrMapUint64Int16": @@ -24517,7 +24515,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapUint64Int16X(x.FptrMapUint64Int16, d) + h.decMapuint64int16((*map[uint64]int16)(x.FptrMapUint64Int16), d) } } case "FMapUint64Int32": @@ -24526,7 +24524,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint64Int32X(&x.FMapUint64Int32, d) + h.decMapuint64int32((*map[uint64]int32)(&x.FMapUint64Int32), d) } } case "FptrMapUint64Int32": @@ -24541,7 +24539,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapUint64Int32X(x.FptrMapUint64Int32, d) + h.decMapuint64int32((*map[uint64]int32)(x.FptrMapUint64Int32), d) } } case "FMapUint64Int64": @@ -24550,7 +24548,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint64Int64X(&x.FMapUint64Int64, d) + h.decMapuint64int64((*map[uint64]int64)(&x.FMapUint64Int64), d) } } case "FptrMapUint64Int64": @@ -24565,7 +24563,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapUint64Int64X(x.FptrMapUint64Int64, d) + h.decMapuint64int64((*map[uint64]int64)(x.FptrMapUint64Int64), d) } } case "FMapUint64Float32": @@ -24574,7 +24572,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint64Float32X(&x.FMapUint64Float32, d) + h.decMapuint64float32((*map[uint64]float32)(&x.FMapUint64Float32), d) } } case "FptrMapUint64Float32": @@ -24589,7 +24587,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapUint64Float32X(x.FptrMapUint64Float32, d) + h.decMapuint64float32((*map[uint64]float32)(x.FptrMapUint64Float32), d) } } case "FMapUint64Float64": @@ -24598,7 +24596,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint64Float64X(&x.FMapUint64Float64, d) + h.decMapuint64float64((*map[uint64]float64)(&x.FMapUint64Float64), d) } } case "FptrMapUint64Float64": @@ -24613,7 +24611,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapUint64Float64X(x.FptrMapUint64Float64, d) + h.decMapuint64float64((*map[uint64]float64)(x.FptrMapUint64Float64), d) } } case "FMapUint64Bool": @@ -24622,7 +24620,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint64BoolX(&x.FMapUint64Bool, d) + h.decMapuint64bool((*map[uint64]bool)(&x.FMapUint64Bool), d) } } case "FptrMapUint64Bool": @@ -24637,7 +24635,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapUint64BoolX(x.FptrMapUint64Bool, d) + h.decMapuint64bool((*map[uint64]bool)(x.FptrMapUint64Bool), d) } } case "FMapUintptrIntf": @@ -24646,7 +24644,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUintptrIntfX(&x.FMapUintptrIntf, d) + h.decMapuintptrInterface((*map[uintptr]interface{})(&x.FMapUintptrIntf), d) } } case "FptrMapUintptrIntf": @@ -24661,7 +24659,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapUintptrIntfX(x.FptrMapUintptrIntf, d) + h.decMapuintptrInterface((*map[uintptr]interface{})(x.FptrMapUintptrIntf), d) } } case "FMapUintptrString": @@ -24670,7 +24668,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUintptrStringX(&x.FMapUintptrString, d) + h.decMapuintptrstring((*map[uintptr]string)(&x.FMapUintptrString), d) } } case "FptrMapUintptrString": @@ -24685,7 +24683,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapUintptrStringX(x.FptrMapUintptrString, d) + h.decMapuintptrstring((*map[uintptr]string)(x.FptrMapUintptrString), d) } } case "FMapUintptrUint": @@ -24694,7 +24692,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUintptrUintX(&x.FMapUintptrUint, d) + h.decMapuintptruint((*map[uintptr]uint)(&x.FMapUintptrUint), d) } } case "FptrMapUintptrUint": @@ -24709,7 +24707,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapUintptrUintX(x.FptrMapUintptrUint, d) + h.decMapuintptruint((*map[uintptr]uint)(x.FptrMapUintptrUint), d) } } case "FMapUintptrUint8": @@ -24718,7 +24716,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUintptrUint8X(&x.FMapUintptrUint8, d) + h.decMapuintptruint8((*map[uintptr]uint8)(&x.FMapUintptrUint8), d) } } case "FptrMapUintptrUint8": @@ -24733,7 +24731,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapUintptrUint8X(x.FptrMapUintptrUint8, d) + h.decMapuintptruint8((*map[uintptr]uint8)(x.FptrMapUintptrUint8), d) } } case "FMapUintptrUint16": @@ -24742,7 +24740,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUintptrUint16X(&x.FMapUintptrUint16, d) + h.decMapuintptruint16((*map[uintptr]uint16)(&x.FMapUintptrUint16), d) } } case "FptrMapUintptrUint16": @@ -24757,7 +24755,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapUintptrUint16X(x.FptrMapUintptrUint16, d) + h.decMapuintptruint16((*map[uintptr]uint16)(x.FptrMapUintptrUint16), d) } } case "FMapUintptrUint32": @@ -24766,7 +24764,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUintptrUint32X(&x.FMapUintptrUint32, d) + h.decMapuintptruint32((*map[uintptr]uint32)(&x.FMapUintptrUint32), d) } } case "FptrMapUintptrUint32": @@ -24781,7 +24779,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapUintptrUint32X(x.FptrMapUintptrUint32, d) + h.decMapuintptruint32((*map[uintptr]uint32)(x.FptrMapUintptrUint32), d) } } case "FMapUintptrUint64": @@ -24790,7 +24788,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUintptrUint64X(&x.FMapUintptrUint64, d) + h.decMapuintptruint64((*map[uintptr]uint64)(&x.FMapUintptrUint64), d) } } case "FptrMapUintptrUint64": @@ -24805,7 +24803,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapUintptrUint64X(x.FptrMapUintptrUint64, d) + h.decMapuintptruint64((*map[uintptr]uint64)(x.FptrMapUintptrUint64), d) } } case "FMapUintptrUintptr": @@ -24814,7 +24812,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUintptrUintptrX(&x.FMapUintptrUintptr, d) + h.decMapuintptruintptr((*map[uintptr]uintptr)(&x.FMapUintptrUintptr), d) } } case "FptrMapUintptrUintptr": @@ -24829,7 +24827,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapUintptrUintptrX(x.FptrMapUintptrUintptr, d) + h.decMapuintptruintptr((*map[uintptr]uintptr)(x.FptrMapUintptrUintptr), d) } } case "FMapUintptrInt": @@ -24838,7 +24836,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUintptrIntX(&x.FMapUintptrInt, d) + h.decMapuintptrint((*map[uintptr]int)(&x.FMapUintptrInt), d) } } case "FptrMapUintptrInt": @@ -24853,7 +24851,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapUintptrIntX(x.FptrMapUintptrInt, d) + h.decMapuintptrint((*map[uintptr]int)(x.FptrMapUintptrInt), d) } } case "FMapUintptrInt8": @@ -24862,7 +24860,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUintptrInt8X(&x.FMapUintptrInt8, d) + h.decMapuintptrint8((*map[uintptr]int8)(&x.FMapUintptrInt8), d) } } case "FptrMapUintptrInt8": @@ -24877,7 +24875,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapUintptrInt8X(x.FptrMapUintptrInt8, d) + h.decMapuintptrint8((*map[uintptr]int8)(x.FptrMapUintptrInt8), d) } } case "FMapUintptrInt16": @@ -24886,7 +24884,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUintptrInt16X(&x.FMapUintptrInt16, d) + h.decMapuintptrint16((*map[uintptr]int16)(&x.FMapUintptrInt16), d) } } case "FptrMapUintptrInt16": @@ -24901,7 +24899,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapUintptrInt16X(x.FptrMapUintptrInt16, d) + h.decMapuintptrint16((*map[uintptr]int16)(x.FptrMapUintptrInt16), d) } } case "FMapUintptrInt32": @@ -24910,7 +24908,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUintptrInt32X(&x.FMapUintptrInt32, d) + h.decMapuintptrint32((*map[uintptr]int32)(&x.FMapUintptrInt32), d) } } case "FptrMapUintptrInt32": @@ -24925,7 +24923,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapUintptrInt32X(x.FptrMapUintptrInt32, d) + h.decMapuintptrint32((*map[uintptr]int32)(x.FptrMapUintptrInt32), d) } } case "FMapUintptrInt64": @@ -24934,7 +24932,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUintptrInt64X(&x.FMapUintptrInt64, d) + h.decMapuintptrint64((*map[uintptr]int64)(&x.FMapUintptrInt64), d) } } case "FptrMapUintptrInt64": @@ -24949,7 +24947,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapUintptrInt64X(x.FptrMapUintptrInt64, d) + h.decMapuintptrint64((*map[uintptr]int64)(x.FptrMapUintptrInt64), d) } } case "FMapUintptrFloat32": @@ -24958,7 +24956,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUintptrFloat32X(&x.FMapUintptrFloat32, d) + h.decMapuintptrfloat32((*map[uintptr]float32)(&x.FMapUintptrFloat32), d) } } case "FptrMapUintptrFloat32": @@ -24973,7 +24971,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapUintptrFloat32X(x.FptrMapUintptrFloat32, d) + h.decMapuintptrfloat32((*map[uintptr]float32)(x.FptrMapUintptrFloat32), d) } } case "FMapUintptrFloat64": @@ -24982,7 +24980,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUintptrFloat64X(&x.FMapUintptrFloat64, d) + h.decMapuintptrfloat64((*map[uintptr]float64)(&x.FMapUintptrFloat64), d) } } case "FptrMapUintptrFloat64": @@ -24997,7 +24995,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapUintptrFloat64X(x.FptrMapUintptrFloat64, d) + h.decMapuintptrfloat64((*map[uintptr]float64)(x.FptrMapUintptrFloat64), d) } } case "FMapUintptrBool": @@ -25006,7 +25004,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUintptrBoolX(&x.FMapUintptrBool, d) + h.decMapuintptrbool((*map[uintptr]bool)(&x.FMapUintptrBool), d) } } case "FptrMapUintptrBool": @@ -25021,7 +25019,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapUintptrBoolX(x.FptrMapUintptrBool, d) + h.decMapuintptrbool((*map[uintptr]bool)(x.FptrMapUintptrBool), d) } } case "FMapIntIntf": @@ -25030,7 +25028,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapIntIntfX(&x.FMapIntIntf, d) + h.decMapintInterface((*map[int]interface{})(&x.FMapIntIntf), d) } } case "FptrMapIntIntf": @@ -25045,7 +25043,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapIntIntfX(x.FptrMapIntIntf, d) + h.decMapintInterface((*map[int]interface{})(x.FptrMapIntIntf), d) } } case "FMapIntString": @@ -25054,7 +25052,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapIntStringX(&x.FMapIntString, d) + h.decMapintstring((*map[int]string)(&x.FMapIntString), d) } } case "FptrMapIntString": @@ -25069,7 +25067,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapIntStringX(x.FptrMapIntString, d) + h.decMapintstring((*map[int]string)(x.FptrMapIntString), d) } } case "FMapIntUint": @@ -25078,7 +25076,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapIntUintX(&x.FMapIntUint, d) + h.decMapintuint((*map[int]uint)(&x.FMapIntUint), d) } } case "FptrMapIntUint": @@ -25093,7 +25091,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapIntUintX(x.FptrMapIntUint, d) + h.decMapintuint((*map[int]uint)(x.FptrMapIntUint), d) } } case "FMapIntUint8": @@ -25102,7 +25100,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapIntUint8X(&x.FMapIntUint8, d) + h.decMapintuint8((*map[int]uint8)(&x.FMapIntUint8), d) } } case "FptrMapIntUint8": @@ -25117,7 +25115,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapIntUint8X(x.FptrMapIntUint8, d) + h.decMapintuint8((*map[int]uint8)(x.FptrMapIntUint8), d) } } case "FMapIntUint16": @@ -25126,7 +25124,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapIntUint16X(&x.FMapIntUint16, d) + h.decMapintuint16((*map[int]uint16)(&x.FMapIntUint16), d) } } case "FptrMapIntUint16": @@ -25141,7 +25139,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapIntUint16X(x.FptrMapIntUint16, d) + h.decMapintuint16((*map[int]uint16)(x.FptrMapIntUint16), d) } } case "FMapIntUint32": @@ -25150,7 +25148,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapIntUint32X(&x.FMapIntUint32, d) + h.decMapintuint32((*map[int]uint32)(&x.FMapIntUint32), d) } } case "FptrMapIntUint32": @@ -25165,7 +25163,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapIntUint32X(x.FptrMapIntUint32, d) + h.decMapintuint32((*map[int]uint32)(x.FptrMapIntUint32), d) } } case "FMapIntUint64": @@ -25174,7 +25172,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapIntUint64X(&x.FMapIntUint64, d) + h.decMapintuint64((*map[int]uint64)(&x.FMapIntUint64), d) } } case "FptrMapIntUint64": @@ -25189,7 +25187,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapIntUint64X(x.FptrMapIntUint64, d) + h.decMapintuint64((*map[int]uint64)(x.FptrMapIntUint64), d) } } case "FMapIntUintptr": @@ -25198,7 +25196,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapIntUintptrX(&x.FMapIntUintptr, d) + h.decMapintuintptr((*map[int]uintptr)(&x.FMapIntUintptr), d) } } case "FptrMapIntUintptr": @@ -25213,7 +25211,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapIntUintptrX(x.FptrMapIntUintptr, d) + h.decMapintuintptr((*map[int]uintptr)(x.FptrMapIntUintptr), d) } } case "FMapIntInt": @@ -25222,7 +25220,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapIntIntX(&x.FMapIntInt, d) + h.decMapintint((*map[int]int)(&x.FMapIntInt), d) } } case "FptrMapIntInt": @@ -25237,7 +25235,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapIntIntX(x.FptrMapIntInt, d) + h.decMapintint((*map[int]int)(x.FptrMapIntInt), d) } } case "FMapIntInt8": @@ -25246,7 +25244,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapIntInt8X(&x.FMapIntInt8, d) + h.decMapintint8((*map[int]int8)(&x.FMapIntInt8), d) } } case "FptrMapIntInt8": @@ -25261,7 +25259,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapIntInt8X(x.FptrMapIntInt8, d) + h.decMapintint8((*map[int]int8)(x.FptrMapIntInt8), d) } } case "FMapIntInt16": @@ -25270,7 +25268,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapIntInt16X(&x.FMapIntInt16, d) + h.decMapintint16((*map[int]int16)(&x.FMapIntInt16), d) } } case "FptrMapIntInt16": @@ -25285,7 +25283,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapIntInt16X(x.FptrMapIntInt16, d) + h.decMapintint16((*map[int]int16)(x.FptrMapIntInt16), d) } } case "FMapIntInt32": @@ -25294,7 +25292,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapIntInt32X(&x.FMapIntInt32, d) + h.decMapintint32((*map[int]int32)(&x.FMapIntInt32), d) } } case "FptrMapIntInt32": @@ -25309,7 +25307,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapIntInt32X(x.FptrMapIntInt32, d) + h.decMapintint32((*map[int]int32)(x.FptrMapIntInt32), d) } } case "FMapIntInt64": @@ -25318,7 +25316,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapIntInt64X(&x.FMapIntInt64, d) + h.decMapintint64((*map[int]int64)(&x.FMapIntInt64), d) } } case "FptrMapIntInt64": @@ -25333,7 +25331,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapIntInt64X(x.FptrMapIntInt64, d) + h.decMapintint64((*map[int]int64)(x.FptrMapIntInt64), d) } } case "FMapIntFloat32": @@ -25342,7 +25340,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapIntFloat32X(&x.FMapIntFloat32, d) + h.decMapintfloat32((*map[int]float32)(&x.FMapIntFloat32), d) } } case "FptrMapIntFloat32": @@ -25357,7 +25355,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapIntFloat32X(x.FptrMapIntFloat32, d) + h.decMapintfloat32((*map[int]float32)(x.FptrMapIntFloat32), d) } } case "FMapIntFloat64": @@ -25366,7 +25364,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapIntFloat64X(&x.FMapIntFloat64, d) + h.decMapintfloat64((*map[int]float64)(&x.FMapIntFloat64), d) } } case "FptrMapIntFloat64": @@ -25381,7 +25379,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapIntFloat64X(x.FptrMapIntFloat64, d) + h.decMapintfloat64((*map[int]float64)(x.FptrMapIntFloat64), d) } } case "FMapIntBool": @@ -25390,7 +25388,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapIntBoolX(&x.FMapIntBool, d) + h.decMapintbool((*map[int]bool)(&x.FMapIntBool), d) } } case "FptrMapIntBool": @@ -25405,7 +25403,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapIntBoolX(x.FptrMapIntBool, d) + h.decMapintbool((*map[int]bool)(x.FptrMapIntBool), d) } } case "FMapInt8Intf": @@ -25414,7 +25412,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt8IntfX(&x.FMapInt8Intf, d) + h.decMapint8Interface((*map[int8]interface{})(&x.FMapInt8Intf), d) } } case "FptrMapInt8Intf": @@ -25429,7 +25427,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapInt8IntfX(x.FptrMapInt8Intf, d) + h.decMapint8Interface((*map[int8]interface{})(x.FptrMapInt8Intf), d) } } case "FMapInt8String": @@ -25438,7 +25436,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt8StringX(&x.FMapInt8String, d) + h.decMapint8string((*map[int8]string)(&x.FMapInt8String), d) } } case "FptrMapInt8String": @@ -25453,7 +25451,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapInt8StringX(x.FptrMapInt8String, d) + h.decMapint8string((*map[int8]string)(x.FptrMapInt8String), d) } } case "FMapInt8Uint": @@ -25462,7 +25460,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt8UintX(&x.FMapInt8Uint, d) + h.decMapint8uint((*map[int8]uint)(&x.FMapInt8Uint), d) } } case "FptrMapInt8Uint": @@ -25477,7 +25475,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapInt8UintX(x.FptrMapInt8Uint, d) + h.decMapint8uint((*map[int8]uint)(x.FptrMapInt8Uint), d) } } case "FMapInt8Uint8": @@ -25486,7 +25484,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt8Uint8X(&x.FMapInt8Uint8, d) + h.decMapint8uint8((*map[int8]uint8)(&x.FMapInt8Uint8), d) } } case "FptrMapInt8Uint8": @@ -25501,7 +25499,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapInt8Uint8X(x.FptrMapInt8Uint8, d) + h.decMapint8uint8((*map[int8]uint8)(x.FptrMapInt8Uint8), d) } } case "FMapInt8Uint16": @@ -25510,7 +25508,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt8Uint16X(&x.FMapInt8Uint16, d) + h.decMapint8uint16((*map[int8]uint16)(&x.FMapInt8Uint16), d) } } case "FptrMapInt8Uint16": @@ -25525,7 +25523,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapInt8Uint16X(x.FptrMapInt8Uint16, d) + h.decMapint8uint16((*map[int8]uint16)(x.FptrMapInt8Uint16), d) } } case "FMapInt8Uint32": @@ -25534,7 +25532,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt8Uint32X(&x.FMapInt8Uint32, d) + h.decMapint8uint32((*map[int8]uint32)(&x.FMapInt8Uint32), d) } } case "FptrMapInt8Uint32": @@ -25549,7 +25547,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapInt8Uint32X(x.FptrMapInt8Uint32, d) + h.decMapint8uint32((*map[int8]uint32)(x.FptrMapInt8Uint32), d) } } case "FMapInt8Uint64": @@ -25558,7 +25556,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt8Uint64X(&x.FMapInt8Uint64, d) + h.decMapint8uint64((*map[int8]uint64)(&x.FMapInt8Uint64), d) } } case "FptrMapInt8Uint64": @@ -25573,7 +25571,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapInt8Uint64X(x.FptrMapInt8Uint64, d) + h.decMapint8uint64((*map[int8]uint64)(x.FptrMapInt8Uint64), d) } } case "FMapInt8Uintptr": @@ -25582,7 +25580,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt8UintptrX(&x.FMapInt8Uintptr, d) + h.decMapint8uintptr((*map[int8]uintptr)(&x.FMapInt8Uintptr), d) } } case "FptrMapInt8Uintptr": @@ -25597,7 +25595,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapInt8UintptrX(x.FptrMapInt8Uintptr, d) + h.decMapint8uintptr((*map[int8]uintptr)(x.FptrMapInt8Uintptr), d) } } case "FMapInt8Int": @@ -25606,7 +25604,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt8IntX(&x.FMapInt8Int, d) + h.decMapint8int((*map[int8]int)(&x.FMapInt8Int), d) } } case "FptrMapInt8Int": @@ -25621,7 +25619,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapInt8IntX(x.FptrMapInt8Int, d) + h.decMapint8int((*map[int8]int)(x.FptrMapInt8Int), d) } } case "FMapInt8Int8": @@ -25630,7 +25628,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt8Int8X(&x.FMapInt8Int8, d) + h.decMapint8int8((*map[int8]int8)(&x.FMapInt8Int8), d) } } case "FptrMapInt8Int8": @@ -25645,7 +25643,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapInt8Int8X(x.FptrMapInt8Int8, d) + h.decMapint8int8((*map[int8]int8)(x.FptrMapInt8Int8), d) } } case "FMapInt8Int16": @@ -25654,7 +25652,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt8Int16X(&x.FMapInt8Int16, d) + h.decMapint8int16((*map[int8]int16)(&x.FMapInt8Int16), d) } } case "FptrMapInt8Int16": @@ -25669,7 +25667,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapInt8Int16X(x.FptrMapInt8Int16, d) + h.decMapint8int16((*map[int8]int16)(x.FptrMapInt8Int16), d) } } case "FMapInt8Int32": @@ -25678,7 +25676,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt8Int32X(&x.FMapInt8Int32, d) + h.decMapint8int32((*map[int8]int32)(&x.FMapInt8Int32), d) } } case "FptrMapInt8Int32": @@ -25693,7 +25691,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapInt8Int32X(x.FptrMapInt8Int32, d) + h.decMapint8int32((*map[int8]int32)(x.FptrMapInt8Int32), d) } } case "FMapInt8Int64": @@ -25702,7 +25700,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt8Int64X(&x.FMapInt8Int64, d) + h.decMapint8int64((*map[int8]int64)(&x.FMapInt8Int64), d) } } case "FptrMapInt8Int64": @@ -25717,7 +25715,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapInt8Int64X(x.FptrMapInt8Int64, d) + h.decMapint8int64((*map[int8]int64)(x.FptrMapInt8Int64), d) } } case "FMapInt8Float32": @@ -25726,7 +25724,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt8Float32X(&x.FMapInt8Float32, d) + h.decMapint8float32((*map[int8]float32)(&x.FMapInt8Float32), d) } } case "FptrMapInt8Float32": @@ -25741,7 +25739,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapInt8Float32X(x.FptrMapInt8Float32, d) + h.decMapint8float32((*map[int8]float32)(x.FptrMapInt8Float32), d) } } case "FMapInt8Float64": @@ -25750,7 +25748,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt8Float64X(&x.FMapInt8Float64, d) + h.decMapint8float64((*map[int8]float64)(&x.FMapInt8Float64), d) } } case "FptrMapInt8Float64": @@ -25765,7 +25763,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapInt8Float64X(x.FptrMapInt8Float64, d) + h.decMapint8float64((*map[int8]float64)(x.FptrMapInt8Float64), d) } } case "FMapInt8Bool": @@ -25774,7 +25772,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt8BoolX(&x.FMapInt8Bool, d) + h.decMapint8bool((*map[int8]bool)(&x.FMapInt8Bool), d) } } case "FptrMapInt8Bool": @@ -25789,7 +25787,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapInt8BoolX(x.FptrMapInt8Bool, d) + h.decMapint8bool((*map[int8]bool)(x.FptrMapInt8Bool), d) } } case "FMapInt16Intf": @@ -25798,7 +25796,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt16IntfX(&x.FMapInt16Intf, d) + h.decMapint16Interface((*map[int16]interface{})(&x.FMapInt16Intf), d) } } case "FptrMapInt16Intf": @@ -25813,7 +25811,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapInt16IntfX(x.FptrMapInt16Intf, d) + h.decMapint16Interface((*map[int16]interface{})(x.FptrMapInt16Intf), d) } } case "FMapInt16String": @@ -25822,7 +25820,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt16StringX(&x.FMapInt16String, d) + h.decMapint16string((*map[int16]string)(&x.FMapInt16String), d) } } case "FptrMapInt16String": @@ -25837,7 +25835,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapInt16StringX(x.FptrMapInt16String, d) + h.decMapint16string((*map[int16]string)(x.FptrMapInt16String), d) } } case "FMapInt16Uint": @@ -25846,7 +25844,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt16UintX(&x.FMapInt16Uint, d) + h.decMapint16uint((*map[int16]uint)(&x.FMapInt16Uint), d) } } case "FptrMapInt16Uint": @@ -25861,7 +25859,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapInt16UintX(x.FptrMapInt16Uint, d) + h.decMapint16uint((*map[int16]uint)(x.FptrMapInt16Uint), d) } } case "FMapInt16Uint8": @@ -25870,7 +25868,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt16Uint8X(&x.FMapInt16Uint8, d) + h.decMapint16uint8((*map[int16]uint8)(&x.FMapInt16Uint8), d) } } case "FptrMapInt16Uint8": @@ -25885,7 +25883,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapInt16Uint8X(x.FptrMapInt16Uint8, d) + h.decMapint16uint8((*map[int16]uint8)(x.FptrMapInt16Uint8), d) } } case "FMapInt16Uint16": @@ -25894,7 +25892,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt16Uint16X(&x.FMapInt16Uint16, d) + h.decMapint16uint16((*map[int16]uint16)(&x.FMapInt16Uint16), d) } } case "FptrMapInt16Uint16": @@ -25909,7 +25907,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapInt16Uint16X(x.FptrMapInt16Uint16, d) + h.decMapint16uint16((*map[int16]uint16)(x.FptrMapInt16Uint16), d) } } case "FMapInt16Uint32": @@ -25918,7 +25916,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt16Uint32X(&x.FMapInt16Uint32, d) + h.decMapint16uint32((*map[int16]uint32)(&x.FMapInt16Uint32), d) } } case "FptrMapInt16Uint32": @@ -25933,7 +25931,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapInt16Uint32X(x.FptrMapInt16Uint32, d) + h.decMapint16uint32((*map[int16]uint32)(x.FptrMapInt16Uint32), d) } } case "FMapInt16Uint64": @@ -25942,7 +25940,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt16Uint64X(&x.FMapInt16Uint64, d) + h.decMapint16uint64((*map[int16]uint64)(&x.FMapInt16Uint64), d) } } case "FptrMapInt16Uint64": @@ -25957,7 +25955,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapInt16Uint64X(x.FptrMapInt16Uint64, d) + h.decMapint16uint64((*map[int16]uint64)(x.FptrMapInt16Uint64), d) } } case "FMapInt16Uintptr": @@ -25966,7 +25964,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt16UintptrX(&x.FMapInt16Uintptr, d) + h.decMapint16uintptr((*map[int16]uintptr)(&x.FMapInt16Uintptr), d) } } case "FptrMapInt16Uintptr": @@ -25981,7 +25979,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapInt16UintptrX(x.FptrMapInt16Uintptr, d) + h.decMapint16uintptr((*map[int16]uintptr)(x.FptrMapInt16Uintptr), d) } } case "FMapInt16Int": @@ -25990,7 +25988,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt16IntX(&x.FMapInt16Int, d) + h.decMapint16int((*map[int16]int)(&x.FMapInt16Int), d) } } case "FptrMapInt16Int": @@ -26005,7 +26003,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapInt16IntX(x.FptrMapInt16Int, d) + h.decMapint16int((*map[int16]int)(x.FptrMapInt16Int), d) } } case "FMapInt16Int8": @@ -26014,7 +26012,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt16Int8X(&x.FMapInt16Int8, d) + h.decMapint16int8((*map[int16]int8)(&x.FMapInt16Int8), d) } } case "FptrMapInt16Int8": @@ -26029,7 +26027,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapInt16Int8X(x.FptrMapInt16Int8, d) + h.decMapint16int8((*map[int16]int8)(x.FptrMapInt16Int8), d) } } case "FMapInt16Int16": @@ -26038,7 +26036,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt16Int16X(&x.FMapInt16Int16, d) + h.decMapint16int16((*map[int16]int16)(&x.FMapInt16Int16), d) } } case "FptrMapInt16Int16": @@ -26053,7 +26051,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapInt16Int16X(x.FptrMapInt16Int16, d) + h.decMapint16int16((*map[int16]int16)(x.FptrMapInt16Int16), d) } } case "FMapInt16Int32": @@ -26062,7 +26060,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt16Int32X(&x.FMapInt16Int32, d) + h.decMapint16int32((*map[int16]int32)(&x.FMapInt16Int32), d) } } case "FptrMapInt16Int32": @@ -26077,7 +26075,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapInt16Int32X(x.FptrMapInt16Int32, d) + h.decMapint16int32((*map[int16]int32)(x.FptrMapInt16Int32), d) } } case "FMapInt16Int64": @@ -26086,7 +26084,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt16Int64X(&x.FMapInt16Int64, d) + h.decMapint16int64((*map[int16]int64)(&x.FMapInt16Int64), d) } } case "FptrMapInt16Int64": @@ -26101,7 +26099,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapInt16Int64X(x.FptrMapInt16Int64, d) + h.decMapint16int64((*map[int16]int64)(x.FptrMapInt16Int64), d) } } case "FMapInt16Float32": @@ -26110,7 +26108,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt16Float32X(&x.FMapInt16Float32, d) + h.decMapint16float32((*map[int16]float32)(&x.FMapInt16Float32), d) } } case "FptrMapInt16Float32": @@ -26125,7 +26123,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapInt16Float32X(x.FptrMapInt16Float32, d) + h.decMapint16float32((*map[int16]float32)(x.FptrMapInt16Float32), d) } } case "FMapInt16Float64": @@ -26134,7 +26132,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt16Float64X(&x.FMapInt16Float64, d) + h.decMapint16float64((*map[int16]float64)(&x.FMapInt16Float64), d) } } case "FptrMapInt16Float64": @@ -26149,7 +26147,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapInt16Float64X(x.FptrMapInt16Float64, d) + h.decMapint16float64((*map[int16]float64)(x.FptrMapInt16Float64), d) } } case "FMapInt16Bool": @@ -26158,7 +26156,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt16BoolX(&x.FMapInt16Bool, d) + h.decMapint16bool((*map[int16]bool)(&x.FMapInt16Bool), d) } } case "FptrMapInt16Bool": @@ -26173,7 +26171,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapInt16BoolX(x.FptrMapInt16Bool, d) + h.decMapint16bool((*map[int16]bool)(x.FptrMapInt16Bool), d) } } case "FMapInt32Intf": @@ -26182,7 +26180,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt32IntfX(&x.FMapInt32Intf, d) + h.decMapint32Interface((*map[int32]interface{})(&x.FMapInt32Intf), d) } } case "FptrMapInt32Intf": @@ -26197,7 +26195,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapInt32IntfX(x.FptrMapInt32Intf, d) + h.decMapint32Interface((*map[int32]interface{})(x.FptrMapInt32Intf), d) } } case "FMapInt32String": @@ -26206,7 +26204,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt32StringX(&x.FMapInt32String, d) + h.decMapint32string((*map[int32]string)(&x.FMapInt32String), d) } } case "FptrMapInt32String": @@ -26221,7 +26219,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapInt32StringX(x.FptrMapInt32String, d) + h.decMapint32string((*map[int32]string)(x.FptrMapInt32String), d) } } case "FMapInt32Uint": @@ -26230,7 +26228,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt32UintX(&x.FMapInt32Uint, d) + h.decMapint32uint((*map[int32]uint)(&x.FMapInt32Uint), d) } } case "FptrMapInt32Uint": @@ -26245,7 +26243,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapInt32UintX(x.FptrMapInt32Uint, d) + h.decMapint32uint((*map[int32]uint)(x.FptrMapInt32Uint), d) } } case "FMapInt32Uint8": @@ -26254,7 +26252,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt32Uint8X(&x.FMapInt32Uint8, d) + h.decMapint32uint8((*map[int32]uint8)(&x.FMapInt32Uint8), d) } } case "FptrMapInt32Uint8": @@ -26269,7 +26267,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapInt32Uint8X(x.FptrMapInt32Uint8, d) + h.decMapint32uint8((*map[int32]uint8)(x.FptrMapInt32Uint8), d) } } case "FMapInt32Uint16": @@ -26278,7 +26276,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt32Uint16X(&x.FMapInt32Uint16, d) + h.decMapint32uint16((*map[int32]uint16)(&x.FMapInt32Uint16), d) } } case "FptrMapInt32Uint16": @@ -26293,7 +26291,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapInt32Uint16X(x.FptrMapInt32Uint16, d) + h.decMapint32uint16((*map[int32]uint16)(x.FptrMapInt32Uint16), d) } } case "FMapInt32Uint32": @@ -26302,7 +26300,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt32Uint32X(&x.FMapInt32Uint32, d) + h.decMapint32uint32((*map[int32]uint32)(&x.FMapInt32Uint32), d) } } case "FptrMapInt32Uint32": @@ -26317,7 +26315,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapInt32Uint32X(x.FptrMapInt32Uint32, d) + h.decMapint32uint32((*map[int32]uint32)(x.FptrMapInt32Uint32), d) } } case "FMapInt32Uint64": @@ -26326,7 +26324,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt32Uint64X(&x.FMapInt32Uint64, d) + h.decMapint32uint64((*map[int32]uint64)(&x.FMapInt32Uint64), d) } } case "FptrMapInt32Uint64": @@ -26341,7 +26339,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapInt32Uint64X(x.FptrMapInt32Uint64, d) + h.decMapint32uint64((*map[int32]uint64)(x.FptrMapInt32Uint64), d) } } case "FMapInt32Uintptr": @@ -26350,7 +26348,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt32UintptrX(&x.FMapInt32Uintptr, d) + h.decMapint32uintptr((*map[int32]uintptr)(&x.FMapInt32Uintptr), d) } } case "FptrMapInt32Uintptr": @@ -26365,7 +26363,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapInt32UintptrX(x.FptrMapInt32Uintptr, d) + h.decMapint32uintptr((*map[int32]uintptr)(x.FptrMapInt32Uintptr), d) } } case "FMapInt32Int": @@ -26374,7 +26372,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt32IntX(&x.FMapInt32Int, d) + h.decMapint32int((*map[int32]int)(&x.FMapInt32Int), d) } } case "FptrMapInt32Int": @@ -26389,7 +26387,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapInt32IntX(x.FptrMapInt32Int, d) + h.decMapint32int((*map[int32]int)(x.FptrMapInt32Int), d) } } case "FMapInt32Int8": @@ -26398,7 +26396,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt32Int8X(&x.FMapInt32Int8, d) + h.decMapint32int8((*map[int32]int8)(&x.FMapInt32Int8), d) } } case "FptrMapInt32Int8": @@ -26413,7 +26411,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapInt32Int8X(x.FptrMapInt32Int8, d) + h.decMapint32int8((*map[int32]int8)(x.FptrMapInt32Int8), d) } } case "FMapInt32Int16": @@ -26422,7 +26420,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt32Int16X(&x.FMapInt32Int16, d) + h.decMapint32int16((*map[int32]int16)(&x.FMapInt32Int16), d) } } case "FptrMapInt32Int16": @@ -26437,7 +26435,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapInt32Int16X(x.FptrMapInt32Int16, d) + h.decMapint32int16((*map[int32]int16)(x.FptrMapInt32Int16), d) } } case "FMapInt32Int32": @@ -26446,7 +26444,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt32Int32X(&x.FMapInt32Int32, d) + h.decMapint32int32((*map[int32]int32)(&x.FMapInt32Int32), d) } } case "FptrMapInt32Int32": @@ -26461,7 +26459,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapInt32Int32X(x.FptrMapInt32Int32, d) + h.decMapint32int32((*map[int32]int32)(x.FptrMapInt32Int32), d) } } case "FMapInt32Int64": @@ -26470,7 +26468,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt32Int64X(&x.FMapInt32Int64, d) + h.decMapint32int64((*map[int32]int64)(&x.FMapInt32Int64), d) } } case "FptrMapInt32Int64": @@ -26485,7 +26483,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapInt32Int64X(x.FptrMapInt32Int64, d) + h.decMapint32int64((*map[int32]int64)(x.FptrMapInt32Int64), d) } } case "FMapInt32Float32": @@ -26494,7 +26492,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt32Float32X(&x.FMapInt32Float32, d) + h.decMapint32float32((*map[int32]float32)(&x.FMapInt32Float32), d) } } case "FptrMapInt32Float32": @@ -26509,7 +26507,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapInt32Float32X(x.FptrMapInt32Float32, d) + h.decMapint32float32((*map[int32]float32)(x.FptrMapInt32Float32), d) } } case "FMapInt32Float64": @@ -26518,7 +26516,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt32Float64X(&x.FMapInt32Float64, d) + h.decMapint32float64((*map[int32]float64)(&x.FMapInt32Float64), d) } } case "FptrMapInt32Float64": @@ -26533,7 +26531,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapInt32Float64X(x.FptrMapInt32Float64, d) + h.decMapint32float64((*map[int32]float64)(x.FptrMapInt32Float64), d) } } case "FMapInt32Bool": @@ -26542,7 +26540,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt32BoolX(&x.FMapInt32Bool, d) + h.decMapint32bool((*map[int32]bool)(&x.FMapInt32Bool), d) } } case "FptrMapInt32Bool": @@ -26557,7 +26555,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapInt32BoolX(x.FptrMapInt32Bool, d) + h.decMapint32bool((*map[int32]bool)(x.FptrMapInt32Bool), d) } } case "FMapInt64Intf": @@ -26566,7 +26564,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt64IntfX(&x.FMapInt64Intf, d) + h.decMapint64Interface((*map[int64]interface{})(&x.FMapInt64Intf), d) } } case "FptrMapInt64Intf": @@ -26581,7 +26579,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapInt64IntfX(x.FptrMapInt64Intf, d) + h.decMapint64Interface((*map[int64]interface{})(x.FptrMapInt64Intf), d) } } case "FMapInt64String": @@ -26590,7 +26588,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt64StringX(&x.FMapInt64String, d) + h.decMapint64string((*map[int64]string)(&x.FMapInt64String), d) } } case "FptrMapInt64String": @@ -26605,7 +26603,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapInt64StringX(x.FptrMapInt64String, d) + h.decMapint64string((*map[int64]string)(x.FptrMapInt64String), d) } } case "FMapInt64Uint": @@ -26614,7 +26612,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt64UintX(&x.FMapInt64Uint, d) + h.decMapint64uint((*map[int64]uint)(&x.FMapInt64Uint), d) } } case "FptrMapInt64Uint": @@ -26629,7 +26627,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapInt64UintX(x.FptrMapInt64Uint, d) + h.decMapint64uint((*map[int64]uint)(x.FptrMapInt64Uint), d) } } case "FMapInt64Uint8": @@ -26638,7 +26636,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt64Uint8X(&x.FMapInt64Uint8, d) + h.decMapint64uint8((*map[int64]uint8)(&x.FMapInt64Uint8), d) } } case "FptrMapInt64Uint8": @@ -26653,7 +26651,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapInt64Uint8X(x.FptrMapInt64Uint8, d) + h.decMapint64uint8((*map[int64]uint8)(x.FptrMapInt64Uint8), d) } } case "FMapInt64Uint16": @@ -26662,7 +26660,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt64Uint16X(&x.FMapInt64Uint16, d) + h.decMapint64uint16((*map[int64]uint16)(&x.FMapInt64Uint16), d) } } case "FptrMapInt64Uint16": @@ -26677,7 +26675,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapInt64Uint16X(x.FptrMapInt64Uint16, d) + h.decMapint64uint16((*map[int64]uint16)(x.FptrMapInt64Uint16), d) } } case "FMapInt64Uint32": @@ -26686,7 +26684,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt64Uint32X(&x.FMapInt64Uint32, d) + h.decMapint64uint32((*map[int64]uint32)(&x.FMapInt64Uint32), d) } } case "FptrMapInt64Uint32": @@ -26701,7 +26699,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapInt64Uint32X(x.FptrMapInt64Uint32, d) + h.decMapint64uint32((*map[int64]uint32)(x.FptrMapInt64Uint32), d) } } case "FMapInt64Uint64": @@ -26710,7 +26708,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt64Uint64X(&x.FMapInt64Uint64, d) + h.decMapint64uint64((*map[int64]uint64)(&x.FMapInt64Uint64), d) } } case "FptrMapInt64Uint64": @@ -26725,7 +26723,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapInt64Uint64X(x.FptrMapInt64Uint64, d) + h.decMapint64uint64((*map[int64]uint64)(x.FptrMapInt64Uint64), d) } } case "FMapInt64Uintptr": @@ -26734,7 +26732,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt64UintptrX(&x.FMapInt64Uintptr, d) + h.decMapint64uintptr((*map[int64]uintptr)(&x.FMapInt64Uintptr), d) } } case "FptrMapInt64Uintptr": @@ -26749,7 +26747,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapInt64UintptrX(x.FptrMapInt64Uintptr, d) + h.decMapint64uintptr((*map[int64]uintptr)(x.FptrMapInt64Uintptr), d) } } case "FMapInt64Int": @@ -26758,7 +26756,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt64IntX(&x.FMapInt64Int, d) + h.decMapint64int((*map[int64]int)(&x.FMapInt64Int), d) } } case "FptrMapInt64Int": @@ -26773,7 +26771,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapInt64IntX(x.FptrMapInt64Int, d) + h.decMapint64int((*map[int64]int)(x.FptrMapInt64Int), d) } } case "FMapInt64Int8": @@ -26782,7 +26780,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt64Int8X(&x.FMapInt64Int8, d) + h.decMapint64int8((*map[int64]int8)(&x.FMapInt64Int8), d) } } case "FptrMapInt64Int8": @@ -26797,7 +26795,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapInt64Int8X(x.FptrMapInt64Int8, d) + h.decMapint64int8((*map[int64]int8)(x.FptrMapInt64Int8), d) } } case "FMapInt64Int16": @@ -26806,7 +26804,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt64Int16X(&x.FMapInt64Int16, d) + h.decMapint64int16((*map[int64]int16)(&x.FMapInt64Int16), d) } } case "FptrMapInt64Int16": @@ -26821,7 +26819,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapInt64Int16X(x.FptrMapInt64Int16, d) + h.decMapint64int16((*map[int64]int16)(x.FptrMapInt64Int16), d) } } case "FMapInt64Int32": @@ -26830,7 +26828,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt64Int32X(&x.FMapInt64Int32, d) + h.decMapint64int32((*map[int64]int32)(&x.FMapInt64Int32), d) } } case "FptrMapInt64Int32": @@ -26845,7 +26843,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapInt64Int32X(x.FptrMapInt64Int32, d) + h.decMapint64int32((*map[int64]int32)(x.FptrMapInt64Int32), d) } } case "FMapInt64Int64": @@ -26854,7 +26852,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt64Int64X(&x.FMapInt64Int64, d) + h.decMapint64int64((*map[int64]int64)(&x.FMapInt64Int64), d) } } case "FptrMapInt64Int64": @@ -26869,7 +26867,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapInt64Int64X(x.FptrMapInt64Int64, d) + h.decMapint64int64((*map[int64]int64)(x.FptrMapInt64Int64), d) } } case "FMapInt64Float32": @@ -26878,7 +26876,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt64Float32X(&x.FMapInt64Float32, d) + h.decMapint64float32((*map[int64]float32)(&x.FMapInt64Float32), d) } } case "FptrMapInt64Float32": @@ -26893,7 +26891,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapInt64Float32X(x.FptrMapInt64Float32, d) + h.decMapint64float32((*map[int64]float32)(x.FptrMapInt64Float32), d) } } case "FMapInt64Float64": @@ -26902,7 +26900,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt64Float64X(&x.FMapInt64Float64, d) + h.decMapint64float64((*map[int64]float64)(&x.FMapInt64Float64), d) } } case "FptrMapInt64Float64": @@ -26917,7 +26915,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapInt64Float64X(x.FptrMapInt64Float64, d) + h.decMapint64float64((*map[int64]float64)(x.FptrMapInt64Float64), d) } } case "FMapInt64Bool": @@ -26926,7 +26924,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt64BoolX(&x.FMapInt64Bool, d) + h.decMapint64bool((*map[int64]bool)(&x.FMapInt64Bool), d) } } case "FptrMapInt64Bool": @@ -26941,7 +26939,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapInt64BoolX(x.FptrMapInt64Bool, d) + h.decMapint64bool((*map[int64]bool)(x.FptrMapInt64Bool), d) } } case "FMapBoolIntf": @@ -26950,7 +26948,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapBoolIntfX(&x.FMapBoolIntf, d) + h.decMapboolInterface((*map[bool]interface{})(&x.FMapBoolIntf), d) } } case "FptrMapBoolIntf": @@ -26965,7 +26963,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapBoolIntfX(x.FptrMapBoolIntf, d) + h.decMapboolInterface((*map[bool]interface{})(x.FptrMapBoolIntf), d) } } case "FMapBoolString": @@ -26974,7 +26972,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapBoolStringX(&x.FMapBoolString, d) + h.decMapboolstring((*map[bool]string)(&x.FMapBoolString), d) } } case "FptrMapBoolString": @@ -26989,7 +26987,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapBoolStringX(x.FptrMapBoolString, d) + h.decMapboolstring((*map[bool]string)(x.FptrMapBoolString), d) } } case "FMapBoolUint": @@ -26998,7 +26996,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapBoolUintX(&x.FMapBoolUint, d) + h.decMapbooluint((*map[bool]uint)(&x.FMapBoolUint), d) } } case "FptrMapBoolUint": @@ -27013,7 +27011,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapBoolUintX(x.FptrMapBoolUint, d) + h.decMapbooluint((*map[bool]uint)(x.FptrMapBoolUint), d) } } case "FMapBoolUint8": @@ -27022,7 +27020,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapBoolUint8X(&x.FMapBoolUint8, d) + h.decMapbooluint8((*map[bool]uint8)(&x.FMapBoolUint8), d) } } case "FptrMapBoolUint8": @@ -27037,7 +27035,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapBoolUint8X(x.FptrMapBoolUint8, d) + h.decMapbooluint8((*map[bool]uint8)(x.FptrMapBoolUint8), d) } } case "FMapBoolUint16": @@ -27046,7 +27044,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapBoolUint16X(&x.FMapBoolUint16, d) + h.decMapbooluint16((*map[bool]uint16)(&x.FMapBoolUint16), d) } } case "FptrMapBoolUint16": @@ -27061,7 +27059,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapBoolUint16X(x.FptrMapBoolUint16, d) + h.decMapbooluint16((*map[bool]uint16)(x.FptrMapBoolUint16), d) } } case "FMapBoolUint32": @@ -27070,7 +27068,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapBoolUint32X(&x.FMapBoolUint32, d) + h.decMapbooluint32((*map[bool]uint32)(&x.FMapBoolUint32), d) } } case "FptrMapBoolUint32": @@ -27085,7 +27083,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapBoolUint32X(x.FptrMapBoolUint32, d) + h.decMapbooluint32((*map[bool]uint32)(x.FptrMapBoolUint32), d) } } case "FMapBoolUint64": @@ -27094,7 +27092,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapBoolUint64X(&x.FMapBoolUint64, d) + h.decMapbooluint64((*map[bool]uint64)(&x.FMapBoolUint64), d) } } case "FptrMapBoolUint64": @@ -27109,7 +27107,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapBoolUint64X(x.FptrMapBoolUint64, d) + h.decMapbooluint64((*map[bool]uint64)(x.FptrMapBoolUint64), d) } } case "FMapBoolUintptr": @@ -27118,7 +27116,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapBoolUintptrX(&x.FMapBoolUintptr, d) + h.decMapbooluintptr((*map[bool]uintptr)(&x.FMapBoolUintptr), d) } } case "FptrMapBoolUintptr": @@ -27133,7 +27131,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapBoolUintptrX(x.FptrMapBoolUintptr, d) + h.decMapbooluintptr((*map[bool]uintptr)(x.FptrMapBoolUintptr), d) } } case "FMapBoolInt": @@ -27142,7 +27140,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapBoolIntX(&x.FMapBoolInt, d) + h.decMapboolint((*map[bool]int)(&x.FMapBoolInt), d) } } case "FptrMapBoolInt": @@ -27157,7 +27155,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapBoolIntX(x.FptrMapBoolInt, d) + h.decMapboolint((*map[bool]int)(x.FptrMapBoolInt), d) } } case "FMapBoolInt8": @@ -27166,7 +27164,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapBoolInt8X(&x.FMapBoolInt8, d) + h.decMapboolint8((*map[bool]int8)(&x.FMapBoolInt8), d) } } case "FptrMapBoolInt8": @@ -27181,7 +27179,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapBoolInt8X(x.FptrMapBoolInt8, d) + h.decMapboolint8((*map[bool]int8)(x.FptrMapBoolInt8), d) } } case "FMapBoolInt16": @@ -27190,7 +27188,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapBoolInt16X(&x.FMapBoolInt16, d) + h.decMapboolint16((*map[bool]int16)(&x.FMapBoolInt16), d) } } case "FptrMapBoolInt16": @@ -27205,7 +27203,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapBoolInt16X(x.FptrMapBoolInt16, d) + h.decMapboolint16((*map[bool]int16)(x.FptrMapBoolInt16), d) } } case "FMapBoolInt32": @@ -27214,7 +27212,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapBoolInt32X(&x.FMapBoolInt32, d) + h.decMapboolint32((*map[bool]int32)(&x.FMapBoolInt32), d) } } case "FptrMapBoolInt32": @@ -27229,7 +27227,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapBoolInt32X(x.FptrMapBoolInt32, d) + h.decMapboolint32((*map[bool]int32)(x.FptrMapBoolInt32), d) } } case "FMapBoolInt64": @@ -27238,7 +27236,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapBoolInt64X(&x.FMapBoolInt64, d) + h.decMapboolint64((*map[bool]int64)(&x.FMapBoolInt64), d) } } case "FptrMapBoolInt64": @@ -27253,7 +27251,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapBoolInt64X(x.FptrMapBoolInt64, d) + h.decMapboolint64((*map[bool]int64)(x.FptrMapBoolInt64), d) } } case "FMapBoolFloat32": @@ -27262,7 +27260,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapBoolFloat32X(&x.FMapBoolFloat32, d) + h.decMapboolfloat32((*map[bool]float32)(&x.FMapBoolFloat32), d) } } case "FptrMapBoolFloat32": @@ -27277,7 +27275,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapBoolFloat32X(x.FptrMapBoolFloat32, d) + h.decMapboolfloat32((*map[bool]float32)(x.FptrMapBoolFloat32), d) } } case "FMapBoolFloat64": @@ -27286,7 +27284,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapBoolFloat64X(&x.FMapBoolFloat64, d) + h.decMapboolfloat64((*map[bool]float64)(&x.FMapBoolFloat64), d) } } case "FptrMapBoolFloat64": @@ -27301,7 +27299,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapBoolFloat64X(x.FptrMapBoolFloat64, d) + h.decMapboolfloat64((*map[bool]float64)(x.FptrMapBoolFloat64), d) } } case "FMapBoolBool": @@ -27310,7 +27308,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapBoolBoolX(&x.FMapBoolBool, d) + h.decMapboolbool((*map[bool]bool)(&x.FMapBoolBool), d) } } case "FptrMapBoolBool": @@ -27325,7 +27323,7 @@ func (x *TestMammoth2) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapBoolBoolX(x.FptrMapBoolBool, d) + h.decMapboolbool((*map[bool]bool)(x.FptrMapBoolBool), d) } } default: @@ -28017,7 +28015,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceIntfX(&x.FSliceIntf, d) + h.decSliceInterface((*[]interface{})(&x.FSliceIntf), d) } } yyj1141++ @@ -28042,7 +28040,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecSliceIntfX(x.FptrSliceIntf, d) + h.decSliceInterface((*[]interface{})(x.FptrSliceIntf), d) } } yyj1141++ @@ -28061,7 +28059,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceStringX(&x.FSliceString, d) + h.decSlicestring((*[]string)(&x.FSliceString), d) } } yyj1141++ @@ -28086,7 +28084,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecSliceStringX(x.FptrSliceString, d) + h.decSlicestring((*[]string)(x.FptrSliceString), d) } } yyj1141++ @@ -28105,7 +28103,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceFloat32X(&x.FSliceFloat32, d) + h.decSlicefloat32((*[]float32)(&x.FSliceFloat32), d) } } yyj1141++ @@ -28130,7 +28128,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecSliceFloat32X(x.FptrSliceFloat32, d) + h.decSlicefloat32((*[]float32)(x.FptrSliceFloat32), d) } } yyj1141++ @@ -28149,7 +28147,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceFloat64X(&x.FSliceFloat64, d) + h.decSlicefloat64((*[]float64)(&x.FSliceFloat64), d) } } yyj1141++ @@ -28174,7 +28172,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecSliceFloat64X(x.FptrSliceFloat64, d) + h.decSlicefloat64((*[]float64)(x.FptrSliceFloat64), d) } } yyj1141++ @@ -28193,7 +28191,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceUintX(&x.FSliceUint, d) + h.decSliceuint((*[]uint)(&x.FSliceUint), d) } } yyj1141++ @@ -28218,7 +28216,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecSliceUintX(x.FptrSliceUint, d) + h.decSliceuint((*[]uint)(x.FptrSliceUint), d) } } yyj1141++ @@ -28281,7 +28279,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceUint16X(&x.FSliceUint16, d) + h.decSliceuint16((*[]uint16)(&x.FSliceUint16), d) } } yyj1141++ @@ -28306,7 +28304,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecSliceUint16X(x.FptrSliceUint16, d) + h.decSliceuint16((*[]uint16)(x.FptrSliceUint16), d) } } yyj1141++ @@ -28325,7 +28323,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceUint32X(&x.FSliceUint32, d) + h.decSliceuint32((*[]uint32)(&x.FSliceUint32), d) } } yyj1141++ @@ -28350,7 +28348,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecSliceUint32X(x.FptrSliceUint32, d) + h.decSliceuint32((*[]uint32)(x.FptrSliceUint32), d) } } yyj1141++ @@ -28369,7 +28367,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceUint64X(&x.FSliceUint64, d) + h.decSliceuint64((*[]uint64)(&x.FSliceUint64), d) } } yyj1141++ @@ -28394,7 +28392,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecSliceUint64X(x.FptrSliceUint64, d) + h.decSliceuint64((*[]uint64)(x.FptrSliceUint64), d) } } yyj1141++ @@ -28413,7 +28411,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceUintptrX(&x.FSliceUintptr, d) + h.decSliceuintptr((*[]uintptr)(&x.FSliceUintptr), d) } } yyj1141++ @@ -28438,7 +28436,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecSliceUintptrX(x.FptrSliceUintptr, d) + h.decSliceuintptr((*[]uintptr)(x.FptrSliceUintptr), d) } } yyj1141++ @@ -28457,7 +28455,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceIntX(&x.FSliceInt, d) + h.decSliceint((*[]int)(&x.FSliceInt), d) } } yyj1141++ @@ -28482,7 +28480,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecSliceIntX(x.FptrSliceInt, d) + h.decSliceint((*[]int)(x.FptrSliceInt), d) } } yyj1141++ @@ -28501,7 +28499,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceInt8X(&x.FSliceInt8, d) + h.decSliceint8((*[]int8)(&x.FSliceInt8), d) } } yyj1141++ @@ -28526,7 +28524,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecSliceInt8X(x.FptrSliceInt8, d) + h.decSliceint8((*[]int8)(x.FptrSliceInt8), d) } } yyj1141++ @@ -28545,7 +28543,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceInt16X(&x.FSliceInt16, d) + h.decSliceint16((*[]int16)(&x.FSliceInt16), d) } } yyj1141++ @@ -28570,7 +28568,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecSliceInt16X(x.FptrSliceInt16, d) + h.decSliceint16((*[]int16)(x.FptrSliceInt16), d) } } yyj1141++ @@ -28589,7 +28587,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceInt32X(&x.FSliceInt32, d) + h.decSliceint32((*[]int32)(&x.FSliceInt32), d) } } yyj1141++ @@ -28614,7 +28612,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecSliceInt32X(x.FptrSliceInt32, d) + h.decSliceint32((*[]int32)(x.FptrSliceInt32), d) } } yyj1141++ @@ -28633,7 +28631,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceInt64X(&x.FSliceInt64, d) + h.decSliceint64((*[]int64)(&x.FSliceInt64), d) } } yyj1141++ @@ -28658,7 +28656,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecSliceInt64X(x.FptrSliceInt64, d) + h.decSliceint64((*[]int64)(x.FptrSliceInt64), d) } } yyj1141++ @@ -28677,7 +28675,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceBoolX(&x.FSliceBool, d) + h.decSlicebool((*[]bool)(&x.FSliceBool), d) } } yyj1141++ @@ -28702,7 +28700,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecSliceBoolX(x.FptrSliceBool, d) + h.decSlicebool((*[]bool)(x.FptrSliceBool), d) } } yyj1141++ @@ -28721,7 +28719,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapIntfIntfX(&x.FMapIntfIntf, d) + h.decMapInterfaceInterface((*map[interface{}]interface{})(&x.FMapIntfIntf), d) } } yyj1141++ @@ -28746,7 +28744,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapIntfIntfX(x.FptrMapIntfIntf, d) + h.decMapInterfaceInterface((*map[interface{}]interface{})(x.FptrMapIntfIntf), d) } } yyj1141++ @@ -28765,7 +28763,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapIntfStringX(&x.FMapIntfString, d) + h.decMapInterfacestring((*map[interface{}]string)(&x.FMapIntfString), d) } } yyj1141++ @@ -28790,7 +28788,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapIntfStringX(x.FptrMapIntfString, d) + h.decMapInterfacestring((*map[interface{}]string)(x.FptrMapIntfString), d) } } yyj1141++ @@ -28809,7 +28807,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapIntfUintX(&x.FMapIntfUint, d) + h.decMapInterfaceuint((*map[interface{}]uint)(&x.FMapIntfUint), d) } } yyj1141++ @@ -28834,7 +28832,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapIntfUintX(x.FptrMapIntfUint, d) + h.decMapInterfaceuint((*map[interface{}]uint)(x.FptrMapIntfUint), d) } } yyj1141++ @@ -28853,7 +28851,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapIntfUint8X(&x.FMapIntfUint8, d) + h.decMapInterfaceuint8((*map[interface{}]uint8)(&x.FMapIntfUint8), d) } } yyj1141++ @@ -28878,7 +28876,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapIntfUint8X(x.FptrMapIntfUint8, d) + h.decMapInterfaceuint8((*map[interface{}]uint8)(x.FptrMapIntfUint8), d) } } yyj1141++ @@ -28897,7 +28895,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapIntfUint16X(&x.FMapIntfUint16, d) + h.decMapInterfaceuint16((*map[interface{}]uint16)(&x.FMapIntfUint16), d) } } yyj1141++ @@ -28922,7 +28920,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapIntfUint16X(x.FptrMapIntfUint16, d) + h.decMapInterfaceuint16((*map[interface{}]uint16)(x.FptrMapIntfUint16), d) } } yyj1141++ @@ -28941,7 +28939,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapIntfUint32X(&x.FMapIntfUint32, d) + h.decMapInterfaceuint32((*map[interface{}]uint32)(&x.FMapIntfUint32), d) } } yyj1141++ @@ -28966,7 +28964,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapIntfUint32X(x.FptrMapIntfUint32, d) + h.decMapInterfaceuint32((*map[interface{}]uint32)(x.FptrMapIntfUint32), d) } } yyj1141++ @@ -28985,7 +28983,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapIntfUint64X(&x.FMapIntfUint64, d) + h.decMapInterfaceuint64((*map[interface{}]uint64)(&x.FMapIntfUint64), d) } } yyj1141++ @@ -29010,7 +29008,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapIntfUint64X(x.FptrMapIntfUint64, d) + h.decMapInterfaceuint64((*map[interface{}]uint64)(x.FptrMapIntfUint64), d) } } yyj1141++ @@ -29029,7 +29027,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapIntfUintptrX(&x.FMapIntfUintptr, d) + h.decMapInterfaceuintptr((*map[interface{}]uintptr)(&x.FMapIntfUintptr), d) } } yyj1141++ @@ -29054,7 +29052,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapIntfUintptrX(x.FptrMapIntfUintptr, d) + h.decMapInterfaceuintptr((*map[interface{}]uintptr)(x.FptrMapIntfUintptr), d) } } yyj1141++ @@ -29073,7 +29071,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapIntfIntX(&x.FMapIntfInt, d) + h.decMapInterfaceint((*map[interface{}]int)(&x.FMapIntfInt), d) } } yyj1141++ @@ -29098,7 +29096,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapIntfIntX(x.FptrMapIntfInt, d) + h.decMapInterfaceint((*map[interface{}]int)(x.FptrMapIntfInt), d) } } yyj1141++ @@ -29117,7 +29115,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapIntfInt8X(&x.FMapIntfInt8, d) + h.decMapInterfaceint8((*map[interface{}]int8)(&x.FMapIntfInt8), d) } } yyj1141++ @@ -29142,7 +29140,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapIntfInt8X(x.FptrMapIntfInt8, d) + h.decMapInterfaceint8((*map[interface{}]int8)(x.FptrMapIntfInt8), d) } } yyj1141++ @@ -29161,7 +29159,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapIntfInt16X(&x.FMapIntfInt16, d) + h.decMapInterfaceint16((*map[interface{}]int16)(&x.FMapIntfInt16), d) } } yyj1141++ @@ -29186,7 +29184,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapIntfInt16X(x.FptrMapIntfInt16, d) + h.decMapInterfaceint16((*map[interface{}]int16)(x.FptrMapIntfInt16), d) } } yyj1141++ @@ -29205,7 +29203,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapIntfInt32X(&x.FMapIntfInt32, d) + h.decMapInterfaceint32((*map[interface{}]int32)(&x.FMapIntfInt32), d) } } yyj1141++ @@ -29230,7 +29228,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapIntfInt32X(x.FptrMapIntfInt32, d) + h.decMapInterfaceint32((*map[interface{}]int32)(x.FptrMapIntfInt32), d) } } yyj1141++ @@ -29249,7 +29247,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapIntfInt64X(&x.FMapIntfInt64, d) + h.decMapInterfaceint64((*map[interface{}]int64)(&x.FMapIntfInt64), d) } } yyj1141++ @@ -29274,7 +29272,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapIntfInt64X(x.FptrMapIntfInt64, d) + h.decMapInterfaceint64((*map[interface{}]int64)(x.FptrMapIntfInt64), d) } } yyj1141++ @@ -29293,7 +29291,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapIntfFloat32X(&x.FMapIntfFloat32, d) + h.decMapInterfacefloat32((*map[interface{}]float32)(&x.FMapIntfFloat32), d) } } yyj1141++ @@ -29318,7 +29316,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapIntfFloat32X(x.FptrMapIntfFloat32, d) + h.decMapInterfacefloat32((*map[interface{}]float32)(x.FptrMapIntfFloat32), d) } } yyj1141++ @@ -29337,7 +29335,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapIntfFloat64X(&x.FMapIntfFloat64, d) + h.decMapInterfacefloat64((*map[interface{}]float64)(&x.FMapIntfFloat64), d) } } yyj1141++ @@ -29362,7 +29360,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapIntfFloat64X(x.FptrMapIntfFloat64, d) + h.decMapInterfacefloat64((*map[interface{}]float64)(x.FptrMapIntfFloat64), d) } } yyj1141++ @@ -29381,7 +29379,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapIntfBoolX(&x.FMapIntfBool, d) + h.decMapInterfacebool((*map[interface{}]bool)(&x.FMapIntfBool), d) } } yyj1141++ @@ -29406,7 +29404,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapIntfBoolX(x.FptrMapIntfBool, d) + h.decMapInterfacebool((*map[interface{}]bool)(x.FptrMapIntfBool), d) } } yyj1141++ @@ -29425,7 +29423,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapStringIntfX(&x.FMapStringIntf, d) + h.decMapstringInterface((*map[string]interface{})(&x.FMapStringIntf), d) } } yyj1141++ @@ -29450,7 +29448,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapStringIntfX(x.FptrMapStringIntf, d) + h.decMapstringInterface((*map[string]interface{})(x.FptrMapStringIntf), d) } } yyj1141++ @@ -29469,7 +29467,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapStringStringX(&x.FMapStringString, d) + h.decMapstringstring((*map[string]string)(&x.FMapStringString), d) } } yyj1141++ @@ -29494,7 +29492,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapStringStringX(x.FptrMapStringString, d) + h.decMapstringstring((*map[string]string)(x.FptrMapStringString), d) } } yyj1141++ @@ -29513,7 +29511,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapStringUintX(&x.FMapStringUint, d) + h.decMapstringuint((*map[string]uint)(&x.FMapStringUint), d) } } yyj1141++ @@ -29538,7 +29536,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapStringUintX(x.FptrMapStringUint, d) + h.decMapstringuint((*map[string]uint)(x.FptrMapStringUint), d) } } yyj1141++ @@ -29557,7 +29555,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapStringUint8X(&x.FMapStringUint8, d) + h.decMapstringuint8((*map[string]uint8)(&x.FMapStringUint8), d) } } yyj1141++ @@ -29582,7 +29580,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapStringUint8X(x.FptrMapStringUint8, d) + h.decMapstringuint8((*map[string]uint8)(x.FptrMapStringUint8), d) } } yyj1141++ @@ -29601,7 +29599,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapStringUint16X(&x.FMapStringUint16, d) + h.decMapstringuint16((*map[string]uint16)(&x.FMapStringUint16), d) } } yyj1141++ @@ -29626,7 +29624,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapStringUint16X(x.FptrMapStringUint16, d) + h.decMapstringuint16((*map[string]uint16)(x.FptrMapStringUint16), d) } } yyj1141++ @@ -29645,7 +29643,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapStringUint32X(&x.FMapStringUint32, d) + h.decMapstringuint32((*map[string]uint32)(&x.FMapStringUint32), d) } } yyj1141++ @@ -29670,7 +29668,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapStringUint32X(x.FptrMapStringUint32, d) + h.decMapstringuint32((*map[string]uint32)(x.FptrMapStringUint32), d) } } yyj1141++ @@ -29689,7 +29687,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapStringUint64X(&x.FMapStringUint64, d) + h.decMapstringuint64((*map[string]uint64)(&x.FMapStringUint64), d) } } yyj1141++ @@ -29714,7 +29712,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapStringUint64X(x.FptrMapStringUint64, d) + h.decMapstringuint64((*map[string]uint64)(x.FptrMapStringUint64), d) } } yyj1141++ @@ -29733,7 +29731,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapStringUintptrX(&x.FMapStringUintptr, d) + h.decMapstringuintptr((*map[string]uintptr)(&x.FMapStringUintptr), d) } } yyj1141++ @@ -29758,7 +29756,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapStringUintptrX(x.FptrMapStringUintptr, d) + h.decMapstringuintptr((*map[string]uintptr)(x.FptrMapStringUintptr), d) } } yyj1141++ @@ -29777,7 +29775,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapStringIntX(&x.FMapStringInt, d) + h.decMapstringint((*map[string]int)(&x.FMapStringInt), d) } } yyj1141++ @@ -29802,7 +29800,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapStringIntX(x.FptrMapStringInt, d) + h.decMapstringint((*map[string]int)(x.FptrMapStringInt), d) } } yyj1141++ @@ -29821,7 +29819,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapStringInt8X(&x.FMapStringInt8, d) + h.decMapstringint8((*map[string]int8)(&x.FMapStringInt8), d) } } yyj1141++ @@ -29846,7 +29844,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapStringInt8X(x.FptrMapStringInt8, d) + h.decMapstringint8((*map[string]int8)(x.FptrMapStringInt8), d) } } yyj1141++ @@ -29865,7 +29863,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapStringInt16X(&x.FMapStringInt16, d) + h.decMapstringint16((*map[string]int16)(&x.FMapStringInt16), d) } } yyj1141++ @@ -29890,7 +29888,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapStringInt16X(x.FptrMapStringInt16, d) + h.decMapstringint16((*map[string]int16)(x.FptrMapStringInt16), d) } } yyj1141++ @@ -29909,7 +29907,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapStringInt32X(&x.FMapStringInt32, d) + h.decMapstringint32((*map[string]int32)(&x.FMapStringInt32), d) } } yyj1141++ @@ -29934,7 +29932,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapStringInt32X(x.FptrMapStringInt32, d) + h.decMapstringint32((*map[string]int32)(x.FptrMapStringInt32), d) } } yyj1141++ @@ -29953,7 +29951,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapStringInt64X(&x.FMapStringInt64, d) + h.decMapstringint64((*map[string]int64)(&x.FMapStringInt64), d) } } yyj1141++ @@ -29978,7 +29976,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapStringInt64X(x.FptrMapStringInt64, d) + h.decMapstringint64((*map[string]int64)(x.FptrMapStringInt64), d) } } yyj1141++ @@ -29997,7 +29995,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapStringFloat32X(&x.FMapStringFloat32, d) + h.decMapstringfloat32((*map[string]float32)(&x.FMapStringFloat32), d) } } yyj1141++ @@ -30022,7 +30020,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapStringFloat32X(x.FptrMapStringFloat32, d) + h.decMapstringfloat32((*map[string]float32)(x.FptrMapStringFloat32), d) } } yyj1141++ @@ -30041,7 +30039,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapStringFloat64X(&x.FMapStringFloat64, d) + h.decMapstringfloat64((*map[string]float64)(&x.FMapStringFloat64), d) } } yyj1141++ @@ -30066,7 +30064,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapStringFloat64X(x.FptrMapStringFloat64, d) + h.decMapstringfloat64((*map[string]float64)(x.FptrMapStringFloat64), d) } } yyj1141++ @@ -30085,7 +30083,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapStringBoolX(&x.FMapStringBool, d) + h.decMapstringbool((*map[string]bool)(&x.FMapStringBool), d) } } yyj1141++ @@ -30110,7 +30108,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapStringBoolX(x.FptrMapStringBool, d) + h.decMapstringbool((*map[string]bool)(x.FptrMapStringBool), d) } } yyj1141++ @@ -30129,7 +30127,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapFloat32IntfX(&x.FMapFloat32Intf, d) + h.decMapfloat32Interface((*map[float32]interface{})(&x.FMapFloat32Intf), d) } } yyj1141++ @@ -30154,7 +30152,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapFloat32IntfX(x.FptrMapFloat32Intf, d) + h.decMapfloat32Interface((*map[float32]interface{})(x.FptrMapFloat32Intf), d) } } yyj1141++ @@ -30173,7 +30171,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapFloat32StringX(&x.FMapFloat32String, d) + h.decMapfloat32string((*map[float32]string)(&x.FMapFloat32String), d) } } yyj1141++ @@ -30198,7 +30196,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapFloat32StringX(x.FptrMapFloat32String, d) + h.decMapfloat32string((*map[float32]string)(x.FptrMapFloat32String), d) } } yyj1141++ @@ -30217,7 +30215,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapFloat32UintX(&x.FMapFloat32Uint, d) + h.decMapfloat32uint((*map[float32]uint)(&x.FMapFloat32Uint), d) } } yyj1141++ @@ -30242,7 +30240,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapFloat32UintX(x.FptrMapFloat32Uint, d) + h.decMapfloat32uint((*map[float32]uint)(x.FptrMapFloat32Uint), d) } } yyj1141++ @@ -30261,7 +30259,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapFloat32Uint8X(&x.FMapFloat32Uint8, d) + h.decMapfloat32uint8((*map[float32]uint8)(&x.FMapFloat32Uint8), d) } } yyj1141++ @@ -30286,7 +30284,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapFloat32Uint8X(x.FptrMapFloat32Uint8, d) + h.decMapfloat32uint8((*map[float32]uint8)(x.FptrMapFloat32Uint8), d) } } yyj1141++ @@ -30305,7 +30303,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapFloat32Uint16X(&x.FMapFloat32Uint16, d) + h.decMapfloat32uint16((*map[float32]uint16)(&x.FMapFloat32Uint16), d) } } yyj1141++ @@ -30330,7 +30328,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapFloat32Uint16X(x.FptrMapFloat32Uint16, d) + h.decMapfloat32uint16((*map[float32]uint16)(x.FptrMapFloat32Uint16), d) } } yyj1141++ @@ -30349,7 +30347,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapFloat32Uint32X(&x.FMapFloat32Uint32, d) + h.decMapfloat32uint32((*map[float32]uint32)(&x.FMapFloat32Uint32), d) } } yyj1141++ @@ -30374,7 +30372,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapFloat32Uint32X(x.FptrMapFloat32Uint32, d) + h.decMapfloat32uint32((*map[float32]uint32)(x.FptrMapFloat32Uint32), d) } } yyj1141++ @@ -30393,7 +30391,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapFloat32Uint64X(&x.FMapFloat32Uint64, d) + h.decMapfloat32uint64((*map[float32]uint64)(&x.FMapFloat32Uint64), d) } } yyj1141++ @@ -30418,7 +30416,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapFloat32Uint64X(x.FptrMapFloat32Uint64, d) + h.decMapfloat32uint64((*map[float32]uint64)(x.FptrMapFloat32Uint64), d) } } yyj1141++ @@ -30437,7 +30435,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapFloat32UintptrX(&x.FMapFloat32Uintptr, d) + h.decMapfloat32uintptr((*map[float32]uintptr)(&x.FMapFloat32Uintptr), d) } } yyj1141++ @@ -30462,7 +30460,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapFloat32UintptrX(x.FptrMapFloat32Uintptr, d) + h.decMapfloat32uintptr((*map[float32]uintptr)(x.FptrMapFloat32Uintptr), d) } } yyj1141++ @@ -30481,7 +30479,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapFloat32IntX(&x.FMapFloat32Int, d) + h.decMapfloat32int((*map[float32]int)(&x.FMapFloat32Int), d) } } yyj1141++ @@ -30506,7 +30504,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapFloat32IntX(x.FptrMapFloat32Int, d) + h.decMapfloat32int((*map[float32]int)(x.FptrMapFloat32Int), d) } } yyj1141++ @@ -30525,7 +30523,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapFloat32Int8X(&x.FMapFloat32Int8, d) + h.decMapfloat32int8((*map[float32]int8)(&x.FMapFloat32Int8), d) } } yyj1141++ @@ -30550,7 +30548,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapFloat32Int8X(x.FptrMapFloat32Int8, d) + h.decMapfloat32int8((*map[float32]int8)(x.FptrMapFloat32Int8), d) } } yyj1141++ @@ -30569,7 +30567,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapFloat32Int16X(&x.FMapFloat32Int16, d) + h.decMapfloat32int16((*map[float32]int16)(&x.FMapFloat32Int16), d) } } yyj1141++ @@ -30594,7 +30592,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapFloat32Int16X(x.FptrMapFloat32Int16, d) + h.decMapfloat32int16((*map[float32]int16)(x.FptrMapFloat32Int16), d) } } yyj1141++ @@ -30613,7 +30611,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapFloat32Int32X(&x.FMapFloat32Int32, d) + h.decMapfloat32int32((*map[float32]int32)(&x.FMapFloat32Int32), d) } } yyj1141++ @@ -30638,7 +30636,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapFloat32Int32X(x.FptrMapFloat32Int32, d) + h.decMapfloat32int32((*map[float32]int32)(x.FptrMapFloat32Int32), d) } } yyj1141++ @@ -30657,7 +30655,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapFloat32Int64X(&x.FMapFloat32Int64, d) + h.decMapfloat32int64((*map[float32]int64)(&x.FMapFloat32Int64), d) } } yyj1141++ @@ -30682,7 +30680,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapFloat32Int64X(x.FptrMapFloat32Int64, d) + h.decMapfloat32int64((*map[float32]int64)(x.FptrMapFloat32Int64), d) } } yyj1141++ @@ -30701,7 +30699,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapFloat32Float32X(&x.FMapFloat32Float32, d) + h.decMapfloat32float32((*map[float32]float32)(&x.FMapFloat32Float32), d) } } yyj1141++ @@ -30726,7 +30724,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapFloat32Float32X(x.FptrMapFloat32Float32, d) + h.decMapfloat32float32((*map[float32]float32)(x.FptrMapFloat32Float32), d) } } yyj1141++ @@ -30745,7 +30743,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapFloat32Float64X(&x.FMapFloat32Float64, d) + h.decMapfloat32float64((*map[float32]float64)(&x.FMapFloat32Float64), d) } } yyj1141++ @@ -30770,7 +30768,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapFloat32Float64X(x.FptrMapFloat32Float64, d) + h.decMapfloat32float64((*map[float32]float64)(x.FptrMapFloat32Float64), d) } } yyj1141++ @@ -30789,7 +30787,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapFloat32BoolX(&x.FMapFloat32Bool, d) + h.decMapfloat32bool((*map[float32]bool)(&x.FMapFloat32Bool), d) } } yyj1141++ @@ -30814,7 +30812,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapFloat32BoolX(x.FptrMapFloat32Bool, d) + h.decMapfloat32bool((*map[float32]bool)(x.FptrMapFloat32Bool), d) } } yyj1141++ @@ -30833,7 +30831,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapFloat64IntfX(&x.FMapFloat64Intf, d) + h.decMapfloat64Interface((*map[float64]interface{})(&x.FMapFloat64Intf), d) } } yyj1141++ @@ -30858,7 +30856,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapFloat64IntfX(x.FptrMapFloat64Intf, d) + h.decMapfloat64Interface((*map[float64]interface{})(x.FptrMapFloat64Intf), d) } } yyj1141++ @@ -30877,7 +30875,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapFloat64StringX(&x.FMapFloat64String, d) + h.decMapfloat64string((*map[float64]string)(&x.FMapFloat64String), d) } } yyj1141++ @@ -30902,7 +30900,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapFloat64StringX(x.FptrMapFloat64String, d) + h.decMapfloat64string((*map[float64]string)(x.FptrMapFloat64String), d) } } yyj1141++ @@ -30921,7 +30919,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapFloat64UintX(&x.FMapFloat64Uint, d) + h.decMapfloat64uint((*map[float64]uint)(&x.FMapFloat64Uint), d) } } yyj1141++ @@ -30946,7 +30944,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapFloat64UintX(x.FptrMapFloat64Uint, d) + h.decMapfloat64uint((*map[float64]uint)(x.FptrMapFloat64Uint), d) } } yyj1141++ @@ -30965,7 +30963,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapFloat64Uint8X(&x.FMapFloat64Uint8, d) + h.decMapfloat64uint8((*map[float64]uint8)(&x.FMapFloat64Uint8), d) } } yyj1141++ @@ -30990,7 +30988,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapFloat64Uint8X(x.FptrMapFloat64Uint8, d) + h.decMapfloat64uint8((*map[float64]uint8)(x.FptrMapFloat64Uint8), d) } } yyj1141++ @@ -31009,7 +31007,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapFloat64Uint16X(&x.FMapFloat64Uint16, d) + h.decMapfloat64uint16((*map[float64]uint16)(&x.FMapFloat64Uint16), d) } } yyj1141++ @@ -31034,7 +31032,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapFloat64Uint16X(x.FptrMapFloat64Uint16, d) + h.decMapfloat64uint16((*map[float64]uint16)(x.FptrMapFloat64Uint16), d) } } yyj1141++ @@ -31053,7 +31051,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapFloat64Uint32X(&x.FMapFloat64Uint32, d) + h.decMapfloat64uint32((*map[float64]uint32)(&x.FMapFloat64Uint32), d) } } yyj1141++ @@ -31078,7 +31076,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapFloat64Uint32X(x.FptrMapFloat64Uint32, d) + h.decMapfloat64uint32((*map[float64]uint32)(x.FptrMapFloat64Uint32), d) } } yyj1141++ @@ -31097,7 +31095,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapFloat64Uint64X(&x.FMapFloat64Uint64, d) + h.decMapfloat64uint64((*map[float64]uint64)(&x.FMapFloat64Uint64), d) } } yyj1141++ @@ -31122,7 +31120,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapFloat64Uint64X(x.FptrMapFloat64Uint64, d) + h.decMapfloat64uint64((*map[float64]uint64)(x.FptrMapFloat64Uint64), d) } } yyj1141++ @@ -31141,7 +31139,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapFloat64UintptrX(&x.FMapFloat64Uintptr, d) + h.decMapfloat64uintptr((*map[float64]uintptr)(&x.FMapFloat64Uintptr), d) } } yyj1141++ @@ -31166,7 +31164,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapFloat64UintptrX(x.FptrMapFloat64Uintptr, d) + h.decMapfloat64uintptr((*map[float64]uintptr)(x.FptrMapFloat64Uintptr), d) } } yyj1141++ @@ -31185,7 +31183,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapFloat64IntX(&x.FMapFloat64Int, d) + h.decMapfloat64int((*map[float64]int)(&x.FMapFloat64Int), d) } } yyj1141++ @@ -31210,7 +31208,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapFloat64IntX(x.FptrMapFloat64Int, d) + h.decMapfloat64int((*map[float64]int)(x.FptrMapFloat64Int), d) } } yyj1141++ @@ -31229,7 +31227,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapFloat64Int8X(&x.FMapFloat64Int8, d) + h.decMapfloat64int8((*map[float64]int8)(&x.FMapFloat64Int8), d) } } yyj1141++ @@ -31254,7 +31252,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapFloat64Int8X(x.FptrMapFloat64Int8, d) + h.decMapfloat64int8((*map[float64]int8)(x.FptrMapFloat64Int8), d) } } yyj1141++ @@ -31273,7 +31271,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapFloat64Int16X(&x.FMapFloat64Int16, d) + h.decMapfloat64int16((*map[float64]int16)(&x.FMapFloat64Int16), d) } } yyj1141++ @@ -31298,7 +31296,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapFloat64Int16X(x.FptrMapFloat64Int16, d) + h.decMapfloat64int16((*map[float64]int16)(x.FptrMapFloat64Int16), d) } } yyj1141++ @@ -31317,7 +31315,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapFloat64Int32X(&x.FMapFloat64Int32, d) + h.decMapfloat64int32((*map[float64]int32)(&x.FMapFloat64Int32), d) } } yyj1141++ @@ -31342,7 +31340,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapFloat64Int32X(x.FptrMapFloat64Int32, d) + h.decMapfloat64int32((*map[float64]int32)(x.FptrMapFloat64Int32), d) } } yyj1141++ @@ -31361,7 +31359,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapFloat64Int64X(&x.FMapFloat64Int64, d) + h.decMapfloat64int64((*map[float64]int64)(&x.FMapFloat64Int64), d) } } yyj1141++ @@ -31386,7 +31384,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapFloat64Int64X(x.FptrMapFloat64Int64, d) + h.decMapfloat64int64((*map[float64]int64)(x.FptrMapFloat64Int64), d) } } yyj1141++ @@ -31405,7 +31403,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapFloat64Float32X(&x.FMapFloat64Float32, d) + h.decMapfloat64float32((*map[float64]float32)(&x.FMapFloat64Float32), d) } } yyj1141++ @@ -31430,7 +31428,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapFloat64Float32X(x.FptrMapFloat64Float32, d) + h.decMapfloat64float32((*map[float64]float32)(x.FptrMapFloat64Float32), d) } } yyj1141++ @@ -31449,7 +31447,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapFloat64Float64X(&x.FMapFloat64Float64, d) + h.decMapfloat64float64((*map[float64]float64)(&x.FMapFloat64Float64), d) } } yyj1141++ @@ -31474,7 +31472,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapFloat64Float64X(x.FptrMapFloat64Float64, d) + h.decMapfloat64float64((*map[float64]float64)(x.FptrMapFloat64Float64), d) } } yyj1141++ @@ -31493,7 +31491,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapFloat64BoolX(&x.FMapFloat64Bool, d) + h.decMapfloat64bool((*map[float64]bool)(&x.FMapFloat64Bool), d) } } yyj1141++ @@ -31518,7 +31516,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapFloat64BoolX(x.FptrMapFloat64Bool, d) + h.decMapfloat64bool((*map[float64]bool)(x.FptrMapFloat64Bool), d) } } yyj1141++ @@ -31537,7 +31535,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUintIntfX(&x.FMapUintIntf, d) + h.decMapuintInterface((*map[uint]interface{})(&x.FMapUintIntf), d) } } yyj1141++ @@ -31562,7 +31560,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapUintIntfX(x.FptrMapUintIntf, d) + h.decMapuintInterface((*map[uint]interface{})(x.FptrMapUintIntf), d) } } yyj1141++ @@ -31581,7 +31579,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUintStringX(&x.FMapUintString, d) + h.decMapuintstring((*map[uint]string)(&x.FMapUintString), d) } } yyj1141++ @@ -31606,7 +31604,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapUintStringX(x.FptrMapUintString, d) + h.decMapuintstring((*map[uint]string)(x.FptrMapUintString), d) } } yyj1141++ @@ -31625,7 +31623,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUintUintX(&x.FMapUintUint, d) + h.decMapuintuint((*map[uint]uint)(&x.FMapUintUint), d) } } yyj1141++ @@ -31650,7 +31648,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapUintUintX(x.FptrMapUintUint, d) + h.decMapuintuint((*map[uint]uint)(x.FptrMapUintUint), d) } } yyj1141++ @@ -31669,7 +31667,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUintUint8X(&x.FMapUintUint8, d) + h.decMapuintuint8((*map[uint]uint8)(&x.FMapUintUint8), d) } } yyj1141++ @@ -31694,7 +31692,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapUintUint8X(x.FptrMapUintUint8, d) + h.decMapuintuint8((*map[uint]uint8)(x.FptrMapUintUint8), d) } } yyj1141++ @@ -31713,7 +31711,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUintUint16X(&x.FMapUintUint16, d) + h.decMapuintuint16((*map[uint]uint16)(&x.FMapUintUint16), d) } } yyj1141++ @@ -31738,7 +31736,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapUintUint16X(x.FptrMapUintUint16, d) + h.decMapuintuint16((*map[uint]uint16)(x.FptrMapUintUint16), d) } } yyj1141++ @@ -31757,7 +31755,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUintUint32X(&x.FMapUintUint32, d) + h.decMapuintuint32((*map[uint]uint32)(&x.FMapUintUint32), d) } } yyj1141++ @@ -31782,7 +31780,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapUintUint32X(x.FptrMapUintUint32, d) + h.decMapuintuint32((*map[uint]uint32)(x.FptrMapUintUint32), d) } } yyj1141++ @@ -31801,7 +31799,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUintUint64X(&x.FMapUintUint64, d) + h.decMapuintuint64((*map[uint]uint64)(&x.FMapUintUint64), d) } } yyj1141++ @@ -31826,7 +31824,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapUintUint64X(x.FptrMapUintUint64, d) + h.decMapuintuint64((*map[uint]uint64)(x.FptrMapUintUint64), d) } } yyj1141++ @@ -31845,7 +31843,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUintUintptrX(&x.FMapUintUintptr, d) + h.decMapuintuintptr((*map[uint]uintptr)(&x.FMapUintUintptr), d) } } yyj1141++ @@ -31870,7 +31868,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapUintUintptrX(x.FptrMapUintUintptr, d) + h.decMapuintuintptr((*map[uint]uintptr)(x.FptrMapUintUintptr), d) } } yyj1141++ @@ -31889,7 +31887,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUintIntX(&x.FMapUintInt, d) + h.decMapuintint((*map[uint]int)(&x.FMapUintInt), d) } } yyj1141++ @@ -31914,7 +31912,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapUintIntX(x.FptrMapUintInt, d) + h.decMapuintint((*map[uint]int)(x.FptrMapUintInt), d) } } yyj1141++ @@ -31933,7 +31931,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUintInt8X(&x.FMapUintInt8, d) + h.decMapuintint8((*map[uint]int8)(&x.FMapUintInt8), d) } } yyj1141++ @@ -31958,7 +31956,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapUintInt8X(x.FptrMapUintInt8, d) + h.decMapuintint8((*map[uint]int8)(x.FptrMapUintInt8), d) } } yyj1141++ @@ -31977,7 +31975,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUintInt16X(&x.FMapUintInt16, d) + h.decMapuintint16((*map[uint]int16)(&x.FMapUintInt16), d) } } yyj1141++ @@ -32002,7 +32000,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapUintInt16X(x.FptrMapUintInt16, d) + h.decMapuintint16((*map[uint]int16)(x.FptrMapUintInt16), d) } } yyj1141++ @@ -32021,7 +32019,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUintInt32X(&x.FMapUintInt32, d) + h.decMapuintint32((*map[uint]int32)(&x.FMapUintInt32), d) } } yyj1141++ @@ -32046,7 +32044,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapUintInt32X(x.FptrMapUintInt32, d) + h.decMapuintint32((*map[uint]int32)(x.FptrMapUintInt32), d) } } yyj1141++ @@ -32065,7 +32063,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUintInt64X(&x.FMapUintInt64, d) + h.decMapuintint64((*map[uint]int64)(&x.FMapUintInt64), d) } } yyj1141++ @@ -32090,7 +32088,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapUintInt64X(x.FptrMapUintInt64, d) + h.decMapuintint64((*map[uint]int64)(x.FptrMapUintInt64), d) } } yyj1141++ @@ -32109,7 +32107,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUintFloat32X(&x.FMapUintFloat32, d) + h.decMapuintfloat32((*map[uint]float32)(&x.FMapUintFloat32), d) } } yyj1141++ @@ -32134,7 +32132,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapUintFloat32X(x.FptrMapUintFloat32, d) + h.decMapuintfloat32((*map[uint]float32)(x.FptrMapUintFloat32), d) } } yyj1141++ @@ -32153,7 +32151,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUintFloat64X(&x.FMapUintFloat64, d) + h.decMapuintfloat64((*map[uint]float64)(&x.FMapUintFloat64), d) } } yyj1141++ @@ -32178,7 +32176,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapUintFloat64X(x.FptrMapUintFloat64, d) + h.decMapuintfloat64((*map[uint]float64)(x.FptrMapUintFloat64), d) } } yyj1141++ @@ -32197,7 +32195,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUintBoolX(&x.FMapUintBool, d) + h.decMapuintbool((*map[uint]bool)(&x.FMapUintBool), d) } } yyj1141++ @@ -32222,7 +32220,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapUintBoolX(x.FptrMapUintBool, d) + h.decMapuintbool((*map[uint]bool)(x.FptrMapUintBool), d) } } yyj1141++ @@ -32241,7 +32239,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint8IntfX(&x.FMapUint8Intf, d) + h.decMapuint8Interface((*map[uint8]interface{})(&x.FMapUint8Intf), d) } } yyj1141++ @@ -32266,7 +32264,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapUint8IntfX(x.FptrMapUint8Intf, d) + h.decMapuint8Interface((*map[uint8]interface{})(x.FptrMapUint8Intf), d) } } yyj1141++ @@ -32285,7 +32283,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint8StringX(&x.FMapUint8String, d) + h.decMapuint8string((*map[uint8]string)(&x.FMapUint8String), d) } } yyj1141++ @@ -32310,7 +32308,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapUint8StringX(x.FptrMapUint8String, d) + h.decMapuint8string((*map[uint8]string)(x.FptrMapUint8String), d) } } yyj1141++ @@ -32329,7 +32327,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint8UintX(&x.FMapUint8Uint, d) + h.decMapuint8uint((*map[uint8]uint)(&x.FMapUint8Uint), d) } } yyj1141++ @@ -32354,7 +32352,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapUint8UintX(x.FptrMapUint8Uint, d) + h.decMapuint8uint((*map[uint8]uint)(x.FptrMapUint8Uint), d) } } yyj1141++ @@ -32373,7 +32371,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint8Uint8X(&x.FMapUint8Uint8, d) + h.decMapuint8uint8((*map[uint8]uint8)(&x.FMapUint8Uint8), d) } } yyj1141++ @@ -32398,7 +32396,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapUint8Uint8X(x.FptrMapUint8Uint8, d) + h.decMapuint8uint8((*map[uint8]uint8)(x.FptrMapUint8Uint8), d) } } yyj1141++ @@ -32417,7 +32415,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint8Uint16X(&x.FMapUint8Uint16, d) + h.decMapuint8uint16((*map[uint8]uint16)(&x.FMapUint8Uint16), d) } } yyj1141++ @@ -32442,7 +32440,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapUint8Uint16X(x.FptrMapUint8Uint16, d) + h.decMapuint8uint16((*map[uint8]uint16)(x.FptrMapUint8Uint16), d) } } yyj1141++ @@ -32461,7 +32459,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint8Uint32X(&x.FMapUint8Uint32, d) + h.decMapuint8uint32((*map[uint8]uint32)(&x.FMapUint8Uint32), d) } } yyj1141++ @@ -32486,7 +32484,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapUint8Uint32X(x.FptrMapUint8Uint32, d) + h.decMapuint8uint32((*map[uint8]uint32)(x.FptrMapUint8Uint32), d) } } yyj1141++ @@ -32505,7 +32503,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint8Uint64X(&x.FMapUint8Uint64, d) + h.decMapuint8uint64((*map[uint8]uint64)(&x.FMapUint8Uint64), d) } } yyj1141++ @@ -32530,7 +32528,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapUint8Uint64X(x.FptrMapUint8Uint64, d) + h.decMapuint8uint64((*map[uint8]uint64)(x.FptrMapUint8Uint64), d) } } yyj1141++ @@ -32549,7 +32547,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint8UintptrX(&x.FMapUint8Uintptr, d) + h.decMapuint8uintptr((*map[uint8]uintptr)(&x.FMapUint8Uintptr), d) } } yyj1141++ @@ -32574,7 +32572,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapUint8UintptrX(x.FptrMapUint8Uintptr, d) + h.decMapuint8uintptr((*map[uint8]uintptr)(x.FptrMapUint8Uintptr), d) } } yyj1141++ @@ -32593,7 +32591,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint8IntX(&x.FMapUint8Int, d) + h.decMapuint8int((*map[uint8]int)(&x.FMapUint8Int), d) } } yyj1141++ @@ -32618,7 +32616,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapUint8IntX(x.FptrMapUint8Int, d) + h.decMapuint8int((*map[uint8]int)(x.FptrMapUint8Int), d) } } yyj1141++ @@ -32637,7 +32635,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint8Int8X(&x.FMapUint8Int8, d) + h.decMapuint8int8((*map[uint8]int8)(&x.FMapUint8Int8), d) } } yyj1141++ @@ -32662,7 +32660,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapUint8Int8X(x.FptrMapUint8Int8, d) + h.decMapuint8int8((*map[uint8]int8)(x.FptrMapUint8Int8), d) } } yyj1141++ @@ -32681,7 +32679,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint8Int16X(&x.FMapUint8Int16, d) + h.decMapuint8int16((*map[uint8]int16)(&x.FMapUint8Int16), d) } } yyj1141++ @@ -32706,7 +32704,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapUint8Int16X(x.FptrMapUint8Int16, d) + h.decMapuint8int16((*map[uint8]int16)(x.FptrMapUint8Int16), d) } } yyj1141++ @@ -32725,7 +32723,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint8Int32X(&x.FMapUint8Int32, d) + h.decMapuint8int32((*map[uint8]int32)(&x.FMapUint8Int32), d) } } yyj1141++ @@ -32750,7 +32748,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapUint8Int32X(x.FptrMapUint8Int32, d) + h.decMapuint8int32((*map[uint8]int32)(x.FptrMapUint8Int32), d) } } yyj1141++ @@ -32769,7 +32767,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint8Int64X(&x.FMapUint8Int64, d) + h.decMapuint8int64((*map[uint8]int64)(&x.FMapUint8Int64), d) } } yyj1141++ @@ -32794,7 +32792,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapUint8Int64X(x.FptrMapUint8Int64, d) + h.decMapuint8int64((*map[uint8]int64)(x.FptrMapUint8Int64), d) } } yyj1141++ @@ -32813,7 +32811,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint8Float32X(&x.FMapUint8Float32, d) + h.decMapuint8float32((*map[uint8]float32)(&x.FMapUint8Float32), d) } } yyj1141++ @@ -32838,7 +32836,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapUint8Float32X(x.FptrMapUint8Float32, d) + h.decMapuint8float32((*map[uint8]float32)(x.FptrMapUint8Float32), d) } } yyj1141++ @@ -32857,7 +32855,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint8Float64X(&x.FMapUint8Float64, d) + h.decMapuint8float64((*map[uint8]float64)(&x.FMapUint8Float64), d) } } yyj1141++ @@ -32882,7 +32880,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapUint8Float64X(x.FptrMapUint8Float64, d) + h.decMapuint8float64((*map[uint8]float64)(x.FptrMapUint8Float64), d) } } yyj1141++ @@ -32901,7 +32899,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint8BoolX(&x.FMapUint8Bool, d) + h.decMapuint8bool((*map[uint8]bool)(&x.FMapUint8Bool), d) } } yyj1141++ @@ -32926,7 +32924,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapUint8BoolX(x.FptrMapUint8Bool, d) + h.decMapuint8bool((*map[uint8]bool)(x.FptrMapUint8Bool), d) } } yyj1141++ @@ -32945,7 +32943,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint16IntfX(&x.FMapUint16Intf, d) + h.decMapuint16Interface((*map[uint16]interface{})(&x.FMapUint16Intf), d) } } yyj1141++ @@ -32970,7 +32968,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapUint16IntfX(x.FptrMapUint16Intf, d) + h.decMapuint16Interface((*map[uint16]interface{})(x.FptrMapUint16Intf), d) } } yyj1141++ @@ -32989,7 +32987,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint16StringX(&x.FMapUint16String, d) + h.decMapuint16string((*map[uint16]string)(&x.FMapUint16String), d) } } yyj1141++ @@ -33014,7 +33012,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapUint16StringX(x.FptrMapUint16String, d) + h.decMapuint16string((*map[uint16]string)(x.FptrMapUint16String), d) } } yyj1141++ @@ -33033,7 +33031,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint16UintX(&x.FMapUint16Uint, d) + h.decMapuint16uint((*map[uint16]uint)(&x.FMapUint16Uint), d) } } yyj1141++ @@ -33058,7 +33056,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapUint16UintX(x.FptrMapUint16Uint, d) + h.decMapuint16uint((*map[uint16]uint)(x.FptrMapUint16Uint), d) } } yyj1141++ @@ -33077,7 +33075,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint16Uint8X(&x.FMapUint16Uint8, d) + h.decMapuint16uint8((*map[uint16]uint8)(&x.FMapUint16Uint8), d) } } yyj1141++ @@ -33102,7 +33100,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapUint16Uint8X(x.FptrMapUint16Uint8, d) + h.decMapuint16uint8((*map[uint16]uint8)(x.FptrMapUint16Uint8), d) } } yyj1141++ @@ -33121,7 +33119,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint16Uint16X(&x.FMapUint16Uint16, d) + h.decMapuint16uint16((*map[uint16]uint16)(&x.FMapUint16Uint16), d) } } yyj1141++ @@ -33146,7 +33144,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapUint16Uint16X(x.FptrMapUint16Uint16, d) + h.decMapuint16uint16((*map[uint16]uint16)(x.FptrMapUint16Uint16), d) } } yyj1141++ @@ -33165,7 +33163,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint16Uint32X(&x.FMapUint16Uint32, d) + h.decMapuint16uint32((*map[uint16]uint32)(&x.FMapUint16Uint32), d) } } yyj1141++ @@ -33190,7 +33188,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapUint16Uint32X(x.FptrMapUint16Uint32, d) + h.decMapuint16uint32((*map[uint16]uint32)(x.FptrMapUint16Uint32), d) } } yyj1141++ @@ -33209,7 +33207,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint16Uint64X(&x.FMapUint16Uint64, d) + h.decMapuint16uint64((*map[uint16]uint64)(&x.FMapUint16Uint64), d) } } yyj1141++ @@ -33234,7 +33232,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapUint16Uint64X(x.FptrMapUint16Uint64, d) + h.decMapuint16uint64((*map[uint16]uint64)(x.FptrMapUint16Uint64), d) } } yyj1141++ @@ -33253,7 +33251,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint16UintptrX(&x.FMapUint16Uintptr, d) + h.decMapuint16uintptr((*map[uint16]uintptr)(&x.FMapUint16Uintptr), d) } } yyj1141++ @@ -33278,7 +33276,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapUint16UintptrX(x.FptrMapUint16Uintptr, d) + h.decMapuint16uintptr((*map[uint16]uintptr)(x.FptrMapUint16Uintptr), d) } } yyj1141++ @@ -33297,7 +33295,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint16IntX(&x.FMapUint16Int, d) + h.decMapuint16int((*map[uint16]int)(&x.FMapUint16Int), d) } } yyj1141++ @@ -33322,7 +33320,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapUint16IntX(x.FptrMapUint16Int, d) + h.decMapuint16int((*map[uint16]int)(x.FptrMapUint16Int), d) } } yyj1141++ @@ -33341,7 +33339,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint16Int8X(&x.FMapUint16Int8, d) + h.decMapuint16int8((*map[uint16]int8)(&x.FMapUint16Int8), d) } } yyj1141++ @@ -33366,7 +33364,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapUint16Int8X(x.FptrMapUint16Int8, d) + h.decMapuint16int8((*map[uint16]int8)(x.FptrMapUint16Int8), d) } } yyj1141++ @@ -33385,7 +33383,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint16Int16X(&x.FMapUint16Int16, d) + h.decMapuint16int16((*map[uint16]int16)(&x.FMapUint16Int16), d) } } yyj1141++ @@ -33410,7 +33408,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapUint16Int16X(x.FptrMapUint16Int16, d) + h.decMapuint16int16((*map[uint16]int16)(x.FptrMapUint16Int16), d) } } yyj1141++ @@ -33429,7 +33427,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint16Int32X(&x.FMapUint16Int32, d) + h.decMapuint16int32((*map[uint16]int32)(&x.FMapUint16Int32), d) } } yyj1141++ @@ -33454,7 +33452,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapUint16Int32X(x.FptrMapUint16Int32, d) + h.decMapuint16int32((*map[uint16]int32)(x.FptrMapUint16Int32), d) } } yyj1141++ @@ -33473,7 +33471,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint16Int64X(&x.FMapUint16Int64, d) + h.decMapuint16int64((*map[uint16]int64)(&x.FMapUint16Int64), d) } } yyj1141++ @@ -33498,7 +33496,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapUint16Int64X(x.FptrMapUint16Int64, d) + h.decMapuint16int64((*map[uint16]int64)(x.FptrMapUint16Int64), d) } } yyj1141++ @@ -33517,7 +33515,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint16Float32X(&x.FMapUint16Float32, d) + h.decMapuint16float32((*map[uint16]float32)(&x.FMapUint16Float32), d) } } yyj1141++ @@ -33542,7 +33540,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapUint16Float32X(x.FptrMapUint16Float32, d) + h.decMapuint16float32((*map[uint16]float32)(x.FptrMapUint16Float32), d) } } yyj1141++ @@ -33561,7 +33559,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint16Float64X(&x.FMapUint16Float64, d) + h.decMapuint16float64((*map[uint16]float64)(&x.FMapUint16Float64), d) } } yyj1141++ @@ -33586,7 +33584,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapUint16Float64X(x.FptrMapUint16Float64, d) + h.decMapuint16float64((*map[uint16]float64)(x.FptrMapUint16Float64), d) } } yyj1141++ @@ -33605,7 +33603,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint16BoolX(&x.FMapUint16Bool, d) + h.decMapuint16bool((*map[uint16]bool)(&x.FMapUint16Bool), d) } } yyj1141++ @@ -33630,7 +33628,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapUint16BoolX(x.FptrMapUint16Bool, d) + h.decMapuint16bool((*map[uint16]bool)(x.FptrMapUint16Bool), d) } } yyj1141++ @@ -33649,7 +33647,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint32IntfX(&x.FMapUint32Intf, d) + h.decMapuint32Interface((*map[uint32]interface{})(&x.FMapUint32Intf), d) } } yyj1141++ @@ -33674,7 +33672,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapUint32IntfX(x.FptrMapUint32Intf, d) + h.decMapuint32Interface((*map[uint32]interface{})(x.FptrMapUint32Intf), d) } } yyj1141++ @@ -33693,7 +33691,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint32StringX(&x.FMapUint32String, d) + h.decMapuint32string((*map[uint32]string)(&x.FMapUint32String), d) } } yyj1141++ @@ -33718,7 +33716,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapUint32StringX(x.FptrMapUint32String, d) + h.decMapuint32string((*map[uint32]string)(x.FptrMapUint32String), d) } } yyj1141++ @@ -33737,7 +33735,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint32UintX(&x.FMapUint32Uint, d) + h.decMapuint32uint((*map[uint32]uint)(&x.FMapUint32Uint), d) } } yyj1141++ @@ -33762,7 +33760,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapUint32UintX(x.FptrMapUint32Uint, d) + h.decMapuint32uint((*map[uint32]uint)(x.FptrMapUint32Uint), d) } } yyj1141++ @@ -33781,7 +33779,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint32Uint8X(&x.FMapUint32Uint8, d) + h.decMapuint32uint8((*map[uint32]uint8)(&x.FMapUint32Uint8), d) } } yyj1141++ @@ -33806,7 +33804,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapUint32Uint8X(x.FptrMapUint32Uint8, d) + h.decMapuint32uint8((*map[uint32]uint8)(x.FptrMapUint32Uint8), d) } } yyj1141++ @@ -33825,7 +33823,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint32Uint16X(&x.FMapUint32Uint16, d) + h.decMapuint32uint16((*map[uint32]uint16)(&x.FMapUint32Uint16), d) } } yyj1141++ @@ -33850,7 +33848,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapUint32Uint16X(x.FptrMapUint32Uint16, d) + h.decMapuint32uint16((*map[uint32]uint16)(x.FptrMapUint32Uint16), d) } } yyj1141++ @@ -33869,7 +33867,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint32Uint32X(&x.FMapUint32Uint32, d) + h.decMapuint32uint32((*map[uint32]uint32)(&x.FMapUint32Uint32), d) } } yyj1141++ @@ -33894,7 +33892,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapUint32Uint32X(x.FptrMapUint32Uint32, d) + h.decMapuint32uint32((*map[uint32]uint32)(x.FptrMapUint32Uint32), d) } } yyj1141++ @@ -33913,7 +33911,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint32Uint64X(&x.FMapUint32Uint64, d) + h.decMapuint32uint64((*map[uint32]uint64)(&x.FMapUint32Uint64), d) } } yyj1141++ @@ -33938,7 +33936,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapUint32Uint64X(x.FptrMapUint32Uint64, d) + h.decMapuint32uint64((*map[uint32]uint64)(x.FptrMapUint32Uint64), d) } } yyj1141++ @@ -33957,7 +33955,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint32UintptrX(&x.FMapUint32Uintptr, d) + h.decMapuint32uintptr((*map[uint32]uintptr)(&x.FMapUint32Uintptr), d) } } yyj1141++ @@ -33982,7 +33980,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapUint32UintptrX(x.FptrMapUint32Uintptr, d) + h.decMapuint32uintptr((*map[uint32]uintptr)(x.FptrMapUint32Uintptr), d) } } yyj1141++ @@ -34001,7 +33999,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint32IntX(&x.FMapUint32Int, d) + h.decMapuint32int((*map[uint32]int)(&x.FMapUint32Int), d) } } yyj1141++ @@ -34026,7 +34024,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapUint32IntX(x.FptrMapUint32Int, d) + h.decMapuint32int((*map[uint32]int)(x.FptrMapUint32Int), d) } } yyj1141++ @@ -34045,7 +34043,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint32Int8X(&x.FMapUint32Int8, d) + h.decMapuint32int8((*map[uint32]int8)(&x.FMapUint32Int8), d) } } yyj1141++ @@ -34070,7 +34068,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapUint32Int8X(x.FptrMapUint32Int8, d) + h.decMapuint32int8((*map[uint32]int8)(x.FptrMapUint32Int8), d) } } yyj1141++ @@ -34089,7 +34087,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint32Int16X(&x.FMapUint32Int16, d) + h.decMapuint32int16((*map[uint32]int16)(&x.FMapUint32Int16), d) } } yyj1141++ @@ -34114,7 +34112,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapUint32Int16X(x.FptrMapUint32Int16, d) + h.decMapuint32int16((*map[uint32]int16)(x.FptrMapUint32Int16), d) } } yyj1141++ @@ -34133,7 +34131,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint32Int32X(&x.FMapUint32Int32, d) + h.decMapuint32int32((*map[uint32]int32)(&x.FMapUint32Int32), d) } } yyj1141++ @@ -34158,7 +34156,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapUint32Int32X(x.FptrMapUint32Int32, d) + h.decMapuint32int32((*map[uint32]int32)(x.FptrMapUint32Int32), d) } } yyj1141++ @@ -34177,7 +34175,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint32Int64X(&x.FMapUint32Int64, d) + h.decMapuint32int64((*map[uint32]int64)(&x.FMapUint32Int64), d) } } yyj1141++ @@ -34202,7 +34200,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapUint32Int64X(x.FptrMapUint32Int64, d) + h.decMapuint32int64((*map[uint32]int64)(x.FptrMapUint32Int64), d) } } yyj1141++ @@ -34221,7 +34219,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint32Float32X(&x.FMapUint32Float32, d) + h.decMapuint32float32((*map[uint32]float32)(&x.FMapUint32Float32), d) } } yyj1141++ @@ -34246,7 +34244,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapUint32Float32X(x.FptrMapUint32Float32, d) + h.decMapuint32float32((*map[uint32]float32)(x.FptrMapUint32Float32), d) } } yyj1141++ @@ -34265,7 +34263,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint32Float64X(&x.FMapUint32Float64, d) + h.decMapuint32float64((*map[uint32]float64)(&x.FMapUint32Float64), d) } } yyj1141++ @@ -34290,7 +34288,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapUint32Float64X(x.FptrMapUint32Float64, d) + h.decMapuint32float64((*map[uint32]float64)(x.FptrMapUint32Float64), d) } } yyj1141++ @@ -34309,7 +34307,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint32BoolX(&x.FMapUint32Bool, d) + h.decMapuint32bool((*map[uint32]bool)(&x.FMapUint32Bool), d) } } yyj1141++ @@ -34334,7 +34332,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapUint32BoolX(x.FptrMapUint32Bool, d) + h.decMapuint32bool((*map[uint32]bool)(x.FptrMapUint32Bool), d) } } yyj1141++ @@ -34353,7 +34351,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint64IntfX(&x.FMapUint64Intf, d) + h.decMapuint64Interface((*map[uint64]interface{})(&x.FMapUint64Intf), d) } } yyj1141++ @@ -34378,7 +34376,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapUint64IntfX(x.FptrMapUint64Intf, d) + h.decMapuint64Interface((*map[uint64]interface{})(x.FptrMapUint64Intf), d) } } yyj1141++ @@ -34397,7 +34395,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint64StringX(&x.FMapUint64String, d) + h.decMapuint64string((*map[uint64]string)(&x.FMapUint64String), d) } } yyj1141++ @@ -34422,7 +34420,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapUint64StringX(x.FptrMapUint64String, d) + h.decMapuint64string((*map[uint64]string)(x.FptrMapUint64String), d) } } yyj1141++ @@ -34441,7 +34439,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint64UintX(&x.FMapUint64Uint, d) + h.decMapuint64uint((*map[uint64]uint)(&x.FMapUint64Uint), d) } } yyj1141++ @@ -34466,7 +34464,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapUint64UintX(x.FptrMapUint64Uint, d) + h.decMapuint64uint((*map[uint64]uint)(x.FptrMapUint64Uint), d) } } yyj1141++ @@ -34485,7 +34483,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint64Uint8X(&x.FMapUint64Uint8, d) + h.decMapuint64uint8((*map[uint64]uint8)(&x.FMapUint64Uint8), d) } } yyj1141++ @@ -34510,7 +34508,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapUint64Uint8X(x.FptrMapUint64Uint8, d) + h.decMapuint64uint8((*map[uint64]uint8)(x.FptrMapUint64Uint8), d) } } yyj1141++ @@ -34529,7 +34527,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint64Uint16X(&x.FMapUint64Uint16, d) + h.decMapuint64uint16((*map[uint64]uint16)(&x.FMapUint64Uint16), d) } } yyj1141++ @@ -34554,7 +34552,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapUint64Uint16X(x.FptrMapUint64Uint16, d) + h.decMapuint64uint16((*map[uint64]uint16)(x.FptrMapUint64Uint16), d) } } yyj1141++ @@ -34573,7 +34571,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint64Uint32X(&x.FMapUint64Uint32, d) + h.decMapuint64uint32((*map[uint64]uint32)(&x.FMapUint64Uint32), d) } } yyj1141++ @@ -34598,7 +34596,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapUint64Uint32X(x.FptrMapUint64Uint32, d) + h.decMapuint64uint32((*map[uint64]uint32)(x.FptrMapUint64Uint32), d) } } yyj1141++ @@ -34617,7 +34615,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint64Uint64X(&x.FMapUint64Uint64, d) + h.decMapuint64uint64((*map[uint64]uint64)(&x.FMapUint64Uint64), d) } } yyj1141++ @@ -34642,7 +34640,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapUint64Uint64X(x.FptrMapUint64Uint64, d) + h.decMapuint64uint64((*map[uint64]uint64)(x.FptrMapUint64Uint64), d) } } yyj1141++ @@ -34661,7 +34659,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint64UintptrX(&x.FMapUint64Uintptr, d) + h.decMapuint64uintptr((*map[uint64]uintptr)(&x.FMapUint64Uintptr), d) } } yyj1141++ @@ -34686,7 +34684,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapUint64UintptrX(x.FptrMapUint64Uintptr, d) + h.decMapuint64uintptr((*map[uint64]uintptr)(x.FptrMapUint64Uintptr), d) } } yyj1141++ @@ -34705,7 +34703,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint64IntX(&x.FMapUint64Int, d) + h.decMapuint64int((*map[uint64]int)(&x.FMapUint64Int), d) } } yyj1141++ @@ -34730,7 +34728,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapUint64IntX(x.FptrMapUint64Int, d) + h.decMapuint64int((*map[uint64]int)(x.FptrMapUint64Int), d) } } yyj1141++ @@ -34749,7 +34747,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint64Int8X(&x.FMapUint64Int8, d) + h.decMapuint64int8((*map[uint64]int8)(&x.FMapUint64Int8), d) } } yyj1141++ @@ -34774,7 +34772,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapUint64Int8X(x.FptrMapUint64Int8, d) + h.decMapuint64int8((*map[uint64]int8)(x.FptrMapUint64Int8), d) } } yyj1141++ @@ -34793,7 +34791,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint64Int16X(&x.FMapUint64Int16, d) + h.decMapuint64int16((*map[uint64]int16)(&x.FMapUint64Int16), d) } } yyj1141++ @@ -34818,7 +34816,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapUint64Int16X(x.FptrMapUint64Int16, d) + h.decMapuint64int16((*map[uint64]int16)(x.FptrMapUint64Int16), d) } } yyj1141++ @@ -34837,7 +34835,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint64Int32X(&x.FMapUint64Int32, d) + h.decMapuint64int32((*map[uint64]int32)(&x.FMapUint64Int32), d) } } yyj1141++ @@ -34862,7 +34860,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapUint64Int32X(x.FptrMapUint64Int32, d) + h.decMapuint64int32((*map[uint64]int32)(x.FptrMapUint64Int32), d) } } yyj1141++ @@ -34881,7 +34879,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint64Int64X(&x.FMapUint64Int64, d) + h.decMapuint64int64((*map[uint64]int64)(&x.FMapUint64Int64), d) } } yyj1141++ @@ -34906,7 +34904,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapUint64Int64X(x.FptrMapUint64Int64, d) + h.decMapuint64int64((*map[uint64]int64)(x.FptrMapUint64Int64), d) } } yyj1141++ @@ -34925,7 +34923,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint64Float32X(&x.FMapUint64Float32, d) + h.decMapuint64float32((*map[uint64]float32)(&x.FMapUint64Float32), d) } } yyj1141++ @@ -34950,7 +34948,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapUint64Float32X(x.FptrMapUint64Float32, d) + h.decMapuint64float32((*map[uint64]float32)(x.FptrMapUint64Float32), d) } } yyj1141++ @@ -34969,7 +34967,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint64Float64X(&x.FMapUint64Float64, d) + h.decMapuint64float64((*map[uint64]float64)(&x.FMapUint64Float64), d) } } yyj1141++ @@ -34994,7 +34992,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapUint64Float64X(x.FptrMapUint64Float64, d) + h.decMapuint64float64((*map[uint64]float64)(x.FptrMapUint64Float64), d) } } yyj1141++ @@ -35013,7 +35011,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUint64BoolX(&x.FMapUint64Bool, d) + h.decMapuint64bool((*map[uint64]bool)(&x.FMapUint64Bool), d) } } yyj1141++ @@ -35038,7 +35036,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapUint64BoolX(x.FptrMapUint64Bool, d) + h.decMapuint64bool((*map[uint64]bool)(x.FptrMapUint64Bool), d) } } yyj1141++ @@ -35057,7 +35055,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUintptrIntfX(&x.FMapUintptrIntf, d) + h.decMapuintptrInterface((*map[uintptr]interface{})(&x.FMapUintptrIntf), d) } } yyj1141++ @@ -35082,7 +35080,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapUintptrIntfX(x.FptrMapUintptrIntf, d) + h.decMapuintptrInterface((*map[uintptr]interface{})(x.FptrMapUintptrIntf), d) } } yyj1141++ @@ -35101,7 +35099,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUintptrStringX(&x.FMapUintptrString, d) + h.decMapuintptrstring((*map[uintptr]string)(&x.FMapUintptrString), d) } } yyj1141++ @@ -35126,7 +35124,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapUintptrStringX(x.FptrMapUintptrString, d) + h.decMapuintptrstring((*map[uintptr]string)(x.FptrMapUintptrString), d) } } yyj1141++ @@ -35145,7 +35143,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUintptrUintX(&x.FMapUintptrUint, d) + h.decMapuintptruint((*map[uintptr]uint)(&x.FMapUintptrUint), d) } } yyj1141++ @@ -35170,7 +35168,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapUintptrUintX(x.FptrMapUintptrUint, d) + h.decMapuintptruint((*map[uintptr]uint)(x.FptrMapUintptrUint), d) } } yyj1141++ @@ -35189,7 +35187,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUintptrUint8X(&x.FMapUintptrUint8, d) + h.decMapuintptruint8((*map[uintptr]uint8)(&x.FMapUintptrUint8), d) } } yyj1141++ @@ -35214,7 +35212,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapUintptrUint8X(x.FptrMapUintptrUint8, d) + h.decMapuintptruint8((*map[uintptr]uint8)(x.FptrMapUintptrUint8), d) } } yyj1141++ @@ -35233,7 +35231,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUintptrUint16X(&x.FMapUintptrUint16, d) + h.decMapuintptruint16((*map[uintptr]uint16)(&x.FMapUintptrUint16), d) } } yyj1141++ @@ -35258,7 +35256,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapUintptrUint16X(x.FptrMapUintptrUint16, d) + h.decMapuintptruint16((*map[uintptr]uint16)(x.FptrMapUintptrUint16), d) } } yyj1141++ @@ -35277,7 +35275,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUintptrUint32X(&x.FMapUintptrUint32, d) + h.decMapuintptruint32((*map[uintptr]uint32)(&x.FMapUintptrUint32), d) } } yyj1141++ @@ -35302,7 +35300,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapUintptrUint32X(x.FptrMapUintptrUint32, d) + h.decMapuintptruint32((*map[uintptr]uint32)(x.FptrMapUintptrUint32), d) } } yyj1141++ @@ -35321,7 +35319,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUintptrUint64X(&x.FMapUintptrUint64, d) + h.decMapuintptruint64((*map[uintptr]uint64)(&x.FMapUintptrUint64), d) } } yyj1141++ @@ -35346,7 +35344,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapUintptrUint64X(x.FptrMapUintptrUint64, d) + h.decMapuintptruint64((*map[uintptr]uint64)(x.FptrMapUintptrUint64), d) } } yyj1141++ @@ -35365,7 +35363,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUintptrUintptrX(&x.FMapUintptrUintptr, d) + h.decMapuintptruintptr((*map[uintptr]uintptr)(&x.FMapUintptrUintptr), d) } } yyj1141++ @@ -35390,7 +35388,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapUintptrUintptrX(x.FptrMapUintptrUintptr, d) + h.decMapuintptruintptr((*map[uintptr]uintptr)(x.FptrMapUintptrUintptr), d) } } yyj1141++ @@ -35409,7 +35407,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUintptrIntX(&x.FMapUintptrInt, d) + h.decMapuintptrint((*map[uintptr]int)(&x.FMapUintptrInt), d) } } yyj1141++ @@ -35434,7 +35432,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapUintptrIntX(x.FptrMapUintptrInt, d) + h.decMapuintptrint((*map[uintptr]int)(x.FptrMapUintptrInt), d) } } yyj1141++ @@ -35453,7 +35451,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUintptrInt8X(&x.FMapUintptrInt8, d) + h.decMapuintptrint8((*map[uintptr]int8)(&x.FMapUintptrInt8), d) } } yyj1141++ @@ -35478,7 +35476,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapUintptrInt8X(x.FptrMapUintptrInt8, d) + h.decMapuintptrint8((*map[uintptr]int8)(x.FptrMapUintptrInt8), d) } } yyj1141++ @@ -35497,7 +35495,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUintptrInt16X(&x.FMapUintptrInt16, d) + h.decMapuintptrint16((*map[uintptr]int16)(&x.FMapUintptrInt16), d) } } yyj1141++ @@ -35522,7 +35520,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapUintptrInt16X(x.FptrMapUintptrInt16, d) + h.decMapuintptrint16((*map[uintptr]int16)(x.FptrMapUintptrInt16), d) } } yyj1141++ @@ -35541,7 +35539,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUintptrInt32X(&x.FMapUintptrInt32, d) + h.decMapuintptrint32((*map[uintptr]int32)(&x.FMapUintptrInt32), d) } } yyj1141++ @@ -35566,7 +35564,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapUintptrInt32X(x.FptrMapUintptrInt32, d) + h.decMapuintptrint32((*map[uintptr]int32)(x.FptrMapUintptrInt32), d) } } yyj1141++ @@ -35585,7 +35583,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUintptrInt64X(&x.FMapUintptrInt64, d) + h.decMapuintptrint64((*map[uintptr]int64)(&x.FMapUintptrInt64), d) } } yyj1141++ @@ -35610,7 +35608,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapUintptrInt64X(x.FptrMapUintptrInt64, d) + h.decMapuintptrint64((*map[uintptr]int64)(x.FptrMapUintptrInt64), d) } } yyj1141++ @@ -35629,7 +35627,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUintptrFloat32X(&x.FMapUintptrFloat32, d) + h.decMapuintptrfloat32((*map[uintptr]float32)(&x.FMapUintptrFloat32), d) } } yyj1141++ @@ -35654,7 +35652,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapUintptrFloat32X(x.FptrMapUintptrFloat32, d) + h.decMapuintptrfloat32((*map[uintptr]float32)(x.FptrMapUintptrFloat32), d) } } yyj1141++ @@ -35673,7 +35671,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUintptrFloat64X(&x.FMapUintptrFloat64, d) + h.decMapuintptrfloat64((*map[uintptr]float64)(&x.FMapUintptrFloat64), d) } } yyj1141++ @@ -35698,7 +35696,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapUintptrFloat64X(x.FptrMapUintptrFloat64, d) + h.decMapuintptrfloat64((*map[uintptr]float64)(x.FptrMapUintptrFloat64), d) } } yyj1141++ @@ -35717,7 +35715,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapUintptrBoolX(&x.FMapUintptrBool, d) + h.decMapuintptrbool((*map[uintptr]bool)(&x.FMapUintptrBool), d) } } yyj1141++ @@ -35742,7 +35740,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapUintptrBoolX(x.FptrMapUintptrBool, d) + h.decMapuintptrbool((*map[uintptr]bool)(x.FptrMapUintptrBool), d) } } yyj1141++ @@ -35761,7 +35759,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapIntIntfX(&x.FMapIntIntf, d) + h.decMapintInterface((*map[int]interface{})(&x.FMapIntIntf), d) } } yyj1141++ @@ -35786,7 +35784,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapIntIntfX(x.FptrMapIntIntf, d) + h.decMapintInterface((*map[int]interface{})(x.FptrMapIntIntf), d) } } yyj1141++ @@ -35805,7 +35803,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapIntStringX(&x.FMapIntString, d) + h.decMapintstring((*map[int]string)(&x.FMapIntString), d) } } yyj1141++ @@ -35830,7 +35828,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapIntStringX(x.FptrMapIntString, d) + h.decMapintstring((*map[int]string)(x.FptrMapIntString), d) } } yyj1141++ @@ -35849,7 +35847,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapIntUintX(&x.FMapIntUint, d) + h.decMapintuint((*map[int]uint)(&x.FMapIntUint), d) } } yyj1141++ @@ -35874,7 +35872,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapIntUintX(x.FptrMapIntUint, d) + h.decMapintuint((*map[int]uint)(x.FptrMapIntUint), d) } } yyj1141++ @@ -35893,7 +35891,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapIntUint8X(&x.FMapIntUint8, d) + h.decMapintuint8((*map[int]uint8)(&x.FMapIntUint8), d) } } yyj1141++ @@ -35918,7 +35916,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapIntUint8X(x.FptrMapIntUint8, d) + h.decMapintuint8((*map[int]uint8)(x.FptrMapIntUint8), d) } } yyj1141++ @@ -35937,7 +35935,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapIntUint16X(&x.FMapIntUint16, d) + h.decMapintuint16((*map[int]uint16)(&x.FMapIntUint16), d) } } yyj1141++ @@ -35962,7 +35960,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapIntUint16X(x.FptrMapIntUint16, d) + h.decMapintuint16((*map[int]uint16)(x.FptrMapIntUint16), d) } } yyj1141++ @@ -35981,7 +35979,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapIntUint32X(&x.FMapIntUint32, d) + h.decMapintuint32((*map[int]uint32)(&x.FMapIntUint32), d) } } yyj1141++ @@ -36006,7 +36004,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapIntUint32X(x.FptrMapIntUint32, d) + h.decMapintuint32((*map[int]uint32)(x.FptrMapIntUint32), d) } } yyj1141++ @@ -36025,7 +36023,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapIntUint64X(&x.FMapIntUint64, d) + h.decMapintuint64((*map[int]uint64)(&x.FMapIntUint64), d) } } yyj1141++ @@ -36050,7 +36048,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapIntUint64X(x.FptrMapIntUint64, d) + h.decMapintuint64((*map[int]uint64)(x.FptrMapIntUint64), d) } } yyj1141++ @@ -36069,7 +36067,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapIntUintptrX(&x.FMapIntUintptr, d) + h.decMapintuintptr((*map[int]uintptr)(&x.FMapIntUintptr), d) } } yyj1141++ @@ -36094,7 +36092,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapIntUintptrX(x.FptrMapIntUintptr, d) + h.decMapintuintptr((*map[int]uintptr)(x.FptrMapIntUintptr), d) } } yyj1141++ @@ -36113,7 +36111,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapIntIntX(&x.FMapIntInt, d) + h.decMapintint((*map[int]int)(&x.FMapIntInt), d) } } yyj1141++ @@ -36138,7 +36136,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapIntIntX(x.FptrMapIntInt, d) + h.decMapintint((*map[int]int)(x.FptrMapIntInt), d) } } yyj1141++ @@ -36157,7 +36155,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapIntInt8X(&x.FMapIntInt8, d) + h.decMapintint8((*map[int]int8)(&x.FMapIntInt8), d) } } yyj1141++ @@ -36182,7 +36180,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapIntInt8X(x.FptrMapIntInt8, d) + h.decMapintint8((*map[int]int8)(x.FptrMapIntInt8), d) } } yyj1141++ @@ -36201,7 +36199,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapIntInt16X(&x.FMapIntInt16, d) + h.decMapintint16((*map[int]int16)(&x.FMapIntInt16), d) } } yyj1141++ @@ -36226,7 +36224,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapIntInt16X(x.FptrMapIntInt16, d) + h.decMapintint16((*map[int]int16)(x.FptrMapIntInt16), d) } } yyj1141++ @@ -36245,7 +36243,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapIntInt32X(&x.FMapIntInt32, d) + h.decMapintint32((*map[int]int32)(&x.FMapIntInt32), d) } } yyj1141++ @@ -36270,7 +36268,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapIntInt32X(x.FptrMapIntInt32, d) + h.decMapintint32((*map[int]int32)(x.FptrMapIntInt32), d) } } yyj1141++ @@ -36289,7 +36287,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapIntInt64X(&x.FMapIntInt64, d) + h.decMapintint64((*map[int]int64)(&x.FMapIntInt64), d) } } yyj1141++ @@ -36314,7 +36312,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapIntInt64X(x.FptrMapIntInt64, d) + h.decMapintint64((*map[int]int64)(x.FptrMapIntInt64), d) } } yyj1141++ @@ -36333,7 +36331,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapIntFloat32X(&x.FMapIntFloat32, d) + h.decMapintfloat32((*map[int]float32)(&x.FMapIntFloat32), d) } } yyj1141++ @@ -36358,7 +36356,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapIntFloat32X(x.FptrMapIntFloat32, d) + h.decMapintfloat32((*map[int]float32)(x.FptrMapIntFloat32), d) } } yyj1141++ @@ -36377,7 +36375,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapIntFloat64X(&x.FMapIntFloat64, d) + h.decMapintfloat64((*map[int]float64)(&x.FMapIntFloat64), d) } } yyj1141++ @@ -36402,7 +36400,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapIntFloat64X(x.FptrMapIntFloat64, d) + h.decMapintfloat64((*map[int]float64)(x.FptrMapIntFloat64), d) } } yyj1141++ @@ -36421,7 +36419,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapIntBoolX(&x.FMapIntBool, d) + h.decMapintbool((*map[int]bool)(&x.FMapIntBool), d) } } yyj1141++ @@ -36446,7 +36444,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapIntBoolX(x.FptrMapIntBool, d) + h.decMapintbool((*map[int]bool)(x.FptrMapIntBool), d) } } yyj1141++ @@ -36465,7 +36463,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt8IntfX(&x.FMapInt8Intf, d) + h.decMapint8Interface((*map[int8]interface{})(&x.FMapInt8Intf), d) } } yyj1141++ @@ -36490,7 +36488,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapInt8IntfX(x.FptrMapInt8Intf, d) + h.decMapint8Interface((*map[int8]interface{})(x.FptrMapInt8Intf), d) } } yyj1141++ @@ -36509,7 +36507,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt8StringX(&x.FMapInt8String, d) + h.decMapint8string((*map[int8]string)(&x.FMapInt8String), d) } } yyj1141++ @@ -36534,7 +36532,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapInt8StringX(x.FptrMapInt8String, d) + h.decMapint8string((*map[int8]string)(x.FptrMapInt8String), d) } } yyj1141++ @@ -36553,7 +36551,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt8UintX(&x.FMapInt8Uint, d) + h.decMapint8uint((*map[int8]uint)(&x.FMapInt8Uint), d) } } yyj1141++ @@ -36578,7 +36576,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapInt8UintX(x.FptrMapInt8Uint, d) + h.decMapint8uint((*map[int8]uint)(x.FptrMapInt8Uint), d) } } yyj1141++ @@ -36597,7 +36595,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt8Uint8X(&x.FMapInt8Uint8, d) + h.decMapint8uint8((*map[int8]uint8)(&x.FMapInt8Uint8), d) } } yyj1141++ @@ -36622,7 +36620,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapInt8Uint8X(x.FptrMapInt8Uint8, d) + h.decMapint8uint8((*map[int8]uint8)(x.FptrMapInt8Uint8), d) } } yyj1141++ @@ -36641,7 +36639,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt8Uint16X(&x.FMapInt8Uint16, d) + h.decMapint8uint16((*map[int8]uint16)(&x.FMapInt8Uint16), d) } } yyj1141++ @@ -36666,7 +36664,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapInt8Uint16X(x.FptrMapInt8Uint16, d) + h.decMapint8uint16((*map[int8]uint16)(x.FptrMapInt8Uint16), d) } } yyj1141++ @@ -36685,7 +36683,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt8Uint32X(&x.FMapInt8Uint32, d) + h.decMapint8uint32((*map[int8]uint32)(&x.FMapInt8Uint32), d) } } yyj1141++ @@ -36710,7 +36708,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapInt8Uint32X(x.FptrMapInt8Uint32, d) + h.decMapint8uint32((*map[int8]uint32)(x.FptrMapInt8Uint32), d) } } yyj1141++ @@ -36729,7 +36727,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt8Uint64X(&x.FMapInt8Uint64, d) + h.decMapint8uint64((*map[int8]uint64)(&x.FMapInt8Uint64), d) } } yyj1141++ @@ -36754,7 +36752,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapInt8Uint64X(x.FptrMapInt8Uint64, d) + h.decMapint8uint64((*map[int8]uint64)(x.FptrMapInt8Uint64), d) } } yyj1141++ @@ -36773,7 +36771,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt8UintptrX(&x.FMapInt8Uintptr, d) + h.decMapint8uintptr((*map[int8]uintptr)(&x.FMapInt8Uintptr), d) } } yyj1141++ @@ -36798,7 +36796,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapInt8UintptrX(x.FptrMapInt8Uintptr, d) + h.decMapint8uintptr((*map[int8]uintptr)(x.FptrMapInt8Uintptr), d) } } yyj1141++ @@ -36817,7 +36815,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt8IntX(&x.FMapInt8Int, d) + h.decMapint8int((*map[int8]int)(&x.FMapInt8Int), d) } } yyj1141++ @@ -36842,7 +36840,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapInt8IntX(x.FptrMapInt8Int, d) + h.decMapint8int((*map[int8]int)(x.FptrMapInt8Int), d) } } yyj1141++ @@ -36861,7 +36859,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt8Int8X(&x.FMapInt8Int8, d) + h.decMapint8int8((*map[int8]int8)(&x.FMapInt8Int8), d) } } yyj1141++ @@ -36886,7 +36884,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapInt8Int8X(x.FptrMapInt8Int8, d) + h.decMapint8int8((*map[int8]int8)(x.FptrMapInt8Int8), d) } } yyj1141++ @@ -36905,7 +36903,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt8Int16X(&x.FMapInt8Int16, d) + h.decMapint8int16((*map[int8]int16)(&x.FMapInt8Int16), d) } } yyj1141++ @@ -36930,7 +36928,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapInt8Int16X(x.FptrMapInt8Int16, d) + h.decMapint8int16((*map[int8]int16)(x.FptrMapInt8Int16), d) } } yyj1141++ @@ -36949,7 +36947,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt8Int32X(&x.FMapInt8Int32, d) + h.decMapint8int32((*map[int8]int32)(&x.FMapInt8Int32), d) } } yyj1141++ @@ -36974,7 +36972,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapInt8Int32X(x.FptrMapInt8Int32, d) + h.decMapint8int32((*map[int8]int32)(x.FptrMapInt8Int32), d) } } yyj1141++ @@ -36993,7 +36991,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt8Int64X(&x.FMapInt8Int64, d) + h.decMapint8int64((*map[int8]int64)(&x.FMapInt8Int64), d) } } yyj1141++ @@ -37018,7 +37016,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapInt8Int64X(x.FptrMapInt8Int64, d) + h.decMapint8int64((*map[int8]int64)(x.FptrMapInt8Int64), d) } } yyj1141++ @@ -37037,7 +37035,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt8Float32X(&x.FMapInt8Float32, d) + h.decMapint8float32((*map[int8]float32)(&x.FMapInt8Float32), d) } } yyj1141++ @@ -37062,7 +37060,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapInt8Float32X(x.FptrMapInt8Float32, d) + h.decMapint8float32((*map[int8]float32)(x.FptrMapInt8Float32), d) } } yyj1141++ @@ -37081,7 +37079,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt8Float64X(&x.FMapInt8Float64, d) + h.decMapint8float64((*map[int8]float64)(&x.FMapInt8Float64), d) } } yyj1141++ @@ -37106,7 +37104,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapInt8Float64X(x.FptrMapInt8Float64, d) + h.decMapint8float64((*map[int8]float64)(x.FptrMapInt8Float64), d) } } yyj1141++ @@ -37125,7 +37123,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt8BoolX(&x.FMapInt8Bool, d) + h.decMapint8bool((*map[int8]bool)(&x.FMapInt8Bool), d) } } yyj1141++ @@ -37150,7 +37148,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapInt8BoolX(x.FptrMapInt8Bool, d) + h.decMapint8bool((*map[int8]bool)(x.FptrMapInt8Bool), d) } } yyj1141++ @@ -37169,7 +37167,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt16IntfX(&x.FMapInt16Intf, d) + h.decMapint16Interface((*map[int16]interface{})(&x.FMapInt16Intf), d) } } yyj1141++ @@ -37194,7 +37192,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapInt16IntfX(x.FptrMapInt16Intf, d) + h.decMapint16Interface((*map[int16]interface{})(x.FptrMapInt16Intf), d) } } yyj1141++ @@ -37213,7 +37211,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt16StringX(&x.FMapInt16String, d) + h.decMapint16string((*map[int16]string)(&x.FMapInt16String), d) } } yyj1141++ @@ -37238,7 +37236,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapInt16StringX(x.FptrMapInt16String, d) + h.decMapint16string((*map[int16]string)(x.FptrMapInt16String), d) } } yyj1141++ @@ -37257,7 +37255,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt16UintX(&x.FMapInt16Uint, d) + h.decMapint16uint((*map[int16]uint)(&x.FMapInt16Uint), d) } } yyj1141++ @@ -37282,7 +37280,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapInt16UintX(x.FptrMapInt16Uint, d) + h.decMapint16uint((*map[int16]uint)(x.FptrMapInt16Uint), d) } } yyj1141++ @@ -37301,7 +37299,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt16Uint8X(&x.FMapInt16Uint8, d) + h.decMapint16uint8((*map[int16]uint8)(&x.FMapInt16Uint8), d) } } yyj1141++ @@ -37326,7 +37324,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapInt16Uint8X(x.FptrMapInt16Uint8, d) + h.decMapint16uint8((*map[int16]uint8)(x.FptrMapInt16Uint8), d) } } yyj1141++ @@ -37345,7 +37343,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt16Uint16X(&x.FMapInt16Uint16, d) + h.decMapint16uint16((*map[int16]uint16)(&x.FMapInt16Uint16), d) } } yyj1141++ @@ -37370,7 +37368,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapInt16Uint16X(x.FptrMapInt16Uint16, d) + h.decMapint16uint16((*map[int16]uint16)(x.FptrMapInt16Uint16), d) } } yyj1141++ @@ -37389,7 +37387,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt16Uint32X(&x.FMapInt16Uint32, d) + h.decMapint16uint32((*map[int16]uint32)(&x.FMapInt16Uint32), d) } } yyj1141++ @@ -37414,7 +37412,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapInt16Uint32X(x.FptrMapInt16Uint32, d) + h.decMapint16uint32((*map[int16]uint32)(x.FptrMapInt16Uint32), d) } } yyj1141++ @@ -37433,7 +37431,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt16Uint64X(&x.FMapInt16Uint64, d) + h.decMapint16uint64((*map[int16]uint64)(&x.FMapInt16Uint64), d) } } yyj1141++ @@ -37458,7 +37456,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapInt16Uint64X(x.FptrMapInt16Uint64, d) + h.decMapint16uint64((*map[int16]uint64)(x.FptrMapInt16Uint64), d) } } yyj1141++ @@ -37477,7 +37475,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt16UintptrX(&x.FMapInt16Uintptr, d) + h.decMapint16uintptr((*map[int16]uintptr)(&x.FMapInt16Uintptr), d) } } yyj1141++ @@ -37502,7 +37500,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapInt16UintptrX(x.FptrMapInt16Uintptr, d) + h.decMapint16uintptr((*map[int16]uintptr)(x.FptrMapInt16Uintptr), d) } } yyj1141++ @@ -37521,7 +37519,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt16IntX(&x.FMapInt16Int, d) + h.decMapint16int((*map[int16]int)(&x.FMapInt16Int), d) } } yyj1141++ @@ -37546,7 +37544,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapInt16IntX(x.FptrMapInt16Int, d) + h.decMapint16int((*map[int16]int)(x.FptrMapInt16Int), d) } } yyj1141++ @@ -37565,7 +37563,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt16Int8X(&x.FMapInt16Int8, d) + h.decMapint16int8((*map[int16]int8)(&x.FMapInt16Int8), d) } } yyj1141++ @@ -37590,7 +37588,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapInt16Int8X(x.FptrMapInt16Int8, d) + h.decMapint16int8((*map[int16]int8)(x.FptrMapInt16Int8), d) } } yyj1141++ @@ -37609,7 +37607,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt16Int16X(&x.FMapInt16Int16, d) + h.decMapint16int16((*map[int16]int16)(&x.FMapInt16Int16), d) } } yyj1141++ @@ -37634,7 +37632,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapInt16Int16X(x.FptrMapInt16Int16, d) + h.decMapint16int16((*map[int16]int16)(x.FptrMapInt16Int16), d) } } yyj1141++ @@ -37653,7 +37651,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt16Int32X(&x.FMapInt16Int32, d) + h.decMapint16int32((*map[int16]int32)(&x.FMapInt16Int32), d) } } yyj1141++ @@ -37678,7 +37676,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapInt16Int32X(x.FptrMapInt16Int32, d) + h.decMapint16int32((*map[int16]int32)(x.FptrMapInt16Int32), d) } } yyj1141++ @@ -37697,7 +37695,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt16Int64X(&x.FMapInt16Int64, d) + h.decMapint16int64((*map[int16]int64)(&x.FMapInt16Int64), d) } } yyj1141++ @@ -37722,7 +37720,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapInt16Int64X(x.FptrMapInt16Int64, d) + h.decMapint16int64((*map[int16]int64)(x.FptrMapInt16Int64), d) } } yyj1141++ @@ -37741,7 +37739,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt16Float32X(&x.FMapInt16Float32, d) + h.decMapint16float32((*map[int16]float32)(&x.FMapInt16Float32), d) } } yyj1141++ @@ -37766,7 +37764,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapInt16Float32X(x.FptrMapInt16Float32, d) + h.decMapint16float32((*map[int16]float32)(x.FptrMapInt16Float32), d) } } yyj1141++ @@ -37785,7 +37783,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt16Float64X(&x.FMapInt16Float64, d) + h.decMapint16float64((*map[int16]float64)(&x.FMapInt16Float64), d) } } yyj1141++ @@ -37810,7 +37808,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapInt16Float64X(x.FptrMapInt16Float64, d) + h.decMapint16float64((*map[int16]float64)(x.FptrMapInt16Float64), d) } } yyj1141++ @@ -37829,7 +37827,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt16BoolX(&x.FMapInt16Bool, d) + h.decMapint16bool((*map[int16]bool)(&x.FMapInt16Bool), d) } } yyj1141++ @@ -37854,7 +37852,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapInt16BoolX(x.FptrMapInt16Bool, d) + h.decMapint16bool((*map[int16]bool)(x.FptrMapInt16Bool), d) } } yyj1141++ @@ -37873,7 +37871,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt32IntfX(&x.FMapInt32Intf, d) + h.decMapint32Interface((*map[int32]interface{})(&x.FMapInt32Intf), d) } } yyj1141++ @@ -37898,7 +37896,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapInt32IntfX(x.FptrMapInt32Intf, d) + h.decMapint32Interface((*map[int32]interface{})(x.FptrMapInt32Intf), d) } } yyj1141++ @@ -37917,7 +37915,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt32StringX(&x.FMapInt32String, d) + h.decMapint32string((*map[int32]string)(&x.FMapInt32String), d) } } yyj1141++ @@ -37942,7 +37940,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapInt32StringX(x.FptrMapInt32String, d) + h.decMapint32string((*map[int32]string)(x.FptrMapInt32String), d) } } yyj1141++ @@ -37961,7 +37959,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt32UintX(&x.FMapInt32Uint, d) + h.decMapint32uint((*map[int32]uint)(&x.FMapInt32Uint), d) } } yyj1141++ @@ -37986,7 +37984,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapInt32UintX(x.FptrMapInt32Uint, d) + h.decMapint32uint((*map[int32]uint)(x.FptrMapInt32Uint), d) } } yyj1141++ @@ -38005,7 +38003,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt32Uint8X(&x.FMapInt32Uint8, d) + h.decMapint32uint8((*map[int32]uint8)(&x.FMapInt32Uint8), d) } } yyj1141++ @@ -38030,7 +38028,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapInt32Uint8X(x.FptrMapInt32Uint8, d) + h.decMapint32uint8((*map[int32]uint8)(x.FptrMapInt32Uint8), d) } } yyj1141++ @@ -38049,7 +38047,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt32Uint16X(&x.FMapInt32Uint16, d) + h.decMapint32uint16((*map[int32]uint16)(&x.FMapInt32Uint16), d) } } yyj1141++ @@ -38074,7 +38072,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapInt32Uint16X(x.FptrMapInt32Uint16, d) + h.decMapint32uint16((*map[int32]uint16)(x.FptrMapInt32Uint16), d) } } yyj1141++ @@ -38093,7 +38091,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt32Uint32X(&x.FMapInt32Uint32, d) + h.decMapint32uint32((*map[int32]uint32)(&x.FMapInt32Uint32), d) } } yyj1141++ @@ -38118,7 +38116,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapInt32Uint32X(x.FptrMapInt32Uint32, d) + h.decMapint32uint32((*map[int32]uint32)(x.FptrMapInt32Uint32), d) } } yyj1141++ @@ -38137,7 +38135,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt32Uint64X(&x.FMapInt32Uint64, d) + h.decMapint32uint64((*map[int32]uint64)(&x.FMapInt32Uint64), d) } } yyj1141++ @@ -38162,7 +38160,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapInt32Uint64X(x.FptrMapInt32Uint64, d) + h.decMapint32uint64((*map[int32]uint64)(x.FptrMapInt32Uint64), d) } } yyj1141++ @@ -38181,7 +38179,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt32UintptrX(&x.FMapInt32Uintptr, d) + h.decMapint32uintptr((*map[int32]uintptr)(&x.FMapInt32Uintptr), d) } } yyj1141++ @@ -38206,7 +38204,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapInt32UintptrX(x.FptrMapInt32Uintptr, d) + h.decMapint32uintptr((*map[int32]uintptr)(x.FptrMapInt32Uintptr), d) } } yyj1141++ @@ -38225,7 +38223,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt32IntX(&x.FMapInt32Int, d) + h.decMapint32int((*map[int32]int)(&x.FMapInt32Int), d) } } yyj1141++ @@ -38250,7 +38248,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapInt32IntX(x.FptrMapInt32Int, d) + h.decMapint32int((*map[int32]int)(x.FptrMapInt32Int), d) } } yyj1141++ @@ -38269,7 +38267,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt32Int8X(&x.FMapInt32Int8, d) + h.decMapint32int8((*map[int32]int8)(&x.FMapInt32Int8), d) } } yyj1141++ @@ -38294,7 +38292,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapInt32Int8X(x.FptrMapInt32Int8, d) + h.decMapint32int8((*map[int32]int8)(x.FptrMapInt32Int8), d) } } yyj1141++ @@ -38313,7 +38311,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt32Int16X(&x.FMapInt32Int16, d) + h.decMapint32int16((*map[int32]int16)(&x.FMapInt32Int16), d) } } yyj1141++ @@ -38338,7 +38336,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapInt32Int16X(x.FptrMapInt32Int16, d) + h.decMapint32int16((*map[int32]int16)(x.FptrMapInt32Int16), d) } } yyj1141++ @@ -38357,7 +38355,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt32Int32X(&x.FMapInt32Int32, d) + h.decMapint32int32((*map[int32]int32)(&x.FMapInt32Int32), d) } } yyj1141++ @@ -38382,7 +38380,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapInt32Int32X(x.FptrMapInt32Int32, d) + h.decMapint32int32((*map[int32]int32)(x.FptrMapInt32Int32), d) } } yyj1141++ @@ -38401,7 +38399,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt32Int64X(&x.FMapInt32Int64, d) + h.decMapint32int64((*map[int32]int64)(&x.FMapInt32Int64), d) } } yyj1141++ @@ -38426,7 +38424,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapInt32Int64X(x.FptrMapInt32Int64, d) + h.decMapint32int64((*map[int32]int64)(x.FptrMapInt32Int64), d) } } yyj1141++ @@ -38445,7 +38443,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt32Float32X(&x.FMapInt32Float32, d) + h.decMapint32float32((*map[int32]float32)(&x.FMapInt32Float32), d) } } yyj1141++ @@ -38470,7 +38468,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapInt32Float32X(x.FptrMapInt32Float32, d) + h.decMapint32float32((*map[int32]float32)(x.FptrMapInt32Float32), d) } } yyj1141++ @@ -38489,7 +38487,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt32Float64X(&x.FMapInt32Float64, d) + h.decMapint32float64((*map[int32]float64)(&x.FMapInt32Float64), d) } } yyj1141++ @@ -38514,7 +38512,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapInt32Float64X(x.FptrMapInt32Float64, d) + h.decMapint32float64((*map[int32]float64)(x.FptrMapInt32Float64), d) } } yyj1141++ @@ -38533,7 +38531,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt32BoolX(&x.FMapInt32Bool, d) + h.decMapint32bool((*map[int32]bool)(&x.FMapInt32Bool), d) } } yyj1141++ @@ -38558,7 +38556,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapInt32BoolX(x.FptrMapInt32Bool, d) + h.decMapint32bool((*map[int32]bool)(x.FptrMapInt32Bool), d) } } yyj1141++ @@ -38577,7 +38575,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt64IntfX(&x.FMapInt64Intf, d) + h.decMapint64Interface((*map[int64]interface{})(&x.FMapInt64Intf), d) } } yyj1141++ @@ -38602,7 +38600,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapInt64IntfX(x.FptrMapInt64Intf, d) + h.decMapint64Interface((*map[int64]interface{})(x.FptrMapInt64Intf), d) } } yyj1141++ @@ -38621,7 +38619,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt64StringX(&x.FMapInt64String, d) + h.decMapint64string((*map[int64]string)(&x.FMapInt64String), d) } } yyj1141++ @@ -38646,7 +38644,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapInt64StringX(x.FptrMapInt64String, d) + h.decMapint64string((*map[int64]string)(x.FptrMapInt64String), d) } } yyj1141++ @@ -38665,7 +38663,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt64UintX(&x.FMapInt64Uint, d) + h.decMapint64uint((*map[int64]uint)(&x.FMapInt64Uint), d) } } yyj1141++ @@ -38690,7 +38688,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapInt64UintX(x.FptrMapInt64Uint, d) + h.decMapint64uint((*map[int64]uint)(x.FptrMapInt64Uint), d) } } yyj1141++ @@ -38709,7 +38707,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt64Uint8X(&x.FMapInt64Uint8, d) + h.decMapint64uint8((*map[int64]uint8)(&x.FMapInt64Uint8), d) } } yyj1141++ @@ -38734,7 +38732,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapInt64Uint8X(x.FptrMapInt64Uint8, d) + h.decMapint64uint8((*map[int64]uint8)(x.FptrMapInt64Uint8), d) } } yyj1141++ @@ -38753,7 +38751,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt64Uint16X(&x.FMapInt64Uint16, d) + h.decMapint64uint16((*map[int64]uint16)(&x.FMapInt64Uint16), d) } } yyj1141++ @@ -38778,7 +38776,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapInt64Uint16X(x.FptrMapInt64Uint16, d) + h.decMapint64uint16((*map[int64]uint16)(x.FptrMapInt64Uint16), d) } } yyj1141++ @@ -38797,7 +38795,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt64Uint32X(&x.FMapInt64Uint32, d) + h.decMapint64uint32((*map[int64]uint32)(&x.FMapInt64Uint32), d) } } yyj1141++ @@ -38822,7 +38820,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapInt64Uint32X(x.FptrMapInt64Uint32, d) + h.decMapint64uint32((*map[int64]uint32)(x.FptrMapInt64Uint32), d) } } yyj1141++ @@ -38841,7 +38839,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt64Uint64X(&x.FMapInt64Uint64, d) + h.decMapint64uint64((*map[int64]uint64)(&x.FMapInt64Uint64), d) } } yyj1141++ @@ -38866,7 +38864,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapInt64Uint64X(x.FptrMapInt64Uint64, d) + h.decMapint64uint64((*map[int64]uint64)(x.FptrMapInt64Uint64), d) } } yyj1141++ @@ -38885,7 +38883,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt64UintptrX(&x.FMapInt64Uintptr, d) + h.decMapint64uintptr((*map[int64]uintptr)(&x.FMapInt64Uintptr), d) } } yyj1141++ @@ -38910,7 +38908,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapInt64UintptrX(x.FptrMapInt64Uintptr, d) + h.decMapint64uintptr((*map[int64]uintptr)(x.FptrMapInt64Uintptr), d) } } yyj1141++ @@ -38929,7 +38927,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt64IntX(&x.FMapInt64Int, d) + h.decMapint64int((*map[int64]int)(&x.FMapInt64Int), d) } } yyj1141++ @@ -38954,7 +38952,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapInt64IntX(x.FptrMapInt64Int, d) + h.decMapint64int((*map[int64]int)(x.FptrMapInt64Int), d) } } yyj1141++ @@ -38973,7 +38971,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt64Int8X(&x.FMapInt64Int8, d) + h.decMapint64int8((*map[int64]int8)(&x.FMapInt64Int8), d) } } yyj1141++ @@ -38998,7 +38996,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapInt64Int8X(x.FptrMapInt64Int8, d) + h.decMapint64int8((*map[int64]int8)(x.FptrMapInt64Int8), d) } } yyj1141++ @@ -39017,7 +39015,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt64Int16X(&x.FMapInt64Int16, d) + h.decMapint64int16((*map[int64]int16)(&x.FMapInt64Int16), d) } } yyj1141++ @@ -39042,7 +39040,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapInt64Int16X(x.FptrMapInt64Int16, d) + h.decMapint64int16((*map[int64]int16)(x.FptrMapInt64Int16), d) } } yyj1141++ @@ -39061,7 +39059,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt64Int32X(&x.FMapInt64Int32, d) + h.decMapint64int32((*map[int64]int32)(&x.FMapInt64Int32), d) } } yyj1141++ @@ -39086,7 +39084,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapInt64Int32X(x.FptrMapInt64Int32, d) + h.decMapint64int32((*map[int64]int32)(x.FptrMapInt64Int32), d) } } yyj1141++ @@ -39105,7 +39103,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt64Int64X(&x.FMapInt64Int64, d) + h.decMapint64int64((*map[int64]int64)(&x.FMapInt64Int64), d) } } yyj1141++ @@ -39130,7 +39128,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapInt64Int64X(x.FptrMapInt64Int64, d) + h.decMapint64int64((*map[int64]int64)(x.FptrMapInt64Int64), d) } } yyj1141++ @@ -39149,7 +39147,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt64Float32X(&x.FMapInt64Float32, d) + h.decMapint64float32((*map[int64]float32)(&x.FMapInt64Float32), d) } } yyj1141++ @@ -39174,7 +39172,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapInt64Float32X(x.FptrMapInt64Float32, d) + h.decMapint64float32((*map[int64]float32)(x.FptrMapInt64Float32), d) } } yyj1141++ @@ -39193,7 +39191,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt64Float64X(&x.FMapInt64Float64, d) + h.decMapint64float64((*map[int64]float64)(&x.FMapInt64Float64), d) } } yyj1141++ @@ -39218,7 +39216,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapInt64Float64X(x.FptrMapInt64Float64, d) + h.decMapint64float64((*map[int64]float64)(x.FptrMapInt64Float64), d) } } yyj1141++ @@ -39237,7 +39235,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapInt64BoolX(&x.FMapInt64Bool, d) + h.decMapint64bool((*map[int64]bool)(&x.FMapInt64Bool), d) } } yyj1141++ @@ -39262,7 +39260,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapInt64BoolX(x.FptrMapInt64Bool, d) + h.decMapint64bool((*map[int64]bool)(x.FptrMapInt64Bool), d) } } yyj1141++ @@ -39281,7 +39279,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapBoolIntfX(&x.FMapBoolIntf, d) + h.decMapboolInterface((*map[bool]interface{})(&x.FMapBoolIntf), d) } } yyj1141++ @@ -39306,7 +39304,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapBoolIntfX(x.FptrMapBoolIntf, d) + h.decMapboolInterface((*map[bool]interface{})(x.FptrMapBoolIntf), d) } } yyj1141++ @@ -39325,7 +39323,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapBoolStringX(&x.FMapBoolString, d) + h.decMapboolstring((*map[bool]string)(&x.FMapBoolString), d) } } yyj1141++ @@ -39350,7 +39348,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapBoolStringX(x.FptrMapBoolString, d) + h.decMapboolstring((*map[bool]string)(x.FptrMapBoolString), d) } } yyj1141++ @@ -39369,7 +39367,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapBoolUintX(&x.FMapBoolUint, d) + h.decMapbooluint((*map[bool]uint)(&x.FMapBoolUint), d) } } yyj1141++ @@ -39394,7 +39392,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapBoolUintX(x.FptrMapBoolUint, d) + h.decMapbooluint((*map[bool]uint)(x.FptrMapBoolUint), d) } } yyj1141++ @@ -39413,7 +39411,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapBoolUint8X(&x.FMapBoolUint8, d) + h.decMapbooluint8((*map[bool]uint8)(&x.FMapBoolUint8), d) } } yyj1141++ @@ -39438,7 +39436,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapBoolUint8X(x.FptrMapBoolUint8, d) + h.decMapbooluint8((*map[bool]uint8)(x.FptrMapBoolUint8), d) } } yyj1141++ @@ -39457,7 +39455,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapBoolUint16X(&x.FMapBoolUint16, d) + h.decMapbooluint16((*map[bool]uint16)(&x.FMapBoolUint16), d) } } yyj1141++ @@ -39482,7 +39480,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapBoolUint16X(x.FptrMapBoolUint16, d) + h.decMapbooluint16((*map[bool]uint16)(x.FptrMapBoolUint16), d) } } yyj1141++ @@ -39501,7 +39499,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapBoolUint32X(&x.FMapBoolUint32, d) + h.decMapbooluint32((*map[bool]uint32)(&x.FMapBoolUint32), d) } } yyj1141++ @@ -39526,7 +39524,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapBoolUint32X(x.FptrMapBoolUint32, d) + h.decMapbooluint32((*map[bool]uint32)(x.FptrMapBoolUint32), d) } } yyj1141++ @@ -39545,7 +39543,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapBoolUint64X(&x.FMapBoolUint64, d) + h.decMapbooluint64((*map[bool]uint64)(&x.FMapBoolUint64), d) } } yyj1141++ @@ -39570,7 +39568,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapBoolUint64X(x.FptrMapBoolUint64, d) + h.decMapbooluint64((*map[bool]uint64)(x.FptrMapBoolUint64), d) } } yyj1141++ @@ -39589,7 +39587,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapBoolUintptrX(&x.FMapBoolUintptr, d) + h.decMapbooluintptr((*map[bool]uintptr)(&x.FMapBoolUintptr), d) } } yyj1141++ @@ -39614,7 +39612,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapBoolUintptrX(x.FptrMapBoolUintptr, d) + h.decMapbooluintptr((*map[bool]uintptr)(x.FptrMapBoolUintptr), d) } } yyj1141++ @@ -39633,7 +39631,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapBoolIntX(&x.FMapBoolInt, d) + h.decMapboolint((*map[bool]int)(&x.FMapBoolInt), d) } } yyj1141++ @@ -39658,7 +39656,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapBoolIntX(x.FptrMapBoolInt, d) + h.decMapboolint((*map[bool]int)(x.FptrMapBoolInt), d) } } yyj1141++ @@ -39677,7 +39675,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapBoolInt8X(&x.FMapBoolInt8, d) + h.decMapboolint8((*map[bool]int8)(&x.FMapBoolInt8), d) } } yyj1141++ @@ -39702,7 +39700,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapBoolInt8X(x.FptrMapBoolInt8, d) + h.decMapboolint8((*map[bool]int8)(x.FptrMapBoolInt8), d) } } yyj1141++ @@ -39721,7 +39719,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapBoolInt16X(&x.FMapBoolInt16, d) + h.decMapboolint16((*map[bool]int16)(&x.FMapBoolInt16), d) } } yyj1141++ @@ -39746,7 +39744,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapBoolInt16X(x.FptrMapBoolInt16, d) + h.decMapboolint16((*map[bool]int16)(x.FptrMapBoolInt16), d) } } yyj1141++ @@ -39765,7 +39763,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapBoolInt32X(&x.FMapBoolInt32, d) + h.decMapboolint32((*map[bool]int32)(&x.FMapBoolInt32), d) } } yyj1141++ @@ -39790,7 +39788,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapBoolInt32X(x.FptrMapBoolInt32, d) + h.decMapboolint32((*map[bool]int32)(x.FptrMapBoolInt32), d) } } yyj1141++ @@ -39809,7 +39807,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapBoolInt64X(&x.FMapBoolInt64, d) + h.decMapboolint64((*map[bool]int64)(&x.FMapBoolInt64), d) } } yyj1141++ @@ -39834,7 +39832,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapBoolInt64X(x.FptrMapBoolInt64, d) + h.decMapboolint64((*map[bool]int64)(x.FptrMapBoolInt64), d) } } yyj1141++ @@ -39853,7 +39851,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapBoolFloat32X(&x.FMapBoolFloat32, d) + h.decMapboolfloat32((*map[bool]float32)(&x.FMapBoolFloat32), d) } } yyj1141++ @@ -39878,7 +39876,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapBoolFloat32X(x.FptrMapBoolFloat32, d) + h.decMapboolfloat32((*map[bool]float32)(x.FptrMapBoolFloat32), d) } } yyj1141++ @@ -39897,7 +39895,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapBoolFloat64X(&x.FMapBoolFloat64, d) + h.decMapboolfloat64((*map[bool]float64)(&x.FMapBoolFloat64), d) } } yyj1141++ @@ -39922,7 +39920,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapBoolFloat64X(x.FptrMapBoolFloat64, d) + h.decMapboolfloat64((*map[bool]float64)(x.FptrMapBoolFloat64), d) } } yyj1141++ @@ -39941,7 +39939,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapBoolBoolX(&x.FMapBoolBool, d) + h.decMapboolbool((*map[bool]bool)(&x.FMapBoolBool), d) } } yyj1141++ @@ -39966,7 +39964,7 @@ func (x *TestMammoth2) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapBoolBoolX(x.FptrMapBoolBool, d) + h.decMapboolbool((*map[bool]bool)(x.FptrMapBoolBool), d) } } for { @@ -40542,6 +40540,20625 @@ func (x *TestMammoth2Wrapper) codecDecodeSelfFromArray(l int, d *Decoder) { r.ReadArrayEnd() } +func (x codecSelfer19781) encSliceInterface(v []interface{}, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteArrayStart(len(v)) + for _, yyv1 := range v { + r.WriteArrayElem() + if yyv1 == nil { + r.EncodeNil() + } else { + if false { + } else { + z.EncFallback(yyv1) + } + } + } + r.WriteArrayEnd() +} + +func (x codecSelfer19781) decSliceInterface(v *[]interface{}, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []interface{}{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true + } + } else { + yyhl1 := yyl1 > 0 + var yyrl1 int + _ = yyrl1 + if yyhl1 { + if yyl1 > cap(yyv1) { + yyrl1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 16) + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] + } else { + yyv1 = make([]interface{}, yyrl1) + } + yyc1 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true + } + } + var yyj1 int + // var yydn1 bool + for yyj1 = 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { // bounds-check-elimination + if yyj1 == 0 && yyv1 == nil { + if yyhl1 { + yyrl1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 16) + } else { + yyrl1 = 8 + } + yyv1 = make([]interface{}, yyrl1) + yyc1 = true + } + yyh1.ElemContainerState(yyj1) + + var yydb1 bool + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, nil) + yyc1 = true + + } + if yydb1 { + z.DecSwallow() + } else { + if r.TryDecodeAsNil() { + yyv1[yyj1] = nil + } else { + if false { + } else { + z.DecFallback(&yyv1[yyj1], true) + } + } + + } + + } + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = make([]interface{}, 0) + yyc1 = true + } + } + yyh1.End() + if yyc1 { + *v = yyv1 + } +} + +func (x codecSelfer19781) encSlicestring(v []string, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteArrayStart(len(v)) + for _, yyv1 := range v { + r.WriteArrayElem() + if false { + } else { + if z.EncBasicHandle().StringToRaw { + r.EncodeStringBytesRaw(z.BytesView(string(yyv1))) + } else { + r.EncodeStringEnc(codecSelferCcUTF819781, string(yyv1)) + } + } + } + r.WriteArrayEnd() +} + +func (x codecSelfer19781) decSlicestring(v *[]string, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []string{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true + } + } else { + yyhl1 := yyl1 > 0 + var yyrl1 int + _ = yyrl1 + if yyhl1 { + if yyl1 > cap(yyv1) { + yyrl1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 16) + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] + } else { + yyv1 = make([]string, yyrl1) + } + yyc1 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true + } + } + var yyj1 int + // var yydn1 bool + for yyj1 = 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { // bounds-check-elimination + if yyj1 == 0 && yyv1 == nil { + if yyhl1 { + yyrl1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 16) + } else { + yyrl1 = 8 + } + yyv1 = make([]string, yyrl1) + yyc1 = true + } + yyh1.ElemContainerState(yyj1) + + var yydb1 bool + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, "") + yyc1 = true + + } + if yydb1 { + z.DecSwallow() + } else { + if r.TryDecodeAsNil() { + yyv1[yyj1] = "" + } else { + yyv1[yyj1] = (string)(r.DecodeString()) + } + + } + + } + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = make([]string, 0) + yyc1 = true + } + } + yyh1.End() + if yyc1 { + *v = yyv1 + } +} + +func (x codecSelfer19781) encSlicefloat32(v []float32, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteArrayStart(len(v)) + for _, yyv1 := range v { + r.WriteArrayElem() + if false { + } else { + r.EncodeFloat32(float32(yyv1)) + } + } + r.WriteArrayEnd() +} + +func (x codecSelfer19781) decSlicefloat32(v *[]float32, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []float32{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true + } + } else { + yyhl1 := yyl1 > 0 + var yyrl1 int + _ = yyrl1 + if yyhl1 { + if yyl1 > cap(yyv1) { + yyrl1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 4) + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] + } else { + yyv1 = make([]float32, yyrl1) + } + yyc1 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true + } + } + var yyj1 int + // var yydn1 bool + for yyj1 = 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { // bounds-check-elimination + if yyj1 == 0 && yyv1 == nil { + if yyhl1 { + yyrl1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 4) + } else { + yyrl1 = 8 + } + yyv1 = make([]float32, yyrl1) + yyc1 = true + } + yyh1.ElemContainerState(yyj1) + + var yydb1 bool + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, 0) + yyc1 = true + + } + if yydb1 { + z.DecSwallow() + } else { + if r.TryDecodeAsNil() { + yyv1[yyj1] = 0 + } else { + yyv1[yyj1] = (float32)(r.DecodeFloat32As64()) + } + + } + + } + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = make([]float32, 0) + yyc1 = true + } + } + yyh1.End() + if yyc1 { + *v = yyv1 + } +} + +func (x codecSelfer19781) encSlicefloat64(v []float64, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteArrayStart(len(v)) + for _, yyv1 := range v { + r.WriteArrayElem() + if false { + } else { + r.EncodeFloat64(float64(yyv1)) + } + } + r.WriteArrayEnd() +} + +func (x codecSelfer19781) decSlicefloat64(v *[]float64, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []float64{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true + } + } else { + yyhl1 := yyl1 > 0 + var yyrl1 int + _ = yyrl1 + if yyhl1 { + if yyl1 > cap(yyv1) { + yyrl1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 8) + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] + } else { + yyv1 = make([]float64, yyrl1) + } + yyc1 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true + } + } + var yyj1 int + // var yydn1 bool + for yyj1 = 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { // bounds-check-elimination + if yyj1 == 0 && yyv1 == nil { + if yyhl1 { + yyrl1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 8) + } else { + yyrl1 = 8 + } + yyv1 = make([]float64, yyrl1) + yyc1 = true + } + yyh1.ElemContainerState(yyj1) + + var yydb1 bool + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, 0) + yyc1 = true + + } + if yydb1 { + z.DecSwallow() + } else { + if r.TryDecodeAsNil() { + yyv1[yyj1] = 0 + } else { + yyv1[yyj1] = (float64)(r.DecodeFloat64()) + } + + } + + } + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = make([]float64, 0) + yyc1 = true + } + } + yyh1.End() + if yyc1 { + *v = yyv1 + } +} + +func (x codecSelfer19781) encSliceuint(v []uint, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteArrayStart(len(v)) + for _, yyv1 := range v { + r.WriteArrayElem() + if false { + } else { + r.EncodeUint(uint64(yyv1)) + } + } + r.WriteArrayEnd() +} + +func (x codecSelfer19781) decSliceuint(v *[]uint, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []uint{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true + } + } else { + yyhl1 := yyl1 > 0 + var yyrl1 int + _ = yyrl1 + if yyhl1 { + if yyl1 > cap(yyv1) { + yyrl1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 8) + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] + } else { + yyv1 = make([]uint, yyrl1) + } + yyc1 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true + } + } + var yyj1 int + // var yydn1 bool + for yyj1 = 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { // bounds-check-elimination + if yyj1 == 0 && yyv1 == nil { + if yyhl1 { + yyrl1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 8) + } else { + yyrl1 = 8 + } + yyv1 = make([]uint, yyrl1) + yyc1 = true + } + yyh1.ElemContainerState(yyj1) + + var yydb1 bool + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, 0) + yyc1 = true + + } + if yydb1 { + z.DecSwallow() + } else { + if r.TryDecodeAsNil() { + yyv1[yyj1] = 0 + } else { + yyv1[yyj1] = (uint)(z.C.UintV(r.DecodeUint64(), codecSelferBitsize19781)) + } + + } + + } + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = make([]uint, 0) + yyc1 = true + } + } + yyh1.End() + if yyc1 { + *v = yyv1 + } +} + +func (x codecSelfer19781) encSliceuint16(v []uint16, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteArrayStart(len(v)) + for _, yyv1 := range v { + r.WriteArrayElem() + if false { + } else { + r.EncodeUint(uint64(yyv1)) + } + } + r.WriteArrayEnd() +} + +func (x codecSelfer19781) decSliceuint16(v *[]uint16, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []uint16{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true + } + } else { + yyhl1 := yyl1 > 0 + var yyrl1 int + _ = yyrl1 + if yyhl1 { + if yyl1 > cap(yyv1) { + yyrl1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 2) + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] + } else { + yyv1 = make([]uint16, yyrl1) + } + yyc1 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true + } + } + var yyj1 int + // var yydn1 bool + for yyj1 = 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { // bounds-check-elimination + if yyj1 == 0 && yyv1 == nil { + if yyhl1 { + yyrl1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 2) + } else { + yyrl1 = 8 + } + yyv1 = make([]uint16, yyrl1) + yyc1 = true + } + yyh1.ElemContainerState(yyj1) + + var yydb1 bool + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, 0) + yyc1 = true + + } + if yydb1 { + z.DecSwallow() + } else { + if r.TryDecodeAsNil() { + yyv1[yyj1] = 0 + } else { + yyv1[yyj1] = (uint16)(z.C.UintV(r.DecodeUint64(), 16)) + } + + } + + } + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = make([]uint16, 0) + yyc1 = true + } + } + yyh1.End() + if yyc1 { + *v = yyv1 + } +} + +func (x codecSelfer19781) encSliceuint32(v []uint32, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteArrayStart(len(v)) + for _, yyv1 := range v { + r.WriteArrayElem() + if false { + } else { + r.EncodeUint(uint64(yyv1)) + } + } + r.WriteArrayEnd() +} + +func (x codecSelfer19781) decSliceuint32(v *[]uint32, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []uint32{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true + } + } else { + yyhl1 := yyl1 > 0 + var yyrl1 int + _ = yyrl1 + if yyhl1 { + if yyl1 > cap(yyv1) { + yyrl1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 4) + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] + } else { + yyv1 = make([]uint32, yyrl1) + } + yyc1 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true + } + } + var yyj1 int + // var yydn1 bool + for yyj1 = 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { // bounds-check-elimination + if yyj1 == 0 && yyv1 == nil { + if yyhl1 { + yyrl1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 4) + } else { + yyrl1 = 8 + } + yyv1 = make([]uint32, yyrl1) + yyc1 = true + } + yyh1.ElemContainerState(yyj1) + + var yydb1 bool + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, 0) + yyc1 = true + + } + if yydb1 { + z.DecSwallow() + } else { + if r.TryDecodeAsNil() { + yyv1[yyj1] = 0 + } else { + yyv1[yyj1] = (uint32)(z.C.UintV(r.DecodeUint64(), 32)) + } + + } + + } + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = make([]uint32, 0) + yyc1 = true + } + } + yyh1.End() + if yyc1 { + *v = yyv1 + } +} + +func (x codecSelfer19781) encSliceuint64(v []uint64, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteArrayStart(len(v)) + for _, yyv1 := range v { + r.WriteArrayElem() + if false { + } else { + r.EncodeUint(uint64(yyv1)) + } + } + r.WriteArrayEnd() +} + +func (x codecSelfer19781) decSliceuint64(v *[]uint64, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []uint64{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true + } + } else { + yyhl1 := yyl1 > 0 + var yyrl1 int + _ = yyrl1 + if yyhl1 { + if yyl1 > cap(yyv1) { + yyrl1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 8) + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] + } else { + yyv1 = make([]uint64, yyrl1) + } + yyc1 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true + } + } + var yyj1 int + // var yydn1 bool + for yyj1 = 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { // bounds-check-elimination + if yyj1 == 0 && yyv1 == nil { + if yyhl1 { + yyrl1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 8) + } else { + yyrl1 = 8 + } + yyv1 = make([]uint64, yyrl1) + yyc1 = true + } + yyh1.ElemContainerState(yyj1) + + var yydb1 bool + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, 0) + yyc1 = true + + } + if yydb1 { + z.DecSwallow() + } else { + if r.TryDecodeAsNil() { + yyv1[yyj1] = 0 + } else { + yyv1[yyj1] = (uint64)(r.DecodeUint64()) + } + + } + + } + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = make([]uint64, 0) + yyc1 = true + } + } + yyh1.End() + if yyc1 { + *v = yyv1 + } +} + +func (x codecSelfer19781) encSliceuintptr(v []uintptr, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteArrayStart(len(v)) + for _, yyv1 := range v { + r.WriteArrayElem() + if false { + } else { + r.EncodeUint(uint64(yyv1)) + } + } + r.WriteArrayEnd() +} + +func (x codecSelfer19781) decSliceuintptr(v *[]uintptr, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []uintptr{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true + } + } else { + yyhl1 := yyl1 > 0 + var yyrl1 int + _ = yyrl1 + if yyhl1 { + if yyl1 > cap(yyv1) { + yyrl1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 8) + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] + } else { + yyv1 = make([]uintptr, yyrl1) + } + yyc1 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true + } + } + var yyj1 int + // var yydn1 bool + for yyj1 = 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { // bounds-check-elimination + if yyj1 == 0 && yyv1 == nil { + if yyhl1 { + yyrl1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 8) + } else { + yyrl1 = 8 + } + yyv1 = make([]uintptr, yyrl1) + yyc1 = true + } + yyh1.ElemContainerState(yyj1) + + var yydb1 bool + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, 0) + yyc1 = true + + } + if yydb1 { + z.DecSwallow() + } else { + if r.TryDecodeAsNil() { + yyv1[yyj1] = 0 + } else { + yyv1[yyj1] = (uintptr)(z.C.UintV(r.DecodeUint64(), codecSelferBitsize19781)) + } + + } + + } + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = make([]uintptr, 0) + yyc1 = true + } + } + yyh1.End() + if yyc1 { + *v = yyv1 + } +} + +func (x codecSelfer19781) encSliceint(v []int, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteArrayStart(len(v)) + for _, yyv1 := range v { + r.WriteArrayElem() + if false { + } else { + r.EncodeInt(int64(yyv1)) + } + } + r.WriteArrayEnd() +} + +func (x codecSelfer19781) decSliceint(v *[]int, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []int{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true + } + } else { + yyhl1 := yyl1 > 0 + var yyrl1 int + _ = yyrl1 + if yyhl1 { + if yyl1 > cap(yyv1) { + yyrl1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 8) + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] + } else { + yyv1 = make([]int, yyrl1) + } + yyc1 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true + } + } + var yyj1 int + // var yydn1 bool + for yyj1 = 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { // bounds-check-elimination + if yyj1 == 0 && yyv1 == nil { + if yyhl1 { + yyrl1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 8) + } else { + yyrl1 = 8 + } + yyv1 = make([]int, yyrl1) + yyc1 = true + } + yyh1.ElemContainerState(yyj1) + + var yydb1 bool + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, 0) + yyc1 = true + + } + if yydb1 { + z.DecSwallow() + } else { + if r.TryDecodeAsNil() { + yyv1[yyj1] = 0 + } else { + yyv1[yyj1] = (int)(z.C.IntV(r.DecodeInt64(), codecSelferBitsize19781)) + } + + } + + } + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = make([]int, 0) + yyc1 = true + } + } + yyh1.End() + if yyc1 { + *v = yyv1 + } +} + +func (x codecSelfer19781) encSliceint8(v []int8, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteArrayStart(len(v)) + for _, yyv1 := range v { + r.WriteArrayElem() + if false { + } else { + r.EncodeInt(int64(yyv1)) + } + } + r.WriteArrayEnd() +} + +func (x codecSelfer19781) decSliceint8(v *[]int8, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []int8{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true + } + } else { + yyhl1 := yyl1 > 0 + var yyrl1 int + _ = yyrl1 + if yyhl1 { + if yyl1 > cap(yyv1) { + yyrl1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 1) + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] + } else { + yyv1 = make([]int8, yyrl1) + } + yyc1 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true + } + } + var yyj1 int + // var yydn1 bool + for yyj1 = 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { // bounds-check-elimination + if yyj1 == 0 && yyv1 == nil { + if yyhl1 { + yyrl1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 1) + } else { + yyrl1 = 8 + } + yyv1 = make([]int8, yyrl1) + yyc1 = true + } + yyh1.ElemContainerState(yyj1) + + var yydb1 bool + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, 0) + yyc1 = true + + } + if yydb1 { + z.DecSwallow() + } else { + if r.TryDecodeAsNil() { + yyv1[yyj1] = 0 + } else { + yyv1[yyj1] = (int8)(z.C.IntV(r.DecodeInt64(), 8)) + } + + } + + } + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = make([]int8, 0) + yyc1 = true + } + } + yyh1.End() + if yyc1 { + *v = yyv1 + } +} + +func (x codecSelfer19781) encSliceint16(v []int16, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteArrayStart(len(v)) + for _, yyv1 := range v { + r.WriteArrayElem() + if false { + } else { + r.EncodeInt(int64(yyv1)) + } + } + r.WriteArrayEnd() +} + +func (x codecSelfer19781) decSliceint16(v *[]int16, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []int16{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true + } + } else { + yyhl1 := yyl1 > 0 + var yyrl1 int + _ = yyrl1 + if yyhl1 { + if yyl1 > cap(yyv1) { + yyrl1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 2) + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] + } else { + yyv1 = make([]int16, yyrl1) + } + yyc1 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true + } + } + var yyj1 int + // var yydn1 bool + for yyj1 = 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { // bounds-check-elimination + if yyj1 == 0 && yyv1 == nil { + if yyhl1 { + yyrl1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 2) + } else { + yyrl1 = 8 + } + yyv1 = make([]int16, yyrl1) + yyc1 = true + } + yyh1.ElemContainerState(yyj1) + + var yydb1 bool + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, 0) + yyc1 = true + + } + if yydb1 { + z.DecSwallow() + } else { + if r.TryDecodeAsNil() { + yyv1[yyj1] = 0 + } else { + yyv1[yyj1] = (int16)(z.C.IntV(r.DecodeInt64(), 16)) + } + + } + + } + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = make([]int16, 0) + yyc1 = true + } + } + yyh1.End() + if yyc1 { + *v = yyv1 + } +} + +func (x codecSelfer19781) encSliceint32(v []int32, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteArrayStart(len(v)) + for _, yyv1 := range v { + r.WriteArrayElem() + if false { + } else { + r.EncodeInt(int64(yyv1)) + } + } + r.WriteArrayEnd() +} + +func (x codecSelfer19781) decSliceint32(v *[]int32, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []int32{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true + } + } else { + yyhl1 := yyl1 > 0 + var yyrl1 int + _ = yyrl1 + if yyhl1 { + if yyl1 > cap(yyv1) { + yyrl1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 4) + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] + } else { + yyv1 = make([]int32, yyrl1) + } + yyc1 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true + } + } + var yyj1 int + // var yydn1 bool + for yyj1 = 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { // bounds-check-elimination + if yyj1 == 0 && yyv1 == nil { + if yyhl1 { + yyrl1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 4) + } else { + yyrl1 = 8 + } + yyv1 = make([]int32, yyrl1) + yyc1 = true + } + yyh1.ElemContainerState(yyj1) + + var yydb1 bool + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, 0) + yyc1 = true + + } + if yydb1 { + z.DecSwallow() + } else { + if r.TryDecodeAsNil() { + yyv1[yyj1] = 0 + } else { + yyv1[yyj1] = (int32)(z.C.IntV(r.DecodeInt64(), 32)) + } + + } + + } + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = make([]int32, 0) + yyc1 = true + } + } + yyh1.End() + if yyc1 { + *v = yyv1 + } +} + +func (x codecSelfer19781) encSliceint64(v []int64, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteArrayStart(len(v)) + for _, yyv1 := range v { + r.WriteArrayElem() + if false { + } else { + r.EncodeInt(int64(yyv1)) + } + } + r.WriteArrayEnd() +} + +func (x codecSelfer19781) decSliceint64(v *[]int64, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []int64{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true + } + } else { + yyhl1 := yyl1 > 0 + var yyrl1 int + _ = yyrl1 + if yyhl1 { + if yyl1 > cap(yyv1) { + yyrl1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 8) + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] + } else { + yyv1 = make([]int64, yyrl1) + } + yyc1 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true + } + } + var yyj1 int + // var yydn1 bool + for yyj1 = 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { // bounds-check-elimination + if yyj1 == 0 && yyv1 == nil { + if yyhl1 { + yyrl1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 8) + } else { + yyrl1 = 8 + } + yyv1 = make([]int64, yyrl1) + yyc1 = true + } + yyh1.ElemContainerState(yyj1) + + var yydb1 bool + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, 0) + yyc1 = true + + } + if yydb1 { + z.DecSwallow() + } else { + if r.TryDecodeAsNil() { + yyv1[yyj1] = 0 + } else { + yyv1[yyj1] = (int64)(r.DecodeInt64()) + } + + } + + } + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = make([]int64, 0) + yyc1 = true + } + } + yyh1.End() + if yyc1 { + *v = yyv1 + } +} + +func (x codecSelfer19781) encSlicebool(v []bool, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteArrayStart(len(v)) + for _, yyv1 := range v { + r.WriteArrayElem() + if false { + } else { + r.EncodeBool(bool(yyv1)) + } + } + r.WriteArrayEnd() +} + +func (x codecSelfer19781) decSlicebool(v *[]bool, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []bool{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true + } + } else { + yyhl1 := yyl1 > 0 + var yyrl1 int + _ = yyrl1 + if yyhl1 { + if yyl1 > cap(yyv1) { + yyrl1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 1) + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] + } else { + yyv1 = make([]bool, yyrl1) + } + yyc1 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true + } + } + var yyj1 int + // var yydn1 bool + for yyj1 = 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { // bounds-check-elimination + if yyj1 == 0 && yyv1 == nil { + if yyhl1 { + yyrl1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 1) + } else { + yyrl1 = 8 + } + yyv1 = make([]bool, yyrl1) + yyc1 = true + } + yyh1.ElemContainerState(yyj1) + + var yydb1 bool + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, false) + yyc1 = true + + } + if yydb1 { + z.DecSwallow() + } else { + if r.TryDecodeAsNil() { + yyv1[yyj1] = false + } else { + yyv1[yyj1] = (bool)(r.DecodeBool()) + } + + } + + } + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = make([]bool, 0) + yyc1 = true + } + } + yyh1.End() + if yyc1 { + *v = yyv1 + } +} + +func (x codecSelfer19781) encMapInterfaceInterface(v map[interface{}]interface{}, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if yyk1 == nil { + r.EncodeNil() + } else { + if false { + } else { + z.EncFallback(yyk1) + } + } + r.WriteMapElemValue() + if yyv1 == nil { + r.EncodeNil() + } else { + if false { + } else { + z.EncFallback(yyv1) + } + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapInterfaceInterface(v *map[interface{}]interface{}, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 32) + yyv1 = make(map[interface{}]interface{}, yyrl1) + *v = yyv1 + } + var yymk1 interface{} + var yymv1 interface{} + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + if !yybh1.InterfaceReset { + yymg1 = true + } + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = nil + } else { + if false { + } else { + z.DecFallback(&yymk1, true) + } + } + + if yybv1, yybok1 := yymk1.([]byte); yybok1 { + yymk1 = string(yybv1) + } + if yymg1 { + yymv1 = yyv1[yymk1] + } else { + yymv1 = nil + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + if false { + } else { + z.DecFallback(&yymv1, true) + } + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = nil + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapInterfacestring(v map[interface{}]string, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if yyk1 == nil { + r.EncodeNil() + } else { + if false { + } else { + z.EncFallback(yyk1) + } + } + r.WriteMapElemValue() + if false { + } else { + if z.EncBasicHandle().StringToRaw { + r.EncodeStringBytesRaw(z.BytesView(string(yyv1))) + } else { + r.EncodeStringEnc(codecSelferCcUTF819781, string(yyv1)) + } + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapInterfacestring(v *map[interface{}]string, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 32) + yyv1 = make(map[interface{}]string, yyrl1) + *v = yyv1 + } + var yymk1 interface{} + var yymv1 string + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = nil + } else { + if false { + } else { + z.DecFallback(&yymk1, true) + } + } + + if yybv1, yybok1 := yymk1.([]byte); yybok1 { + yymk1 = string(yybv1) + } + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (string)(r.DecodeString()) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = "" + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapInterfaceuint(v map[interface{}]uint, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if yyk1 == nil { + r.EncodeNil() + } else { + if false { + } else { + z.EncFallback(yyk1) + } + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeUint(uint64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapInterfaceuint(v *map[interface{}]uint, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 24) + yyv1 = make(map[interface{}]uint, yyrl1) + *v = yyv1 + } + var yymk1 interface{} + var yymv1 uint + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = nil + } else { + if false { + } else { + z.DecFallback(&yymk1, true) + } + } + + if yybv1, yybok1 := yymk1.([]byte); yybok1 { + yymk1 = string(yybv1) + } + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (uint)(z.C.UintV(r.DecodeUint64(), codecSelferBitsize19781)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapInterfaceuint8(v map[interface{}]uint8, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if yyk1 == nil { + r.EncodeNil() + } else { + if false { + } else { + z.EncFallback(yyk1) + } + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeUint(uint64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapInterfaceuint8(v *map[interface{}]uint8, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 17) + yyv1 = make(map[interface{}]uint8, yyrl1) + *v = yyv1 + } + var yymk1 interface{} + var yymv1 uint8 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = nil + } else { + if false { + } else { + z.DecFallback(&yymk1, true) + } + } + + if yybv1, yybok1 := yymk1.([]byte); yybok1 { + yymk1 = string(yybv1) + } + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (uint8)(z.C.UintV(r.DecodeUint64(), 8)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapInterfaceuint16(v map[interface{}]uint16, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if yyk1 == nil { + r.EncodeNil() + } else { + if false { + } else { + z.EncFallback(yyk1) + } + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeUint(uint64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapInterfaceuint16(v *map[interface{}]uint16, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 18) + yyv1 = make(map[interface{}]uint16, yyrl1) + *v = yyv1 + } + var yymk1 interface{} + var yymv1 uint16 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = nil + } else { + if false { + } else { + z.DecFallback(&yymk1, true) + } + } + + if yybv1, yybok1 := yymk1.([]byte); yybok1 { + yymk1 = string(yybv1) + } + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (uint16)(z.C.UintV(r.DecodeUint64(), 16)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapInterfaceuint32(v map[interface{}]uint32, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if yyk1 == nil { + r.EncodeNil() + } else { + if false { + } else { + z.EncFallback(yyk1) + } + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeUint(uint64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapInterfaceuint32(v *map[interface{}]uint32, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 20) + yyv1 = make(map[interface{}]uint32, yyrl1) + *v = yyv1 + } + var yymk1 interface{} + var yymv1 uint32 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = nil + } else { + if false { + } else { + z.DecFallback(&yymk1, true) + } + } + + if yybv1, yybok1 := yymk1.([]byte); yybok1 { + yymk1 = string(yybv1) + } + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (uint32)(z.C.UintV(r.DecodeUint64(), 32)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapInterfaceuint64(v map[interface{}]uint64, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if yyk1 == nil { + r.EncodeNil() + } else { + if false { + } else { + z.EncFallback(yyk1) + } + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeUint(uint64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapInterfaceuint64(v *map[interface{}]uint64, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 24) + yyv1 = make(map[interface{}]uint64, yyrl1) + *v = yyv1 + } + var yymk1 interface{} + var yymv1 uint64 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = nil + } else { + if false { + } else { + z.DecFallback(&yymk1, true) + } + } + + if yybv1, yybok1 := yymk1.([]byte); yybok1 { + yymk1 = string(yybv1) + } + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (uint64)(r.DecodeUint64()) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapInterfaceuintptr(v map[interface{}]uintptr, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if yyk1 == nil { + r.EncodeNil() + } else { + if false { + } else { + z.EncFallback(yyk1) + } + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeUint(uint64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapInterfaceuintptr(v *map[interface{}]uintptr, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 24) + yyv1 = make(map[interface{}]uintptr, yyrl1) + *v = yyv1 + } + var yymk1 interface{} + var yymv1 uintptr + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = nil + } else { + if false { + } else { + z.DecFallback(&yymk1, true) + } + } + + if yybv1, yybok1 := yymk1.([]byte); yybok1 { + yymk1 = string(yybv1) + } + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (uintptr)(z.C.UintV(r.DecodeUint64(), codecSelferBitsize19781)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapInterfaceint(v map[interface{}]int, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if yyk1 == nil { + r.EncodeNil() + } else { + if false { + } else { + z.EncFallback(yyk1) + } + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeInt(int64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapInterfaceint(v *map[interface{}]int, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 24) + yyv1 = make(map[interface{}]int, yyrl1) + *v = yyv1 + } + var yymk1 interface{} + var yymv1 int + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = nil + } else { + if false { + } else { + z.DecFallback(&yymk1, true) + } + } + + if yybv1, yybok1 := yymk1.([]byte); yybok1 { + yymk1 = string(yybv1) + } + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (int)(z.C.IntV(r.DecodeInt64(), codecSelferBitsize19781)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapInterfaceint8(v map[interface{}]int8, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if yyk1 == nil { + r.EncodeNil() + } else { + if false { + } else { + z.EncFallback(yyk1) + } + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeInt(int64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapInterfaceint8(v *map[interface{}]int8, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 17) + yyv1 = make(map[interface{}]int8, yyrl1) + *v = yyv1 + } + var yymk1 interface{} + var yymv1 int8 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = nil + } else { + if false { + } else { + z.DecFallback(&yymk1, true) + } + } + + if yybv1, yybok1 := yymk1.([]byte); yybok1 { + yymk1 = string(yybv1) + } + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (int8)(z.C.IntV(r.DecodeInt64(), 8)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapInterfaceint16(v map[interface{}]int16, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if yyk1 == nil { + r.EncodeNil() + } else { + if false { + } else { + z.EncFallback(yyk1) + } + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeInt(int64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapInterfaceint16(v *map[interface{}]int16, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 18) + yyv1 = make(map[interface{}]int16, yyrl1) + *v = yyv1 + } + var yymk1 interface{} + var yymv1 int16 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = nil + } else { + if false { + } else { + z.DecFallback(&yymk1, true) + } + } + + if yybv1, yybok1 := yymk1.([]byte); yybok1 { + yymk1 = string(yybv1) + } + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (int16)(z.C.IntV(r.DecodeInt64(), 16)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapInterfaceint32(v map[interface{}]int32, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if yyk1 == nil { + r.EncodeNil() + } else { + if false { + } else { + z.EncFallback(yyk1) + } + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeInt(int64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapInterfaceint32(v *map[interface{}]int32, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 20) + yyv1 = make(map[interface{}]int32, yyrl1) + *v = yyv1 + } + var yymk1 interface{} + var yymv1 int32 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = nil + } else { + if false { + } else { + z.DecFallback(&yymk1, true) + } + } + + if yybv1, yybok1 := yymk1.([]byte); yybok1 { + yymk1 = string(yybv1) + } + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (int32)(z.C.IntV(r.DecodeInt64(), 32)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapInterfaceint64(v map[interface{}]int64, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if yyk1 == nil { + r.EncodeNil() + } else { + if false { + } else { + z.EncFallback(yyk1) + } + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeInt(int64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapInterfaceint64(v *map[interface{}]int64, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 24) + yyv1 = make(map[interface{}]int64, yyrl1) + *v = yyv1 + } + var yymk1 interface{} + var yymv1 int64 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = nil + } else { + if false { + } else { + z.DecFallback(&yymk1, true) + } + } + + if yybv1, yybok1 := yymk1.([]byte); yybok1 { + yymk1 = string(yybv1) + } + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (int64)(r.DecodeInt64()) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapInterfacefloat32(v map[interface{}]float32, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if yyk1 == nil { + r.EncodeNil() + } else { + if false { + } else { + z.EncFallback(yyk1) + } + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeFloat32(float32(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapInterfacefloat32(v *map[interface{}]float32, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 20) + yyv1 = make(map[interface{}]float32, yyrl1) + *v = yyv1 + } + var yymk1 interface{} + var yymv1 float32 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = nil + } else { + if false { + } else { + z.DecFallback(&yymk1, true) + } + } + + if yybv1, yybok1 := yymk1.([]byte); yybok1 { + yymk1 = string(yybv1) + } + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (float32)(r.DecodeFloat32As64()) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapInterfacefloat64(v map[interface{}]float64, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if yyk1 == nil { + r.EncodeNil() + } else { + if false { + } else { + z.EncFallback(yyk1) + } + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeFloat64(float64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapInterfacefloat64(v *map[interface{}]float64, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 24) + yyv1 = make(map[interface{}]float64, yyrl1) + *v = yyv1 + } + var yymk1 interface{} + var yymv1 float64 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = nil + } else { + if false { + } else { + z.DecFallback(&yymk1, true) + } + } + + if yybv1, yybok1 := yymk1.([]byte); yybok1 { + yymk1 = string(yybv1) + } + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (float64)(r.DecodeFloat64()) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapInterfacebool(v map[interface{}]bool, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if yyk1 == nil { + r.EncodeNil() + } else { + if false { + } else { + z.EncFallback(yyk1) + } + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeBool(bool(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapInterfacebool(v *map[interface{}]bool, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 17) + yyv1 = make(map[interface{}]bool, yyrl1) + *v = yyv1 + } + var yymk1 interface{} + var yymv1 bool + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = nil + } else { + if false { + } else { + z.DecFallback(&yymk1, true) + } + } + + if yybv1, yybok1 := yymk1.([]byte); yybok1 { + yymk1 = string(yybv1) + } + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (bool)(r.DecodeBool()) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = false + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapstringInterface(v map[string]interface{}, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + if z.EncBasicHandle().StringToRaw { + r.EncodeStringBytesRaw(z.BytesView(string(yyk1))) + } else { + r.EncodeStringEnc(codecSelferCcUTF819781, string(yyk1)) + } + } + r.WriteMapElemValue() + if yyv1 == nil { + r.EncodeNil() + } else { + if false { + } else { + z.EncFallback(yyv1) + } + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapstringInterface(v *map[string]interface{}, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 32) + yyv1 = make(map[string]interface{}, yyrl1) + *v = yyv1 + } + var yymk1 string + var yymv1 interface{} + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + if !yybh1.InterfaceReset { + yymg1 = true + } + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = "" + } else { + yymk1 = (string)(r.DecodeString()) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } else { + yymv1 = nil + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + if false { + } else { + z.DecFallback(&yymv1, true) + } + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = nil + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapstringstring(v map[string]string, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + if z.EncBasicHandle().StringToRaw { + r.EncodeStringBytesRaw(z.BytesView(string(yyk1))) + } else { + r.EncodeStringEnc(codecSelferCcUTF819781, string(yyk1)) + } + } + r.WriteMapElemValue() + if false { + } else { + if z.EncBasicHandle().StringToRaw { + r.EncodeStringBytesRaw(z.BytesView(string(yyv1))) + } else { + r.EncodeStringEnc(codecSelferCcUTF819781, string(yyv1)) + } + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapstringstring(v *map[string]string, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 32) + yyv1 = make(map[string]string, yyrl1) + *v = yyv1 + } + var yymk1 string + var yymv1 string + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = "" + } else { + yymk1 = (string)(r.DecodeString()) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (string)(r.DecodeString()) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = "" + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapstringuint(v map[string]uint, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + if z.EncBasicHandle().StringToRaw { + r.EncodeStringBytesRaw(z.BytesView(string(yyk1))) + } else { + r.EncodeStringEnc(codecSelferCcUTF819781, string(yyk1)) + } + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeUint(uint64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapstringuint(v *map[string]uint, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 24) + yyv1 = make(map[string]uint, yyrl1) + *v = yyv1 + } + var yymk1 string + var yymv1 uint + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = "" + } else { + yymk1 = (string)(r.DecodeString()) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (uint)(z.C.UintV(r.DecodeUint64(), codecSelferBitsize19781)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapstringuint8(v map[string]uint8, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + if z.EncBasicHandle().StringToRaw { + r.EncodeStringBytesRaw(z.BytesView(string(yyk1))) + } else { + r.EncodeStringEnc(codecSelferCcUTF819781, string(yyk1)) + } + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeUint(uint64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapstringuint8(v *map[string]uint8, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 17) + yyv1 = make(map[string]uint8, yyrl1) + *v = yyv1 + } + var yymk1 string + var yymv1 uint8 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = "" + } else { + yymk1 = (string)(r.DecodeString()) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (uint8)(z.C.UintV(r.DecodeUint64(), 8)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapstringuint16(v map[string]uint16, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + if z.EncBasicHandle().StringToRaw { + r.EncodeStringBytesRaw(z.BytesView(string(yyk1))) + } else { + r.EncodeStringEnc(codecSelferCcUTF819781, string(yyk1)) + } + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeUint(uint64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapstringuint16(v *map[string]uint16, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 18) + yyv1 = make(map[string]uint16, yyrl1) + *v = yyv1 + } + var yymk1 string + var yymv1 uint16 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = "" + } else { + yymk1 = (string)(r.DecodeString()) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (uint16)(z.C.UintV(r.DecodeUint64(), 16)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapstringuint32(v map[string]uint32, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + if z.EncBasicHandle().StringToRaw { + r.EncodeStringBytesRaw(z.BytesView(string(yyk1))) + } else { + r.EncodeStringEnc(codecSelferCcUTF819781, string(yyk1)) + } + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeUint(uint64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapstringuint32(v *map[string]uint32, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 20) + yyv1 = make(map[string]uint32, yyrl1) + *v = yyv1 + } + var yymk1 string + var yymv1 uint32 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = "" + } else { + yymk1 = (string)(r.DecodeString()) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (uint32)(z.C.UintV(r.DecodeUint64(), 32)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapstringuint64(v map[string]uint64, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + if z.EncBasicHandle().StringToRaw { + r.EncodeStringBytesRaw(z.BytesView(string(yyk1))) + } else { + r.EncodeStringEnc(codecSelferCcUTF819781, string(yyk1)) + } + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeUint(uint64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapstringuint64(v *map[string]uint64, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 24) + yyv1 = make(map[string]uint64, yyrl1) + *v = yyv1 + } + var yymk1 string + var yymv1 uint64 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = "" + } else { + yymk1 = (string)(r.DecodeString()) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (uint64)(r.DecodeUint64()) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapstringuintptr(v map[string]uintptr, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + if z.EncBasicHandle().StringToRaw { + r.EncodeStringBytesRaw(z.BytesView(string(yyk1))) + } else { + r.EncodeStringEnc(codecSelferCcUTF819781, string(yyk1)) + } + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeUint(uint64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapstringuintptr(v *map[string]uintptr, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 24) + yyv1 = make(map[string]uintptr, yyrl1) + *v = yyv1 + } + var yymk1 string + var yymv1 uintptr + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = "" + } else { + yymk1 = (string)(r.DecodeString()) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (uintptr)(z.C.UintV(r.DecodeUint64(), codecSelferBitsize19781)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapstringint(v map[string]int, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + if z.EncBasicHandle().StringToRaw { + r.EncodeStringBytesRaw(z.BytesView(string(yyk1))) + } else { + r.EncodeStringEnc(codecSelferCcUTF819781, string(yyk1)) + } + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeInt(int64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapstringint(v *map[string]int, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 24) + yyv1 = make(map[string]int, yyrl1) + *v = yyv1 + } + var yymk1 string + var yymv1 int + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = "" + } else { + yymk1 = (string)(r.DecodeString()) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (int)(z.C.IntV(r.DecodeInt64(), codecSelferBitsize19781)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapstringint8(v map[string]int8, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + if z.EncBasicHandle().StringToRaw { + r.EncodeStringBytesRaw(z.BytesView(string(yyk1))) + } else { + r.EncodeStringEnc(codecSelferCcUTF819781, string(yyk1)) + } + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeInt(int64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapstringint8(v *map[string]int8, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 17) + yyv1 = make(map[string]int8, yyrl1) + *v = yyv1 + } + var yymk1 string + var yymv1 int8 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = "" + } else { + yymk1 = (string)(r.DecodeString()) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (int8)(z.C.IntV(r.DecodeInt64(), 8)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapstringint16(v map[string]int16, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + if z.EncBasicHandle().StringToRaw { + r.EncodeStringBytesRaw(z.BytesView(string(yyk1))) + } else { + r.EncodeStringEnc(codecSelferCcUTF819781, string(yyk1)) + } + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeInt(int64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapstringint16(v *map[string]int16, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 18) + yyv1 = make(map[string]int16, yyrl1) + *v = yyv1 + } + var yymk1 string + var yymv1 int16 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = "" + } else { + yymk1 = (string)(r.DecodeString()) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (int16)(z.C.IntV(r.DecodeInt64(), 16)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapstringint32(v map[string]int32, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + if z.EncBasicHandle().StringToRaw { + r.EncodeStringBytesRaw(z.BytesView(string(yyk1))) + } else { + r.EncodeStringEnc(codecSelferCcUTF819781, string(yyk1)) + } + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeInt(int64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapstringint32(v *map[string]int32, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 20) + yyv1 = make(map[string]int32, yyrl1) + *v = yyv1 + } + var yymk1 string + var yymv1 int32 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = "" + } else { + yymk1 = (string)(r.DecodeString()) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (int32)(z.C.IntV(r.DecodeInt64(), 32)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapstringint64(v map[string]int64, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + if z.EncBasicHandle().StringToRaw { + r.EncodeStringBytesRaw(z.BytesView(string(yyk1))) + } else { + r.EncodeStringEnc(codecSelferCcUTF819781, string(yyk1)) + } + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeInt(int64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapstringint64(v *map[string]int64, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 24) + yyv1 = make(map[string]int64, yyrl1) + *v = yyv1 + } + var yymk1 string + var yymv1 int64 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = "" + } else { + yymk1 = (string)(r.DecodeString()) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (int64)(r.DecodeInt64()) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapstringfloat32(v map[string]float32, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + if z.EncBasicHandle().StringToRaw { + r.EncodeStringBytesRaw(z.BytesView(string(yyk1))) + } else { + r.EncodeStringEnc(codecSelferCcUTF819781, string(yyk1)) + } + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeFloat32(float32(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapstringfloat32(v *map[string]float32, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 20) + yyv1 = make(map[string]float32, yyrl1) + *v = yyv1 + } + var yymk1 string + var yymv1 float32 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = "" + } else { + yymk1 = (string)(r.DecodeString()) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (float32)(r.DecodeFloat32As64()) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapstringfloat64(v map[string]float64, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + if z.EncBasicHandle().StringToRaw { + r.EncodeStringBytesRaw(z.BytesView(string(yyk1))) + } else { + r.EncodeStringEnc(codecSelferCcUTF819781, string(yyk1)) + } + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeFloat64(float64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapstringfloat64(v *map[string]float64, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 24) + yyv1 = make(map[string]float64, yyrl1) + *v = yyv1 + } + var yymk1 string + var yymv1 float64 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = "" + } else { + yymk1 = (string)(r.DecodeString()) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (float64)(r.DecodeFloat64()) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapstringbool(v map[string]bool, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + if z.EncBasicHandle().StringToRaw { + r.EncodeStringBytesRaw(z.BytesView(string(yyk1))) + } else { + r.EncodeStringEnc(codecSelferCcUTF819781, string(yyk1)) + } + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeBool(bool(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapstringbool(v *map[string]bool, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 17) + yyv1 = make(map[string]bool, yyrl1) + *v = yyv1 + } + var yymk1 string + var yymv1 bool + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = "" + } else { + yymk1 = (string)(r.DecodeString()) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (bool)(r.DecodeBool()) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = false + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapfloat32Interface(v map[float32]interface{}, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeFloat32(float32(yyk1)) + } + r.WriteMapElemValue() + if yyv1 == nil { + r.EncodeNil() + } else { + if false { + } else { + z.EncFallback(yyv1) + } + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapfloat32Interface(v *map[float32]interface{}, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 20) + yyv1 = make(map[float32]interface{}, yyrl1) + *v = yyv1 + } + var yymk1 float32 + var yymv1 interface{} + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + if !yybh1.InterfaceReset { + yymg1 = true + } + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (float32)(r.DecodeFloat32As64()) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } else { + yymv1 = nil + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + if false { + } else { + z.DecFallback(&yymv1, true) + } + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = nil + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapfloat32string(v map[float32]string, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeFloat32(float32(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + if z.EncBasicHandle().StringToRaw { + r.EncodeStringBytesRaw(z.BytesView(string(yyv1))) + } else { + r.EncodeStringEnc(codecSelferCcUTF819781, string(yyv1)) + } + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapfloat32string(v *map[float32]string, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 20) + yyv1 = make(map[float32]string, yyrl1) + *v = yyv1 + } + var yymk1 float32 + var yymv1 string + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (float32)(r.DecodeFloat32As64()) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (string)(r.DecodeString()) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = "" + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapfloat32uint(v map[float32]uint, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeFloat32(float32(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeUint(uint64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapfloat32uint(v *map[float32]uint, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 12) + yyv1 = make(map[float32]uint, yyrl1) + *v = yyv1 + } + var yymk1 float32 + var yymv1 uint + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (float32)(r.DecodeFloat32As64()) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (uint)(z.C.UintV(r.DecodeUint64(), codecSelferBitsize19781)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapfloat32uint8(v map[float32]uint8, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeFloat32(float32(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeUint(uint64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapfloat32uint8(v *map[float32]uint8, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 5) + yyv1 = make(map[float32]uint8, yyrl1) + *v = yyv1 + } + var yymk1 float32 + var yymv1 uint8 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (float32)(r.DecodeFloat32As64()) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (uint8)(z.C.UintV(r.DecodeUint64(), 8)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapfloat32uint16(v map[float32]uint16, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeFloat32(float32(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeUint(uint64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapfloat32uint16(v *map[float32]uint16, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 6) + yyv1 = make(map[float32]uint16, yyrl1) + *v = yyv1 + } + var yymk1 float32 + var yymv1 uint16 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (float32)(r.DecodeFloat32As64()) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (uint16)(z.C.UintV(r.DecodeUint64(), 16)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapfloat32uint32(v map[float32]uint32, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeFloat32(float32(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeUint(uint64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapfloat32uint32(v *map[float32]uint32, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 8) + yyv1 = make(map[float32]uint32, yyrl1) + *v = yyv1 + } + var yymk1 float32 + var yymv1 uint32 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (float32)(r.DecodeFloat32As64()) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (uint32)(z.C.UintV(r.DecodeUint64(), 32)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapfloat32uint64(v map[float32]uint64, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeFloat32(float32(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeUint(uint64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapfloat32uint64(v *map[float32]uint64, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 12) + yyv1 = make(map[float32]uint64, yyrl1) + *v = yyv1 + } + var yymk1 float32 + var yymv1 uint64 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (float32)(r.DecodeFloat32As64()) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (uint64)(r.DecodeUint64()) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapfloat32uintptr(v map[float32]uintptr, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeFloat32(float32(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeUint(uint64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapfloat32uintptr(v *map[float32]uintptr, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 12) + yyv1 = make(map[float32]uintptr, yyrl1) + *v = yyv1 + } + var yymk1 float32 + var yymv1 uintptr + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (float32)(r.DecodeFloat32As64()) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (uintptr)(z.C.UintV(r.DecodeUint64(), codecSelferBitsize19781)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapfloat32int(v map[float32]int, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeFloat32(float32(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeInt(int64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapfloat32int(v *map[float32]int, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 12) + yyv1 = make(map[float32]int, yyrl1) + *v = yyv1 + } + var yymk1 float32 + var yymv1 int + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (float32)(r.DecodeFloat32As64()) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (int)(z.C.IntV(r.DecodeInt64(), codecSelferBitsize19781)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapfloat32int8(v map[float32]int8, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeFloat32(float32(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeInt(int64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapfloat32int8(v *map[float32]int8, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 5) + yyv1 = make(map[float32]int8, yyrl1) + *v = yyv1 + } + var yymk1 float32 + var yymv1 int8 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (float32)(r.DecodeFloat32As64()) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (int8)(z.C.IntV(r.DecodeInt64(), 8)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapfloat32int16(v map[float32]int16, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeFloat32(float32(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeInt(int64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapfloat32int16(v *map[float32]int16, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 6) + yyv1 = make(map[float32]int16, yyrl1) + *v = yyv1 + } + var yymk1 float32 + var yymv1 int16 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (float32)(r.DecodeFloat32As64()) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (int16)(z.C.IntV(r.DecodeInt64(), 16)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapfloat32int32(v map[float32]int32, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeFloat32(float32(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeInt(int64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapfloat32int32(v *map[float32]int32, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 8) + yyv1 = make(map[float32]int32, yyrl1) + *v = yyv1 + } + var yymk1 float32 + var yymv1 int32 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (float32)(r.DecodeFloat32As64()) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (int32)(z.C.IntV(r.DecodeInt64(), 32)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapfloat32int64(v map[float32]int64, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeFloat32(float32(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeInt(int64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapfloat32int64(v *map[float32]int64, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 12) + yyv1 = make(map[float32]int64, yyrl1) + *v = yyv1 + } + var yymk1 float32 + var yymv1 int64 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (float32)(r.DecodeFloat32As64()) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (int64)(r.DecodeInt64()) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapfloat32float32(v map[float32]float32, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeFloat32(float32(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeFloat32(float32(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapfloat32float32(v *map[float32]float32, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 8) + yyv1 = make(map[float32]float32, yyrl1) + *v = yyv1 + } + var yymk1 float32 + var yymv1 float32 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (float32)(r.DecodeFloat32As64()) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (float32)(r.DecodeFloat32As64()) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapfloat32float64(v map[float32]float64, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeFloat32(float32(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeFloat64(float64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapfloat32float64(v *map[float32]float64, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 12) + yyv1 = make(map[float32]float64, yyrl1) + *v = yyv1 + } + var yymk1 float32 + var yymv1 float64 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (float32)(r.DecodeFloat32As64()) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (float64)(r.DecodeFloat64()) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapfloat32bool(v map[float32]bool, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeFloat32(float32(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeBool(bool(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapfloat32bool(v *map[float32]bool, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 5) + yyv1 = make(map[float32]bool, yyrl1) + *v = yyv1 + } + var yymk1 float32 + var yymv1 bool + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (float32)(r.DecodeFloat32As64()) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (bool)(r.DecodeBool()) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = false + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapfloat64Interface(v map[float64]interface{}, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeFloat64(float64(yyk1)) + } + r.WriteMapElemValue() + if yyv1 == nil { + r.EncodeNil() + } else { + if false { + } else { + z.EncFallback(yyv1) + } + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapfloat64Interface(v *map[float64]interface{}, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 24) + yyv1 = make(map[float64]interface{}, yyrl1) + *v = yyv1 + } + var yymk1 float64 + var yymv1 interface{} + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + if !yybh1.InterfaceReset { + yymg1 = true + } + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (float64)(r.DecodeFloat64()) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } else { + yymv1 = nil + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + if false { + } else { + z.DecFallback(&yymv1, true) + } + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = nil + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapfloat64string(v map[float64]string, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeFloat64(float64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + if z.EncBasicHandle().StringToRaw { + r.EncodeStringBytesRaw(z.BytesView(string(yyv1))) + } else { + r.EncodeStringEnc(codecSelferCcUTF819781, string(yyv1)) + } + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapfloat64string(v *map[float64]string, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 24) + yyv1 = make(map[float64]string, yyrl1) + *v = yyv1 + } + var yymk1 float64 + var yymv1 string + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (float64)(r.DecodeFloat64()) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (string)(r.DecodeString()) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = "" + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapfloat64uint(v map[float64]uint, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeFloat64(float64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeUint(uint64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapfloat64uint(v *map[float64]uint, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 16) + yyv1 = make(map[float64]uint, yyrl1) + *v = yyv1 + } + var yymk1 float64 + var yymv1 uint + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (float64)(r.DecodeFloat64()) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (uint)(z.C.UintV(r.DecodeUint64(), codecSelferBitsize19781)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapfloat64uint8(v map[float64]uint8, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeFloat64(float64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeUint(uint64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapfloat64uint8(v *map[float64]uint8, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 9) + yyv1 = make(map[float64]uint8, yyrl1) + *v = yyv1 + } + var yymk1 float64 + var yymv1 uint8 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (float64)(r.DecodeFloat64()) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (uint8)(z.C.UintV(r.DecodeUint64(), 8)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapfloat64uint16(v map[float64]uint16, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeFloat64(float64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeUint(uint64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapfloat64uint16(v *map[float64]uint16, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 10) + yyv1 = make(map[float64]uint16, yyrl1) + *v = yyv1 + } + var yymk1 float64 + var yymv1 uint16 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (float64)(r.DecodeFloat64()) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (uint16)(z.C.UintV(r.DecodeUint64(), 16)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapfloat64uint32(v map[float64]uint32, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeFloat64(float64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeUint(uint64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapfloat64uint32(v *map[float64]uint32, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 12) + yyv1 = make(map[float64]uint32, yyrl1) + *v = yyv1 + } + var yymk1 float64 + var yymv1 uint32 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (float64)(r.DecodeFloat64()) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (uint32)(z.C.UintV(r.DecodeUint64(), 32)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapfloat64uint64(v map[float64]uint64, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeFloat64(float64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeUint(uint64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapfloat64uint64(v *map[float64]uint64, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 16) + yyv1 = make(map[float64]uint64, yyrl1) + *v = yyv1 + } + var yymk1 float64 + var yymv1 uint64 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (float64)(r.DecodeFloat64()) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (uint64)(r.DecodeUint64()) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapfloat64uintptr(v map[float64]uintptr, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeFloat64(float64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeUint(uint64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapfloat64uintptr(v *map[float64]uintptr, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 16) + yyv1 = make(map[float64]uintptr, yyrl1) + *v = yyv1 + } + var yymk1 float64 + var yymv1 uintptr + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (float64)(r.DecodeFloat64()) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (uintptr)(z.C.UintV(r.DecodeUint64(), codecSelferBitsize19781)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapfloat64int(v map[float64]int, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeFloat64(float64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeInt(int64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapfloat64int(v *map[float64]int, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 16) + yyv1 = make(map[float64]int, yyrl1) + *v = yyv1 + } + var yymk1 float64 + var yymv1 int + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (float64)(r.DecodeFloat64()) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (int)(z.C.IntV(r.DecodeInt64(), codecSelferBitsize19781)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapfloat64int8(v map[float64]int8, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeFloat64(float64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeInt(int64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapfloat64int8(v *map[float64]int8, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 9) + yyv1 = make(map[float64]int8, yyrl1) + *v = yyv1 + } + var yymk1 float64 + var yymv1 int8 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (float64)(r.DecodeFloat64()) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (int8)(z.C.IntV(r.DecodeInt64(), 8)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapfloat64int16(v map[float64]int16, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeFloat64(float64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeInt(int64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapfloat64int16(v *map[float64]int16, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 10) + yyv1 = make(map[float64]int16, yyrl1) + *v = yyv1 + } + var yymk1 float64 + var yymv1 int16 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (float64)(r.DecodeFloat64()) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (int16)(z.C.IntV(r.DecodeInt64(), 16)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapfloat64int32(v map[float64]int32, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeFloat64(float64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeInt(int64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapfloat64int32(v *map[float64]int32, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 12) + yyv1 = make(map[float64]int32, yyrl1) + *v = yyv1 + } + var yymk1 float64 + var yymv1 int32 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (float64)(r.DecodeFloat64()) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (int32)(z.C.IntV(r.DecodeInt64(), 32)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapfloat64int64(v map[float64]int64, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeFloat64(float64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeInt(int64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapfloat64int64(v *map[float64]int64, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 16) + yyv1 = make(map[float64]int64, yyrl1) + *v = yyv1 + } + var yymk1 float64 + var yymv1 int64 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (float64)(r.DecodeFloat64()) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (int64)(r.DecodeInt64()) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapfloat64float32(v map[float64]float32, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeFloat64(float64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeFloat32(float32(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapfloat64float32(v *map[float64]float32, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 12) + yyv1 = make(map[float64]float32, yyrl1) + *v = yyv1 + } + var yymk1 float64 + var yymv1 float32 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (float64)(r.DecodeFloat64()) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (float32)(r.DecodeFloat32As64()) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapfloat64float64(v map[float64]float64, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeFloat64(float64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeFloat64(float64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapfloat64float64(v *map[float64]float64, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 16) + yyv1 = make(map[float64]float64, yyrl1) + *v = yyv1 + } + var yymk1 float64 + var yymv1 float64 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (float64)(r.DecodeFloat64()) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (float64)(r.DecodeFloat64()) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapfloat64bool(v map[float64]bool, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeFloat64(float64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeBool(bool(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapfloat64bool(v *map[float64]bool, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 9) + yyv1 = make(map[float64]bool, yyrl1) + *v = yyv1 + } + var yymk1 float64 + var yymv1 bool + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (float64)(r.DecodeFloat64()) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (bool)(r.DecodeBool()) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = false + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapuintInterface(v map[uint]interface{}, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeUint(uint64(yyk1)) + } + r.WriteMapElemValue() + if yyv1 == nil { + r.EncodeNil() + } else { + if false { + } else { + z.EncFallback(yyv1) + } + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapuintInterface(v *map[uint]interface{}, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 24) + yyv1 = make(map[uint]interface{}, yyrl1) + *v = yyv1 + } + var yymk1 uint + var yymv1 interface{} + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + if !yybh1.InterfaceReset { + yymg1 = true + } + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (uint)(z.C.UintV(r.DecodeUint64(), codecSelferBitsize19781)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } else { + yymv1 = nil + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + if false { + } else { + z.DecFallback(&yymv1, true) + } + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = nil + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapuintstring(v map[uint]string, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeUint(uint64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + if z.EncBasicHandle().StringToRaw { + r.EncodeStringBytesRaw(z.BytesView(string(yyv1))) + } else { + r.EncodeStringEnc(codecSelferCcUTF819781, string(yyv1)) + } + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapuintstring(v *map[uint]string, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 24) + yyv1 = make(map[uint]string, yyrl1) + *v = yyv1 + } + var yymk1 uint + var yymv1 string + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (uint)(z.C.UintV(r.DecodeUint64(), codecSelferBitsize19781)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (string)(r.DecodeString()) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = "" + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapuintuint(v map[uint]uint, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeUint(uint64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeUint(uint64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapuintuint(v *map[uint]uint, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 16) + yyv1 = make(map[uint]uint, yyrl1) + *v = yyv1 + } + var yymk1 uint + var yymv1 uint + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (uint)(z.C.UintV(r.DecodeUint64(), codecSelferBitsize19781)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (uint)(z.C.UintV(r.DecodeUint64(), codecSelferBitsize19781)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapuintuint8(v map[uint]uint8, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeUint(uint64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeUint(uint64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapuintuint8(v *map[uint]uint8, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 9) + yyv1 = make(map[uint]uint8, yyrl1) + *v = yyv1 + } + var yymk1 uint + var yymv1 uint8 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (uint)(z.C.UintV(r.DecodeUint64(), codecSelferBitsize19781)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (uint8)(z.C.UintV(r.DecodeUint64(), 8)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapuintuint16(v map[uint]uint16, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeUint(uint64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeUint(uint64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapuintuint16(v *map[uint]uint16, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 10) + yyv1 = make(map[uint]uint16, yyrl1) + *v = yyv1 + } + var yymk1 uint + var yymv1 uint16 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (uint)(z.C.UintV(r.DecodeUint64(), codecSelferBitsize19781)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (uint16)(z.C.UintV(r.DecodeUint64(), 16)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapuintuint32(v map[uint]uint32, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeUint(uint64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeUint(uint64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapuintuint32(v *map[uint]uint32, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 12) + yyv1 = make(map[uint]uint32, yyrl1) + *v = yyv1 + } + var yymk1 uint + var yymv1 uint32 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (uint)(z.C.UintV(r.DecodeUint64(), codecSelferBitsize19781)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (uint32)(z.C.UintV(r.DecodeUint64(), 32)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapuintuint64(v map[uint]uint64, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeUint(uint64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeUint(uint64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapuintuint64(v *map[uint]uint64, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 16) + yyv1 = make(map[uint]uint64, yyrl1) + *v = yyv1 + } + var yymk1 uint + var yymv1 uint64 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (uint)(z.C.UintV(r.DecodeUint64(), codecSelferBitsize19781)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (uint64)(r.DecodeUint64()) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapuintuintptr(v map[uint]uintptr, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeUint(uint64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeUint(uint64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapuintuintptr(v *map[uint]uintptr, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 16) + yyv1 = make(map[uint]uintptr, yyrl1) + *v = yyv1 + } + var yymk1 uint + var yymv1 uintptr + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (uint)(z.C.UintV(r.DecodeUint64(), codecSelferBitsize19781)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (uintptr)(z.C.UintV(r.DecodeUint64(), codecSelferBitsize19781)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapuintint(v map[uint]int, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeUint(uint64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeInt(int64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapuintint(v *map[uint]int, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 16) + yyv1 = make(map[uint]int, yyrl1) + *v = yyv1 + } + var yymk1 uint + var yymv1 int + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (uint)(z.C.UintV(r.DecodeUint64(), codecSelferBitsize19781)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (int)(z.C.IntV(r.DecodeInt64(), codecSelferBitsize19781)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapuintint8(v map[uint]int8, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeUint(uint64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeInt(int64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapuintint8(v *map[uint]int8, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 9) + yyv1 = make(map[uint]int8, yyrl1) + *v = yyv1 + } + var yymk1 uint + var yymv1 int8 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (uint)(z.C.UintV(r.DecodeUint64(), codecSelferBitsize19781)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (int8)(z.C.IntV(r.DecodeInt64(), 8)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapuintint16(v map[uint]int16, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeUint(uint64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeInt(int64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapuintint16(v *map[uint]int16, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 10) + yyv1 = make(map[uint]int16, yyrl1) + *v = yyv1 + } + var yymk1 uint + var yymv1 int16 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (uint)(z.C.UintV(r.DecodeUint64(), codecSelferBitsize19781)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (int16)(z.C.IntV(r.DecodeInt64(), 16)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapuintint32(v map[uint]int32, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeUint(uint64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeInt(int64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapuintint32(v *map[uint]int32, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 12) + yyv1 = make(map[uint]int32, yyrl1) + *v = yyv1 + } + var yymk1 uint + var yymv1 int32 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (uint)(z.C.UintV(r.DecodeUint64(), codecSelferBitsize19781)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (int32)(z.C.IntV(r.DecodeInt64(), 32)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapuintint64(v map[uint]int64, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeUint(uint64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeInt(int64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapuintint64(v *map[uint]int64, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 16) + yyv1 = make(map[uint]int64, yyrl1) + *v = yyv1 + } + var yymk1 uint + var yymv1 int64 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (uint)(z.C.UintV(r.DecodeUint64(), codecSelferBitsize19781)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (int64)(r.DecodeInt64()) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapuintfloat32(v map[uint]float32, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeUint(uint64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeFloat32(float32(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapuintfloat32(v *map[uint]float32, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 12) + yyv1 = make(map[uint]float32, yyrl1) + *v = yyv1 + } + var yymk1 uint + var yymv1 float32 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (uint)(z.C.UintV(r.DecodeUint64(), codecSelferBitsize19781)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (float32)(r.DecodeFloat32As64()) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapuintfloat64(v map[uint]float64, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeUint(uint64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeFloat64(float64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapuintfloat64(v *map[uint]float64, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 16) + yyv1 = make(map[uint]float64, yyrl1) + *v = yyv1 + } + var yymk1 uint + var yymv1 float64 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (uint)(z.C.UintV(r.DecodeUint64(), codecSelferBitsize19781)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (float64)(r.DecodeFloat64()) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapuintbool(v map[uint]bool, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeUint(uint64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeBool(bool(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapuintbool(v *map[uint]bool, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 9) + yyv1 = make(map[uint]bool, yyrl1) + *v = yyv1 + } + var yymk1 uint + var yymv1 bool + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (uint)(z.C.UintV(r.DecodeUint64(), codecSelferBitsize19781)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (bool)(r.DecodeBool()) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = false + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapuint8Interface(v map[uint8]interface{}, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeUint(uint64(yyk1)) + } + r.WriteMapElemValue() + if yyv1 == nil { + r.EncodeNil() + } else { + if false { + } else { + z.EncFallback(yyv1) + } + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapuint8Interface(v *map[uint8]interface{}, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 17) + yyv1 = make(map[uint8]interface{}, yyrl1) + *v = yyv1 + } + var yymk1 uint8 + var yymv1 interface{} + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + if !yybh1.InterfaceReset { + yymg1 = true + } + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (uint8)(z.C.UintV(r.DecodeUint64(), 8)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } else { + yymv1 = nil + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + if false { + } else { + z.DecFallback(&yymv1, true) + } + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = nil + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapuint8string(v map[uint8]string, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeUint(uint64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + if z.EncBasicHandle().StringToRaw { + r.EncodeStringBytesRaw(z.BytesView(string(yyv1))) + } else { + r.EncodeStringEnc(codecSelferCcUTF819781, string(yyv1)) + } + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapuint8string(v *map[uint8]string, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 17) + yyv1 = make(map[uint8]string, yyrl1) + *v = yyv1 + } + var yymk1 uint8 + var yymv1 string + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (uint8)(z.C.UintV(r.DecodeUint64(), 8)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (string)(r.DecodeString()) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = "" + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapuint8uint(v map[uint8]uint, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeUint(uint64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeUint(uint64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapuint8uint(v *map[uint8]uint, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 9) + yyv1 = make(map[uint8]uint, yyrl1) + *v = yyv1 + } + var yymk1 uint8 + var yymv1 uint + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (uint8)(z.C.UintV(r.DecodeUint64(), 8)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (uint)(z.C.UintV(r.DecodeUint64(), codecSelferBitsize19781)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapuint8uint8(v map[uint8]uint8, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeUint(uint64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeUint(uint64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapuint8uint8(v *map[uint8]uint8, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 2) + yyv1 = make(map[uint8]uint8, yyrl1) + *v = yyv1 + } + var yymk1 uint8 + var yymv1 uint8 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (uint8)(z.C.UintV(r.DecodeUint64(), 8)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (uint8)(z.C.UintV(r.DecodeUint64(), 8)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapuint8uint16(v map[uint8]uint16, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeUint(uint64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeUint(uint64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapuint8uint16(v *map[uint8]uint16, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 3) + yyv1 = make(map[uint8]uint16, yyrl1) + *v = yyv1 + } + var yymk1 uint8 + var yymv1 uint16 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (uint8)(z.C.UintV(r.DecodeUint64(), 8)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (uint16)(z.C.UintV(r.DecodeUint64(), 16)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapuint8uint32(v map[uint8]uint32, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeUint(uint64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeUint(uint64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapuint8uint32(v *map[uint8]uint32, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 5) + yyv1 = make(map[uint8]uint32, yyrl1) + *v = yyv1 + } + var yymk1 uint8 + var yymv1 uint32 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (uint8)(z.C.UintV(r.DecodeUint64(), 8)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (uint32)(z.C.UintV(r.DecodeUint64(), 32)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapuint8uint64(v map[uint8]uint64, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeUint(uint64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeUint(uint64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapuint8uint64(v *map[uint8]uint64, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 9) + yyv1 = make(map[uint8]uint64, yyrl1) + *v = yyv1 + } + var yymk1 uint8 + var yymv1 uint64 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (uint8)(z.C.UintV(r.DecodeUint64(), 8)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (uint64)(r.DecodeUint64()) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapuint8uintptr(v map[uint8]uintptr, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeUint(uint64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeUint(uint64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapuint8uintptr(v *map[uint8]uintptr, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 9) + yyv1 = make(map[uint8]uintptr, yyrl1) + *v = yyv1 + } + var yymk1 uint8 + var yymv1 uintptr + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (uint8)(z.C.UintV(r.DecodeUint64(), 8)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (uintptr)(z.C.UintV(r.DecodeUint64(), codecSelferBitsize19781)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapuint8int(v map[uint8]int, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeUint(uint64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeInt(int64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapuint8int(v *map[uint8]int, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 9) + yyv1 = make(map[uint8]int, yyrl1) + *v = yyv1 + } + var yymk1 uint8 + var yymv1 int + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (uint8)(z.C.UintV(r.DecodeUint64(), 8)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (int)(z.C.IntV(r.DecodeInt64(), codecSelferBitsize19781)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapuint8int8(v map[uint8]int8, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeUint(uint64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeInt(int64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapuint8int8(v *map[uint8]int8, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 2) + yyv1 = make(map[uint8]int8, yyrl1) + *v = yyv1 + } + var yymk1 uint8 + var yymv1 int8 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (uint8)(z.C.UintV(r.DecodeUint64(), 8)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (int8)(z.C.IntV(r.DecodeInt64(), 8)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapuint8int16(v map[uint8]int16, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeUint(uint64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeInt(int64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapuint8int16(v *map[uint8]int16, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 3) + yyv1 = make(map[uint8]int16, yyrl1) + *v = yyv1 + } + var yymk1 uint8 + var yymv1 int16 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (uint8)(z.C.UintV(r.DecodeUint64(), 8)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (int16)(z.C.IntV(r.DecodeInt64(), 16)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapuint8int32(v map[uint8]int32, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeUint(uint64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeInt(int64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapuint8int32(v *map[uint8]int32, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 5) + yyv1 = make(map[uint8]int32, yyrl1) + *v = yyv1 + } + var yymk1 uint8 + var yymv1 int32 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (uint8)(z.C.UintV(r.DecodeUint64(), 8)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (int32)(z.C.IntV(r.DecodeInt64(), 32)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapuint8int64(v map[uint8]int64, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeUint(uint64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeInt(int64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapuint8int64(v *map[uint8]int64, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 9) + yyv1 = make(map[uint8]int64, yyrl1) + *v = yyv1 + } + var yymk1 uint8 + var yymv1 int64 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (uint8)(z.C.UintV(r.DecodeUint64(), 8)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (int64)(r.DecodeInt64()) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapuint8float32(v map[uint8]float32, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeUint(uint64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeFloat32(float32(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapuint8float32(v *map[uint8]float32, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 5) + yyv1 = make(map[uint8]float32, yyrl1) + *v = yyv1 + } + var yymk1 uint8 + var yymv1 float32 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (uint8)(z.C.UintV(r.DecodeUint64(), 8)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (float32)(r.DecodeFloat32As64()) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapuint8float64(v map[uint8]float64, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeUint(uint64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeFloat64(float64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapuint8float64(v *map[uint8]float64, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 9) + yyv1 = make(map[uint8]float64, yyrl1) + *v = yyv1 + } + var yymk1 uint8 + var yymv1 float64 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (uint8)(z.C.UintV(r.DecodeUint64(), 8)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (float64)(r.DecodeFloat64()) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapuint8bool(v map[uint8]bool, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeUint(uint64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeBool(bool(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapuint8bool(v *map[uint8]bool, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 2) + yyv1 = make(map[uint8]bool, yyrl1) + *v = yyv1 + } + var yymk1 uint8 + var yymv1 bool + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (uint8)(z.C.UintV(r.DecodeUint64(), 8)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (bool)(r.DecodeBool()) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = false + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapuint16Interface(v map[uint16]interface{}, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeUint(uint64(yyk1)) + } + r.WriteMapElemValue() + if yyv1 == nil { + r.EncodeNil() + } else { + if false { + } else { + z.EncFallback(yyv1) + } + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapuint16Interface(v *map[uint16]interface{}, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 18) + yyv1 = make(map[uint16]interface{}, yyrl1) + *v = yyv1 + } + var yymk1 uint16 + var yymv1 interface{} + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + if !yybh1.InterfaceReset { + yymg1 = true + } + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (uint16)(z.C.UintV(r.DecodeUint64(), 16)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } else { + yymv1 = nil + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + if false { + } else { + z.DecFallback(&yymv1, true) + } + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = nil + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapuint16string(v map[uint16]string, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeUint(uint64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + if z.EncBasicHandle().StringToRaw { + r.EncodeStringBytesRaw(z.BytesView(string(yyv1))) + } else { + r.EncodeStringEnc(codecSelferCcUTF819781, string(yyv1)) + } + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapuint16string(v *map[uint16]string, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 18) + yyv1 = make(map[uint16]string, yyrl1) + *v = yyv1 + } + var yymk1 uint16 + var yymv1 string + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (uint16)(z.C.UintV(r.DecodeUint64(), 16)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (string)(r.DecodeString()) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = "" + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapuint16uint(v map[uint16]uint, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeUint(uint64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeUint(uint64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapuint16uint(v *map[uint16]uint, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 10) + yyv1 = make(map[uint16]uint, yyrl1) + *v = yyv1 + } + var yymk1 uint16 + var yymv1 uint + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (uint16)(z.C.UintV(r.DecodeUint64(), 16)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (uint)(z.C.UintV(r.DecodeUint64(), codecSelferBitsize19781)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapuint16uint8(v map[uint16]uint8, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeUint(uint64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeUint(uint64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapuint16uint8(v *map[uint16]uint8, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 3) + yyv1 = make(map[uint16]uint8, yyrl1) + *v = yyv1 + } + var yymk1 uint16 + var yymv1 uint8 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (uint16)(z.C.UintV(r.DecodeUint64(), 16)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (uint8)(z.C.UintV(r.DecodeUint64(), 8)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapuint16uint16(v map[uint16]uint16, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeUint(uint64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeUint(uint64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapuint16uint16(v *map[uint16]uint16, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 4) + yyv1 = make(map[uint16]uint16, yyrl1) + *v = yyv1 + } + var yymk1 uint16 + var yymv1 uint16 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (uint16)(z.C.UintV(r.DecodeUint64(), 16)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (uint16)(z.C.UintV(r.DecodeUint64(), 16)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapuint16uint32(v map[uint16]uint32, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeUint(uint64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeUint(uint64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapuint16uint32(v *map[uint16]uint32, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 6) + yyv1 = make(map[uint16]uint32, yyrl1) + *v = yyv1 + } + var yymk1 uint16 + var yymv1 uint32 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (uint16)(z.C.UintV(r.DecodeUint64(), 16)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (uint32)(z.C.UintV(r.DecodeUint64(), 32)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapuint16uint64(v map[uint16]uint64, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeUint(uint64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeUint(uint64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapuint16uint64(v *map[uint16]uint64, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 10) + yyv1 = make(map[uint16]uint64, yyrl1) + *v = yyv1 + } + var yymk1 uint16 + var yymv1 uint64 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (uint16)(z.C.UintV(r.DecodeUint64(), 16)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (uint64)(r.DecodeUint64()) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapuint16uintptr(v map[uint16]uintptr, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeUint(uint64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeUint(uint64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapuint16uintptr(v *map[uint16]uintptr, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 10) + yyv1 = make(map[uint16]uintptr, yyrl1) + *v = yyv1 + } + var yymk1 uint16 + var yymv1 uintptr + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (uint16)(z.C.UintV(r.DecodeUint64(), 16)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (uintptr)(z.C.UintV(r.DecodeUint64(), codecSelferBitsize19781)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapuint16int(v map[uint16]int, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeUint(uint64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeInt(int64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapuint16int(v *map[uint16]int, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 10) + yyv1 = make(map[uint16]int, yyrl1) + *v = yyv1 + } + var yymk1 uint16 + var yymv1 int + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (uint16)(z.C.UintV(r.DecodeUint64(), 16)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (int)(z.C.IntV(r.DecodeInt64(), codecSelferBitsize19781)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapuint16int8(v map[uint16]int8, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeUint(uint64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeInt(int64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapuint16int8(v *map[uint16]int8, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 3) + yyv1 = make(map[uint16]int8, yyrl1) + *v = yyv1 + } + var yymk1 uint16 + var yymv1 int8 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (uint16)(z.C.UintV(r.DecodeUint64(), 16)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (int8)(z.C.IntV(r.DecodeInt64(), 8)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapuint16int16(v map[uint16]int16, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeUint(uint64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeInt(int64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapuint16int16(v *map[uint16]int16, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 4) + yyv1 = make(map[uint16]int16, yyrl1) + *v = yyv1 + } + var yymk1 uint16 + var yymv1 int16 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (uint16)(z.C.UintV(r.DecodeUint64(), 16)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (int16)(z.C.IntV(r.DecodeInt64(), 16)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapuint16int32(v map[uint16]int32, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeUint(uint64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeInt(int64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapuint16int32(v *map[uint16]int32, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 6) + yyv1 = make(map[uint16]int32, yyrl1) + *v = yyv1 + } + var yymk1 uint16 + var yymv1 int32 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (uint16)(z.C.UintV(r.DecodeUint64(), 16)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (int32)(z.C.IntV(r.DecodeInt64(), 32)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapuint16int64(v map[uint16]int64, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeUint(uint64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeInt(int64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapuint16int64(v *map[uint16]int64, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 10) + yyv1 = make(map[uint16]int64, yyrl1) + *v = yyv1 + } + var yymk1 uint16 + var yymv1 int64 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (uint16)(z.C.UintV(r.DecodeUint64(), 16)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (int64)(r.DecodeInt64()) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapuint16float32(v map[uint16]float32, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeUint(uint64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeFloat32(float32(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapuint16float32(v *map[uint16]float32, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 6) + yyv1 = make(map[uint16]float32, yyrl1) + *v = yyv1 + } + var yymk1 uint16 + var yymv1 float32 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (uint16)(z.C.UintV(r.DecodeUint64(), 16)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (float32)(r.DecodeFloat32As64()) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapuint16float64(v map[uint16]float64, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeUint(uint64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeFloat64(float64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapuint16float64(v *map[uint16]float64, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 10) + yyv1 = make(map[uint16]float64, yyrl1) + *v = yyv1 + } + var yymk1 uint16 + var yymv1 float64 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (uint16)(z.C.UintV(r.DecodeUint64(), 16)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (float64)(r.DecodeFloat64()) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapuint16bool(v map[uint16]bool, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeUint(uint64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeBool(bool(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapuint16bool(v *map[uint16]bool, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 3) + yyv1 = make(map[uint16]bool, yyrl1) + *v = yyv1 + } + var yymk1 uint16 + var yymv1 bool + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (uint16)(z.C.UintV(r.DecodeUint64(), 16)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (bool)(r.DecodeBool()) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = false + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapuint32Interface(v map[uint32]interface{}, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeUint(uint64(yyk1)) + } + r.WriteMapElemValue() + if yyv1 == nil { + r.EncodeNil() + } else { + if false { + } else { + z.EncFallback(yyv1) + } + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapuint32Interface(v *map[uint32]interface{}, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 20) + yyv1 = make(map[uint32]interface{}, yyrl1) + *v = yyv1 + } + var yymk1 uint32 + var yymv1 interface{} + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + if !yybh1.InterfaceReset { + yymg1 = true + } + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (uint32)(z.C.UintV(r.DecodeUint64(), 32)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } else { + yymv1 = nil + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + if false { + } else { + z.DecFallback(&yymv1, true) + } + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = nil + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapuint32string(v map[uint32]string, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeUint(uint64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + if z.EncBasicHandle().StringToRaw { + r.EncodeStringBytesRaw(z.BytesView(string(yyv1))) + } else { + r.EncodeStringEnc(codecSelferCcUTF819781, string(yyv1)) + } + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapuint32string(v *map[uint32]string, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 20) + yyv1 = make(map[uint32]string, yyrl1) + *v = yyv1 + } + var yymk1 uint32 + var yymv1 string + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (uint32)(z.C.UintV(r.DecodeUint64(), 32)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (string)(r.DecodeString()) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = "" + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapuint32uint(v map[uint32]uint, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeUint(uint64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeUint(uint64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapuint32uint(v *map[uint32]uint, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 12) + yyv1 = make(map[uint32]uint, yyrl1) + *v = yyv1 + } + var yymk1 uint32 + var yymv1 uint + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (uint32)(z.C.UintV(r.DecodeUint64(), 32)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (uint)(z.C.UintV(r.DecodeUint64(), codecSelferBitsize19781)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapuint32uint8(v map[uint32]uint8, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeUint(uint64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeUint(uint64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapuint32uint8(v *map[uint32]uint8, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 5) + yyv1 = make(map[uint32]uint8, yyrl1) + *v = yyv1 + } + var yymk1 uint32 + var yymv1 uint8 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (uint32)(z.C.UintV(r.DecodeUint64(), 32)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (uint8)(z.C.UintV(r.DecodeUint64(), 8)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapuint32uint16(v map[uint32]uint16, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeUint(uint64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeUint(uint64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapuint32uint16(v *map[uint32]uint16, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 6) + yyv1 = make(map[uint32]uint16, yyrl1) + *v = yyv1 + } + var yymk1 uint32 + var yymv1 uint16 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (uint32)(z.C.UintV(r.DecodeUint64(), 32)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (uint16)(z.C.UintV(r.DecodeUint64(), 16)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapuint32uint32(v map[uint32]uint32, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeUint(uint64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeUint(uint64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapuint32uint32(v *map[uint32]uint32, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 8) + yyv1 = make(map[uint32]uint32, yyrl1) + *v = yyv1 + } + var yymk1 uint32 + var yymv1 uint32 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (uint32)(z.C.UintV(r.DecodeUint64(), 32)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (uint32)(z.C.UintV(r.DecodeUint64(), 32)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapuint32uint64(v map[uint32]uint64, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeUint(uint64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeUint(uint64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapuint32uint64(v *map[uint32]uint64, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 12) + yyv1 = make(map[uint32]uint64, yyrl1) + *v = yyv1 + } + var yymk1 uint32 + var yymv1 uint64 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (uint32)(z.C.UintV(r.DecodeUint64(), 32)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (uint64)(r.DecodeUint64()) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapuint32uintptr(v map[uint32]uintptr, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeUint(uint64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeUint(uint64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapuint32uintptr(v *map[uint32]uintptr, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 12) + yyv1 = make(map[uint32]uintptr, yyrl1) + *v = yyv1 + } + var yymk1 uint32 + var yymv1 uintptr + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (uint32)(z.C.UintV(r.DecodeUint64(), 32)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (uintptr)(z.C.UintV(r.DecodeUint64(), codecSelferBitsize19781)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapuint32int(v map[uint32]int, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeUint(uint64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeInt(int64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapuint32int(v *map[uint32]int, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 12) + yyv1 = make(map[uint32]int, yyrl1) + *v = yyv1 + } + var yymk1 uint32 + var yymv1 int + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (uint32)(z.C.UintV(r.DecodeUint64(), 32)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (int)(z.C.IntV(r.DecodeInt64(), codecSelferBitsize19781)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapuint32int8(v map[uint32]int8, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeUint(uint64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeInt(int64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapuint32int8(v *map[uint32]int8, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 5) + yyv1 = make(map[uint32]int8, yyrl1) + *v = yyv1 + } + var yymk1 uint32 + var yymv1 int8 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (uint32)(z.C.UintV(r.DecodeUint64(), 32)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (int8)(z.C.IntV(r.DecodeInt64(), 8)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapuint32int16(v map[uint32]int16, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeUint(uint64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeInt(int64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapuint32int16(v *map[uint32]int16, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 6) + yyv1 = make(map[uint32]int16, yyrl1) + *v = yyv1 + } + var yymk1 uint32 + var yymv1 int16 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (uint32)(z.C.UintV(r.DecodeUint64(), 32)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (int16)(z.C.IntV(r.DecodeInt64(), 16)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapuint32int32(v map[uint32]int32, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeUint(uint64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeInt(int64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapuint32int32(v *map[uint32]int32, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 8) + yyv1 = make(map[uint32]int32, yyrl1) + *v = yyv1 + } + var yymk1 uint32 + var yymv1 int32 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (uint32)(z.C.UintV(r.DecodeUint64(), 32)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (int32)(z.C.IntV(r.DecodeInt64(), 32)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapuint32int64(v map[uint32]int64, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeUint(uint64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeInt(int64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapuint32int64(v *map[uint32]int64, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 12) + yyv1 = make(map[uint32]int64, yyrl1) + *v = yyv1 + } + var yymk1 uint32 + var yymv1 int64 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (uint32)(z.C.UintV(r.DecodeUint64(), 32)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (int64)(r.DecodeInt64()) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapuint32float32(v map[uint32]float32, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeUint(uint64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeFloat32(float32(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapuint32float32(v *map[uint32]float32, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 8) + yyv1 = make(map[uint32]float32, yyrl1) + *v = yyv1 + } + var yymk1 uint32 + var yymv1 float32 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (uint32)(z.C.UintV(r.DecodeUint64(), 32)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (float32)(r.DecodeFloat32As64()) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapuint32float64(v map[uint32]float64, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeUint(uint64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeFloat64(float64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapuint32float64(v *map[uint32]float64, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 12) + yyv1 = make(map[uint32]float64, yyrl1) + *v = yyv1 + } + var yymk1 uint32 + var yymv1 float64 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (uint32)(z.C.UintV(r.DecodeUint64(), 32)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (float64)(r.DecodeFloat64()) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapuint32bool(v map[uint32]bool, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeUint(uint64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeBool(bool(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapuint32bool(v *map[uint32]bool, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 5) + yyv1 = make(map[uint32]bool, yyrl1) + *v = yyv1 + } + var yymk1 uint32 + var yymv1 bool + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (uint32)(z.C.UintV(r.DecodeUint64(), 32)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (bool)(r.DecodeBool()) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = false + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapuint64Interface(v map[uint64]interface{}, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeUint(uint64(yyk1)) + } + r.WriteMapElemValue() + if yyv1 == nil { + r.EncodeNil() + } else { + if false { + } else { + z.EncFallback(yyv1) + } + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapuint64Interface(v *map[uint64]interface{}, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 24) + yyv1 = make(map[uint64]interface{}, yyrl1) + *v = yyv1 + } + var yymk1 uint64 + var yymv1 interface{} + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + if !yybh1.InterfaceReset { + yymg1 = true + } + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (uint64)(r.DecodeUint64()) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } else { + yymv1 = nil + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + if false { + } else { + z.DecFallback(&yymv1, true) + } + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = nil + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapuint64string(v map[uint64]string, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeUint(uint64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + if z.EncBasicHandle().StringToRaw { + r.EncodeStringBytesRaw(z.BytesView(string(yyv1))) + } else { + r.EncodeStringEnc(codecSelferCcUTF819781, string(yyv1)) + } + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapuint64string(v *map[uint64]string, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 24) + yyv1 = make(map[uint64]string, yyrl1) + *v = yyv1 + } + var yymk1 uint64 + var yymv1 string + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (uint64)(r.DecodeUint64()) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (string)(r.DecodeString()) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = "" + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapuint64uint(v map[uint64]uint, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeUint(uint64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeUint(uint64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapuint64uint(v *map[uint64]uint, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 16) + yyv1 = make(map[uint64]uint, yyrl1) + *v = yyv1 + } + var yymk1 uint64 + var yymv1 uint + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (uint64)(r.DecodeUint64()) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (uint)(z.C.UintV(r.DecodeUint64(), codecSelferBitsize19781)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapuint64uint8(v map[uint64]uint8, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeUint(uint64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeUint(uint64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapuint64uint8(v *map[uint64]uint8, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 9) + yyv1 = make(map[uint64]uint8, yyrl1) + *v = yyv1 + } + var yymk1 uint64 + var yymv1 uint8 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (uint64)(r.DecodeUint64()) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (uint8)(z.C.UintV(r.DecodeUint64(), 8)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapuint64uint16(v map[uint64]uint16, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeUint(uint64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeUint(uint64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapuint64uint16(v *map[uint64]uint16, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 10) + yyv1 = make(map[uint64]uint16, yyrl1) + *v = yyv1 + } + var yymk1 uint64 + var yymv1 uint16 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (uint64)(r.DecodeUint64()) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (uint16)(z.C.UintV(r.DecodeUint64(), 16)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapuint64uint32(v map[uint64]uint32, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeUint(uint64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeUint(uint64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapuint64uint32(v *map[uint64]uint32, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 12) + yyv1 = make(map[uint64]uint32, yyrl1) + *v = yyv1 + } + var yymk1 uint64 + var yymv1 uint32 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (uint64)(r.DecodeUint64()) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (uint32)(z.C.UintV(r.DecodeUint64(), 32)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapuint64uint64(v map[uint64]uint64, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeUint(uint64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeUint(uint64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapuint64uint64(v *map[uint64]uint64, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 16) + yyv1 = make(map[uint64]uint64, yyrl1) + *v = yyv1 + } + var yymk1 uint64 + var yymv1 uint64 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (uint64)(r.DecodeUint64()) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (uint64)(r.DecodeUint64()) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapuint64uintptr(v map[uint64]uintptr, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeUint(uint64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeUint(uint64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapuint64uintptr(v *map[uint64]uintptr, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 16) + yyv1 = make(map[uint64]uintptr, yyrl1) + *v = yyv1 + } + var yymk1 uint64 + var yymv1 uintptr + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (uint64)(r.DecodeUint64()) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (uintptr)(z.C.UintV(r.DecodeUint64(), codecSelferBitsize19781)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapuint64int(v map[uint64]int, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeUint(uint64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeInt(int64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapuint64int(v *map[uint64]int, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 16) + yyv1 = make(map[uint64]int, yyrl1) + *v = yyv1 + } + var yymk1 uint64 + var yymv1 int + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (uint64)(r.DecodeUint64()) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (int)(z.C.IntV(r.DecodeInt64(), codecSelferBitsize19781)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapuint64int8(v map[uint64]int8, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeUint(uint64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeInt(int64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapuint64int8(v *map[uint64]int8, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 9) + yyv1 = make(map[uint64]int8, yyrl1) + *v = yyv1 + } + var yymk1 uint64 + var yymv1 int8 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (uint64)(r.DecodeUint64()) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (int8)(z.C.IntV(r.DecodeInt64(), 8)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapuint64int16(v map[uint64]int16, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeUint(uint64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeInt(int64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapuint64int16(v *map[uint64]int16, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 10) + yyv1 = make(map[uint64]int16, yyrl1) + *v = yyv1 + } + var yymk1 uint64 + var yymv1 int16 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (uint64)(r.DecodeUint64()) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (int16)(z.C.IntV(r.DecodeInt64(), 16)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapuint64int32(v map[uint64]int32, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeUint(uint64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeInt(int64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapuint64int32(v *map[uint64]int32, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 12) + yyv1 = make(map[uint64]int32, yyrl1) + *v = yyv1 + } + var yymk1 uint64 + var yymv1 int32 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (uint64)(r.DecodeUint64()) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (int32)(z.C.IntV(r.DecodeInt64(), 32)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapuint64int64(v map[uint64]int64, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeUint(uint64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeInt(int64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapuint64int64(v *map[uint64]int64, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 16) + yyv1 = make(map[uint64]int64, yyrl1) + *v = yyv1 + } + var yymk1 uint64 + var yymv1 int64 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (uint64)(r.DecodeUint64()) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (int64)(r.DecodeInt64()) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapuint64float32(v map[uint64]float32, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeUint(uint64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeFloat32(float32(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapuint64float32(v *map[uint64]float32, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 12) + yyv1 = make(map[uint64]float32, yyrl1) + *v = yyv1 + } + var yymk1 uint64 + var yymv1 float32 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (uint64)(r.DecodeUint64()) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (float32)(r.DecodeFloat32As64()) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapuint64float64(v map[uint64]float64, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeUint(uint64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeFloat64(float64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapuint64float64(v *map[uint64]float64, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 16) + yyv1 = make(map[uint64]float64, yyrl1) + *v = yyv1 + } + var yymk1 uint64 + var yymv1 float64 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (uint64)(r.DecodeUint64()) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (float64)(r.DecodeFloat64()) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapuint64bool(v map[uint64]bool, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeUint(uint64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeBool(bool(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapuint64bool(v *map[uint64]bool, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 9) + yyv1 = make(map[uint64]bool, yyrl1) + *v = yyv1 + } + var yymk1 uint64 + var yymv1 bool + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (uint64)(r.DecodeUint64()) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (bool)(r.DecodeBool()) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = false + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapuintptrInterface(v map[uintptr]interface{}, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeUint(uint64(yyk1)) + } + r.WriteMapElemValue() + if yyv1 == nil { + r.EncodeNil() + } else { + if false { + } else { + z.EncFallback(yyv1) + } + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapuintptrInterface(v *map[uintptr]interface{}, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 24) + yyv1 = make(map[uintptr]interface{}, yyrl1) + *v = yyv1 + } + var yymk1 uintptr + var yymv1 interface{} + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + if !yybh1.InterfaceReset { + yymg1 = true + } + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (uintptr)(z.C.UintV(r.DecodeUint64(), codecSelferBitsize19781)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } else { + yymv1 = nil + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + if false { + } else { + z.DecFallback(&yymv1, true) + } + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = nil + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapuintptrstring(v map[uintptr]string, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeUint(uint64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + if z.EncBasicHandle().StringToRaw { + r.EncodeStringBytesRaw(z.BytesView(string(yyv1))) + } else { + r.EncodeStringEnc(codecSelferCcUTF819781, string(yyv1)) + } + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapuintptrstring(v *map[uintptr]string, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 24) + yyv1 = make(map[uintptr]string, yyrl1) + *v = yyv1 + } + var yymk1 uintptr + var yymv1 string + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (uintptr)(z.C.UintV(r.DecodeUint64(), codecSelferBitsize19781)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (string)(r.DecodeString()) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = "" + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapuintptruint(v map[uintptr]uint, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeUint(uint64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeUint(uint64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapuintptruint(v *map[uintptr]uint, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 16) + yyv1 = make(map[uintptr]uint, yyrl1) + *v = yyv1 + } + var yymk1 uintptr + var yymv1 uint + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (uintptr)(z.C.UintV(r.DecodeUint64(), codecSelferBitsize19781)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (uint)(z.C.UintV(r.DecodeUint64(), codecSelferBitsize19781)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapuintptruint8(v map[uintptr]uint8, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeUint(uint64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeUint(uint64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapuintptruint8(v *map[uintptr]uint8, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 9) + yyv1 = make(map[uintptr]uint8, yyrl1) + *v = yyv1 + } + var yymk1 uintptr + var yymv1 uint8 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (uintptr)(z.C.UintV(r.DecodeUint64(), codecSelferBitsize19781)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (uint8)(z.C.UintV(r.DecodeUint64(), 8)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapuintptruint16(v map[uintptr]uint16, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeUint(uint64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeUint(uint64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapuintptruint16(v *map[uintptr]uint16, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 10) + yyv1 = make(map[uintptr]uint16, yyrl1) + *v = yyv1 + } + var yymk1 uintptr + var yymv1 uint16 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (uintptr)(z.C.UintV(r.DecodeUint64(), codecSelferBitsize19781)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (uint16)(z.C.UintV(r.DecodeUint64(), 16)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapuintptruint32(v map[uintptr]uint32, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeUint(uint64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeUint(uint64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapuintptruint32(v *map[uintptr]uint32, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 12) + yyv1 = make(map[uintptr]uint32, yyrl1) + *v = yyv1 + } + var yymk1 uintptr + var yymv1 uint32 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (uintptr)(z.C.UintV(r.DecodeUint64(), codecSelferBitsize19781)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (uint32)(z.C.UintV(r.DecodeUint64(), 32)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapuintptruint64(v map[uintptr]uint64, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeUint(uint64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeUint(uint64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapuintptruint64(v *map[uintptr]uint64, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 16) + yyv1 = make(map[uintptr]uint64, yyrl1) + *v = yyv1 + } + var yymk1 uintptr + var yymv1 uint64 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (uintptr)(z.C.UintV(r.DecodeUint64(), codecSelferBitsize19781)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (uint64)(r.DecodeUint64()) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapuintptruintptr(v map[uintptr]uintptr, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeUint(uint64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeUint(uint64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapuintptruintptr(v *map[uintptr]uintptr, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 16) + yyv1 = make(map[uintptr]uintptr, yyrl1) + *v = yyv1 + } + var yymk1 uintptr + var yymv1 uintptr + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (uintptr)(z.C.UintV(r.DecodeUint64(), codecSelferBitsize19781)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (uintptr)(z.C.UintV(r.DecodeUint64(), codecSelferBitsize19781)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapuintptrint(v map[uintptr]int, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeUint(uint64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeInt(int64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapuintptrint(v *map[uintptr]int, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 16) + yyv1 = make(map[uintptr]int, yyrl1) + *v = yyv1 + } + var yymk1 uintptr + var yymv1 int + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (uintptr)(z.C.UintV(r.DecodeUint64(), codecSelferBitsize19781)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (int)(z.C.IntV(r.DecodeInt64(), codecSelferBitsize19781)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapuintptrint8(v map[uintptr]int8, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeUint(uint64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeInt(int64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapuintptrint8(v *map[uintptr]int8, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 9) + yyv1 = make(map[uintptr]int8, yyrl1) + *v = yyv1 + } + var yymk1 uintptr + var yymv1 int8 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (uintptr)(z.C.UintV(r.DecodeUint64(), codecSelferBitsize19781)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (int8)(z.C.IntV(r.DecodeInt64(), 8)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapuintptrint16(v map[uintptr]int16, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeUint(uint64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeInt(int64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapuintptrint16(v *map[uintptr]int16, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 10) + yyv1 = make(map[uintptr]int16, yyrl1) + *v = yyv1 + } + var yymk1 uintptr + var yymv1 int16 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (uintptr)(z.C.UintV(r.DecodeUint64(), codecSelferBitsize19781)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (int16)(z.C.IntV(r.DecodeInt64(), 16)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapuintptrint32(v map[uintptr]int32, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeUint(uint64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeInt(int64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapuintptrint32(v *map[uintptr]int32, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 12) + yyv1 = make(map[uintptr]int32, yyrl1) + *v = yyv1 + } + var yymk1 uintptr + var yymv1 int32 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (uintptr)(z.C.UintV(r.DecodeUint64(), codecSelferBitsize19781)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (int32)(z.C.IntV(r.DecodeInt64(), 32)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapuintptrint64(v map[uintptr]int64, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeUint(uint64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeInt(int64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapuintptrint64(v *map[uintptr]int64, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 16) + yyv1 = make(map[uintptr]int64, yyrl1) + *v = yyv1 + } + var yymk1 uintptr + var yymv1 int64 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (uintptr)(z.C.UintV(r.DecodeUint64(), codecSelferBitsize19781)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (int64)(r.DecodeInt64()) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapuintptrfloat32(v map[uintptr]float32, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeUint(uint64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeFloat32(float32(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapuintptrfloat32(v *map[uintptr]float32, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 12) + yyv1 = make(map[uintptr]float32, yyrl1) + *v = yyv1 + } + var yymk1 uintptr + var yymv1 float32 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (uintptr)(z.C.UintV(r.DecodeUint64(), codecSelferBitsize19781)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (float32)(r.DecodeFloat32As64()) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapuintptrfloat64(v map[uintptr]float64, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeUint(uint64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeFloat64(float64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapuintptrfloat64(v *map[uintptr]float64, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 16) + yyv1 = make(map[uintptr]float64, yyrl1) + *v = yyv1 + } + var yymk1 uintptr + var yymv1 float64 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (uintptr)(z.C.UintV(r.DecodeUint64(), codecSelferBitsize19781)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (float64)(r.DecodeFloat64()) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapuintptrbool(v map[uintptr]bool, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeUint(uint64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeBool(bool(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapuintptrbool(v *map[uintptr]bool, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 9) + yyv1 = make(map[uintptr]bool, yyrl1) + *v = yyv1 + } + var yymk1 uintptr + var yymv1 bool + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (uintptr)(z.C.UintV(r.DecodeUint64(), codecSelferBitsize19781)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (bool)(r.DecodeBool()) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = false + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapintInterface(v map[int]interface{}, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeInt(int64(yyk1)) + } + r.WriteMapElemValue() + if yyv1 == nil { + r.EncodeNil() + } else { + if false { + } else { + z.EncFallback(yyv1) + } + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapintInterface(v *map[int]interface{}, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 24) + yyv1 = make(map[int]interface{}, yyrl1) + *v = yyv1 + } + var yymk1 int + var yymv1 interface{} + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + if !yybh1.InterfaceReset { + yymg1 = true + } + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (int)(z.C.IntV(r.DecodeInt64(), codecSelferBitsize19781)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } else { + yymv1 = nil + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + if false { + } else { + z.DecFallback(&yymv1, true) + } + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = nil + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapintstring(v map[int]string, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeInt(int64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + if z.EncBasicHandle().StringToRaw { + r.EncodeStringBytesRaw(z.BytesView(string(yyv1))) + } else { + r.EncodeStringEnc(codecSelferCcUTF819781, string(yyv1)) + } + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapintstring(v *map[int]string, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 24) + yyv1 = make(map[int]string, yyrl1) + *v = yyv1 + } + var yymk1 int + var yymv1 string + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (int)(z.C.IntV(r.DecodeInt64(), codecSelferBitsize19781)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (string)(r.DecodeString()) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = "" + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapintuint(v map[int]uint, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeInt(int64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeUint(uint64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapintuint(v *map[int]uint, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 16) + yyv1 = make(map[int]uint, yyrl1) + *v = yyv1 + } + var yymk1 int + var yymv1 uint + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (int)(z.C.IntV(r.DecodeInt64(), codecSelferBitsize19781)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (uint)(z.C.UintV(r.DecodeUint64(), codecSelferBitsize19781)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapintuint8(v map[int]uint8, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeInt(int64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeUint(uint64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapintuint8(v *map[int]uint8, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 9) + yyv1 = make(map[int]uint8, yyrl1) + *v = yyv1 + } + var yymk1 int + var yymv1 uint8 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (int)(z.C.IntV(r.DecodeInt64(), codecSelferBitsize19781)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (uint8)(z.C.UintV(r.DecodeUint64(), 8)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapintuint16(v map[int]uint16, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeInt(int64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeUint(uint64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapintuint16(v *map[int]uint16, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 10) + yyv1 = make(map[int]uint16, yyrl1) + *v = yyv1 + } + var yymk1 int + var yymv1 uint16 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (int)(z.C.IntV(r.DecodeInt64(), codecSelferBitsize19781)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (uint16)(z.C.UintV(r.DecodeUint64(), 16)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapintuint32(v map[int]uint32, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeInt(int64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeUint(uint64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapintuint32(v *map[int]uint32, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 12) + yyv1 = make(map[int]uint32, yyrl1) + *v = yyv1 + } + var yymk1 int + var yymv1 uint32 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (int)(z.C.IntV(r.DecodeInt64(), codecSelferBitsize19781)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (uint32)(z.C.UintV(r.DecodeUint64(), 32)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapintuint64(v map[int]uint64, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeInt(int64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeUint(uint64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapintuint64(v *map[int]uint64, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 16) + yyv1 = make(map[int]uint64, yyrl1) + *v = yyv1 + } + var yymk1 int + var yymv1 uint64 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (int)(z.C.IntV(r.DecodeInt64(), codecSelferBitsize19781)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (uint64)(r.DecodeUint64()) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapintuintptr(v map[int]uintptr, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeInt(int64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeUint(uint64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapintuintptr(v *map[int]uintptr, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 16) + yyv1 = make(map[int]uintptr, yyrl1) + *v = yyv1 + } + var yymk1 int + var yymv1 uintptr + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (int)(z.C.IntV(r.DecodeInt64(), codecSelferBitsize19781)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (uintptr)(z.C.UintV(r.DecodeUint64(), codecSelferBitsize19781)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapintint(v map[int]int, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeInt(int64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeInt(int64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapintint(v *map[int]int, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 16) + yyv1 = make(map[int]int, yyrl1) + *v = yyv1 + } + var yymk1 int + var yymv1 int + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (int)(z.C.IntV(r.DecodeInt64(), codecSelferBitsize19781)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (int)(z.C.IntV(r.DecodeInt64(), codecSelferBitsize19781)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapintint8(v map[int]int8, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeInt(int64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeInt(int64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapintint8(v *map[int]int8, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 9) + yyv1 = make(map[int]int8, yyrl1) + *v = yyv1 + } + var yymk1 int + var yymv1 int8 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (int)(z.C.IntV(r.DecodeInt64(), codecSelferBitsize19781)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (int8)(z.C.IntV(r.DecodeInt64(), 8)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapintint16(v map[int]int16, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeInt(int64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeInt(int64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapintint16(v *map[int]int16, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 10) + yyv1 = make(map[int]int16, yyrl1) + *v = yyv1 + } + var yymk1 int + var yymv1 int16 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (int)(z.C.IntV(r.DecodeInt64(), codecSelferBitsize19781)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (int16)(z.C.IntV(r.DecodeInt64(), 16)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapintint32(v map[int]int32, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeInt(int64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeInt(int64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapintint32(v *map[int]int32, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 12) + yyv1 = make(map[int]int32, yyrl1) + *v = yyv1 + } + var yymk1 int + var yymv1 int32 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (int)(z.C.IntV(r.DecodeInt64(), codecSelferBitsize19781)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (int32)(z.C.IntV(r.DecodeInt64(), 32)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapintint64(v map[int]int64, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeInt(int64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeInt(int64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapintint64(v *map[int]int64, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 16) + yyv1 = make(map[int]int64, yyrl1) + *v = yyv1 + } + var yymk1 int + var yymv1 int64 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (int)(z.C.IntV(r.DecodeInt64(), codecSelferBitsize19781)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (int64)(r.DecodeInt64()) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapintfloat32(v map[int]float32, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeInt(int64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeFloat32(float32(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapintfloat32(v *map[int]float32, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 12) + yyv1 = make(map[int]float32, yyrl1) + *v = yyv1 + } + var yymk1 int + var yymv1 float32 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (int)(z.C.IntV(r.DecodeInt64(), codecSelferBitsize19781)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (float32)(r.DecodeFloat32As64()) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapintfloat64(v map[int]float64, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeInt(int64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeFloat64(float64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapintfloat64(v *map[int]float64, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 16) + yyv1 = make(map[int]float64, yyrl1) + *v = yyv1 + } + var yymk1 int + var yymv1 float64 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (int)(z.C.IntV(r.DecodeInt64(), codecSelferBitsize19781)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (float64)(r.DecodeFloat64()) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapintbool(v map[int]bool, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeInt(int64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeBool(bool(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapintbool(v *map[int]bool, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 9) + yyv1 = make(map[int]bool, yyrl1) + *v = yyv1 + } + var yymk1 int + var yymv1 bool + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (int)(z.C.IntV(r.DecodeInt64(), codecSelferBitsize19781)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (bool)(r.DecodeBool()) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = false + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapint8Interface(v map[int8]interface{}, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeInt(int64(yyk1)) + } + r.WriteMapElemValue() + if yyv1 == nil { + r.EncodeNil() + } else { + if false { + } else { + z.EncFallback(yyv1) + } + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapint8Interface(v *map[int8]interface{}, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 17) + yyv1 = make(map[int8]interface{}, yyrl1) + *v = yyv1 + } + var yymk1 int8 + var yymv1 interface{} + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + if !yybh1.InterfaceReset { + yymg1 = true + } + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (int8)(z.C.IntV(r.DecodeInt64(), 8)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } else { + yymv1 = nil + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + if false { + } else { + z.DecFallback(&yymv1, true) + } + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = nil + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapint8string(v map[int8]string, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeInt(int64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + if z.EncBasicHandle().StringToRaw { + r.EncodeStringBytesRaw(z.BytesView(string(yyv1))) + } else { + r.EncodeStringEnc(codecSelferCcUTF819781, string(yyv1)) + } + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapint8string(v *map[int8]string, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 17) + yyv1 = make(map[int8]string, yyrl1) + *v = yyv1 + } + var yymk1 int8 + var yymv1 string + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (int8)(z.C.IntV(r.DecodeInt64(), 8)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (string)(r.DecodeString()) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = "" + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapint8uint(v map[int8]uint, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeInt(int64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeUint(uint64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapint8uint(v *map[int8]uint, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 9) + yyv1 = make(map[int8]uint, yyrl1) + *v = yyv1 + } + var yymk1 int8 + var yymv1 uint + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (int8)(z.C.IntV(r.DecodeInt64(), 8)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (uint)(z.C.UintV(r.DecodeUint64(), codecSelferBitsize19781)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapint8uint8(v map[int8]uint8, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeInt(int64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeUint(uint64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapint8uint8(v *map[int8]uint8, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 2) + yyv1 = make(map[int8]uint8, yyrl1) + *v = yyv1 + } + var yymk1 int8 + var yymv1 uint8 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (int8)(z.C.IntV(r.DecodeInt64(), 8)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (uint8)(z.C.UintV(r.DecodeUint64(), 8)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapint8uint16(v map[int8]uint16, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeInt(int64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeUint(uint64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapint8uint16(v *map[int8]uint16, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 3) + yyv1 = make(map[int8]uint16, yyrl1) + *v = yyv1 + } + var yymk1 int8 + var yymv1 uint16 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (int8)(z.C.IntV(r.DecodeInt64(), 8)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (uint16)(z.C.UintV(r.DecodeUint64(), 16)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapint8uint32(v map[int8]uint32, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeInt(int64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeUint(uint64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapint8uint32(v *map[int8]uint32, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 5) + yyv1 = make(map[int8]uint32, yyrl1) + *v = yyv1 + } + var yymk1 int8 + var yymv1 uint32 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (int8)(z.C.IntV(r.DecodeInt64(), 8)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (uint32)(z.C.UintV(r.DecodeUint64(), 32)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapint8uint64(v map[int8]uint64, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeInt(int64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeUint(uint64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapint8uint64(v *map[int8]uint64, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 9) + yyv1 = make(map[int8]uint64, yyrl1) + *v = yyv1 + } + var yymk1 int8 + var yymv1 uint64 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (int8)(z.C.IntV(r.DecodeInt64(), 8)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (uint64)(r.DecodeUint64()) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapint8uintptr(v map[int8]uintptr, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeInt(int64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeUint(uint64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapint8uintptr(v *map[int8]uintptr, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 9) + yyv1 = make(map[int8]uintptr, yyrl1) + *v = yyv1 + } + var yymk1 int8 + var yymv1 uintptr + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (int8)(z.C.IntV(r.DecodeInt64(), 8)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (uintptr)(z.C.UintV(r.DecodeUint64(), codecSelferBitsize19781)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapint8int(v map[int8]int, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeInt(int64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeInt(int64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapint8int(v *map[int8]int, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 9) + yyv1 = make(map[int8]int, yyrl1) + *v = yyv1 + } + var yymk1 int8 + var yymv1 int + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (int8)(z.C.IntV(r.DecodeInt64(), 8)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (int)(z.C.IntV(r.DecodeInt64(), codecSelferBitsize19781)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapint8int8(v map[int8]int8, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeInt(int64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeInt(int64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapint8int8(v *map[int8]int8, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 2) + yyv1 = make(map[int8]int8, yyrl1) + *v = yyv1 + } + var yymk1 int8 + var yymv1 int8 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (int8)(z.C.IntV(r.DecodeInt64(), 8)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (int8)(z.C.IntV(r.DecodeInt64(), 8)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapint8int16(v map[int8]int16, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeInt(int64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeInt(int64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapint8int16(v *map[int8]int16, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 3) + yyv1 = make(map[int8]int16, yyrl1) + *v = yyv1 + } + var yymk1 int8 + var yymv1 int16 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (int8)(z.C.IntV(r.DecodeInt64(), 8)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (int16)(z.C.IntV(r.DecodeInt64(), 16)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapint8int32(v map[int8]int32, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeInt(int64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeInt(int64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapint8int32(v *map[int8]int32, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 5) + yyv1 = make(map[int8]int32, yyrl1) + *v = yyv1 + } + var yymk1 int8 + var yymv1 int32 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (int8)(z.C.IntV(r.DecodeInt64(), 8)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (int32)(z.C.IntV(r.DecodeInt64(), 32)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapint8int64(v map[int8]int64, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeInt(int64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeInt(int64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapint8int64(v *map[int8]int64, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 9) + yyv1 = make(map[int8]int64, yyrl1) + *v = yyv1 + } + var yymk1 int8 + var yymv1 int64 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (int8)(z.C.IntV(r.DecodeInt64(), 8)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (int64)(r.DecodeInt64()) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapint8float32(v map[int8]float32, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeInt(int64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeFloat32(float32(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapint8float32(v *map[int8]float32, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 5) + yyv1 = make(map[int8]float32, yyrl1) + *v = yyv1 + } + var yymk1 int8 + var yymv1 float32 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (int8)(z.C.IntV(r.DecodeInt64(), 8)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (float32)(r.DecodeFloat32As64()) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapint8float64(v map[int8]float64, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeInt(int64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeFloat64(float64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapint8float64(v *map[int8]float64, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 9) + yyv1 = make(map[int8]float64, yyrl1) + *v = yyv1 + } + var yymk1 int8 + var yymv1 float64 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (int8)(z.C.IntV(r.DecodeInt64(), 8)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (float64)(r.DecodeFloat64()) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapint8bool(v map[int8]bool, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeInt(int64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeBool(bool(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapint8bool(v *map[int8]bool, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 2) + yyv1 = make(map[int8]bool, yyrl1) + *v = yyv1 + } + var yymk1 int8 + var yymv1 bool + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (int8)(z.C.IntV(r.DecodeInt64(), 8)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (bool)(r.DecodeBool()) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = false + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapint16Interface(v map[int16]interface{}, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeInt(int64(yyk1)) + } + r.WriteMapElemValue() + if yyv1 == nil { + r.EncodeNil() + } else { + if false { + } else { + z.EncFallback(yyv1) + } + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapint16Interface(v *map[int16]interface{}, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 18) + yyv1 = make(map[int16]interface{}, yyrl1) + *v = yyv1 + } + var yymk1 int16 + var yymv1 interface{} + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + if !yybh1.InterfaceReset { + yymg1 = true + } + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (int16)(z.C.IntV(r.DecodeInt64(), 16)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } else { + yymv1 = nil + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + if false { + } else { + z.DecFallback(&yymv1, true) + } + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = nil + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapint16string(v map[int16]string, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeInt(int64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + if z.EncBasicHandle().StringToRaw { + r.EncodeStringBytesRaw(z.BytesView(string(yyv1))) + } else { + r.EncodeStringEnc(codecSelferCcUTF819781, string(yyv1)) + } + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapint16string(v *map[int16]string, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 18) + yyv1 = make(map[int16]string, yyrl1) + *v = yyv1 + } + var yymk1 int16 + var yymv1 string + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (int16)(z.C.IntV(r.DecodeInt64(), 16)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (string)(r.DecodeString()) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = "" + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapint16uint(v map[int16]uint, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeInt(int64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeUint(uint64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapint16uint(v *map[int16]uint, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 10) + yyv1 = make(map[int16]uint, yyrl1) + *v = yyv1 + } + var yymk1 int16 + var yymv1 uint + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (int16)(z.C.IntV(r.DecodeInt64(), 16)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (uint)(z.C.UintV(r.DecodeUint64(), codecSelferBitsize19781)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapint16uint8(v map[int16]uint8, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeInt(int64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeUint(uint64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapint16uint8(v *map[int16]uint8, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 3) + yyv1 = make(map[int16]uint8, yyrl1) + *v = yyv1 + } + var yymk1 int16 + var yymv1 uint8 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (int16)(z.C.IntV(r.DecodeInt64(), 16)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (uint8)(z.C.UintV(r.DecodeUint64(), 8)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapint16uint16(v map[int16]uint16, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeInt(int64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeUint(uint64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapint16uint16(v *map[int16]uint16, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 4) + yyv1 = make(map[int16]uint16, yyrl1) + *v = yyv1 + } + var yymk1 int16 + var yymv1 uint16 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (int16)(z.C.IntV(r.DecodeInt64(), 16)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (uint16)(z.C.UintV(r.DecodeUint64(), 16)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapint16uint32(v map[int16]uint32, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeInt(int64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeUint(uint64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapint16uint32(v *map[int16]uint32, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 6) + yyv1 = make(map[int16]uint32, yyrl1) + *v = yyv1 + } + var yymk1 int16 + var yymv1 uint32 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (int16)(z.C.IntV(r.DecodeInt64(), 16)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (uint32)(z.C.UintV(r.DecodeUint64(), 32)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapint16uint64(v map[int16]uint64, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeInt(int64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeUint(uint64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapint16uint64(v *map[int16]uint64, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 10) + yyv1 = make(map[int16]uint64, yyrl1) + *v = yyv1 + } + var yymk1 int16 + var yymv1 uint64 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (int16)(z.C.IntV(r.DecodeInt64(), 16)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (uint64)(r.DecodeUint64()) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapint16uintptr(v map[int16]uintptr, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeInt(int64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeUint(uint64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapint16uintptr(v *map[int16]uintptr, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 10) + yyv1 = make(map[int16]uintptr, yyrl1) + *v = yyv1 + } + var yymk1 int16 + var yymv1 uintptr + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (int16)(z.C.IntV(r.DecodeInt64(), 16)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (uintptr)(z.C.UintV(r.DecodeUint64(), codecSelferBitsize19781)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapint16int(v map[int16]int, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeInt(int64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeInt(int64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapint16int(v *map[int16]int, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 10) + yyv1 = make(map[int16]int, yyrl1) + *v = yyv1 + } + var yymk1 int16 + var yymv1 int + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (int16)(z.C.IntV(r.DecodeInt64(), 16)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (int)(z.C.IntV(r.DecodeInt64(), codecSelferBitsize19781)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapint16int8(v map[int16]int8, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeInt(int64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeInt(int64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapint16int8(v *map[int16]int8, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 3) + yyv1 = make(map[int16]int8, yyrl1) + *v = yyv1 + } + var yymk1 int16 + var yymv1 int8 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (int16)(z.C.IntV(r.DecodeInt64(), 16)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (int8)(z.C.IntV(r.DecodeInt64(), 8)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapint16int16(v map[int16]int16, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeInt(int64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeInt(int64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapint16int16(v *map[int16]int16, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 4) + yyv1 = make(map[int16]int16, yyrl1) + *v = yyv1 + } + var yymk1 int16 + var yymv1 int16 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (int16)(z.C.IntV(r.DecodeInt64(), 16)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (int16)(z.C.IntV(r.DecodeInt64(), 16)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapint16int32(v map[int16]int32, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeInt(int64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeInt(int64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapint16int32(v *map[int16]int32, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 6) + yyv1 = make(map[int16]int32, yyrl1) + *v = yyv1 + } + var yymk1 int16 + var yymv1 int32 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (int16)(z.C.IntV(r.DecodeInt64(), 16)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (int32)(z.C.IntV(r.DecodeInt64(), 32)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapint16int64(v map[int16]int64, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeInt(int64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeInt(int64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapint16int64(v *map[int16]int64, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 10) + yyv1 = make(map[int16]int64, yyrl1) + *v = yyv1 + } + var yymk1 int16 + var yymv1 int64 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (int16)(z.C.IntV(r.DecodeInt64(), 16)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (int64)(r.DecodeInt64()) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapint16float32(v map[int16]float32, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeInt(int64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeFloat32(float32(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapint16float32(v *map[int16]float32, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 6) + yyv1 = make(map[int16]float32, yyrl1) + *v = yyv1 + } + var yymk1 int16 + var yymv1 float32 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (int16)(z.C.IntV(r.DecodeInt64(), 16)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (float32)(r.DecodeFloat32As64()) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapint16float64(v map[int16]float64, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeInt(int64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeFloat64(float64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapint16float64(v *map[int16]float64, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 10) + yyv1 = make(map[int16]float64, yyrl1) + *v = yyv1 + } + var yymk1 int16 + var yymv1 float64 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (int16)(z.C.IntV(r.DecodeInt64(), 16)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (float64)(r.DecodeFloat64()) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapint16bool(v map[int16]bool, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeInt(int64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeBool(bool(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapint16bool(v *map[int16]bool, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 3) + yyv1 = make(map[int16]bool, yyrl1) + *v = yyv1 + } + var yymk1 int16 + var yymv1 bool + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (int16)(z.C.IntV(r.DecodeInt64(), 16)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (bool)(r.DecodeBool()) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = false + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapint32Interface(v map[int32]interface{}, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeInt(int64(yyk1)) + } + r.WriteMapElemValue() + if yyv1 == nil { + r.EncodeNil() + } else { + if false { + } else { + z.EncFallback(yyv1) + } + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapint32Interface(v *map[int32]interface{}, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 20) + yyv1 = make(map[int32]interface{}, yyrl1) + *v = yyv1 + } + var yymk1 int32 + var yymv1 interface{} + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + if !yybh1.InterfaceReset { + yymg1 = true + } + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (int32)(z.C.IntV(r.DecodeInt64(), 32)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } else { + yymv1 = nil + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + if false { + } else { + z.DecFallback(&yymv1, true) + } + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = nil + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapint32string(v map[int32]string, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeInt(int64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + if z.EncBasicHandle().StringToRaw { + r.EncodeStringBytesRaw(z.BytesView(string(yyv1))) + } else { + r.EncodeStringEnc(codecSelferCcUTF819781, string(yyv1)) + } + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapint32string(v *map[int32]string, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 20) + yyv1 = make(map[int32]string, yyrl1) + *v = yyv1 + } + var yymk1 int32 + var yymv1 string + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (int32)(z.C.IntV(r.DecodeInt64(), 32)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (string)(r.DecodeString()) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = "" + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapint32uint(v map[int32]uint, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeInt(int64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeUint(uint64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapint32uint(v *map[int32]uint, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 12) + yyv1 = make(map[int32]uint, yyrl1) + *v = yyv1 + } + var yymk1 int32 + var yymv1 uint + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (int32)(z.C.IntV(r.DecodeInt64(), 32)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (uint)(z.C.UintV(r.DecodeUint64(), codecSelferBitsize19781)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapint32uint8(v map[int32]uint8, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeInt(int64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeUint(uint64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapint32uint8(v *map[int32]uint8, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 5) + yyv1 = make(map[int32]uint8, yyrl1) + *v = yyv1 + } + var yymk1 int32 + var yymv1 uint8 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (int32)(z.C.IntV(r.DecodeInt64(), 32)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (uint8)(z.C.UintV(r.DecodeUint64(), 8)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapint32uint16(v map[int32]uint16, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeInt(int64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeUint(uint64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapint32uint16(v *map[int32]uint16, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 6) + yyv1 = make(map[int32]uint16, yyrl1) + *v = yyv1 + } + var yymk1 int32 + var yymv1 uint16 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (int32)(z.C.IntV(r.DecodeInt64(), 32)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (uint16)(z.C.UintV(r.DecodeUint64(), 16)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapint32uint32(v map[int32]uint32, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeInt(int64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeUint(uint64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapint32uint32(v *map[int32]uint32, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 8) + yyv1 = make(map[int32]uint32, yyrl1) + *v = yyv1 + } + var yymk1 int32 + var yymv1 uint32 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (int32)(z.C.IntV(r.DecodeInt64(), 32)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (uint32)(z.C.UintV(r.DecodeUint64(), 32)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapint32uint64(v map[int32]uint64, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeInt(int64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeUint(uint64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapint32uint64(v *map[int32]uint64, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 12) + yyv1 = make(map[int32]uint64, yyrl1) + *v = yyv1 + } + var yymk1 int32 + var yymv1 uint64 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (int32)(z.C.IntV(r.DecodeInt64(), 32)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (uint64)(r.DecodeUint64()) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapint32uintptr(v map[int32]uintptr, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeInt(int64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeUint(uint64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapint32uintptr(v *map[int32]uintptr, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 12) + yyv1 = make(map[int32]uintptr, yyrl1) + *v = yyv1 + } + var yymk1 int32 + var yymv1 uintptr + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (int32)(z.C.IntV(r.DecodeInt64(), 32)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (uintptr)(z.C.UintV(r.DecodeUint64(), codecSelferBitsize19781)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapint32int(v map[int32]int, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeInt(int64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeInt(int64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapint32int(v *map[int32]int, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 12) + yyv1 = make(map[int32]int, yyrl1) + *v = yyv1 + } + var yymk1 int32 + var yymv1 int + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (int32)(z.C.IntV(r.DecodeInt64(), 32)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (int)(z.C.IntV(r.DecodeInt64(), codecSelferBitsize19781)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapint32int8(v map[int32]int8, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeInt(int64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeInt(int64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapint32int8(v *map[int32]int8, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 5) + yyv1 = make(map[int32]int8, yyrl1) + *v = yyv1 + } + var yymk1 int32 + var yymv1 int8 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (int32)(z.C.IntV(r.DecodeInt64(), 32)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (int8)(z.C.IntV(r.DecodeInt64(), 8)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapint32int16(v map[int32]int16, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeInt(int64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeInt(int64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapint32int16(v *map[int32]int16, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 6) + yyv1 = make(map[int32]int16, yyrl1) + *v = yyv1 + } + var yymk1 int32 + var yymv1 int16 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (int32)(z.C.IntV(r.DecodeInt64(), 32)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (int16)(z.C.IntV(r.DecodeInt64(), 16)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapint32int32(v map[int32]int32, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeInt(int64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeInt(int64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapint32int32(v *map[int32]int32, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 8) + yyv1 = make(map[int32]int32, yyrl1) + *v = yyv1 + } + var yymk1 int32 + var yymv1 int32 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (int32)(z.C.IntV(r.DecodeInt64(), 32)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (int32)(z.C.IntV(r.DecodeInt64(), 32)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapint32int64(v map[int32]int64, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeInt(int64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeInt(int64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapint32int64(v *map[int32]int64, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 12) + yyv1 = make(map[int32]int64, yyrl1) + *v = yyv1 + } + var yymk1 int32 + var yymv1 int64 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (int32)(z.C.IntV(r.DecodeInt64(), 32)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (int64)(r.DecodeInt64()) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapint32float32(v map[int32]float32, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeInt(int64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeFloat32(float32(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapint32float32(v *map[int32]float32, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 8) + yyv1 = make(map[int32]float32, yyrl1) + *v = yyv1 + } + var yymk1 int32 + var yymv1 float32 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (int32)(z.C.IntV(r.DecodeInt64(), 32)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (float32)(r.DecodeFloat32As64()) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapint32float64(v map[int32]float64, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeInt(int64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeFloat64(float64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapint32float64(v *map[int32]float64, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 12) + yyv1 = make(map[int32]float64, yyrl1) + *v = yyv1 + } + var yymk1 int32 + var yymv1 float64 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (int32)(z.C.IntV(r.DecodeInt64(), 32)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (float64)(r.DecodeFloat64()) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapint32bool(v map[int32]bool, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeInt(int64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeBool(bool(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapint32bool(v *map[int32]bool, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 5) + yyv1 = make(map[int32]bool, yyrl1) + *v = yyv1 + } + var yymk1 int32 + var yymv1 bool + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (int32)(z.C.IntV(r.DecodeInt64(), 32)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (bool)(r.DecodeBool()) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = false + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapint64Interface(v map[int64]interface{}, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeInt(int64(yyk1)) + } + r.WriteMapElemValue() + if yyv1 == nil { + r.EncodeNil() + } else { + if false { + } else { + z.EncFallback(yyv1) + } + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapint64Interface(v *map[int64]interface{}, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 24) + yyv1 = make(map[int64]interface{}, yyrl1) + *v = yyv1 + } + var yymk1 int64 + var yymv1 interface{} + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + if !yybh1.InterfaceReset { + yymg1 = true + } + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (int64)(r.DecodeInt64()) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } else { + yymv1 = nil + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + if false { + } else { + z.DecFallback(&yymv1, true) + } + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = nil + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapint64string(v map[int64]string, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeInt(int64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + if z.EncBasicHandle().StringToRaw { + r.EncodeStringBytesRaw(z.BytesView(string(yyv1))) + } else { + r.EncodeStringEnc(codecSelferCcUTF819781, string(yyv1)) + } + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapint64string(v *map[int64]string, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 24) + yyv1 = make(map[int64]string, yyrl1) + *v = yyv1 + } + var yymk1 int64 + var yymv1 string + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (int64)(r.DecodeInt64()) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (string)(r.DecodeString()) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = "" + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapint64uint(v map[int64]uint, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeInt(int64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeUint(uint64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapint64uint(v *map[int64]uint, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 16) + yyv1 = make(map[int64]uint, yyrl1) + *v = yyv1 + } + var yymk1 int64 + var yymv1 uint + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (int64)(r.DecodeInt64()) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (uint)(z.C.UintV(r.DecodeUint64(), codecSelferBitsize19781)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapint64uint8(v map[int64]uint8, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeInt(int64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeUint(uint64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapint64uint8(v *map[int64]uint8, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 9) + yyv1 = make(map[int64]uint8, yyrl1) + *v = yyv1 + } + var yymk1 int64 + var yymv1 uint8 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (int64)(r.DecodeInt64()) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (uint8)(z.C.UintV(r.DecodeUint64(), 8)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapint64uint16(v map[int64]uint16, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeInt(int64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeUint(uint64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapint64uint16(v *map[int64]uint16, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 10) + yyv1 = make(map[int64]uint16, yyrl1) + *v = yyv1 + } + var yymk1 int64 + var yymv1 uint16 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (int64)(r.DecodeInt64()) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (uint16)(z.C.UintV(r.DecodeUint64(), 16)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapint64uint32(v map[int64]uint32, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeInt(int64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeUint(uint64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapint64uint32(v *map[int64]uint32, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 12) + yyv1 = make(map[int64]uint32, yyrl1) + *v = yyv1 + } + var yymk1 int64 + var yymv1 uint32 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (int64)(r.DecodeInt64()) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (uint32)(z.C.UintV(r.DecodeUint64(), 32)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapint64uint64(v map[int64]uint64, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeInt(int64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeUint(uint64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapint64uint64(v *map[int64]uint64, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 16) + yyv1 = make(map[int64]uint64, yyrl1) + *v = yyv1 + } + var yymk1 int64 + var yymv1 uint64 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (int64)(r.DecodeInt64()) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (uint64)(r.DecodeUint64()) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapint64uintptr(v map[int64]uintptr, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeInt(int64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeUint(uint64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapint64uintptr(v *map[int64]uintptr, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 16) + yyv1 = make(map[int64]uintptr, yyrl1) + *v = yyv1 + } + var yymk1 int64 + var yymv1 uintptr + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (int64)(r.DecodeInt64()) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (uintptr)(z.C.UintV(r.DecodeUint64(), codecSelferBitsize19781)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapint64int(v map[int64]int, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeInt(int64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeInt(int64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapint64int(v *map[int64]int, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 16) + yyv1 = make(map[int64]int, yyrl1) + *v = yyv1 + } + var yymk1 int64 + var yymv1 int + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (int64)(r.DecodeInt64()) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (int)(z.C.IntV(r.DecodeInt64(), codecSelferBitsize19781)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapint64int8(v map[int64]int8, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeInt(int64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeInt(int64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapint64int8(v *map[int64]int8, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 9) + yyv1 = make(map[int64]int8, yyrl1) + *v = yyv1 + } + var yymk1 int64 + var yymv1 int8 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (int64)(r.DecodeInt64()) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (int8)(z.C.IntV(r.DecodeInt64(), 8)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapint64int16(v map[int64]int16, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeInt(int64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeInt(int64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapint64int16(v *map[int64]int16, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 10) + yyv1 = make(map[int64]int16, yyrl1) + *v = yyv1 + } + var yymk1 int64 + var yymv1 int16 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (int64)(r.DecodeInt64()) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (int16)(z.C.IntV(r.DecodeInt64(), 16)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapint64int32(v map[int64]int32, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeInt(int64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeInt(int64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapint64int32(v *map[int64]int32, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 12) + yyv1 = make(map[int64]int32, yyrl1) + *v = yyv1 + } + var yymk1 int64 + var yymv1 int32 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (int64)(r.DecodeInt64()) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (int32)(z.C.IntV(r.DecodeInt64(), 32)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapint64int64(v map[int64]int64, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeInt(int64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeInt(int64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapint64int64(v *map[int64]int64, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 16) + yyv1 = make(map[int64]int64, yyrl1) + *v = yyv1 + } + var yymk1 int64 + var yymv1 int64 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (int64)(r.DecodeInt64()) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (int64)(r.DecodeInt64()) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapint64float32(v map[int64]float32, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeInt(int64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeFloat32(float32(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapint64float32(v *map[int64]float32, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 12) + yyv1 = make(map[int64]float32, yyrl1) + *v = yyv1 + } + var yymk1 int64 + var yymv1 float32 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (int64)(r.DecodeInt64()) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (float32)(r.DecodeFloat32As64()) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapint64float64(v map[int64]float64, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeInt(int64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeFloat64(float64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapint64float64(v *map[int64]float64, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 16) + yyv1 = make(map[int64]float64, yyrl1) + *v = yyv1 + } + var yymk1 int64 + var yymv1 float64 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (int64)(r.DecodeInt64()) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (float64)(r.DecodeFloat64()) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapint64bool(v map[int64]bool, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeInt(int64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeBool(bool(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapint64bool(v *map[int64]bool, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 9) + yyv1 = make(map[int64]bool, yyrl1) + *v = yyv1 + } + var yymk1 int64 + var yymv1 bool + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (int64)(r.DecodeInt64()) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (bool)(r.DecodeBool()) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = false + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapboolInterface(v map[bool]interface{}, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeBool(bool(yyk1)) + } + r.WriteMapElemValue() + if yyv1 == nil { + r.EncodeNil() + } else { + if false { + } else { + z.EncFallback(yyv1) + } + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapboolInterface(v *map[bool]interface{}, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 17) + yyv1 = make(map[bool]interface{}, yyrl1) + *v = yyv1 + } + var yymk1 bool + var yymv1 interface{} + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + if !yybh1.InterfaceReset { + yymg1 = true + } + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = false + } else { + yymk1 = (bool)(r.DecodeBool()) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } else { + yymv1 = nil + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + if false { + } else { + z.DecFallback(&yymv1, true) + } + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = nil + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapboolstring(v map[bool]string, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeBool(bool(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + if z.EncBasicHandle().StringToRaw { + r.EncodeStringBytesRaw(z.BytesView(string(yyv1))) + } else { + r.EncodeStringEnc(codecSelferCcUTF819781, string(yyv1)) + } + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapboolstring(v *map[bool]string, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 17) + yyv1 = make(map[bool]string, yyrl1) + *v = yyv1 + } + var yymk1 bool + var yymv1 string + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = false + } else { + yymk1 = (bool)(r.DecodeBool()) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (string)(r.DecodeString()) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = "" + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapbooluint(v map[bool]uint, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeBool(bool(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeUint(uint64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapbooluint(v *map[bool]uint, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 9) + yyv1 = make(map[bool]uint, yyrl1) + *v = yyv1 + } + var yymk1 bool + var yymv1 uint + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = false + } else { + yymk1 = (bool)(r.DecodeBool()) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (uint)(z.C.UintV(r.DecodeUint64(), codecSelferBitsize19781)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapbooluint8(v map[bool]uint8, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeBool(bool(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeUint(uint64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapbooluint8(v *map[bool]uint8, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 2) + yyv1 = make(map[bool]uint8, yyrl1) + *v = yyv1 + } + var yymk1 bool + var yymv1 uint8 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = false + } else { + yymk1 = (bool)(r.DecodeBool()) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (uint8)(z.C.UintV(r.DecodeUint64(), 8)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapbooluint16(v map[bool]uint16, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeBool(bool(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeUint(uint64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapbooluint16(v *map[bool]uint16, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 3) + yyv1 = make(map[bool]uint16, yyrl1) + *v = yyv1 + } + var yymk1 bool + var yymv1 uint16 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = false + } else { + yymk1 = (bool)(r.DecodeBool()) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (uint16)(z.C.UintV(r.DecodeUint64(), 16)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapbooluint32(v map[bool]uint32, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeBool(bool(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeUint(uint64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapbooluint32(v *map[bool]uint32, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 5) + yyv1 = make(map[bool]uint32, yyrl1) + *v = yyv1 + } + var yymk1 bool + var yymv1 uint32 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = false + } else { + yymk1 = (bool)(r.DecodeBool()) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (uint32)(z.C.UintV(r.DecodeUint64(), 32)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapbooluint64(v map[bool]uint64, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeBool(bool(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeUint(uint64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapbooluint64(v *map[bool]uint64, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 9) + yyv1 = make(map[bool]uint64, yyrl1) + *v = yyv1 + } + var yymk1 bool + var yymv1 uint64 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = false + } else { + yymk1 = (bool)(r.DecodeBool()) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (uint64)(r.DecodeUint64()) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapbooluintptr(v map[bool]uintptr, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeBool(bool(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeUint(uint64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapbooluintptr(v *map[bool]uintptr, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 9) + yyv1 = make(map[bool]uintptr, yyrl1) + *v = yyv1 + } + var yymk1 bool + var yymv1 uintptr + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = false + } else { + yymk1 = (bool)(r.DecodeBool()) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (uintptr)(z.C.UintV(r.DecodeUint64(), codecSelferBitsize19781)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapboolint(v map[bool]int, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeBool(bool(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeInt(int64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapboolint(v *map[bool]int, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 9) + yyv1 = make(map[bool]int, yyrl1) + *v = yyv1 + } + var yymk1 bool + var yymv1 int + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = false + } else { + yymk1 = (bool)(r.DecodeBool()) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (int)(z.C.IntV(r.DecodeInt64(), codecSelferBitsize19781)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapboolint8(v map[bool]int8, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeBool(bool(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeInt(int64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapboolint8(v *map[bool]int8, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 2) + yyv1 = make(map[bool]int8, yyrl1) + *v = yyv1 + } + var yymk1 bool + var yymv1 int8 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = false + } else { + yymk1 = (bool)(r.DecodeBool()) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (int8)(z.C.IntV(r.DecodeInt64(), 8)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapboolint16(v map[bool]int16, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeBool(bool(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeInt(int64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapboolint16(v *map[bool]int16, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 3) + yyv1 = make(map[bool]int16, yyrl1) + *v = yyv1 + } + var yymk1 bool + var yymv1 int16 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = false + } else { + yymk1 = (bool)(r.DecodeBool()) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (int16)(z.C.IntV(r.DecodeInt64(), 16)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapboolint32(v map[bool]int32, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeBool(bool(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeInt(int64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapboolint32(v *map[bool]int32, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 5) + yyv1 = make(map[bool]int32, yyrl1) + *v = yyv1 + } + var yymk1 bool + var yymv1 int32 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = false + } else { + yymk1 = (bool)(r.DecodeBool()) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (int32)(z.C.IntV(r.DecodeInt64(), 32)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapboolint64(v map[bool]int64, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeBool(bool(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeInt(int64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapboolint64(v *map[bool]int64, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 9) + yyv1 = make(map[bool]int64, yyrl1) + *v = yyv1 + } + var yymk1 bool + var yymv1 int64 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = false + } else { + yymk1 = (bool)(r.DecodeBool()) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (int64)(r.DecodeInt64()) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapboolfloat32(v map[bool]float32, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeBool(bool(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeFloat32(float32(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapboolfloat32(v *map[bool]float32, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 5) + yyv1 = make(map[bool]float32, yyrl1) + *v = yyv1 + } + var yymk1 bool + var yymv1 float32 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = false + } else { + yymk1 = (bool)(r.DecodeBool()) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (float32)(r.DecodeFloat32As64()) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapboolfloat64(v map[bool]float64, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeBool(bool(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeFloat64(float64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapboolfloat64(v *map[bool]float64, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 9) + yyv1 = make(map[bool]float64, yyrl1) + *v = yyv1 + } + var yymk1 bool + var yymv1 float64 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = false + } else { + yymk1 = (bool)(r.DecodeBool()) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (float64)(r.DecodeFloat64()) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + +func (x codecSelfer19781) encMapboolbool(v map[bool]bool, e *Encoder) { + var h codecSelfer19781 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeBool(bool(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeBool(bool(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19781) decMapboolbool(v *map[bool]bool, d *Decoder) { + var h codecSelfer19781 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 2) + yyv1 = make(map[bool]bool, yyrl1) + *v = yyv1 + } + var yymk1 bool + var yymv1 bool + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = false + } else { + yymk1 = (bool)(r.DecodeBool()) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (bool)(r.DecodeBool()) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = false + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + func (x codecSelfer19781) enctestMammoth2Basic(v *testMammoth2Basic, e *Encoder) { var h codecSelfer19781 z, r := GenHelperEncoder(e) diff --git a/codec/mammoth2_generated_test.go b/codec/mammoth2_generated_test.go index e9377c55..00b566ab 100644 --- a/codec/mammoth2_generated_test.go +++ b/codec/mammoth2_generated_test.go @@ -1,5 +1,3 @@ -// +build !notfastpath - // Copyright (c) 2012-2018 Ugorji Nwoke. All rights reserved. // Use of this source code is governed by a MIT license found in the LICENSE file. diff --git a/codec/values_codecgen_generated_test.go b/codec/values_codecgen_generated_test.go index 338762d2..ee7ca012 100644 --- a/codec/values_codecgen_generated_test.go +++ b/codec/values_codecgen_generated_test.go @@ -1,3 +1,4 @@ +//go:build codecgen || generated // +build codecgen generated // Code generated by codecgen - DO NOT EDIT. @@ -515,7 +516,7 @@ func (x *AnonInTestStruc) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceStringV(x.ASslice, e) + h.encSlicestring(([]string)(x.ASslice), e) } } } else { @@ -531,7 +532,7 @@ func (x *AnonInTestStruc) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceStringV(x.ASslice, e) + h.encSlicestring(([]string)(x.ASslice), e) } } } @@ -542,7 +543,7 @@ func (x *AnonInTestStruc) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceInt64V(x.AI64slice, e) + h.encSliceint64(([]int64)(x.AI64slice), e) } } } else { @@ -558,7 +559,7 @@ func (x *AnonInTestStruc) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceInt64V(x.AI64slice, e) + h.encSliceint64(([]int64)(x.AI64slice), e) } } } @@ -569,7 +570,7 @@ func (x *AnonInTestStruc) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceUint64V(x.AUi64slice, e) + h.encSliceuint64(([]uint64)(x.AUi64slice), e) } } } else { @@ -585,7 +586,7 @@ func (x *AnonInTestStruc) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceUint64V(x.AUi64slice, e) + h.encSliceuint64(([]uint64)(x.AUi64slice), e) } } } @@ -596,7 +597,7 @@ func (x *AnonInTestStruc) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceFloat64V(x.AF64slice, e) + h.encSlicefloat64(([]float64)(x.AF64slice), e) } } } else { @@ -612,7 +613,7 @@ func (x *AnonInTestStruc) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceFloat64V(x.AF64slice, e) + h.encSlicefloat64(([]float64)(x.AF64slice), e) } } } @@ -623,7 +624,7 @@ func (x *AnonInTestStruc) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceFloat32V(x.AF32slice, e) + h.encSlicefloat32(([]float32)(x.AF32slice), e) } } } else { @@ -639,7 +640,7 @@ func (x *AnonInTestStruc) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceFloat32V(x.AF32slice, e) + h.encSlicefloat32(([]float32)(x.AF32slice), e) } } } @@ -650,7 +651,7 @@ func (x *AnonInTestStruc) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapStringUint16V(x.AMSU16, e) + h.encMapstringuint16((map[string]uint16)(x.AMSU16), e) } } } else { @@ -666,7 +667,7 @@ func (x *AnonInTestStruc) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapStringUint16V(x.AMSU16, e) + h.encMapstringuint16((map[string]uint16)(x.AMSU16), e) } } } @@ -698,7 +699,7 @@ func (x *AnonInTestStruc) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceInt64V(x.A164slice0, e) + h.encSliceint64(([]int64)(x.A164slice0), e) } } } else { @@ -714,7 +715,7 @@ func (x *AnonInTestStruc) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceInt64V(x.A164slice0, e) + h.encSliceint64(([]int64)(x.A164slice0), e) } } } @@ -725,7 +726,7 @@ func (x *AnonInTestStruc) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceUint64V(x.AUi64sliceN, e) + h.encSliceuint64(([]uint64)(x.AUi64sliceN), e) } } } else { @@ -741,7 +742,7 @@ func (x *AnonInTestStruc) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceUint64V(x.AUi64sliceN, e) + h.encSliceuint64(([]uint64)(x.AUi64sliceN), e) } } } @@ -752,7 +753,7 @@ func (x *AnonInTestStruc) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapStringUint16V(x.AMSU16N, e) + h.encMapstringuint16((map[string]uint16)(x.AMSU16N), e) } } } else { @@ -768,7 +769,7 @@ func (x *AnonInTestStruc) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapStringUint16V(x.AMSU16N, e) + h.encMapstringuint16((map[string]uint16)(x.AMSU16N), e) } } } @@ -779,7 +780,7 @@ func (x *AnonInTestStruc) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapStringUint16V(x.AMSU16E, e) + h.encMapstringuint16((map[string]uint16)(x.AMSU16E), e) } } } else { @@ -795,7 +796,7 @@ func (x *AnonInTestStruc) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapStringUint16V(x.AMSU16E, e) + h.encMapstringuint16((map[string]uint16)(x.AMSU16E), e) } } } @@ -886,7 +887,7 @@ func (x *AnonInTestStruc) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceStringX(&x.ASslice, d) + h.decSlicestring((*[]string)(&x.ASslice), d) } } case "AI64slice": @@ -895,7 +896,7 @@ func (x *AnonInTestStruc) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceInt64X(&x.AI64slice, d) + h.decSliceint64((*[]int64)(&x.AI64slice), d) } } case "AUi64slice": @@ -904,7 +905,7 @@ func (x *AnonInTestStruc) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceUint64X(&x.AUi64slice, d) + h.decSliceuint64((*[]uint64)(&x.AUi64slice), d) } } case "AF64slice": @@ -913,7 +914,7 @@ func (x *AnonInTestStruc) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceFloat64X(&x.AF64slice, d) + h.decSlicefloat64((*[]float64)(&x.AF64slice), d) } } case "AF32slice": @@ -922,7 +923,7 @@ func (x *AnonInTestStruc) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceFloat32X(&x.AF32slice, d) + h.decSlicefloat32((*[]float32)(&x.AF32slice), d) } } case "AMSU16": @@ -931,7 +932,7 @@ func (x *AnonInTestStruc) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapStringUint16X(&x.AMSU16, d) + h.decMapstringuint16((*map[string]uint16)(&x.AMSU16), d) } } case "AI64arr0": @@ -949,7 +950,7 @@ func (x *AnonInTestStruc) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceInt64X(&x.A164slice0, d) + h.decSliceint64((*[]int64)(&x.A164slice0), d) } } case "AUi64sliceN": @@ -958,7 +959,7 @@ func (x *AnonInTestStruc) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceUint64X(&x.AUi64sliceN, d) + h.decSliceuint64((*[]uint64)(&x.AUi64sliceN), d) } } case "AMSU16N": @@ -967,7 +968,7 @@ func (x *AnonInTestStruc) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapStringUint16X(&x.AMSU16N, d) + h.decMapstringuint16((*map[string]uint16)(&x.AMSU16N), d) } } case "AMSU16E": @@ -976,7 +977,7 @@ func (x *AnonInTestStruc) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapStringUint16X(&x.AMSU16E, d) + h.decMapstringuint16((*map[string]uint16)(&x.AMSU16E), d) } } default: @@ -1073,7 +1074,7 @@ func (x *AnonInTestStruc) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceStringX(&x.ASslice, d) + h.decSlicestring((*[]string)(&x.ASslice), d) } } yyj30++ @@ -1092,7 +1093,7 @@ func (x *AnonInTestStruc) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceInt64X(&x.AI64slice, d) + h.decSliceint64((*[]int64)(&x.AI64slice), d) } } yyj30++ @@ -1111,7 +1112,7 @@ func (x *AnonInTestStruc) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceUint64X(&x.AUi64slice, d) + h.decSliceuint64((*[]uint64)(&x.AUi64slice), d) } } yyj30++ @@ -1130,7 +1131,7 @@ func (x *AnonInTestStruc) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceFloat64X(&x.AF64slice, d) + h.decSlicefloat64((*[]float64)(&x.AF64slice), d) } } yyj30++ @@ -1149,7 +1150,7 @@ func (x *AnonInTestStruc) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceFloat32X(&x.AF32slice, d) + h.decSlicefloat32((*[]float32)(&x.AF32slice), d) } } yyj30++ @@ -1168,7 +1169,7 @@ func (x *AnonInTestStruc) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapStringUint16X(&x.AMSU16, d) + h.decMapstringuint16((*map[string]uint16)(&x.AMSU16), d) } } yyj30++ @@ -1206,7 +1207,7 @@ func (x *AnonInTestStruc) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceInt64X(&x.A164slice0, d) + h.decSliceint64((*[]int64)(&x.A164slice0), d) } } yyj30++ @@ -1225,7 +1226,7 @@ func (x *AnonInTestStruc) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceUint64X(&x.AUi64sliceN, d) + h.decSliceuint64((*[]uint64)(&x.AUi64sliceN), d) } } yyj30++ @@ -1244,7 +1245,7 @@ func (x *AnonInTestStruc) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapStringUint16X(&x.AMSU16N, d) + h.decMapstringuint16((*map[string]uint16)(&x.AMSU16N), d) } } yyj30++ @@ -1263,7 +1264,7 @@ func (x *AnonInTestStruc) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapStringUint16X(&x.AMSU16E, d) + h.decMapstringuint16((*map[string]uint16)(&x.AMSU16E), d) } } for { @@ -1469,7 +1470,7 @@ func (x *testSimpleFields) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceStringV(x.Sslice, e) + h.encSlicestring(([]string)(x.Sslice), e) } } } else { @@ -1485,7 +1486,7 @@ func (x *testSimpleFields) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceStringV(x.Sslice, e) + h.encSlicestring(([]string)(x.Sslice), e) } } } @@ -1496,7 +1497,7 @@ func (x *testSimpleFields) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceInt16V(x.I16slice, e) + h.encSliceint16(([]int16)(x.I16slice), e) } } } else { @@ -1512,7 +1513,7 @@ func (x *testSimpleFields) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceInt16V(x.I16slice, e) + h.encSliceint16(([]int16)(x.I16slice), e) } } } @@ -1523,7 +1524,7 @@ func (x *testSimpleFields) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceUint64V(x.Ui64slice, e) + h.encSliceuint64(([]uint64)(x.Ui64slice), e) } } } else { @@ -1539,7 +1540,7 @@ func (x *testSimpleFields) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceUint64V(x.Ui64slice, e) + h.encSliceuint64(([]uint64)(x.Ui64slice), e) } } } @@ -1577,7 +1578,7 @@ func (x *testSimpleFields) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceBoolV(x.Bslice, e) + h.encSlicebool(([]bool)(x.Bslice), e) } } } else { @@ -1593,7 +1594,7 @@ func (x *testSimpleFields) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceBoolV(x.Bslice, e) + h.encSlicebool(([]bool)(x.Bslice), e) } } } @@ -1673,7 +1674,7 @@ func (x *testSimpleFields) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapStringInt64V(x.Msi64, e) + h.encMapstringint64((map[string]int64)(x.Msi64), e) } } } else { @@ -1689,7 +1690,7 @@ func (x *testSimpleFields) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapStringInt64V(x.Msi64, e) + h.encMapstringint64((map[string]int64)(x.Msi64), e) } } } @@ -1804,7 +1805,7 @@ func (x *testSimpleFields) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceStringX(&x.Sslice, d) + h.decSlicestring((*[]string)(&x.Sslice), d) } } case "I16slice": @@ -1813,7 +1814,7 @@ func (x *testSimpleFields) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceInt16X(&x.I16slice, d) + h.decSliceint16((*[]int16)(&x.I16slice), d) } } case "Ui64slice": @@ -1822,7 +1823,7 @@ func (x *testSimpleFields) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceUint64X(&x.Ui64slice, d) + h.decSliceuint64((*[]uint64)(&x.Ui64slice), d) } } case "Ui8slice": @@ -1840,7 +1841,7 @@ func (x *testSimpleFields) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceBoolX(&x.Bslice, d) + h.decSlicebool((*[]bool)(&x.Bslice), d) } } case "Iptrslice": @@ -1870,7 +1871,7 @@ func (x *testSimpleFields) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapStringInt64X(&x.Msi64, d) + h.decMapstringint64((*map[string]int64)(&x.Msi64), d) } } default: @@ -2031,7 +2032,7 @@ func (x *testSimpleFields) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceStringX(&x.Sslice, d) + h.decSlicestring((*[]string)(&x.Sslice), d) } } yyj28++ @@ -2050,7 +2051,7 @@ func (x *testSimpleFields) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceInt16X(&x.I16slice, d) + h.decSliceint16((*[]int16)(&x.I16slice), d) } } yyj28++ @@ -2069,7 +2070,7 @@ func (x *testSimpleFields) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceUint64X(&x.Ui64slice, d) + h.decSliceuint64((*[]uint64)(&x.Ui64slice), d) } } yyj28++ @@ -2107,7 +2108,7 @@ func (x *testSimpleFields) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceBoolX(&x.Bslice, d) + h.decSlicebool((*[]bool)(&x.Bslice), d) } } yyj28++ @@ -2177,7 +2178,7 @@ func (x *testSimpleFields) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapStringInt64X(&x.Msi64, d) + h.decMapstringint64((*map[string]int64)(&x.Msi64), d) } } for { @@ -2554,7 +2555,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceStringV(x.Sslice, e) + h.encSlicestring(([]string)(x.Sslice), e) } } } else { @@ -2570,7 +2571,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceStringV(x.Sslice, e) + h.encSlicestring(([]string)(x.Sslice), e) } } } @@ -2581,7 +2582,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceInt64V(x.I64slice, e) + h.encSliceint64(([]int64)(x.I64slice), e) } } } else { @@ -2597,7 +2598,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceInt64V(x.I64slice, e) + h.encSliceint64(([]int64)(x.I64slice), e) } } } @@ -2608,7 +2609,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceInt16V(x.I16slice, e) + h.encSliceint16(([]int16)(x.I16slice), e) } } } else { @@ -2624,7 +2625,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceInt16V(x.I16slice, e) + h.encSliceint16(([]int16)(x.I16slice), e) } } } @@ -2635,7 +2636,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceUint64V(x.Ui64slice, e) + h.encSliceuint64(([]uint64)(x.Ui64slice), e) } } } else { @@ -2651,7 +2652,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceUint64V(x.Ui64slice, e) + h.encSliceuint64(([]uint64)(x.Ui64slice), e) } } } @@ -2689,7 +2690,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceBoolV(x.Bslice, e) + h.encSlicebool(([]bool)(x.Bslice), e) } } } else { @@ -2705,7 +2706,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceBoolV(x.Bslice, e) + h.encSlicebool(([]bool)(x.Bslice), e) } } } @@ -2812,7 +2813,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapStringInt64V(x.Msi64, e) + h.encMapstringint64((map[string]int64)(x.Msi64), e) } } } else { @@ -2828,7 +2829,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapStringInt64V(x.Msi64, e) + h.encMapstringint64((map[string]int64)(x.Msi64), e) } } } @@ -2965,7 +2966,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceStringV(x.ASslice, e) + h.encSlicestring(([]string)(x.ASslice), e) } } } else { @@ -2981,7 +2982,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceStringV(x.ASslice, e) + h.encSlicestring(([]string)(x.ASslice), e) } } } @@ -2992,7 +2993,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceInt64V(x.AI64slice, e) + h.encSliceint64(([]int64)(x.AI64slice), e) } } } else { @@ -3008,7 +3009,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceInt64V(x.AI64slice, e) + h.encSliceint64(([]int64)(x.AI64slice), e) } } } @@ -3019,7 +3020,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceUint64V(x.AUi64slice, e) + h.encSliceuint64(([]uint64)(x.AUi64slice), e) } } } else { @@ -3035,7 +3036,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceUint64V(x.AUi64slice, e) + h.encSliceuint64(([]uint64)(x.AUi64slice), e) } } } @@ -3046,7 +3047,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceFloat64V(x.AF64slice, e) + h.encSlicefloat64(([]float64)(x.AF64slice), e) } } } else { @@ -3062,7 +3063,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceFloat64V(x.AF64slice, e) + h.encSlicefloat64(([]float64)(x.AF64slice), e) } } } @@ -3073,7 +3074,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceFloat32V(x.AF32slice, e) + h.encSlicefloat32(([]float32)(x.AF32slice), e) } } } else { @@ -3089,7 +3090,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceFloat32V(x.AF32slice, e) + h.encSlicefloat32(([]float32)(x.AF32slice), e) } } } @@ -3100,7 +3101,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapStringUint16V(x.AMSU16, e) + h.encMapstringuint16((map[string]uint16)(x.AMSU16), e) } } } else { @@ -3116,7 +3117,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapStringUint16V(x.AMSU16, e) + h.encMapstringuint16((map[string]uint16)(x.AMSU16), e) } } } @@ -3148,7 +3149,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceInt64V(x.A164slice0, e) + h.encSliceint64(([]int64)(x.A164slice0), e) } } } else { @@ -3164,7 +3165,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceInt64V(x.A164slice0, e) + h.encSliceint64(([]int64)(x.A164slice0), e) } } } @@ -3175,7 +3176,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceUint64V(x.AUi64sliceN, e) + h.encSliceuint64(([]uint64)(x.AUi64sliceN), e) } } } else { @@ -3191,7 +3192,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceUint64V(x.AUi64sliceN, e) + h.encSliceuint64(([]uint64)(x.AUi64sliceN), e) } } } @@ -3202,7 +3203,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapStringUint16V(x.AMSU16N, e) + h.encMapstringuint16((map[string]uint16)(x.AMSU16N), e) } } } else { @@ -3218,7 +3219,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapStringUint16V(x.AMSU16N, e) + h.encMapstringuint16((map[string]uint16)(x.AMSU16N), e) } } } @@ -3229,7 +3230,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapStringUint16V(x.AMSU16E, e) + h.encMapstringuint16((map[string]uint16)(x.AMSU16E), e) } } } else { @@ -3245,7 +3246,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapStringUint16V(x.AMSU16E, e) + h.encMapstringuint16((map[string]uint16)(x.AMSU16E), e) } } } @@ -3271,7 +3272,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapStringBoolV(x.Nmap, e) + h.encMapstringbool((map[string]bool)(x.Nmap), e) } } } else { @@ -3287,7 +3288,7 @@ func (x *TestStrucCommon) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapStringBoolV(x.Nmap, e) + h.encMapstringbool((map[string]bool)(x.Nmap), e) } } } @@ -3527,7 +3528,7 @@ func (x *TestStrucCommon) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceStringX(&x.Sslice, d) + h.decSlicestring((*[]string)(&x.Sslice), d) } } case "I64slice": @@ -3536,7 +3537,7 @@ func (x *TestStrucCommon) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceInt64X(&x.I64slice, d) + h.decSliceint64((*[]int64)(&x.I64slice), d) } } case "I16slice": @@ -3545,7 +3546,7 @@ func (x *TestStrucCommon) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceInt16X(&x.I16slice, d) + h.decSliceint16((*[]int16)(&x.I16slice), d) } } case "Ui64slice": @@ -3554,7 +3555,7 @@ func (x *TestStrucCommon) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceUint64X(&x.Ui64slice, d) + h.decSliceuint64((*[]uint64)(&x.Ui64slice), d) } } case "Ui8slice": @@ -3572,7 +3573,7 @@ func (x *TestStrucCommon) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceBoolX(&x.Bslice, d) + h.decSlicebool((*[]bool)(&x.Bslice), d) } } case "Byslice": @@ -3611,7 +3612,7 @@ func (x *TestStrucCommon) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapStringInt64X(&x.Msi64, d) + h.decMapstringint64((*map[string]int64)(&x.Msi64), d) } } case "Simplef": @@ -3659,7 +3660,7 @@ func (x *TestStrucCommon) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceStringX(&x.ASslice, d) + h.decSlicestring((*[]string)(&x.ASslice), d) } } case "AI64slice": @@ -3668,7 +3669,7 @@ func (x *TestStrucCommon) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceInt64X(&x.AI64slice, d) + h.decSliceint64((*[]int64)(&x.AI64slice), d) } } case "AUi64slice": @@ -3677,7 +3678,7 @@ func (x *TestStrucCommon) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceUint64X(&x.AUi64slice, d) + h.decSliceuint64((*[]uint64)(&x.AUi64slice), d) } } case "AF64slice": @@ -3686,7 +3687,7 @@ func (x *TestStrucCommon) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceFloat64X(&x.AF64slice, d) + h.decSlicefloat64((*[]float64)(&x.AF64slice), d) } } case "AF32slice": @@ -3695,7 +3696,7 @@ func (x *TestStrucCommon) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceFloat32X(&x.AF32slice, d) + h.decSlicefloat32((*[]float32)(&x.AF32slice), d) } } case "AMSU16": @@ -3704,7 +3705,7 @@ func (x *TestStrucCommon) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapStringUint16X(&x.AMSU16, d) + h.decMapstringuint16((*map[string]uint16)(&x.AMSU16), d) } } case "AI64arr0": @@ -3722,7 +3723,7 @@ func (x *TestStrucCommon) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceInt64X(&x.A164slice0, d) + h.decSliceint64((*[]int64)(&x.A164slice0), d) } } case "AUi64sliceN": @@ -3731,7 +3732,7 @@ func (x *TestStrucCommon) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceUint64X(&x.AUi64sliceN, d) + h.decSliceuint64((*[]uint64)(&x.AUi64sliceN), d) } } case "AMSU16N": @@ -3740,7 +3741,7 @@ func (x *TestStrucCommon) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapStringUint16X(&x.AMSU16N, d) + h.decMapstringuint16((*map[string]uint16)(&x.AMSU16N), d) } } case "AMSU16E": @@ -3749,7 +3750,7 @@ func (x *TestStrucCommon) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapStringUint16X(&x.AMSU16E, d) + h.decMapstringuint16((*map[string]uint16)(&x.AMSU16E), d) } } case "NotAnon": @@ -3764,7 +3765,7 @@ func (x *TestStrucCommon) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapStringBoolX(&x.Nmap, d) + h.decMapstringbool((*map[string]bool)(&x.Nmap), d) } } case "Nslice": @@ -4093,7 +4094,7 @@ func (x *TestStrucCommon) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceStringX(&x.Sslice, d) + h.decSlicestring((*[]string)(&x.Sslice), d) } } yyj77++ @@ -4112,7 +4113,7 @@ func (x *TestStrucCommon) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceInt64X(&x.I64slice, d) + h.decSliceint64((*[]int64)(&x.I64slice), d) } } yyj77++ @@ -4131,7 +4132,7 @@ func (x *TestStrucCommon) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceInt16X(&x.I16slice, d) + h.decSliceint16((*[]int16)(&x.I16slice), d) } } yyj77++ @@ -4150,7 +4151,7 @@ func (x *TestStrucCommon) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceUint64X(&x.Ui64slice, d) + h.decSliceuint64((*[]uint64)(&x.Ui64slice), d) } } yyj77++ @@ -4188,7 +4189,7 @@ func (x *TestStrucCommon) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceBoolX(&x.Bslice, d) + h.decSlicebool((*[]bool)(&x.Bslice), d) } } yyj77++ @@ -4277,7 +4278,7 @@ func (x *TestStrucCommon) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapStringInt64X(&x.Msi64, d) + h.decMapstringint64((*map[string]int64)(&x.Msi64), d) } } yyj77++ @@ -4395,7 +4396,7 @@ func (x *TestStrucCommon) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceStringX(&x.ASslice, d) + h.decSlicestring((*[]string)(&x.ASslice), d) } } yyj77++ @@ -4414,7 +4415,7 @@ func (x *TestStrucCommon) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceInt64X(&x.AI64slice, d) + h.decSliceint64((*[]int64)(&x.AI64slice), d) } } yyj77++ @@ -4433,7 +4434,7 @@ func (x *TestStrucCommon) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceUint64X(&x.AUi64slice, d) + h.decSliceuint64((*[]uint64)(&x.AUi64slice), d) } } yyj77++ @@ -4452,7 +4453,7 @@ func (x *TestStrucCommon) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceFloat64X(&x.AF64slice, d) + h.decSlicefloat64((*[]float64)(&x.AF64slice), d) } } yyj77++ @@ -4471,7 +4472,7 @@ func (x *TestStrucCommon) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceFloat32X(&x.AF32slice, d) + h.decSlicefloat32((*[]float32)(&x.AF32slice), d) } } yyj77++ @@ -4490,7 +4491,7 @@ func (x *TestStrucCommon) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapStringUint16X(&x.AMSU16, d) + h.decMapstringuint16((*map[string]uint16)(&x.AMSU16), d) } } yyj77++ @@ -4528,7 +4529,7 @@ func (x *TestStrucCommon) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceInt64X(&x.A164slice0, d) + h.decSliceint64((*[]int64)(&x.A164slice0), d) } } yyj77++ @@ -4547,7 +4548,7 @@ func (x *TestStrucCommon) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceUint64X(&x.AUi64sliceN, d) + h.decSliceuint64((*[]uint64)(&x.AUi64sliceN), d) } } yyj77++ @@ -4566,7 +4567,7 @@ func (x *TestStrucCommon) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapStringUint16X(&x.AMSU16N, d) + h.decMapstringuint16((*map[string]uint16)(&x.AMSU16N), d) } } yyj77++ @@ -4585,7 +4586,7 @@ func (x *TestStrucCommon) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapStringUint16X(&x.AMSU16E, d) + h.decMapstringuint16((*map[string]uint16)(&x.AMSU16E), d) } } yyj77++ @@ -4620,7 +4621,7 @@ func (x *TestStrucCommon) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapStringBoolX(&x.Nmap, d) + h.decMapstringbool((*map[string]bool)(&x.Nmap), d) } } yyj77++ @@ -5041,7 +5042,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceStringV(x.Sslice, e) + h.encSlicestring(([]string)(x.Sslice), e) } } } else { @@ -5057,7 +5058,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceStringV(x.Sslice, e) + h.encSlicestring(([]string)(x.Sslice), e) } } } @@ -5068,7 +5069,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceInt64V(x.I64slice, e) + h.encSliceint64(([]int64)(x.I64slice), e) } } } else { @@ -5084,7 +5085,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceInt64V(x.I64slice, e) + h.encSliceint64(([]int64)(x.I64slice), e) } } } @@ -5095,7 +5096,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceInt16V(x.I16slice, e) + h.encSliceint16(([]int16)(x.I16slice), e) } } } else { @@ -5111,7 +5112,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceInt16V(x.I16slice, e) + h.encSliceint16(([]int16)(x.I16slice), e) } } } @@ -5122,7 +5123,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceUint64V(x.Ui64slice, e) + h.encSliceuint64(([]uint64)(x.Ui64slice), e) } } } else { @@ -5138,7 +5139,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceUint64V(x.Ui64slice, e) + h.encSliceuint64(([]uint64)(x.Ui64slice), e) } } } @@ -5176,7 +5177,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceBoolV(x.Bslice, e) + h.encSlicebool(([]bool)(x.Bslice), e) } } } else { @@ -5192,7 +5193,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceBoolV(x.Bslice, e) + h.encSlicebool(([]bool)(x.Bslice), e) } } } @@ -5299,7 +5300,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapStringInt64V(x.Msi64, e) + h.encMapstringint64((map[string]int64)(x.Msi64), e) } } } else { @@ -5315,7 +5316,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapStringInt64V(x.Msi64, e) + h.encMapstringint64((map[string]int64)(x.Msi64), e) } } } @@ -5452,7 +5453,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceStringV(x.ASslice, e) + h.encSlicestring(([]string)(x.ASslice), e) } } } else { @@ -5468,7 +5469,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceStringV(x.ASslice, e) + h.encSlicestring(([]string)(x.ASslice), e) } } } @@ -5479,7 +5480,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceInt64V(x.AI64slice, e) + h.encSliceint64(([]int64)(x.AI64slice), e) } } } else { @@ -5495,7 +5496,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceInt64V(x.AI64slice, e) + h.encSliceint64(([]int64)(x.AI64slice), e) } } } @@ -5506,7 +5507,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceUint64V(x.AUi64slice, e) + h.encSliceuint64(([]uint64)(x.AUi64slice), e) } } } else { @@ -5522,7 +5523,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceUint64V(x.AUi64slice, e) + h.encSliceuint64(([]uint64)(x.AUi64slice), e) } } } @@ -5533,7 +5534,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceFloat64V(x.AF64slice, e) + h.encSlicefloat64(([]float64)(x.AF64slice), e) } } } else { @@ -5549,7 +5550,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceFloat64V(x.AF64slice, e) + h.encSlicefloat64(([]float64)(x.AF64slice), e) } } } @@ -5560,7 +5561,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceFloat32V(x.AF32slice, e) + h.encSlicefloat32(([]float32)(x.AF32slice), e) } } } else { @@ -5576,7 +5577,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceFloat32V(x.AF32slice, e) + h.encSlicefloat32(([]float32)(x.AF32slice), e) } } } @@ -5587,7 +5588,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapStringUint16V(x.AMSU16, e) + h.encMapstringuint16((map[string]uint16)(x.AMSU16), e) } } } else { @@ -5603,7 +5604,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapStringUint16V(x.AMSU16, e) + h.encMapstringuint16((map[string]uint16)(x.AMSU16), e) } } } @@ -5635,7 +5636,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceInt64V(x.A164slice0, e) + h.encSliceint64(([]int64)(x.A164slice0), e) } } } else { @@ -5651,7 +5652,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceInt64V(x.A164slice0, e) + h.encSliceint64(([]int64)(x.A164slice0), e) } } } @@ -5662,7 +5663,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceUint64V(x.AUi64sliceN, e) + h.encSliceuint64(([]uint64)(x.AUi64sliceN), e) } } } else { @@ -5678,7 +5679,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceUint64V(x.AUi64sliceN, e) + h.encSliceuint64(([]uint64)(x.AUi64sliceN), e) } } } @@ -5689,7 +5690,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapStringUint16V(x.AMSU16N, e) + h.encMapstringuint16((map[string]uint16)(x.AMSU16N), e) } } } else { @@ -5705,7 +5706,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapStringUint16V(x.AMSU16N, e) + h.encMapstringuint16((map[string]uint16)(x.AMSU16N), e) } } } @@ -5716,7 +5717,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapStringUint16V(x.AMSU16E, e) + h.encMapstringuint16((map[string]uint16)(x.AMSU16E), e) } } } else { @@ -5732,7 +5733,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapStringUint16V(x.AMSU16E, e) + h.encMapstringuint16((map[string]uint16)(x.AMSU16E), e) } } } @@ -5758,7 +5759,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapStringBoolV(x.Nmap, e) + h.encMapstringbool((map[string]bool)(x.Nmap), e) } } } else { @@ -5774,7 +5775,7 @@ func (x *TestStruc) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapStringBoolV(x.Nmap, e) + h.encMapstringbool((map[string]bool)(x.Nmap), e) } } } @@ -6131,7 +6132,7 @@ func (x *TestStruc) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceStringX(&x.Sslice, d) + h.decSlicestring((*[]string)(&x.Sslice), d) } } case "I64slice": @@ -6140,7 +6141,7 @@ func (x *TestStruc) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceInt64X(&x.I64slice, d) + h.decSliceint64((*[]int64)(&x.I64slice), d) } } case "I16slice": @@ -6149,7 +6150,7 @@ func (x *TestStruc) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceInt16X(&x.I16slice, d) + h.decSliceint16((*[]int16)(&x.I16slice), d) } } case "Ui64slice": @@ -6158,7 +6159,7 @@ func (x *TestStruc) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceUint64X(&x.Ui64slice, d) + h.decSliceuint64((*[]uint64)(&x.Ui64slice), d) } } case "Ui8slice": @@ -6176,7 +6177,7 @@ func (x *TestStruc) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceBoolX(&x.Bslice, d) + h.decSlicebool((*[]bool)(&x.Bslice), d) } } case "Byslice": @@ -6215,7 +6216,7 @@ func (x *TestStruc) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapStringInt64X(&x.Msi64, d) + h.decMapstringint64((*map[string]int64)(&x.Msi64), d) } } case "Simplef": @@ -6263,7 +6264,7 @@ func (x *TestStruc) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceStringX(&x.ASslice, d) + h.decSlicestring((*[]string)(&x.ASslice), d) } } case "AI64slice": @@ -6272,7 +6273,7 @@ func (x *TestStruc) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceInt64X(&x.AI64slice, d) + h.decSliceint64((*[]int64)(&x.AI64slice), d) } } case "AUi64slice": @@ -6281,7 +6282,7 @@ func (x *TestStruc) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceUint64X(&x.AUi64slice, d) + h.decSliceuint64((*[]uint64)(&x.AUi64slice), d) } } case "AF64slice": @@ -6290,7 +6291,7 @@ func (x *TestStruc) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceFloat64X(&x.AF64slice, d) + h.decSlicefloat64((*[]float64)(&x.AF64slice), d) } } case "AF32slice": @@ -6299,7 +6300,7 @@ func (x *TestStruc) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceFloat32X(&x.AF32slice, d) + h.decSlicefloat32((*[]float32)(&x.AF32slice), d) } } case "AMSU16": @@ -6308,7 +6309,7 @@ func (x *TestStruc) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapStringUint16X(&x.AMSU16, d) + h.decMapstringuint16((*map[string]uint16)(&x.AMSU16), d) } } case "AI64arr0": @@ -6326,7 +6327,7 @@ func (x *TestStruc) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceInt64X(&x.A164slice0, d) + h.decSliceint64((*[]int64)(&x.A164slice0), d) } } case "AUi64sliceN": @@ -6335,7 +6336,7 @@ func (x *TestStruc) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceUint64X(&x.AUi64sliceN, d) + h.decSliceuint64((*[]uint64)(&x.AUi64sliceN), d) } } case "AMSU16N": @@ -6344,7 +6345,7 @@ func (x *TestStruc) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapStringUint16X(&x.AMSU16N, d) + h.decMapstringuint16((*map[string]uint16)(&x.AMSU16N), d) } } case "AMSU16E": @@ -6353,7 +6354,7 @@ func (x *TestStruc) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapStringUint16X(&x.AMSU16E, d) + h.decMapstringuint16((*map[string]uint16)(&x.AMSU16E), d) } } case "NotAnon": @@ -6368,7 +6369,7 @@ func (x *TestStruc) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapStringBoolX(&x.Nmap, d) + h.decMapstringbool((*map[string]bool)(&x.Nmap), d) } } case "Nslice": @@ -6736,7 +6737,7 @@ func (x *TestStruc) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceStringX(&x.Sslice, d) + h.decSlicestring((*[]string)(&x.Sslice), d) } } yyj84++ @@ -6755,7 +6756,7 @@ func (x *TestStruc) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceInt64X(&x.I64slice, d) + h.decSliceint64((*[]int64)(&x.I64slice), d) } } yyj84++ @@ -6774,7 +6775,7 @@ func (x *TestStruc) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceInt16X(&x.I16slice, d) + h.decSliceint16((*[]int16)(&x.I16slice), d) } } yyj84++ @@ -6793,7 +6794,7 @@ func (x *TestStruc) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceUint64X(&x.Ui64slice, d) + h.decSliceuint64((*[]uint64)(&x.Ui64slice), d) } } yyj84++ @@ -6831,7 +6832,7 @@ func (x *TestStruc) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceBoolX(&x.Bslice, d) + h.decSlicebool((*[]bool)(&x.Bslice), d) } } yyj84++ @@ -6920,7 +6921,7 @@ func (x *TestStruc) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapStringInt64X(&x.Msi64, d) + h.decMapstringint64((*map[string]int64)(&x.Msi64), d) } } yyj84++ @@ -7038,7 +7039,7 @@ func (x *TestStruc) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceStringX(&x.ASslice, d) + h.decSlicestring((*[]string)(&x.ASslice), d) } } yyj84++ @@ -7057,7 +7058,7 @@ func (x *TestStruc) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceInt64X(&x.AI64slice, d) + h.decSliceint64((*[]int64)(&x.AI64slice), d) } } yyj84++ @@ -7076,7 +7077,7 @@ func (x *TestStruc) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceUint64X(&x.AUi64slice, d) + h.decSliceuint64((*[]uint64)(&x.AUi64slice), d) } } yyj84++ @@ -7095,7 +7096,7 @@ func (x *TestStruc) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceFloat64X(&x.AF64slice, d) + h.decSlicefloat64((*[]float64)(&x.AF64slice), d) } } yyj84++ @@ -7114,7 +7115,7 @@ func (x *TestStruc) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceFloat32X(&x.AF32slice, d) + h.decSlicefloat32((*[]float32)(&x.AF32slice), d) } } yyj84++ @@ -7133,7 +7134,7 @@ func (x *TestStruc) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapStringUint16X(&x.AMSU16, d) + h.decMapstringuint16((*map[string]uint16)(&x.AMSU16), d) } } yyj84++ @@ -7171,7 +7172,7 @@ func (x *TestStruc) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceInt64X(&x.A164slice0, d) + h.decSliceint64((*[]int64)(&x.A164slice0), d) } } yyj84++ @@ -7190,7 +7191,7 @@ func (x *TestStruc) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceUint64X(&x.AUi64sliceN, d) + h.decSliceuint64((*[]uint64)(&x.AUi64sliceN), d) } } yyj84++ @@ -7209,7 +7210,7 @@ func (x *TestStruc) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapStringUint16X(&x.AMSU16N, d) + h.decMapstringuint16((*map[string]uint16)(&x.AMSU16N), d) } } yyj84++ @@ -7228,7 +7229,7 @@ func (x *TestStruc) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapStringUint16X(&x.AMSU16E, d) + h.decMapstringuint16((*map[string]uint16)(&x.AMSU16E), d) } } yyj84++ @@ -7263,7 +7264,7 @@ func (x *TestStruc) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapStringBoolX(&x.Nmap, d) + h.decMapstringbool((*map[string]bool)(&x.Nmap), d) } } yyj84++ @@ -8731,7 +8732,7 @@ func (x *AnonInTestStrucIntf) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceIntfV(x.Islice, e) + h.encSliceInterface(([]interface{})(x.Islice), e) } } } else { @@ -8747,7 +8748,7 @@ func (x *AnonInTestStrucIntf) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceIntfV(x.Islice, e) + h.encSliceInterface(([]interface{})(x.Islice), e) } } } @@ -8758,7 +8759,7 @@ func (x *AnonInTestStrucIntf) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapStringIntfV(x.Ms, e) + h.encMapstringInterface((map[string]interface{})(x.Ms), e) } } } else { @@ -8774,7 +8775,7 @@ func (x *AnonInTestStrucIntf) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapStringIntfV(x.Ms, e) + h.encMapstringInterface((map[string]interface{})(x.Ms), e) } } } @@ -8963,7 +8964,7 @@ func (x *AnonInTestStrucIntf) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceIntfX(&x.Islice, d) + h.decSliceInterface((*[]interface{})(&x.Islice), d) } } case "Ms": @@ -8972,7 +8973,7 @@ func (x *AnonInTestStrucIntf) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapStringIntfX(&x.Ms, d) + h.decMapstringInterface((*map[string]interface{})(&x.Ms), d) } } case "Nintf": @@ -9054,7 +9055,7 @@ func (x *AnonInTestStrucIntf) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceIntfX(&x.Islice, d) + h.decSliceInterface((*[]interface{})(&x.Islice), d) } } yyj14++ @@ -9073,7 +9074,7 @@ func (x *AnonInTestStrucIntf) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapStringIntfX(&x.Ms, d) + h.decMapstringInterface((*map[string]interface{})(&x.Ms), d) } } yyj14++ @@ -10195,7 +10196,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceStringV(x.Sslice, e) + h.encSlicestring(([]string)(x.Sslice), e) } } } else { @@ -10215,7 +10216,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceStringV(x.Sslice, e) + h.encSlicestring(([]string)(x.Sslice), e) } } } @@ -10228,7 +10229,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceInt64V(x.I64slice, e) + h.encSliceint64(([]int64)(x.I64slice), e) } } } else { @@ -10248,7 +10249,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceInt64V(x.I64slice, e) + h.encSliceint64(([]int64)(x.I64slice), e) } } } @@ -10261,7 +10262,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceInt16V(x.I16slice, e) + h.encSliceint16(([]int16)(x.I16slice), e) } } } else { @@ -10281,7 +10282,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceInt16V(x.I16slice, e) + h.encSliceint16(([]int16)(x.I16slice), e) } } } @@ -10294,7 +10295,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceUint64V(x.Ui64slice, e) + h.encSliceuint64(([]uint64)(x.Ui64slice), e) } } } else { @@ -10314,7 +10315,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceUint64V(x.Ui64slice, e) + h.encSliceuint64(([]uint64)(x.Ui64slice), e) } } } @@ -10360,7 +10361,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceBoolV(x.Bslice, e) + h.encSlicebool(([]bool)(x.Bslice), e) } } } else { @@ -10380,7 +10381,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceBoolV(x.Bslice, e) + h.encSlicebool(([]bool)(x.Bslice), e) } } } @@ -10513,7 +10514,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapStringInt64V(x.Msi64, e) + h.encMapstringint64((map[string]int64)(x.Msi64), e) } } } else { @@ -10533,7 +10534,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapStringInt64V(x.Msi64, e) + h.encMapstringint64((map[string]int64)(x.Msi64), e) } } } @@ -10712,7 +10713,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceStringV(x.ASslice, e) + h.encSlicestring(([]string)(x.ASslice), e) } } } else { @@ -10732,7 +10733,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceStringV(x.ASslice, e) + h.encSlicestring(([]string)(x.ASslice), e) } } } @@ -10745,7 +10746,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceInt64V(x.AI64slice, e) + h.encSliceint64(([]int64)(x.AI64slice), e) } } } else { @@ -10765,7 +10766,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceInt64V(x.AI64slice, e) + h.encSliceint64(([]int64)(x.AI64slice), e) } } } @@ -10778,7 +10779,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceUint64V(x.AUi64slice, e) + h.encSliceuint64(([]uint64)(x.AUi64slice), e) } } } else { @@ -10798,7 +10799,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceUint64V(x.AUi64slice, e) + h.encSliceuint64(([]uint64)(x.AUi64slice), e) } } } @@ -10811,7 +10812,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceFloat64V(x.AF64slice, e) + h.encSlicefloat64(([]float64)(x.AF64slice), e) } } } else { @@ -10831,7 +10832,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceFloat64V(x.AF64slice, e) + h.encSlicefloat64(([]float64)(x.AF64slice), e) } } } @@ -10844,7 +10845,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceFloat32V(x.AF32slice, e) + h.encSlicefloat32(([]float32)(x.AF32slice), e) } } } else { @@ -10864,7 +10865,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceFloat32V(x.AF32slice, e) + h.encSlicefloat32(([]float32)(x.AF32slice), e) } } } @@ -10877,7 +10878,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapStringUint16V(x.AMSU16, e) + h.encMapstringuint16((map[string]uint16)(x.AMSU16), e) } } } else { @@ -10897,7 +10898,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapStringUint16V(x.AMSU16, e) + h.encMapstringuint16((map[string]uint16)(x.AMSU16), e) } } } @@ -10937,7 +10938,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceInt64V(x.A164slice0, e) + h.encSliceint64(([]int64)(x.A164slice0), e) } } } else { @@ -10957,7 +10958,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceInt64V(x.A164slice0, e) + h.encSliceint64(([]int64)(x.A164slice0), e) } } } @@ -10970,7 +10971,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceUint64V(x.AUi64sliceN, e) + h.encSliceuint64(([]uint64)(x.AUi64sliceN), e) } } } else { @@ -10990,7 +10991,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceUint64V(x.AUi64sliceN, e) + h.encSliceuint64(([]uint64)(x.AUi64sliceN), e) } } } @@ -11003,7 +11004,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapStringUint16V(x.AMSU16N, e) + h.encMapstringuint16((map[string]uint16)(x.AMSU16N), e) } } } else { @@ -11023,7 +11024,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapStringUint16V(x.AMSU16N, e) + h.encMapstringuint16((map[string]uint16)(x.AMSU16N), e) } } } @@ -11036,7 +11037,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapStringUint16V(x.AMSU16E, e) + h.encMapstringuint16((map[string]uint16)(x.AMSU16E), e) } } } else { @@ -11056,7 +11057,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapStringUint16V(x.AMSU16E, e) + h.encMapstringuint16((map[string]uint16)(x.AMSU16E), e) } } } @@ -11090,7 +11091,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapStringBoolV(x.Nmap, e) + h.encMapstringbool((map[string]bool)(x.Nmap), e) } } } else { @@ -11110,7 +11111,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapStringBoolV(x.Nmap, e) + h.encMapstringbool((map[string]bool)(x.Nmap), e) } } } @@ -11239,7 +11240,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapIntStringV(x.Mis, e) + h.encMapintstring((map[int]string)(x.Mis), e) } } } else { @@ -11259,7 +11260,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapIntStringV(x.Mis, e) + h.encMapintstring((map[int]string)(x.Mis), e) } } } @@ -11642,7 +11643,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceIntfV(x.SintfAarray, e) + h.encSliceInterface(([]interface{})(x.SintfAarray), e) } } } else { @@ -11662,7 +11663,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceIntfV(x.SintfAarray, e) + h.encSliceInterface(([]interface{})(x.SintfAarray), e) } } } @@ -11685,7 +11686,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceIntfV(x.Islice, e) + h.encSliceInterface(([]interface{})(x.Islice), e) } } } else { @@ -11709,7 +11710,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncSliceIntfV(x.Islice, e) + h.encSliceInterface(([]interface{})(x.Islice), e) } } } @@ -11733,7 +11734,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapStringIntfV(x.Ms, e) + h.encMapstringInterface((map[string]interface{})(x.Ms), e) } } } else { @@ -11757,7 +11758,7 @@ func (x *TestStrucFlex) CodecEncodeSelf(e *Encoder) { } else { if false { } else { - z.F.EncMapStringIntfV(x.Ms, e) + h.encMapstringInterface((map[string]interface{})(x.Ms), e) } } } @@ -12243,7 +12244,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceStringX(&x.Sslice, d) + h.decSlicestring((*[]string)(&x.Sslice), d) } } case "I64slice": @@ -12252,7 +12253,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceInt64X(&x.I64slice, d) + h.decSliceint64((*[]int64)(&x.I64slice), d) } } case "I16slice": @@ -12261,7 +12262,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceInt16X(&x.I16slice, d) + h.decSliceint16((*[]int16)(&x.I16slice), d) } } case "Ui64slice": @@ -12270,7 +12271,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceUint64X(&x.Ui64slice, d) + h.decSliceuint64((*[]uint64)(&x.Ui64slice), d) } } case "Ui8slice": @@ -12288,7 +12289,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceBoolX(&x.Bslice, d) + h.decSlicebool((*[]bool)(&x.Bslice), d) } } case "Byslice": @@ -12327,7 +12328,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapStringInt64X(&x.Msi64, d) + h.decMapstringint64((*map[string]int64)(&x.Msi64), d) } } case "Simplef": @@ -12375,7 +12376,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceStringX(&x.ASslice, d) + h.decSlicestring((*[]string)(&x.ASslice), d) } } case "AI64slice": @@ -12384,7 +12385,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceInt64X(&x.AI64slice, d) + h.decSliceint64((*[]int64)(&x.AI64slice), d) } } case "AUi64slice": @@ -12393,7 +12394,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceUint64X(&x.AUi64slice, d) + h.decSliceuint64((*[]uint64)(&x.AUi64slice), d) } } case "AF64slice": @@ -12402,7 +12403,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceFloat64X(&x.AF64slice, d) + h.decSlicefloat64((*[]float64)(&x.AF64slice), d) } } case "AF32slice": @@ -12411,7 +12412,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceFloat32X(&x.AF32slice, d) + h.decSlicefloat32((*[]float32)(&x.AF32slice), d) } } case "AMSU16": @@ -12420,7 +12421,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapStringUint16X(&x.AMSU16, d) + h.decMapstringuint16((*map[string]uint16)(&x.AMSU16), d) } } case "AI64arr0": @@ -12438,7 +12439,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceInt64X(&x.A164slice0, d) + h.decSliceint64((*[]int64)(&x.A164slice0), d) } } case "AUi64sliceN": @@ -12447,7 +12448,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceUint64X(&x.AUi64sliceN, d) + h.decSliceuint64((*[]uint64)(&x.AUi64sliceN), d) } } case "AMSU16N": @@ -12456,7 +12457,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapStringUint16X(&x.AMSU16N, d) + h.decMapstringuint16((*map[string]uint16)(&x.AMSU16N), d) } } case "AMSU16E": @@ -12465,7 +12466,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapStringUint16X(&x.AMSU16E, d) + h.decMapstringuint16((*map[string]uint16)(&x.AMSU16E), d) } } case "NotAnon": @@ -12480,7 +12481,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapStringBoolX(&x.Nmap, d) + h.decMapstringbool((*map[string]bool)(&x.Nmap), d) } } case "Nslice": @@ -12522,7 +12523,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapIntStringX(&x.Mis, d) + h.decMapintstring((*map[int]string)(&x.Mis), d) } } case "Mbu64": @@ -12636,7 +12637,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromMap(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceIntfX(&x.SintfAarray, d) + h.decSliceInterface((*[]interface{})(&x.SintfAarray), d) } } case "Islice": @@ -12651,7 +12652,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecSliceIntfX(&x.Islice, d) + h.decSliceInterface((*[]interface{})(&x.Islice), d) } } case "Ms": @@ -12666,7 +12667,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromMap(l int, d *Decoder) { if false { } else { - z.F.DecMapStringIntfX(&x.Ms, d) + h.decMapstringInterface((*map[string]interface{})(&x.Ms), d) } } case "Nintf": @@ -13074,7 +13075,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceStringX(&x.Sslice, d) + h.decSlicestring((*[]string)(&x.Sslice), d) } } yyj123++ @@ -13093,7 +13094,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceInt64X(&x.I64slice, d) + h.decSliceint64((*[]int64)(&x.I64slice), d) } } yyj123++ @@ -13112,7 +13113,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceInt16X(&x.I16slice, d) + h.decSliceint16((*[]int16)(&x.I16slice), d) } } yyj123++ @@ -13131,7 +13132,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceUint64X(&x.Ui64slice, d) + h.decSliceuint64((*[]uint64)(&x.Ui64slice), d) } } yyj123++ @@ -13169,7 +13170,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceBoolX(&x.Bslice, d) + h.decSlicebool((*[]bool)(&x.Bslice), d) } } yyj123++ @@ -13258,7 +13259,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapStringInt64X(&x.Msi64, d) + h.decMapstringint64((*map[string]int64)(&x.Msi64), d) } } yyj123++ @@ -13376,7 +13377,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceStringX(&x.ASslice, d) + h.decSlicestring((*[]string)(&x.ASslice), d) } } yyj123++ @@ -13395,7 +13396,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceInt64X(&x.AI64slice, d) + h.decSliceint64((*[]int64)(&x.AI64slice), d) } } yyj123++ @@ -13414,7 +13415,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceUint64X(&x.AUi64slice, d) + h.decSliceuint64((*[]uint64)(&x.AUi64slice), d) } } yyj123++ @@ -13433,7 +13434,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceFloat64X(&x.AF64slice, d) + h.decSlicefloat64((*[]float64)(&x.AF64slice), d) } } yyj123++ @@ -13452,7 +13453,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceFloat32X(&x.AF32slice, d) + h.decSlicefloat32((*[]float32)(&x.AF32slice), d) } } yyj123++ @@ -13471,7 +13472,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapStringUint16X(&x.AMSU16, d) + h.decMapstringuint16((*map[string]uint16)(&x.AMSU16), d) } } yyj123++ @@ -13509,7 +13510,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceInt64X(&x.A164slice0, d) + h.decSliceint64((*[]int64)(&x.A164slice0), d) } } yyj123++ @@ -13528,7 +13529,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceUint64X(&x.AUi64sliceN, d) + h.decSliceuint64((*[]uint64)(&x.AUi64sliceN), d) } } yyj123++ @@ -13547,7 +13548,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapStringUint16X(&x.AMSU16N, d) + h.decMapstringuint16((*map[string]uint16)(&x.AMSU16N), d) } } yyj123++ @@ -13566,7 +13567,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapStringUint16X(&x.AMSU16E, d) + h.decMapstringuint16((*map[string]uint16)(&x.AMSU16E), d) } } yyj123++ @@ -13601,7 +13602,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapStringBoolX(&x.Nmap, d) + h.decMapstringbool((*map[string]bool)(&x.Nmap), d) } } yyj123++ @@ -13683,7 +13684,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecMapIntStringX(&x.Mis, d) + h.decMapintstring((*map[int]string)(&x.Mis), d) } } yyj123++ @@ -13927,7 +13928,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { } else { if false { } else { - z.F.DecSliceIntfX(&x.SintfAarray, d) + h.decSliceInterface((*[]interface{})(&x.SintfAarray), d) } } yyj123++ @@ -13952,7 +13953,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecSliceIntfX(&x.Islice, d) + h.decSliceInterface((*[]interface{})(&x.Islice), d) } } yyj123++ @@ -13977,7 +13978,7 @@ func (x *TestStrucFlex) codecDecodeSelfFromArray(l int, d *Decoder) { if false { } else { - z.F.DecMapStringIntfX(&x.Ms, d) + h.decMapstringInterface((*map[string]interface{})(&x.Ms), d) } } yyj123++ @@ -14551,6 +14552,567 @@ func (x codecSelfer19780) decwrapStringSlice(v *wrapStringSlice, d *Decoder) { } } +func (x codecSelfer19780) encSlicestring(v []string, e *Encoder) { + var h codecSelfer19780 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteArrayStart(len(v)) + for _, yyv1 := range v { + r.WriteArrayElem() + if false { + } else { + if z.EncBasicHandle().StringToRaw { + r.EncodeStringBytesRaw(z.BytesView(string(yyv1))) + } else { + r.EncodeStringEnc(codecSelferCcUTF819780, string(yyv1)) + } + } + } + r.WriteArrayEnd() +} + +func (x codecSelfer19780) decSlicestring(v *[]string, d *Decoder) { + var h codecSelfer19780 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []string{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true + } + } else { + yyhl1 := yyl1 > 0 + var yyrl1 int + _ = yyrl1 + if yyhl1 { + if yyl1 > cap(yyv1) { + yyrl1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 16) + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] + } else { + yyv1 = make([]string, yyrl1) + } + yyc1 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true + } + } + var yyj1 int + // var yydn1 bool + for yyj1 = 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { // bounds-check-elimination + if yyj1 == 0 && yyv1 == nil { + if yyhl1 { + yyrl1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 16) + } else { + yyrl1 = 8 + } + yyv1 = make([]string, yyrl1) + yyc1 = true + } + yyh1.ElemContainerState(yyj1) + + var yydb1 bool + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, "") + yyc1 = true + + } + if yydb1 { + z.DecSwallow() + } else { + if r.TryDecodeAsNil() { + yyv1[yyj1] = "" + } else { + yyv1[yyj1] = (string)(r.DecodeString()) + } + + } + + } + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = make([]string, 0) + yyc1 = true + } + } + yyh1.End() + if yyc1 { + *v = yyv1 + } +} + +func (x codecSelfer19780) encSliceint64(v []int64, e *Encoder) { + var h codecSelfer19780 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteArrayStart(len(v)) + for _, yyv1 := range v { + r.WriteArrayElem() + if false { + } else { + r.EncodeInt(int64(yyv1)) + } + } + r.WriteArrayEnd() +} + +func (x codecSelfer19780) decSliceint64(v *[]int64, d *Decoder) { + var h codecSelfer19780 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []int64{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true + } + } else { + yyhl1 := yyl1 > 0 + var yyrl1 int + _ = yyrl1 + if yyhl1 { + if yyl1 > cap(yyv1) { + yyrl1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 8) + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] + } else { + yyv1 = make([]int64, yyrl1) + } + yyc1 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true + } + } + var yyj1 int + // var yydn1 bool + for yyj1 = 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { // bounds-check-elimination + if yyj1 == 0 && yyv1 == nil { + if yyhl1 { + yyrl1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 8) + } else { + yyrl1 = 8 + } + yyv1 = make([]int64, yyrl1) + yyc1 = true + } + yyh1.ElemContainerState(yyj1) + + var yydb1 bool + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, 0) + yyc1 = true + + } + if yydb1 { + z.DecSwallow() + } else { + if r.TryDecodeAsNil() { + yyv1[yyj1] = 0 + } else { + yyv1[yyj1] = (int64)(r.DecodeInt64()) + } + + } + + } + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = make([]int64, 0) + yyc1 = true + } + } + yyh1.End() + if yyc1 { + *v = yyv1 + } +} + +func (x codecSelfer19780) encSliceuint64(v []uint64, e *Encoder) { + var h codecSelfer19780 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteArrayStart(len(v)) + for _, yyv1 := range v { + r.WriteArrayElem() + if false { + } else { + r.EncodeUint(uint64(yyv1)) + } + } + r.WriteArrayEnd() +} + +func (x codecSelfer19780) decSliceuint64(v *[]uint64, d *Decoder) { + var h codecSelfer19780 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []uint64{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true + } + } else { + yyhl1 := yyl1 > 0 + var yyrl1 int + _ = yyrl1 + if yyhl1 { + if yyl1 > cap(yyv1) { + yyrl1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 8) + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] + } else { + yyv1 = make([]uint64, yyrl1) + } + yyc1 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true + } + } + var yyj1 int + // var yydn1 bool + for yyj1 = 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { // bounds-check-elimination + if yyj1 == 0 && yyv1 == nil { + if yyhl1 { + yyrl1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 8) + } else { + yyrl1 = 8 + } + yyv1 = make([]uint64, yyrl1) + yyc1 = true + } + yyh1.ElemContainerState(yyj1) + + var yydb1 bool + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, 0) + yyc1 = true + + } + if yydb1 { + z.DecSwallow() + } else { + if r.TryDecodeAsNil() { + yyv1[yyj1] = 0 + } else { + yyv1[yyj1] = (uint64)(r.DecodeUint64()) + } + + } + + } + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = make([]uint64, 0) + yyc1 = true + } + } + yyh1.End() + if yyc1 { + *v = yyv1 + } +} + +func (x codecSelfer19780) encSlicefloat64(v []float64, e *Encoder) { + var h codecSelfer19780 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteArrayStart(len(v)) + for _, yyv1 := range v { + r.WriteArrayElem() + if false { + } else { + r.EncodeFloat64(float64(yyv1)) + } + } + r.WriteArrayEnd() +} + +func (x codecSelfer19780) decSlicefloat64(v *[]float64, d *Decoder) { + var h codecSelfer19780 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []float64{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true + } + } else { + yyhl1 := yyl1 > 0 + var yyrl1 int + _ = yyrl1 + if yyhl1 { + if yyl1 > cap(yyv1) { + yyrl1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 8) + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] + } else { + yyv1 = make([]float64, yyrl1) + } + yyc1 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true + } + } + var yyj1 int + // var yydn1 bool + for yyj1 = 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { // bounds-check-elimination + if yyj1 == 0 && yyv1 == nil { + if yyhl1 { + yyrl1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 8) + } else { + yyrl1 = 8 + } + yyv1 = make([]float64, yyrl1) + yyc1 = true + } + yyh1.ElemContainerState(yyj1) + + var yydb1 bool + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, 0) + yyc1 = true + + } + if yydb1 { + z.DecSwallow() + } else { + if r.TryDecodeAsNil() { + yyv1[yyj1] = 0 + } else { + yyv1[yyj1] = (float64)(r.DecodeFloat64()) + } + + } + + } + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = make([]float64, 0) + yyc1 = true + } + } + yyh1.End() + if yyc1 { + *v = yyv1 + } +} + +func (x codecSelfer19780) encSlicefloat32(v []float32, e *Encoder) { + var h codecSelfer19780 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteArrayStart(len(v)) + for _, yyv1 := range v { + r.WriteArrayElem() + if false { + } else { + r.EncodeFloat32(float32(yyv1)) + } + } + r.WriteArrayEnd() +} + +func (x codecSelfer19780) decSlicefloat32(v *[]float32, d *Decoder) { + var h codecSelfer19780 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []float32{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true + } + } else { + yyhl1 := yyl1 > 0 + var yyrl1 int + _ = yyrl1 + if yyhl1 { + if yyl1 > cap(yyv1) { + yyrl1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 4) + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] + } else { + yyv1 = make([]float32, yyrl1) + } + yyc1 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true + } + } + var yyj1 int + // var yydn1 bool + for yyj1 = 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { // bounds-check-elimination + if yyj1 == 0 && yyv1 == nil { + if yyhl1 { + yyrl1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 4) + } else { + yyrl1 = 8 + } + yyv1 = make([]float32, yyrl1) + yyc1 = true + } + yyh1.ElemContainerState(yyj1) + + var yydb1 bool + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, 0) + yyc1 = true + + } + if yydb1 { + z.DecSwallow() + } else { + if r.TryDecodeAsNil() { + yyv1[yyj1] = 0 + } else { + yyv1[yyj1] = (float32)(r.DecodeFloat32As64()) + } + + } + + } + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = make([]float32, 0) + yyc1 = true + } + } + yyh1.End() + if yyc1 { + *v = yyv1 + } +} + +func (x codecSelfer19780) encMapstringuint16(v map[string]uint16, e *Encoder) { + var h codecSelfer19780 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + if z.EncBasicHandle().StringToRaw { + r.EncodeStringBytesRaw(z.BytesView(string(yyk1))) + } else { + r.EncodeStringEnc(codecSelferCcUTF819780, string(yyk1)) + } + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeUint(uint64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19780) decMapstringuint16(v *map[string]uint16, d *Decoder) { + var h codecSelfer19780 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 18) + yyv1 = make(map[string]uint16, yyrl1) + *v = yyv1 + } + var yymk1 string + var yymv1 uint16 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = "" + } else { + yymk1 = (string)(r.DecodeString()) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (uint16)(z.C.UintV(r.DecodeUint64(), 16)) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + func (x codecSelfer19780) encArray0int64(v *[0]int64, e *Encoder) { var h codecSelfer19780 z, r := GenHelperEncoder(e) @@ -14560,54 +15122,246 @@ func (x codecSelfer19780) encArray0int64(v *[0]int64, e *Encoder) { r.WriteArrayElem() if false { } else { - r.EncodeInt(int64(yyv1)) + r.EncodeInt(int64(yyv1)) + } + } + r.WriteArrayEnd() +} + +func (x codecSelfer19780) decArray0int64(v *[0]int64, d *Decoder) { + var h codecSelfer19780 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := v + yyh1, yyl1 := z.DecSliceHelperStart() + if yyl1 == 0 { + + } else { + yyhl1 := yyl1 > 0 + var yyrl1 int + _ = yyrl1 + + var yyj1 int + // var yydn1 bool + for yyj1 = 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { // bounds-check-elimination + + yyh1.ElemContainerState(yyj1) + + var yydb1 bool + if yyj1 >= len(yyv1) { + z.DecArrayCannotExpand(len(v), yyj1+1) + yydb1 = true + + } + if yydb1 { + z.DecSwallow() + } else { + if r.TryDecodeAsNil() { + yyv1[yyj1] = 0 + } else { + yyv1[yyj1] = (int64)(r.DecodeInt64()) + } + + } + + } + + } + yyh1.End() + +} + +func (x codecSelfer19780) encSliceint16(v []int16, e *Encoder) { + var h codecSelfer19780 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteArrayStart(len(v)) + for _, yyv1 := range v { + r.WriteArrayElem() + if false { + } else { + r.EncodeInt(int64(yyv1)) + } + } + r.WriteArrayEnd() +} + +func (x codecSelfer19780) decSliceint16(v *[]int16, d *Decoder) { + var h codecSelfer19780 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []int16{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true + } + } else { + yyhl1 := yyl1 > 0 + var yyrl1 int + _ = yyrl1 + if yyhl1 { + if yyl1 > cap(yyv1) { + yyrl1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 2) + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] + } else { + yyv1 = make([]int16, yyrl1) + } + yyc1 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true + } + } + var yyj1 int + // var yydn1 bool + for yyj1 = 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { // bounds-check-elimination + if yyj1 == 0 && yyv1 == nil { + if yyhl1 { + yyrl1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 2) + } else { + yyrl1 = 8 + } + yyv1 = make([]int16, yyrl1) + yyc1 = true + } + yyh1.ElemContainerState(yyj1) + + var yydb1 bool + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, 0) + yyc1 = true + + } + if yydb1 { + z.DecSwallow() + } else { + if r.TryDecodeAsNil() { + yyv1[yyj1] = 0 + } else { + yyv1[yyj1] = (int16)(z.C.IntV(r.DecodeInt64(), 16)) + } + + } + + } + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = make([]int16, 0) + yyc1 = true + } + } + yyh1.End() + if yyc1 { + *v = yyv1 + } +} + +func (x codecSelfer19780) encSlicebool(v []bool, e *Encoder) { + var h codecSelfer19780 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteArrayStart(len(v)) + for _, yyv1 := range v { + r.WriteArrayElem() + if false { + } else { + r.EncodeBool(bool(yyv1)) } } r.WriteArrayEnd() } -func (x codecSelfer19780) decArray0int64(v *[0]int64, d *Decoder) { +func (x codecSelfer19780) decSlicebool(v *[]bool, d *Decoder) { var h codecSelfer19780 z, r := GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := v + yyv1 := *v yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 if yyl1 == 0 { - + if yyv1 == nil { + yyv1 = []bool{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true + } } else { yyhl1 := yyl1 > 0 var yyrl1 int _ = yyrl1 - + if yyhl1 { + if yyl1 > cap(yyv1) { + yyrl1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 1) + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] + } else { + yyv1 = make([]bool, yyrl1) + } + yyc1 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true + } + } var yyj1 int // var yydn1 bool for yyj1 = 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { // bounds-check-elimination - + if yyj1 == 0 && yyv1 == nil { + if yyhl1 { + yyrl1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 1) + } else { + yyrl1 = 8 + } + yyv1 = make([]bool, yyrl1) + yyc1 = true + } yyh1.ElemContainerState(yyj1) var yydb1 bool if yyj1 >= len(yyv1) { - z.DecArrayCannotExpand(len(v), yyj1+1) - yydb1 = true + yyv1 = append(yyv1, false) + yyc1 = true } if yydb1 { z.DecSwallow() } else { if r.TryDecodeAsNil() { - yyv1[yyj1] = 0 + yyv1[yyj1] = false } else { - yyv1[yyj1] = (int64)(r.DecodeInt64()) + yyv1[yyj1] = (bool)(r.DecodeBool()) } } } - + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = make([]bool, 0) + yyc1 = true + } } yyh1.End() - + if yyc1 { + *v = yyv1 + } } func (x codecSelfer19780) encSlicePtrtoint64(v []*int64, e *Encoder) { @@ -14717,6 +15471,83 @@ func (x codecSelfer19780) decSlicePtrtoint64(v *[]*int64, d *Decoder) { } } +func (x codecSelfer19780) encMapstringint64(v map[string]int64, e *Encoder) { + var h codecSelfer19780 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + if z.EncBasicHandle().StringToRaw { + r.EncodeStringBytesRaw(z.BytesView(string(yyk1))) + } else { + r.EncodeStringEnc(codecSelferCcUTF819780, string(yyk1)) + } + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeInt(int64(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19780) decMapstringint64(v *map[string]int64, d *Decoder) { + var h codecSelfer19780 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 24) + yyv1 = make(map[string]int64, yyrl1) + *v = yyv1 + } + var yymk1 string + var yymv1 int64 + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = "" + } else { + yymk1 = (string)(r.DecodeString()) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (int64)(r.DecodeInt64()) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = 0 + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + func (x codecSelfer19780) encSlicestringUint64T(v []stringUint64T, e *Encoder) { var h codecSelfer19780 z, r := GenHelperEncoder(e) @@ -14804,11 +15635,88 @@ func (x codecSelfer19780) decSlicestringUint64T(v *[]stringUint64T, d *Decoder) yyv1 = make([]stringUint64T, 0) yyc1 = true } - } - yyh1.End() - if yyc1 { - *v = yyv1 - } + } + yyh1.End() + if yyc1 { + *v = yyv1 + } +} + +func (x codecSelfer19780) encMapstringbool(v map[string]bool, e *Encoder) { + var h codecSelfer19780 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + if z.EncBasicHandle().StringToRaw { + r.EncodeStringBytesRaw(z.BytesView(string(yyk1))) + } else { + r.EncodeStringEnc(codecSelferCcUTF819780, string(yyk1)) + } + } + r.WriteMapElemValue() + if false { + } else { + r.EncodeBool(bool(yyv1)) + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19780) decMapstringbool(v *map[string]bool, d *Decoder) { + var h codecSelfer19780 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 17) + yyv1 = make(map[string]bool, yyrl1) + *v = yyv1 + } + var yymk1 string + var yymv1 bool + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = "" + } else { + yymk1 = (string)(r.DecodeString()) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (bool)(r.DecodeBool()) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = false + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() } func (x codecSelfer19780) encMapstringPtrtoTestStruc(v map[string]*TestStruc, e *Encoder) { @@ -15154,6 +16062,198 @@ func (x codecSelfer19780) decwrapBytes(v *wrapBytes, d *Decoder) { *v = r.DecodeBytes(*((*[]byte)(v)), false) } +func (x codecSelfer19780) encSliceInterface(v []interface{}, e *Encoder) { + var h codecSelfer19780 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteArrayStart(len(v)) + for _, yyv1 := range v { + r.WriteArrayElem() + if yyv1 == nil { + r.EncodeNil() + } else { + if false { + } else { + z.EncFallback(yyv1) + } + } + } + r.WriteArrayEnd() +} + +func (x codecSelfer19780) decSliceInterface(v *[]interface{}, d *Decoder) { + var h codecSelfer19780 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []interface{}{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true + } + } else { + yyhl1 := yyl1 > 0 + var yyrl1 int + _ = yyrl1 + if yyhl1 { + if yyl1 > cap(yyv1) { + yyrl1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 16) + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] + } else { + yyv1 = make([]interface{}, yyrl1) + } + yyc1 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true + } + } + var yyj1 int + // var yydn1 bool + for yyj1 = 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { // bounds-check-elimination + if yyj1 == 0 && yyv1 == nil { + if yyhl1 { + yyrl1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 16) + } else { + yyrl1 = 8 + } + yyv1 = make([]interface{}, yyrl1) + yyc1 = true + } + yyh1.ElemContainerState(yyj1) + + var yydb1 bool + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, nil) + yyc1 = true + + } + if yydb1 { + z.DecSwallow() + } else { + if r.TryDecodeAsNil() { + yyv1[yyj1] = nil + } else { + if false { + } else { + z.DecFallback(&yyv1[yyj1], true) + } + } + + } + + } + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = make([]interface{}, 0) + yyc1 = true + } + } + yyh1.End() + if yyc1 { + *v = yyv1 + } +} + +func (x codecSelfer19780) encMapstringInterface(v map[string]interface{}, e *Encoder) { + var h codecSelfer19780 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + if z.EncBasicHandle().StringToRaw { + r.EncodeStringBytesRaw(z.BytesView(string(yyk1))) + } else { + r.EncodeStringEnc(codecSelferCcUTF819780, string(yyk1)) + } + } + r.WriteMapElemValue() + if yyv1 == nil { + r.EncodeNil() + } else { + if false { + } else { + z.EncFallback(yyv1) + } + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19780) decMapstringInterface(v *map[string]interface{}, d *Decoder) { + var h codecSelfer19780 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 32) + yyv1 = make(map[string]interface{}, yyrl1) + *v = yyv1 + } + var yymk1 string + var yymv1 interface{} + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + if !yybh1.InterfaceReset { + yymg1 = true + } + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = "" + } else { + yymk1 = (string)(r.DecodeString()) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } else { + yymv1 = nil + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + if false { + } else { + z.DecFallback(&yymv1, true) + } + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = nil + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + func (x codecSelfer19780) encChanstring(v chan string, e *Encoder) { var h codecSelfer19780 z, r := GenHelperEncoder(e) @@ -15258,6 +16358,83 @@ func (x codecSelfer19780) decChanstring(v *chan string, d *Decoder) { } } +func (x codecSelfer19780) encMapintstring(v map[int]string, e *Encoder) { + var h codecSelfer19780 + z, r := GenHelperEncoder(e) + _, _, _ = h, z, r + r.WriteMapStart(len(v)) + for yyk1, yyv1 := range v { + r.WriteMapElemKey() + if false { + } else { + r.EncodeInt(int64(yyk1)) + } + r.WriteMapElemValue() + if false { + } else { + if z.EncBasicHandle().StringToRaw { + r.EncodeStringBytesRaw(z.BytesView(string(yyv1))) + } else { + r.EncodeStringEnc(codecSelferCcUTF819780, string(yyv1)) + } + } + } + r.WriteMapEnd() +} + +func (x codecSelfer19780) decMapintstring(v *map[int]string, d *Decoder) { + var h codecSelfer19780 + z, r := GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1 := z.DecInferLen(yyl1, yybh1.MaxInitLen, 24) + yyv1 = make(map[int]string, yyrl1) + *v = yyv1 + } + var yymk1 int + var yymv1 string + var yymg1, yymdn1 bool + if yybh1.MapValueReset { + } + if yyl1 != 0 { + yyhl1 := yyl1 > 0 + for yyj1 := 0; (yyhl1 && yyj1 < yyl1) || !(yyhl1 || r.CheckBreak()); yyj1++ { + r.ReadMapElemKey() + if r.TryDecodeAsNil() { + yymk1 = 0 + } else { + yymk1 = (int)(z.C.IntV(r.DecodeInt64(), codecSelferBitsize19780)) + } + + if yymg1 { + yymv1 = yyv1[yymk1] + } + r.ReadMapElemValue() + yymdn1 = false + if r.TryDecodeAsNil() { + yymdn1 = true + } else { + yymv1 = (string)(r.DecodeString()) + } + + if yymdn1 { + if yybh1.DeleteOnNilMapValue { + delete(yyv1, yymk1) + } else { + yyv1[yymk1] = "" + } + } else if yyv1 != nil { + yyv1[yymk1] = yymv1 + } + } + } // else len==0: TODO: Should we clear map entries? + r.ReadMapEnd() +} + func (x codecSelfer19780) encMapboolc3RydWN0IHt9(v map[bool]struct{}, e *Encoder) { var h codecSelfer19780 z, r := GenHelperEncoder(e) diff --git a/codec/z_all_test.go b/codec/z_all_test.go index cb8445c9..fc610905 100644 --- a/codec/z_all_test.go +++ b/codec/z_all_test.go @@ -12,13 +12,13 @@ package codec // // Because build tags are a build time parameter, we will have to test out the // different tags separately. -// Tags: x codecgen safe appengine notfastpath +// Tags: x codecgen safe appengine // // These tags should be added to alltests, e.g. // go test '-tags=alltests x codecgen' -run=Suite -coverprofile=cov.out // // To run all tests before submitting code, run: -// a=( "" "safe" "codecgen" "notfastpath" "codecgen notfastpath" "codecgen safe" "safe notfastpath" ) +// a=( "" "safe" "codecgen" "codecgen safe" ) // for i in "${a[@]}"; do echo ">>>> TAGS: $i"; go test "-tags=alltests $i" -run=Suite; done // // This only works on go1.7 and above. This is when subtests and suites were supported. diff --git a/go.mod b/go.mod index abb0c587..0cbd6bdb 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/hashicorp/go-msgpack/v2 -go 1.13 +go 1.19 require ( bitbucket.org/bodhisnarkva/cbor v0.0.0-20170201010848-113f42203c94 @@ -19,5 +19,16 @@ require ( gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect gopkg.in/mgo.v2 v2.0.0-20190816093944-a6b53ec6cb22 gopkg.in/vmihailenco/msgpack.v2 v2.9.2 +) + +require ( + github.com/golang/protobuf v1.3.1 // indirect + github.com/josharian/intern v1.0.0 // indirect + github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421 // indirect + github.com/modern-go/reflect2 v1.0.2 // indirect + github.com/philhofer/fwd v1.1.1 // indirect + golang.org/x/mod v0.3.0 // indirect + golang.org/x/net v0.0.0-20201021035429-f5854403a974 // indirect + golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 // indirect gopkg.in/yaml.v2 v2.4.0 // indirect ) diff --git a/go.sum b/go.sum index bc518f48..4beaeaf9 100644 --- a/go.sum +++ b/go.sum @@ -42,7 +42,6 @@ github.com/stretchr/testify v1.3.0 h1:TivCn/peBQ7UY8ooIcPgZFpTNSz0Q2U6UrFlUfqbe0 github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= github.com/tinylib/msgp v1.1.6 h1:i+SbKraHhnrf9M5MYmvQhFnbLhAXSDWF8WWsuyRdocw= github.com/tinylib/msgp v1.1.6/go.mod h1:75BAfg2hauQhs3qedfdDZmWAPcFMAvJE5b9rGOMufyw= -github.com/ugorji/go v1.2.7 h1:qYhyWUUd6WbiM+C6JZAUkIJt/1WrjzNHY9+KCIjVqTo= github.com/ugorji/go v1.2.7/go.mod h1:nF9osbDWLy6bDVv/Rtoh6QgnvNDpmCalQV5urGCCS6M= github.com/ugorji/go/codec v1.2.7 h1:YPXUKf7fYbp/y8xloBqZOw2qaVggbfwMlI8WM3wZUJ0= github.com/ugorji/go/codec v1.2.7/go.mod h1:WGN1fab3R1fzQlVQTkfxVtIBhWDRqOviHU95kRgeqEY= From 75dfa9b786b56aeeffac5da690a27552e0ed57d7 Mon Sep 17 00:00:00 2001 From: Christopher Swenson Date: Wed, 30 Nov 2022 11:59:32 -0800 Subject: [PATCH 2/7] Always use safe mode (remove not unsafe) --- codec/build.sh | 6 +- codec/helper.go | 416 +++++++++++++++------ codec/helper_not_unsafe.go | 331 ---------------- codec/helper_unsafe.go | 745 ------------------------------------- 4 files changed, 311 insertions(+), 1187 deletions(-) delete mode 100644 codec/helper_not_unsafe.go delete mode 100644 codec/helper_unsafe.go diff --git a/codec/build.sh b/codec/build.sh index 10f47168..831bd864 100755 --- a/codec/build.sh +++ b/codec/build.sh @@ -5,7 +5,7 @@ _tests() { local gover=$( go version | cut -f 3 -d ' ' ) - local a=( "" "safe" "codecgen" ) + local a=( "" "codecgen" ) for i in "${a[@]}" do echo ">>>> TAGS: $i" @@ -52,7 +52,7 @@ _build() { [ -e "gen${_gg}" ] && mv gen${_gg} gen${_gg}__${_zts}.bak fi rm -f gen-helper.generated.go gen.generated.go \ - *safe.generated.go *_generated_test.go *.generated_ffjson_expose.go + *_generated_test.go *.generated_ffjson_expose.go cat > gen.generated.go < bench/shared_test.go # explicitly return 0 if this passes, else return 1 - go run -tags "safe codecgen.exec" gen-from-tmpl.generated.go && + go run -tags "codecgen.exec" gen-from-tmpl.generated.go && rm -f gen-from-tmpl.*generated.go && return 0 return 1 diff --git a/codec/helper.go b/codec/helper.go index 228ad93d..689f6daf 100644 --- a/codec/helper.go +++ b/codec/helper.go @@ -450,9 +450,10 @@ var immutableKindsSet = [32]bool{ // By definition, it is not allowed for a Selfer to directly call Encode or Decode on itself. // If that is done, Encode/Decode will rightfully fail with a Stack Overflow style error. // For example, the snippet below will cause such an error. -// type testSelferRecur struct{} -// func (s *testSelferRecur) CodecEncodeSelf(e *Encoder) { e.MustEncode(s) } -// func (s *testSelferRecur) CodecDecodeSelf(d *Decoder) { d.MustDecode(s) } +// +// type testSelferRecur struct{} +// func (s *testSelferRecur) CodecEncodeSelf(e *Encoder) { e.MustEncode(s) } +// func (s *testSelferRecur) CodecDecodeSelf(d *Decoder) { d.MustDecode(s) } // // Note: *the first set of bytes of any value MUST NOT represent nil in the format*. // This is because, during each decode, we first check the the next set of bytes @@ -486,13 +487,14 @@ type MissingFielder interface { // This affords storing a map in a specific sequence in the stream. // // Example usage: -// type T1 []string // or []int or []Point or any other "slice" type -// func (_ T1) MapBySlice{} // T1 now implements MapBySlice, and will be encoded as a map -// type T2 struct { KeyValues T1 } // -// var kvs = []string{"one", "1", "two", "2", "three", "3"} -// var v2 = T2{ KeyValues: T1(kvs) } -// // v2 will be encoded like the map: {"KeyValues": {"one": "1", "two": "2", "three": "3"} } +// type T1 []string // or []int or []Point or any other "slice" type +// func (_ T1) MapBySlice{} // T1 now implements MapBySlice, and will be encoded as a map +// type T2 struct { KeyValues T1 } +// +// var kvs = []string{"one", "1", "two", "2", "three", "3"} +// var v2 = T2{ KeyValues: T1(kvs) } +// // v2 will be encoded like the map: {"KeyValues": {"one": "1", "two": "2", "three": "3"} } // // The support of MapBySlice affords the following: // - A slice type which implements MapBySlice will be encoded as a map @@ -1052,12 +1054,12 @@ func (z bigenHelper) writeUint64(v uint64) { } type extTypeTagFn struct { - rtid uintptr - rtidptr uintptr - rt reflect.Type - tag uint64 - ext Ext - _ [1]uint64 // padding + rtid uintptr + rtidptr uintptr + rt reflect.Type + tag uint64 + ext Ext + _padding [1]uint64 // padding } type extHandle []extTypeTagFn @@ -1099,13 +1101,7 @@ func (o *extHandle) SetExt(rt reflect.Type, tag uint64, ext Ext) (err error) { // all natively supported type, so cannot have an extension return // TODO: should we silently ignore, or return an error??? } - // if o == nil { - // return errors.New("codec.Handle.SetExt: extHandle not initialized") - // } o2 := *o - // if o2 == nil { - // return errors.New("codec.Handle.SetExt: extHandle not initialized") - // } for i := range o2 { v := &o2[i] if v.rtid == rtid { @@ -1925,10 +1921,10 @@ func implIntf(rt, iTyp reflect.Type) (base bool, indir bool) { } // isEmptyStruct is only called from isEmptyValue, and checks if a struct is empty: -// - does it implement IsZero() bool -// - is it comparable, and can i compare directly using == -// - if checkStruct, then walk through the encodable fields -// and check if they are empty or not. +// - does it implement IsZero() bool +// - is it comparable, and can i compare directly using == +// - if checkStruct, then walk through the encodable fields +// and check if they are empty or not. func isEmptyStruct(v reflect.Value, tinfos *TypeInfos, deref, checkStruct bool) bool { // v is a struct kind - no need to check again. // We only check isZero on a struct kind, to reduce the amount of times @@ -2570,40 +2566,6 @@ func (z *bytesBufPooler) get(bufsize int) (buf []byte) { z.pool, z.poolbuf = nil, nil } - // // Try to use binary search. - // // This is not optimal, as most folks select 1k or 2k buffers - // // so a linear search is better (sequence of if/else blocks) - // if bufsize < 1 { - // bufsize = 0 - // } else { - // bufsize-- - // bufsize /= 1024 - // } - // switch bufsize { - // case 0: - // z.pool, z.poolbuf = pool.bytes1k() - // buf = z.poolbuf.(*[1 * 1024]byte)[:] - // case 1: - // z.pool, z.poolbuf = pool.bytes2k() - // buf = z.poolbuf.(*[2 * 1024]byte)[:] - // case 2, 3: - // z.pool, z.poolbuf = pool.bytes4k() - // buf = z.poolbuf.(*[4 * 1024]byte)[:] - // case 4, 5, 6, 7: - // z.pool, z.poolbuf = pool.bytes8k() - // buf = z.poolbuf.(*[8 * 1024]byte)[:] - // case 8, 9, 10, 11, 12, 13, 14, 15: - // z.pool, z.poolbuf = pool.bytes16k() - // buf = z.poolbuf.(*[16 * 1024]byte)[:] - // case 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31: - // z.pool, z.poolbuf = pool.bytes32k() - // buf = z.poolbuf.(*[32 * 1024]byte)[:] - // default: - // z.pool, z.poolbuf = pool.bytes64k() - // buf = z.poolbuf.(*[64 * 1024]byte)[:] - // } - // return - if bufsize <= 1*1024 { z.pool, z.poolbuf = &pool.buf1k, pool.buf1k.Get() // pool.bytes1k() buf = z.poolbuf.(*[1 * 1024]byte)[:] @@ -2667,53 +2629,291 @@ func (z *sfiRvPooler) get(newlen int) (fkvs []sfiRv) { return } -// xdebugf printf. the message in red on the terminal. -// Use it in place of fmt.Printf (which it calls internally) -func xdebugf(pattern string, args ...interface{}) { - var delim string - if len(pattern) > 0 && pattern[len(pattern)-1] != '\n' { - delim = "\n" - } - fmt.Printf("\033[1;31m"+pattern+delim+"\033[0m", args...) -} - -// func isImmutableKind(k reflect.Kind) (v bool) { -// return false || -// k == reflect.Int || -// k == reflect.Int8 || -// k == reflect.Int16 || -// k == reflect.Int32 || -// k == reflect.Int64 || -// k == reflect.Uint || -// k == reflect.Uint8 || -// k == reflect.Uint16 || -// k == reflect.Uint32 || -// k == reflect.Uint64 || -// k == reflect.Uintptr || -// k == reflect.Float32 || -// k == reflect.Float64 || -// k == reflect.Bool || -// k == reflect.String -// } +// safe-mod optimizations -// func timeLocUTCName(tzint int16) string { -// if tzint == 0 { -// return "UTC" -// } -// var tzname = []byte("UTC+00:00") -// //tzname := fmt.Sprintf("UTC%s%02d:%02d", tzsign, tz/60, tz%60) //perf issue using Sprintf.. inline below. -// //tzhr, tzmin := tz/60, tz%60 //faster if u convert to int first -// var tzhr, tzmin int16 -// if tzint < 0 { -// tzname[3] = '-' // (TODO: verify. this works here) -// tzhr, tzmin = -tzint/60, (-tzint)%60 -// } else { -// tzhr, tzmin = tzint/60, tzint%60 -// } -// tzname[4] = timeDigits[tzhr/10] -// tzname[5] = timeDigits[tzhr%10] -// tzname[7] = timeDigits[tzmin/10] -// tzname[8] = timeDigits[tzmin%10] -// return string(tzname) -// //return time.FixedZone(string(tzname), int(tzint)*60) -// } +const safeMode = true + +// stringView returns a view of the []byte as a string. +// In unsafe mode, it doesn't incur allocation and copying caused by conversion. +// In regular safe mode, it is an allocation and copy. +// +// Usage: Always maintain a reference to v while result of this call is in use, +// +// and call keepAlive4BytesView(v) at point where done with view. +func stringView(v []byte) string { + return string(v) +} + +// bytesView returns a view of the string as a []byte. +// In unsafe mode, it doesn't incur allocation and copying caused by conversion. +// In regular safe mode, it is an allocation and copy. +// +// Usage: Always maintain a reference to v while result of this call is in use, +// +// and call keepAlive4BytesView(v) at point where done with view. +func bytesView(v string) []byte { + return []byte(v) +} + +func definitelyNil(v interface{}) bool { + // this is a best-effort option. + // We just return false, so we don't unnecessarily incur the cost of reflection this early. + return false +} + +func rv2i(rv reflect.Value) interface{} { + return rv.Interface() +} + +func rt2id(rt reflect.Type) uintptr { + return reflect.ValueOf(rt).Pointer() +} + +func i2rtid(i interface{}) uintptr { + return reflect.ValueOf(reflect.TypeOf(i)).Pointer() +} + +// -------------------------- + +func isEmptyValue(v reflect.Value, tinfos *TypeInfos, deref, checkStruct bool) bool { + switch v.Kind() { + case reflect.Invalid: + return true + case reflect.Array, reflect.Map, reflect.Slice, reflect.String: + return v.Len() == 0 + case reflect.Bool: + return !v.Bool() + case reflect.Int, reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64: + return v.Int() == 0 + case reflect.Uint, reflect.Uint8, reflect.Uint16, reflect.Uint32, reflect.Uint64, reflect.Uintptr: + return v.Uint() == 0 + case reflect.Float32, reflect.Float64: + return v.Float() == 0 + case reflect.Interface, reflect.Ptr: + if deref { + if v.IsNil() { + return true + } + return isEmptyValue(v.Elem(), tinfos, deref, checkStruct) + } + return v.IsNil() + case reflect.Struct: + return isEmptyStruct(v, tinfos, deref, checkStruct) + } + return false +} + +// -------------------------- +type atomicClsErr struct { + v atomic.Value +} + +func (x *atomicClsErr) load() (e clsErr) { + if i := x.v.Load(); i != nil { + e = i.(clsErr) + } + return +} + +func (x *atomicClsErr) store(p clsErr) { + x.v.Store(p) +} + +// -------------------------- +type atomicTypeInfoSlice struct { // expected to be 2 words + v atomic.Value +} + +func (x *atomicTypeInfoSlice) load() (e []rtid2ti) { + if i := x.v.Load(); i != nil { + e = i.([]rtid2ti) + } + return +} + +func (x *atomicTypeInfoSlice) store(p []rtid2ti) { + x.v.Store(p) +} + +// -------------------------- +type atomicRtidFnSlice struct { // expected to be 2 words + v atomic.Value +} + +func (x *atomicRtidFnSlice) load() (e []codecRtidFn) { + if i := x.v.Load(); i != nil { + e = i.([]codecRtidFn) + } + return +} + +func (x *atomicRtidFnSlice) store(p []codecRtidFn) { + x.v.Store(p) +} + +// -------------------------- +func (n *decNaked) ru() reflect.Value { + return reflect.ValueOf(&n.u).Elem() +} +func (n *decNaked) ri() reflect.Value { + return reflect.ValueOf(&n.i).Elem() +} +func (n *decNaked) rf() reflect.Value { + return reflect.ValueOf(&n.f).Elem() +} +func (n *decNaked) rl() reflect.Value { + return reflect.ValueOf(&n.l).Elem() +} +func (n *decNaked) rs() reflect.Value { + return reflect.ValueOf(&n.s).Elem() +} +func (n *decNaked) rt() reflect.Value { + return reflect.ValueOf(&n.t).Elem() +} +func (n *decNaked) rb() reflect.Value { + return reflect.ValueOf(&n.b).Elem() +} + +// -------------------------- +func (d *Decoder) raw(f *codecFnInfo, rv reflect.Value) { + rv.SetBytes(d.rawBytes()) +} + +func (d *Decoder) kString(f *codecFnInfo, rv reflect.Value) { + rv.SetString(d.d.DecodeString()) +} + +func (d *Decoder) kBool(f *codecFnInfo, rv reflect.Value) { + rv.SetBool(d.d.DecodeBool()) +} + +func (d *Decoder) kTime(f *codecFnInfo, rv reflect.Value) { + rv.Set(reflect.ValueOf(d.d.DecodeTime())) +} + +func (d *Decoder) kFloat32(f *codecFnInfo, rv reflect.Value) { + fv := d.d.DecodeFloat64() + if chkOvf.Float32(fv) { + d.errorf("float32 overflow: %v", fv) + } + rv.SetFloat(fv) +} + +func (d *Decoder) kFloat64(f *codecFnInfo, rv reflect.Value) { + rv.SetFloat(d.d.DecodeFloat64()) +} + +func (d *Decoder) kInt(f *codecFnInfo, rv reflect.Value) { + rv.SetInt(chkOvf.IntV(d.d.DecodeInt64(), intBitsize)) +} + +func (d *Decoder) kInt8(f *codecFnInfo, rv reflect.Value) { + rv.SetInt(chkOvf.IntV(d.d.DecodeInt64(), 8)) +} + +func (d *Decoder) kInt16(f *codecFnInfo, rv reflect.Value) { + rv.SetInt(chkOvf.IntV(d.d.DecodeInt64(), 16)) +} + +func (d *Decoder) kInt32(f *codecFnInfo, rv reflect.Value) { + rv.SetInt(chkOvf.IntV(d.d.DecodeInt64(), 32)) +} + +func (d *Decoder) kInt64(f *codecFnInfo, rv reflect.Value) { + rv.SetInt(d.d.DecodeInt64()) +} + +func (d *Decoder) kUint(f *codecFnInfo, rv reflect.Value) { + rv.SetUint(chkOvf.UintV(d.d.DecodeUint64(), uintBitsize)) +} + +func (d *Decoder) kUintptr(f *codecFnInfo, rv reflect.Value) { + rv.SetUint(chkOvf.UintV(d.d.DecodeUint64(), uintBitsize)) +} + +func (d *Decoder) kUint8(f *codecFnInfo, rv reflect.Value) { + rv.SetUint(chkOvf.UintV(d.d.DecodeUint64(), 8)) +} + +func (d *Decoder) kUint16(f *codecFnInfo, rv reflect.Value) { + rv.SetUint(chkOvf.UintV(d.d.DecodeUint64(), 16)) +} + +func (d *Decoder) kUint32(f *codecFnInfo, rv reflect.Value) { + rv.SetUint(chkOvf.UintV(d.d.DecodeUint64(), 32)) +} + +func (d *Decoder) kUint64(f *codecFnInfo, rv reflect.Value) { + rv.SetUint(d.d.DecodeUint64()) +} + +// ---------------- + +func (e *Encoder) kBool(f *codecFnInfo, rv reflect.Value) { + e.e.EncodeBool(rv.Bool()) +} + +func (e *Encoder) kTime(f *codecFnInfo, rv reflect.Value) { + e.e.EncodeTime(rv2i(rv).(time.Time)) +} + +func (e *Encoder) kString(f *codecFnInfo, rv reflect.Value) { + s := rv.String() + if e.h.StringToRaw { + e.e.EncodeStringBytesRaw(bytesView(s)) + } else { + e.e.EncodeStringEnc(cUTF8, s) + } +} + +func (e *Encoder) kFloat64(f *codecFnInfo, rv reflect.Value) { + e.e.EncodeFloat64(rv.Float()) +} + +func (e *Encoder) kFloat32(f *codecFnInfo, rv reflect.Value) { + e.e.EncodeFloat32(float32(rv.Float())) +} + +func (e *Encoder) kInt(f *codecFnInfo, rv reflect.Value) { + e.e.EncodeInt(rv.Int()) +} + +func (e *Encoder) kInt8(f *codecFnInfo, rv reflect.Value) { + e.e.EncodeInt(rv.Int()) +} + +func (e *Encoder) kInt16(f *codecFnInfo, rv reflect.Value) { + e.e.EncodeInt(rv.Int()) +} + +func (e *Encoder) kInt32(f *codecFnInfo, rv reflect.Value) { + e.e.EncodeInt(rv.Int()) +} + +func (e *Encoder) kInt64(f *codecFnInfo, rv reflect.Value) { + e.e.EncodeInt(rv.Int()) +} + +func (e *Encoder) kUint(f *codecFnInfo, rv reflect.Value) { + e.e.EncodeUint(rv.Uint()) +} + +func (e *Encoder) kUint8(f *codecFnInfo, rv reflect.Value) { + e.e.EncodeUint(rv.Uint()) +} + +func (e *Encoder) kUint16(f *codecFnInfo, rv reflect.Value) { + e.e.EncodeUint(rv.Uint()) +} + +func (e *Encoder) kUint32(f *codecFnInfo, rv reflect.Value) { + e.e.EncodeUint(rv.Uint()) +} + +func (e *Encoder) kUint64(f *codecFnInfo, rv reflect.Value) { + e.e.EncodeUint(rv.Uint()) +} + +func (e *Encoder) kUintptr(f *codecFnInfo, rv reflect.Value) { + e.e.EncodeUint(rv.Uint()) +} diff --git a/codec/helper_not_unsafe.go b/codec/helper_not_unsafe.go deleted file mode 100644 index 74987f9f..00000000 --- a/codec/helper_not_unsafe.go +++ /dev/null @@ -1,331 +0,0 @@ -// +build !go1.7 safe appengine - -// Copyright (c) 2012-2018 Ugorji Nwoke. All rights reserved. -// Use of this source code is governed by a MIT license found in the LICENSE file. - -package codec - -import ( - "reflect" - "sync/atomic" - "time" -) - -const safeMode = true - -// stringView returns a view of the []byte as a string. -// In unsafe mode, it doesn't incur allocation and copying caused by conversion. -// In regular safe mode, it is an allocation and copy. -// -// Usage: Always maintain a reference to v while result of this call is in use, -// and call keepAlive4BytesView(v) at point where done with view. -func stringView(v []byte) string { - return string(v) -} - -// bytesView returns a view of the string as a []byte. -// In unsafe mode, it doesn't incur allocation and copying caused by conversion. -// In regular safe mode, it is an allocation and copy. -// -// Usage: Always maintain a reference to v while result of this call is in use, -// and call keepAlive4BytesView(v) at point where done with view. -func bytesView(v string) []byte { - return []byte(v) -} - -func definitelyNil(v interface{}) bool { - // this is a best-effort option. - // We just return false, so we don't unnecessarily incur the cost of reflection this early. - return false -} - -func rv2i(rv reflect.Value) interface{} { - return rv.Interface() -} - -func rt2id(rt reflect.Type) uintptr { - return reflect.ValueOf(rt).Pointer() -} - -// func rv2rtid(rv reflect.Value) uintptr { -// return reflect.ValueOf(rv.Type()).Pointer() -// } - -func i2rtid(i interface{}) uintptr { - return reflect.ValueOf(reflect.TypeOf(i)).Pointer() -} - -// -------------------------- - -func isEmptyValue(v reflect.Value, tinfos *TypeInfos, deref, checkStruct bool) bool { - switch v.Kind() { - case reflect.Invalid: - return true - case reflect.Array, reflect.Map, reflect.Slice, reflect.String: - return v.Len() == 0 - case reflect.Bool: - return !v.Bool() - case reflect.Int, reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64: - return v.Int() == 0 - case reflect.Uint, reflect.Uint8, reflect.Uint16, reflect.Uint32, reflect.Uint64, reflect.Uintptr: - return v.Uint() == 0 - case reflect.Float32, reflect.Float64: - return v.Float() == 0 - case reflect.Interface, reflect.Ptr: - if deref { - if v.IsNil() { - return true - } - return isEmptyValue(v.Elem(), tinfos, deref, checkStruct) - } - return v.IsNil() - case reflect.Struct: - return isEmptyStruct(v, tinfos, deref, checkStruct) - } - return false -} - -// -------------------------- -// type ptrToRvMap struct{} - -// func (*ptrToRvMap) init() {} -// func (*ptrToRvMap) get(i interface{}) reflect.Value { -// return reflect.ValueOf(i).Elem() -// } - -// -------------------------- -type atomicClsErr struct { - v atomic.Value -} - -func (x *atomicClsErr) load() (e clsErr) { - if i := x.v.Load(); i != nil { - e = i.(clsErr) - } - return -} - -func (x *atomicClsErr) store(p clsErr) { - x.v.Store(p) -} - -// -------------------------- -type atomicTypeInfoSlice struct { // expected to be 2 words - v atomic.Value -} - -func (x *atomicTypeInfoSlice) load() (e []rtid2ti) { - if i := x.v.Load(); i != nil { - e = i.([]rtid2ti) - } - return -} - -func (x *atomicTypeInfoSlice) store(p []rtid2ti) { - x.v.Store(p) -} - -// -------------------------- -type atomicRtidFnSlice struct { // expected to be 2 words - v atomic.Value -} - -func (x *atomicRtidFnSlice) load() (e []codecRtidFn) { - if i := x.v.Load(); i != nil { - e = i.([]codecRtidFn) - } - return -} - -func (x *atomicRtidFnSlice) store(p []codecRtidFn) { - x.v.Store(p) -} - -// -------------------------- -func (n *decNaked) ru() reflect.Value { - return reflect.ValueOf(&n.u).Elem() -} -func (n *decNaked) ri() reflect.Value { - return reflect.ValueOf(&n.i).Elem() -} -func (n *decNaked) rf() reflect.Value { - return reflect.ValueOf(&n.f).Elem() -} -func (n *decNaked) rl() reflect.Value { - return reflect.ValueOf(&n.l).Elem() -} -func (n *decNaked) rs() reflect.Value { - return reflect.ValueOf(&n.s).Elem() -} -func (n *decNaked) rt() reflect.Value { - return reflect.ValueOf(&n.t).Elem() -} -func (n *decNaked) rb() reflect.Value { - return reflect.ValueOf(&n.b).Elem() -} - -// -------------------------- -func (d *Decoder) raw(f *codecFnInfo, rv reflect.Value) { - rv.SetBytes(d.rawBytes()) -} - -func (d *Decoder) kString(f *codecFnInfo, rv reflect.Value) { - rv.SetString(d.d.DecodeString()) -} - -func (d *Decoder) kBool(f *codecFnInfo, rv reflect.Value) { - rv.SetBool(d.d.DecodeBool()) -} - -func (d *Decoder) kTime(f *codecFnInfo, rv reflect.Value) { - rv.Set(reflect.ValueOf(d.d.DecodeTime())) -} - -func (d *Decoder) kFloat32(f *codecFnInfo, rv reflect.Value) { - fv := d.d.DecodeFloat64() - if chkOvf.Float32(fv) { - d.errorf("float32 overflow: %v", fv) - } - rv.SetFloat(fv) -} - -func (d *Decoder) kFloat64(f *codecFnInfo, rv reflect.Value) { - rv.SetFloat(d.d.DecodeFloat64()) -} - -func (d *Decoder) kInt(f *codecFnInfo, rv reflect.Value) { - rv.SetInt(chkOvf.IntV(d.d.DecodeInt64(), intBitsize)) -} - -func (d *Decoder) kInt8(f *codecFnInfo, rv reflect.Value) { - rv.SetInt(chkOvf.IntV(d.d.DecodeInt64(), 8)) -} - -func (d *Decoder) kInt16(f *codecFnInfo, rv reflect.Value) { - rv.SetInt(chkOvf.IntV(d.d.DecodeInt64(), 16)) -} - -func (d *Decoder) kInt32(f *codecFnInfo, rv reflect.Value) { - rv.SetInt(chkOvf.IntV(d.d.DecodeInt64(), 32)) -} - -func (d *Decoder) kInt64(f *codecFnInfo, rv reflect.Value) { - rv.SetInt(d.d.DecodeInt64()) -} - -func (d *Decoder) kUint(f *codecFnInfo, rv reflect.Value) { - rv.SetUint(chkOvf.UintV(d.d.DecodeUint64(), uintBitsize)) -} - -func (d *Decoder) kUintptr(f *codecFnInfo, rv reflect.Value) { - rv.SetUint(chkOvf.UintV(d.d.DecodeUint64(), uintBitsize)) -} - -func (d *Decoder) kUint8(f *codecFnInfo, rv reflect.Value) { - rv.SetUint(chkOvf.UintV(d.d.DecodeUint64(), 8)) -} - -func (d *Decoder) kUint16(f *codecFnInfo, rv reflect.Value) { - rv.SetUint(chkOvf.UintV(d.d.DecodeUint64(), 16)) -} - -func (d *Decoder) kUint32(f *codecFnInfo, rv reflect.Value) { - rv.SetUint(chkOvf.UintV(d.d.DecodeUint64(), 32)) -} - -func (d *Decoder) kUint64(f *codecFnInfo, rv reflect.Value) { - rv.SetUint(d.d.DecodeUint64()) -} - -// ---------------- - -func (e *Encoder) kBool(f *codecFnInfo, rv reflect.Value) { - e.e.EncodeBool(rv.Bool()) -} - -func (e *Encoder) kTime(f *codecFnInfo, rv reflect.Value) { - e.e.EncodeTime(rv2i(rv).(time.Time)) -} - -func (e *Encoder) kString(f *codecFnInfo, rv reflect.Value) { - s := rv.String() - if e.h.StringToRaw { - e.e.EncodeStringBytesRaw(bytesView(s)) - } else { - e.e.EncodeStringEnc(cUTF8, s) - } -} - -func (e *Encoder) kFloat64(f *codecFnInfo, rv reflect.Value) { - e.e.EncodeFloat64(rv.Float()) -} - -func (e *Encoder) kFloat32(f *codecFnInfo, rv reflect.Value) { - e.e.EncodeFloat32(float32(rv.Float())) -} - -func (e *Encoder) kInt(f *codecFnInfo, rv reflect.Value) { - e.e.EncodeInt(rv.Int()) -} - -func (e *Encoder) kInt8(f *codecFnInfo, rv reflect.Value) { - e.e.EncodeInt(rv.Int()) -} - -func (e *Encoder) kInt16(f *codecFnInfo, rv reflect.Value) { - e.e.EncodeInt(rv.Int()) -} - -func (e *Encoder) kInt32(f *codecFnInfo, rv reflect.Value) { - e.e.EncodeInt(rv.Int()) -} - -func (e *Encoder) kInt64(f *codecFnInfo, rv reflect.Value) { - e.e.EncodeInt(rv.Int()) -} - -func (e *Encoder) kUint(f *codecFnInfo, rv reflect.Value) { - e.e.EncodeUint(rv.Uint()) -} - -func (e *Encoder) kUint8(f *codecFnInfo, rv reflect.Value) { - e.e.EncodeUint(rv.Uint()) -} - -func (e *Encoder) kUint16(f *codecFnInfo, rv reflect.Value) { - e.e.EncodeUint(rv.Uint()) -} - -func (e *Encoder) kUint32(f *codecFnInfo, rv reflect.Value) { - e.e.EncodeUint(rv.Uint()) -} - -func (e *Encoder) kUint64(f *codecFnInfo, rv reflect.Value) { - e.e.EncodeUint(rv.Uint()) -} - -func (e *Encoder) kUintptr(f *codecFnInfo, rv reflect.Value) { - e.e.EncodeUint(rv.Uint()) -} - -// // keepAlive4BytesView maintains a reference to the input parameter for bytesView. -// // -// // Usage: call this at point where done with the bytes view. -// func keepAlive4BytesView(v string) {} - -// // keepAlive4BytesView maintains a reference to the input parameter for stringView. -// // -// // Usage: call this at point where done with the string view. -// func keepAlive4StringView(v []byte) {} - -// func definitelyNil(v interface{}) bool { -// rv := reflect.ValueOf(v) -// switch rv.Kind() { -// case reflect.Invalid: -// return true -// case reflect.Ptr, reflect.Interface, reflect.Chan, reflect.Slice, reflect.Map, reflect.Func: -// return rv.IsNil() -// default: -// return false -// } -// } diff --git a/codec/helper_unsafe.go b/codec/helper_unsafe.go deleted file mode 100644 index 3bc34d90..00000000 --- a/codec/helper_unsafe.go +++ /dev/null @@ -1,745 +0,0 @@ -// +build !safe -// +build !appengine -// +build go1.7 - -// Copyright (c) 2012-2018 Ugorji Nwoke. All rights reserved. -// Use of this source code is governed by a MIT license found in the LICENSE file. - -package codec - -import ( - "reflect" - "sync/atomic" - "time" - "unsafe" -) - -// This file has unsafe variants of some helper methods. -// NOTE: See helper_not_unsafe.go for the usage information. - -// var zeroRTv [4]uintptr - -const safeMode = false -const unsafeFlagIndir = 1 << 7 // keep in sync with GO_ROOT/src/reflect/value.go - -type unsafeString struct { - Data unsafe.Pointer - Len int -} - -type unsafeSlice struct { - Data unsafe.Pointer - Len int - Cap int -} - -type unsafeIntf struct { - typ unsafe.Pointer - word unsafe.Pointer -} - -type unsafeReflectValue struct { - typ unsafe.Pointer - ptr unsafe.Pointer - flag uintptr -} - -func stringView(v []byte) string { - if len(v) == 0 { - return "" - } - bx := (*unsafeSlice)(unsafe.Pointer(&v)) - return *(*string)(unsafe.Pointer(&unsafeString{bx.Data, bx.Len})) -} - -func bytesView(v string) []byte { - if len(v) == 0 { - return zeroByteSlice - } - sx := (*unsafeString)(unsafe.Pointer(&v)) - return *(*[]byte)(unsafe.Pointer(&unsafeSlice{sx.Data, sx.Len, sx.Len})) -} - -func definitelyNil(v interface{}) bool { - // There is no global way of checking if an interface is nil. - // For true references (map, ptr, func, chan), you can just look - // at the word of the interface. However, for slices, you have to dereference - // the word, and get a pointer to the 3-word interface value. - // - // However, the following are cheap calls - // - TypeOf(interface): cheap 2-line call. - // - ValueOf(interface{}): expensive - // - type.Kind: cheap call through an interface - // - Value.Type(): cheap call - // except it's a method value (e.g. r.Read, which implies that it is a Func) - - return ((*unsafeIntf)(unsafe.Pointer(&v))).word == nil -} - -func rv2i(rv reflect.Value) interface{} { - // TODO: consider a more generally-known optimization for reflect.Value ==> Interface - // - // Currently, we use this fragile method that taps into implememtation details from - // the source go stdlib reflect/value.go, and trims the implementation. - - urv := (*unsafeReflectValue)(unsafe.Pointer(&rv)) - // true references (map, func, chan, ptr - NOT slice) may be double-referenced as flagIndir - var ptr unsafe.Pointer - if refBitset.isset(byte(urv.flag&(1<<5-1))) && urv.flag&unsafeFlagIndir != 0 { - ptr = *(*unsafe.Pointer)(urv.ptr) - } else { - ptr = urv.ptr - } - return *(*interface{})(unsafe.Pointer(&unsafeIntf{typ: urv.typ, word: ptr})) -} - -func rt2id(rt reflect.Type) uintptr { - return uintptr(((*unsafeIntf)(unsafe.Pointer(&rt))).word) -} - -// func rv2rtid(rv reflect.Value) uintptr { -// return uintptr((*unsafeReflectValue)(unsafe.Pointer(&rv)).typ) -// } - -func i2rtid(i interface{}) uintptr { - return uintptr(((*unsafeIntf)(unsafe.Pointer(&i))).typ) -} - -// -------------------------- - -func isEmptyValue(v reflect.Value, tinfos *TypeInfos, deref, checkStruct bool) bool { - urv := (*unsafeReflectValue)(unsafe.Pointer(&v)) - if urv.flag == 0 { - return true - } - switch v.Kind() { - case reflect.Invalid: - return true - case reflect.String: - return (*unsafeString)(urv.ptr).Len == 0 - case reflect.Slice: - return (*unsafeSlice)(urv.ptr).Len == 0 - case reflect.Bool: - return !*(*bool)(urv.ptr) - case reflect.Int: - return *(*int)(urv.ptr) == 0 - case reflect.Int8: - return *(*int8)(urv.ptr) == 0 - case reflect.Int16: - return *(*int16)(urv.ptr) == 0 - case reflect.Int32: - return *(*int32)(urv.ptr) == 0 - case reflect.Int64: - return *(*int64)(urv.ptr) == 0 - case reflect.Uint: - return *(*uint)(urv.ptr) == 0 - case reflect.Uint8: - return *(*uint8)(urv.ptr) == 0 - case reflect.Uint16: - return *(*uint16)(urv.ptr) == 0 - case reflect.Uint32: - return *(*uint32)(urv.ptr) == 0 - case reflect.Uint64: - return *(*uint64)(urv.ptr) == 0 - case reflect.Uintptr: - return *(*uintptr)(urv.ptr) == 0 - case reflect.Float32: - return *(*float32)(urv.ptr) == 0 - case reflect.Float64: - return *(*float64)(urv.ptr) == 0 - case reflect.Interface: - isnil := urv.ptr == nil || *(*unsafe.Pointer)(urv.ptr) == nil - if deref { - if isnil { - return true - } - return isEmptyValue(v.Elem(), tinfos, deref, checkStruct) - } - return isnil - case reflect.Ptr: - // isnil := urv.ptr == nil (not sufficient, as a pointer value encodes the type) - isnil := urv.ptr == nil || *(*unsafe.Pointer)(urv.ptr) == nil - if deref { - if isnil { - return true - } - return isEmptyValue(v.Elem(), tinfos, deref, checkStruct) - } - return isnil - case reflect.Struct: - return isEmptyStruct(v, tinfos, deref, checkStruct) - case reflect.Map, reflect.Array, reflect.Chan: - return v.Len() == 0 - } - return false -} - -// -------------------------- - -// atomicXXX is expected to be 2 words (for symmetry with atomic.Value) -// -// Note that we do not atomically load/store length and data pointer separately, -// as this could lead to some races. Instead, we atomically load/store cappedSlice. -// -// Note: with atomic.(Load|Store)Pointer, we MUST work with an unsafe.Pointer directly. - -// ---------------------- -type atomicTypeInfoSlice struct { - v unsafe.Pointer // *[]rtid2ti - _ uintptr // padding (atomicXXX expected to be 2 words) -} - -func (x *atomicTypeInfoSlice) load() (s []rtid2ti) { - x2 := atomic.LoadPointer(&x.v) - if x2 != nil { - s = *(*[]rtid2ti)(x2) - } - return -} - -func (x *atomicTypeInfoSlice) store(p []rtid2ti) { - atomic.StorePointer(&x.v, unsafe.Pointer(&p)) -} - -// -------------------------- -type atomicRtidFnSlice struct { - v unsafe.Pointer // *[]codecRtidFn - _ uintptr // padding (atomicXXX expected to be 2 words) -} - -func (x *atomicRtidFnSlice) load() (s []codecRtidFn) { - x2 := atomic.LoadPointer(&x.v) - if x2 != nil { - s = *(*[]codecRtidFn)(x2) - } - return -} - -func (x *atomicRtidFnSlice) store(p []codecRtidFn) { - atomic.StorePointer(&x.v, unsafe.Pointer(&p)) -} - -// -------------------------- -type atomicClsErr struct { - v unsafe.Pointer // *clsErr - _ uintptr // padding (atomicXXX expected to be 2 words) -} - -func (x *atomicClsErr) load() (e clsErr) { - x2 := (*clsErr)(atomic.LoadPointer(&x.v)) - if x2 != nil { - e = *x2 - } - return -} - -func (x *atomicClsErr) store(p clsErr) { - atomic.StorePointer(&x.v, unsafe.Pointer(&p)) -} - -// -------------------------- - -// to create a reflect.Value for each member field of decNaked, -// we first create a global decNaked, and create reflect.Value -// for them all. -// This way, we have the flags and type in the reflect.Value. -// Then, when a reflect.Value is called, we just copy it, -// update the ptr to the decNaked's, and return it. - -type unsafeDecNakedWrapper struct { - decNaked - ru, ri, rf, rl, rs, rb, rt reflect.Value // mapping to the primitives above -} - -func (n *unsafeDecNakedWrapper) init() { - n.ru = reflect.ValueOf(&n.u).Elem() - n.ri = reflect.ValueOf(&n.i).Elem() - n.rf = reflect.ValueOf(&n.f).Elem() - n.rl = reflect.ValueOf(&n.l).Elem() - n.rs = reflect.ValueOf(&n.s).Elem() - n.rt = reflect.ValueOf(&n.t).Elem() - n.rb = reflect.ValueOf(&n.b).Elem() - // n.rr[] = reflect.ValueOf(&n.) -} - -var defUnsafeDecNakedWrapper unsafeDecNakedWrapper - -func init() { - defUnsafeDecNakedWrapper.init() -} - -func (n *decNaked) ru() (v reflect.Value) { - v = defUnsafeDecNakedWrapper.ru - ((*unsafeReflectValue)(unsafe.Pointer(&v))).ptr = unsafe.Pointer(&n.u) - return -} -func (n *decNaked) ri() (v reflect.Value) { - v = defUnsafeDecNakedWrapper.ri - ((*unsafeReflectValue)(unsafe.Pointer(&v))).ptr = unsafe.Pointer(&n.i) - return -} -func (n *decNaked) rf() (v reflect.Value) { - v = defUnsafeDecNakedWrapper.rf - ((*unsafeReflectValue)(unsafe.Pointer(&v))).ptr = unsafe.Pointer(&n.f) - return -} -func (n *decNaked) rl() (v reflect.Value) { - v = defUnsafeDecNakedWrapper.rl - ((*unsafeReflectValue)(unsafe.Pointer(&v))).ptr = unsafe.Pointer(&n.l) - return -} -func (n *decNaked) rs() (v reflect.Value) { - v = defUnsafeDecNakedWrapper.rs - ((*unsafeReflectValue)(unsafe.Pointer(&v))).ptr = unsafe.Pointer(&n.s) - return -} -func (n *decNaked) rt() (v reflect.Value) { - v = defUnsafeDecNakedWrapper.rt - ((*unsafeReflectValue)(unsafe.Pointer(&v))).ptr = unsafe.Pointer(&n.t) - return -} -func (n *decNaked) rb() (v reflect.Value) { - v = defUnsafeDecNakedWrapper.rb - ((*unsafeReflectValue)(unsafe.Pointer(&v))).ptr = unsafe.Pointer(&n.b) - return -} - -// -------------------------- -func (d *Decoder) raw(f *codecFnInfo, rv reflect.Value) { - urv := (*unsafeReflectValue)(unsafe.Pointer(&rv)) - *(*[]byte)(urv.ptr) = d.rawBytes() -} - -func (d *Decoder) kString(f *codecFnInfo, rv reflect.Value) { - urv := (*unsafeReflectValue)(unsafe.Pointer(&rv)) - *(*string)(urv.ptr) = d.d.DecodeString() -} - -func (d *Decoder) kBool(f *codecFnInfo, rv reflect.Value) { - urv := (*unsafeReflectValue)(unsafe.Pointer(&rv)) - *(*bool)(urv.ptr) = d.d.DecodeBool() -} - -func (d *Decoder) kTime(f *codecFnInfo, rv reflect.Value) { - urv := (*unsafeReflectValue)(unsafe.Pointer(&rv)) - *(*time.Time)(urv.ptr) = d.d.DecodeTime() -} - -func (d *Decoder) kFloat32(f *codecFnInfo, rv reflect.Value) { - fv := d.d.DecodeFloat64() - if chkOvf.Float32(fv) { - d.errorf("float32 overflow: %v", fv) - } - urv := (*unsafeReflectValue)(unsafe.Pointer(&rv)) - *(*float32)(urv.ptr) = float32(fv) -} - -func (d *Decoder) kFloat64(f *codecFnInfo, rv reflect.Value) { - urv := (*unsafeReflectValue)(unsafe.Pointer(&rv)) - *(*float64)(urv.ptr) = d.d.DecodeFloat64() -} - -func (d *Decoder) kInt(f *codecFnInfo, rv reflect.Value) { - urv := (*unsafeReflectValue)(unsafe.Pointer(&rv)) - *(*int)(urv.ptr) = int(chkOvf.IntV(d.d.DecodeInt64(), intBitsize)) -} - -func (d *Decoder) kInt8(f *codecFnInfo, rv reflect.Value) { - urv := (*unsafeReflectValue)(unsafe.Pointer(&rv)) - *(*int8)(urv.ptr) = int8(chkOvf.IntV(d.d.DecodeInt64(), 8)) -} - -func (d *Decoder) kInt16(f *codecFnInfo, rv reflect.Value) { - urv := (*unsafeReflectValue)(unsafe.Pointer(&rv)) - *(*int16)(urv.ptr) = int16(chkOvf.IntV(d.d.DecodeInt64(), 16)) -} - -func (d *Decoder) kInt32(f *codecFnInfo, rv reflect.Value) { - urv := (*unsafeReflectValue)(unsafe.Pointer(&rv)) - *(*int32)(urv.ptr) = int32(chkOvf.IntV(d.d.DecodeInt64(), 32)) -} - -func (d *Decoder) kInt64(f *codecFnInfo, rv reflect.Value) { - urv := (*unsafeReflectValue)(unsafe.Pointer(&rv)) - *(*int64)(urv.ptr) = d.d.DecodeInt64() -} - -func (d *Decoder) kUint(f *codecFnInfo, rv reflect.Value) { - urv := (*unsafeReflectValue)(unsafe.Pointer(&rv)) - *(*uint)(urv.ptr) = uint(chkOvf.UintV(d.d.DecodeUint64(), uintBitsize)) -} - -func (d *Decoder) kUintptr(f *codecFnInfo, rv reflect.Value) { - urv := (*unsafeReflectValue)(unsafe.Pointer(&rv)) - *(*uintptr)(urv.ptr) = uintptr(chkOvf.UintV(d.d.DecodeUint64(), uintBitsize)) -} - -func (d *Decoder) kUint8(f *codecFnInfo, rv reflect.Value) { - urv := (*unsafeReflectValue)(unsafe.Pointer(&rv)) - *(*uint8)(urv.ptr) = uint8(chkOvf.UintV(d.d.DecodeUint64(), 8)) -} - -func (d *Decoder) kUint16(f *codecFnInfo, rv reflect.Value) { - urv := (*unsafeReflectValue)(unsafe.Pointer(&rv)) - *(*uint16)(urv.ptr) = uint16(chkOvf.UintV(d.d.DecodeUint64(), 16)) -} - -func (d *Decoder) kUint32(f *codecFnInfo, rv reflect.Value) { - urv := (*unsafeReflectValue)(unsafe.Pointer(&rv)) - *(*uint32)(urv.ptr) = uint32(chkOvf.UintV(d.d.DecodeUint64(), 32)) -} - -func (d *Decoder) kUint64(f *codecFnInfo, rv reflect.Value) { - urv := (*unsafeReflectValue)(unsafe.Pointer(&rv)) - *(*uint64)(urv.ptr) = d.d.DecodeUint64() -} - -// ------------ - -func (e *Encoder) kBool(f *codecFnInfo, rv reflect.Value) { - v := (*unsafeReflectValue)(unsafe.Pointer(&rv)) - e.e.EncodeBool(*(*bool)(v.ptr)) -} - -func (e *Encoder) kTime(f *codecFnInfo, rv reflect.Value) { - v := (*unsafeReflectValue)(unsafe.Pointer(&rv)) - e.e.EncodeTime(*(*time.Time)(v.ptr)) -} - -func (e *Encoder) kString(f *codecFnInfo, rv reflect.Value) { - v := (*unsafeReflectValue)(unsafe.Pointer(&rv)) - s := *(*string)(v.ptr) - if e.h.StringToRaw { - e.e.EncodeStringBytesRaw(bytesView(s)) - } else { - e.e.EncodeStringEnc(cUTF8, s) - } -} - -func (e *Encoder) kFloat64(f *codecFnInfo, rv reflect.Value) { - v := (*unsafeReflectValue)(unsafe.Pointer(&rv)) - e.e.EncodeFloat64(*(*float64)(v.ptr)) -} - -func (e *Encoder) kFloat32(f *codecFnInfo, rv reflect.Value) { - v := (*unsafeReflectValue)(unsafe.Pointer(&rv)) - e.e.EncodeFloat32(*(*float32)(v.ptr)) -} - -func (e *Encoder) kInt(f *codecFnInfo, rv reflect.Value) { - v := (*unsafeReflectValue)(unsafe.Pointer(&rv)) - e.e.EncodeInt(int64(*(*int)(v.ptr))) -} - -func (e *Encoder) kInt8(f *codecFnInfo, rv reflect.Value) { - v := (*unsafeReflectValue)(unsafe.Pointer(&rv)) - e.e.EncodeInt(int64(*(*int8)(v.ptr))) -} - -func (e *Encoder) kInt16(f *codecFnInfo, rv reflect.Value) { - v := (*unsafeReflectValue)(unsafe.Pointer(&rv)) - e.e.EncodeInt(int64(*(*int16)(v.ptr))) -} - -func (e *Encoder) kInt32(f *codecFnInfo, rv reflect.Value) { - v := (*unsafeReflectValue)(unsafe.Pointer(&rv)) - e.e.EncodeInt(int64(*(*int32)(v.ptr))) -} - -func (e *Encoder) kInt64(f *codecFnInfo, rv reflect.Value) { - v := (*unsafeReflectValue)(unsafe.Pointer(&rv)) - e.e.EncodeInt(int64(*(*int64)(v.ptr))) -} - -func (e *Encoder) kUint(f *codecFnInfo, rv reflect.Value) { - v := (*unsafeReflectValue)(unsafe.Pointer(&rv)) - e.e.EncodeUint(uint64(*(*uint)(v.ptr))) -} - -func (e *Encoder) kUint8(f *codecFnInfo, rv reflect.Value) { - v := (*unsafeReflectValue)(unsafe.Pointer(&rv)) - e.e.EncodeUint(uint64(*(*uint8)(v.ptr))) -} - -func (e *Encoder) kUint16(f *codecFnInfo, rv reflect.Value) { - v := (*unsafeReflectValue)(unsafe.Pointer(&rv)) - e.e.EncodeUint(uint64(*(*uint16)(v.ptr))) -} - -func (e *Encoder) kUint32(f *codecFnInfo, rv reflect.Value) { - v := (*unsafeReflectValue)(unsafe.Pointer(&rv)) - e.e.EncodeUint(uint64(*(*uint32)(v.ptr))) -} - -func (e *Encoder) kUint64(f *codecFnInfo, rv reflect.Value) { - v := (*unsafeReflectValue)(unsafe.Pointer(&rv)) - e.e.EncodeUint(uint64(*(*uint64)(v.ptr))) -} - -func (e *Encoder) kUintptr(f *codecFnInfo, rv reflect.Value) { - v := (*unsafeReflectValue)(unsafe.Pointer(&rv)) - e.e.EncodeUint(uint64(*(*uintptr)(v.ptr))) -} - -// ------------ - -// func (d *Decoder) raw(f *codecFnInfo, rv reflect.Value) { -// urv := (*unsafeReflectValue)(unsafe.Pointer(&rv)) -// // if urv.flag&unsafeFlagIndir != 0 { -// // urv.ptr = *(*unsafe.Pointer)(urv.ptr) -// // } -// *(*[]byte)(urv.ptr) = d.rawBytes() -// } - -// func rv0t(rt reflect.Type) reflect.Value { -// ut := (*unsafeIntf)(unsafe.Pointer(&rt)) -// // we need to determine whether ifaceIndir, and then whether to just pass 0 as the ptr -// uv := unsafeReflectValue{ut.word, &zeroRTv, flag(rt.Kind())} -// return *(*reflect.Value)(unsafe.Pointer(&uv}) -// } - -// func rv2i(rv reflect.Value) interface{} { -// urv := (*unsafeReflectValue)(unsafe.Pointer(&rv)) -// // true references (map, func, chan, ptr - NOT slice) may be double-referenced as flagIndir -// var ptr unsafe.Pointer -// // kk := reflect.Kind(urv.flag & (1<<5 - 1)) -// // if (kk == reflect.Map || kk == reflect.Ptr || kk == reflect.Chan || kk == reflect.Func) && urv.flag&unsafeFlagIndir != 0 { -// if refBitset.isset(byte(urv.flag&(1<<5-1))) && urv.flag&unsafeFlagIndir != 0 { -// ptr = *(*unsafe.Pointer)(urv.ptr) -// } else { -// ptr = urv.ptr -// } -// return *(*interface{})(unsafe.Pointer(&unsafeIntf{typ: urv.typ, word: ptr})) -// // return *(*interface{})(unsafe.Pointer(&unsafeIntf{word: *(*unsafe.Pointer)(urv.ptr), typ: urv.typ})) -// // return *(*interface{})(unsafe.Pointer(&unsafeIntf{word: urv.ptr, typ: urv.typ})) -// } - -// func definitelyNil(v interface{}) bool { -// var ui *unsafeIntf = (*unsafeIntf)(unsafe.Pointer(&v)) -// if ui.word == nil { -// return true -// } -// var tk = reflect.TypeOf(v).Kind() -// return (tk == reflect.Interface || tk == reflect.Slice) && *(*unsafe.Pointer)(ui.word) == nil -// fmt.Printf(">>>> definitely nil: isnil: %v, TYPE: \t%T, word: %v, *word: %v, type: %v, nil: %v\n", -// v == nil, v, word, *((*unsafe.Pointer)(word)), ui.typ, nil) -// } - -// func keepAlive4BytesView(v string) { -// runtime.KeepAlive(v) -// } - -// func keepAlive4StringView(v []byte) { -// runtime.KeepAlive(v) -// } - -// func rt2id(rt reflect.Type) uintptr { -// return uintptr(((*unsafeIntf)(unsafe.Pointer(&rt))).word) -// // var i interface{} = rt -// // // ui := (*unsafeIntf)(unsafe.Pointer(&i)) -// // return ((*unsafeIntf)(unsafe.Pointer(&i))).word -// } - -// func rv2i(rv reflect.Value) interface{} { -// urv := (*unsafeReflectValue)(unsafe.Pointer(&rv)) -// // non-reference type: already indir -// // reference type: depend on flagIndir property ('cos maybe was double-referenced) -// // const (unsafeRvFlagKindMask = 1<<5 - 1 , unsafeRvFlagIndir = 1 << 7 ) -// // rvk := reflect.Kind(urv.flag & (1<<5 - 1)) -// // if (rvk == reflect.Chan || -// // rvk == reflect.Func || -// // rvk == reflect.Interface || -// // rvk == reflect.Map || -// // rvk == reflect.Ptr || -// // rvk == reflect.UnsafePointer) && urv.flag&(1<<8) != 0 { -// // fmt.Printf(">>>>> ---- double indirect reference: %v, %v\n", rvk, rv.Type()) -// // return *(*interface{})(unsafe.Pointer(&unsafeIntf{word: *(*unsafe.Pointer)(urv.ptr), typ: urv.typ})) -// // } -// if urv.flag&(1<<5-1) == uintptr(reflect.Map) && urv.flag&(1<<7) != 0 { -// // fmt.Printf(">>>>> ---- double indirect reference: %v, %v\n", rvk, rv.Type()) -// return *(*interface{})(unsafe.Pointer(&unsafeIntf{word: *(*unsafe.Pointer)(urv.ptr), typ: urv.typ})) -// } -// // fmt.Printf(">>>>> ++++ direct reference: %v, %v\n", rvk, rv.Type()) -// return *(*interface{})(unsafe.Pointer(&unsafeIntf{word: urv.ptr, typ: urv.typ})) -// } - -// const ( -// unsafeRvFlagKindMask = 1<<5 - 1 -// unsafeRvKindDirectIface = 1 << 5 -// unsafeRvFlagIndir = 1 << 7 -// unsafeRvFlagAddr = 1 << 8 -// unsafeRvFlagMethod = 1 << 9 - -// _USE_RV_INTERFACE bool = false -// _UNSAFE_RV_DEBUG = true -// ) - -// type unsafeRtype struct { -// _ [2]uintptr -// _ uint32 -// _ uint8 -// _ uint8 -// _ uint8 -// kind uint8 -// _ [2]uintptr -// _ int32 -// } - -// func _rv2i(rv reflect.Value) interface{} { -// // Note: From use, -// // - it's never an interface -// // - the only calls here are for ifaceIndir types. -// // (though that conditional is wrong) -// // To know for sure, we need the value of t.kind (which is not exposed). -// // -// // Need to validate the path: type is indirect ==> only value is indirect ==> default (value is direct) -// // - Type indirect, Value indirect: ==> numbers, boolean, slice, struct, array, string -// // - Type Direct, Value indirect: ==> map??? -// // - Type Direct, Value direct: ==> pointers, unsafe.Pointer, func, chan, map -// // -// // TRANSLATES TO: -// // if typeIndirect { } else if valueIndirect { } else { } -// // -// // Since we don't deal with funcs, then "flagNethod" is unset, and can be ignored. - -// if _USE_RV_INTERFACE { -// return rv.Interface() -// } -// urv := (*unsafeReflectValue)(unsafe.Pointer(&rv)) - -// // if urv.flag&unsafeRvFlagMethod != 0 || urv.flag&unsafeRvFlagKindMask == uintptr(reflect.Interface) { -// // println("***** IS flag method or interface: delegating to rv.Interface()") -// // return rv.Interface() -// // } - -// // if urv.flag&unsafeRvFlagKindMask == uintptr(reflect.Interface) { -// // println("***** IS Interface: delegate to rv.Interface") -// // return rv.Interface() -// // } -// // if urv.flag&unsafeRvFlagKindMask&unsafeRvKindDirectIface == 0 { -// // if urv.flag&unsafeRvFlagAddr == 0 { -// // println("***** IS ifaceIndir typ") -// // // ui := unsafeIntf{word: urv.ptr, typ: urv.typ} -// // // return *(*interface{})(unsafe.Pointer(&ui)) -// // // return *(*interface{})(unsafe.Pointer(&unsafeIntf{word: urv.ptr, typ: urv.typ})) -// // } -// // } else if urv.flag&unsafeRvFlagIndir != 0 { -// // println("***** IS flagindir") -// // // return *(*interface{})(unsafe.Pointer(&unsafeIntf{word: *(*unsafe.Pointer)(urv.ptr), typ: urv.typ})) -// // } else { -// // println("***** NOT flagindir") -// // return *(*interface{})(unsafe.Pointer(&unsafeIntf{word: urv.ptr, typ: urv.typ})) -// // } -// // println("***** default: delegate to rv.Interface") - -// urt := (*unsafeRtype)(unsafe.Pointer(urv.typ)) -// if _UNSAFE_RV_DEBUG { -// fmt.Printf(">>>> start: %v: ", rv.Type()) -// fmt.Printf("%v - %v\n", *urv, *urt) -// } -// if urt.kind&unsafeRvKindDirectIface == 0 { -// if _UNSAFE_RV_DEBUG { -// fmt.Printf("**** +ifaceIndir type: %v\n", rv.Type()) -// } -// // println("***** IS ifaceIndir typ") -// // if true || urv.flag&unsafeRvFlagAddr == 0 { -// // // println(" ***** IS NOT addr") -// return *(*interface{})(unsafe.Pointer(&unsafeIntf{word: urv.ptr, typ: urv.typ})) -// // } -// } else if urv.flag&unsafeRvFlagIndir != 0 { -// if _UNSAFE_RV_DEBUG { -// fmt.Printf("**** +flagIndir type: %v\n", rv.Type()) -// } -// // println("***** IS flagindir") -// return *(*interface{})(unsafe.Pointer(&unsafeIntf{word: *(*unsafe.Pointer)(urv.ptr), typ: urv.typ})) -// } else { -// if _UNSAFE_RV_DEBUG { -// fmt.Printf("**** -flagIndir type: %v\n", rv.Type()) -// } -// // println("***** NOT flagindir") -// return *(*interface{})(unsafe.Pointer(&unsafeIntf{word: urv.ptr, typ: urv.typ})) -// } -// // println("***** default: delegating to rv.Interface()") -// // return rv.Interface() -// } - -// var staticM0 = make(map[string]uint64) -// var staticI0 = (int32)(-5) - -// func staticRv2iTest() { -// i0 := (int32)(-5) -// m0 := make(map[string]uint16) -// m0["1"] = 1 -// for _, i := range []interface{}{ -// (int)(7), -// (uint)(8), -// (int16)(-9), -// (uint16)(19), -// (uintptr)(77), -// (bool)(true), -// float32(-32.7), -// float64(64.9), -// complex(float32(19), 5), -// complex(float64(-32), 7), -// [4]uint64{1, 2, 3, 4}, -// (chan<- int)(nil), // chan, -// rv2i, // func -// io.Writer(ioutil.Discard), -// make(map[string]uint), -// (map[string]uint)(nil), -// staticM0, -// m0, -// &m0, -// i0, -// &i0, -// &staticI0, -// &staticM0, -// []uint32{6, 7, 8}, -// "abc", -// Raw{}, -// RawExt{}, -// &Raw{}, -// &RawExt{}, -// unsafe.Pointer(&i0), -// } { -// i2 := rv2i(reflect.ValueOf(i)) -// eq := reflect.DeepEqual(i, i2) -// fmt.Printf(">>>> %v == %v? %v\n", i, i2, eq) -// } -// // os.Exit(0) -// } - -// func init() { -// staticRv2iTest() -// } - -// func rv2i(rv reflect.Value) interface{} { -// if _USE_RV_INTERFACE || rv.Kind() == reflect.Interface || rv.CanAddr() { -// return rv.Interface() -// } -// // var i interface{} -// // ui := (*unsafeIntf)(unsafe.Pointer(&i)) -// var ui unsafeIntf -// urv := (*unsafeReflectValue)(unsafe.Pointer(&rv)) -// // fmt.Printf("urv: flag: %b, typ: %b, ptr: %b\n", urv.flag, uintptr(urv.typ), uintptr(urv.ptr)) -// if (urv.flag&unsafeRvFlagKindMask)&unsafeRvKindDirectIface == 0 { -// if urv.flag&unsafeRvFlagAddr != 0 { -// println("***** indirect and addressable! Needs typed move - delegate to rv.Interface()") -// return rv.Interface() -// } -// println("****** indirect type/kind") -// ui.word = urv.ptr -// } else if urv.flag&unsafeRvFlagIndir != 0 { -// println("****** unsafe rv flag indir") -// ui.word = *(*unsafe.Pointer)(urv.ptr) -// } else { -// println("****** default: assign prt to word directly") -// ui.word = urv.ptr -// } -// // ui.word = urv.ptr -// ui.typ = urv.typ -// // fmt.Printf("(pointers) ui.typ: %p, word: %p\n", ui.typ, ui.word) -// // fmt.Printf("(binary) ui.typ: %b, word: %b\n", uintptr(ui.typ), uintptr(ui.word)) -// return *(*interface{})(unsafe.Pointer(&ui)) -// // return i -// } From 634e932322694bbdad787dd94da4c973564ebeaf Mon Sep 17 00:00:00 2001 From: Christopher Swenson Date: Fri, 2 Dec 2022 10:55:45 -0800 Subject: [PATCH 3/7] Run gofmt --- codec/bench/doc.go | 3 +- codec/bench/x_bench_gen_test.go | 4 +- codec/bench/x_bench_test.go | 1 + codec/bench/z_all_bench_test.go | 1 + codec/bench/z_all_x_bench_gen_test.go | 6 +- codec/bench/z_all_x_bench_test.go | 5 +- codec/binc.go | 91 +++++----- codec/codecgen.go | 1 + codec/codecgen/gen.go | 12 +- codec/codecgen/goversion_pkgpath_gte_go111.go | 1 + codec/codecgen/goversion_pkgpath_lt_go111.go | 1 + codec/decode.go | 24 +-- codec/doc.go | 160 +++++++++--------- codec/encode.go | 64 +++---- codec/gen.generated.go | 1 + codec/goversion_arrayof_gte_go15.go | 1 + codec/goversion_arrayof_lt_go15.go | 1 + codec/goversion_makemap_gte_go19.go | 1 + codec/goversion_makemap_lt_go19.go | 1 + ...version_unexportedembeddedptr_gte_go110.go | 1 + ...oversion_unexportedembeddedptr_lt_go110.go | 1 + codec/goversion_unsupported_lt_go14.go | 1 + codec/goversion_vendor_eq_go15.go | 1 + codec/goversion_vendor_eq_go16.go | 1 + codec/goversion_vendor_gte_go17.go | 1 + codec/goversion_vendor_lt_go15.go | 1 + codec/json.go | 14 +- codec/py_test.go | 1 + codec/rpc.go | 36 ++-- codec/values_test.go | 28 +-- codec/xml.go | 1 + codec/z_all_test.go | 4 +- 32 files changed, 244 insertions(+), 226 deletions(-) diff --git a/codec/bench/doc.go b/codec/bench/doc.go index ef68af9b..2a6049d9 100644 --- a/codec/bench/doc.go +++ b/codec/bench/doc.go @@ -10,5 +10,4 @@ Here, we have the benchmark files comparing against other encoding libraries. See README.md for more details. */ -package codec - +package codec diff --git a/codec/bench/x_bench_gen_test.go b/codec/bench/x_bench_gen_test.go index f1142e6b..0378e10e 100644 --- a/codec/bench/x_bench_gen_test.go +++ b/codec/bench/x_bench_gen_test.go @@ -1,5 +1,5 @@ -// +build x -// +build generated +//go:build x && generated +// +build x,generated // Copyright (c) 2012-2018 Ugorji Nwoke. All rights reserved. // Use of this source code is governed by a MIT license found in the LICENSE file. diff --git a/codec/bench/x_bench_test.go b/codec/bench/x_bench_test.go index e32c6d21..ce812129 100644 --- a/codec/bench/x_bench_test.go +++ b/codec/bench/x_bench_test.go @@ -1,3 +1,4 @@ +//go:build x // +build x // Copyright (c) 2012-2018 Ugorji Nwoke. All rights reserved. diff --git a/codec/bench/z_all_bench_test.go b/codec/bench/z_all_bench_test.go index 8352664e..440619df 100644 --- a/codec/bench/z_all_bench_test.go +++ b/codec/bench/z_all_bench_test.go @@ -1,6 +1,7 @@ // Copyright (c) 2012-2018 Ugorji Nwoke. All rights reserved. // Use of this source code is governed by a MIT license found in the LICENSE file. +//go:build (alltests || codecgen) && go1.7 // +build alltests codecgen // +build go1.7 diff --git a/codec/bench/z_all_x_bench_gen_test.go b/codec/bench/z_all_x_bench_gen_test.go index 9edb75c6..f9bbb426 100644 --- a/codec/bench/z_all_x_bench_gen_test.go +++ b/codec/bench/z_all_x_bench_gen_test.go @@ -1,10 +1,8 @@ // Copyright (c) 2012-2018 Ugorji Nwoke. All rights reserved. // Use of this source code is governed by a MIT license found in the LICENSE file. -// +build alltests -// +build x -// +build go1.7 -// +build generated +//go:build alltests && x && go1.7 && generated +// +build alltests,x,go1.7,generated package codec diff --git a/codec/bench/z_all_x_bench_test.go b/codec/bench/z_all_x_bench_test.go index 7a74fbcf..2ea84896 100644 --- a/codec/bench/z_all_x_bench_test.go +++ b/codec/bench/z_all_x_bench_test.go @@ -1,9 +1,8 @@ // Copyright (c) 2012-2018 Ugorji Nwoke. All rights reserved. // Use of this source code is governed by a MIT license found in the LICENSE file. -// +build alltests -// +build x -// +build go1.7 +//go:build alltests && x && go1.7 +// +build alltests,x,go1.7 package codec diff --git a/codec/binc.go b/codec/binc.go index fd9f4890..03fbb535 100644 --- a/codec/binc.go +++ b/codec/binc.go @@ -970,18 +970,18 @@ func (d *bincDecDriver) DecodeNaked() { //------------------------------------ -//BincHandle is a Handle for the Binc Schema-Free Encoding Format -//defined at https://github.com/ugorji/binc . +// BincHandle is a Handle for the Binc Schema-Free Encoding Format +// defined at https://github.com/ugorji/binc . // -//BincHandle currently supports all Binc features with the following EXCEPTIONS: -// - only integers up to 64 bits of precision are supported. -// big integers are unsupported. -// - Only IEEE 754 binary32 and binary64 floats are supported (ie Go float32 and float64 types). -// extended precision and decimal IEEE 754 floats are unsupported. -// - Only UTF-8 strings supported. -// Unicode_Other Binc types (UTF16, UTF32) are currently unsupported. +// BincHandle currently supports all Binc features with the following EXCEPTIONS: +// - only integers up to 64 bits of precision are supported. +// big integers are unsupported. +// - Only IEEE 754 binary32 and binary64 floats are supported (ie Go float32 and float64 types). +// extended precision and decimal IEEE 754 floats are unsupported. +// - Only UTF-8 strings supported. +// Unicode_Other Binc types (UTF16, UTF32) are currently unsupported. // -//Note that these EXCEPTIONS are temporary and full support is possible and may happen soon. +// Note that these EXCEPTIONS are temporary and full support is possible and may happen soon. type BincHandle struct { BasicHandle binaryEncodingType @@ -1046,50 +1046,49 @@ func (d *bincDecDriver) reset() { // // Format Description // -// A timestamp is composed of 3 components: +// A timestamp is composed of 3 components: // -// - secs: signed integer representing seconds since unix epoch -// - nsces: unsigned integer representing fractional seconds as a -// nanosecond offset within secs, in the range 0 <= nsecs < 1e9 -// - tz: signed integer representing timezone offset in minutes east of UTC, -// and a dst (daylight savings time) flag +// - secs: signed integer representing seconds since unix epoch +// - nsces: unsigned integer representing fractional seconds as a +// nanosecond offset within secs, in the range 0 <= nsecs < 1e9 +// - tz: signed integer representing timezone offset in minutes east of UTC, +// and a dst (daylight savings time) flag // -// When encoding a timestamp, the first byte is the descriptor, which -// defines which components are encoded and how many bytes are used to -// encode secs and nsecs components. *If secs/nsecs is 0 or tz is UTC, it -// is not encoded in the byte array explicitly*. +// When encoding a timestamp, the first byte is the descriptor, which +// defines which components are encoded and how many bytes are used to +// encode secs and nsecs components. *If secs/nsecs is 0 or tz is UTC, it +// is not encoded in the byte array explicitly*. // -// Descriptor 8 bits are of the form `A B C DDD EE`: -// A: Is secs component encoded? 1 = true -// B: Is nsecs component encoded? 1 = true -// C: Is tz component encoded? 1 = true -// DDD: Number of extra bytes for secs (range 0-7). -// If A = 1, secs encoded in DDD+1 bytes. -// If A = 0, secs is not encoded, and is assumed to be 0. -// If A = 1, then we need at least 1 byte to encode secs. -// DDD says the number of extra bytes beyond that 1. -// E.g. if DDD=0, then secs is represented in 1 byte. -// if DDD=2, then secs is represented in 3 bytes. -// EE: Number of extra bytes for nsecs (range 0-3). -// If B = 1, nsecs encoded in EE+1 bytes (similar to secs/DDD above) +// Descriptor 8 bits are of the form `A B C DDD EE`: +// A: Is secs component encoded? 1 = true +// B: Is nsecs component encoded? 1 = true +// C: Is tz component encoded? 1 = true +// DDD: Number of extra bytes for secs (range 0-7). +// If A = 1, secs encoded in DDD+1 bytes. +// If A = 0, secs is not encoded, and is assumed to be 0. +// If A = 1, then we need at least 1 byte to encode secs. +// DDD says the number of extra bytes beyond that 1. +// E.g. if DDD=0, then secs is represented in 1 byte. +// if DDD=2, then secs is represented in 3 bytes. +// EE: Number of extra bytes for nsecs (range 0-3). +// If B = 1, nsecs encoded in EE+1 bytes (similar to secs/DDD above) // -// Following the descriptor bytes, subsequent bytes are: +// Following the descriptor bytes, subsequent bytes are: // -// secs component encoded in `DDD + 1` bytes (if A == 1) -// nsecs component encoded in `EE + 1` bytes (if B == 1) -// tz component encoded in 2 bytes (if C == 1) +// secs component encoded in `DDD + 1` bytes (if A == 1) +// nsecs component encoded in `EE + 1` bytes (if B == 1) +// tz component encoded in 2 bytes (if C == 1) // -// secs and nsecs components are integers encoded in a BigEndian -// 2-complement encoding format. +// secs and nsecs components are integers encoded in a BigEndian +// 2-complement encoding format. // -// tz component is encoded as 2 bytes (16 bits). Most significant bit 15 to -// Least significant bit 0 are described below: -// -// Timezone offset has a range of -12:00 to +14:00 (ie -720 to +840 minutes). -// Bit 15 = have\_dst: set to 1 if we set the dst flag. -// Bit 14 = dst\_on: set to 1 if dst is in effect at the time, or 0 if not. -// Bits 13..0 = timezone offset in minutes. It is a signed integer in Big Endian format. +// tz component is encoded as 2 bytes (16 bits). Most significant bit 15 to +// Least significant bit 0 are described below: // +// Timezone offset has a range of -12:00 to +14:00 (ie -720 to +840 minutes). +// Bit 15 = have\_dst: set to 1 if we set the dst flag. +// Bit 14 = dst\_on: set to 1 if dst is in effect at the time, or 0 if not. +// Bits 13..0 = timezone offset in minutes. It is a signed integer in Big Endian format. func bincEncodeTime(t time.Time) []byte { //t := rv.Interface().(time.Time) tsecs, tnsecs := t.Unix(), t.Nanosecond() diff --git a/codec/codecgen.go b/codec/codecgen.go index cc5ecec6..28fa8105 100644 --- a/codec/codecgen.go +++ b/codec/codecgen.go @@ -1,3 +1,4 @@ +//go:build codecgen || generated // +build codecgen generated package codec diff --git a/codec/codecgen/gen.go b/codec/codecgen/gen.go index cda3b7d5..806bddeb 100644 --- a/codec/codecgen/gen.go +++ b/codec/codecgen/gen.go @@ -10,12 +10,12 @@ // - for binary formats (cbor, etc): 25% on encoding and 30% on decoding to/from []byte // - for text formats (json, etc): 15% on encoding and 25% on decoding to/from []byte // -// Note that (as of Dec 2018) codecgen completely ignores +// # Note that (as of Dec 2018) codecgen completely ignores // -// - MissingFielder interface -// (if you types implements it, codecgen ignores that) -// - decode option PreferArrayOverSlice -// (we cannot dynamically create non-static arrays without reflection) +// - MissingFielder interface +// (if you types implements it, codecgen ignores that) +// - decode option PreferArrayOverSlice +// (we cannot dynamically create non-static arrays without reflection) // // In explicit package terms: codecgen generates codec.Selfer implementations for a set of types. package main @@ -111,10 +111,10 @@ typ = reflect.TypeOf(t{{ $index }}) // It finds all types T in the files, and it creates 2 tmp files (frun). // - main package file passed to 'go run' // - package level file which calls *genRunner.Selfer to write Selfer impls for each T. +// // We use a package level file so that it can reference unexported types in the package being worked on. // Tool then executes: "go run __frun__" which creates fout. // fout contains Codec(En|De)codeSelf implementations for every type T. -// func Generate(outfile, buildTag, codecPkgPath string, uid int64, goRunTag string, st string, diff --git a/codec/codecgen/goversion_pkgpath_gte_go111.go b/codec/codecgen/goversion_pkgpath_gte_go111.go index 3f1e7cc9..48cd37d7 100644 --- a/codec/codecgen/goversion_pkgpath_gte_go111.go +++ b/codec/codecgen/goversion_pkgpath_gte_go111.go @@ -1,6 +1,7 @@ // Copyright (c) 2012-2018 Ugorji Nwoke. All rights reserved. // Use of this source code is governed by a MIT license found in the LICENSE file. +//go:build go1.11 // +build go1.11 package main diff --git a/codec/codecgen/goversion_pkgpath_lt_go111.go b/codec/codecgen/goversion_pkgpath_lt_go111.go index be50035c..68560514 100644 --- a/codec/codecgen/goversion_pkgpath_lt_go111.go +++ b/codec/codecgen/goversion_pkgpath_lt_go111.go @@ -1,6 +1,7 @@ // Copyright (c) 2012-2018 Ugorji Nwoke. All rights reserved. // Use of this source code is governed by a MIT license found in the LICENSE file. +//go:build !go1.11 // +build !go1.11 package main diff --git a/codec/decode.go b/codec/decode.go index 27d36201..381f2bab 100644 --- a/codec/decode.go +++ b/codec/decode.go @@ -2445,14 +2445,15 @@ func (d *Decoder) naked() *decNaked { // We will decode and store a value in that nil interface. // // Sample usages: -// // Decoding into a non-nil typed value -// var f float32 -// err = codec.NewDecoder(r, handle).Decode(&f) // -// // Decoding into nil interface -// var v interface{} -// dec := codec.NewDecoder(r, handle) -// err = dec.Decode(&v) +// // Decoding into a non-nil typed value +// var f float32 +// err = codec.NewDecoder(r, handle).Decode(&f) +// +// // Decoding into nil interface +// var v interface{} +// dec := codec.NewDecoder(r, handle) +// err = dec.Decode(&v) // // When decoding into a nil interface{}, we will decode into an appropriate value based // on the contents of the stream: @@ -2460,6 +2461,7 @@ func (d *Decoder) naked() *decNaked { // - Other values are decoded appropriately depending on the type: // bool, string, []byte, time.Time, etc // - Extensions are decoded as RawExt (if no ext function registered for the tag) +// // Configurations exist on the Handle to override defaults // (e.g. for MapType, SliceType and how to decode raw bytes). // @@ -3017,10 +3019,10 @@ func detachZeroCopyBytes(isBytesReader bool, dest []byte, in []byte) (out []byte } // decInferLen will infer a sensible length, given the following: -// - clen: length wanted. -// - maxlen: max length to be returned. -// if <= 0, it is unset, and we infer it based on the unit size -// - unit: number of bytes for each element of the collection +// - clen: length wanted. +// - maxlen: max length to be returned. +// if <= 0, it is unset, and we infer it based on the unit size +// - unit: number of bytes for each element of the collection func decInferLen(clen, maxlen, unit int) (rvlen int) { // handle when maxlen is not set i.e. <= 0 if clen <= 0 { diff --git a/codec/doc.go b/codec/doc.go index d8530974..b828068f 100644 --- a/codec/doc.go +++ b/codec/doc.go @@ -73,30 +73,30 @@ Rich Feature Set includes: - Drop-in replacement for encoding/json. `json:` key in struct tag supported. - Provides a RPC Server and Client Codec for net/rpc communication protocol. - Handle unique idiosyncrasies of codecs e.g. - - For messagepack, configure how ambiguities in handling raw bytes are resolved - - For messagepack, provide rpc server/client codec to support - msgpack-rpc protocol defined at: - https://github.com/msgpack-rpc/msgpack-rpc/blob/master/spec.md + - For messagepack, configure how ambiguities in handling raw bytes are resolved + - For messagepack, provide rpc server/client codec to support + msgpack-rpc protocol defined at: + https://github.com/msgpack-rpc/msgpack-rpc/blob/master/spec.md -Extension Support +# Extension Support Users can register a function to handle the encoding or decoding of their custom types. There are no restrictions on what the custom type can be. Some examples: - type BisSet []int - type BitSet64 uint64 - type UUID string - type MyStructWithUnexportedFields struct { a int; b bool; c []int; } - type GifImage struct { ... } + type BisSet []int + type BitSet64 uint64 + type UUID string + type MyStructWithUnexportedFields struct { a int; b bool; c []int; } + type GifImage struct { ... } As an illustration, MyStructWithUnexportedFields would normally be encoded as an empty map because it has no exported fields, while UUID would be encoded as a string. However, with extension support, you can encode any of these however you like. -Custom Encoding and Decoding +# Custom Encoding and Decoding This package maintains symmetry in the encoding and decoding halfs. We determine how to encode or decode by walking this decision tree @@ -117,12 +117,12 @@ Consequently, if a type only defines one-half of the symmetry then that type doesn't satisfy the check and we will continue walking down the decision tree. -RPC +# RPC RPC Client and Server Codecs are implemented, so the codecs can be used with the standard net/rpc package. -Usage +# Usage The Handle is SAFE for concurrent READ, but NOT SAFE for concurrent modification. @@ -130,97 +130,95 @@ The Encoder and Decoder are NOT safe for concurrent use. Consequently, the usage model is basically: - - Create and initialize the Handle before any use. - Once created, DO NOT modify it. - - Multiple Encoders or Decoders can now use the Handle concurrently. - They only read information off the Handle (never write). - - However, each Encoder or Decoder MUST not be used concurrently - - To re-use an Encoder/Decoder, call Reset(...) on it first. - This allows you use state maintained on the Encoder/Decoder. + - Create and initialize the Handle before any use. + Once created, DO NOT modify it. + - Multiple Encoders or Decoders can now use the Handle concurrently. + They only read information off the Handle (never write). + - However, each Encoder or Decoder MUST not be used concurrently + - To re-use an Encoder/Decoder, call Reset(...) on it first. + This allows you use state maintained on the Encoder/Decoder. Sample usage model: - // create and configure Handle - var ( - bh codec.BincHandle - mh codec.MsgpackHandle - ch codec.CborHandle - ) - - mh.MapType = reflect.TypeOf(map[string]interface{}(nil)) - - // configure extensions - // e.g. for msgpack, define functions and enable Time support for tag 1 - // mh.SetExt(reflect.TypeOf(time.Time{}), 1, myExt) - - // create and use decoder/encoder - var ( - r io.Reader - w io.Writer - b []byte - h = &bh // or mh to use msgpack - ) - - dec = codec.NewDecoder(r, h) - dec = codec.NewDecoderBytes(b, h) - err = dec.Decode(&v) - - enc = codec.NewEncoder(w, h) - enc = codec.NewEncoderBytes(&b, h) - err = enc.Encode(v) - - //RPC Server - go func() { - for { - conn, err := listener.Accept() - rpcCodec := codec.GoRpc.ServerCodec(conn, h) - //OR rpcCodec := codec.MsgpackSpecRpc.ServerCodec(conn, h) - rpc.ServeCodec(rpcCodec) - } - }() - - //RPC Communication (client side) - conn, err = net.Dial("tcp", "localhost:5555") - rpcCodec := codec.GoRpc.ClientCodec(conn, h) - //OR rpcCodec := codec.MsgpackSpecRpc.ClientCodec(conn, h) - client := rpc.NewClientWithCodec(rpcCodec) - -Running Tests + // create and configure Handle + var ( + bh codec.BincHandle + mh codec.MsgpackHandle + ch codec.CborHandle + ) + + mh.MapType = reflect.TypeOf(map[string]interface{}(nil)) + + // configure extensions + // e.g. for msgpack, define functions and enable Time support for tag 1 + // mh.SetExt(reflect.TypeOf(time.Time{}), 1, myExt) + + // create and use decoder/encoder + var ( + r io.Reader + w io.Writer + b []byte + h = &bh // or mh to use msgpack + ) + + dec = codec.NewDecoder(r, h) + dec = codec.NewDecoderBytes(b, h) + err = dec.Decode(&v) + + enc = codec.NewEncoder(w, h) + enc = codec.NewEncoderBytes(&b, h) + err = enc.Encode(v) + + //RPC Server + go func() { + for { + conn, err := listener.Accept() + rpcCodec := codec.GoRpc.ServerCodec(conn, h) + //OR rpcCodec := codec.MsgpackSpecRpc.ServerCodec(conn, h) + rpc.ServeCodec(rpcCodec) + } + }() + + //RPC Communication (client side) + conn, err = net.Dial("tcp", "localhost:5555") + rpcCodec := codec.GoRpc.ClientCodec(conn, h) + //OR rpcCodec := codec.MsgpackSpecRpc.ClientCodec(conn, h) + client := rpc.NewClientWithCodec(rpcCodec) + +# Running Tests To run tests, use the following: - go test + go test To run the full suite of tests, use the following: - go test -tags alltests -run Suite + go test -tags alltests -run Suite You can run the tag 'safe' to run tests or build in safe mode. e.g. - go test -tags safe -run Json - go test -tags "alltests safe" -run Suite + go test -tags safe -run Json + go test -tags "alltests safe" -run Suite Running Benchmarks - cd bench - go test -bench . -benchmem -benchtime 1s - + cd bench + go test -bench . -benchmem -benchtime 1s + Please see http://github.com/ugorji/go-codec-bench . -Caveats +# Caveats Struct fields matching the following are ignored during encoding and decoding - - struct tag value set to - - - func, complex numbers, unsafe pointers - - unexported and not embedded - - unexported and embedded and not struct kind - - unexported and embedded pointers (from go1.10) + - struct tag value set to - + - func, complex numbers, unsafe pointers + - unexported and not embedded + - unexported and embedded and not struct kind + - unexported and embedded pointers (from go1.10) Every other field in a struct will be encoded/decoded. Embedded fields are encoded as if they exist in the top-level struct, with some caveats. See Encode documentation. - */ package codec - diff --git a/codec/encode.go b/codec/encode.go index 9d8d1164..29c723e1 100644 --- a/codec/encode.go +++ b/codec/encode.go @@ -1370,16 +1370,17 @@ func (e *Encoder) ResetBytes(out *[]byte) { // To set an option on all fields (e.g. omitempty on all fields), you // can create a field called _struct, and set flags on it. The options // which can be set on _struct are: -// - omitempty: so all fields are omitted if empty -// - toarray: so struct is encoded as an array -// - int: so struct key names are encoded as signed integers (instead of strings) -// - uint: so struct key names are encoded as unsigned integers (instead of strings) -// - float: so struct key names are encoded as floats (instead of strings) +// - omitempty: so all fields are omitted if empty +// - toarray: so struct is encoded as an array +// - int: so struct key names are encoded as signed integers (instead of strings) +// - uint: so struct key names are encoded as unsigned integers (instead of strings) +// - float: so struct key names are encoded as floats (instead of strings) +// // More details on these below. // // Struct values "usually" encode as maps. Each exported struct field is encoded unless: -// - the field's tag is "-", OR -// - the field is empty (empty or the zero value) and its tag specifies the "omitempty" option. +// - the field's tag is "-", OR +// - the field is empty (empty or the zero value) and its tag specifies the "omitempty" option. // // When encoding as a map, the first string in the tag (before the comma) // is the map key string to use when encoding. @@ -1392,8 +1393,9 @@ func (e *Encoder) ResetBytes(out *[]byte) { // This is done with the int,uint or float option on the _struct field (see above). // // However, struct values may encode as arrays. This happens when: -// - StructToArray Encode option is set, OR -// - the tag on the _struct field sets the "toarray" option +// - StructToArray Encode option is set, OR +// - the tag on the _struct field sets the "toarray" option +// // Note that omitempty is ignored when encoding struct values as arrays, // as an entry must be encoded for each field, to maintain its position. // @@ -1403,33 +1405,33 @@ func (e *Encoder) ResetBytes(out *[]byte) { // or interface value, and any array, slice, map, or string of length zero. // // Anonymous fields are encoded inline except: -// - the struct tag specifies a replacement name (first value) -// - the field is of an interface type +// - the struct tag specifies a replacement name (first value) +// - the field is of an interface type // // Examples: // -// // NOTE: 'json:' can be used as struct tag key, in place 'codec:' below. -// type MyStruct struct { -// _struct bool `codec:",omitempty"` //set omitempty for every field -// Field1 string `codec:"-"` //skip this field -// Field2 int `codec:"myName"` //Use key "myName" in encode stream -// Field3 int32 `codec:",omitempty"` //use key "Field3". Omit if empty. -// Field4 bool `codec:"f4,omitempty"` //use key "f4". Omit if empty. -// io.Reader //use key "Reader". -// MyStruct `codec:"my1" //use key "my1". -// MyStruct //inline it -// ... -// } +// // NOTE: 'json:' can be used as struct tag key, in place 'codec:' below. +// type MyStruct struct { +// _struct bool `codec:",omitempty"` //set omitempty for every field +// Field1 string `codec:"-"` //skip this field +// Field2 int `codec:"myName"` //Use key "myName" in encode stream +// Field3 int32 `codec:",omitempty"` //use key "Field3". Omit if empty. +// Field4 bool `codec:"f4,omitempty"` //use key "f4". Omit if empty. +// io.Reader //use key "Reader". +// MyStruct `codec:"my1" //use key "my1". +// MyStruct //inline it +// ... +// } // -// type MyStruct struct { -// _struct bool `codec:",toarray"` //encode struct as an array -// } +// type MyStruct struct { +// _struct bool `codec:",toarray"` //encode struct as an array +// } // -// type MyStruct struct { -// _struct bool `codec:",uint"` //encode struct with "unsigned integer" keys -// Field1 string `codec:"1"` //encode Field1 key using: EncodeInt(1) -// Field2 string `codec:"2"` //encode Field2 key using: EncodeInt(2) -// } +// type MyStruct struct { +// _struct bool `codec:",uint"` //encode struct with "unsigned integer" keys +// Field1 string `codec:"1"` //encode Field1 key using: EncodeInt(1) +// Field2 string `codec:"2"` //encode Field2 key using: EncodeInt(2) +// } // // The mode of encoding is based on the type of the value. When a value is seen: // - If a Selfer, call its CodecEncodeSelf method diff --git a/codec/gen.generated.go b/codec/gen.generated.go index 8b00090a..2178efd5 100644 --- a/codec/gen.generated.go +++ b/codec/gen.generated.go @@ -1,3 +1,4 @@ +//go:build codecgen.exec // +build codecgen.exec // Copyright (c) 2012-2018 Ugorji Nwoke. All rights reserved. diff --git a/codec/goversion_arrayof_gte_go15.go b/codec/goversion_arrayof_gte_go15.go index 9ddbe205..7978a777 100644 --- a/codec/goversion_arrayof_gte_go15.go +++ b/codec/goversion_arrayof_gte_go15.go @@ -1,6 +1,7 @@ // Copyright (c) 2012-2018 Ugorji Nwoke. All rights reserved. // Use of this source code is governed by a MIT license found in the LICENSE file. +//go:build go1.5 // +build go1.5 package codec diff --git a/codec/goversion_arrayof_lt_go15.go b/codec/goversion_arrayof_lt_go15.go index c5fcd669..bcff2783 100644 --- a/codec/goversion_arrayof_lt_go15.go +++ b/codec/goversion_arrayof_lt_go15.go @@ -1,6 +1,7 @@ // Copyright (c) 2012-2018 Ugorji Nwoke. All rights reserved. // Use of this source code is governed by a MIT license found in the LICENSE file. +//go:build !go1.5 // +build !go1.5 package codec diff --git a/codec/goversion_makemap_gte_go19.go b/codec/goversion_makemap_gte_go19.go index bc39d6b7..49323557 100644 --- a/codec/goversion_makemap_gte_go19.go +++ b/codec/goversion_makemap_gte_go19.go @@ -1,6 +1,7 @@ // Copyright (c) 2012-2018 Ugorji Nwoke. All rights reserved. // Use of this source code is governed by a MIT license found in the LICENSE file. +//go:build go1.9 // +build go1.9 package codec diff --git a/codec/goversion_makemap_lt_go19.go b/codec/goversion_makemap_lt_go19.go index cde4cd37..4602a536 100644 --- a/codec/goversion_makemap_lt_go19.go +++ b/codec/goversion_makemap_lt_go19.go @@ -1,6 +1,7 @@ // Copyright (c) 2012-2018 Ugorji Nwoke. All rights reserved. // Use of this source code is governed by a MIT license found in the LICENSE file. +//go:build !go1.9 // +build !go1.9 package codec diff --git a/codec/goversion_unexportedembeddedptr_gte_go110.go b/codec/goversion_unexportedembeddedptr_gte_go110.go index 794133a3..ec4d3fae 100644 --- a/codec/goversion_unexportedembeddedptr_gte_go110.go +++ b/codec/goversion_unexportedembeddedptr_gte_go110.go @@ -1,6 +1,7 @@ // Copyright (c) 2012-2018 Ugorji Nwoke. All rights reserved. // Use of this source code is governed by a MIT license found in the LICENSE file. +//go:build go1.10 // +build go1.10 package codec diff --git a/codec/goversion_unexportedembeddedptr_lt_go110.go b/codec/goversion_unexportedembeddedptr_lt_go110.go index fd92ede3..49f24cf1 100644 --- a/codec/goversion_unexportedembeddedptr_lt_go110.go +++ b/codec/goversion_unexportedembeddedptr_lt_go110.go @@ -1,6 +1,7 @@ // Copyright (c) 2012-2018 Ugorji Nwoke. All rights reserved. // Use of this source code is governed by a MIT license found in the LICENSE file. +//go:build !go1.10 // +build !go1.10 package codec diff --git a/codec/goversion_unsupported_lt_go14.go b/codec/goversion_unsupported_lt_go14.go index 8debfa61..d3524be3 100644 --- a/codec/goversion_unsupported_lt_go14.go +++ b/codec/goversion_unsupported_lt_go14.go @@ -1,6 +1,7 @@ // Copyright (c) 2012-2018 Ugorji Nwoke. All rights reserved. // Use of this source code is governed by a MIT license found in the LICENSE file. +//go:build !go1.4 // +build !go1.4 package codec diff --git a/codec/goversion_vendor_eq_go15.go b/codec/goversion_vendor_eq_go15.go index 0f1bb01e..a7103b02 100644 --- a/codec/goversion_vendor_eq_go15.go +++ b/codec/goversion_vendor_eq_go15.go @@ -1,6 +1,7 @@ // Copyright (c) 2012-2018 Ugorji Nwoke. All rights reserved. // Use of this source code is governed by a MIT license found in the LICENSE file. +//go:build go1.5 && !go1.6 // +build go1.5,!go1.6 package codec diff --git a/codec/goversion_vendor_eq_go16.go b/codec/goversion_vendor_eq_go16.go index 2fb4b057..28d332c4 100644 --- a/codec/goversion_vendor_eq_go16.go +++ b/codec/goversion_vendor_eq_go16.go @@ -1,6 +1,7 @@ // Copyright (c) 2012-2018 Ugorji Nwoke. All rights reserved. // Use of this source code is governed by a MIT license found in the LICENSE file. +//go:build go1.6 && !go1.7 // +build go1.6,!go1.7 package codec diff --git a/codec/goversion_vendor_gte_go17.go b/codec/goversion_vendor_gte_go17.go index c5b81550..50513afb 100644 --- a/codec/goversion_vendor_gte_go17.go +++ b/codec/goversion_vendor_gte_go17.go @@ -1,6 +1,7 @@ // Copyright (c) 2012-2018 Ugorji Nwoke. All rights reserved. // Use of this source code is governed by a MIT license found in the LICENSE file. +//go:build go1.7 // +build go1.7 package codec diff --git a/codec/goversion_vendor_lt_go15.go b/codec/goversion_vendor_lt_go15.go index 837cf240..5a3079d2 100644 --- a/codec/goversion_vendor_lt_go15.go +++ b/codec/goversion_vendor_lt_go15.go @@ -1,6 +1,7 @@ // Copyright (c) 2012-2018 Ugorji Nwoke. All rights reserved. // Use of this source code is governed by a MIT license found in the LICENSE file. +//go:build !go1.5 // +build !go1.5 package codec diff --git a/codec/json.go b/codec/json.go index a731c816..5fc375f9 100644 --- a/codec/json.go +++ b/codec/json.go @@ -1282,13 +1282,13 @@ func (d *jsonDecDriver) DecodeNaked() { // JsonHandle is a handle for JSON encoding format. // // Json is comprehensively supported: -// - decodes numbers into interface{} as int, uint or float64 -// based on how the number looks and some config parameters e.g. PreferFloat, SignedInt, etc. -// - decode integers from float formatted numbers e.g. 1.27e+8 -// - decode any json value (numbers, bool, etc) from quoted strings -// - configurable way to encode/decode []byte . -// by default, encodes and decodes []byte using base64 Std Encoding -// - UTF-8 support for encoding and decoding +// - decodes numbers into interface{} as int, uint or float64 +// based on how the number looks and some config parameters e.g. PreferFloat, SignedInt, etc. +// - decode integers from float formatted numbers e.g. 1.27e+8 +// - decode any json value (numbers, bool, etc) from quoted strings +// - configurable way to encode/decode []byte . +// by default, encodes and decodes []byte using base64 Std Encoding +// - UTF-8 support for encoding and decoding // // It has better performance than the json library in the standard library, // by leveraging the performance improvements of the codec library. diff --git a/codec/py_test.go b/codec/py_test.go index d5ff6d25..0310d88e 100644 --- a/codec/py_test.go +++ b/codec/py_test.go @@ -1,3 +1,4 @@ +//go:build x // +build x // Copyright (c) 2012-2018 Ugorji Nwoke. All rights reserved. diff --git a/codec/rpc.go b/codec/rpc.go index 39250881..3fa9f547 100644 --- a/codec/rpc.go +++ b/codec/rpc.go @@ -191,29 +191,31 @@ type goRpc struct{} // This ensures we use an adequate buffer during reading and writing. // If not configured, we will internally initialize and use a buffer during reads and writes. // This can be turned off via the RPCNoBuffer option on the Handle. -// var handle codec.JsonHandle -// handle.RPCNoBuffer = true // turns off attempt by rpc module to initialize a buffer +// +// var handle codec.JsonHandle +// handle.RPCNoBuffer = true // turns off attempt by rpc module to initialize a buffer // // Example 1: one way of configuring buffering explicitly: -// var handle codec.JsonHandle // codec handle -// handle.ReaderBufferSize = 1024 -// handle.WriterBufferSize = 1024 -// var conn io.ReadWriteCloser // connection got from a socket -// var serverCodec = GoRpc.ServerCodec(conn, handle) -// var clientCodec = GoRpc.ClientCodec(conn, handle) +// +// var handle codec.JsonHandle // codec handle +// handle.ReaderBufferSize = 1024 +// handle.WriterBufferSize = 1024 +// var conn io.ReadWriteCloser // connection got from a socket +// var serverCodec = GoRpc.ServerCodec(conn, handle) +// var clientCodec = GoRpc.ClientCodec(conn, handle) // // Example 2: you can also explicitly create a buffered connection yourself, // and not worry about configuring the buffer sizes in the Handle. -// var handle codec.Handle // codec handle -// var conn io.ReadWriteCloser // connection got from a socket -// var bufconn = struct { // bufconn here is a buffered io.ReadWriteCloser -// io.Closer -// *bufio.Reader -// *bufio.Writer -// }{conn, bufio.NewReader(conn), bufio.NewWriter(conn)} -// var serverCodec = GoRpc.ServerCodec(bufconn, handle) -// var clientCodec = GoRpc.ClientCodec(bufconn, handle) // +// var handle codec.Handle // codec handle +// var conn io.ReadWriteCloser // connection got from a socket +// var bufconn = struct { // bufconn here is a buffered io.ReadWriteCloser +// io.Closer +// *bufio.Reader +// *bufio.Writer +// }{conn, bufio.NewReader(conn), bufio.NewWriter(conn)} +// var serverCodec = GoRpc.ServerCodec(bufconn, handle) +// var clientCodec = GoRpc.ClientCodec(bufconn, handle) var GoRpc goRpc func (x goRpc) ServerCodec(conn io.ReadWriteCloser, h Handle) rpc.ServerCodec { diff --git a/codec/values_test.go b/codec/values_test.go index 536e852c..8c2d0067 100644 --- a/codec/values_test.go +++ b/codec/values_test.go @@ -204,14 +204,14 @@ func populateTestStrucCommon(ts *TestStrucCommon, n int, bench, useInterface, us AF64slice: []float64{ 11.11e-11, -11.11e+11, - 2.222E+12, -2.222E-12, - -555.55E-5, 555.55E+5, - 666.66E-6, -666.66E+6, - 7777.7777E-7, -7777.7777E-7, - -8888.8888E+8, 8888.8888E+8, - -99999.9999E+9, 99999.9999E+9, + 2.222e+12, -2.222e-12, + -555.55e-5, 555.55e+5, + 666.66e-6, -666.66e+6, + 7777.7777e-7, -7777.7777e-7, + -8888.8888e+8, 8888.8888e+8, + -99999.9999e+9, 99999.9999e+9, // these below are hairy enough to need strconv.ParseFloat - 33.33E-33, -33.33E+33, + 33.33e-33, -33.33e+33, 44.44e+44, -44.44e-44, // standard ones 0, -1, 1, @@ -221,14 +221,14 @@ func populateTestStrucCommon(ts *TestStrucCommon, n int, bench, useInterface, us }, AF32slice: []float32{ 11.11e-11, -11.11e+11, - 2.222E+12, -2.222E-12, - -555.55E-5, 555.55E+5, - 666.66E-6, -666.66E+6, - 7777.7777E-7, -7777.7777E-7, - -8888.8888E+8, 8888.8888E+8, - -99999.9999E+9, 99999.9999E+9, + 2.222e+12, -2.222e-12, + -555.55e-5, 555.55e+5, + 666.66e-6, -666.66e+6, + 7777.7777e-7, -7777.7777e-7, + -8888.8888e+8, 8888.8888e+8, + -99999.9999e+9, 99999.9999e+9, // these below are hairy enough to need strconv.ParseFloat - 33.33E-33, -33.33E+33, + 33.33e-33, -33.33e+33, // standard ones 0, -1, 1, // math.Float32frombits(0x7FF00000), math.Float32frombits(0xFFF00000), //+inf and -inf diff --git a/codec/xml.go b/codec/xml.go index 19fc36ca..fe4b80c8 100644 --- a/codec/xml.go +++ b/codec/xml.go @@ -1,6 +1,7 @@ // Copyright (c) 2012-2018 Ugorji Nwoke. All rights reserved. // Use of this source code is governed by a MIT license found in the LICENSE file. +//go:build ignore // +build ignore package codec diff --git a/codec/z_all_test.go b/codec/z_all_test.go index fc610905..ec6c20b8 100644 --- a/codec/z_all_test.go +++ b/codec/z_all_test.go @@ -1,8 +1,8 @@ // Copyright (c) 2012-2018 Ugorji Nwoke. All rights reserved. // Use of this source code is governed by a MIT license found in the LICENSE file. -// +build alltests -// +build go1.7 +//go:build alltests && go1.7 +// +build alltests,go1.7 package codec From cf11a7204e2e7f8ac185951ef9f3de0de3fe2c07 Mon Sep 17 00:00:00 2001 From: Christopher Swenson Date: Fri, 2 Dec 2022 11:04:43 -0800 Subject: [PATCH 4/7] Fix format check --- .github/workflows/test.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 0159e884..91257dbe 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -25,7 +25,7 @@ jobs: - uses: actions/setup-go@v3 with: go-version: ${{ needs.get-go-version.outputs.go-version }} - - run: '[ "$(gofmt -l . | wc -l)" -gt 0 ] && false' + - run: '[ "$(gofmt -l . | wc -l)" -gt 0 ]' test: name: codec test From a0cfa02849286238bccc44a566e4e9e5531ccd72 Mon Sep 17 00:00:00 2001 From: Christopher Swenson Date: Fri, 2 Dec 2022 11:10:32 -0800 Subject: [PATCH 5/7] Fix format check again --- .github/workflows/test.yaml | 2 +- codec/internal/testdata/raft_v055.go | 38 +++++++++++------------ codec/internal/testdata/raft_v115.go | 46 ++++++++++++++-------------- codec/internal/testdata/raft_v116.go | 34 ++++++++++---------- 4 files changed, 60 insertions(+), 60 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 91257dbe..8fed4ee0 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -25,7 +25,7 @@ jobs: - uses: actions/setup-go@v3 with: go-version: ${{ needs.get-go-version.outputs.go-version }} - - run: '[ "$(gofmt -l . | wc -l)" -gt 0 ]' + - run: 'exit $(( $(gofmt -s -l . | wc -l) == 0 ))' test: name: codec test diff --git a/codec/internal/testdata/raft_v055.go b/codec/internal/testdata/raft_v055.go index 419ada68..8c7176be 100644 --- a/codec/internal/testdata/raft_v055.go +++ b/codec/internal/testdata/raft_v055.go @@ -10,25 +10,25 @@ var RaftV055 = []SerializeTest{ {"InstallSnapshotResponse", "85a441646472c0a24944c0af50726f746f636f6c56657273696f6e00a753756363657373c3a45465726d0a", InstallSnapshotResponse{RPCHeader: RPCHeader{ProtocolVersion: 0, ID: []uint8(nil), Addr: []uint8(nil)}, Term: 0xa, Success: true}}, {"RequestVoteRequest", "88a441646472a762757474657273a943616e646964617465c0a24944c0ac4c6173744c6f67496e64657864ab4c6173744c6f675465726d13b24c6561646572736869705472616e73666572c2af50726f746f636f6c56657273696f6e00a45465726d14", RequestVoteRequest{RPCHeader: RPCHeader{ProtocolVersion: 0, ID: []uint8(nil), Addr: []uint8{0x62, 0x75, 0x74, 0x74, 0x65, 0x72, 0x73}}, Term: 0x14, Candidate: []uint8(nil), LastLogIndex: 0x64, LastLogTerm: 0x13, LeadershipTransfer: false}}, {"RequestVoteResponse", "86a441646472c0a74772616e746564c2a24944c0a55065657273c0af50726f746f636f6c56657273696f6e00a45465726d64", RequestVoteResponse{RPCHeader: RPCHeader{ProtocolVersion: 0, ID: []uint8(nil), Addr: []uint8(nil)}, Term: 0x64, Peers: []uint8(nil), Granted: false}}, - {"[][]uint8", "91a96f7665722068657265", [][]uint8{[]uint8{0x6f, 0x76, 0x65, 0x72, 0x20, 0x68, 0x65, 0x72, 0x65}}}, - {"[][]uint8", "91da002430383530383039372d366262642d643738652d323636362d353238363631336630623963", [][]uint8{[]uint8{0x30, 0x38, 0x35, 0x30, 0x38, 0x30, 0x39, 0x37, 0x2d, 0x36, 0x62, 0x62, 0x64, 0x2d, 0x64, 0x37, 0x38, 0x65, 0x2d, 0x32, 0x36, 0x36, 0x36, 0x2d, 0x35, 0x32, 0x38, 0x36, 0x36, 0x31, 0x33, 0x66, 0x30, 0x62, 0x39, 0x63}}}, - {"[][]uint8", "91da002435633965303837302d663434302d626536352d646135632d346630306663353332353436", [][]uint8{[]uint8{0x35, 0x63, 0x39, 0x65, 0x30, 0x38, 0x37, 0x30, 0x2d, 0x66, 0x34, 0x34, 0x30, 0x2d, 0x62, 0x65, 0x36, 0x35, 0x2d, 0x64, 0x61, 0x35, 0x63, 0x2d, 0x34, 0x66, 0x30, 0x30, 0x66, 0x63, 0x35, 0x33, 0x32, 0x35, 0x34, 0x36}}}, - {"[][]uint8", "91da002439303965343361612d666531302d653361622d353330342d343961396364643437653637", [][]uint8{[]uint8{0x39, 0x30, 0x39, 0x65, 0x34, 0x33, 0x61, 0x61, 0x2d, 0x66, 0x65, 0x31, 0x30, 0x2d, 0x65, 0x33, 0x61, 0x62, 0x2d, 0x35, 0x33, 0x30, 0x34, 0x2d, 0x34, 0x39, 0x61, 0x39, 0x63, 0x64, 0x64, 0x34, 0x37, 0x65, 0x36, 0x37}}}, - {"[][]uint8", "91da002461356630613931342d313738322d303833332d333061382d383463376237313463363135", [][]uint8{[]uint8{0x61, 0x35, 0x66, 0x30, 0x61, 0x39, 0x31, 0x34, 0x2d, 0x31, 0x37, 0x38, 0x32, 0x2d, 0x30, 0x38, 0x33, 0x33, 0x2d, 0x33, 0x30, 0x61, 0x38, 0x2d, 0x38, 0x34, 0x63, 0x37, 0x62, 0x37, 0x31, 0x34, 0x63, 0x36, 0x31, 0x35}}}, - {"[][]uint8", "91da002464643933303433322d653065302d336338342d666666392d366662613136303337376464", [][]uint8{[]uint8{0x64, 0x64, 0x39, 0x33, 0x30, 0x34, 0x33, 0x32, 0x2d, 0x65, 0x30, 0x65, 0x30, 0x2d, 0x33, 0x63, 0x38, 0x34, 0x2d, 0x66, 0x66, 0x66, 0x39, 0x2d, 0x36, 0x66, 0x62, 0x61, 0x31, 0x36, 0x30, 0x33, 0x37, 0x37, 0x64, 0x64}}}, - {"[][]uint8", "92da002439323032343438612d303839362d613536322d326537332d396535633063336464373536da002461386361396133642d396562372d663264312d306162662d363635346630336264663534", [][]uint8{[]uint8{0x39, 0x32, 0x30, 0x32, 0x34, 0x34, 0x38, 0x61, 0x2d, 0x30, 0x38, 0x39, 0x36, 0x2d, 0x61, 0x35, 0x36, 0x32, 0x2d, 0x32, 0x65, 0x37, 0x33, 0x2d, 0x39, 0x65, 0x35, 0x63, 0x30, 0x63, 0x33, 0x64, 0x64, 0x37, 0x35, 0x36}, []uint8{0x61, 0x38, 0x63, 0x61, 0x39, 0x61, 0x33, 0x64, 0x2d, 0x39, 0x65, 0x62, 0x37, 0x2d, 0x66, 0x32, 0x64, 0x31, 0x2d, 0x30, 0x61, 0x62, 0x66, 0x2d, 0x36, 0x36, 0x35, 0x34, 0x66, 0x30, 0x33, 0x62, 0x64, 0x66, 0x35, 0x34}}}, - {"[][]uint8", "92da002465626237363962332d386561392d313733322d653531332d653166313636303639663736da002437663666303034622d613162322d636536632d333030382d343935326432663565343930", [][]uint8{[]uint8{0x65, 0x62, 0x62, 0x37, 0x36, 0x39, 0x62, 0x33, 0x2d, 0x38, 0x65, 0x61, 0x39, 0x2d, 0x31, 0x37, 0x33, 0x32, 0x2d, 0x65, 0x35, 0x31, 0x33, 0x2d, 0x65, 0x31, 0x66, 0x31, 0x36, 0x36, 0x30, 0x36, 0x39, 0x66, 0x37, 0x36}, []uint8{0x37, 0x66, 0x36, 0x66, 0x30, 0x30, 0x34, 0x62, 0x2d, 0x61, 0x31, 0x62, 0x32, 0x2d, 0x63, 0x65, 0x36, 0x63, 0x2d, 0x33, 0x30, 0x30, 0x38, 0x2d, 0x34, 0x39, 0x35, 0x32, 0x64, 0x32, 0x66, 0x35, 0x65, 0x34, 0x39, 0x30}}}, - {"[][]uint8", "93da002433616432323363332d613939612d623864372d313961362d643565376339346162636639da002464353239633464612d663839362d363663362d663566612d666335656563323336366465da002436626338373062362d363061662d393161642d336331392d373964323364363462323331", [][]uint8{[]uint8{0x33, 0x61, 0x64, 0x32, 0x32, 0x33, 0x63, 0x33, 0x2d, 0x61, 0x39, 0x39, 0x61, 0x2d, 0x62, 0x38, 0x64, 0x37, 0x2d, 0x31, 0x39, 0x61, 0x36, 0x2d, 0x64, 0x35, 0x65, 0x37, 0x63, 0x39, 0x34, 0x61, 0x62, 0x63, 0x66, 0x39}, []uint8{0x64, 0x35, 0x32, 0x39, 0x63, 0x34, 0x64, 0x61, 0x2d, 0x66, 0x38, 0x39, 0x36, 0x2d, 0x36, 0x36, 0x63, 0x36, 0x2d, 0x66, 0x35, 0x66, 0x61, 0x2d, 0x66, 0x63, 0x35, 0x65, 0x65, 0x63, 0x32, 0x33, 0x36, 0x36, 0x64, 0x65}, []uint8{0x36, 0x62, 0x63, 0x38, 0x37, 0x30, 0x62, 0x36, 0x2d, 0x36, 0x30, 0x61, 0x66, 0x2d, 0x39, 0x31, 0x61, 0x64, 0x2d, 0x33, 0x63, 0x31, 0x39, 0x2d, 0x37, 0x39, 0x64, 0x32, 0x33, 0x64, 0x36, 0x34, 0x62, 0x32, 0x33, 0x31}}}, - {"[][]uint8", "93da002434373238313866322d656430392d316431652d323435342d323865333036343061383732da002464623337313138392d366235312d306563612d333432332d646233353538623039323466da002433633835373330302d646162332d306133322d653664662d386364343033653535383737", [][]uint8{[]uint8{0x34, 0x37, 0x32, 0x38, 0x31, 0x38, 0x66, 0x32, 0x2d, 0x65, 0x64, 0x30, 0x39, 0x2d, 0x31, 0x64, 0x31, 0x65, 0x2d, 0x32, 0x34, 0x35, 0x34, 0x2d, 0x32, 0x38, 0x65, 0x33, 0x30, 0x36, 0x34, 0x30, 0x61, 0x38, 0x37, 0x32}, []uint8{0x64, 0x62, 0x33, 0x37, 0x31, 0x31, 0x38, 0x39, 0x2d, 0x36, 0x62, 0x35, 0x31, 0x2d, 0x30, 0x65, 0x63, 0x61, 0x2d, 0x33, 0x34, 0x32, 0x33, 0x2d, 0x64, 0x62, 0x33, 0x35, 0x35, 0x38, 0x62, 0x30, 0x39, 0x32, 0x34, 0x66}, []uint8{0x33, 0x63, 0x38, 0x35, 0x37, 0x33, 0x30, 0x30, 0x2d, 0x64, 0x61, 0x62, 0x33, 0x2d, 0x30, 0x61, 0x33, 0x32, 0x2d, 0x65, 0x36, 0x64, 0x66, 0x2d, 0x38, 0x63, 0x64, 0x34, 0x30, 0x33, 0x65, 0x35, 0x35, 0x38, 0x37, 0x37}}}, - {"[][]uint8", "93da002436316536386662332d366437362d333264612d386364382d316530376238653334383733da002431346463383131342d333039632d346366642d643961312d323166366538653066643561da002462663966333364652d333163322d343763622d636633332d663831656539623532393434", [][]uint8{[]uint8{0x36, 0x31, 0x65, 0x36, 0x38, 0x66, 0x62, 0x33, 0x2d, 0x36, 0x64, 0x37, 0x36, 0x2d, 0x33, 0x32, 0x64, 0x61, 0x2d, 0x38, 0x63, 0x64, 0x38, 0x2d, 0x31, 0x65, 0x30, 0x37, 0x62, 0x38, 0x65, 0x33, 0x34, 0x38, 0x37, 0x33}, []uint8{0x31, 0x34, 0x64, 0x63, 0x38, 0x31, 0x31, 0x34, 0x2d, 0x33, 0x30, 0x39, 0x63, 0x2d, 0x34, 0x63, 0x66, 0x64, 0x2d, 0x64, 0x39, 0x61, 0x31, 0x2d, 0x32, 0x31, 0x66, 0x36, 0x65, 0x38, 0x65, 0x30, 0x66, 0x64, 0x35, 0x61}, []uint8{0x62, 0x66, 0x39, 0x66, 0x33, 0x33, 0x64, 0x65, 0x2d, 0x33, 0x31, 0x63, 0x32, 0x2d, 0x34, 0x37, 0x63, 0x62, 0x2d, 0x63, 0x66, 0x33, 0x33, 0x2d, 0x66, 0x38, 0x31, 0x65, 0x65, 0x39, 0x62, 0x35, 0x32, 0x39, 0x34, 0x34}}}, - {"[][]uint8", "93da002436326131666466642d303136342d363062372d373035612d666134656462383364653731da002465363764306361332d333265612d383933312d633431302d663932356630646362323163da002462393332623038382d326462312d653561632d663137622d323762623561623934623236", [][]uint8{[]uint8{0x36, 0x32, 0x61, 0x31, 0x66, 0x64, 0x66, 0x64, 0x2d, 0x30, 0x31, 0x36, 0x34, 0x2d, 0x36, 0x30, 0x62, 0x37, 0x2d, 0x37, 0x30, 0x35, 0x61, 0x2d, 0x66, 0x61, 0x34, 0x65, 0x64, 0x62, 0x38, 0x33, 0x64, 0x65, 0x37, 0x31}, []uint8{0x65, 0x36, 0x37, 0x64, 0x30, 0x63, 0x61, 0x33, 0x2d, 0x33, 0x32, 0x65, 0x61, 0x2d, 0x38, 0x39, 0x33, 0x31, 0x2d, 0x63, 0x34, 0x31, 0x30, 0x2d, 0x66, 0x39, 0x32, 0x35, 0x66, 0x30, 0x64, 0x63, 0x62, 0x32, 0x31, 0x63}, []uint8{0x62, 0x39, 0x33, 0x32, 0x62, 0x30, 0x38, 0x38, 0x2d, 0x32, 0x64, 0x62, 0x31, 0x2d, 0x65, 0x35, 0x61, 0x63, 0x2d, 0x66, 0x31, 0x37, 0x62, 0x2d, 0x32, 0x37, 0x62, 0x62, 0x35, 0x61, 0x62, 0x39, 0x34, 0x62, 0x32, 0x36}}}, - {"[][]uint8", "93da002436393238393739632d353635662d393439302d356562622d376664396461393763393931da002432616365343833632d626363662d376364302d346338632d653961666666326236333237da002435623638646239372d393534612d373061392d333732382d613464343132353937343132", [][]uint8{[]uint8{0x36, 0x39, 0x32, 0x38, 0x39, 0x37, 0x39, 0x63, 0x2d, 0x35, 0x36, 0x35, 0x66, 0x2d, 0x39, 0x34, 0x39, 0x30, 0x2d, 0x35, 0x65, 0x62, 0x62, 0x2d, 0x37, 0x66, 0x64, 0x39, 0x64, 0x61, 0x39, 0x37, 0x63, 0x39, 0x39, 0x31}, []uint8{0x32, 0x61, 0x63, 0x65, 0x34, 0x38, 0x33, 0x63, 0x2d, 0x62, 0x63, 0x63, 0x66, 0x2d, 0x37, 0x63, 0x64, 0x30, 0x2d, 0x34, 0x63, 0x38, 0x63, 0x2d, 0x65, 0x39, 0x61, 0x66, 0x66, 0x66, 0x32, 0x62, 0x36, 0x33, 0x32, 0x37}, []uint8{0x35, 0x62, 0x36, 0x38, 0x64, 0x62, 0x39, 0x37, 0x2d, 0x39, 0x35, 0x34, 0x61, 0x2d, 0x37, 0x30, 0x61, 0x39, 0x2d, 0x33, 0x37, 0x32, 0x38, 0x2d, 0x61, 0x34, 0x64, 0x34, 0x31, 0x32, 0x35, 0x39, 0x37, 0x34, 0x31, 0x32}}}, - {"[][]uint8", "93da002437326432383133662d343562622d326462342d323439302d336566353762656462633034da002461653338306639352d373034612d616564382d323762652d323530396231643261373762da002435643034303663612d343130342d653938332d366437332d333732313364396263326362", [][]uint8{[]uint8{0x37, 0x32, 0x64, 0x32, 0x38, 0x31, 0x33, 0x66, 0x2d, 0x34, 0x35, 0x62, 0x62, 0x2d, 0x32, 0x64, 0x62, 0x34, 0x2d, 0x32, 0x34, 0x39, 0x30, 0x2d, 0x33, 0x65, 0x66, 0x35, 0x37, 0x62, 0x65, 0x64, 0x62, 0x63, 0x30, 0x34}, []uint8{0x61, 0x65, 0x33, 0x38, 0x30, 0x66, 0x39, 0x35, 0x2d, 0x37, 0x30, 0x34, 0x61, 0x2d, 0x61, 0x65, 0x64, 0x38, 0x2d, 0x32, 0x37, 0x62, 0x65, 0x2d, 0x32, 0x35, 0x30, 0x39, 0x62, 0x31, 0x64, 0x32, 0x61, 0x37, 0x37, 0x62}, []uint8{0x35, 0x64, 0x30, 0x34, 0x30, 0x36, 0x63, 0x61, 0x2d, 0x34, 0x31, 0x30, 0x34, 0x2d, 0x65, 0x39, 0x38, 0x33, 0x2d, 0x36, 0x64, 0x37, 0x33, 0x2d, 0x33, 0x37, 0x32, 0x31, 0x33, 0x64, 0x39, 0x62, 0x63, 0x32, 0x63, 0x62}}}, - {"[][]uint8", "93da002437373235333334382d613338362d313231362d326664622d303834663330313934623364da002430636135663565622d613137352d613735382d383266392d613163656439326339646137da002463376664623833302d323837362d653230382d303031332d633364303635646333643635", [][]uint8{[]uint8{0x37, 0x37, 0x32, 0x35, 0x33, 0x33, 0x34, 0x38, 0x2d, 0x61, 0x33, 0x38, 0x36, 0x2d, 0x31, 0x32, 0x31, 0x36, 0x2d, 0x32, 0x66, 0x64, 0x62, 0x2d, 0x30, 0x38, 0x34, 0x66, 0x33, 0x30, 0x31, 0x39, 0x34, 0x62, 0x33, 0x64}, []uint8{0x30, 0x63, 0x61, 0x35, 0x66, 0x35, 0x65, 0x62, 0x2d, 0x61, 0x31, 0x37, 0x35, 0x2d, 0x61, 0x37, 0x35, 0x38, 0x2d, 0x38, 0x32, 0x66, 0x39, 0x2d, 0x61, 0x31, 0x63, 0x65, 0x64, 0x39, 0x32, 0x63, 0x39, 0x64, 0x61, 0x37}, []uint8{0x63, 0x37, 0x66, 0x64, 0x62, 0x38, 0x33, 0x30, 0x2d, 0x32, 0x38, 0x37, 0x36, 0x2d, 0x65, 0x32, 0x30, 0x38, 0x2d, 0x30, 0x30, 0x31, 0x33, 0x2d, 0x63, 0x33, 0x64, 0x30, 0x36, 0x35, 0x64, 0x63, 0x33, 0x64, 0x36, 0x35}}}, - {"[][]uint8", "93da002437383138346662302d343937372d613163382d646637302d363634313663333564343662da002432623531323730622d653066632d616337312d303163302d313837323264356137396639da002434646537616438372d633235332d663036342d303535642d373466303330396531353663", [][]uint8{[]uint8{0x37, 0x38, 0x31, 0x38, 0x34, 0x66, 0x62, 0x30, 0x2d, 0x34, 0x39, 0x37, 0x37, 0x2d, 0x61, 0x31, 0x63, 0x38, 0x2d, 0x64, 0x66, 0x37, 0x30, 0x2d, 0x36, 0x36, 0x34, 0x31, 0x36, 0x63, 0x33, 0x35, 0x64, 0x34, 0x36, 0x62}, []uint8{0x32, 0x62, 0x35, 0x31, 0x32, 0x37, 0x30, 0x62, 0x2d, 0x65, 0x30, 0x66, 0x63, 0x2d, 0x61, 0x63, 0x37, 0x31, 0x2d, 0x30, 0x31, 0x63, 0x30, 0x2d, 0x31, 0x38, 0x37, 0x32, 0x32, 0x64, 0x35, 0x61, 0x37, 0x39, 0x66, 0x39}, []uint8{0x34, 0x64, 0x65, 0x37, 0x61, 0x64, 0x38, 0x37, 0x2d, 0x63, 0x32, 0x35, 0x33, 0x2d, 0x66, 0x30, 0x36, 0x34, 0x2d, 0x30, 0x35, 0x35, 0x64, 0x2d, 0x37, 0x34, 0x66, 0x30, 0x33, 0x30, 0x39, 0x65, 0x31, 0x35, 0x36, 0x63}}}, - {"[][]uint8", "93da002437613939636563632d633135642d623039612d396263322d643565643839613836626137da002465363861303139632d346461322d353465302d396662662d373530373239383864663864da002462303431306230612d373137632d333863652d626534352d336630353432333236356436", [][]uint8{[]uint8{0x37, 0x61, 0x39, 0x39, 0x63, 0x65, 0x63, 0x63, 0x2d, 0x63, 0x31, 0x35, 0x64, 0x2d, 0x62, 0x30, 0x39, 0x61, 0x2d, 0x39, 0x62, 0x63, 0x32, 0x2d, 0x64, 0x35, 0x65, 0x64, 0x38, 0x39, 0x61, 0x38, 0x36, 0x62, 0x61, 0x37}, []uint8{0x65, 0x36, 0x38, 0x61, 0x30, 0x31, 0x39, 0x63, 0x2d, 0x34, 0x64, 0x61, 0x32, 0x2d, 0x35, 0x34, 0x65, 0x30, 0x2d, 0x39, 0x66, 0x62, 0x66, 0x2d, 0x37, 0x35, 0x30, 0x37, 0x32, 0x39, 0x38, 0x38, 0x64, 0x66, 0x38, 0x64}, []uint8{0x62, 0x30, 0x34, 0x31, 0x30, 0x62, 0x30, 0x61, 0x2d, 0x37, 0x31, 0x37, 0x63, 0x2d, 0x33, 0x38, 0x63, 0x65, 0x2d, 0x62, 0x65, 0x34, 0x35, 0x2d, 0x33, 0x66, 0x30, 0x35, 0x34, 0x32, 0x33, 0x32, 0x36, 0x35, 0x64, 0x36}}}, - {"[][]uint8", "93da002438336337643332392d643964612d326235362d396638622d626330636164663733616135da002433613662656333322d326236372d396636632d333234302d316162376231656464636366da002430333937646531622d396433302d303164312d613738322d316665363132306232333766", [][]uint8{[]uint8{0x38, 0x33, 0x63, 0x37, 0x64, 0x33, 0x32, 0x39, 0x2d, 0x64, 0x39, 0x64, 0x61, 0x2d, 0x32, 0x62, 0x35, 0x36, 0x2d, 0x39, 0x66, 0x38, 0x62, 0x2d, 0x62, 0x63, 0x30, 0x63, 0x61, 0x64, 0x66, 0x37, 0x33, 0x61, 0x61, 0x35}, []uint8{0x33, 0x61, 0x36, 0x62, 0x65, 0x63, 0x33, 0x32, 0x2d, 0x32, 0x62, 0x36, 0x37, 0x2d, 0x39, 0x66, 0x36, 0x63, 0x2d, 0x33, 0x32, 0x34, 0x30, 0x2d, 0x31, 0x61, 0x62, 0x37, 0x62, 0x31, 0x65, 0x64, 0x64, 0x63, 0x63, 0x66}, []uint8{0x30, 0x33, 0x39, 0x37, 0x64, 0x65, 0x31, 0x62, 0x2d, 0x39, 0x64, 0x33, 0x30, 0x2d, 0x30, 0x31, 0x64, 0x31, 0x2d, 0x61, 0x37, 0x38, 0x32, 0x2d, 0x31, 0x66, 0x65, 0x36, 0x31, 0x32, 0x30, 0x62, 0x32, 0x33, 0x37, 0x66}}}, - {"[][]uint8", "93da002439323032343438612d303839362d613536322d326537332d396535633063336464373536da002461386361396133642d396562372d663264312d306162662d363635346630336264663534da002462616562633337332d626564312d326265352d656363302d643135666533636336343037", [][]uint8{[]uint8{0x39, 0x32, 0x30, 0x32, 0x34, 0x34, 0x38, 0x61, 0x2d, 0x30, 0x38, 0x39, 0x36, 0x2d, 0x61, 0x35, 0x36, 0x32, 0x2d, 0x32, 0x65, 0x37, 0x33, 0x2d, 0x39, 0x65, 0x35, 0x63, 0x30, 0x63, 0x33, 0x64, 0x64, 0x37, 0x35, 0x36}, {0x61, 0x38, 0x63, 0x61, 0x39, 0x61, 0x33, 0x64, 0x2d, 0x39, 0x65, 0x62, 0x37, 0x2d, 0x66, 0x32, 0x64, 0x31, 0x2d, 0x30, 0x61, 0x62, 0x66, 0x2d, 0x36, 0x36, 0x35, 0x34, 0x66, 0x30, 0x33, 0x62, 0x64, 0x66, 0x35, 0x34}, {0x62, 0x61, 0x65, 0x62, 0x63, 0x33, 0x37, 0x33, 0x2d, 0x62, 0x65, 0x64, 0x31, 0x2d, 0x32, 0x62, 0x65, 0x35, 0x2d, 0x65, 0x63, 0x63, 0x30, 0x2d, 0x64, 0x31, 0x35, 0x66, 0x65, 0x33, 0x63, 0x63, 0x36, 0x34, 0x30, 0x37}}}, + {"[][]uint8", "91a96f7665722068657265", [][]uint8{{0x6f, 0x76, 0x65, 0x72, 0x20, 0x68, 0x65, 0x72, 0x65}}}, + {"[][]uint8", "91da002430383530383039372d366262642d643738652d323636362d353238363631336630623963", [][]uint8{{0x30, 0x38, 0x35, 0x30, 0x38, 0x30, 0x39, 0x37, 0x2d, 0x36, 0x62, 0x62, 0x64, 0x2d, 0x64, 0x37, 0x38, 0x65, 0x2d, 0x32, 0x36, 0x36, 0x36, 0x2d, 0x35, 0x32, 0x38, 0x36, 0x36, 0x31, 0x33, 0x66, 0x30, 0x62, 0x39, 0x63}}}, + {"[][]uint8", "91da002435633965303837302d663434302d626536352d646135632d346630306663353332353436", [][]uint8{{0x35, 0x63, 0x39, 0x65, 0x30, 0x38, 0x37, 0x30, 0x2d, 0x66, 0x34, 0x34, 0x30, 0x2d, 0x62, 0x65, 0x36, 0x35, 0x2d, 0x64, 0x61, 0x35, 0x63, 0x2d, 0x34, 0x66, 0x30, 0x30, 0x66, 0x63, 0x35, 0x33, 0x32, 0x35, 0x34, 0x36}}}, + {"[][]uint8", "91da002439303965343361612d666531302d653361622d353330342d343961396364643437653637", [][]uint8{{0x39, 0x30, 0x39, 0x65, 0x34, 0x33, 0x61, 0x61, 0x2d, 0x66, 0x65, 0x31, 0x30, 0x2d, 0x65, 0x33, 0x61, 0x62, 0x2d, 0x35, 0x33, 0x30, 0x34, 0x2d, 0x34, 0x39, 0x61, 0x39, 0x63, 0x64, 0x64, 0x34, 0x37, 0x65, 0x36, 0x37}}}, + {"[][]uint8", "91da002461356630613931342d313738322d303833332d333061382d383463376237313463363135", [][]uint8{{0x61, 0x35, 0x66, 0x30, 0x61, 0x39, 0x31, 0x34, 0x2d, 0x31, 0x37, 0x38, 0x32, 0x2d, 0x30, 0x38, 0x33, 0x33, 0x2d, 0x33, 0x30, 0x61, 0x38, 0x2d, 0x38, 0x34, 0x63, 0x37, 0x62, 0x37, 0x31, 0x34, 0x63, 0x36, 0x31, 0x35}}}, + {"[][]uint8", "91da002464643933303433322d653065302d336338342d666666392d366662613136303337376464", [][]uint8{{0x64, 0x64, 0x39, 0x33, 0x30, 0x34, 0x33, 0x32, 0x2d, 0x65, 0x30, 0x65, 0x30, 0x2d, 0x33, 0x63, 0x38, 0x34, 0x2d, 0x66, 0x66, 0x66, 0x39, 0x2d, 0x36, 0x66, 0x62, 0x61, 0x31, 0x36, 0x30, 0x33, 0x37, 0x37, 0x64, 0x64}}}, + {"[][]uint8", "92da002439323032343438612d303839362d613536322d326537332d396535633063336464373536da002461386361396133642d396562372d663264312d306162662d363635346630336264663534", [][]uint8{{0x39, 0x32, 0x30, 0x32, 0x34, 0x34, 0x38, 0x61, 0x2d, 0x30, 0x38, 0x39, 0x36, 0x2d, 0x61, 0x35, 0x36, 0x32, 0x2d, 0x32, 0x65, 0x37, 0x33, 0x2d, 0x39, 0x65, 0x35, 0x63, 0x30, 0x63, 0x33, 0x64, 0x64, 0x37, 0x35, 0x36}, {0x61, 0x38, 0x63, 0x61, 0x39, 0x61, 0x33, 0x64, 0x2d, 0x39, 0x65, 0x62, 0x37, 0x2d, 0x66, 0x32, 0x64, 0x31, 0x2d, 0x30, 0x61, 0x62, 0x66, 0x2d, 0x36, 0x36, 0x35, 0x34, 0x66, 0x30, 0x33, 0x62, 0x64, 0x66, 0x35, 0x34}}}, + {"[][]uint8", "92da002465626237363962332d386561392d313733322d653531332d653166313636303639663736da002437663666303034622d613162322d636536632d333030382d343935326432663565343930", [][]uint8{{0x65, 0x62, 0x62, 0x37, 0x36, 0x39, 0x62, 0x33, 0x2d, 0x38, 0x65, 0x61, 0x39, 0x2d, 0x31, 0x37, 0x33, 0x32, 0x2d, 0x65, 0x35, 0x31, 0x33, 0x2d, 0x65, 0x31, 0x66, 0x31, 0x36, 0x36, 0x30, 0x36, 0x39, 0x66, 0x37, 0x36}, {0x37, 0x66, 0x36, 0x66, 0x30, 0x30, 0x34, 0x62, 0x2d, 0x61, 0x31, 0x62, 0x32, 0x2d, 0x63, 0x65, 0x36, 0x63, 0x2d, 0x33, 0x30, 0x30, 0x38, 0x2d, 0x34, 0x39, 0x35, 0x32, 0x64, 0x32, 0x66, 0x35, 0x65, 0x34, 0x39, 0x30}}}, + {"[][]uint8", "93da002433616432323363332d613939612d623864372d313961362d643565376339346162636639da002464353239633464612d663839362d363663362d663566612d666335656563323336366465da002436626338373062362d363061662d393161642d336331392d373964323364363462323331", [][]uint8{{0x33, 0x61, 0x64, 0x32, 0x32, 0x33, 0x63, 0x33, 0x2d, 0x61, 0x39, 0x39, 0x61, 0x2d, 0x62, 0x38, 0x64, 0x37, 0x2d, 0x31, 0x39, 0x61, 0x36, 0x2d, 0x64, 0x35, 0x65, 0x37, 0x63, 0x39, 0x34, 0x61, 0x62, 0x63, 0x66, 0x39}, {0x64, 0x35, 0x32, 0x39, 0x63, 0x34, 0x64, 0x61, 0x2d, 0x66, 0x38, 0x39, 0x36, 0x2d, 0x36, 0x36, 0x63, 0x36, 0x2d, 0x66, 0x35, 0x66, 0x61, 0x2d, 0x66, 0x63, 0x35, 0x65, 0x65, 0x63, 0x32, 0x33, 0x36, 0x36, 0x64, 0x65}, {0x36, 0x62, 0x63, 0x38, 0x37, 0x30, 0x62, 0x36, 0x2d, 0x36, 0x30, 0x61, 0x66, 0x2d, 0x39, 0x31, 0x61, 0x64, 0x2d, 0x33, 0x63, 0x31, 0x39, 0x2d, 0x37, 0x39, 0x64, 0x32, 0x33, 0x64, 0x36, 0x34, 0x62, 0x32, 0x33, 0x31}}}, + {"[][]uint8", "93da002434373238313866322d656430392d316431652d323435342d323865333036343061383732da002464623337313138392d366235312d306563612d333432332d646233353538623039323466da002433633835373330302d646162332d306133322d653664662d386364343033653535383737", [][]uint8{{0x34, 0x37, 0x32, 0x38, 0x31, 0x38, 0x66, 0x32, 0x2d, 0x65, 0x64, 0x30, 0x39, 0x2d, 0x31, 0x64, 0x31, 0x65, 0x2d, 0x32, 0x34, 0x35, 0x34, 0x2d, 0x32, 0x38, 0x65, 0x33, 0x30, 0x36, 0x34, 0x30, 0x61, 0x38, 0x37, 0x32}, {0x64, 0x62, 0x33, 0x37, 0x31, 0x31, 0x38, 0x39, 0x2d, 0x36, 0x62, 0x35, 0x31, 0x2d, 0x30, 0x65, 0x63, 0x61, 0x2d, 0x33, 0x34, 0x32, 0x33, 0x2d, 0x64, 0x62, 0x33, 0x35, 0x35, 0x38, 0x62, 0x30, 0x39, 0x32, 0x34, 0x66}, {0x33, 0x63, 0x38, 0x35, 0x37, 0x33, 0x30, 0x30, 0x2d, 0x64, 0x61, 0x62, 0x33, 0x2d, 0x30, 0x61, 0x33, 0x32, 0x2d, 0x65, 0x36, 0x64, 0x66, 0x2d, 0x38, 0x63, 0x64, 0x34, 0x30, 0x33, 0x65, 0x35, 0x35, 0x38, 0x37, 0x37}}}, + {"[][]uint8", "93da002436316536386662332d366437362d333264612d386364382d316530376238653334383733da002431346463383131342d333039632d346366642d643961312d323166366538653066643561da002462663966333364652d333163322d343763622d636633332d663831656539623532393434", [][]uint8{{0x36, 0x31, 0x65, 0x36, 0x38, 0x66, 0x62, 0x33, 0x2d, 0x36, 0x64, 0x37, 0x36, 0x2d, 0x33, 0x32, 0x64, 0x61, 0x2d, 0x38, 0x63, 0x64, 0x38, 0x2d, 0x31, 0x65, 0x30, 0x37, 0x62, 0x38, 0x65, 0x33, 0x34, 0x38, 0x37, 0x33}, {0x31, 0x34, 0x64, 0x63, 0x38, 0x31, 0x31, 0x34, 0x2d, 0x33, 0x30, 0x39, 0x63, 0x2d, 0x34, 0x63, 0x66, 0x64, 0x2d, 0x64, 0x39, 0x61, 0x31, 0x2d, 0x32, 0x31, 0x66, 0x36, 0x65, 0x38, 0x65, 0x30, 0x66, 0x64, 0x35, 0x61}, {0x62, 0x66, 0x39, 0x66, 0x33, 0x33, 0x64, 0x65, 0x2d, 0x33, 0x31, 0x63, 0x32, 0x2d, 0x34, 0x37, 0x63, 0x62, 0x2d, 0x63, 0x66, 0x33, 0x33, 0x2d, 0x66, 0x38, 0x31, 0x65, 0x65, 0x39, 0x62, 0x35, 0x32, 0x39, 0x34, 0x34}}}, + {"[][]uint8", "93da002436326131666466642d303136342d363062372d373035612d666134656462383364653731da002465363764306361332d333265612d383933312d633431302d663932356630646362323163da002462393332623038382d326462312d653561632d663137622d323762623561623934623236", [][]uint8{{0x36, 0x32, 0x61, 0x31, 0x66, 0x64, 0x66, 0x64, 0x2d, 0x30, 0x31, 0x36, 0x34, 0x2d, 0x36, 0x30, 0x62, 0x37, 0x2d, 0x37, 0x30, 0x35, 0x61, 0x2d, 0x66, 0x61, 0x34, 0x65, 0x64, 0x62, 0x38, 0x33, 0x64, 0x65, 0x37, 0x31}, {0x65, 0x36, 0x37, 0x64, 0x30, 0x63, 0x61, 0x33, 0x2d, 0x33, 0x32, 0x65, 0x61, 0x2d, 0x38, 0x39, 0x33, 0x31, 0x2d, 0x63, 0x34, 0x31, 0x30, 0x2d, 0x66, 0x39, 0x32, 0x35, 0x66, 0x30, 0x64, 0x63, 0x62, 0x32, 0x31, 0x63}, {0x62, 0x39, 0x33, 0x32, 0x62, 0x30, 0x38, 0x38, 0x2d, 0x32, 0x64, 0x62, 0x31, 0x2d, 0x65, 0x35, 0x61, 0x63, 0x2d, 0x66, 0x31, 0x37, 0x62, 0x2d, 0x32, 0x37, 0x62, 0x62, 0x35, 0x61, 0x62, 0x39, 0x34, 0x62, 0x32, 0x36}}}, + {"[][]uint8", "93da002436393238393739632d353635662d393439302d356562622d376664396461393763393931da002432616365343833632d626363662d376364302d346338632d653961666666326236333237da002435623638646239372d393534612d373061392d333732382d613464343132353937343132", [][]uint8{{0x36, 0x39, 0x32, 0x38, 0x39, 0x37, 0x39, 0x63, 0x2d, 0x35, 0x36, 0x35, 0x66, 0x2d, 0x39, 0x34, 0x39, 0x30, 0x2d, 0x35, 0x65, 0x62, 0x62, 0x2d, 0x37, 0x66, 0x64, 0x39, 0x64, 0x61, 0x39, 0x37, 0x63, 0x39, 0x39, 0x31}, {0x32, 0x61, 0x63, 0x65, 0x34, 0x38, 0x33, 0x63, 0x2d, 0x62, 0x63, 0x63, 0x66, 0x2d, 0x37, 0x63, 0x64, 0x30, 0x2d, 0x34, 0x63, 0x38, 0x63, 0x2d, 0x65, 0x39, 0x61, 0x66, 0x66, 0x66, 0x32, 0x62, 0x36, 0x33, 0x32, 0x37}, {0x35, 0x62, 0x36, 0x38, 0x64, 0x62, 0x39, 0x37, 0x2d, 0x39, 0x35, 0x34, 0x61, 0x2d, 0x37, 0x30, 0x61, 0x39, 0x2d, 0x33, 0x37, 0x32, 0x38, 0x2d, 0x61, 0x34, 0x64, 0x34, 0x31, 0x32, 0x35, 0x39, 0x37, 0x34, 0x31, 0x32}}}, + {"[][]uint8", "93da002437326432383133662d343562622d326462342d323439302d336566353762656462633034da002461653338306639352d373034612d616564382d323762652d323530396231643261373762da002435643034303663612d343130342d653938332d366437332d333732313364396263326362", [][]uint8{{0x37, 0x32, 0x64, 0x32, 0x38, 0x31, 0x33, 0x66, 0x2d, 0x34, 0x35, 0x62, 0x62, 0x2d, 0x32, 0x64, 0x62, 0x34, 0x2d, 0x32, 0x34, 0x39, 0x30, 0x2d, 0x33, 0x65, 0x66, 0x35, 0x37, 0x62, 0x65, 0x64, 0x62, 0x63, 0x30, 0x34}, {0x61, 0x65, 0x33, 0x38, 0x30, 0x66, 0x39, 0x35, 0x2d, 0x37, 0x30, 0x34, 0x61, 0x2d, 0x61, 0x65, 0x64, 0x38, 0x2d, 0x32, 0x37, 0x62, 0x65, 0x2d, 0x32, 0x35, 0x30, 0x39, 0x62, 0x31, 0x64, 0x32, 0x61, 0x37, 0x37, 0x62}, {0x35, 0x64, 0x30, 0x34, 0x30, 0x36, 0x63, 0x61, 0x2d, 0x34, 0x31, 0x30, 0x34, 0x2d, 0x65, 0x39, 0x38, 0x33, 0x2d, 0x36, 0x64, 0x37, 0x33, 0x2d, 0x33, 0x37, 0x32, 0x31, 0x33, 0x64, 0x39, 0x62, 0x63, 0x32, 0x63, 0x62}}}, + {"[][]uint8", "93da002437373235333334382d613338362d313231362d326664622d303834663330313934623364da002430636135663565622d613137352d613735382d383266392d613163656439326339646137da002463376664623833302d323837362d653230382d303031332d633364303635646333643635", [][]uint8{{0x37, 0x37, 0x32, 0x35, 0x33, 0x33, 0x34, 0x38, 0x2d, 0x61, 0x33, 0x38, 0x36, 0x2d, 0x31, 0x32, 0x31, 0x36, 0x2d, 0x32, 0x66, 0x64, 0x62, 0x2d, 0x30, 0x38, 0x34, 0x66, 0x33, 0x30, 0x31, 0x39, 0x34, 0x62, 0x33, 0x64}, {0x30, 0x63, 0x61, 0x35, 0x66, 0x35, 0x65, 0x62, 0x2d, 0x61, 0x31, 0x37, 0x35, 0x2d, 0x61, 0x37, 0x35, 0x38, 0x2d, 0x38, 0x32, 0x66, 0x39, 0x2d, 0x61, 0x31, 0x63, 0x65, 0x64, 0x39, 0x32, 0x63, 0x39, 0x64, 0x61, 0x37}, {0x63, 0x37, 0x66, 0x64, 0x62, 0x38, 0x33, 0x30, 0x2d, 0x32, 0x38, 0x37, 0x36, 0x2d, 0x65, 0x32, 0x30, 0x38, 0x2d, 0x30, 0x30, 0x31, 0x33, 0x2d, 0x63, 0x33, 0x64, 0x30, 0x36, 0x35, 0x64, 0x63, 0x33, 0x64, 0x36, 0x35}}}, + {"[][]uint8", "93da002437383138346662302d343937372d613163382d646637302d363634313663333564343662da002432623531323730622d653066632d616337312d303163302d313837323264356137396639da002434646537616438372d633235332d663036342d303535642d373466303330396531353663", [][]uint8{{0x37, 0x38, 0x31, 0x38, 0x34, 0x66, 0x62, 0x30, 0x2d, 0x34, 0x39, 0x37, 0x37, 0x2d, 0x61, 0x31, 0x63, 0x38, 0x2d, 0x64, 0x66, 0x37, 0x30, 0x2d, 0x36, 0x36, 0x34, 0x31, 0x36, 0x63, 0x33, 0x35, 0x64, 0x34, 0x36, 0x62}, {0x32, 0x62, 0x35, 0x31, 0x32, 0x37, 0x30, 0x62, 0x2d, 0x65, 0x30, 0x66, 0x63, 0x2d, 0x61, 0x63, 0x37, 0x31, 0x2d, 0x30, 0x31, 0x63, 0x30, 0x2d, 0x31, 0x38, 0x37, 0x32, 0x32, 0x64, 0x35, 0x61, 0x37, 0x39, 0x66, 0x39}, {0x34, 0x64, 0x65, 0x37, 0x61, 0x64, 0x38, 0x37, 0x2d, 0x63, 0x32, 0x35, 0x33, 0x2d, 0x66, 0x30, 0x36, 0x34, 0x2d, 0x30, 0x35, 0x35, 0x64, 0x2d, 0x37, 0x34, 0x66, 0x30, 0x33, 0x30, 0x39, 0x65, 0x31, 0x35, 0x36, 0x63}}}, + {"[][]uint8", "93da002437613939636563632d633135642d623039612d396263322d643565643839613836626137da002465363861303139632d346461322d353465302d396662662d373530373239383864663864da002462303431306230612d373137632d333863652d626534352d336630353432333236356436", [][]uint8{{0x37, 0x61, 0x39, 0x39, 0x63, 0x65, 0x63, 0x63, 0x2d, 0x63, 0x31, 0x35, 0x64, 0x2d, 0x62, 0x30, 0x39, 0x61, 0x2d, 0x39, 0x62, 0x63, 0x32, 0x2d, 0x64, 0x35, 0x65, 0x64, 0x38, 0x39, 0x61, 0x38, 0x36, 0x62, 0x61, 0x37}, {0x65, 0x36, 0x38, 0x61, 0x30, 0x31, 0x39, 0x63, 0x2d, 0x34, 0x64, 0x61, 0x32, 0x2d, 0x35, 0x34, 0x65, 0x30, 0x2d, 0x39, 0x66, 0x62, 0x66, 0x2d, 0x37, 0x35, 0x30, 0x37, 0x32, 0x39, 0x38, 0x38, 0x64, 0x66, 0x38, 0x64}, {0x62, 0x30, 0x34, 0x31, 0x30, 0x62, 0x30, 0x61, 0x2d, 0x37, 0x31, 0x37, 0x63, 0x2d, 0x33, 0x38, 0x63, 0x65, 0x2d, 0x62, 0x65, 0x34, 0x35, 0x2d, 0x33, 0x66, 0x30, 0x35, 0x34, 0x32, 0x33, 0x32, 0x36, 0x35, 0x64, 0x36}}}, + {"[][]uint8", "93da002438336337643332392d643964612d326235362d396638622d626330636164663733616135da002433613662656333322d326236372d396636632d333234302d316162376231656464636366da002430333937646531622d396433302d303164312d613738322d316665363132306232333766", [][]uint8{{0x38, 0x33, 0x63, 0x37, 0x64, 0x33, 0x32, 0x39, 0x2d, 0x64, 0x39, 0x64, 0x61, 0x2d, 0x32, 0x62, 0x35, 0x36, 0x2d, 0x39, 0x66, 0x38, 0x62, 0x2d, 0x62, 0x63, 0x30, 0x63, 0x61, 0x64, 0x66, 0x37, 0x33, 0x61, 0x61, 0x35}, {0x33, 0x61, 0x36, 0x62, 0x65, 0x63, 0x33, 0x32, 0x2d, 0x32, 0x62, 0x36, 0x37, 0x2d, 0x39, 0x66, 0x36, 0x63, 0x2d, 0x33, 0x32, 0x34, 0x30, 0x2d, 0x31, 0x61, 0x62, 0x37, 0x62, 0x31, 0x65, 0x64, 0x64, 0x63, 0x63, 0x66}, {0x30, 0x33, 0x39, 0x37, 0x64, 0x65, 0x31, 0x62, 0x2d, 0x39, 0x64, 0x33, 0x30, 0x2d, 0x30, 0x31, 0x64, 0x31, 0x2d, 0x61, 0x37, 0x38, 0x32, 0x2d, 0x31, 0x66, 0x65, 0x36, 0x31, 0x32, 0x30, 0x62, 0x32, 0x33, 0x37, 0x66}}}, + {"[][]uint8", "93da002439323032343438612d303839362d613536322d326537332d396535633063336464373536da002461386361396133642d396562372d663264312d306162662d363635346630336264663534da002462616562633337332d626564312d326265352d656363302d643135666533636336343037", [][]uint8{{0x39, 0x32, 0x30, 0x32, 0x34, 0x34, 0x38, 0x61, 0x2d, 0x30, 0x38, 0x39, 0x36, 0x2d, 0x61, 0x35, 0x36, 0x32, 0x2d, 0x32, 0x65, 0x37, 0x33, 0x2d, 0x39, 0x65, 0x35, 0x63, 0x30, 0x63, 0x33, 0x64, 0x64, 0x37, 0x35, 0x36}, {0x61, 0x38, 0x63, 0x61, 0x39, 0x61, 0x33, 0x64, 0x2d, 0x39, 0x65, 0x62, 0x37, 0x2d, 0x66, 0x32, 0x64, 0x31, 0x2d, 0x30, 0x61, 0x62, 0x66, 0x2d, 0x36, 0x36, 0x35, 0x34, 0x66, 0x30, 0x33, 0x62, 0x64, 0x66, 0x35, 0x34}, {0x62, 0x61, 0x65, 0x62, 0x63, 0x33, 0x37, 0x33, 0x2d, 0x62, 0x65, 0x64, 0x31, 0x2d, 0x32, 0x62, 0x65, 0x35, 0x2d, 0x65, 0x63, 0x63, 0x30, 0x2d, 0x64, 0x31, 0x35, 0x66, 0x65, 0x33, 0x63, 0x63, 0x36, 0x34, 0x30, 0x37}}}, {"[][]uint8", "93da002464323336653730382d666366652d363133322d613639662d363938663032633039373364da002431396133303538642d636336662d303434332d353832302d323764356136376630393134da002430306430656634332d326333322d363135352d643061362d383262343861393461353233", [][]uint8{{0x64, 0x32, 0x33, 0x36, 0x65, 0x37, 0x30, 0x38, 0x2d, 0x66, 0x63, 0x66, 0x65, 0x2d, 0x36, 0x31, 0x33, 0x32, 0x2d, 0x61, 0x36, 0x39, 0x66, 0x2d, 0x36, 0x39, 0x38, 0x66, 0x30, 0x32, 0x63, 0x30, 0x39, 0x37, 0x33, 0x64}, {0x31, 0x39, 0x61, 0x33, 0x30, 0x35, 0x38, 0x64, 0x2d, 0x63, 0x63, 0x36, 0x66, 0x2d, 0x30, 0x34, 0x34, 0x33, 0x2d, 0x35, 0x38, 0x32, 0x30, 0x2d, 0x32, 0x37, 0x64, 0x35, 0x61, 0x36, 0x37, 0x66, 0x30, 0x39, 0x31, 0x34}, {0x30, 0x30, 0x64, 0x30, 0x65, 0x66, 0x34, 0x33, 0x2d, 0x32, 0x63, 0x33, 0x32, 0x2d, 0x36, 0x31, 0x35, 0x35, 0x2d, 0x64, 0x30, 0x61, 0x36, 0x2d, 0x38, 0x32, 0x62, 0x34, 0x38, 0x61, 0x39, 0x34, 0x61, 0x35, 0x32, 0x33}}}, {"[][]uint8", "93da002465356434323461392d373564302d613732312d623461332d343833333364616361626362da002435636138613738342d633261362d383663302d656335322d366137616233383437376135da002430656265393063312d333866612d356432392d666532352d353631396630653166346665", [][]uint8{{0x65, 0x35, 0x64, 0x34, 0x32, 0x34, 0x61, 0x39, 0x2d, 0x37, 0x35, 0x64, 0x30, 0x2d, 0x61, 0x37, 0x32, 0x31, 0x2d, 0x62, 0x34, 0x61, 0x33, 0x2d, 0x34, 0x38, 0x33, 0x33, 0x33, 0x64, 0x61, 0x63, 0x61, 0x62, 0x63, 0x62}, {0x35, 0x63, 0x61, 0x38, 0x61, 0x37, 0x38, 0x34, 0x2d, 0x63, 0x32, 0x61, 0x36, 0x2d, 0x38, 0x36, 0x63, 0x30, 0x2d, 0x65, 0x63, 0x35, 0x32, 0x2d, 0x36, 0x61, 0x37, 0x61, 0x62, 0x33, 0x38, 0x34, 0x37, 0x37, 0x61, 0x35}, {0x30, 0x65, 0x62, 0x65, 0x39, 0x30, 0x63, 0x31, 0x2d, 0x33, 0x38, 0x66, 0x61, 0x2d, 0x35, 0x64, 0x32, 0x39, 0x2d, 0x66, 0x65, 0x32, 0x35, 0x2d, 0x35, 0x36, 0x31, 0x39, 0x66, 0x30, 0x65, 0x31, 0x66, 0x34, 0x66, 0x65}}}, {"[][]uint8", "93da002465356434323461392d373564302d613732312d623461332d343833333364616361626362da002464653066366332332d633337342d316131622d366564312d643330336563303563616337da002464326139336434662d376164312d643236622d333231632d323134393532396332363661", [][]uint8{{0x65, 0x35, 0x64, 0x34, 0x32, 0x34, 0x61, 0x39, 0x2d, 0x37, 0x35, 0x64, 0x30, 0x2d, 0x61, 0x37, 0x32, 0x31, 0x2d, 0x62, 0x34, 0x61, 0x33, 0x2d, 0x34, 0x38, 0x33, 0x33, 0x33, 0x64, 0x61, 0x63, 0x61, 0x62, 0x63, 0x62}, {0x64, 0x65, 0x30, 0x66, 0x36, 0x63, 0x32, 0x33, 0x2d, 0x63, 0x33, 0x37, 0x34, 0x2d, 0x31, 0x61, 0x31, 0x62, 0x2d, 0x36, 0x65, 0x64, 0x31, 0x2d, 0x64, 0x33, 0x30, 0x33, 0x65, 0x63, 0x30, 0x35, 0x63, 0x61, 0x63, 0x37}, {0x64, 0x32, 0x61, 0x39, 0x33, 0x64, 0x34, 0x66, 0x2d, 0x37, 0x61, 0x64, 0x31, 0x2d, 0x64, 0x32, 0x36, 0x62, 0x2d, 0x33, 0x32, 0x31, 0x63, 0x2d, 0x32, 0x31, 0x34, 0x39, 0x35, 0x32, 0x39, 0x63, 0x32, 0x36, 0x36, 0x61}}}, diff --git a/codec/internal/testdata/raft_v115.go b/codec/internal/testdata/raft_v115.go index aed04144..542dd5b4 100644 --- a/codec/internal/testdata/raft_v115.go +++ b/codec/internal/testdata/raft_v115.go @@ -10,29 +10,29 @@ var RaftV115 = []SerializeTest{ {"InstallSnapshotResponse", "85a441646472c0a24944c0af50726f746f636f6c56657273696f6e00a753756363657373c3a45465726d0a", InstallSnapshotResponse{RPCHeader: RPCHeader{ProtocolVersion: 0, ID: []uint8(nil), Addr: []uint8(nil)}, Term: 0xa, Success: true}}, {"RequestVoteRequest", "88a441646472a762757474657273a943616e646964617465c0a24944c0ac4c6173744c6f67496e64657864ab4c6173744c6f675465726d13b24c6561646572736869705472616e73666572c2af50726f746f636f6c56657273696f6e00a45465726d14", RequestVoteRequest{RPCHeader: RPCHeader{ProtocolVersion: 0, ID: []uint8(nil), Addr: []uint8{0x62, 0x75, 0x74, 0x74, 0x65, 0x72, 0x73}}, Term: 0x14, Candidate: []uint8(nil), LastLogIndex: 0x64, LastLogTerm: 0x13, LeadershipTransfer: false}}, {"RequestVoteResponse", "86a441646472c0a74772616e746564c2a24944c0a55065657273c0af50726f746f636f6c56657273696f6e00a45465726d64", RequestVoteResponse{RPCHeader: RPCHeader{ProtocolVersion: 0, ID: []uint8(nil), Addr: []uint8(nil)}, Term: 0x64, Peers: []uint8(nil), Granted: false}}, - {"[][]uint8", "91a96f7665722068657265", [][]uint8{[]uint8{0x6f, 0x76, 0x65, 0x72, 0x20, 0x68, 0x65, 0x72, 0x65}}}, - {"[][]uint8", "91da002435393830333435302d616237622d653833342d383562382d313763633464343234316436", [][]uint8{[]uint8{0x35, 0x39, 0x38, 0x30, 0x33, 0x34, 0x35, 0x30, 0x2d, 0x61, 0x62, 0x37, 0x62, 0x2d, 0x65, 0x38, 0x33, 0x34, 0x2d, 0x38, 0x35, 0x62, 0x38, 0x2d, 0x31, 0x37, 0x63, 0x63, 0x34, 0x64, 0x34, 0x32, 0x34, 0x31, 0x64, 0x36}}}, - {"[][]uint8", "91da002436313938336266662d656237372d313832322d346633332d356235373963316632653335", [][]uint8{[]uint8{0x36, 0x31, 0x39, 0x38, 0x33, 0x62, 0x66, 0x66, 0x2d, 0x65, 0x62, 0x37, 0x37, 0x2d, 0x31, 0x38, 0x32, 0x32, 0x2d, 0x34, 0x66, 0x33, 0x33, 0x2d, 0x35, 0x62, 0x35, 0x37, 0x39, 0x63, 0x31, 0x66, 0x32, 0x65, 0x33, 0x35}}}, - {"[][]uint8", "91da002437366236373032312d636263322d373132342d623362632d653838636165356334633931", [][]uint8{[]uint8{0x37, 0x36, 0x62, 0x36, 0x37, 0x30, 0x32, 0x31, 0x2d, 0x63, 0x62, 0x63, 0x32, 0x2d, 0x37, 0x31, 0x32, 0x34, 0x2d, 0x62, 0x33, 0x62, 0x63, 0x2d, 0x65, 0x38, 0x38, 0x63, 0x61, 0x65, 0x35, 0x63, 0x34, 0x63, 0x39, 0x31}}}, - {"[][]uint8", "91da002462363432336365352d353063632d396332362d313931662d353337306532356635326533", [][]uint8{[]uint8{0x62, 0x36, 0x34, 0x32, 0x33, 0x63, 0x65, 0x35, 0x2d, 0x35, 0x30, 0x63, 0x63, 0x2d, 0x39, 0x63, 0x32, 0x36, 0x2d, 0x31, 0x39, 0x31, 0x66, 0x2d, 0x35, 0x33, 0x37, 0x30, 0x65, 0x32, 0x35, 0x66, 0x35, 0x32, 0x65, 0x33}}}, - {"[][]uint8", "91da002462613037636639352d373262642d306461362d326161642d303264626130626331316332", [][]uint8{[]uint8{0x62, 0x61, 0x30, 0x37, 0x63, 0x66, 0x39, 0x35, 0x2d, 0x37, 0x32, 0x62, 0x64, 0x2d, 0x30, 0x64, 0x61, 0x36, 0x2d, 0x32, 0x61, 0x61, 0x64, 0x2d, 0x30, 0x32, 0x64, 0x62, 0x61, 0x30, 0x62, 0x63, 0x31, 0x31, 0x63, 0x32}}}, - {"[][]uint8", "92da002461306464633937302d633932342d313665652d396136392d306133383331656331303534da002464303434353566662d373536622d653039362d333538652d613462646137373632653434", [][]uint8{[]uint8{0x61, 0x30, 0x64, 0x64, 0x63, 0x39, 0x37, 0x30, 0x2d, 0x63, 0x39, 0x32, 0x34, 0x2d, 0x31, 0x36, 0x65, 0x65, 0x2d, 0x39, 0x61, 0x36, 0x39, 0x2d, 0x30, 0x61, 0x33, 0x38, 0x33, 0x31, 0x65, 0x63, 0x31, 0x30, 0x35, 0x34}, []uint8{0x64, 0x30, 0x34, 0x34, 0x35, 0x35, 0x66, 0x66, 0x2d, 0x37, 0x35, 0x36, 0x62, 0x2d, 0x65, 0x30, 0x39, 0x36, 0x2d, 0x33, 0x35, 0x38, 0x65, 0x2d, 0x61, 0x34, 0x62, 0x64, 0x61, 0x37, 0x37, 0x36, 0x32, 0x65, 0x34, 0x34}}}, - {"[][]uint8", "92da002462383363313831652d343630372d363535322d626466392d393036363934656637646137da002432313564393531312d366462642d383466662d336135312d636135653537363831653436", [][]uint8{[]uint8{0x62, 0x38, 0x33, 0x63, 0x31, 0x38, 0x31, 0x65, 0x2d, 0x34, 0x36, 0x30, 0x37, 0x2d, 0x36, 0x35, 0x35, 0x32, 0x2d, 0x62, 0x64, 0x66, 0x39, 0x2d, 0x39, 0x30, 0x36, 0x36, 0x39, 0x34, 0x65, 0x66, 0x37, 0x64, 0x61, 0x37}, []uint8{0x32, 0x31, 0x35, 0x64, 0x39, 0x35, 0x31, 0x31, 0x2d, 0x36, 0x64, 0x62, 0x64, 0x2d, 0x38, 0x34, 0x66, 0x66, 0x2d, 0x33, 0x61, 0x35, 0x31, 0x2d, 0x63, 0x61, 0x35, 0x65, 0x35, 0x37, 0x36, 0x38, 0x31, 0x65, 0x34, 0x36}}}, - {"[][]uint8", "93da002430646637323365312d386562652d383231362d303764642d353635626165356638393435da002438323462373235632d356365622d646336632d623431312d653831653037383262643635da002435613434653238332d313339342d333532302d663563392d376130333631386230386264", [][]uint8{[]uint8{0x30, 0x64, 0x66, 0x37, 0x32, 0x33, 0x65, 0x31, 0x2d, 0x38, 0x65, 0x62, 0x65, 0x2d, 0x38, 0x32, 0x31, 0x36, 0x2d, 0x30, 0x37, 0x64, 0x64, 0x2d, 0x35, 0x36, 0x35, 0x62, 0x61, 0x65, 0x35, 0x66, 0x38, 0x39, 0x34, 0x35}, []uint8{0x38, 0x32, 0x34, 0x62, 0x37, 0x32, 0x35, 0x63, 0x2d, 0x35, 0x63, 0x65, 0x62, 0x2d, 0x64, 0x63, 0x36, 0x63, 0x2d, 0x62, 0x34, 0x31, 0x31, 0x2d, 0x65, 0x38, 0x31, 0x65, 0x30, 0x37, 0x38, 0x32, 0x62, 0x64, 0x36, 0x35}, []uint8{0x35, 0x61, 0x34, 0x34, 0x65, 0x32, 0x38, 0x33, 0x2d, 0x31, 0x33, 0x39, 0x34, 0x2d, 0x33, 0x35, 0x32, 0x30, 0x2d, 0x66, 0x35, 0x63, 0x39, 0x2d, 0x37, 0x61, 0x30, 0x33, 0x36, 0x31, 0x38, 0x62, 0x30, 0x38, 0x62, 0x64}}}, - {"[][]uint8", "93da002431363565643161632d326161622d393963662d663139622d313936663736366334656363da002461306464343563312d393863632d393165332d393234392d353936663538333030333733da002431623834636134322d666562302d316462642d373630362d306435653739666534616435", [][]uint8{[]uint8{0x31, 0x36, 0x35, 0x65, 0x64, 0x31, 0x61, 0x63, 0x2d, 0x32, 0x61, 0x61, 0x62, 0x2d, 0x39, 0x39, 0x63, 0x66, 0x2d, 0x66, 0x31, 0x39, 0x62, 0x2d, 0x31, 0x39, 0x36, 0x66, 0x37, 0x36, 0x36, 0x63, 0x34, 0x65, 0x63, 0x63}, []uint8{0x61, 0x30, 0x64, 0x64, 0x34, 0x35, 0x63, 0x31, 0x2d, 0x39, 0x38, 0x63, 0x63, 0x2d, 0x39, 0x31, 0x65, 0x33, 0x2d, 0x39, 0x32, 0x34, 0x39, 0x2d, 0x35, 0x39, 0x36, 0x66, 0x35, 0x38, 0x33, 0x30, 0x30, 0x33, 0x37, 0x33}, []uint8{0x31, 0x62, 0x38, 0x34, 0x63, 0x61, 0x34, 0x32, 0x2d, 0x66, 0x65, 0x62, 0x30, 0x2d, 0x31, 0x64, 0x62, 0x64, 0x2d, 0x37, 0x36, 0x30, 0x36, 0x2d, 0x30, 0x64, 0x35, 0x65, 0x37, 0x39, 0x66, 0x65, 0x34, 0x61, 0x64, 0x35}}}, - {"[][]uint8", "93da002433666537313033322d633938612d636130662d626664662d346437616136306535373565da002431633930666139382d626265382d323532642d393035322d633166373231386365333139da002438363264363136622d313230352d303937322d666566652d646664613031666537306535", [][]uint8{[]uint8{0x33, 0x66, 0x65, 0x37, 0x31, 0x30, 0x33, 0x32, 0x2d, 0x63, 0x39, 0x38, 0x61, 0x2d, 0x63, 0x61, 0x30, 0x66, 0x2d, 0x62, 0x66, 0x64, 0x66, 0x2d, 0x34, 0x64, 0x37, 0x61, 0x61, 0x36, 0x30, 0x65, 0x35, 0x37, 0x35, 0x65}, []uint8{0x31, 0x63, 0x39, 0x30, 0x66, 0x61, 0x39, 0x38, 0x2d, 0x62, 0x62, 0x65, 0x38, 0x2d, 0x32, 0x35, 0x32, 0x64, 0x2d, 0x39, 0x30, 0x35, 0x32, 0x2d, 0x63, 0x31, 0x66, 0x37, 0x32, 0x31, 0x38, 0x63, 0x65, 0x33, 0x31, 0x39}, []uint8{0x38, 0x36, 0x32, 0x64, 0x36, 0x31, 0x36, 0x62, 0x2d, 0x31, 0x32, 0x30, 0x35, 0x2d, 0x30, 0x39, 0x37, 0x32, 0x2d, 0x66, 0x65, 0x66, 0x65, 0x2d, 0x64, 0x66, 0x64, 0x61, 0x30, 0x31, 0x66, 0x65, 0x37, 0x30, 0x65, 0x35}}}, - {"[][]uint8", "93da002435613531356632302d613335302d653430392d346435332d323333643736323162623565da002438376531343432362d626166372d316437352d316635632d623362393933303966373861da002463613936363461632d663963312d313461362d643363322d346662626432323933653461", [][]uint8{[]uint8{0x35, 0x61, 0x35, 0x31, 0x35, 0x66, 0x32, 0x30, 0x2d, 0x61, 0x33, 0x35, 0x30, 0x2d, 0x65, 0x34, 0x30, 0x39, 0x2d, 0x34, 0x64, 0x35, 0x33, 0x2d, 0x32, 0x33, 0x33, 0x64, 0x37, 0x36, 0x32, 0x31, 0x62, 0x62, 0x35, 0x65}, []uint8{0x38, 0x37, 0x65, 0x31, 0x34, 0x34, 0x32, 0x36, 0x2d, 0x62, 0x61, 0x66, 0x37, 0x2d, 0x31, 0x64, 0x37, 0x35, 0x2d, 0x31, 0x66, 0x35, 0x63, 0x2d, 0x62, 0x33, 0x62, 0x39, 0x39, 0x33, 0x30, 0x39, 0x66, 0x37, 0x38, 0x61}, []uint8{0x63, 0x61, 0x39, 0x36, 0x36, 0x34, 0x61, 0x63, 0x2d, 0x66, 0x39, 0x63, 0x31, 0x2d, 0x31, 0x34, 0x61, 0x36, 0x2d, 0x64, 0x33, 0x63, 0x32, 0x2d, 0x34, 0x66, 0x62, 0x62, 0x64, 0x32, 0x32, 0x39, 0x33, 0x65, 0x34, 0x61}}}, - {"[][]uint8", "93da002435623030653463652d663334642d616163392d363062392d313631346464346566626639da002431386234353039352d663639652d323730332d643437622d613763653062653531346365da002438363732616438332d663037642d653638352d363561662d653739323434656539623931", [][]uint8{[]uint8{0x35, 0x62, 0x30, 0x30, 0x65, 0x34, 0x63, 0x65, 0x2d, 0x66, 0x33, 0x34, 0x64, 0x2d, 0x61, 0x61, 0x63, 0x39, 0x2d, 0x36, 0x30, 0x62, 0x39, 0x2d, 0x31, 0x36, 0x31, 0x34, 0x64, 0x64, 0x34, 0x65, 0x66, 0x62, 0x66, 0x39}, []uint8{0x31, 0x38, 0x62, 0x34, 0x35, 0x30, 0x39, 0x35, 0x2d, 0x66, 0x36, 0x39, 0x65, 0x2d, 0x32, 0x37, 0x30, 0x33, 0x2d, 0x64, 0x34, 0x37, 0x62, 0x2d, 0x61, 0x37, 0x63, 0x65, 0x30, 0x62, 0x65, 0x35, 0x31, 0x34, 0x63, 0x65}, []uint8{0x38, 0x36, 0x37, 0x32, 0x61, 0x64, 0x38, 0x33, 0x2d, 0x66, 0x30, 0x37, 0x64, 0x2d, 0x65, 0x36, 0x38, 0x35, 0x2d, 0x36, 0x35, 0x61, 0x66, 0x2d, 0x65, 0x37, 0x39, 0x32, 0x34, 0x34, 0x65, 0x65, 0x39, 0x62, 0x39, 0x31}}}, - {"[][]uint8", "93da002438303134333736662d663362302d626664352d303337662d663631333037643535326333da002430386564303466302d303164652d303437352d396431632d346366353433356637373566da002433373761646636642d356338612d653232312d623063382d373837663166663631376530", [][]uint8{[]uint8{0x38, 0x30, 0x31, 0x34, 0x33, 0x37, 0x36, 0x66, 0x2d, 0x66, 0x33, 0x62, 0x30, 0x2d, 0x62, 0x66, 0x64, 0x35, 0x2d, 0x30, 0x33, 0x37, 0x66, 0x2d, 0x66, 0x36, 0x31, 0x33, 0x30, 0x37, 0x64, 0x35, 0x35, 0x32, 0x63, 0x33}, []uint8{0x30, 0x38, 0x65, 0x64, 0x30, 0x34, 0x66, 0x30, 0x2d, 0x30, 0x31, 0x64, 0x65, 0x2d, 0x30, 0x34, 0x37, 0x35, 0x2d, 0x39, 0x64, 0x31, 0x63, 0x2d, 0x34, 0x63, 0x66, 0x35, 0x34, 0x33, 0x35, 0x66, 0x37, 0x37, 0x35, 0x66}, []uint8{0x33, 0x37, 0x37, 0x61, 0x64, 0x66, 0x36, 0x64, 0x2d, 0x35, 0x63, 0x38, 0x61, 0x2d, 0x65, 0x32, 0x32, 0x31, 0x2d, 0x62, 0x30, 0x63, 0x38, 0x2d, 0x37, 0x38, 0x37, 0x66, 0x31, 0x66, 0x66, 0x36, 0x31, 0x37, 0x65, 0x30}}}, - {"[][]uint8", "93da002438323239373764352d653565342d333238302d323137312d353864373836376263343463da002462353161643964352d336539362d646339642d396534342d636463633865323563313034da002431613436383031332d373435392d373832652d356561392d323563373533623432393830", [][]uint8{[]uint8{0x38, 0x32, 0x32, 0x39, 0x37, 0x37, 0x64, 0x35, 0x2d, 0x65, 0x35, 0x65, 0x34, 0x2d, 0x33, 0x32, 0x38, 0x30, 0x2d, 0x32, 0x31, 0x37, 0x31, 0x2d, 0x35, 0x38, 0x64, 0x37, 0x38, 0x36, 0x37, 0x62, 0x63, 0x34, 0x34, 0x63}, []uint8{0x62, 0x35, 0x31, 0x61, 0x64, 0x39, 0x64, 0x35, 0x2d, 0x33, 0x65, 0x39, 0x36, 0x2d, 0x64, 0x63, 0x39, 0x64, 0x2d, 0x39, 0x65, 0x34, 0x34, 0x2d, 0x63, 0x64, 0x63, 0x63, 0x38, 0x65, 0x32, 0x35, 0x63, 0x31, 0x30, 0x34}, []uint8{0x31, 0x61, 0x34, 0x36, 0x38, 0x30, 0x31, 0x33, 0x2d, 0x37, 0x34, 0x35, 0x39, 0x2d, 0x37, 0x38, 0x32, 0x65, 0x2d, 0x35, 0x65, 0x61, 0x39, 0x2d, 0x32, 0x35, 0x63, 0x37, 0x35, 0x33, 0x62, 0x34, 0x32, 0x39, 0x38, 0x30}}}, - {"[][]uint8", "93da002438383136323563612d303761622d326438632d323066342d386330326466306631336661da002466313064343063302d323662662d623232332d613932312d386334653936623562376564da002437636631396562372d393531652d373636612d656633642d646335396564616430306438", [][]uint8{[]uint8{0x38, 0x38, 0x31, 0x36, 0x32, 0x35, 0x63, 0x61, 0x2d, 0x30, 0x37, 0x61, 0x62, 0x2d, 0x32, 0x64, 0x38, 0x63, 0x2d, 0x32, 0x30, 0x66, 0x34, 0x2d, 0x38, 0x63, 0x30, 0x32, 0x64, 0x66, 0x30, 0x66, 0x31, 0x33, 0x66, 0x61}, []uint8{0x66, 0x31, 0x30, 0x64, 0x34, 0x30, 0x63, 0x30, 0x2d, 0x32, 0x36, 0x62, 0x66, 0x2d, 0x62, 0x32, 0x32, 0x33, 0x2d, 0x61, 0x39, 0x32, 0x31, 0x2d, 0x38, 0x63, 0x34, 0x65, 0x39, 0x36, 0x62, 0x35, 0x62, 0x37, 0x65, 0x64}, []uint8{0x37, 0x63, 0x66, 0x31, 0x39, 0x65, 0x62, 0x37, 0x2d, 0x39, 0x35, 0x31, 0x65, 0x2d, 0x37, 0x36, 0x36, 0x61, 0x2d, 0x65, 0x66, 0x33, 0x64, 0x2d, 0x64, 0x63, 0x35, 0x39, 0x65, 0x64, 0x61, 0x64, 0x30, 0x30, 0x64, 0x38}}}, - {"[][]uint8", "93da002438383136323563612d303761622d326438632d323066342d386330326466306631336661da002466613663316532322d353761362d393465662d646561632d373735313632626233626462da002430343639396262632d623165382d393461632d343739392d316162623839666139663633", [][]uint8{[]uint8{0x38, 0x38, 0x31, 0x36, 0x32, 0x35, 0x63, 0x61, 0x2d, 0x30, 0x37, 0x61, 0x62, 0x2d, 0x32, 0x64, 0x38, 0x63, 0x2d, 0x32, 0x30, 0x66, 0x34, 0x2d, 0x38, 0x63, 0x30, 0x32, 0x64, 0x66, 0x30, 0x66, 0x31, 0x33, 0x66, 0x61}, []uint8{0x66, 0x61, 0x36, 0x63, 0x31, 0x65, 0x32, 0x32, 0x2d, 0x35, 0x37, 0x61, 0x36, 0x2d, 0x39, 0x34, 0x65, 0x66, 0x2d, 0x64, 0x65, 0x61, 0x63, 0x2d, 0x37, 0x37, 0x35, 0x31, 0x36, 0x32, 0x62, 0x62, 0x33, 0x62, 0x64, 0x62}, []uint8{0x30, 0x34, 0x36, 0x39, 0x39, 0x62, 0x62, 0x63, 0x2d, 0x62, 0x31, 0x65, 0x38, 0x2d, 0x39, 0x34, 0x61, 0x63, 0x2d, 0x34, 0x37, 0x39, 0x39, 0x2d, 0x31, 0x61, 0x62, 0x62, 0x38, 0x39, 0x66, 0x61, 0x39, 0x66, 0x36, 0x33}}}, - {"[][]uint8", "93da002438613634653135332d393431612d646630662d386266312d323861343432326633663938da002438623735376536662d366266322d336166322d323262652d313761633163306262343965da002432616361636538662d363661642d656534642d326665662d376134353561363439646531", [][]uint8{[]uint8{0x38, 0x61, 0x36, 0x34, 0x65, 0x31, 0x35, 0x33, 0x2d, 0x39, 0x34, 0x31, 0x61, 0x2d, 0x64, 0x66, 0x30, 0x66, 0x2d, 0x38, 0x62, 0x66, 0x31, 0x2d, 0x32, 0x38, 0x61, 0x34, 0x34, 0x32, 0x32, 0x66, 0x33, 0x66, 0x39, 0x38}, []uint8{0x38, 0x62, 0x37, 0x35, 0x37, 0x65, 0x36, 0x66, 0x2d, 0x36, 0x62, 0x66, 0x32, 0x2d, 0x33, 0x61, 0x66, 0x32, 0x2d, 0x32, 0x32, 0x62, 0x65, 0x2d, 0x31, 0x37, 0x61, 0x63, 0x31, 0x63, 0x30, 0x62, 0x62, 0x34, 0x39, 0x65}, []uint8{0x32, 0x61, 0x63, 0x61, 0x63, 0x65, 0x38, 0x66, 0x2d, 0x36, 0x36, 0x61, 0x64, 0x2d, 0x65, 0x65, 0x34, 0x64, 0x2d, 0x32, 0x66, 0x65, 0x66, 0x2d, 0x37, 0x61, 0x34, 0x35, 0x35, 0x61, 0x36, 0x34, 0x39, 0x64, 0x65, 0x31}}}, - {"[][]uint8", "93da002462383363313831652d343630372d363535322d626466392d393036363934656637646137da002432313564393531312d366462642d383466662d336135312d636135653537363831653436da002430643739343632372d636239382d656131322d376232612d356131306466383736303563", [][]uint8{[]uint8{0x62, 0x38, 0x33, 0x63, 0x31, 0x38, 0x31, 0x65, 0x2d, 0x34, 0x36, 0x30, 0x37, 0x2d, 0x36, 0x35, 0x35, 0x32, 0x2d, 0x62, 0x64, 0x66, 0x39, 0x2d, 0x39, 0x30, 0x36, 0x36, 0x39, 0x34, 0x65, 0x66, 0x37, 0x64, 0x61, 0x37}, []uint8{0x32, 0x31, 0x35, 0x64, 0x39, 0x35, 0x31, 0x31, 0x2d, 0x36, 0x64, 0x62, 0x64, 0x2d, 0x38, 0x34, 0x66, 0x66, 0x2d, 0x33, 0x61, 0x35, 0x31, 0x2d, 0x63, 0x61, 0x35, 0x65, 0x35, 0x37, 0x36, 0x38, 0x31, 0x65, 0x34, 0x36}, []uint8{0x30, 0x64, 0x37, 0x39, 0x34, 0x36, 0x32, 0x37, 0x2d, 0x63, 0x62, 0x39, 0x38, 0x2d, 0x65, 0x61, 0x31, 0x32, 0x2d, 0x37, 0x62, 0x32, 0x61, 0x2d, 0x35, 0x61, 0x31, 0x30, 0x64, 0x66, 0x38, 0x37, 0x36, 0x30, 0x35, 0x63}}}, - {"[][]uint8", "93da002464353362363039332d316638342d376435362d616436322d386366356639343035393733da002436353332636334642d646439662d316162352d653039622d363266656636666139346334da002463663431376335642d326535392d323835622d636362652d323164363937636232363263", [][]uint8{[]uint8{0x64, 0x35, 0x33, 0x62, 0x36, 0x30, 0x39, 0x33, 0x2d, 0x31, 0x66, 0x38, 0x34, 0x2d, 0x37, 0x64, 0x35, 0x36, 0x2d, 0x61, 0x64, 0x36, 0x32, 0x2d, 0x38, 0x63, 0x66, 0x35, 0x66, 0x39, 0x34, 0x30, 0x35, 0x39, 0x37, 0x33}, []uint8{0x36, 0x35, 0x33, 0x32, 0x63, 0x63, 0x34, 0x64, 0x2d, 0x64, 0x64, 0x39, 0x66, 0x2d, 0x31, 0x61, 0x62, 0x35, 0x2d, 0x65, 0x30, 0x39, 0x62, 0x2d, 0x36, 0x32, 0x66, 0x65, 0x66, 0x36, 0x66, 0x61, 0x39, 0x34, 0x63, 0x34}, []uint8{0x63, 0x66, 0x34, 0x31, 0x37, 0x63, 0x35, 0x64, 0x2d, 0x32, 0x65, 0x35, 0x39, 0x2d, 0x32, 0x38, 0x35, 0x62, 0x2d, 0x63, 0x63, 0x62, 0x65, 0x2d, 0x32, 0x31, 0x64, 0x36, 0x39, 0x37, 0x63, 0x62, 0x32, 0x36, 0x32, 0x63}}}, - {"[][]uint8", "93da002465333463386630352d633434382d666466652d626639642d343365353036366333356138da002461623436303533372d323430302d323964342d633465392d366533343731363231633538da002434383064646635322d623737312d626432372d653263362d626235353838623366393266", [][]uint8{[]uint8{0x65, 0x33, 0x34, 0x63, 0x38, 0x66, 0x30, 0x35, 0x2d, 0x63, 0x34, 0x34, 0x38, 0x2d, 0x66, 0x64, 0x66, 0x65, 0x2d, 0x62, 0x66, 0x39, 0x64, 0x2d, 0x34, 0x33, 0x65, 0x35, 0x30, 0x36, 0x36, 0x63, 0x33, 0x35, 0x61, 0x38}, []uint8{0x61, 0x62, 0x34, 0x36, 0x30, 0x35, 0x33, 0x37, 0x2d, 0x32, 0x34, 0x30, 0x30, 0x2d, 0x32, 0x39, 0x64, 0x34, 0x2d, 0x63, 0x34, 0x65, 0x39, 0x2d, 0x36, 0x65, 0x33, 0x34, 0x37, 0x31, 0x36, 0x32, 0x31, 0x63, 0x35, 0x38}, []uint8{0x34, 0x38, 0x30, 0x64, 0x64, 0x66, 0x35, 0x32, 0x2d, 0x62, 0x37, 0x37, 0x31, 0x2d, 0x62, 0x64, 0x32, 0x37, 0x2d, 0x65, 0x32, 0x63, 0x36, 0x2d, 0x62, 0x62, 0x35, 0x35, 0x38, 0x38, 0x62, 0x33, 0x66, 0x39, 0x32, 0x66}}}, - {"[][]uint8", "93da002466326334313038642d356564632d333264312d363837302d613437363763643161333261da002432666163306334322d626130382d343661322d616265362d626630616666636264316665da002431653461313535392d303435322d643264632d646362632d656264636134393734306664", [][]uint8{[]uint8{0x66, 0x32, 0x63, 0x34, 0x31, 0x30, 0x38, 0x64, 0x2d, 0x35, 0x65, 0x64, 0x63, 0x2d, 0x33, 0x32, 0x64, 0x31, 0x2d, 0x36, 0x38, 0x37, 0x30, 0x2d, 0x61, 0x34, 0x37, 0x36, 0x37, 0x63, 0x64, 0x31, 0x61, 0x33, 0x32, 0x61}, []uint8{0x32, 0x66, 0x61, 0x63, 0x30, 0x63, 0x34, 0x32, 0x2d, 0x62, 0x61, 0x30, 0x38, 0x2d, 0x34, 0x36, 0x61, 0x32, 0x2d, 0x61, 0x62, 0x65, 0x36, 0x2d, 0x62, 0x66, 0x30, 0x61, 0x66, 0x66, 0x63, 0x62, 0x64, 0x31, 0x66, 0x65}, []uint8{0x31, 0x65, 0x34, 0x61, 0x31, 0x35, 0x35, 0x39, 0x2d, 0x30, 0x34, 0x35, 0x32, 0x2d, 0x64, 0x32, 0x64, 0x63, 0x2d, 0x64, 0x63, 0x62, 0x63, 0x2d, 0x65, 0x62, 0x64, 0x63, 0x61, 0x34, 0x39, 0x37, 0x34, 0x30, 0x66, 0x64}}}, - {"[][]uint8", "93da002466633639323432312d333730662d383737382d623063332d666466356665326434623738da002465306531616565632d356534612d313138372d643266662d393666333261323232326366da002462656363316333372d333034312d356538392d373763362d316135633638643661383532", [][]uint8{[]uint8{0x66, 0x63, 0x36, 0x39, 0x32, 0x34, 0x32, 0x31, 0x2d, 0x33, 0x37, 0x30, 0x66, 0x2d, 0x38, 0x37, 0x37, 0x38, 0x2d, 0x62, 0x30, 0x63, 0x33, 0x2d, 0x66, 0x64, 0x66, 0x35, 0x66, 0x65, 0x32, 0x64, 0x34, 0x62, 0x37, 0x38}, []uint8{0x65, 0x30, 0x65, 0x31, 0x61, 0x65, 0x65, 0x63, 0x2d, 0x35, 0x65, 0x34, 0x61, 0x2d, 0x31, 0x31, 0x38, 0x37, 0x2d, 0x64, 0x32, 0x66, 0x66, 0x2d, 0x39, 0x36, 0x66, 0x33, 0x32, 0x61, 0x32, 0x32, 0x32, 0x32, 0x63, 0x66}, []uint8{0x62, 0x65, 0x63, 0x63, 0x31, 0x63, 0x33, 0x37, 0x2d, 0x33, 0x30, 0x34, 0x31, 0x2d, 0x35, 0x65, 0x38, 0x39, 0x2d, 0x37, 0x37, 0x63, 0x36, 0x2d, 0x31, 0x61, 0x35, 0x63, 0x36, 0x38, 0x64, 0x36, 0x61, 0x38, 0x35, 0x32}}}, + {"[][]uint8", "91a96f7665722068657265", [][]uint8{{0x6f, 0x76, 0x65, 0x72, 0x20, 0x68, 0x65, 0x72, 0x65}}}, + {"[][]uint8", "91da002435393830333435302d616237622d653833342d383562382d313763633464343234316436", [][]uint8{{0x35, 0x39, 0x38, 0x30, 0x33, 0x34, 0x35, 0x30, 0x2d, 0x61, 0x62, 0x37, 0x62, 0x2d, 0x65, 0x38, 0x33, 0x34, 0x2d, 0x38, 0x35, 0x62, 0x38, 0x2d, 0x31, 0x37, 0x63, 0x63, 0x34, 0x64, 0x34, 0x32, 0x34, 0x31, 0x64, 0x36}}}, + {"[][]uint8", "91da002436313938336266662d656237372d313832322d346633332d356235373963316632653335", [][]uint8{{0x36, 0x31, 0x39, 0x38, 0x33, 0x62, 0x66, 0x66, 0x2d, 0x65, 0x62, 0x37, 0x37, 0x2d, 0x31, 0x38, 0x32, 0x32, 0x2d, 0x34, 0x66, 0x33, 0x33, 0x2d, 0x35, 0x62, 0x35, 0x37, 0x39, 0x63, 0x31, 0x66, 0x32, 0x65, 0x33, 0x35}}}, + {"[][]uint8", "91da002437366236373032312d636263322d373132342d623362632d653838636165356334633931", [][]uint8{{0x37, 0x36, 0x62, 0x36, 0x37, 0x30, 0x32, 0x31, 0x2d, 0x63, 0x62, 0x63, 0x32, 0x2d, 0x37, 0x31, 0x32, 0x34, 0x2d, 0x62, 0x33, 0x62, 0x63, 0x2d, 0x65, 0x38, 0x38, 0x63, 0x61, 0x65, 0x35, 0x63, 0x34, 0x63, 0x39, 0x31}}}, + {"[][]uint8", "91da002462363432336365352d353063632d396332362d313931662d353337306532356635326533", [][]uint8{{0x62, 0x36, 0x34, 0x32, 0x33, 0x63, 0x65, 0x35, 0x2d, 0x35, 0x30, 0x63, 0x63, 0x2d, 0x39, 0x63, 0x32, 0x36, 0x2d, 0x31, 0x39, 0x31, 0x66, 0x2d, 0x35, 0x33, 0x37, 0x30, 0x65, 0x32, 0x35, 0x66, 0x35, 0x32, 0x65, 0x33}}}, + {"[][]uint8", "91da002462613037636639352d373262642d306461362d326161642d303264626130626331316332", [][]uint8{{0x62, 0x61, 0x30, 0x37, 0x63, 0x66, 0x39, 0x35, 0x2d, 0x37, 0x32, 0x62, 0x64, 0x2d, 0x30, 0x64, 0x61, 0x36, 0x2d, 0x32, 0x61, 0x61, 0x64, 0x2d, 0x30, 0x32, 0x64, 0x62, 0x61, 0x30, 0x62, 0x63, 0x31, 0x31, 0x63, 0x32}}}, + {"[][]uint8", "92da002461306464633937302d633932342d313665652d396136392d306133383331656331303534da002464303434353566662d373536622d653039362d333538652d613462646137373632653434", [][]uint8{{0x61, 0x30, 0x64, 0x64, 0x63, 0x39, 0x37, 0x30, 0x2d, 0x63, 0x39, 0x32, 0x34, 0x2d, 0x31, 0x36, 0x65, 0x65, 0x2d, 0x39, 0x61, 0x36, 0x39, 0x2d, 0x30, 0x61, 0x33, 0x38, 0x33, 0x31, 0x65, 0x63, 0x31, 0x30, 0x35, 0x34}, {0x64, 0x30, 0x34, 0x34, 0x35, 0x35, 0x66, 0x66, 0x2d, 0x37, 0x35, 0x36, 0x62, 0x2d, 0x65, 0x30, 0x39, 0x36, 0x2d, 0x33, 0x35, 0x38, 0x65, 0x2d, 0x61, 0x34, 0x62, 0x64, 0x61, 0x37, 0x37, 0x36, 0x32, 0x65, 0x34, 0x34}}}, + {"[][]uint8", "92da002462383363313831652d343630372d363535322d626466392d393036363934656637646137da002432313564393531312d366462642d383466662d336135312d636135653537363831653436", [][]uint8{{0x62, 0x38, 0x33, 0x63, 0x31, 0x38, 0x31, 0x65, 0x2d, 0x34, 0x36, 0x30, 0x37, 0x2d, 0x36, 0x35, 0x35, 0x32, 0x2d, 0x62, 0x64, 0x66, 0x39, 0x2d, 0x39, 0x30, 0x36, 0x36, 0x39, 0x34, 0x65, 0x66, 0x37, 0x64, 0x61, 0x37}, {0x32, 0x31, 0x35, 0x64, 0x39, 0x35, 0x31, 0x31, 0x2d, 0x36, 0x64, 0x62, 0x64, 0x2d, 0x38, 0x34, 0x66, 0x66, 0x2d, 0x33, 0x61, 0x35, 0x31, 0x2d, 0x63, 0x61, 0x35, 0x65, 0x35, 0x37, 0x36, 0x38, 0x31, 0x65, 0x34, 0x36}}}, + {"[][]uint8", "93da002430646637323365312d386562652d383231362d303764642d353635626165356638393435da002438323462373235632d356365622d646336632d623431312d653831653037383262643635da002435613434653238332d313339342d333532302d663563392d376130333631386230386264", [][]uint8{{0x30, 0x64, 0x66, 0x37, 0x32, 0x33, 0x65, 0x31, 0x2d, 0x38, 0x65, 0x62, 0x65, 0x2d, 0x38, 0x32, 0x31, 0x36, 0x2d, 0x30, 0x37, 0x64, 0x64, 0x2d, 0x35, 0x36, 0x35, 0x62, 0x61, 0x65, 0x35, 0x66, 0x38, 0x39, 0x34, 0x35}, {0x38, 0x32, 0x34, 0x62, 0x37, 0x32, 0x35, 0x63, 0x2d, 0x35, 0x63, 0x65, 0x62, 0x2d, 0x64, 0x63, 0x36, 0x63, 0x2d, 0x62, 0x34, 0x31, 0x31, 0x2d, 0x65, 0x38, 0x31, 0x65, 0x30, 0x37, 0x38, 0x32, 0x62, 0x64, 0x36, 0x35}, {0x35, 0x61, 0x34, 0x34, 0x65, 0x32, 0x38, 0x33, 0x2d, 0x31, 0x33, 0x39, 0x34, 0x2d, 0x33, 0x35, 0x32, 0x30, 0x2d, 0x66, 0x35, 0x63, 0x39, 0x2d, 0x37, 0x61, 0x30, 0x33, 0x36, 0x31, 0x38, 0x62, 0x30, 0x38, 0x62, 0x64}}}, + {"[][]uint8", "93da002431363565643161632d326161622d393963662d663139622d313936663736366334656363da002461306464343563312d393863632d393165332d393234392d353936663538333030333733da002431623834636134322d666562302d316462642d373630362d306435653739666534616435", [][]uint8{{0x31, 0x36, 0x35, 0x65, 0x64, 0x31, 0x61, 0x63, 0x2d, 0x32, 0x61, 0x61, 0x62, 0x2d, 0x39, 0x39, 0x63, 0x66, 0x2d, 0x66, 0x31, 0x39, 0x62, 0x2d, 0x31, 0x39, 0x36, 0x66, 0x37, 0x36, 0x36, 0x63, 0x34, 0x65, 0x63, 0x63}, {0x61, 0x30, 0x64, 0x64, 0x34, 0x35, 0x63, 0x31, 0x2d, 0x39, 0x38, 0x63, 0x63, 0x2d, 0x39, 0x31, 0x65, 0x33, 0x2d, 0x39, 0x32, 0x34, 0x39, 0x2d, 0x35, 0x39, 0x36, 0x66, 0x35, 0x38, 0x33, 0x30, 0x30, 0x33, 0x37, 0x33}, {0x31, 0x62, 0x38, 0x34, 0x63, 0x61, 0x34, 0x32, 0x2d, 0x66, 0x65, 0x62, 0x30, 0x2d, 0x31, 0x64, 0x62, 0x64, 0x2d, 0x37, 0x36, 0x30, 0x36, 0x2d, 0x30, 0x64, 0x35, 0x65, 0x37, 0x39, 0x66, 0x65, 0x34, 0x61, 0x64, 0x35}}}, + {"[][]uint8", "93da002433666537313033322d633938612d636130662d626664662d346437616136306535373565da002431633930666139382d626265382d323532642d393035322d633166373231386365333139da002438363264363136622d313230352d303937322d666566652d646664613031666537306535", [][]uint8{{0x33, 0x66, 0x65, 0x37, 0x31, 0x30, 0x33, 0x32, 0x2d, 0x63, 0x39, 0x38, 0x61, 0x2d, 0x63, 0x61, 0x30, 0x66, 0x2d, 0x62, 0x66, 0x64, 0x66, 0x2d, 0x34, 0x64, 0x37, 0x61, 0x61, 0x36, 0x30, 0x65, 0x35, 0x37, 0x35, 0x65}, {0x31, 0x63, 0x39, 0x30, 0x66, 0x61, 0x39, 0x38, 0x2d, 0x62, 0x62, 0x65, 0x38, 0x2d, 0x32, 0x35, 0x32, 0x64, 0x2d, 0x39, 0x30, 0x35, 0x32, 0x2d, 0x63, 0x31, 0x66, 0x37, 0x32, 0x31, 0x38, 0x63, 0x65, 0x33, 0x31, 0x39}, {0x38, 0x36, 0x32, 0x64, 0x36, 0x31, 0x36, 0x62, 0x2d, 0x31, 0x32, 0x30, 0x35, 0x2d, 0x30, 0x39, 0x37, 0x32, 0x2d, 0x66, 0x65, 0x66, 0x65, 0x2d, 0x64, 0x66, 0x64, 0x61, 0x30, 0x31, 0x66, 0x65, 0x37, 0x30, 0x65, 0x35}}}, + {"[][]uint8", "93da002435613531356632302d613335302d653430392d346435332d323333643736323162623565da002438376531343432362d626166372d316437352d316635632d623362393933303966373861da002463613936363461632d663963312d313461362d643363322d346662626432323933653461", [][]uint8{{0x35, 0x61, 0x35, 0x31, 0x35, 0x66, 0x32, 0x30, 0x2d, 0x61, 0x33, 0x35, 0x30, 0x2d, 0x65, 0x34, 0x30, 0x39, 0x2d, 0x34, 0x64, 0x35, 0x33, 0x2d, 0x32, 0x33, 0x33, 0x64, 0x37, 0x36, 0x32, 0x31, 0x62, 0x62, 0x35, 0x65}, {0x38, 0x37, 0x65, 0x31, 0x34, 0x34, 0x32, 0x36, 0x2d, 0x62, 0x61, 0x66, 0x37, 0x2d, 0x31, 0x64, 0x37, 0x35, 0x2d, 0x31, 0x66, 0x35, 0x63, 0x2d, 0x62, 0x33, 0x62, 0x39, 0x39, 0x33, 0x30, 0x39, 0x66, 0x37, 0x38, 0x61}, {0x63, 0x61, 0x39, 0x36, 0x36, 0x34, 0x61, 0x63, 0x2d, 0x66, 0x39, 0x63, 0x31, 0x2d, 0x31, 0x34, 0x61, 0x36, 0x2d, 0x64, 0x33, 0x63, 0x32, 0x2d, 0x34, 0x66, 0x62, 0x62, 0x64, 0x32, 0x32, 0x39, 0x33, 0x65, 0x34, 0x61}}}, + {"[][]uint8", "93da002435623030653463652d663334642d616163392d363062392d313631346464346566626639da002431386234353039352d663639652d323730332d643437622d613763653062653531346365da002438363732616438332d663037642d653638352d363561662d653739323434656539623931", [][]uint8{{0x35, 0x62, 0x30, 0x30, 0x65, 0x34, 0x63, 0x65, 0x2d, 0x66, 0x33, 0x34, 0x64, 0x2d, 0x61, 0x61, 0x63, 0x39, 0x2d, 0x36, 0x30, 0x62, 0x39, 0x2d, 0x31, 0x36, 0x31, 0x34, 0x64, 0x64, 0x34, 0x65, 0x66, 0x62, 0x66, 0x39}, {0x31, 0x38, 0x62, 0x34, 0x35, 0x30, 0x39, 0x35, 0x2d, 0x66, 0x36, 0x39, 0x65, 0x2d, 0x32, 0x37, 0x30, 0x33, 0x2d, 0x64, 0x34, 0x37, 0x62, 0x2d, 0x61, 0x37, 0x63, 0x65, 0x30, 0x62, 0x65, 0x35, 0x31, 0x34, 0x63, 0x65}, {0x38, 0x36, 0x37, 0x32, 0x61, 0x64, 0x38, 0x33, 0x2d, 0x66, 0x30, 0x37, 0x64, 0x2d, 0x65, 0x36, 0x38, 0x35, 0x2d, 0x36, 0x35, 0x61, 0x66, 0x2d, 0x65, 0x37, 0x39, 0x32, 0x34, 0x34, 0x65, 0x65, 0x39, 0x62, 0x39, 0x31}}}, + {"[][]uint8", "93da002438303134333736662d663362302d626664352d303337662d663631333037643535326333da002430386564303466302d303164652d303437352d396431632d346366353433356637373566da002433373761646636642d356338612d653232312d623063382d373837663166663631376530", [][]uint8{{0x38, 0x30, 0x31, 0x34, 0x33, 0x37, 0x36, 0x66, 0x2d, 0x66, 0x33, 0x62, 0x30, 0x2d, 0x62, 0x66, 0x64, 0x35, 0x2d, 0x30, 0x33, 0x37, 0x66, 0x2d, 0x66, 0x36, 0x31, 0x33, 0x30, 0x37, 0x64, 0x35, 0x35, 0x32, 0x63, 0x33}, {0x30, 0x38, 0x65, 0x64, 0x30, 0x34, 0x66, 0x30, 0x2d, 0x30, 0x31, 0x64, 0x65, 0x2d, 0x30, 0x34, 0x37, 0x35, 0x2d, 0x39, 0x64, 0x31, 0x63, 0x2d, 0x34, 0x63, 0x66, 0x35, 0x34, 0x33, 0x35, 0x66, 0x37, 0x37, 0x35, 0x66}, {0x33, 0x37, 0x37, 0x61, 0x64, 0x66, 0x36, 0x64, 0x2d, 0x35, 0x63, 0x38, 0x61, 0x2d, 0x65, 0x32, 0x32, 0x31, 0x2d, 0x62, 0x30, 0x63, 0x38, 0x2d, 0x37, 0x38, 0x37, 0x66, 0x31, 0x66, 0x66, 0x36, 0x31, 0x37, 0x65, 0x30}}}, + {"[][]uint8", "93da002438323239373764352d653565342d333238302d323137312d353864373836376263343463da002462353161643964352d336539362d646339642d396534342d636463633865323563313034da002431613436383031332d373435392d373832652d356561392d323563373533623432393830", [][]uint8{{0x38, 0x32, 0x32, 0x39, 0x37, 0x37, 0x64, 0x35, 0x2d, 0x65, 0x35, 0x65, 0x34, 0x2d, 0x33, 0x32, 0x38, 0x30, 0x2d, 0x32, 0x31, 0x37, 0x31, 0x2d, 0x35, 0x38, 0x64, 0x37, 0x38, 0x36, 0x37, 0x62, 0x63, 0x34, 0x34, 0x63}, {0x62, 0x35, 0x31, 0x61, 0x64, 0x39, 0x64, 0x35, 0x2d, 0x33, 0x65, 0x39, 0x36, 0x2d, 0x64, 0x63, 0x39, 0x64, 0x2d, 0x39, 0x65, 0x34, 0x34, 0x2d, 0x63, 0x64, 0x63, 0x63, 0x38, 0x65, 0x32, 0x35, 0x63, 0x31, 0x30, 0x34}, {0x31, 0x61, 0x34, 0x36, 0x38, 0x30, 0x31, 0x33, 0x2d, 0x37, 0x34, 0x35, 0x39, 0x2d, 0x37, 0x38, 0x32, 0x65, 0x2d, 0x35, 0x65, 0x61, 0x39, 0x2d, 0x32, 0x35, 0x63, 0x37, 0x35, 0x33, 0x62, 0x34, 0x32, 0x39, 0x38, 0x30}}}, + {"[][]uint8", "93da002438383136323563612d303761622d326438632d323066342d386330326466306631336661da002466313064343063302d323662662d623232332d613932312d386334653936623562376564da002437636631396562372d393531652d373636612d656633642d646335396564616430306438", [][]uint8{{0x38, 0x38, 0x31, 0x36, 0x32, 0x35, 0x63, 0x61, 0x2d, 0x30, 0x37, 0x61, 0x62, 0x2d, 0x32, 0x64, 0x38, 0x63, 0x2d, 0x32, 0x30, 0x66, 0x34, 0x2d, 0x38, 0x63, 0x30, 0x32, 0x64, 0x66, 0x30, 0x66, 0x31, 0x33, 0x66, 0x61}, {0x66, 0x31, 0x30, 0x64, 0x34, 0x30, 0x63, 0x30, 0x2d, 0x32, 0x36, 0x62, 0x66, 0x2d, 0x62, 0x32, 0x32, 0x33, 0x2d, 0x61, 0x39, 0x32, 0x31, 0x2d, 0x38, 0x63, 0x34, 0x65, 0x39, 0x36, 0x62, 0x35, 0x62, 0x37, 0x65, 0x64}, {0x37, 0x63, 0x66, 0x31, 0x39, 0x65, 0x62, 0x37, 0x2d, 0x39, 0x35, 0x31, 0x65, 0x2d, 0x37, 0x36, 0x36, 0x61, 0x2d, 0x65, 0x66, 0x33, 0x64, 0x2d, 0x64, 0x63, 0x35, 0x39, 0x65, 0x64, 0x61, 0x64, 0x30, 0x30, 0x64, 0x38}}}, + {"[][]uint8", "93da002438383136323563612d303761622d326438632d323066342d386330326466306631336661da002466613663316532322d353761362d393465662d646561632d373735313632626233626462da002430343639396262632d623165382d393461632d343739392d316162623839666139663633", [][]uint8{{0x38, 0x38, 0x31, 0x36, 0x32, 0x35, 0x63, 0x61, 0x2d, 0x30, 0x37, 0x61, 0x62, 0x2d, 0x32, 0x64, 0x38, 0x63, 0x2d, 0x32, 0x30, 0x66, 0x34, 0x2d, 0x38, 0x63, 0x30, 0x32, 0x64, 0x66, 0x30, 0x66, 0x31, 0x33, 0x66, 0x61}, {0x66, 0x61, 0x36, 0x63, 0x31, 0x65, 0x32, 0x32, 0x2d, 0x35, 0x37, 0x61, 0x36, 0x2d, 0x39, 0x34, 0x65, 0x66, 0x2d, 0x64, 0x65, 0x61, 0x63, 0x2d, 0x37, 0x37, 0x35, 0x31, 0x36, 0x32, 0x62, 0x62, 0x33, 0x62, 0x64, 0x62}, {0x30, 0x34, 0x36, 0x39, 0x39, 0x62, 0x62, 0x63, 0x2d, 0x62, 0x31, 0x65, 0x38, 0x2d, 0x39, 0x34, 0x61, 0x63, 0x2d, 0x34, 0x37, 0x39, 0x39, 0x2d, 0x31, 0x61, 0x62, 0x62, 0x38, 0x39, 0x66, 0x61, 0x39, 0x66, 0x36, 0x33}}}, + {"[][]uint8", "93da002438613634653135332d393431612d646630662d386266312d323861343432326633663938da002438623735376536662d366266322d336166322d323262652d313761633163306262343965da002432616361636538662d363661642d656534642d326665662d376134353561363439646531", [][]uint8{{0x38, 0x61, 0x36, 0x34, 0x65, 0x31, 0x35, 0x33, 0x2d, 0x39, 0x34, 0x31, 0x61, 0x2d, 0x64, 0x66, 0x30, 0x66, 0x2d, 0x38, 0x62, 0x66, 0x31, 0x2d, 0x32, 0x38, 0x61, 0x34, 0x34, 0x32, 0x32, 0x66, 0x33, 0x66, 0x39, 0x38}, {0x38, 0x62, 0x37, 0x35, 0x37, 0x65, 0x36, 0x66, 0x2d, 0x36, 0x62, 0x66, 0x32, 0x2d, 0x33, 0x61, 0x66, 0x32, 0x2d, 0x32, 0x32, 0x62, 0x65, 0x2d, 0x31, 0x37, 0x61, 0x63, 0x31, 0x63, 0x30, 0x62, 0x62, 0x34, 0x39, 0x65}, {0x32, 0x61, 0x63, 0x61, 0x63, 0x65, 0x38, 0x66, 0x2d, 0x36, 0x36, 0x61, 0x64, 0x2d, 0x65, 0x65, 0x34, 0x64, 0x2d, 0x32, 0x66, 0x65, 0x66, 0x2d, 0x37, 0x61, 0x34, 0x35, 0x35, 0x61, 0x36, 0x34, 0x39, 0x64, 0x65, 0x31}}}, + {"[][]uint8", "93da002462383363313831652d343630372d363535322d626466392d393036363934656637646137da002432313564393531312d366462642d383466662d336135312d636135653537363831653436da002430643739343632372d636239382d656131322d376232612d356131306466383736303563", [][]uint8{{0x62, 0x38, 0x33, 0x63, 0x31, 0x38, 0x31, 0x65, 0x2d, 0x34, 0x36, 0x30, 0x37, 0x2d, 0x36, 0x35, 0x35, 0x32, 0x2d, 0x62, 0x64, 0x66, 0x39, 0x2d, 0x39, 0x30, 0x36, 0x36, 0x39, 0x34, 0x65, 0x66, 0x37, 0x64, 0x61, 0x37}, {0x32, 0x31, 0x35, 0x64, 0x39, 0x35, 0x31, 0x31, 0x2d, 0x36, 0x64, 0x62, 0x64, 0x2d, 0x38, 0x34, 0x66, 0x66, 0x2d, 0x33, 0x61, 0x35, 0x31, 0x2d, 0x63, 0x61, 0x35, 0x65, 0x35, 0x37, 0x36, 0x38, 0x31, 0x65, 0x34, 0x36}, {0x30, 0x64, 0x37, 0x39, 0x34, 0x36, 0x32, 0x37, 0x2d, 0x63, 0x62, 0x39, 0x38, 0x2d, 0x65, 0x61, 0x31, 0x32, 0x2d, 0x37, 0x62, 0x32, 0x61, 0x2d, 0x35, 0x61, 0x31, 0x30, 0x64, 0x66, 0x38, 0x37, 0x36, 0x30, 0x35, 0x63}}}, + {"[][]uint8", "93da002464353362363039332d316638342d376435362d616436322d386366356639343035393733da002436353332636334642d646439662d316162352d653039622d363266656636666139346334da002463663431376335642d326535392d323835622d636362652d323164363937636232363263", [][]uint8{{0x64, 0x35, 0x33, 0x62, 0x36, 0x30, 0x39, 0x33, 0x2d, 0x31, 0x66, 0x38, 0x34, 0x2d, 0x37, 0x64, 0x35, 0x36, 0x2d, 0x61, 0x64, 0x36, 0x32, 0x2d, 0x38, 0x63, 0x66, 0x35, 0x66, 0x39, 0x34, 0x30, 0x35, 0x39, 0x37, 0x33}, {0x36, 0x35, 0x33, 0x32, 0x63, 0x63, 0x34, 0x64, 0x2d, 0x64, 0x64, 0x39, 0x66, 0x2d, 0x31, 0x61, 0x62, 0x35, 0x2d, 0x65, 0x30, 0x39, 0x62, 0x2d, 0x36, 0x32, 0x66, 0x65, 0x66, 0x36, 0x66, 0x61, 0x39, 0x34, 0x63, 0x34}, {0x63, 0x66, 0x34, 0x31, 0x37, 0x63, 0x35, 0x64, 0x2d, 0x32, 0x65, 0x35, 0x39, 0x2d, 0x32, 0x38, 0x35, 0x62, 0x2d, 0x63, 0x63, 0x62, 0x65, 0x2d, 0x32, 0x31, 0x64, 0x36, 0x39, 0x37, 0x63, 0x62, 0x32, 0x36, 0x32, 0x63}}}, + {"[][]uint8", "93da002465333463386630352d633434382d666466652d626639642d343365353036366333356138da002461623436303533372d323430302d323964342d633465392d366533343731363231633538da002434383064646635322d623737312d626432372d653263362d626235353838623366393266", [][]uint8{{0x65, 0x33, 0x34, 0x63, 0x38, 0x66, 0x30, 0x35, 0x2d, 0x63, 0x34, 0x34, 0x38, 0x2d, 0x66, 0x64, 0x66, 0x65, 0x2d, 0x62, 0x66, 0x39, 0x64, 0x2d, 0x34, 0x33, 0x65, 0x35, 0x30, 0x36, 0x36, 0x63, 0x33, 0x35, 0x61, 0x38}, {0x61, 0x62, 0x34, 0x36, 0x30, 0x35, 0x33, 0x37, 0x2d, 0x32, 0x34, 0x30, 0x30, 0x2d, 0x32, 0x39, 0x64, 0x34, 0x2d, 0x63, 0x34, 0x65, 0x39, 0x2d, 0x36, 0x65, 0x33, 0x34, 0x37, 0x31, 0x36, 0x32, 0x31, 0x63, 0x35, 0x38}, {0x34, 0x38, 0x30, 0x64, 0x64, 0x66, 0x35, 0x32, 0x2d, 0x62, 0x37, 0x37, 0x31, 0x2d, 0x62, 0x64, 0x32, 0x37, 0x2d, 0x65, 0x32, 0x63, 0x36, 0x2d, 0x62, 0x62, 0x35, 0x35, 0x38, 0x38, 0x62, 0x33, 0x66, 0x39, 0x32, 0x66}}}, + {"[][]uint8", "93da002466326334313038642d356564632d333264312d363837302d613437363763643161333261da002432666163306334322d626130382d343661322d616265362d626630616666636264316665da002431653461313535392d303435322d643264632d646362632d656264636134393734306664", [][]uint8{{0x66, 0x32, 0x63, 0x34, 0x31, 0x30, 0x38, 0x64, 0x2d, 0x35, 0x65, 0x64, 0x63, 0x2d, 0x33, 0x32, 0x64, 0x31, 0x2d, 0x36, 0x38, 0x37, 0x30, 0x2d, 0x61, 0x34, 0x37, 0x36, 0x37, 0x63, 0x64, 0x31, 0x61, 0x33, 0x32, 0x61}, {0x32, 0x66, 0x61, 0x63, 0x30, 0x63, 0x34, 0x32, 0x2d, 0x62, 0x61, 0x30, 0x38, 0x2d, 0x34, 0x36, 0x61, 0x32, 0x2d, 0x61, 0x62, 0x65, 0x36, 0x2d, 0x62, 0x66, 0x30, 0x61, 0x66, 0x66, 0x63, 0x62, 0x64, 0x31, 0x66, 0x65}, {0x31, 0x65, 0x34, 0x61, 0x31, 0x35, 0x35, 0x39, 0x2d, 0x30, 0x34, 0x35, 0x32, 0x2d, 0x64, 0x32, 0x64, 0x63, 0x2d, 0x64, 0x63, 0x62, 0x63, 0x2d, 0x65, 0x62, 0x64, 0x63, 0x61, 0x34, 0x39, 0x37, 0x34, 0x30, 0x66, 0x64}}}, + {"[][]uint8", "93da002466633639323432312d333730662d383737382d623063332d666466356665326434623738da002465306531616565632d356534612d313138372d643266662d393666333261323232326366da002462656363316333372d333034312d356538392d373763362d316135633638643661383532", [][]uint8{{0x66, 0x63, 0x36, 0x39, 0x32, 0x34, 0x32, 0x31, 0x2d, 0x33, 0x37, 0x30, 0x66, 0x2d, 0x38, 0x37, 0x37, 0x38, 0x2d, 0x62, 0x30, 0x63, 0x33, 0x2d, 0x66, 0x64, 0x66, 0x35, 0x66, 0x65, 0x32, 0x64, 0x34, 0x62, 0x37, 0x38}, {0x65, 0x30, 0x65, 0x31, 0x61, 0x65, 0x65, 0x63, 0x2d, 0x35, 0x65, 0x34, 0x61, 0x2d, 0x31, 0x31, 0x38, 0x37, 0x2d, 0x64, 0x32, 0x66, 0x66, 0x2d, 0x39, 0x36, 0x66, 0x33, 0x32, 0x61, 0x32, 0x32, 0x32, 0x32, 0x63, 0x66}, {0x62, 0x65, 0x63, 0x63, 0x31, 0x63, 0x33, 0x37, 0x2d, 0x33, 0x30, 0x34, 0x31, 0x2d, 0x35, 0x65, 0x38, 0x39, 0x2d, 0x37, 0x37, 0x63, 0x36, 0x2d, 0x31, 0x61, 0x35, 0x63, 0x36, 0x38, 0x64, 0x36, 0x61, 0x38, 0x35, 0x32}}}, {"Configuration", "81a7536572766572739183a741646472657373da002432346637316662642d333536332d353735612d636164352d656565656538646438313362a24944da002b7365727665722d32346637316662642d333536332d353735612d636164352d656565656538646438313362a8537566667261676500", Configuration{Servers: []Server{{Suffrage: 0, ID: "server-24f71fbd-3563-575a-cad5-eeeee8dd813b", Address: "24f71fbd-3563-575a-cad5-eeeee8dd813b"}}}}, {"Configuration", "81a7536572766572739183a741646472657373da002435393830333435302d616237622d653833342d383562382d313763633464343234316436a24944da002b7365727665722d35393830333435302d616237622d653833342d383562382d313763633464343234316436a8537566667261676500", Configuration{Servers: []Server{{Suffrage: 0, ID: "server-59803450-ab7b-e834-85b8-17cc4d4241d6", Address: "59803450-ab7b-e834-85b8-17cc4d4241d6"}}}}, {"Configuration", "81a7536572766572739183a741646472657373da002436313938336266662d656237372d313832322d346633332d356235373963316632653335a24944da002b7365727665722d36313938336266662d656237372d313832322d346633332d356235373963316632653335a8537566667261676500", Configuration{Servers: []Server{{Suffrage: 0, ID: "server-61983bff-eb77-1822-4f33-5b579c1f2e35", Address: "61983bff-eb77-1822-4f33-5b579c1f2e35"}}}}, diff --git a/codec/internal/testdata/raft_v116.go b/codec/internal/testdata/raft_v116.go index e5815d53..5988e86d 100644 --- a/codec/internal/testdata/raft_v116.go +++ b/codec/internal/testdata/raft_v116.go @@ -16,23 +16,23 @@ var RaftV116 = []SerializeTest{ {"[][]uint8", "91da002464306431313435352d656261352d633764372d373166352d323034313133353633633237", [][]uint8{{0x64, 0x30, 0x64, 0x31, 0x31, 0x34, 0x35, 0x35, 0x2d, 0x65, 0x62, 0x61, 0x35, 0x2d, 0x63, 0x37, 0x64, 0x37, 0x2d, 0x37, 0x31, 0x66, 0x35, 0x2d, 0x32, 0x30, 0x34, 0x31, 0x31, 0x33, 0x35, 0x36, 0x33, 0x63, 0x32, 0x37}}}, {"[][]uint8", "91da002464656338346137322d386335352d316539642d343534382d666438656165393538363930", [][]uint8{{0x64, 0x65, 0x63, 0x38, 0x34, 0x61, 0x37, 0x32, 0x2d, 0x38, 0x63, 0x35, 0x35, 0x2d, 0x31, 0x65, 0x39, 0x64, 0x2d, 0x34, 0x35, 0x34, 0x38, 0x2d, 0x66, 0x64, 0x38, 0x65, 0x61, 0x65, 0x39, 0x35, 0x38, 0x36, 0x39, 0x30}}}, {"[][]uint8", "91da002464656532396439332d363638342d386135342d373232632d396536643466376439666162", [][]uint8{{0x64, 0x65, 0x65, 0x32, 0x39, 0x64, 0x39, 0x33, 0x2d, 0x36, 0x36, 0x38, 0x34, 0x2d, 0x38, 0x61, 0x35, 0x34, 0x2d, 0x37, 0x32, 0x32, 0x63, 0x2d, 0x39, 0x65, 0x36, 0x64, 0x34, 0x66, 0x37, 0x64, 0x39, 0x66, 0x61, 0x62}}}, - {"[][]uint8", "92da002438613637636361352d643230312d633439632d313231302d303963373339313837613832da002439333933393839612d343032332d656434622d636233312d386662623264376262646334", [][]uint8{{0x38, 0x61, 0x36, 0x37, 0x63, 0x63, 0x61, 0x35, 0x2d, 0x64, 0x32, 0x30, 0x31, 0x2d, 0x63, 0x34, 0x39, 0x63, 0x2d, 0x31, 0x32, 0x31, 0x30, 0x2d, 0x30, 0x39, 0x63, 0x37, 0x33, 0x39, 0x31, 0x38, 0x37, 0x61, 0x38, 0x32}, []uint8{0x39, 0x33, 0x39, 0x33, 0x39, 0x38, 0x39, 0x61, 0x2d, 0x34, 0x30, 0x32, 0x33, 0x2d, 0x65, 0x64, 0x34, 0x62, 0x2d, 0x63, 0x62, 0x33, 0x31, 0x2d, 0x38, 0x66, 0x62, 0x62, 0x32, 0x64, 0x37, 0x62, 0x62, 0x64, 0x63, 0x34}}}, - {"[][]uint8", "92da002439323233666434392d356435612d626561362d356561382d306236336631303663396263da002462353662353432332d306661392d646438662d316536352d643765393165396662353362", [][]uint8{{0x39, 0x32, 0x32, 0x33, 0x66, 0x64, 0x34, 0x39, 0x2d, 0x35, 0x64, 0x35, 0x61, 0x2d, 0x62, 0x65, 0x61, 0x36, 0x2d, 0x35, 0x65, 0x61, 0x38, 0x2d, 0x30, 0x62, 0x36, 0x33, 0x66, 0x31, 0x30, 0x36, 0x63, 0x39, 0x62, 0x63}, []uint8{0x62, 0x35, 0x36, 0x62, 0x35, 0x34, 0x32, 0x33, 0x2d, 0x30, 0x66, 0x61, 0x39, 0x2d, 0x64, 0x64, 0x38, 0x66, 0x2d, 0x31, 0x65, 0x36, 0x35, 0x2d, 0x64, 0x37, 0x65, 0x39, 0x31, 0x65, 0x39, 0x66, 0x62, 0x35, 0x33, 0x62}}}, - {"[][]uint8", "93da002430313131383936652d636239302d326561342d643865342d363738393063353461613134da002437363461613735302d326363332d643233372d323336622d373235313534376433366532da002437656231383366332d313638362d323539312d376131632d333035396532643038303538", [][]uint8{{0x30, 0x31, 0x31, 0x31, 0x38, 0x39, 0x36, 0x65, 0x2d, 0x63, 0x62, 0x39, 0x30, 0x2d, 0x32, 0x65, 0x61, 0x34, 0x2d, 0x64, 0x38, 0x65, 0x34, 0x2d, 0x36, 0x37, 0x38, 0x39, 0x30, 0x63, 0x35, 0x34, 0x61, 0x61, 0x31, 0x34}, []uint8{0x37, 0x36, 0x34, 0x61, 0x61, 0x37, 0x35, 0x30, 0x2d, 0x32, 0x63, 0x63, 0x33, 0x2d, 0x64, 0x32, 0x33, 0x37, 0x2d, 0x32, 0x33, 0x36, 0x62, 0x2d, 0x37, 0x32, 0x35, 0x31, 0x35, 0x34, 0x37, 0x64, 0x33, 0x36, 0x65, 0x32}, []uint8{0x37, 0x65, 0x62, 0x31, 0x38, 0x33, 0x66, 0x33, 0x2d, 0x31, 0x36, 0x38, 0x36, 0x2d, 0x32, 0x35, 0x39, 0x31, 0x2d, 0x37, 0x61, 0x31, 0x63, 0x2d, 0x33, 0x30, 0x35, 0x39, 0x65, 0x32, 0x64, 0x30, 0x38, 0x30, 0x35, 0x38}}}, - {"[][]uint8", "93da002430333136386531642d663438642d346665622d636361302d313263373666653963616265da002461626566393063362d376635642d356263622d343132332d303361646130366430306564da002432663066356565622d663739352d376331372d646235352d393630306639383266613132", [][]uint8{{0x30, 0x33, 0x31, 0x36, 0x38, 0x65, 0x31, 0x64, 0x2d, 0x66, 0x34, 0x38, 0x64, 0x2d, 0x34, 0x66, 0x65, 0x62, 0x2d, 0x63, 0x63, 0x61, 0x30, 0x2d, 0x31, 0x32, 0x63, 0x37, 0x36, 0x66, 0x65, 0x39, 0x63, 0x61, 0x62, 0x65}, []uint8{0x61, 0x62, 0x65, 0x66, 0x39, 0x30, 0x63, 0x36, 0x2d, 0x37, 0x66, 0x35, 0x64, 0x2d, 0x35, 0x62, 0x63, 0x62, 0x2d, 0x34, 0x31, 0x32, 0x33, 0x2d, 0x30, 0x33, 0x61, 0x64, 0x61, 0x30, 0x36, 0x64, 0x30, 0x30, 0x65, 0x64}, []uint8{0x32, 0x66, 0x30, 0x66, 0x35, 0x65, 0x65, 0x62, 0x2d, 0x66, 0x37, 0x39, 0x35, 0x2d, 0x37, 0x63, 0x31, 0x37, 0x2d, 0x64, 0x62, 0x35, 0x35, 0x2d, 0x39, 0x36, 0x30, 0x30, 0x66, 0x39, 0x38, 0x32, 0x66, 0x61, 0x31, 0x32}}}, - {"[][]uint8", "93da002432316230623939642d323838662d633765632d643835612d653637663163393335666234da002434633330373662322d656364652d373764312d623464392d613163346532306163383438da002464383264313638332d323630322d323937332d653265322d386361333836386339326565", [][]uint8{{0x32, 0x31, 0x62, 0x30, 0x62, 0x39, 0x39, 0x64, 0x2d, 0x32, 0x38, 0x38, 0x66, 0x2d, 0x63, 0x37, 0x65, 0x63, 0x2d, 0x64, 0x38, 0x35, 0x61, 0x2d, 0x65, 0x36, 0x37, 0x66, 0x31, 0x63, 0x39, 0x33, 0x35, 0x66, 0x62, 0x34}, []uint8{0x34, 0x63, 0x33, 0x30, 0x37, 0x36, 0x62, 0x32, 0x2d, 0x65, 0x63, 0x64, 0x65, 0x2d, 0x37, 0x37, 0x64, 0x31, 0x2d, 0x62, 0x34, 0x64, 0x39, 0x2d, 0x61, 0x31, 0x63, 0x34, 0x65, 0x32, 0x30, 0x61, 0x63, 0x38, 0x34, 0x38}, []uint8{0x64, 0x38, 0x32, 0x64, 0x31, 0x36, 0x38, 0x33, 0x2d, 0x32, 0x36, 0x30, 0x32, 0x2d, 0x32, 0x39, 0x37, 0x33, 0x2d, 0x65, 0x32, 0x65, 0x32, 0x2d, 0x38, 0x63, 0x61, 0x33, 0x38, 0x36, 0x38, 0x63, 0x39, 0x32, 0x65, 0x65}}}, - {"[][]uint8", "93da002432333963613733632d313231352d643630382d326438372d326365346463623033316535da002461303834336634362d666331302d376133342d393335342d343032636261663465356532da002434386439663063642d656437312d363431642d633939632d636439366266323935346639", [][]uint8{{0x32, 0x33, 0x39, 0x63, 0x61, 0x37, 0x33, 0x63, 0x2d, 0x31, 0x32, 0x31, 0x35, 0x2d, 0x64, 0x36, 0x30, 0x38, 0x2d, 0x32, 0x64, 0x38, 0x37, 0x2d, 0x32, 0x63, 0x65, 0x34, 0x64, 0x63, 0x62, 0x30, 0x33, 0x31, 0x65, 0x35}, []uint8{0x61, 0x30, 0x38, 0x34, 0x33, 0x66, 0x34, 0x36, 0x2d, 0x66, 0x63, 0x31, 0x30, 0x2d, 0x37, 0x61, 0x33, 0x34, 0x2d, 0x39, 0x33, 0x35, 0x34, 0x2d, 0x34, 0x30, 0x32, 0x63, 0x62, 0x61, 0x66, 0x34, 0x65, 0x35, 0x65, 0x32}, []uint8{0x34, 0x38, 0x64, 0x39, 0x66, 0x30, 0x63, 0x64, 0x2d, 0x65, 0x64, 0x37, 0x31, 0x2d, 0x36, 0x34, 0x31, 0x64, 0x2d, 0x63, 0x39, 0x39, 0x63, 0x2d, 0x63, 0x64, 0x39, 0x36, 0x62, 0x66, 0x32, 0x39, 0x35, 0x34, 0x66, 0x39}}}, - {"[][]uint8", "93da002434373132653638322d376534662d353430612d386536362d336663396336666364343563da002431653736396163372d343936652d623265312d306261312d333031373036633464343061da002437656333643931622d363632392d303163392d353737662d616636303739386563306433", [][]uint8{{0x34, 0x37, 0x31, 0x32, 0x65, 0x36, 0x38, 0x32, 0x2d, 0x37, 0x65, 0x34, 0x66, 0x2d, 0x35, 0x34, 0x30, 0x61, 0x2d, 0x38, 0x65, 0x36, 0x36, 0x2d, 0x33, 0x66, 0x63, 0x39, 0x63, 0x36, 0x66, 0x63, 0x64, 0x34, 0x35, 0x63}, []uint8{0x31, 0x65, 0x37, 0x36, 0x39, 0x61, 0x63, 0x37, 0x2d, 0x34, 0x39, 0x36, 0x65, 0x2d, 0x62, 0x32, 0x65, 0x31, 0x2d, 0x30, 0x62, 0x61, 0x31, 0x2d, 0x33, 0x30, 0x31, 0x37, 0x30, 0x36, 0x63, 0x34, 0x64, 0x34, 0x30, 0x61}, []uint8{0x37, 0x65, 0x63, 0x33, 0x64, 0x39, 0x31, 0x62, 0x2d, 0x36, 0x36, 0x32, 0x39, 0x2d, 0x30, 0x31, 0x63, 0x39, 0x2d, 0x35, 0x37, 0x37, 0x66, 0x2d, 0x61, 0x66, 0x36, 0x30, 0x37, 0x39, 0x38, 0x65, 0x63, 0x30, 0x64, 0x33}}}, - {"[][]uint8", "93da002434646636333832622d663131382d333162372d383362662d376335303334356434643835da002439386363306261622d633739372d613962332d356139372d663134653430373061656134da002433626238303139622d363330342d306432642d643035392d366162313336346532363734", [][]uint8{{0x34, 0x64, 0x66, 0x36, 0x33, 0x38, 0x32, 0x62, 0x2d, 0x66, 0x31, 0x31, 0x38, 0x2d, 0x33, 0x31, 0x62, 0x37, 0x2d, 0x38, 0x33, 0x62, 0x66, 0x2d, 0x37, 0x63, 0x35, 0x30, 0x33, 0x34, 0x35, 0x64, 0x34, 0x64, 0x38, 0x35}, []uint8{0x39, 0x38, 0x63, 0x63, 0x30, 0x62, 0x61, 0x62, 0x2d, 0x63, 0x37, 0x39, 0x37, 0x2d, 0x61, 0x39, 0x62, 0x33, 0x2d, 0x35, 0x61, 0x39, 0x37, 0x2d, 0x66, 0x31, 0x34, 0x65, 0x34, 0x30, 0x37, 0x30, 0x61, 0x65, 0x61, 0x34}, []uint8{0x33, 0x62, 0x62, 0x38, 0x30, 0x31, 0x39, 0x62, 0x2d, 0x36, 0x33, 0x30, 0x34, 0x2d, 0x30, 0x64, 0x32, 0x64, 0x2d, 0x64, 0x30, 0x35, 0x39, 0x2d, 0x36, 0x61, 0x62, 0x31, 0x33, 0x36, 0x34, 0x65, 0x32, 0x36, 0x37, 0x34}}}, - {"[][]uint8", "93da002436313334316630652d383939612d353134372d326663342d633034313132376664336133da002435303165333137372d326662302d386638392d333938312d333163386661323730393866da002438643361363830662d366532302d363565662d316464332d363439643933633335363739", [][]uint8{{0x36, 0x31, 0x33, 0x34, 0x31, 0x66, 0x30, 0x65, 0x2d, 0x38, 0x39, 0x39, 0x61, 0x2d, 0x35, 0x31, 0x34, 0x37, 0x2d, 0x32, 0x66, 0x63, 0x34, 0x2d, 0x63, 0x30, 0x34, 0x31, 0x31, 0x32, 0x37, 0x66, 0x64, 0x33, 0x61, 0x33}, []uint8{0x35, 0x30, 0x31, 0x65, 0x33, 0x31, 0x37, 0x37, 0x2d, 0x32, 0x66, 0x62, 0x30, 0x2d, 0x38, 0x66, 0x38, 0x39, 0x2d, 0x33, 0x39, 0x38, 0x31, 0x2d, 0x33, 0x31, 0x63, 0x38, 0x66, 0x61, 0x32, 0x37, 0x30, 0x39, 0x38, 0x66}, []uint8{0x38, 0x64, 0x33, 0x61, 0x36, 0x38, 0x30, 0x66, 0x2d, 0x36, 0x65, 0x32, 0x30, 0x2d, 0x36, 0x35, 0x65, 0x66, 0x2d, 0x31, 0x64, 0x64, 0x33, 0x2d, 0x36, 0x34, 0x39, 0x64, 0x39, 0x33, 0x63, 0x33, 0x35, 0x36, 0x37, 0x39}}}, - {"[][]uint8", "93da002436333636366538642d613937342d613133302d333161332d646263656461343863333233da002462396361653734652d393561332d373331302d393232612d653664366431653635333066da002465333762653666642d366661322d653636612d646233612d656637386632346163383232", [][]uint8{{0x36, 0x33, 0x36, 0x36, 0x36, 0x65, 0x38, 0x64, 0x2d, 0x61, 0x39, 0x37, 0x34, 0x2d, 0x61, 0x31, 0x33, 0x30, 0x2d, 0x33, 0x31, 0x61, 0x33, 0x2d, 0x64, 0x62, 0x63, 0x65, 0x64, 0x61, 0x34, 0x38, 0x63, 0x33, 0x32, 0x33}, []uint8{0x62, 0x39, 0x63, 0x61, 0x65, 0x37, 0x34, 0x65, 0x2d, 0x39, 0x35, 0x61, 0x33, 0x2d, 0x37, 0x33, 0x31, 0x30, 0x2d, 0x39, 0x32, 0x32, 0x61, 0x2d, 0x65, 0x36, 0x64, 0x36, 0x64, 0x31, 0x65, 0x36, 0x35, 0x33, 0x30, 0x66}, []uint8{0x65, 0x33, 0x37, 0x62, 0x65, 0x36, 0x66, 0x64, 0x2d, 0x36, 0x66, 0x61, 0x32, 0x2d, 0x65, 0x36, 0x36, 0x61, 0x2d, 0x64, 0x62, 0x33, 0x61, 0x2d, 0x65, 0x66, 0x37, 0x38, 0x66, 0x32, 0x34, 0x61, 0x63, 0x38, 0x32, 0x32}}}, - {"[][]uint8", "93da002436343432623834332d386165622d363734612d626432312d633639363634643631383364da002464303862633632352d643135352d323334652d663134372d636630613862396133313637da002462376632353932332d343237652d313264372d633234652d353261363363323066653463", [][]uint8{{0x36, 0x34, 0x34, 0x32, 0x62, 0x38, 0x34, 0x33, 0x2d, 0x38, 0x61, 0x65, 0x62, 0x2d, 0x36, 0x37, 0x34, 0x61, 0x2d, 0x62, 0x64, 0x32, 0x31, 0x2d, 0x63, 0x36, 0x39, 0x36, 0x36, 0x34, 0x64, 0x36, 0x31, 0x38, 0x33, 0x64}, []uint8{0x64, 0x30, 0x38, 0x62, 0x63, 0x36, 0x32, 0x35, 0x2d, 0x64, 0x31, 0x35, 0x35, 0x2d, 0x32, 0x33, 0x34, 0x65, 0x2d, 0x66, 0x31, 0x34, 0x37, 0x2d, 0x63, 0x66, 0x30, 0x61, 0x38, 0x62, 0x39, 0x61, 0x33, 0x31, 0x36, 0x37}, []uint8{0x62, 0x37, 0x66, 0x32, 0x35, 0x39, 0x32, 0x33, 0x2d, 0x34, 0x32, 0x37, 0x65, 0x2d, 0x31, 0x32, 0x64, 0x37, 0x2d, 0x63, 0x32, 0x34, 0x65, 0x2d, 0x35, 0x32, 0x61, 0x36, 0x33, 0x63, 0x32, 0x30, 0x66, 0x65, 0x34, 0x63}}}, - {"[][]uint8", "93da002439303837333634312d306437622d323466302d396361392d656462396134386634376432da002433396261646636342d663433662d366638312d343366622d303530613463343434613361da002430343132396665312d666430612d613139312d393666652d643265626263636531663162", [][]uint8{{0x39, 0x30, 0x38, 0x37, 0x33, 0x36, 0x34, 0x31, 0x2d, 0x30, 0x64, 0x37, 0x62, 0x2d, 0x32, 0x34, 0x66, 0x30, 0x2d, 0x39, 0x63, 0x61, 0x39, 0x2d, 0x65, 0x64, 0x62, 0x39, 0x61, 0x34, 0x38, 0x66, 0x34, 0x37, 0x64, 0x32}, []uint8{0x33, 0x39, 0x62, 0x61, 0x64, 0x66, 0x36, 0x34, 0x2d, 0x66, 0x34, 0x33, 0x66, 0x2d, 0x36, 0x66, 0x38, 0x31, 0x2d, 0x34, 0x33, 0x66, 0x62, 0x2d, 0x30, 0x35, 0x30, 0x61, 0x34, 0x63, 0x34, 0x34, 0x34, 0x61, 0x33, 0x61}, []uint8{0x30, 0x34, 0x31, 0x32, 0x39, 0x66, 0x65, 0x31, 0x2d, 0x66, 0x64, 0x30, 0x61, 0x2d, 0x61, 0x31, 0x39, 0x31, 0x2d, 0x39, 0x36, 0x66, 0x65, 0x2d, 0x64, 0x32, 0x65, 0x62, 0x62, 0x63, 0x63, 0x65, 0x31, 0x66, 0x31, 0x62}}}, - {"[][]uint8", "93da002439323163383264662d663030392d666364642d343265302d343435333434393966646230da002464323436643666392d656164352d633637372d343331352d353732356262636631373062da002436613061313237332d656533322d643965392d396661362d356162346434373132376164", [][]uint8{{0x39, 0x32, 0x31, 0x63, 0x38, 0x32, 0x64, 0x66, 0x2d, 0x66, 0x30, 0x30, 0x39, 0x2d, 0x66, 0x63, 0x64, 0x64, 0x2d, 0x34, 0x32, 0x65, 0x30, 0x2d, 0x34, 0x34, 0x35, 0x33, 0x34, 0x34, 0x39, 0x39, 0x66, 0x64, 0x62, 0x30}, []uint8{0x64, 0x32, 0x34, 0x36, 0x64, 0x36, 0x66, 0x39, 0x2d, 0x65, 0x61, 0x64, 0x35, 0x2d, 0x63, 0x36, 0x37, 0x37, 0x2d, 0x34, 0x33, 0x31, 0x35, 0x2d, 0x35, 0x37, 0x32, 0x35, 0x62, 0x62, 0x63, 0x66, 0x31, 0x37, 0x30, 0x62}, []uint8{0x36, 0x61, 0x30, 0x61, 0x31, 0x32, 0x37, 0x33, 0x2d, 0x65, 0x65, 0x33, 0x32, 0x2d, 0x64, 0x39, 0x65, 0x39, 0x2d, 0x39, 0x66, 0x61, 0x36, 0x2d, 0x35, 0x61, 0x62, 0x34, 0x64, 0x34, 0x37, 0x31, 0x32, 0x37, 0x61, 0x64}}}, - {"[][]uint8", "93da002439323233666434392d356435612d626561362d356561382d306236336631303663396263da002462353662353432332d306661392d646438662d316536352d643765393165396662353362da002438633532313139382d326430632d623137372d643737392d636363636132323135346533", [][]uint8{{0x39, 0x32, 0x32, 0x33, 0x66, 0x64, 0x34, 0x39, 0x2d, 0x35, 0x64, 0x35, 0x61, 0x2d, 0x62, 0x65, 0x61, 0x36, 0x2d, 0x35, 0x65, 0x61, 0x38, 0x2d, 0x30, 0x62, 0x36, 0x33, 0x66, 0x31, 0x30, 0x36, 0x63, 0x39, 0x62, 0x63}, []uint8{0x62, 0x35, 0x36, 0x62, 0x35, 0x34, 0x32, 0x33, 0x2d, 0x30, 0x66, 0x61, 0x39, 0x2d, 0x64, 0x64, 0x38, 0x66, 0x2d, 0x31, 0x65, 0x36, 0x35, 0x2d, 0x64, 0x37, 0x65, 0x39, 0x31, 0x65, 0x39, 0x66, 0x62, 0x35, 0x33, 0x62}, []uint8{0x38, 0x63, 0x35, 0x32, 0x31, 0x31, 0x39, 0x38, 0x2d, 0x32, 0x64, 0x30, 0x63, 0x2d, 0x62, 0x31, 0x37, 0x37, 0x2d, 0x64, 0x37, 0x37, 0x39, 0x2d, 0x63, 0x63, 0x63, 0x63, 0x61, 0x32, 0x32, 0x31, 0x35, 0x34, 0x65, 0x33}}}, - {"[][]uint8", "93da002462323330346432632d373935322d646230662d373633342d323466636133636361353635da002464353930303766382d363036312d636462632d616330302d373061376233393065653362da002435336434306233652d396662332d396335362d636637372d636432323862376337363136", [][]uint8{{0x62, 0x32, 0x33, 0x30, 0x34, 0x64, 0x32, 0x63, 0x2d, 0x37, 0x39, 0x35, 0x32, 0x2d, 0x64, 0x62, 0x30, 0x66, 0x2d, 0x37, 0x36, 0x33, 0x34, 0x2d, 0x32, 0x34, 0x66, 0x63, 0x61, 0x33, 0x63, 0x63, 0x61, 0x35, 0x36, 0x35}, []uint8{0x64, 0x35, 0x39, 0x30, 0x30, 0x37, 0x66, 0x38, 0x2d, 0x36, 0x30, 0x36, 0x31, 0x2d, 0x63, 0x64, 0x62, 0x63, 0x2d, 0x61, 0x63, 0x30, 0x30, 0x2d, 0x37, 0x30, 0x61, 0x37, 0x62, 0x33, 0x39, 0x30, 0x65, 0x65, 0x33, 0x62}, []uint8{0x35, 0x33, 0x64, 0x34, 0x30, 0x62, 0x33, 0x65, 0x2d, 0x39, 0x66, 0x62, 0x33, 0x2d, 0x39, 0x63, 0x35, 0x36, 0x2d, 0x63, 0x66, 0x37, 0x37, 0x2d, 0x63, 0x64, 0x32, 0x32, 0x38, 0x62, 0x37, 0x63, 0x37, 0x36, 0x31, 0x36}}}, - {"[][]uint8", "93da002463633965666231312d646133632d363566322d363461662d363630613230383536623064da002431626438626436312d653632612d323866382d623931352d663465333738383832646361da002466666135316265382d623830332d623436642d633230372d326330363965346164633338", [][]uint8{{0x63, 0x63, 0x39, 0x65, 0x66, 0x62, 0x31, 0x31, 0x2d, 0x64, 0x61, 0x33, 0x63, 0x2d, 0x36, 0x35, 0x66, 0x32, 0x2d, 0x36, 0x34, 0x61, 0x66, 0x2d, 0x36, 0x36, 0x30, 0x61, 0x32, 0x30, 0x38, 0x35, 0x36, 0x62, 0x30, 0x64}, []uint8{0x31, 0x62, 0x64, 0x38, 0x62, 0x64, 0x36, 0x31, 0x2d, 0x65, 0x36, 0x32, 0x61, 0x2d, 0x32, 0x38, 0x66, 0x38, 0x2d, 0x62, 0x39, 0x31, 0x35, 0x2d, 0x66, 0x34, 0x65, 0x33, 0x37, 0x38, 0x38, 0x38, 0x32, 0x64, 0x63, 0x61}, []uint8{0x66, 0x66, 0x61, 0x35, 0x31, 0x62, 0x65, 0x38, 0x2d, 0x62, 0x38, 0x30, 0x33, 0x2d, 0x62, 0x34, 0x36, 0x64, 0x2d, 0x63, 0x32, 0x30, 0x37, 0x2d, 0x32, 0x63, 0x30, 0x36, 0x39, 0x65, 0x34, 0x61, 0x64, 0x63, 0x33, 0x38}}}, - {"[][]uint8", "93da002465636162643261372d303263352d656231632d653765362d363866393366326437353066da002462373431343035662d663131622d353434332d383064352d333032346637353863373532da002436343432623834332d386165622d363734612d626432312d633639363634643631383364", [][]uint8{{0x65, 0x63, 0x61, 0x62, 0x64, 0x32, 0x61, 0x37, 0x2d, 0x30, 0x32, 0x63, 0x35, 0x2d, 0x65, 0x62, 0x31, 0x63, 0x2d, 0x65, 0x37, 0x65, 0x36, 0x2d, 0x36, 0x38, 0x66, 0x39, 0x33, 0x66, 0x32, 0x64, 0x37, 0x35, 0x30, 0x66}, []uint8{0x62, 0x37, 0x34, 0x31, 0x34, 0x30, 0x35, 0x66, 0x2d, 0x66, 0x31, 0x31, 0x62, 0x2d, 0x35, 0x34, 0x34, 0x33, 0x2d, 0x38, 0x30, 0x64, 0x35, 0x2d, 0x33, 0x30, 0x32, 0x34, 0x66, 0x37, 0x35, 0x38, 0x63, 0x37, 0x35, 0x32}, []uint8{0x36, 0x34, 0x34, 0x32, 0x62, 0x38, 0x34, 0x33, 0x2d, 0x38, 0x61, 0x65, 0x62, 0x2d, 0x36, 0x37, 0x34, 0x61, 0x2d, 0x62, 0x64, 0x32, 0x31, 0x2d, 0x63, 0x36, 0x39, 0x36, 0x36, 0x34, 0x64, 0x36, 0x31, 0x38, 0x33, 0x64}}}, + {"[][]uint8", "92da002438613637636361352d643230312d633439632d313231302d303963373339313837613832da002439333933393839612d343032332d656434622d636233312d386662623264376262646334", [][]uint8{{0x38, 0x61, 0x36, 0x37, 0x63, 0x63, 0x61, 0x35, 0x2d, 0x64, 0x32, 0x30, 0x31, 0x2d, 0x63, 0x34, 0x39, 0x63, 0x2d, 0x31, 0x32, 0x31, 0x30, 0x2d, 0x30, 0x39, 0x63, 0x37, 0x33, 0x39, 0x31, 0x38, 0x37, 0x61, 0x38, 0x32}, {0x39, 0x33, 0x39, 0x33, 0x39, 0x38, 0x39, 0x61, 0x2d, 0x34, 0x30, 0x32, 0x33, 0x2d, 0x65, 0x64, 0x34, 0x62, 0x2d, 0x63, 0x62, 0x33, 0x31, 0x2d, 0x38, 0x66, 0x62, 0x62, 0x32, 0x64, 0x37, 0x62, 0x62, 0x64, 0x63, 0x34}}}, + {"[][]uint8", "92da002439323233666434392d356435612d626561362d356561382d306236336631303663396263da002462353662353432332d306661392d646438662d316536352d643765393165396662353362", [][]uint8{{0x39, 0x32, 0x32, 0x33, 0x66, 0x64, 0x34, 0x39, 0x2d, 0x35, 0x64, 0x35, 0x61, 0x2d, 0x62, 0x65, 0x61, 0x36, 0x2d, 0x35, 0x65, 0x61, 0x38, 0x2d, 0x30, 0x62, 0x36, 0x33, 0x66, 0x31, 0x30, 0x36, 0x63, 0x39, 0x62, 0x63}, {0x62, 0x35, 0x36, 0x62, 0x35, 0x34, 0x32, 0x33, 0x2d, 0x30, 0x66, 0x61, 0x39, 0x2d, 0x64, 0x64, 0x38, 0x66, 0x2d, 0x31, 0x65, 0x36, 0x35, 0x2d, 0x64, 0x37, 0x65, 0x39, 0x31, 0x65, 0x39, 0x66, 0x62, 0x35, 0x33, 0x62}}}, + {"[][]uint8", "93da002430313131383936652d636239302d326561342d643865342d363738393063353461613134da002437363461613735302d326363332d643233372d323336622d373235313534376433366532da002437656231383366332d313638362d323539312d376131632d333035396532643038303538", [][]uint8{{0x30, 0x31, 0x31, 0x31, 0x38, 0x39, 0x36, 0x65, 0x2d, 0x63, 0x62, 0x39, 0x30, 0x2d, 0x32, 0x65, 0x61, 0x34, 0x2d, 0x64, 0x38, 0x65, 0x34, 0x2d, 0x36, 0x37, 0x38, 0x39, 0x30, 0x63, 0x35, 0x34, 0x61, 0x61, 0x31, 0x34}, {0x37, 0x36, 0x34, 0x61, 0x61, 0x37, 0x35, 0x30, 0x2d, 0x32, 0x63, 0x63, 0x33, 0x2d, 0x64, 0x32, 0x33, 0x37, 0x2d, 0x32, 0x33, 0x36, 0x62, 0x2d, 0x37, 0x32, 0x35, 0x31, 0x35, 0x34, 0x37, 0x64, 0x33, 0x36, 0x65, 0x32}, {0x37, 0x65, 0x62, 0x31, 0x38, 0x33, 0x66, 0x33, 0x2d, 0x31, 0x36, 0x38, 0x36, 0x2d, 0x32, 0x35, 0x39, 0x31, 0x2d, 0x37, 0x61, 0x31, 0x63, 0x2d, 0x33, 0x30, 0x35, 0x39, 0x65, 0x32, 0x64, 0x30, 0x38, 0x30, 0x35, 0x38}}}, + {"[][]uint8", "93da002430333136386531642d663438642d346665622d636361302d313263373666653963616265da002461626566393063362d376635642d356263622d343132332d303361646130366430306564da002432663066356565622d663739352d376331372d646235352d393630306639383266613132", [][]uint8{{0x30, 0x33, 0x31, 0x36, 0x38, 0x65, 0x31, 0x64, 0x2d, 0x66, 0x34, 0x38, 0x64, 0x2d, 0x34, 0x66, 0x65, 0x62, 0x2d, 0x63, 0x63, 0x61, 0x30, 0x2d, 0x31, 0x32, 0x63, 0x37, 0x36, 0x66, 0x65, 0x39, 0x63, 0x61, 0x62, 0x65}, {0x61, 0x62, 0x65, 0x66, 0x39, 0x30, 0x63, 0x36, 0x2d, 0x37, 0x66, 0x35, 0x64, 0x2d, 0x35, 0x62, 0x63, 0x62, 0x2d, 0x34, 0x31, 0x32, 0x33, 0x2d, 0x30, 0x33, 0x61, 0x64, 0x61, 0x30, 0x36, 0x64, 0x30, 0x30, 0x65, 0x64}, {0x32, 0x66, 0x30, 0x66, 0x35, 0x65, 0x65, 0x62, 0x2d, 0x66, 0x37, 0x39, 0x35, 0x2d, 0x37, 0x63, 0x31, 0x37, 0x2d, 0x64, 0x62, 0x35, 0x35, 0x2d, 0x39, 0x36, 0x30, 0x30, 0x66, 0x39, 0x38, 0x32, 0x66, 0x61, 0x31, 0x32}}}, + {"[][]uint8", "93da002432316230623939642d323838662d633765632d643835612d653637663163393335666234da002434633330373662322d656364652d373764312d623464392d613163346532306163383438da002464383264313638332d323630322d323937332d653265322d386361333836386339326565", [][]uint8{{0x32, 0x31, 0x62, 0x30, 0x62, 0x39, 0x39, 0x64, 0x2d, 0x32, 0x38, 0x38, 0x66, 0x2d, 0x63, 0x37, 0x65, 0x63, 0x2d, 0x64, 0x38, 0x35, 0x61, 0x2d, 0x65, 0x36, 0x37, 0x66, 0x31, 0x63, 0x39, 0x33, 0x35, 0x66, 0x62, 0x34}, {0x34, 0x63, 0x33, 0x30, 0x37, 0x36, 0x62, 0x32, 0x2d, 0x65, 0x63, 0x64, 0x65, 0x2d, 0x37, 0x37, 0x64, 0x31, 0x2d, 0x62, 0x34, 0x64, 0x39, 0x2d, 0x61, 0x31, 0x63, 0x34, 0x65, 0x32, 0x30, 0x61, 0x63, 0x38, 0x34, 0x38}, {0x64, 0x38, 0x32, 0x64, 0x31, 0x36, 0x38, 0x33, 0x2d, 0x32, 0x36, 0x30, 0x32, 0x2d, 0x32, 0x39, 0x37, 0x33, 0x2d, 0x65, 0x32, 0x65, 0x32, 0x2d, 0x38, 0x63, 0x61, 0x33, 0x38, 0x36, 0x38, 0x63, 0x39, 0x32, 0x65, 0x65}}}, + {"[][]uint8", "93da002432333963613733632d313231352d643630382d326438372d326365346463623033316535da002461303834336634362d666331302d376133342d393335342d343032636261663465356532da002434386439663063642d656437312d363431642d633939632d636439366266323935346639", [][]uint8{{0x32, 0x33, 0x39, 0x63, 0x61, 0x37, 0x33, 0x63, 0x2d, 0x31, 0x32, 0x31, 0x35, 0x2d, 0x64, 0x36, 0x30, 0x38, 0x2d, 0x32, 0x64, 0x38, 0x37, 0x2d, 0x32, 0x63, 0x65, 0x34, 0x64, 0x63, 0x62, 0x30, 0x33, 0x31, 0x65, 0x35}, {0x61, 0x30, 0x38, 0x34, 0x33, 0x66, 0x34, 0x36, 0x2d, 0x66, 0x63, 0x31, 0x30, 0x2d, 0x37, 0x61, 0x33, 0x34, 0x2d, 0x39, 0x33, 0x35, 0x34, 0x2d, 0x34, 0x30, 0x32, 0x63, 0x62, 0x61, 0x66, 0x34, 0x65, 0x35, 0x65, 0x32}, {0x34, 0x38, 0x64, 0x39, 0x66, 0x30, 0x63, 0x64, 0x2d, 0x65, 0x64, 0x37, 0x31, 0x2d, 0x36, 0x34, 0x31, 0x64, 0x2d, 0x63, 0x39, 0x39, 0x63, 0x2d, 0x63, 0x64, 0x39, 0x36, 0x62, 0x66, 0x32, 0x39, 0x35, 0x34, 0x66, 0x39}}}, + {"[][]uint8", "93da002434373132653638322d376534662d353430612d386536362d336663396336666364343563da002431653736396163372d343936652d623265312d306261312d333031373036633464343061da002437656333643931622d363632392d303163392d353737662d616636303739386563306433", [][]uint8{{0x34, 0x37, 0x31, 0x32, 0x65, 0x36, 0x38, 0x32, 0x2d, 0x37, 0x65, 0x34, 0x66, 0x2d, 0x35, 0x34, 0x30, 0x61, 0x2d, 0x38, 0x65, 0x36, 0x36, 0x2d, 0x33, 0x66, 0x63, 0x39, 0x63, 0x36, 0x66, 0x63, 0x64, 0x34, 0x35, 0x63}, {0x31, 0x65, 0x37, 0x36, 0x39, 0x61, 0x63, 0x37, 0x2d, 0x34, 0x39, 0x36, 0x65, 0x2d, 0x62, 0x32, 0x65, 0x31, 0x2d, 0x30, 0x62, 0x61, 0x31, 0x2d, 0x33, 0x30, 0x31, 0x37, 0x30, 0x36, 0x63, 0x34, 0x64, 0x34, 0x30, 0x61}, {0x37, 0x65, 0x63, 0x33, 0x64, 0x39, 0x31, 0x62, 0x2d, 0x36, 0x36, 0x32, 0x39, 0x2d, 0x30, 0x31, 0x63, 0x39, 0x2d, 0x35, 0x37, 0x37, 0x66, 0x2d, 0x61, 0x66, 0x36, 0x30, 0x37, 0x39, 0x38, 0x65, 0x63, 0x30, 0x64, 0x33}}}, + {"[][]uint8", "93da002434646636333832622d663131382d333162372d383362662d376335303334356434643835da002439386363306261622d633739372d613962332d356139372d663134653430373061656134da002433626238303139622d363330342d306432642d643035392d366162313336346532363734", [][]uint8{{0x34, 0x64, 0x66, 0x36, 0x33, 0x38, 0x32, 0x62, 0x2d, 0x66, 0x31, 0x31, 0x38, 0x2d, 0x33, 0x31, 0x62, 0x37, 0x2d, 0x38, 0x33, 0x62, 0x66, 0x2d, 0x37, 0x63, 0x35, 0x30, 0x33, 0x34, 0x35, 0x64, 0x34, 0x64, 0x38, 0x35}, {0x39, 0x38, 0x63, 0x63, 0x30, 0x62, 0x61, 0x62, 0x2d, 0x63, 0x37, 0x39, 0x37, 0x2d, 0x61, 0x39, 0x62, 0x33, 0x2d, 0x35, 0x61, 0x39, 0x37, 0x2d, 0x66, 0x31, 0x34, 0x65, 0x34, 0x30, 0x37, 0x30, 0x61, 0x65, 0x61, 0x34}, {0x33, 0x62, 0x62, 0x38, 0x30, 0x31, 0x39, 0x62, 0x2d, 0x36, 0x33, 0x30, 0x34, 0x2d, 0x30, 0x64, 0x32, 0x64, 0x2d, 0x64, 0x30, 0x35, 0x39, 0x2d, 0x36, 0x61, 0x62, 0x31, 0x33, 0x36, 0x34, 0x65, 0x32, 0x36, 0x37, 0x34}}}, + {"[][]uint8", "93da002436313334316630652d383939612d353134372d326663342d633034313132376664336133da002435303165333137372d326662302d386638392d333938312d333163386661323730393866da002438643361363830662d366532302d363565662d316464332d363439643933633335363739", [][]uint8{{0x36, 0x31, 0x33, 0x34, 0x31, 0x66, 0x30, 0x65, 0x2d, 0x38, 0x39, 0x39, 0x61, 0x2d, 0x35, 0x31, 0x34, 0x37, 0x2d, 0x32, 0x66, 0x63, 0x34, 0x2d, 0x63, 0x30, 0x34, 0x31, 0x31, 0x32, 0x37, 0x66, 0x64, 0x33, 0x61, 0x33}, {0x35, 0x30, 0x31, 0x65, 0x33, 0x31, 0x37, 0x37, 0x2d, 0x32, 0x66, 0x62, 0x30, 0x2d, 0x38, 0x66, 0x38, 0x39, 0x2d, 0x33, 0x39, 0x38, 0x31, 0x2d, 0x33, 0x31, 0x63, 0x38, 0x66, 0x61, 0x32, 0x37, 0x30, 0x39, 0x38, 0x66}, {0x38, 0x64, 0x33, 0x61, 0x36, 0x38, 0x30, 0x66, 0x2d, 0x36, 0x65, 0x32, 0x30, 0x2d, 0x36, 0x35, 0x65, 0x66, 0x2d, 0x31, 0x64, 0x64, 0x33, 0x2d, 0x36, 0x34, 0x39, 0x64, 0x39, 0x33, 0x63, 0x33, 0x35, 0x36, 0x37, 0x39}}}, + {"[][]uint8", "93da002436333636366538642d613937342d613133302d333161332d646263656461343863333233da002462396361653734652d393561332d373331302d393232612d653664366431653635333066da002465333762653666642d366661322d653636612d646233612d656637386632346163383232", [][]uint8{{0x36, 0x33, 0x36, 0x36, 0x36, 0x65, 0x38, 0x64, 0x2d, 0x61, 0x39, 0x37, 0x34, 0x2d, 0x61, 0x31, 0x33, 0x30, 0x2d, 0x33, 0x31, 0x61, 0x33, 0x2d, 0x64, 0x62, 0x63, 0x65, 0x64, 0x61, 0x34, 0x38, 0x63, 0x33, 0x32, 0x33}, {0x62, 0x39, 0x63, 0x61, 0x65, 0x37, 0x34, 0x65, 0x2d, 0x39, 0x35, 0x61, 0x33, 0x2d, 0x37, 0x33, 0x31, 0x30, 0x2d, 0x39, 0x32, 0x32, 0x61, 0x2d, 0x65, 0x36, 0x64, 0x36, 0x64, 0x31, 0x65, 0x36, 0x35, 0x33, 0x30, 0x66}, {0x65, 0x33, 0x37, 0x62, 0x65, 0x36, 0x66, 0x64, 0x2d, 0x36, 0x66, 0x61, 0x32, 0x2d, 0x65, 0x36, 0x36, 0x61, 0x2d, 0x64, 0x62, 0x33, 0x61, 0x2d, 0x65, 0x66, 0x37, 0x38, 0x66, 0x32, 0x34, 0x61, 0x63, 0x38, 0x32, 0x32}}}, + {"[][]uint8", "93da002436343432623834332d386165622d363734612d626432312d633639363634643631383364da002464303862633632352d643135352d323334652d663134372d636630613862396133313637da002462376632353932332d343237652d313264372d633234652d353261363363323066653463", [][]uint8{{0x36, 0x34, 0x34, 0x32, 0x62, 0x38, 0x34, 0x33, 0x2d, 0x38, 0x61, 0x65, 0x62, 0x2d, 0x36, 0x37, 0x34, 0x61, 0x2d, 0x62, 0x64, 0x32, 0x31, 0x2d, 0x63, 0x36, 0x39, 0x36, 0x36, 0x34, 0x64, 0x36, 0x31, 0x38, 0x33, 0x64}, {0x64, 0x30, 0x38, 0x62, 0x63, 0x36, 0x32, 0x35, 0x2d, 0x64, 0x31, 0x35, 0x35, 0x2d, 0x32, 0x33, 0x34, 0x65, 0x2d, 0x66, 0x31, 0x34, 0x37, 0x2d, 0x63, 0x66, 0x30, 0x61, 0x38, 0x62, 0x39, 0x61, 0x33, 0x31, 0x36, 0x37}, {0x62, 0x37, 0x66, 0x32, 0x35, 0x39, 0x32, 0x33, 0x2d, 0x34, 0x32, 0x37, 0x65, 0x2d, 0x31, 0x32, 0x64, 0x37, 0x2d, 0x63, 0x32, 0x34, 0x65, 0x2d, 0x35, 0x32, 0x61, 0x36, 0x33, 0x63, 0x32, 0x30, 0x66, 0x65, 0x34, 0x63}}}, + {"[][]uint8", "93da002439303837333634312d306437622d323466302d396361392d656462396134386634376432da002433396261646636342d663433662d366638312d343366622d303530613463343434613361da002430343132396665312d666430612d613139312d393666652d643265626263636531663162", [][]uint8{{0x39, 0x30, 0x38, 0x37, 0x33, 0x36, 0x34, 0x31, 0x2d, 0x30, 0x64, 0x37, 0x62, 0x2d, 0x32, 0x34, 0x66, 0x30, 0x2d, 0x39, 0x63, 0x61, 0x39, 0x2d, 0x65, 0x64, 0x62, 0x39, 0x61, 0x34, 0x38, 0x66, 0x34, 0x37, 0x64, 0x32}, {0x33, 0x39, 0x62, 0x61, 0x64, 0x66, 0x36, 0x34, 0x2d, 0x66, 0x34, 0x33, 0x66, 0x2d, 0x36, 0x66, 0x38, 0x31, 0x2d, 0x34, 0x33, 0x66, 0x62, 0x2d, 0x30, 0x35, 0x30, 0x61, 0x34, 0x63, 0x34, 0x34, 0x34, 0x61, 0x33, 0x61}, {0x30, 0x34, 0x31, 0x32, 0x39, 0x66, 0x65, 0x31, 0x2d, 0x66, 0x64, 0x30, 0x61, 0x2d, 0x61, 0x31, 0x39, 0x31, 0x2d, 0x39, 0x36, 0x66, 0x65, 0x2d, 0x64, 0x32, 0x65, 0x62, 0x62, 0x63, 0x63, 0x65, 0x31, 0x66, 0x31, 0x62}}}, + {"[][]uint8", "93da002439323163383264662d663030392d666364642d343265302d343435333434393966646230da002464323436643666392d656164352d633637372d343331352d353732356262636631373062da002436613061313237332d656533322d643965392d396661362d356162346434373132376164", [][]uint8{{0x39, 0x32, 0x31, 0x63, 0x38, 0x32, 0x64, 0x66, 0x2d, 0x66, 0x30, 0x30, 0x39, 0x2d, 0x66, 0x63, 0x64, 0x64, 0x2d, 0x34, 0x32, 0x65, 0x30, 0x2d, 0x34, 0x34, 0x35, 0x33, 0x34, 0x34, 0x39, 0x39, 0x66, 0x64, 0x62, 0x30}, {0x64, 0x32, 0x34, 0x36, 0x64, 0x36, 0x66, 0x39, 0x2d, 0x65, 0x61, 0x64, 0x35, 0x2d, 0x63, 0x36, 0x37, 0x37, 0x2d, 0x34, 0x33, 0x31, 0x35, 0x2d, 0x35, 0x37, 0x32, 0x35, 0x62, 0x62, 0x63, 0x66, 0x31, 0x37, 0x30, 0x62}, {0x36, 0x61, 0x30, 0x61, 0x31, 0x32, 0x37, 0x33, 0x2d, 0x65, 0x65, 0x33, 0x32, 0x2d, 0x64, 0x39, 0x65, 0x39, 0x2d, 0x39, 0x66, 0x61, 0x36, 0x2d, 0x35, 0x61, 0x62, 0x34, 0x64, 0x34, 0x37, 0x31, 0x32, 0x37, 0x61, 0x64}}}, + {"[][]uint8", "93da002439323233666434392d356435612d626561362d356561382d306236336631303663396263da002462353662353432332d306661392d646438662d316536352d643765393165396662353362da002438633532313139382d326430632d623137372d643737392d636363636132323135346533", [][]uint8{{0x39, 0x32, 0x32, 0x33, 0x66, 0x64, 0x34, 0x39, 0x2d, 0x35, 0x64, 0x35, 0x61, 0x2d, 0x62, 0x65, 0x61, 0x36, 0x2d, 0x35, 0x65, 0x61, 0x38, 0x2d, 0x30, 0x62, 0x36, 0x33, 0x66, 0x31, 0x30, 0x36, 0x63, 0x39, 0x62, 0x63}, {0x62, 0x35, 0x36, 0x62, 0x35, 0x34, 0x32, 0x33, 0x2d, 0x30, 0x66, 0x61, 0x39, 0x2d, 0x64, 0x64, 0x38, 0x66, 0x2d, 0x31, 0x65, 0x36, 0x35, 0x2d, 0x64, 0x37, 0x65, 0x39, 0x31, 0x65, 0x39, 0x66, 0x62, 0x35, 0x33, 0x62}, {0x38, 0x63, 0x35, 0x32, 0x31, 0x31, 0x39, 0x38, 0x2d, 0x32, 0x64, 0x30, 0x63, 0x2d, 0x62, 0x31, 0x37, 0x37, 0x2d, 0x64, 0x37, 0x37, 0x39, 0x2d, 0x63, 0x63, 0x63, 0x63, 0x61, 0x32, 0x32, 0x31, 0x35, 0x34, 0x65, 0x33}}}, + {"[][]uint8", "93da002462323330346432632d373935322d646230662d373633342d323466636133636361353635da002464353930303766382d363036312d636462632d616330302d373061376233393065653362da002435336434306233652d396662332d396335362d636637372d636432323862376337363136", [][]uint8{{0x62, 0x32, 0x33, 0x30, 0x34, 0x64, 0x32, 0x63, 0x2d, 0x37, 0x39, 0x35, 0x32, 0x2d, 0x64, 0x62, 0x30, 0x66, 0x2d, 0x37, 0x36, 0x33, 0x34, 0x2d, 0x32, 0x34, 0x66, 0x63, 0x61, 0x33, 0x63, 0x63, 0x61, 0x35, 0x36, 0x35}, {0x64, 0x35, 0x39, 0x30, 0x30, 0x37, 0x66, 0x38, 0x2d, 0x36, 0x30, 0x36, 0x31, 0x2d, 0x63, 0x64, 0x62, 0x63, 0x2d, 0x61, 0x63, 0x30, 0x30, 0x2d, 0x37, 0x30, 0x61, 0x37, 0x62, 0x33, 0x39, 0x30, 0x65, 0x65, 0x33, 0x62}, {0x35, 0x33, 0x64, 0x34, 0x30, 0x62, 0x33, 0x65, 0x2d, 0x39, 0x66, 0x62, 0x33, 0x2d, 0x39, 0x63, 0x35, 0x36, 0x2d, 0x63, 0x66, 0x37, 0x37, 0x2d, 0x63, 0x64, 0x32, 0x32, 0x38, 0x62, 0x37, 0x63, 0x37, 0x36, 0x31, 0x36}}}, + {"[][]uint8", "93da002463633965666231312d646133632d363566322d363461662d363630613230383536623064da002431626438626436312d653632612d323866382d623931352d663465333738383832646361da002466666135316265382d623830332d623436642d633230372d326330363965346164633338", [][]uint8{{0x63, 0x63, 0x39, 0x65, 0x66, 0x62, 0x31, 0x31, 0x2d, 0x64, 0x61, 0x33, 0x63, 0x2d, 0x36, 0x35, 0x66, 0x32, 0x2d, 0x36, 0x34, 0x61, 0x66, 0x2d, 0x36, 0x36, 0x30, 0x61, 0x32, 0x30, 0x38, 0x35, 0x36, 0x62, 0x30, 0x64}, {0x31, 0x62, 0x64, 0x38, 0x62, 0x64, 0x36, 0x31, 0x2d, 0x65, 0x36, 0x32, 0x61, 0x2d, 0x32, 0x38, 0x66, 0x38, 0x2d, 0x62, 0x39, 0x31, 0x35, 0x2d, 0x66, 0x34, 0x65, 0x33, 0x37, 0x38, 0x38, 0x38, 0x32, 0x64, 0x63, 0x61}, {0x66, 0x66, 0x61, 0x35, 0x31, 0x62, 0x65, 0x38, 0x2d, 0x62, 0x38, 0x30, 0x33, 0x2d, 0x62, 0x34, 0x36, 0x64, 0x2d, 0x63, 0x32, 0x30, 0x37, 0x2d, 0x32, 0x63, 0x30, 0x36, 0x39, 0x65, 0x34, 0x61, 0x64, 0x63, 0x33, 0x38}}}, + {"[][]uint8", "93da002465636162643261372d303263352d656231632d653765362d363866393366326437353066da002462373431343035662d663131622d353434332d383064352d333032346637353863373532da002436343432623834332d386165622d363734612d626432312d633639363634643631383364", [][]uint8{{0x65, 0x63, 0x61, 0x62, 0x64, 0x32, 0x61, 0x37, 0x2d, 0x30, 0x32, 0x63, 0x35, 0x2d, 0x65, 0x62, 0x31, 0x63, 0x2d, 0x65, 0x37, 0x65, 0x36, 0x2d, 0x36, 0x38, 0x66, 0x39, 0x33, 0x66, 0x32, 0x64, 0x37, 0x35, 0x30, 0x66}, {0x62, 0x37, 0x34, 0x31, 0x34, 0x30, 0x35, 0x66, 0x2d, 0x66, 0x31, 0x31, 0x62, 0x2d, 0x35, 0x34, 0x34, 0x33, 0x2d, 0x38, 0x30, 0x64, 0x35, 0x2d, 0x33, 0x30, 0x32, 0x34, 0x66, 0x37, 0x35, 0x38, 0x63, 0x37, 0x35, 0x32}, {0x36, 0x34, 0x34, 0x32, 0x62, 0x38, 0x34, 0x33, 0x2d, 0x38, 0x61, 0x65, 0x62, 0x2d, 0x36, 0x37, 0x34, 0x61, 0x2d, 0x62, 0x64, 0x32, 0x31, 0x2d, 0x63, 0x36, 0x39, 0x36, 0x36, 0x34, 0x64, 0x36, 0x31, 0x38, 0x33, 0x64}}}, {"Configuration", "81a7536572766572739183a741646472657373da002431323732353061632d636139342d623639332d353766362d393235306631383739666531a24944da002b7365727665722d31323732353061632d636139342d623639332d353766362d393235306631383739666531a8537566667261676500", Configuration{Servers: []Server{{Suffrage: 0, ID: "server-127250ac-ca94-b693-57f6-9250f1879fe1", Address: "127250ac-ca94-b693-57f6-9250f1879fe1"}}}}, {"Configuration", "81a7536572766572739183a741646472657373da002431623434656164362d663437662d343536372d393766652d323035393439303065633066a24944da002b7365727665722d31623434656164362d663437662d343536372d393766652d323035393439303065633066a8537566667261676500", Configuration{Servers: []Server{{Suffrage: 0, ID: "server-1b44ead6-f47f-4567-97fe-20594900ec0f", Address: "1b44ead6-f47f-4567-97fe-20594900ec0f"}}}}, {"Configuration", "81a7536572766572739183a741646472657373da002432366430393865632d633831642d666434342d353831372d653465323030336362303164a24944da002b7365727665722d32366430393865632d633831642d666434342d353831372d653465323030336362303164a8537566667261676500", Configuration{Servers: []Server{{Suffrage: 0, ID: "server-26d098ec-c81d-fd44-5817-e4e2003cb01d", Address: "26d098ec-c81d-fd44-5817-e4e2003cb01d"}}}}, From 172711ffeedf15e52fb6b78e35f54f69c03061ec Mon Sep 17 00:00:00 2001 From: Christopher Swenson Date: Fri, 2 Dec 2022 11:12:23 -0800 Subject: [PATCH 6/7] Fix format check again again --- .github/workflows/test.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 8fed4ee0..d0361612 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -25,7 +25,7 @@ jobs: - uses: actions/setup-go@v3 with: go-version: ${{ needs.get-go-version.outputs.go-version }} - - run: 'exit $(( $(gofmt -s -l . | wc -l) == 0 ))' + - run: 'exit $(( $(gofmt -s -l . | wc -l) != 0 ))' test: name: codec test From 0c69ec87ab144d6ee19099aedd8fe346e9963013 Mon Sep 17 00:00:00 2001 From: Christopher Swenson Date: Fri, 2 Dec 2022 11:14:10 -0800 Subject: [PATCH 7/7] Clean up go.mod and go.sum more --- go.mod | 18 +++++++++--------- go.sum | 13 +++++++++---- 2 files changed, 18 insertions(+), 13 deletions(-) diff --git a/go.mod b/go.mod index 0cbd6bdb..41cce53b 100644 --- a/go.mod +++ b/go.mod @@ -4,31 +4,31 @@ go 1.19 require ( bitbucket.org/bodhisnarkva/cbor v0.0.0-20170201010848-113f42203c94 - github.com/DataDog/zstd v1.5.2 // indirect github.com/Sereal/Sereal v0.0.0-20221130110801-16a4f76670cd github.com/davecgh/go-xdr v0.0.0-20161123171359-e6a2ba005892 - github.com/golang/snappy v0.0.4 // indirect - github.com/google/go-cmp v0.5.9 // indirect github.com/json-iterator/go v1.1.12 github.com/mailru/easyjson v0.7.7 github.com/pquerna/ffjson v0.0.0-20190930134022-aa0246cd15f7 github.com/tinylib/msgp v1.1.6 github.com/ugorji/go/codec v1.2.7 - golang.org/x/tools v0.0.0-20201022035929-9cf592e881e9 - google.golang.org/appengine v1.6.7 // indirect - gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect + golang.org/x/tools v0.3.0 gopkg.in/mgo.v2 v2.0.0-20190816093944-a6b53ec6cb22 gopkg.in/vmihailenco/msgpack.v2 v2.9.2 ) require ( + github.com/DataDog/zstd v1.5.2 // indirect github.com/golang/protobuf v1.3.1 // indirect + github.com/golang/snappy v0.0.4 // indirect + github.com/google/go-cmp v0.5.9 // indirect github.com/josharian/intern v1.0.0 // indirect github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421 // indirect github.com/modern-go/reflect2 v1.0.2 // indirect github.com/philhofer/fwd v1.1.1 // indirect - golang.org/x/mod v0.3.0 // indirect - golang.org/x/net v0.0.0-20201021035429-f5854403a974 // indirect - golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 // indirect + golang.org/x/mod v0.7.0 // indirect + golang.org/x/net v0.2.0 // indirect + golang.org/x/sys v0.2.0 // indirect + google.golang.org/appengine v1.6.7 // indirect + gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect gopkg.in/yaml.v2 v2.4.0 // indirect ) diff --git a/go.sum b/go.sum index 4beaeaf9..de8b8c21 100644 --- a/go.sum +++ b/go.sum @@ -49,28 +49,33 @@ github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9dec golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= -golang.org/x/mod v0.3.0 h1:RM4zey1++hCTbCVQfnWeKs9/IEsaBLA8vTkd0WVtmH4= golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= +golang.org/x/mod v0.7.0 h1:LapD9S96VoQRhi/GrNTqeBJFrUjs5UHCAtTlgwA5oZA= +golang.org/x/mod v0.7.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190603091049-60506f45cf65/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks= golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20201021035429-f5854403a974 h1:IX6qOQeG5uLjB/hjjwjedwfjND0hgjPMMyO1RoIXQNI= golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= +golang.org/x/net v0.2.0 h1:sZfSu1wtKLGlWI4ZZayP0ck9Y73K1ynO6gqzTdBVdPU= +golang.org/x/net v0.2.0/go.mod h1:KqCZLdyyvdV855qA2rE3GC2aiw5xGR5TEjj8smXukLY= golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.1.0 h1:wsuoTGHzEhffawBOhz5CYhcrV4IdKZbEyZjBMuTp12o= golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.2.0 h1:ljd4t30dBnAvMZaQCevtY0xLLD0A+bRZXbgLMLU1F/A= +golang.org/x/sys v0.2.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20201022035929-9cf592e881e9 h1:sEvmEcJVKBNUvgCUClbUQeHOAa9U0I2Ce1BooMvVCY4= golang.org/x/tools v0.0.0-20201022035929-9cf592e881e9/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= +golang.org/x/tools v0.3.0 h1:SrNbZl6ECOS1qFzgTdQfWXZM9XBkiA6tkFrH9YSTPHM= +golang.org/x/tools v0.3.0/go.mod h1:/rWhSS2+zyEVwoJf8YAX6L2f0ntZ7Kn/mGgAWcipA5k= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 h1:go1bK/D/BFZV2I8cIQd1NKEZ+0owSTG1fDTci4IqFcE= golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= google.golang.org/appengine v1.6.7 h1:FZR1q0exgwxzPzp/aF+VccGrSfxfPpkBqjIIEq3ru6c= google.golang.org/appengine v1.6.7/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc=