fast-path.generated.go 627 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254
  1. // //+build ignore
  2. // Copyright (c) 2012-2015 Ugorji Nwoke. All rights reserved.
  3. // Use of this source code is governed by a MIT license found in the LICENSE file.
  4. // ************************************************************
  5. // DO NOT EDIT.
  6. // THIS FILE IS AUTO-GENERATED from fast-path.go.tmpl
  7. // ************************************************************
  8. package codec
  9. // Fast path functions try to create a fast path encode or decode implementation
  10. // for common maps and slices.
  11. //
  12. // We define the functions and register then in this single file
  13. // so as not to pollute the encode.go and decode.go, and create a dependency in there.
  14. // This file can be omitted without causing a build failure.
  15. //
  16. // The advantage of fast paths is:
  17. // - Many calls bypass reflection altogether
  18. //
  19. // Currently support
  20. // - slice of all builtin types,
  21. // - map of all builtin types to string or interface value
  22. // - symetrical maps of all builtin types (e.g. str-str, uint8-uint8)
  23. // This should provide adequate "typical" implementations.
  24. //
  25. // Note that fast track decode functions must handle values for which an address cannot be obtained.
  26. // For example:
  27. // m2 := map[string]int{}
  28. // p2 := []interface{}{m2}
  29. // // decoding into p2 will bomb if fast track functions do not treat like unaddressable.
  30. //
  31. import (
  32. "reflect"
  33. "sort"
  34. )
  35. const fastpathCheckNilFalse = false // for reflect
  36. const fastpathCheckNilTrue = true // for type switch
  37. type fastpathT struct{}
  38. var fastpathTV fastpathT
  39. type fastpathE struct {
  40. rtid uintptr
  41. rt reflect.Type
  42. encfn func(encFnInfo, reflect.Value)
  43. decfn func(decFnInfo, reflect.Value)
  44. }
  45. type fastpathA [239]fastpathE
  46. func (x *fastpathA) index(rtid uintptr) int {
  47. // use binary search to grab the index (adapted from sort/search.go)
  48. h, i, j := 0, 0, 239 // len(x)
  49. for i < j {
  50. h = i + (j-i)/2
  51. if x[h].rtid < rtid {
  52. i = h + 1
  53. } else {
  54. j = h
  55. }
  56. }
  57. if i < 239 && x[i].rtid == rtid {
  58. return i
  59. }
  60. return -1
  61. }
  62. type fastpathAslice []fastpathE
  63. func (x fastpathAslice) Len() int { return len(x) }
  64. func (x fastpathAslice) Less(i, j int) bool { return x[i].rtid < x[j].rtid }
  65. func (x fastpathAslice) Swap(i, j int) { x[i], x[j] = x[j], x[i] }
  66. var fastpathAV fastpathA
  67. // due to possible initialization loop error, make fastpath in an init()
  68. func init() {
  69. if !fastpathEnabled {
  70. return
  71. }
  72. i := 0
  73. fn := func(v interface{}, fe func(encFnInfo, reflect.Value), fd func(decFnInfo, reflect.Value)) (f fastpathE) {
  74. xrt := reflect.TypeOf(v)
  75. xptr := reflect.ValueOf(xrt).Pointer()
  76. fastpathAV[i] = fastpathE{xptr, xrt, fe, fd}
  77. i++
  78. return
  79. }
  80. fn([]interface{}(nil), (encFnInfo).fastpathEncSliceIntfR, (decFnInfo).fastpathDecSliceIntfR)
  81. fn([]string(nil), (encFnInfo).fastpathEncSliceStringR, (decFnInfo).fastpathDecSliceStringR)
  82. fn([]float32(nil), (encFnInfo).fastpathEncSliceFloat32R, (decFnInfo).fastpathDecSliceFloat32R)
  83. fn([]float64(nil), (encFnInfo).fastpathEncSliceFloat64R, (decFnInfo).fastpathDecSliceFloat64R)
  84. fn([]uint(nil), (encFnInfo).fastpathEncSliceUintR, (decFnInfo).fastpathDecSliceUintR)
  85. fn([]uint16(nil), (encFnInfo).fastpathEncSliceUint16R, (decFnInfo).fastpathDecSliceUint16R)
  86. fn([]uint32(nil), (encFnInfo).fastpathEncSliceUint32R, (decFnInfo).fastpathDecSliceUint32R)
  87. fn([]uint64(nil), (encFnInfo).fastpathEncSliceUint64R, (decFnInfo).fastpathDecSliceUint64R)
  88. fn([]int(nil), (encFnInfo).fastpathEncSliceIntR, (decFnInfo).fastpathDecSliceIntR)
  89. fn([]int8(nil), (encFnInfo).fastpathEncSliceInt8R, (decFnInfo).fastpathDecSliceInt8R)
  90. fn([]int16(nil), (encFnInfo).fastpathEncSliceInt16R, (decFnInfo).fastpathDecSliceInt16R)
  91. fn([]int32(nil), (encFnInfo).fastpathEncSliceInt32R, (decFnInfo).fastpathDecSliceInt32R)
  92. fn([]int64(nil), (encFnInfo).fastpathEncSliceInt64R, (decFnInfo).fastpathDecSliceInt64R)
  93. fn([]bool(nil), (encFnInfo).fastpathEncSliceBoolR, (decFnInfo).fastpathDecSliceBoolR)
  94. fn(map[interface{}]interface{}(nil), (encFnInfo).fastpathEncMapIntfIntfR, (decFnInfo).fastpathDecMapIntfIntfR)
  95. fn(map[interface{}]string(nil), (encFnInfo).fastpathEncMapIntfStringR, (decFnInfo).fastpathDecMapIntfStringR)
  96. fn(map[interface{}]uint(nil), (encFnInfo).fastpathEncMapIntfUintR, (decFnInfo).fastpathDecMapIntfUintR)
  97. fn(map[interface{}]uint8(nil), (encFnInfo).fastpathEncMapIntfUint8R, (decFnInfo).fastpathDecMapIntfUint8R)
  98. fn(map[interface{}]uint16(nil), (encFnInfo).fastpathEncMapIntfUint16R, (decFnInfo).fastpathDecMapIntfUint16R)
  99. fn(map[interface{}]uint32(nil), (encFnInfo).fastpathEncMapIntfUint32R, (decFnInfo).fastpathDecMapIntfUint32R)
  100. fn(map[interface{}]uint64(nil), (encFnInfo).fastpathEncMapIntfUint64R, (decFnInfo).fastpathDecMapIntfUint64R)
  101. fn(map[interface{}]int(nil), (encFnInfo).fastpathEncMapIntfIntR, (decFnInfo).fastpathDecMapIntfIntR)
  102. fn(map[interface{}]int8(nil), (encFnInfo).fastpathEncMapIntfInt8R, (decFnInfo).fastpathDecMapIntfInt8R)
  103. fn(map[interface{}]int16(nil), (encFnInfo).fastpathEncMapIntfInt16R, (decFnInfo).fastpathDecMapIntfInt16R)
  104. fn(map[interface{}]int32(nil), (encFnInfo).fastpathEncMapIntfInt32R, (decFnInfo).fastpathDecMapIntfInt32R)
  105. fn(map[interface{}]int64(nil), (encFnInfo).fastpathEncMapIntfInt64R, (decFnInfo).fastpathDecMapIntfInt64R)
  106. fn(map[interface{}]float32(nil), (encFnInfo).fastpathEncMapIntfFloat32R, (decFnInfo).fastpathDecMapIntfFloat32R)
  107. fn(map[interface{}]float64(nil), (encFnInfo).fastpathEncMapIntfFloat64R, (decFnInfo).fastpathDecMapIntfFloat64R)
  108. fn(map[interface{}]bool(nil), (encFnInfo).fastpathEncMapIntfBoolR, (decFnInfo).fastpathDecMapIntfBoolR)
  109. fn(map[string]interface{}(nil), (encFnInfo).fastpathEncMapStringIntfR, (decFnInfo).fastpathDecMapStringIntfR)
  110. fn(map[string]string(nil), (encFnInfo).fastpathEncMapStringStringR, (decFnInfo).fastpathDecMapStringStringR)
  111. fn(map[string]uint(nil), (encFnInfo).fastpathEncMapStringUintR, (decFnInfo).fastpathDecMapStringUintR)
  112. fn(map[string]uint8(nil), (encFnInfo).fastpathEncMapStringUint8R, (decFnInfo).fastpathDecMapStringUint8R)
  113. fn(map[string]uint16(nil), (encFnInfo).fastpathEncMapStringUint16R, (decFnInfo).fastpathDecMapStringUint16R)
  114. fn(map[string]uint32(nil), (encFnInfo).fastpathEncMapStringUint32R, (decFnInfo).fastpathDecMapStringUint32R)
  115. fn(map[string]uint64(nil), (encFnInfo).fastpathEncMapStringUint64R, (decFnInfo).fastpathDecMapStringUint64R)
  116. fn(map[string]int(nil), (encFnInfo).fastpathEncMapStringIntR, (decFnInfo).fastpathDecMapStringIntR)
  117. fn(map[string]int8(nil), (encFnInfo).fastpathEncMapStringInt8R, (decFnInfo).fastpathDecMapStringInt8R)
  118. fn(map[string]int16(nil), (encFnInfo).fastpathEncMapStringInt16R, (decFnInfo).fastpathDecMapStringInt16R)
  119. fn(map[string]int32(nil), (encFnInfo).fastpathEncMapStringInt32R, (decFnInfo).fastpathDecMapStringInt32R)
  120. fn(map[string]int64(nil), (encFnInfo).fastpathEncMapStringInt64R, (decFnInfo).fastpathDecMapStringInt64R)
  121. fn(map[string]float32(nil), (encFnInfo).fastpathEncMapStringFloat32R, (decFnInfo).fastpathDecMapStringFloat32R)
  122. fn(map[string]float64(nil), (encFnInfo).fastpathEncMapStringFloat64R, (decFnInfo).fastpathDecMapStringFloat64R)
  123. fn(map[string]bool(nil), (encFnInfo).fastpathEncMapStringBoolR, (decFnInfo).fastpathDecMapStringBoolR)
  124. fn(map[float32]interface{}(nil), (encFnInfo).fastpathEncMapFloat32IntfR, (decFnInfo).fastpathDecMapFloat32IntfR)
  125. fn(map[float32]string(nil), (encFnInfo).fastpathEncMapFloat32StringR, (decFnInfo).fastpathDecMapFloat32StringR)
  126. fn(map[float32]uint(nil), (encFnInfo).fastpathEncMapFloat32UintR, (decFnInfo).fastpathDecMapFloat32UintR)
  127. fn(map[float32]uint8(nil), (encFnInfo).fastpathEncMapFloat32Uint8R, (decFnInfo).fastpathDecMapFloat32Uint8R)
  128. fn(map[float32]uint16(nil), (encFnInfo).fastpathEncMapFloat32Uint16R, (decFnInfo).fastpathDecMapFloat32Uint16R)
  129. fn(map[float32]uint32(nil), (encFnInfo).fastpathEncMapFloat32Uint32R, (decFnInfo).fastpathDecMapFloat32Uint32R)
  130. fn(map[float32]uint64(nil), (encFnInfo).fastpathEncMapFloat32Uint64R, (decFnInfo).fastpathDecMapFloat32Uint64R)
  131. fn(map[float32]int(nil), (encFnInfo).fastpathEncMapFloat32IntR, (decFnInfo).fastpathDecMapFloat32IntR)
  132. fn(map[float32]int8(nil), (encFnInfo).fastpathEncMapFloat32Int8R, (decFnInfo).fastpathDecMapFloat32Int8R)
  133. fn(map[float32]int16(nil), (encFnInfo).fastpathEncMapFloat32Int16R, (decFnInfo).fastpathDecMapFloat32Int16R)
  134. fn(map[float32]int32(nil), (encFnInfo).fastpathEncMapFloat32Int32R, (decFnInfo).fastpathDecMapFloat32Int32R)
  135. fn(map[float32]int64(nil), (encFnInfo).fastpathEncMapFloat32Int64R, (decFnInfo).fastpathDecMapFloat32Int64R)
  136. fn(map[float32]float32(nil), (encFnInfo).fastpathEncMapFloat32Float32R, (decFnInfo).fastpathDecMapFloat32Float32R)
  137. fn(map[float32]float64(nil), (encFnInfo).fastpathEncMapFloat32Float64R, (decFnInfo).fastpathDecMapFloat32Float64R)
  138. fn(map[float32]bool(nil), (encFnInfo).fastpathEncMapFloat32BoolR, (decFnInfo).fastpathDecMapFloat32BoolR)
  139. fn(map[float64]interface{}(nil), (encFnInfo).fastpathEncMapFloat64IntfR, (decFnInfo).fastpathDecMapFloat64IntfR)
  140. fn(map[float64]string(nil), (encFnInfo).fastpathEncMapFloat64StringR, (decFnInfo).fastpathDecMapFloat64StringR)
  141. fn(map[float64]uint(nil), (encFnInfo).fastpathEncMapFloat64UintR, (decFnInfo).fastpathDecMapFloat64UintR)
  142. fn(map[float64]uint8(nil), (encFnInfo).fastpathEncMapFloat64Uint8R, (decFnInfo).fastpathDecMapFloat64Uint8R)
  143. fn(map[float64]uint16(nil), (encFnInfo).fastpathEncMapFloat64Uint16R, (decFnInfo).fastpathDecMapFloat64Uint16R)
  144. fn(map[float64]uint32(nil), (encFnInfo).fastpathEncMapFloat64Uint32R, (decFnInfo).fastpathDecMapFloat64Uint32R)
  145. fn(map[float64]uint64(nil), (encFnInfo).fastpathEncMapFloat64Uint64R, (decFnInfo).fastpathDecMapFloat64Uint64R)
  146. fn(map[float64]int(nil), (encFnInfo).fastpathEncMapFloat64IntR, (decFnInfo).fastpathDecMapFloat64IntR)
  147. fn(map[float64]int8(nil), (encFnInfo).fastpathEncMapFloat64Int8R, (decFnInfo).fastpathDecMapFloat64Int8R)
  148. fn(map[float64]int16(nil), (encFnInfo).fastpathEncMapFloat64Int16R, (decFnInfo).fastpathDecMapFloat64Int16R)
  149. fn(map[float64]int32(nil), (encFnInfo).fastpathEncMapFloat64Int32R, (decFnInfo).fastpathDecMapFloat64Int32R)
  150. fn(map[float64]int64(nil), (encFnInfo).fastpathEncMapFloat64Int64R, (decFnInfo).fastpathDecMapFloat64Int64R)
  151. fn(map[float64]float32(nil), (encFnInfo).fastpathEncMapFloat64Float32R, (decFnInfo).fastpathDecMapFloat64Float32R)
  152. fn(map[float64]float64(nil), (encFnInfo).fastpathEncMapFloat64Float64R, (decFnInfo).fastpathDecMapFloat64Float64R)
  153. fn(map[float64]bool(nil), (encFnInfo).fastpathEncMapFloat64BoolR, (decFnInfo).fastpathDecMapFloat64BoolR)
  154. fn(map[uint]interface{}(nil), (encFnInfo).fastpathEncMapUintIntfR, (decFnInfo).fastpathDecMapUintIntfR)
  155. fn(map[uint]string(nil), (encFnInfo).fastpathEncMapUintStringR, (decFnInfo).fastpathDecMapUintStringR)
  156. fn(map[uint]uint(nil), (encFnInfo).fastpathEncMapUintUintR, (decFnInfo).fastpathDecMapUintUintR)
  157. fn(map[uint]uint8(nil), (encFnInfo).fastpathEncMapUintUint8R, (decFnInfo).fastpathDecMapUintUint8R)
  158. fn(map[uint]uint16(nil), (encFnInfo).fastpathEncMapUintUint16R, (decFnInfo).fastpathDecMapUintUint16R)
  159. fn(map[uint]uint32(nil), (encFnInfo).fastpathEncMapUintUint32R, (decFnInfo).fastpathDecMapUintUint32R)
  160. fn(map[uint]uint64(nil), (encFnInfo).fastpathEncMapUintUint64R, (decFnInfo).fastpathDecMapUintUint64R)
  161. fn(map[uint]int(nil), (encFnInfo).fastpathEncMapUintIntR, (decFnInfo).fastpathDecMapUintIntR)
  162. fn(map[uint]int8(nil), (encFnInfo).fastpathEncMapUintInt8R, (decFnInfo).fastpathDecMapUintInt8R)
  163. fn(map[uint]int16(nil), (encFnInfo).fastpathEncMapUintInt16R, (decFnInfo).fastpathDecMapUintInt16R)
  164. fn(map[uint]int32(nil), (encFnInfo).fastpathEncMapUintInt32R, (decFnInfo).fastpathDecMapUintInt32R)
  165. fn(map[uint]int64(nil), (encFnInfo).fastpathEncMapUintInt64R, (decFnInfo).fastpathDecMapUintInt64R)
  166. fn(map[uint]float32(nil), (encFnInfo).fastpathEncMapUintFloat32R, (decFnInfo).fastpathDecMapUintFloat32R)
  167. fn(map[uint]float64(nil), (encFnInfo).fastpathEncMapUintFloat64R, (decFnInfo).fastpathDecMapUintFloat64R)
  168. fn(map[uint]bool(nil), (encFnInfo).fastpathEncMapUintBoolR, (decFnInfo).fastpathDecMapUintBoolR)
  169. fn(map[uint8]interface{}(nil), (encFnInfo).fastpathEncMapUint8IntfR, (decFnInfo).fastpathDecMapUint8IntfR)
  170. fn(map[uint8]string(nil), (encFnInfo).fastpathEncMapUint8StringR, (decFnInfo).fastpathDecMapUint8StringR)
  171. fn(map[uint8]uint(nil), (encFnInfo).fastpathEncMapUint8UintR, (decFnInfo).fastpathDecMapUint8UintR)
  172. fn(map[uint8]uint8(nil), (encFnInfo).fastpathEncMapUint8Uint8R, (decFnInfo).fastpathDecMapUint8Uint8R)
  173. fn(map[uint8]uint16(nil), (encFnInfo).fastpathEncMapUint8Uint16R, (decFnInfo).fastpathDecMapUint8Uint16R)
  174. fn(map[uint8]uint32(nil), (encFnInfo).fastpathEncMapUint8Uint32R, (decFnInfo).fastpathDecMapUint8Uint32R)
  175. fn(map[uint8]uint64(nil), (encFnInfo).fastpathEncMapUint8Uint64R, (decFnInfo).fastpathDecMapUint8Uint64R)
  176. fn(map[uint8]int(nil), (encFnInfo).fastpathEncMapUint8IntR, (decFnInfo).fastpathDecMapUint8IntR)
  177. fn(map[uint8]int8(nil), (encFnInfo).fastpathEncMapUint8Int8R, (decFnInfo).fastpathDecMapUint8Int8R)
  178. fn(map[uint8]int16(nil), (encFnInfo).fastpathEncMapUint8Int16R, (decFnInfo).fastpathDecMapUint8Int16R)
  179. fn(map[uint8]int32(nil), (encFnInfo).fastpathEncMapUint8Int32R, (decFnInfo).fastpathDecMapUint8Int32R)
  180. fn(map[uint8]int64(nil), (encFnInfo).fastpathEncMapUint8Int64R, (decFnInfo).fastpathDecMapUint8Int64R)
  181. fn(map[uint8]float32(nil), (encFnInfo).fastpathEncMapUint8Float32R, (decFnInfo).fastpathDecMapUint8Float32R)
  182. fn(map[uint8]float64(nil), (encFnInfo).fastpathEncMapUint8Float64R, (decFnInfo).fastpathDecMapUint8Float64R)
  183. fn(map[uint8]bool(nil), (encFnInfo).fastpathEncMapUint8BoolR, (decFnInfo).fastpathDecMapUint8BoolR)
  184. fn(map[uint16]interface{}(nil), (encFnInfo).fastpathEncMapUint16IntfR, (decFnInfo).fastpathDecMapUint16IntfR)
  185. fn(map[uint16]string(nil), (encFnInfo).fastpathEncMapUint16StringR, (decFnInfo).fastpathDecMapUint16StringR)
  186. fn(map[uint16]uint(nil), (encFnInfo).fastpathEncMapUint16UintR, (decFnInfo).fastpathDecMapUint16UintR)
  187. fn(map[uint16]uint8(nil), (encFnInfo).fastpathEncMapUint16Uint8R, (decFnInfo).fastpathDecMapUint16Uint8R)
  188. fn(map[uint16]uint16(nil), (encFnInfo).fastpathEncMapUint16Uint16R, (decFnInfo).fastpathDecMapUint16Uint16R)
  189. fn(map[uint16]uint32(nil), (encFnInfo).fastpathEncMapUint16Uint32R, (decFnInfo).fastpathDecMapUint16Uint32R)
  190. fn(map[uint16]uint64(nil), (encFnInfo).fastpathEncMapUint16Uint64R, (decFnInfo).fastpathDecMapUint16Uint64R)
  191. fn(map[uint16]int(nil), (encFnInfo).fastpathEncMapUint16IntR, (decFnInfo).fastpathDecMapUint16IntR)
  192. fn(map[uint16]int8(nil), (encFnInfo).fastpathEncMapUint16Int8R, (decFnInfo).fastpathDecMapUint16Int8R)
  193. fn(map[uint16]int16(nil), (encFnInfo).fastpathEncMapUint16Int16R, (decFnInfo).fastpathDecMapUint16Int16R)
  194. fn(map[uint16]int32(nil), (encFnInfo).fastpathEncMapUint16Int32R, (decFnInfo).fastpathDecMapUint16Int32R)
  195. fn(map[uint16]int64(nil), (encFnInfo).fastpathEncMapUint16Int64R, (decFnInfo).fastpathDecMapUint16Int64R)
  196. fn(map[uint16]float32(nil), (encFnInfo).fastpathEncMapUint16Float32R, (decFnInfo).fastpathDecMapUint16Float32R)
  197. fn(map[uint16]float64(nil), (encFnInfo).fastpathEncMapUint16Float64R, (decFnInfo).fastpathDecMapUint16Float64R)
  198. fn(map[uint16]bool(nil), (encFnInfo).fastpathEncMapUint16BoolR, (decFnInfo).fastpathDecMapUint16BoolR)
  199. fn(map[uint32]interface{}(nil), (encFnInfo).fastpathEncMapUint32IntfR, (decFnInfo).fastpathDecMapUint32IntfR)
  200. fn(map[uint32]string(nil), (encFnInfo).fastpathEncMapUint32StringR, (decFnInfo).fastpathDecMapUint32StringR)
  201. fn(map[uint32]uint(nil), (encFnInfo).fastpathEncMapUint32UintR, (decFnInfo).fastpathDecMapUint32UintR)
  202. fn(map[uint32]uint8(nil), (encFnInfo).fastpathEncMapUint32Uint8R, (decFnInfo).fastpathDecMapUint32Uint8R)
  203. fn(map[uint32]uint16(nil), (encFnInfo).fastpathEncMapUint32Uint16R, (decFnInfo).fastpathDecMapUint32Uint16R)
  204. fn(map[uint32]uint32(nil), (encFnInfo).fastpathEncMapUint32Uint32R, (decFnInfo).fastpathDecMapUint32Uint32R)
  205. fn(map[uint32]uint64(nil), (encFnInfo).fastpathEncMapUint32Uint64R, (decFnInfo).fastpathDecMapUint32Uint64R)
  206. fn(map[uint32]int(nil), (encFnInfo).fastpathEncMapUint32IntR, (decFnInfo).fastpathDecMapUint32IntR)
  207. fn(map[uint32]int8(nil), (encFnInfo).fastpathEncMapUint32Int8R, (decFnInfo).fastpathDecMapUint32Int8R)
  208. fn(map[uint32]int16(nil), (encFnInfo).fastpathEncMapUint32Int16R, (decFnInfo).fastpathDecMapUint32Int16R)
  209. fn(map[uint32]int32(nil), (encFnInfo).fastpathEncMapUint32Int32R, (decFnInfo).fastpathDecMapUint32Int32R)
  210. fn(map[uint32]int64(nil), (encFnInfo).fastpathEncMapUint32Int64R, (decFnInfo).fastpathDecMapUint32Int64R)
  211. fn(map[uint32]float32(nil), (encFnInfo).fastpathEncMapUint32Float32R, (decFnInfo).fastpathDecMapUint32Float32R)
  212. fn(map[uint32]float64(nil), (encFnInfo).fastpathEncMapUint32Float64R, (decFnInfo).fastpathDecMapUint32Float64R)
  213. fn(map[uint32]bool(nil), (encFnInfo).fastpathEncMapUint32BoolR, (decFnInfo).fastpathDecMapUint32BoolR)
  214. fn(map[uint64]interface{}(nil), (encFnInfo).fastpathEncMapUint64IntfR, (decFnInfo).fastpathDecMapUint64IntfR)
  215. fn(map[uint64]string(nil), (encFnInfo).fastpathEncMapUint64StringR, (decFnInfo).fastpathDecMapUint64StringR)
  216. fn(map[uint64]uint(nil), (encFnInfo).fastpathEncMapUint64UintR, (decFnInfo).fastpathDecMapUint64UintR)
  217. fn(map[uint64]uint8(nil), (encFnInfo).fastpathEncMapUint64Uint8R, (decFnInfo).fastpathDecMapUint64Uint8R)
  218. fn(map[uint64]uint16(nil), (encFnInfo).fastpathEncMapUint64Uint16R, (decFnInfo).fastpathDecMapUint64Uint16R)
  219. fn(map[uint64]uint32(nil), (encFnInfo).fastpathEncMapUint64Uint32R, (decFnInfo).fastpathDecMapUint64Uint32R)
  220. fn(map[uint64]uint64(nil), (encFnInfo).fastpathEncMapUint64Uint64R, (decFnInfo).fastpathDecMapUint64Uint64R)
  221. fn(map[uint64]int(nil), (encFnInfo).fastpathEncMapUint64IntR, (decFnInfo).fastpathDecMapUint64IntR)
  222. fn(map[uint64]int8(nil), (encFnInfo).fastpathEncMapUint64Int8R, (decFnInfo).fastpathDecMapUint64Int8R)
  223. fn(map[uint64]int16(nil), (encFnInfo).fastpathEncMapUint64Int16R, (decFnInfo).fastpathDecMapUint64Int16R)
  224. fn(map[uint64]int32(nil), (encFnInfo).fastpathEncMapUint64Int32R, (decFnInfo).fastpathDecMapUint64Int32R)
  225. fn(map[uint64]int64(nil), (encFnInfo).fastpathEncMapUint64Int64R, (decFnInfo).fastpathDecMapUint64Int64R)
  226. fn(map[uint64]float32(nil), (encFnInfo).fastpathEncMapUint64Float32R, (decFnInfo).fastpathDecMapUint64Float32R)
  227. fn(map[uint64]float64(nil), (encFnInfo).fastpathEncMapUint64Float64R, (decFnInfo).fastpathDecMapUint64Float64R)
  228. fn(map[uint64]bool(nil), (encFnInfo).fastpathEncMapUint64BoolR, (decFnInfo).fastpathDecMapUint64BoolR)
  229. fn(map[int]interface{}(nil), (encFnInfo).fastpathEncMapIntIntfR, (decFnInfo).fastpathDecMapIntIntfR)
  230. fn(map[int]string(nil), (encFnInfo).fastpathEncMapIntStringR, (decFnInfo).fastpathDecMapIntStringR)
  231. fn(map[int]uint(nil), (encFnInfo).fastpathEncMapIntUintR, (decFnInfo).fastpathDecMapIntUintR)
  232. fn(map[int]uint8(nil), (encFnInfo).fastpathEncMapIntUint8R, (decFnInfo).fastpathDecMapIntUint8R)
  233. fn(map[int]uint16(nil), (encFnInfo).fastpathEncMapIntUint16R, (decFnInfo).fastpathDecMapIntUint16R)
  234. fn(map[int]uint32(nil), (encFnInfo).fastpathEncMapIntUint32R, (decFnInfo).fastpathDecMapIntUint32R)
  235. fn(map[int]uint64(nil), (encFnInfo).fastpathEncMapIntUint64R, (decFnInfo).fastpathDecMapIntUint64R)
  236. fn(map[int]int(nil), (encFnInfo).fastpathEncMapIntIntR, (decFnInfo).fastpathDecMapIntIntR)
  237. fn(map[int]int8(nil), (encFnInfo).fastpathEncMapIntInt8R, (decFnInfo).fastpathDecMapIntInt8R)
  238. fn(map[int]int16(nil), (encFnInfo).fastpathEncMapIntInt16R, (decFnInfo).fastpathDecMapIntInt16R)
  239. fn(map[int]int32(nil), (encFnInfo).fastpathEncMapIntInt32R, (decFnInfo).fastpathDecMapIntInt32R)
  240. fn(map[int]int64(nil), (encFnInfo).fastpathEncMapIntInt64R, (decFnInfo).fastpathDecMapIntInt64R)
  241. fn(map[int]float32(nil), (encFnInfo).fastpathEncMapIntFloat32R, (decFnInfo).fastpathDecMapIntFloat32R)
  242. fn(map[int]float64(nil), (encFnInfo).fastpathEncMapIntFloat64R, (decFnInfo).fastpathDecMapIntFloat64R)
  243. fn(map[int]bool(nil), (encFnInfo).fastpathEncMapIntBoolR, (decFnInfo).fastpathDecMapIntBoolR)
  244. fn(map[int8]interface{}(nil), (encFnInfo).fastpathEncMapInt8IntfR, (decFnInfo).fastpathDecMapInt8IntfR)
  245. fn(map[int8]string(nil), (encFnInfo).fastpathEncMapInt8StringR, (decFnInfo).fastpathDecMapInt8StringR)
  246. fn(map[int8]uint(nil), (encFnInfo).fastpathEncMapInt8UintR, (decFnInfo).fastpathDecMapInt8UintR)
  247. fn(map[int8]uint8(nil), (encFnInfo).fastpathEncMapInt8Uint8R, (decFnInfo).fastpathDecMapInt8Uint8R)
  248. fn(map[int8]uint16(nil), (encFnInfo).fastpathEncMapInt8Uint16R, (decFnInfo).fastpathDecMapInt8Uint16R)
  249. fn(map[int8]uint32(nil), (encFnInfo).fastpathEncMapInt8Uint32R, (decFnInfo).fastpathDecMapInt8Uint32R)
  250. fn(map[int8]uint64(nil), (encFnInfo).fastpathEncMapInt8Uint64R, (decFnInfo).fastpathDecMapInt8Uint64R)
  251. fn(map[int8]int(nil), (encFnInfo).fastpathEncMapInt8IntR, (decFnInfo).fastpathDecMapInt8IntR)
  252. fn(map[int8]int8(nil), (encFnInfo).fastpathEncMapInt8Int8R, (decFnInfo).fastpathDecMapInt8Int8R)
  253. fn(map[int8]int16(nil), (encFnInfo).fastpathEncMapInt8Int16R, (decFnInfo).fastpathDecMapInt8Int16R)
  254. fn(map[int8]int32(nil), (encFnInfo).fastpathEncMapInt8Int32R, (decFnInfo).fastpathDecMapInt8Int32R)
  255. fn(map[int8]int64(nil), (encFnInfo).fastpathEncMapInt8Int64R, (decFnInfo).fastpathDecMapInt8Int64R)
  256. fn(map[int8]float32(nil), (encFnInfo).fastpathEncMapInt8Float32R, (decFnInfo).fastpathDecMapInt8Float32R)
  257. fn(map[int8]float64(nil), (encFnInfo).fastpathEncMapInt8Float64R, (decFnInfo).fastpathDecMapInt8Float64R)
  258. fn(map[int8]bool(nil), (encFnInfo).fastpathEncMapInt8BoolR, (decFnInfo).fastpathDecMapInt8BoolR)
  259. fn(map[int16]interface{}(nil), (encFnInfo).fastpathEncMapInt16IntfR, (decFnInfo).fastpathDecMapInt16IntfR)
  260. fn(map[int16]string(nil), (encFnInfo).fastpathEncMapInt16StringR, (decFnInfo).fastpathDecMapInt16StringR)
  261. fn(map[int16]uint(nil), (encFnInfo).fastpathEncMapInt16UintR, (decFnInfo).fastpathDecMapInt16UintR)
  262. fn(map[int16]uint8(nil), (encFnInfo).fastpathEncMapInt16Uint8R, (decFnInfo).fastpathDecMapInt16Uint8R)
  263. fn(map[int16]uint16(nil), (encFnInfo).fastpathEncMapInt16Uint16R, (decFnInfo).fastpathDecMapInt16Uint16R)
  264. fn(map[int16]uint32(nil), (encFnInfo).fastpathEncMapInt16Uint32R, (decFnInfo).fastpathDecMapInt16Uint32R)
  265. fn(map[int16]uint64(nil), (encFnInfo).fastpathEncMapInt16Uint64R, (decFnInfo).fastpathDecMapInt16Uint64R)
  266. fn(map[int16]int(nil), (encFnInfo).fastpathEncMapInt16IntR, (decFnInfo).fastpathDecMapInt16IntR)
  267. fn(map[int16]int8(nil), (encFnInfo).fastpathEncMapInt16Int8R, (decFnInfo).fastpathDecMapInt16Int8R)
  268. fn(map[int16]int16(nil), (encFnInfo).fastpathEncMapInt16Int16R, (decFnInfo).fastpathDecMapInt16Int16R)
  269. fn(map[int16]int32(nil), (encFnInfo).fastpathEncMapInt16Int32R, (decFnInfo).fastpathDecMapInt16Int32R)
  270. fn(map[int16]int64(nil), (encFnInfo).fastpathEncMapInt16Int64R, (decFnInfo).fastpathDecMapInt16Int64R)
  271. fn(map[int16]float32(nil), (encFnInfo).fastpathEncMapInt16Float32R, (decFnInfo).fastpathDecMapInt16Float32R)
  272. fn(map[int16]float64(nil), (encFnInfo).fastpathEncMapInt16Float64R, (decFnInfo).fastpathDecMapInt16Float64R)
  273. fn(map[int16]bool(nil), (encFnInfo).fastpathEncMapInt16BoolR, (decFnInfo).fastpathDecMapInt16BoolR)
  274. fn(map[int32]interface{}(nil), (encFnInfo).fastpathEncMapInt32IntfR, (decFnInfo).fastpathDecMapInt32IntfR)
  275. fn(map[int32]string(nil), (encFnInfo).fastpathEncMapInt32StringR, (decFnInfo).fastpathDecMapInt32StringR)
  276. fn(map[int32]uint(nil), (encFnInfo).fastpathEncMapInt32UintR, (decFnInfo).fastpathDecMapInt32UintR)
  277. fn(map[int32]uint8(nil), (encFnInfo).fastpathEncMapInt32Uint8R, (decFnInfo).fastpathDecMapInt32Uint8R)
  278. fn(map[int32]uint16(nil), (encFnInfo).fastpathEncMapInt32Uint16R, (decFnInfo).fastpathDecMapInt32Uint16R)
  279. fn(map[int32]uint32(nil), (encFnInfo).fastpathEncMapInt32Uint32R, (decFnInfo).fastpathDecMapInt32Uint32R)
  280. fn(map[int32]uint64(nil), (encFnInfo).fastpathEncMapInt32Uint64R, (decFnInfo).fastpathDecMapInt32Uint64R)
  281. fn(map[int32]int(nil), (encFnInfo).fastpathEncMapInt32IntR, (decFnInfo).fastpathDecMapInt32IntR)
  282. fn(map[int32]int8(nil), (encFnInfo).fastpathEncMapInt32Int8R, (decFnInfo).fastpathDecMapInt32Int8R)
  283. fn(map[int32]int16(nil), (encFnInfo).fastpathEncMapInt32Int16R, (decFnInfo).fastpathDecMapInt32Int16R)
  284. fn(map[int32]int32(nil), (encFnInfo).fastpathEncMapInt32Int32R, (decFnInfo).fastpathDecMapInt32Int32R)
  285. fn(map[int32]int64(nil), (encFnInfo).fastpathEncMapInt32Int64R, (decFnInfo).fastpathDecMapInt32Int64R)
  286. fn(map[int32]float32(nil), (encFnInfo).fastpathEncMapInt32Float32R, (decFnInfo).fastpathDecMapInt32Float32R)
  287. fn(map[int32]float64(nil), (encFnInfo).fastpathEncMapInt32Float64R, (decFnInfo).fastpathDecMapInt32Float64R)
  288. fn(map[int32]bool(nil), (encFnInfo).fastpathEncMapInt32BoolR, (decFnInfo).fastpathDecMapInt32BoolR)
  289. fn(map[int64]interface{}(nil), (encFnInfo).fastpathEncMapInt64IntfR, (decFnInfo).fastpathDecMapInt64IntfR)
  290. fn(map[int64]string(nil), (encFnInfo).fastpathEncMapInt64StringR, (decFnInfo).fastpathDecMapInt64StringR)
  291. fn(map[int64]uint(nil), (encFnInfo).fastpathEncMapInt64UintR, (decFnInfo).fastpathDecMapInt64UintR)
  292. fn(map[int64]uint8(nil), (encFnInfo).fastpathEncMapInt64Uint8R, (decFnInfo).fastpathDecMapInt64Uint8R)
  293. fn(map[int64]uint16(nil), (encFnInfo).fastpathEncMapInt64Uint16R, (decFnInfo).fastpathDecMapInt64Uint16R)
  294. fn(map[int64]uint32(nil), (encFnInfo).fastpathEncMapInt64Uint32R, (decFnInfo).fastpathDecMapInt64Uint32R)
  295. fn(map[int64]uint64(nil), (encFnInfo).fastpathEncMapInt64Uint64R, (decFnInfo).fastpathDecMapInt64Uint64R)
  296. fn(map[int64]int(nil), (encFnInfo).fastpathEncMapInt64IntR, (decFnInfo).fastpathDecMapInt64IntR)
  297. fn(map[int64]int8(nil), (encFnInfo).fastpathEncMapInt64Int8R, (decFnInfo).fastpathDecMapInt64Int8R)
  298. fn(map[int64]int16(nil), (encFnInfo).fastpathEncMapInt64Int16R, (decFnInfo).fastpathDecMapInt64Int16R)
  299. fn(map[int64]int32(nil), (encFnInfo).fastpathEncMapInt64Int32R, (decFnInfo).fastpathDecMapInt64Int32R)
  300. fn(map[int64]int64(nil), (encFnInfo).fastpathEncMapInt64Int64R, (decFnInfo).fastpathDecMapInt64Int64R)
  301. fn(map[int64]float32(nil), (encFnInfo).fastpathEncMapInt64Float32R, (decFnInfo).fastpathDecMapInt64Float32R)
  302. fn(map[int64]float64(nil), (encFnInfo).fastpathEncMapInt64Float64R, (decFnInfo).fastpathDecMapInt64Float64R)
  303. fn(map[int64]bool(nil), (encFnInfo).fastpathEncMapInt64BoolR, (decFnInfo).fastpathDecMapInt64BoolR)
  304. fn(map[bool]interface{}(nil), (encFnInfo).fastpathEncMapBoolIntfR, (decFnInfo).fastpathDecMapBoolIntfR)
  305. fn(map[bool]string(nil), (encFnInfo).fastpathEncMapBoolStringR, (decFnInfo).fastpathDecMapBoolStringR)
  306. fn(map[bool]uint(nil), (encFnInfo).fastpathEncMapBoolUintR, (decFnInfo).fastpathDecMapBoolUintR)
  307. fn(map[bool]uint8(nil), (encFnInfo).fastpathEncMapBoolUint8R, (decFnInfo).fastpathDecMapBoolUint8R)
  308. fn(map[bool]uint16(nil), (encFnInfo).fastpathEncMapBoolUint16R, (decFnInfo).fastpathDecMapBoolUint16R)
  309. fn(map[bool]uint32(nil), (encFnInfo).fastpathEncMapBoolUint32R, (decFnInfo).fastpathDecMapBoolUint32R)
  310. fn(map[bool]uint64(nil), (encFnInfo).fastpathEncMapBoolUint64R, (decFnInfo).fastpathDecMapBoolUint64R)
  311. fn(map[bool]int(nil), (encFnInfo).fastpathEncMapBoolIntR, (decFnInfo).fastpathDecMapBoolIntR)
  312. fn(map[bool]int8(nil), (encFnInfo).fastpathEncMapBoolInt8R, (decFnInfo).fastpathDecMapBoolInt8R)
  313. fn(map[bool]int16(nil), (encFnInfo).fastpathEncMapBoolInt16R, (decFnInfo).fastpathDecMapBoolInt16R)
  314. fn(map[bool]int32(nil), (encFnInfo).fastpathEncMapBoolInt32R, (decFnInfo).fastpathDecMapBoolInt32R)
  315. fn(map[bool]int64(nil), (encFnInfo).fastpathEncMapBoolInt64R, (decFnInfo).fastpathDecMapBoolInt64R)
  316. fn(map[bool]float32(nil), (encFnInfo).fastpathEncMapBoolFloat32R, (decFnInfo).fastpathDecMapBoolFloat32R)
  317. fn(map[bool]float64(nil), (encFnInfo).fastpathEncMapBoolFloat64R, (decFnInfo).fastpathDecMapBoolFloat64R)
  318. fn(map[bool]bool(nil), (encFnInfo).fastpathEncMapBoolBoolR, (decFnInfo).fastpathDecMapBoolBoolR)
  319. sort.Sort(fastpathAslice(fastpathAV[:]))
  320. }
  321. // -- encode
  322. // -- -- fast path type switch
  323. func fastpathEncodeTypeSwitch(iv interface{}, e *Encoder) bool {
  324. switch v := iv.(type) {
  325. case []interface{}:
  326. fastpathTV.EncSliceIntfV(v, fastpathCheckNilTrue, e)
  327. case *[]interface{}:
  328. fastpathTV.EncSliceIntfV(*v, fastpathCheckNilTrue, e)
  329. case map[interface{}]interface{}:
  330. fastpathTV.EncMapIntfIntfV(v, fastpathCheckNilTrue, e)
  331. case *map[interface{}]interface{}:
  332. fastpathTV.EncMapIntfIntfV(*v, fastpathCheckNilTrue, e)
  333. case map[interface{}]string:
  334. fastpathTV.EncMapIntfStringV(v, fastpathCheckNilTrue, e)
  335. case *map[interface{}]string:
  336. fastpathTV.EncMapIntfStringV(*v, fastpathCheckNilTrue, e)
  337. case map[interface{}]uint:
  338. fastpathTV.EncMapIntfUintV(v, fastpathCheckNilTrue, e)
  339. case *map[interface{}]uint:
  340. fastpathTV.EncMapIntfUintV(*v, fastpathCheckNilTrue, e)
  341. case map[interface{}]uint8:
  342. fastpathTV.EncMapIntfUint8V(v, fastpathCheckNilTrue, e)
  343. case *map[interface{}]uint8:
  344. fastpathTV.EncMapIntfUint8V(*v, fastpathCheckNilTrue, e)
  345. case map[interface{}]uint16:
  346. fastpathTV.EncMapIntfUint16V(v, fastpathCheckNilTrue, e)
  347. case *map[interface{}]uint16:
  348. fastpathTV.EncMapIntfUint16V(*v, fastpathCheckNilTrue, e)
  349. case map[interface{}]uint32:
  350. fastpathTV.EncMapIntfUint32V(v, fastpathCheckNilTrue, e)
  351. case *map[interface{}]uint32:
  352. fastpathTV.EncMapIntfUint32V(*v, fastpathCheckNilTrue, e)
  353. case map[interface{}]uint64:
  354. fastpathTV.EncMapIntfUint64V(v, fastpathCheckNilTrue, e)
  355. case *map[interface{}]uint64:
  356. fastpathTV.EncMapIntfUint64V(*v, fastpathCheckNilTrue, e)
  357. case map[interface{}]int:
  358. fastpathTV.EncMapIntfIntV(v, fastpathCheckNilTrue, e)
  359. case *map[interface{}]int:
  360. fastpathTV.EncMapIntfIntV(*v, fastpathCheckNilTrue, e)
  361. case map[interface{}]int8:
  362. fastpathTV.EncMapIntfInt8V(v, fastpathCheckNilTrue, e)
  363. case *map[interface{}]int8:
  364. fastpathTV.EncMapIntfInt8V(*v, fastpathCheckNilTrue, e)
  365. case map[interface{}]int16:
  366. fastpathTV.EncMapIntfInt16V(v, fastpathCheckNilTrue, e)
  367. case *map[interface{}]int16:
  368. fastpathTV.EncMapIntfInt16V(*v, fastpathCheckNilTrue, e)
  369. case map[interface{}]int32:
  370. fastpathTV.EncMapIntfInt32V(v, fastpathCheckNilTrue, e)
  371. case *map[interface{}]int32:
  372. fastpathTV.EncMapIntfInt32V(*v, fastpathCheckNilTrue, e)
  373. case map[interface{}]int64:
  374. fastpathTV.EncMapIntfInt64V(v, fastpathCheckNilTrue, e)
  375. case *map[interface{}]int64:
  376. fastpathTV.EncMapIntfInt64V(*v, fastpathCheckNilTrue, e)
  377. case map[interface{}]float32:
  378. fastpathTV.EncMapIntfFloat32V(v, fastpathCheckNilTrue, e)
  379. case *map[interface{}]float32:
  380. fastpathTV.EncMapIntfFloat32V(*v, fastpathCheckNilTrue, e)
  381. case map[interface{}]float64:
  382. fastpathTV.EncMapIntfFloat64V(v, fastpathCheckNilTrue, e)
  383. case *map[interface{}]float64:
  384. fastpathTV.EncMapIntfFloat64V(*v, fastpathCheckNilTrue, e)
  385. case map[interface{}]bool:
  386. fastpathTV.EncMapIntfBoolV(v, fastpathCheckNilTrue, e)
  387. case *map[interface{}]bool:
  388. fastpathTV.EncMapIntfBoolV(*v, fastpathCheckNilTrue, e)
  389. case []string:
  390. fastpathTV.EncSliceStringV(v, fastpathCheckNilTrue, e)
  391. case *[]string:
  392. fastpathTV.EncSliceStringV(*v, fastpathCheckNilTrue, e)
  393. case map[string]interface{}:
  394. fastpathTV.EncMapStringIntfV(v, fastpathCheckNilTrue, e)
  395. case *map[string]interface{}:
  396. fastpathTV.EncMapStringIntfV(*v, fastpathCheckNilTrue, e)
  397. case map[string]string:
  398. fastpathTV.EncMapStringStringV(v, fastpathCheckNilTrue, e)
  399. case *map[string]string:
  400. fastpathTV.EncMapStringStringV(*v, fastpathCheckNilTrue, e)
  401. case map[string]uint:
  402. fastpathTV.EncMapStringUintV(v, fastpathCheckNilTrue, e)
  403. case *map[string]uint:
  404. fastpathTV.EncMapStringUintV(*v, fastpathCheckNilTrue, e)
  405. case map[string]uint8:
  406. fastpathTV.EncMapStringUint8V(v, fastpathCheckNilTrue, e)
  407. case *map[string]uint8:
  408. fastpathTV.EncMapStringUint8V(*v, fastpathCheckNilTrue, e)
  409. case map[string]uint16:
  410. fastpathTV.EncMapStringUint16V(v, fastpathCheckNilTrue, e)
  411. case *map[string]uint16:
  412. fastpathTV.EncMapStringUint16V(*v, fastpathCheckNilTrue, e)
  413. case map[string]uint32:
  414. fastpathTV.EncMapStringUint32V(v, fastpathCheckNilTrue, e)
  415. case *map[string]uint32:
  416. fastpathTV.EncMapStringUint32V(*v, fastpathCheckNilTrue, e)
  417. case map[string]uint64:
  418. fastpathTV.EncMapStringUint64V(v, fastpathCheckNilTrue, e)
  419. case *map[string]uint64:
  420. fastpathTV.EncMapStringUint64V(*v, fastpathCheckNilTrue, e)
  421. case map[string]int:
  422. fastpathTV.EncMapStringIntV(v, fastpathCheckNilTrue, e)
  423. case *map[string]int:
  424. fastpathTV.EncMapStringIntV(*v, fastpathCheckNilTrue, e)
  425. case map[string]int8:
  426. fastpathTV.EncMapStringInt8V(v, fastpathCheckNilTrue, e)
  427. case *map[string]int8:
  428. fastpathTV.EncMapStringInt8V(*v, fastpathCheckNilTrue, e)
  429. case map[string]int16:
  430. fastpathTV.EncMapStringInt16V(v, fastpathCheckNilTrue, e)
  431. case *map[string]int16:
  432. fastpathTV.EncMapStringInt16V(*v, fastpathCheckNilTrue, e)
  433. case map[string]int32:
  434. fastpathTV.EncMapStringInt32V(v, fastpathCheckNilTrue, e)
  435. case *map[string]int32:
  436. fastpathTV.EncMapStringInt32V(*v, fastpathCheckNilTrue, e)
  437. case map[string]int64:
  438. fastpathTV.EncMapStringInt64V(v, fastpathCheckNilTrue, e)
  439. case *map[string]int64:
  440. fastpathTV.EncMapStringInt64V(*v, fastpathCheckNilTrue, e)
  441. case map[string]float32:
  442. fastpathTV.EncMapStringFloat32V(v, fastpathCheckNilTrue, e)
  443. case *map[string]float32:
  444. fastpathTV.EncMapStringFloat32V(*v, fastpathCheckNilTrue, e)
  445. case map[string]float64:
  446. fastpathTV.EncMapStringFloat64V(v, fastpathCheckNilTrue, e)
  447. case *map[string]float64:
  448. fastpathTV.EncMapStringFloat64V(*v, fastpathCheckNilTrue, e)
  449. case map[string]bool:
  450. fastpathTV.EncMapStringBoolV(v, fastpathCheckNilTrue, e)
  451. case *map[string]bool:
  452. fastpathTV.EncMapStringBoolV(*v, fastpathCheckNilTrue, e)
  453. case []float32:
  454. fastpathTV.EncSliceFloat32V(v, fastpathCheckNilTrue, e)
  455. case *[]float32:
  456. fastpathTV.EncSliceFloat32V(*v, fastpathCheckNilTrue, e)
  457. case map[float32]interface{}:
  458. fastpathTV.EncMapFloat32IntfV(v, fastpathCheckNilTrue, e)
  459. case *map[float32]interface{}:
  460. fastpathTV.EncMapFloat32IntfV(*v, fastpathCheckNilTrue, e)
  461. case map[float32]string:
  462. fastpathTV.EncMapFloat32StringV(v, fastpathCheckNilTrue, e)
  463. case *map[float32]string:
  464. fastpathTV.EncMapFloat32StringV(*v, fastpathCheckNilTrue, e)
  465. case map[float32]uint:
  466. fastpathTV.EncMapFloat32UintV(v, fastpathCheckNilTrue, e)
  467. case *map[float32]uint:
  468. fastpathTV.EncMapFloat32UintV(*v, fastpathCheckNilTrue, e)
  469. case map[float32]uint8:
  470. fastpathTV.EncMapFloat32Uint8V(v, fastpathCheckNilTrue, e)
  471. case *map[float32]uint8:
  472. fastpathTV.EncMapFloat32Uint8V(*v, fastpathCheckNilTrue, e)
  473. case map[float32]uint16:
  474. fastpathTV.EncMapFloat32Uint16V(v, fastpathCheckNilTrue, e)
  475. case *map[float32]uint16:
  476. fastpathTV.EncMapFloat32Uint16V(*v, fastpathCheckNilTrue, e)
  477. case map[float32]uint32:
  478. fastpathTV.EncMapFloat32Uint32V(v, fastpathCheckNilTrue, e)
  479. case *map[float32]uint32:
  480. fastpathTV.EncMapFloat32Uint32V(*v, fastpathCheckNilTrue, e)
  481. case map[float32]uint64:
  482. fastpathTV.EncMapFloat32Uint64V(v, fastpathCheckNilTrue, e)
  483. case *map[float32]uint64:
  484. fastpathTV.EncMapFloat32Uint64V(*v, fastpathCheckNilTrue, e)
  485. case map[float32]int:
  486. fastpathTV.EncMapFloat32IntV(v, fastpathCheckNilTrue, e)
  487. case *map[float32]int:
  488. fastpathTV.EncMapFloat32IntV(*v, fastpathCheckNilTrue, e)
  489. case map[float32]int8:
  490. fastpathTV.EncMapFloat32Int8V(v, fastpathCheckNilTrue, e)
  491. case *map[float32]int8:
  492. fastpathTV.EncMapFloat32Int8V(*v, fastpathCheckNilTrue, e)
  493. case map[float32]int16:
  494. fastpathTV.EncMapFloat32Int16V(v, fastpathCheckNilTrue, e)
  495. case *map[float32]int16:
  496. fastpathTV.EncMapFloat32Int16V(*v, fastpathCheckNilTrue, e)
  497. case map[float32]int32:
  498. fastpathTV.EncMapFloat32Int32V(v, fastpathCheckNilTrue, e)
  499. case *map[float32]int32:
  500. fastpathTV.EncMapFloat32Int32V(*v, fastpathCheckNilTrue, e)
  501. case map[float32]int64:
  502. fastpathTV.EncMapFloat32Int64V(v, fastpathCheckNilTrue, e)
  503. case *map[float32]int64:
  504. fastpathTV.EncMapFloat32Int64V(*v, fastpathCheckNilTrue, e)
  505. case map[float32]float32:
  506. fastpathTV.EncMapFloat32Float32V(v, fastpathCheckNilTrue, e)
  507. case *map[float32]float32:
  508. fastpathTV.EncMapFloat32Float32V(*v, fastpathCheckNilTrue, e)
  509. case map[float32]float64:
  510. fastpathTV.EncMapFloat32Float64V(v, fastpathCheckNilTrue, e)
  511. case *map[float32]float64:
  512. fastpathTV.EncMapFloat32Float64V(*v, fastpathCheckNilTrue, e)
  513. case map[float32]bool:
  514. fastpathTV.EncMapFloat32BoolV(v, fastpathCheckNilTrue, e)
  515. case *map[float32]bool:
  516. fastpathTV.EncMapFloat32BoolV(*v, fastpathCheckNilTrue, e)
  517. case []float64:
  518. fastpathTV.EncSliceFloat64V(v, fastpathCheckNilTrue, e)
  519. case *[]float64:
  520. fastpathTV.EncSliceFloat64V(*v, fastpathCheckNilTrue, e)
  521. case map[float64]interface{}:
  522. fastpathTV.EncMapFloat64IntfV(v, fastpathCheckNilTrue, e)
  523. case *map[float64]interface{}:
  524. fastpathTV.EncMapFloat64IntfV(*v, fastpathCheckNilTrue, e)
  525. case map[float64]string:
  526. fastpathTV.EncMapFloat64StringV(v, fastpathCheckNilTrue, e)
  527. case *map[float64]string:
  528. fastpathTV.EncMapFloat64StringV(*v, fastpathCheckNilTrue, e)
  529. case map[float64]uint:
  530. fastpathTV.EncMapFloat64UintV(v, fastpathCheckNilTrue, e)
  531. case *map[float64]uint:
  532. fastpathTV.EncMapFloat64UintV(*v, fastpathCheckNilTrue, e)
  533. case map[float64]uint8:
  534. fastpathTV.EncMapFloat64Uint8V(v, fastpathCheckNilTrue, e)
  535. case *map[float64]uint8:
  536. fastpathTV.EncMapFloat64Uint8V(*v, fastpathCheckNilTrue, e)
  537. case map[float64]uint16:
  538. fastpathTV.EncMapFloat64Uint16V(v, fastpathCheckNilTrue, e)
  539. case *map[float64]uint16:
  540. fastpathTV.EncMapFloat64Uint16V(*v, fastpathCheckNilTrue, e)
  541. case map[float64]uint32:
  542. fastpathTV.EncMapFloat64Uint32V(v, fastpathCheckNilTrue, e)
  543. case *map[float64]uint32:
  544. fastpathTV.EncMapFloat64Uint32V(*v, fastpathCheckNilTrue, e)
  545. case map[float64]uint64:
  546. fastpathTV.EncMapFloat64Uint64V(v, fastpathCheckNilTrue, e)
  547. case *map[float64]uint64:
  548. fastpathTV.EncMapFloat64Uint64V(*v, fastpathCheckNilTrue, e)
  549. case map[float64]int:
  550. fastpathTV.EncMapFloat64IntV(v, fastpathCheckNilTrue, e)
  551. case *map[float64]int:
  552. fastpathTV.EncMapFloat64IntV(*v, fastpathCheckNilTrue, e)
  553. case map[float64]int8:
  554. fastpathTV.EncMapFloat64Int8V(v, fastpathCheckNilTrue, e)
  555. case *map[float64]int8:
  556. fastpathTV.EncMapFloat64Int8V(*v, fastpathCheckNilTrue, e)
  557. case map[float64]int16:
  558. fastpathTV.EncMapFloat64Int16V(v, fastpathCheckNilTrue, e)
  559. case *map[float64]int16:
  560. fastpathTV.EncMapFloat64Int16V(*v, fastpathCheckNilTrue, e)
  561. case map[float64]int32:
  562. fastpathTV.EncMapFloat64Int32V(v, fastpathCheckNilTrue, e)
  563. case *map[float64]int32:
  564. fastpathTV.EncMapFloat64Int32V(*v, fastpathCheckNilTrue, e)
  565. case map[float64]int64:
  566. fastpathTV.EncMapFloat64Int64V(v, fastpathCheckNilTrue, e)
  567. case *map[float64]int64:
  568. fastpathTV.EncMapFloat64Int64V(*v, fastpathCheckNilTrue, e)
  569. case map[float64]float32:
  570. fastpathTV.EncMapFloat64Float32V(v, fastpathCheckNilTrue, e)
  571. case *map[float64]float32:
  572. fastpathTV.EncMapFloat64Float32V(*v, fastpathCheckNilTrue, e)
  573. case map[float64]float64:
  574. fastpathTV.EncMapFloat64Float64V(v, fastpathCheckNilTrue, e)
  575. case *map[float64]float64:
  576. fastpathTV.EncMapFloat64Float64V(*v, fastpathCheckNilTrue, e)
  577. case map[float64]bool:
  578. fastpathTV.EncMapFloat64BoolV(v, fastpathCheckNilTrue, e)
  579. case *map[float64]bool:
  580. fastpathTV.EncMapFloat64BoolV(*v, fastpathCheckNilTrue, e)
  581. case []uint:
  582. fastpathTV.EncSliceUintV(v, fastpathCheckNilTrue, e)
  583. case *[]uint:
  584. fastpathTV.EncSliceUintV(*v, fastpathCheckNilTrue, e)
  585. case map[uint]interface{}:
  586. fastpathTV.EncMapUintIntfV(v, fastpathCheckNilTrue, e)
  587. case *map[uint]interface{}:
  588. fastpathTV.EncMapUintIntfV(*v, fastpathCheckNilTrue, e)
  589. case map[uint]string:
  590. fastpathTV.EncMapUintStringV(v, fastpathCheckNilTrue, e)
  591. case *map[uint]string:
  592. fastpathTV.EncMapUintStringV(*v, fastpathCheckNilTrue, e)
  593. case map[uint]uint:
  594. fastpathTV.EncMapUintUintV(v, fastpathCheckNilTrue, e)
  595. case *map[uint]uint:
  596. fastpathTV.EncMapUintUintV(*v, fastpathCheckNilTrue, e)
  597. case map[uint]uint8:
  598. fastpathTV.EncMapUintUint8V(v, fastpathCheckNilTrue, e)
  599. case *map[uint]uint8:
  600. fastpathTV.EncMapUintUint8V(*v, fastpathCheckNilTrue, e)
  601. case map[uint]uint16:
  602. fastpathTV.EncMapUintUint16V(v, fastpathCheckNilTrue, e)
  603. case *map[uint]uint16:
  604. fastpathTV.EncMapUintUint16V(*v, fastpathCheckNilTrue, e)
  605. case map[uint]uint32:
  606. fastpathTV.EncMapUintUint32V(v, fastpathCheckNilTrue, e)
  607. case *map[uint]uint32:
  608. fastpathTV.EncMapUintUint32V(*v, fastpathCheckNilTrue, e)
  609. case map[uint]uint64:
  610. fastpathTV.EncMapUintUint64V(v, fastpathCheckNilTrue, e)
  611. case *map[uint]uint64:
  612. fastpathTV.EncMapUintUint64V(*v, fastpathCheckNilTrue, e)
  613. case map[uint]int:
  614. fastpathTV.EncMapUintIntV(v, fastpathCheckNilTrue, e)
  615. case *map[uint]int:
  616. fastpathTV.EncMapUintIntV(*v, fastpathCheckNilTrue, e)
  617. case map[uint]int8:
  618. fastpathTV.EncMapUintInt8V(v, fastpathCheckNilTrue, e)
  619. case *map[uint]int8:
  620. fastpathTV.EncMapUintInt8V(*v, fastpathCheckNilTrue, e)
  621. case map[uint]int16:
  622. fastpathTV.EncMapUintInt16V(v, fastpathCheckNilTrue, e)
  623. case *map[uint]int16:
  624. fastpathTV.EncMapUintInt16V(*v, fastpathCheckNilTrue, e)
  625. case map[uint]int32:
  626. fastpathTV.EncMapUintInt32V(v, fastpathCheckNilTrue, e)
  627. case *map[uint]int32:
  628. fastpathTV.EncMapUintInt32V(*v, fastpathCheckNilTrue, e)
  629. case map[uint]int64:
  630. fastpathTV.EncMapUintInt64V(v, fastpathCheckNilTrue, e)
  631. case *map[uint]int64:
  632. fastpathTV.EncMapUintInt64V(*v, fastpathCheckNilTrue, e)
  633. case map[uint]float32:
  634. fastpathTV.EncMapUintFloat32V(v, fastpathCheckNilTrue, e)
  635. case *map[uint]float32:
  636. fastpathTV.EncMapUintFloat32V(*v, fastpathCheckNilTrue, e)
  637. case map[uint]float64:
  638. fastpathTV.EncMapUintFloat64V(v, fastpathCheckNilTrue, e)
  639. case *map[uint]float64:
  640. fastpathTV.EncMapUintFloat64V(*v, fastpathCheckNilTrue, e)
  641. case map[uint]bool:
  642. fastpathTV.EncMapUintBoolV(v, fastpathCheckNilTrue, e)
  643. case *map[uint]bool:
  644. fastpathTV.EncMapUintBoolV(*v, fastpathCheckNilTrue, e)
  645. case map[uint8]interface{}:
  646. fastpathTV.EncMapUint8IntfV(v, fastpathCheckNilTrue, e)
  647. case *map[uint8]interface{}:
  648. fastpathTV.EncMapUint8IntfV(*v, fastpathCheckNilTrue, e)
  649. case map[uint8]string:
  650. fastpathTV.EncMapUint8StringV(v, fastpathCheckNilTrue, e)
  651. case *map[uint8]string:
  652. fastpathTV.EncMapUint8StringV(*v, fastpathCheckNilTrue, e)
  653. case map[uint8]uint:
  654. fastpathTV.EncMapUint8UintV(v, fastpathCheckNilTrue, e)
  655. case *map[uint8]uint:
  656. fastpathTV.EncMapUint8UintV(*v, fastpathCheckNilTrue, e)
  657. case map[uint8]uint8:
  658. fastpathTV.EncMapUint8Uint8V(v, fastpathCheckNilTrue, e)
  659. case *map[uint8]uint8:
  660. fastpathTV.EncMapUint8Uint8V(*v, fastpathCheckNilTrue, e)
  661. case map[uint8]uint16:
  662. fastpathTV.EncMapUint8Uint16V(v, fastpathCheckNilTrue, e)
  663. case *map[uint8]uint16:
  664. fastpathTV.EncMapUint8Uint16V(*v, fastpathCheckNilTrue, e)
  665. case map[uint8]uint32:
  666. fastpathTV.EncMapUint8Uint32V(v, fastpathCheckNilTrue, e)
  667. case *map[uint8]uint32:
  668. fastpathTV.EncMapUint8Uint32V(*v, fastpathCheckNilTrue, e)
  669. case map[uint8]uint64:
  670. fastpathTV.EncMapUint8Uint64V(v, fastpathCheckNilTrue, e)
  671. case *map[uint8]uint64:
  672. fastpathTV.EncMapUint8Uint64V(*v, fastpathCheckNilTrue, e)
  673. case map[uint8]int:
  674. fastpathTV.EncMapUint8IntV(v, fastpathCheckNilTrue, e)
  675. case *map[uint8]int:
  676. fastpathTV.EncMapUint8IntV(*v, fastpathCheckNilTrue, e)
  677. case map[uint8]int8:
  678. fastpathTV.EncMapUint8Int8V(v, fastpathCheckNilTrue, e)
  679. case *map[uint8]int8:
  680. fastpathTV.EncMapUint8Int8V(*v, fastpathCheckNilTrue, e)
  681. case map[uint8]int16:
  682. fastpathTV.EncMapUint8Int16V(v, fastpathCheckNilTrue, e)
  683. case *map[uint8]int16:
  684. fastpathTV.EncMapUint8Int16V(*v, fastpathCheckNilTrue, e)
  685. case map[uint8]int32:
  686. fastpathTV.EncMapUint8Int32V(v, fastpathCheckNilTrue, e)
  687. case *map[uint8]int32:
  688. fastpathTV.EncMapUint8Int32V(*v, fastpathCheckNilTrue, e)
  689. case map[uint8]int64:
  690. fastpathTV.EncMapUint8Int64V(v, fastpathCheckNilTrue, e)
  691. case *map[uint8]int64:
  692. fastpathTV.EncMapUint8Int64V(*v, fastpathCheckNilTrue, e)
  693. case map[uint8]float32:
  694. fastpathTV.EncMapUint8Float32V(v, fastpathCheckNilTrue, e)
  695. case *map[uint8]float32:
  696. fastpathTV.EncMapUint8Float32V(*v, fastpathCheckNilTrue, e)
  697. case map[uint8]float64:
  698. fastpathTV.EncMapUint8Float64V(v, fastpathCheckNilTrue, e)
  699. case *map[uint8]float64:
  700. fastpathTV.EncMapUint8Float64V(*v, fastpathCheckNilTrue, e)
  701. case map[uint8]bool:
  702. fastpathTV.EncMapUint8BoolV(v, fastpathCheckNilTrue, e)
  703. case *map[uint8]bool:
  704. fastpathTV.EncMapUint8BoolV(*v, fastpathCheckNilTrue, e)
  705. case []uint16:
  706. fastpathTV.EncSliceUint16V(v, fastpathCheckNilTrue, e)
  707. case *[]uint16:
  708. fastpathTV.EncSliceUint16V(*v, fastpathCheckNilTrue, e)
  709. case map[uint16]interface{}:
  710. fastpathTV.EncMapUint16IntfV(v, fastpathCheckNilTrue, e)
  711. case *map[uint16]interface{}:
  712. fastpathTV.EncMapUint16IntfV(*v, fastpathCheckNilTrue, e)
  713. case map[uint16]string:
  714. fastpathTV.EncMapUint16StringV(v, fastpathCheckNilTrue, e)
  715. case *map[uint16]string:
  716. fastpathTV.EncMapUint16StringV(*v, fastpathCheckNilTrue, e)
  717. case map[uint16]uint:
  718. fastpathTV.EncMapUint16UintV(v, fastpathCheckNilTrue, e)
  719. case *map[uint16]uint:
  720. fastpathTV.EncMapUint16UintV(*v, fastpathCheckNilTrue, e)
  721. case map[uint16]uint8:
  722. fastpathTV.EncMapUint16Uint8V(v, fastpathCheckNilTrue, e)
  723. case *map[uint16]uint8:
  724. fastpathTV.EncMapUint16Uint8V(*v, fastpathCheckNilTrue, e)
  725. case map[uint16]uint16:
  726. fastpathTV.EncMapUint16Uint16V(v, fastpathCheckNilTrue, e)
  727. case *map[uint16]uint16:
  728. fastpathTV.EncMapUint16Uint16V(*v, fastpathCheckNilTrue, e)
  729. case map[uint16]uint32:
  730. fastpathTV.EncMapUint16Uint32V(v, fastpathCheckNilTrue, e)
  731. case *map[uint16]uint32:
  732. fastpathTV.EncMapUint16Uint32V(*v, fastpathCheckNilTrue, e)
  733. case map[uint16]uint64:
  734. fastpathTV.EncMapUint16Uint64V(v, fastpathCheckNilTrue, e)
  735. case *map[uint16]uint64:
  736. fastpathTV.EncMapUint16Uint64V(*v, fastpathCheckNilTrue, e)
  737. case map[uint16]int:
  738. fastpathTV.EncMapUint16IntV(v, fastpathCheckNilTrue, e)
  739. case *map[uint16]int:
  740. fastpathTV.EncMapUint16IntV(*v, fastpathCheckNilTrue, e)
  741. case map[uint16]int8:
  742. fastpathTV.EncMapUint16Int8V(v, fastpathCheckNilTrue, e)
  743. case *map[uint16]int8:
  744. fastpathTV.EncMapUint16Int8V(*v, fastpathCheckNilTrue, e)
  745. case map[uint16]int16:
  746. fastpathTV.EncMapUint16Int16V(v, fastpathCheckNilTrue, e)
  747. case *map[uint16]int16:
  748. fastpathTV.EncMapUint16Int16V(*v, fastpathCheckNilTrue, e)
  749. case map[uint16]int32:
  750. fastpathTV.EncMapUint16Int32V(v, fastpathCheckNilTrue, e)
  751. case *map[uint16]int32:
  752. fastpathTV.EncMapUint16Int32V(*v, fastpathCheckNilTrue, e)
  753. case map[uint16]int64:
  754. fastpathTV.EncMapUint16Int64V(v, fastpathCheckNilTrue, e)
  755. case *map[uint16]int64:
  756. fastpathTV.EncMapUint16Int64V(*v, fastpathCheckNilTrue, e)
  757. case map[uint16]float32:
  758. fastpathTV.EncMapUint16Float32V(v, fastpathCheckNilTrue, e)
  759. case *map[uint16]float32:
  760. fastpathTV.EncMapUint16Float32V(*v, fastpathCheckNilTrue, e)
  761. case map[uint16]float64:
  762. fastpathTV.EncMapUint16Float64V(v, fastpathCheckNilTrue, e)
  763. case *map[uint16]float64:
  764. fastpathTV.EncMapUint16Float64V(*v, fastpathCheckNilTrue, e)
  765. case map[uint16]bool:
  766. fastpathTV.EncMapUint16BoolV(v, fastpathCheckNilTrue, e)
  767. case *map[uint16]bool:
  768. fastpathTV.EncMapUint16BoolV(*v, fastpathCheckNilTrue, e)
  769. case []uint32:
  770. fastpathTV.EncSliceUint32V(v, fastpathCheckNilTrue, e)
  771. case *[]uint32:
  772. fastpathTV.EncSliceUint32V(*v, fastpathCheckNilTrue, e)
  773. case map[uint32]interface{}:
  774. fastpathTV.EncMapUint32IntfV(v, fastpathCheckNilTrue, e)
  775. case *map[uint32]interface{}:
  776. fastpathTV.EncMapUint32IntfV(*v, fastpathCheckNilTrue, e)
  777. case map[uint32]string:
  778. fastpathTV.EncMapUint32StringV(v, fastpathCheckNilTrue, e)
  779. case *map[uint32]string:
  780. fastpathTV.EncMapUint32StringV(*v, fastpathCheckNilTrue, e)
  781. case map[uint32]uint:
  782. fastpathTV.EncMapUint32UintV(v, fastpathCheckNilTrue, e)
  783. case *map[uint32]uint:
  784. fastpathTV.EncMapUint32UintV(*v, fastpathCheckNilTrue, e)
  785. case map[uint32]uint8:
  786. fastpathTV.EncMapUint32Uint8V(v, fastpathCheckNilTrue, e)
  787. case *map[uint32]uint8:
  788. fastpathTV.EncMapUint32Uint8V(*v, fastpathCheckNilTrue, e)
  789. case map[uint32]uint16:
  790. fastpathTV.EncMapUint32Uint16V(v, fastpathCheckNilTrue, e)
  791. case *map[uint32]uint16:
  792. fastpathTV.EncMapUint32Uint16V(*v, fastpathCheckNilTrue, e)
  793. case map[uint32]uint32:
  794. fastpathTV.EncMapUint32Uint32V(v, fastpathCheckNilTrue, e)
  795. case *map[uint32]uint32:
  796. fastpathTV.EncMapUint32Uint32V(*v, fastpathCheckNilTrue, e)
  797. case map[uint32]uint64:
  798. fastpathTV.EncMapUint32Uint64V(v, fastpathCheckNilTrue, e)
  799. case *map[uint32]uint64:
  800. fastpathTV.EncMapUint32Uint64V(*v, fastpathCheckNilTrue, e)
  801. case map[uint32]int:
  802. fastpathTV.EncMapUint32IntV(v, fastpathCheckNilTrue, e)
  803. case *map[uint32]int:
  804. fastpathTV.EncMapUint32IntV(*v, fastpathCheckNilTrue, e)
  805. case map[uint32]int8:
  806. fastpathTV.EncMapUint32Int8V(v, fastpathCheckNilTrue, e)
  807. case *map[uint32]int8:
  808. fastpathTV.EncMapUint32Int8V(*v, fastpathCheckNilTrue, e)
  809. case map[uint32]int16:
  810. fastpathTV.EncMapUint32Int16V(v, fastpathCheckNilTrue, e)
  811. case *map[uint32]int16:
  812. fastpathTV.EncMapUint32Int16V(*v, fastpathCheckNilTrue, e)
  813. case map[uint32]int32:
  814. fastpathTV.EncMapUint32Int32V(v, fastpathCheckNilTrue, e)
  815. case *map[uint32]int32:
  816. fastpathTV.EncMapUint32Int32V(*v, fastpathCheckNilTrue, e)
  817. case map[uint32]int64:
  818. fastpathTV.EncMapUint32Int64V(v, fastpathCheckNilTrue, e)
  819. case *map[uint32]int64:
  820. fastpathTV.EncMapUint32Int64V(*v, fastpathCheckNilTrue, e)
  821. case map[uint32]float32:
  822. fastpathTV.EncMapUint32Float32V(v, fastpathCheckNilTrue, e)
  823. case *map[uint32]float32:
  824. fastpathTV.EncMapUint32Float32V(*v, fastpathCheckNilTrue, e)
  825. case map[uint32]float64:
  826. fastpathTV.EncMapUint32Float64V(v, fastpathCheckNilTrue, e)
  827. case *map[uint32]float64:
  828. fastpathTV.EncMapUint32Float64V(*v, fastpathCheckNilTrue, e)
  829. case map[uint32]bool:
  830. fastpathTV.EncMapUint32BoolV(v, fastpathCheckNilTrue, e)
  831. case *map[uint32]bool:
  832. fastpathTV.EncMapUint32BoolV(*v, fastpathCheckNilTrue, e)
  833. case []uint64:
  834. fastpathTV.EncSliceUint64V(v, fastpathCheckNilTrue, e)
  835. case *[]uint64:
  836. fastpathTV.EncSliceUint64V(*v, fastpathCheckNilTrue, e)
  837. case map[uint64]interface{}:
  838. fastpathTV.EncMapUint64IntfV(v, fastpathCheckNilTrue, e)
  839. case *map[uint64]interface{}:
  840. fastpathTV.EncMapUint64IntfV(*v, fastpathCheckNilTrue, e)
  841. case map[uint64]string:
  842. fastpathTV.EncMapUint64StringV(v, fastpathCheckNilTrue, e)
  843. case *map[uint64]string:
  844. fastpathTV.EncMapUint64StringV(*v, fastpathCheckNilTrue, e)
  845. case map[uint64]uint:
  846. fastpathTV.EncMapUint64UintV(v, fastpathCheckNilTrue, e)
  847. case *map[uint64]uint:
  848. fastpathTV.EncMapUint64UintV(*v, fastpathCheckNilTrue, e)
  849. case map[uint64]uint8:
  850. fastpathTV.EncMapUint64Uint8V(v, fastpathCheckNilTrue, e)
  851. case *map[uint64]uint8:
  852. fastpathTV.EncMapUint64Uint8V(*v, fastpathCheckNilTrue, e)
  853. case map[uint64]uint16:
  854. fastpathTV.EncMapUint64Uint16V(v, fastpathCheckNilTrue, e)
  855. case *map[uint64]uint16:
  856. fastpathTV.EncMapUint64Uint16V(*v, fastpathCheckNilTrue, e)
  857. case map[uint64]uint32:
  858. fastpathTV.EncMapUint64Uint32V(v, fastpathCheckNilTrue, e)
  859. case *map[uint64]uint32:
  860. fastpathTV.EncMapUint64Uint32V(*v, fastpathCheckNilTrue, e)
  861. case map[uint64]uint64:
  862. fastpathTV.EncMapUint64Uint64V(v, fastpathCheckNilTrue, e)
  863. case *map[uint64]uint64:
  864. fastpathTV.EncMapUint64Uint64V(*v, fastpathCheckNilTrue, e)
  865. case map[uint64]int:
  866. fastpathTV.EncMapUint64IntV(v, fastpathCheckNilTrue, e)
  867. case *map[uint64]int:
  868. fastpathTV.EncMapUint64IntV(*v, fastpathCheckNilTrue, e)
  869. case map[uint64]int8:
  870. fastpathTV.EncMapUint64Int8V(v, fastpathCheckNilTrue, e)
  871. case *map[uint64]int8:
  872. fastpathTV.EncMapUint64Int8V(*v, fastpathCheckNilTrue, e)
  873. case map[uint64]int16:
  874. fastpathTV.EncMapUint64Int16V(v, fastpathCheckNilTrue, e)
  875. case *map[uint64]int16:
  876. fastpathTV.EncMapUint64Int16V(*v, fastpathCheckNilTrue, e)
  877. case map[uint64]int32:
  878. fastpathTV.EncMapUint64Int32V(v, fastpathCheckNilTrue, e)
  879. case *map[uint64]int32:
  880. fastpathTV.EncMapUint64Int32V(*v, fastpathCheckNilTrue, e)
  881. case map[uint64]int64:
  882. fastpathTV.EncMapUint64Int64V(v, fastpathCheckNilTrue, e)
  883. case *map[uint64]int64:
  884. fastpathTV.EncMapUint64Int64V(*v, fastpathCheckNilTrue, e)
  885. case map[uint64]float32:
  886. fastpathTV.EncMapUint64Float32V(v, fastpathCheckNilTrue, e)
  887. case *map[uint64]float32:
  888. fastpathTV.EncMapUint64Float32V(*v, fastpathCheckNilTrue, e)
  889. case map[uint64]float64:
  890. fastpathTV.EncMapUint64Float64V(v, fastpathCheckNilTrue, e)
  891. case *map[uint64]float64:
  892. fastpathTV.EncMapUint64Float64V(*v, fastpathCheckNilTrue, e)
  893. case map[uint64]bool:
  894. fastpathTV.EncMapUint64BoolV(v, fastpathCheckNilTrue, e)
  895. case *map[uint64]bool:
  896. fastpathTV.EncMapUint64BoolV(*v, fastpathCheckNilTrue, e)
  897. case []int:
  898. fastpathTV.EncSliceIntV(v, fastpathCheckNilTrue, e)
  899. case *[]int:
  900. fastpathTV.EncSliceIntV(*v, fastpathCheckNilTrue, e)
  901. case map[int]interface{}:
  902. fastpathTV.EncMapIntIntfV(v, fastpathCheckNilTrue, e)
  903. case *map[int]interface{}:
  904. fastpathTV.EncMapIntIntfV(*v, fastpathCheckNilTrue, e)
  905. case map[int]string:
  906. fastpathTV.EncMapIntStringV(v, fastpathCheckNilTrue, e)
  907. case *map[int]string:
  908. fastpathTV.EncMapIntStringV(*v, fastpathCheckNilTrue, e)
  909. case map[int]uint:
  910. fastpathTV.EncMapIntUintV(v, fastpathCheckNilTrue, e)
  911. case *map[int]uint:
  912. fastpathTV.EncMapIntUintV(*v, fastpathCheckNilTrue, e)
  913. case map[int]uint8:
  914. fastpathTV.EncMapIntUint8V(v, fastpathCheckNilTrue, e)
  915. case *map[int]uint8:
  916. fastpathTV.EncMapIntUint8V(*v, fastpathCheckNilTrue, e)
  917. case map[int]uint16:
  918. fastpathTV.EncMapIntUint16V(v, fastpathCheckNilTrue, e)
  919. case *map[int]uint16:
  920. fastpathTV.EncMapIntUint16V(*v, fastpathCheckNilTrue, e)
  921. case map[int]uint32:
  922. fastpathTV.EncMapIntUint32V(v, fastpathCheckNilTrue, e)
  923. case *map[int]uint32:
  924. fastpathTV.EncMapIntUint32V(*v, fastpathCheckNilTrue, e)
  925. case map[int]uint64:
  926. fastpathTV.EncMapIntUint64V(v, fastpathCheckNilTrue, e)
  927. case *map[int]uint64:
  928. fastpathTV.EncMapIntUint64V(*v, fastpathCheckNilTrue, e)
  929. case map[int]int:
  930. fastpathTV.EncMapIntIntV(v, fastpathCheckNilTrue, e)
  931. case *map[int]int:
  932. fastpathTV.EncMapIntIntV(*v, fastpathCheckNilTrue, e)
  933. case map[int]int8:
  934. fastpathTV.EncMapIntInt8V(v, fastpathCheckNilTrue, e)
  935. case *map[int]int8:
  936. fastpathTV.EncMapIntInt8V(*v, fastpathCheckNilTrue, e)
  937. case map[int]int16:
  938. fastpathTV.EncMapIntInt16V(v, fastpathCheckNilTrue, e)
  939. case *map[int]int16:
  940. fastpathTV.EncMapIntInt16V(*v, fastpathCheckNilTrue, e)
  941. case map[int]int32:
  942. fastpathTV.EncMapIntInt32V(v, fastpathCheckNilTrue, e)
  943. case *map[int]int32:
  944. fastpathTV.EncMapIntInt32V(*v, fastpathCheckNilTrue, e)
  945. case map[int]int64:
  946. fastpathTV.EncMapIntInt64V(v, fastpathCheckNilTrue, e)
  947. case *map[int]int64:
  948. fastpathTV.EncMapIntInt64V(*v, fastpathCheckNilTrue, e)
  949. case map[int]float32:
  950. fastpathTV.EncMapIntFloat32V(v, fastpathCheckNilTrue, e)
  951. case *map[int]float32:
  952. fastpathTV.EncMapIntFloat32V(*v, fastpathCheckNilTrue, e)
  953. case map[int]float64:
  954. fastpathTV.EncMapIntFloat64V(v, fastpathCheckNilTrue, e)
  955. case *map[int]float64:
  956. fastpathTV.EncMapIntFloat64V(*v, fastpathCheckNilTrue, e)
  957. case map[int]bool:
  958. fastpathTV.EncMapIntBoolV(v, fastpathCheckNilTrue, e)
  959. case *map[int]bool:
  960. fastpathTV.EncMapIntBoolV(*v, fastpathCheckNilTrue, e)
  961. case []int8:
  962. fastpathTV.EncSliceInt8V(v, fastpathCheckNilTrue, e)
  963. case *[]int8:
  964. fastpathTV.EncSliceInt8V(*v, fastpathCheckNilTrue, e)
  965. case map[int8]interface{}:
  966. fastpathTV.EncMapInt8IntfV(v, fastpathCheckNilTrue, e)
  967. case *map[int8]interface{}:
  968. fastpathTV.EncMapInt8IntfV(*v, fastpathCheckNilTrue, e)
  969. case map[int8]string:
  970. fastpathTV.EncMapInt8StringV(v, fastpathCheckNilTrue, e)
  971. case *map[int8]string:
  972. fastpathTV.EncMapInt8StringV(*v, fastpathCheckNilTrue, e)
  973. case map[int8]uint:
  974. fastpathTV.EncMapInt8UintV(v, fastpathCheckNilTrue, e)
  975. case *map[int8]uint:
  976. fastpathTV.EncMapInt8UintV(*v, fastpathCheckNilTrue, e)
  977. case map[int8]uint8:
  978. fastpathTV.EncMapInt8Uint8V(v, fastpathCheckNilTrue, e)
  979. case *map[int8]uint8:
  980. fastpathTV.EncMapInt8Uint8V(*v, fastpathCheckNilTrue, e)
  981. case map[int8]uint16:
  982. fastpathTV.EncMapInt8Uint16V(v, fastpathCheckNilTrue, e)
  983. case *map[int8]uint16:
  984. fastpathTV.EncMapInt8Uint16V(*v, fastpathCheckNilTrue, e)
  985. case map[int8]uint32:
  986. fastpathTV.EncMapInt8Uint32V(v, fastpathCheckNilTrue, e)
  987. case *map[int8]uint32:
  988. fastpathTV.EncMapInt8Uint32V(*v, fastpathCheckNilTrue, e)
  989. case map[int8]uint64:
  990. fastpathTV.EncMapInt8Uint64V(v, fastpathCheckNilTrue, e)
  991. case *map[int8]uint64:
  992. fastpathTV.EncMapInt8Uint64V(*v, fastpathCheckNilTrue, e)
  993. case map[int8]int:
  994. fastpathTV.EncMapInt8IntV(v, fastpathCheckNilTrue, e)
  995. case *map[int8]int:
  996. fastpathTV.EncMapInt8IntV(*v, fastpathCheckNilTrue, e)
  997. case map[int8]int8:
  998. fastpathTV.EncMapInt8Int8V(v, fastpathCheckNilTrue, e)
  999. case *map[int8]int8:
  1000. fastpathTV.EncMapInt8Int8V(*v, fastpathCheckNilTrue, e)
  1001. case map[int8]int16:
  1002. fastpathTV.EncMapInt8Int16V(v, fastpathCheckNilTrue, e)
  1003. case *map[int8]int16:
  1004. fastpathTV.EncMapInt8Int16V(*v, fastpathCheckNilTrue, e)
  1005. case map[int8]int32:
  1006. fastpathTV.EncMapInt8Int32V(v, fastpathCheckNilTrue, e)
  1007. case *map[int8]int32:
  1008. fastpathTV.EncMapInt8Int32V(*v, fastpathCheckNilTrue, e)
  1009. case map[int8]int64:
  1010. fastpathTV.EncMapInt8Int64V(v, fastpathCheckNilTrue, e)
  1011. case *map[int8]int64:
  1012. fastpathTV.EncMapInt8Int64V(*v, fastpathCheckNilTrue, e)
  1013. case map[int8]float32:
  1014. fastpathTV.EncMapInt8Float32V(v, fastpathCheckNilTrue, e)
  1015. case *map[int8]float32:
  1016. fastpathTV.EncMapInt8Float32V(*v, fastpathCheckNilTrue, e)
  1017. case map[int8]float64:
  1018. fastpathTV.EncMapInt8Float64V(v, fastpathCheckNilTrue, e)
  1019. case *map[int8]float64:
  1020. fastpathTV.EncMapInt8Float64V(*v, fastpathCheckNilTrue, e)
  1021. case map[int8]bool:
  1022. fastpathTV.EncMapInt8BoolV(v, fastpathCheckNilTrue, e)
  1023. case *map[int8]bool:
  1024. fastpathTV.EncMapInt8BoolV(*v, fastpathCheckNilTrue, e)
  1025. case []int16:
  1026. fastpathTV.EncSliceInt16V(v, fastpathCheckNilTrue, e)
  1027. case *[]int16:
  1028. fastpathTV.EncSliceInt16V(*v, fastpathCheckNilTrue, e)
  1029. case map[int16]interface{}:
  1030. fastpathTV.EncMapInt16IntfV(v, fastpathCheckNilTrue, e)
  1031. case *map[int16]interface{}:
  1032. fastpathTV.EncMapInt16IntfV(*v, fastpathCheckNilTrue, e)
  1033. case map[int16]string:
  1034. fastpathTV.EncMapInt16StringV(v, fastpathCheckNilTrue, e)
  1035. case *map[int16]string:
  1036. fastpathTV.EncMapInt16StringV(*v, fastpathCheckNilTrue, e)
  1037. case map[int16]uint:
  1038. fastpathTV.EncMapInt16UintV(v, fastpathCheckNilTrue, e)
  1039. case *map[int16]uint:
  1040. fastpathTV.EncMapInt16UintV(*v, fastpathCheckNilTrue, e)
  1041. case map[int16]uint8:
  1042. fastpathTV.EncMapInt16Uint8V(v, fastpathCheckNilTrue, e)
  1043. case *map[int16]uint8:
  1044. fastpathTV.EncMapInt16Uint8V(*v, fastpathCheckNilTrue, e)
  1045. case map[int16]uint16:
  1046. fastpathTV.EncMapInt16Uint16V(v, fastpathCheckNilTrue, e)
  1047. case *map[int16]uint16:
  1048. fastpathTV.EncMapInt16Uint16V(*v, fastpathCheckNilTrue, e)
  1049. case map[int16]uint32:
  1050. fastpathTV.EncMapInt16Uint32V(v, fastpathCheckNilTrue, e)
  1051. case *map[int16]uint32:
  1052. fastpathTV.EncMapInt16Uint32V(*v, fastpathCheckNilTrue, e)
  1053. case map[int16]uint64:
  1054. fastpathTV.EncMapInt16Uint64V(v, fastpathCheckNilTrue, e)
  1055. case *map[int16]uint64:
  1056. fastpathTV.EncMapInt16Uint64V(*v, fastpathCheckNilTrue, e)
  1057. case map[int16]int:
  1058. fastpathTV.EncMapInt16IntV(v, fastpathCheckNilTrue, e)
  1059. case *map[int16]int:
  1060. fastpathTV.EncMapInt16IntV(*v, fastpathCheckNilTrue, e)
  1061. case map[int16]int8:
  1062. fastpathTV.EncMapInt16Int8V(v, fastpathCheckNilTrue, e)
  1063. case *map[int16]int8:
  1064. fastpathTV.EncMapInt16Int8V(*v, fastpathCheckNilTrue, e)
  1065. case map[int16]int16:
  1066. fastpathTV.EncMapInt16Int16V(v, fastpathCheckNilTrue, e)
  1067. case *map[int16]int16:
  1068. fastpathTV.EncMapInt16Int16V(*v, fastpathCheckNilTrue, e)
  1069. case map[int16]int32:
  1070. fastpathTV.EncMapInt16Int32V(v, fastpathCheckNilTrue, e)
  1071. case *map[int16]int32:
  1072. fastpathTV.EncMapInt16Int32V(*v, fastpathCheckNilTrue, e)
  1073. case map[int16]int64:
  1074. fastpathTV.EncMapInt16Int64V(v, fastpathCheckNilTrue, e)
  1075. case *map[int16]int64:
  1076. fastpathTV.EncMapInt16Int64V(*v, fastpathCheckNilTrue, e)
  1077. case map[int16]float32:
  1078. fastpathTV.EncMapInt16Float32V(v, fastpathCheckNilTrue, e)
  1079. case *map[int16]float32:
  1080. fastpathTV.EncMapInt16Float32V(*v, fastpathCheckNilTrue, e)
  1081. case map[int16]float64:
  1082. fastpathTV.EncMapInt16Float64V(v, fastpathCheckNilTrue, e)
  1083. case *map[int16]float64:
  1084. fastpathTV.EncMapInt16Float64V(*v, fastpathCheckNilTrue, e)
  1085. case map[int16]bool:
  1086. fastpathTV.EncMapInt16BoolV(v, fastpathCheckNilTrue, e)
  1087. case *map[int16]bool:
  1088. fastpathTV.EncMapInt16BoolV(*v, fastpathCheckNilTrue, e)
  1089. case []int32:
  1090. fastpathTV.EncSliceInt32V(v, fastpathCheckNilTrue, e)
  1091. case *[]int32:
  1092. fastpathTV.EncSliceInt32V(*v, fastpathCheckNilTrue, e)
  1093. case map[int32]interface{}:
  1094. fastpathTV.EncMapInt32IntfV(v, fastpathCheckNilTrue, e)
  1095. case *map[int32]interface{}:
  1096. fastpathTV.EncMapInt32IntfV(*v, fastpathCheckNilTrue, e)
  1097. case map[int32]string:
  1098. fastpathTV.EncMapInt32StringV(v, fastpathCheckNilTrue, e)
  1099. case *map[int32]string:
  1100. fastpathTV.EncMapInt32StringV(*v, fastpathCheckNilTrue, e)
  1101. case map[int32]uint:
  1102. fastpathTV.EncMapInt32UintV(v, fastpathCheckNilTrue, e)
  1103. case *map[int32]uint:
  1104. fastpathTV.EncMapInt32UintV(*v, fastpathCheckNilTrue, e)
  1105. case map[int32]uint8:
  1106. fastpathTV.EncMapInt32Uint8V(v, fastpathCheckNilTrue, e)
  1107. case *map[int32]uint8:
  1108. fastpathTV.EncMapInt32Uint8V(*v, fastpathCheckNilTrue, e)
  1109. case map[int32]uint16:
  1110. fastpathTV.EncMapInt32Uint16V(v, fastpathCheckNilTrue, e)
  1111. case *map[int32]uint16:
  1112. fastpathTV.EncMapInt32Uint16V(*v, fastpathCheckNilTrue, e)
  1113. case map[int32]uint32:
  1114. fastpathTV.EncMapInt32Uint32V(v, fastpathCheckNilTrue, e)
  1115. case *map[int32]uint32:
  1116. fastpathTV.EncMapInt32Uint32V(*v, fastpathCheckNilTrue, e)
  1117. case map[int32]uint64:
  1118. fastpathTV.EncMapInt32Uint64V(v, fastpathCheckNilTrue, e)
  1119. case *map[int32]uint64:
  1120. fastpathTV.EncMapInt32Uint64V(*v, fastpathCheckNilTrue, e)
  1121. case map[int32]int:
  1122. fastpathTV.EncMapInt32IntV(v, fastpathCheckNilTrue, e)
  1123. case *map[int32]int:
  1124. fastpathTV.EncMapInt32IntV(*v, fastpathCheckNilTrue, e)
  1125. case map[int32]int8:
  1126. fastpathTV.EncMapInt32Int8V(v, fastpathCheckNilTrue, e)
  1127. case *map[int32]int8:
  1128. fastpathTV.EncMapInt32Int8V(*v, fastpathCheckNilTrue, e)
  1129. case map[int32]int16:
  1130. fastpathTV.EncMapInt32Int16V(v, fastpathCheckNilTrue, e)
  1131. case *map[int32]int16:
  1132. fastpathTV.EncMapInt32Int16V(*v, fastpathCheckNilTrue, e)
  1133. case map[int32]int32:
  1134. fastpathTV.EncMapInt32Int32V(v, fastpathCheckNilTrue, e)
  1135. case *map[int32]int32:
  1136. fastpathTV.EncMapInt32Int32V(*v, fastpathCheckNilTrue, e)
  1137. case map[int32]int64:
  1138. fastpathTV.EncMapInt32Int64V(v, fastpathCheckNilTrue, e)
  1139. case *map[int32]int64:
  1140. fastpathTV.EncMapInt32Int64V(*v, fastpathCheckNilTrue, e)
  1141. case map[int32]float32:
  1142. fastpathTV.EncMapInt32Float32V(v, fastpathCheckNilTrue, e)
  1143. case *map[int32]float32:
  1144. fastpathTV.EncMapInt32Float32V(*v, fastpathCheckNilTrue, e)
  1145. case map[int32]float64:
  1146. fastpathTV.EncMapInt32Float64V(v, fastpathCheckNilTrue, e)
  1147. case *map[int32]float64:
  1148. fastpathTV.EncMapInt32Float64V(*v, fastpathCheckNilTrue, e)
  1149. case map[int32]bool:
  1150. fastpathTV.EncMapInt32BoolV(v, fastpathCheckNilTrue, e)
  1151. case *map[int32]bool:
  1152. fastpathTV.EncMapInt32BoolV(*v, fastpathCheckNilTrue, e)
  1153. case []int64:
  1154. fastpathTV.EncSliceInt64V(v, fastpathCheckNilTrue, e)
  1155. case *[]int64:
  1156. fastpathTV.EncSliceInt64V(*v, fastpathCheckNilTrue, e)
  1157. case map[int64]interface{}:
  1158. fastpathTV.EncMapInt64IntfV(v, fastpathCheckNilTrue, e)
  1159. case *map[int64]interface{}:
  1160. fastpathTV.EncMapInt64IntfV(*v, fastpathCheckNilTrue, e)
  1161. case map[int64]string:
  1162. fastpathTV.EncMapInt64StringV(v, fastpathCheckNilTrue, e)
  1163. case *map[int64]string:
  1164. fastpathTV.EncMapInt64StringV(*v, fastpathCheckNilTrue, e)
  1165. case map[int64]uint:
  1166. fastpathTV.EncMapInt64UintV(v, fastpathCheckNilTrue, e)
  1167. case *map[int64]uint:
  1168. fastpathTV.EncMapInt64UintV(*v, fastpathCheckNilTrue, e)
  1169. case map[int64]uint8:
  1170. fastpathTV.EncMapInt64Uint8V(v, fastpathCheckNilTrue, e)
  1171. case *map[int64]uint8:
  1172. fastpathTV.EncMapInt64Uint8V(*v, fastpathCheckNilTrue, e)
  1173. case map[int64]uint16:
  1174. fastpathTV.EncMapInt64Uint16V(v, fastpathCheckNilTrue, e)
  1175. case *map[int64]uint16:
  1176. fastpathTV.EncMapInt64Uint16V(*v, fastpathCheckNilTrue, e)
  1177. case map[int64]uint32:
  1178. fastpathTV.EncMapInt64Uint32V(v, fastpathCheckNilTrue, e)
  1179. case *map[int64]uint32:
  1180. fastpathTV.EncMapInt64Uint32V(*v, fastpathCheckNilTrue, e)
  1181. case map[int64]uint64:
  1182. fastpathTV.EncMapInt64Uint64V(v, fastpathCheckNilTrue, e)
  1183. case *map[int64]uint64:
  1184. fastpathTV.EncMapInt64Uint64V(*v, fastpathCheckNilTrue, e)
  1185. case map[int64]int:
  1186. fastpathTV.EncMapInt64IntV(v, fastpathCheckNilTrue, e)
  1187. case *map[int64]int:
  1188. fastpathTV.EncMapInt64IntV(*v, fastpathCheckNilTrue, e)
  1189. case map[int64]int8:
  1190. fastpathTV.EncMapInt64Int8V(v, fastpathCheckNilTrue, e)
  1191. case *map[int64]int8:
  1192. fastpathTV.EncMapInt64Int8V(*v, fastpathCheckNilTrue, e)
  1193. case map[int64]int16:
  1194. fastpathTV.EncMapInt64Int16V(v, fastpathCheckNilTrue, e)
  1195. case *map[int64]int16:
  1196. fastpathTV.EncMapInt64Int16V(*v, fastpathCheckNilTrue, e)
  1197. case map[int64]int32:
  1198. fastpathTV.EncMapInt64Int32V(v, fastpathCheckNilTrue, e)
  1199. case *map[int64]int32:
  1200. fastpathTV.EncMapInt64Int32V(*v, fastpathCheckNilTrue, e)
  1201. case map[int64]int64:
  1202. fastpathTV.EncMapInt64Int64V(v, fastpathCheckNilTrue, e)
  1203. case *map[int64]int64:
  1204. fastpathTV.EncMapInt64Int64V(*v, fastpathCheckNilTrue, e)
  1205. case map[int64]float32:
  1206. fastpathTV.EncMapInt64Float32V(v, fastpathCheckNilTrue, e)
  1207. case *map[int64]float32:
  1208. fastpathTV.EncMapInt64Float32V(*v, fastpathCheckNilTrue, e)
  1209. case map[int64]float64:
  1210. fastpathTV.EncMapInt64Float64V(v, fastpathCheckNilTrue, e)
  1211. case *map[int64]float64:
  1212. fastpathTV.EncMapInt64Float64V(*v, fastpathCheckNilTrue, e)
  1213. case map[int64]bool:
  1214. fastpathTV.EncMapInt64BoolV(v, fastpathCheckNilTrue, e)
  1215. case *map[int64]bool:
  1216. fastpathTV.EncMapInt64BoolV(*v, fastpathCheckNilTrue, e)
  1217. case []bool:
  1218. fastpathTV.EncSliceBoolV(v, fastpathCheckNilTrue, e)
  1219. case *[]bool:
  1220. fastpathTV.EncSliceBoolV(*v, fastpathCheckNilTrue, e)
  1221. case map[bool]interface{}:
  1222. fastpathTV.EncMapBoolIntfV(v, fastpathCheckNilTrue, e)
  1223. case *map[bool]interface{}:
  1224. fastpathTV.EncMapBoolIntfV(*v, fastpathCheckNilTrue, e)
  1225. case map[bool]string:
  1226. fastpathTV.EncMapBoolStringV(v, fastpathCheckNilTrue, e)
  1227. case *map[bool]string:
  1228. fastpathTV.EncMapBoolStringV(*v, fastpathCheckNilTrue, e)
  1229. case map[bool]uint:
  1230. fastpathTV.EncMapBoolUintV(v, fastpathCheckNilTrue, e)
  1231. case *map[bool]uint:
  1232. fastpathTV.EncMapBoolUintV(*v, fastpathCheckNilTrue, e)
  1233. case map[bool]uint8:
  1234. fastpathTV.EncMapBoolUint8V(v, fastpathCheckNilTrue, e)
  1235. case *map[bool]uint8:
  1236. fastpathTV.EncMapBoolUint8V(*v, fastpathCheckNilTrue, e)
  1237. case map[bool]uint16:
  1238. fastpathTV.EncMapBoolUint16V(v, fastpathCheckNilTrue, e)
  1239. case *map[bool]uint16:
  1240. fastpathTV.EncMapBoolUint16V(*v, fastpathCheckNilTrue, e)
  1241. case map[bool]uint32:
  1242. fastpathTV.EncMapBoolUint32V(v, fastpathCheckNilTrue, e)
  1243. case *map[bool]uint32:
  1244. fastpathTV.EncMapBoolUint32V(*v, fastpathCheckNilTrue, e)
  1245. case map[bool]uint64:
  1246. fastpathTV.EncMapBoolUint64V(v, fastpathCheckNilTrue, e)
  1247. case *map[bool]uint64:
  1248. fastpathTV.EncMapBoolUint64V(*v, fastpathCheckNilTrue, e)
  1249. case map[bool]int:
  1250. fastpathTV.EncMapBoolIntV(v, fastpathCheckNilTrue, e)
  1251. case *map[bool]int:
  1252. fastpathTV.EncMapBoolIntV(*v, fastpathCheckNilTrue, e)
  1253. case map[bool]int8:
  1254. fastpathTV.EncMapBoolInt8V(v, fastpathCheckNilTrue, e)
  1255. case *map[bool]int8:
  1256. fastpathTV.EncMapBoolInt8V(*v, fastpathCheckNilTrue, e)
  1257. case map[bool]int16:
  1258. fastpathTV.EncMapBoolInt16V(v, fastpathCheckNilTrue, e)
  1259. case *map[bool]int16:
  1260. fastpathTV.EncMapBoolInt16V(*v, fastpathCheckNilTrue, e)
  1261. case map[bool]int32:
  1262. fastpathTV.EncMapBoolInt32V(v, fastpathCheckNilTrue, e)
  1263. case *map[bool]int32:
  1264. fastpathTV.EncMapBoolInt32V(*v, fastpathCheckNilTrue, e)
  1265. case map[bool]int64:
  1266. fastpathTV.EncMapBoolInt64V(v, fastpathCheckNilTrue, e)
  1267. case *map[bool]int64:
  1268. fastpathTV.EncMapBoolInt64V(*v, fastpathCheckNilTrue, e)
  1269. case map[bool]float32:
  1270. fastpathTV.EncMapBoolFloat32V(v, fastpathCheckNilTrue, e)
  1271. case *map[bool]float32:
  1272. fastpathTV.EncMapBoolFloat32V(*v, fastpathCheckNilTrue, e)
  1273. case map[bool]float64:
  1274. fastpathTV.EncMapBoolFloat64V(v, fastpathCheckNilTrue, e)
  1275. case *map[bool]float64:
  1276. fastpathTV.EncMapBoolFloat64V(*v, fastpathCheckNilTrue, e)
  1277. case map[bool]bool:
  1278. fastpathTV.EncMapBoolBoolV(v, fastpathCheckNilTrue, e)
  1279. case *map[bool]bool:
  1280. fastpathTV.EncMapBoolBoolV(*v, fastpathCheckNilTrue, e)
  1281. default:
  1282. return false
  1283. }
  1284. return true
  1285. }
  1286. func fastpathEncodeTypeSwitchSlice(iv interface{}, e *Encoder) bool {
  1287. switch v := iv.(type) {
  1288. case []interface{}:
  1289. fastpathTV.EncSliceIntfV(v, fastpathCheckNilTrue, e)
  1290. case *[]interface{}:
  1291. fastpathTV.EncSliceIntfV(*v, fastpathCheckNilTrue, e)
  1292. case []string:
  1293. fastpathTV.EncSliceStringV(v, fastpathCheckNilTrue, e)
  1294. case *[]string:
  1295. fastpathTV.EncSliceStringV(*v, fastpathCheckNilTrue, e)
  1296. case []float32:
  1297. fastpathTV.EncSliceFloat32V(v, fastpathCheckNilTrue, e)
  1298. case *[]float32:
  1299. fastpathTV.EncSliceFloat32V(*v, fastpathCheckNilTrue, e)
  1300. case []float64:
  1301. fastpathTV.EncSliceFloat64V(v, fastpathCheckNilTrue, e)
  1302. case *[]float64:
  1303. fastpathTV.EncSliceFloat64V(*v, fastpathCheckNilTrue, e)
  1304. case []uint:
  1305. fastpathTV.EncSliceUintV(v, fastpathCheckNilTrue, e)
  1306. case *[]uint:
  1307. fastpathTV.EncSliceUintV(*v, fastpathCheckNilTrue, e)
  1308. case []uint16:
  1309. fastpathTV.EncSliceUint16V(v, fastpathCheckNilTrue, e)
  1310. case *[]uint16:
  1311. fastpathTV.EncSliceUint16V(*v, fastpathCheckNilTrue, e)
  1312. case []uint32:
  1313. fastpathTV.EncSliceUint32V(v, fastpathCheckNilTrue, e)
  1314. case *[]uint32:
  1315. fastpathTV.EncSliceUint32V(*v, fastpathCheckNilTrue, e)
  1316. case []uint64:
  1317. fastpathTV.EncSliceUint64V(v, fastpathCheckNilTrue, e)
  1318. case *[]uint64:
  1319. fastpathTV.EncSliceUint64V(*v, fastpathCheckNilTrue, e)
  1320. case []int:
  1321. fastpathTV.EncSliceIntV(v, fastpathCheckNilTrue, e)
  1322. case *[]int:
  1323. fastpathTV.EncSliceIntV(*v, fastpathCheckNilTrue, e)
  1324. case []int8:
  1325. fastpathTV.EncSliceInt8V(v, fastpathCheckNilTrue, e)
  1326. case *[]int8:
  1327. fastpathTV.EncSliceInt8V(*v, fastpathCheckNilTrue, e)
  1328. case []int16:
  1329. fastpathTV.EncSliceInt16V(v, fastpathCheckNilTrue, e)
  1330. case *[]int16:
  1331. fastpathTV.EncSliceInt16V(*v, fastpathCheckNilTrue, e)
  1332. case []int32:
  1333. fastpathTV.EncSliceInt32V(v, fastpathCheckNilTrue, e)
  1334. case *[]int32:
  1335. fastpathTV.EncSliceInt32V(*v, fastpathCheckNilTrue, e)
  1336. case []int64:
  1337. fastpathTV.EncSliceInt64V(v, fastpathCheckNilTrue, e)
  1338. case *[]int64:
  1339. fastpathTV.EncSliceInt64V(*v, fastpathCheckNilTrue, e)
  1340. case []bool:
  1341. fastpathTV.EncSliceBoolV(v, fastpathCheckNilTrue, e)
  1342. case *[]bool:
  1343. fastpathTV.EncSliceBoolV(*v, fastpathCheckNilTrue, e)
  1344. default:
  1345. return false
  1346. }
  1347. return true
  1348. }
  1349. func fastpathEncodeTypeSwitchMap(iv interface{}, e *Encoder) bool {
  1350. switch v := iv.(type) {
  1351. case map[interface{}]interface{}:
  1352. fastpathTV.EncMapIntfIntfV(v, fastpathCheckNilTrue, e)
  1353. case *map[interface{}]interface{}:
  1354. fastpathTV.EncMapIntfIntfV(*v, fastpathCheckNilTrue, e)
  1355. case map[interface{}]string:
  1356. fastpathTV.EncMapIntfStringV(v, fastpathCheckNilTrue, e)
  1357. case *map[interface{}]string:
  1358. fastpathTV.EncMapIntfStringV(*v, fastpathCheckNilTrue, e)
  1359. case map[interface{}]uint:
  1360. fastpathTV.EncMapIntfUintV(v, fastpathCheckNilTrue, e)
  1361. case *map[interface{}]uint:
  1362. fastpathTV.EncMapIntfUintV(*v, fastpathCheckNilTrue, e)
  1363. case map[interface{}]uint8:
  1364. fastpathTV.EncMapIntfUint8V(v, fastpathCheckNilTrue, e)
  1365. case *map[interface{}]uint8:
  1366. fastpathTV.EncMapIntfUint8V(*v, fastpathCheckNilTrue, e)
  1367. case map[interface{}]uint16:
  1368. fastpathTV.EncMapIntfUint16V(v, fastpathCheckNilTrue, e)
  1369. case *map[interface{}]uint16:
  1370. fastpathTV.EncMapIntfUint16V(*v, fastpathCheckNilTrue, e)
  1371. case map[interface{}]uint32:
  1372. fastpathTV.EncMapIntfUint32V(v, fastpathCheckNilTrue, e)
  1373. case *map[interface{}]uint32:
  1374. fastpathTV.EncMapIntfUint32V(*v, fastpathCheckNilTrue, e)
  1375. case map[interface{}]uint64:
  1376. fastpathTV.EncMapIntfUint64V(v, fastpathCheckNilTrue, e)
  1377. case *map[interface{}]uint64:
  1378. fastpathTV.EncMapIntfUint64V(*v, fastpathCheckNilTrue, e)
  1379. case map[interface{}]int:
  1380. fastpathTV.EncMapIntfIntV(v, fastpathCheckNilTrue, e)
  1381. case *map[interface{}]int:
  1382. fastpathTV.EncMapIntfIntV(*v, fastpathCheckNilTrue, e)
  1383. case map[interface{}]int8:
  1384. fastpathTV.EncMapIntfInt8V(v, fastpathCheckNilTrue, e)
  1385. case *map[interface{}]int8:
  1386. fastpathTV.EncMapIntfInt8V(*v, fastpathCheckNilTrue, e)
  1387. case map[interface{}]int16:
  1388. fastpathTV.EncMapIntfInt16V(v, fastpathCheckNilTrue, e)
  1389. case *map[interface{}]int16:
  1390. fastpathTV.EncMapIntfInt16V(*v, fastpathCheckNilTrue, e)
  1391. case map[interface{}]int32:
  1392. fastpathTV.EncMapIntfInt32V(v, fastpathCheckNilTrue, e)
  1393. case *map[interface{}]int32:
  1394. fastpathTV.EncMapIntfInt32V(*v, fastpathCheckNilTrue, e)
  1395. case map[interface{}]int64:
  1396. fastpathTV.EncMapIntfInt64V(v, fastpathCheckNilTrue, e)
  1397. case *map[interface{}]int64:
  1398. fastpathTV.EncMapIntfInt64V(*v, fastpathCheckNilTrue, e)
  1399. case map[interface{}]float32:
  1400. fastpathTV.EncMapIntfFloat32V(v, fastpathCheckNilTrue, e)
  1401. case *map[interface{}]float32:
  1402. fastpathTV.EncMapIntfFloat32V(*v, fastpathCheckNilTrue, e)
  1403. case map[interface{}]float64:
  1404. fastpathTV.EncMapIntfFloat64V(v, fastpathCheckNilTrue, e)
  1405. case *map[interface{}]float64:
  1406. fastpathTV.EncMapIntfFloat64V(*v, fastpathCheckNilTrue, e)
  1407. case map[interface{}]bool:
  1408. fastpathTV.EncMapIntfBoolV(v, fastpathCheckNilTrue, e)
  1409. case *map[interface{}]bool:
  1410. fastpathTV.EncMapIntfBoolV(*v, fastpathCheckNilTrue, e)
  1411. case map[string]interface{}:
  1412. fastpathTV.EncMapStringIntfV(v, fastpathCheckNilTrue, e)
  1413. case *map[string]interface{}:
  1414. fastpathTV.EncMapStringIntfV(*v, fastpathCheckNilTrue, e)
  1415. case map[string]string:
  1416. fastpathTV.EncMapStringStringV(v, fastpathCheckNilTrue, e)
  1417. case *map[string]string:
  1418. fastpathTV.EncMapStringStringV(*v, fastpathCheckNilTrue, e)
  1419. case map[string]uint:
  1420. fastpathTV.EncMapStringUintV(v, fastpathCheckNilTrue, e)
  1421. case *map[string]uint:
  1422. fastpathTV.EncMapStringUintV(*v, fastpathCheckNilTrue, e)
  1423. case map[string]uint8:
  1424. fastpathTV.EncMapStringUint8V(v, fastpathCheckNilTrue, e)
  1425. case *map[string]uint8:
  1426. fastpathTV.EncMapStringUint8V(*v, fastpathCheckNilTrue, e)
  1427. case map[string]uint16:
  1428. fastpathTV.EncMapStringUint16V(v, fastpathCheckNilTrue, e)
  1429. case *map[string]uint16:
  1430. fastpathTV.EncMapStringUint16V(*v, fastpathCheckNilTrue, e)
  1431. case map[string]uint32:
  1432. fastpathTV.EncMapStringUint32V(v, fastpathCheckNilTrue, e)
  1433. case *map[string]uint32:
  1434. fastpathTV.EncMapStringUint32V(*v, fastpathCheckNilTrue, e)
  1435. case map[string]uint64:
  1436. fastpathTV.EncMapStringUint64V(v, fastpathCheckNilTrue, e)
  1437. case *map[string]uint64:
  1438. fastpathTV.EncMapStringUint64V(*v, fastpathCheckNilTrue, e)
  1439. case map[string]int:
  1440. fastpathTV.EncMapStringIntV(v, fastpathCheckNilTrue, e)
  1441. case *map[string]int:
  1442. fastpathTV.EncMapStringIntV(*v, fastpathCheckNilTrue, e)
  1443. case map[string]int8:
  1444. fastpathTV.EncMapStringInt8V(v, fastpathCheckNilTrue, e)
  1445. case *map[string]int8:
  1446. fastpathTV.EncMapStringInt8V(*v, fastpathCheckNilTrue, e)
  1447. case map[string]int16:
  1448. fastpathTV.EncMapStringInt16V(v, fastpathCheckNilTrue, e)
  1449. case *map[string]int16:
  1450. fastpathTV.EncMapStringInt16V(*v, fastpathCheckNilTrue, e)
  1451. case map[string]int32:
  1452. fastpathTV.EncMapStringInt32V(v, fastpathCheckNilTrue, e)
  1453. case *map[string]int32:
  1454. fastpathTV.EncMapStringInt32V(*v, fastpathCheckNilTrue, e)
  1455. case map[string]int64:
  1456. fastpathTV.EncMapStringInt64V(v, fastpathCheckNilTrue, e)
  1457. case *map[string]int64:
  1458. fastpathTV.EncMapStringInt64V(*v, fastpathCheckNilTrue, e)
  1459. case map[string]float32:
  1460. fastpathTV.EncMapStringFloat32V(v, fastpathCheckNilTrue, e)
  1461. case *map[string]float32:
  1462. fastpathTV.EncMapStringFloat32V(*v, fastpathCheckNilTrue, e)
  1463. case map[string]float64:
  1464. fastpathTV.EncMapStringFloat64V(v, fastpathCheckNilTrue, e)
  1465. case *map[string]float64:
  1466. fastpathTV.EncMapStringFloat64V(*v, fastpathCheckNilTrue, e)
  1467. case map[string]bool:
  1468. fastpathTV.EncMapStringBoolV(v, fastpathCheckNilTrue, e)
  1469. case *map[string]bool:
  1470. fastpathTV.EncMapStringBoolV(*v, fastpathCheckNilTrue, e)
  1471. case map[float32]interface{}:
  1472. fastpathTV.EncMapFloat32IntfV(v, fastpathCheckNilTrue, e)
  1473. case *map[float32]interface{}:
  1474. fastpathTV.EncMapFloat32IntfV(*v, fastpathCheckNilTrue, e)
  1475. case map[float32]string:
  1476. fastpathTV.EncMapFloat32StringV(v, fastpathCheckNilTrue, e)
  1477. case *map[float32]string:
  1478. fastpathTV.EncMapFloat32StringV(*v, fastpathCheckNilTrue, e)
  1479. case map[float32]uint:
  1480. fastpathTV.EncMapFloat32UintV(v, fastpathCheckNilTrue, e)
  1481. case *map[float32]uint:
  1482. fastpathTV.EncMapFloat32UintV(*v, fastpathCheckNilTrue, e)
  1483. case map[float32]uint8:
  1484. fastpathTV.EncMapFloat32Uint8V(v, fastpathCheckNilTrue, e)
  1485. case *map[float32]uint8:
  1486. fastpathTV.EncMapFloat32Uint8V(*v, fastpathCheckNilTrue, e)
  1487. case map[float32]uint16:
  1488. fastpathTV.EncMapFloat32Uint16V(v, fastpathCheckNilTrue, e)
  1489. case *map[float32]uint16:
  1490. fastpathTV.EncMapFloat32Uint16V(*v, fastpathCheckNilTrue, e)
  1491. case map[float32]uint32:
  1492. fastpathTV.EncMapFloat32Uint32V(v, fastpathCheckNilTrue, e)
  1493. case *map[float32]uint32:
  1494. fastpathTV.EncMapFloat32Uint32V(*v, fastpathCheckNilTrue, e)
  1495. case map[float32]uint64:
  1496. fastpathTV.EncMapFloat32Uint64V(v, fastpathCheckNilTrue, e)
  1497. case *map[float32]uint64:
  1498. fastpathTV.EncMapFloat32Uint64V(*v, fastpathCheckNilTrue, e)
  1499. case map[float32]int:
  1500. fastpathTV.EncMapFloat32IntV(v, fastpathCheckNilTrue, e)
  1501. case *map[float32]int:
  1502. fastpathTV.EncMapFloat32IntV(*v, fastpathCheckNilTrue, e)
  1503. case map[float32]int8:
  1504. fastpathTV.EncMapFloat32Int8V(v, fastpathCheckNilTrue, e)
  1505. case *map[float32]int8:
  1506. fastpathTV.EncMapFloat32Int8V(*v, fastpathCheckNilTrue, e)
  1507. case map[float32]int16:
  1508. fastpathTV.EncMapFloat32Int16V(v, fastpathCheckNilTrue, e)
  1509. case *map[float32]int16:
  1510. fastpathTV.EncMapFloat32Int16V(*v, fastpathCheckNilTrue, e)
  1511. case map[float32]int32:
  1512. fastpathTV.EncMapFloat32Int32V(v, fastpathCheckNilTrue, e)
  1513. case *map[float32]int32:
  1514. fastpathTV.EncMapFloat32Int32V(*v, fastpathCheckNilTrue, e)
  1515. case map[float32]int64:
  1516. fastpathTV.EncMapFloat32Int64V(v, fastpathCheckNilTrue, e)
  1517. case *map[float32]int64:
  1518. fastpathTV.EncMapFloat32Int64V(*v, fastpathCheckNilTrue, e)
  1519. case map[float32]float32:
  1520. fastpathTV.EncMapFloat32Float32V(v, fastpathCheckNilTrue, e)
  1521. case *map[float32]float32:
  1522. fastpathTV.EncMapFloat32Float32V(*v, fastpathCheckNilTrue, e)
  1523. case map[float32]float64:
  1524. fastpathTV.EncMapFloat32Float64V(v, fastpathCheckNilTrue, e)
  1525. case *map[float32]float64:
  1526. fastpathTV.EncMapFloat32Float64V(*v, fastpathCheckNilTrue, e)
  1527. case map[float32]bool:
  1528. fastpathTV.EncMapFloat32BoolV(v, fastpathCheckNilTrue, e)
  1529. case *map[float32]bool:
  1530. fastpathTV.EncMapFloat32BoolV(*v, fastpathCheckNilTrue, e)
  1531. case map[float64]interface{}:
  1532. fastpathTV.EncMapFloat64IntfV(v, fastpathCheckNilTrue, e)
  1533. case *map[float64]interface{}:
  1534. fastpathTV.EncMapFloat64IntfV(*v, fastpathCheckNilTrue, e)
  1535. case map[float64]string:
  1536. fastpathTV.EncMapFloat64StringV(v, fastpathCheckNilTrue, e)
  1537. case *map[float64]string:
  1538. fastpathTV.EncMapFloat64StringV(*v, fastpathCheckNilTrue, e)
  1539. case map[float64]uint:
  1540. fastpathTV.EncMapFloat64UintV(v, fastpathCheckNilTrue, e)
  1541. case *map[float64]uint:
  1542. fastpathTV.EncMapFloat64UintV(*v, fastpathCheckNilTrue, e)
  1543. case map[float64]uint8:
  1544. fastpathTV.EncMapFloat64Uint8V(v, fastpathCheckNilTrue, e)
  1545. case *map[float64]uint8:
  1546. fastpathTV.EncMapFloat64Uint8V(*v, fastpathCheckNilTrue, e)
  1547. case map[float64]uint16:
  1548. fastpathTV.EncMapFloat64Uint16V(v, fastpathCheckNilTrue, e)
  1549. case *map[float64]uint16:
  1550. fastpathTV.EncMapFloat64Uint16V(*v, fastpathCheckNilTrue, e)
  1551. case map[float64]uint32:
  1552. fastpathTV.EncMapFloat64Uint32V(v, fastpathCheckNilTrue, e)
  1553. case *map[float64]uint32:
  1554. fastpathTV.EncMapFloat64Uint32V(*v, fastpathCheckNilTrue, e)
  1555. case map[float64]uint64:
  1556. fastpathTV.EncMapFloat64Uint64V(v, fastpathCheckNilTrue, e)
  1557. case *map[float64]uint64:
  1558. fastpathTV.EncMapFloat64Uint64V(*v, fastpathCheckNilTrue, e)
  1559. case map[float64]int:
  1560. fastpathTV.EncMapFloat64IntV(v, fastpathCheckNilTrue, e)
  1561. case *map[float64]int:
  1562. fastpathTV.EncMapFloat64IntV(*v, fastpathCheckNilTrue, e)
  1563. case map[float64]int8:
  1564. fastpathTV.EncMapFloat64Int8V(v, fastpathCheckNilTrue, e)
  1565. case *map[float64]int8:
  1566. fastpathTV.EncMapFloat64Int8V(*v, fastpathCheckNilTrue, e)
  1567. case map[float64]int16:
  1568. fastpathTV.EncMapFloat64Int16V(v, fastpathCheckNilTrue, e)
  1569. case *map[float64]int16:
  1570. fastpathTV.EncMapFloat64Int16V(*v, fastpathCheckNilTrue, e)
  1571. case map[float64]int32:
  1572. fastpathTV.EncMapFloat64Int32V(v, fastpathCheckNilTrue, e)
  1573. case *map[float64]int32:
  1574. fastpathTV.EncMapFloat64Int32V(*v, fastpathCheckNilTrue, e)
  1575. case map[float64]int64:
  1576. fastpathTV.EncMapFloat64Int64V(v, fastpathCheckNilTrue, e)
  1577. case *map[float64]int64:
  1578. fastpathTV.EncMapFloat64Int64V(*v, fastpathCheckNilTrue, e)
  1579. case map[float64]float32:
  1580. fastpathTV.EncMapFloat64Float32V(v, fastpathCheckNilTrue, e)
  1581. case *map[float64]float32:
  1582. fastpathTV.EncMapFloat64Float32V(*v, fastpathCheckNilTrue, e)
  1583. case map[float64]float64:
  1584. fastpathTV.EncMapFloat64Float64V(v, fastpathCheckNilTrue, e)
  1585. case *map[float64]float64:
  1586. fastpathTV.EncMapFloat64Float64V(*v, fastpathCheckNilTrue, e)
  1587. case map[float64]bool:
  1588. fastpathTV.EncMapFloat64BoolV(v, fastpathCheckNilTrue, e)
  1589. case *map[float64]bool:
  1590. fastpathTV.EncMapFloat64BoolV(*v, fastpathCheckNilTrue, e)
  1591. case map[uint]interface{}:
  1592. fastpathTV.EncMapUintIntfV(v, fastpathCheckNilTrue, e)
  1593. case *map[uint]interface{}:
  1594. fastpathTV.EncMapUintIntfV(*v, fastpathCheckNilTrue, e)
  1595. case map[uint]string:
  1596. fastpathTV.EncMapUintStringV(v, fastpathCheckNilTrue, e)
  1597. case *map[uint]string:
  1598. fastpathTV.EncMapUintStringV(*v, fastpathCheckNilTrue, e)
  1599. case map[uint]uint:
  1600. fastpathTV.EncMapUintUintV(v, fastpathCheckNilTrue, e)
  1601. case *map[uint]uint:
  1602. fastpathTV.EncMapUintUintV(*v, fastpathCheckNilTrue, e)
  1603. case map[uint]uint8:
  1604. fastpathTV.EncMapUintUint8V(v, fastpathCheckNilTrue, e)
  1605. case *map[uint]uint8:
  1606. fastpathTV.EncMapUintUint8V(*v, fastpathCheckNilTrue, e)
  1607. case map[uint]uint16:
  1608. fastpathTV.EncMapUintUint16V(v, fastpathCheckNilTrue, e)
  1609. case *map[uint]uint16:
  1610. fastpathTV.EncMapUintUint16V(*v, fastpathCheckNilTrue, e)
  1611. case map[uint]uint32:
  1612. fastpathTV.EncMapUintUint32V(v, fastpathCheckNilTrue, e)
  1613. case *map[uint]uint32:
  1614. fastpathTV.EncMapUintUint32V(*v, fastpathCheckNilTrue, e)
  1615. case map[uint]uint64:
  1616. fastpathTV.EncMapUintUint64V(v, fastpathCheckNilTrue, e)
  1617. case *map[uint]uint64:
  1618. fastpathTV.EncMapUintUint64V(*v, fastpathCheckNilTrue, e)
  1619. case map[uint]int:
  1620. fastpathTV.EncMapUintIntV(v, fastpathCheckNilTrue, e)
  1621. case *map[uint]int:
  1622. fastpathTV.EncMapUintIntV(*v, fastpathCheckNilTrue, e)
  1623. case map[uint]int8:
  1624. fastpathTV.EncMapUintInt8V(v, fastpathCheckNilTrue, e)
  1625. case *map[uint]int8:
  1626. fastpathTV.EncMapUintInt8V(*v, fastpathCheckNilTrue, e)
  1627. case map[uint]int16:
  1628. fastpathTV.EncMapUintInt16V(v, fastpathCheckNilTrue, e)
  1629. case *map[uint]int16:
  1630. fastpathTV.EncMapUintInt16V(*v, fastpathCheckNilTrue, e)
  1631. case map[uint]int32:
  1632. fastpathTV.EncMapUintInt32V(v, fastpathCheckNilTrue, e)
  1633. case *map[uint]int32:
  1634. fastpathTV.EncMapUintInt32V(*v, fastpathCheckNilTrue, e)
  1635. case map[uint]int64:
  1636. fastpathTV.EncMapUintInt64V(v, fastpathCheckNilTrue, e)
  1637. case *map[uint]int64:
  1638. fastpathTV.EncMapUintInt64V(*v, fastpathCheckNilTrue, e)
  1639. case map[uint]float32:
  1640. fastpathTV.EncMapUintFloat32V(v, fastpathCheckNilTrue, e)
  1641. case *map[uint]float32:
  1642. fastpathTV.EncMapUintFloat32V(*v, fastpathCheckNilTrue, e)
  1643. case map[uint]float64:
  1644. fastpathTV.EncMapUintFloat64V(v, fastpathCheckNilTrue, e)
  1645. case *map[uint]float64:
  1646. fastpathTV.EncMapUintFloat64V(*v, fastpathCheckNilTrue, e)
  1647. case map[uint]bool:
  1648. fastpathTV.EncMapUintBoolV(v, fastpathCheckNilTrue, e)
  1649. case *map[uint]bool:
  1650. fastpathTV.EncMapUintBoolV(*v, fastpathCheckNilTrue, e)
  1651. case map[uint8]interface{}:
  1652. fastpathTV.EncMapUint8IntfV(v, fastpathCheckNilTrue, e)
  1653. case *map[uint8]interface{}:
  1654. fastpathTV.EncMapUint8IntfV(*v, fastpathCheckNilTrue, e)
  1655. case map[uint8]string:
  1656. fastpathTV.EncMapUint8StringV(v, fastpathCheckNilTrue, e)
  1657. case *map[uint8]string:
  1658. fastpathTV.EncMapUint8StringV(*v, fastpathCheckNilTrue, e)
  1659. case map[uint8]uint:
  1660. fastpathTV.EncMapUint8UintV(v, fastpathCheckNilTrue, e)
  1661. case *map[uint8]uint:
  1662. fastpathTV.EncMapUint8UintV(*v, fastpathCheckNilTrue, e)
  1663. case map[uint8]uint8:
  1664. fastpathTV.EncMapUint8Uint8V(v, fastpathCheckNilTrue, e)
  1665. case *map[uint8]uint8:
  1666. fastpathTV.EncMapUint8Uint8V(*v, fastpathCheckNilTrue, e)
  1667. case map[uint8]uint16:
  1668. fastpathTV.EncMapUint8Uint16V(v, fastpathCheckNilTrue, e)
  1669. case *map[uint8]uint16:
  1670. fastpathTV.EncMapUint8Uint16V(*v, fastpathCheckNilTrue, e)
  1671. case map[uint8]uint32:
  1672. fastpathTV.EncMapUint8Uint32V(v, fastpathCheckNilTrue, e)
  1673. case *map[uint8]uint32:
  1674. fastpathTV.EncMapUint8Uint32V(*v, fastpathCheckNilTrue, e)
  1675. case map[uint8]uint64:
  1676. fastpathTV.EncMapUint8Uint64V(v, fastpathCheckNilTrue, e)
  1677. case *map[uint8]uint64:
  1678. fastpathTV.EncMapUint8Uint64V(*v, fastpathCheckNilTrue, e)
  1679. case map[uint8]int:
  1680. fastpathTV.EncMapUint8IntV(v, fastpathCheckNilTrue, e)
  1681. case *map[uint8]int:
  1682. fastpathTV.EncMapUint8IntV(*v, fastpathCheckNilTrue, e)
  1683. case map[uint8]int8:
  1684. fastpathTV.EncMapUint8Int8V(v, fastpathCheckNilTrue, e)
  1685. case *map[uint8]int8:
  1686. fastpathTV.EncMapUint8Int8V(*v, fastpathCheckNilTrue, e)
  1687. case map[uint8]int16:
  1688. fastpathTV.EncMapUint8Int16V(v, fastpathCheckNilTrue, e)
  1689. case *map[uint8]int16:
  1690. fastpathTV.EncMapUint8Int16V(*v, fastpathCheckNilTrue, e)
  1691. case map[uint8]int32:
  1692. fastpathTV.EncMapUint8Int32V(v, fastpathCheckNilTrue, e)
  1693. case *map[uint8]int32:
  1694. fastpathTV.EncMapUint8Int32V(*v, fastpathCheckNilTrue, e)
  1695. case map[uint8]int64:
  1696. fastpathTV.EncMapUint8Int64V(v, fastpathCheckNilTrue, e)
  1697. case *map[uint8]int64:
  1698. fastpathTV.EncMapUint8Int64V(*v, fastpathCheckNilTrue, e)
  1699. case map[uint8]float32:
  1700. fastpathTV.EncMapUint8Float32V(v, fastpathCheckNilTrue, e)
  1701. case *map[uint8]float32:
  1702. fastpathTV.EncMapUint8Float32V(*v, fastpathCheckNilTrue, e)
  1703. case map[uint8]float64:
  1704. fastpathTV.EncMapUint8Float64V(v, fastpathCheckNilTrue, e)
  1705. case *map[uint8]float64:
  1706. fastpathTV.EncMapUint8Float64V(*v, fastpathCheckNilTrue, e)
  1707. case map[uint8]bool:
  1708. fastpathTV.EncMapUint8BoolV(v, fastpathCheckNilTrue, e)
  1709. case *map[uint8]bool:
  1710. fastpathTV.EncMapUint8BoolV(*v, fastpathCheckNilTrue, e)
  1711. case map[uint16]interface{}:
  1712. fastpathTV.EncMapUint16IntfV(v, fastpathCheckNilTrue, e)
  1713. case *map[uint16]interface{}:
  1714. fastpathTV.EncMapUint16IntfV(*v, fastpathCheckNilTrue, e)
  1715. case map[uint16]string:
  1716. fastpathTV.EncMapUint16StringV(v, fastpathCheckNilTrue, e)
  1717. case *map[uint16]string:
  1718. fastpathTV.EncMapUint16StringV(*v, fastpathCheckNilTrue, e)
  1719. case map[uint16]uint:
  1720. fastpathTV.EncMapUint16UintV(v, fastpathCheckNilTrue, e)
  1721. case *map[uint16]uint:
  1722. fastpathTV.EncMapUint16UintV(*v, fastpathCheckNilTrue, e)
  1723. case map[uint16]uint8:
  1724. fastpathTV.EncMapUint16Uint8V(v, fastpathCheckNilTrue, e)
  1725. case *map[uint16]uint8:
  1726. fastpathTV.EncMapUint16Uint8V(*v, fastpathCheckNilTrue, e)
  1727. case map[uint16]uint16:
  1728. fastpathTV.EncMapUint16Uint16V(v, fastpathCheckNilTrue, e)
  1729. case *map[uint16]uint16:
  1730. fastpathTV.EncMapUint16Uint16V(*v, fastpathCheckNilTrue, e)
  1731. case map[uint16]uint32:
  1732. fastpathTV.EncMapUint16Uint32V(v, fastpathCheckNilTrue, e)
  1733. case *map[uint16]uint32:
  1734. fastpathTV.EncMapUint16Uint32V(*v, fastpathCheckNilTrue, e)
  1735. case map[uint16]uint64:
  1736. fastpathTV.EncMapUint16Uint64V(v, fastpathCheckNilTrue, e)
  1737. case *map[uint16]uint64:
  1738. fastpathTV.EncMapUint16Uint64V(*v, fastpathCheckNilTrue, e)
  1739. case map[uint16]int:
  1740. fastpathTV.EncMapUint16IntV(v, fastpathCheckNilTrue, e)
  1741. case *map[uint16]int:
  1742. fastpathTV.EncMapUint16IntV(*v, fastpathCheckNilTrue, e)
  1743. case map[uint16]int8:
  1744. fastpathTV.EncMapUint16Int8V(v, fastpathCheckNilTrue, e)
  1745. case *map[uint16]int8:
  1746. fastpathTV.EncMapUint16Int8V(*v, fastpathCheckNilTrue, e)
  1747. case map[uint16]int16:
  1748. fastpathTV.EncMapUint16Int16V(v, fastpathCheckNilTrue, e)
  1749. case *map[uint16]int16:
  1750. fastpathTV.EncMapUint16Int16V(*v, fastpathCheckNilTrue, e)
  1751. case map[uint16]int32:
  1752. fastpathTV.EncMapUint16Int32V(v, fastpathCheckNilTrue, e)
  1753. case *map[uint16]int32:
  1754. fastpathTV.EncMapUint16Int32V(*v, fastpathCheckNilTrue, e)
  1755. case map[uint16]int64:
  1756. fastpathTV.EncMapUint16Int64V(v, fastpathCheckNilTrue, e)
  1757. case *map[uint16]int64:
  1758. fastpathTV.EncMapUint16Int64V(*v, fastpathCheckNilTrue, e)
  1759. case map[uint16]float32:
  1760. fastpathTV.EncMapUint16Float32V(v, fastpathCheckNilTrue, e)
  1761. case *map[uint16]float32:
  1762. fastpathTV.EncMapUint16Float32V(*v, fastpathCheckNilTrue, e)
  1763. case map[uint16]float64:
  1764. fastpathTV.EncMapUint16Float64V(v, fastpathCheckNilTrue, e)
  1765. case *map[uint16]float64:
  1766. fastpathTV.EncMapUint16Float64V(*v, fastpathCheckNilTrue, e)
  1767. case map[uint16]bool:
  1768. fastpathTV.EncMapUint16BoolV(v, fastpathCheckNilTrue, e)
  1769. case *map[uint16]bool:
  1770. fastpathTV.EncMapUint16BoolV(*v, fastpathCheckNilTrue, e)
  1771. case map[uint32]interface{}:
  1772. fastpathTV.EncMapUint32IntfV(v, fastpathCheckNilTrue, e)
  1773. case *map[uint32]interface{}:
  1774. fastpathTV.EncMapUint32IntfV(*v, fastpathCheckNilTrue, e)
  1775. case map[uint32]string:
  1776. fastpathTV.EncMapUint32StringV(v, fastpathCheckNilTrue, e)
  1777. case *map[uint32]string:
  1778. fastpathTV.EncMapUint32StringV(*v, fastpathCheckNilTrue, e)
  1779. case map[uint32]uint:
  1780. fastpathTV.EncMapUint32UintV(v, fastpathCheckNilTrue, e)
  1781. case *map[uint32]uint:
  1782. fastpathTV.EncMapUint32UintV(*v, fastpathCheckNilTrue, e)
  1783. case map[uint32]uint8:
  1784. fastpathTV.EncMapUint32Uint8V(v, fastpathCheckNilTrue, e)
  1785. case *map[uint32]uint8:
  1786. fastpathTV.EncMapUint32Uint8V(*v, fastpathCheckNilTrue, e)
  1787. case map[uint32]uint16:
  1788. fastpathTV.EncMapUint32Uint16V(v, fastpathCheckNilTrue, e)
  1789. case *map[uint32]uint16:
  1790. fastpathTV.EncMapUint32Uint16V(*v, fastpathCheckNilTrue, e)
  1791. case map[uint32]uint32:
  1792. fastpathTV.EncMapUint32Uint32V(v, fastpathCheckNilTrue, e)
  1793. case *map[uint32]uint32:
  1794. fastpathTV.EncMapUint32Uint32V(*v, fastpathCheckNilTrue, e)
  1795. case map[uint32]uint64:
  1796. fastpathTV.EncMapUint32Uint64V(v, fastpathCheckNilTrue, e)
  1797. case *map[uint32]uint64:
  1798. fastpathTV.EncMapUint32Uint64V(*v, fastpathCheckNilTrue, e)
  1799. case map[uint32]int:
  1800. fastpathTV.EncMapUint32IntV(v, fastpathCheckNilTrue, e)
  1801. case *map[uint32]int:
  1802. fastpathTV.EncMapUint32IntV(*v, fastpathCheckNilTrue, e)
  1803. case map[uint32]int8:
  1804. fastpathTV.EncMapUint32Int8V(v, fastpathCheckNilTrue, e)
  1805. case *map[uint32]int8:
  1806. fastpathTV.EncMapUint32Int8V(*v, fastpathCheckNilTrue, e)
  1807. case map[uint32]int16:
  1808. fastpathTV.EncMapUint32Int16V(v, fastpathCheckNilTrue, e)
  1809. case *map[uint32]int16:
  1810. fastpathTV.EncMapUint32Int16V(*v, fastpathCheckNilTrue, e)
  1811. case map[uint32]int32:
  1812. fastpathTV.EncMapUint32Int32V(v, fastpathCheckNilTrue, e)
  1813. case *map[uint32]int32:
  1814. fastpathTV.EncMapUint32Int32V(*v, fastpathCheckNilTrue, e)
  1815. case map[uint32]int64:
  1816. fastpathTV.EncMapUint32Int64V(v, fastpathCheckNilTrue, e)
  1817. case *map[uint32]int64:
  1818. fastpathTV.EncMapUint32Int64V(*v, fastpathCheckNilTrue, e)
  1819. case map[uint32]float32:
  1820. fastpathTV.EncMapUint32Float32V(v, fastpathCheckNilTrue, e)
  1821. case *map[uint32]float32:
  1822. fastpathTV.EncMapUint32Float32V(*v, fastpathCheckNilTrue, e)
  1823. case map[uint32]float64:
  1824. fastpathTV.EncMapUint32Float64V(v, fastpathCheckNilTrue, e)
  1825. case *map[uint32]float64:
  1826. fastpathTV.EncMapUint32Float64V(*v, fastpathCheckNilTrue, e)
  1827. case map[uint32]bool:
  1828. fastpathTV.EncMapUint32BoolV(v, fastpathCheckNilTrue, e)
  1829. case *map[uint32]bool:
  1830. fastpathTV.EncMapUint32BoolV(*v, fastpathCheckNilTrue, e)
  1831. case map[uint64]interface{}:
  1832. fastpathTV.EncMapUint64IntfV(v, fastpathCheckNilTrue, e)
  1833. case *map[uint64]interface{}:
  1834. fastpathTV.EncMapUint64IntfV(*v, fastpathCheckNilTrue, e)
  1835. case map[uint64]string:
  1836. fastpathTV.EncMapUint64StringV(v, fastpathCheckNilTrue, e)
  1837. case *map[uint64]string:
  1838. fastpathTV.EncMapUint64StringV(*v, fastpathCheckNilTrue, e)
  1839. case map[uint64]uint:
  1840. fastpathTV.EncMapUint64UintV(v, fastpathCheckNilTrue, e)
  1841. case *map[uint64]uint:
  1842. fastpathTV.EncMapUint64UintV(*v, fastpathCheckNilTrue, e)
  1843. case map[uint64]uint8:
  1844. fastpathTV.EncMapUint64Uint8V(v, fastpathCheckNilTrue, e)
  1845. case *map[uint64]uint8:
  1846. fastpathTV.EncMapUint64Uint8V(*v, fastpathCheckNilTrue, e)
  1847. case map[uint64]uint16:
  1848. fastpathTV.EncMapUint64Uint16V(v, fastpathCheckNilTrue, e)
  1849. case *map[uint64]uint16:
  1850. fastpathTV.EncMapUint64Uint16V(*v, fastpathCheckNilTrue, e)
  1851. case map[uint64]uint32:
  1852. fastpathTV.EncMapUint64Uint32V(v, fastpathCheckNilTrue, e)
  1853. case *map[uint64]uint32:
  1854. fastpathTV.EncMapUint64Uint32V(*v, fastpathCheckNilTrue, e)
  1855. case map[uint64]uint64:
  1856. fastpathTV.EncMapUint64Uint64V(v, fastpathCheckNilTrue, e)
  1857. case *map[uint64]uint64:
  1858. fastpathTV.EncMapUint64Uint64V(*v, fastpathCheckNilTrue, e)
  1859. case map[uint64]int:
  1860. fastpathTV.EncMapUint64IntV(v, fastpathCheckNilTrue, e)
  1861. case *map[uint64]int:
  1862. fastpathTV.EncMapUint64IntV(*v, fastpathCheckNilTrue, e)
  1863. case map[uint64]int8:
  1864. fastpathTV.EncMapUint64Int8V(v, fastpathCheckNilTrue, e)
  1865. case *map[uint64]int8:
  1866. fastpathTV.EncMapUint64Int8V(*v, fastpathCheckNilTrue, e)
  1867. case map[uint64]int16:
  1868. fastpathTV.EncMapUint64Int16V(v, fastpathCheckNilTrue, e)
  1869. case *map[uint64]int16:
  1870. fastpathTV.EncMapUint64Int16V(*v, fastpathCheckNilTrue, e)
  1871. case map[uint64]int32:
  1872. fastpathTV.EncMapUint64Int32V(v, fastpathCheckNilTrue, e)
  1873. case *map[uint64]int32:
  1874. fastpathTV.EncMapUint64Int32V(*v, fastpathCheckNilTrue, e)
  1875. case map[uint64]int64:
  1876. fastpathTV.EncMapUint64Int64V(v, fastpathCheckNilTrue, e)
  1877. case *map[uint64]int64:
  1878. fastpathTV.EncMapUint64Int64V(*v, fastpathCheckNilTrue, e)
  1879. case map[uint64]float32:
  1880. fastpathTV.EncMapUint64Float32V(v, fastpathCheckNilTrue, e)
  1881. case *map[uint64]float32:
  1882. fastpathTV.EncMapUint64Float32V(*v, fastpathCheckNilTrue, e)
  1883. case map[uint64]float64:
  1884. fastpathTV.EncMapUint64Float64V(v, fastpathCheckNilTrue, e)
  1885. case *map[uint64]float64:
  1886. fastpathTV.EncMapUint64Float64V(*v, fastpathCheckNilTrue, e)
  1887. case map[uint64]bool:
  1888. fastpathTV.EncMapUint64BoolV(v, fastpathCheckNilTrue, e)
  1889. case *map[uint64]bool:
  1890. fastpathTV.EncMapUint64BoolV(*v, fastpathCheckNilTrue, e)
  1891. case map[int]interface{}:
  1892. fastpathTV.EncMapIntIntfV(v, fastpathCheckNilTrue, e)
  1893. case *map[int]interface{}:
  1894. fastpathTV.EncMapIntIntfV(*v, fastpathCheckNilTrue, e)
  1895. case map[int]string:
  1896. fastpathTV.EncMapIntStringV(v, fastpathCheckNilTrue, e)
  1897. case *map[int]string:
  1898. fastpathTV.EncMapIntStringV(*v, fastpathCheckNilTrue, e)
  1899. case map[int]uint:
  1900. fastpathTV.EncMapIntUintV(v, fastpathCheckNilTrue, e)
  1901. case *map[int]uint:
  1902. fastpathTV.EncMapIntUintV(*v, fastpathCheckNilTrue, e)
  1903. case map[int]uint8:
  1904. fastpathTV.EncMapIntUint8V(v, fastpathCheckNilTrue, e)
  1905. case *map[int]uint8:
  1906. fastpathTV.EncMapIntUint8V(*v, fastpathCheckNilTrue, e)
  1907. case map[int]uint16:
  1908. fastpathTV.EncMapIntUint16V(v, fastpathCheckNilTrue, e)
  1909. case *map[int]uint16:
  1910. fastpathTV.EncMapIntUint16V(*v, fastpathCheckNilTrue, e)
  1911. case map[int]uint32:
  1912. fastpathTV.EncMapIntUint32V(v, fastpathCheckNilTrue, e)
  1913. case *map[int]uint32:
  1914. fastpathTV.EncMapIntUint32V(*v, fastpathCheckNilTrue, e)
  1915. case map[int]uint64:
  1916. fastpathTV.EncMapIntUint64V(v, fastpathCheckNilTrue, e)
  1917. case *map[int]uint64:
  1918. fastpathTV.EncMapIntUint64V(*v, fastpathCheckNilTrue, e)
  1919. case map[int]int:
  1920. fastpathTV.EncMapIntIntV(v, fastpathCheckNilTrue, e)
  1921. case *map[int]int:
  1922. fastpathTV.EncMapIntIntV(*v, fastpathCheckNilTrue, e)
  1923. case map[int]int8:
  1924. fastpathTV.EncMapIntInt8V(v, fastpathCheckNilTrue, e)
  1925. case *map[int]int8:
  1926. fastpathTV.EncMapIntInt8V(*v, fastpathCheckNilTrue, e)
  1927. case map[int]int16:
  1928. fastpathTV.EncMapIntInt16V(v, fastpathCheckNilTrue, e)
  1929. case *map[int]int16:
  1930. fastpathTV.EncMapIntInt16V(*v, fastpathCheckNilTrue, e)
  1931. case map[int]int32:
  1932. fastpathTV.EncMapIntInt32V(v, fastpathCheckNilTrue, e)
  1933. case *map[int]int32:
  1934. fastpathTV.EncMapIntInt32V(*v, fastpathCheckNilTrue, e)
  1935. case map[int]int64:
  1936. fastpathTV.EncMapIntInt64V(v, fastpathCheckNilTrue, e)
  1937. case *map[int]int64:
  1938. fastpathTV.EncMapIntInt64V(*v, fastpathCheckNilTrue, e)
  1939. case map[int]float32:
  1940. fastpathTV.EncMapIntFloat32V(v, fastpathCheckNilTrue, e)
  1941. case *map[int]float32:
  1942. fastpathTV.EncMapIntFloat32V(*v, fastpathCheckNilTrue, e)
  1943. case map[int]float64:
  1944. fastpathTV.EncMapIntFloat64V(v, fastpathCheckNilTrue, e)
  1945. case *map[int]float64:
  1946. fastpathTV.EncMapIntFloat64V(*v, fastpathCheckNilTrue, e)
  1947. case map[int]bool:
  1948. fastpathTV.EncMapIntBoolV(v, fastpathCheckNilTrue, e)
  1949. case *map[int]bool:
  1950. fastpathTV.EncMapIntBoolV(*v, fastpathCheckNilTrue, e)
  1951. case map[int8]interface{}:
  1952. fastpathTV.EncMapInt8IntfV(v, fastpathCheckNilTrue, e)
  1953. case *map[int8]interface{}:
  1954. fastpathTV.EncMapInt8IntfV(*v, fastpathCheckNilTrue, e)
  1955. case map[int8]string:
  1956. fastpathTV.EncMapInt8StringV(v, fastpathCheckNilTrue, e)
  1957. case *map[int8]string:
  1958. fastpathTV.EncMapInt8StringV(*v, fastpathCheckNilTrue, e)
  1959. case map[int8]uint:
  1960. fastpathTV.EncMapInt8UintV(v, fastpathCheckNilTrue, e)
  1961. case *map[int8]uint:
  1962. fastpathTV.EncMapInt8UintV(*v, fastpathCheckNilTrue, e)
  1963. case map[int8]uint8:
  1964. fastpathTV.EncMapInt8Uint8V(v, fastpathCheckNilTrue, e)
  1965. case *map[int8]uint8:
  1966. fastpathTV.EncMapInt8Uint8V(*v, fastpathCheckNilTrue, e)
  1967. case map[int8]uint16:
  1968. fastpathTV.EncMapInt8Uint16V(v, fastpathCheckNilTrue, e)
  1969. case *map[int8]uint16:
  1970. fastpathTV.EncMapInt8Uint16V(*v, fastpathCheckNilTrue, e)
  1971. case map[int8]uint32:
  1972. fastpathTV.EncMapInt8Uint32V(v, fastpathCheckNilTrue, e)
  1973. case *map[int8]uint32:
  1974. fastpathTV.EncMapInt8Uint32V(*v, fastpathCheckNilTrue, e)
  1975. case map[int8]uint64:
  1976. fastpathTV.EncMapInt8Uint64V(v, fastpathCheckNilTrue, e)
  1977. case *map[int8]uint64:
  1978. fastpathTV.EncMapInt8Uint64V(*v, fastpathCheckNilTrue, e)
  1979. case map[int8]int:
  1980. fastpathTV.EncMapInt8IntV(v, fastpathCheckNilTrue, e)
  1981. case *map[int8]int:
  1982. fastpathTV.EncMapInt8IntV(*v, fastpathCheckNilTrue, e)
  1983. case map[int8]int8:
  1984. fastpathTV.EncMapInt8Int8V(v, fastpathCheckNilTrue, e)
  1985. case *map[int8]int8:
  1986. fastpathTV.EncMapInt8Int8V(*v, fastpathCheckNilTrue, e)
  1987. case map[int8]int16:
  1988. fastpathTV.EncMapInt8Int16V(v, fastpathCheckNilTrue, e)
  1989. case *map[int8]int16:
  1990. fastpathTV.EncMapInt8Int16V(*v, fastpathCheckNilTrue, e)
  1991. case map[int8]int32:
  1992. fastpathTV.EncMapInt8Int32V(v, fastpathCheckNilTrue, e)
  1993. case *map[int8]int32:
  1994. fastpathTV.EncMapInt8Int32V(*v, fastpathCheckNilTrue, e)
  1995. case map[int8]int64:
  1996. fastpathTV.EncMapInt8Int64V(v, fastpathCheckNilTrue, e)
  1997. case *map[int8]int64:
  1998. fastpathTV.EncMapInt8Int64V(*v, fastpathCheckNilTrue, e)
  1999. case map[int8]float32:
  2000. fastpathTV.EncMapInt8Float32V(v, fastpathCheckNilTrue, e)
  2001. case *map[int8]float32:
  2002. fastpathTV.EncMapInt8Float32V(*v, fastpathCheckNilTrue, e)
  2003. case map[int8]float64:
  2004. fastpathTV.EncMapInt8Float64V(v, fastpathCheckNilTrue, e)
  2005. case *map[int8]float64:
  2006. fastpathTV.EncMapInt8Float64V(*v, fastpathCheckNilTrue, e)
  2007. case map[int8]bool:
  2008. fastpathTV.EncMapInt8BoolV(v, fastpathCheckNilTrue, e)
  2009. case *map[int8]bool:
  2010. fastpathTV.EncMapInt8BoolV(*v, fastpathCheckNilTrue, e)
  2011. case map[int16]interface{}:
  2012. fastpathTV.EncMapInt16IntfV(v, fastpathCheckNilTrue, e)
  2013. case *map[int16]interface{}:
  2014. fastpathTV.EncMapInt16IntfV(*v, fastpathCheckNilTrue, e)
  2015. case map[int16]string:
  2016. fastpathTV.EncMapInt16StringV(v, fastpathCheckNilTrue, e)
  2017. case *map[int16]string:
  2018. fastpathTV.EncMapInt16StringV(*v, fastpathCheckNilTrue, e)
  2019. case map[int16]uint:
  2020. fastpathTV.EncMapInt16UintV(v, fastpathCheckNilTrue, e)
  2021. case *map[int16]uint:
  2022. fastpathTV.EncMapInt16UintV(*v, fastpathCheckNilTrue, e)
  2023. case map[int16]uint8:
  2024. fastpathTV.EncMapInt16Uint8V(v, fastpathCheckNilTrue, e)
  2025. case *map[int16]uint8:
  2026. fastpathTV.EncMapInt16Uint8V(*v, fastpathCheckNilTrue, e)
  2027. case map[int16]uint16:
  2028. fastpathTV.EncMapInt16Uint16V(v, fastpathCheckNilTrue, e)
  2029. case *map[int16]uint16:
  2030. fastpathTV.EncMapInt16Uint16V(*v, fastpathCheckNilTrue, e)
  2031. case map[int16]uint32:
  2032. fastpathTV.EncMapInt16Uint32V(v, fastpathCheckNilTrue, e)
  2033. case *map[int16]uint32:
  2034. fastpathTV.EncMapInt16Uint32V(*v, fastpathCheckNilTrue, e)
  2035. case map[int16]uint64:
  2036. fastpathTV.EncMapInt16Uint64V(v, fastpathCheckNilTrue, e)
  2037. case *map[int16]uint64:
  2038. fastpathTV.EncMapInt16Uint64V(*v, fastpathCheckNilTrue, e)
  2039. case map[int16]int:
  2040. fastpathTV.EncMapInt16IntV(v, fastpathCheckNilTrue, e)
  2041. case *map[int16]int:
  2042. fastpathTV.EncMapInt16IntV(*v, fastpathCheckNilTrue, e)
  2043. case map[int16]int8:
  2044. fastpathTV.EncMapInt16Int8V(v, fastpathCheckNilTrue, e)
  2045. case *map[int16]int8:
  2046. fastpathTV.EncMapInt16Int8V(*v, fastpathCheckNilTrue, e)
  2047. case map[int16]int16:
  2048. fastpathTV.EncMapInt16Int16V(v, fastpathCheckNilTrue, e)
  2049. case *map[int16]int16:
  2050. fastpathTV.EncMapInt16Int16V(*v, fastpathCheckNilTrue, e)
  2051. case map[int16]int32:
  2052. fastpathTV.EncMapInt16Int32V(v, fastpathCheckNilTrue, e)
  2053. case *map[int16]int32:
  2054. fastpathTV.EncMapInt16Int32V(*v, fastpathCheckNilTrue, e)
  2055. case map[int16]int64:
  2056. fastpathTV.EncMapInt16Int64V(v, fastpathCheckNilTrue, e)
  2057. case *map[int16]int64:
  2058. fastpathTV.EncMapInt16Int64V(*v, fastpathCheckNilTrue, e)
  2059. case map[int16]float32:
  2060. fastpathTV.EncMapInt16Float32V(v, fastpathCheckNilTrue, e)
  2061. case *map[int16]float32:
  2062. fastpathTV.EncMapInt16Float32V(*v, fastpathCheckNilTrue, e)
  2063. case map[int16]float64:
  2064. fastpathTV.EncMapInt16Float64V(v, fastpathCheckNilTrue, e)
  2065. case *map[int16]float64:
  2066. fastpathTV.EncMapInt16Float64V(*v, fastpathCheckNilTrue, e)
  2067. case map[int16]bool:
  2068. fastpathTV.EncMapInt16BoolV(v, fastpathCheckNilTrue, e)
  2069. case *map[int16]bool:
  2070. fastpathTV.EncMapInt16BoolV(*v, fastpathCheckNilTrue, e)
  2071. case map[int32]interface{}:
  2072. fastpathTV.EncMapInt32IntfV(v, fastpathCheckNilTrue, e)
  2073. case *map[int32]interface{}:
  2074. fastpathTV.EncMapInt32IntfV(*v, fastpathCheckNilTrue, e)
  2075. case map[int32]string:
  2076. fastpathTV.EncMapInt32StringV(v, fastpathCheckNilTrue, e)
  2077. case *map[int32]string:
  2078. fastpathTV.EncMapInt32StringV(*v, fastpathCheckNilTrue, e)
  2079. case map[int32]uint:
  2080. fastpathTV.EncMapInt32UintV(v, fastpathCheckNilTrue, e)
  2081. case *map[int32]uint:
  2082. fastpathTV.EncMapInt32UintV(*v, fastpathCheckNilTrue, e)
  2083. case map[int32]uint8:
  2084. fastpathTV.EncMapInt32Uint8V(v, fastpathCheckNilTrue, e)
  2085. case *map[int32]uint8:
  2086. fastpathTV.EncMapInt32Uint8V(*v, fastpathCheckNilTrue, e)
  2087. case map[int32]uint16:
  2088. fastpathTV.EncMapInt32Uint16V(v, fastpathCheckNilTrue, e)
  2089. case *map[int32]uint16:
  2090. fastpathTV.EncMapInt32Uint16V(*v, fastpathCheckNilTrue, e)
  2091. case map[int32]uint32:
  2092. fastpathTV.EncMapInt32Uint32V(v, fastpathCheckNilTrue, e)
  2093. case *map[int32]uint32:
  2094. fastpathTV.EncMapInt32Uint32V(*v, fastpathCheckNilTrue, e)
  2095. case map[int32]uint64:
  2096. fastpathTV.EncMapInt32Uint64V(v, fastpathCheckNilTrue, e)
  2097. case *map[int32]uint64:
  2098. fastpathTV.EncMapInt32Uint64V(*v, fastpathCheckNilTrue, e)
  2099. case map[int32]int:
  2100. fastpathTV.EncMapInt32IntV(v, fastpathCheckNilTrue, e)
  2101. case *map[int32]int:
  2102. fastpathTV.EncMapInt32IntV(*v, fastpathCheckNilTrue, e)
  2103. case map[int32]int8:
  2104. fastpathTV.EncMapInt32Int8V(v, fastpathCheckNilTrue, e)
  2105. case *map[int32]int8:
  2106. fastpathTV.EncMapInt32Int8V(*v, fastpathCheckNilTrue, e)
  2107. case map[int32]int16:
  2108. fastpathTV.EncMapInt32Int16V(v, fastpathCheckNilTrue, e)
  2109. case *map[int32]int16:
  2110. fastpathTV.EncMapInt32Int16V(*v, fastpathCheckNilTrue, e)
  2111. case map[int32]int32:
  2112. fastpathTV.EncMapInt32Int32V(v, fastpathCheckNilTrue, e)
  2113. case *map[int32]int32:
  2114. fastpathTV.EncMapInt32Int32V(*v, fastpathCheckNilTrue, e)
  2115. case map[int32]int64:
  2116. fastpathTV.EncMapInt32Int64V(v, fastpathCheckNilTrue, e)
  2117. case *map[int32]int64:
  2118. fastpathTV.EncMapInt32Int64V(*v, fastpathCheckNilTrue, e)
  2119. case map[int32]float32:
  2120. fastpathTV.EncMapInt32Float32V(v, fastpathCheckNilTrue, e)
  2121. case *map[int32]float32:
  2122. fastpathTV.EncMapInt32Float32V(*v, fastpathCheckNilTrue, e)
  2123. case map[int32]float64:
  2124. fastpathTV.EncMapInt32Float64V(v, fastpathCheckNilTrue, e)
  2125. case *map[int32]float64:
  2126. fastpathTV.EncMapInt32Float64V(*v, fastpathCheckNilTrue, e)
  2127. case map[int32]bool:
  2128. fastpathTV.EncMapInt32BoolV(v, fastpathCheckNilTrue, e)
  2129. case *map[int32]bool:
  2130. fastpathTV.EncMapInt32BoolV(*v, fastpathCheckNilTrue, e)
  2131. case map[int64]interface{}:
  2132. fastpathTV.EncMapInt64IntfV(v, fastpathCheckNilTrue, e)
  2133. case *map[int64]interface{}:
  2134. fastpathTV.EncMapInt64IntfV(*v, fastpathCheckNilTrue, e)
  2135. case map[int64]string:
  2136. fastpathTV.EncMapInt64StringV(v, fastpathCheckNilTrue, e)
  2137. case *map[int64]string:
  2138. fastpathTV.EncMapInt64StringV(*v, fastpathCheckNilTrue, e)
  2139. case map[int64]uint:
  2140. fastpathTV.EncMapInt64UintV(v, fastpathCheckNilTrue, e)
  2141. case *map[int64]uint:
  2142. fastpathTV.EncMapInt64UintV(*v, fastpathCheckNilTrue, e)
  2143. case map[int64]uint8:
  2144. fastpathTV.EncMapInt64Uint8V(v, fastpathCheckNilTrue, e)
  2145. case *map[int64]uint8:
  2146. fastpathTV.EncMapInt64Uint8V(*v, fastpathCheckNilTrue, e)
  2147. case map[int64]uint16:
  2148. fastpathTV.EncMapInt64Uint16V(v, fastpathCheckNilTrue, e)
  2149. case *map[int64]uint16:
  2150. fastpathTV.EncMapInt64Uint16V(*v, fastpathCheckNilTrue, e)
  2151. case map[int64]uint32:
  2152. fastpathTV.EncMapInt64Uint32V(v, fastpathCheckNilTrue, e)
  2153. case *map[int64]uint32:
  2154. fastpathTV.EncMapInt64Uint32V(*v, fastpathCheckNilTrue, e)
  2155. case map[int64]uint64:
  2156. fastpathTV.EncMapInt64Uint64V(v, fastpathCheckNilTrue, e)
  2157. case *map[int64]uint64:
  2158. fastpathTV.EncMapInt64Uint64V(*v, fastpathCheckNilTrue, e)
  2159. case map[int64]int:
  2160. fastpathTV.EncMapInt64IntV(v, fastpathCheckNilTrue, e)
  2161. case *map[int64]int:
  2162. fastpathTV.EncMapInt64IntV(*v, fastpathCheckNilTrue, e)
  2163. case map[int64]int8:
  2164. fastpathTV.EncMapInt64Int8V(v, fastpathCheckNilTrue, e)
  2165. case *map[int64]int8:
  2166. fastpathTV.EncMapInt64Int8V(*v, fastpathCheckNilTrue, e)
  2167. case map[int64]int16:
  2168. fastpathTV.EncMapInt64Int16V(v, fastpathCheckNilTrue, e)
  2169. case *map[int64]int16:
  2170. fastpathTV.EncMapInt64Int16V(*v, fastpathCheckNilTrue, e)
  2171. case map[int64]int32:
  2172. fastpathTV.EncMapInt64Int32V(v, fastpathCheckNilTrue, e)
  2173. case *map[int64]int32:
  2174. fastpathTV.EncMapInt64Int32V(*v, fastpathCheckNilTrue, e)
  2175. case map[int64]int64:
  2176. fastpathTV.EncMapInt64Int64V(v, fastpathCheckNilTrue, e)
  2177. case *map[int64]int64:
  2178. fastpathTV.EncMapInt64Int64V(*v, fastpathCheckNilTrue, e)
  2179. case map[int64]float32:
  2180. fastpathTV.EncMapInt64Float32V(v, fastpathCheckNilTrue, e)
  2181. case *map[int64]float32:
  2182. fastpathTV.EncMapInt64Float32V(*v, fastpathCheckNilTrue, e)
  2183. case map[int64]float64:
  2184. fastpathTV.EncMapInt64Float64V(v, fastpathCheckNilTrue, e)
  2185. case *map[int64]float64:
  2186. fastpathTV.EncMapInt64Float64V(*v, fastpathCheckNilTrue, e)
  2187. case map[int64]bool:
  2188. fastpathTV.EncMapInt64BoolV(v, fastpathCheckNilTrue, e)
  2189. case *map[int64]bool:
  2190. fastpathTV.EncMapInt64BoolV(*v, fastpathCheckNilTrue, e)
  2191. case map[bool]interface{}:
  2192. fastpathTV.EncMapBoolIntfV(v, fastpathCheckNilTrue, e)
  2193. case *map[bool]interface{}:
  2194. fastpathTV.EncMapBoolIntfV(*v, fastpathCheckNilTrue, e)
  2195. case map[bool]string:
  2196. fastpathTV.EncMapBoolStringV(v, fastpathCheckNilTrue, e)
  2197. case *map[bool]string:
  2198. fastpathTV.EncMapBoolStringV(*v, fastpathCheckNilTrue, e)
  2199. case map[bool]uint:
  2200. fastpathTV.EncMapBoolUintV(v, fastpathCheckNilTrue, e)
  2201. case *map[bool]uint:
  2202. fastpathTV.EncMapBoolUintV(*v, fastpathCheckNilTrue, e)
  2203. case map[bool]uint8:
  2204. fastpathTV.EncMapBoolUint8V(v, fastpathCheckNilTrue, e)
  2205. case *map[bool]uint8:
  2206. fastpathTV.EncMapBoolUint8V(*v, fastpathCheckNilTrue, e)
  2207. case map[bool]uint16:
  2208. fastpathTV.EncMapBoolUint16V(v, fastpathCheckNilTrue, e)
  2209. case *map[bool]uint16:
  2210. fastpathTV.EncMapBoolUint16V(*v, fastpathCheckNilTrue, e)
  2211. case map[bool]uint32:
  2212. fastpathTV.EncMapBoolUint32V(v, fastpathCheckNilTrue, e)
  2213. case *map[bool]uint32:
  2214. fastpathTV.EncMapBoolUint32V(*v, fastpathCheckNilTrue, e)
  2215. case map[bool]uint64:
  2216. fastpathTV.EncMapBoolUint64V(v, fastpathCheckNilTrue, e)
  2217. case *map[bool]uint64:
  2218. fastpathTV.EncMapBoolUint64V(*v, fastpathCheckNilTrue, e)
  2219. case map[bool]int:
  2220. fastpathTV.EncMapBoolIntV(v, fastpathCheckNilTrue, e)
  2221. case *map[bool]int:
  2222. fastpathTV.EncMapBoolIntV(*v, fastpathCheckNilTrue, e)
  2223. case map[bool]int8:
  2224. fastpathTV.EncMapBoolInt8V(v, fastpathCheckNilTrue, e)
  2225. case *map[bool]int8:
  2226. fastpathTV.EncMapBoolInt8V(*v, fastpathCheckNilTrue, e)
  2227. case map[bool]int16:
  2228. fastpathTV.EncMapBoolInt16V(v, fastpathCheckNilTrue, e)
  2229. case *map[bool]int16:
  2230. fastpathTV.EncMapBoolInt16V(*v, fastpathCheckNilTrue, e)
  2231. case map[bool]int32:
  2232. fastpathTV.EncMapBoolInt32V(v, fastpathCheckNilTrue, e)
  2233. case *map[bool]int32:
  2234. fastpathTV.EncMapBoolInt32V(*v, fastpathCheckNilTrue, e)
  2235. case map[bool]int64:
  2236. fastpathTV.EncMapBoolInt64V(v, fastpathCheckNilTrue, e)
  2237. case *map[bool]int64:
  2238. fastpathTV.EncMapBoolInt64V(*v, fastpathCheckNilTrue, e)
  2239. case map[bool]float32:
  2240. fastpathTV.EncMapBoolFloat32V(v, fastpathCheckNilTrue, e)
  2241. case *map[bool]float32:
  2242. fastpathTV.EncMapBoolFloat32V(*v, fastpathCheckNilTrue, e)
  2243. case map[bool]float64:
  2244. fastpathTV.EncMapBoolFloat64V(v, fastpathCheckNilTrue, e)
  2245. case *map[bool]float64:
  2246. fastpathTV.EncMapBoolFloat64V(*v, fastpathCheckNilTrue, e)
  2247. case map[bool]bool:
  2248. fastpathTV.EncMapBoolBoolV(v, fastpathCheckNilTrue, e)
  2249. case *map[bool]bool:
  2250. fastpathTV.EncMapBoolBoolV(*v, fastpathCheckNilTrue, e)
  2251. default:
  2252. return false
  2253. }
  2254. return true
  2255. }
  2256. // -- -- fast path functions
  2257. func (f encFnInfo) fastpathEncSliceIntfR(rv reflect.Value) {
  2258. fastpathTV.EncSliceIntfV(rv.Interface().([]interface{}), fastpathCheckNilFalse, f.e)
  2259. }
  2260. func (_ fastpathT) EncSliceIntfV(v []interface{}, checkNil bool, e *Encoder) {
  2261. ee := e.e
  2262. if checkNil && v == nil {
  2263. ee.EncodeNil()
  2264. return
  2265. }
  2266. ee.EncodeArrayStart(len(v))
  2267. for _, v2 := range v {
  2268. e.encode(v2)
  2269. }
  2270. ee.EncodeEnd()
  2271. }
  2272. func (f encFnInfo) fastpathEncSliceStringR(rv reflect.Value) {
  2273. fastpathTV.EncSliceStringV(rv.Interface().([]string), fastpathCheckNilFalse, f.e)
  2274. }
  2275. func (_ fastpathT) EncSliceStringV(v []string, checkNil bool, e *Encoder) {
  2276. ee := e.e
  2277. if checkNil && v == nil {
  2278. ee.EncodeNil()
  2279. return
  2280. }
  2281. ee.EncodeArrayStart(len(v))
  2282. for _, v2 := range v {
  2283. ee.EncodeString(c_UTF8, v2)
  2284. }
  2285. ee.EncodeEnd()
  2286. }
  2287. func (f encFnInfo) fastpathEncSliceFloat32R(rv reflect.Value) {
  2288. fastpathTV.EncSliceFloat32V(rv.Interface().([]float32), fastpathCheckNilFalse, f.e)
  2289. }
  2290. func (_ fastpathT) EncSliceFloat32V(v []float32, checkNil bool, e *Encoder) {
  2291. ee := e.e
  2292. if checkNil && v == nil {
  2293. ee.EncodeNil()
  2294. return
  2295. }
  2296. ee.EncodeArrayStart(len(v))
  2297. for _, v2 := range v {
  2298. ee.EncodeFloat32(v2)
  2299. }
  2300. ee.EncodeEnd()
  2301. }
  2302. func (f encFnInfo) fastpathEncSliceFloat64R(rv reflect.Value) {
  2303. fastpathTV.EncSliceFloat64V(rv.Interface().([]float64), fastpathCheckNilFalse, f.e)
  2304. }
  2305. func (_ fastpathT) EncSliceFloat64V(v []float64, checkNil bool, e *Encoder) {
  2306. ee := e.e
  2307. if checkNil && v == nil {
  2308. ee.EncodeNil()
  2309. return
  2310. }
  2311. ee.EncodeArrayStart(len(v))
  2312. for _, v2 := range v {
  2313. ee.EncodeFloat64(v2)
  2314. }
  2315. ee.EncodeEnd()
  2316. }
  2317. func (f encFnInfo) fastpathEncSliceUintR(rv reflect.Value) {
  2318. fastpathTV.EncSliceUintV(rv.Interface().([]uint), fastpathCheckNilFalse, f.e)
  2319. }
  2320. func (_ fastpathT) EncSliceUintV(v []uint, checkNil bool, e *Encoder) {
  2321. ee := e.e
  2322. if checkNil && v == nil {
  2323. ee.EncodeNil()
  2324. return
  2325. }
  2326. ee.EncodeArrayStart(len(v))
  2327. for _, v2 := range v {
  2328. ee.EncodeUint(uint64(v2))
  2329. }
  2330. ee.EncodeEnd()
  2331. }
  2332. func (f encFnInfo) fastpathEncSliceUint16R(rv reflect.Value) {
  2333. fastpathTV.EncSliceUint16V(rv.Interface().([]uint16), fastpathCheckNilFalse, f.e)
  2334. }
  2335. func (_ fastpathT) EncSliceUint16V(v []uint16, checkNil bool, e *Encoder) {
  2336. ee := e.e
  2337. if checkNil && v == nil {
  2338. ee.EncodeNil()
  2339. return
  2340. }
  2341. ee.EncodeArrayStart(len(v))
  2342. for _, v2 := range v {
  2343. ee.EncodeUint(uint64(v2))
  2344. }
  2345. ee.EncodeEnd()
  2346. }
  2347. func (f encFnInfo) fastpathEncSliceUint32R(rv reflect.Value) {
  2348. fastpathTV.EncSliceUint32V(rv.Interface().([]uint32), fastpathCheckNilFalse, f.e)
  2349. }
  2350. func (_ fastpathT) EncSliceUint32V(v []uint32, checkNil bool, e *Encoder) {
  2351. ee := e.e
  2352. if checkNil && v == nil {
  2353. ee.EncodeNil()
  2354. return
  2355. }
  2356. ee.EncodeArrayStart(len(v))
  2357. for _, v2 := range v {
  2358. ee.EncodeUint(uint64(v2))
  2359. }
  2360. ee.EncodeEnd()
  2361. }
  2362. func (f encFnInfo) fastpathEncSliceUint64R(rv reflect.Value) {
  2363. fastpathTV.EncSliceUint64V(rv.Interface().([]uint64), fastpathCheckNilFalse, f.e)
  2364. }
  2365. func (_ fastpathT) EncSliceUint64V(v []uint64, checkNil bool, e *Encoder) {
  2366. ee := e.e
  2367. if checkNil && v == nil {
  2368. ee.EncodeNil()
  2369. return
  2370. }
  2371. ee.EncodeArrayStart(len(v))
  2372. for _, v2 := range v {
  2373. ee.EncodeUint(uint64(v2))
  2374. }
  2375. ee.EncodeEnd()
  2376. }
  2377. func (f encFnInfo) fastpathEncSliceIntR(rv reflect.Value) {
  2378. fastpathTV.EncSliceIntV(rv.Interface().([]int), fastpathCheckNilFalse, f.e)
  2379. }
  2380. func (_ fastpathT) EncSliceIntV(v []int, checkNil bool, e *Encoder) {
  2381. ee := e.e
  2382. if checkNil && v == nil {
  2383. ee.EncodeNil()
  2384. return
  2385. }
  2386. ee.EncodeArrayStart(len(v))
  2387. for _, v2 := range v {
  2388. ee.EncodeInt(int64(v2))
  2389. }
  2390. ee.EncodeEnd()
  2391. }
  2392. func (f encFnInfo) fastpathEncSliceInt8R(rv reflect.Value) {
  2393. fastpathTV.EncSliceInt8V(rv.Interface().([]int8), fastpathCheckNilFalse, f.e)
  2394. }
  2395. func (_ fastpathT) EncSliceInt8V(v []int8, checkNil bool, e *Encoder) {
  2396. ee := e.e
  2397. if checkNil && v == nil {
  2398. ee.EncodeNil()
  2399. return
  2400. }
  2401. ee.EncodeArrayStart(len(v))
  2402. for _, v2 := range v {
  2403. ee.EncodeInt(int64(v2))
  2404. }
  2405. ee.EncodeEnd()
  2406. }
  2407. func (f encFnInfo) fastpathEncSliceInt16R(rv reflect.Value) {
  2408. fastpathTV.EncSliceInt16V(rv.Interface().([]int16), fastpathCheckNilFalse, f.e)
  2409. }
  2410. func (_ fastpathT) EncSliceInt16V(v []int16, checkNil bool, e *Encoder) {
  2411. ee := e.e
  2412. if checkNil && v == nil {
  2413. ee.EncodeNil()
  2414. return
  2415. }
  2416. ee.EncodeArrayStart(len(v))
  2417. for _, v2 := range v {
  2418. ee.EncodeInt(int64(v2))
  2419. }
  2420. ee.EncodeEnd()
  2421. }
  2422. func (f encFnInfo) fastpathEncSliceInt32R(rv reflect.Value) {
  2423. fastpathTV.EncSliceInt32V(rv.Interface().([]int32), fastpathCheckNilFalse, f.e)
  2424. }
  2425. func (_ fastpathT) EncSliceInt32V(v []int32, checkNil bool, e *Encoder) {
  2426. ee := e.e
  2427. if checkNil && v == nil {
  2428. ee.EncodeNil()
  2429. return
  2430. }
  2431. ee.EncodeArrayStart(len(v))
  2432. for _, v2 := range v {
  2433. ee.EncodeInt(int64(v2))
  2434. }
  2435. ee.EncodeEnd()
  2436. }
  2437. func (f encFnInfo) fastpathEncSliceInt64R(rv reflect.Value) {
  2438. fastpathTV.EncSliceInt64V(rv.Interface().([]int64), fastpathCheckNilFalse, f.e)
  2439. }
  2440. func (_ fastpathT) EncSliceInt64V(v []int64, checkNil bool, e *Encoder) {
  2441. ee := e.e
  2442. if checkNil && v == nil {
  2443. ee.EncodeNil()
  2444. return
  2445. }
  2446. ee.EncodeArrayStart(len(v))
  2447. for _, v2 := range v {
  2448. ee.EncodeInt(int64(v2))
  2449. }
  2450. ee.EncodeEnd()
  2451. }
  2452. func (f encFnInfo) fastpathEncSliceBoolR(rv reflect.Value) {
  2453. fastpathTV.EncSliceBoolV(rv.Interface().([]bool), fastpathCheckNilFalse, f.e)
  2454. }
  2455. func (_ fastpathT) EncSliceBoolV(v []bool, checkNil bool, e *Encoder) {
  2456. ee := e.e
  2457. if checkNil && v == nil {
  2458. ee.EncodeNil()
  2459. return
  2460. }
  2461. ee.EncodeArrayStart(len(v))
  2462. for _, v2 := range v {
  2463. ee.EncodeBool(v2)
  2464. }
  2465. ee.EncodeEnd()
  2466. }
  2467. func (f encFnInfo) fastpathEncMapIntfIntfR(rv reflect.Value) {
  2468. fastpathTV.EncMapIntfIntfV(rv.Interface().(map[interface{}]interface{}), fastpathCheckNilFalse, f.e)
  2469. }
  2470. func (_ fastpathT) EncMapIntfIntfV(v map[interface{}]interface{}, checkNil bool, e *Encoder) {
  2471. ee := e.e
  2472. if checkNil && v == nil {
  2473. ee.EncodeNil()
  2474. return
  2475. }
  2476. ee.EncodeMapStart(len(v))
  2477. for k2, v2 := range v {
  2478. e.encode(k2)
  2479. e.encode(v2)
  2480. }
  2481. ee.EncodeEnd()
  2482. }
  2483. func (f encFnInfo) fastpathEncMapIntfStringR(rv reflect.Value) {
  2484. fastpathTV.EncMapIntfStringV(rv.Interface().(map[interface{}]string), fastpathCheckNilFalse, f.e)
  2485. }
  2486. func (_ fastpathT) EncMapIntfStringV(v map[interface{}]string, checkNil bool, e *Encoder) {
  2487. ee := e.e
  2488. if checkNil && v == nil {
  2489. ee.EncodeNil()
  2490. return
  2491. }
  2492. ee.EncodeMapStart(len(v))
  2493. for k2, v2 := range v {
  2494. e.encode(k2)
  2495. ee.EncodeString(c_UTF8, v2)
  2496. }
  2497. ee.EncodeEnd()
  2498. }
  2499. func (f encFnInfo) fastpathEncMapIntfUintR(rv reflect.Value) {
  2500. fastpathTV.EncMapIntfUintV(rv.Interface().(map[interface{}]uint), fastpathCheckNilFalse, f.e)
  2501. }
  2502. func (_ fastpathT) EncMapIntfUintV(v map[interface{}]uint, checkNil bool, e *Encoder) {
  2503. ee := e.e
  2504. if checkNil && v == nil {
  2505. ee.EncodeNil()
  2506. return
  2507. }
  2508. ee.EncodeMapStart(len(v))
  2509. for k2, v2 := range v {
  2510. e.encode(k2)
  2511. ee.EncodeUint(uint64(v2))
  2512. }
  2513. ee.EncodeEnd()
  2514. }
  2515. func (f encFnInfo) fastpathEncMapIntfUint8R(rv reflect.Value) {
  2516. fastpathTV.EncMapIntfUint8V(rv.Interface().(map[interface{}]uint8), fastpathCheckNilFalse, f.e)
  2517. }
  2518. func (_ fastpathT) EncMapIntfUint8V(v map[interface{}]uint8, checkNil bool, e *Encoder) {
  2519. ee := e.e
  2520. if checkNil && v == nil {
  2521. ee.EncodeNil()
  2522. return
  2523. }
  2524. ee.EncodeMapStart(len(v))
  2525. for k2, v2 := range v {
  2526. e.encode(k2)
  2527. ee.EncodeUint(uint64(v2))
  2528. }
  2529. ee.EncodeEnd()
  2530. }
  2531. func (f encFnInfo) fastpathEncMapIntfUint16R(rv reflect.Value) {
  2532. fastpathTV.EncMapIntfUint16V(rv.Interface().(map[interface{}]uint16), fastpathCheckNilFalse, f.e)
  2533. }
  2534. func (_ fastpathT) EncMapIntfUint16V(v map[interface{}]uint16, checkNil bool, e *Encoder) {
  2535. ee := e.e
  2536. if checkNil && v == nil {
  2537. ee.EncodeNil()
  2538. return
  2539. }
  2540. ee.EncodeMapStart(len(v))
  2541. for k2, v2 := range v {
  2542. e.encode(k2)
  2543. ee.EncodeUint(uint64(v2))
  2544. }
  2545. ee.EncodeEnd()
  2546. }
  2547. func (f encFnInfo) fastpathEncMapIntfUint32R(rv reflect.Value) {
  2548. fastpathTV.EncMapIntfUint32V(rv.Interface().(map[interface{}]uint32), fastpathCheckNilFalse, f.e)
  2549. }
  2550. func (_ fastpathT) EncMapIntfUint32V(v map[interface{}]uint32, checkNil bool, e *Encoder) {
  2551. ee := e.e
  2552. if checkNil && v == nil {
  2553. ee.EncodeNil()
  2554. return
  2555. }
  2556. ee.EncodeMapStart(len(v))
  2557. for k2, v2 := range v {
  2558. e.encode(k2)
  2559. ee.EncodeUint(uint64(v2))
  2560. }
  2561. ee.EncodeEnd()
  2562. }
  2563. func (f encFnInfo) fastpathEncMapIntfUint64R(rv reflect.Value) {
  2564. fastpathTV.EncMapIntfUint64V(rv.Interface().(map[interface{}]uint64), fastpathCheckNilFalse, f.e)
  2565. }
  2566. func (_ fastpathT) EncMapIntfUint64V(v map[interface{}]uint64, checkNil bool, e *Encoder) {
  2567. ee := e.e
  2568. if checkNil && v == nil {
  2569. ee.EncodeNil()
  2570. return
  2571. }
  2572. ee.EncodeMapStart(len(v))
  2573. for k2, v2 := range v {
  2574. e.encode(k2)
  2575. ee.EncodeUint(uint64(v2))
  2576. }
  2577. ee.EncodeEnd()
  2578. }
  2579. func (f encFnInfo) fastpathEncMapIntfIntR(rv reflect.Value) {
  2580. fastpathTV.EncMapIntfIntV(rv.Interface().(map[interface{}]int), fastpathCheckNilFalse, f.e)
  2581. }
  2582. func (_ fastpathT) EncMapIntfIntV(v map[interface{}]int, checkNil bool, e *Encoder) {
  2583. ee := e.e
  2584. if checkNil && v == nil {
  2585. ee.EncodeNil()
  2586. return
  2587. }
  2588. ee.EncodeMapStart(len(v))
  2589. for k2, v2 := range v {
  2590. e.encode(k2)
  2591. ee.EncodeInt(int64(v2))
  2592. }
  2593. ee.EncodeEnd()
  2594. }
  2595. func (f encFnInfo) fastpathEncMapIntfInt8R(rv reflect.Value) {
  2596. fastpathTV.EncMapIntfInt8V(rv.Interface().(map[interface{}]int8), fastpathCheckNilFalse, f.e)
  2597. }
  2598. func (_ fastpathT) EncMapIntfInt8V(v map[interface{}]int8, checkNil bool, e *Encoder) {
  2599. ee := e.e
  2600. if checkNil && v == nil {
  2601. ee.EncodeNil()
  2602. return
  2603. }
  2604. ee.EncodeMapStart(len(v))
  2605. for k2, v2 := range v {
  2606. e.encode(k2)
  2607. ee.EncodeInt(int64(v2))
  2608. }
  2609. ee.EncodeEnd()
  2610. }
  2611. func (f encFnInfo) fastpathEncMapIntfInt16R(rv reflect.Value) {
  2612. fastpathTV.EncMapIntfInt16V(rv.Interface().(map[interface{}]int16), fastpathCheckNilFalse, f.e)
  2613. }
  2614. func (_ fastpathT) EncMapIntfInt16V(v map[interface{}]int16, checkNil bool, e *Encoder) {
  2615. ee := e.e
  2616. if checkNil && v == nil {
  2617. ee.EncodeNil()
  2618. return
  2619. }
  2620. ee.EncodeMapStart(len(v))
  2621. for k2, v2 := range v {
  2622. e.encode(k2)
  2623. ee.EncodeInt(int64(v2))
  2624. }
  2625. ee.EncodeEnd()
  2626. }
  2627. func (f encFnInfo) fastpathEncMapIntfInt32R(rv reflect.Value) {
  2628. fastpathTV.EncMapIntfInt32V(rv.Interface().(map[interface{}]int32), fastpathCheckNilFalse, f.e)
  2629. }
  2630. func (_ fastpathT) EncMapIntfInt32V(v map[interface{}]int32, checkNil bool, e *Encoder) {
  2631. ee := e.e
  2632. if checkNil && v == nil {
  2633. ee.EncodeNil()
  2634. return
  2635. }
  2636. ee.EncodeMapStart(len(v))
  2637. for k2, v2 := range v {
  2638. e.encode(k2)
  2639. ee.EncodeInt(int64(v2))
  2640. }
  2641. ee.EncodeEnd()
  2642. }
  2643. func (f encFnInfo) fastpathEncMapIntfInt64R(rv reflect.Value) {
  2644. fastpathTV.EncMapIntfInt64V(rv.Interface().(map[interface{}]int64), fastpathCheckNilFalse, f.e)
  2645. }
  2646. func (_ fastpathT) EncMapIntfInt64V(v map[interface{}]int64, checkNil bool, e *Encoder) {
  2647. ee := e.e
  2648. if checkNil && v == nil {
  2649. ee.EncodeNil()
  2650. return
  2651. }
  2652. ee.EncodeMapStart(len(v))
  2653. for k2, v2 := range v {
  2654. e.encode(k2)
  2655. ee.EncodeInt(int64(v2))
  2656. }
  2657. ee.EncodeEnd()
  2658. }
  2659. func (f encFnInfo) fastpathEncMapIntfFloat32R(rv reflect.Value) {
  2660. fastpathTV.EncMapIntfFloat32V(rv.Interface().(map[interface{}]float32), fastpathCheckNilFalse, f.e)
  2661. }
  2662. func (_ fastpathT) EncMapIntfFloat32V(v map[interface{}]float32, checkNil bool, e *Encoder) {
  2663. ee := e.e
  2664. if checkNil && v == nil {
  2665. ee.EncodeNil()
  2666. return
  2667. }
  2668. ee.EncodeMapStart(len(v))
  2669. for k2, v2 := range v {
  2670. e.encode(k2)
  2671. ee.EncodeFloat32(v2)
  2672. }
  2673. ee.EncodeEnd()
  2674. }
  2675. func (f encFnInfo) fastpathEncMapIntfFloat64R(rv reflect.Value) {
  2676. fastpathTV.EncMapIntfFloat64V(rv.Interface().(map[interface{}]float64), fastpathCheckNilFalse, f.e)
  2677. }
  2678. func (_ fastpathT) EncMapIntfFloat64V(v map[interface{}]float64, checkNil bool, e *Encoder) {
  2679. ee := e.e
  2680. if checkNil && v == nil {
  2681. ee.EncodeNil()
  2682. return
  2683. }
  2684. ee.EncodeMapStart(len(v))
  2685. for k2, v2 := range v {
  2686. e.encode(k2)
  2687. ee.EncodeFloat64(v2)
  2688. }
  2689. ee.EncodeEnd()
  2690. }
  2691. func (f encFnInfo) fastpathEncMapIntfBoolR(rv reflect.Value) {
  2692. fastpathTV.EncMapIntfBoolV(rv.Interface().(map[interface{}]bool), fastpathCheckNilFalse, f.e)
  2693. }
  2694. func (_ fastpathT) EncMapIntfBoolV(v map[interface{}]bool, checkNil bool, e *Encoder) {
  2695. ee := e.e
  2696. if checkNil && v == nil {
  2697. ee.EncodeNil()
  2698. return
  2699. }
  2700. ee.EncodeMapStart(len(v))
  2701. for k2, v2 := range v {
  2702. e.encode(k2)
  2703. ee.EncodeBool(v2)
  2704. }
  2705. ee.EncodeEnd()
  2706. }
  2707. func (f encFnInfo) fastpathEncMapStringIntfR(rv reflect.Value) {
  2708. fastpathTV.EncMapStringIntfV(rv.Interface().(map[string]interface{}), fastpathCheckNilFalse, f.e)
  2709. }
  2710. func (_ fastpathT) EncMapStringIntfV(v map[string]interface{}, checkNil bool, e *Encoder) {
  2711. ee := e.e
  2712. if checkNil && v == nil {
  2713. ee.EncodeNil()
  2714. return
  2715. }
  2716. ee.EncodeMapStart(len(v))
  2717. asSymbols := e.h.AsSymbols&AsSymbolMapStringKeysFlag != 0
  2718. for k2, v2 := range v {
  2719. if asSymbols {
  2720. ee.EncodeSymbol(k2)
  2721. } else {
  2722. ee.EncodeString(c_UTF8, k2)
  2723. }
  2724. e.encode(v2)
  2725. }
  2726. ee.EncodeEnd()
  2727. }
  2728. func (f encFnInfo) fastpathEncMapStringStringR(rv reflect.Value) {
  2729. fastpathTV.EncMapStringStringV(rv.Interface().(map[string]string), fastpathCheckNilFalse, f.e)
  2730. }
  2731. func (_ fastpathT) EncMapStringStringV(v map[string]string, checkNil bool, e *Encoder) {
  2732. ee := e.e
  2733. if checkNil && v == nil {
  2734. ee.EncodeNil()
  2735. return
  2736. }
  2737. ee.EncodeMapStart(len(v))
  2738. asSymbols := e.h.AsSymbols&AsSymbolMapStringKeysFlag != 0
  2739. for k2, v2 := range v {
  2740. if asSymbols {
  2741. ee.EncodeSymbol(k2)
  2742. } else {
  2743. ee.EncodeString(c_UTF8, k2)
  2744. }
  2745. ee.EncodeString(c_UTF8, v2)
  2746. }
  2747. ee.EncodeEnd()
  2748. }
  2749. func (f encFnInfo) fastpathEncMapStringUintR(rv reflect.Value) {
  2750. fastpathTV.EncMapStringUintV(rv.Interface().(map[string]uint), fastpathCheckNilFalse, f.e)
  2751. }
  2752. func (_ fastpathT) EncMapStringUintV(v map[string]uint, checkNil bool, e *Encoder) {
  2753. ee := e.e
  2754. if checkNil && v == nil {
  2755. ee.EncodeNil()
  2756. return
  2757. }
  2758. ee.EncodeMapStart(len(v))
  2759. asSymbols := e.h.AsSymbols&AsSymbolMapStringKeysFlag != 0
  2760. for k2, v2 := range v {
  2761. if asSymbols {
  2762. ee.EncodeSymbol(k2)
  2763. } else {
  2764. ee.EncodeString(c_UTF8, k2)
  2765. }
  2766. ee.EncodeUint(uint64(v2))
  2767. }
  2768. ee.EncodeEnd()
  2769. }
  2770. func (f encFnInfo) fastpathEncMapStringUint8R(rv reflect.Value) {
  2771. fastpathTV.EncMapStringUint8V(rv.Interface().(map[string]uint8), fastpathCheckNilFalse, f.e)
  2772. }
  2773. func (_ fastpathT) EncMapStringUint8V(v map[string]uint8, checkNil bool, e *Encoder) {
  2774. ee := e.e
  2775. if checkNil && v == nil {
  2776. ee.EncodeNil()
  2777. return
  2778. }
  2779. ee.EncodeMapStart(len(v))
  2780. asSymbols := e.h.AsSymbols&AsSymbolMapStringKeysFlag != 0
  2781. for k2, v2 := range v {
  2782. if asSymbols {
  2783. ee.EncodeSymbol(k2)
  2784. } else {
  2785. ee.EncodeString(c_UTF8, k2)
  2786. }
  2787. ee.EncodeUint(uint64(v2))
  2788. }
  2789. ee.EncodeEnd()
  2790. }
  2791. func (f encFnInfo) fastpathEncMapStringUint16R(rv reflect.Value) {
  2792. fastpathTV.EncMapStringUint16V(rv.Interface().(map[string]uint16), fastpathCheckNilFalse, f.e)
  2793. }
  2794. func (_ fastpathT) EncMapStringUint16V(v map[string]uint16, checkNil bool, e *Encoder) {
  2795. ee := e.e
  2796. if checkNil && v == nil {
  2797. ee.EncodeNil()
  2798. return
  2799. }
  2800. ee.EncodeMapStart(len(v))
  2801. asSymbols := e.h.AsSymbols&AsSymbolMapStringKeysFlag != 0
  2802. for k2, v2 := range v {
  2803. if asSymbols {
  2804. ee.EncodeSymbol(k2)
  2805. } else {
  2806. ee.EncodeString(c_UTF8, k2)
  2807. }
  2808. ee.EncodeUint(uint64(v2))
  2809. }
  2810. ee.EncodeEnd()
  2811. }
  2812. func (f encFnInfo) fastpathEncMapStringUint32R(rv reflect.Value) {
  2813. fastpathTV.EncMapStringUint32V(rv.Interface().(map[string]uint32), fastpathCheckNilFalse, f.e)
  2814. }
  2815. func (_ fastpathT) EncMapStringUint32V(v map[string]uint32, checkNil bool, e *Encoder) {
  2816. ee := e.e
  2817. if checkNil && v == nil {
  2818. ee.EncodeNil()
  2819. return
  2820. }
  2821. ee.EncodeMapStart(len(v))
  2822. asSymbols := e.h.AsSymbols&AsSymbolMapStringKeysFlag != 0
  2823. for k2, v2 := range v {
  2824. if asSymbols {
  2825. ee.EncodeSymbol(k2)
  2826. } else {
  2827. ee.EncodeString(c_UTF8, k2)
  2828. }
  2829. ee.EncodeUint(uint64(v2))
  2830. }
  2831. ee.EncodeEnd()
  2832. }
  2833. func (f encFnInfo) fastpathEncMapStringUint64R(rv reflect.Value) {
  2834. fastpathTV.EncMapStringUint64V(rv.Interface().(map[string]uint64), fastpathCheckNilFalse, f.e)
  2835. }
  2836. func (_ fastpathT) EncMapStringUint64V(v map[string]uint64, checkNil bool, e *Encoder) {
  2837. ee := e.e
  2838. if checkNil && v == nil {
  2839. ee.EncodeNil()
  2840. return
  2841. }
  2842. ee.EncodeMapStart(len(v))
  2843. asSymbols := e.h.AsSymbols&AsSymbolMapStringKeysFlag != 0
  2844. for k2, v2 := range v {
  2845. if asSymbols {
  2846. ee.EncodeSymbol(k2)
  2847. } else {
  2848. ee.EncodeString(c_UTF8, k2)
  2849. }
  2850. ee.EncodeUint(uint64(v2))
  2851. }
  2852. ee.EncodeEnd()
  2853. }
  2854. func (f encFnInfo) fastpathEncMapStringIntR(rv reflect.Value) {
  2855. fastpathTV.EncMapStringIntV(rv.Interface().(map[string]int), fastpathCheckNilFalse, f.e)
  2856. }
  2857. func (_ fastpathT) EncMapStringIntV(v map[string]int, checkNil bool, e *Encoder) {
  2858. ee := e.e
  2859. if checkNil && v == nil {
  2860. ee.EncodeNil()
  2861. return
  2862. }
  2863. ee.EncodeMapStart(len(v))
  2864. asSymbols := e.h.AsSymbols&AsSymbolMapStringKeysFlag != 0
  2865. for k2, v2 := range v {
  2866. if asSymbols {
  2867. ee.EncodeSymbol(k2)
  2868. } else {
  2869. ee.EncodeString(c_UTF8, k2)
  2870. }
  2871. ee.EncodeInt(int64(v2))
  2872. }
  2873. ee.EncodeEnd()
  2874. }
  2875. func (f encFnInfo) fastpathEncMapStringInt8R(rv reflect.Value) {
  2876. fastpathTV.EncMapStringInt8V(rv.Interface().(map[string]int8), fastpathCheckNilFalse, f.e)
  2877. }
  2878. func (_ fastpathT) EncMapStringInt8V(v map[string]int8, checkNil bool, e *Encoder) {
  2879. ee := e.e
  2880. if checkNil && v == nil {
  2881. ee.EncodeNil()
  2882. return
  2883. }
  2884. ee.EncodeMapStart(len(v))
  2885. asSymbols := e.h.AsSymbols&AsSymbolMapStringKeysFlag != 0
  2886. for k2, v2 := range v {
  2887. if asSymbols {
  2888. ee.EncodeSymbol(k2)
  2889. } else {
  2890. ee.EncodeString(c_UTF8, k2)
  2891. }
  2892. ee.EncodeInt(int64(v2))
  2893. }
  2894. ee.EncodeEnd()
  2895. }
  2896. func (f encFnInfo) fastpathEncMapStringInt16R(rv reflect.Value) {
  2897. fastpathTV.EncMapStringInt16V(rv.Interface().(map[string]int16), fastpathCheckNilFalse, f.e)
  2898. }
  2899. func (_ fastpathT) EncMapStringInt16V(v map[string]int16, checkNil bool, e *Encoder) {
  2900. ee := e.e
  2901. if checkNil && v == nil {
  2902. ee.EncodeNil()
  2903. return
  2904. }
  2905. ee.EncodeMapStart(len(v))
  2906. asSymbols := e.h.AsSymbols&AsSymbolMapStringKeysFlag != 0
  2907. for k2, v2 := range v {
  2908. if asSymbols {
  2909. ee.EncodeSymbol(k2)
  2910. } else {
  2911. ee.EncodeString(c_UTF8, k2)
  2912. }
  2913. ee.EncodeInt(int64(v2))
  2914. }
  2915. ee.EncodeEnd()
  2916. }
  2917. func (f encFnInfo) fastpathEncMapStringInt32R(rv reflect.Value) {
  2918. fastpathTV.EncMapStringInt32V(rv.Interface().(map[string]int32), fastpathCheckNilFalse, f.e)
  2919. }
  2920. func (_ fastpathT) EncMapStringInt32V(v map[string]int32, checkNil bool, e *Encoder) {
  2921. ee := e.e
  2922. if checkNil && v == nil {
  2923. ee.EncodeNil()
  2924. return
  2925. }
  2926. ee.EncodeMapStart(len(v))
  2927. asSymbols := e.h.AsSymbols&AsSymbolMapStringKeysFlag != 0
  2928. for k2, v2 := range v {
  2929. if asSymbols {
  2930. ee.EncodeSymbol(k2)
  2931. } else {
  2932. ee.EncodeString(c_UTF8, k2)
  2933. }
  2934. ee.EncodeInt(int64(v2))
  2935. }
  2936. ee.EncodeEnd()
  2937. }
  2938. func (f encFnInfo) fastpathEncMapStringInt64R(rv reflect.Value) {
  2939. fastpathTV.EncMapStringInt64V(rv.Interface().(map[string]int64), fastpathCheckNilFalse, f.e)
  2940. }
  2941. func (_ fastpathT) EncMapStringInt64V(v map[string]int64, checkNil bool, e *Encoder) {
  2942. ee := e.e
  2943. if checkNil && v == nil {
  2944. ee.EncodeNil()
  2945. return
  2946. }
  2947. ee.EncodeMapStart(len(v))
  2948. asSymbols := e.h.AsSymbols&AsSymbolMapStringKeysFlag != 0
  2949. for k2, v2 := range v {
  2950. if asSymbols {
  2951. ee.EncodeSymbol(k2)
  2952. } else {
  2953. ee.EncodeString(c_UTF8, k2)
  2954. }
  2955. ee.EncodeInt(int64(v2))
  2956. }
  2957. ee.EncodeEnd()
  2958. }
  2959. func (f encFnInfo) fastpathEncMapStringFloat32R(rv reflect.Value) {
  2960. fastpathTV.EncMapStringFloat32V(rv.Interface().(map[string]float32), fastpathCheckNilFalse, f.e)
  2961. }
  2962. func (_ fastpathT) EncMapStringFloat32V(v map[string]float32, checkNil bool, e *Encoder) {
  2963. ee := e.e
  2964. if checkNil && v == nil {
  2965. ee.EncodeNil()
  2966. return
  2967. }
  2968. ee.EncodeMapStart(len(v))
  2969. asSymbols := e.h.AsSymbols&AsSymbolMapStringKeysFlag != 0
  2970. for k2, v2 := range v {
  2971. if asSymbols {
  2972. ee.EncodeSymbol(k2)
  2973. } else {
  2974. ee.EncodeString(c_UTF8, k2)
  2975. }
  2976. ee.EncodeFloat32(v2)
  2977. }
  2978. ee.EncodeEnd()
  2979. }
  2980. func (f encFnInfo) fastpathEncMapStringFloat64R(rv reflect.Value) {
  2981. fastpathTV.EncMapStringFloat64V(rv.Interface().(map[string]float64), fastpathCheckNilFalse, f.e)
  2982. }
  2983. func (_ fastpathT) EncMapStringFloat64V(v map[string]float64, checkNil bool, e *Encoder) {
  2984. ee := e.e
  2985. if checkNil && v == nil {
  2986. ee.EncodeNil()
  2987. return
  2988. }
  2989. ee.EncodeMapStart(len(v))
  2990. asSymbols := e.h.AsSymbols&AsSymbolMapStringKeysFlag != 0
  2991. for k2, v2 := range v {
  2992. if asSymbols {
  2993. ee.EncodeSymbol(k2)
  2994. } else {
  2995. ee.EncodeString(c_UTF8, k2)
  2996. }
  2997. ee.EncodeFloat64(v2)
  2998. }
  2999. ee.EncodeEnd()
  3000. }
  3001. func (f encFnInfo) fastpathEncMapStringBoolR(rv reflect.Value) {
  3002. fastpathTV.EncMapStringBoolV(rv.Interface().(map[string]bool), fastpathCheckNilFalse, f.e)
  3003. }
  3004. func (_ fastpathT) EncMapStringBoolV(v map[string]bool, checkNil bool, e *Encoder) {
  3005. ee := e.e
  3006. if checkNil && v == nil {
  3007. ee.EncodeNil()
  3008. return
  3009. }
  3010. ee.EncodeMapStart(len(v))
  3011. asSymbols := e.h.AsSymbols&AsSymbolMapStringKeysFlag != 0
  3012. for k2, v2 := range v {
  3013. if asSymbols {
  3014. ee.EncodeSymbol(k2)
  3015. } else {
  3016. ee.EncodeString(c_UTF8, k2)
  3017. }
  3018. ee.EncodeBool(v2)
  3019. }
  3020. ee.EncodeEnd()
  3021. }
  3022. func (f encFnInfo) fastpathEncMapFloat32IntfR(rv reflect.Value) {
  3023. fastpathTV.EncMapFloat32IntfV(rv.Interface().(map[float32]interface{}), fastpathCheckNilFalse, f.e)
  3024. }
  3025. func (_ fastpathT) EncMapFloat32IntfV(v map[float32]interface{}, checkNil bool, e *Encoder) {
  3026. ee := e.e
  3027. if checkNil && v == nil {
  3028. ee.EncodeNil()
  3029. return
  3030. }
  3031. ee.EncodeMapStart(len(v))
  3032. for k2, v2 := range v {
  3033. ee.EncodeFloat32(k2)
  3034. e.encode(v2)
  3035. }
  3036. ee.EncodeEnd()
  3037. }
  3038. func (f encFnInfo) fastpathEncMapFloat32StringR(rv reflect.Value) {
  3039. fastpathTV.EncMapFloat32StringV(rv.Interface().(map[float32]string), fastpathCheckNilFalse, f.e)
  3040. }
  3041. func (_ fastpathT) EncMapFloat32StringV(v map[float32]string, checkNil bool, e *Encoder) {
  3042. ee := e.e
  3043. if checkNil && v == nil {
  3044. ee.EncodeNil()
  3045. return
  3046. }
  3047. ee.EncodeMapStart(len(v))
  3048. for k2, v2 := range v {
  3049. ee.EncodeFloat32(k2)
  3050. ee.EncodeString(c_UTF8, v2)
  3051. }
  3052. ee.EncodeEnd()
  3053. }
  3054. func (f encFnInfo) fastpathEncMapFloat32UintR(rv reflect.Value) {
  3055. fastpathTV.EncMapFloat32UintV(rv.Interface().(map[float32]uint), fastpathCheckNilFalse, f.e)
  3056. }
  3057. func (_ fastpathT) EncMapFloat32UintV(v map[float32]uint, checkNil bool, e *Encoder) {
  3058. ee := e.e
  3059. if checkNil && v == nil {
  3060. ee.EncodeNil()
  3061. return
  3062. }
  3063. ee.EncodeMapStart(len(v))
  3064. for k2, v2 := range v {
  3065. ee.EncodeFloat32(k2)
  3066. ee.EncodeUint(uint64(v2))
  3067. }
  3068. ee.EncodeEnd()
  3069. }
  3070. func (f encFnInfo) fastpathEncMapFloat32Uint8R(rv reflect.Value) {
  3071. fastpathTV.EncMapFloat32Uint8V(rv.Interface().(map[float32]uint8), fastpathCheckNilFalse, f.e)
  3072. }
  3073. func (_ fastpathT) EncMapFloat32Uint8V(v map[float32]uint8, checkNil bool, e *Encoder) {
  3074. ee := e.e
  3075. if checkNil && v == nil {
  3076. ee.EncodeNil()
  3077. return
  3078. }
  3079. ee.EncodeMapStart(len(v))
  3080. for k2, v2 := range v {
  3081. ee.EncodeFloat32(k2)
  3082. ee.EncodeUint(uint64(v2))
  3083. }
  3084. ee.EncodeEnd()
  3085. }
  3086. func (f encFnInfo) fastpathEncMapFloat32Uint16R(rv reflect.Value) {
  3087. fastpathTV.EncMapFloat32Uint16V(rv.Interface().(map[float32]uint16), fastpathCheckNilFalse, f.e)
  3088. }
  3089. func (_ fastpathT) EncMapFloat32Uint16V(v map[float32]uint16, checkNil bool, e *Encoder) {
  3090. ee := e.e
  3091. if checkNil && v == nil {
  3092. ee.EncodeNil()
  3093. return
  3094. }
  3095. ee.EncodeMapStart(len(v))
  3096. for k2, v2 := range v {
  3097. ee.EncodeFloat32(k2)
  3098. ee.EncodeUint(uint64(v2))
  3099. }
  3100. ee.EncodeEnd()
  3101. }
  3102. func (f encFnInfo) fastpathEncMapFloat32Uint32R(rv reflect.Value) {
  3103. fastpathTV.EncMapFloat32Uint32V(rv.Interface().(map[float32]uint32), fastpathCheckNilFalse, f.e)
  3104. }
  3105. func (_ fastpathT) EncMapFloat32Uint32V(v map[float32]uint32, checkNil bool, e *Encoder) {
  3106. ee := e.e
  3107. if checkNil && v == nil {
  3108. ee.EncodeNil()
  3109. return
  3110. }
  3111. ee.EncodeMapStart(len(v))
  3112. for k2, v2 := range v {
  3113. ee.EncodeFloat32(k2)
  3114. ee.EncodeUint(uint64(v2))
  3115. }
  3116. ee.EncodeEnd()
  3117. }
  3118. func (f encFnInfo) fastpathEncMapFloat32Uint64R(rv reflect.Value) {
  3119. fastpathTV.EncMapFloat32Uint64V(rv.Interface().(map[float32]uint64), fastpathCheckNilFalse, f.e)
  3120. }
  3121. func (_ fastpathT) EncMapFloat32Uint64V(v map[float32]uint64, checkNil bool, e *Encoder) {
  3122. ee := e.e
  3123. if checkNil && v == nil {
  3124. ee.EncodeNil()
  3125. return
  3126. }
  3127. ee.EncodeMapStart(len(v))
  3128. for k2, v2 := range v {
  3129. ee.EncodeFloat32(k2)
  3130. ee.EncodeUint(uint64(v2))
  3131. }
  3132. ee.EncodeEnd()
  3133. }
  3134. func (f encFnInfo) fastpathEncMapFloat32IntR(rv reflect.Value) {
  3135. fastpathTV.EncMapFloat32IntV(rv.Interface().(map[float32]int), fastpathCheckNilFalse, f.e)
  3136. }
  3137. func (_ fastpathT) EncMapFloat32IntV(v map[float32]int, checkNil bool, e *Encoder) {
  3138. ee := e.e
  3139. if checkNil && v == nil {
  3140. ee.EncodeNil()
  3141. return
  3142. }
  3143. ee.EncodeMapStart(len(v))
  3144. for k2, v2 := range v {
  3145. ee.EncodeFloat32(k2)
  3146. ee.EncodeInt(int64(v2))
  3147. }
  3148. ee.EncodeEnd()
  3149. }
  3150. func (f encFnInfo) fastpathEncMapFloat32Int8R(rv reflect.Value) {
  3151. fastpathTV.EncMapFloat32Int8V(rv.Interface().(map[float32]int8), fastpathCheckNilFalse, f.e)
  3152. }
  3153. func (_ fastpathT) EncMapFloat32Int8V(v map[float32]int8, checkNil bool, e *Encoder) {
  3154. ee := e.e
  3155. if checkNil && v == nil {
  3156. ee.EncodeNil()
  3157. return
  3158. }
  3159. ee.EncodeMapStart(len(v))
  3160. for k2, v2 := range v {
  3161. ee.EncodeFloat32(k2)
  3162. ee.EncodeInt(int64(v2))
  3163. }
  3164. ee.EncodeEnd()
  3165. }
  3166. func (f encFnInfo) fastpathEncMapFloat32Int16R(rv reflect.Value) {
  3167. fastpathTV.EncMapFloat32Int16V(rv.Interface().(map[float32]int16), fastpathCheckNilFalse, f.e)
  3168. }
  3169. func (_ fastpathT) EncMapFloat32Int16V(v map[float32]int16, checkNil bool, e *Encoder) {
  3170. ee := e.e
  3171. if checkNil && v == nil {
  3172. ee.EncodeNil()
  3173. return
  3174. }
  3175. ee.EncodeMapStart(len(v))
  3176. for k2, v2 := range v {
  3177. ee.EncodeFloat32(k2)
  3178. ee.EncodeInt(int64(v2))
  3179. }
  3180. ee.EncodeEnd()
  3181. }
  3182. func (f encFnInfo) fastpathEncMapFloat32Int32R(rv reflect.Value) {
  3183. fastpathTV.EncMapFloat32Int32V(rv.Interface().(map[float32]int32), fastpathCheckNilFalse, f.e)
  3184. }
  3185. func (_ fastpathT) EncMapFloat32Int32V(v map[float32]int32, checkNil bool, e *Encoder) {
  3186. ee := e.e
  3187. if checkNil && v == nil {
  3188. ee.EncodeNil()
  3189. return
  3190. }
  3191. ee.EncodeMapStart(len(v))
  3192. for k2, v2 := range v {
  3193. ee.EncodeFloat32(k2)
  3194. ee.EncodeInt(int64(v2))
  3195. }
  3196. ee.EncodeEnd()
  3197. }
  3198. func (f encFnInfo) fastpathEncMapFloat32Int64R(rv reflect.Value) {
  3199. fastpathTV.EncMapFloat32Int64V(rv.Interface().(map[float32]int64), fastpathCheckNilFalse, f.e)
  3200. }
  3201. func (_ fastpathT) EncMapFloat32Int64V(v map[float32]int64, checkNil bool, e *Encoder) {
  3202. ee := e.e
  3203. if checkNil && v == nil {
  3204. ee.EncodeNil()
  3205. return
  3206. }
  3207. ee.EncodeMapStart(len(v))
  3208. for k2, v2 := range v {
  3209. ee.EncodeFloat32(k2)
  3210. ee.EncodeInt(int64(v2))
  3211. }
  3212. ee.EncodeEnd()
  3213. }
  3214. func (f encFnInfo) fastpathEncMapFloat32Float32R(rv reflect.Value) {
  3215. fastpathTV.EncMapFloat32Float32V(rv.Interface().(map[float32]float32), fastpathCheckNilFalse, f.e)
  3216. }
  3217. func (_ fastpathT) EncMapFloat32Float32V(v map[float32]float32, checkNil bool, e *Encoder) {
  3218. ee := e.e
  3219. if checkNil && v == nil {
  3220. ee.EncodeNil()
  3221. return
  3222. }
  3223. ee.EncodeMapStart(len(v))
  3224. for k2, v2 := range v {
  3225. ee.EncodeFloat32(k2)
  3226. ee.EncodeFloat32(v2)
  3227. }
  3228. ee.EncodeEnd()
  3229. }
  3230. func (f encFnInfo) fastpathEncMapFloat32Float64R(rv reflect.Value) {
  3231. fastpathTV.EncMapFloat32Float64V(rv.Interface().(map[float32]float64), fastpathCheckNilFalse, f.e)
  3232. }
  3233. func (_ fastpathT) EncMapFloat32Float64V(v map[float32]float64, checkNil bool, e *Encoder) {
  3234. ee := e.e
  3235. if checkNil && v == nil {
  3236. ee.EncodeNil()
  3237. return
  3238. }
  3239. ee.EncodeMapStart(len(v))
  3240. for k2, v2 := range v {
  3241. ee.EncodeFloat32(k2)
  3242. ee.EncodeFloat64(v2)
  3243. }
  3244. ee.EncodeEnd()
  3245. }
  3246. func (f encFnInfo) fastpathEncMapFloat32BoolR(rv reflect.Value) {
  3247. fastpathTV.EncMapFloat32BoolV(rv.Interface().(map[float32]bool), fastpathCheckNilFalse, f.e)
  3248. }
  3249. func (_ fastpathT) EncMapFloat32BoolV(v map[float32]bool, checkNil bool, e *Encoder) {
  3250. ee := e.e
  3251. if checkNil && v == nil {
  3252. ee.EncodeNil()
  3253. return
  3254. }
  3255. ee.EncodeMapStart(len(v))
  3256. for k2, v2 := range v {
  3257. ee.EncodeFloat32(k2)
  3258. ee.EncodeBool(v2)
  3259. }
  3260. ee.EncodeEnd()
  3261. }
  3262. func (f encFnInfo) fastpathEncMapFloat64IntfR(rv reflect.Value) {
  3263. fastpathTV.EncMapFloat64IntfV(rv.Interface().(map[float64]interface{}), fastpathCheckNilFalse, f.e)
  3264. }
  3265. func (_ fastpathT) EncMapFloat64IntfV(v map[float64]interface{}, checkNil bool, e *Encoder) {
  3266. ee := e.e
  3267. if checkNil && v == nil {
  3268. ee.EncodeNil()
  3269. return
  3270. }
  3271. ee.EncodeMapStart(len(v))
  3272. for k2, v2 := range v {
  3273. ee.EncodeFloat64(k2)
  3274. e.encode(v2)
  3275. }
  3276. ee.EncodeEnd()
  3277. }
  3278. func (f encFnInfo) fastpathEncMapFloat64StringR(rv reflect.Value) {
  3279. fastpathTV.EncMapFloat64StringV(rv.Interface().(map[float64]string), fastpathCheckNilFalse, f.e)
  3280. }
  3281. func (_ fastpathT) EncMapFloat64StringV(v map[float64]string, checkNil bool, e *Encoder) {
  3282. ee := e.e
  3283. if checkNil && v == nil {
  3284. ee.EncodeNil()
  3285. return
  3286. }
  3287. ee.EncodeMapStart(len(v))
  3288. for k2, v2 := range v {
  3289. ee.EncodeFloat64(k2)
  3290. ee.EncodeString(c_UTF8, v2)
  3291. }
  3292. ee.EncodeEnd()
  3293. }
  3294. func (f encFnInfo) fastpathEncMapFloat64UintR(rv reflect.Value) {
  3295. fastpathTV.EncMapFloat64UintV(rv.Interface().(map[float64]uint), fastpathCheckNilFalse, f.e)
  3296. }
  3297. func (_ fastpathT) EncMapFloat64UintV(v map[float64]uint, checkNil bool, e *Encoder) {
  3298. ee := e.e
  3299. if checkNil && v == nil {
  3300. ee.EncodeNil()
  3301. return
  3302. }
  3303. ee.EncodeMapStart(len(v))
  3304. for k2, v2 := range v {
  3305. ee.EncodeFloat64(k2)
  3306. ee.EncodeUint(uint64(v2))
  3307. }
  3308. ee.EncodeEnd()
  3309. }
  3310. func (f encFnInfo) fastpathEncMapFloat64Uint8R(rv reflect.Value) {
  3311. fastpathTV.EncMapFloat64Uint8V(rv.Interface().(map[float64]uint8), fastpathCheckNilFalse, f.e)
  3312. }
  3313. func (_ fastpathT) EncMapFloat64Uint8V(v map[float64]uint8, checkNil bool, e *Encoder) {
  3314. ee := e.e
  3315. if checkNil && v == nil {
  3316. ee.EncodeNil()
  3317. return
  3318. }
  3319. ee.EncodeMapStart(len(v))
  3320. for k2, v2 := range v {
  3321. ee.EncodeFloat64(k2)
  3322. ee.EncodeUint(uint64(v2))
  3323. }
  3324. ee.EncodeEnd()
  3325. }
  3326. func (f encFnInfo) fastpathEncMapFloat64Uint16R(rv reflect.Value) {
  3327. fastpathTV.EncMapFloat64Uint16V(rv.Interface().(map[float64]uint16), fastpathCheckNilFalse, f.e)
  3328. }
  3329. func (_ fastpathT) EncMapFloat64Uint16V(v map[float64]uint16, checkNil bool, e *Encoder) {
  3330. ee := e.e
  3331. if checkNil && v == nil {
  3332. ee.EncodeNil()
  3333. return
  3334. }
  3335. ee.EncodeMapStart(len(v))
  3336. for k2, v2 := range v {
  3337. ee.EncodeFloat64(k2)
  3338. ee.EncodeUint(uint64(v2))
  3339. }
  3340. ee.EncodeEnd()
  3341. }
  3342. func (f encFnInfo) fastpathEncMapFloat64Uint32R(rv reflect.Value) {
  3343. fastpathTV.EncMapFloat64Uint32V(rv.Interface().(map[float64]uint32), fastpathCheckNilFalse, f.e)
  3344. }
  3345. func (_ fastpathT) EncMapFloat64Uint32V(v map[float64]uint32, checkNil bool, e *Encoder) {
  3346. ee := e.e
  3347. if checkNil && v == nil {
  3348. ee.EncodeNil()
  3349. return
  3350. }
  3351. ee.EncodeMapStart(len(v))
  3352. for k2, v2 := range v {
  3353. ee.EncodeFloat64(k2)
  3354. ee.EncodeUint(uint64(v2))
  3355. }
  3356. ee.EncodeEnd()
  3357. }
  3358. func (f encFnInfo) fastpathEncMapFloat64Uint64R(rv reflect.Value) {
  3359. fastpathTV.EncMapFloat64Uint64V(rv.Interface().(map[float64]uint64), fastpathCheckNilFalse, f.e)
  3360. }
  3361. func (_ fastpathT) EncMapFloat64Uint64V(v map[float64]uint64, checkNil bool, e *Encoder) {
  3362. ee := e.e
  3363. if checkNil && v == nil {
  3364. ee.EncodeNil()
  3365. return
  3366. }
  3367. ee.EncodeMapStart(len(v))
  3368. for k2, v2 := range v {
  3369. ee.EncodeFloat64(k2)
  3370. ee.EncodeUint(uint64(v2))
  3371. }
  3372. ee.EncodeEnd()
  3373. }
  3374. func (f encFnInfo) fastpathEncMapFloat64IntR(rv reflect.Value) {
  3375. fastpathTV.EncMapFloat64IntV(rv.Interface().(map[float64]int), fastpathCheckNilFalse, f.e)
  3376. }
  3377. func (_ fastpathT) EncMapFloat64IntV(v map[float64]int, checkNil bool, e *Encoder) {
  3378. ee := e.e
  3379. if checkNil && v == nil {
  3380. ee.EncodeNil()
  3381. return
  3382. }
  3383. ee.EncodeMapStart(len(v))
  3384. for k2, v2 := range v {
  3385. ee.EncodeFloat64(k2)
  3386. ee.EncodeInt(int64(v2))
  3387. }
  3388. ee.EncodeEnd()
  3389. }
  3390. func (f encFnInfo) fastpathEncMapFloat64Int8R(rv reflect.Value) {
  3391. fastpathTV.EncMapFloat64Int8V(rv.Interface().(map[float64]int8), fastpathCheckNilFalse, f.e)
  3392. }
  3393. func (_ fastpathT) EncMapFloat64Int8V(v map[float64]int8, checkNil bool, e *Encoder) {
  3394. ee := e.e
  3395. if checkNil && v == nil {
  3396. ee.EncodeNil()
  3397. return
  3398. }
  3399. ee.EncodeMapStart(len(v))
  3400. for k2, v2 := range v {
  3401. ee.EncodeFloat64(k2)
  3402. ee.EncodeInt(int64(v2))
  3403. }
  3404. ee.EncodeEnd()
  3405. }
  3406. func (f encFnInfo) fastpathEncMapFloat64Int16R(rv reflect.Value) {
  3407. fastpathTV.EncMapFloat64Int16V(rv.Interface().(map[float64]int16), fastpathCheckNilFalse, f.e)
  3408. }
  3409. func (_ fastpathT) EncMapFloat64Int16V(v map[float64]int16, checkNil bool, e *Encoder) {
  3410. ee := e.e
  3411. if checkNil && v == nil {
  3412. ee.EncodeNil()
  3413. return
  3414. }
  3415. ee.EncodeMapStart(len(v))
  3416. for k2, v2 := range v {
  3417. ee.EncodeFloat64(k2)
  3418. ee.EncodeInt(int64(v2))
  3419. }
  3420. ee.EncodeEnd()
  3421. }
  3422. func (f encFnInfo) fastpathEncMapFloat64Int32R(rv reflect.Value) {
  3423. fastpathTV.EncMapFloat64Int32V(rv.Interface().(map[float64]int32), fastpathCheckNilFalse, f.e)
  3424. }
  3425. func (_ fastpathT) EncMapFloat64Int32V(v map[float64]int32, checkNil bool, e *Encoder) {
  3426. ee := e.e
  3427. if checkNil && v == nil {
  3428. ee.EncodeNil()
  3429. return
  3430. }
  3431. ee.EncodeMapStart(len(v))
  3432. for k2, v2 := range v {
  3433. ee.EncodeFloat64(k2)
  3434. ee.EncodeInt(int64(v2))
  3435. }
  3436. ee.EncodeEnd()
  3437. }
  3438. func (f encFnInfo) fastpathEncMapFloat64Int64R(rv reflect.Value) {
  3439. fastpathTV.EncMapFloat64Int64V(rv.Interface().(map[float64]int64), fastpathCheckNilFalse, f.e)
  3440. }
  3441. func (_ fastpathT) EncMapFloat64Int64V(v map[float64]int64, checkNil bool, e *Encoder) {
  3442. ee := e.e
  3443. if checkNil && v == nil {
  3444. ee.EncodeNil()
  3445. return
  3446. }
  3447. ee.EncodeMapStart(len(v))
  3448. for k2, v2 := range v {
  3449. ee.EncodeFloat64(k2)
  3450. ee.EncodeInt(int64(v2))
  3451. }
  3452. ee.EncodeEnd()
  3453. }
  3454. func (f encFnInfo) fastpathEncMapFloat64Float32R(rv reflect.Value) {
  3455. fastpathTV.EncMapFloat64Float32V(rv.Interface().(map[float64]float32), fastpathCheckNilFalse, f.e)
  3456. }
  3457. func (_ fastpathT) EncMapFloat64Float32V(v map[float64]float32, checkNil bool, e *Encoder) {
  3458. ee := e.e
  3459. if checkNil && v == nil {
  3460. ee.EncodeNil()
  3461. return
  3462. }
  3463. ee.EncodeMapStart(len(v))
  3464. for k2, v2 := range v {
  3465. ee.EncodeFloat64(k2)
  3466. ee.EncodeFloat32(v2)
  3467. }
  3468. ee.EncodeEnd()
  3469. }
  3470. func (f encFnInfo) fastpathEncMapFloat64Float64R(rv reflect.Value) {
  3471. fastpathTV.EncMapFloat64Float64V(rv.Interface().(map[float64]float64), fastpathCheckNilFalse, f.e)
  3472. }
  3473. func (_ fastpathT) EncMapFloat64Float64V(v map[float64]float64, checkNil bool, e *Encoder) {
  3474. ee := e.e
  3475. if checkNil && v == nil {
  3476. ee.EncodeNil()
  3477. return
  3478. }
  3479. ee.EncodeMapStart(len(v))
  3480. for k2, v2 := range v {
  3481. ee.EncodeFloat64(k2)
  3482. ee.EncodeFloat64(v2)
  3483. }
  3484. ee.EncodeEnd()
  3485. }
  3486. func (f encFnInfo) fastpathEncMapFloat64BoolR(rv reflect.Value) {
  3487. fastpathTV.EncMapFloat64BoolV(rv.Interface().(map[float64]bool), fastpathCheckNilFalse, f.e)
  3488. }
  3489. func (_ fastpathT) EncMapFloat64BoolV(v map[float64]bool, checkNil bool, e *Encoder) {
  3490. ee := e.e
  3491. if checkNil && v == nil {
  3492. ee.EncodeNil()
  3493. return
  3494. }
  3495. ee.EncodeMapStart(len(v))
  3496. for k2, v2 := range v {
  3497. ee.EncodeFloat64(k2)
  3498. ee.EncodeBool(v2)
  3499. }
  3500. ee.EncodeEnd()
  3501. }
  3502. func (f encFnInfo) fastpathEncMapUintIntfR(rv reflect.Value) {
  3503. fastpathTV.EncMapUintIntfV(rv.Interface().(map[uint]interface{}), fastpathCheckNilFalse, f.e)
  3504. }
  3505. func (_ fastpathT) EncMapUintIntfV(v map[uint]interface{}, checkNil bool, e *Encoder) {
  3506. ee := e.e
  3507. if checkNil && v == nil {
  3508. ee.EncodeNil()
  3509. return
  3510. }
  3511. ee.EncodeMapStart(len(v))
  3512. for k2, v2 := range v {
  3513. ee.EncodeUint(uint64(k2))
  3514. e.encode(v2)
  3515. }
  3516. ee.EncodeEnd()
  3517. }
  3518. func (f encFnInfo) fastpathEncMapUintStringR(rv reflect.Value) {
  3519. fastpathTV.EncMapUintStringV(rv.Interface().(map[uint]string), fastpathCheckNilFalse, f.e)
  3520. }
  3521. func (_ fastpathT) EncMapUintStringV(v map[uint]string, checkNil bool, e *Encoder) {
  3522. ee := e.e
  3523. if checkNil && v == nil {
  3524. ee.EncodeNil()
  3525. return
  3526. }
  3527. ee.EncodeMapStart(len(v))
  3528. for k2, v2 := range v {
  3529. ee.EncodeUint(uint64(k2))
  3530. ee.EncodeString(c_UTF8, v2)
  3531. }
  3532. ee.EncodeEnd()
  3533. }
  3534. func (f encFnInfo) fastpathEncMapUintUintR(rv reflect.Value) {
  3535. fastpathTV.EncMapUintUintV(rv.Interface().(map[uint]uint), fastpathCheckNilFalse, f.e)
  3536. }
  3537. func (_ fastpathT) EncMapUintUintV(v map[uint]uint, checkNil bool, e *Encoder) {
  3538. ee := e.e
  3539. if checkNil && v == nil {
  3540. ee.EncodeNil()
  3541. return
  3542. }
  3543. ee.EncodeMapStart(len(v))
  3544. for k2, v2 := range v {
  3545. ee.EncodeUint(uint64(k2))
  3546. ee.EncodeUint(uint64(v2))
  3547. }
  3548. ee.EncodeEnd()
  3549. }
  3550. func (f encFnInfo) fastpathEncMapUintUint8R(rv reflect.Value) {
  3551. fastpathTV.EncMapUintUint8V(rv.Interface().(map[uint]uint8), fastpathCheckNilFalse, f.e)
  3552. }
  3553. func (_ fastpathT) EncMapUintUint8V(v map[uint]uint8, checkNil bool, e *Encoder) {
  3554. ee := e.e
  3555. if checkNil && v == nil {
  3556. ee.EncodeNil()
  3557. return
  3558. }
  3559. ee.EncodeMapStart(len(v))
  3560. for k2, v2 := range v {
  3561. ee.EncodeUint(uint64(k2))
  3562. ee.EncodeUint(uint64(v2))
  3563. }
  3564. ee.EncodeEnd()
  3565. }
  3566. func (f encFnInfo) fastpathEncMapUintUint16R(rv reflect.Value) {
  3567. fastpathTV.EncMapUintUint16V(rv.Interface().(map[uint]uint16), fastpathCheckNilFalse, f.e)
  3568. }
  3569. func (_ fastpathT) EncMapUintUint16V(v map[uint]uint16, checkNil bool, e *Encoder) {
  3570. ee := e.e
  3571. if checkNil && v == nil {
  3572. ee.EncodeNil()
  3573. return
  3574. }
  3575. ee.EncodeMapStart(len(v))
  3576. for k2, v2 := range v {
  3577. ee.EncodeUint(uint64(k2))
  3578. ee.EncodeUint(uint64(v2))
  3579. }
  3580. ee.EncodeEnd()
  3581. }
  3582. func (f encFnInfo) fastpathEncMapUintUint32R(rv reflect.Value) {
  3583. fastpathTV.EncMapUintUint32V(rv.Interface().(map[uint]uint32), fastpathCheckNilFalse, f.e)
  3584. }
  3585. func (_ fastpathT) EncMapUintUint32V(v map[uint]uint32, checkNil bool, e *Encoder) {
  3586. ee := e.e
  3587. if checkNil && v == nil {
  3588. ee.EncodeNil()
  3589. return
  3590. }
  3591. ee.EncodeMapStart(len(v))
  3592. for k2, v2 := range v {
  3593. ee.EncodeUint(uint64(k2))
  3594. ee.EncodeUint(uint64(v2))
  3595. }
  3596. ee.EncodeEnd()
  3597. }
  3598. func (f encFnInfo) fastpathEncMapUintUint64R(rv reflect.Value) {
  3599. fastpathTV.EncMapUintUint64V(rv.Interface().(map[uint]uint64), fastpathCheckNilFalse, f.e)
  3600. }
  3601. func (_ fastpathT) EncMapUintUint64V(v map[uint]uint64, checkNil bool, e *Encoder) {
  3602. ee := e.e
  3603. if checkNil && v == nil {
  3604. ee.EncodeNil()
  3605. return
  3606. }
  3607. ee.EncodeMapStart(len(v))
  3608. for k2, v2 := range v {
  3609. ee.EncodeUint(uint64(k2))
  3610. ee.EncodeUint(uint64(v2))
  3611. }
  3612. ee.EncodeEnd()
  3613. }
  3614. func (f encFnInfo) fastpathEncMapUintIntR(rv reflect.Value) {
  3615. fastpathTV.EncMapUintIntV(rv.Interface().(map[uint]int), fastpathCheckNilFalse, f.e)
  3616. }
  3617. func (_ fastpathT) EncMapUintIntV(v map[uint]int, checkNil bool, e *Encoder) {
  3618. ee := e.e
  3619. if checkNil && v == nil {
  3620. ee.EncodeNil()
  3621. return
  3622. }
  3623. ee.EncodeMapStart(len(v))
  3624. for k2, v2 := range v {
  3625. ee.EncodeUint(uint64(k2))
  3626. ee.EncodeInt(int64(v2))
  3627. }
  3628. ee.EncodeEnd()
  3629. }
  3630. func (f encFnInfo) fastpathEncMapUintInt8R(rv reflect.Value) {
  3631. fastpathTV.EncMapUintInt8V(rv.Interface().(map[uint]int8), fastpathCheckNilFalse, f.e)
  3632. }
  3633. func (_ fastpathT) EncMapUintInt8V(v map[uint]int8, checkNil bool, e *Encoder) {
  3634. ee := e.e
  3635. if checkNil && v == nil {
  3636. ee.EncodeNil()
  3637. return
  3638. }
  3639. ee.EncodeMapStart(len(v))
  3640. for k2, v2 := range v {
  3641. ee.EncodeUint(uint64(k2))
  3642. ee.EncodeInt(int64(v2))
  3643. }
  3644. ee.EncodeEnd()
  3645. }
  3646. func (f encFnInfo) fastpathEncMapUintInt16R(rv reflect.Value) {
  3647. fastpathTV.EncMapUintInt16V(rv.Interface().(map[uint]int16), fastpathCheckNilFalse, f.e)
  3648. }
  3649. func (_ fastpathT) EncMapUintInt16V(v map[uint]int16, checkNil bool, e *Encoder) {
  3650. ee := e.e
  3651. if checkNil && v == nil {
  3652. ee.EncodeNil()
  3653. return
  3654. }
  3655. ee.EncodeMapStart(len(v))
  3656. for k2, v2 := range v {
  3657. ee.EncodeUint(uint64(k2))
  3658. ee.EncodeInt(int64(v2))
  3659. }
  3660. ee.EncodeEnd()
  3661. }
  3662. func (f encFnInfo) fastpathEncMapUintInt32R(rv reflect.Value) {
  3663. fastpathTV.EncMapUintInt32V(rv.Interface().(map[uint]int32), fastpathCheckNilFalse, f.e)
  3664. }
  3665. func (_ fastpathT) EncMapUintInt32V(v map[uint]int32, checkNil bool, e *Encoder) {
  3666. ee := e.e
  3667. if checkNil && v == nil {
  3668. ee.EncodeNil()
  3669. return
  3670. }
  3671. ee.EncodeMapStart(len(v))
  3672. for k2, v2 := range v {
  3673. ee.EncodeUint(uint64(k2))
  3674. ee.EncodeInt(int64(v2))
  3675. }
  3676. ee.EncodeEnd()
  3677. }
  3678. func (f encFnInfo) fastpathEncMapUintInt64R(rv reflect.Value) {
  3679. fastpathTV.EncMapUintInt64V(rv.Interface().(map[uint]int64), fastpathCheckNilFalse, f.e)
  3680. }
  3681. func (_ fastpathT) EncMapUintInt64V(v map[uint]int64, checkNil bool, e *Encoder) {
  3682. ee := e.e
  3683. if checkNil && v == nil {
  3684. ee.EncodeNil()
  3685. return
  3686. }
  3687. ee.EncodeMapStart(len(v))
  3688. for k2, v2 := range v {
  3689. ee.EncodeUint(uint64(k2))
  3690. ee.EncodeInt(int64(v2))
  3691. }
  3692. ee.EncodeEnd()
  3693. }
  3694. func (f encFnInfo) fastpathEncMapUintFloat32R(rv reflect.Value) {
  3695. fastpathTV.EncMapUintFloat32V(rv.Interface().(map[uint]float32), fastpathCheckNilFalse, f.e)
  3696. }
  3697. func (_ fastpathT) EncMapUintFloat32V(v map[uint]float32, checkNil bool, e *Encoder) {
  3698. ee := e.e
  3699. if checkNil && v == nil {
  3700. ee.EncodeNil()
  3701. return
  3702. }
  3703. ee.EncodeMapStart(len(v))
  3704. for k2, v2 := range v {
  3705. ee.EncodeUint(uint64(k2))
  3706. ee.EncodeFloat32(v2)
  3707. }
  3708. ee.EncodeEnd()
  3709. }
  3710. func (f encFnInfo) fastpathEncMapUintFloat64R(rv reflect.Value) {
  3711. fastpathTV.EncMapUintFloat64V(rv.Interface().(map[uint]float64), fastpathCheckNilFalse, f.e)
  3712. }
  3713. func (_ fastpathT) EncMapUintFloat64V(v map[uint]float64, checkNil bool, e *Encoder) {
  3714. ee := e.e
  3715. if checkNil && v == nil {
  3716. ee.EncodeNil()
  3717. return
  3718. }
  3719. ee.EncodeMapStart(len(v))
  3720. for k2, v2 := range v {
  3721. ee.EncodeUint(uint64(k2))
  3722. ee.EncodeFloat64(v2)
  3723. }
  3724. ee.EncodeEnd()
  3725. }
  3726. func (f encFnInfo) fastpathEncMapUintBoolR(rv reflect.Value) {
  3727. fastpathTV.EncMapUintBoolV(rv.Interface().(map[uint]bool), fastpathCheckNilFalse, f.e)
  3728. }
  3729. func (_ fastpathT) EncMapUintBoolV(v map[uint]bool, checkNil bool, e *Encoder) {
  3730. ee := e.e
  3731. if checkNil && v == nil {
  3732. ee.EncodeNil()
  3733. return
  3734. }
  3735. ee.EncodeMapStart(len(v))
  3736. for k2, v2 := range v {
  3737. ee.EncodeUint(uint64(k2))
  3738. ee.EncodeBool(v2)
  3739. }
  3740. ee.EncodeEnd()
  3741. }
  3742. func (f encFnInfo) fastpathEncMapUint8IntfR(rv reflect.Value) {
  3743. fastpathTV.EncMapUint8IntfV(rv.Interface().(map[uint8]interface{}), fastpathCheckNilFalse, f.e)
  3744. }
  3745. func (_ fastpathT) EncMapUint8IntfV(v map[uint8]interface{}, checkNil bool, e *Encoder) {
  3746. ee := e.e
  3747. if checkNil && v == nil {
  3748. ee.EncodeNil()
  3749. return
  3750. }
  3751. ee.EncodeMapStart(len(v))
  3752. for k2, v2 := range v {
  3753. ee.EncodeUint(uint64(k2))
  3754. e.encode(v2)
  3755. }
  3756. ee.EncodeEnd()
  3757. }
  3758. func (f encFnInfo) fastpathEncMapUint8StringR(rv reflect.Value) {
  3759. fastpathTV.EncMapUint8StringV(rv.Interface().(map[uint8]string), fastpathCheckNilFalse, f.e)
  3760. }
  3761. func (_ fastpathT) EncMapUint8StringV(v map[uint8]string, checkNil bool, e *Encoder) {
  3762. ee := e.e
  3763. if checkNil && v == nil {
  3764. ee.EncodeNil()
  3765. return
  3766. }
  3767. ee.EncodeMapStart(len(v))
  3768. for k2, v2 := range v {
  3769. ee.EncodeUint(uint64(k2))
  3770. ee.EncodeString(c_UTF8, v2)
  3771. }
  3772. ee.EncodeEnd()
  3773. }
  3774. func (f encFnInfo) fastpathEncMapUint8UintR(rv reflect.Value) {
  3775. fastpathTV.EncMapUint8UintV(rv.Interface().(map[uint8]uint), fastpathCheckNilFalse, f.e)
  3776. }
  3777. func (_ fastpathT) EncMapUint8UintV(v map[uint8]uint, checkNil bool, e *Encoder) {
  3778. ee := e.e
  3779. if checkNil && v == nil {
  3780. ee.EncodeNil()
  3781. return
  3782. }
  3783. ee.EncodeMapStart(len(v))
  3784. for k2, v2 := range v {
  3785. ee.EncodeUint(uint64(k2))
  3786. ee.EncodeUint(uint64(v2))
  3787. }
  3788. ee.EncodeEnd()
  3789. }
  3790. func (f encFnInfo) fastpathEncMapUint8Uint8R(rv reflect.Value) {
  3791. fastpathTV.EncMapUint8Uint8V(rv.Interface().(map[uint8]uint8), fastpathCheckNilFalse, f.e)
  3792. }
  3793. func (_ fastpathT) EncMapUint8Uint8V(v map[uint8]uint8, checkNil bool, e *Encoder) {
  3794. ee := e.e
  3795. if checkNil && v == nil {
  3796. ee.EncodeNil()
  3797. return
  3798. }
  3799. ee.EncodeMapStart(len(v))
  3800. for k2, v2 := range v {
  3801. ee.EncodeUint(uint64(k2))
  3802. ee.EncodeUint(uint64(v2))
  3803. }
  3804. ee.EncodeEnd()
  3805. }
  3806. func (f encFnInfo) fastpathEncMapUint8Uint16R(rv reflect.Value) {
  3807. fastpathTV.EncMapUint8Uint16V(rv.Interface().(map[uint8]uint16), fastpathCheckNilFalse, f.e)
  3808. }
  3809. func (_ fastpathT) EncMapUint8Uint16V(v map[uint8]uint16, checkNil bool, e *Encoder) {
  3810. ee := e.e
  3811. if checkNil && v == nil {
  3812. ee.EncodeNil()
  3813. return
  3814. }
  3815. ee.EncodeMapStart(len(v))
  3816. for k2, v2 := range v {
  3817. ee.EncodeUint(uint64(k2))
  3818. ee.EncodeUint(uint64(v2))
  3819. }
  3820. ee.EncodeEnd()
  3821. }
  3822. func (f encFnInfo) fastpathEncMapUint8Uint32R(rv reflect.Value) {
  3823. fastpathTV.EncMapUint8Uint32V(rv.Interface().(map[uint8]uint32), fastpathCheckNilFalse, f.e)
  3824. }
  3825. func (_ fastpathT) EncMapUint8Uint32V(v map[uint8]uint32, checkNil bool, e *Encoder) {
  3826. ee := e.e
  3827. if checkNil && v == nil {
  3828. ee.EncodeNil()
  3829. return
  3830. }
  3831. ee.EncodeMapStart(len(v))
  3832. for k2, v2 := range v {
  3833. ee.EncodeUint(uint64(k2))
  3834. ee.EncodeUint(uint64(v2))
  3835. }
  3836. ee.EncodeEnd()
  3837. }
  3838. func (f encFnInfo) fastpathEncMapUint8Uint64R(rv reflect.Value) {
  3839. fastpathTV.EncMapUint8Uint64V(rv.Interface().(map[uint8]uint64), fastpathCheckNilFalse, f.e)
  3840. }
  3841. func (_ fastpathT) EncMapUint8Uint64V(v map[uint8]uint64, checkNil bool, e *Encoder) {
  3842. ee := e.e
  3843. if checkNil && v == nil {
  3844. ee.EncodeNil()
  3845. return
  3846. }
  3847. ee.EncodeMapStart(len(v))
  3848. for k2, v2 := range v {
  3849. ee.EncodeUint(uint64(k2))
  3850. ee.EncodeUint(uint64(v2))
  3851. }
  3852. ee.EncodeEnd()
  3853. }
  3854. func (f encFnInfo) fastpathEncMapUint8IntR(rv reflect.Value) {
  3855. fastpathTV.EncMapUint8IntV(rv.Interface().(map[uint8]int), fastpathCheckNilFalse, f.e)
  3856. }
  3857. func (_ fastpathT) EncMapUint8IntV(v map[uint8]int, checkNil bool, e *Encoder) {
  3858. ee := e.e
  3859. if checkNil && v == nil {
  3860. ee.EncodeNil()
  3861. return
  3862. }
  3863. ee.EncodeMapStart(len(v))
  3864. for k2, v2 := range v {
  3865. ee.EncodeUint(uint64(k2))
  3866. ee.EncodeInt(int64(v2))
  3867. }
  3868. ee.EncodeEnd()
  3869. }
  3870. func (f encFnInfo) fastpathEncMapUint8Int8R(rv reflect.Value) {
  3871. fastpathTV.EncMapUint8Int8V(rv.Interface().(map[uint8]int8), fastpathCheckNilFalse, f.e)
  3872. }
  3873. func (_ fastpathT) EncMapUint8Int8V(v map[uint8]int8, checkNil bool, e *Encoder) {
  3874. ee := e.e
  3875. if checkNil && v == nil {
  3876. ee.EncodeNil()
  3877. return
  3878. }
  3879. ee.EncodeMapStart(len(v))
  3880. for k2, v2 := range v {
  3881. ee.EncodeUint(uint64(k2))
  3882. ee.EncodeInt(int64(v2))
  3883. }
  3884. ee.EncodeEnd()
  3885. }
  3886. func (f encFnInfo) fastpathEncMapUint8Int16R(rv reflect.Value) {
  3887. fastpathTV.EncMapUint8Int16V(rv.Interface().(map[uint8]int16), fastpathCheckNilFalse, f.e)
  3888. }
  3889. func (_ fastpathT) EncMapUint8Int16V(v map[uint8]int16, checkNil bool, e *Encoder) {
  3890. ee := e.e
  3891. if checkNil && v == nil {
  3892. ee.EncodeNil()
  3893. return
  3894. }
  3895. ee.EncodeMapStart(len(v))
  3896. for k2, v2 := range v {
  3897. ee.EncodeUint(uint64(k2))
  3898. ee.EncodeInt(int64(v2))
  3899. }
  3900. ee.EncodeEnd()
  3901. }
  3902. func (f encFnInfo) fastpathEncMapUint8Int32R(rv reflect.Value) {
  3903. fastpathTV.EncMapUint8Int32V(rv.Interface().(map[uint8]int32), fastpathCheckNilFalse, f.e)
  3904. }
  3905. func (_ fastpathT) EncMapUint8Int32V(v map[uint8]int32, checkNil bool, e *Encoder) {
  3906. ee := e.e
  3907. if checkNil && v == nil {
  3908. ee.EncodeNil()
  3909. return
  3910. }
  3911. ee.EncodeMapStart(len(v))
  3912. for k2, v2 := range v {
  3913. ee.EncodeUint(uint64(k2))
  3914. ee.EncodeInt(int64(v2))
  3915. }
  3916. ee.EncodeEnd()
  3917. }
  3918. func (f encFnInfo) fastpathEncMapUint8Int64R(rv reflect.Value) {
  3919. fastpathTV.EncMapUint8Int64V(rv.Interface().(map[uint8]int64), fastpathCheckNilFalse, f.e)
  3920. }
  3921. func (_ fastpathT) EncMapUint8Int64V(v map[uint8]int64, checkNil bool, e *Encoder) {
  3922. ee := e.e
  3923. if checkNil && v == nil {
  3924. ee.EncodeNil()
  3925. return
  3926. }
  3927. ee.EncodeMapStart(len(v))
  3928. for k2, v2 := range v {
  3929. ee.EncodeUint(uint64(k2))
  3930. ee.EncodeInt(int64(v2))
  3931. }
  3932. ee.EncodeEnd()
  3933. }
  3934. func (f encFnInfo) fastpathEncMapUint8Float32R(rv reflect.Value) {
  3935. fastpathTV.EncMapUint8Float32V(rv.Interface().(map[uint8]float32), fastpathCheckNilFalse, f.e)
  3936. }
  3937. func (_ fastpathT) EncMapUint8Float32V(v map[uint8]float32, checkNil bool, e *Encoder) {
  3938. ee := e.e
  3939. if checkNil && v == nil {
  3940. ee.EncodeNil()
  3941. return
  3942. }
  3943. ee.EncodeMapStart(len(v))
  3944. for k2, v2 := range v {
  3945. ee.EncodeUint(uint64(k2))
  3946. ee.EncodeFloat32(v2)
  3947. }
  3948. ee.EncodeEnd()
  3949. }
  3950. func (f encFnInfo) fastpathEncMapUint8Float64R(rv reflect.Value) {
  3951. fastpathTV.EncMapUint8Float64V(rv.Interface().(map[uint8]float64), fastpathCheckNilFalse, f.e)
  3952. }
  3953. func (_ fastpathT) EncMapUint8Float64V(v map[uint8]float64, checkNil bool, e *Encoder) {
  3954. ee := e.e
  3955. if checkNil && v == nil {
  3956. ee.EncodeNil()
  3957. return
  3958. }
  3959. ee.EncodeMapStart(len(v))
  3960. for k2, v2 := range v {
  3961. ee.EncodeUint(uint64(k2))
  3962. ee.EncodeFloat64(v2)
  3963. }
  3964. ee.EncodeEnd()
  3965. }
  3966. func (f encFnInfo) fastpathEncMapUint8BoolR(rv reflect.Value) {
  3967. fastpathTV.EncMapUint8BoolV(rv.Interface().(map[uint8]bool), fastpathCheckNilFalse, f.e)
  3968. }
  3969. func (_ fastpathT) EncMapUint8BoolV(v map[uint8]bool, checkNil bool, e *Encoder) {
  3970. ee := e.e
  3971. if checkNil && v == nil {
  3972. ee.EncodeNil()
  3973. return
  3974. }
  3975. ee.EncodeMapStart(len(v))
  3976. for k2, v2 := range v {
  3977. ee.EncodeUint(uint64(k2))
  3978. ee.EncodeBool(v2)
  3979. }
  3980. ee.EncodeEnd()
  3981. }
  3982. func (f encFnInfo) fastpathEncMapUint16IntfR(rv reflect.Value) {
  3983. fastpathTV.EncMapUint16IntfV(rv.Interface().(map[uint16]interface{}), fastpathCheckNilFalse, f.e)
  3984. }
  3985. func (_ fastpathT) EncMapUint16IntfV(v map[uint16]interface{}, checkNil bool, e *Encoder) {
  3986. ee := e.e
  3987. if checkNil && v == nil {
  3988. ee.EncodeNil()
  3989. return
  3990. }
  3991. ee.EncodeMapStart(len(v))
  3992. for k2, v2 := range v {
  3993. ee.EncodeUint(uint64(k2))
  3994. e.encode(v2)
  3995. }
  3996. ee.EncodeEnd()
  3997. }
  3998. func (f encFnInfo) fastpathEncMapUint16StringR(rv reflect.Value) {
  3999. fastpathTV.EncMapUint16StringV(rv.Interface().(map[uint16]string), fastpathCheckNilFalse, f.e)
  4000. }
  4001. func (_ fastpathT) EncMapUint16StringV(v map[uint16]string, checkNil bool, e *Encoder) {
  4002. ee := e.e
  4003. if checkNil && v == nil {
  4004. ee.EncodeNil()
  4005. return
  4006. }
  4007. ee.EncodeMapStart(len(v))
  4008. for k2, v2 := range v {
  4009. ee.EncodeUint(uint64(k2))
  4010. ee.EncodeString(c_UTF8, v2)
  4011. }
  4012. ee.EncodeEnd()
  4013. }
  4014. func (f encFnInfo) fastpathEncMapUint16UintR(rv reflect.Value) {
  4015. fastpathTV.EncMapUint16UintV(rv.Interface().(map[uint16]uint), fastpathCheckNilFalse, f.e)
  4016. }
  4017. func (_ fastpathT) EncMapUint16UintV(v map[uint16]uint, checkNil bool, e *Encoder) {
  4018. ee := e.e
  4019. if checkNil && v == nil {
  4020. ee.EncodeNil()
  4021. return
  4022. }
  4023. ee.EncodeMapStart(len(v))
  4024. for k2, v2 := range v {
  4025. ee.EncodeUint(uint64(k2))
  4026. ee.EncodeUint(uint64(v2))
  4027. }
  4028. ee.EncodeEnd()
  4029. }
  4030. func (f encFnInfo) fastpathEncMapUint16Uint8R(rv reflect.Value) {
  4031. fastpathTV.EncMapUint16Uint8V(rv.Interface().(map[uint16]uint8), fastpathCheckNilFalse, f.e)
  4032. }
  4033. func (_ fastpathT) EncMapUint16Uint8V(v map[uint16]uint8, checkNil bool, e *Encoder) {
  4034. ee := e.e
  4035. if checkNil && v == nil {
  4036. ee.EncodeNil()
  4037. return
  4038. }
  4039. ee.EncodeMapStart(len(v))
  4040. for k2, v2 := range v {
  4041. ee.EncodeUint(uint64(k2))
  4042. ee.EncodeUint(uint64(v2))
  4043. }
  4044. ee.EncodeEnd()
  4045. }
  4046. func (f encFnInfo) fastpathEncMapUint16Uint16R(rv reflect.Value) {
  4047. fastpathTV.EncMapUint16Uint16V(rv.Interface().(map[uint16]uint16), fastpathCheckNilFalse, f.e)
  4048. }
  4049. func (_ fastpathT) EncMapUint16Uint16V(v map[uint16]uint16, checkNil bool, e *Encoder) {
  4050. ee := e.e
  4051. if checkNil && v == nil {
  4052. ee.EncodeNil()
  4053. return
  4054. }
  4055. ee.EncodeMapStart(len(v))
  4056. for k2, v2 := range v {
  4057. ee.EncodeUint(uint64(k2))
  4058. ee.EncodeUint(uint64(v2))
  4059. }
  4060. ee.EncodeEnd()
  4061. }
  4062. func (f encFnInfo) fastpathEncMapUint16Uint32R(rv reflect.Value) {
  4063. fastpathTV.EncMapUint16Uint32V(rv.Interface().(map[uint16]uint32), fastpathCheckNilFalse, f.e)
  4064. }
  4065. func (_ fastpathT) EncMapUint16Uint32V(v map[uint16]uint32, checkNil bool, e *Encoder) {
  4066. ee := e.e
  4067. if checkNil && v == nil {
  4068. ee.EncodeNil()
  4069. return
  4070. }
  4071. ee.EncodeMapStart(len(v))
  4072. for k2, v2 := range v {
  4073. ee.EncodeUint(uint64(k2))
  4074. ee.EncodeUint(uint64(v2))
  4075. }
  4076. ee.EncodeEnd()
  4077. }
  4078. func (f encFnInfo) fastpathEncMapUint16Uint64R(rv reflect.Value) {
  4079. fastpathTV.EncMapUint16Uint64V(rv.Interface().(map[uint16]uint64), fastpathCheckNilFalse, f.e)
  4080. }
  4081. func (_ fastpathT) EncMapUint16Uint64V(v map[uint16]uint64, checkNil bool, e *Encoder) {
  4082. ee := e.e
  4083. if checkNil && v == nil {
  4084. ee.EncodeNil()
  4085. return
  4086. }
  4087. ee.EncodeMapStart(len(v))
  4088. for k2, v2 := range v {
  4089. ee.EncodeUint(uint64(k2))
  4090. ee.EncodeUint(uint64(v2))
  4091. }
  4092. ee.EncodeEnd()
  4093. }
  4094. func (f encFnInfo) fastpathEncMapUint16IntR(rv reflect.Value) {
  4095. fastpathTV.EncMapUint16IntV(rv.Interface().(map[uint16]int), fastpathCheckNilFalse, f.e)
  4096. }
  4097. func (_ fastpathT) EncMapUint16IntV(v map[uint16]int, checkNil bool, e *Encoder) {
  4098. ee := e.e
  4099. if checkNil && v == nil {
  4100. ee.EncodeNil()
  4101. return
  4102. }
  4103. ee.EncodeMapStart(len(v))
  4104. for k2, v2 := range v {
  4105. ee.EncodeUint(uint64(k2))
  4106. ee.EncodeInt(int64(v2))
  4107. }
  4108. ee.EncodeEnd()
  4109. }
  4110. func (f encFnInfo) fastpathEncMapUint16Int8R(rv reflect.Value) {
  4111. fastpathTV.EncMapUint16Int8V(rv.Interface().(map[uint16]int8), fastpathCheckNilFalse, f.e)
  4112. }
  4113. func (_ fastpathT) EncMapUint16Int8V(v map[uint16]int8, checkNil bool, e *Encoder) {
  4114. ee := e.e
  4115. if checkNil && v == nil {
  4116. ee.EncodeNil()
  4117. return
  4118. }
  4119. ee.EncodeMapStart(len(v))
  4120. for k2, v2 := range v {
  4121. ee.EncodeUint(uint64(k2))
  4122. ee.EncodeInt(int64(v2))
  4123. }
  4124. ee.EncodeEnd()
  4125. }
  4126. func (f encFnInfo) fastpathEncMapUint16Int16R(rv reflect.Value) {
  4127. fastpathTV.EncMapUint16Int16V(rv.Interface().(map[uint16]int16), fastpathCheckNilFalse, f.e)
  4128. }
  4129. func (_ fastpathT) EncMapUint16Int16V(v map[uint16]int16, checkNil bool, e *Encoder) {
  4130. ee := e.e
  4131. if checkNil && v == nil {
  4132. ee.EncodeNil()
  4133. return
  4134. }
  4135. ee.EncodeMapStart(len(v))
  4136. for k2, v2 := range v {
  4137. ee.EncodeUint(uint64(k2))
  4138. ee.EncodeInt(int64(v2))
  4139. }
  4140. ee.EncodeEnd()
  4141. }
  4142. func (f encFnInfo) fastpathEncMapUint16Int32R(rv reflect.Value) {
  4143. fastpathTV.EncMapUint16Int32V(rv.Interface().(map[uint16]int32), fastpathCheckNilFalse, f.e)
  4144. }
  4145. func (_ fastpathT) EncMapUint16Int32V(v map[uint16]int32, checkNil bool, e *Encoder) {
  4146. ee := e.e
  4147. if checkNil && v == nil {
  4148. ee.EncodeNil()
  4149. return
  4150. }
  4151. ee.EncodeMapStart(len(v))
  4152. for k2, v2 := range v {
  4153. ee.EncodeUint(uint64(k2))
  4154. ee.EncodeInt(int64(v2))
  4155. }
  4156. ee.EncodeEnd()
  4157. }
  4158. func (f encFnInfo) fastpathEncMapUint16Int64R(rv reflect.Value) {
  4159. fastpathTV.EncMapUint16Int64V(rv.Interface().(map[uint16]int64), fastpathCheckNilFalse, f.e)
  4160. }
  4161. func (_ fastpathT) EncMapUint16Int64V(v map[uint16]int64, checkNil bool, e *Encoder) {
  4162. ee := e.e
  4163. if checkNil && v == nil {
  4164. ee.EncodeNil()
  4165. return
  4166. }
  4167. ee.EncodeMapStart(len(v))
  4168. for k2, v2 := range v {
  4169. ee.EncodeUint(uint64(k2))
  4170. ee.EncodeInt(int64(v2))
  4171. }
  4172. ee.EncodeEnd()
  4173. }
  4174. func (f encFnInfo) fastpathEncMapUint16Float32R(rv reflect.Value) {
  4175. fastpathTV.EncMapUint16Float32V(rv.Interface().(map[uint16]float32), fastpathCheckNilFalse, f.e)
  4176. }
  4177. func (_ fastpathT) EncMapUint16Float32V(v map[uint16]float32, checkNil bool, e *Encoder) {
  4178. ee := e.e
  4179. if checkNil && v == nil {
  4180. ee.EncodeNil()
  4181. return
  4182. }
  4183. ee.EncodeMapStart(len(v))
  4184. for k2, v2 := range v {
  4185. ee.EncodeUint(uint64(k2))
  4186. ee.EncodeFloat32(v2)
  4187. }
  4188. ee.EncodeEnd()
  4189. }
  4190. func (f encFnInfo) fastpathEncMapUint16Float64R(rv reflect.Value) {
  4191. fastpathTV.EncMapUint16Float64V(rv.Interface().(map[uint16]float64), fastpathCheckNilFalse, f.e)
  4192. }
  4193. func (_ fastpathT) EncMapUint16Float64V(v map[uint16]float64, checkNil bool, e *Encoder) {
  4194. ee := e.e
  4195. if checkNil && v == nil {
  4196. ee.EncodeNil()
  4197. return
  4198. }
  4199. ee.EncodeMapStart(len(v))
  4200. for k2, v2 := range v {
  4201. ee.EncodeUint(uint64(k2))
  4202. ee.EncodeFloat64(v2)
  4203. }
  4204. ee.EncodeEnd()
  4205. }
  4206. func (f encFnInfo) fastpathEncMapUint16BoolR(rv reflect.Value) {
  4207. fastpathTV.EncMapUint16BoolV(rv.Interface().(map[uint16]bool), fastpathCheckNilFalse, f.e)
  4208. }
  4209. func (_ fastpathT) EncMapUint16BoolV(v map[uint16]bool, checkNil bool, e *Encoder) {
  4210. ee := e.e
  4211. if checkNil && v == nil {
  4212. ee.EncodeNil()
  4213. return
  4214. }
  4215. ee.EncodeMapStart(len(v))
  4216. for k2, v2 := range v {
  4217. ee.EncodeUint(uint64(k2))
  4218. ee.EncodeBool(v2)
  4219. }
  4220. ee.EncodeEnd()
  4221. }
  4222. func (f encFnInfo) fastpathEncMapUint32IntfR(rv reflect.Value) {
  4223. fastpathTV.EncMapUint32IntfV(rv.Interface().(map[uint32]interface{}), fastpathCheckNilFalse, f.e)
  4224. }
  4225. func (_ fastpathT) EncMapUint32IntfV(v map[uint32]interface{}, checkNil bool, e *Encoder) {
  4226. ee := e.e
  4227. if checkNil && v == nil {
  4228. ee.EncodeNil()
  4229. return
  4230. }
  4231. ee.EncodeMapStart(len(v))
  4232. for k2, v2 := range v {
  4233. ee.EncodeUint(uint64(k2))
  4234. e.encode(v2)
  4235. }
  4236. ee.EncodeEnd()
  4237. }
  4238. func (f encFnInfo) fastpathEncMapUint32StringR(rv reflect.Value) {
  4239. fastpathTV.EncMapUint32StringV(rv.Interface().(map[uint32]string), fastpathCheckNilFalse, f.e)
  4240. }
  4241. func (_ fastpathT) EncMapUint32StringV(v map[uint32]string, checkNil bool, e *Encoder) {
  4242. ee := e.e
  4243. if checkNil && v == nil {
  4244. ee.EncodeNil()
  4245. return
  4246. }
  4247. ee.EncodeMapStart(len(v))
  4248. for k2, v2 := range v {
  4249. ee.EncodeUint(uint64(k2))
  4250. ee.EncodeString(c_UTF8, v2)
  4251. }
  4252. ee.EncodeEnd()
  4253. }
  4254. func (f encFnInfo) fastpathEncMapUint32UintR(rv reflect.Value) {
  4255. fastpathTV.EncMapUint32UintV(rv.Interface().(map[uint32]uint), fastpathCheckNilFalse, f.e)
  4256. }
  4257. func (_ fastpathT) EncMapUint32UintV(v map[uint32]uint, checkNil bool, e *Encoder) {
  4258. ee := e.e
  4259. if checkNil && v == nil {
  4260. ee.EncodeNil()
  4261. return
  4262. }
  4263. ee.EncodeMapStart(len(v))
  4264. for k2, v2 := range v {
  4265. ee.EncodeUint(uint64(k2))
  4266. ee.EncodeUint(uint64(v2))
  4267. }
  4268. ee.EncodeEnd()
  4269. }
  4270. func (f encFnInfo) fastpathEncMapUint32Uint8R(rv reflect.Value) {
  4271. fastpathTV.EncMapUint32Uint8V(rv.Interface().(map[uint32]uint8), fastpathCheckNilFalse, f.e)
  4272. }
  4273. func (_ fastpathT) EncMapUint32Uint8V(v map[uint32]uint8, checkNil bool, e *Encoder) {
  4274. ee := e.e
  4275. if checkNil && v == nil {
  4276. ee.EncodeNil()
  4277. return
  4278. }
  4279. ee.EncodeMapStart(len(v))
  4280. for k2, v2 := range v {
  4281. ee.EncodeUint(uint64(k2))
  4282. ee.EncodeUint(uint64(v2))
  4283. }
  4284. ee.EncodeEnd()
  4285. }
  4286. func (f encFnInfo) fastpathEncMapUint32Uint16R(rv reflect.Value) {
  4287. fastpathTV.EncMapUint32Uint16V(rv.Interface().(map[uint32]uint16), fastpathCheckNilFalse, f.e)
  4288. }
  4289. func (_ fastpathT) EncMapUint32Uint16V(v map[uint32]uint16, checkNil bool, e *Encoder) {
  4290. ee := e.e
  4291. if checkNil && v == nil {
  4292. ee.EncodeNil()
  4293. return
  4294. }
  4295. ee.EncodeMapStart(len(v))
  4296. for k2, v2 := range v {
  4297. ee.EncodeUint(uint64(k2))
  4298. ee.EncodeUint(uint64(v2))
  4299. }
  4300. ee.EncodeEnd()
  4301. }
  4302. func (f encFnInfo) fastpathEncMapUint32Uint32R(rv reflect.Value) {
  4303. fastpathTV.EncMapUint32Uint32V(rv.Interface().(map[uint32]uint32), fastpathCheckNilFalse, f.e)
  4304. }
  4305. func (_ fastpathT) EncMapUint32Uint32V(v map[uint32]uint32, checkNil bool, e *Encoder) {
  4306. ee := e.e
  4307. if checkNil && v == nil {
  4308. ee.EncodeNil()
  4309. return
  4310. }
  4311. ee.EncodeMapStart(len(v))
  4312. for k2, v2 := range v {
  4313. ee.EncodeUint(uint64(k2))
  4314. ee.EncodeUint(uint64(v2))
  4315. }
  4316. ee.EncodeEnd()
  4317. }
  4318. func (f encFnInfo) fastpathEncMapUint32Uint64R(rv reflect.Value) {
  4319. fastpathTV.EncMapUint32Uint64V(rv.Interface().(map[uint32]uint64), fastpathCheckNilFalse, f.e)
  4320. }
  4321. func (_ fastpathT) EncMapUint32Uint64V(v map[uint32]uint64, checkNil bool, e *Encoder) {
  4322. ee := e.e
  4323. if checkNil && v == nil {
  4324. ee.EncodeNil()
  4325. return
  4326. }
  4327. ee.EncodeMapStart(len(v))
  4328. for k2, v2 := range v {
  4329. ee.EncodeUint(uint64(k2))
  4330. ee.EncodeUint(uint64(v2))
  4331. }
  4332. ee.EncodeEnd()
  4333. }
  4334. func (f encFnInfo) fastpathEncMapUint32IntR(rv reflect.Value) {
  4335. fastpathTV.EncMapUint32IntV(rv.Interface().(map[uint32]int), fastpathCheckNilFalse, f.e)
  4336. }
  4337. func (_ fastpathT) EncMapUint32IntV(v map[uint32]int, checkNil bool, e *Encoder) {
  4338. ee := e.e
  4339. if checkNil && v == nil {
  4340. ee.EncodeNil()
  4341. return
  4342. }
  4343. ee.EncodeMapStart(len(v))
  4344. for k2, v2 := range v {
  4345. ee.EncodeUint(uint64(k2))
  4346. ee.EncodeInt(int64(v2))
  4347. }
  4348. ee.EncodeEnd()
  4349. }
  4350. func (f encFnInfo) fastpathEncMapUint32Int8R(rv reflect.Value) {
  4351. fastpathTV.EncMapUint32Int8V(rv.Interface().(map[uint32]int8), fastpathCheckNilFalse, f.e)
  4352. }
  4353. func (_ fastpathT) EncMapUint32Int8V(v map[uint32]int8, checkNil bool, e *Encoder) {
  4354. ee := e.e
  4355. if checkNil && v == nil {
  4356. ee.EncodeNil()
  4357. return
  4358. }
  4359. ee.EncodeMapStart(len(v))
  4360. for k2, v2 := range v {
  4361. ee.EncodeUint(uint64(k2))
  4362. ee.EncodeInt(int64(v2))
  4363. }
  4364. ee.EncodeEnd()
  4365. }
  4366. func (f encFnInfo) fastpathEncMapUint32Int16R(rv reflect.Value) {
  4367. fastpathTV.EncMapUint32Int16V(rv.Interface().(map[uint32]int16), fastpathCheckNilFalse, f.e)
  4368. }
  4369. func (_ fastpathT) EncMapUint32Int16V(v map[uint32]int16, checkNil bool, e *Encoder) {
  4370. ee := e.e
  4371. if checkNil && v == nil {
  4372. ee.EncodeNil()
  4373. return
  4374. }
  4375. ee.EncodeMapStart(len(v))
  4376. for k2, v2 := range v {
  4377. ee.EncodeUint(uint64(k2))
  4378. ee.EncodeInt(int64(v2))
  4379. }
  4380. ee.EncodeEnd()
  4381. }
  4382. func (f encFnInfo) fastpathEncMapUint32Int32R(rv reflect.Value) {
  4383. fastpathTV.EncMapUint32Int32V(rv.Interface().(map[uint32]int32), fastpathCheckNilFalse, f.e)
  4384. }
  4385. func (_ fastpathT) EncMapUint32Int32V(v map[uint32]int32, checkNil bool, e *Encoder) {
  4386. ee := e.e
  4387. if checkNil && v == nil {
  4388. ee.EncodeNil()
  4389. return
  4390. }
  4391. ee.EncodeMapStart(len(v))
  4392. for k2, v2 := range v {
  4393. ee.EncodeUint(uint64(k2))
  4394. ee.EncodeInt(int64(v2))
  4395. }
  4396. ee.EncodeEnd()
  4397. }
  4398. func (f encFnInfo) fastpathEncMapUint32Int64R(rv reflect.Value) {
  4399. fastpathTV.EncMapUint32Int64V(rv.Interface().(map[uint32]int64), fastpathCheckNilFalse, f.e)
  4400. }
  4401. func (_ fastpathT) EncMapUint32Int64V(v map[uint32]int64, checkNil bool, e *Encoder) {
  4402. ee := e.e
  4403. if checkNil && v == nil {
  4404. ee.EncodeNil()
  4405. return
  4406. }
  4407. ee.EncodeMapStart(len(v))
  4408. for k2, v2 := range v {
  4409. ee.EncodeUint(uint64(k2))
  4410. ee.EncodeInt(int64(v2))
  4411. }
  4412. ee.EncodeEnd()
  4413. }
  4414. func (f encFnInfo) fastpathEncMapUint32Float32R(rv reflect.Value) {
  4415. fastpathTV.EncMapUint32Float32V(rv.Interface().(map[uint32]float32), fastpathCheckNilFalse, f.e)
  4416. }
  4417. func (_ fastpathT) EncMapUint32Float32V(v map[uint32]float32, checkNil bool, e *Encoder) {
  4418. ee := e.e
  4419. if checkNil && v == nil {
  4420. ee.EncodeNil()
  4421. return
  4422. }
  4423. ee.EncodeMapStart(len(v))
  4424. for k2, v2 := range v {
  4425. ee.EncodeUint(uint64(k2))
  4426. ee.EncodeFloat32(v2)
  4427. }
  4428. ee.EncodeEnd()
  4429. }
  4430. func (f encFnInfo) fastpathEncMapUint32Float64R(rv reflect.Value) {
  4431. fastpathTV.EncMapUint32Float64V(rv.Interface().(map[uint32]float64), fastpathCheckNilFalse, f.e)
  4432. }
  4433. func (_ fastpathT) EncMapUint32Float64V(v map[uint32]float64, checkNil bool, e *Encoder) {
  4434. ee := e.e
  4435. if checkNil && v == nil {
  4436. ee.EncodeNil()
  4437. return
  4438. }
  4439. ee.EncodeMapStart(len(v))
  4440. for k2, v2 := range v {
  4441. ee.EncodeUint(uint64(k2))
  4442. ee.EncodeFloat64(v2)
  4443. }
  4444. ee.EncodeEnd()
  4445. }
  4446. func (f encFnInfo) fastpathEncMapUint32BoolR(rv reflect.Value) {
  4447. fastpathTV.EncMapUint32BoolV(rv.Interface().(map[uint32]bool), fastpathCheckNilFalse, f.e)
  4448. }
  4449. func (_ fastpathT) EncMapUint32BoolV(v map[uint32]bool, checkNil bool, e *Encoder) {
  4450. ee := e.e
  4451. if checkNil && v == nil {
  4452. ee.EncodeNil()
  4453. return
  4454. }
  4455. ee.EncodeMapStart(len(v))
  4456. for k2, v2 := range v {
  4457. ee.EncodeUint(uint64(k2))
  4458. ee.EncodeBool(v2)
  4459. }
  4460. ee.EncodeEnd()
  4461. }
  4462. func (f encFnInfo) fastpathEncMapUint64IntfR(rv reflect.Value) {
  4463. fastpathTV.EncMapUint64IntfV(rv.Interface().(map[uint64]interface{}), fastpathCheckNilFalse, f.e)
  4464. }
  4465. func (_ fastpathT) EncMapUint64IntfV(v map[uint64]interface{}, checkNil bool, e *Encoder) {
  4466. ee := e.e
  4467. if checkNil && v == nil {
  4468. ee.EncodeNil()
  4469. return
  4470. }
  4471. ee.EncodeMapStart(len(v))
  4472. for k2, v2 := range v {
  4473. ee.EncodeUint(uint64(k2))
  4474. e.encode(v2)
  4475. }
  4476. ee.EncodeEnd()
  4477. }
  4478. func (f encFnInfo) fastpathEncMapUint64StringR(rv reflect.Value) {
  4479. fastpathTV.EncMapUint64StringV(rv.Interface().(map[uint64]string), fastpathCheckNilFalse, f.e)
  4480. }
  4481. func (_ fastpathT) EncMapUint64StringV(v map[uint64]string, checkNil bool, e *Encoder) {
  4482. ee := e.e
  4483. if checkNil && v == nil {
  4484. ee.EncodeNil()
  4485. return
  4486. }
  4487. ee.EncodeMapStart(len(v))
  4488. for k2, v2 := range v {
  4489. ee.EncodeUint(uint64(k2))
  4490. ee.EncodeString(c_UTF8, v2)
  4491. }
  4492. ee.EncodeEnd()
  4493. }
  4494. func (f encFnInfo) fastpathEncMapUint64UintR(rv reflect.Value) {
  4495. fastpathTV.EncMapUint64UintV(rv.Interface().(map[uint64]uint), fastpathCheckNilFalse, f.e)
  4496. }
  4497. func (_ fastpathT) EncMapUint64UintV(v map[uint64]uint, checkNil bool, e *Encoder) {
  4498. ee := e.e
  4499. if checkNil && v == nil {
  4500. ee.EncodeNil()
  4501. return
  4502. }
  4503. ee.EncodeMapStart(len(v))
  4504. for k2, v2 := range v {
  4505. ee.EncodeUint(uint64(k2))
  4506. ee.EncodeUint(uint64(v2))
  4507. }
  4508. ee.EncodeEnd()
  4509. }
  4510. func (f encFnInfo) fastpathEncMapUint64Uint8R(rv reflect.Value) {
  4511. fastpathTV.EncMapUint64Uint8V(rv.Interface().(map[uint64]uint8), fastpathCheckNilFalse, f.e)
  4512. }
  4513. func (_ fastpathT) EncMapUint64Uint8V(v map[uint64]uint8, checkNil bool, e *Encoder) {
  4514. ee := e.e
  4515. if checkNil && v == nil {
  4516. ee.EncodeNil()
  4517. return
  4518. }
  4519. ee.EncodeMapStart(len(v))
  4520. for k2, v2 := range v {
  4521. ee.EncodeUint(uint64(k2))
  4522. ee.EncodeUint(uint64(v2))
  4523. }
  4524. ee.EncodeEnd()
  4525. }
  4526. func (f encFnInfo) fastpathEncMapUint64Uint16R(rv reflect.Value) {
  4527. fastpathTV.EncMapUint64Uint16V(rv.Interface().(map[uint64]uint16), fastpathCheckNilFalse, f.e)
  4528. }
  4529. func (_ fastpathT) EncMapUint64Uint16V(v map[uint64]uint16, checkNil bool, e *Encoder) {
  4530. ee := e.e
  4531. if checkNil && v == nil {
  4532. ee.EncodeNil()
  4533. return
  4534. }
  4535. ee.EncodeMapStart(len(v))
  4536. for k2, v2 := range v {
  4537. ee.EncodeUint(uint64(k2))
  4538. ee.EncodeUint(uint64(v2))
  4539. }
  4540. ee.EncodeEnd()
  4541. }
  4542. func (f encFnInfo) fastpathEncMapUint64Uint32R(rv reflect.Value) {
  4543. fastpathTV.EncMapUint64Uint32V(rv.Interface().(map[uint64]uint32), fastpathCheckNilFalse, f.e)
  4544. }
  4545. func (_ fastpathT) EncMapUint64Uint32V(v map[uint64]uint32, checkNil bool, e *Encoder) {
  4546. ee := e.e
  4547. if checkNil && v == nil {
  4548. ee.EncodeNil()
  4549. return
  4550. }
  4551. ee.EncodeMapStart(len(v))
  4552. for k2, v2 := range v {
  4553. ee.EncodeUint(uint64(k2))
  4554. ee.EncodeUint(uint64(v2))
  4555. }
  4556. ee.EncodeEnd()
  4557. }
  4558. func (f encFnInfo) fastpathEncMapUint64Uint64R(rv reflect.Value) {
  4559. fastpathTV.EncMapUint64Uint64V(rv.Interface().(map[uint64]uint64), fastpathCheckNilFalse, f.e)
  4560. }
  4561. func (_ fastpathT) EncMapUint64Uint64V(v map[uint64]uint64, checkNil bool, e *Encoder) {
  4562. ee := e.e
  4563. if checkNil && v == nil {
  4564. ee.EncodeNil()
  4565. return
  4566. }
  4567. ee.EncodeMapStart(len(v))
  4568. for k2, v2 := range v {
  4569. ee.EncodeUint(uint64(k2))
  4570. ee.EncodeUint(uint64(v2))
  4571. }
  4572. ee.EncodeEnd()
  4573. }
  4574. func (f encFnInfo) fastpathEncMapUint64IntR(rv reflect.Value) {
  4575. fastpathTV.EncMapUint64IntV(rv.Interface().(map[uint64]int), fastpathCheckNilFalse, f.e)
  4576. }
  4577. func (_ fastpathT) EncMapUint64IntV(v map[uint64]int, checkNil bool, e *Encoder) {
  4578. ee := e.e
  4579. if checkNil && v == nil {
  4580. ee.EncodeNil()
  4581. return
  4582. }
  4583. ee.EncodeMapStart(len(v))
  4584. for k2, v2 := range v {
  4585. ee.EncodeUint(uint64(k2))
  4586. ee.EncodeInt(int64(v2))
  4587. }
  4588. ee.EncodeEnd()
  4589. }
  4590. func (f encFnInfo) fastpathEncMapUint64Int8R(rv reflect.Value) {
  4591. fastpathTV.EncMapUint64Int8V(rv.Interface().(map[uint64]int8), fastpathCheckNilFalse, f.e)
  4592. }
  4593. func (_ fastpathT) EncMapUint64Int8V(v map[uint64]int8, checkNil bool, e *Encoder) {
  4594. ee := e.e
  4595. if checkNil && v == nil {
  4596. ee.EncodeNil()
  4597. return
  4598. }
  4599. ee.EncodeMapStart(len(v))
  4600. for k2, v2 := range v {
  4601. ee.EncodeUint(uint64(k2))
  4602. ee.EncodeInt(int64(v2))
  4603. }
  4604. ee.EncodeEnd()
  4605. }
  4606. func (f encFnInfo) fastpathEncMapUint64Int16R(rv reflect.Value) {
  4607. fastpathTV.EncMapUint64Int16V(rv.Interface().(map[uint64]int16), fastpathCheckNilFalse, f.e)
  4608. }
  4609. func (_ fastpathT) EncMapUint64Int16V(v map[uint64]int16, checkNil bool, e *Encoder) {
  4610. ee := e.e
  4611. if checkNil && v == nil {
  4612. ee.EncodeNil()
  4613. return
  4614. }
  4615. ee.EncodeMapStart(len(v))
  4616. for k2, v2 := range v {
  4617. ee.EncodeUint(uint64(k2))
  4618. ee.EncodeInt(int64(v2))
  4619. }
  4620. ee.EncodeEnd()
  4621. }
  4622. func (f encFnInfo) fastpathEncMapUint64Int32R(rv reflect.Value) {
  4623. fastpathTV.EncMapUint64Int32V(rv.Interface().(map[uint64]int32), fastpathCheckNilFalse, f.e)
  4624. }
  4625. func (_ fastpathT) EncMapUint64Int32V(v map[uint64]int32, checkNil bool, e *Encoder) {
  4626. ee := e.e
  4627. if checkNil && v == nil {
  4628. ee.EncodeNil()
  4629. return
  4630. }
  4631. ee.EncodeMapStart(len(v))
  4632. for k2, v2 := range v {
  4633. ee.EncodeUint(uint64(k2))
  4634. ee.EncodeInt(int64(v2))
  4635. }
  4636. ee.EncodeEnd()
  4637. }
  4638. func (f encFnInfo) fastpathEncMapUint64Int64R(rv reflect.Value) {
  4639. fastpathTV.EncMapUint64Int64V(rv.Interface().(map[uint64]int64), fastpathCheckNilFalse, f.e)
  4640. }
  4641. func (_ fastpathT) EncMapUint64Int64V(v map[uint64]int64, checkNil bool, e *Encoder) {
  4642. ee := e.e
  4643. if checkNil && v == nil {
  4644. ee.EncodeNil()
  4645. return
  4646. }
  4647. ee.EncodeMapStart(len(v))
  4648. for k2, v2 := range v {
  4649. ee.EncodeUint(uint64(k2))
  4650. ee.EncodeInt(int64(v2))
  4651. }
  4652. ee.EncodeEnd()
  4653. }
  4654. func (f encFnInfo) fastpathEncMapUint64Float32R(rv reflect.Value) {
  4655. fastpathTV.EncMapUint64Float32V(rv.Interface().(map[uint64]float32), fastpathCheckNilFalse, f.e)
  4656. }
  4657. func (_ fastpathT) EncMapUint64Float32V(v map[uint64]float32, checkNil bool, e *Encoder) {
  4658. ee := e.e
  4659. if checkNil && v == nil {
  4660. ee.EncodeNil()
  4661. return
  4662. }
  4663. ee.EncodeMapStart(len(v))
  4664. for k2, v2 := range v {
  4665. ee.EncodeUint(uint64(k2))
  4666. ee.EncodeFloat32(v2)
  4667. }
  4668. ee.EncodeEnd()
  4669. }
  4670. func (f encFnInfo) fastpathEncMapUint64Float64R(rv reflect.Value) {
  4671. fastpathTV.EncMapUint64Float64V(rv.Interface().(map[uint64]float64), fastpathCheckNilFalse, f.e)
  4672. }
  4673. func (_ fastpathT) EncMapUint64Float64V(v map[uint64]float64, checkNil bool, e *Encoder) {
  4674. ee := e.e
  4675. if checkNil && v == nil {
  4676. ee.EncodeNil()
  4677. return
  4678. }
  4679. ee.EncodeMapStart(len(v))
  4680. for k2, v2 := range v {
  4681. ee.EncodeUint(uint64(k2))
  4682. ee.EncodeFloat64(v2)
  4683. }
  4684. ee.EncodeEnd()
  4685. }
  4686. func (f encFnInfo) fastpathEncMapUint64BoolR(rv reflect.Value) {
  4687. fastpathTV.EncMapUint64BoolV(rv.Interface().(map[uint64]bool), fastpathCheckNilFalse, f.e)
  4688. }
  4689. func (_ fastpathT) EncMapUint64BoolV(v map[uint64]bool, checkNil bool, e *Encoder) {
  4690. ee := e.e
  4691. if checkNil && v == nil {
  4692. ee.EncodeNil()
  4693. return
  4694. }
  4695. ee.EncodeMapStart(len(v))
  4696. for k2, v2 := range v {
  4697. ee.EncodeUint(uint64(k2))
  4698. ee.EncodeBool(v2)
  4699. }
  4700. ee.EncodeEnd()
  4701. }
  4702. func (f encFnInfo) fastpathEncMapIntIntfR(rv reflect.Value) {
  4703. fastpathTV.EncMapIntIntfV(rv.Interface().(map[int]interface{}), fastpathCheckNilFalse, f.e)
  4704. }
  4705. func (_ fastpathT) EncMapIntIntfV(v map[int]interface{}, checkNil bool, e *Encoder) {
  4706. ee := e.e
  4707. if checkNil && v == nil {
  4708. ee.EncodeNil()
  4709. return
  4710. }
  4711. ee.EncodeMapStart(len(v))
  4712. for k2, v2 := range v {
  4713. ee.EncodeInt(int64(k2))
  4714. e.encode(v2)
  4715. }
  4716. ee.EncodeEnd()
  4717. }
  4718. func (f encFnInfo) fastpathEncMapIntStringR(rv reflect.Value) {
  4719. fastpathTV.EncMapIntStringV(rv.Interface().(map[int]string), fastpathCheckNilFalse, f.e)
  4720. }
  4721. func (_ fastpathT) EncMapIntStringV(v map[int]string, checkNil bool, e *Encoder) {
  4722. ee := e.e
  4723. if checkNil && v == nil {
  4724. ee.EncodeNil()
  4725. return
  4726. }
  4727. ee.EncodeMapStart(len(v))
  4728. for k2, v2 := range v {
  4729. ee.EncodeInt(int64(k2))
  4730. ee.EncodeString(c_UTF8, v2)
  4731. }
  4732. ee.EncodeEnd()
  4733. }
  4734. func (f encFnInfo) fastpathEncMapIntUintR(rv reflect.Value) {
  4735. fastpathTV.EncMapIntUintV(rv.Interface().(map[int]uint), fastpathCheckNilFalse, f.e)
  4736. }
  4737. func (_ fastpathT) EncMapIntUintV(v map[int]uint, checkNil bool, e *Encoder) {
  4738. ee := e.e
  4739. if checkNil && v == nil {
  4740. ee.EncodeNil()
  4741. return
  4742. }
  4743. ee.EncodeMapStart(len(v))
  4744. for k2, v2 := range v {
  4745. ee.EncodeInt(int64(k2))
  4746. ee.EncodeUint(uint64(v2))
  4747. }
  4748. ee.EncodeEnd()
  4749. }
  4750. func (f encFnInfo) fastpathEncMapIntUint8R(rv reflect.Value) {
  4751. fastpathTV.EncMapIntUint8V(rv.Interface().(map[int]uint8), fastpathCheckNilFalse, f.e)
  4752. }
  4753. func (_ fastpathT) EncMapIntUint8V(v map[int]uint8, checkNil bool, e *Encoder) {
  4754. ee := e.e
  4755. if checkNil && v == nil {
  4756. ee.EncodeNil()
  4757. return
  4758. }
  4759. ee.EncodeMapStart(len(v))
  4760. for k2, v2 := range v {
  4761. ee.EncodeInt(int64(k2))
  4762. ee.EncodeUint(uint64(v2))
  4763. }
  4764. ee.EncodeEnd()
  4765. }
  4766. func (f encFnInfo) fastpathEncMapIntUint16R(rv reflect.Value) {
  4767. fastpathTV.EncMapIntUint16V(rv.Interface().(map[int]uint16), fastpathCheckNilFalse, f.e)
  4768. }
  4769. func (_ fastpathT) EncMapIntUint16V(v map[int]uint16, checkNil bool, e *Encoder) {
  4770. ee := e.e
  4771. if checkNil && v == nil {
  4772. ee.EncodeNil()
  4773. return
  4774. }
  4775. ee.EncodeMapStart(len(v))
  4776. for k2, v2 := range v {
  4777. ee.EncodeInt(int64(k2))
  4778. ee.EncodeUint(uint64(v2))
  4779. }
  4780. ee.EncodeEnd()
  4781. }
  4782. func (f encFnInfo) fastpathEncMapIntUint32R(rv reflect.Value) {
  4783. fastpathTV.EncMapIntUint32V(rv.Interface().(map[int]uint32), fastpathCheckNilFalse, f.e)
  4784. }
  4785. func (_ fastpathT) EncMapIntUint32V(v map[int]uint32, checkNil bool, e *Encoder) {
  4786. ee := e.e
  4787. if checkNil && v == nil {
  4788. ee.EncodeNil()
  4789. return
  4790. }
  4791. ee.EncodeMapStart(len(v))
  4792. for k2, v2 := range v {
  4793. ee.EncodeInt(int64(k2))
  4794. ee.EncodeUint(uint64(v2))
  4795. }
  4796. ee.EncodeEnd()
  4797. }
  4798. func (f encFnInfo) fastpathEncMapIntUint64R(rv reflect.Value) {
  4799. fastpathTV.EncMapIntUint64V(rv.Interface().(map[int]uint64), fastpathCheckNilFalse, f.e)
  4800. }
  4801. func (_ fastpathT) EncMapIntUint64V(v map[int]uint64, checkNil bool, e *Encoder) {
  4802. ee := e.e
  4803. if checkNil && v == nil {
  4804. ee.EncodeNil()
  4805. return
  4806. }
  4807. ee.EncodeMapStart(len(v))
  4808. for k2, v2 := range v {
  4809. ee.EncodeInt(int64(k2))
  4810. ee.EncodeUint(uint64(v2))
  4811. }
  4812. ee.EncodeEnd()
  4813. }
  4814. func (f encFnInfo) fastpathEncMapIntIntR(rv reflect.Value) {
  4815. fastpathTV.EncMapIntIntV(rv.Interface().(map[int]int), fastpathCheckNilFalse, f.e)
  4816. }
  4817. func (_ fastpathT) EncMapIntIntV(v map[int]int, checkNil bool, e *Encoder) {
  4818. ee := e.e
  4819. if checkNil && v == nil {
  4820. ee.EncodeNil()
  4821. return
  4822. }
  4823. ee.EncodeMapStart(len(v))
  4824. for k2, v2 := range v {
  4825. ee.EncodeInt(int64(k2))
  4826. ee.EncodeInt(int64(v2))
  4827. }
  4828. ee.EncodeEnd()
  4829. }
  4830. func (f encFnInfo) fastpathEncMapIntInt8R(rv reflect.Value) {
  4831. fastpathTV.EncMapIntInt8V(rv.Interface().(map[int]int8), fastpathCheckNilFalse, f.e)
  4832. }
  4833. func (_ fastpathT) EncMapIntInt8V(v map[int]int8, checkNil bool, e *Encoder) {
  4834. ee := e.e
  4835. if checkNil && v == nil {
  4836. ee.EncodeNil()
  4837. return
  4838. }
  4839. ee.EncodeMapStart(len(v))
  4840. for k2, v2 := range v {
  4841. ee.EncodeInt(int64(k2))
  4842. ee.EncodeInt(int64(v2))
  4843. }
  4844. ee.EncodeEnd()
  4845. }
  4846. func (f encFnInfo) fastpathEncMapIntInt16R(rv reflect.Value) {
  4847. fastpathTV.EncMapIntInt16V(rv.Interface().(map[int]int16), fastpathCheckNilFalse, f.e)
  4848. }
  4849. func (_ fastpathT) EncMapIntInt16V(v map[int]int16, checkNil bool, e *Encoder) {
  4850. ee := e.e
  4851. if checkNil && v == nil {
  4852. ee.EncodeNil()
  4853. return
  4854. }
  4855. ee.EncodeMapStart(len(v))
  4856. for k2, v2 := range v {
  4857. ee.EncodeInt(int64(k2))
  4858. ee.EncodeInt(int64(v2))
  4859. }
  4860. ee.EncodeEnd()
  4861. }
  4862. func (f encFnInfo) fastpathEncMapIntInt32R(rv reflect.Value) {
  4863. fastpathTV.EncMapIntInt32V(rv.Interface().(map[int]int32), fastpathCheckNilFalse, f.e)
  4864. }
  4865. func (_ fastpathT) EncMapIntInt32V(v map[int]int32, checkNil bool, e *Encoder) {
  4866. ee := e.e
  4867. if checkNil && v == nil {
  4868. ee.EncodeNil()
  4869. return
  4870. }
  4871. ee.EncodeMapStart(len(v))
  4872. for k2, v2 := range v {
  4873. ee.EncodeInt(int64(k2))
  4874. ee.EncodeInt(int64(v2))
  4875. }
  4876. ee.EncodeEnd()
  4877. }
  4878. func (f encFnInfo) fastpathEncMapIntInt64R(rv reflect.Value) {
  4879. fastpathTV.EncMapIntInt64V(rv.Interface().(map[int]int64), fastpathCheckNilFalse, f.e)
  4880. }
  4881. func (_ fastpathT) EncMapIntInt64V(v map[int]int64, checkNil bool, e *Encoder) {
  4882. ee := e.e
  4883. if checkNil && v == nil {
  4884. ee.EncodeNil()
  4885. return
  4886. }
  4887. ee.EncodeMapStart(len(v))
  4888. for k2, v2 := range v {
  4889. ee.EncodeInt(int64(k2))
  4890. ee.EncodeInt(int64(v2))
  4891. }
  4892. ee.EncodeEnd()
  4893. }
  4894. func (f encFnInfo) fastpathEncMapIntFloat32R(rv reflect.Value) {
  4895. fastpathTV.EncMapIntFloat32V(rv.Interface().(map[int]float32), fastpathCheckNilFalse, f.e)
  4896. }
  4897. func (_ fastpathT) EncMapIntFloat32V(v map[int]float32, checkNil bool, e *Encoder) {
  4898. ee := e.e
  4899. if checkNil && v == nil {
  4900. ee.EncodeNil()
  4901. return
  4902. }
  4903. ee.EncodeMapStart(len(v))
  4904. for k2, v2 := range v {
  4905. ee.EncodeInt(int64(k2))
  4906. ee.EncodeFloat32(v2)
  4907. }
  4908. ee.EncodeEnd()
  4909. }
  4910. func (f encFnInfo) fastpathEncMapIntFloat64R(rv reflect.Value) {
  4911. fastpathTV.EncMapIntFloat64V(rv.Interface().(map[int]float64), fastpathCheckNilFalse, f.e)
  4912. }
  4913. func (_ fastpathT) EncMapIntFloat64V(v map[int]float64, checkNil bool, e *Encoder) {
  4914. ee := e.e
  4915. if checkNil && v == nil {
  4916. ee.EncodeNil()
  4917. return
  4918. }
  4919. ee.EncodeMapStart(len(v))
  4920. for k2, v2 := range v {
  4921. ee.EncodeInt(int64(k2))
  4922. ee.EncodeFloat64(v2)
  4923. }
  4924. ee.EncodeEnd()
  4925. }
  4926. func (f encFnInfo) fastpathEncMapIntBoolR(rv reflect.Value) {
  4927. fastpathTV.EncMapIntBoolV(rv.Interface().(map[int]bool), fastpathCheckNilFalse, f.e)
  4928. }
  4929. func (_ fastpathT) EncMapIntBoolV(v map[int]bool, checkNil bool, e *Encoder) {
  4930. ee := e.e
  4931. if checkNil && v == nil {
  4932. ee.EncodeNil()
  4933. return
  4934. }
  4935. ee.EncodeMapStart(len(v))
  4936. for k2, v2 := range v {
  4937. ee.EncodeInt(int64(k2))
  4938. ee.EncodeBool(v2)
  4939. }
  4940. ee.EncodeEnd()
  4941. }
  4942. func (f encFnInfo) fastpathEncMapInt8IntfR(rv reflect.Value) {
  4943. fastpathTV.EncMapInt8IntfV(rv.Interface().(map[int8]interface{}), fastpathCheckNilFalse, f.e)
  4944. }
  4945. func (_ fastpathT) EncMapInt8IntfV(v map[int8]interface{}, checkNil bool, e *Encoder) {
  4946. ee := e.e
  4947. if checkNil && v == nil {
  4948. ee.EncodeNil()
  4949. return
  4950. }
  4951. ee.EncodeMapStart(len(v))
  4952. for k2, v2 := range v {
  4953. ee.EncodeInt(int64(k2))
  4954. e.encode(v2)
  4955. }
  4956. ee.EncodeEnd()
  4957. }
  4958. func (f encFnInfo) fastpathEncMapInt8StringR(rv reflect.Value) {
  4959. fastpathTV.EncMapInt8StringV(rv.Interface().(map[int8]string), fastpathCheckNilFalse, f.e)
  4960. }
  4961. func (_ fastpathT) EncMapInt8StringV(v map[int8]string, checkNil bool, e *Encoder) {
  4962. ee := e.e
  4963. if checkNil && v == nil {
  4964. ee.EncodeNil()
  4965. return
  4966. }
  4967. ee.EncodeMapStart(len(v))
  4968. for k2, v2 := range v {
  4969. ee.EncodeInt(int64(k2))
  4970. ee.EncodeString(c_UTF8, v2)
  4971. }
  4972. ee.EncodeEnd()
  4973. }
  4974. func (f encFnInfo) fastpathEncMapInt8UintR(rv reflect.Value) {
  4975. fastpathTV.EncMapInt8UintV(rv.Interface().(map[int8]uint), fastpathCheckNilFalse, f.e)
  4976. }
  4977. func (_ fastpathT) EncMapInt8UintV(v map[int8]uint, checkNil bool, e *Encoder) {
  4978. ee := e.e
  4979. if checkNil && v == nil {
  4980. ee.EncodeNil()
  4981. return
  4982. }
  4983. ee.EncodeMapStart(len(v))
  4984. for k2, v2 := range v {
  4985. ee.EncodeInt(int64(k2))
  4986. ee.EncodeUint(uint64(v2))
  4987. }
  4988. ee.EncodeEnd()
  4989. }
  4990. func (f encFnInfo) fastpathEncMapInt8Uint8R(rv reflect.Value) {
  4991. fastpathTV.EncMapInt8Uint8V(rv.Interface().(map[int8]uint8), fastpathCheckNilFalse, f.e)
  4992. }
  4993. func (_ fastpathT) EncMapInt8Uint8V(v map[int8]uint8, checkNil bool, e *Encoder) {
  4994. ee := e.e
  4995. if checkNil && v == nil {
  4996. ee.EncodeNil()
  4997. return
  4998. }
  4999. ee.EncodeMapStart(len(v))
  5000. for k2, v2 := range v {
  5001. ee.EncodeInt(int64(k2))
  5002. ee.EncodeUint(uint64(v2))
  5003. }
  5004. ee.EncodeEnd()
  5005. }
  5006. func (f encFnInfo) fastpathEncMapInt8Uint16R(rv reflect.Value) {
  5007. fastpathTV.EncMapInt8Uint16V(rv.Interface().(map[int8]uint16), fastpathCheckNilFalse, f.e)
  5008. }
  5009. func (_ fastpathT) EncMapInt8Uint16V(v map[int8]uint16, checkNil bool, e *Encoder) {
  5010. ee := e.e
  5011. if checkNil && v == nil {
  5012. ee.EncodeNil()
  5013. return
  5014. }
  5015. ee.EncodeMapStart(len(v))
  5016. for k2, v2 := range v {
  5017. ee.EncodeInt(int64(k2))
  5018. ee.EncodeUint(uint64(v2))
  5019. }
  5020. ee.EncodeEnd()
  5021. }
  5022. func (f encFnInfo) fastpathEncMapInt8Uint32R(rv reflect.Value) {
  5023. fastpathTV.EncMapInt8Uint32V(rv.Interface().(map[int8]uint32), fastpathCheckNilFalse, f.e)
  5024. }
  5025. func (_ fastpathT) EncMapInt8Uint32V(v map[int8]uint32, checkNil bool, e *Encoder) {
  5026. ee := e.e
  5027. if checkNil && v == nil {
  5028. ee.EncodeNil()
  5029. return
  5030. }
  5031. ee.EncodeMapStart(len(v))
  5032. for k2, v2 := range v {
  5033. ee.EncodeInt(int64(k2))
  5034. ee.EncodeUint(uint64(v2))
  5035. }
  5036. ee.EncodeEnd()
  5037. }
  5038. func (f encFnInfo) fastpathEncMapInt8Uint64R(rv reflect.Value) {
  5039. fastpathTV.EncMapInt8Uint64V(rv.Interface().(map[int8]uint64), fastpathCheckNilFalse, f.e)
  5040. }
  5041. func (_ fastpathT) EncMapInt8Uint64V(v map[int8]uint64, checkNil bool, e *Encoder) {
  5042. ee := e.e
  5043. if checkNil && v == nil {
  5044. ee.EncodeNil()
  5045. return
  5046. }
  5047. ee.EncodeMapStart(len(v))
  5048. for k2, v2 := range v {
  5049. ee.EncodeInt(int64(k2))
  5050. ee.EncodeUint(uint64(v2))
  5051. }
  5052. ee.EncodeEnd()
  5053. }
  5054. func (f encFnInfo) fastpathEncMapInt8IntR(rv reflect.Value) {
  5055. fastpathTV.EncMapInt8IntV(rv.Interface().(map[int8]int), fastpathCheckNilFalse, f.e)
  5056. }
  5057. func (_ fastpathT) EncMapInt8IntV(v map[int8]int, checkNil bool, e *Encoder) {
  5058. ee := e.e
  5059. if checkNil && v == nil {
  5060. ee.EncodeNil()
  5061. return
  5062. }
  5063. ee.EncodeMapStart(len(v))
  5064. for k2, v2 := range v {
  5065. ee.EncodeInt(int64(k2))
  5066. ee.EncodeInt(int64(v2))
  5067. }
  5068. ee.EncodeEnd()
  5069. }
  5070. func (f encFnInfo) fastpathEncMapInt8Int8R(rv reflect.Value) {
  5071. fastpathTV.EncMapInt8Int8V(rv.Interface().(map[int8]int8), fastpathCheckNilFalse, f.e)
  5072. }
  5073. func (_ fastpathT) EncMapInt8Int8V(v map[int8]int8, checkNil bool, e *Encoder) {
  5074. ee := e.e
  5075. if checkNil && v == nil {
  5076. ee.EncodeNil()
  5077. return
  5078. }
  5079. ee.EncodeMapStart(len(v))
  5080. for k2, v2 := range v {
  5081. ee.EncodeInt(int64(k2))
  5082. ee.EncodeInt(int64(v2))
  5083. }
  5084. ee.EncodeEnd()
  5085. }
  5086. func (f encFnInfo) fastpathEncMapInt8Int16R(rv reflect.Value) {
  5087. fastpathTV.EncMapInt8Int16V(rv.Interface().(map[int8]int16), fastpathCheckNilFalse, f.e)
  5088. }
  5089. func (_ fastpathT) EncMapInt8Int16V(v map[int8]int16, checkNil bool, e *Encoder) {
  5090. ee := e.e
  5091. if checkNil && v == nil {
  5092. ee.EncodeNil()
  5093. return
  5094. }
  5095. ee.EncodeMapStart(len(v))
  5096. for k2, v2 := range v {
  5097. ee.EncodeInt(int64(k2))
  5098. ee.EncodeInt(int64(v2))
  5099. }
  5100. ee.EncodeEnd()
  5101. }
  5102. func (f encFnInfo) fastpathEncMapInt8Int32R(rv reflect.Value) {
  5103. fastpathTV.EncMapInt8Int32V(rv.Interface().(map[int8]int32), fastpathCheckNilFalse, f.e)
  5104. }
  5105. func (_ fastpathT) EncMapInt8Int32V(v map[int8]int32, checkNil bool, e *Encoder) {
  5106. ee := e.e
  5107. if checkNil && v == nil {
  5108. ee.EncodeNil()
  5109. return
  5110. }
  5111. ee.EncodeMapStart(len(v))
  5112. for k2, v2 := range v {
  5113. ee.EncodeInt(int64(k2))
  5114. ee.EncodeInt(int64(v2))
  5115. }
  5116. ee.EncodeEnd()
  5117. }
  5118. func (f encFnInfo) fastpathEncMapInt8Int64R(rv reflect.Value) {
  5119. fastpathTV.EncMapInt8Int64V(rv.Interface().(map[int8]int64), fastpathCheckNilFalse, f.e)
  5120. }
  5121. func (_ fastpathT) EncMapInt8Int64V(v map[int8]int64, checkNil bool, e *Encoder) {
  5122. ee := e.e
  5123. if checkNil && v == nil {
  5124. ee.EncodeNil()
  5125. return
  5126. }
  5127. ee.EncodeMapStart(len(v))
  5128. for k2, v2 := range v {
  5129. ee.EncodeInt(int64(k2))
  5130. ee.EncodeInt(int64(v2))
  5131. }
  5132. ee.EncodeEnd()
  5133. }
  5134. func (f encFnInfo) fastpathEncMapInt8Float32R(rv reflect.Value) {
  5135. fastpathTV.EncMapInt8Float32V(rv.Interface().(map[int8]float32), fastpathCheckNilFalse, f.e)
  5136. }
  5137. func (_ fastpathT) EncMapInt8Float32V(v map[int8]float32, checkNil bool, e *Encoder) {
  5138. ee := e.e
  5139. if checkNil && v == nil {
  5140. ee.EncodeNil()
  5141. return
  5142. }
  5143. ee.EncodeMapStart(len(v))
  5144. for k2, v2 := range v {
  5145. ee.EncodeInt(int64(k2))
  5146. ee.EncodeFloat32(v2)
  5147. }
  5148. ee.EncodeEnd()
  5149. }
  5150. func (f encFnInfo) fastpathEncMapInt8Float64R(rv reflect.Value) {
  5151. fastpathTV.EncMapInt8Float64V(rv.Interface().(map[int8]float64), fastpathCheckNilFalse, f.e)
  5152. }
  5153. func (_ fastpathT) EncMapInt8Float64V(v map[int8]float64, checkNil bool, e *Encoder) {
  5154. ee := e.e
  5155. if checkNil && v == nil {
  5156. ee.EncodeNil()
  5157. return
  5158. }
  5159. ee.EncodeMapStart(len(v))
  5160. for k2, v2 := range v {
  5161. ee.EncodeInt(int64(k2))
  5162. ee.EncodeFloat64(v2)
  5163. }
  5164. ee.EncodeEnd()
  5165. }
  5166. func (f encFnInfo) fastpathEncMapInt8BoolR(rv reflect.Value) {
  5167. fastpathTV.EncMapInt8BoolV(rv.Interface().(map[int8]bool), fastpathCheckNilFalse, f.e)
  5168. }
  5169. func (_ fastpathT) EncMapInt8BoolV(v map[int8]bool, checkNil bool, e *Encoder) {
  5170. ee := e.e
  5171. if checkNil && v == nil {
  5172. ee.EncodeNil()
  5173. return
  5174. }
  5175. ee.EncodeMapStart(len(v))
  5176. for k2, v2 := range v {
  5177. ee.EncodeInt(int64(k2))
  5178. ee.EncodeBool(v2)
  5179. }
  5180. ee.EncodeEnd()
  5181. }
  5182. func (f encFnInfo) fastpathEncMapInt16IntfR(rv reflect.Value) {
  5183. fastpathTV.EncMapInt16IntfV(rv.Interface().(map[int16]interface{}), fastpathCheckNilFalse, f.e)
  5184. }
  5185. func (_ fastpathT) EncMapInt16IntfV(v map[int16]interface{}, checkNil bool, e *Encoder) {
  5186. ee := e.e
  5187. if checkNil && v == nil {
  5188. ee.EncodeNil()
  5189. return
  5190. }
  5191. ee.EncodeMapStart(len(v))
  5192. for k2, v2 := range v {
  5193. ee.EncodeInt(int64(k2))
  5194. e.encode(v2)
  5195. }
  5196. ee.EncodeEnd()
  5197. }
  5198. func (f encFnInfo) fastpathEncMapInt16StringR(rv reflect.Value) {
  5199. fastpathTV.EncMapInt16StringV(rv.Interface().(map[int16]string), fastpathCheckNilFalse, f.e)
  5200. }
  5201. func (_ fastpathT) EncMapInt16StringV(v map[int16]string, checkNil bool, e *Encoder) {
  5202. ee := e.e
  5203. if checkNil && v == nil {
  5204. ee.EncodeNil()
  5205. return
  5206. }
  5207. ee.EncodeMapStart(len(v))
  5208. for k2, v2 := range v {
  5209. ee.EncodeInt(int64(k2))
  5210. ee.EncodeString(c_UTF8, v2)
  5211. }
  5212. ee.EncodeEnd()
  5213. }
  5214. func (f encFnInfo) fastpathEncMapInt16UintR(rv reflect.Value) {
  5215. fastpathTV.EncMapInt16UintV(rv.Interface().(map[int16]uint), fastpathCheckNilFalse, f.e)
  5216. }
  5217. func (_ fastpathT) EncMapInt16UintV(v map[int16]uint, checkNil bool, e *Encoder) {
  5218. ee := e.e
  5219. if checkNil && v == nil {
  5220. ee.EncodeNil()
  5221. return
  5222. }
  5223. ee.EncodeMapStart(len(v))
  5224. for k2, v2 := range v {
  5225. ee.EncodeInt(int64(k2))
  5226. ee.EncodeUint(uint64(v2))
  5227. }
  5228. ee.EncodeEnd()
  5229. }
  5230. func (f encFnInfo) fastpathEncMapInt16Uint8R(rv reflect.Value) {
  5231. fastpathTV.EncMapInt16Uint8V(rv.Interface().(map[int16]uint8), fastpathCheckNilFalse, f.e)
  5232. }
  5233. func (_ fastpathT) EncMapInt16Uint8V(v map[int16]uint8, checkNil bool, e *Encoder) {
  5234. ee := e.e
  5235. if checkNil && v == nil {
  5236. ee.EncodeNil()
  5237. return
  5238. }
  5239. ee.EncodeMapStart(len(v))
  5240. for k2, v2 := range v {
  5241. ee.EncodeInt(int64(k2))
  5242. ee.EncodeUint(uint64(v2))
  5243. }
  5244. ee.EncodeEnd()
  5245. }
  5246. func (f encFnInfo) fastpathEncMapInt16Uint16R(rv reflect.Value) {
  5247. fastpathTV.EncMapInt16Uint16V(rv.Interface().(map[int16]uint16), fastpathCheckNilFalse, f.e)
  5248. }
  5249. func (_ fastpathT) EncMapInt16Uint16V(v map[int16]uint16, checkNil bool, e *Encoder) {
  5250. ee := e.e
  5251. if checkNil && v == nil {
  5252. ee.EncodeNil()
  5253. return
  5254. }
  5255. ee.EncodeMapStart(len(v))
  5256. for k2, v2 := range v {
  5257. ee.EncodeInt(int64(k2))
  5258. ee.EncodeUint(uint64(v2))
  5259. }
  5260. ee.EncodeEnd()
  5261. }
  5262. func (f encFnInfo) fastpathEncMapInt16Uint32R(rv reflect.Value) {
  5263. fastpathTV.EncMapInt16Uint32V(rv.Interface().(map[int16]uint32), fastpathCheckNilFalse, f.e)
  5264. }
  5265. func (_ fastpathT) EncMapInt16Uint32V(v map[int16]uint32, checkNil bool, e *Encoder) {
  5266. ee := e.e
  5267. if checkNil && v == nil {
  5268. ee.EncodeNil()
  5269. return
  5270. }
  5271. ee.EncodeMapStart(len(v))
  5272. for k2, v2 := range v {
  5273. ee.EncodeInt(int64(k2))
  5274. ee.EncodeUint(uint64(v2))
  5275. }
  5276. ee.EncodeEnd()
  5277. }
  5278. func (f encFnInfo) fastpathEncMapInt16Uint64R(rv reflect.Value) {
  5279. fastpathTV.EncMapInt16Uint64V(rv.Interface().(map[int16]uint64), fastpathCheckNilFalse, f.e)
  5280. }
  5281. func (_ fastpathT) EncMapInt16Uint64V(v map[int16]uint64, checkNil bool, e *Encoder) {
  5282. ee := e.e
  5283. if checkNil && v == nil {
  5284. ee.EncodeNil()
  5285. return
  5286. }
  5287. ee.EncodeMapStart(len(v))
  5288. for k2, v2 := range v {
  5289. ee.EncodeInt(int64(k2))
  5290. ee.EncodeUint(uint64(v2))
  5291. }
  5292. ee.EncodeEnd()
  5293. }
  5294. func (f encFnInfo) fastpathEncMapInt16IntR(rv reflect.Value) {
  5295. fastpathTV.EncMapInt16IntV(rv.Interface().(map[int16]int), fastpathCheckNilFalse, f.e)
  5296. }
  5297. func (_ fastpathT) EncMapInt16IntV(v map[int16]int, checkNil bool, e *Encoder) {
  5298. ee := e.e
  5299. if checkNil && v == nil {
  5300. ee.EncodeNil()
  5301. return
  5302. }
  5303. ee.EncodeMapStart(len(v))
  5304. for k2, v2 := range v {
  5305. ee.EncodeInt(int64(k2))
  5306. ee.EncodeInt(int64(v2))
  5307. }
  5308. ee.EncodeEnd()
  5309. }
  5310. func (f encFnInfo) fastpathEncMapInt16Int8R(rv reflect.Value) {
  5311. fastpathTV.EncMapInt16Int8V(rv.Interface().(map[int16]int8), fastpathCheckNilFalse, f.e)
  5312. }
  5313. func (_ fastpathT) EncMapInt16Int8V(v map[int16]int8, checkNil bool, e *Encoder) {
  5314. ee := e.e
  5315. if checkNil && v == nil {
  5316. ee.EncodeNil()
  5317. return
  5318. }
  5319. ee.EncodeMapStart(len(v))
  5320. for k2, v2 := range v {
  5321. ee.EncodeInt(int64(k2))
  5322. ee.EncodeInt(int64(v2))
  5323. }
  5324. ee.EncodeEnd()
  5325. }
  5326. func (f encFnInfo) fastpathEncMapInt16Int16R(rv reflect.Value) {
  5327. fastpathTV.EncMapInt16Int16V(rv.Interface().(map[int16]int16), fastpathCheckNilFalse, f.e)
  5328. }
  5329. func (_ fastpathT) EncMapInt16Int16V(v map[int16]int16, checkNil bool, e *Encoder) {
  5330. ee := e.e
  5331. if checkNil && v == nil {
  5332. ee.EncodeNil()
  5333. return
  5334. }
  5335. ee.EncodeMapStart(len(v))
  5336. for k2, v2 := range v {
  5337. ee.EncodeInt(int64(k2))
  5338. ee.EncodeInt(int64(v2))
  5339. }
  5340. ee.EncodeEnd()
  5341. }
  5342. func (f encFnInfo) fastpathEncMapInt16Int32R(rv reflect.Value) {
  5343. fastpathTV.EncMapInt16Int32V(rv.Interface().(map[int16]int32), fastpathCheckNilFalse, f.e)
  5344. }
  5345. func (_ fastpathT) EncMapInt16Int32V(v map[int16]int32, checkNil bool, e *Encoder) {
  5346. ee := e.e
  5347. if checkNil && v == nil {
  5348. ee.EncodeNil()
  5349. return
  5350. }
  5351. ee.EncodeMapStart(len(v))
  5352. for k2, v2 := range v {
  5353. ee.EncodeInt(int64(k2))
  5354. ee.EncodeInt(int64(v2))
  5355. }
  5356. ee.EncodeEnd()
  5357. }
  5358. func (f encFnInfo) fastpathEncMapInt16Int64R(rv reflect.Value) {
  5359. fastpathTV.EncMapInt16Int64V(rv.Interface().(map[int16]int64), fastpathCheckNilFalse, f.e)
  5360. }
  5361. func (_ fastpathT) EncMapInt16Int64V(v map[int16]int64, checkNil bool, e *Encoder) {
  5362. ee := e.e
  5363. if checkNil && v == nil {
  5364. ee.EncodeNil()
  5365. return
  5366. }
  5367. ee.EncodeMapStart(len(v))
  5368. for k2, v2 := range v {
  5369. ee.EncodeInt(int64(k2))
  5370. ee.EncodeInt(int64(v2))
  5371. }
  5372. ee.EncodeEnd()
  5373. }
  5374. func (f encFnInfo) fastpathEncMapInt16Float32R(rv reflect.Value) {
  5375. fastpathTV.EncMapInt16Float32V(rv.Interface().(map[int16]float32), fastpathCheckNilFalse, f.e)
  5376. }
  5377. func (_ fastpathT) EncMapInt16Float32V(v map[int16]float32, checkNil bool, e *Encoder) {
  5378. ee := e.e
  5379. if checkNil && v == nil {
  5380. ee.EncodeNil()
  5381. return
  5382. }
  5383. ee.EncodeMapStart(len(v))
  5384. for k2, v2 := range v {
  5385. ee.EncodeInt(int64(k2))
  5386. ee.EncodeFloat32(v2)
  5387. }
  5388. ee.EncodeEnd()
  5389. }
  5390. func (f encFnInfo) fastpathEncMapInt16Float64R(rv reflect.Value) {
  5391. fastpathTV.EncMapInt16Float64V(rv.Interface().(map[int16]float64), fastpathCheckNilFalse, f.e)
  5392. }
  5393. func (_ fastpathT) EncMapInt16Float64V(v map[int16]float64, checkNil bool, e *Encoder) {
  5394. ee := e.e
  5395. if checkNil && v == nil {
  5396. ee.EncodeNil()
  5397. return
  5398. }
  5399. ee.EncodeMapStart(len(v))
  5400. for k2, v2 := range v {
  5401. ee.EncodeInt(int64(k2))
  5402. ee.EncodeFloat64(v2)
  5403. }
  5404. ee.EncodeEnd()
  5405. }
  5406. func (f encFnInfo) fastpathEncMapInt16BoolR(rv reflect.Value) {
  5407. fastpathTV.EncMapInt16BoolV(rv.Interface().(map[int16]bool), fastpathCheckNilFalse, f.e)
  5408. }
  5409. func (_ fastpathT) EncMapInt16BoolV(v map[int16]bool, checkNil bool, e *Encoder) {
  5410. ee := e.e
  5411. if checkNil && v == nil {
  5412. ee.EncodeNil()
  5413. return
  5414. }
  5415. ee.EncodeMapStart(len(v))
  5416. for k2, v2 := range v {
  5417. ee.EncodeInt(int64(k2))
  5418. ee.EncodeBool(v2)
  5419. }
  5420. ee.EncodeEnd()
  5421. }
  5422. func (f encFnInfo) fastpathEncMapInt32IntfR(rv reflect.Value) {
  5423. fastpathTV.EncMapInt32IntfV(rv.Interface().(map[int32]interface{}), fastpathCheckNilFalse, f.e)
  5424. }
  5425. func (_ fastpathT) EncMapInt32IntfV(v map[int32]interface{}, checkNil bool, e *Encoder) {
  5426. ee := e.e
  5427. if checkNil && v == nil {
  5428. ee.EncodeNil()
  5429. return
  5430. }
  5431. ee.EncodeMapStart(len(v))
  5432. for k2, v2 := range v {
  5433. ee.EncodeInt(int64(k2))
  5434. e.encode(v2)
  5435. }
  5436. ee.EncodeEnd()
  5437. }
  5438. func (f encFnInfo) fastpathEncMapInt32StringR(rv reflect.Value) {
  5439. fastpathTV.EncMapInt32StringV(rv.Interface().(map[int32]string), fastpathCheckNilFalse, f.e)
  5440. }
  5441. func (_ fastpathT) EncMapInt32StringV(v map[int32]string, checkNil bool, e *Encoder) {
  5442. ee := e.e
  5443. if checkNil && v == nil {
  5444. ee.EncodeNil()
  5445. return
  5446. }
  5447. ee.EncodeMapStart(len(v))
  5448. for k2, v2 := range v {
  5449. ee.EncodeInt(int64(k2))
  5450. ee.EncodeString(c_UTF8, v2)
  5451. }
  5452. ee.EncodeEnd()
  5453. }
  5454. func (f encFnInfo) fastpathEncMapInt32UintR(rv reflect.Value) {
  5455. fastpathTV.EncMapInt32UintV(rv.Interface().(map[int32]uint), fastpathCheckNilFalse, f.e)
  5456. }
  5457. func (_ fastpathT) EncMapInt32UintV(v map[int32]uint, checkNil bool, e *Encoder) {
  5458. ee := e.e
  5459. if checkNil && v == nil {
  5460. ee.EncodeNil()
  5461. return
  5462. }
  5463. ee.EncodeMapStart(len(v))
  5464. for k2, v2 := range v {
  5465. ee.EncodeInt(int64(k2))
  5466. ee.EncodeUint(uint64(v2))
  5467. }
  5468. ee.EncodeEnd()
  5469. }
  5470. func (f encFnInfo) fastpathEncMapInt32Uint8R(rv reflect.Value) {
  5471. fastpathTV.EncMapInt32Uint8V(rv.Interface().(map[int32]uint8), fastpathCheckNilFalse, f.e)
  5472. }
  5473. func (_ fastpathT) EncMapInt32Uint8V(v map[int32]uint8, checkNil bool, e *Encoder) {
  5474. ee := e.e
  5475. if checkNil && v == nil {
  5476. ee.EncodeNil()
  5477. return
  5478. }
  5479. ee.EncodeMapStart(len(v))
  5480. for k2, v2 := range v {
  5481. ee.EncodeInt(int64(k2))
  5482. ee.EncodeUint(uint64(v2))
  5483. }
  5484. ee.EncodeEnd()
  5485. }
  5486. func (f encFnInfo) fastpathEncMapInt32Uint16R(rv reflect.Value) {
  5487. fastpathTV.EncMapInt32Uint16V(rv.Interface().(map[int32]uint16), fastpathCheckNilFalse, f.e)
  5488. }
  5489. func (_ fastpathT) EncMapInt32Uint16V(v map[int32]uint16, checkNil bool, e *Encoder) {
  5490. ee := e.e
  5491. if checkNil && v == nil {
  5492. ee.EncodeNil()
  5493. return
  5494. }
  5495. ee.EncodeMapStart(len(v))
  5496. for k2, v2 := range v {
  5497. ee.EncodeInt(int64(k2))
  5498. ee.EncodeUint(uint64(v2))
  5499. }
  5500. ee.EncodeEnd()
  5501. }
  5502. func (f encFnInfo) fastpathEncMapInt32Uint32R(rv reflect.Value) {
  5503. fastpathTV.EncMapInt32Uint32V(rv.Interface().(map[int32]uint32), fastpathCheckNilFalse, f.e)
  5504. }
  5505. func (_ fastpathT) EncMapInt32Uint32V(v map[int32]uint32, checkNil bool, e *Encoder) {
  5506. ee := e.e
  5507. if checkNil && v == nil {
  5508. ee.EncodeNil()
  5509. return
  5510. }
  5511. ee.EncodeMapStart(len(v))
  5512. for k2, v2 := range v {
  5513. ee.EncodeInt(int64(k2))
  5514. ee.EncodeUint(uint64(v2))
  5515. }
  5516. ee.EncodeEnd()
  5517. }
  5518. func (f encFnInfo) fastpathEncMapInt32Uint64R(rv reflect.Value) {
  5519. fastpathTV.EncMapInt32Uint64V(rv.Interface().(map[int32]uint64), fastpathCheckNilFalse, f.e)
  5520. }
  5521. func (_ fastpathT) EncMapInt32Uint64V(v map[int32]uint64, checkNil bool, e *Encoder) {
  5522. ee := e.e
  5523. if checkNil && v == nil {
  5524. ee.EncodeNil()
  5525. return
  5526. }
  5527. ee.EncodeMapStart(len(v))
  5528. for k2, v2 := range v {
  5529. ee.EncodeInt(int64(k2))
  5530. ee.EncodeUint(uint64(v2))
  5531. }
  5532. ee.EncodeEnd()
  5533. }
  5534. func (f encFnInfo) fastpathEncMapInt32IntR(rv reflect.Value) {
  5535. fastpathTV.EncMapInt32IntV(rv.Interface().(map[int32]int), fastpathCheckNilFalse, f.e)
  5536. }
  5537. func (_ fastpathT) EncMapInt32IntV(v map[int32]int, checkNil bool, e *Encoder) {
  5538. ee := e.e
  5539. if checkNil && v == nil {
  5540. ee.EncodeNil()
  5541. return
  5542. }
  5543. ee.EncodeMapStart(len(v))
  5544. for k2, v2 := range v {
  5545. ee.EncodeInt(int64(k2))
  5546. ee.EncodeInt(int64(v2))
  5547. }
  5548. ee.EncodeEnd()
  5549. }
  5550. func (f encFnInfo) fastpathEncMapInt32Int8R(rv reflect.Value) {
  5551. fastpathTV.EncMapInt32Int8V(rv.Interface().(map[int32]int8), fastpathCheckNilFalse, f.e)
  5552. }
  5553. func (_ fastpathT) EncMapInt32Int8V(v map[int32]int8, checkNil bool, e *Encoder) {
  5554. ee := e.e
  5555. if checkNil && v == nil {
  5556. ee.EncodeNil()
  5557. return
  5558. }
  5559. ee.EncodeMapStart(len(v))
  5560. for k2, v2 := range v {
  5561. ee.EncodeInt(int64(k2))
  5562. ee.EncodeInt(int64(v2))
  5563. }
  5564. ee.EncodeEnd()
  5565. }
  5566. func (f encFnInfo) fastpathEncMapInt32Int16R(rv reflect.Value) {
  5567. fastpathTV.EncMapInt32Int16V(rv.Interface().(map[int32]int16), fastpathCheckNilFalse, f.e)
  5568. }
  5569. func (_ fastpathT) EncMapInt32Int16V(v map[int32]int16, checkNil bool, e *Encoder) {
  5570. ee := e.e
  5571. if checkNil && v == nil {
  5572. ee.EncodeNil()
  5573. return
  5574. }
  5575. ee.EncodeMapStart(len(v))
  5576. for k2, v2 := range v {
  5577. ee.EncodeInt(int64(k2))
  5578. ee.EncodeInt(int64(v2))
  5579. }
  5580. ee.EncodeEnd()
  5581. }
  5582. func (f encFnInfo) fastpathEncMapInt32Int32R(rv reflect.Value) {
  5583. fastpathTV.EncMapInt32Int32V(rv.Interface().(map[int32]int32), fastpathCheckNilFalse, f.e)
  5584. }
  5585. func (_ fastpathT) EncMapInt32Int32V(v map[int32]int32, checkNil bool, e *Encoder) {
  5586. ee := e.e
  5587. if checkNil && v == nil {
  5588. ee.EncodeNil()
  5589. return
  5590. }
  5591. ee.EncodeMapStart(len(v))
  5592. for k2, v2 := range v {
  5593. ee.EncodeInt(int64(k2))
  5594. ee.EncodeInt(int64(v2))
  5595. }
  5596. ee.EncodeEnd()
  5597. }
  5598. func (f encFnInfo) fastpathEncMapInt32Int64R(rv reflect.Value) {
  5599. fastpathTV.EncMapInt32Int64V(rv.Interface().(map[int32]int64), fastpathCheckNilFalse, f.e)
  5600. }
  5601. func (_ fastpathT) EncMapInt32Int64V(v map[int32]int64, checkNil bool, e *Encoder) {
  5602. ee := e.e
  5603. if checkNil && v == nil {
  5604. ee.EncodeNil()
  5605. return
  5606. }
  5607. ee.EncodeMapStart(len(v))
  5608. for k2, v2 := range v {
  5609. ee.EncodeInt(int64(k2))
  5610. ee.EncodeInt(int64(v2))
  5611. }
  5612. ee.EncodeEnd()
  5613. }
  5614. func (f encFnInfo) fastpathEncMapInt32Float32R(rv reflect.Value) {
  5615. fastpathTV.EncMapInt32Float32V(rv.Interface().(map[int32]float32), fastpathCheckNilFalse, f.e)
  5616. }
  5617. func (_ fastpathT) EncMapInt32Float32V(v map[int32]float32, checkNil bool, e *Encoder) {
  5618. ee := e.e
  5619. if checkNil && v == nil {
  5620. ee.EncodeNil()
  5621. return
  5622. }
  5623. ee.EncodeMapStart(len(v))
  5624. for k2, v2 := range v {
  5625. ee.EncodeInt(int64(k2))
  5626. ee.EncodeFloat32(v2)
  5627. }
  5628. ee.EncodeEnd()
  5629. }
  5630. func (f encFnInfo) fastpathEncMapInt32Float64R(rv reflect.Value) {
  5631. fastpathTV.EncMapInt32Float64V(rv.Interface().(map[int32]float64), fastpathCheckNilFalse, f.e)
  5632. }
  5633. func (_ fastpathT) EncMapInt32Float64V(v map[int32]float64, checkNil bool, e *Encoder) {
  5634. ee := e.e
  5635. if checkNil && v == nil {
  5636. ee.EncodeNil()
  5637. return
  5638. }
  5639. ee.EncodeMapStart(len(v))
  5640. for k2, v2 := range v {
  5641. ee.EncodeInt(int64(k2))
  5642. ee.EncodeFloat64(v2)
  5643. }
  5644. ee.EncodeEnd()
  5645. }
  5646. func (f encFnInfo) fastpathEncMapInt32BoolR(rv reflect.Value) {
  5647. fastpathTV.EncMapInt32BoolV(rv.Interface().(map[int32]bool), fastpathCheckNilFalse, f.e)
  5648. }
  5649. func (_ fastpathT) EncMapInt32BoolV(v map[int32]bool, checkNil bool, e *Encoder) {
  5650. ee := e.e
  5651. if checkNil && v == nil {
  5652. ee.EncodeNil()
  5653. return
  5654. }
  5655. ee.EncodeMapStart(len(v))
  5656. for k2, v2 := range v {
  5657. ee.EncodeInt(int64(k2))
  5658. ee.EncodeBool(v2)
  5659. }
  5660. ee.EncodeEnd()
  5661. }
  5662. func (f encFnInfo) fastpathEncMapInt64IntfR(rv reflect.Value) {
  5663. fastpathTV.EncMapInt64IntfV(rv.Interface().(map[int64]interface{}), fastpathCheckNilFalse, f.e)
  5664. }
  5665. func (_ fastpathT) EncMapInt64IntfV(v map[int64]interface{}, checkNil bool, e *Encoder) {
  5666. ee := e.e
  5667. if checkNil && v == nil {
  5668. ee.EncodeNil()
  5669. return
  5670. }
  5671. ee.EncodeMapStart(len(v))
  5672. for k2, v2 := range v {
  5673. ee.EncodeInt(int64(k2))
  5674. e.encode(v2)
  5675. }
  5676. ee.EncodeEnd()
  5677. }
  5678. func (f encFnInfo) fastpathEncMapInt64StringR(rv reflect.Value) {
  5679. fastpathTV.EncMapInt64StringV(rv.Interface().(map[int64]string), fastpathCheckNilFalse, f.e)
  5680. }
  5681. func (_ fastpathT) EncMapInt64StringV(v map[int64]string, checkNil bool, e *Encoder) {
  5682. ee := e.e
  5683. if checkNil && v == nil {
  5684. ee.EncodeNil()
  5685. return
  5686. }
  5687. ee.EncodeMapStart(len(v))
  5688. for k2, v2 := range v {
  5689. ee.EncodeInt(int64(k2))
  5690. ee.EncodeString(c_UTF8, v2)
  5691. }
  5692. ee.EncodeEnd()
  5693. }
  5694. func (f encFnInfo) fastpathEncMapInt64UintR(rv reflect.Value) {
  5695. fastpathTV.EncMapInt64UintV(rv.Interface().(map[int64]uint), fastpathCheckNilFalse, f.e)
  5696. }
  5697. func (_ fastpathT) EncMapInt64UintV(v map[int64]uint, checkNil bool, e *Encoder) {
  5698. ee := e.e
  5699. if checkNil && v == nil {
  5700. ee.EncodeNil()
  5701. return
  5702. }
  5703. ee.EncodeMapStart(len(v))
  5704. for k2, v2 := range v {
  5705. ee.EncodeInt(int64(k2))
  5706. ee.EncodeUint(uint64(v2))
  5707. }
  5708. ee.EncodeEnd()
  5709. }
  5710. func (f encFnInfo) fastpathEncMapInt64Uint8R(rv reflect.Value) {
  5711. fastpathTV.EncMapInt64Uint8V(rv.Interface().(map[int64]uint8), fastpathCheckNilFalse, f.e)
  5712. }
  5713. func (_ fastpathT) EncMapInt64Uint8V(v map[int64]uint8, checkNil bool, e *Encoder) {
  5714. ee := e.e
  5715. if checkNil && v == nil {
  5716. ee.EncodeNil()
  5717. return
  5718. }
  5719. ee.EncodeMapStart(len(v))
  5720. for k2, v2 := range v {
  5721. ee.EncodeInt(int64(k2))
  5722. ee.EncodeUint(uint64(v2))
  5723. }
  5724. ee.EncodeEnd()
  5725. }
  5726. func (f encFnInfo) fastpathEncMapInt64Uint16R(rv reflect.Value) {
  5727. fastpathTV.EncMapInt64Uint16V(rv.Interface().(map[int64]uint16), fastpathCheckNilFalse, f.e)
  5728. }
  5729. func (_ fastpathT) EncMapInt64Uint16V(v map[int64]uint16, checkNil bool, e *Encoder) {
  5730. ee := e.e
  5731. if checkNil && v == nil {
  5732. ee.EncodeNil()
  5733. return
  5734. }
  5735. ee.EncodeMapStart(len(v))
  5736. for k2, v2 := range v {
  5737. ee.EncodeInt(int64(k2))
  5738. ee.EncodeUint(uint64(v2))
  5739. }
  5740. ee.EncodeEnd()
  5741. }
  5742. func (f encFnInfo) fastpathEncMapInt64Uint32R(rv reflect.Value) {
  5743. fastpathTV.EncMapInt64Uint32V(rv.Interface().(map[int64]uint32), fastpathCheckNilFalse, f.e)
  5744. }
  5745. func (_ fastpathT) EncMapInt64Uint32V(v map[int64]uint32, checkNil bool, e *Encoder) {
  5746. ee := e.e
  5747. if checkNil && v == nil {
  5748. ee.EncodeNil()
  5749. return
  5750. }
  5751. ee.EncodeMapStart(len(v))
  5752. for k2, v2 := range v {
  5753. ee.EncodeInt(int64(k2))
  5754. ee.EncodeUint(uint64(v2))
  5755. }
  5756. ee.EncodeEnd()
  5757. }
  5758. func (f encFnInfo) fastpathEncMapInt64Uint64R(rv reflect.Value) {
  5759. fastpathTV.EncMapInt64Uint64V(rv.Interface().(map[int64]uint64), fastpathCheckNilFalse, f.e)
  5760. }
  5761. func (_ fastpathT) EncMapInt64Uint64V(v map[int64]uint64, checkNil bool, e *Encoder) {
  5762. ee := e.e
  5763. if checkNil && v == nil {
  5764. ee.EncodeNil()
  5765. return
  5766. }
  5767. ee.EncodeMapStart(len(v))
  5768. for k2, v2 := range v {
  5769. ee.EncodeInt(int64(k2))
  5770. ee.EncodeUint(uint64(v2))
  5771. }
  5772. ee.EncodeEnd()
  5773. }
  5774. func (f encFnInfo) fastpathEncMapInt64IntR(rv reflect.Value) {
  5775. fastpathTV.EncMapInt64IntV(rv.Interface().(map[int64]int), fastpathCheckNilFalse, f.e)
  5776. }
  5777. func (_ fastpathT) EncMapInt64IntV(v map[int64]int, checkNil bool, e *Encoder) {
  5778. ee := e.e
  5779. if checkNil && v == nil {
  5780. ee.EncodeNil()
  5781. return
  5782. }
  5783. ee.EncodeMapStart(len(v))
  5784. for k2, v2 := range v {
  5785. ee.EncodeInt(int64(k2))
  5786. ee.EncodeInt(int64(v2))
  5787. }
  5788. ee.EncodeEnd()
  5789. }
  5790. func (f encFnInfo) fastpathEncMapInt64Int8R(rv reflect.Value) {
  5791. fastpathTV.EncMapInt64Int8V(rv.Interface().(map[int64]int8), fastpathCheckNilFalse, f.e)
  5792. }
  5793. func (_ fastpathT) EncMapInt64Int8V(v map[int64]int8, checkNil bool, e *Encoder) {
  5794. ee := e.e
  5795. if checkNil && v == nil {
  5796. ee.EncodeNil()
  5797. return
  5798. }
  5799. ee.EncodeMapStart(len(v))
  5800. for k2, v2 := range v {
  5801. ee.EncodeInt(int64(k2))
  5802. ee.EncodeInt(int64(v2))
  5803. }
  5804. ee.EncodeEnd()
  5805. }
  5806. func (f encFnInfo) fastpathEncMapInt64Int16R(rv reflect.Value) {
  5807. fastpathTV.EncMapInt64Int16V(rv.Interface().(map[int64]int16), fastpathCheckNilFalse, f.e)
  5808. }
  5809. func (_ fastpathT) EncMapInt64Int16V(v map[int64]int16, checkNil bool, e *Encoder) {
  5810. ee := e.e
  5811. if checkNil && v == nil {
  5812. ee.EncodeNil()
  5813. return
  5814. }
  5815. ee.EncodeMapStart(len(v))
  5816. for k2, v2 := range v {
  5817. ee.EncodeInt(int64(k2))
  5818. ee.EncodeInt(int64(v2))
  5819. }
  5820. ee.EncodeEnd()
  5821. }
  5822. func (f encFnInfo) fastpathEncMapInt64Int32R(rv reflect.Value) {
  5823. fastpathTV.EncMapInt64Int32V(rv.Interface().(map[int64]int32), fastpathCheckNilFalse, f.e)
  5824. }
  5825. func (_ fastpathT) EncMapInt64Int32V(v map[int64]int32, checkNil bool, e *Encoder) {
  5826. ee := e.e
  5827. if checkNil && v == nil {
  5828. ee.EncodeNil()
  5829. return
  5830. }
  5831. ee.EncodeMapStart(len(v))
  5832. for k2, v2 := range v {
  5833. ee.EncodeInt(int64(k2))
  5834. ee.EncodeInt(int64(v2))
  5835. }
  5836. ee.EncodeEnd()
  5837. }
  5838. func (f encFnInfo) fastpathEncMapInt64Int64R(rv reflect.Value) {
  5839. fastpathTV.EncMapInt64Int64V(rv.Interface().(map[int64]int64), fastpathCheckNilFalse, f.e)
  5840. }
  5841. func (_ fastpathT) EncMapInt64Int64V(v map[int64]int64, checkNil bool, e *Encoder) {
  5842. ee := e.e
  5843. if checkNil && v == nil {
  5844. ee.EncodeNil()
  5845. return
  5846. }
  5847. ee.EncodeMapStart(len(v))
  5848. for k2, v2 := range v {
  5849. ee.EncodeInt(int64(k2))
  5850. ee.EncodeInt(int64(v2))
  5851. }
  5852. ee.EncodeEnd()
  5853. }
  5854. func (f encFnInfo) fastpathEncMapInt64Float32R(rv reflect.Value) {
  5855. fastpathTV.EncMapInt64Float32V(rv.Interface().(map[int64]float32), fastpathCheckNilFalse, f.e)
  5856. }
  5857. func (_ fastpathT) EncMapInt64Float32V(v map[int64]float32, checkNil bool, e *Encoder) {
  5858. ee := e.e
  5859. if checkNil && v == nil {
  5860. ee.EncodeNil()
  5861. return
  5862. }
  5863. ee.EncodeMapStart(len(v))
  5864. for k2, v2 := range v {
  5865. ee.EncodeInt(int64(k2))
  5866. ee.EncodeFloat32(v2)
  5867. }
  5868. ee.EncodeEnd()
  5869. }
  5870. func (f encFnInfo) fastpathEncMapInt64Float64R(rv reflect.Value) {
  5871. fastpathTV.EncMapInt64Float64V(rv.Interface().(map[int64]float64), fastpathCheckNilFalse, f.e)
  5872. }
  5873. func (_ fastpathT) EncMapInt64Float64V(v map[int64]float64, checkNil bool, e *Encoder) {
  5874. ee := e.e
  5875. if checkNil && v == nil {
  5876. ee.EncodeNil()
  5877. return
  5878. }
  5879. ee.EncodeMapStart(len(v))
  5880. for k2, v2 := range v {
  5881. ee.EncodeInt(int64(k2))
  5882. ee.EncodeFloat64(v2)
  5883. }
  5884. ee.EncodeEnd()
  5885. }
  5886. func (f encFnInfo) fastpathEncMapInt64BoolR(rv reflect.Value) {
  5887. fastpathTV.EncMapInt64BoolV(rv.Interface().(map[int64]bool), fastpathCheckNilFalse, f.e)
  5888. }
  5889. func (_ fastpathT) EncMapInt64BoolV(v map[int64]bool, checkNil bool, e *Encoder) {
  5890. ee := e.e
  5891. if checkNil && v == nil {
  5892. ee.EncodeNil()
  5893. return
  5894. }
  5895. ee.EncodeMapStart(len(v))
  5896. for k2, v2 := range v {
  5897. ee.EncodeInt(int64(k2))
  5898. ee.EncodeBool(v2)
  5899. }
  5900. ee.EncodeEnd()
  5901. }
  5902. func (f encFnInfo) fastpathEncMapBoolIntfR(rv reflect.Value) {
  5903. fastpathTV.EncMapBoolIntfV(rv.Interface().(map[bool]interface{}), fastpathCheckNilFalse, f.e)
  5904. }
  5905. func (_ fastpathT) EncMapBoolIntfV(v map[bool]interface{}, checkNil bool, e *Encoder) {
  5906. ee := e.e
  5907. if checkNil && v == nil {
  5908. ee.EncodeNil()
  5909. return
  5910. }
  5911. ee.EncodeMapStart(len(v))
  5912. for k2, v2 := range v {
  5913. ee.EncodeBool(k2)
  5914. e.encode(v2)
  5915. }
  5916. ee.EncodeEnd()
  5917. }
  5918. func (f encFnInfo) fastpathEncMapBoolStringR(rv reflect.Value) {
  5919. fastpathTV.EncMapBoolStringV(rv.Interface().(map[bool]string), fastpathCheckNilFalse, f.e)
  5920. }
  5921. func (_ fastpathT) EncMapBoolStringV(v map[bool]string, checkNil bool, e *Encoder) {
  5922. ee := e.e
  5923. if checkNil && v == nil {
  5924. ee.EncodeNil()
  5925. return
  5926. }
  5927. ee.EncodeMapStart(len(v))
  5928. for k2, v2 := range v {
  5929. ee.EncodeBool(k2)
  5930. ee.EncodeString(c_UTF8, v2)
  5931. }
  5932. ee.EncodeEnd()
  5933. }
  5934. func (f encFnInfo) fastpathEncMapBoolUintR(rv reflect.Value) {
  5935. fastpathTV.EncMapBoolUintV(rv.Interface().(map[bool]uint), fastpathCheckNilFalse, f.e)
  5936. }
  5937. func (_ fastpathT) EncMapBoolUintV(v map[bool]uint, checkNil bool, e *Encoder) {
  5938. ee := e.e
  5939. if checkNil && v == nil {
  5940. ee.EncodeNil()
  5941. return
  5942. }
  5943. ee.EncodeMapStart(len(v))
  5944. for k2, v2 := range v {
  5945. ee.EncodeBool(k2)
  5946. ee.EncodeUint(uint64(v2))
  5947. }
  5948. ee.EncodeEnd()
  5949. }
  5950. func (f encFnInfo) fastpathEncMapBoolUint8R(rv reflect.Value) {
  5951. fastpathTV.EncMapBoolUint8V(rv.Interface().(map[bool]uint8), fastpathCheckNilFalse, f.e)
  5952. }
  5953. func (_ fastpathT) EncMapBoolUint8V(v map[bool]uint8, checkNil bool, e *Encoder) {
  5954. ee := e.e
  5955. if checkNil && v == nil {
  5956. ee.EncodeNil()
  5957. return
  5958. }
  5959. ee.EncodeMapStart(len(v))
  5960. for k2, v2 := range v {
  5961. ee.EncodeBool(k2)
  5962. ee.EncodeUint(uint64(v2))
  5963. }
  5964. ee.EncodeEnd()
  5965. }
  5966. func (f encFnInfo) fastpathEncMapBoolUint16R(rv reflect.Value) {
  5967. fastpathTV.EncMapBoolUint16V(rv.Interface().(map[bool]uint16), fastpathCheckNilFalse, f.e)
  5968. }
  5969. func (_ fastpathT) EncMapBoolUint16V(v map[bool]uint16, checkNil bool, e *Encoder) {
  5970. ee := e.e
  5971. if checkNil && v == nil {
  5972. ee.EncodeNil()
  5973. return
  5974. }
  5975. ee.EncodeMapStart(len(v))
  5976. for k2, v2 := range v {
  5977. ee.EncodeBool(k2)
  5978. ee.EncodeUint(uint64(v2))
  5979. }
  5980. ee.EncodeEnd()
  5981. }
  5982. func (f encFnInfo) fastpathEncMapBoolUint32R(rv reflect.Value) {
  5983. fastpathTV.EncMapBoolUint32V(rv.Interface().(map[bool]uint32), fastpathCheckNilFalse, f.e)
  5984. }
  5985. func (_ fastpathT) EncMapBoolUint32V(v map[bool]uint32, checkNil bool, e *Encoder) {
  5986. ee := e.e
  5987. if checkNil && v == nil {
  5988. ee.EncodeNil()
  5989. return
  5990. }
  5991. ee.EncodeMapStart(len(v))
  5992. for k2, v2 := range v {
  5993. ee.EncodeBool(k2)
  5994. ee.EncodeUint(uint64(v2))
  5995. }
  5996. ee.EncodeEnd()
  5997. }
  5998. func (f encFnInfo) fastpathEncMapBoolUint64R(rv reflect.Value) {
  5999. fastpathTV.EncMapBoolUint64V(rv.Interface().(map[bool]uint64), fastpathCheckNilFalse, f.e)
  6000. }
  6001. func (_ fastpathT) EncMapBoolUint64V(v map[bool]uint64, checkNil bool, e *Encoder) {
  6002. ee := e.e
  6003. if checkNil && v == nil {
  6004. ee.EncodeNil()
  6005. return
  6006. }
  6007. ee.EncodeMapStart(len(v))
  6008. for k2, v2 := range v {
  6009. ee.EncodeBool(k2)
  6010. ee.EncodeUint(uint64(v2))
  6011. }
  6012. ee.EncodeEnd()
  6013. }
  6014. func (f encFnInfo) fastpathEncMapBoolIntR(rv reflect.Value) {
  6015. fastpathTV.EncMapBoolIntV(rv.Interface().(map[bool]int), fastpathCheckNilFalse, f.e)
  6016. }
  6017. func (_ fastpathT) EncMapBoolIntV(v map[bool]int, checkNil bool, e *Encoder) {
  6018. ee := e.e
  6019. if checkNil && v == nil {
  6020. ee.EncodeNil()
  6021. return
  6022. }
  6023. ee.EncodeMapStart(len(v))
  6024. for k2, v2 := range v {
  6025. ee.EncodeBool(k2)
  6026. ee.EncodeInt(int64(v2))
  6027. }
  6028. ee.EncodeEnd()
  6029. }
  6030. func (f encFnInfo) fastpathEncMapBoolInt8R(rv reflect.Value) {
  6031. fastpathTV.EncMapBoolInt8V(rv.Interface().(map[bool]int8), fastpathCheckNilFalse, f.e)
  6032. }
  6033. func (_ fastpathT) EncMapBoolInt8V(v map[bool]int8, checkNil bool, e *Encoder) {
  6034. ee := e.e
  6035. if checkNil && v == nil {
  6036. ee.EncodeNil()
  6037. return
  6038. }
  6039. ee.EncodeMapStart(len(v))
  6040. for k2, v2 := range v {
  6041. ee.EncodeBool(k2)
  6042. ee.EncodeInt(int64(v2))
  6043. }
  6044. ee.EncodeEnd()
  6045. }
  6046. func (f encFnInfo) fastpathEncMapBoolInt16R(rv reflect.Value) {
  6047. fastpathTV.EncMapBoolInt16V(rv.Interface().(map[bool]int16), fastpathCheckNilFalse, f.e)
  6048. }
  6049. func (_ fastpathT) EncMapBoolInt16V(v map[bool]int16, checkNil bool, e *Encoder) {
  6050. ee := e.e
  6051. if checkNil && v == nil {
  6052. ee.EncodeNil()
  6053. return
  6054. }
  6055. ee.EncodeMapStart(len(v))
  6056. for k2, v2 := range v {
  6057. ee.EncodeBool(k2)
  6058. ee.EncodeInt(int64(v2))
  6059. }
  6060. ee.EncodeEnd()
  6061. }
  6062. func (f encFnInfo) fastpathEncMapBoolInt32R(rv reflect.Value) {
  6063. fastpathTV.EncMapBoolInt32V(rv.Interface().(map[bool]int32), fastpathCheckNilFalse, f.e)
  6064. }
  6065. func (_ fastpathT) EncMapBoolInt32V(v map[bool]int32, checkNil bool, e *Encoder) {
  6066. ee := e.e
  6067. if checkNil && v == nil {
  6068. ee.EncodeNil()
  6069. return
  6070. }
  6071. ee.EncodeMapStart(len(v))
  6072. for k2, v2 := range v {
  6073. ee.EncodeBool(k2)
  6074. ee.EncodeInt(int64(v2))
  6075. }
  6076. ee.EncodeEnd()
  6077. }
  6078. func (f encFnInfo) fastpathEncMapBoolInt64R(rv reflect.Value) {
  6079. fastpathTV.EncMapBoolInt64V(rv.Interface().(map[bool]int64), fastpathCheckNilFalse, f.e)
  6080. }
  6081. func (_ fastpathT) EncMapBoolInt64V(v map[bool]int64, checkNil bool, e *Encoder) {
  6082. ee := e.e
  6083. if checkNil && v == nil {
  6084. ee.EncodeNil()
  6085. return
  6086. }
  6087. ee.EncodeMapStart(len(v))
  6088. for k2, v2 := range v {
  6089. ee.EncodeBool(k2)
  6090. ee.EncodeInt(int64(v2))
  6091. }
  6092. ee.EncodeEnd()
  6093. }
  6094. func (f encFnInfo) fastpathEncMapBoolFloat32R(rv reflect.Value) {
  6095. fastpathTV.EncMapBoolFloat32V(rv.Interface().(map[bool]float32), fastpathCheckNilFalse, f.e)
  6096. }
  6097. func (_ fastpathT) EncMapBoolFloat32V(v map[bool]float32, checkNil bool, e *Encoder) {
  6098. ee := e.e
  6099. if checkNil && v == nil {
  6100. ee.EncodeNil()
  6101. return
  6102. }
  6103. ee.EncodeMapStart(len(v))
  6104. for k2, v2 := range v {
  6105. ee.EncodeBool(k2)
  6106. ee.EncodeFloat32(v2)
  6107. }
  6108. ee.EncodeEnd()
  6109. }
  6110. func (f encFnInfo) fastpathEncMapBoolFloat64R(rv reflect.Value) {
  6111. fastpathTV.EncMapBoolFloat64V(rv.Interface().(map[bool]float64), fastpathCheckNilFalse, f.e)
  6112. }
  6113. func (_ fastpathT) EncMapBoolFloat64V(v map[bool]float64, checkNil bool, e *Encoder) {
  6114. ee := e.e
  6115. if checkNil && v == nil {
  6116. ee.EncodeNil()
  6117. return
  6118. }
  6119. ee.EncodeMapStart(len(v))
  6120. for k2, v2 := range v {
  6121. ee.EncodeBool(k2)
  6122. ee.EncodeFloat64(v2)
  6123. }
  6124. ee.EncodeEnd()
  6125. }
  6126. func (f encFnInfo) fastpathEncMapBoolBoolR(rv reflect.Value) {
  6127. fastpathTV.EncMapBoolBoolV(rv.Interface().(map[bool]bool), fastpathCheckNilFalse, f.e)
  6128. }
  6129. func (_ fastpathT) EncMapBoolBoolV(v map[bool]bool, checkNil bool, e *Encoder) {
  6130. ee := e.e
  6131. if checkNil && v == nil {
  6132. ee.EncodeNil()
  6133. return
  6134. }
  6135. ee.EncodeMapStart(len(v))
  6136. for k2, v2 := range v {
  6137. ee.EncodeBool(k2)
  6138. ee.EncodeBool(v2)
  6139. }
  6140. ee.EncodeEnd()
  6141. }
  6142. // -- decode
  6143. // -- -- fast path type switch
  6144. func fastpathDecodeTypeSwitch(iv interface{}, d *Decoder) bool {
  6145. switch v := iv.(type) {
  6146. case []interface{}:
  6147. fastpathTV.DecSliceIntfV(v, fastpathCheckNilFalse, false, d)
  6148. case *[]interface{}:
  6149. v2, changed2 := fastpathTV.DecSliceIntfV(*v, fastpathCheckNilFalse, true, d)
  6150. if changed2 {
  6151. *v = v2
  6152. }
  6153. case map[interface{}]interface{}:
  6154. fastpathTV.DecMapIntfIntfV(v, fastpathCheckNilFalse, false, d)
  6155. case *map[interface{}]interface{}:
  6156. v2, changed2 := fastpathTV.DecMapIntfIntfV(*v, fastpathCheckNilFalse, true, d)
  6157. if changed2 {
  6158. *v = v2
  6159. }
  6160. case map[interface{}]string:
  6161. fastpathTV.DecMapIntfStringV(v, fastpathCheckNilFalse, false, d)
  6162. case *map[interface{}]string:
  6163. v2, changed2 := fastpathTV.DecMapIntfStringV(*v, fastpathCheckNilFalse, true, d)
  6164. if changed2 {
  6165. *v = v2
  6166. }
  6167. case map[interface{}]uint:
  6168. fastpathTV.DecMapIntfUintV(v, fastpathCheckNilFalse, false, d)
  6169. case *map[interface{}]uint:
  6170. v2, changed2 := fastpathTV.DecMapIntfUintV(*v, fastpathCheckNilFalse, true, d)
  6171. if changed2 {
  6172. *v = v2
  6173. }
  6174. case map[interface{}]uint8:
  6175. fastpathTV.DecMapIntfUint8V(v, fastpathCheckNilFalse, false, d)
  6176. case *map[interface{}]uint8:
  6177. v2, changed2 := fastpathTV.DecMapIntfUint8V(*v, fastpathCheckNilFalse, true, d)
  6178. if changed2 {
  6179. *v = v2
  6180. }
  6181. case map[interface{}]uint16:
  6182. fastpathTV.DecMapIntfUint16V(v, fastpathCheckNilFalse, false, d)
  6183. case *map[interface{}]uint16:
  6184. v2, changed2 := fastpathTV.DecMapIntfUint16V(*v, fastpathCheckNilFalse, true, d)
  6185. if changed2 {
  6186. *v = v2
  6187. }
  6188. case map[interface{}]uint32:
  6189. fastpathTV.DecMapIntfUint32V(v, fastpathCheckNilFalse, false, d)
  6190. case *map[interface{}]uint32:
  6191. v2, changed2 := fastpathTV.DecMapIntfUint32V(*v, fastpathCheckNilFalse, true, d)
  6192. if changed2 {
  6193. *v = v2
  6194. }
  6195. case map[interface{}]uint64:
  6196. fastpathTV.DecMapIntfUint64V(v, fastpathCheckNilFalse, false, d)
  6197. case *map[interface{}]uint64:
  6198. v2, changed2 := fastpathTV.DecMapIntfUint64V(*v, fastpathCheckNilFalse, true, d)
  6199. if changed2 {
  6200. *v = v2
  6201. }
  6202. case map[interface{}]int:
  6203. fastpathTV.DecMapIntfIntV(v, fastpathCheckNilFalse, false, d)
  6204. case *map[interface{}]int:
  6205. v2, changed2 := fastpathTV.DecMapIntfIntV(*v, fastpathCheckNilFalse, true, d)
  6206. if changed2 {
  6207. *v = v2
  6208. }
  6209. case map[interface{}]int8:
  6210. fastpathTV.DecMapIntfInt8V(v, fastpathCheckNilFalse, false, d)
  6211. case *map[interface{}]int8:
  6212. v2, changed2 := fastpathTV.DecMapIntfInt8V(*v, fastpathCheckNilFalse, true, d)
  6213. if changed2 {
  6214. *v = v2
  6215. }
  6216. case map[interface{}]int16:
  6217. fastpathTV.DecMapIntfInt16V(v, fastpathCheckNilFalse, false, d)
  6218. case *map[interface{}]int16:
  6219. v2, changed2 := fastpathTV.DecMapIntfInt16V(*v, fastpathCheckNilFalse, true, d)
  6220. if changed2 {
  6221. *v = v2
  6222. }
  6223. case map[interface{}]int32:
  6224. fastpathTV.DecMapIntfInt32V(v, fastpathCheckNilFalse, false, d)
  6225. case *map[interface{}]int32:
  6226. v2, changed2 := fastpathTV.DecMapIntfInt32V(*v, fastpathCheckNilFalse, true, d)
  6227. if changed2 {
  6228. *v = v2
  6229. }
  6230. case map[interface{}]int64:
  6231. fastpathTV.DecMapIntfInt64V(v, fastpathCheckNilFalse, false, d)
  6232. case *map[interface{}]int64:
  6233. v2, changed2 := fastpathTV.DecMapIntfInt64V(*v, fastpathCheckNilFalse, true, d)
  6234. if changed2 {
  6235. *v = v2
  6236. }
  6237. case map[interface{}]float32:
  6238. fastpathTV.DecMapIntfFloat32V(v, fastpathCheckNilFalse, false, d)
  6239. case *map[interface{}]float32:
  6240. v2, changed2 := fastpathTV.DecMapIntfFloat32V(*v, fastpathCheckNilFalse, true, d)
  6241. if changed2 {
  6242. *v = v2
  6243. }
  6244. case map[interface{}]float64:
  6245. fastpathTV.DecMapIntfFloat64V(v, fastpathCheckNilFalse, false, d)
  6246. case *map[interface{}]float64:
  6247. v2, changed2 := fastpathTV.DecMapIntfFloat64V(*v, fastpathCheckNilFalse, true, d)
  6248. if changed2 {
  6249. *v = v2
  6250. }
  6251. case map[interface{}]bool:
  6252. fastpathTV.DecMapIntfBoolV(v, fastpathCheckNilFalse, false, d)
  6253. case *map[interface{}]bool:
  6254. v2, changed2 := fastpathTV.DecMapIntfBoolV(*v, fastpathCheckNilFalse, true, d)
  6255. if changed2 {
  6256. *v = v2
  6257. }
  6258. case []string:
  6259. fastpathTV.DecSliceStringV(v, fastpathCheckNilFalse, false, d)
  6260. case *[]string:
  6261. v2, changed2 := fastpathTV.DecSliceStringV(*v, fastpathCheckNilFalse, true, d)
  6262. if changed2 {
  6263. *v = v2
  6264. }
  6265. case map[string]interface{}:
  6266. fastpathTV.DecMapStringIntfV(v, fastpathCheckNilFalse, false, d)
  6267. case *map[string]interface{}:
  6268. v2, changed2 := fastpathTV.DecMapStringIntfV(*v, fastpathCheckNilFalse, true, d)
  6269. if changed2 {
  6270. *v = v2
  6271. }
  6272. case map[string]string:
  6273. fastpathTV.DecMapStringStringV(v, fastpathCheckNilFalse, false, d)
  6274. case *map[string]string:
  6275. v2, changed2 := fastpathTV.DecMapStringStringV(*v, fastpathCheckNilFalse, true, d)
  6276. if changed2 {
  6277. *v = v2
  6278. }
  6279. case map[string]uint:
  6280. fastpathTV.DecMapStringUintV(v, fastpathCheckNilFalse, false, d)
  6281. case *map[string]uint:
  6282. v2, changed2 := fastpathTV.DecMapStringUintV(*v, fastpathCheckNilFalse, true, d)
  6283. if changed2 {
  6284. *v = v2
  6285. }
  6286. case map[string]uint8:
  6287. fastpathTV.DecMapStringUint8V(v, fastpathCheckNilFalse, false, d)
  6288. case *map[string]uint8:
  6289. v2, changed2 := fastpathTV.DecMapStringUint8V(*v, fastpathCheckNilFalse, true, d)
  6290. if changed2 {
  6291. *v = v2
  6292. }
  6293. case map[string]uint16:
  6294. fastpathTV.DecMapStringUint16V(v, fastpathCheckNilFalse, false, d)
  6295. case *map[string]uint16:
  6296. v2, changed2 := fastpathTV.DecMapStringUint16V(*v, fastpathCheckNilFalse, true, d)
  6297. if changed2 {
  6298. *v = v2
  6299. }
  6300. case map[string]uint32:
  6301. fastpathTV.DecMapStringUint32V(v, fastpathCheckNilFalse, false, d)
  6302. case *map[string]uint32:
  6303. v2, changed2 := fastpathTV.DecMapStringUint32V(*v, fastpathCheckNilFalse, true, d)
  6304. if changed2 {
  6305. *v = v2
  6306. }
  6307. case map[string]uint64:
  6308. fastpathTV.DecMapStringUint64V(v, fastpathCheckNilFalse, false, d)
  6309. case *map[string]uint64:
  6310. v2, changed2 := fastpathTV.DecMapStringUint64V(*v, fastpathCheckNilFalse, true, d)
  6311. if changed2 {
  6312. *v = v2
  6313. }
  6314. case map[string]int:
  6315. fastpathTV.DecMapStringIntV(v, fastpathCheckNilFalse, false, d)
  6316. case *map[string]int:
  6317. v2, changed2 := fastpathTV.DecMapStringIntV(*v, fastpathCheckNilFalse, true, d)
  6318. if changed2 {
  6319. *v = v2
  6320. }
  6321. case map[string]int8:
  6322. fastpathTV.DecMapStringInt8V(v, fastpathCheckNilFalse, false, d)
  6323. case *map[string]int8:
  6324. v2, changed2 := fastpathTV.DecMapStringInt8V(*v, fastpathCheckNilFalse, true, d)
  6325. if changed2 {
  6326. *v = v2
  6327. }
  6328. case map[string]int16:
  6329. fastpathTV.DecMapStringInt16V(v, fastpathCheckNilFalse, false, d)
  6330. case *map[string]int16:
  6331. v2, changed2 := fastpathTV.DecMapStringInt16V(*v, fastpathCheckNilFalse, true, d)
  6332. if changed2 {
  6333. *v = v2
  6334. }
  6335. case map[string]int32:
  6336. fastpathTV.DecMapStringInt32V(v, fastpathCheckNilFalse, false, d)
  6337. case *map[string]int32:
  6338. v2, changed2 := fastpathTV.DecMapStringInt32V(*v, fastpathCheckNilFalse, true, d)
  6339. if changed2 {
  6340. *v = v2
  6341. }
  6342. case map[string]int64:
  6343. fastpathTV.DecMapStringInt64V(v, fastpathCheckNilFalse, false, d)
  6344. case *map[string]int64:
  6345. v2, changed2 := fastpathTV.DecMapStringInt64V(*v, fastpathCheckNilFalse, true, d)
  6346. if changed2 {
  6347. *v = v2
  6348. }
  6349. case map[string]float32:
  6350. fastpathTV.DecMapStringFloat32V(v, fastpathCheckNilFalse, false, d)
  6351. case *map[string]float32:
  6352. v2, changed2 := fastpathTV.DecMapStringFloat32V(*v, fastpathCheckNilFalse, true, d)
  6353. if changed2 {
  6354. *v = v2
  6355. }
  6356. case map[string]float64:
  6357. fastpathTV.DecMapStringFloat64V(v, fastpathCheckNilFalse, false, d)
  6358. case *map[string]float64:
  6359. v2, changed2 := fastpathTV.DecMapStringFloat64V(*v, fastpathCheckNilFalse, true, d)
  6360. if changed2 {
  6361. *v = v2
  6362. }
  6363. case map[string]bool:
  6364. fastpathTV.DecMapStringBoolV(v, fastpathCheckNilFalse, false, d)
  6365. case *map[string]bool:
  6366. v2, changed2 := fastpathTV.DecMapStringBoolV(*v, fastpathCheckNilFalse, true, d)
  6367. if changed2 {
  6368. *v = v2
  6369. }
  6370. case []float32:
  6371. fastpathTV.DecSliceFloat32V(v, fastpathCheckNilFalse, false, d)
  6372. case *[]float32:
  6373. v2, changed2 := fastpathTV.DecSliceFloat32V(*v, fastpathCheckNilFalse, true, d)
  6374. if changed2 {
  6375. *v = v2
  6376. }
  6377. case map[float32]interface{}:
  6378. fastpathTV.DecMapFloat32IntfV(v, fastpathCheckNilFalse, false, d)
  6379. case *map[float32]interface{}:
  6380. v2, changed2 := fastpathTV.DecMapFloat32IntfV(*v, fastpathCheckNilFalse, true, d)
  6381. if changed2 {
  6382. *v = v2
  6383. }
  6384. case map[float32]string:
  6385. fastpathTV.DecMapFloat32StringV(v, fastpathCheckNilFalse, false, d)
  6386. case *map[float32]string:
  6387. v2, changed2 := fastpathTV.DecMapFloat32StringV(*v, fastpathCheckNilFalse, true, d)
  6388. if changed2 {
  6389. *v = v2
  6390. }
  6391. case map[float32]uint:
  6392. fastpathTV.DecMapFloat32UintV(v, fastpathCheckNilFalse, false, d)
  6393. case *map[float32]uint:
  6394. v2, changed2 := fastpathTV.DecMapFloat32UintV(*v, fastpathCheckNilFalse, true, d)
  6395. if changed2 {
  6396. *v = v2
  6397. }
  6398. case map[float32]uint8:
  6399. fastpathTV.DecMapFloat32Uint8V(v, fastpathCheckNilFalse, false, d)
  6400. case *map[float32]uint8:
  6401. v2, changed2 := fastpathTV.DecMapFloat32Uint8V(*v, fastpathCheckNilFalse, true, d)
  6402. if changed2 {
  6403. *v = v2
  6404. }
  6405. case map[float32]uint16:
  6406. fastpathTV.DecMapFloat32Uint16V(v, fastpathCheckNilFalse, false, d)
  6407. case *map[float32]uint16:
  6408. v2, changed2 := fastpathTV.DecMapFloat32Uint16V(*v, fastpathCheckNilFalse, true, d)
  6409. if changed2 {
  6410. *v = v2
  6411. }
  6412. case map[float32]uint32:
  6413. fastpathTV.DecMapFloat32Uint32V(v, fastpathCheckNilFalse, false, d)
  6414. case *map[float32]uint32:
  6415. v2, changed2 := fastpathTV.DecMapFloat32Uint32V(*v, fastpathCheckNilFalse, true, d)
  6416. if changed2 {
  6417. *v = v2
  6418. }
  6419. case map[float32]uint64:
  6420. fastpathTV.DecMapFloat32Uint64V(v, fastpathCheckNilFalse, false, d)
  6421. case *map[float32]uint64:
  6422. v2, changed2 := fastpathTV.DecMapFloat32Uint64V(*v, fastpathCheckNilFalse, true, d)
  6423. if changed2 {
  6424. *v = v2
  6425. }
  6426. case map[float32]int:
  6427. fastpathTV.DecMapFloat32IntV(v, fastpathCheckNilFalse, false, d)
  6428. case *map[float32]int:
  6429. v2, changed2 := fastpathTV.DecMapFloat32IntV(*v, fastpathCheckNilFalse, true, d)
  6430. if changed2 {
  6431. *v = v2
  6432. }
  6433. case map[float32]int8:
  6434. fastpathTV.DecMapFloat32Int8V(v, fastpathCheckNilFalse, false, d)
  6435. case *map[float32]int8:
  6436. v2, changed2 := fastpathTV.DecMapFloat32Int8V(*v, fastpathCheckNilFalse, true, d)
  6437. if changed2 {
  6438. *v = v2
  6439. }
  6440. case map[float32]int16:
  6441. fastpathTV.DecMapFloat32Int16V(v, fastpathCheckNilFalse, false, d)
  6442. case *map[float32]int16:
  6443. v2, changed2 := fastpathTV.DecMapFloat32Int16V(*v, fastpathCheckNilFalse, true, d)
  6444. if changed2 {
  6445. *v = v2
  6446. }
  6447. case map[float32]int32:
  6448. fastpathTV.DecMapFloat32Int32V(v, fastpathCheckNilFalse, false, d)
  6449. case *map[float32]int32:
  6450. v2, changed2 := fastpathTV.DecMapFloat32Int32V(*v, fastpathCheckNilFalse, true, d)
  6451. if changed2 {
  6452. *v = v2
  6453. }
  6454. case map[float32]int64:
  6455. fastpathTV.DecMapFloat32Int64V(v, fastpathCheckNilFalse, false, d)
  6456. case *map[float32]int64:
  6457. v2, changed2 := fastpathTV.DecMapFloat32Int64V(*v, fastpathCheckNilFalse, true, d)
  6458. if changed2 {
  6459. *v = v2
  6460. }
  6461. case map[float32]float32:
  6462. fastpathTV.DecMapFloat32Float32V(v, fastpathCheckNilFalse, false, d)
  6463. case *map[float32]float32:
  6464. v2, changed2 := fastpathTV.DecMapFloat32Float32V(*v, fastpathCheckNilFalse, true, d)
  6465. if changed2 {
  6466. *v = v2
  6467. }
  6468. case map[float32]float64:
  6469. fastpathTV.DecMapFloat32Float64V(v, fastpathCheckNilFalse, false, d)
  6470. case *map[float32]float64:
  6471. v2, changed2 := fastpathTV.DecMapFloat32Float64V(*v, fastpathCheckNilFalse, true, d)
  6472. if changed2 {
  6473. *v = v2
  6474. }
  6475. case map[float32]bool:
  6476. fastpathTV.DecMapFloat32BoolV(v, fastpathCheckNilFalse, false, d)
  6477. case *map[float32]bool:
  6478. v2, changed2 := fastpathTV.DecMapFloat32BoolV(*v, fastpathCheckNilFalse, true, d)
  6479. if changed2 {
  6480. *v = v2
  6481. }
  6482. case []float64:
  6483. fastpathTV.DecSliceFloat64V(v, fastpathCheckNilFalse, false, d)
  6484. case *[]float64:
  6485. v2, changed2 := fastpathTV.DecSliceFloat64V(*v, fastpathCheckNilFalse, true, d)
  6486. if changed2 {
  6487. *v = v2
  6488. }
  6489. case map[float64]interface{}:
  6490. fastpathTV.DecMapFloat64IntfV(v, fastpathCheckNilFalse, false, d)
  6491. case *map[float64]interface{}:
  6492. v2, changed2 := fastpathTV.DecMapFloat64IntfV(*v, fastpathCheckNilFalse, true, d)
  6493. if changed2 {
  6494. *v = v2
  6495. }
  6496. case map[float64]string:
  6497. fastpathTV.DecMapFloat64StringV(v, fastpathCheckNilFalse, false, d)
  6498. case *map[float64]string:
  6499. v2, changed2 := fastpathTV.DecMapFloat64StringV(*v, fastpathCheckNilFalse, true, d)
  6500. if changed2 {
  6501. *v = v2
  6502. }
  6503. case map[float64]uint:
  6504. fastpathTV.DecMapFloat64UintV(v, fastpathCheckNilFalse, false, d)
  6505. case *map[float64]uint:
  6506. v2, changed2 := fastpathTV.DecMapFloat64UintV(*v, fastpathCheckNilFalse, true, d)
  6507. if changed2 {
  6508. *v = v2
  6509. }
  6510. case map[float64]uint8:
  6511. fastpathTV.DecMapFloat64Uint8V(v, fastpathCheckNilFalse, false, d)
  6512. case *map[float64]uint8:
  6513. v2, changed2 := fastpathTV.DecMapFloat64Uint8V(*v, fastpathCheckNilFalse, true, d)
  6514. if changed2 {
  6515. *v = v2
  6516. }
  6517. case map[float64]uint16:
  6518. fastpathTV.DecMapFloat64Uint16V(v, fastpathCheckNilFalse, false, d)
  6519. case *map[float64]uint16:
  6520. v2, changed2 := fastpathTV.DecMapFloat64Uint16V(*v, fastpathCheckNilFalse, true, d)
  6521. if changed2 {
  6522. *v = v2
  6523. }
  6524. case map[float64]uint32:
  6525. fastpathTV.DecMapFloat64Uint32V(v, fastpathCheckNilFalse, false, d)
  6526. case *map[float64]uint32:
  6527. v2, changed2 := fastpathTV.DecMapFloat64Uint32V(*v, fastpathCheckNilFalse, true, d)
  6528. if changed2 {
  6529. *v = v2
  6530. }
  6531. case map[float64]uint64:
  6532. fastpathTV.DecMapFloat64Uint64V(v, fastpathCheckNilFalse, false, d)
  6533. case *map[float64]uint64:
  6534. v2, changed2 := fastpathTV.DecMapFloat64Uint64V(*v, fastpathCheckNilFalse, true, d)
  6535. if changed2 {
  6536. *v = v2
  6537. }
  6538. case map[float64]int:
  6539. fastpathTV.DecMapFloat64IntV(v, fastpathCheckNilFalse, false, d)
  6540. case *map[float64]int:
  6541. v2, changed2 := fastpathTV.DecMapFloat64IntV(*v, fastpathCheckNilFalse, true, d)
  6542. if changed2 {
  6543. *v = v2
  6544. }
  6545. case map[float64]int8:
  6546. fastpathTV.DecMapFloat64Int8V(v, fastpathCheckNilFalse, false, d)
  6547. case *map[float64]int8:
  6548. v2, changed2 := fastpathTV.DecMapFloat64Int8V(*v, fastpathCheckNilFalse, true, d)
  6549. if changed2 {
  6550. *v = v2
  6551. }
  6552. case map[float64]int16:
  6553. fastpathTV.DecMapFloat64Int16V(v, fastpathCheckNilFalse, false, d)
  6554. case *map[float64]int16:
  6555. v2, changed2 := fastpathTV.DecMapFloat64Int16V(*v, fastpathCheckNilFalse, true, d)
  6556. if changed2 {
  6557. *v = v2
  6558. }
  6559. case map[float64]int32:
  6560. fastpathTV.DecMapFloat64Int32V(v, fastpathCheckNilFalse, false, d)
  6561. case *map[float64]int32:
  6562. v2, changed2 := fastpathTV.DecMapFloat64Int32V(*v, fastpathCheckNilFalse, true, d)
  6563. if changed2 {
  6564. *v = v2
  6565. }
  6566. case map[float64]int64:
  6567. fastpathTV.DecMapFloat64Int64V(v, fastpathCheckNilFalse, false, d)
  6568. case *map[float64]int64:
  6569. v2, changed2 := fastpathTV.DecMapFloat64Int64V(*v, fastpathCheckNilFalse, true, d)
  6570. if changed2 {
  6571. *v = v2
  6572. }
  6573. case map[float64]float32:
  6574. fastpathTV.DecMapFloat64Float32V(v, fastpathCheckNilFalse, false, d)
  6575. case *map[float64]float32:
  6576. v2, changed2 := fastpathTV.DecMapFloat64Float32V(*v, fastpathCheckNilFalse, true, d)
  6577. if changed2 {
  6578. *v = v2
  6579. }
  6580. case map[float64]float64:
  6581. fastpathTV.DecMapFloat64Float64V(v, fastpathCheckNilFalse, false, d)
  6582. case *map[float64]float64:
  6583. v2, changed2 := fastpathTV.DecMapFloat64Float64V(*v, fastpathCheckNilFalse, true, d)
  6584. if changed2 {
  6585. *v = v2
  6586. }
  6587. case map[float64]bool:
  6588. fastpathTV.DecMapFloat64BoolV(v, fastpathCheckNilFalse, false, d)
  6589. case *map[float64]bool:
  6590. v2, changed2 := fastpathTV.DecMapFloat64BoolV(*v, fastpathCheckNilFalse, true, d)
  6591. if changed2 {
  6592. *v = v2
  6593. }
  6594. case []uint:
  6595. fastpathTV.DecSliceUintV(v, fastpathCheckNilFalse, false, d)
  6596. case *[]uint:
  6597. v2, changed2 := fastpathTV.DecSliceUintV(*v, fastpathCheckNilFalse, true, d)
  6598. if changed2 {
  6599. *v = v2
  6600. }
  6601. case map[uint]interface{}:
  6602. fastpathTV.DecMapUintIntfV(v, fastpathCheckNilFalse, false, d)
  6603. case *map[uint]interface{}:
  6604. v2, changed2 := fastpathTV.DecMapUintIntfV(*v, fastpathCheckNilFalse, true, d)
  6605. if changed2 {
  6606. *v = v2
  6607. }
  6608. case map[uint]string:
  6609. fastpathTV.DecMapUintStringV(v, fastpathCheckNilFalse, false, d)
  6610. case *map[uint]string:
  6611. v2, changed2 := fastpathTV.DecMapUintStringV(*v, fastpathCheckNilFalse, true, d)
  6612. if changed2 {
  6613. *v = v2
  6614. }
  6615. case map[uint]uint:
  6616. fastpathTV.DecMapUintUintV(v, fastpathCheckNilFalse, false, d)
  6617. case *map[uint]uint:
  6618. v2, changed2 := fastpathTV.DecMapUintUintV(*v, fastpathCheckNilFalse, true, d)
  6619. if changed2 {
  6620. *v = v2
  6621. }
  6622. case map[uint]uint8:
  6623. fastpathTV.DecMapUintUint8V(v, fastpathCheckNilFalse, false, d)
  6624. case *map[uint]uint8:
  6625. v2, changed2 := fastpathTV.DecMapUintUint8V(*v, fastpathCheckNilFalse, true, d)
  6626. if changed2 {
  6627. *v = v2
  6628. }
  6629. case map[uint]uint16:
  6630. fastpathTV.DecMapUintUint16V(v, fastpathCheckNilFalse, false, d)
  6631. case *map[uint]uint16:
  6632. v2, changed2 := fastpathTV.DecMapUintUint16V(*v, fastpathCheckNilFalse, true, d)
  6633. if changed2 {
  6634. *v = v2
  6635. }
  6636. case map[uint]uint32:
  6637. fastpathTV.DecMapUintUint32V(v, fastpathCheckNilFalse, false, d)
  6638. case *map[uint]uint32:
  6639. v2, changed2 := fastpathTV.DecMapUintUint32V(*v, fastpathCheckNilFalse, true, d)
  6640. if changed2 {
  6641. *v = v2
  6642. }
  6643. case map[uint]uint64:
  6644. fastpathTV.DecMapUintUint64V(v, fastpathCheckNilFalse, false, d)
  6645. case *map[uint]uint64:
  6646. v2, changed2 := fastpathTV.DecMapUintUint64V(*v, fastpathCheckNilFalse, true, d)
  6647. if changed2 {
  6648. *v = v2
  6649. }
  6650. case map[uint]int:
  6651. fastpathTV.DecMapUintIntV(v, fastpathCheckNilFalse, false, d)
  6652. case *map[uint]int:
  6653. v2, changed2 := fastpathTV.DecMapUintIntV(*v, fastpathCheckNilFalse, true, d)
  6654. if changed2 {
  6655. *v = v2
  6656. }
  6657. case map[uint]int8:
  6658. fastpathTV.DecMapUintInt8V(v, fastpathCheckNilFalse, false, d)
  6659. case *map[uint]int8:
  6660. v2, changed2 := fastpathTV.DecMapUintInt8V(*v, fastpathCheckNilFalse, true, d)
  6661. if changed2 {
  6662. *v = v2
  6663. }
  6664. case map[uint]int16:
  6665. fastpathTV.DecMapUintInt16V(v, fastpathCheckNilFalse, false, d)
  6666. case *map[uint]int16:
  6667. v2, changed2 := fastpathTV.DecMapUintInt16V(*v, fastpathCheckNilFalse, true, d)
  6668. if changed2 {
  6669. *v = v2
  6670. }
  6671. case map[uint]int32:
  6672. fastpathTV.DecMapUintInt32V(v, fastpathCheckNilFalse, false, d)
  6673. case *map[uint]int32:
  6674. v2, changed2 := fastpathTV.DecMapUintInt32V(*v, fastpathCheckNilFalse, true, d)
  6675. if changed2 {
  6676. *v = v2
  6677. }
  6678. case map[uint]int64:
  6679. fastpathTV.DecMapUintInt64V(v, fastpathCheckNilFalse, false, d)
  6680. case *map[uint]int64:
  6681. v2, changed2 := fastpathTV.DecMapUintInt64V(*v, fastpathCheckNilFalse, true, d)
  6682. if changed2 {
  6683. *v = v2
  6684. }
  6685. case map[uint]float32:
  6686. fastpathTV.DecMapUintFloat32V(v, fastpathCheckNilFalse, false, d)
  6687. case *map[uint]float32:
  6688. v2, changed2 := fastpathTV.DecMapUintFloat32V(*v, fastpathCheckNilFalse, true, d)
  6689. if changed2 {
  6690. *v = v2
  6691. }
  6692. case map[uint]float64:
  6693. fastpathTV.DecMapUintFloat64V(v, fastpathCheckNilFalse, false, d)
  6694. case *map[uint]float64:
  6695. v2, changed2 := fastpathTV.DecMapUintFloat64V(*v, fastpathCheckNilFalse, true, d)
  6696. if changed2 {
  6697. *v = v2
  6698. }
  6699. case map[uint]bool:
  6700. fastpathTV.DecMapUintBoolV(v, fastpathCheckNilFalse, false, d)
  6701. case *map[uint]bool:
  6702. v2, changed2 := fastpathTV.DecMapUintBoolV(*v, fastpathCheckNilFalse, true, d)
  6703. if changed2 {
  6704. *v = v2
  6705. }
  6706. case map[uint8]interface{}:
  6707. fastpathTV.DecMapUint8IntfV(v, fastpathCheckNilFalse, false, d)
  6708. case *map[uint8]interface{}:
  6709. v2, changed2 := fastpathTV.DecMapUint8IntfV(*v, fastpathCheckNilFalse, true, d)
  6710. if changed2 {
  6711. *v = v2
  6712. }
  6713. case map[uint8]string:
  6714. fastpathTV.DecMapUint8StringV(v, fastpathCheckNilFalse, false, d)
  6715. case *map[uint8]string:
  6716. v2, changed2 := fastpathTV.DecMapUint8StringV(*v, fastpathCheckNilFalse, true, d)
  6717. if changed2 {
  6718. *v = v2
  6719. }
  6720. case map[uint8]uint:
  6721. fastpathTV.DecMapUint8UintV(v, fastpathCheckNilFalse, false, d)
  6722. case *map[uint8]uint:
  6723. v2, changed2 := fastpathTV.DecMapUint8UintV(*v, fastpathCheckNilFalse, true, d)
  6724. if changed2 {
  6725. *v = v2
  6726. }
  6727. case map[uint8]uint8:
  6728. fastpathTV.DecMapUint8Uint8V(v, fastpathCheckNilFalse, false, d)
  6729. case *map[uint8]uint8:
  6730. v2, changed2 := fastpathTV.DecMapUint8Uint8V(*v, fastpathCheckNilFalse, true, d)
  6731. if changed2 {
  6732. *v = v2
  6733. }
  6734. case map[uint8]uint16:
  6735. fastpathTV.DecMapUint8Uint16V(v, fastpathCheckNilFalse, false, d)
  6736. case *map[uint8]uint16:
  6737. v2, changed2 := fastpathTV.DecMapUint8Uint16V(*v, fastpathCheckNilFalse, true, d)
  6738. if changed2 {
  6739. *v = v2
  6740. }
  6741. case map[uint8]uint32:
  6742. fastpathTV.DecMapUint8Uint32V(v, fastpathCheckNilFalse, false, d)
  6743. case *map[uint8]uint32:
  6744. v2, changed2 := fastpathTV.DecMapUint8Uint32V(*v, fastpathCheckNilFalse, true, d)
  6745. if changed2 {
  6746. *v = v2
  6747. }
  6748. case map[uint8]uint64:
  6749. fastpathTV.DecMapUint8Uint64V(v, fastpathCheckNilFalse, false, d)
  6750. case *map[uint8]uint64:
  6751. v2, changed2 := fastpathTV.DecMapUint8Uint64V(*v, fastpathCheckNilFalse, true, d)
  6752. if changed2 {
  6753. *v = v2
  6754. }
  6755. case map[uint8]int:
  6756. fastpathTV.DecMapUint8IntV(v, fastpathCheckNilFalse, false, d)
  6757. case *map[uint8]int:
  6758. v2, changed2 := fastpathTV.DecMapUint8IntV(*v, fastpathCheckNilFalse, true, d)
  6759. if changed2 {
  6760. *v = v2
  6761. }
  6762. case map[uint8]int8:
  6763. fastpathTV.DecMapUint8Int8V(v, fastpathCheckNilFalse, false, d)
  6764. case *map[uint8]int8:
  6765. v2, changed2 := fastpathTV.DecMapUint8Int8V(*v, fastpathCheckNilFalse, true, d)
  6766. if changed2 {
  6767. *v = v2
  6768. }
  6769. case map[uint8]int16:
  6770. fastpathTV.DecMapUint8Int16V(v, fastpathCheckNilFalse, false, d)
  6771. case *map[uint8]int16:
  6772. v2, changed2 := fastpathTV.DecMapUint8Int16V(*v, fastpathCheckNilFalse, true, d)
  6773. if changed2 {
  6774. *v = v2
  6775. }
  6776. case map[uint8]int32:
  6777. fastpathTV.DecMapUint8Int32V(v, fastpathCheckNilFalse, false, d)
  6778. case *map[uint8]int32:
  6779. v2, changed2 := fastpathTV.DecMapUint8Int32V(*v, fastpathCheckNilFalse, true, d)
  6780. if changed2 {
  6781. *v = v2
  6782. }
  6783. case map[uint8]int64:
  6784. fastpathTV.DecMapUint8Int64V(v, fastpathCheckNilFalse, false, d)
  6785. case *map[uint8]int64:
  6786. v2, changed2 := fastpathTV.DecMapUint8Int64V(*v, fastpathCheckNilFalse, true, d)
  6787. if changed2 {
  6788. *v = v2
  6789. }
  6790. case map[uint8]float32:
  6791. fastpathTV.DecMapUint8Float32V(v, fastpathCheckNilFalse, false, d)
  6792. case *map[uint8]float32:
  6793. v2, changed2 := fastpathTV.DecMapUint8Float32V(*v, fastpathCheckNilFalse, true, d)
  6794. if changed2 {
  6795. *v = v2
  6796. }
  6797. case map[uint8]float64:
  6798. fastpathTV.DecMapUint8Float64V(v, fastpathCheckNilFalse, false, d)
  6799. case *map[uint8]float64:
  6800. v2, changed2 := fastpathTV.DecMapUint8Float64V(*v, fastpathCheckNilFalse, true, d)
  6801. if changed2 {
  6802. *v = v2
  6803. }
  6804. case map[uint8]bool:
  6805. fastpathTV.DecMapUint8BoolV(v, fastpathCheckNilFalse, false, d)
  6806. case *map[uint8]bool:
  6807. v2, changed2 := fastpathTV.DecMapUint8BoolV(*v, fastpathCheckNilFalse, true, d)
  6808. if changed2 {
  6809. *v = v2
  6810. }
  6811. case []uint16:
  6812. fastpathTV.DecSliceUint16V(v, fastpathCheckNilFalse, false, d)
  6813. case *[]uint16:
  6814. v2, changed2 := fastpathTV.DecSliceUint16V(*v, fastpathCheckNilFalse, true, d)
  6815. if changed2 {
  6816. *v = v2
  6817. }
  6818. case map[uint16]interface{}:
  6819. fastpathTV.DecMapUint16IntfV(v, fastpathCheckNilFalse, false, d)
  6820. case *map[uint16]interface{}:
  6821. v2, changed2 := fastpathTV.DecMapUint16IntfV(*v, fastpathCheckNilFalse, true, d)
  6822. if changed2 {
  6823. *v = v2
  6824. }
  6825. case map[uint16]string:
  6826. fastpathTV.DecMapUint16StringV(v, fastpathCheckNilFalse, false, d)
  6827. case *map[uint16]string:
  6828. v2, changed2 := fastpathTV.DecMapUint16StringV(*v, fastpathCheckNilFalse, true, d)
  6829. if changed2 {
  6830. *v = v2
  6831. }
  6832. case map[uint16]uint:
  6833. fastpathTV.DecMapUint16UintV(v, fastpathCheckNilFalse, false, d)
  6834. case *map[uint16]uint:
  6835. v2, changed2 := fastpathTV.DecMapUint16UintV(*v, fastpathCheckNilFalse, true, d)
  6836. if changed2 {
  6837. *v = v2
  6838. }
  6839. case map[uint16]uint8:
  6840. fastpathTV.DecMapUint16Uint8V(v, fastpathCheckNilFalse, false, d)
  6841. case *map[uint16]uint8:
  6842. v2, changed2 := fastpathTV.DecMapUint16Uint8V(*v, fastpathCheckNilFalse, true, d)
  6843. if changed2 {
  6844. *v = v2
  6845. }
  6846. case map[uint16]uint16:
  6847. fastpathTV.DecMapUint16Uint16V(v, fastpathCheckNilFalse, false, d)
  6848. case *map[uint16]uint16:
  6849. v2, changed2 := fastpathTV.DecMapUint16Uint16V(*v, fastpathCheckNilFalse, true, d)
  6850. if changed2 {
  6851. *v = v2
  6852. }
  6853. case map[uint16]uint32:
  6854. fastpathTV.DecMapUint16Uint32V(v, fastpathCheckNilFalse, false, d)
  6855. case *map[uint16]uint32:
  6856. v2, changed2 := fastpathTV.DecMapUint16Uint32V(*v, fastpathCheckNilFalse, true, d)
  6857. if changed2 {
  6858. *v = v2
  6859. }
  6860. case map[uint16]uint64:
  6861. fastpathTV.DecMapUint16Uint64V(v, fastpathCheckNilFalse, false, d)
  6862. case *map[uint16]uint64:
  6863. v2, changed2 := fastpathTV.DecMapUint16Uint64V(*v, fastpathCheckNilFalse, true, d)
  6864. if changed2 {
  6865. *v = v2
  6866. }
  6867. case map[uint16]int:
  6868. fastpathTV.DecMapUint16IntV(v, fastpathCheckNilFalse, false, d)
  6869. case *map[uint16]int:
  6870. v2, changed2 := fastpathTV.DecMapUint16IntV(*v, fastpathCheckNilFalse, true, d)
  6871. if changed2 {
  6872. *v = v2
  6873. }
  6874. case map[uint16]int8:
  6875. fastpathTV.DecMapUint16Int8V(v, fastpathCheckNilFalse, false, d)
  6876. case *map[uint16]int8:
  6877. v2, changed2 := fastpathTV.DecMapUint16Int8V(*v, fastpathCheckNilFalse, true, d)
  6878. if changed2 {
  6879. *v = v2
  6880. }
  6881. case map[uint16]int16:
  6882. fastpathTV.DecMapUint16Int16V(v, fastpathCheckNilFalse, false, d)
  6883. case *map[uint16]int16:
  6884. v2, changed2 := fastpathTV.DecMapUint16Int16V(*v, fastpathCheckNilFalse, true, d)
  6885. if changed2 {
  6886. *v = v2
  6887. }
  6888. case map[uint16]int32:
  6889. fastpathTV.DecMapUint16Int32V(v, fastpathCheckNilFalse, false, d)
  6890. case *map[uint16]int32:
  6891. v2, changed2 := fastpathTV.DecMapUint16Int32V(*v, fastpathCheckNilFalse, true, d)
  6892. if changed2 {
  6893. *v = v2
  6894. }
  6895. case map[uint16]int64:
  6896. fastpathTV.DecMapUint16Int64V(v, fastpathCheckNilFalse, false, d)
  6897. case *map[uint16]int64:
  6898. v2, changed2 := fastpathTV.DecMapUint16Int64V(*v, fastpathCheckNilFalse, true, d)
  6899. if changed2 {
  6900. *v = v2
  6901. }
  6902. case map[uint16]float32:
  6903. fastpathTV.DecMapUint16Float32V(v, fastpathCheckNilFalse, false, d)
  6904. case *map[uint16]float32:
  6905. v2, changed2 := fastpathTV.DecMapUint16Float32V(*v, fastpathCheckNilFalse, true, d)
  6906. if changed2 {
  6907. *v = v2
  6908. }
  6909. case map[uint16]float64:
  6910. fastpathTV.DecMapUint16Float64V(v, fastpathCheckNilFalse, false, d)
  6911. case *map[uint16]float64:
  6912. v2, changed2 := fastpathTV.DecMapUint16Float64V(*v, fastpathCheckNilFalse, true, d)
  6913. if changed2 {
  6914. *v = v2
  6915. }
  6916. case map[uint16]bool:
  6917. fastpathTV.DecMapUint16BoolV(v, fastpathCheckNilFalse, false, d)
  6918. case *map[uint16]bool:
  6919. v2, changed2 := fastpathTV.DecMapUint16BoolV(*v, fastpathCheckNilFalse, true, d)
  6920. if changed2 {
  6921. *v = v2
  6922. }
  6923. case []uint32:
  6924. fastpathTV.DecSliceUint32V(v, fastpathCheckNilFalse, false, d)
  6925. case *[]uint32:
  6926. v2, changed2 := fastpathTV.DecSliceUint32V(*v, fastpathCheckNilFalse, true, d)
  6927. if changed2 {
  6928. *v = v2
  6929. }
  6930. case map[uint32]interface{}:
  6931. fastpathTV.DecMapUint32IntfV(v, fastpathCheckNilFalse, false, d)
  6932. case *map[uint32]interface{}:
  6933. v2, changed2 := fastpathTV.DecMapUint32IntfV(*v, fastpathCheckNilFalse, true, d)
  6934. if changed2 {
  6935. *v = v2
  6936. }
  6937. case map[uint32]string:
  6938. fastpathTV.DecMapUint32StringV(v, fastpathCheckNilFalse, false, d)
  6939. case *map[uint32]string:
  6940. v2, changed2 := fastpathTV.DecMapUint32StringV(*v, fastpathCheckNilFalse, true, d)
  6941. if changed2 {
  6942. *v = v2
  6943. }
  6944. case map[uint32]uint:
  6945. fastpathTV.DecMapUint32UintV(v, fastpathCheckNilFalse, false, d)
  6946. case *map[uint32]uint:
  6947. v2, changed2 := fastpathTV.DecMapUint32UintV(*v, fastpathCheckNilFalse, true, d)
  6948. if changed2 {
  6949. *v = v2
  6950. }
  6951. case map[uint32]uint8:
  6952. fastpathTV.DecMapUint32Uint8V(v, fastpathCheckNilFalse, false, d)
  6953. case *map[uint32]uint8:
  6954. v2, changed2 := fastpathTV.DecMapUint32Uint8V(*v, fastpathCheckNilFalse, true, d)
  6955. if changed2 {
  6956. *v = v2
  6957. }
  6958. case map[uint32]uint16:
  6959. fastpathTV.DecMapUint32Uint16V(v, fastpathCheckNilFalse, false, d)
  6960. case *map[uint32]uint16:
  6961. v2, changed2 := fastpathTV.DecMapUint32Uint16V(*v, fastpathCheckNilFalse, true, d)
  6962. if changed2 {
  6963. *v = v2
  6964. }
  6965. case map[uint32]uint32:
  6966. fastpathTV.DecMapUint32Uint32V(v, fastpathCheckNilFalse, false, d)
  6967. case *map[uint32]uint32:
  6968. v2, changed2 := fastpathTV.DecMapUint32Uint32V(*v, fastpathCheckNilFalse, true, d)
  6969. if changed2 {
  6970. *v = v2
  6971. }
  6972. case map[uint32]uint64:
  6973. fastpathTV.DecMapUint32Uint64V(v, fastpathCheckNilFalse, false, d)
  6974. case *map[uint32]uint64:
  6975. v2, changed2 := fastpathTV.DecMapUint32Uint64V(*v, fastpathCheckNilFalse, true, d)
  6976. if changed2 {
  6977. *v = v2
  6978. }
  6979. case map[uint32]int:
  6980. fastpathTV.DecMapUint32IntV(v, fastpathCheckNilFalse, false, d)
  6981. case *map[uint32]int:
  6982. v2, changed2 := fastpathTV.DecMapUint32IntV(*v, fastpathCheckNilFalse, true, d)
  6983. if changed2 {
  6984. *v = v2
  6985. }
  6986. case map[uint32]int8:
  6987. fastpathTV.DecMapUint32Int8V(v, fastpathCheckNilFalse, false, d)
  6988. case *map[uint32]int8:
  6989. v2, changed2 := fastpathTV.DecMapUint32Int8V(*v, fastpathCheckNilFalse, true, d)
  6990. if changed2 {
  6991. *v = v2
  6992. }
  6993. case map[uint32]int16:
  6994. fastpathTV.DecMapUint32Int16V(v, fastpathCheckNilFalse, false, d)
  6995. case *map[uint32]int16:
  6996. v2, changed2 := fastpathTV.DecMapUint32Int16V(*v, fastpathCheckNilFalse, true, d)
  6997. if changed2 {
  6998. *v = v2
  6999. }
  7000. case map[uint32]int32:
  7001. fastpathTV.DecMapUint32Int32V(v, fastpathCheckNilFalse, false, d)
  7002. case *map[uint32]int32:
  7003. v2, changed2 := fastpathTV.DecMapUint32Int32V(*v, fastpathCheckNilFalse, true, d)
  7004. if changed2 {
  7005. *v = v2
  7006. }
  7007. case map[uint32]int64:
  7008. fastpathTV.DecMapUint32Int64V(v, fastpathCheckNilFalse, false, d)
  7009. case *map[uint32]int64:
  7010. v2, changed2 := fastpathTV.DecMapUint32Int64V(*v, fastpathCheckNilFalse, true, d)
  7011. if changed2 {
  7012. *v = v2
  7013. }
  7014. case map[uint32]float32:
  7015. fastpathTV.DecMapUint32Float32V(v, fastpathCheckNilFalse, false, d)
  7016. case *map[uint32]float32:
  7017. v2, changed2 := fastpathTV.DecMapUint32Float32V(*v, fastpathCheckNilFalse, true, d)
  7018. if changed2 {
  7019. *v = v2
  7020. }
  7021. case map[uint32]float64:
  7022. fastpathTV.DecMapUint32Float64V(v, fastpathCheckNilFalse, false, d)
  7023. case *map[uint32]float64:
  7024. v2, changed2 := fastpathTV.DecMapUint32Float64V(*v, fastpathCheckNilFalse, true, d)
  7025. if changed2 {
  7026. *v = v2
  7027. }
  7028. case map[uint32]bool:
  7029. fastpathTV.DecMapUint32BoolV(v, fastpathCheckNilFalse, false, d)
  7030. case *map[uint32]bool:
  7031. v2, changed2 := fastpathTV.DecMapUint32BoolV(*v, fastpathCheckNilFalse, true, d)
  7032. if changed2 {
  7033. *v = v2
  7034. }
  7035. case []uint64:
  7036. fastpathTV.DecSliceUint64V(v, fastpathCheckNilFalse, false, d)
  7037. case *[]uint64:
  7038. v2, changed2 := fastpathTV.DecSliceUint64V(*v, fastpathCheckNilFalse, true, d)
  7039. if changed2 {
  7040. *v = v2
  7041. }
  7042. case map[uint64]interface{}:
  7043. fastpathTV.DecMapUint64IntfV(v, fastpathCheckNilFalse, false, d)
  7044. case *map[uint64]interface{}:
  7045. v2, changed2 := fastpathTV.DecMapUint64IntfV(*v, fastpathCheckNilFalse, true, d)
  7046. if changed2 {
  7047. *v = v2
  7048. }
  7049. case map[uint64]string:
  7050. fastpathTV.DecMapUint64StringV(v, fastpathCheckNilFalse, false, d)
  7051. case *map[uint64]string:
  7052. v2, changed2 := fastpathTV.DecMapUint64StringV(*v, fastpathCheckNilFalse, true, d)
  7053. if changed2 {
  7054. *v = v2
  7055. }
  7056. case map[uint64]uint:
  7057. fastpathTV.DecMapUint64UintV(v, fastpathCheckNilFalse, false, d)
  7058. case *map[uint64]uint:
  7059. v2, changed2 := fastpathTV.DecMapUint64UintV(*v, fastpathCheckNilFalse, true, d)
  7060. if changed2 {
  7061. *v = v2
  7062. }
  7063. case map[uint64]uint8:
  7064. fastpathTV.DecMapUint64Uint8V(v, fastpathCheckNilFalse, false, d)
  7065. case *map[uint64]uint8:
  7066. v2, changed2 := fastpathTV.DecMapUint64Uint8V(*v, fastpathCheckNilFalse, true, d)
  7067. if changed2 {
  7068. *v = v2
  7069. }
  7070. case map[uint64]uint16:
  7071. fastpathTV.DecMapUint64Uint16V(v, fastpathCheckNilFalse, false, d)
  7072. case *map[uint64]uint16:
  7073. v2, changed2 := fastpathTV.DecMapUint64Uint16V(*v, fastpathCheckNilFalse, true, d)
  7074. if changed2 {
  7075. *v = v2
  7076. }
  7077. case map[uint64]uint32:
  7078. fastpathTV.DecMapUint64Uint32V(v, fastpathCheckNilFalse, false, d)
  7079. case *map[uint64]uint32:
  7080. v2, changed2 := fastpathTV.DecMapUint64Uint32V(*v, fastpathCheckNilFalse, true, d)
  7081. if changed2 {
  7082. *v = v2
  7083. }
  7084. case map[uint64]uint64:
  7085. fastpathTV.DecMapUint64Uint64V(v, fastpathCheckNilFalse, false, d)
  7086. case *map[uint64]uint64:
  7087. v2, changed2 := fastpathTV.DecMapUint64Uint64V(*v, fastpathCheckNilFalse, true, d)
  7088. if changed2 {
  7089. *v = v2
  7090. }
  7091. case map[uint64]int:
  7092. fastpathTV.DecMapUint64IntV(v, fastpathCheckNilFalse, false, d)
  7093. case *map[uint64]int:
  7094. v2, changed2 := fastpathTV.DecMapUint64IntV(*v, fastpathCheckNilFalse, true, d)
  7095. if changed2 {
  7096. *v = v2
  7097. }
  7098. case map[uint64]int8:
  7099. fastpathTV.DecMapUint64Int8V(v, fastpathCheckNilFalse, false, d)
  7100. case *map[uint64]int8:
  7101. v2, changed2 := fastpathTV.DecMapUint64Int8V(*v, fastpathCheckNilFalse, true, d)
  7102. if changed2 {
  7103. *v = v2
  7104. }
  7105. case map[uint64]int16:
  7106. fastpathTV.DecMapUint64Int16V(v, fastpathCheckNilFalse, false, d)
  7107. case *map[uint64]int16:
  7108. v2, changed2 := fastpathTV.DecMapUint64Int16V(*v, fastpathCheckNilFalse, true, d)
  7109. if changed2 {
  7110. *v = v2
  7111. }
  7112. case map[uint64]int32:
  7113. fastpathTV.DecMapUint64Int32V(v, fastpathCheckNilFalse, false, d)
  7114. case *map[uint64]int32:
  7115. v2, changed2 := fastpathTV.DecMapUint64Int32V(*v, fastpathCheckNilFalse, true, d)
  7116. if changed2 {
  7117. *v = v2
  7118. }
  7119. case map[uint64]int64:
  7120. fastpathTV.DecMapUint64Int64V(v, fastpathCheckNilFalse, false, d)
  7121. case *map[uint64]int64:
  7122. v2, changed2 := fastpathTV.DecMapUint64Int64V(*v, fastpathCheckNilFalse, true, d)
  7123. if changed2 {
  7124. *v = v2
  7125. }
  7126. case map[uint64]float32:
  7127. fastpathTV.DecMapUint64Float32V(v, fastpathCheckNilFalse, false, d)
  7128. case *map[uint64]float32:
  7129. v2, changed2 := fastpathTV.DecMapUint64Float32V(*v, fastpathCheckNilFalse, true, d)
  7130. if changed2 {
  7131. *v = v2
  7132. }
  7133. case map[uint64]float64:
  7134. fastpathTV.DecMapUint64Float64V(v, fastpathCheckNilFalse, false, d)
  7135. case *map[uint64]float64:
  7136. v2, changed2 := fastpathTV.DecMapUint64Float64V(*v, fastpathCheckNilFalse, true, d)
  7137. if changed2 {
  7138. *v = v2
  7139. }
  7140. case map[uint64]bool:
  7141. fastpathTV.DecMapUint64BoolV(v, fastpathCheckNilFalse, false, d)
  7142. case *map[uint64]bool:
  7143. v2, changed2 := fastpathTV.DecMapUint64BoolV(*v, fastpathCheckNilFalse, true, d)
  7144. if changed2 {
  7145. *v = v2
  7146. }
  7147. case []int:
  7148. fastpathTV.DecSliceIntV(v, fastpathCheckNilFalse, false, d)
  7149. case *[]int:
  7150. v2, changed2 := fastpathTV.DecSliceIntV(*v, fastpathCheckNilFalse, true, d)
  7151. if changed2 {
  7152. *v = v2
  7153. }
  7154. case map[int]interface{}:
  7155. fastpathTV.DecMapIntIntfV(v, fastpathCheckNilFalse, false, d)
  7156. case *map[int]interface{}:
  7157. v2, changed2 := fastpathTV.DecMapIntIntfV(*v, fastpathCheckNilFalse, true, d)
  7158. if changed2 {
  7159. *v = v2
  7160. }
  7161. case map[int]string:
  7162. fastpathTV.DecMapIntStringV(v, fastpathCheckNilFalse, false, d)
  7163. case *map[int]string:
  7164. v2, changed2 := fastpathTV.DecMapIntStringV(*v, fastpathCheckNilFalse, true, d)
  7165. if changed2 {
  7166. *v = v2
  7167. }
  7168. case map[int]uint:
  7169. fastpathTV.DecMapIntUintV(v, fastpathCheckNilFalse, false, d)
  7170. case *map[int]uint:
  7171. v2, changed2 := fastpathTV.DecMapIntUintV(*v, fastpathCheckNilFalse, true, d)
  7172. if changed2 {
  7173. *v = v2
  7174. }
  7175. case map[int]uint8:
  7176. fastpathTV.DecMapIntUint8V(v, fastpathCheckNilFalse, false, d)
  7177. case *map[int]uint8:
  7178. v2, changed2 := fastpathTV.DecMapIntUint8V(*v, fastpathCheckNilFalse, true, d)
  7179. if changed2 {
  7180. *v = v2
  7181. }
  7182. case map[int]uint16:
  7183. fastpathTV.DecMapIntUint16V(v, fastpathCheckNilFalse, false, d)
  7184. case *map[int]uint16:
  7185. v2, changed2 := fastpathTV.DecMapIntUint16V(*v, fastpathCheckNilFalse, true, d)
  7186. if changed2 {
  7187. *v = v2
  7188. }
  7189. case map[int]uint32:
  7190. fastpathTV.DecMapIntUint32V(v, fastpathCheckNilFalse, false, d)
  7191. case *map[int]uint32:
  7192. v2, changed2 := fastpathTV.DecMapIntUint32V(*v, fastpathCheckNilFalse, true, d)
  7193. if changed2 {
  7194. *v = v2
  7195. }
  7196. case map[int]uint64:
  7197. fastpathTV.DecMapIntUint64V(v, fastpathCheckNilFalse, false, d)
  7198. case *map[int]uint64:
  7199. v2, changed2 := fastpathTV.DecMapIntUint64V(*v, fastpathCheckNilFalse, true, d)
  7200. if changed2 {
  7201. *v = v2
  7202. }
  7203. case map[int]int:
  7204. fastpathTV.DecMapIntIntV(v, fastpathCheckNilFalse, false, d)
  7205. case *map[int]int:
  7206. v2, changed2 := fastpathTV.DecMapIntIntV(*v, fastpathCheckNilFalse, true, d)
  7207. if changed2 {
  7208. *v = v2
  7209. }
  7210. case map[int]int8:
  7211. fastpathTV.DecMapIntInt8V(v, fastpathCheckNilFalse, false, d)
  7212. case *map[int]int8:
  7213. v2, changed2 := fastpathTV.DecMapIntInt8V(*v, fastpathCheckNilFalse, true, d)
  7214. if changed2 {
  7215. *v = v2
  7216. }
  7217. case map[int]int16:
  7218. fastpathTV.DecMapIntInt16V(v, fastpathCheckNilFalse, false, d)
  7219. case *map[int]int16:
  7220. v2, changed2 := fastpathTV.DecMapIntInt16V(*v, fastpathCheckNilFalse, true, d)
  7221. if changed2 {
  7222. *v = v2
  7223. }
  7224. case map[int]int32:
  7225. fastpathTV.DecMapIntInt32V(v, fastpathCheckNilFalse, false, d)
  7226. case *map[int]int32:
  7227. v2, changed2 := fastpathTV.DecMapIntInt32V(*v, fastpathCheckNilFalse, true, d)
  7228. if changed2 {
  7229. *v = v2
  7230. }
  7231. case map[int]int64:
  7232. fastpathTV.DecMapIntInt64V(v, fastpathCheckNilFalse, false, d)
  7233. case *map[int]int64:
  7234. v2, changed2 := fastpathTV.DecMapIntInt64V(*v, fastpathCheckNilFalse, true, d)
  7235. if changed2 {
  7236. *v = v2
  7237. }
  7238. case map[int]float32:
  7239. fastpathTV.DecMapIntFloat32V(v, fastpathCheckNilFalse, false, d)
  7240. case *map[int]float32:
  7241. v2, changed2 := fastpathTV.DecMapIntFloat32V(*v, fastpathCheckNilFalse, true, d)
  7242. if changed2 {
  7243. *v = v2
  7244. }
  7245. case map[int]float64:
  7246. fastpathTV.DecMapIntFloat64V(v, fastpathCheckNilFalse, false, d)
  7247. case *map[int]float64:
  7248. v2, changed2 := fastpathTV.DecMapIntFloat64V(*v, fastpathCheckNilFalse, true, d)
  7249. if changed2 {
  7250. *v = v2
  7251. }
  7252. case map[int]bool:
  7253. fastpathTV.DecMapIntBoolV(v, fastpathCheckNilFalse, false, d)
  7254. case *map[int]bool:
  7255. v2, changed2 := fastpathTV.DecMapIntBoolV(*v, fastpathCheckNilFalse, true, d)
  7256. if changed2 {
  7257. *v = v2
  7258. }
  7259. case []int8:
  7260. fastpathTV.DecSliceInt8V(v, fastpathCheckNilFalse, false, d)
  7261. case *[]int8:
  7262. v2, changed2 := fastpathTV.DecSliceInt8V(*v, fastpathCheckNilFalse, true, d)
  7263. if changed2 {
  7264. *v = v2
  7265. }
  7266. case map[int8]interface{}:
  7267. fastpathTV.DecMapInt8IntfV(v, fastpathCheckNilFalse, false, d)
  7268. case *map[int8]interface{}:
  7269. v2, changed2 := fastpathTV.DecMapInt8IntfV(*v, fastpathCheckNilFalse, true, d)
  7270. if changed2 {
  7271. *v = v2
  7272. }
  7273. case map[int8]string:
  7274. fastpathTV.DecMapInt8StringV(v, fastpathCheckNilFalse, false, d)
  7275. case *map[int8]string:
  7276. v2, changed2 := fastpathTV.DecMapInt8StringV(*v, fastpathCheckNilFalse, true, d)
  7277. if changed2 {
  7278. *v = v2
  7279. }
  7280. case map[int8]uint:
  7281. fastpathTV.DecMapInt8UintV(v, fastpathCheckNilFalse, false, d)
  7282. case *map[int8]uint:
  7283. v2, changed2 := fastpathTV.DecMapInt8UintV(*v, fastpathCheckNilFalse, true, d)
  7284. if changed2 {
  7285. *v = v2
  7286. }
  7287. case map[int8]uint8:
  7288. fastpathTV.DecMapInt8Uint8V(v, fastpathCheckNilFalse, false, d)
  7289. case *map[int8]uint8:
  7290. v2, changed2 := fastpathTV.DecMapInt8Uint8V(*v, fastpathCheckNilFalse, true, d)
  7291. if changed2 {
  7292. *v = v2
  7293. }
  7294. case map[int8]uint16:
  7295. fastpathTV.DecMapInt8Uint16V(v, fastpathCheckNilFalse, false, d)
  7296. case *map[int8]uint16:
  7297. v2, changed2 := fastpathTV.DecMapInt8Uint16V(*v, fastpathCheckNilFalse, true, d)
  7298. if changed2 {
  7299. *v = v2
  7300. }
  7301. case map[int8]uint32:
  7302. fastpathTV.DecMapInt8Uint32V(v, fastpathCheckNilFalse, false, d)
  7303. case *map[int8]uint32:
  7304. v2, changed2 := fastpathTV.DecMapInt8Uint32V(*v, fastpathCheckNilFalse, true, d)
  7305. if changed2 {
  7306. *v = v2
  7307. }
  7308. case map[int8]uint64:
  7309. fastpathTV.DecMapInt8Uint64V(v, fastpathCheckNilFalse, false, d)
  7310. case *map[int8]uint64:
  7311. v2, changed2 := fastpathTV.DecMapInt8Uint64V(*v, fastpathCheckNilFalse, true, d)
  7312. if changed2 {
  7313. *v = v2
  7314. }
  7315. case map[int8]int:
  7316. fastpathTV.DecMapInt8IntV(v, fastpathCheckNilFalse, false, d)
  7317. case *map[int8]int:
  7318. v2, changed2 := fastpathTV.DecMapInt8IntV(*v, fastpathCheckNilFalse, true, d)
  7319. if changed2 {
  7320. *v = v2
  7321. }
  7322. case map[int8]int8:
  7323. fastpathTV.DecMapInt8Int8V(v, fastpathCheckNilFalse, false, d)
  7324. case *map[int8]int8:
  7325. v2, changed2 := fastpathTV.DecMapInt8Int8V(*v, fastpathCheckNilFalse, true, d)
  7326. if changed2 {
  7327. *v = v2
  7328. }
  7329. case map[int8]int16:
  7330. fastpathTV.DecMapInt8Int16V(v, fastpathCheckNilFalse, false, d)
  7331. case *map[int8]int16:
  7332. v2, changed2 := fastpathTV.DecMapInt8Int16V(*v, fastpathCheckNilFalse, true, d)
  7333. if changed2 {
  7334. *v = v2
  7335. }
  7336. case map[int8]int32:
  7337. fastpathTV.DecMapInt8Int32V(v, fastpathCheckNilFalse, false, d)
  7338. case *map[int8]int32:
  7339. v2, changed2 := fastpathTV.DecMapInt8Int32V(*v, fastpathCheckNilFalse, true, d)
  7340. if changed2 {
  7341. *v = v2
  7342. }
  7343. case map[int8]int64:
  7344. fastpathTV.DecMapInt8Int64V(v, fastpathCheckNilFalse, false, d)
  7345. case *map[int8]int64:
  7346. v2, changed2 := fastpathTV.DecMapInt8Int64V(*v, fastpathCheckNilFalse, true, d)
  7347. if changed2 {
  7348. *v = v2
  7349. }
  7350. case map[int8]float32:
  7351. fastpathTV.DecMapInt8Float32V(v, fastpathCheckNilFalse, false, d)
  7352. case *map[int8]float32:
  7353. v2, changed2 := fastpathTV.DecMapInt8Float32V(*v, fastpathCheckNilFalse, true, d)
  7354. if changed2 {
  7355. *v = v2
  7356. }
  7357. case map[int8]float64:
  7358. fastpathTV.DecMapInt8Float64V(v, fastpathCheckNilFalse, false, d)
  7359. case *map[int8]float64:
  7360. v2, changed2 := fastpathTV.DecMapInt8Float64V(*v, fastpathCheckNilFalse, true, d)
  7361. if changed2 {
  7362. *v = v2
  7363. }
  7364. case map[int8]bool:
  7365. fastpathTV.DecMapInt8BoolV(v, fastpathCheckNilFalse, false, d)
  7366. case *map[int8]bool:
  7367. v2, changed2 := fastpathTV.DecMapInt8BoolV(*v, fastpathCheckNilFalse, true, d)
  7368. if changed2 {
  7369. *v = v2
  7370. }
  7371. case []int16:
  7372. fastpathTV.DecSliceInt16V(v, fastpathCheckNilFalse, false, d)
  7373. case *[]int16:
  7374. v2, changed2 := fastpathTV.DecSliceInt16V(*v, fastpathCheckNilFalse, true, d)
  7375. if changed2 {
  7376. *v = v2
  7377. }
  7378. case map[int16]interface{}:
  7379. fastpathTV.DecMapInt16IntfV(v, fastpathCheckNilFalse, false, d)
  7380. case *map[int16]interface{}:
  7381. v2, changed2 := fastpathTV.DecMapInt16IntfV(*v, fastpathCheckNilFalse, true, d)
  7382. if changed2 {
  7383. *v = v2
  7384. }
  7385. case map[int16]string:
  7386. fastpathTV.DecMapInt16StringV(v, fastpathCheckNilFalse, false, d)
  7387. case *map[int16]string:
  7388. v2, changed2 := fastpathTV.DecMapInt16StringV(*v, fastpathCheckNilFalse, true, d)
  7389. if changed2 {
  7390. *v = v2
  7391. }
  7392. case map[int16]uint:
  7393. fastpathTV.DecMapInt16UintV(v, fastpathCheckNilFalse, false, d)
  7394. case *map[int16]uint:
  7395. v2, changed2 := fastpathTV.DecMapInt16UintV(*v, fastpathCheckNilFalse, true, d)
  7396. if changed2 {
  7397. *v = v2
  7398. }
  7399. case map[int16]uint8:
  7400. fastpathTV.DecMapInt16Uint8V(v, fastpathCheckNilFalse, false, d)
  7401. case *map[int16]uint8:
  7402. v2, changed2 := fastpathTV.DecMapInt16Uint8V(*v, fastpathCheckNilFalse, true, d)
  7403. if changed2 {
  7404. *v = v2
  7405. }
  7406. case map[int16]uint16:
  7407. fastpathTV.DecMapInt16Uint16V(v, fastpathCheckNilFalse, false, d)
  7408. case *map[int16]uint16:
  7409. v2, changed2 := fastpathTV.DecMapInt16Uint16V(*v, fastpathCheckNilFalse, true, d)
  7410. if changed2 {
  7411. *v = v2
  7412. }
  7413. case map[int16]uint32:
  7414. fastpathTV.DecMapInt16Uint32V(v, fastpathCheckNilFalse, false, d)
  7415. case *map[int16]uint32:
  7416. v2, changed2 := fastpathTV.DecMapInt16Uint32V(*v, fastpathCheckNilFalse, true, d)
  7417. if changed2 {
  7418. *v = v2
  7419. }
  7420. case map[int16]uint64:
  7421. fastpathTV.DecMapInt16Uint64V(v, fastpathCheckNilFalse, false, d)
  7422. case *map[int16]uint64:
  7423. v2, changed2 := fastpathTV.DecMapInt16Uint64V(*v, fastpathCheckNilFalse, true, d)
  7424. if changed2 {
  7425. *v = v2
  7426. }
  7427. case map[int16]int:
  7428. fastpathTV.DecMapInt16IntV(v, fastpathCheckNilFalse, false, d)
  7429. case *map[int16]int:
  7430. v2, changed2 := fastpathTV.DecMapInt16IntV(*v, fastpathCheckNilFalse, true, d)
  7431. if changed2 {
  7432. *v = v2
  7433. }
  7434. case map[int16]int8:
  7435. fastpathTV.DecMapInt16Int8V(v, fastpathCheckNilFalse, false, d)
  7436. case *map[int16]int8:
  7437. v2, changed2 := fastpathTV.DecMapInt16Int8V(*v, fastpathCheckNilFalse, true, d)
  7438. if changed2 {
  7439. *v = v2
  7440. }
  7441. case map[int16]int16:
  7442. fastpathTV.DecMapInt16Int16V(v, fastpathCheckNilFalse, false, d)
  7443. case *map[int16]int16:
  7444. v2, changed2 := fastpathTV.DecMapInt16Int16V(*v, fastpathCheckNilFalse, true, d)
  7445. if changed2 {
  7446. *v = v2
  7447. }
  7448. case map[int16]int32:
  7449. fastpathTV.DecMapInt16Int32V(v, fastpathCheckNilFalse, false, d)
  7450. case *map[int16]int32:
  7451. v2, changed2 := fastpathTV.DecMapInt16Int32V(*v, fastpathCheckNilFalse, true, d)
  7452. if changed2 {
  7453. *v = v2
  7454. }
  7455. case map[int16]int64:
  7456. fastpathTV.DecMapInt16Int64V(v, fastpathCheckNilFalse, false, d)
  7457. case *map[int16]int64:
  7458. v2, changed2 := fastpathTV.DecMapInt16Int64V(*v, fastpathCheckNilFalse, true, d)
  7459. if changed2 {
  7460. *v = v2
  7461. }
  7462. case map[int16]float32:
  7463. fastpathTV.DecMapInt16Float32V(v, fastpathCheckNilFalse, false, d)
  7464. case *map[int16]float32:
  7465. v2, changed2 := fastpathTV.DecMapInt16Float32V(*v, fastpathCheckNilFalse, true, d)
  7466. if changed2 {
  7467. *v = v2
  7468. }
  7469. case map[int16]float64:
  7470. fastpathTV.DecMapInt16Float64V(v, fastpathCheckNilFalse, false, d)
  7471. case *map[int16]float64:
  7472. v2, changed2 := fastpathTV.DecMapInt16Float64V(*v, fastpathCheckNilFalse, true, d)
  7473. if changed2 {
  7474. *v = v2
  7475. }
  7476. case map[int16]bool:
  7477. fastpathTV.DecMapInt16BoolV(v, fastpathCheckNilFalse, false, d)
  7478. case *map[int16]bool:
  7479. v2, changed2 := fastpathTV.DecMapInt16BoolV(*v, fastpathCheckNilFalse, true, d)
  7480. if changed2 {
  7481. *v = v2
  7482. }
  7483. case []int32:
  7484. fastpathTV.DecSliceInt32V(v, fastpathCheckNilFalse, false, d)
  7485. case *[]int32:
  7486. v2, changed2 := fastpathTV.DecSliceInt32V(*v, fastpathCheckNilFalse, true, d)
  7487. if changed2 {
  7488. *v = v2
  7489. }
  7490. case map[int32]interface{}:
  7491. fastpathTV.DecMapInt32IntfV(v, fastpathCheckNilFalse, false, d)
  7492. case *map[int32]interface{}:
  7493. v2, changed2 := fastpathTV.DecMapInt32IntfV(*v, fastpathCheckNilFalse, true, d)
  7494. if changed2 {
  7495. *v = v2
  7496. }
  7497. case map[int32]string:
  7498. fastpathTV.DecMapInt32StringV(v, fastpathCheckNilFalse, false, d)
  7499. case *map[int32]string:
  7500. v2, changed2 := fastpathTV.DecMapInt32StringV(*v, fastpathCheckNilFalse, true, d)
  7501. if changed2 {
  7502. *v = v2
  7503. }
  7504. case map[int32]uint:
  7505. fastpathTV.DecMapInt32UintV(v, fastpathCheckNilFalse, false, d)
  7506. case *map[int32]uint:
  7507. v2, changed2 := fastpathTV.DecMapInt32UintV(*v, fastpathCheckNilFalse, true, d)
  7508. if changed2 {
  7509. *v = v2
  7510. }
  7511. case map[int32]uint8:
  7512. fastpathTV.DecMapInt32Uint8V(v, fastpathCheckNilFalse, false, d)
  7513. case *map[int32]uint8:
  7514. v2, changed2 := fastpathTV.DecMapInt32Uint8V(*v, fastpathCheckNilFalse, true, d)
  7515. if changed2 {
  7516. *v = v2
  7517. }
  7518. case map[int32]uint16:
  7519. fastpathTV.DecMapInt32Uint16V(v, fastpathCheckNilFalse, false, d)
  7520. case *map[int32]uint16:
  7521. v2, changed2 := fastpathTV.DecMapInt32Uint16V(*v, fastpathCheckNilFalse, true, d)
  7522. if changed2 {
  7523. *v = v2
  7524. }
  7525. case map[int32]uint32:
  7526. fastpathTV.DecMapInt32Uint32V(v, fastpathCheckNilFalse, false, d)
  7527. case *map[int32]uint32:
  7528. v2, changed2 := fastpathTV.DecMapInt32Uint32V(*v, fastpathCheckNilFalse, true, d)
  7529. if changed2 {
  7530. *v = v2
  7531. }
  7532. case map[int32]uint64:
  7533. fastpathTV.DecMapInt32Uint64V(v, fastpathCheckNilFalse, false, d)
  7534. case *map[int32]uint64:
  7535. v2, changed2 := fastpathTV.DecMapInt32Uint64V(*v, fastpathCheckNilFalse, true, d)
  7536. if changed2 {
  7537. *v = v2
  7538. }
  7539. case map[int32]int:
  7540. fastpathTV.DecMapInt32IntV(v, fastpathCheckNilFalse, false, d)
  7541. case *map[int32]int:
  7542. v2, changed2 := fastpathTV.DecMapInt32IntV(*v, fastpathCheckNilFalse, true, d)
  7543. if changed2 {
  7544. *v = v2
  7545. }
  7546. case map[int32]int8:
  7547. fastpathTV.DecMapInt32Int8V(v, fastpathCheckNilFalse, false, d)
  7548. case *map[int32]int8:
  7549. v2, changed2 := fastpathTV.DecMapInt32Int8V(*v, fastpathCheckNilFalse, true, d)
  7550. if changed2 {
  7551. *v = v2
  7552. }
  7553. case map[int32]int16:
  7554. fastpathTV.DecMapInt32Int16V(v, fastpathCheckNilFalse, false, d)
  7555. case *map[int32]int16:
  7556. v2, changed2 := fastpathTV.DecMapInt32Int16V(*v, fastpathCheckNilFalse, true, d)
  7557. if changed2 {
  7558. *v = v2
  7559. }
  7560. case map[int32]int32:
  7561. fastpathTV.DecMapInt32Int32V(v, fastpathCheckNilFalse, false, d)
  7562. case *map[int32]int32:
  7563. v2, changed2 := fastpathTV.DecMapInt32Int32V(*v, fastpathCheckNilFalse, true, d)
  7564. if changed2 {
  7565. *v = v2
  7566. }
  7567. case map[int32]int64:
  7568. fastpathTV.DecMapInt32Int64V(v, fastpathCheckNilFalse, false, d)
  7569. case *map[int32]int64:
  7570. v2, changed2 := fastpathTV.DecMapInt32Int64V(*v, fastpathCheckNilFalse, true, d)
  7571. if changed2 {
  7572. *v = v2
  7573. }
  7574. case map[int32]float32:
  7575. fastpathTV.DecMapInt32Float32V(v, fastpathCheckNilFalse, false, d)
  7576. case *map[int32]float32:
  7577. v2, changed2 := fastpathTV.DecMapInt32Float32V(*v, fastpathCheckNilFalse, true, d)
  7578. if changed2 {
  7579. *v = v2
  7580. }
  7581. case map[int32]float64:
  7582. fastpathTV.DecMapInt32Float64V(v, fastpathCheckNilFalse, false, d)
  7583. case *map[int32]float64:
  7584. v2, changed2 := fastpathTV.DecMapInt32Float64V(*v, fastpathCheckNilFalse, true, d)
  7585. if changed2 {
  7586. *v = v2
  7587. }
  7588. case map[int32]bool:
  7589. fastpathTV.DecMapInt32BoolV(v, fastpathCheckNilFalse, false, d)
  7590. case *map[int32]bool:
  7591. v2, changed2 := fastpathTV.DecMapInt32BoolV(*v, fastpathCheckNilFalse, true, d)
  7592. if changed2 {
  7593. *v = v2
  7594. }
  7595. case []int64:
  7596. fastpathTV.DecSliceInt64V(v, fastpathCheckNilFalse, false, d)
  7597. case *[]int64:
  7598. v2, changed2 := fastpathTV.DecSliceInt64V(*v, fastpathCheckNilFalse, true, d)
  7599. if changed2 {
  7600. *v = v2
  7601. }
  7602. case map[int64]interface{}:
  7603. fastpathTV.DecMapInt64IntfV(v, fastpathCheckNilFalse, false, d)
  7604. case *map[int64]interface{}:
  7605. v2, changed2 := fastpathTV.DecMapInt64IntfV(*v, fastpathCheckNilFalse, true, d)
  7606. if changed2 {
  7607. *v = v2
  7608. }
  7609. case map[int64]string:
  7610. fastpathTV.DecMapInt64StringV(v, fastpathCheckNilFalse, false, d)
  7611. case *map[int64]string:
  7612. v2, changed2 := fastpathTV.DecMapInt64StringV(*v, fastpathCheckNilFalse, true, d)
  7613. if changed2 {
  7614. *v = v2
  7615. }
  7616. case map[int64]uint:
  7617. fastpathTV.DecMapInt64UintV(v, fastpathCheckNilFalse, false, d)
  7618. case *map[int64]uint:
  7619. v2, changed2 := fastpathTV.DecMapInt64UintV(*v, fastpathCheckNilFalse, true, d)
  7620. if changed2 {
  7621. *v = v2
  7622. }
  7623. case map[int64]uint8:
  7624. fastpathTV.DecMapInt64Uint8V(v, fastpathCheckNilFalse, false, d)
  7625. case *map[int64]uint8:
  7626. v2, changed2 := fastpathTV.DecMapInt64Uint8V(*v, fastpathCheckNilFalse, true, d)
  7627. if changed2 {
  7628. *v = v2
  7629. }
  7630. case map[int64]uint16:
  7631. fastpathTV.DecMapInt64Uint16V(v, fastpathCheckNilFalse, false, d)
  7632. case *map[int64]uint16:
  7633. v2, changed2 := fastpathTV.DecMapInt64Uint16V(*v, fastpathCheckNilFalse, true, d)
  7634. if changed2 {
  7635. *v = v2
  7636. }
  7637. case map[int64]uint32:
  7638. fastpathTV.DecMapInt64Uint32V(v, fastpathCheckNilFalse, false, d)
  7639. case *map[int64]uint32:
  7640. v2, changed2 := fastpathTV.DecMapInt64Uint32V(*v, fastpathCheckNilFalse, true, d)
  7641. if changed2 {
  7642. *v = v2
  7643. }
  7644. case map[int64]uint64:
  7645. fastpathTV.DecMapInt64Uint64V(v, fastpathCheckNilFalse, false, d)
  7646. case *map[int64]uint64:
  7647. v2, changed2 := fastpathTV.DecMapInt64Uint64V(*v, fastpathCheckNilFalse, true, d)
  7648. if changed2 {
  7649. *v = v2
  7650. }
  7651. case map[int64]int:
  7652. fastpathTV.DecMapInt64IntV(v, fastpathCheckNilFalse, false, d)
  7653. case *map[int64]int:
  7654. v2, changed2 := fastpathTV.DecMapInt64IntV(*v, fastpathCheckNilFalse, true, d)
  7655. if changed2 {
  7656. *v = v2
  7657. }
  7658. case map[int64]int8:
  7659. fastpathTV.DecMapInt64Int8V(v, fastpathCheckNilFalse, false, d)
  7660. case *map[int64]int8:
  7661. v2, changed2 := fastpathTV.DecMapInt64Int8V(*v, fastpathCheckNilFalse, true, d)
  7662. if changed2 {
  7663. *v = v2
  7664. }
  7665. case map[int64]int16:
  7666. fastpathTV.DecMapInt64Int16V(v, fastpathCheckNilFalse, false, d)
  7667. case *map[int64]int16:
  7668. v2, changed2 := fastpathTV.DecMapInt64Int16V(*v, fastpathCheckNilFalse, true, d)
  7669. if changed2 {
  7670. *v = v2
  7671. }
  7672. case map[int64]int32:
  7673. fastpathTV.DecMapInt64Int32V(v, fastpathCheckNilFalse, false, d)
  7674. case *map[int64]int32:
  7675. v2, changed2 := fastpathTV.DecMapInt64Int32V(*v, fastpathCheckNilFalse, true, d)
  7676. if changed2 {
  7677. *v = v2
  7678. }
  7679. case map[int64]int64:
  7680. fastpathTV.DecMapInt64Int64V(v, fastpathCheckNilFalse, false, d)
  7681. case *map[int64]int64:
  7682. v2, changed2 := fastpathTV.DecMapInt64Int64V(*v, fastpathCheckNilFalse, true, d)
  7683. if changed2 {
  7684. *v = v2
  7685. }
  7686. case map[int64]float32:
  7687. fastpathTV.DecMapInt64Float32V(v, fastpathCheckNilFalse, false, d)
  7688. case *map[int64]float32:
  7689. v2, changed2 := fastpathTV.DecMapInt64Float32V(*v, fastpathCheckNilFalse, true, d)
  7690. if changed2 {
  7691. *v = v2
  7692. }
  7693. case map[int64]float64:
  7694. fastpathTV.DecMapInt64Float64V(v, fastpathCheckNilFalse, false, d)
  7695. case *map[int64]float64:
  7696. v2, changed2 := fastpathTV.DecMapInt64Float64V(*v, fastpathCheckNilFalse, true, d)
  7697. if changed2 {
  7698. *v = v2
  7699. }
  7700. case map[int64]bool:
  7701. fastpathTV.DecMapInt64BoolV(v, fastpathCheckNilFalse, false, d)
  7702. case *map[int64]bool:
  7703. v2, changed2 := fastpathTV.DecMapInt64BoolV(*v, fastpathCheckNilFalse, true, d)
  7704. if changed2 {
  7705. *v = v2
  7706. }
  7707. case []bool:
  7708. fastpathTV.DecSliceBoolV(v, fastpathCheckNilFalse, false, d)
  7709. case *[]bool:
  7710. v2, changed2 := fastpathTV.DecSliceBoolV(*v, fastpathCheckNilFalse, true, d)
  7711. if changed2 {
  7712. *v = v2
  7713. }
  7714. case map[bool]interface{}:
  7715. fastpathTV.DecMapBoolIntfV(v, fastpathCheckNilFalse, false, d)
  7716. case *map[bool]interface{}:
  7717. v2, changed2 := fastpathTV.DecMapBoolIntfV(*v, fastpathCheckNilFalse, true, d)
  7718. if changed2 {
  7719. *v = v2
  7720. }
  7721. case map[bool]string:
  7722. fastpathTV.DecMapBoolStringV(v, fastpathCheckNilFalse, false, d)
  7723. case *map[bool]string:
  7724. v2, changed2 := fastpathTV.DecMapBoolStringV(*v, fastpathCheckNilFalse, true, d)
  7725. if changed2 {
  7726. *v = v2
  7727. }
  7728. case map[bool]uint:
  7729. fastpathTV.DecMapBoolUintV(v, fastpathCheckNilFalse, false, d)
  7730. case *map[bool]uint:
  7731. v2, changed2 := fastpathTV.DecMapBoolUintV(*v, fastpathCheckNilFalse, true, d)
  7732. if changed2 {
  7733. *v = v2
  7734. }
  7735. case map[bool]uint8:
  7736. fastpathTV.DecMapBoolUint8V(v, fastpathCheckNilFalse, false, d)
  7737. case *map[bool]uint8:
  7738. v2, changed2 := fastpathTV.DecMapBoolUint8V(*v, fastpathCheckNilFalse, true, d)
  7739. if changed2 {
  7740. *v = v2
  7741. }
  7742. case map[bool]uint16:
  7743. fastpathTV.DecMapBoolUint16V(v, fastpathCheckNilFalse, false, d)
  7744. case *map[bool]uint16:
  7745. v2, changed2 := fastpathTV.DecMapBoolUint16V(*v, fastpathCheckNilFalse, true, d)
  7746. if changed2 {
  7747. *v = v2
  7748. }
  7749. case map[bool]uint32:
  7750. fastpathTV.DecMapBoolUint32V(v, fastpathCheckNilFalse, false, d)
  7751. case *map[bool]uint32:
  7752. v2, changed2 := fastpathTV.DecMapBoolUint32V(*v, fastpathCheckNilFalse, true, d)
  7753. if changed2 {
  7754. *v = v2
  7755. }
  7756. case map[bool]uint64:
  7757. fastpathTV.DecMapBoolUint64V(v, fastpathCheckNilFalse, false, d)
  7758. case *map[bool]uint64:
  7759. v2, changed2 := fastpathTV.DecMapBoolUint64V(*v, fastpathCheckNilFalse, true, d)
  7760. if changed2 {
  7761. *v = v2
  7762. }
  7763. case map[bool]int:
  7764. fastpathTV.DecMapBoolIntV(v, fastpathCheckNilFalse, false, d)
  7765. case *map[bool]int:
  7766. v2, changed2 := fastpathTV.DecMapBoolIntV(*v, fastpathCheckNilFalse, true, d)
  7767. if changed2 {
  7768. *v = v2
  7769. }
  7770. case map[bool]int8:
  7771. fastpathTV.DecMapBoolInt8V(v, fastpathCheckNilFalse, false, d)
  7772. case *map[bool]int8:
  7773. v2, changed2 := fastpathTV.DecMapBoolInt8V(*v, fastpathCheckNilFalse, true, d)
  7774. if changed2 {
  7775. *v = v2
  7776. }
  7777. case map[bool]int16:
  7778. fastpathTV.DecMapBoolInt16V(v, fastpathCheckNilFalse, false, d)
  7779. case *map[bool]int16:
  7780. v2, changed2 := fastpathTV.DecMapBoolInt16V(*v, fastpathCheckNilFalse, true, d)
  7781. if changed2 {
  7782. *v = v2
  7783. }
  7784. case map[bool]int32:
  7785. fastpathTV.DecMapBoolInt32V(v, fastpathCheckNilFalse, false, d)
  7786. case *map[bool]int32:
  7787. v2, changed2 := fastpathTV.DecMapBoolInt32V(*v, fastpathCheckNilFalse, true, d)
  7788. if changed2 {
  7789. *v = v2
  7790. }
  7791. case map[bool]int64:
  7792. fastpathTV.DecMapBoolInt64V(v, fastpathCheckNilFalse, false, d)
  7793. case *map[bool]int64:
  7794. v2, changed2 := fastpathTV.DecMapBoolInt64V(*v, fastpathCheckNilFalse, true, d)
  7795. if changed2 {
  7796. *v = v2
  7797. }
  7798. case map[bool]float32:
  7799. fastpathTV.DecMapBoolFloat32V(v, fastpathCheckNilFalse, false, d)
  7800. case *map[bool]float32:
  7801. v2, changed2 := fastpathTV.DecMapBoolFloat32V(*v, fastpathCheckNilFalse, true, d)
  7802. if changed2 {
  7803. *v = v2
  7804. }
  7805. case map[bool]float64:
  7806. fastpathTV.DecMapBoolFloat64V(v, fastpathCheckNilFalse, false, d)
  7807. case *map[bool]float64:
  7808. v2, changed2 := fastpathTV.DecMapBoolFloat64V(*v, fastpathCheckNilFalse, true, d)
  7809. if changed2 {
  7810. *v = v2
  7811. }
  7812. case map[bool]bool:
  7813. fastpathTV.DecMapBoolBoolV(v, fastpathCheckNilFalse, false, d)
  7814. case *map[bool]bool:
  7815. v2, changed2 := fastpathTV.DecMapBoolBoolV(*v, fastpathCheckNilFalse, true, d)
  7816. if changed2 {
  7817. *v = v2
  7818. }
  7819. default:
  7820. return false
  7821. }
  7822. return true
  7823. }
  7824. // -- -- fast path functions
  7825. func (f decFnInfo) fastpathDecSliceIntfR(rv reflect.Value) {
  7826. array := f.seq == seqTypeArray
  7827. if !array && rv.CanAddr() { // CanSet => CanAddr + Exported
  7828. vp := rv.Addr().Interface().(*[]interface{})
  7829. v, changed := fastpathTV.DecSliceIntfV(*vp, fastpathCheckNilFalse, !array, f.d)
  7830. if changed {
  7831. *vp = v
  7832. }
  7833. } else {
  7834. v := rv.Interface().([]interface{})
  7835. fastpathTV.DecSliceIntfV(v, fastpathCheckNilFalse, false, f.d)
  7836. }
  7837. }
  7838. func (f fastpathT) DecSliceIntfX(vp *[]interface{}, checkNil bool, d *Decoder) {
  7839. v, changed := f.DecSliceIntfV(*vp, checkNil, true, d)
  7840. if changed {
  7841. *vp = v
  7842. }
  7843. }
  7844. func (_ fastpathT) DecSliceIntfV(v []interface{}, checkNil bool, canChange bool,
  7845. d *Decoder) (_ []interface{}, changed bool) {
  7846. dd := d.d
  7847. // if dd.isContainerType(valueTypeNil) { dd.TryDecodeAsNil()
  7848. if checkNil && dd.TryDecodeAsNil() {
  7849. if v != nil {
  7850. changed = true
  7851. }
  7852. return nil, changed
  7853. }
  7854. slh, containerLenS := d.decSliceHelperStart()
  7855. if canChange && v == nil {
  7856. if containerLenS <= 0 {
  7857. v = []interface{}{}
  7858. } else {
  7859. v = make([]interface{}, containerLenS, containerLenS)
  7860. }
  7861. changed = true
  7862. }
  7863. if containerLenS == 0 {
  7864. if canChange && len(v) != 0 {
  7865. v = v[:0]
  7866. changed = true
  7867. }
  7868. return v, changed
  7869. }
  7870. // for j := 0; j < containerLenS; j++ {
  7871. if containerLenS > 0 {
  7872. decLen := containerLenS
  7873. if containerLenS > cap(v) {
  7874. if canChange {
  7875. s := make([]interface{}, containerLenS, containerLenS)
  7876. // copy(s, v[:cap(v)])
  7877. v = s
  7878. changed = true
  7879. } else {
  7880. d.arrayCannotExpand(len(v), containerLenS)
  7881. decLen = len(v)
  7882. }
  7883. } else if containerLenS != len(v) {
  7884. v = v[:containerLenS]
  7885. changed = true
  7886. }
  7887. // all checks done. cannot go past len.
  7888. j := 0
  7889. for ; j < decLen; j++ {
  7890. d.decode(&v[j])
  7891. }
  7892. if !canChange {
  7893. for ; j < containerLenS; j++ {
  7894. d.swallow()
  7895. }
  7896. }
  7897. } else {
  7898. j := 0
  7899. for ; !dd.CheckBreak(); j++ {
  7900. if j >= len(v) {
  7901. if canChange {
  7902. v = append(v, nil)
  7903. changed = true
  7904. } else {
  7905. d.arrayCannotExpand(len(v), j+1)
  7906. }
  7907. }
  7908. if j < len(v) { // all checks done. cannot go past len.
  7909. d.decode(&v[j])
  7910. } else {
  7911. d.swallow()
  7912. }
  7913. }
  7914. slh.End()
  7915. }
  7916. return v, changed
  7917. }
  7918. func (f decFnInfo) fastpathDecSliceStringR(rv reflect.Value) {
  7919. array := f.seq == seqTypeArray
  7920. if !array && rv.CanAddr() { // CanSet => CanAddr + Exported
  7921. vp := rv.Addr().Interface().(*[]string)
  7922. v, changed := fastpathTV.DecSliceStringV(*vp, fastpathCheckNilFalse, !array, f.d)
  7923. if changed {
  7924. *vp = v
  7925. }
  7926. } else {
  7927. v := rv.Interface().([]string)
  7928. fastpathTV.DecSliceStringV(v, fastpathCheckNilFalse, false, f.d)
  7929. }
  7930. }
  7931. func (f fastpathT) DecSliceStringX(vp *[]string, checkNil bool, d *Decoder) {
  7932. v, changed := f.DecSliceStringV(*vp, checkNil, true, d)
  7933. if changed {
  7934. *vp = v
  7935. }
  7936. }
  7937. func (_ fastpathT) DecSliceStringV(v []string, checkNil bool, canChange bool,
  7938. d *Decoder) (_ []string, changed bool) {
  7939. dd := d.d
  7940. // if dd.isContainerType(valueTypeNil) { dd.TryDecodeAsNil()
  7941. if checkNil && dd.TryDecodeAsNil() {
  7942. if v != nil {
  7943. changed = true
  7944. }
  7945. return nil, changed
  7946. }
  7947. slh, containerLenS := d.decSliceHelperStart()
  7948. if canChange && v == nil {
  7949. if containerLenS <= 0 {
  7950. v = []string{}
  7951. } else {
  7952. v = make([]string, containerLenS, containerLenS)
  7953. }
  7954. changed = true
  7955. }
  7956. if containerLenS == 0 {
  7957. if canChange && len(v) != 0 {
  7958. v = v[:0]
  7959. changed = true
  7960. }
  7961. return v, changed
  7962. }
  7963. // for j := 0; j < containerLenS; j++ {
  7964. if containerLenS > 0 {
  7965. decLen := containerLenS
  7966. if containerLenS > cap(v) {
  7967. if canChange {
  7968. s := make([]string, containerLenS, containerLenS)
  7969. // copy(s, v[:cap(v)])
  7970. v = s
  7971. changed = true
  7972. } else {
  7973. d.arrayCannotExpand(len(v), containerLenS)
  7974. decLen = len(v)
  7975. }
  7976. } else if containerLenS != len(v) {
  7977. v = v[:containerLenS]
  7978. changed = true
  7979. }
  7980. // all checks done. cannot go past len.
  7981. j := 0
  7982. for ; j < decLen; j++ {
  7983. v[j] = dd.DecodeString()
  7984. }
  7985. if !canChange {
  7986. for ; j < containerLenS; j++ {
  7987. d.swallow()
  7988. }
  7989. }
  7990. } else {
  7991. j := 0
  7992. for ; !dd.CheckBreak(); j++ {
  7993. if j >= len(v) {
  7994. if canChange {
  7995. v = append(v, "")
  7996. changed = true
  7997. } else {
  7998. d.arrayCannotExpand(len(v), j+1)
  7999. }
  8000. }
  8001. if j < len(v) { // all checks done. cannot go past len.
  8002. v[j] = dd.DecodeString()
  8003. } else {
  8004. d.swallow()
  8005. }
  8006. }
  8007. slh.End()
  8008. }
  8009. return v, changed
  8010. }
  8011. func (f decFnInfo) fastpathDecSliceFloat32R(rv reflect.Value) {
  8012. array := f.seq == seqTypeArray
  8013. if !array && rv.CanAddr() { // CanSet => CanAddr + Exported
  8014. vp := rv.Addr().Interface().(*[]float32)
  8015. v, changed := fastpathTV.DecSliceFloat32V(*vp, fastpathCheckNilFalse, !array, f.d)
  8016. if changed {
  8017. *vp = v
  8018. }
  8019. } else {
  8020. v := rv.Interface().([]float32)
  8021. fastpathTV.DecSliceFloat32V(v, fastpathCheckNilFalse, false, f.d)
  8022. }
  8023. }
  8024. func (f fastpathT) DecSliceFloat32X(vp *[]float32, checkNil bool, d *Decoder) {
  8025. v, changed := f.DecSliceFloat32V(*vp, checkNil, true, d)
  8026. if changed {
  8027. *vp = v
  8028. }
  8029. }
  8030. func (_ fastpathT) DecSliceFloat32V(v []float32, checkNil bool, canChange bool,
  8031. d *Decoder) (_ []float32, changed bool) {
  8032. dd := d.d
  8033. // if dd.isContainerType(valueTypeNil) { dd.TryDecodeAsNil()
  8034. if checkNil && dd.TryDecodeAsNil() {
  8035. if v != nil {
  8036. changed = true
  8037. }
  8038. return nil, changed
  8039. }
  8040. slh, containerLenS := d.decSliceHelperStart()
  8041. if canChange && v == nil {
  8042. if containerLenS <= 0 {
  8043. v = []float32{}
  8044. } else {
  8045. v = make([]float32, containerLenS, containerLenS)
  8046. }
  8047. changed = true
  8048. }
  8049. if containerLenS == 0 {
  8050. if canChange && len(v) != 0 {
  8051. v = v[:0]
  8052. changed = true
  8053. }
  8054. return v, changed
  8055. }
  8056. // for j := 0; j < containerLenS; j++ {
  8057. if containerLenS > 0 {
  8058. decLen := containerLenS
  8059. if containerLenS > cap(v) {
  8060. if canChange {
  8061. s := make([]float32, containerLenS, containerLenS)
  8062. // copy(s, v[:cap(v)])
  8063. v = s
  8064. changed = true
  8065. } else {
  8066. d.arrayCannotExpand(len(v), containerLenS)
  8067. decLen = len(v)
  8068. }
  8069. } else if containerLenS != len(v) {
  8070. v = v[:containerLenS]
  8071. changed = true
  8072. }
  8073. // all checks done. cannot go past len.
  8074. j := 0
  8075. for ; j < decLen; j++ {
  8076. v[j] = float32(dd.DecodeFloat(true))
  8077. }
  8078. if !canChange {
  8079. for ; j < containerLenS; j++ {
  8080. d.swallow()
  8081. }
  8082. }
  8083. } else {
  8084. j := 0
  8085. for ; !dd.CheckBreak(); j++ {
  8086. if j >= len(v) {
  8087. if canChange {
  8088. v = append(v, 0)
  8089. changed = true
  8090. } else {
  8091. d.arrayCannotExpand(len(v), j+1)
  8092. }
  8093. }
  8094. if j < len(v) { // all checks done. cannot go past len.
  8095. v[j] = float32(dd.DecodeFloat(true))
  8096. } else {
  8097. d.swallow()
  8098. }
  8099. }
  8100. slh.End()
  8101. }
  8102. return v, changed
  8103. }
  8104. func (f decFnInfo) fastpathDecSliceFloat64R(rv reflect.Value) {
  8105. array := f.seq == seqTypeArray
  8106. if !array && rv.CanAddr() { // CanSet => CanAddr + Exported
  8107. vp := rv.Addr().Interface().(*[]float64)
  8108. v, changed := fastpathTV.DecSliceFloat64V(*vp, fastpathCheckNilFalse, !array, f.d)
  8109. if changed {
  8110. *vp = v
  8111. }
  8112. } else {
  8113. v := rv.Interface().([]float64)
  8114. fastpathTV.DecSliceFloat64V(v, fastpathCheckNilFalse, false, f.d)
  8115. }
  8116. }
  8117. func (f fastpathT) DecSliceFloat64X(vp *[]float64, checkNil bool, d *Decoder) {
  8118. v, changed := f.DecSliceFloat64V(*vp, checkNil, true, d)
  8119. if changed {
  8120. *vp = v
  8121. }
  8122. }
  8123. func (_ fastpathT) DecSliceFloat64V(v []float64, checkNil bool, canChange bool,
  8124. d *Decoder) (_ []float64, changed bool) {
  8125. dd := d.d
  8126. // if dd.isContainerType(valueTypeNil) { dd.TryDecodeAsNil()
  8127. if checkNil && dd.TryDecodeAsNil() {
  8128. if v != nil {
  8129. changed = true
  8130. }
  8131. return nil, changed
  8132. }
  8133. slh, containerLenS := d.decSliceHelperStart()
  8134. if canChange && v == nil {
  8135. if containerLenS <= 0 {
  8136. v = []float64{}
  8137. } else {
  8138. v = make([]float64, containerLenS, containerLenS)
  8139. }
  8140. changed = true
  8141. }
  8142. if containerLenS == 0 {
  8143. if canChange && len(v) != 0 {
  8144. v = v[:0]
  8145. changed = true
  8146. }
  8147. return v, changed
  8148. }
  8149. // for j := 0; j < containerLenS; j++ {
  8150. if containerLenS > 0 {
  8151. decLen := containerLenS
  8152. if containerLenS > cap(v) {
  8153. if canChange {
  8154. s := make([]float64, containerLenS, containerLenS)
  8155. // copy(s, v[:cap(v)])
  8156. v = s
  8157. changed = true
  8158. } else {
  8159. d.arrayCannotExpand(len(v), containerLenS)
  8160. decLen = len(v)
  8161. }
  8162. } else if containerLenS != len(v) {
  8163. v = v[:containerLenS]
  8164. changed = true
  8165. }
  8166. // all checks done. cannot go past len.
  8167. j := 0
  8168. for ; j < decLen; j++ {
  8169. v[j] = dd.DecodeFloat(false)
  8170. }
  8171. if !canChange {
  8172. for ; j < containerLenS; j++ {
  8173. d.swallow()
  8174. }
  8175. }
  8176. } else {
  8177. j := 0
  8178. for ; !dd.CheckBreak(); j++ {
  8179. if j >= len(v) {
  8180. if canChange {
  8181. v = append(v, 0)
  8182. changed = true
  8183. } else {
  8184. d.arrayCannotExpand(len(v), j+1)
  8185. }
  8186. }
  8187. if j < len(v) { // all checks done. cannot go past len.
  8188. v[j] = dd.DecodeFloat(false)
  8189. } else {
  8190. d.swallow()
  8191. }
  8192. }
  8193. slh.End()
  8194. }
  8195. return v, changed
  8196. }
  8197. func (f decFnInfo) fastpathDecSliceUintR(rv reflect.Value) {
  8198. array := f.seq == seqTypeArray
  8199. if !array && rv.CanAddr() { // CanSet => CanAddr + Exported
  8200. vp := rv.Addr().Interface().(*[]uint)
  8201. v, changed := fastpathTV.DecSliceUintV(*vp, fastpathCheckNilFalse, !array, f.d)
  8202. if changed {
  8203. *vp = v
  8204. }
  8205. } else {
  8206. v := rv.Interface().([]uint)
  8207. fastpathTV.DecSliceUintV(v, fastpathCheckNilFalse, false, f.d)
  8208. }
  8209. }
  8210. func (f fastpathT) DecSliceUintX(vp *[]uint, checkNil bool, d *Decoder) {
  8211. v, changed := f.DecSliceUintV(*vp, checkNil, true, d)
  8212. if changed {
  8213. *vp = v
  8214. }
  8215. }
  8216. func (_ fastpathT) DecSliceUintV(v []uint, checkNil bool, canChange bool,
  8217. d *Decoder) (_ []uint, changed bool) {
  8218. dd := d.d
  8219. // if dd.isContainerType(valueTypeNil) { dd.TryDecodeAsNil()
  8220. if checkNil && dd.TryDecodeAsNil() {
  8221. if v != nil {
  8222. changed = true
  8223. }
  8224. return nil, changed
  8225. }
  8226. slh, containerLenS := d.decSliceHelperStart()
  8227. if canChange && v == nil {
  8228. if containerLenS <= 0 {
  8229. v = []uint{}
  8230. } else {
  8231. v = make([]uint, containerLenS, containerLenS)
  8232. }
  8233. changed = true
  8234. }
  8235. if containerLenS == 0 {
  8236. if canChange && len(v) != 0 {
  8237. v = v[:0]
  8238. changed = true
  8239. }
  8240. return v, changed
  8241. }
  8242. // for j := 0; j < containerLenS; j++ {
  8243. if containerLenS > 0 {
  8244. decLen := containerLenS
  8245. if containerLenS > cap(v) {
  8246. if canChange {
  8247. s := make([]uint, containerLenS, containerLenS)
  8248. // copy(s, v[:cap(v)])
  8249. v = s
  8250. changed = true
  8251. } else {
  8252. d.arrayCannotExpand(len(v), containerLenS)
  8253. decLen = len(v)
  8254. }
  8255. } else if containerLenS != len(v) {
  8256. v = v[:containerLenS]
  8257. changed = true
  8258. }
  8259. // all checks done. cannot go past len.
  8260. j := 0
  8261. for ; j < decLen; j++ {
  8262. v[j] = uint(dd.DecodeUint(uintBitsize))
  8263. }
  8264. if !canChange {
  8265. for ; j < containerLenS; j++ {
  8266. d.swallow()
  8267. }
  8268. }
  8269. } else {
  8270. j := 0
  8271. for ; !dd.CheckBreak(); j++ {
  8272. if j >= len(v) {
  8273. if canChange {
  8274. v = append(v, 0)
  8275. changed = true
  8276. } else {
  8277. d.arrayCannotExpand(len(v), j+1)
  8278. }
  8279. }
  8280. if j < len(v) { // all checks done. cannot go past len.
  8281. v[j] = uint(dd.DecodeUint(uintBitsize))
  8282. } else {
  8283. d.swallow()
  8284. }
  8285. }
  8286. slh.End()
  8287. }
  8288. return v, changed
  8289. }
  8290. func (f decFnInfo) fastpathDecSliceUint16R(rv reflect.Value) {
  8291. array := f.seq == seqTypeArray
  8292. if !array && rv.CanAddr() { // CanSet => CanAddr + Exported
  8293. vp := rv.Addr().Interface().(*[]uint16)
  8294. v, changed := fastpathTV.DecSliceUint16V(*vp, fastpathCheckNilFalse, !array, f.d)
  8295. if changed {
  8296. *vp = v
  8297. }
  8298. } else {
  8299. v := rv.Interface().([]uint16)
  8300. fastpathTV.DecSliceUint16V(v, fastpathCheckNilFalse, false, f.d)
  8301. }
  8302. }
  8303. func (f fastpathT) DecSliceUint16X(vp *[]uint16, checkNil bool, d *Decoder) {
  8304. v, changed := f.DecSliceUint16V(*vp, checkNil, true, d)
  8305. if changed {
  8306. *vp = v
  8307. }
  8308. }
  8309. func (_ fastpathT) DecSliceUint16V(v []uint16, checkNil bool, canChange bool,
  8310. d *Decoder) (_ []uint16, changed bool) {
  8311. dd := d.d
  8312. // if dd.isContainerType(valueTypeNil) { dd.TryDecodeAsNil()
  8313. if checkNil && dd.TryDecodeAsNil() {
  8314. if v != nil {
  8315. changed = true
  8316. }
  8317. return nil, changed
  8318. }
  8319. slh, containerLenS := d.decSliceHelperStart()
  8320. if canChange && v == nil {
  8321. if containerLenS <= 0 {
  8322. v = []uint16{}
  8323. } else {
  8324. v = make([]uint16, containerLenS, containerLenS)
  8325. }
  8326. changed = true
  8327. }
  8328. if containerLenS == 0 {
  8329. if canChange && len(v) != 0 {
  8330. v = v[:0]
  8331. changed = true
  8332. }
  8333. return v, changed
  8334. }
  8335. // for j := 0; j < containerLenS; j++ {
  8336. if containerLenS > 0 {
  8337. decLen := containerLenS
  8338. if containerLenS > cap(v) {
  8339. if canChange {
  8340. s := make([]uint16, containerLenS, containerLenS)
  8341. // copy(s, v[:cap(v)])
  8342. v = s
  8343. changed = true
  8344. } else {
  8345. d.arrayCannotExpand(len(v), containerLenS)
  8346. decLen = len(v)
  8347. }
  8348. } else if containerLenS != len(v) {
  8349. v = v[:containerLenS]
  8350. changed = true
  8351. }
  8352. // all checks done. cannot go past len.
  8353. j := 0
  8354. for ; j < decLen; j++ {
  8355. v[j] = uint16(dd.DecodeUint(16))
  8356. }
  8357. if !canChange {
  8358. for ; j < containerLenS; j++ {
  8359. d.swallow()
  8360. }
  8361. }
  8362. } else {
  8363. j := 0
  8364. for ; !dd.CheckBreak(); j++ {
  8365. if j >= len(v) {
  8366. if canChange {
  8367. v = append(v, 0)
  8368. changed = true
  8369. } else {
  8370. d.arrayCannotExpand(len(v), j+1)
  8371. }
  8372. }
  8373. if j < len(v) { // all checks done. cannot go past len.
  8374. v[j] = uint16(dd.DecodeUint(16))
  8375. } else {
  8376. d.swallow()
  8377. }
  8378. }
  8379. slh.End()
  8380. }
  8381. return v, changed
  8382. }
  8383. func (f decFnInfo) fastpathDecSliceUint32R(rv reflect.Value) {
  8384. array := f.seq == seqTypeArray
  8385. if !array && rv.CanAddr() { // CanSet => CanAddr + Exported
  8386. vp := rv.Addr().Interface().(*[]uint32)
  8387. v, changed := fastpathTV.DecSliceUint32V(*vp, fastpathCheckNilFalse, !array, f.d)
  8388. if changed {
  8389. *vp = v
  8390. }
  8391. } else {
  8392. v := rv.Interface().([]uint32)
  8393. fastpathTV.DecSliceUint32V(v, fastpathCheckNilFalse, false, f.d)
  8394. }
  8395. }
  8396. func (f fastpathT) DecSliceUint32X(vp *[]uint32, checkNil bool, d *Decoder) {
  8397. v, changed := f.DecSliceUint32V(*vp, checkNil, true, d)
  8398. if changed {
  8399. *vp = v
  8400. }
  8401. }
  8402. func (_ fastpathT) DecSliceUint32V(v []uint32, checkNil bool, canChange bool,
  8403. d *Decoder) (_ []uint32, changed bool) {
  8404. dd := d.d
  8405. // if dd.isContainerType(valueTypeNil) { dd.TryDecodeAsNil()
  8406. if checkNil && dd.TryDecodeAsNil() {
  8407. if v != nil {
  8408. changed = true
  8409. }
  8410. return nil, changed
  8411. }
  8412. slh, containerLenS := d.decSliceHelperStart()
  8413. if canChange && v == nil {
  8414. if containerLenS <= 0 {
  8415. v = []uint32{}
  8416. } else {
  8417. v = make([]uint32, containerLenS, containerLenS)
  8418. }
  8419. changed = true
  8420. }
  8421. if containerLenS == 0 {
  8422. if canChange && len(v) != 0 {
  8423. v = v[:0]
  8424. changed = true
  8425. }
  8426. return v, changed
  8427. }
  8428. // for j := 0; j < containerLenS; j++ {
  8429. if containerLenS > 0 {
  8430. decLen := containerLenS
  8431. if containerLenS > cap(v) {
  8432. if canChange {
  8433. s := make([]uint32, containerLenS, containerLenS)
  8434. // copy(s, v[:cap(v)])
  8435. v = s
  8436. changed = true
  8437. } else {
  8438. d.arrayCannotExpand(len(v), containerLenS)
  8439. decLen = len(v)
  8440. }
  8441. } else if containerLenS != len(v) {
  8442. v = v[:containerLenS]
  8443. changed = true
  8444. }
  8445. // all checks done. cannot go past len.
  8446. j := 0
  8447. for ; j < decLen; j++ {
  8448. v[j] = uint32(dd.DecodeUint(32))
  8449. }
  8450. if !canChange {
  8451. for ; j < containerLenS; j++ {
  8452. d.swallow()
  8453. }
  8454. }
  8455. } else {
  8456. j := 0
  8457. for ; !dd.CheckBreak(); j++ {
  8458. if j >= len(v) {
  8459. if canChange {
  8460. v = append(v, 0)
  8461. changed = true
  8462. } else {
  8463. d.arrayCannotExpand(len(v), j+1)
  8464. }
  8465. }
  8466. if j < len(v) { // all checks done. cannot go past len.
  8467. v[j] = uint32(dd.DecodeUint(32))
  8468. } else {
  8469. d.swallow()
  8470. }
  8471. }
  8472. slh.End()
  8473. }
  8474. return v, changed
  8475. }
  8476. func (f decFnInfo) fastpathDecSliceUint64R(rv reflect.Value) {
  8477. array := f.seq == seqTypeArray
  8478. if !array && rv.CanAddr() { // CanSet => CanAddr + Exported
  8479. vp := rv.Addr().Interface().(*[]uint64)
  8480. v, changed := fastpathTV.DecSliceUint64V(*vp, fastpathCheckNilFalse, !array, f.d)
  8481. if changed {
  8482. *vp = v
  8483. }
  8484. } else {
  8485. v := rv.Interface().([]uint64)
  8486. fastpathTV.DecSliceUint64V(v, fastpathCheckNilFalse, false, f.d)
  8487. }
  8488. }
  8489. func (f fastpathT) DecSliceUint64X(vp *[]uint64, checkNil bool, d *Decoder) {
  8490. v, changed := f.DecSliceUint64V(*vp, checkNil, true, d)
  8491. if changed {
  8492. *vp = v
  8493. }
  8494. }
  8495. func (_ fastpathT) DecSliceUint64V(v []uint64, checkNil bool, canChange bool,
  8496. d *Decoder) (_ []uint64, changed bool) {
  8497. dd := d.d
  8498. // if dd.isContainerType(valueTypeNil) { dd.TryDecodeAsNil()
  8499. if checkNil && dd.TryDecodeAsNil() {
  8500. if v != nil {
  8501. changed = true
  8502. }
  8503. return nil, changed
  8504. }
  8505. slh, containerLenS := d.decSliceHelperStart()
  8506. if canChange && v == nil {
  8507. if containerLenS <= 0 {
  8508. v = []uint64{}
  8509. } else {
  8510. v = make([]uint64, containerLenS, containerLenS)
  8511. }
  8512. changed = true
  8513. }
  8514. if containerLenS == 0 {
  8515. if canChange && len(v) != 0 {
  8516. v = v[:0]
  8517. changed = true
  8518. }
  8519. return v, changed
  8520. }
  8521. // for j := 0; j < containerLenS; j++ {
  8522. if containerLenS > 0 {
  8523. decLen := containerLenS
  8524. if containerLenS > cap(v) {
  8525. if canChange {
  8526. s := make([]uint64, containerLenS, containerLenS)
  8527. // copy(s, v[:cap(v)])
  8528. v = s
  8529. changed = true
  8530. } else {
  8531. d.arrayCannotExpand(len(v), containerLenS)
  8532. decLen = len(v)
  8533. }
  8534. } else if containerLenS != len(v) {
  8535. v = v[:containerLenS]
  8536. changed = true
  8537. }
  8538. // all checks done. cannot go past len.
  8539. j := 0
  8540. for ; j < decLen; j++ {
  8541. v[j] = dd.DecodeUint(64)
  8542. }
  8543. if !canChange {
  8544. for ; j < containerLenS; j++ {
  8545. d.swallow()
  8546. }
  8547. }
  8548. } else {
  8549. j := 0
  8550. for ; !dd.CheckBreak(); j++ {
  8551. if j >= len(v) {
  8552. if canChange {
  8553. v = append(v, 0)
  8554. changed = true
  8555. } else {
  8556. d.arrayCannotExpand(len(v), j+1)
  8557. }
  8558. }
  8559. if j < len(v) { // all checks done. cannot go past len.
  8560. v[j] = dd.DecodeUint(64)
  8561. } else {
  8562. d.swallow()
  8563. }
  8564. }
  8565. slh.End()
  8566. }
  8567. return v, changed
  8568. }
  8569. func (f decFnInfo) fastpathDecSliceIntR(rv reflect.Value) {
  8570. array := f.seq == seqTypeArray
  8571. if !array && rv.CanAddr() { // CanSet => CanAddr + Exported
  8572. vp := rv.Addr().Interface().(*[]int)
  8573. v, changed := fastpathTV.DecSliceIntV(*vp, fastpathCheckNilFalse, !array, f.d)
  8574. if changed {
  8575. *vp = v
  8576. }
  8577. } else {
  8578. v := rv.Interface().([]int)
  8579. fastpathTV.DecSliceIntV(v, fastpathCheckNilFalse, false, f.d)
  8580. }
  8581. }
  8582. func (f fastpathT) DecSliceIntX(vp *[]int, checkNil bool, d *Decoder) {
  8583. v, changed := f.DecSliceIntV(*vp, checkNil, true, d)
  8584. if changed {
  8585. *vp = v
  8586. }
  8587. }
  8588. func (_ fastpathT) DecSliceIntV(v []int, checkNil bool, canChange bool,
  8589. d *Decoder) (_ []int, changed bool) {
  8590. dd := d.d
  8591. // if dd.isContainerType(valueTypeNil) { dd.TryDecodeAsNil()
  8592. if checkNil && dd.TryDecodeAsNil() {
  8593. if v != nil {
  8594. changed = true
  8595. }
  8596. return nil, changed
  8597. }
  8598. slh, containerLenS := d.decSliceHelperStart()
  8599. if canChange && v == nil {
  8600. if containerLenS <= 0 {
  8601. v = []int{}
  8602. } else {
  8603. v = make([]int, containerLenS, containerLenS)
  8604. }
  8605. changed = true
  8606. }
  8607. if containerLenS == 0 {
  8608. if canChange && len(v) != 0 {
  8609. v = v[:0]
  8610. changed = true
  8611. }
  8612. return v, changed
  8613. }
  8614. // for j := 0; j < containerLenS; j++ {
  8615. if containerLenS > 0 {
  8616. decLen := containerLenS
  8617. if containerLenS > cap(v) {
  8618. if canChange {
  8619. s := make([]int, containerLenS, containerLenS)
  8620. // copy(s, v[:cap(v)])
  8621. v = s
  8622. changed = true
  8623. } else {
  8624. d.arrayCannotExpand(len(v), containerLenS)
  8625. decLen = len(v)
  8626. }
  8627. } else if containerLenS != len(v) {
  8628. v = v[:containerLenS]
  8629. changed = true
  8630. }
  8631. // all checks done. cannot go past len.
  8632. j := 0
  8633. for ; j < decLen; j++ {
  8634. v[j] = int(dd.DecodeInt(intBitsize))
  8635. }
  8636. if !canChange {
  8637. for ; j < containerLenS; j++ {
  8638. d.swallow()
  8639. }
  8640. }
  8641. } else {
  8642. j := 0
  8643. for ; !dd.CheckBreak(); j++ {
  8644. if j >= len(v) {
  8645. if canChange {
  8646. v = append(v, 0)
  8647. changed = true
  8648. } else {
  8649. d.arrayCannotExpand(len(v), j+1)
  8650. }
  8651. }
  8652. if j < len(v) { // all checks done. cannot go past len.
  8653. v[j] = int(dd.DecodeInt(intBitsize))
  8654. } else {
  8655. d.swallow()
  8656. }
  8657. }
  8658. slh.End()
  8659. }
  8660. return v, changed
  8661. }
  8662. func (f decFnInfo) fastpathDecSliceInt8R(rv reflect.Value) {
  8663. array := f.seq == seqTypeArray
  8664. if !array && rv.CanAddr() { // CanSet => CanAddr + Exported
  8665. vp := rv.Addr().Interface().(*[]int8)
  8666. v, changed := fastpathTV.DecSliceInt8V(*vp, fastpathCheckNilFalse, !array, f.d)
  8667. if changed {
  8668. *vp = v
  8669. }
  8670. } else {
  8671. v := rv.Interface().([]int8)
  8672. fastpathTV.DecSliceInt8V(v, fastpathCheckNilFalse, false, f.d)
  8673. }
  8674. }
  8675. func (f fastpathT) DecSliceInt8X(vp *[]int8, checkNil bool, d *Decoder) {
  8676. v, changed := f.DecSliceInt8V(*vp, checkNil, true, d)
  8677. if changed {
  8678. *vp = v
  8679. }
  8680. }
  8681. func (_ fastpathT) DecSliceInt8V(v []int8, checkNil bool, canChange bool,
  8682. d *Decoder) (_ []int8, changed bool) {
  8683. dd := d.d
  8684. // if dd.isContainerType(valueTypeNil) { dd.TryDecodeAsNil()
  8685. if checkNil && dd.TryDecodeAsNil() {
  8686. if v != nil {
  8687. changed = true
  8688. }
  8689. return nil, changed
  8690. }
  8691. slh, containerLenS := d.decSliceHelperStart()
  8692. if canChange && v == nil {
  8693. if containerLenS <= 0 {
  8694. v = []int8{}
  8695. } else {
  8696. v = make([]int8, containerLenS, containerLenS)
  8697. }
  8698. changed = true
  8699. }
  8700. if containerLenS == 0 {
  8701. if canChange && len(v) != 0 {
  8702. v = v[:0]
  8703. changed = true
  8704. }
  8705. return v, changed
  8706. }
  8707. // for j := 0; j < containerLenS; j++ {
  8708. if containerLenS > 0 {
  8709. decLen := containerLenS
  8710. if containerLenS > cap(v) {
  8711. if canChange {
  8712. s := make([]int8, containerLenS, containerLenS)
  8713. // copy(s, v[:cap(v)])
  8714. v = s
  8715. changed = true
  8716. } else {
  8717. d.arrayCannotExpand(len(v), containerLenS)
  8718. decLen = len(v)
  8719. }
  8720. } else if containerLenS != len(v) {
  8721. v = v[:containerLenS]
  8722. changed = true
  8723. }
  8724. // all checks done. cannot go past len.
  8725. j := 0
  8726. for ; j < decLen; j++ {
  8727. v[j] = int8(dd.DecodeInt(8))
  8728. }
  8729. if !canChange {
  8730. for ; j < containerLenS; j++ {
  8731. d.swallow()
  8732. }
  8733. }
  8734. } else {
  8735. j := 0
  8736. for ; !dd.CheckBreak(); j++ {
  8737. if j >= len(v) {
  8738. if canChange {
  8739. v = append(v, 0)
  8740. changed = true
  8741. } else {
  8742. d.arrayCannotExpand(len(v), j+1)
  8743. }
  8744. }
  8745. if j < len(v) { // all checks done. cannot go past len.
  8746. v[j] = int8(dd.DecodeInt(8))
  8747. } else {
  8748. d.swallow()
  8749. }
  8750. }
  8751. slh.End()
  8752. }
  8753. return v, changed
  8754. }
  8755. func (f decFnInfo) fastpathDecSliceInt16R(rv reflect.Value) {
  8756. array := f.seq == seqTypeArray
  8757. if !array && rv.CanAddr() { // CanSet => CanAddr + Exported
  8758. vp := rv.Addr().Interface().(*[]int16)
  8759. v, changed := fastpathTV.DecSliceInt16V(*vp, fastpathCheckNilFalse, !array, f.d)
  8760. if changed {
  8761. *vp = v
  8762. }
  8763. } else {
  8764. v := rv.Interface().([]int16)
  8765. fastpathTV.DecSliceInt16V(v, fastpathCheckNilFalse, false, f.d)
  8766. }
  8767. }
  8768. func (f fastpathT) DecSliceInt16X(vp *[]int16, checkNil bool, d *Decoder) {
  8769. v, changed := f.DecSliceInt16V(*vp, checkNil, true, d)
  8770. if changed {
  8771. *vp = v
  8772. }
  8773. }
  8774. func (_ fastpathT) DecSliceInt16V(v []int16, checkNil bool, canChange bool,
  8775. d *Decoder) (_ []int16, changed bool) {
  8776. dd := d.d
  8777. // if dd.isContainerType(valueTypeNil) { dd.TryDecodeAsNil()
  8778. if checkNil && dd.TryDecodeAsNil() {
  8779. if v != nil {
  8780. changed = true
  8781. }
  8782. return nil, changed
  8783. }
  8784. slh, containerLenS := d.decSliceHelperStart()
  8785. if canChange && v == nil {
  8786. if containerLenS <= 0 {
  8787. v = []int16{}
  8788. } else {
  8789. v = make([]int16, containerLenS, containerLenS)
  8790. }
  8791. changed = true
  8792. }
  8793. if containerLenS == 0 {
  8794. if canChange && len(v) != 0 {
  8795. v = v[:0]
  8796. changed = true
  8797. }
  8798. return v, changed
  8799. }
  8800. // for j := 0; j < containerLenS; j++ {
  8801. if containerLenS > 0 {
  8802. decLen := containerLenS
  8803. if containerLenS > cap(v) {
  8804. if canChange {
  8805. s := make([]int16, containerLenS, containerLenS)
  8806. // copy(s, v[:cap(v)])
  8807. v = s
  8808. changed = true
  8809. } else {
  8810. d.arrayCannotExpand(len(v), containerLenS)
  8811. decLen = len(v)
  8812. }
  8813. } else if containerLenS != len(v) {
  8814. v = v[:containerLenS]
  8815. changed = true
  8816. }
  8817. // all checks done. cannot go past len.
  8818. j := 0
  8819. for ; j < decLen; j++ {
  8820. v[j] = int16(dd.DecodeInt(16))
  8821. }
  8822. if !canChange {
  8823. for ; j < containerLenS; j++ {
  8824. d.swallow()
  8825. }
  8826. }
  8827. } else {
  8828. j := 0
  8829. for ; !dd.CheckBreak(); j++ {
  8830. if j >= len(v) {
  8831. if canChange {
  8832. v = append(v, 0)
  8833. changed = true
  8834. } else {
  8835. d.arrayCannotExpand(len(v), j+1)
  8836. }
  8837. }
  8838. if j < len(v) { // all checks done. cannot go past len.
  8839. v[j] = int16(dd.DecodeInt(16))
  8840. } else {
  8841. d.swallow()
  8842. }
  8843. }
  8844. slh.End()
  8845. }
  8846. return v, changed
  8847. }
  8848. func (f decFnInfo) fastpathDecSliceInt32R(rv reflect.Value) {
  8849. array := f.seq == seqTypeArray
  8850. if !array && rv.CanAddr() { // CanSet => CanAddr + Exported
  8851. vp := rv.Addr().Interface().(*[]int32)
  8852. v, changed := fastpathTV.DecSliceInt32V(*vp, fastpathCheckNilFalse, !array, f.d)
  8853. if changed {
  8854. *vp = v
  8855. }
  8856. } else {
  8857. v := rv.Interface().([]int32)
  8858. fastpathTV.DecSliceInt32V(v, fastpathCheckNilFalse, false, f.d)
  8859. }
  8860. }
  8861. func (f fastpathT) DecSliceInt32X(vp *[]int32, checkNil bool, d *Decoder) {
  8862. v, changed := f.DecSliceInt32V(*vp, checkNil, true, d)
  8863. if changed {
  8864. *vp = v
  8865. }
  8866. }
  8867. func (_ fastpathT) DecSliceInt32V(v []int32, checkNil bool, canChange bool,
  8868. d *Decoder) (_ []int32, changed bool) {
  8869. dd := d.d
  8870. // if dd.isContainerType(valueTypeNil) { dd.TryDecodeAsNil()
  8871. if checkNil && dd.TryDecodeAsNil() {
  8872. if v != nil {
  8873. changed = true
  8874. }
  8875. return nil, changed
  8876. }
  8877. slh, containerLenS := d.decSliceHelperStart()
  8878. if canChange && v == nil {
  8879. if containerLenS <= 0 {
  8880. v = []int32{}
  8881. } else {
  8882. v = make([]int32, containerLenS, containerLenS)
  8883. }
  8884. changed = true
  8885. }
  8886. if containerLenS == 0 {
  8887. if canChange && len(v) != 0 {
  8888. v = v[:0]
  8889. changed = true
  8890. }
  8891. return v, changed
  8892. }
  8893. // for j := 0; j < containerLenS; j++ {
  8894. if containerLenS > 0 {
  8895. decLen := containerLenS
  8896. if containerLenS > cap(v) {
  8897. if canChange {
  8898. s := make([]int32, containerLenS, containerLenS)
  8899. // copy(s, v[:cap(v)])
  8900. v = s
  8901. changed = true
  8902. } else {
  8903. d.arrayCannotExpand(len(v), containerLenS)
  8904. decLen = len(v)
  8905. }
  8906. } else if containerLenS != len(v) {
  8907. v = v[:containerLenS]
  8908. changed = true
  8909. }
  8910. // all checks done. cannot go past len.
  8911. j := 0
  8912. for ; j < decLen; j++ {
  8913. v[j] = int32(dd.DecodeInt(32))
  8914. }
  8915. if !canChange {
  8916. for ; j < containerLenS; j++ {
  8917. d.swallow()
  8918. }
  8919. }
  8920. } else {
  8921. j := 0
  8922. for ; !dd.CheckBreak(); j++ {
  8923. if j >= len(v) {
  8924. if canChange {
  8925. v = append(v, 0)
  8926. changed = true
  8927. } else {
  8928. d.arrayCannotExpand(len(v), j+1)
  8929. }
  8930. }
  8931. if j < len(v) { // all checks done. cannot go past len.
  8932. v[j] = int32(dd.DecodeInt(32))
  8933. } else {
  8934. d.swallow()
  8935. }
  8936. }
  8937. slh.End()
  8938. }
  8939. return v, changed
  8940. }
  8941. func (f decFnInfo) fastpathDecSliceInt64R(rv reflect.Value) {
  8942. array := f.seq == seqTypeArray
  8943. if !array && rv.CanAddr() { // CanSet => CanAddr + Exported
  8944. vp := rv.Addr().Interface().(*[]int64)
  8945. v, changed := fastpathTV.DecSliceInt64V(*vp, fastpathCheckNilFalse, !array, f.d)
  8946. if changed {
  8947. *vp = v
  8948. }
  8949. } else {
  8950. v := rv.Interface().([]int64)
  8951. fastpathTV.DecSliceInt64V(v, fastpathCheckNilFalse, false, f.d)
  8952. }
  8953. }
  8954. func (f fastpathT) DecSliceInt64X(vp *[]int64, checkNil bool, d *Decoder) {
  8955. v, changed := f.DecSliceInt64V(*vp, checkNil, true, d)
  8956. if changed {
  8957. *vp = v
  8958. }
  8959. }
  8960. func (_ fastpathT) DecSliceInt64V(v []int64, checkNil bool, canChange bool,
  8961. d *Decoder) (_ []int64, changed bool) {
  8962. dd := d.d
  8963. // if dd.isContainerType(valueTypeNil) { dd.TryDecodeAsNil()
  8964. if checkNil && dd.TryDecodeAsNil() {
  8965. if v != nil {
  8966. changed = true
  8967. }
  8968. return nil, changed
  8969. }
  8970. slh, containerLenS := d.decSliceHelperStart()
  8971. if canChange && v == nil {
  8972. if containerLenS <= 0 {
  8973. v = []int64{}
  8974. } else {
  8975. v = make([]int64, containerLenS, containerLenS)
  8976. }
  8977. changed = true
  8978. }
  8979. if containerLenS == 0 {
  8980. if canChange && len(v) != 0 {
  8981. v = v[:0]
  8982. changed = true
  8983. }
  8984. return v, changed
  8985. }
  8986. // for j := 0; j < containerLenS; j++ {
  8987. if containerLenS > 0 {
  8988. decLen := containerLenS
  8989. if containerLenS > cap(v) {
  8990. if canChange {
  8991. s := make([]int64, containerLenS, containerLenS)
  8992. // copy(s, v[:cap(v)])
  8993. v = s
  8994. changed = true
  8995. } else {
  8996. d.arrayCannotExpand(len(v), containerLenS)
  8997. decLen = len(v)
  8998. }
  8999. } else if containerLenS != len(v) {
  9000. v = v[:containerLenS]
  9001. changed = true
  9002. }
  9003. // all checks done. cannot go past len.
  9004. j := 0
  9005. for ; j < decLen; j++ {
  9006. v[j] = dd.DecodeInt(64)
  9007. }
  9008. if !canChange {
  9009. for ; j < containerLenS; j++ {
  9010. d.swallow()
  9011. }
  9012. }
  9013. } else {
  9014. j := 0
  9015. for ; !dd.CheckBreak(); j++ {
  9016. if j >= len(v) {
  9017. if canChange {
  9018. v = append(v, 0)
  9019. changed = true
  9020. } else {
  9021. d.arrayCannotExpand(len(v), j+1)
  9022. }
  9023. }
  9024. if j < len(v) { // all checks done. cannot go past len.
  9025. v[j] = dd.DecodeInt(64)
  9026. } else {
  9027. d.swallow()
  9028. }
  9029. }
  9030. slh.End()
  9031. }
  9032. return v, changed
  9033. }
  9034. func (f decFnInfo) fastpathDecSliceBoolR(rv reflect.Value) {
  9035. array := f.seq == seqTypeArray
  9036. if !array && rv.CanAddr() { // CanSet => CanAddr + Exported
  9037. vp := rv.Addr().Interface().(*[]bool)
  9038. v, changed := fastpathTV.DecSliceBoolV(*vp, fastpathCheckNilFalse, !array, f.d)
  9039. if changed {
  9040. *vp = v
  9041. }
  9042. } else {
  9043. v := rv.Interface().([]bool)
  9044. fastpathTV.DecSliceBoolV(v, fastpathCheckNilFalse, false, f.d)
  9045. }
  9046. }
  9047. func (f fastpathT) DecSliceBoolX(vp *[]bool, checkNil bool, d *Decoder) {
  9048. v, changed := f.DecSliceBoolV(*vp, checkNil, true, d)
  9049. if changed {
  9050. *vp = v
  9051. }
  9052. }
  9053. func (_ fastpathT) DecSliceBoolV(v []bool, checkNil bool, canChange bool,
  9054. d *Decoder) (_ []bool, changed bool) {
  9055. dd := d.d
  9056. // if dd.isContainerType(valueTypeNil) { dd.TryDecodeAsNil()
  9057. if checkNil && dd.TryDecodeAsNil() {
  9058. if v != nil {
  9059. changed = true
  9060. }
  9061. return nil, changed
  9062. }
  9063. slh, containerLenS := d.decSliceHelperStart()
  9064. if canChange && v == nil {
  9065. if containerLenS <= 0 {
  9066. v = []bool{}
  9067. } else {
  9068. v = make([]bool, containerLenS, containerLenS)
  9069. }
  9070. changed = true
  9071. }
  9072. if containerLenS == 0 {
  9073. if canChange && len(v) != 0 {
  9074. v = v[:0]
  9075. changed = true
  9076. }
  9077. return v, changed
  9078. }
  9079. // for j := 0; j < containerLenS; j++ {
  9080. if containerLenS > 0 {
  9081. decLen := containerLenS
  9082. if containerLenS > cap(v) {
  9083. if canChange {
  9084. s := make([]bool, containerLenS, containerLenS)
  9085. // copy(s, v[:cap(v)])
  9086. v = s
  9087. changed = true
  9088. } else {
  9089. d.arrayCannotExpand(len(v), containerLenS)
  9090. decLen = len(v)
  9091. }
  9092. } else if containerLenS != len(v) {
  9093. v = v[:containerLenS]
  9094. changed = true
  9095. }
  9096. // all checks done. cannot go past len.
  9097. j := 0
  9098. for ; j < decLen; j++ {
  9099. v[j] = dd.DecodeBool()
  9100. }
  9101. if !canChange {
  9102. for ; j < containerLenS; j++ {
  9103. d.swallow()
  9104. }
  9105. }
  9106. } else {
  9107. j := 0
  9108. for ; !dd.CheckBreak(); j++ {
  9109. if j >= len(v) {
  9110. if canChange {
  9111. v = append(v, false)
  9112. changed = true
  9113. } else {
  9114. d.arrayCannotExpand(len(v), j+1)
  9115. }
  9116. }
  9117. if j < len(v) { // all checks done. cannot go past len.
  9118. v[j] = dd.DecodeBool()
  9119. } else {
  9120. d.swallow()
  9121. }
  9122. }
  9123. slh.End()
  9124. }
  9125. return v, changed
  9126. }
  9127. func (f decFnInfo) fastpathDecMapIntfIntfR(rv reflect.Value) {
  9128. if rv.CanAddr() {
  9129. vp := rv.Addr().Interface().(*map[interface{}]interface{})
  9130. v, changed := fastpathTV.DecMapIntfIntfV(*vp, fastpathCheckNilFalse, true, f.d)
  9131. if changed {
  9132. *vp = v
  9133. }
  9134. } else {
  9135. v := rv.Interface().(map[interface{}]interface{})
  9136. fastpathTV.DecMapIntfIntfV(v, fastpathCheckNilFalse, false, f.d)
  9137. }
  9138. }
  9139. func (f fastpathT) DecMapIntfIntfX(vp *map[interface{}]interface{}, checkNil bool, d *Decoder) {
  9140. v, changed := f.DecMapIntfIntfV(*vp, checkNil, true, d)
  9141. if changed {
  9142. *vp = v
  9143. }
  9144. }
  9145. func (_ fastpathT) DecMapIntfIntfV(v map[interface{}]interface{}, checkNil bool, canChange bool,
  9146. d *Decoder) (_ map[interface{}]interface{}, changed bool) {
  9147. dd := d.d
  9148. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  9149. if checkNil && dd.TryDecodeAsNil() {
  9150. if v != nil {
  9151. changed = true
  9152. }
  9153. return nil, changed
  9154. }
  9155. containerLen := dd.ReadMapStart()
  9156. if canChange && v == nil {
  9157. if containerLen > 0 {
  9158. v = make(map[interface{}]interface{}, containerLen)
  9159. } else {
  9160. v = make(map[interface{}]interface{}) // supports indefinite-length, etc
  9161. }
  9162. changed = true
  9163. }
  9164. if containerLen > 0 {
  9165. for j := 0; j < containerLen; j++ {
  9166. var mk interface{}
  9167. d.decode(&mk)
  9168. if bv, bok := mk.([]byte); bok {
  9169. mk = string(bv) // maps cannot have []byte as key. switch to string.
  9170. }
  9171. mv := v[mk]
  9172. d.decode(&mv)
  9173. if v != nil {
  9174. v[mk] = mv
  9175. }
  9176. }
  9177. } else if containerLen < 0 {
  9178. for j := 0; !dd.CheckBreak(); j++ {
  9179. var mk interface{}
  9180. d.decode(&mk)
  9181. if bv, bok := mk.([]byte); bok {
  9182. mk = string(bv) // maps cannot have []byte as key. switch to string.
  9183. }
  9184. mv := v[mk]
  9185. d.decode(&mv)
  9186. if v != nil {
  9187. v[mk] = mv
  9188. }
  9189. }
  9190. dd.ReadEnd()
  9191. }
  9192. return v, changed
  9193. }
  9194. func (f decFnInfo) fastpathDecMapIntfStringR(rv reflect.Value) {
  9195. if rv.CanAddr() {
  9196. vp := rv.Addr().Interface().(*map[interface{}]string)
  9197. v, changed := fastpathTV.DecMapIntfStringV(*vp, fastpathCheckNilFalse, true, f.d)
  9198. if changed {
  9199. *vp = v
  9200. }
  9201. } else {
  9202. v := rv.Interface().(map[interface{}]string)
  9203. fastpathTV.DecMapIntfStringV(v, fastpathCheckNilFalse, false, f.d)
  9204. }
  9205. }
  9206. func (f fastpathT) DecMapIntfStringX(vp *map[interface{}]string, checkNil bool, d *Decoder) {
  9207. v, changed := f.DecMapIntfStringV(*vp, checkNil, true, d)
  9208. if changed {
  9209. *vp = v
  9210. }
  9211. }
  9212. func (_ fastpathT) DecMapIntfStringV(v map[interface{}]string, checkNil bool, canChange bool,
  9213. d *Decoder) (_ map[interface{}]string, changed bool) {
  9214. dd := d.d
  9215. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  9216. if checkNil && dd.TryDecodeAsNil() {
  9217. if v != nil {
  9218. changed = true
  9219. }
  9220. return nil, changed
  9221. }
  9222. containerLen := dd.ReadMapStart()
  9223. if canChange && v == nil {
  9224. if containerLen > 0 {
  9225. v = make(map[interface{}]string, containerLen)
  9226. } else {
  9227. v = make(map[interface{}]string) // supports indefinite-length, etc
  9228. }
  9229. changed = true
  9230. }
  9231. if containerLen > 0 {
  9232. for j := 0; j < containerLen; j++ {
  9233. var mk interface{}
  9234. d.decode(&mk)
  9235. if bv, bok := mk.([]byte); bok {
  9236. mk = string(bv) // maps cannot have []byte as key. switch to string.
  9237. }
  9238. mv := v[mk]
  9239. mv = dd.DecodeString()
  9240. if v != nil {
  9241. v[mk] = mv
  9242. }
  9243. }
  9244. } else if containerLen < 0 {
  9245. for j := 0; !dd.CheckBreak(); j++ {
  9246. var mk interface{}
  9247. d.decode(&mk)
  9248. if bv, bok := mk.([]byte); bok {
  9249. mk = string(bv) // maps cannot have []byte as key. switch to string.
  9250. }
  9251. mv := v[mk]
  9252. mv = dd.DecodeString()
  9253. if v != nil {
  9254. v[mk] = mv
  9255. }
  9256. }
  9257. dd.ReadEnd()
  9258. }
  9259. return v, changed
  9260. }
  9261. func (f decFnInfo) fastpathDecMapIntfUintR(rv reflect.Value) {
  9262. if rv.CanAddr() {
  9263. vp := rv.Addr().Interface().(*map[interface{}]uint)
  9264. v, changed := fastpathTV.DecMapIntfUintV(*vp, fastpathCheckNilFalse, true, f.d)
  9265. if changed {
  9266. *vp = v
  9267. }
  9268. } else {
  9269. v := rv.Interface().(map[interface{}]uint)
  9270. fastpathTV.DecMapIntfUintV(v, fastpathCheckNilFalse, false, f.d)
  9271. }
  9272. }
  9273. func (f fastpathT) DecMapIntfUintX(vp *map[interface{}]uint, checkNil bool, d *Decoder) {
  9274. v, changed := f.DecMapIntfUintV(*vp, checkNil, true, d)
  9275. if changed {
  9276. *vp = v
  9277. }
  9278. }
  9279. func (_ fastpathT) DecMapIntfUintV(v map[interface{}]uint, checkNil bool, canChange bool,
  9280. d *Decoder) (_ map[interface{}]uint, changed bool) {
  9281. dd := d.d
  9282. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  9283. if checkNil && dd.TryDecodeAsNil() {
  9284. if v != nil {
  9285. changed = true
  9286. }
  9287. return nil, changed
  9288. }
  9289. containerLen := dd.ReadMapStart()
  9290. if canChange && v == nil {
  9291. if containerLen > 0 {
  9292. v = make(map[interface{}]uint, containerLen)
  9293. } else {
  9294. v = make(map[interface{}]uint) // supports indefinite-length, etc
  9295. }
  9296. changed = true
  9297. }
  9298. if containerLen > 0 {
  9299. for j := 0; j < containerLen; j++ {
  9300. var mk interface{}
  9301. d.decode(&mk)
  9302. if bv, bok := mk.([]byte); bok {
  9303. mk = string(bv) // maps cannot have []byte as key. switch to string.
  9304. }
  9305. mv := v[mk]
  9306. mv = uint(dd.DecodeUint(uintBitsize))
  9307. if v != nil {
  9308. v[mk] = mv
  9309. }
  9310. }
  9311. } else if containerLen < 0 {
  9312. for j := 0; !dd.CheckBreak(); j++ {
  9313. var mk interface{}
  9314. d.decode(&mk)
  9315. if bv, bok := mk.([]byte); bok {
  9316. mk = string(bv) // maps cannot have []byte as key. switch to string.
  9317. }
  9318. mv := v[mk]
  9319. mv = uint(dd.DecodeUint(uintBitsize))
  9320. if v != nil {
  9321. v[mk] = mv
  9322. }
  9323. }
  9324. dd.ReadEnd()
  9325. }
  9326. return v, changed
  9327. }
  9328. func (f decFnInfo) fastpathDecMapIntfUint8R(rv reflect.Value) {
  9329. if rv.CanAddr() {
  9330. vp := rv.Addr().Interface().(*map[interface{}]uint8)
  9331. v, changed := fastpathTV.DecMapIntfUint8V(*vp, fastpathCheckNilFalse, true, f.d)
  9332. if changed {
  9333. *vp = v
  9334. }
  9335. } else {
  9336. v := rv.Interface().(map[interface{}]uint8)
  9337. fastpathTV.DecMapIntfUint8V(v, fastpathCheckNilFalse, false, f.d)
  9338. }
  9339. }
  9340. func (f fastpathT) DecMapIntfUint8X(vp *map[interface{}]uint8, checkNil bool, d *Decoder) {
  9341. v, changed := f.DecMapIntfUint8V(*vp, checkNil, true, d)
  9342. if changed {
  9343. *vp = v
  9344. }
  9345. }
  9346. func (_ fastpathT) DecMapIntfUint8V(v map[interface{}]uint8, checkNil bool, canChange bool,
  9347. d *Decoder) (_ map[interface{}]uint8, changed bool) {
  9348. dd := d.d
  9349. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  9350. if checkNil && dd.TryDecodeAsNil() {
  9351. if v != nil {
  9352. changed = true
  9353. }
  9354. return nil, changed
  9355. }
  9356. containerLen := dd.ReadMapStart()
  9357. if canChange && v == nil {
  9358. if containerLen > 0 {
  9359. v = make(map[interface{}]uint8, containerLen)
  9360. } else {
  9361. v = make(map[interface{}]uint8) // supports indefinite-length, etc
  9362. }
  9363. changed = true
  9364. }
  9365. if containerLen > 0 {
  9366. for j := 0; j < containerLen; j++ {
  9367. var mk interface{}
  9368. d.decode(&mk)
  9369. if bv, bok := mk.([]byte); bok {
  9370. mk = string(bv) // maps cannot have []byte as key. switch to string.
  9371. }
  9372. mv := v[mk]
  9373. mv = uint8(dd.DecodeUint(8))
  9374. if v != nil {
  9375. v[mk] = mv
  9376. }
  9377. }
  9378. } else if containerLen < 0 {
  9379. for j := 0; !dd.CheckBreak(); j++ {
  9380. var mk interface{}
  9381. d.decode(&mk)
  9382. if bv, bok := mk.([]byte); bok {
  9383. mk = string(bv) // maps cannot have []byte as key. switch to string.
  9384. }
  9385. mv := v[mk]
  9386. mv = uint8(dd.DecodeUint(8))
  9387. if v != nil {
  9388. v[mk] = mv
  9389. }
  9390. }
  9391. dd.ReadEnd()
  9392. }
  9393. return v, changed
  9394. }
  9395. func (f decFnInfo) fastpathDecMapIntfUint16R(rv reflect.Value) {
  9396. if rv.CanAddr() {
  9397. vp := rv.Addr().Interface().(*map[interface{}]uint16)
  9398. v, changed := fastpathTV.DecMapIntfUint16V(*vp, fastpathCheckNilFalse, true, f.d)
  9399. if changed {
  9400. *vp = v
  9401. }
  9402. } else {
  9403. v := rv.Interface().(map[interface{}]uint16)
  9404. fastpathTV.DecMapIntfUint16V(v, fastpathCheckNilFalse, false, f.d)
  9405. }
  9406. }
  9407. func (f fastpathT) DecMapIntfUint16X(vp *map[interface{}]uint16, checkNil bool, d *Decoder) {
  9408. v, changed := f.DecMapIntfUint16V(*vp, checkNil, true, d)
  9409. if changed {
  9410. *vp = v
  9411. }
  9412. }
  9413. func (_ fastpathT) DecMapIntfUint16V(v map[interface{}]uint16, checkNil bool, canChange bool,
  9414. d *Decoder) (_ map[interface{}]uint16, changed bool) {
  9415. dd := d.d
  9416. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  9417. if checkNil && dd.TryDecodeAsNil() {
  9418. if v != nil {
  9419. changed = true
  9420. }
  9421. return nil, changed
  9422. }
  9423. containerLen := dd.ReadMapStart()
  9424. if canChange && v == nil {
  9425. if containerLen > 0 {
  9426. v = make(map[interface{}]uint16, containerLen)
  9427. } else {
  9428. v = make(map[interface{}]uint16) // supports indefinite-length, etc
  9429. }
  9430. changed = true
  9431. }
  9432. if containerLen > 0 {
  9433. for j := 0; j < containerLen; j++ {
  9434. var mk interface{}
  9435. d.decode(&mk)
  9436. if bv, bok := mk.([]byte); bok {
  9437. mk = string(bv) // maps cannot have []byte as key. switch to string.
  9438. }
  9439. mv := v[mk]
  9440. mv = uint16(dd.DecodeUint(16))
  9441. if v != nil {
  9442. v[mk] = mv
  9443. }
  9444. }
  9445. } else if containerLen < 0 {
  9446. for j := 0; !dd.CheckBreak(); j++ {
  9447. var mk interface{}
  9448. d.decode(&mk)
  9449. if bv, bok := mk.([]byte); bok {
  9450. mk = string(bv) // maps cannot have []byte as key. switch to string.
  9451. }
  9452. mv := v[mk]
  9453. mv = uint16(dd.DecodeUint(16))
  9454. if v != nil {
  9455. v[mk] = mv
  9456. }
  9457. }
  9458. dd.ReadEnd()
  9459. }
  9460. return v, changed
  9461. }
  9462. func (f decFnInfo) fastpathDecMapIntfUint32R(rv reflect.Value) {
  9463. if rv.CanAddr() {
  9464. vp := rv.Addr().Interface().(*map[interface{}]uint32)
  9465. v, changed := fastpathTV.DecMapIntfUint32V(*vp, fastpathCheckNilFalse, true, f.d)
  9466. if changed {
  9467. *vp = v
  9468. }
  9469. } else {
  9470. v := rv.Interface().(map[interface{}]uint32)
  9471. fastpathTV.DecMapIntfUint32V(v, fastpathCheckNilFalse, false, f.d)
  9472. }
  9473. }
  9474. func (f fastpathT) DecMapIntfUint32X(vp *map[interface{}]uint32, checkNil bool, d *Decoder) {
  9475. v, changed := f.DecMapIntfUint32V(*vp, checkNil, true, d)
  9476. if changed {
  9477. *vp = v
  9478. }
  9479. }
  9480. func (_ fastpathT) DecMapIntfUint32V(v map[interface{}]uint32, checkNil bool, canChange bool,
  9481. d *Decoder) (_ map[interface{}]uint32, changed bool) {
  9482. dd := d.d
  9483. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  9484. if checkNil && dd.TryDecodeAsNil() {
  9485. if v != nil {
  9486. changed = true
  9487. }
  9488. return nil, changed
  9489. }
  9490. containerLen := dd.ReadMapStart()
  9491. if canChange && v == nil {
  9492. if containerLen > 0 {
  9493. v = make(map[interface{}]uint32, containerLen)
  9494. } else {
  9495. v = make(map[interface{}]uint32) // supports indefinite-length, etc
  9496. }
  9497. changed = true
  9498. }
  9499. if containerLen > 0 {
  9500. for j := 0; j < containerLen; j++ {
  9501. var mk interface{}
  9502. d.decode(&mk)
  9503. if bv, bok := mk.([]byte); bok {
  9504. mk = string(bv) // maps cannot have []byte as key. switch to string.
  9505. }
  9506. mv := v[mk]
  9507. mv = uint32(dd.DecodeUint(32))
  9508. if v != nil {
  9509. v[mk] = mv
  9510. }
  9511. }
  9512. } else if containerLen < 0 {
  9513. for j := 0; !dd.CheckBreak(); j++ {
  9514. var mk interface{}
  9515. d.decode(&mk)
  9516. if bv, bok := mk.([]byte); bok {
  9517. mk = string(bv) // maps cannot have []byte as key. switch to string.
  9518. }
  9519. mv := v[mk]
  9520. mv = uint32(dd.DecodeUint(32))
  9521. if v != nil {
  9522. v[mk] = mv
  9523. }
  9524. }
  9525. dd.ReadEnd()
  9526. }
  9527. return v, changed
  9528. }
  9529. func (f decFnInfo) fastpathDecMapIntfUint64R(rv reflect.Value) {
  9530. if rv.CanAddr() {
  9531. vp := rv.Addr().Interface().(*map[interface{}]uint64)
  9532. v, changed := fastpathTV.DecMapIntfUint64V(*vp, fastpathCheckNilFalse, true, f.d)
  9533. if changed {
  9534. *vp = v
  9535. }
  9536. } else {
  9537. v := rv.Interface().(map[interface{}]uint64)
  9538. fastpathTV.DecMapIntfUint64V(v, fastpathCheckNilFalse, false, f.d)
  9539. }
  9540. }
  9541. func (f fastpathT) DecMapIntfUint64X(vp *map[interface{}]uint64, checkNil bool, d *Decoder) {
  9542. v, changed := f.DecMapIntfUint64V(*vp, checkNil, true, d)
  9543. if changed {
  9544. *vp = v
  9545. }
  9546. }
  9547. func (_ fastpathT) DecMapIntfUint64V(v map[interface{}]uint64, checkNil bool, canChange bool,
  9548. d *Decoder) (_ map[interface{}]uint64, changed bool) {
  9549. dd := d.d
  9550. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  9551. if checkNil && dd.TryDecodeAsNil() {
  9552. if v != nil {
  9553. changed = true
  9554. }
  9555. return nil, changed
  9556. }
  9557. containerLen := dd.ReadMapStart()
  9558. if canChange && v == nil {
  9559. if containerLen > 0 {
  9560. v = make(map[interface{}]uint64, containerLen)
  9561. } else {
  9562. v = make(map[interface{}]uint64) // supports indefinite-length, etc
  9563. }
  9564. changed = true
  9565. }
  9566. if containerLen > 0 {
  9567. for j := 0; j < containerLen; j++ {
  9568. var mk interface{}
  9569. d.decode(&mk)
  9570. if bv, bok := mk.([]byte); bok {
  9571. mk = string(bv) // maps cannot have []byte as key. switch to string.
  9572. }
  9573. mv := v[mk]
  9574. mv = dd.DecodeUint(64)
  9575. if v != nil {
  9576. v[mk] = mv
  9577. }
  9578. }
  9579. } else if containerLen < 0 {
  9580. for j := 0; !dd.CheckBreak(); j++ {
  9581. var mk interface{}
  9582. d.decode(&mk)
  9583. if bv, bok := mk.([]byte); bok {
  9584. mk = string(bv) // maps cannot have []byte as key. switch to string.
  9585. }
  9586. mv := v[mk]
  9587. mv = dd.DecodeUint(64)
  9588. if v != nil {
  9589. v[mk] = mv
  9590. }
  9591. }
  9592. dd.ReadEnd()
  9593. }
  9594. return v, changed
  9595. }
  9596. func (f decFnInfo) fastpathDecMapIntfIntR(rv reflect.Value) {
  9597. if rv.CanAddr() {
  9598. vp := rv.Addr().Interface().(*map[interface{}]int)
  9599. v, changed := fastpathTV.DecMapIntfIntV(*vp, fastpathCheckNilFalse, true, f.d)
  9600. if changed {
  9601. *vp = v
  9602. }
  9603. } else {
  9604. v := rv.Interface().(map[interface{}]int)
  9605. fastpathTV.DecMapIntfIntV(v, fastpathCheckNilFalse, false, f.d)
  9606. }
  9607. }
  9608. func (f fastpathT) DecMapIntfIntX(vp *map[interface{}]int, checkNil bool, d *Decoder) {
  9609. v, changed := f.DecMapIntfIntV(*vp, checkNil, true, d)
  9610. if changed {
  9611. *vp = v
  9612. }
  9613. }
  9614. func (_ fastpathT) DecMapIntfIntV(v map[interface{}]int, checkNil bool, canChange bool,
  9615. d *Decoder) (_ map[interface{}]int, changed bool) {
  9616. dd := d.d
  9617. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  9618. if checkNil && dd.TryDecodeAsNil() {
  9619. if v != nil {
  9620. changed = true
  9621. }
  9622. return nil, changed
  9623. }
  9624. containerLen := dd.ReadMapStart()
  9625. if canChange && v == nil {
  9626. if containerLen > 0 {
  9627. v = make(map[interface{}]int, containerLen)
  9628. } else {
  9629. v = make(map[interface{}]int) // supports indefinite-length, etc
  9630. }
  9631. changed = true
  9632. }
  9633. if containerLen > 0 {
  9634. for j := 0; j < containerLen; j++ {
  9635. var mk interface{}
  9636. d.decode(&mk)
  9637. if bv, bok := mk.([]byte); bok {
  9638. mk = string(bv) // maps cannot have []byte as key. switch to string.
  9639. }
  9640. mv := v[mk]
  9641. mv = int(dd.DecodeInt(intBitsize))
  9642. if v != nil {
  9643. v[mk] = mv
  9644. }
  9645. }
  9646. } else if containerLen < 0 {
  9647. for j := 0; !dd.CheckBreak(); j++ {
  9648. var mk interface{}
  9649. d.decode(&mk)
  9650. if bv, bok := mk.([]byte); bok {
  9651. mk = string(bv) // maps cannot have []byte as key. switch to string.
  9652. }
  9653. mv := v[mk]
  9654. mv = int(dd.DecodeInt(intBitsize))
  9655. if v != nil {
  9656. v[mk] = mv
  9657. }
  9658. }
  9659. dd.ReadEnd()
  9660. }
  9661. return v, changed
  9662. }
  9663. func (f decFnInfo) fastpathDecMapIntfInt8R(rv reflect.Value) {
  9664. if rv.CanAddr() {
  9665. vp := rv.Addr().Interface().(*map[interface{}]int8)
  9666. v, changed := fastpathTV.DecMapIntfInt8V(*vp, fastpathCheckNilFalse, true, f.d)
  9667. if changed {
  9668. *vp = v
  9669. }
  9670. } else {
  9671. v := rv.Interface().(map[interface{}]int8)
  9672. fastpathTV.DecMapIntfInt8V(v, fastpathCheckNilFalse, false, f.d)
  9673. }
  9674. }
  9675. func (f fastpathT) DecMapIntfInt8X(vp *map[interface{}]int8, checkNil bool, d *Decoder) {
  9676. v, changed := f.DecMapIntfInt8V(*vp, checkNil, true, d)
  9677. if changed {
  9678. *vp = v
  9679. }
  9680. }
  9681. func (_ fastpathT) DecMapIntfInt8V(v map[interface{}]int8, checkNil bool, canChange bool,
  9682. d *Decoder) (_ map[interface{}]int8, changed bool) {
  9683. dd := d.d
  9684. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  9685. if checkNil && dd.TryDecodeAsNil() {
  9686. if v != nil {
  9687. changed = true
  9688. }
  9689. return nil, changed
  9690. }
  9691. containerLen := dd.ReadMapStart()
  9692. if canChange && v == nil {
  9693. if containerLen > 0 {
  9694. v = make(map[interface{}]int8, containerLen)
  9695. } else {
  9696. v = make(map[interface{}]int8) // supports indefinite-length, etc
  9697. }
  9698. changed = true
  9699. }
  9700. if containerLen > 0 {
  9701. for j := 0; j < containerLen; j++ {
  9702. var mk interface{}
  9703. d.decode(&mk)
  9704. if bv, bok := mk.([]byte); bok {
  9705. mk = string(bv) // maps cannot have []byte as key. switch to string.
  9706. }
  9707. mv := v[mk]
  9708. mv = int8(dd.DecodeInt(8))
  9709. if v != nil {
  9710. v[mk] = mv
  9711. }
  9712. }
  9713. } else if containerLen < 0 {
  9714. for j := 0; !dd.CheckBreak(); j++ {
  9715. var mk interface{}
  9716. d.decode(&mk)
  9717. if bv, bok := mk.([]byte); bok {
  9718. mk = string(bv) // maps cannot have []byte as key. switch to string.
  9719. }
  9720. mv := v[mk]
  9721. mv = int8(dd.DecodeInt(8))
  9722. if v != nil {
  9723. v[mk] = mv
  9724. }
  9725. }
  9726. dd.ReadEnd()
  9727. }
  9728. return v, changed
  9729. }
  9730. func (f decFnInfo) fastpathDecMapIntfInt16R(rv reflect.Value) {
  9731. if rv.CanAddr() {
  9732. vp := rv.Addr().Interface().(*map[interface{}]int16)
  9733. v, changed := fastpathTV.DecMapIntfInt16V(*vp, fastpathCheckNilFalse, true, f.d)
  9734. if changed {
  9735. *vp = v
  9736. }
  9737. } else {
  9738. v := rv.Interface().(map[interface{}]int16)
  9739. fastpathTV.DecMapIntfInt16V(v, fastpathCheckNilFalse, false, f.d)
  9740. }
  9741. }
  9742. func (f fastpathT) DecMapIntfInt16X(vp *map[interface{}]int16, checkNil bool, d *Decoder) {
  9743. v, changed := f.DecMapIntfInt16V(*vp, checkNil, true, d)
  9744. if changed {
  9745. *vp = v
  9746. }
  9747. }
  9748. func (_ fastpathT) DecMapIntfInt16V(v map[interface{}]int16, checkNil bool, canChange bool,
  9749. d *Decoder) (_ map[interface{}]int16, changed bool) {
  9750. dd := d.d
  9751. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  9752. if checkNil && dd.TryDecodeAsNil() {
  9753. if v != nil {
  9754. changed = true
  9755. }
  9756. return nil, changed
  9757. }
  9758. containerLen := dd.ReadMapStart()
  9759. if canChange && v == nil {
  9760. if containerLen > 0 {
  9761. v = make(map[interface{}]int16, containerLen)
  9762. } else {
  9763. v = make(map[interface{}]int16) // supports indefinite-length, etc
  9764. }
  9765. changed = true
  9766. }
  9767. if containerLen > 0 {
  9768. for j := 0; j < containerLen; j++ {
  9769. var mk interface{}
  9770. d.decode(&mk)
  9771. if bv, bok := mk.([]byte); bok {
  9772. mk = string(bv) // maps cannot have []byte as key. switch to string.
  9773. }
  9774. mv := v[mk]
  9775. mv = int16(dd.DecodeInt(16))
  9776. if v != nil {
  9777. v[mk] = mv
  9778. }
  9779. }
  9780. } else if containerLen < 0 {
  9781. for j := 0; !dd.CheckBreak(); j++ {
  9782. var mk interface{}
  9783. d.decode(&mk)
  9784. if bv, bok := mk.([]byte); bok {
  9785. mk = string(bv) // maps cannot have []byte as key. switch to string.
  9786. }
  9787. mv := v[mk]
  9788. mv = int16(dd.DecodeInt(16))
  9789. if v != nil {
  9790. v[mk] = mv
  9791. }
  9792. }
  9793. dd.ReadEnd()
  9794. }
  9795. return v, changed
  9796. }
  9797. func (f decFnInfo) fastpathDecMapIntfInt32R(rv reflect.Value) {
  9798. if rv.CanAddr() {
  9799. vp := rv.Addr().Interface().(*map[interface{}]int32)
  9800. v, changed := fastpathTV.DecMapIntfInt32V(*vp, fastpathCheckNilFalse, true, f.d)
  9801. if changed {
  9802. *vp = v
  9803. }
  9804. } else {
  9805. v := rv.Interface().(map[interface{}]int32)
  9806. fastpathTV.DecMapIntfInt32V(v, fastpathCheckNilFalse, false, f.d)
  9807. }
  9808. }
  9809. func (f fastpathT) DecMapIntfInt32X(vp *map[interface{}]int32, checkNil bool, d *Decoder) {
  9810. v, changed := f.DecMapIntfInt32V(*vp, checkNil, true, d)
  9811. if changed {
  9812. *vp = v
  9813. }
  9814. }
  9815. func (_ fastpathT) DecMapIntfInt32V(v map[interface{}]int32, checkNil bool, canChange bool,
  9816. d *Decoder) (_ map[interface{}]int32, changed bool) {
  9817. dd := d.d
  9818. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  9819. if checkNil && dd.TryDecodeAsNil() {
  9820. if v != nil {
  9821. changed = true
  9822. }
  9823. return nil, changed
  9824. }
  9825. containerLen := dd.ReadMapStart()
  9826. if canChange && v == nil {
  9827. if containerLen > 0 {
  9828. v = make(map[interface{}]int32, containerLen)
  9829. } else {
  9830. v = make(map[interface{}]int32) // supports indefinite-length, etc
  9831. }
  9832. changed = true
  9833. }
  9834. if containerLen > 0 {
  9835. for j := 0; j < containerLen; j++ {
  9836. var mk interface{}
  9837. d.decode(&mk)
  9838. if bv, bok := mk.([]byte); bok {
  9839. mk = string(bv) // maps cannot have []byte as key. switch to string.
  9840. }
  9841. mv := v[mk]
  9842. mv = int32(dd.DecodeInt(32))
  9843. if v != nil {
  9844. v[mk] = mv
  9845. }
  9846. }
  9847. } else if containerLen < 0 {
  9848. for j := 0; !dd.CheckBreak(); j++ {
  9849. var mk interface{}
  9850. d.decode(&mk)
  9851. if bv, bok := mk.([]byte); bok {
  9852. mk = string(bv) // maps cannot have []byte as key. switch to string.
  9853. }
  9854. mv := v[mk]
  9855. mv = int32(dd.DecodeInt(32))
  9856. if v != nil {
  9857. v[mk] = mv
  9858. }
  9859. }
  9860. dd.ReadEnd()
  9861. }
  9862. return v, changed
  9863. }
  9864. func (f decFnInfo) fastpathDecMapIntfInt64R(rv reflect.Value) {
  9865. if rv.CanAddr() {
  9866. vp := rv.Addr().Interface().(*map[interface{}]int64)
  9867. v, changed := fastpathTV.DecMapIntfInt64V(*vp, fastpathCheckNilFalse, true, f.d)
  9868. if changed {
  9869. *vp = v
  9870. }
  9871. } else {
  9872. v := rv.Interface().(map[interface{}]int64)
  9873. fastpathTV.DecMapIntfInt64V(v, fastpathCheckNilFalse, false, f.d)
  9874. }
  9875. }
  9876. func (f fastpathT) DecMapIntfInt64X(vp *map[interface{}]int64, checkNil bool, d *Decoder) {
  9877. v, changed := f.DecMapIntfInt64V(*vp, checkNil, true, d)
  9878. if changed {
  9879. *vp = v
  9880. }
  9881. }
  9882. func (_ fastpathT) DecMapIntfInt64V(v map[interface{}]int64, checkNil bool, canChange bool,
  9883. d *Decoder) (_ map[interface{}]int64, changed bool) {
  9884. dd := d.d
  9885. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  9886. if checkNil && dd.TryDecodeAsNil() {
  9887. if v != nil {
  9888. changed = true
  9889. }
  9890. return nil, changed
  9891. }
  9892. containerLen := dd.ReadMapStart()
  9893. if canChange && v == nil {
  9894. if containerLen > 0 {
  9895. v = make(map[interface{}]int64, containerLen)
  9896. } else {
  9897. v = make(map[interface{}]int64) // supports indefinite-length, etc
  9898. }
  9899. changed = true
  9900. }
  9901. if containerLen > 0 {
  9902. for j := 0; j < containerLen; j++ {
  9903. var mk interface{}
  9904. d.decode(&mk)
  9905. if bv, bok := mk.([]byte); bok {
  9906. mk = string(bv) // maps cannot have []byte as key. switch to string.
  9907. }
  9908. mv := v[mk]
  9909. mv = dd.DecodeInt(64)
  9910. if v != nil {
  9911. v[mk] = mv
  9912. }
  9913. }
  9914. } else if containerLen < 0 {
  9915. for j := 0; !dd.CheckBreak(); j++ {
  9916. var mk interface{}
  9917. d.decode(&mk)
  9918. if bv, bok := mk.([]byte); bok {
  9919. mk = string(bv) // maps cannot have []byte as key. switch to string.
  9920. }
  9921. mv := v[mk]
  9922. mv = dd.DecodeInt(64)
  9923. if v != nil {
  9924. v[mk] = mv
  9925. }
  9926. }
  9927. dd.ReadEnd()
  9928. }
  9929. return v, changed
  9930. }
  9931. func (f decFnInfo) fastpathDecMapIntfFloat32R(rv reflect.Value) {
  9932. if rv.CanAddr() {
  9933. vp := rv.Addr().Interface().(*map[interface{}]float32)
  9934. v, changed := fastpathTV.DecMapIntfFloat32V(*vp, fastpathCheckNilFalse, true, f.d)
  9935. if changed {
  9936. *vp = v
  9937. }
  9938. } else {
  9939. v := rv.Interface().(map[interface{}]float32)
  9940. fastpathTV.DecMapIntfFloat32V(v, fastpathCheckNilFalse, false, f.d)
  9941. }
  9942. }
  9943. func (f fastpathT) DecMapIntfFloat32X(vp *map[interface{}]float32, checkNil bool, d *Decoder) {
  9944. v, changed := f.DecMapIntfFloat32V(*vp, checkNil, true, d)
  9945. if changed {
  9946. *vp = v
  9947. }
  9948. }
  9949. func (_ fastpathT) DecMapIntfFloat32V(v map[interface{}]float32, checkNil bool, canChange bool,
  9950. d *Decoder) (_ map[interface{}]float32, changed bool) {
  9951. dd := d.d
  9952. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  9953. if checkNil && dd.TryDecodeAsNil() {
  9954. if v != nil {
  9955. changed = true
  9956. }
  9957. return nil, changed
  9958. }
  9959. containerLen := dd.ReadMapStart()
  9960. if canChange && v == nil {
  9961. if containerLen > 0 {
  9962. v = make(map[interface{}]float32, containerLen)
  9963. } else {
  9964. v = make(map[interface{}]float32) // supports indefinite-length, etc
  9965. }
  9966. changed = true
  9967. }
  9968. if containerLen > 0 {
  9969. for j := 0; j < containerLen; j++ {
  9970. var mk interface{}
  9971. d.decode(&mk)
  9972. if bv, bok := mk.([]byte); bok {
  9973. mk = string(bv) // maps cannot have []byte as key. switch to string.
  9974. }
  9975. mv := v[mk]
  9976. mv = float32(dd.DecodeFloat(true))
  9977. if v != nil {
  9978. v[mk] = mv
  9979. }
  9980. }
  9981. } else if containerLen < 0 {
  9982. for j := 0; !dd.CheckBreak(); j++ {
  9983. var mk interface{}
  9984. d.decode(&mk)
  9985. if bv, bok := mk.([]byte); bok {
  9986. mk = string(bv) // maps cannot have []byte as key. switch to string.
  9987. }
  9988. mv := v[mk]
  9989. mv = float32(dd.DecodeFloat(true))
  9990. if v != nil {
  9991. v[mk] = mv
  9992. }
  9993. }
  9994. dd.ReadEnd()
  9995. }
  9996. return v, changed
  9997. }
  9998. func (f decFnInfo) fastpathDecMapIntfFloat64R(rv reflect.Value) {
  9999. if rv.CanAddr() {
  10000. vp := rv.Addr().Interface().(*map[interface{}]float64)
  10001. v, changed := fastpathTV.DecMapIntfFloat64V(*vp, fastpathCheckNilFalse, true, f.d)
  10002. if changed {
  10003. *vp = v
  10004. }
  10005. } else {
  10006. v := rv.Interface().(map[interface{}]float64)
  10007. fastpathTV.DecMapIntfFloat64V(v, fastpathCheckNilFalse, false, f.d)
  10008. }
  10009. }
  10010. func (f fastpathT) DecMapIntfFloat64X(vp *map[interface{}]float64, checkNil bool, d *Decoder) {
  10011. v, changed := f.DecMapIntfFloat64V(*vp, checkNil, true, d)
  10012. if changed {
  10013. *vp = v
  10014. }
  10015. }
  10016. func (_ fastpathT) DecMapIntfFloat64V(v map[interface{}]float64, checkNil bool, canChange bool,
  10017. d *Decoder) (_ map[interface{}]float64, changed bool) {
  10018. dd := d.d
  10019. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  10020. if checkNil && dd.TryDecodeAsNil() {
  10021. if v != nil {
  10022. changed = true
  10023. }
  10024. return nil, changed
  10025. }
  10026. containerLen := dd.ReadMapStart()
  10027. if canChange && v == nil {
  10028. if containerLen > 0 {
  10029. v = make(map[interface{}]float64, containerLen)
  10030. } else {
  10031. v = make(map[interface{}]float64) // supports indefinite-length, etc
  10032. }
  10033. changed = true
  10034. }
  10035. if containerLen > 0 {
  10036. for j := 0; j < containerLen; j++ {
  10037. var mk interface{}
  10038. d.decode(&mk)
  10039. if bv, bok := mk.([]byte); bok {
  10040. mk = string(bv) // maps cannot have []byte as key. switch to string.
  10041. }
  10042. mv := v[mk]
  10043. mv = dd.DecodeFloat(false)
  10044. if v != nil {
  10045. v[mk] = mv
  10046. }
  10047. }
  10048. } else if containerLen < 0 {
  10049. for j := 0; !dd.CheckBreak(); j++ {
  10050. var mk interface{}
  10051. d.decode(&mk)
  10052. if bv, bok := mk.([]byte); bok {
  10053. mk = string(bv) // maps cannot have []byte as key. switch to string.
  10054. }
  10055. mv := v[mk]
  10056. mv = dd.DecodeFloat(false)
  10057. if v != nil {
  10058. v[mk] = mv
  10059. }
  10060. }
  10061. dd.ReadEnd()
  10062. }
  10063. return v, changed
  10064. }
  10065. func (f decFnInfo) fastpathDecMapIntfBoolR(rv reflect.Value) {
  10066. if rv.CanAddr() {
  10067. vp := rv.Addr().Interface().(*map[interface{}]bool)
  10068. v, changed := fastpathTV.DecMapIntfBoolV(*vp, fastpathCheckNilFalse, true, f.d)
  10069. if changed {
  10070. *vp = v
  10071. }
  10072. } else {
  10073. v := rv.Interface().(map[interface{}]bool)
  10074. fastpathTV.DecMapIntfBoolV(v, fastpathCheckNilFalse, false, f.d)
  10075. }
  10076. }
  10077. func (f fastpathT) DecMapIntfBoolX(vp *map[interface{}]bool, checkNil bool, d *Decoder) {
  10078. v, changed := f.DecMapIntfBoolV(*vp, checkNil, true, d)
  10079. if changed {
  10080. *vp = v
  10081. }
  10082. }
  10083. func (_ fastpathT) DecMapIntfBoolV(v map[interface{}]bool, checkNil bool, canChange bool,
  10084. d *Decoder) (_ map[interface{}]bool, changed bool) {
  10085. dd := d.d
  10086. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  10087. if checkNil && dd.TryDecodeAsNil() {
  10088. if v != nil {
  10089. changed = true
  10090. }
  10091. return nil, changed
  10092. }
  10093. containerLen := dd.ReadMapStart()
  10094. if canChange && v == nil {
  10095. if containerLen > 0 {
  10096. v = make(map[interface{}]bool, containerLen)
  10097. } else {
  10098. v = make(map[interface{}]bool) // supports indefinite-length, etc
  10099. }
  10100. changed = true
  10101. }
  10102. if containerLen > 0 {
  10103. for j := 0; j < containerLen; j++ {
  10104. var mk interface{}
  10105. d.decode(&mk)
  10106. if bv, bok := mk.([]byte); bok {
  10107. mk = string(bv) // maps cannot have []byte as key. switch to string.
  10108. }
  10109. mv := v[mk]
  10110. mv = dd.DecodeBool()
  10111. if v != nil {
  10112. v[mk] = mv
  10113. }
  10114. }
  10115. } else if containerLen < 0 {
  10116. for j := 0; !dd.CheckBreak(); j++ {
  10117. var mk interface{}
  10118. d.decode(&mk)
  10119. if bv, bok := mk.([]byte); bok {
  10120. mk = string(bv) // maps cannot have []byte as key. switch to string.
  10121. }
  10122. mv := v[mk]
  10123. mv = dd.DecodeBool()
  10124. if v != nil {
  10125. v[mk] = mv
  10126. }
  10127. }
  10128. dd.ReadEnd()
  10129. }
  10130. return v, changed
  10131. }
  10132. func (f decFnInfo) fastpathDecMapStringIntfR(rv reflect.Value) {
  10133. if rv.CanAddr() {
  10134. vp := rv.Addr().Interface().(*map[string]interface{})
  10135. v, changed := fastpathTV.DecMapStringIntfV(*vp, fastpathCheckNilFalse, true, f.d)
  10136. if changed {
  10137. *vp = v
  10138. }
  10139. } else {
  10140. v := rv.Interface().(map[string]interface{})
  10141. fastpathTV.DecMapStringIntfV(v, fastpathCheckNilFalse, false, f.d)
  10142. }
  10143. }
  10144. func (f fastpathT) DecMapStringIntfX(vp *map[string]interface{}, checkNil bool, d *Decoder) {
  10145. v, changed := f.DecMapStringIntfV(*vp, checkNil, true, d)
  10146. if changed {
  10147. *vp = v
  10148. }
  10149. }
  10150. func (_ fastpathT) DecMapStringIntfV(v map[string]interface{}, checkNil bool, canChange bool,
  10151. d *Decoder) (_ map[string]interface{}, changed bool) {
  10152. dd := d.d
  10153. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  10154. if checkNil && dd.TryDecodeAsNil() {
  10155. if v != nil {
  10156. changed = true
  10157. }
  10158. return nil, changed
  10159. }
  10160. containerLen := dd.ReadMapStart()
  10161. if canChange && v == nil {
  10162. if containerLen > 0 {
  10163. v = make(map[string]interface{}, containerLen)
  10164. } else {
  10165. v = make(map[string]interface{}) // supports indefinite-length, etc
  10166. }
  10167. changed = true
  10168. }
  10169. if containerLen > 0 {
  10170. for j := 0; j < containerLen; j++ {
  10171. mk := dd.DecodeString()
  10172. mv := v[mk]
  10173. d.decode(&mv)
  10174. if v != nil {
  10175. v[mk] = mv
  10176. }
  10177. }
  10178. } else if containerLen < 0 {
  10179. for j := 0; !dd.CheckBreak(); j++ {
  10180. mk := dd.DecodeString()
  10181. mv := v[mk]
  10182. d.decode(&mv)
  10183. if v != nil {
  10184. v[mk] = mv
  10185. }
  10186. }
  10187. dd.ReadEnd()
  10188. }
  10189. return v, changed
  10190. }
  10191. func (f decFnInfo) fastpathDecMapStringStringR(rv reflect.Value) {
  10192. if rv.CanAddr() {
  10193. vp := rv.Addr().Interface().(*map[string]string)
  10194. v, changed := fastpathTV.DecMapStringStringV(*vp, fastpathCheckNilFalse, true, f.d)
  10195. if changed {
  10196. *vp = v
  10197. }
  10198. } else {
  10199. v := rv.Interface().(map[string]string)
  10200. fastpathTV.DecMapStringStringV(v, fastpathCheckNilFalse, false, f.d)
  10201. }
  10202. }
  10203. func (f fastpathT) DecMapStringStringX(vp *map[string]string, checkNil bool, d *Decoder) {
  10204. v, changed := f.DecMapStringStringV(*vp, checkNil, true, d)
  10205. if changed {
  10206. *vp = v
  10207. }
  10208. }
  10209. func (_ fastpathT) DecMapStringStringV(v map[string]string, checkNil bool, canChange bool,
  10210. d *Decoder) (_ map[string]string, changed bool) {
  10211. dd := d.d
  10212. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  10213. if checkNil && dd.TryDecodeAsNil() {
  10214. if v != nil {
  10215. changed = true
  10216. }
  10217. return nil, changed
  10218. }
  10219. containerLen := dd.ReadMapStart()
  10220. if canChange && v == nil {
  10221. if containerLen > 0 {
  10222. v = make(map[string]string, containerLen)
  10223. } else {
  10224. v = make(map[string]string) // supports indefinite-length, etc
  10225. }
  10226. changed = true
  10227. }
  10228. if containerLen > 0 {
  10229. for j := 0; j < containerLen; j++ {
  10230. mk := dd.DecodeString()
  10231. mv := v[mk]
  10232. mv = dd.DecodeString()
  10233. if v != nil {
  10234. v[mk] = mv
  10235. }
  10236. }
  10237. } else if containerLen < 0 {
  10238. for j := 0; !dd.CheckBreak(); j++ {
  10239. mk := dd.DecodeString()
  10240. mv := v[mk]
  10241. mv = dd.DecodeString()
  10242. if v != nil {
  10243. v[mk] = mv
  10244. }
  10245. }
  10246. dd.ReadEnd()
  10247. }
  10248. return v, changed
  10249. }
  10250. func (f decFnInfo) fastpathDecMapStringUintR(rv reflect.Value) {
  10251. if rv.CanAddr() {
  10252. vp := rv.Addr().Interface().(*map[string]uint)
  10253. v, changed := fastpathTV.DecMapStringUintV(*vp, fastpathCheckNilFalse, true, f.d)
  10254. if changed {
  10255. *vp = v
  10256. }
  10257. } else {
  10258. v := rv.Interface().(map[string]uint)
  10259. fastpathTV.DecMapStringUintV(v, fastpathCheckNilFalse, false, f.d)
  10260. }
  10261. }
  10262. func (f fastpathT) DecMapStringUintX(vp *map[string]uint, checkNil bool, d *Decoder) {
  10263. v, changed := f.DecMapStringUintV(*vp, checkNil, true, d)
  10264. if changed {
  10265. *vp = v
  10266. }
  10267. }
  10268. func (_ fastpathT) DecMapStringUintV(v map[string]uint, checkNil bool, canChange bool,
  10269. d *Decoder) (_ map[string]uint, changed bool) {
  10270. dd := d.d
  10271. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  10272. if checkNil && dd.TryDecodeAsNil() {
  10273. if v != nil {
  10274. changed = true
  10275. }
  10276. return nil, changed
  10277. }
  10278. containerLen := dd.ReadMapStart()
  10279. if canChange && v == nil {
  10280. if containerLen > 0 {
  10281. v = make(map[string]uint, containerLen)
  10282. } else {
  10283. v = make(map[string]uint) // supports indefinite-length, etc
  10284. }
  10285. changed = true
  10286. }
  10287. if containerLen > 0 {
  10288. for j := 0; j < containerLen; j++ {
  10289. mk := dd.DecodeString()
  10290. mv := v[mk]
  10291. mv = uint(dd.DecodeUint(uintBitsize))
  10292. if v != nil {
  10293. v[mk] = mv
  10294. }
  10295. }
  10296. } else if containerLen < 0 {
  10297. for j := 0; !dd.CheckBreak(); j++ {
  10298. mk := dd.DecodeString()
  10299. mv := v[mk]
  10300. mv = uint(dd.DecodeUint(uintBitsize))
  10301. if v != nil {
  10302. v[mk] = mv
  10303. }
  10304. }
  10305. dd.ReadEnd()
  10306. }
  10307. return v, changed
  10308. }
  10309. func (f decFnInfo) fastpathDecMapStringUint8R(rv reflect.Value) {
  10310. if rv.CanAddr() {
  10311. vp := rv.Addr().Interface().(*map[string]uint8)
  10312. v, changed := fastpathTV.DecMapStringUint8V(*vp, fastpathCheckNilFalse, true, f.d)
  10313. if changed {
  10314. *vp = v
  10315. }
  10316. } else {
  10317. v := rv.Interface().(map[string]uint8)
  10318. fastpathTV.DecMapStringUint8V(v, fastpathCheckNilFalse, false, f.d)
  10319. }
  10320. }
  10321. func (f fastpathT) DecMapStringUint8X(vp *map[string]uint8, checkNil bool, d *Decoder) {
  10322. v, changed := f.DecMapStringUint8V(*vp, checkNil, true, d)
  10323. if changed {
  10324. *vp = v
  10325. }
  10326. }
  10327. func (_ fastpathT) DecMapStringUint8V(v map[string]uint8, checkNil bool, canChange bool,
  10328. d *Decoder) (_ map[string]uint8, changed bool) {
  10329. dd := d.d
  10330. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  10331. if checkNil && dd.TryDecodeAsNil() {
  10332. if v != nil {
  10333. changed = true
  10334. }
  10335. return nil, changed
  10336. }
  10337. containerLen := dd.ReadMapStart()
  10338. if canChange && v == nil {
  10339. if containerLen > 0 {
  10340. v = make(map[string]uint8, containerLen)
  10341. } else {
  10342. v = make(map[string]uint8) // supports indefinite-length, etc
  10343. }
  10344. changed = true
  10345. }
  10346. if containerLen > 0 {
  10347. for j := 0; j < containerLen; j++ {
  10348. mk := dd.DecodeString()
  10349. mv := v[mk]
  10350. mv = uint8(dd.DecodeUint(8))
  10351. if v != nil {
  10352. v[mk] = mv
  10353. }
  10354. }
  10355. } else if containerLen < 0 {
  10356. for j := 0; !dd.CheckBreak(); j++ {
  10357. mk := dd.DecodeString()
  10358. mv := v[mk]
  10359. mv = uint8(dd.DecodeUint(8))
  10360. if v != nil {
  10361. v[mk] = mv
  10362. }
  10363. }
  10364. dd.ReadEnd()
  10365. }
  10366. return v, changed
  10367. }
  10368. func (f decFnInfo) fastpathDecMapStringUint16R(rv reflect.Value) {
  10369. if rv.CanAddr() {
  10370. vp := rv.Addr().Interface().(*map[string]uint16)
  10371. v, changed := fastpathTV.DecMapStringUint16V(*vp, fastpathCheckNilFalse, true, f.d)
  10372. if changed {
  10373. *vp = v
  10374. }
  10375. } else {
  10376. v := rv.Interface().(map[string]uint16)
  10377. fastpathTV.DecMapStringUint16V(v, fastpathCheckNilFalse, false, f.d)
  10378. }
  10379. }
  10380. func (f fastpathT) DecMapStringUint16X(vp *map[string]uint16, checkNil bool, d *Decoder) {
  10381. v, changed := f.DecMapStringUint16V(*vp, checkNil, true, d)
  10382. if changed {
  10383. *vp = v
  10384. }
  10385. }
  10386. func (_ fastpathT) DecMapStringUint16V(v map[string]uint16, checkNil bool, canChange bool,
  10387. d *Decoder) (_ map[string]uint16, changed bool) {
  10388. dd := d.d
  10389. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  10390. if checkNil && dd.TryDecodeAsNil() {
  10391. if v != nil {
  10392. changed = true
  10393. }
  10394. return nil, changed
  10395. }
  10396. containerLen := dd.ReadMapStart()
  10397. if canChange && v == nil {
  10398. if containerLen > 0 {
  10399. v = make(map[string]uint16, containerLen)
  10400. } else {
  10401. v = make(map[string]uint16) // supports indefinite-length, etc
  10402. }
  10403. changed = true
  10404. }
  10405. if containerLen > 0 {
  10406. for j := 0; j < containerLen; j++ {
  10407. mk := dd.DecodeString()
  10408. mv := v[mk]
  10409. mv = uint16(dd.DecodeUint(16))
  10410. if v != nil {
  10411. v[mk] = mv
  10412. }
  10413. }
  10414. } else if containerLen < 0 {
  10415. for j := 0; !dd.CheckBreak(); j++ {
  10416. mk := dd.DecodeString()
  10417. mv := v[mk]
  10418. mv = uint16(dd.DecodeUint(16))
  10419. if v != nil {
  10420. v[mk] = mv
  10421. }
  10422. }
  10423. dd.ReadEnd()
  10424. }
  10425. return v, changed
  10426. }
  10427. func (f decFnInfo) fastpathDecMapStringUint32R(rv reflect.Value) {
  10428. if rv.CanAddr() {
  10429. vp := rv.Addr().Interface().(*map[string]uint32)
  10430. v, changed := fastpathTV.DecMapStringUint32V(*vp, fastpathCheckNilFalse, true, f.d)
  10431. if changed {
  10432. *vp = v
  10433. }
  10434. } else {
  10435. v := rv.Interface().(map[string]uint32)
  10436. fastpathTV.DecMapStringUint32V(v, fastpathCheckNilFalse, false, f.d)
  10437. }
  10438. }
  10439. func (f fastpathT) DecMapStringUint32X(vp *map[string]uint32, checkNil bool, d *Decoder) {
  10440. v, changed := f.DecMapStringUint32V(*vp, checkNil, true, d)
  10441. if changed {
  10442. *vp = v
  10443. }
  10444. }
  10445. func (_ fastpathT) DecMapStringUint32V(v map[string]uint32, checkNil bool, canChange bool,
  10446. d *Decoder) (_ map[string]uint32, changed bool) {
  10447. dd := d.d
  10448. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  10449. if checkNil && dd.TryDecodeAsNil() {
  10450. if v != nil {
  10451. changed = true
  10452. }
  10453. return nil, changed
  10454. }
  10455. containerLen := dd.ReadMapStart()
  10456. if canChange && v == nil {
  10457. if containerLen > 0 {
  10458. v = make(map[string]uint32, containerLen)
  10459. } else {
  10460. v = make(map[string]uint32) // supports indefinite-length, etc
  10461. }
  10462. changed = true
  10463. }
  10464. if containerLen > 0 {
  10465. for j := 0; j < containerLen; j++ {
  10466. mk := dd.DecodeString()
  10467. mv := v[mk]
  10468. mv = uint32(dd.DecodeUint(32))
  10469. if v != nil {
  10470. v[mk] = mv
  10471. }
  10472. }
  10473. } else if containerLen < 0 {
  10474. for j := 0; !dd.CheckBreak(); j++ {
  10475. mk := dd.DecodeString()
  10476. mv := v[mk]
  10477. mv = uint32(dd.DecodeUint(32))
  10478. if v != nil {
  10479. v[mk] = mv
  10480. }
  10481. }
  10482. dd.ReadEnd()
  10483. }
  10484. return v, changed
  10485. }
  10486. func (f decFnInfo) fastpathDecMapStringUint64R(rv reflect.Value) {
  10487. if rv.CanAddr() {
  10488. vp := rv.Addr().Interface().(*map[string]uint64)
  10489. v, changed := fastpathTV.DecMapStringUint64V(*vp, fastpathCheckNilFalse, true, f.d)
  10490. if changed {
  10491. *vp = v
  10492. }
  10493. } else {
  10494. v := rv.Interface().(map[string]uint64)
  10495. fastpathTV.DecMapStringUint64V(v, fastpathCheckNilFalse, false, f.d)
  10496. }
  10497. }
  10498. func (f fastpathT) DecMapStringUint64X(vp *map[string]uint64, checkNil bool, d *Decoder) {
  10499. v, changed := f.DecMapStringUint64V(*vp, checkNil, true, d)
  10500. if changed {
  10501. *vp = v
  10502. }
  10503. }
  10504. func (_ fastpathT) DecMapStringUint64V(v map[string]uint64, checkNil bool, canChange bool,
  10505. d *Decoder) (_ map[string]uint64, changed bool) {
  10506. dd := d.d
  10507. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  10508. if checkNil && dd.TryDecodeAsNil() {
  10509. if v != nil {
  10510. changed = true
  10511. }
  10512. return nil, changed
  10513. }
  10514. containerLen := dd.ReadMapStart()
  10515. if canChange && v == nil {
  10516. if containerLen > 0 {
  10517. v = make(map[string]uint64, containerLen)
  10518. } else {
  10519. v = make(map[string]uint64) // supports indefinite-length, etc
  10520. }
  10521. changed = true
  10522. }
  10523. if containerLen > 0 {
  10524. for j := 0; j < containerLen; j++ {
  10525. mk := dd.DecodeString()
  10526. mv := v[mk]
  10527. mv = dd.DecodeUint(64)
  10528. if v != nil {
  10529. v[mk] = mv
  10530. }
  10531. }
  10532. } else if containerLen < 0 {
  10533. for j := 0; !dd.CheckBreak(); j++ {
  10534. mk := dd.DecodeString()
  10535. mv := v[mk]
  10536. mv = dd.DecodeUint(64)
  10537. if v != nil {
  10538. v[mk] = mv
  10539. }
  10540. }
  10541. dd.ReadEnd()
  10542. }
  10543. return v, changed
  10544. }
  10545. func (f decFnInfo) fastpathDecMapStringIntR(rv reflect.Value) {
  10546. if rv.CanAddr() {
  10547. vp := rv.Addr().Interface().(*map[string]int)
  10548. v, changed := fastpathTV.DecMapStringIntV(*vp, fastpathCheckNilFalse, true, f.d)
  10549. if changed {
  10550. *vp = v
  10551. }
  10552. } else {
  10553. v := rv.Interface().(map[string]int)
  10554. fastpathTV.DecMapStringIntV(v, fastpathCheckNilFalse, false, f.d)
  10555. }
  10556. }
  10557. func (f fastpathT) DecMapStringIntX(vp *map[string]int, checkNil bool, d *Decoder) {
  10558. v, changed := f.DecMapStringIntV(*vp, checkNil, true, d)
  10559. if changed {
  10560. *vp = v
  10561. }
  10562. }
  10563. func (_ fastpathT) DecMapStringIntV(v map[string]int, checkNil bool, canChange bool,
  10564. d *Decoder) (_ map[string]int, changed bool) {
  10565. dd := d.d
  10566. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  10567. if checkNil && dd.TryDecodeAsNil() {
  10568. if v != nil {
  10569. changed = true
  10570. }
  10571. return nil, changed
  10572. }
  10573. containerLen := dd.ReadMapStart()
  10574. if canChange && v == nil {
  10575. if containerLen > 0 {
  10576. v = make(map[string]int, containerLen)
  10577. } else {
  10578. v = make(map[string]int) // supports indefinite-length, etc
  10579. }
  10580. changed = true
  10581. }
  10582. if containerLen > 0 {
  10583. for j := 0; j < containerLen; j++ {
  10584. mk := dd.DecodeString()
  10585. mv := v[mk]
  10586. mv = int(dd.DecodeInt(intBitsize))
  10587. if v != nil {
  10588. v[mk] = mv
  10589. }
  10590. }
  10591. } else if containerLen < 0 {
  10592. for j := 0; !dd.CheckBreak(); j++ {
  10593. mk := dd.DecodeString()
  10594. mv := v[mk]
  10595. mv = int(dd.DecodeInt(intBitsize))
  10596. if v != nil {
  10597. v[mk] = mv
  10598. }
  10599. }
  10600. dd.ReadEnd()
  10601. }
  10602. return v, changed
  10603. }
  10604. func (f decFnInfo) fastpathDecMapStringInt8R(rv reflect.Value) {
  10605. if rv.CanAddr() {
  10606. vp := rv.Addr().Interface().(*map[string]int8)
  10607. v, changed := fastpathTV.DecMapStringInt8V(*vp, fastpathCheckNilFalse, true, f.d)
  10608. if changed {
  10609. *vp = v
  10610. }
  10611. } else {
  10612. v := rv.Interface().(map[string]int8)
  10613. fastpathTV.DecMapStringInt8V(v, fastpathCheckNilFalse, false, f.d)
  10614. }
  10615. }
  10616. func (f fastpathT) DecMapStringInt8X(vp *map[string]int8, checkNil bool, d *Decoder) {
  10617. v, changed := f.DecMapStringInt8V(*vp, checkNil, true, d)
  10618. if changed {
  10619. *vp = v
  10620. }
  10621. }
  10622. func (_ fastpathT) DecMapStringInt8V(v map[string]int8, checkNil bool, canChange bool,
  10623. d *Decoder) (_ map[string]int8, changed bool) {
  10624. dd := d.d
  10625. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  10626. if checkNil && dd.TryDecodeAsNil() {
  10627. if v != nil {
  10628. changed = true
  10629. }
  10630. return nil, changed
  10631. }
  10632. containerLen := dd.ReadMapStart()
  10633. if canChange && v == nil {
  10634. if containerLen > 0 {
  10635. v = make(map[string]int8, containerLen)
  10636. } else {
  10637. v = make(map[string]int8) // supports indefinite-length, etc
  10638. }
  10639. changed = true
  10640. }
  10641. if containerLen > 0 {
  10642. for j := 0; j < containerLen; j++ {
  10643. mk := dd.DecodeString()
  10644. mv := v[mk]
  10645. mv = int8(dd.DecodeInt(8))
  10646. if v != nil {
  10647. v[mk] = mv
  10648. }
  10649. }
  10650. } else if containerLen < 0 {
  10651. for j := 0; !dd.CheckBreak(); j++ {
  10652. mk := dd.DecodeString()
  10653. mv := v[mk]
  10654. mv = int8(dd.DecodeInt(8))
  10655. if v != nil {
  10656. v[mk] = mv
  10657. }
  10658. }
  10659. dd.ReadEnd()
  10660. }
  10661. return v, changed
  10662. }
  10663. func (f decFnInfo) fastpathDecMapStringInt16R(rv reflect.Value) {
  10664. if rv.CanAddr() {
  10665. vp := rv.Addr().Interface().(*map[string]int16)
  10666. v, changed := fastpathTV.DecMapStringInt16V(*vp, fastpathCheckNilFalse, true, f.d)
  10667. if changed {
  10668. *vp = v
  10669. }
  10670. } else {
  10671. v := rv.Interface().(map[string]int16)
  10672. fastpathTV.DecMapStringInt16V(v, fastpathCheckNilFalse, false, f.d)
  10673. }
  10674. }
  10675. func (f fastpathT) DecMapStringInt16X(vp *map[string]int16, checkNil bool, d *Decoder) {
  10676. v, changed := f.DecMapStringInt16V(*vp, checkNil, true, d)
  10677. if changed {
  10678. *vp = v
  10679. }
  10680. }
  10681. func (_ fastpathT) DecMapStringInt16V(v map[string]int16, checkNil bool, canChange bool,
  10682. d *Decoder) (_ map[string]int16, changed bool) {
  10683. dd := d.d
  10684. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  10685. if checkNil && dd.TryDecodeAsNil() {
  10686. if v != nil {
  10687. changed = true
  10688. }
  10689. return nil, changed
  10690. }
  10691. containerLen := dd.ReadMapStart()
  10692. if canChange && v == nil {
  10693. if containerLen > 0 {
  10694. v = make(map[string]int16, containerLen)
  10695. } else {
  10696. v = make(map[string]int16) // supports indefinite-length, etc
  10697. }
  10698. changed = true
  10699. }
  10700. if containerLen > 0 {
  10701. for j := 0; j < containerLen; j++ {
  10702. mk := dd.DecodeString()
  10703. mv := v[mk]
  10704. mv = int16(dd.DecodeInt(16))
  10705. if v != nil {
  10706. v[mk] = mv
  10707. }
  10708. }
  10709. } else if containerLen < 0 {
  10710. for j := 0; !dd.CheckBreak(); j++ {
  10711. mk := dd.DecodeString()
  10712. mv := v[mk]
  10713. mv = int16(dd.DecodeInt(16))
  10714. if v != nil {
  10715. v[mk] = mv
  10716. }
  10717. }
  10718. dd.ReadEnd()
  10719. }
  10720. return v, changed
  10721. }
  10722. func (f decFnInfo) fastpathDecMapStringInt32R(rv reflect.Value) {
  10723. if rv.CanAddr() {
  10724. vp := rv.Addr().Interface().(*map[string]int32)
  10725. v, changed := fastpathTV.DecMapStringInt32V(*vp, fastpathCheckNilFalse, true, f.d)
  10726. if changed {
  10727. *vp = v
  10728. }
  10729. } else {
  10730. v := rv.Interface().(map[string]int32)
  10731. fastpathTV.DecMapStringInt32V(v, fastpathCheckNilFalse, false, f.d)
  10732. }
  10733. }
  10734. func (f fastpathT) DecMapStringInt32X(vp *map[string]int32, checkNil bool, d *Decoder) {
  10735. v, changed := f.DecMapStringInt32V(*vp, checkNil, true, d)
  10736. if changed {
  10737. *vp = v
  10738. }
  10739. }
  10740. func (_ fastpathT) DecMapStringInt32V(v map[string]int32, checkNil bool, canChange bool,
  10741. d *Decoder) (_ map[string]int32, changed bool) {
  10742. dd := d.d
  10743. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  10744. if checkNil && dd.TryDecodeAsNil() {
  10745. if v != nil {
  10746. changed = true
  10747. }
  10748. return nil, changed
  10749. }
  10750. containerLen := dd.ReadMapStart()
  10751. if canChange && v == nil {
  10752. if containerLen > 0 {
  10753. v = make(map[string]int32, containerLen)
  10754. } else {
  10755. v = make(map[string]int32) // supports indefinite-length, etc
  10756. }
  10757. changed = true
  10758. }
  10759. if containerLen > 0 {
  10760. for j := 0; j < containerLen; j++ {
  10761. mk := dd.DecodeString()
  10762. mv := v[mk]
  10763. mv = int32(dd.DecodeInt(32))
  10764. if v != nil {
  10765. v[mk] = mv
  10766. }
  10767. }
  10768. } else if containerLen < 0 {
  10769. for j := 0; !dd.CheckBreak(); j++ {
  10770. mk := dd.DecodeString()
  10771. mv := v[mk]
  10772. mv = int32(dd.DecodeInt(32))
  10773. if v != nil {
  10774. v[mk] = mv
  10775. }
  10776. }
  10777. dd.ReadEnd()
  10778. }
  10779. return v, changed
  10780. }
  10781. func (f decFnInfo) fastpathDecMapStringInt64R(rv reflect.Value) {
  10782. if rv.CanAddr() {
  10783. vp := rv.Addr().Interface().(*map[string]int64)
  10784. v, changed := fastpathTV.DecMapStringInt64V(*vp, fastpathCheckNilFalse, true, f.d)
  10785. if changed {
  10786. *vp = v
  10787. }
  10788. } else {
  10789. v := rv.Interface().(map[string]int64)
  10790. fastpathTV.DecMapStringInt64V(v, fastpathCheckNilFalse, false, f.d)
  10791. }
  10792. }
  10793. func (f fastpathT) DecMapStringInt64X(vp *map[string]int64, checkNil bool, d *Decoder) {
  10794. v, changed := f.DecMapStringInt64V(*vp, checkNil, true, d)
  10795. if changed {
  10796. *vp = v
  10797. }
  10798. }
  10799. func (_ fastpathT) DecMapStringInt64V(v map[string]int64, checkNil bool, canChange bool,
  10800. d *Decoder) (_ map[string]int64, changed bool) {
  10801. dd := d.d
  10802. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  10803. if checkNil && dd.TryDecodeAsNil() {
  10804. if v != nil {
  10805. changed = true
  10806. }
  10807. return nil, changed
  10808. }
  10809. containerLen := dd.ReadMapStart()
  10810. if canChange && v == nil {
  10811. if containerLen > 0 {
  10812. v = make(map[string]int64, containerLen)
  10813. } else {
  10814. v = make(map[string]int64) // supports indefinite-length, etc
  10815. }
  10816. changed = true
  10817. }
  10818. if containerLen > 0 {
  10819. for j := 0; j < containerLen; j++ {
  10820. mk := dd.DecodeString()
  10821. mv := v[mk]
  10822. mv = dd.DecodeInt(64)
  10823. if v != nil {
  10824. v[mk] = mv
  10825. }
  10826. }
  10827. } else if containerLen < 0 {
  10828. for j := 0; !dd.CheckBreak(); j++ {
  10829. mk := dd.DecodeString()
  10830. mv := v[mk]
  10831. mv = dd.DecodeInt(64)
  10832. if v != nil {
  10833. v[mk] = mv
  10834. }
  10835. }
  10836. dd.ReadEnd()
  10837. }
  10838. return v, changed
  10839. }
  10840. func (f decFnInfo) fastpathDecMapStringFloat32R(rv reflect.Value) {
  10841. if rv.CanAddr() {
  10842. vp := rv.Addr().Interface().(*map[string]float32)
  10843. v, changed := fastpathTV.DecMapStringFloat32V(*vp, fastpathCheckNilFalse, true, f.d)
  10844. if changed {
  10845. *vp = v
  10846. }
  10847. } else {
  10848. v := rv.Interface().(map[string]float32)
  10849. fastpathTV.DecMapStringFloat32V(v, fastpathCheckNilFalse, false, f.d)
  10850. }
  10851. }
  10852. func (f fastpathT) DecMapStringFloat32X(vp *map[string]float32, checkNil bool, d *Decoder) {
  10853. v, changed := f.DecMapStringFloat32V(*vp, checkNil, true, d)
  10854. if changed {
  10855. *vp = v
  10856. }
  10857. }
  10858. func (_ fastpathT) DecMapStringFloat32V(v map[string]float32, checkNil bool, canChange bool,
  10859. d *Decoder) (_ map[string]float32, changed bool) {
  10860. dd := d.d
  10861. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  10862. if checkNil && dd.TryDecodeAsNil() {
  10863. if v != nil {
  10864. changed = true
  10865. }
  10866. return nil, changed
  10867. }
  10868. containerLen := dd.ReadMapStart()
  10869. if canChange && v == nil {
  10870. if containerLen > 0 {
  10871. v = make(map[string]float32, containerLen)
  10872. } else {
  10873. v = make(map[string]float32) // supports indefinite-length, etc
  10874. }
  10875. changed = true
  10876. }
  10877. if containerLen > 0 {
  10878. for j := 0; j < containerLen; j++ {
  10879. mk := dd.DecodeString()
  10880. mv := v[mk]
  10881. mv = float32(dd.DecodeFloat(true))
  10882. if v != nil {
  10883. v[mk] = mv
  10884. }
  10885. }
  10886. } else if containerLen < 0 {
  10887. for j := 0; !dd.CheckBreak(); j++ {
  10888. mk := dd.DecodeString()
  10889. mv := v[mk]
  10890. mv = float32(dd.DecodeFloat(true))
  10891. if v != nil {
  10892. v[mk] = mv
  10893. }
  10894. }
  10895. dd.ReadEnd()
  10896. }
  10897. return v, changed
  10898. }
  10899. func (f decFnInfo) fastpathDecMapStringFloat64R(rv reflect.Value) {
  10900. if rv.CanAddr() {
  10901. vp := rv.Addr().Interface().(*map[string]float64)
  10902. v, changed := fastpathTV.DecMapStringFloat64V(*vp, fastpathCheckNilFalse, true, f.d)
  10903. if changed {
  10904. *vp = v
  10905. }
  10906. } else {
  10907. v := rv.Interface().(map[string]float64)
  10908. fastpathTV.DecMapStringFloat64V(v, fastpathCheckNilFalse, false, f.d)
  10909. }
  10910. }
  10911. func (f fastpathT) DecMapStringFloat64X(vp *map[string]float64, checkNil bool, d *Decoder) {
  10912. v, changed := f.DecMapStringFloat64V(*vp, checkNil, true, d)
  10913. if changed {
  10914. *vp = v
  10915. }
  10916. }
  10917. func (_ fastpathT) DecMapStringFloat64V(v map[string]float64, checkNil bool, canChange bool,
  10918. d *Decoder) (_ map[string]float64, changed bool) {
  10919. dd := d.d
  10920. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  10921. if checkNil && dd.TryDecodeAsNil() {
  10922. if v != nil {
  10923. changed = true
  10924. }
  10925. return nil, changed
  10926. }
  10927. containerLen := dd.ReadMapStart()
  10928. if canChange && v == nil {
  10929. if containerLen > 0 {
  10930. v = make(map[string]float64, containerLen)
  10931. } else {
  10932. v = make(map[string]float64) // supports indefinite-length, etc
  10933. }
  10934. changed = true
  10935. }
  10936. if containerLen > 0 {
  10937. for j := 0; j < containerLen; j++ {
  10938. mk := dd.DecodeString()
  10939. mv := v[mk]
  10940. mv = dd.DecodeFloat(false)
  10941. if v != nil {
  10942. v[mk] = mv
  10943. }
  10944. }
  10945. } else if containerLen < 0 {
  10946. for j := 0; !dd.CheckBreak(); j++ {
  10947. mk := dd.DecodeString()
  10948. mv := v[mk]
  10949. mv = dd.DecodeFloat(false)
  10950. if v != nil {
  10951. v[mk] = mv
  10952. }
  10953. }
  10954. dd.ReadEnd()
  10955. }
  10956. return v, changed
  10957. }
  10958. func (f decFnInfo) fastpathDecMapStringBoolR(rv reflect.Value) {
  10959. if rv.CanAddr() {
  10960. vp := rv.Addr().Interface().(*map[string]bool)
  10961. v, changed := fastpathTV.DecMapStringBoolV(*vp, fastpathCheckNilFalse, true, f.d)
  10962. if changed {
  10963. *vp = v
  10964. }
  10965. } else {
  10966. v := rv.Interface().(map[string]bool)
  10967. fastpathTV.DecMapStringBoolV(v, fastpathCheckNilFalse, false, f.d)
  10968. }
  10969. }
  10970. func (f fastpathT) DecMapStringBoolX(vp *map[string]bool, checkNil bool, d *Decoder) {
  10971. v, changed := f.DecMapStringBoolV(*vp, checkNil, true, d)
  10972. if changed {
  10973. *vp = v
  10974. }
  10975. }
  10976. func (_ fastpathT) DecMapStringBoolV(v map[string]bool, checkNil bool, canChange bool,
  10977. d *Decoder) (_ map[string]bool, changed bool) {
  10978. dd := d.d
  10979. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  10980. if checkNil && dd.TryDecodeAsNil() {
  10981. if v != nil {
  10982. changed = true
  10983. }
  10984. return nil, changed
  10985. }
  10986. containerLen := dd.ReadMapStart()
  10987. if canChange && v == nil {
  10988. if containerLen > 0 {
  10989. v = make(map[string]bool, containerLen)
  10990. } else {
  10991. v = make(map[string]bool) // supports indefinite-length, etc
  10992. }
  10993. changed = true
  10994. }
  10995. if containerLen > 0 {
  10996. for j := 0; j < containerLen; j++ {
  10997. mk := dd.DecodeString()
  10998. mv := v[mk]
  10999. mv = dd.DecodeBool()
  11000. if v != nil {
  11001. v[mk] = mv
  11002. }
  11003. }
  11004. } else if containerLen < 0 {
  11005. for j := 0; !dd.CheckBreak(); j++ {
  11006. mk := dd.DecodeString()
  11007. mv := v[mk]
  11008. mv = dd.DecodeBool()
  11009. if v != nil {
  11010. v[mk] = mv
  11011. }
  11012. }
  11013. dd.ReadEnd()
  11014. }
  11015. return v, changed
  11016. }
  11017. func (f decFnInfo) fastpathDecMapFloat32IntfR(rv reflect.Value) {
  11018. if rv.CanAddr() {
  11019. vp := rv.Addr().Interface().(*map[float32]interface{})
  11020. v, changed := fastpathTV.DecMapFloat32IntfV(*vp, fastpathCheckNilFalse, true, f.d)
  11021. if changed {
  11022. *vp = v
  11023. }
  11024. } else {
  11025. v := rv.Interface().(map[float32]interface{})
  11026. fastpathTV.DecMapFloat32IntfV(v, fastpathCheckNilFalse, false, f.d)
  11027. }
  11028. }
  11029. func (f fastpathT) DecMapFloat32IntfX(vp *map[float32]interface{}, checkNil bool, d *Decoder) {
  11030. v, changed := f.DecMapFloat32IntfV(*vp, checkNil, true, d)
  11031. if changed {
  11032. *vp = v
  11033. }
  11034. }
  11035. func (_ fastpathT) DecMapFloat32IntfV(v map[float32]interface{}, checkNil bool, canChange bool,
  11036. d *Decoder) (_ map[float32]interface{}, changed bool) {
  11037. dd := d.d
  11038. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  11039. if checkNil && dd.TryDecodeAsNil() {
  11040. if v != nil {
  11041. changed = true
  11042. }
  11043. return nil, changed
  11044. }
  11045. containerLen := dd.ReadMapStart()
  11046. if canChange && v == nil {
  11047. if containerLen > 0 {
  11048. v = make(map[float32]interface{}, containerLen)
  11049. } else {
  11050. v = make(map[float32]interface{}) // supports indefinite-length, etc
  11051. }
  11052. changed = true
  11053. }
  11054. if containerLen > 0 {
  11055. for j := 0; j < containerLen; j++ {
  11056. mk := float32(dd.DecodeFloat(true))
  11057. mv := v[mk]
  11058. d.decode(&mv)
  11059. if v != nil {
  11060. v[mk] = mv
  11061. }
  11062. }
  11063. } else if containerLen < 0 {
  11064. for j := 0; !dd.CheckBreak(); j++ {
  11065. mk := float32(dd.DecodeFloat(true))
  11066. mv := v[mk]
  11067. d.decode(&mv)
  11068. if v != nil {
  11069. v[mk] = mv
  11070. }
  11071. }
  11072. dd.ReadEnd()
  11073. }
  11074. return v, changed
  11075. }
  11076. func (f decFnInfo) fastpathDecMapFloat32StringR(rv reflect.Value) {
  11077. if rv.CanAddr() {
  11078. vp := rv.Addr().Interface().(*map[float32]string)
  11079. v, changed := fastpathTV.DecMapFloat32StringV(*vp, fastpathCheckNilFalse, true, f.d)
  11080. if changed {
  11081. *vp = v
  11082. }
  11083. } else {
  11084. v := rv.Interface().(map[float32]string)
  11085. fastpathTV.DecMapFloat32StringV(v, fastpathCheckNilFalse, false, f.d)
  11086. }
  11087. }
  11088. func (f fastpathT) DecMapFloat32StringX(vp *map[float32]string, checkNil bool, d *Decoder) {
  11089. v, changed := f.DecMapFloat32StringV(*vp, checkNil, true, d)
  11090. if changed {
  11091. *vp = v
  11092. }
  11093. }
  11094. func (_ fastpathT) DecMapFloat32StringV(v map[float32]string, checkNil bool, canChange bool,
  11095. d *Decoder) (_ map[float32]string, changed bool) {
  11096. dd := d.d
  11097. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  11098. if checkNil && dd.TryDecodeAsNil() {
  11099. if v != nil {
  11100. changed = true
  11101. }
  11102. return nil, changed
  11103. }
  11104. containerLen := dd.ReadMapStart()
  11105. if canChange && v == nil {
  11106. if containerLen > 0 {
  11107. v = make(map[float32]string, containerLen)
  11108. } else {
  11109. v = make(map[float32]string) // supports indefinite-length, etc
  11110. }
  11111. changed = true
  11112. }
  11113. if containerLen > 0 {
  11114. for j := 0; j < containerLen; j++ {
  11115. mk := float32(dd.DecodeFloat(true))
  11116. mv := v[mk]
  11117. mv = dd.DecodeString()
  11118. if v != nil {
  11119. v[mk] = mv
  11120. }
  11121. }
  11122. } else if containerLen < 0 {
  11123. for j := 0; !dd.CheckBreak(); j++ {
  11124. mk := float32(dd.DecodeFloat(true))
  11125. mv := v[mk]
  11126. mv = dd.DecodeString()
  11127. if v != nil {
  11128. v[mk] = mv
  11129. }
  11130. }
  11131. dd.ReadEnd()
  11132. }
  11133. return v, changed
  11134. }
  11135. func (f decFnInfo) fastpathDecMapFloat32UintR(rv reflect.Value) {
  11136. if rv.CanAddr() {
  11137. vp := rv.Addr().Interface().(*map[float32]uint)
  11138. v, changed := fastpathTV.DecMapFloat32UintV(*vp, fastpathCheckNilFalse, true, f.d)
  11139. if changed {
  11140. *vp = v
  11141. }
  11142. } else {
  11143. v := rv.Interface().(map[float32]uint)
  11144. fastpathTV.DecMapFloat32UintV(v, fastpathCheckNilFalse, false, f.d)
  11145. }
  11146. }
  11147. func (f fastpathT) DecMapFloat32UintX(vp *map[float32]uint, checkNil bool, d *Decoder) {
  11148. v, changed := f.DecMapFloat32UintV(*vp, checkNil, true, d)
  11149. if changed {
  11150. *vp = v
  11151. }
  11152. }
  11153. func (_ fastpathT) DecMapFloat32UintV(v map[float32]uint, checkNil bool, canChange bool,
  11154. d *Decoder) (_ map[float32]uint, changed bool) {
  11155. dd := d.d
  11156. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  11157. if checkNil && dd.TryDecodeAsNil() {
  11158. if v != nil {
  11159. changed = true
  11160. }
  11161. return nil, changed
  11162. }
  11163. containerLen := dd.ReadMapStart()
  11164. if canChange && v == nil {
  11165. if containerLen > 0 {
  11166. v = make(map[float32]uint, containerLen)
  11167. } else {
  11168. v = make(map[float32]uint) // supports indefinite-length, etc
  11169. }
  11170. changed = true
  11171. }
  11172. if containerLen > 0 {
  11173. for j := 0; j < containerLen; j++ {
  11174. mk := float32(dd.DecodeFloat(true))
  11175. mv := v[mk]
  11176. mv = uint(dd.DecodeUint(uintBitsize))
  11177. if v != nil {
  11178. v[mk] = mv
  11179. }
  11180. }
  11181. } else if containerLen < 0 {
  11182. for j := 0; !dd.CheckBreak(); j++ {
  11183. mk := float32(dd.DecodeFloat(true))
  11184. mv := v[mk]
  11185. mv = uint(dd.DecodeUint(uintBitsize))
  11186. if v != nil {
  11187. v[mk] = mv
  11188. }
  11189. }
  11190. dd.ReadEnd()
  11191. }
  11192. return v, changed
  11193. }
  11194. func (f decFnInfo) fastpathDecMapFloat32Uint8R(rv reflect.Value) {
  11195. if rv.CanAddr() {
  11196. vp := rv.Addr().Interface().(*map[float32]uint8)
  11197. v, changed := fastpathTV.DecMapFloat32Uint8V(*vp, fastpathCheckNilFalse, true, f.d)
  11198. if changed {
  11199. *vp = v
  11200. }
  11201. } else {
  11202. v := rv.Interface().(map[float32]uint8)
  11203. fastpathTV.DecMapFloat32Uint8V(v, fastpathCheckNilFalse, false, f.d)
  11204. }
  11205. }
  11206. func (f fastpathT) DecMapFloat32Uint8X(vp *map[float32]uint8, checkNil bool, d *Decoder) {
  11207. v, changed := f.DecMapFloat32Uint8V(*vp, checkNil, true, d)
  11208. if changed {
  11209. *vp = v
  11210. }
  11211. }
  11212. func (_ fastpathT) DecMapFloat32Uint8V(v map[float32]uint8, checkNil bool, canChange bool,
  11213. d *Decoder) (_ map[float32]uint8, changed bool) {
  11214. dd := d.d
  11215. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  11216. if checkNil && dd.TryDecodeAsNil() {
  11217. if v != nil {
  11218. changed = true
  11219. }
  11220. return nil, changed
  11221. }
  11222. containerLen := dd.ReadMapStart()
  11223. if canChange && v == nil {
  11224. if containerLen > 0 {
  11225. v = make(map[float32]uint8, containerLen)
  11226. } else {
  11227. v = make(map[float32]uint8) // supports indefinite-length, etc
  11228. }
  11229. changed = true
  11230. }
  11231. if containerLen > 0 {
  11232. for j := 0; j < containerLen; j++ {
  11233. mk := float32(dd.DecodeFloat(true))
  11234. mv := v[mk]
  11235. mv = uint8(dd.DecodeUint(8))
  11236. if v != nil {
  11237. v[mk] = mv
  11238. }
  11239. }
  11240. } else if containerLen < 0 {
  11241. for j := 0; !dd.CheckBreak(); j++ {
  11242. mk := float32(dd.DecodeFloat(true))
  11243. mv := v[mk]
  11244. mv = uint8(dd.DecodeUint(8))
  11245. if v != nil {
  11246. v[mk] = mv
  11247. }
  11248. }
  11249. dd.ReadEnd()
  11250. }
  11251. return v, changed
  11252. }
  11253. func (f decFnInfo) fastpathDecMapFloat32Uint16R(rv reflect.Value) {
  11254. if rv.CanAddr() {
  11255. vp := rv.Addr().Interface().(*map[float32]uint16)
  11256. v, changed := fastpathTV.DecMapFloat32Uint16V(*vp, fastpathCheckNilFalse, true, f.d)
  11257. if changed {
  11258. *vp = v
  11259. }
  11260. } else {
  11261. v := rv.Interface().(map[float32]uint16)
  11262. fastpathTV.DecMapFloat32Uint16V(v, fastpathCheckNilFalse, false, f.d)
  11263. }
  11264. }
  11265. func (f fastpathT) DecMapFloat32Uint16X(vp *map[float32]uint16, checkNil bool, d *Decoder) {
  11266. v, changed := f.DecMapFloat32Uint16V(*vp, checkNil, true, d)
  11267. if changed {
  11268. *vp = v
  11269. }
  11270. }
  11271. func (_ fastpathT) DecMapFloat32Uint16V(v map[float32]uint16, checkNil bool, canChange bool,
  11272. d *Decoder) (_ map[float32]uint16, changed bool) {
  11273. dd := d.d
  11274. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  11275. if checkNil && dd.TryDecodeAsNil() {
  11276. if v != nil {
  11277. changed = true
  11278. }
  11279. return nil, changed
  11280. }
  11281. containerLen := dd.ReadMapStart()
  11282. if canChange && v == nil {
  11283. if containerLen > 0 {
  11284. v = make(map[float32]uint16, containerLen)
  11285. } else {
  11286. v = make(map[float32]uint16) // supports indefinite-length, etc
  11287. }
  11288. changed = true
  11289. }
  11290. if containerLen > 0 {
  11291. for j := 0; j < containerLen; j++ {
  11292. mk := float32(dd.DecodeFloat(true))
  11293. mv := v[mk]
  11294. mv = uint16(dd.DecodeUint(16))
  11295. if v != nil {
  11296. v[mk] = mv
  11297. }
  11298. }
  11299. } else if containerLen < 0 {
  11300. for j := 0; !dd.CheckBreak(); j++ {
  11301. mk := float32(dd.DecodeFloat(true))
  11302. mv := v[mk]
  11303. mv = uint16(dd.DecodeUint(16))
  11304. if v != nil {
  11305. v[mk] = mv
  11306. }
  11307. }
  11308. dd.ReadEnd()
  11309. }
  11310. return v, changed
  11311. }
  11312. func (f decFnInfo) fastpathDecMapFloat32Uint32R(rv reflect.Value) {
  11313. if rv.CanAddr() {
  11314. vp := rv.Addr().Interface().(*map[float32]uint32)
  11315. v, changed := fastpathTV.DecMapFloat32Uint32V(*vp, fastpathCheckNilFalse, true, f.d)
  11316. if changed {
  11317. *vp = v
  11318. }
  11319. } else {
  11320. v := rv.Interface().(map[float32]uint32)
  11321. fastpathTV.DecMapFloat32Uint32V(v, fastpathCheckNilFalse, false, f.d)
  11322. }
  11323. }
  11324. func (f fastpathT) DecMapFloat32Uint32X(vp *map[float32]uint32, checkNil bool, d *Decoder) {
  11325. v, changed := f.DecMapFloat32Uint32V(*vp, checkNil, true, d)
  11326. if changed {
  11327. *vp = v
  11328. }
  11329. }
  11330. func (_ fastpathT) DecMapFloat32Uint32V(v map[float32]uint32, checkNil bool, canChange bool,
  11331. d *Decoder) (_ map[float32]uint32, changed bool) {
  11332. dd := d.d
  11333. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  11334. if checkNil && dd.TryDecodeAsNil() {
  11335. if v != nil {
  11336. changed = true
  11337. }
  11338. return nil, changed
  11339. }
  11340. containerLen := dd.ReadMapStart()
  11341. if canChange && v == nil {
  11342. if containerLen > 0 {
  11343. v = make(map[float32]uint32, containerLen)
  11344. } else {
  11345. v = make(map[float32]uint32) // supports indefinite-length, etc
  11346. }
  11347. changed = true
  11348. }
  11349. if containerLen > 0 {
  11350. for j := 0; j < containerLen; j++ {
  11351. mk := float32(dd.DecodeFloat(true))
  11352. mv := v[mk]
  11353. mv = uint32(dd.DecodeUint(32))
  11354. if v != nil {
  11355. v[mk] = mv
  11356. }
  11357. }
  11358. } else if containerLen < 0 {
  11359. for j := 0; !dd.CheckBreak(); j++ {
  11360. mk := float32(dd.DecodeFloat(true))
  11361. mv := v[mk]
  11362. mv = uint32(dd.DecodeUint(32))
  11363. if v != nil {
  11364. v[mk] = mv
  11365. }
  11366. }
  11367. dd.ReadEnd()
  11368. }
  11369. return v, changed
  11370. }
  11371. func (f decFnInfo) fastpathDecMapFloat32Uint64R(rv reflect.Value) {
  11372. if rv.CanAddr() {
  11373. vp := rv.Addr().Interface().(*map[float32]uint64)
  11374. v, changed := fastpathTV.DecMapFloat32Uint64V(*vp, fastpathCheckNilFalse, true, f.d)
  11375. if changed {
  11376. *vp = v
  11377. }
  11378. } else {
  11379. v := rv.Interface().(map[float32]uint64)
  11380. fastpathTV.DecMapFloat32Uint64V(v, fastpathCheckNilFalse, false, f.d)
  11381. }
  11382. }
  11383. func (f fastpathT) DecMapFloat32Uint64X(vp *map[float32]uint64, checkNil bool, d *Decoder) {
  11384. v, changed := f.DecMapFloat32Uint64V(*vp, checkNil, true, d)
  11385. if changed {
  11386. *vp = v
  11387. }
  11388. }
  11389. func (_ fastpathT) DecMapFloat32Uint64V(v map[float32]uint64, checkNil bool, canChange bool,
  11390. d *Decoder) (_ map[float32]uint64, changed bool) {
  11391. dd := d.d
  11392. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  11393. if checkNil && dd.TryDecodeAsNil() {
  11394. if v != nil {
  11395. changed = true
  11396. }
  11397. return nil, changed
  11398. }
  11399. containerLen := dd.ReadMapStart()
  11400. if canChange && v == nil {
  11401. if containerLen > 0 {
  11402. v = make(map[float32]uint64, containerLen)
  11403. } else {
  11404. v = make(map[float32]uint64) // supports indefinite-length, etc
  11405. }
  11406. changed = true
  11407. }
  11408. if containerLen > 0 {
  11409. for j := 0; j < containerLen; j++ {
  11410. mk := float32(dd.DecodeFloat(true))
  11411. mv := v[mk]
  11412. mv = dd.DecodeUint(64)
  11413. if v != nil {
  11414. v[mk] = mv
  11415. }
  11416. }
  11417. } else if containerLen < 0 {
  11418. for j := 0; !dd.CheckBreak(); j++ {
  11419. mk := float32(dd.DecodeFloat(true))
  11420. mv := v[mk]
  11421. mv = dd.DecodeUint(64)
  11422. if v != nil {
  11423. v[mk] = mv
  11424. }
  11425. }
  11426. dd.ReadEnd()
  11427. }
  11428. return v, changed
  11429. }
  11430. func (f decFnInfo) fastpathDecMapFloat32IntR(rv reflect.Value) {
  11431. if rv.CanAddr() {
  11432. vp := rv.Addr().Interface().(*map[float32]int)
  11433. v, changed := fastpathTV.DecMapFloat32IntV(*vp, fastpathCheckNilFalse, true, f.d)
  11434. if changed {
  11435. *vp = v
  11436. }
  11437. } else {
  11438. v := rv.Interface().(map[float32]int)
  11439. fastpathTV.DecMapFloat32IntV(v, fastpathCheckNilFalse, false, f.d)
  11440. }
  11441. }
  11442. func (f fastpathT) DecMapFloat32IntX(vp *map[float32]int, checkNil bool, d *Decoder) {
  11443. v, changed := f.DecMapFloat32IntV(*vp, checkNil, true, d)
  11444. if changed {
  11445. *vp = v
  11446. }
  11447. }
  11448. func (_ fastpathT) DecMapFloat32IntV(v map[float32]int, checkNil bool, canChange bool,
  11449. d *Decoder) (_ map[float32]int, changed bool) {
  11450. dd := d.d
  11451. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  11452. if checkNil && dd.TryDecodeAsNil() {
  11453. if v != nil {
  11454. changed = true
  11455. }
  11456. return nil, changed
  11457. }
  11458. containerLen := dd.ReadMapStart()
  11459. if canChange && v == nil {
  11460. if containerLen > 0 {
  11461. v = make(map[float32]int, containerLen)
  11462. } else {
  11463. v = make(map[float32]int) // supports indefinite-length, etc
  11464. }
  11465. changed = true
  11466. }
  11467. if containerLen > 0 {
  11468. for j := 0; j < containerLen; j++ {
  11469. mk := float32(dd.DecodeFloat(true))
  11470. mv := v[mk]
  11471. mv = int(dd.DecodeInt(intBitsize))
  11472. if v != nil {
  11473. v[mk] = mv
  11474. }
  11475. }
  11476. } else if containerLen < 0 {
  11477. for j := 0; !dd.CheckBreak(); j++ {
  11478. mk := float32(dd.DecodeFloat(true))
  11479. mv := v[mk]
  11480. mv = int(dd.DecodeInt(intBitsize))
  11481. if v != nil {
  11482. v[mk] = mv
  11483. }
  11484. }
  11485. dd.ReadEnd()
  11486. }
  11487. return v, changed
  11488. }
  11489. func (f decFnInfo) fastpathDecMapFloat32Int8R(rv reflect.Value) {
  11490. if rv.CanAddr() {
  11491. vp := rv.Addr().Interface().(*map[float32]int8)
  11492. v, changed := fastpathTV.DecMapFloat32Int8V(*vp, fastpathCheckNilFalse, true, f.d)
  11493. if changed {
  11494. *vp = v
  11495. }
  11496. } else {
  11497. v := rv.Interface().(map[float32]int8)
  11498. fastpathTV.DecMapFloat32Int8V(v, fastpathCheckNilFalse, false, f.d)
  11499. }
  11500. }
  11501. func (f fastpathT) DecMapFloat32Int8X(vp *map[float32]int8, checkNil bool, d *Decoder) {
  11502. v, changed := f.DecMapFloat32Int8V(*vp, checkNil, true, d)
  11503. if changed {
  11504. *vp = v
  11505. }
  11506. }
  11507. func (_ fastpathT) DecMapFloat32Int8V(v map[float32]int8, checkNil bool, canChange bool,
  11508. d *Decoder) (_ map[float32]int8, changed bool) {
  11509. dd := d.d
  11510. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  11511. if checkNil && dd.TryDecodeAsNil() {
  11512. if v != nil {
  11513. changed = true
  11514. }
  11515. return nil, changed
  11516. }
  11517. containerLen := dd.ReadMapStart()
  11518. if canChange && v == nil {
  11519. if containerLen > 0 {
  11520. v = make(map[float32]int8, containerLen)
  11521. } else {
  11522. v = make(map[float32]int8) // supports indefinite-length, etc
  11523. }
  11524. changed = true
  11525. }
  11526. if containerLen > 0 {
  11527. for j := 0; j < containerLen; j++ {
  11528. mk := float32(dd.DecodeFloat(true))
  11529. mv := v[mk]
  11530. mv = int8(dd.DecodeInt(8))
  11531. if v != nil {
  11532. v[mk] = mv
  11533. }
  11534. }
  11535. } else if containerLen < 0 {
  11536. for j := 0; !dd.CheckBreak(); j++ {
  11537. mk := float32(dd.DecodeFloat(true))
  11538. mv := v[mk]
  11539. mv = int8(dd.DecodeInt(8))
  11540. if v != nil {
  11541. v[mk] = mv
  11542. }
  11543. }
  11544. dd.ReadEnd()
  11545. }
  11546. return v, changed
  11547. }
  11548. func (f decFnInfo) fastpathDecMapFloat32Int16R(rv reflect.Value) {
  11549. if rv.CanAddr() {
  11550. vp := rv.Addr().Interface().(*map[float32]int16)
  11551. v, changed := fastpathTV.DecMapFloat32Int16V(*vp, fastpathCheckNilFalse, true, f.d)
  11552. if changed {
  11553. *vp = v
  11554. }
  11555. } else {
  11556. v := rv.Interface().(map[float32]int16)
  11557. fastpathTV.DecMapFloat32Int16V(v, fastpathCheckNilFalse, false, f.d)
  11558. }
  11559. }
  11560. func (f fastpathT) DecMapFloat32Int16X(vp *map[float32]int16, checkNil bool, d *Decoder) {
  11561. v, changed := f.DecMapFloat32Int16V(*vp, checkNil, true, d)
  11562. if changed {
  11563. *vp = v
  11564. }
  11565. }
  11566. func (_ fastpathT) DecMapFloat32Int16V(v map[float32]int16, checkNil bool, canChange bool,
  11567. d *Decoder) (_ map[float32]int16, changed bool) {
  11568. dd := d.d
  11569. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  11570. if checkNil && dd.TryDecodeAsNil() {
  11571. if v != nil {
  11572. changed = true
  11573. }
  11574. return nil, changed
  11575. }
  11576. containerLen := dd.ReadMapStart()
  11577. if canChange && v == nil {
  11578. if containerLen > 0 {
  11579. v = make(map[float32]int16, containerLen)
  11580. } else {
  11581. v = make(map[float32]int16) // supports indefinite-length, etc
  11582. }
  11583. changed = true
  11584. }
  11585. if containerLen > 0 {
  11586. for j := 0; j < containerLen; j++ {
  11587. mk := float32(dd.DecodeFloat(true))
  11588. mv := v[mk]
  11589. mv = int16(dd.DecodeInt(16))
  11590. if v != nil {
  11591. v[mk] = mv
  11592. }
  11593. }
  11594. } else if containerLen < 0 {
  11595. for j := 0; !dd.CheckBreak(); j++ {
  11596. mk := float32(dd.DecodeFloat(true))
  11597. mv := v[mk]
  11598. mv = int16(dd.DecodeInt(16))
  11599. if v != nil {
  11600. v[mk] = mv
  11601. }
  11602. }
  11603. dd.ReadEnd()
  11604. }
  11605. return v, changed
  11606. }
  11607. func (f decFnInfo) fastpathDecMapFloat32Int32R(rv reflect.Value) {
  11608. if rv.CanAddr() {
  11609. vp := rv.Addr().Interface().(*map[float32]int32)
  11610. v, changed := fastpathTV.DecMapFloat32Int32V(*vp, fastpathCheckNilFalse, true, f.d)
  11611. if changed {
  11612. *vp = v
  11613. }
  11614. } else {
  11615. v := rv.Interface().(map[float32]int32)
  11616. fastpathTV.DecMapFloat32Int32V(v, fastpathCheckNilFalse, false, f.d)
  11617. }
  11618. }
  11619. func (f fastpathT) DecMapFloat32Int32X(vp *map[float32]int32, checkNil bool, d *Decoder) {
  11620. v, changed := f.DecMapFloat32Int32V(*vp, checkNil, true, d)
  11621. if changed {
  11622. *vp = v
  11623. }
  11624. }
  11625. func (_ fastpathT) DecMapFloat32Int32V(v map[float32]int32, checkNil bool, canChange bool,
  11626. d *Decoder) (_ map[float32]int32, changed bool) {
  11627. dd := d.d
  11628. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  11629. if checkNil && dd.TryDecodeAsNil() {
  11630. if v != nil {
  11631. changed = true
  11632. }
  11633. return nil, changed
  11634. }
  11635. containerLen := dd.ReadMapStart()
  11636. if canChange && v == nil {
  11637. if containerLen > 0 {
  11638. v = make(map[float32]int32, containerLen)
  11639. } else {
  11640. v = make(map[float32]int32) // supports indefinite-length, etc
  11641. }
  11642. changed = true
  11643. }
  11644. if containerLen > 0 {
  11645. for j := 0; j < containerLen; j++ {
  11646. mk := float32(dd.DecodeFloat(true))
  11647. mv := v[mk]
  11648. mv = int32(dd.DecodeInt(32))
  11649. if v != nil {
  11650. v[mk] = mv
  11651. }
  11652. }
  11653. } else if containerLen < 0 {
  11654. for j := 0; !dd.CheckBreak(); j++ {
  11655. mk := float32(dd.DecodeFloat(true))
  11656. mv := v[mk]
  11657. mv = int32(dd.DecodeInt(32))
  11658. if v != nil {
  11659. v[mk] = mv
  11660. }
  11661. }
  11662. dd.ReadEnd()
  11663. }
  11664. return v, changed
  11665. }
  11666. func (f decFnInfo) fastpathDecMapFloat32Int64R(rv reflect.Value) {
  11667. if rv.CanAddr() {
  11668. vp := rv.Addr().Interface().(*map[float32]int64)
  11669. v, changed := fastpathTV.DecMapFloat32Int64V(*vp, fastpathCheckNilFalse, true, f.d)
  11670. if changed {
  11671. *vp = v
  11672. }
  11673. } else {
  11674. v := rv.Interface().(map[float32]int64)
  11675. fastpathTV.DecMapFloat32Int64V(v, fastpathCheckNilFalse, false, f.d)
  11676. }
  11677. }
  11678. func (f fastpathT) DecMapFloat32Int64X(vp *map[float32]int64, checkNil bool, d *Decoder) {
  11679. v, changed := f.DecMapFloat32Int64V(*vp, checkNil, true, d)
  11680. if changed {
  11681. *vp = v
  11682. }
  11683. }
  11684. func (_ fastpathT) DecMapFloat32Int64V(v map[float32]int64, checkNil bool, canChange bool,
  11685. d *Decoder) (_ map[float32]int64, changed bool) {
  11686. dd := d.d
  11687. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  11688. if checkNil && dd.TryDecodeAsNil() {
  11689. if v != nil {
  11690. changed = true
  11691. }
  11692. return nil, changed
  11693. }
  11694. containerLen := dd.ReadMapStart()
  11695. if canChange && v == nil {
  11696. if containerLen > 0 {
  11697. v = make(map[float32]int64, containerLen)
  11698. } else {
  11699. v = make(map[float32]int64) // supports indefinite-length, etc
  11700. }
  11701. changed = true
  11702. }
  11703. if containerLen > 0 {
  11704. for j := 0; j < containerLen; j++ {
  11705. mk := float32(dd.DecodeFloat(true))
  11706. mv := v[mk]
  11707. mv = dd.DecodeInt(64)
  11708. if v != nil {
  11709. v[mk] = mv
  11710. }
  11711. }
  11712. } else if containerLen < 0 {
  11713. for j := 0; !dd.CheckBreak(); j++ {
  11714. mk := float32(dd.DecodeFloat(true))
  11715. mv := v[mk]
  11716. mv = dd.DecodeInt(64)
  11717. if v != nil {
  11718. v[mk] = mv
  11719. }
  11720. }
  11721. dd.ReadEnd()
  11722. }
  11723. return v, changed
  11724. }
  11725. func (f decFnInfo) fastpathDecMapFloat32Float32R(rv reflect.Value) {
  11726. if rv.CanAddr() {
  11727. vp := rv.Addr().Interface().(*map[float32]float32)
  11728. v, changed := fastpathTV.DecMapFloat32Float32V(*vp, fastpathCheckNilFalse, true, f.d)
  11729. if changed {
  11730. *vp = v
  11731. }
  11732. } else {
  11733. v := rv.Interface().(map[float32]float32)
  11734. fastpathTV.DecMapFloat32Float32V(v, fastpathCheckNilFalse, false, f.d)
  11735. }
  11736. }
  11737. func (f fastpathT) DecMapFloat32Float32X(vp *map[float32]float32, checkNil bool, d *Decoder) {
  11738. v, changed := f.DecMapFloat32Float32V(*vp, checkNil, true, d)
  11739. if changed {
  11740. *vp = v
  11741. }
  11742. }
  11743. func (_ fastpathT) DecMapFloat32Float32V(v map[float32]float32, checkNil bool, canChange bool,
  11744. d *Decoder) (_ map[float32]float32, changed bool) {
  11745. dd := d.d
  11746. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  11747. if checkNil && dd.TryDecodeAsNil() {
  11748. if v != nil {
  11749. changed = true
  11750. }
  11751. return nil, changed
  11752. }
  11753. containerLen := dd.ReadMapStart()
  11754. if canChange && v == nil {
  11755. if containerLen > 0 {
  11756. v = make(map[float32]float32, containerLen)
  11757. } else {
  11758. v = make(map[float32]float32) // supports indefinite-length, etc
  11759. }
  11760. changed = true
  11761. }
  11762. if containerLen > 0 {
  11763. for j := 0; j < containerLen; j++ {
  11764. mk := float32(dd.DecodeFloat(true))
  11765. mv := v[mk]
  11766. mv = float32(dd.DecodeFloat(true))
  11767. if v != nil {
  11768. v[mk] = mv
  11769. }
  11770. }
  11771. } else if containerLen < 0 {
  11772. for j := 0; !dd.CheckBreak(); j++ {
  11773. mk := float32(dd.DecodeFloat(true))
  11774. mv := v[mk]
  11775. mv = float32(dd.DecodeFloat(true))
  11776. if v != nil {
  11777. v[mk] = mv
  11778. }
  11779. }
  11780. dd.ReadEnd()
  11781. }
  11782. return v, changed
  11783. }
  11784. func (f decFnInfo) fastpathDecMapFloat32Float64R(rv reflect.Value) {
  11785. if rv.CanAddr() {
  11786. vp := rv.Addr().Interface().(*map[float32]float64)
  11787. v, changed := fastpathTV.DecMapFloat32Float64V(*vp, fastpathCheckNilFalse, true, f.d)
  11788. if changed {
  11789. *vp = v
  11790. }
  11791. } else {
  11792. v := rv.Interface().(map[float32]float64)
  11793. fastpathTV.DecMapFloat32Float64V(v, fastpathCheckNilFalse, false, f.d)
  11794. }
  11795. }
  11796. func (f fastpathT) DecMapFloat32Float64X(vp *map[float32]float64, checkNil bool, d *Decoder) {
  11797. v, changed := f.DecMapFloat32Float64V(*vp, checkNil, true, d)
  11798. if changed {
  11799. *vp = v
  11800. }
  11801. }
  11802. func (_ fastpathT) DecMapFloat32Float64V(v map[float32]float64, checkNil bool, canChange bool,
  11803. d *Decoder) (_ map[float32]float64, changed bool) {
  11804. dd := d.d
  11805. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  11806. if checkNil && dd.TryDecodeAsNil() {
  11807. if v != nil {
  11808. changed = true
  11809. }
  11810. return nil, changed
  11811. }
  11812. containerLen := dd.ReadMapStart()
  11813. if canChange && v == nil {
  11814. if containerLen > 0 {
  11815. v = make(map[float32]float64, containerLen)
  11816. } else {
  11817. v = make(map[float32]float64) // supports indefinite-length, etc
  11818. }
  11819. changed = true
  11820. }
  11821. if containerLen > 0 {
  11822. for j := 0; j < containerLen; j++ {
  11823. mk := float32(dd.DecodeFloat(true))
  11824. mv := v[mk]
  11825. mv = dd.DecodeFloat(false)
  11826. if v != nil {
  11827. v[mk] = mv
  11828. }
  11829. }
  11830. } else if containerLen < 0 {
  11831. for j := 0; !dd.CheckBreak(); j++ {
  11832. mk := float32(dd.DecodeFloat(true))
  11833. mv := v[mk]
  11834. mv = dd.DecodeFloat(false)
  11835. if v != nil {
  11836. v[mk] = mv
  11837. }
  11838. }
  11839. dd.ReadEnd()
  11840. }
  11841. return v, changed
  11842. }
  11843. func (f decFnInfo) fastpathDecMapFloat32BoolR(rv reflect.Value) {
  11844. if rv.CanAddr() {
  11845. vp := rv.Addr().Interface().(*map[float32]bool)
  11846. v, changed := fastpathTV.DecMapFloat32BoolV(*vp, fastpathCheckNilFalse, true, f.d)
  11847. if changed {
  11848. *vp = v
  11849. }
  11850. } else {
  11851. v := rv.Interface().(map[float32]bool)
  11852. fastpathTV.DecMapFloat32BoolV(v, fastpathCheckNilFalse, false, f.d)
  11853. }
  11854. }
  11855. func (f fastpathT) DecMapFloat32BoolX(vp *map[float32]bool, checkNil bool, d *Decoder) {
  11856. v, changed := f.DecMapFloat32BoolV(*vp, checkNil, true, d)
  11857. if changed {
  11858. *vp = v
  11859. }
  11860. }
  11861. func (_ fastpathT) DecMapFloat32BoolV(v map[float32]bool, checkNil bool, canChange bool,
  11862. d *Decoder) (_ map[float32]bool, changed bool) {
  11863. dd := d.d
  11864. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  11865. if checkNil && dd.TryDecodeAsNil() {
  11866. if v != nil {
  11867. changed = true
  11868. }
  11869. return nil, changed
  11870. }
  11871. containerLen := dd.ReadMapStart()
  11872. if canChange && v == nil {
  11873. if containerLen > 0 {
  11874. v = make(map[float32]bool, containerLen)
  11875. } else {
  11876. v = make(map[float32]bool) // supports indefinite-length, etc
  11877. }
  11878. changed = true
  11879. }
  11880. if containerLen > 0 {
  11881. for j := 0; j < containerLen; j++ {
  11882. mk := float32(dd.DecodeFloat(true))
  11883. mv := v[mk]
  11884. mv = dd.DecodeBool()
  11885. if v != nil {
  11886. v[mk] = mv
  11887. }
  11888. }
  11889. } else if containerLen < 0 {
  11890. for j := 0; !dd.CheckBreak(); j++ {
  11891. mk := float32(dd.DecodeFloat(true))
  11892. mv := v[mk]
  11893. mv = dd.DecodeBool()
  11894. if v != nil {
  11895. v[mk] = mv
  11896. }
  11897. }
  11898. dd.ReadEnd()
  11899. }
  11900. return v, changed
  11901. }
  11902. func (f decFnInfo) fastpathDecMapFloat64IntfR(rv reflect.Value) {
  11903. if rv.CanAddr() {
  11904. vp := rv.Addr().Interface().(*map[float64]interface{})
  11905. v, changed := fastpathTV.DecMapFloat64IntfV(*vp, fastpathCheckNilFalse, true, f.d)
  11906. if changed {
  11907. *vp = v
  11908. }
  11909. } else {
  11910. v := rv.Interface().(map[float64]interface{})
  11911. fastpathTV.DecMapFloat64IntfV(v, fastpathCheckNilFalse, false, f.d)
  11912. }
  11913. }
  11914. func (f fastpathT) DecMapFloat64IntfX(vp *map[float64]interface{}, checkNil bool, d *Decoder) {
  11915. v, changed := f.DecMapFloat64IntfV(*vp, checkNil, true, d)
  11916. if changed {
  11917. *vp = v
  11918. }
  11919. }
  11920. func (_ fastpathT) DecMapFloat64IntfV(v map[float64]interface{}, checkNil bool, canChange bool,
  11921. d *Decoder) (_ map[float64]interface{}, changed bool) {
  11922. dd := d.d
  11923. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  11924. if checkNil && dd.TryDecodeAsNil() {
  11925. if v != nil {
  11926. changed = true
  11927. }
  11928. return nil, changed
  11929. }
  11930. containerLen := dd.ReadMapStart()
  11931. if canChange && v == nil {
  11932. if containerLen > 0 {
  11933. v = make(map[float64]interface{}, containerLen)
  11934. } else {
  11935. v = make(map[float64]interface{}) // supports indefinite-length, etc
  11936. }
  11937. changed = true
  11938. }
  11939. if containerLen > 0 {
  11940. for j := 0; j < containerLen; j++ {
  11941. mk := dd.DecodeFloat(false)
  11942. mv := v[mk]
  11943. d.decode(&mv)
  11944. if v != nil {
  11945. v[mk] = mv
  11946. }
  11947. }
  11948. } else if containerLen < 0 {
  11949. for j := 0; !dd.CheckBreak(); j++ {
  11950. mk := dd.DecodeFloat(false)
  11951. mv := v[mk]
  11952. d.decode(&mv)
  11953. if v != nil {
  11954. v[mk] = mv
  11955. }
  11956. }
  11957. dd.ReadEnd()
  11958. }
  11959. return v, changed
  11960. }
  11961. func (f decFnInfo) fastpathDecMapFloat64StringR(rv reflect.Value) {
  11962. if rv.CanAddr() {
  11963. vp := rv.Addr().Interface().(*map[float64]string)
  11964. v, changed := fastpathTV.DecMapFloat64StringV(*vp, fastpathCheckNilFalse, true, f.d)
  11965. if changed {
  11966. *vp = v
  11967. }
  11968. } else {
  11969. v := rv.Interface().(map[float64]string)
  11970. fastpathTV.DecMapFloat64StringV(v, fastpathCheckNilFalse, false, f.d)
  11971. }
  11972. }
  11973. func (f fastpathT) DecMapFloat64StringX(vp *map[float64]string, checkNil bool, d *Decoder) {
  11974. v, changed := f.DecMapFloat64StringV(*vp, checkNil, true, d)
  11975. if changed {
  11976. *vp = v
  11977. }
  11978. }
  11979. func (_ fastpathT) DecMapFloat64StringV(v map[float64]string, checkNil bool, canChange bool,
  11980. d *Decoder) (_ map[float64]string, changed bool) {
  11981. dd := d.d
  11982. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  11983. if checkNil && dd.TryDecodeAsNil() {
  11984. if v != nil {
  11985. changed = true
  11986. }
  11987. return nil, changed
  11988. }
  11989. containerLen := dd.ReadMapStart()
  11990. if canChange && v == nil {
  11991. if containerLen > 0 {
  11992. v = make(map[float64]string, containerLen)
  11993. } else {
  11994. v = make(map[float64]string) // supports indefinite-length, etc
  11995. }
  11996. changed = true
  11997. }
  11998. if containerLen > 0 {
  11999. for j := 0; j < containerLen; j++ {
  12000. mk := dd.DecodeFloat(false)
  12001. mv := v[mk]
  12002. mv = dd.DecodeString()
  12003. if v != nil {
  12004. v[mk] = mv
  12005. }
  12006. }
  12007. } else if containerLen < 0 {
  12008. for j := 0; !dd.CheckBreak(); j++ {
  12009. mk := dd.DecodeFloat(false)
  12010. mv := v[mk]
  12011. mv = dd.DecodeString()
  12012. if v != nil {
  12013. v[mk] = mv
  12014. }
  12015. }
  12016. dd.ReadEnd()
  12017. }
  12018. return v, changed
  12019. }
  12020. func (f decFnInfo) fastpathDecMapFloat64UintR(rv reflect.Value) {
  12021. if rv.CanAddr() {
  12022. vp := rv.Addr().Interface().(*map[float64]uint)
  12023. v, changed := fastpathTV.DecMapFloat64UintV(*vp, fastpathCheckNilFalse, true, f.d)
  12024. if changed {
  12025. *vp = v
  12026. }
  12027. } else {
  12028. v := rv.Interface().(map[float64]uint)
  12029. fastpathTV.DecMapFloat64UintV(v, fastpathCheckNilFalse, false, f.d)
  12030. }
  12031. }
  12032. func (f fastpathT) DecMapFloat64UintX(vp *map[float64]uint, checkNil bool, d *Decoder) {
  12033. v, changed := f.DecMapFloat64UintV(*vp, checkNil, true, d)
  12034. if changed {
  12035. *vp = v
  12036. }
  12037. }
  12038. func (_ fastpathT) DecMapFloat64UintV(v map[float64]uint, checkNil bool, canChange bool,
  12039. d *Decoder) (_ map[float64]uint, changed bool) {
  12040. dd := d.d
  12041. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  12042. if checkNil && dd.TryDecodeAsNil() {
  12043. if v != nil {
  12044. changed = true
  12045. }
  12046. return nil, changed
  12047. }
  12048. containerLen := dd.ReadMapStart()
  12049. if canChange && v == nil {
  12050. if containerLen > 0 {
  12051. v = make(map[float64]uint, containerLen)
  12052. } else {
  12053. v = make(map[float64]uint) // supports indefinite-length, etc
  12054. }
  12055. changed = true
  12056. }
  12057. if containerLen > 0 {
  12058. for j := 0; j < containerLen; j++ {
  12059. mk := dd.DecodeFloat(false)
  12060. mv := v[mk]
  12061. mv = uint(dd.DecodeUint(uintBitsize))
  12062. if v != nil {
  12063. v[mk] = mv
  12064. }
  12065. }
  12066. } else if containerLen < 0 {
  12067. for j := 0; !dd.CheckBreak(); j++ {
  12068. mk := dd.DecodeFloat(false)
  12069. mv := v[mk]
  12070. mv = uint(dd.DecodeUint(uintBitsize))
  12071. if v != nil {
  12072. v[mk] = mv
  12073. }
  12074. }
  12075. dd.ReadEnd()
  12076. }
  12077. return v, changed
  12078. }
  12079. func (f decFnInfo) fastpathDecMapFloat64Uint8R(rv reflect.Value) {
  12080. if rv.CanAddr() {
  12081. vp := rv.Addr().Interface().(*map[float64]uint8)
  12082. v, changed := fastpathTV.DecMapFloat64Uint8V(*vp, fastpathCheckNilFalse, true, f.d)
  12083. if changed {
  12084. *vp = v
  12085. }
  12086. } else {
  12087. v := rv.Interface().(map[float64]uint8)
  12088. fastpathTV.DecMapFloat64Uint8V(v, fastpathCheckNilFalse, false, f.d)
  12089. }
  12090. }
  12091. func (f fastpathT) DecMapFloat64Uint8X(vp *map[float64]uint8, checkNil bool, d *Decoder) {
  12092. v, changed := f.DecMapFloat64Uint8V(*vp, checkNil, true, d)
  12093. if changed {
  12094. *vp = v
  12095. }
  12096. }
  12097. func (_ fastpathT) DecMapFloat64Uint8V(v map[float64]uint8, checkNil bool, canChange bool,
  12098. d *Decoder) (_ map[float64]uint8, changed bool) {
  12099. dd := d.d
  12100. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  12101. if checkNil && dd.TryDecodeAsNil() {
  12102. if v != nil {
  12103. changed = true
  12104. }
  12105. return nil, changed
  12106. }
  12107. containerLen := dd.ReadMapStart()
  12108. if canChange && v == nil {
  12109. if containerLen > 0 {
  12110. v = make(map[float64]uint8, containerLen)
  12111. } else {
  12112. v = make(map[float64]uint8) // supports indefinite-length, etc
  12113. }
  12114. changed = true
  12115. }
  12116. if containerLen > 0 {
  12117. for j := 0; j < containerLen; j++ {
  12118. mk := dd.DecodeFloat(false)
  12119. mv := v[mk]
  12120. mv = uint8(dd.DecodeUint(8))
  12121. if v != nil {
  12122. v[mk] = mv
  12123. }
  12124. }
  12125. } else if containerLen < 0 {
  12126. for j := 0; !dd.CheckBreak(); j++ {
  12127. mk := dd.DecodeFloat(false)
  12128. mv := v[mk]
  12129. mv = uint8(dd.DecodeUint(8))
  12130. if v != nil {
  12131. v[mk] = mv
  12132. }
  12133. }
  12134. dd.ReadEnd()
  12135. }
  12136. return v, changed
  12137. }
  12138. func (f decFnInfo) fastpathDecMapFloat64Uint16R(rv reflect.Value) {
  12139. if rv.CanAddr() {
  12140. vp := rv.Addr().Interface().(*map[float64]uint16)
  12141. v, changed := fastpathTV.DecMapFloat64Uint16V(*vp, fastpathCheckNilFalse, true, f.d)
  12142. if changed {
  12143. *vp = v
  12144. }
  12145. } else {
  12146. v := rv.Interface().(map[float64]uint16)
  12147. fastpathTV.DecMapFloat64Uint16V(v, fastpathCheckNilFalse, false, f.d)
  12148. }
  12149. }
  12150. func (f fastpathT) DecMapFloat64Uint16X(vp *map[float64]uint16, checkNil bool, d *Decoder) {
  12151. v, changed := f.DecMapFloat64Uint16V(*vp, checkNil, true, d)
  12152. if changed {
  12153. *vp = v
  12154. }
  12155. }
  12156. func (_ fastpathT) DecMapFloat64Uint16V(v map[float64]uint16, checkNil bool, canChange bool,
  12157. d *Decoder) (_ map[float64]uint16, changed bool) {
  12158. dd := d.d
  12159. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  12160. if checkNil && dd.TryDecodeAsNil() {
  12161. if v != nil {
  12162. changed = true
  12163. }
  12164. return nil, changed
  12165. }
  12166. containerLen := dd.ReadMapStart()
  12167. if canChange && v == nil {
  12168. if containerLen > 0 {
  12169. v = make(map[float64]uint16, containerLen)
  12170. } else {
  12171. v = make(map[float64]uint16) // supports indefinite-length, etc
  12172. }
  12173. changed = true
  12174. }
  12175. if containerLen > 0 {
  12176. for j := 0; j < containerLen; j++ {
  12177. mk := dd.DecodeFloat(false)
  12178. mv := v[mk]
  12179. mv = uint16(dd.DecodeUint(16))
  12180. if v != nil {
  12181. v[mk] = mv
  12182. }
  12183. }
  12184. } else if containerLen < 0 {
  12185. for j := 0; !dd.CheckBreak(); j++ {
  12186. mk := dd.DecodeFloat(false)
  12187. mv := v[mk]
  12188. mv = uint16(dd.DecodeUint(16))
  12189. if v != nil {
  12190. v[mk] = mv
  12191. }
  12192. }
  12193. dd.ReadEnd()
  12194. }
  12195. return v, changed
  12196. }
  12197. func (f decFnInfo) fastpathDecMapFloat64Uint32R(rv reflect.Value) {
  12198. if rv.CanAddr() {
  12199. vp := rv.Addr().Interface().(*map[float64]uint32)
  12200. v, changed := fastpathTV.DecMapFloat64Uint32V(*vp, fastpathCheckNilFalse, true, f.d)
  12201. if changed {
  12202. *vp = v
  12203. }
  12204. } else {
  12205. v := rv.Interface().(map[float64]uint32)
  12206. fastpathTV.DecMapFloat64Uint32V(v, fastpathCheckNilFalse, false, f.d)
  12207. }
  12208. }
  12209. func (f fastpathT) DecMapFloat64Uint32X(vp *map[float64]uint32, checkNil bool, d *Decoder) {
  12210. v, changed := f.DecMapFloat64Uint32V(*vp, checkNil, true, d)
  12211. if changed {
  12212. *vp = v
  12213. }
  12214. }
  12215. func (_ fastpathT) DecMapFloat64Uint32V(v map[float64]uint32, checkNil bool, canChange bool,
  12216. d *Decoder) (_ map[float64]uint32, changed bool) {
  12217. dd := d.d
  12218. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  12219. if checkNil && dd.TryDecodeAsNil() {
  12220. if v != nil {
  12221. changed = true
  12222. }
  12223. return nil, changed
  12224. }
  12225. containerLen := dd.ReadMapStart()
  12226. if canChange && v == nil {
  12227. if containerLen > 0 {
  12228. v = make(map[float64]uint32, containerLen)
  12229. } else {
  12230. v = make(map[float64]uint32) // supports indefinite-length, etc
  12231. }
  12232. changed = true
  12233. }
  12234. if containerLen > 0 {
  12235. for j := 0; j < containerLen; j++ {
  12236. mk := dd.DecodeFloat(false)
  12237. mv := v[mk]
  12238. mv = uint32(dd.DecodeUint(32))
  12239. if v != nil {
  12240. v[mk] = mv
  12241. }
  12242. }
  12243. } else if containerLen < 0 {
  12244. for j := 0; !dd.CheckBreak(); j++ {
  12245. mk := dd.DecodeFloat(false)
  12246. mv := v[mk]
  12247. mv = uint32(dd.DecodeUint(32))
  12248. if v != nil {
  12249. v[mk] = mv
  12250. }
  12251. }
  12252. dd.ReadEnd()
  12253. }
  12254. return v, changed
  12255. }
  12256. func (f decFnInfo) fastpathDecMapFloat64Uint64R(rv reflect.Value) {
  12257. if rv.CanAddr() {
  12258. vp := rv.Addr().Interface().(*map[float64]uint64)
  12259. v, changed := fastpathTV.DecMapFloat64Uint64V(*vp, fastpathCheckNilFalse, true, f.d)
  12260. if changed {
  12261. *vp = v
  12262. }
  12263. } else {
  12264. v := rv.Interface().(map[float64]uint64)
  12265. fastpathTV.DecMapFloat64Uint64V(v, fastpathCheckNilFalse, false, f.d)
  12266. }
  12267. }
  12268. func (f fastpathT) DecMapFloat64Uint64X(vp *map[float64]uint64, checkNil bool, d *Decoder) {
  12269. v, changed := f.DecMapFloat64Uint64V(*vp, checkNil, true, d)
  12270. if changed {
  12271. *vp = v
  12272. }
  12273. }
  12274. func (_ fastpathT) DecMapFloat64Uint64V(v map[float64]uint64, checkNil bool, canChange bool,
  12275. d *Decoder) (_ map[float64]uint64, changed bool) {
  12276. dd := d.d
  12277. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  12278. if checkNil && dd.TryDecodeAsNil() {
  12279. if v != nil {
  12280. changed = true
  12281. }
  12282. return nil, changed
  12283. }
  12284. containerLen := dd.ReadMapStart()
  12285. if canChange && v == nil {
  12286. if containerLen > 0 {
  12287. v = make(map[float64]uint64, containerLen)
  12288. } else {
  12289. v = make(map[float64]uint64) // supports indefinite-length, etc
  12290. }
  12291. changed = true
  12292. }
  12293. if containerLen > 0 {
  12294. for j := 0; j < containerLen; j++ {
  12295. mk := dd.DecodeFloat(false)
  12296. mv := v[mk]
  12297. mv = dd.DecodeUint(64)
  12298. if v != nil {
  12299. v[mk] = mv
  12300. }
  12301. }
  12302. } else if containerLen < 0 {
  12303. for j := 0; !dd.CheckBreak(); j++ {
  12304. mk := dd.DecodeFloat(false)
  12305. mv := v[mk]
  12306. mv = dd.DecodeUint(64)
  12307. if v != nil {
  12308. v[mk] = mv
  12309. }
  12310. }
  12311. dd.ReadEnd()
  12312. }
  12313. return v, changed
  12314. }
  12315. func (f decFnInfo) fastpathDecMapFloat64IntR(rv reflect.Value) {
  12316. if rv.CanAddr() {
  12317. vp := rv.Addr().Interface().(*map[float64]int)
  12318. v, changed := fastpathTV.DecMapFloat64IntV(*vp, fastpathCheckNilFalse, true, f.d)
  12319. if changed {
  12320. *vp = v
  12321. }
  12322. } else {
  12323. v := rv.Interface().(map[float64]int)
  12324. fastpathTV.DecMapFloat64IntV(v, fastpathCheckNilFalse, false, f.d)
  12325. }
  12326. }
  12327. func (f fastpathT) DecMapFloat64IntX(vp *map[float64]int, checkNil bool, d *Decoder) {
  12328. v, changed := f.DecMapFloat64IntV(*vp, checkNil, true, d)
  12329. if changed {
  12330. *vp = v
  12331. }
  12332. }
  12333. func (_ fastpathT) DecMapFloat64IntV(v map[float64]int, checkNil bool, canChange bool,
  12334. d *Decoder) (_ map[float64]int, changed bool) {
  12335. dd := d.d
  12336. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  12337. if checkNil && dd.TryDecodeAsNil() {
  12338. if v != nil {
  12339. changed = true
  12340. }
  12341. return nil, changed
  12342. }
  12343. containerLen := dd.ReadMapStart()
  12344. if canChange && v == nil {
  12345. if containerLen > 0 {
  12346. v = make(map[float64]int, containerLen)
  12347. } else {
  12348. v = make(map[float64]int) // supports indefinite-length, etc
  12349. }
  12350. changed = true
  12351. }
  12352. if containerLen > 0 {
  12353. for j := 0; j < containerLen; j++ {
  12354. mk := dd.DecodeFloat(false)
  12355. mv := v[mk]
  12356. mv = int(dd.DecodeInt(intBitsize))
  12357. if v != nil {
  12358. v[mk] = mv
  12359. }
  12360. }
  12361. } else if containerLen < 0 {
  12362. for j := 0; !dd.CheckBreak(); j++ {
  12363. mk := dd.DecodeFloat(false)
  12364. mv := v[mk]
  12365. mv = int(dd.DecodeInt(intBitsize))
  12366. if v != nil {
  12367. v[mk] = mv
  12368. }
  12369. }
  12370. dd.ReadEnd()
  12371. }
  12372. return v, changed
  12373. }
  12374. func (f decFnInfo) fastpathDecMapFloat64Int8R(rv reflect.Value) {
  12375. if rv.CanAddr() {
  12376. vp := rv.Addr().Interface().(*map[float64]int8)
  12377. v, changed := fastpathTV.DecMapFloat64Int8V(*vp, fastpathCheckNilFalse, true, f.d)
  12378. if changed {
  12379. *vp = v
  12380. }
  12381. } else {
  12382. v := rv.Interface().(map[float64]int8)
  12383. fastpathTV.DecMapFloat64Int8V(v, fastpathCheckNilFalse, false, f.d)
  12384. }
  12385. }
  12386. func (f fastpathT) DecMapFloat64Int8X(vp *map[float64]int8, checkNil bool, d *Decoder) {
  12387. v, changed := f.DecMapFloat64Int8V(*vp, checkNil, true, d)
  12388. if changed {
  12389. *vp = v
  12390. }
  12391. }
  12392. func (_ fastpathT) DecMapFloat64Int8V(v map[float64]int8, checkNil bool, canChange bool,
  12393. d *Decoder) (_ map[float64]int8, changed bool) {
  12394. dd := d.d
  12395. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  12396. if checkNil && dd.TryDecodeAsNil() {
  12397. if v != nil {
  12398. changed = true
  12399. }
  12400. return nil, changed
  12401. }
  12402. containerLen := dd.ReadMapStart()
  12403. if canChange && v == nil {
  12404. if containerLen > 0 {
  12405. v = make(map[float64]int8, containerLen)
  12406. } else {
  12407. v = make(map[float64]int8) // supports indefinite-length, etc
  12408. }
  12409. changed = true
  12410. }
  12411. if containerLen > 0 {
  12412. for j := 0; j < containerLen; j++ {
  12413. mk := dd.DecodeFloat(false)
  12414. mv := v[mk]
  12415. mv = int8(dd.DecodeInt(8))
  12416. if v != nil {
  12417. v[mk] = mv
  12418. }
  12419. }
  12420. } else if containerLen < 0 {
  12421. for j := 0; !dd.CheckBreak(); j++ {
  12422. mk := dd.DecodeFloat(false)
  12423. mv := v[mk]
  12424. mv = int8(dd.DecodeInt(8))
  12425. if v != nil {
  12426. v[mk] = mv
  12427. }
  12428. }
  12429. dd.ReadEnd()
  12430. }
  12431. return v, changed
  12432. }
  12433. func (f decFnInfo) fastpathDecMapFloat64Int16R(rv reflect.Value) {
  12434. if rv.CanAddr() {
  12435. vp := rv.Addr().Interface().(*map[float64]int16)
  12436. v, changed := fastpathTV.DecMapFloat64Int16V(*vp, fastpathCheckNilFalse, true, f.d)
  12437. if changed {
  12438. *vp = v
  12439. }
  12440. } else {
  12441. v := rv.Interface().(map[float64]int16)
  12442. fastpathTV.DecMapFloat64Int16V(v, fastpathCheckNilFalse, false, f.d)
  12443. }
  12444. }
  12445. func (f fastpathT) DecMapFloat64Int16X(vp *map[float64]int16, checkNil bool, d *Decoder) {
  12446. v, changed := f.DecMapFloat64Int16V(*vp, checkNil, true, d)
  12447. if changed {
  12448. *vp = v
  12449. }
  12450. }
  12451. func (_ fastpathT) DecMapFloat64Int16V(v map[float64]int16, checkNil bool, canChange bool,
  12452. d *Decoder) (_ map[float64]int16, changed bool) {
  12453. dd := d.d
  12454. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  12455. if checkNil && dd.TryDecodeAsNil() {
  12456. if v != nil {
  12457. changed = true
  12458. }
  12459. return nil, changed
  12460. }
  12461. containerLen := dd.ReadMapStart()
  12462. if canChange && v == nil {
  12463. if containerLen > 0 {
  12464. v = make(map[float64]int16, containerLen)
  12465. } else {
  12466. v = make(map[float64]int16) // supports indefinite-length, etc
  12467. }
  12468. changed = true
  12469. }
  12470. if containerLen > 0 {
  12471. for j := 0; j < containerLen; j++ {
  12472. mk := dd.DecodeFloat(false)
  12473. mv := v[mk]
  12474. mv = int16(dd.DecodeInt(16))
  12475. if v != nil {
  12476. v[mk] = mv
  12477. }
  12478. }
  12479. } else if containerLen < 0 {
  12480. for j := 0; !dd.CheckBreak(); j++ {
  12481. mk := dd.DecodeFloat(false)
  12482. mv := v[mk]
  12483. mv = int16(dd.DecodeInt(16))
  12484. if v != nil {
  12485. v[mk] = mv
  12486. }
  12487. }
  12488. dd.ReadEnd()
  12489. }
  12490. return v, changed
  12491. }
  12492. func (f decFnInfo) fastpathDecMapFloat64Int32R(rv reflect.Value) {
  12493. if rv.CanAddr() {
  12494. vp := rv.Addr().Interface().(*map[float64]int32)
  12495. v, changed := fastpathTV.DecMapFloat64Int32V(*vp, fastpathCheckNilFalse, true, f.d)
  12496. if changed {
  12497. *vp = v
  12498. }
  12499. } else {
  12500. v := rv.Interface().(map[float64]int32)
  12501. fastpathTV.DecMapFloat64Int32V(v, fastpathCheckNilFalse, false, f.d)
  12502. }
  12503. }
  12504. func (f fastpathT) DecMapFloat64Int32X(vp *map[float64]int32, checkNil bool, d *Decoder) {
  12505. v, changed := f.DecMapFloat64Int32V(*vp, checkNil, true, d)
  12506. if changed {
  12507. *vp = v
  12508. }
  12509. }
  12510. func (_ fastpathT) DecMapFloat64Int32V(v map[float64]int32, checkNil bool, canChange bool,
  12511. d *Decoder) (_ map[float64]int32, changed bool) {
  12512. dd := d.d
  12513. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  12514. if checkNil && dd.TryDecodeAsNil() {
  12515. if v != nil {
  12516. changed = true
  12517. }
  12518. return nil, changed
  12519. }
  12520. containerLen := dd.ReadMapStart()
  12521. if canChange && v == nil {
  12522. if containerLen > 0 {
  12523. v = make(map[float64]int32, containerLen)
  12524. } else {
  12525. v = make(map[float64]int32) // supports indefinite-length, etc
  12526. }
  12527. changed = true
  12528. }
  12529. if containerLen > 0 {
  12530. for j := 0; j < containerLen; j++ {
  12531. mk := dd.DecodeFloat(false)
  12532. mv := v[mk]
  12533. mv = int32(dd.DecodeInt(32))
  12534. if v != nil {
  12535. v[mk] = mv
  12536. }
  12537. }
  12538. } else if containerLen < 0 {
  12539. for j := 0; !dd.CheckBreak(); j++ {
  12540. mk := dd.DecodeFloat(false)
  12541. mv := v[mk]
  12542. mv = int32(dd.DecodeInt(32))
  12543. if v != nil {
  12544. v[mk] = mv
  12545. }
  12546. }
  12547. dd.ReadEnd()
  12548. }
  12549. return v, changed
  12550. }
  12551. func (f decFnInfo) fastpathDecMapFloat64Int64R(rv reflect.Value) {
  12552. if rv.CanAddr() {
  12553. vp := rv.Addr().Interface().(*map[float64]int64)
  12554. v, changed := fastpathTV.DecMapFloat64Int64V(*vp, fastpathCheckNilFalse, true, f.d)
  12555. if changed {
  12556. *vp = v
  12557. }
  12558. } else {
  12559. v := rv.Interface().(map[float64]int64)
  12560. fastpathTV.DecMapFloat64Int64V(v, fastpathCheckNilFalse, false, f.d)
  12561. }
  12562. }
  12563. func (f fastpathT) DecMapFloat64Int64X(vp *map[float64]int64, checkNil bool, d *Decoder) {
  12564. v, changed := f.DecMapFloat64Int64V(*vp, checkNil, true, d)
  12565. if changed {
  12566. *vp = v
  12567. }
  12568. }
  12569. func (_ fastpathT) DecMapFloat64Int64V(v map[float64]int64, checkNil bool, canChange bool,
  12570. d *Decoder) (_ map[float64]int64, changed bool) {
  12571. dd := d.d
  12572. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  12573. if checkNil && dd.TryDecodeAsNil() {
  12574. if v != nil {
  12575. changed = true
  12576. }
  12577. return nil, changed
  12578. }
  12579. containerLen := dd.ReadMapStart()
  12580. if canChange && v == nil {
  12581. if containerLen > 0 {
  12582. v = make(map[float64]int64, containerLen)
  12583. } else {
  12584. v = make(map[float64]int64) // supports indefinite-length, etc
  12585. }
  12586. changed = true
  12587. }
  12588. if containerLen > 0 {
  12589. for j := 0; j < containerLen; j++ {
  12590. mk := dd.DecodeFloat(false)
  12591. mv := v[mk]
  12592. mv = dd.DecodeInt(64)
  12593. if v != nil {
  12594. v[mk] = mv
  12595. }
  12596. }
  12597. } else if containerLen < 0 {
  12598. for j := 0; !dd.CheckBreak(); j++ {
  12599. mk := dd.DecodeFloat(false)
  12600. mv := v[mk]
  12601. mv = dd.DecodeInt(64)
  12602. if v != nil {
  12603. v[mk] = mv
  12604. }
  12605. }
  12606. dd.ReadEnd()
  12607. }
  12608. return v, changed
  12609. }
  12610. func (f decFnInfo) fastpathDecMapFloat64Float32R(rv reflect.Value) {
  12611. if rv.CanAddr() {
  12612. vp := rv.Addr().Interface().(*map[float64]float32)
  12613. v, changed := fastpathTV.DecMapFloat64Float32V(*vp, fastpathCheckNilFalse, true, f.d)
  12614. if changed {
  12615. *vp = v
  12616. }
  12617. } else {
  12618. v := rv.Interface().(map[float64]float32)
  12619. fastpathTV.DecMapFloat64Float32V(v, fastpathCheckNilFalse, false, f.d)
  12620. }
  12621. }
  12622. func (f fastpathT) DecMapFloat64Float32X(vp *map[float64]float32, checkNil bool, d *Decoder) {
  12623. v, changed := f.DecMapFloat64Float32V(*vp, checkNil, true, d)
  12624. if changed {
  12625. *vp = v
  12626. }
  12627. }
  12628. func (_ fastpathT) DecMapFloat64Float32V(v map[float64]float32, checkNil bool, canChange bool,
  12629. d *Decoder) (_ map[float64]float32, changed bool) {
  12630. dd := d.d
  12631. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  12632. if checkNil && dd.TryDecodeAsNil() {
  12633. if v != nil {
  12634. changed = true
  12635. }
  12636. return nil, changed
  12637. }
  12638. containerLen := dd.ReadMapStart()
  12639. if canChange && v == nil {
  12640. if containerLen > 0 {
  12641. v = make(map[float64]float32, containerLen)
  12642. } else {
  12643. v = make(map[float64]float32) // supports indefinite-length, etc
  12644. }
  12645. changed = true
  12646. }
  12647. if containerLen > 0 {
  12648. for j := 0; j < containerLen; j++ {
  12649. mk := dd.DecodeFloat(false)
  12650. mv := v[mk]
  12651. mv = float32(dd.DecodeFloat(true))
  12652. if v != nil {
  12653. v[mk] = mv
  12654. }
  12655. }
  12656. } else if containerLen < 0 {
  12657. for j := 0; !dd.CheckBreak(); j++ {
  12658. mk := dd.DecodeFloat(false)
  12659. mv := v[mk]
  12660. mv = float32(dd.DecodeFloat(true))
  12661. if v != nil {
  12662. v[mk] = mv
  12663. }
  12664. }
  12665. dd.ReadEnd()
  12666. }
  12667. return v, changed
  12668. }
  12669. func (f decFnInfo) fastpathDecMapFloat64Float64R(rv reflect.Value) {
  12670. if rv.CanAddr() {
  12671. vp := rv.Addr().Interface().(*map[float64]float64)
  12672. v, changed := fastpathTV.DecMapFloat64Float64V(*vp, fastpathCheckNilFalse, true, f.d)
  12673. if changed {
  12674. *vp = v
  12675. }
  12676. } else {
  12677. v := rv.Interface().(map[float64]float64)
  12678. fastpathTV.DecMapFloat64Float64V(v, fastpathCheckNilFalse, false, f.d)
  12679. }
  12680. }
  12681. func (f fastpathT) DecMapFloat64Float64X(vp *map[float64]float64, checkNil bool, d *Decoder) {
  12682. v, changed := f.DecMapFloat64Float64V(*vp, checkNil, true, d)
  12683. if changed {
  12684. *vp = v
  12685. }
  12686. }
  12687. func (_ fastpathT) DecMapFloat64Float64V(v map[float64]float64, checkNil bool, canChange bool,
  12688. d *Decoder) (_ map[float64]float64, changed bool) {
  12689. dd := d.d
  12690. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  12691. if checkNil && dd.TryDecodeAsNil() {
  12692. if v != nil {
  12693. changed = true
  12694. }
  12695. return nil, changed
  12696. }
  12697. containerLen := dd.ReadMapStart()
  12698. if canChange && v == nil {
  12699. if containerLen > 0 {
  12700. v = make(map[float64]float64, containerLen)
  12701. } else {
  12702. v = make(map[float64]float64) // supports indefinite-length, etc
  12703. }
  12704. changed = true
  12705. }
  12706. if containerLen > 0 {
  12707. for j := 0; j < containerLen; j++ {
  12708. mk := dd.DecodeFloat(false)
  12709. mv := v[mk]
  12710. mv = dd.DecodeFloat(false)
  12711. if v != nil {
  12712. v[mk] = mv
  12713. }
  12714. }
  12715. } else if containerLen < 0 {
  12716. for j := 0; !dd.CheckBreak(); j++ {
  12717. mk := dd.DecodeFloat(false)
  12718. mv := v[mk]
  12719. mv = dd.DecodeFloat(false)
  12720. if v != nil {
  12721. v[mk] = mv
  12722. }
  12723. }
  12724. dd.ReadEnd()
  12725. }
  12726. return v, changed
  12727. }
  12728. func (f decFnInfo) fastpathDecMapFloat64BoolR(rv reflect.Value) {
  12729. if rv.CanAddr() {
  12730. vp := rv.Addr().Interface().(*map[float64]bool)
  12731. v, changed := fastpathTV.DecMapFloat64BoolV(*vp, fastpathCheckNilFalse, true, f.d)
  12732. if changed {
  12733. *vp = v
  12734. }
  12735. } else {
  12736. v := rv.Interface().(map[float64]bool)
  12737. fastpathTV.DecMapFloat64BoolV(v, fastpathCheckNilFalse, false, f.d)
  12738. }
  12739. }
  12740. func (f fastpathT) DecMapFloat64BoolX(vp *map[float64]bool, checkNil bool, d *Decoder) {
  12741. v, changed := f.DecMapFloat64BoolV(*vp, checkNil, true, d)
  12742. if changed {
  12743. *vp = v
  12744. }
  12745. }
  12746. func (_ fastpathT) DecMapFloat64BoolV(v map[float64]bool, checkNil bool, canChange bool,
  12747. d *Decoder) (_ map[float64]bool, changed bool) {
  12748. dd := d.d
  12749. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  12750. if checkNil && dd.TryDecodeAsNil() {
  12751. if v != nil {
  12752. changed = true
  12753. }
  12754. return nil, changed
  12755. }
  12756. containerLen := dd.ReadMapStart()
  12757. if canChange && v == nil {
  12758. if containerLen > 0 {
  12759. v = make(map[float64]bool, containerLen)
  12760. } else {
  12761. v = make(map[float64]bool) // supports indefinite-length, etc
  12762. }
  12763. changed = true
  12764. }
  12765. if containerLen > 0 {
  12766. for j := 0; j < containerLen; j++ {
  12767. mk := dd.DecodeFloat(false)
  12768. mv := v[mk]
  12769. mv = dd.DecodeBool()
  12770. if v != nil {
  12771. v[mk] = mv
  12772. }
  12773. }
  12774. } else if containerLen < 0 {
  12775. for j := 0; !dd.CheckBreak(); j++ {
  12776. mk := dd.DecodeFloat(false)
  12777. mv := v[mk]
  12778. mv = dd.DecodeBool()
  12779. if v != nil {
  12780. v[mk] = mv
  12781. }
  12782. }
  12783. dd.ReadEnd()
  12784. }
  12785. return v, changed
  12786. }
  12787. func (f decFnInfo) fastpathDecMapUintIntfR(rv reflect.Value) {
  12788. if rv.CanAddr() {
  12789. vp := rv.Addr().Interface().(*map[uint]interface{})
  12790. v, changed := fastpathTV.DecMapUintIntfV(*vp, fastpathCheckNilFalse, true, f.d)
  12791. if changed {
  12792. *vp = v
  12793. }
  12794. } else {
  12795. v := rv.Interface().(map[uint]interface{})
  12796. fastpathTV.DecMapUintIntfV(v, fastpathCheckNilFalse, false, f.d)
  12797. }
  12798. }
  12799. func (f fastpathT) DecMapUintIntfX(vp *map[uint]interface{}, checkNil bool, d *Decoder) {
  12800. v, changed := f.DecMapUintIntfV(*vp, checkNil, true, d)
  12801. if changed {
  12802. *vp = v
  12803. }
  12804. }
  12805. func (_ fastpathT) DecMapUintIntfV(v map[uint]interface{}, checkNil bool, canChange bool,
  12806. d *Decoder) (_ map[uint]interface{}, changed bool) {
  12807. dd := d.d
  12808. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  12809. if checkNil && dd.TryDecodeAsNil() {
  12810. if v != nil {
  12811. changed = true
  12812. }
  12813. return nil, changed
  12814. }
  12815. containerLen := dd.ReadMapStart()
  12816. if canChange && v == nil {
  12817. if containerLen > 0 {
  12818. v = make(map[uint]interface{}, containerLen)
  12819. } else {
  12820. v = make(map[uint]interface{}) // supports indefinite-length, etc
  12821. }
  12822. changed = true
  12823. }
  12824. if containerLen > 0 {
  12825. for j := 0; j < containerLen; j++ {
  12826. mk := uint(dd.DecodeUint(uintBitsize))
  12827. mv := v[mk]
  12828. d.decode(&mv)
  12829. if v != nil {
  12830. v[mk] = mv
  12831. }
  12832. }
  12833. } else if containerLen < 0 {
  12834. for j := 0; !dd.CheckBreak(); j++ {
  12835. mk := uint(dd.DecodeUint(uintBitsize))
  12836. mv := v[mk]
  12837. d.decode(&mv)
  12838. if v != nil {
  12839. v[mk] = mv
  12840. }
  12841. }
  12842. dd.ReadEnd()
  12843. }
  12844. return v, changed
  12845. }
  12846. func (f decFnInfo) fastpathDecMapUintStringR(rv reflect.Value) {
  12847. if rv.CanAddr() {
  12848. vp := rv.Addr().Interface().(*map[uint]string)
  12849. v, changed := fastpathTV.DecMapUintStringV(*vp, fastpathCheckNilFalse, true, f.d)
  12850. if changed {
  12851. *vp = v
  12852. }
  12853. } else {
  12854. v := rv.Interface().(map[uint]string)
  12855. fastpathTV.DecMapUintStringV(v, fastpathCheckNilFalse, false, f.d)
  12856. }
  12857. }
  12858. func (f fastpathT) DecMapUintStringX(vp *map[uint]string, checkNil bool, d *Decoder) {
  12859. v, changed := f.DecMapUintStringV(*vp, checkNil, true, d)
  12860. if changed {
  12861. *vp = v
  12862. }
  12863. }
  12864. func (_ fastpathT) DecMapUintStringV(v map[uint]string, checkNil bool, canChange bool,
  12865. d *Decoder) (_ map[uint]string, changed bool) {
  12866. dd := d.d
  12867. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  12868. if checkNil && dd.TryDecodeAsNil() {
  12869. if v != nil {
  12870. changed = true
  12871. }
  12872. return nil, changed
  12873. }
  12874. containerLen := dd.ReadMapStart()
  12875. if canChange && v == nil {
  12876. if containerLen > 0 {
  12877. v = make(map[uint]string, containerLen)
  12878. } else {
  12879. v = make(map[uint]string) // supports indefinite-length, etc
  12880. }
  12881. changed = true
  12882. }
  12883. if containerLen > 0 {
  12884. for j := 0; j < containerLen; j++ {
  12885. mk := uint(dd.DecodeUint(uintBitsize))
  12886. mv := v[mk]
  12887. mv = dd.DecodeString()
  12888. if v != nil {
  12889. v[mk] = mv
  12890. }
  12891. }
  12892. } else if containerLen < 0 {
  12893. for j := 0; !dd.CheckBreak(); j++ {
  12894. mk := uint(dd.DecodeUint(uintBitsize))
  12895. mv := v[mk]
  12896. mv = dd.DecodeString()
  12897. if v != nil {
  12898. v[mk] = mv
  12899. }
  12900. }
  12901. dd.ReadEnd()
  12902. }
  12903. return v, changed
  12904. }
  12905. func (f decFnInfo) fastpathDecMapUintUintR(rv reflect.Value) {
  12906. if rv.CanAddr() {
  12907. vp := rv.Addr().Interface().(*map[uint]uint)
  12908. v, changed := fastpathTV.DecMapUintUintV(*vp, fastpathCheckNilFalse, true, f.d)
  12909. if changed {
  12910. *vp = v
  12911. }
  12912. } else {
  12913. v := rv.Interface().(map[uint]uint)
  12914. fastpathTV.DecMapUintUintV(v, fastpathCheckNilFalse, false, f.d)
  12915. }
  12916. }
  12917. func (f fastpathT) DecMapUintUintX(vp *map[uint]uint, checkNil bool, d *Decoder) {
  12918. v, changed := f.DecMapUintUintV(*vp, checkNil, true, d)
  12919. if changed {
  12920. *vp = v
  12921. }
  12922. }
  12923. func (_ fastpathT) DecMapUintUintV(v map[uint]uint, checkNil bool, canChange bool,
  12924. d *Decoder) (_ map[uint]uint, changed bool) {
  12925. dd := d.d
  12926. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  12927. if checkNil && dd.TryDecodeAsNil() {
  12928. if v != nil {
  12929. changed = true
  12930. }
  12931. return nil, changed
  12932. }
  12933. containerLen := dd.ReadMapStart()
  12934. if canChange && v == nil {
  12935. if containerLen > 0 {
  12936. v = make(map[uint]uint, containerLen)
  12937. } else {
  12938. v = make(map[uint]uint) // supports indefinite-length, etc
  12939. }
  12940. changed = true
  12941. }
  12942. if containerLen > 0 {
  12943. for j := 0; j < containerLen; j++ {
  12944. mk := uint(dd.DecodeUint(uintBitsize))
  12945. mv := v[mk]
  12946. mv = uint(dd.DecodeUint(uintBitsize))
  12947. if v != nil {
  12948. v[mk] = mv
  12949. }
  12950. }
  12951. } else if containerLen < 0 {
  12952. for j := 0; !dd.CheckBreak(); j++ {
  12953. mk := uint(dd.DecodeUint(uintBitsize))
  12954. mv := v[mk]
  12955. mv = uint(dd.DecodeUint(uintBitsize))
  12956. if v != nil {
  12957. v[mk] = mv
  12958. }
  12959. }
  12960. dd.ReadEnd()
  12961. }
  12962. return v, changed
  12963. }
  12964. func (f decFnInfo) fastpathDecMapUintUint8R(rv reflect.Value) {
  12965. if rv.CanAddr() {
  12966. vp := rv.Addr().Interface().(*map[uint]uint8)
  12967. v, changed := fastpathTV.DecMapUintUint8V(*vp, fastpathCheckNilFalse, true, f.d)
  12968. if changed {
  12969. *vp = v
  12970. }
  12971. } else {
  12972. v := rv.Interface().(map[uint]uint8)
  12973. fastpathTV.DecMapUintUint8V(v, fastpathCheckNilFalse, false, f.d)
  12974. }
  12975. }
  12976. func (f fastpathT) DecMapUintUint8X(vp *map[uint]uint8, checkNil bool, d *Decoder) {
  12977. v, changed := f.DecMapUintUint8V(*vp, checkNil, true, d)
  12978. if changed {
  12979. *vp = v
  12980. }
  12981. }
  12982. func (_ fastpathT) DecMapUintUint8V(v map[uint]uint8, checkNil bool, canChange bool,
  12983. d *Decoder) (_ map[uint]uint8, changed bool) {
  12984. dd := d.d
  12985. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  12986. if checkNil && dd.TryDecodeAsNil() {
  12987. if v != nil {
  12988. changed = true
  12989. }
  12990. return nil, changed
  12991. }
  12992. containerLen := dd.ReadMapStart()
  12993. if canChange && v == nil {
  12994. if containerLen > 0 {
  12995. v = make(map[uint]uint8, containerLen)
  12996. } else {
  12997. v = make(map[uint]uint8) // supports indefinite-length, etc
  12998. }
  12999. changed = true
  13000. }
  13001. if containerLen > 0 {
  13002. for j := 0; j < containerLen; j++ {
  13003. mk := uint(dd.DecodeUint(uintBitsize))
  13004. mv := v[mk]
  13005. mv = uint8(dd.DecodeUint(8))
  13006. if v != nil {
  13007. v[mk] = mv
  13008. }
  13009. }
  13010. } else if containerLen < 0 {
  13011. for j := 0; !dd.CheckBreak(); j++ {
  13012. mk := uint(dd.DecodeUint(uintBitsize))
  13013. mv := v[mk]
  13014. mv = uint8(dd.DecodeUint(8))
  13015. if v != nil {
  13016. v[mk] = mv
  13017. }
  13018. }
  13019. dd.ReadEnd()
  13020. }
  13021. return v, changed
  13022. }
  13023. func (f decFnInfo) fastpathDecMapUintUint16R(rv reflect.Value) {
  13024. if rv.CanAddr() {
  13025. vp := rv.Addr().Interface().(*map[uint]uint16)
  13026. v, changed := fastpathTV.DecMapUintUint16V(*vp, fastpathCheckNilFalse, true, f.d)
  13027. if changed {
  13028. *vp = v
  13029. }
  13030. } else {
  13031. v := rv.Interface().(map[uint]uint16)
  13032. fastpathTV.DecMapUintUint16V(v, fastpathCheckNilFalse, false, f.d)
  13033. }
  13034. }
  13035. func (f fastpathT) DecMapUintUint16X(vp *map[uint]uint16, checkNil bool, d *Decoder) {
  13036. v, changed := f.DecMapUintUint16V(*vp, checkNil, true, d)
  13037. if changed {
  13038. *vp = v
  13039. }
  13040. }
  13041. func (_ fastpathT) DecMapUintUint16V(v map[uint]uint16, checkNil bool, canChange bool,
  13042. d *Decoder) (_ map[uint]uint16, changed bool) {
  13043. dd := d.d
  13044. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  13045. if checkNil && dd.TryDecodeAsNil() {
  13046. if v != nil {
  13047. changed = true
  13048. }
  13049. return nil, changed
  13050. }
  13051. containerLen := dd.ReadMapStart()
  13052. if canChange && v == nil {
  13053. if containerLen > 0 {
  13054. v = make(map[uint]uint16, containerLen)
  13055. } else {
  13056. v = make(map[uint]uint16) // supports indefinite-length, etc
  13057. }
  13058. changed = true
  13059. }
  13060. if containerLen > 0 {
  13061. for j := 0; j < containerLen; j++ {
  13062. mk := uint(dd.DecodeUint(uintBitsize))
  13063. mv := v[mk]
  13064. mv = uint16(dd.DecodeUint(16))
  13065. if v != nil {
  13066. v[mk] = mv
  13067. }
  13068. }
  13069. } else if containerLen < 0 {
  13070. for j := 0; !dd.CheckBreak(); j++ {
  13071. mk := uint(dd.DecodeUint(uintBitsize))
  13072. mv := v[mk]
  13073. mv = uint16(dd.DecodeUint(16))
  13074. if v != nil {
  13075. v[mk] = mv
  13076. }
  13077. }
  13078. dd.ReadEnd()
  13079. }
  13080. return v, changed
  13081. }
  13082. func (f decFnInfo) fastpathDecMapUintUint32R(rv reflect.Value) {
  13083. if rv.CanAddr() {
  13084. vp := rv.Addr().Interface().(*map[uint]uint32)
  13085. v, changed := fastpathTV.DecMapUintUint32V(*vp, fastpathCheckNilFalse, true, f.d)
  13086. if changed {
  13087. *vp = v
  13088. }
  13089. } else {
  13090. v := rv.Interface().(map[uint]uint32)
  13091. fastpathTV.DecMapUintUint32V(v, fastpathCheckNilFalse, false, f.d)
  13092. }
  13093. }
  13094. func (f fastpathT) DecMapUintUint32X(vp *map[uint]uint32, checkNil bool, d *Decoder) {
  13095. v, changed := f.DecMapUintUint32V(*vp, checkNil, true, d)
  13096. if changed {
  13097. *vp = v
  13098. }
  13099. }
  13100. func (_ fastpathT) DecMapUintUint32V(v map[uint]uint32, checkNil bool, canChange bool,
  13101. d *Decoder) (_ map[uint]uint32, changed bool) {
  13102. dd := d.d
  13103. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  13104. if checkNil && dd.TryDecodeAsNil() {
  13105. if v != nil {
  13106. changed = true
  13107. }
  13108. return nil, changed
  13109. }
  13110. containerLen := dd.ReadMapStart()
  13111. if canChange && v == nil {
  13112. if containerLen > 0 {
  13113. v = make(map[uint]uint32, containerLen)
  13114. } else {
  13115. v = make(map[uint]uint32) // supports indefinite-length, etc
  13116. }
  13117. changed = true
  13118. }
  13119. if containerLen > 0 {
  13120. for j := 0; j < containerLen; j++ {
  13121. mk := uint(dd.DecodeUint(uintBitsize))
  13122. mv := v[mk]
  13123. mv = uint32(dd.DecodeUint(32))
  13124. if v != nil {
  13125. v[mk] = mv
  13126. }
  13127. }
  13128. } else if containerLen < 0 {
  13129. for j := 0; !dd.CheckBreak(); j++ {
  13130. mk := uint(dd.DecodeUint(uintBitsize))
  13131. mv := v[mk]
  13132. mv = uint32(dd.DecodeUint(32))
  13133. if v != nil {
  13134. v[mk] = mv
  13135. }
  13136. }
  13137. dd.ReadEnd()
  13138. }
  13139. return v, changed
  13140. }
  13141. func (f decFnInfo) fastpathDecMapUintUint64R(rv reflect.Value) {
  13142. if rv.CanAddr() {
  13143. vp := rv.Addr().Interface().(*map[uint]uint64)
  13144. v, changed := fastpathTV.DecMapUintUint64V(*vp, fastpathCheckNilFalse, true, f.d)
  13145. if changed {
  13146. *vp = v
  13147. }
  13148. } else {
  13149. v := rv.Interface().(map[uint]uint64)
  13150. fastpathTV.DecMapUintUint64V(v, fastpathCheckNilFalse, false, f.d)
  13151. }
  13152. }
  13153. func (f fastpathT) DecMapUintUint64X(vp *map[uint]uint64, checkNil bool, d *Decoder) {
  13154. v, changed := f.DecMapUintUint64V(*vp, checkNil, true, d)
  13155. if changed {
  13156. *vp = v
  13157. }
  13158. }
  13159. func (_ fastpathT) DecMapUintUint64V(v map[uint]uint64, checkNil bool, canChange bool,
  13160. d *Decoder) (_ map[uint]uint64, changed bool) {
  13161. dd := d.d
  13162. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  13163. if checkNil && dd.TryDecodeAsNil() {
  13164. if v != nil {
  13165. changed = true
  13166. }
  13167. return nil, changed
  13168. }
  13169. containerLen := dd.ReadMapStart()
  13170. if canChange && v == nil {
  13171. if containerLen > 0 {
  13172. v = make(map[uint]uint64, containerLen)
  13173. } else {
  13174. v = make(map[uint]uint64) // supports indefinite-length, etc
  13175. }
  13176. changed = true
  13177. }
  13178. if containerLen > 0 {
  13179. for j := 0; j < containerLen; j++ {
  13180. mk := uint(dd.DecodeUint(uintBitsize))
  13181. mv := v[mk]
  13182. mv = dd.DecodeUint(64)
  13183. if v != nil {
  13184. v[mk] = mv
  13185. }
  13186. }
  13187. } else if containerLen < 0 {
  13188. for j := 0; !dd.CheckBreak(); j++ {
  13189. mk := uint(dd.DecodeUint(uintBitsize))
  13190. mv := v[mk]
  13191. mv = dd.DecodeUint(64)
  13192. if v != nil {
  13193. v[mk] = mv
  13194. }
  13195. }
  13196. dd.ReadEnd()
  13197. }
  13198. return v, changed
  13199. }
  13200. func (f decFnInfo) fastpathDecMapUintIntR(rv reflect.Value) {
  13201. if rv.CanAddr() {
  13202. vp := rv.Addr().Interface().(*map[uint]int)
  13203. v, changed := fastpathTV.DecMapUintIntV(*vp, fastpathCheckNilFalse, true, f.d)
  13204. if changed {
  13205. *vp = v
  13206. }
  13207. } else {
  13208. v := rv.Interface().(map[uint]int)
  13209. fastpathTV.DecMapUintIntV(v, fastpathCheckNilFalse, false, f.d)
  13210. }
  13211. }
  13212. func (f fastpathT) DecMapUintIntX(vp *map[uint]int, checkNil bool, d *Decoder) {
  13213. v, changed := f.DecMapUintIntV(*vp, checkNil, true, d)
  13214. if changed {
  13215. *vp = v
  13216. }
  13217. }
  13218. func (_ fastpathT) DecMapUintIntV(v map[uint]int, checkNil bool, canChange bool,
  13219. d *Decoder) (_ map[uint]int, changed bool) {
  13220. dd := d.d
  13221. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  13222. if checkNil && dd.TryDecodeAsNil() {
  13223. if v != nil {
  13224. changed = true
  13225. }
  13226. return nil, changed
  13227. }
  13228. containerLen := dd.ReadMapStart()
  13229. if canChange && v == nil {
  13230. if containerLen > 0 {
  13231. v = make(map[uint]int, containerLen)
  13232. } else {
  13233. v = make(map[uint]int) // supports indefinite-length, etc
  13234. }
  13235. changed = true
  13236. }
  13237. if containerLen > 0 {
  13238. for j := 0; j < containerLen; j++ {
  13239. mk := uint(dd.DecodeUint(uintBitsize))
  13240. mv := v[mk]
  13241. mv = int(dd.DecodeInt(intBitsize))
  13242. if v != nil {
  13243. v[mk] = mv
  13244. }
  13245. }
  13246. } else if containerLen < 0 {
  13247. for j := 0; !dd.CheckBreak(); j++ {
  13248. mk := uint(dd.DecodeUint(uintBitsize))
  13249. mv := v[mk]
  13250. mv = int(dd.DecodeInt(intBitsize))
  13251. if v != nil {
  13252. v[mk] = mv
  13253. }
  13254. }
  13255. dd.ReadEnd()
  13256. }
  13257. return v, changed
  13258. }
  13259. func (f decFnInfo) fastpathDecMapUintInt8R(rv reflect.Value) {
  13260. if rv.CanAddr() {
  13261. vp := rv.Addr().Interface().(*map[uint]int8)
  13262. v, changed := fastpathTV.DecMapUintInt8V(*vp, fastpathCheckNilFalse, true, f.d)
  13263. if changed {
  13264. *vp = v
  13265. }
  13266. } else {
  13267. v := rv.Interface().(map[uint]int8)
  13268. fastpathTV.DecMapUintInt8V(v, fastpathCheckNilFalse, false, f.d)
  13269. }
  13270. }
  13271. func (f fastpathT) DecMapUintInt8X(vp *map[uint]int8, checkNil bool, d *Decoder) {
  13272. v, changed := f.DecMapUintInt8V(*vp, checkNil, true, d)
  13273. if changed {
  13274. *vp = v
  13275. }
  13276. }
  13277. func (_ fastpathT) DecMapUintInt8V(v map[uint]int8, checkNil bool, canChange bool,
  13278. d *Decoder) (_ map[uint]int8, changed bool) {
  13279. dd := d.d
  13280. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  13281. if checkNil && dd.TryDecodeAsNil() {
  13282. if v != nil {
  13283. changed = true
  13284. }
  13285. return nil, changed
  13286. }
  13287. containerLen := dd.ReadMapStart()
  13288. if canChange && v == nil {
  13289. if containerLen > 0 {
  13290. v = make(map[uint]int8, containerLen)
  13291. } else {
  13292. v = make(map[uint]int8) // supports indefinite-length, etc
  13293. }
  13294. changed = true
  13295. }
  13296. if containerLen > 0 {
  13297. for j := 0; j < containerLen; j++ {
  13298. mk := uint(dd.DecodeUint(uintBitsize))
  13299. mv := v[mk]
  13300. mv = int8(dd.DecodeInt(8))
  13301. if v != nil {
  13302. v[mk] = mv
  13303. }
  13304. }
  13305. } else if containerLen < 0 {
  13306. for j := 0; !dd.CheckBreak(); j++ {
  13307. mk := uint(dd.DecodeUint(uintBitsize))
  13308. mv := v[mk]
  13309. mv = int8(dd.DecodeInt(8))
  13310. if v != nil {
  13311. v[mk] = mv
  13312. }
  13313. }
  13314. dd.ReadEnd()
  13315. }
  13316. return v, changed
  13317. }
  13318. func (f decFnInfo) fastpathDecMapUintInt16R(rv reflect.Value) {
  13319. if rv.CanAddr() {
  13320. vp := rv.Addr().Interface().(*map[uint]int16)
  13321. v, changed := fastpathTV.DecMapUintInt16V(*vp, fastpathCheckNilFalse, true, f.d)
  13322. if changed {
  13323. *vp = v
  13324. }
  13325. } else {
  13326. v := rv.Interface().(map[uint]int16)
  13327. fastpathTV.DecMapUintInt16V(v, fastpathCheckNilFalse, false, f.d)
  13328. }
  13329. }
  13330. func (f fastpathT) DecMapUintInt16X(vp *map[uint]int16, checkNil bool, d *Decoder) {
  13331. v, changed := f.DecMapUintInt16V(*vp, checkNil, true, d)
  13332. if changed {
  13333. *vp = v
  13334. }
  13335. }
  13336. func (_ fastpathT) DecMapUintInt16V(v map[uint]int16, checkNil bool, canChange bool,
  13337. d *Decoder) (_ map[uint]int16, changed bool) {
  13338. dd := d.d
  13339. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  13340. if checkNil && dd.TryDecodeAsNil() {
  13341. if v != nil {
  13342. changed = true
  13343. }
  13344. return nil, changed
  13345. }
  13346. containerLen := dd.ReadMapStart()
  13347. if canChange && v == nil {
  13348. if containerLen > 0 {
  13349. v = make(map[uint]int16, containerLen)
  13350. } else {
  13351. v = make(map[uint]int16) // supports indefinite-length, etc
  13352. }
  13353. changed = true
  13354. }
  13355. if containerLen > 0 {
  13356. for j := 0; j < containerLen; j++ {
  13357. mk := uint(dd.DecodeUint(uintBitsize))
  13358. mv := v[mk]
  13359. mv = int16(dd.DecodeInt(16))
  13360. if v != nil {
  13361. v[mk] = mv
  13362. }
  13363. }
  13364. } else if containerLen < 0 {
  13365. for j := 0; !dd.CheckBreak(); j++ {
  13366. mk := uint(dd.DecodeUint(uintBitsize))
  13367. mv := v[mk]
  13368. mv = int16(dd.DecodeInt(16))
  13369. if v != nil {
  13370. v[mk] = mv
  13371. }
  13372. }
  13373. dd.ReadEnd()
  13374. }
  13375. return v, changed
  13376. }
  13377. func (f decFnInfo) fastpathDecMapUintInt32R(rv reflect.Value) {
  13378. if rv.CanAddr() {
  13379. vp := rv.Addr().Interface().(*map[uint]int32)
  13380. v, changed := fastpathTV.DecMapUintInt32V(*vp, fastpathCheckNilFalse, true, f.d)
  13381. if changed {
  13382. *vp = v
  13383. }
  13384. } else {
  13385. v := rv.Interface().(map[uint]int32)
  13386. fastpathTV.DecMapUintInt32V(v, fastpathCheckNilFalse, false, f.d)
  13387. }
  13388. }
  13389. func (f fastpathT) DecMapUintInt32X(vp *map[uint]int32, checkNil bool, d *Decoder) {
  13390. v, changed := f.DecMapUintInt32V(*vp, checkNil, true, d)
  13391. if changed {
  13392. *vp = v
  13393. }
  13394. }
  13395. func (_ fastpathT) DecMapUintInt32V(v map[uint]int32, checkNil bool, canChange bool,
  13396. d *Decoder) (_ map[uint]int32, changed bool) {
  13397. dd := d.d
  13398. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  13399. if checkNil && dd.TryDecodeAsNil() {
  13400. if v != nil {
  13401. changed = true
  13402. }
  13403. return nil, changed
  13404. }
  13405. containerLen := dd.ReadMapStart()
  13406. if canChange && v == nil {
  13407. if containerLen > 0 {
  13408. v = make(map[uint]int32, containerLen)
  13409. } else {
  13410. v = make(map[uint]int32) // supports indefinite-length, etc
  13411. }
  13412. changed = true
  13413. }
  13414. if containerLen > 0 {
  13415. for j := 0; j < containerLen; j++ {
  13416. mk := uint(dd.DecodeUint(uintBitsize))
  13417. mv := v[mk]
  13418. mv = int32(dd.DecodeInt(32))
  13419. if v != nil {
  13420. v[mk] = mv
  13421. }
  13422. }
  13423. } else if containerLen < 0 {
  13424. for j := 0; !dd.CheckBreak(); j++ {
  13425. mk := uint(dd.DecodeUint(uintBitsize))
  13426. mv := v[mk]
  13427. mv = int32(dd.DecodeInt(32))
  13428. if v != nil {
  13429. v[mk] = mv
  13430. }
  13431. }
  13432. dd.ReadEnd()
  13433. }
  13434. return v, changed
  13435. }
  13436. func (f decFnInfo) fastpathDecMapUintInt64R(rv reflect.Value) {
  13437. if rv.CanAddr() {
  13438. vp := rv.Addr().Interface().(*map[uint]int64)
  13439. v, changed := fastpathTV.DecMapUintInt64V(*vp, fastpathCheckNilFalse, true, f.d)
  13440. if changed {
  13441. *vp = v
  13442. }
  13443. } else {
  13444. v := rv.Interface().(map[uint]int64)
  13445. fastpathTV.DecMapUintInt64V(v, fastpathCheckNilFalse, false, f.d)
  13446. }
  13447. }
  13448. func (f fastpathT) DecMapUintInt64X(vp *map[uint]int64, checkNil bool, d *Decoder) {
  13449. v, changed := f.DecMapUintInt64V(*vp, checkNil, true, d)
  13450. if changed {
  13451. *vp = v
  13452. }
  13453. }
  13454. func (_ fastpathT) DecMapUintInt64V(v map[uint]int64, checkNil bool, canChange bool,
  13455. d *Decoder) (_ map[uint]int64, changed bool) {
  13456. dd := d.d
  13457. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  13458. if checkNil && dd.TryDecodeAsNil() {
  13459. if v != nil {
  13460. changed = true
  13461. }
  13462. return nil, changed
  13463. }
  13464. containerLen := dd.ReadMapStart()
  13465. if canChange && v == nil {
  13466. if containerLen > 0 {
  13467. v = make(map[uint]int64, containerLen)
  13468. } else {
  13469. v = make(map[uint]int64) // supports indefinite-length, etc
  13470. }
  13471. changed = true
  13472. }
  13473. if containerLen > 0 {
  13474. for j := 0; j < containerLen; j++ {
  13475. mk := uint(dd.DecodeUint(uintBitsize))
  13476. mv := v[mk]
  13477. mv = dd.DecodeInt(64)
  13478. if v != nil {
  13479. v[mk] = mv
  13480. }
  13481. }
  13482. } else if containerLen < 0 {
  13483. for j := 0; !dd.CheckBreak(); j++ {
  13484. mk := uint(dd.DecodeUint(uintBitsize))
  13485. mv := v[mk]
  13486. mv = dd.DecodeInt(64)
  13487. if v != nil {
  13488. v[mk] = mv
  13489. }
  13490. }
  13491. dd.ReadEnd()
  13492. }
  13493. return v, changed
  13494. }
  13495. func (f decFnInfo) fastpathDecMapUintFloat32R(rv reflect.Value) {
  13496. if rv.CanAddr() {
  13497. vp := rv.Addr().Interface().(*map[uint]float32)
  13498. v, changed := fastpathTV.DecMapUintFloat32V(*vp, fastpathCheckNilFalse, true, f.d)
  13499. if changed {
  13500. *vp = v
  13501. }
  13502. } else {
  13503. v := rv.Interface().(map[uint]float32)
  13504. fastpathTV.DecMapUintFloat32V(v, fastpathCheckNilFalse, false, f.d)
  13505. }
  13506. }
  13507. func (f fastpathT) DecMapUintFloat32X(vp *map[uint]float32, checkNil bool, d *Decoder) {
  13508. v, changed := f.DecMapUintFloat32V(*vp, checkNil, true, d)
  13509. if changed {
  13510. *vp = v
  13511. }
  13512. }
  13513. func (_ fastpathT) DecMapUintFloat32V(v map[uint]float32, checkNil bool, canChange bool,
  13514. d *Decoder) (_ map[uint]float32, changed bool) {
  13515. dd := d.d
  13516. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  13517. if checkNil && dd.TryDecodeAsNil() {
  13518. if v != nil {
  13519. changed = true
  13520. }
  13521. return nil, changed
  13522. }
  13523. containerLen := dd.ReadMapStart()
  13524. if canChange && v == nil {
  13525. if containerLen > 0 {
  13526. v = make(map[uint]float32, containerLen)
  13527. } else {
  13528. v = make(map[uint]float32) // supports indefinite-length, etc
  13529. }
  13530. changed = true
  13531. }
  13532. if containerLen > 0 {
  13533. for j := 0; j < containerLen; j++ {
  13534. mk := uint(dd.DecodeUint(uintBitsize))
  13535. mv := v[mk]
  13536. mv = float32(dd.DecodeFloat(true))
  13537. if v != nil {
  13538. v[mk] = mv
  13539. }
  13540. }
  13541. } else if containerLen < 0 {
  13542. for j := 0; !dd.CheckBreak(); j++ {
  13543. mk := uint(dd.DecodeUint(uintBitsize))
  13544. mv := v[mk]
  13545. mv = float32(dd.DecodeFloat(true))
  13546. if v != nil {
  13547. v[mk] = mv
  13548. }
  13549. }
  13550. dd.ReadEnd()
  13551. }
  13552. return v, changed
  13553. }
  13554. func (f decFnInfo) fastpathDecMapUintFloat64R(rv reflect.Value) {
  13555. if rv.CanAddr() {
  13556. vp := rv.Addr().Interface().(*map[uint]float64)
  13557. v, changed := fastpathTV.DecMapUintFloat64V(*vp, fastpathCheckNilFalse, true, f.d)
  13558. if changed {
  13559. *vp = v
  13560. }
  13561. } else {
  13562. v := rv.Interface().(map[uint]float64)
  13563. fastpathTV.DecMapUintFloat64V(v, fastpathCheckNilFalse, false, f.d)
  13564. }
  13565. }
  13566. func (f fastpathT) DecMapUintFloat64X(vp *map[uint]float64, checkNil bool, d *Decoder) {
  13567. v, changed := f.DecMapUintFloat64V(*vp, checkNil, true, d)
  13568. if changed {
  13569. *vp = v
  13570. }
  13571. }
  13572. func (_ fastpathT) DecMapUintFloat64V(v map[uint]float64, checkNil bool, canChange bool,
  13573. d *Decoder) (_ map[uint]float64, changed bool) {
  13574. dd := d.d
  13575. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  13576. if checkNil && dd.TryDecodeAsNil() {
  13577. if v != nil {
  13578. changed = true
  13579. }
  13580. return nil, changed
  13581. }
  13582. containerLen := dd.ReadMapStart()
  13583. if canChange && v == nil {
  13584. if containerLen > 0 {
  13585. v = make(map[uint]float64, containerLen)
  13586. } else {
  13587. v = make(map[uint]float64) // supports indefinite-length, etc
  13588. }
  13589. changed = true
  13590. }
  13591. if containerLen > 0 {
  13592. for j := 0; j < containerLen; j++ {
  13593. mk := uint(dd.DecodeUint(uintBitsize))
  13594. mv := v[mk]
  13595. mv = dd.DecodeFloat(false)
  13596. if v != nil {
  13597. v[mk] = mv
  13598. }
  13599. }
  13600. } else if containerLen < 0 {
  13601. for j := 0; !dd.CheckBreak(); j++ {
  13602. mk := uint(dd.DecodeUint(uintBitsize))
  13603. mv := v[mk]
  13604. mv = dd.DecodeFloat(false)
  13605. if v != nil {
  13606. v[mk] = mv
  13607. }
  13608. }
  13609. dd.ReadEnd()
  13610. }
  13611. return v, changed
  13612. }
  13613. func (f decFnInfo) fastpathDecMapUintBoolR(rv reflect.Value) {
  13614. if rv.CanAddr() {
  13615. vp := rv.Addr().Interface().(*map[uint]bool)
  13616. v, changed := fastpathTV.DecMapUintBoolV(*vp, fastpathCheckNilFalse, true, f.d)
  13617. if changed {
  13618. *vp = v
  13619. }
  13620. } else {
  13621. v := rv.Interface().(map[uint]bool)
  13622. fastpathTV.DecMapUintBoolV(v, fastpathCheckNilFalse, false, f.d)
  13623. }
  13624. }
  13625. func (f fastpathT) DecMapUintBoolX(vp *map[uint]bool, checkNil bool, d *Decoder) {
  13626. v, changed := f.DecMapUintBoolV(*vp, checkNil, true, d)
  13627. if changed {
  13628. *vp = v
  13629. }
  13630. }
  13631. func (_ fastpathT) DecMapUintBoolV(v map[uint]bool, checkNil bool, canChange bool,
  13632. d *Decoder) (_ map[uint]bool, changed bool) {
  13633. dd := d.d
  13634. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  13635. if checkNil && dd.TryDecodeAsNil() {
  13636. if v != nil {
  13637. changed = true
  13638. }
  13639. return nil, changed
  13640. }
  13641. containerLen := dd.ReadMapStart()
  13642. if canChange && v == nil {
  13643. if containerLen > 0 {
  13644. v = make(map[uint]bool, containerLen)
  13645. } else {
  13646. v = make(map[uint]bool) // supports indefinite-length, etc
  13647. }
  13648. changed = true
  13649. }
  13650. if containerLen > 0 {
  13651. for j := 0; j < containerLen; j++ {
  13652. mk := uint(dd.DecodeUint(uintBitsize))
  13653. mv := v[mk]
  13654. mv = dd.DecodeBool()
  13655. if v != nil {
  13656. v[mk] = mv
  13657. }
  13658. }
  13659. } else if containerLen < 0 {
  13660. for j := 0; !dd.CheckBreak(); j++ {
  13661. mk := uint(dd.DecodeUint(uintBitsize))
  13662. mv := v[mk]
  13663. mv = dd.DecodeBool()
  13664. if v != nil {
  13665. v[mk] = mv
  13666. }
  13667. }
  13668. dd.ReadEnd()
  13669. }
  13670. return v, changed
  13671. }
  13672. func (f decFnInfo) fastpathDecMapUint8IntfR(rv reflect.Value) {
  13673. if rv.CanAddr() {
  13674. vp := rv.Addr().Interface().(*map[uint8]interface{})
  13675. v, changed := fastpathTV.DecMapUint8IntfV(*vp, fastpathCheckNilFalse, true, f.d)
  13676. if changed {
  13677. *vp = v
  13678. }
  13679. } else {
  13680. v := rv.Interface().(map[uint8]interface{})
  13681. fastpathTV.DecMapUint8IntfV(v, fastpathCheckNilFalse, false, f.d)
  13682. }
  13683. }
  13684. func (f fastpathT) DecMapUint8IntfX(vp *map[uint8]interface{}, checkNil bool, d *Decoder) {
  13685. v, changed := f.DecMapUint8IntfV(*vp, checkNil, true, d)
  13686. if changed {
  13687. *vp = v
  13688. }
  13689. }
  13690. func (_ fastpathT) DecMapUint8IntfV(v map[uint8]interface{}, checkNil bool, canChange bool,
  13691. d *Decoder) (_ map[uint8]interface{}, changed bool) {
  13692. dd := d.d
  13693. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  13694. if checkNil && dd.TryDecodeAsNil() {
  13695. if v != nil {
  13696. changed = true
  13697. }
  13698. return nil, changed
  13699. }
  13700. containerLen := dd.ReadMapStart()
  13701. if canChange && v == nil {
  13702. if containerLen > 0 {
  13703. v = make(map[uint8]interface{}, containerLen)
  13704. } else {
  13705. v = make(map[uint8]interface{}) // supports indefinite-length, etc
  13706. }
  13707. changed = true
  13708. }
  13709. if containerLen > 0 {
  13710. for j := 0; j < containerLen; j++ {
  13711. mk := uint8(dd.DecodeUint(8))
  13712. mv := v[mk]
  13713. d.decode(&mv)
  13714. if v != nil {
  13715. v[mk] = mv
  13716. }
  13717. }
  13718. } else if containerLen < 0 {
  13719. for j := 0; !dd.CheckBreak(); j++ {
  13720. mk := uint8(dd.DecodeUint(8))
  13721. mv := v[mk]
  13722. d.decode(&mv)
  13723. if v != nil {
  13724. v[mk] = mv
  13725. }
  13726. }
  13727. dd.ReadEnd()
  13728. }
  13729. return v, changed
  13730. }
  13731. func (f decFnInfo) fastpathDecMapUint8StringR(rv reflect.Value) {
  13732. if rv.CanAddr() {
  13733. vp := rv.Addr().Interface().(*map[uint8]string)
  13734. v, changed := fastpathTV.DecMapUint8StringV(*vp, fastpathCheckNilFalse, true, f.d)
  13735. if changed {
  13736. *vp = v
  13737. }
  13738. } else {
  13739. v := rv.Interface().(map[uint8]string)
  13740. fastpathTV.DecMapUint8StringV(v, fastpathCheckNilFalse, false, f.d)
  13741. }
  13742. }
  13743. func (f fastpathT) DecMapUint8StringX(vp *map[uint8]string, checkNil bool, d *Decoder) {
  13744. v, changed := f.DecMapUint8StringV(*vp, checkNil, true, d)
  13745. if changed {
  13746. *vp = v
  13747. }
  13748. }
  13749. func (_ fastpathT) DecMapUint8StringV(v map[uint8]string, checkNil bool, canChange bool,
  13750. d *Decoder) (_ map[uint8]string, changed bool) {
  13751. dd := d.d
  13752. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  13753. if checkNil && dd.TryDecodeAsNil() {
  13754. if v != nil {
  13755. changed = true
  13756. }
  13757. return nil, changed
  13758. }
  13759. containerLen := dd.ReadMapStart()
  13760. if canChange && v == nil {
  13761. if containerLen > 0 {
  13762. v = make(map[uint8]string, containerLen)
  13763. } else {
  13764. v = make(map[uint8]string) // supports indefinite-length, etc
  13765. }
  13766. changed = true
  13767. }
  13768. if containerLen > 0 {
  13769. for j := 0; j < containerLen; j++ {
  13770. mk := uint8(dd.DecodeUint(8))
  13771. mv := v[mk]
  13772. mv = dd.DecodeString()
  13773. if v != nil {
  13774. v[mk] = mv
  13775. }
  13776. }
  13777. } else if containerLen < 0 {
  13778. for j := 0; !dd.CheckBreak(); j++ {
  13779. mk := uint8(dd.DecodeUint(8))
  13780. mv := v[mk]
  13781. mv = dd.DecodeString()
  13782. if v != nil {
  13783. v[mk] = mv
  13784. }
  13785. }
  13786. dd.ReadEnd()
  13787. }
  13788. return v, changed
  13789. }
  13790. func (f decFnInfo) fastpathDecMapUint8UintR(rv reflect.Value) {
  13791. if rv.CanAddr() {
  13792. vp := rv.Addr().Interface().(*map[uint8]uint)
  13793. v, changed := fastpathTV.DecMapUint8UintV(*vp, fastpathCheckNilFalse, true, f.d)
  13794. if changed {
  13795. *vp = v
  13796. }
  13797. } else {
  13798. v := rv.Interface().(map[uint8]uint)
  13799. fastpathTV.DecMapUint8UintV(v, fastpathCheckNilFalse, false, f.d)
  13800. }
  13801. }
  13802. func (f fastpathT) DecMapUint8UintX(vp *map[uint8]uint, checkNil bool, d *Decoder) {
  13803. v, changed := f.DecMapUint8UintV(*vp, checkNil, true, d)
  13804. if changed {
  13805. *vp = v
  13806. }
  13807. }
  13808. func (_ fastpathT) DecMapUint8UintV(v map[uint8]uint, checkNil bool, canChange bool,
  13809. d *Decoder) (_ map[uint8]uint, changed bool) {
  13810. dd := d.d
  13811. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  13812. if checkNil && dd.TryDecodeAsNil() {
  13813. if v != nil {
  13814. changed = true
  13815. }
  13816. return nil, changed
  13817. }
  13818. containerLen := dd.ReadMapStart()
  13819. if canChange && v == nil {
  13820. if containerLen > 0 {
  13821. v = make(map[uint8]uint, containerLen)
  13822. } else {
  13823. v = make(map[uint8]uint) // supports indefinite-length, etc
  13824. }
  13825. changed = true
  13826. }
  13827. if containerLen > 0 {
  13828. for j := 0; j < containerLen; j++ {
  13829. mk := uint8(dd.DecodeUint(8))
  13830. mv := v[mk]
  13831. mv = uint(dd.DecodeUint(uintBitsize))
  13832. if v != nil {
  13833. v[mk] = mv
  13834. }
  13835. }
  13836. } else if containerLen < 0 {
  13837. for j := 0; !dd.CheckBreak(); j++ {
  13838. mk := uint8(dd.DecodeUint(8))
  13839. mv := v[mk]
  13840. mv = uint(dd.DecodeUint(uintBitsize))
  13841. if v != nil {
  13842. v[mk] = mv
  13843. }
  13844. }
  13845. dd.ReadEnd()
  13846. }
  13847. return v, changed
  13848. }
  13849. func (f decFnInfo) fastpathDecMapUint8Uint8R(rv reflect.Value) {
  13850. if rv.CanAddr() {
  13851. vp := rv.Addr().Interface().(*map[uint8]uint8)
  13852. v, changed := fastpathTV.DecMapUint8Uint8V(*vp, fastpathCheckNilFalse, true, f.d)
  13853. if changed {
  13854. *vp = v
  13855. }
  13856. } else {
  13857. v := rv.Interface().(map[uint8]uint8)
  13858. fastpathTV.DecMapUint8Uint8V(v, fastpathCheckNilFalse, false, f.d)
  13859. }
  13860. }
  13861. func (f fastpathT) DecMapUint8Uint8X(vp *map[uint8]uint8, checkNil bool, d *Decoder) {
  13862. v, changed := f.DecMapUint8Uint8V(*vp, checkNil, true, d)
  13863. if changed {
  13864. *vp = v
  13865. }
  13866. }
  13867. func (_ fastpathT) DecMapUint8Uint8V(v map[uint8]uint8, checkNil bool, canChange bool,
  13868. d *Decoder) (_ map[uint8]uint8, changed bool) {
  13869. dd := d.d
  13870. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  13871. if checkNil && dd.TryDecodeAsNil() {
  13872. if v != nil {
  13873. changed = true
  13874. }
  13875. return nil, changed
  13876. }
  13877. containerLen := dd.ReadMapStart()
  13878. if canChange && v == nil {
  13879. if containerLen > 0 {
  13880. v = make(map[uint8]uint8, containerLen)
  13881. } else {
  13882. v = make(map[uint8]uint8) // supports indefinite-length, etc
  13883. }
  13884. changed = true
  13885. }
  13886. if containerLen > 0 {
  13887. for j := 0; j < containerLen; j++ {
  13888. mk := uint8(dd.DecodeUint(8))
  13889. mv := v[mk]
  13890. mv = uint8(dd.DecodeUint(8))
  13891. if v != nil {
  13892. v[mk] = mv
  13893. }
  13894. }
  13895. } else if containerLen < 0 {
  13896. for j := 0; !dd.CheckBreak(); j++ {
  13897. mk := uint8(dd.DecodeUint(8))
  13898. mv := v[mk]
  13899. mv = uint8(dd.DecodeUint(8))
  13900. if v != nil {
  13901. v[mk] = mv
  13902. }
  13903. }
  13904. dd.ReadEnd()
  13905. }
  13906. return v, changed
  13907. }
  13908. func (f decFnInfo) fastpathDecMapUint8Uint16R(rv reflect.Value) {
  13909. if rv.CanAddr() {
  13910. vp := rv.Addr().Interface().(*map[uint8]uint16)
  13911. v, changed := fastpathTV.DecMapUint8Uint16V(*vp, fastpathCheckNilFalse, true, f.d)
  13912. if changed {
  13913. *vp = v
  13914. }
  13915. } else {
  13916. v := rv.Interface().(map[uint8]uint16)
  13917. fastpathTV.DecMapUint8Uint16V(v, fastpathCheckNilFalse, false, f.d)
  13918. }
  13919. }
  13920. func (f fastpathT) DecMapUint8Uint16X(vp *map[uint8]uint16, checkNil bool, d *Decoder) {
  13921. v, changed := f.DecMapUint8Uint16V(*vp, checkNil, true, d)
  13922. if changed {
  13923. *vp = v
  13924. }
  13925. }
  13926. func (_ fastpathT) DecMapUint8Uint16V(v map[uint8]uint16, checkNil bool, canChange bool,
  13927. d *Decoder) (_ map[uint8]uint16, changed bool) {
  13928. dd := d.d
  13929. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  13930. if checkNil && dd.TryDecodeAsNil() {
  13931. if v != nil {
  13932. changed = true
  13933. }
  13934. return nil, changed
  13935. }
  13936. containerLen := dd.ReadMapStart()
  13937. if canChange && v == nil {
  13938. if containerLen > 0 {
  13939. v = make(map[uint8]uint16, containerLen)
  13940. } else {
  13941. v = make(map[uint8]uint16) // supports indefinite-length, etc
  13942. }
  13943. changed = true
  13944. }
  13945. if containerLen > 0 {
  13946. for j := 0; j < containerLen; j++ {
  13947. mk := uint8(dd.DecodeUint(8))
  13948. mv := v[mk]
  13949. mv = uint16(dd.DecodeUint(16))
  13950. if v != nil {
  13951. v[mk] = mv
  13952. }
  13953. }
  13954. } else if containerLen < 0 {
  13955. for j := 0; !dd.CheckBreak(); j++ {
  13956. mk := uint8(dd.DecodeUint(8))
  13957. mv := v[mk]
  13958. mv = uint16(dd.DecodeUint(16))
  13959. if v != nil {
  13960. v[mk] = mv
  13961. }
  13962. }
  13963. dd.ReadEnd()
  13964. }
  13965. return v, changed
  13966. }
  13967. func (f decFnInfo) fastpathDecMapUint8Uint32R(rv reflect.Value) {
  13968. if rv.CanAddr() {
  13969. vp := rv.Addr().Interface().(*map[uint8]uint32)
  13970. v, changed := fastpathTV.DecMapUint8Uint32V(*vp, fastpathCheckNilFalse, true, f.d)
  13971. if changed {
  13972. *vp = v
  13973. }
  13974. } else {
  13975. v := rv.Interface().(map[uint8]uint32)
  13976. fastpathTV.DecMapUint8Uint32V(v, fastpathCheckNilFalse, false, f.d)
  13977. }
  13978. }
  13979. func (f fastpathT) DecMapUint8Uint32X(vp *map[uint8]uint32, checkNil bool, d *Decoder) {
  13980. v, changed := f.DecMapUint8Uint32V(*vp, checkNil, true, d)
  13981. if changed {
  13982. *vp = v
  13983. }
  13984. }
  13985. func (_ fastpathT) DecMapUint8Uint32V(v map[uint8]uint32, checkNil bool, canChange bool,
  13986. d *Decoder) (_ map[uint8]uint32, changed bool) {
  13987. dd := d.d
  13988. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  13989. if checkNil && dd.TryDecodeAsNil() {
  13990. if v != nil {
  13991. changed = true
  13992. }
  13993. return nil, changed
  13994. }
  13995. containerLen := dd.ReadMapStart()
  13996. if canChange && v == nil {
  13997. if containerLen > 0 {
  13998. v = make(map[uint8]uint32, containerLen)
  13999. } else {
  14000. v = make(map[uint8]uint32) // supports indefinite-length, etc
  14001. }
  14002. changed = true
  14003. }
  14004. if containerLen > 0 {
  14005. for j := 0; j < containerLen; j++ {
  14006. mk := uint8(dd.DecodeUint(8))
  14007. mv := v[mk]
  14008. mv = uint32(dd.DecodeUint(32))
  14009. if v != nil {
  14010. v[mk] = mv
  14011. }
  14012. }
  14013. } else if containerLen < 0 {
  14014. for j := 0; !dd.CheckBreak(); j++ {
  14015. mk := uint8(dd.DecodeUint(8))
  14016. mv := v[mk]
  14017. mv = uint32(dd.DecodeUint(32))
  14018. if v != nil {
  14019. v[mk] = mv
  14020. }
  14021. }
  14022. dd.ReadEnd()
  14023. }
  14024. return v, changed
  14025. }
  14026. func (f decFnInfo) fastpathDecMapUint8Uint64R(rv reflect.Value) {
  14027. if rv.CanAddr() {
  14028. vp := rv.Addr().Interface().(*map[uint8]uint64)
  14029. v, changed := fastpathTV.DecMapUint8Uint64V(*vp, fastpathCheckNilFalse, true, f.d)
  14030. if changed {
  14031. *vp = v
  14032. }
  14033. } else {
  14034. v := rv.Interface().(map[uint8]uint64)
  14035. fastpathTV.DecMapUint8Uint64V(v, fastpathCheckNilFalse, false, f.d)
  14036. }
  14037. }
  14038. func (f fastpathT) DecMapUint8Uint64X(vp *map[uint8]uint64, checkNil bool, d *Decoder) {
  14039. v, changed := f.DecMapUint8Uint64V(*vp, checkNil, true, d)
  14040. if changed {
  14041. *vp = v
  14042. }
  14043. }
  14044. func (_ fastpathT) DecMapUint8Uint64V(v map[uint8]uint64, checkNil bool, canChange bool,
  14045. d *Decoder) (_ map[uint8]uint64, changed bool) {
  14046. dd := d.d
  14047. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  14048. if checkNil && dd.TryDecodeAsNil() {
  14049. if v != nil {
  14050. changed = true
  14051. }
  14052. return nil, changed
  14053. }
  14054. containerLen := dd.ReadMapStart()
  14055. if canChange && v == nil {
  14056. if containerLen > 0 {
  14057. v = make(map[uint8]uint64, containerLen)
  14058. } else {
  14059. v = make(map[uint8]uint64) // supports indefinite-length, etc
  14060. }
  14061. changed = true
  14062. }
  14063. if containerLen > 0 {
  14064. for j := 0; j < containerLen; j++ {
  14065. mk := uint8(dd.DecodeUint(8))
  14066. mv := v[mk]
  14067. mv = dd.DecodeUint(64)
  14068. if v != nil {
  14069. v[mk] = mv
  14070. }
  14071. }
  14072. } else if containerLen < 0 {
  14073. for j := 0; !dd.CheckBreak(); j++ {
  14074. mk := uint8(dd.DecodeUint(8))
  14075. mv := v[mk]
  14076. mv = dd.DecodeUint(64)
  14077. if v != nil {
  14078. v[mk] = mv
  14079. }
  14080. }
  14081. dd.ReadEnd()
  14082. }
  14083. return v, changed
  14084. }
  14085. func (f decFnInfo) fastpathDecMapUint8IntR(rv reflect.Value) {
  14086. if rv.CanAddr() {
  14087. vp := rv.Addr().Interface().(*map[uint8]int)
  14088. v, changed := fastpathTV.DecMapUint8IntV(*vp, fastpathCheckNilFalse, true, f.d)
  14089. if changed {
  14090. *vp = v
  14091. }
  14092. } else {
  14093. v := rv.Interface().(map[uint8]int)
  14094. fastpathTV.DecMapUint8IntV(v, fastpathCheckNilFalse, false, f.d)
  14095. }
  14096. }
  14097. func (f fastpathT) DecMapUint8IntX(vp *map[uint8]int, checkNil bool, d *Decoder) {
  14098. v, changed := f.DecMapUint8IntV(*vp, checkNil, true, d)
  14099. if changed {
  14100. *vp = v
  14101. }
  14102. }
  14103. func (_ fastpathT) DecMapUint8IntV(v map[uint8]int, checkNil bool, canChange bool,
  14104. d *Decoder) (_ map[uint8]int, changed bool) {
  14105. dd := d.d
  14106. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  14107. if checkNil && dd.TryDecodeAsNil() {
  14108. if v != nil {
  14109. changed = true
  14110. }
  14111. return nil, changed
  14112. }
  14113. containerLen := dd.ReadMapStart()
  14114. if canChange && v == nil {
  14115. if containerLen > 0 {
  14116. v = make(map[uint8]int, containerLen)
  14117. } else {
  14118. v = make(map[uint8]int) // supports indefinite-length, etc
  14119. }
  14120. changed = true
  14121. }
  14122. if containerLen > 0 {
  14123. for j := 0; j < containerLen; j++ {
  14124. mk := uint8(dd.DecodeUint(8))
  14125. mv := v[mk]
  14126. mv = int(dd.DecodeInt(intBitsize))
  14127. if v != nil {
  14128. v[mk] = mv
  14129. }
  14130. }
  14131. } else if containerLen < 0 {
  14132. for j := 0; !dd.CheckBreak(); j++ {
  14133. mk := uint8(dd.DecodeUint(8))
  14134. mv := v[mk]
  14135. mv = int(dd.DecodeInt(intBitsize))
  14136. if v != nil {
  14137. v[mk] = mv
  14138. }
  14139. }
  14140. dd.ReadEnd()
  14141. }
  14142. return v, changed
  14143. }
  14144. func (f decFnInfo) fastpathDecMapUint8Int8R(rv reflect.Value) {
  14145. if rv.CanAddr() {
  14146. vp := rv.Addr().Interface().(*map[uint8]int8)
  14147. v, changed := fastpathTV.DecMapUint8Int8V(*vp, fastpathCheckNilFalse, true, f.d)
  14148. if changed {
  14149. *vp = v
  14150. }
  14151. } else {
  14152. v := rv.Interface().(map[uint8]int8)
  14153. fastpathTV.DecMapUint8Int8V(v, fastpathCheckNilFalse, false, f.d)
  14154. }
  14155. }
  14156. func (f fastpathT) DecMapUint8Int8X(vp *map[uint8]int8, checkNil bool, d *Decoder) {
  14157. v, changed := f.DecMapUint8Int8V(*vp, checkNil, true, d)
  14158. if changed {
  14159. *vp = v
  14160. }
  14161. }
  14162. func (_ fastpathT) DecMapUint8Int8V(v map[uint8]int8, checkNil bool, canChange bool,
  14163. d *Decoder) (_ map[uint8]int8, changed bool) {
  14164. dd := d.d
  14165. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  14166. if checkNil && dd.TryDecodeAsNil() {
  14167. if v != nil {
  14168. changed = true
  14169. }
  14170. return nil, changed
  14171. }
  14172. containerLen := dd.ReadMapStart()
  14173. if canChange && v == nil {
  14174. if containerLen > 0 {
  14175. v = make(map[uint8]int8, containerLen)
  14176. } else {
  14177. v = make(map[uint8]int8) // supports indefinite-length, etc
  14178. }
  14179. changed = true
  14180. }
  14181. if containerLen > 0 {
  14182. for j := 0; j < containerLen; j++ {
  14183. mk := uint8(dd.DecodeUint(8))
  14184. mv := v[mk]
  14185. mv = int8(dd.DecodeInt(8))
  14186. if v != nil {
  14187. v[mk] = mv
  14188. }
  14189. }
  14190. } else if containerLen < 0 {
  14191. for j := 0; !dd.CheckBreak(); j++ {
  14192. mk := uint8(dd.DecodeUint(8))
  14193. mv := v[mk]
  14194. mv = int8(dd.DecodeInt(8))
  14195. if v != nil {
  14196. v[mk] = mv
  14197. }
  14198. }
  14199. dd.ReadEnd()
  14200. }
  14201. return v, changed
  14202. }
  14203. func (f decFnInfo) fastpathDecMapUint8Int16R(rv reflect.Value) {
  14204. if rv.CanAddr() {
  14205. vp := rv.Addr().Interface().(*map[uint8]int16)
  14206. v, changed := fastpathTV.DecMapUint8Int16V(*vp, fastpathCheckNilFalse, true, f.d)
  14207. if changed {
  14208. *vp = v
  14209. }
  14210. } else {
  14211. v := rv.Interface().(map[uint8]int16)
  14212. fastpathTV.DecMapUint8Int16V(v, fastpathCheckNilFalse, false, f.d)
  14213. }
  14214. }
  14215. func (f fastpathT) DecMapUint8Int16X(vp *map[uint8]int16, checkNil bool, d *Decoder) {
  14216. v, changed := f.DecMapUint8Int16V(*vp, checkNil, true, d)
  14217. if changed {
  14218. *vp = v
  14219. }
  14220. }
  14221. func (_ fastpathT) DecMapUint8Int16V(v map[uint8]int16, checkNil bool, canChange bool,
  14222. d *Decoder) (_ map[uint8]int16, changed bool) {
  14223. dd := d.d
  14224. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  14225. if checkNil && dd.TryDecodeAsNil() {
  14226. if v != nil {
  14227. changed = true
  14228. }
  14229. return nil, changed
  14230. }
  14231. containerLen := dd.ReadMapStart()
  14232. if canChange && v == nil {
  14233. if containerLen > 0 {
  14234. v = make(map[uint8]int16, containerLen)
  14235. } else {
  14236. v = make(map[uint8]int16) // supports indefinite-length, etc
  14237. }
  14238. changed = true
  14239. }
  14240. if containerLen > 0 {
  14241. for j := 0; j < containerLen; j++ {
  14242. mk := uint8(dd.DecodeUint(8))
  14243. mv := v[mk]
  14244. mv = int16(dd.DecodeInt(16))
  14245. if v != nil {
  14246. v[mk] = mv
  14247. }
  14248. }
  14249. } else if containerLen < 0 {
  14250. for j := 0; !dd.CheckBreak(); j++ {
  14251. mk := uint8(dd.DecodeUint(8))
  14252. mv := v[mk]
  14253. mv = int16(dd.DecodeInt(16))
  14254. if v != nil {
  14255. v[mk] = mv
  14256. }
  14257. }
  14258. dd.ReadEnd()
  14259. }
  14260. return v, changed
  14261. }
  14262. func (f decFnInfo) fastpathDecMapUint8Int32R(rv reflect.Value) {
  14263. if rv.CanAddr() {
  14264. vp := rv.Addr().Interface().(*map[uint8]int32)
  14265. v, changed := fastpathTV.DecMapUint8Int32V(*vp, fastpathCheckNilFalse, true, f.d)
  14266. if changed {
  14267. *vp = v
  14268. }
  14269. } else {
  14270. v := rv.Interface().(map[uint8]int32)
  14271. fastpathTV.DecMapUint8Int32V(v, fastpathCheckNilFalse, false, f.d)
  14272. }
  14273. }
  14274. func (f fastpathT) DecMapUint8Int32X(vp *map[uint8]int32, checkNil bool, d *Decoder) {
  14275. v, changed := f.DecMapUint8Int32V(*vp, checkNil, true, d)
  14276. if changed {
  14277. *vp = v
  14278. }
  14279. }
  14280. func (_ fastpathT) DecMapUint8Int32V(v map[uint8]int32, checkNil bool, canChange bool,
  14281. d *Decoder) (_ map[uint8]int32, changed bool) {
  14282. dd := d.d
  14283. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  14284. if checkNil && dd.TryDecodeAsNil() {
  14285. if v != nil {
  14286. changed = true
  14287. }
  14288. return nil, changed
  14289. }
  14290. containerLen := dd.ReadMapStart()
  14291. if canChange && v == nil {
  14292. if containerLen > 0 {
  14293. v = make(map[uint8]int32, containerLen)
  14294. } else {
  14295. v = make(map[uint8]int32) // supports indefinite-length, etc
  14296. }
  14297. changed = true
  14298. }
  14299. if containerLen > 0 {
  14300. for j := 0; j < containerLen; j++ {
  14301. mk := uint8(dd.DecodeUint(8))
  14302. mv := v[mk]
  14303. mv = int32(dd.DecodeInt(32))
  14304. if v != nil {
  14305. v[mk] = mv
  14306. }
  14307. }
  14308. } else if containerLen < 0 {
  14309. for j := 0; !dd.CheckBreak(); j++ {
  14310. mk := uint8(dd.DecodeUint(8))
  14311. mv := v[mk]
  14312. mv = int32(dd.DecodeInt(32))
  14313. if v != nil {
  14314. v[mk] = mv
  14315. }
  14316. }
  14317. dd.ReadEnd()
  14318. }
  14319. return v, changed
  14320. }
  14321. func (f decFnInfo) fastpathDecMapUint8Int64R(rv reflect.Value) {
  14322. if rv.CanAddr() {
  14323. vp := rv.Addr().Interface().(*map[uint8]int64)
  14324. v, changed := fastpathTV.DecMapUint8Int64V(*vp, fastpathCheckNilFalse, true, f.d)
  14325. if changed {
  14326. *vp = v
  14327. }
  14328. } else {
  14329. v := rv.Interface().(map[uint8]int64)
  14330. fastpathTV.DecMapUint8Int64V(v, fastpathCheckNilFalse, false, f.d)
  14331. }
  14332. }
  14333. func (f fastpathT) DecMapUint8Int64X(vp *map[uint8]int64, checkNil bool, d *Decoder) {
  14334. v, changed := f.DecMapUint8Int64V(*vp, checkNil, true, d)
  14335. if changed {
  14336. *vp = v
  14337. }
  14338. }
  14339. func (_ fastpathT) DecMapUint8Int64V(v map[uint8]int64, checkNil bool, canChange bool,
  14340. d *Decoder) (_ map[uint8]int64, changed bool) {
  14341. dd := d.d
  14342. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  14343. if checkNil && dd.TryDecodeAsNil() {
  14344. if v != nil {
  14345. changed = true
  14346. }
  14347. return nil, changed
  14348. }
  14349. containerLen := dd.ReadMapStart()
  14350. if canChange && v == nil {
  14351. if containerLen > 0 {
  14352. v = make(map[uint8]int64, containerLen)
  14353. } else {
  14354. v = make(map[uint8]int64) // supports indefinite-length, etc
  14355. }
  14356. changed = true
  14357. }
  14358. if containerLen > 0 {
  14359. for j := 0; j < containerLen; j++ {
  14360. mk := uint8(dd.DecodeUint(8))
  14361. mv := v[mk]
  14362. mv = dd.DecodeInt(64)
  14363. if v != nil {
  14364. v[mk] = mv
  14365. }
  14366. }
  14367. } else if containerLen < 0 {
  14368. for j := 0; !dd.CheckBreak(); j++ {
  14369. mk := uint8(dd.DecodeUint(8))
  14370. mv := v[mk]
  14371. mv = dd.DecodeInt(64)
  14372. if v != nil {
  14373. v[mk] = mv
  14374. }
  14375. }
  14376. dd.ReadEnd()
  14377. }
  14378. return v, changed
  14379. }
  14380. func (f decFnInfo) fastpathDecMapUint8Float32R(rv reflect.Value) {
  14381. if rv.CanAddr() {
  14382. vp := rv.Addr().Interface().(*map[uint8]float32)
  14383. v, changed := fastpathTV.DecMapUint8Float32V(*vp, fastpathCheckNilFalse, true, f.d)
  14384. if changed {
  14385. *vp = v
  14386. }
  14387. } else {
  14388. v := rv.Interface().(map[uint8]float32)
  14389. fastpathTV.DecMapUint8Float32V(v, fastpathCheckNilFalse, false, f.d)
  14390. }
  14391. }
  14392. func (f fastpathT) DecMapUint8Float32X(vp *map[uint8]float32, checkNil bool, d *Decoder) {
  14393. v, changed := f.DecMapUint8Float32V(*vp, checkNil, true, d)
  14394. if changed {
  14395. *vp = v
  14396. }
  14397. }
  14398. func (_ fastpathT) DecMapUint8Float32V(v map[uint8]float32, checkNil bool, canChange bool,
  14399. d *Decoder) (_ map[uint8]float32, changed bool) {
  14400. dd := d.d
  14401. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  14402. if checkNil && dd.TryDecodeAsNil() {
  14403. if v != nil {
  14404. changed = true
  14405. }
  14406. return nil, changed
  14407. }
  14408. containerLen := dd.ReadMapStart()
  14409. if canChange && v == nil {
  14410. if containerLen > 0 {
  14411. v = make(map[uint8]float32, containerLen)
  14412. } else {
  14413. v = make(map[uint8]float32) // supports indefinite-length, etc
  14414. }
  14415. changed = true
  14416. }
  14417. if containerLen > 0 {
  14418. for j := 0; j < containerLen; j++ {
  14419. mk := uint8(dd.DecodeUint(8))
  14420. mv := v[mk]
  14421. mv = float32(dd.DecodeFloat(true))
  14422. if v != nil {
  14423. v[mk] = mv
  14424. }
  14425. }
  14426. } else if containerLen < 0 {
  14427. for j := 0; !dd.CheckBreak(); j++ {
  14428. mk := uint8(dd.DecodeUint(8))
  14429. mv := v[mk]
  14430. mv = float32(dd.DecodeFloat(true))
  14431. if v != nil {
  14432. v[mk] = mv
  14433. }
  14434. }
  14435. dd.ReadEnd()
  14436. }
  14437. return v, changed
  14438. }
  14439. func (f decFnInfo) fastpathDecMapUint8Float64R(rv reflect.Value) {
  14440. if rv.CanAddr() {
  14441. vp := rv.Addr().Interface().(*map[uint8]float64)
  14442. v, changed := fastpathTV.DecMapUint8Float64V(*vp, fastpathCheckNilFalse, true, f.d)
  14443. if changed {
  14444. *vp = v
  14445. }
  14446. } else {
  14447. v := rv.Interface().(map[uint8]float64)
  14448. fastpathTV.DecMapUint8Float64V(v, fastpathCheckNilFalse, false, f.d)
  14449. }
  14450. }
  14451. func (f fastpathT) DecMapUint8Float64X(vp *map[uint8]float64, checkNil bool, d *Decoder) {
  14452. v, changed := f.DecMapUint8Float64V(*vp, checkNil, true, d)
  14453. if changed {
  14454. *vp = v
  14455. }
  14456. }
  14457. func (_ fastpathT) DecMapUint8Float64V(v map[uint8]float64, checkNil bool, canChange bool,
  14458. d *Decoder) (_ map[uint8]float64, changed bool) {
  14459. dd := d.d
  14460. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  14461. if checkNil && dd.TryDecodeAsNil() {
  14462. if v != nil {
  14463. changed = true
  14464. }
  14465. return nil, changed
  14466. }
  14467. containerLen := dd.ReadMapStart()
  14468. if canChange && v == nil {
  14469. if containerLen > 0 {
  14470. v = make(map[uint8]float64, containerLen)
  14471. } else {
  14472. v = make(map[uint8]float64) // supports indefinite-length, etc
  14473. }
  14474. changed = true
  14475. }
  14476. if containerLen > 0 {
  14477. for j := 0; j < containerLen; j++ {
  14478. mk := uint8(dd.DecodeUint(8))
  14479. mv := v[mk]
  14480. mv = dd.DecodeFloat(false)
  14481. if v != nil {
  14482. v[mk] = mv
  14483. }
  14484. }
  14485. } else if containerLen < 0 {
  14486. for j := 0; !dd.CheckBreak(); j++ {
  14487. mk := uint8(dd.DecodeUint(8))
  14488. mv := v[mk]
  14489. mv = dd.DecodeFloat(false)
  14490. if v != nil {
  14491. v[mk] = mv
  14492. }
  14493. }
  14494. dd.ReadEnd()
  14495. }
  14496. return v, changed
  14497. }
  14498. func (f decFnInfo) fastpathDecMapUint8BoolR(rv reflect.Value) {
  14499. if rv.CanAddr() {
  14500. vp := rv.Addr().Interface().(*map[uint8]bool)
  14501. v, changed := fastpathTV.DecMapUint8BoolV(*vp, fastpathCheckNilFalse, true, f.d)
  14502. if changed {
  14503. *vp = v
  14504. }
  14505. } else {
  14506. v := rv.Interface().(map[uint8]bool)
  14507. fastpathTV.DecMapUint8BoolV(v, fastpathCheckNilFalse, false, f.d)
  14508. }
  14509. }
  14510. func (f fastpathT) DecMapUint8BoolX(vp *map[uint8]bool, checkNil bool, d *Decoder) {
  14511. v, changed := f.DecMapUint8BoolV(*vp, checkNil, true, d)
  14512. if changed {
  14513. *vp = v
  14514. }
  14515. }
  14516. func (_ fastpathT) DecMapUint8BoolV(v map[uint8]bool, checkNil bool, canChange bool,
  14517. d *Decoder) (_ map[uint8]bool, changed bool) {
  14518. dd := d.d
  14519. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  14520. if checkNil && dd.TryDecodeAsNil() {
  14521. if v != nil {
  14522. changed = true
  14523. }
  14524. return nil, changed
  14525. }
  14526. containerLen := dd.ReadMapStart()
  14527. if canChange && v == nil {
  14528. if containerLen > 0 {
  14529. v = make(map[uint8]bool, containerLen)
  14530. } else {
  14531. v = make(map[uint8]bool) // supports indefinite-length, etc
  14532. }
  14533. changed = true
  14534. }
  14535. if containerLen > 0 {
  14536. for j := 0; j < containerLen; j++ {
  14537. mk := uint8(dd.DecodeUint(8))
  14538. mv := v[mk]
  14539. mv = dd.DecodeBool()
  14540. if v != nil {
  14541. v[mk] = mv
  14542. }
  14543. }
  14544. } else if containerLen < 0 {
  14545. for j := 0; !dd.CheckBreak(); j++ {
  14546. mk := uint8(dd.DecodeUint(8))
  14547. mv := v[mk]
  14548. mv = dd.DecodeBool()
  14549. if v != nil {
  14550. v[mk] = mv
  14551. }
  14552. }
  14553. dd.ReadEnd()
  14554. }
  14555. return v, changed
  14556. }
  14557. func (f decFnInfo) fastpathDecMapUint16IntfR(rv reflect.Value) {
  14558. if rv.CanAddr() {
  14559. vp := rv.Addr().Interface().(*map[uint16]interface{})
  14560. v, changed := fastpathTV.DecMapUint16IntfV(*vp, fastpathCheckNilFalse, true, f.d)
  14561. if changed {
  14562. *vp = v
  14563. }
  14564. } else {
  14565. v := rv.Interface().(map[uint16]interface{})
  14566. fastpathTV.DecMapUint16IntfV(v, fastpathCheckNilFalse, false, f.d)
  14567. }
  14568. }
  14569. func (f fastpathT) DecMapUint16IntfX(vp *map[uint16]interface{}, checkNil bool, d *Decoder) {
  14570. v, changed := f.DecMapUint16IntfV(*vp, checkNil, true, d)
  14571. if changed {
  14572. *vp = v
  14573. }
  14574. }
  14575. func (_ fastpathT) DecMapUint16IntfV(v map[uint16]interface{}, checkNil bool, canChange bool,
  14576. d *Decoder) (_ map[uint16]interface{}, changed bool) {
  14577. dd := d.d
  14578. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  14579. if checkNil && dd.TryDecodeAsNil() {
  14580. if v != nil {
  14581. changed = true
  14582. }
  14583. return nil, changed
  14584. }
  14585. containerLen := dd.ReadMapStart()
  14586. if canChange && v == nil {
  14587. if containerLen > 0 {
  14588. v = make(map[uint16]interface{}, containerLen)
  14589. } else {
  14590. v = make(map[uint16]interface{}) // supports indefinite-length, etc
  14591. }
  14592. changed = true
  14593. }
  14594. if containerLen > 0 {
  14595. for j := 0; j < containerLen; j++ {
  14596. mk := uint16(dd.DecodeUint(16))
  14597. mv := v[mk]
  14598. d.decode(&mv)
  14599. if v != nil {
  14600. v[mk] = mv
  14601. }
  14602. }
  14603. } else if containerLen < 0 {
  14604. for j := 0; !dd.CheckBreak(); j++ {
  14605. mk := uint16(dd.DecodeUint(16))
  14606. mv := v[mk]
  14607. d.decode(&mv)
  14608. if v != nil {
  14609. v[mk] = mv
  14610. }
  14611. }
  14612. dd.ReadEnd()
  14613. }
  14614. return v, changed
  14615. }
  14616. func (f decFnInfo) fastpathDecMapUint16StringR(rv reflect.Value) {
  14617. if rv.CanAddr() {
  14618. vp := rv.Addr().Interface().(*map[uint16]string)
  14619. v, changed := fastpathTV.DecMapUint16StringV(*vp, fastpathCheckNilFalse, true, f.d)
  14620. if changed {
  14621. *vp = v
  14622. }
  14623. } else {
  14624. v := rv.Interface().(map[uint16]string)
  14625. fastpathTV.DecMapUint16StringV(v, fastpathCheckNilFalse, false, f.d)
  14626. }
  14627. }
  14628. func (f fastpathT) DecMapUint16StringX(vp *map[uint16]string, checkNil bool, d *Decoder) {
  14629. v, changed := f.DecMapUint16StringV(*vp, checkNil, true, d)
  14630. if changed {
  14631. *vp = v
  14632. }
  14633. }
  14634. func (_ fastpathT) DecMapUint16StringV(v map[uint16]string, checkNil bool, canChange bool,
  14635. d *Decoder) (_ map[uint16]string, changed bool) {
  14636. dd := d.d
  14637. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  14638. if checkNil && dd.TryDecodeAsNil() {
  14639. if v != nil {
  14640. changed = true
  14641. }
  14642. return nil, changed
  14643. }
  14644. containerLen := dd.ReadMapStart()
  14645. if canChange && v == nil {
  14646. if containerLen > 0 {
  14647. v = make(map[uint16]string, containerLen)
  14648. } else {
  14649. v = make(map[uint16]string) // supports indefinite-length, etc
  14650. }
  14651. changed = true
  14652. }
  14653. if containerLen > 0 {
  14654. for j := 0; j < containerLen; j++ {
  14655. mk := uint16(dd.DecodeUint(16))
  14656. mv := v[mk]
  14657. mv = dd.DecodeString()
  14658. if v != nil {
  14659. v[mk] = mv
  14660. }
  14661. }
  14662. } else if containerLen < 0 {
  14663. for j := 0; !dd.CheckBreak(); j++ {
  14664. mk := uint16(dd.DecodeUint(16))
  14665. mv := v[mk]
  14666. mv = dd.DecodeString()
  14667. if v != nil {
  14668. v[mk] = mv
  14669. }
  14670. }
  14671. dd.ReadEnd()
  14672. }
  14673. return v, changed
  14674. }
  14675. func (f decFnInfo) fastpathDecMapUint16UintR(rv reflect.Value) {
  14676. if rv.CanAddr() {
  14677. vp := rv.Addr().Interface().(*map[uint16]uint)
  14678. v, changed := fastpathTV.DecMapUint16UintV(*vp, fastpathCheckNilFalse, true, f.d)
  14679. if changed {
  14680. *vp = v
  14681. }
  14682. } else {
  14683. v := rv.Interface().(map[uint16]uint)
  14684. fastpathTV.DecMapUint16UintV(v, fastpathCheckNilFalse, false, f.d)
  14685. }
  14686. }
  14687. func (f fastpathT) DecMapUint16UintX(vp *map[uint16]uint, checkNil bool, d *Decoder) {
  14688. v, changed := f.DecMapUint16UintV(*vp, checkNil, true, d)
  14689. if changed {
  14690. *vp = v
  14691. }
  14692. }
  14693. func (_ fastpathT) DecMapUint16UintV(v map[uint16]uint, checkNil bool, canChange bool,
  14694. d *Decoder) (_ map[uint16]uint, changed bool) {
  14695. dd := d.d
  14696. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  14697. if checkNil && dd.TryDecodeAsNil() {
  14698. if v != nil {
  14699. changed = true
  14700. }
  14701. return nil, changed
  14702. }
  14703. containerLen := dd.ReadMapStart()
  14704. if canChange && v == nil {
  14705. if containerLen > 0 {
  14706. v = make(map[uint16]uint, containerLen)
  14707. } else {
  14708. v = make(map[uint16]uint) // supports indefinite-length, etc
  14709. }
  14710. changed = true
  14711. }
  14712. if containerLen > 0 {
  14713. for j := 0; j < containerLen; j++ {
  14714. mk := uint16(dd.DecodeUint(16))
  14715. mv := v[mk]
  14716. mv = uint(dd.DecodeUint(uintBitsize))
  14717. if v != nil {
  14718. v[mk] = mv
  14719. }
  14720. }
  14721. } else if containerLen < 0 {
  14722. for j := 0; !dd.CheckBreak(); j++ {
  14723. mk := uint16(dd.DecodeUint(16))
  14724. mv := v[mk]
  14725. mv = uint(dd.DecodeUint(uintBitsize))
  14726. if v != nil {
  14727. v[mk] = mv
  14728. }
  14729. }
  14730. dd.ReadEnd()
  14731. }
  14732. return v, changed
  14733. }
  14734. func (f decFnInfo) fastpathDecMapUint16Uint8R(rv reflect.Value) {
  14735. if rv.CanAddr() {
  14736. vp := rv.Addr().Interface().(*map[uint16]uint8)
  14737. v, changed := fastpathTV.DecMapUint16Uint8V(*vp, fastpathCheckNilFalse, true, f.d)
  14738. if changed {
  14739. *vp = v
  14740. }
  14741. } else {
  14742. v := rv.Interface().(map[uint16]uint8)
  14743. fastpathTV.DecMapUint16Uint8V(v, fastpathCheckNilFalse, false, f.d)
  14744. }
  14745. }
  14746. func (f fastpathT) DecMapUint16Uint8X(vp *map[uint16]uint8, checkNil bool, d *Decoder) {
  14747. v, changed := f.DecMapUint16Uint8V(*vp, checkNil, true, d)
  14748. if changed {
  14749. *vp = v
  14750. }
  14751. }
  14752. func (_ fastpathT) DecMapUint16Uint8V(v map[uint16]uint8, checkNil bool, canChange bool,
  14753. d *Decoder) (_ map[uint16]uint8, changed bool) {
  14754. dd := d.d
  14755. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  14756. if checkNil && dd.TryDecodeAsNil() {
  14757. if v != nil {
  14758. changed = true
  14759. }
  14760. return nil, changed
  14761. }
  14762. containerLen := dd.ReadMapStart()
  14763. if canChange && v == nil {
  14764. if containerLen > 0 {
  14765. v = make(map[uint16]uint8, containerLen)
  14766. } else {
  14767. v = make(map[uint16]uint8) // supports indefinite-length, etc
  14768. }
  14769. changed = true
  14770. }
  14771. if containerLen > 0 {
  14772. for j := 0; j < containerLen; j++ {
  14773. mk := uint16(dd.DecodeUint(16))
  14774. mv := v[mk]
  14775. mv = uint8(dd.DecodeUint(8))
  14776. if v != nil {
  14777. v[mk] = mv
  14778. }
  14779. }
  14780. } else if containerLen < 0 {
  14781. for j := 0; !dd.CheckBreak(); j++ {
  14782. mk := uint16(dd.DecodeUint(16))
  14783. mv := v[mk]
  14784. mv = uint8(dd.DecodeUint(8))
  14785. if v != nil {
  14786. v[mk] = mv
  14787. }
  14788. }
  14789. dd.ReadEnd()
  14790. }
  14791. return v, changed
  14792. }
  14793. func (f decFnInfo) fastpathDecMapUint16Uint16R(rv reflect.Value) {
  14794. if rv.CanAddr() {
  14795. vp := rv.Addr().Interface().(*map[uint16]uint16)
  14796. v, changed := fastpathTV.DecMapUint16Uint16V(*vp, fastpathCheckNilFalse, true, f.d)
  14797. if changed {
  14798. *vp = v
  14799. }
  14800. } else {
  14801. v := rv.Interface().(map[uint16]uint16)
  14802. fastpathTV.DecMapUint16Uint16V(v, fastpathCheckNilFalse, false, f.d)
  14803. }
  14804. }
  14805. func (f fastpathT) DecMapUint16Uint16X(vp *map[uint16]uint16, checkNil bool, d *Decoder) {
  14806. v, changed := f.DecMapUint16Uint16V(*vp, checkNil, true, d)
  14807. if changed {
  14808. *vp = v
  14809. }
  14810. }
  14811. func (_ fastpathT) DecMapUint16Uint16V(v map[uint16]uint16, checkNil bool, canChange bool,
  14812. d *Decoder) (_ map[uint16]uint16, changed bool) {
  14813. dd := d.d
  14814. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  14815. if checkNil && dd.TryDecodeAsNil() {
  14816. if v != nil {
  14817. changed = true
  14818. }
  14819. return nil, changed
  14820. }
  14821. containerLen := dd.ReadMapStart()
  14822. if canChange && v == nil {
  14823. if containerLen > 0 {
  14824. v = make(map[uint16]uint16, containerLen)
  14825. } else {
  14826. v = make(map[uint16]uint16) // supports indefinite-length, etc
  14827. }
  14828. changed = true
  14829. }
  14830. if containerLen > 0 {
  14831. for j := 0; j < containerLen; j++ {
  14832. mk := uint16(dd.DecodeUint(16))
  14833. mv := v[mk]
  14834. mv = uint16(dd.DecodeUint(16))
  14835. if v != nil {
  14836. v[mk] = mv
  14837. }
  14838. }
  14839. } else if containerLen < 0 {
  14840. for j := 0; !dd.CheckBreak(); j++ {
  14841. mk := uint16(dd.DecodeUint(16))
  14842. mv := v[mk]
  14843. mv = uint16(dd.DecodeUint(16))
  14844. if v != nil {
  14845. v[mk] = mv
  14846. }
  14847. }
  14848. dd.ReadEnd()
  14849. }
  14850. return v, changed
  14851. }
  14852. func (f decFnInfo) fastpathDecMapUint16Uint32R(rv reflect.Value) {
  14853. if rv.CanAddr() {
  14854. vp := rv.Addr().Interface().(*map[uint16]uint32)
  14855. v, changed := fastpathTV.DecMapUint16Uint32V(*vp, fastpathCheckNilFalse, true, f.d)
  14856. if changed {
  14857. *vp = v
  14858. }
  14859. } else {
  14860. v := rv.Interface().(map[uint16]uint32)
  14861. fastpathTV.DecMapUint16Uint32V(v, fastpathCheckNilFalse, false, f.d)
  14862. }
  14863. }
  14864. func (f fastpathT) DecMapUint16Uint32X(vp *map[uint16]uint32, checkNil bool, d *Decoder) {
  14865. v, changed := f.DecMapUint16Uint32V(*vp, checkNil, true, d)
  14866. if changed {
  14867. *vp = v
  14868. }
  14869. }
  14870. func (_ fastpathT) DecMapUint16Uint32V(v map[uint16]uint32, checkNil bool, canChange bool,
  14871. d *Decoder) (_ map[uint16]uint32, changed bool) {
  14872. dd := d.d
  14873. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  14874. if checkNil && dd.TryDecodeAsNil() {
  14875. if v != nil {
  14876. changed = true
  14877. }
  14878. return nil, changed
  14879. }
  14880. containerLen := dd.ReadMapStart()
  14881. if canChange && v == nil {
  14882. if containerLen > 0 {
  14883. v = make(map[uint16]uint32, containerLen)
  14884. } else {
  14885. v = make(map[uint16]uint32) // supports indefinite-length, etc
  14886. }
  14887. changed = true
  14888. }
  14889. if containerLen > 0 {
  14890. for j := 0; j < containerLen; j++ {
  14891. mk := uint16(dd.DecodeUint(16))
  14892. mv := v[mk]
  14893. mv = uint32(dd.DecodeUint(32))
  14894. if v != nil {
  14895. v[mk] = mv
  14896. }
  14897. }
  14898. } else if containerLen < 0 {
  14899. for j := 0; !dd.CheckBreak(); j++ {
  14900. mk := uint16(dd.DecodeUint(16))
  14901. mv := v[mk]
  14902. mv = uint32(dd.DecodeUint(32))
  14903. if v != nil {
  14904. v[mk] = mv
  14905. }
  14906. }
  14907. dd.ReadEnd()
  14908. }
  14909. return v, changed
  14910. }
  14911. func (f decFnInfo) fastpathDecMapUint16Uint64R(rv reflect.Value) {
  14912. if rv.CanAddr() {
  14913. vp := rv.Addr().Interface().(*map[uint16]uint64)
  14914. v, changed := fastpathTV.DecMapUint16Uint64V(*vp, fastpathCheckNilFalse, true, f.d)
  14915. if changed {
  14916. *vp = v
  14917. }
  14918. } else {
  14919. v := rv.Interface().(map[uint16]uint64)
  14920. fastpathTV.DecMapUint16Uint64V(v, fastpathCheckNilFalse, false, f.d)
  14921. }
  14922. }
  14923. func (f fastpathT) DecMapUint16Uint64X(vp *map[uint16]uint64, checkNil bool, d *Decoder) {
  14924. v, changed := f.DecMapUint16Uint64V(*vp, checkNil, true, d)
  14925. if changed {
  14926. *vp = v
  14927. }
  14928. }
  14929. func (_ fastpathT) DecMapUint16Uint64V(v map[uint16]uint64, checkNil bool, canChange bool,
  14930. d *Decoder) (_ map[uint16]uint64, changed bool) {
  14931. dd := d.d
  14932. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  14933. if checkNil && dd.TryDecodeAsNil() {
  14934. if v != nil {
  14935. changed = true
  14936. }
  14937. return nil, changed
  14938. }
  14939. containerLen := dd.ReadMapStart()
  14940. if canChange && v == nil {
  14941. if containerLen > 0 {
  14942. v = make(map[uint16]uint64, containerLen)
  14943. } else {
  14944. v = make(map[uint16]uint64) // supports indefinite-length, etc
  14945. }
  14946. changed = true
  14947. }
  14948. if containerLen > 0 {
  14949. for j := 0; j < containerLen; j++ {
  14950. mk := uint16(dd.DecodeUint(16))
  14951. mv := v[mk]
  14952. mv = dd.DecodeUint(64)
  14953. if v != nil {
  14954. v[mk] = mv
  14955. }
  14956. }
  14957. } else if containerLen < 0 {
  14958. for j := 0; !dd.CheckBreak(); j++ {
  14959. mk := uint16(dd.DecodeUint(16))
  14960. mv := v[mk]
  14961. mv = dd.DecodeUint(64)
  14962. if v != nil {
  14963. v[mk] = mv
  14964. }
  14965. }
  14966. dd.ReadEnd()
  14967. }
  14968. return v, changed
  14969. }
  14970. func (f decFnInfo) fastpathDecMapUint16IntR(rv reflect.Value) {
  14971. if rv.CanAddr() {
  14972. vp := rv.Addr().Interface().(*map[uint16]int)
  14973. v, changed := fastpathTV.DecMapUint16IntV(*vp, fastpathCheckNilFalse, true, f.d)
  14974. if changed {
  14975. *vp = v
  14976. }
  14977. } else {
  14978. v := rv.Interface().(map[uint16]int)
  14979. fastpathTV.DecMapUint16IntV(v, fastpathCheckNilFalse, false, f.d)
  14980. }
  14981. }
  14982. func (f fastpathT) DecMapUint16IntX(vp *map[uint16]int, checkNil bool, d *Decoder) {
  14983. v, changed := f.DecMapUint16IntV(*vp, checkNil, true, d)
  14984. if changed {
  14985. *vp = v
  14986. }
  14987. }
  14988. func (_ fastpathT) DecMapUint16IntV(v map[uint16]int, checkNil bool, canChange bool,
  14989. d *Decoder) (_ map[uint16]int, changed bool) {
  14990. dd := d.d
  14991. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  14992. if checkNil && dd.TryDecodeAsNil() {
  14993. if v != nil {
  14994. changed = true
  14995. }
  14996. return nil, changed
  14997. }
  14998. containerLen := dd.ReadMapStart()
  14999. if canChange && v == nil {
  15000. if containerLen > 0 {
  15001. v = make(map[uint16]int, containerLen)
  15002. } else {
  15003. v = make(map[uint16]int) // supports indefinite-length, etc
  15004. }
  15005. changed = true
  15006. }
  15007. if containerLen > 0 {
  15008. for j := 0; j < containerLen; j++ {
  15009. mk := uint16(dd.DecodeUint(16))
  15010. mv := v[mk]
  15011. mv = int(dd.DecodeInt(intBitsize))
  15012. if v != nil {
  15013. v[mk] = mv
  15014. }
  15015. }
  15016. } else if containerLen < 0 {
  15017. for j := 0; !dd.CheckBreak(); j++ {
  15018. mk := uint16(dd.DecodeUint(16))
  15019. mv := v[mk]
  15020. mv = int(dd.DecodeInt(intBitsize))
  15021. if v != nil {
  15022. v[mk] = mv
  15023. }
  15024. }
  15025. dd.ReadEnd()
  15026. }
  15027. return v, changed
  15028. }
  15029. func (f decFnInfo) fastpathDecMapUint16Int8R(rv reflect.Value) {
  15030. if rv.CanAddr() {
  15031. vp := rv.Addr().Interface().(*map[uint16]int8)
  15032. v, changed := fastpathTV.DecMapUint16Int8V(*vp, fastpathCheckNilFalse, true, f.d)
  15033. if changed {
  15034. *vp = v
  15035. }
  15036. } else {
  15037. v := rv.Interface().(map[uint16]int8)
  15038. fastpathTV.DecMapUint16Int8V(v, fastpathCheckNilFalse, false, f.d)
  15039. }
  15040. }
  15041. func (f fastpathT) DecMapUint16Int8X(vp *map[uint16]int8, checkNil bool, d *Decoder) {
  15042. v, changed := f.DecMapUint16Int8V(*vp, checkNil, true, d)
  15043. if changed {
  15044. *vp = v
  15045. }
  15046. }
  15047. func (_ fastpathT) DecMapUint16Int8V(v map[uint16]int8, checkNil bool, canChange bool,
  15048. d *Decoder) (_ map[uint16]int8, changed bool) {
  15049. dd := d.d
  15050. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  15051. if checkNil && dd.TryDecodeAsNil() {
  15052. if v != nil {
  15053. changed = true
  15054. }
  15055. return nil, changed
  15056. }
  15057. containerLen := dd.ReadMapStart()
  15058. if canChange && v == nil {
  15059. if containerLen > 0 {
  15060. v = make(map[uint16]int8, containerLen)
  15061. } else {
  15062. v = make(map[uint16]int8) // supports indefinite-length, etc
  15063. }
  15064. changed = true
  15065. }
  15066. if containerLen > 0 {
  15067. for j := 0; j < containerLen; j++ {
  15068. mk := uint16(dd.DecodeUint(16))
  15069. mv := v[mk]
  15070. mv = int8(dd.DecodeInt(8))
  15071. if v != nil {
  15072. v[mk] = mv
  15073. }
  15074. }
  15075. } else if containerLen < 0 {
  15076. for j := 0; !dd.CheckBreak(); j++ {
  15077. mk := uint16(dd.DecodeUint(16))
  15078. mv := v[mk]
  15079. mv = int8(dd.DecodeInt(8))
  15080. if v != nil {
  15081. v[mk] = mv
  15082. }
  15083. }
  15084. dd.ReadEnd()
  15085. }
  15086. return v, changed
  15087. }
  15088. func (f decFnInfo) fastpathDecMapUint16Int16R(rv reflect.Value) {
  15089. if rv.CanAddr() {
  15090. vp := rv.Addr().Interface().(*map[uint16]int16)
  15091. v, changed := fastpathTV.DecMapUint16Int16V(*vp, fastpathCheckNilFalse, true, f.d)
  15092. if changed {
  15093. *vp = v
  15094. }
  15095. } else {
  15096. v := rv.Interface().(map[uint16]int16)
  15097. fastpathTV.DecMapUint16Int16V(v, fastpathCheckNilFalse, false, f.d)
  15098. }
  15099. }
  15100. func (f fastpathT) DecMapUint16Int16X(vp *map[uint16]int16, checkNil bool, d *Decoder) {
  15101. v, changed := f.DecMapUint16Int16V(*vp, checkNil, true, d)
  15102. if changed {
  15103. *vp = v
  15104. }
  15105. }
  15106. func (_ fastpathT) DecMapUint16Int16V(v map[uint16]int16, checkNil bool, canChange bool,
  15107. d *Decoder) (_ map[uint16]int16, changed bool) {
  15108. dd := d.d
  15109. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  15110. if checkNil && dd.TryDecodeAsNil() {
  15111. if v != nil {
  15112. changed = true
  15113. }
  15114. return nil, changed
  15115. }
  15116. containerLen := dd.ReadMapStart()
  15117. if canChange && v == nil {
  15118. if containerLen > 0 {
  15119. v = make(map[uint16]int16, containerLen)
  15120. } else {
  15121. v = make(map[uint16]int16) // supports indefinite-length, etc
  15122. }
  15123. changed = true
  15124. }
  15125. if containerLen > 0 {
  15126. for j := 0; j < containerLen; j++ {
  15127. mk := uint16(dd.DecodeUint(16))
  15128. mv := v[mk]
  15129. mv = int16(dd.DecodeInt(16))
  15130. if v != nil {
  15131. v[mk] = mv
  15132. }
  15133. }
  15134. } else if containerLen < 0 {
  15135. for j := 0; !dd.CheckBreak(); j++ {
  15136. mk := uint16(dd.DecodeUint(16))
  15137. mv := v[mk]
  15138. mv = int16(dd.DecodeInt(16))
  15139. if v != nil {
  15140. v[mk] = mv
  15141. }
  15142. }
  15143. dd.ReadEnd()
  15144. }
  15145. return v, changed
  15146. }
  15147. func (f decFnInfo) fastpathDecMapUint16Int32R(rv reflect.Value) {
  15148. if rv.CanAddr() {
  15149. vp := rv.Addr().Interface().(*map[uint16]int32)
  15150. v, changed := fastpathTV.DecMapUint16Int32V(*vp, fastpathCheckNilFalse, true, f.d)
  15151. if changed {
  15152. *vp = v
  15153. }
  15154. } else {
  15155. v := rv.Interface().(map[uint16]int32)
  15156. fastpathTV.DecMapUint16Int32V(v, fastpathCheckNilFalse, false, f.d)
  15157. }
  15158. }
  15159. func (f fastpathT) DecMapUint16Int32X(vp *map[uint16]int32, checkNil bool, d *Decoder) {
  15160. v, changed := f.DecMapUint16Int32V(*vp, checkNil, true, d)
  15161. if changed {
  15162. *vp = v
  15163. }
  15164. }
  15165. func (_ fastpathT) DecMapUint16Int32V(v map[uint16]int32, checkNil bool, canChange bool,
  15166. d *Decoder) (_ map[uint16]int32, changed bool) {
  15167. dd := d.d
  15168. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  15169. if checkNil && dd.TryDecodeAsNil() {
  15170. if v != nil {
  15171. changed = true
  15172. }
  15173. return nil, changed
  15174. }
  15175. containerLen := dd.ReadMapStart()
  15176. if canChange && v == nil {
  15177. if containerLen > 0 {
  15178. v = make(map[uint16]int32, containerLen)
  15179. } else {
  15180. v = make(map[uint16]int32) // supports indefinite-length, etc
  15181. }
  15182. changed = true
  15183. }
  15184. if containerLen > 0 {
  15185. for j := 0; j < containerLen; j++ {
  15186. mk := uint16(dd.DecodeUint(16))
  15187. mv := v[mk]
  15188. mv = int32(dd.DecodeInt(32))
  15189. if v != nil {
  15190. v[mk] = mv
  15191. }
  15192. }
  15193. } else if containerLen < 0 {
  15194. for j := 0; !dd.CheckBreak(); j++ {
  15195. mk := uint16(dd.DecodeUint(16))
  15196. mv := v[mk]
  15197. mv = int32(dd.DecodeInt(32))
  15198. if v != nil {
  15199. v[mk] = mv
  15200. }
  15201. }
  15202. dd.ReadEnd()
  15203. }
  15204. return v, changed
  15205. }
  15206. func (f decFnInfo) fastpathDecMapUint16Int64R(rv reflect.Value) {
  15207. if rv.CanAddr() {
  15208. vp := rv.Addr().Interface().(*map[uint16]int64)
  15209. v, changed := fastpathTV.DecMapUint16Int64V(*vp, fastpathCheckNilFalse, true, f.d)
  15210. if changed {
  15211. *vp = v
  15212. }
  15213. } else {
  15214. v := rv.Interface().(map[uint16]int64)
  15215. fastpathTV.DecMapUint16Int64V(v, fastpathCheckNilFalse, false, f.d)
  15216. }
  15217. }
  15218. func (f fastpathT) DecMapUint16Int64X(vp *map[uint16]int64, checkNil bool, d *Decoder) {
  15219. v, changed := f.DecMapUint16Int64V(*vp, checkNil, true, d)
  15220. if changed {
  15221. *vp = v
  15222. }
  15223. }
  15224. func (_ fastpathT) DecMapUint16Int64V(v map[uint16]int64, checkNil bool, canChange bool,
  15225. d *Decoder) (_ map[uint16]int64, changed bool) {
  15226. dd := d.d
  15227. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  15228. if checkNil && dd.TryDecodeAsNil() {
  15229. if v != nil {
  15230. changed = true
  15231. }
  15232. return nil, changed
  15233. }
  15234. containerLen := dd.ReadMapStart()
  15235. if canChange && v == nil {
  15236. if containerLen > 0 {
  15237. v = make(map[uint16]int64, containerLen)
  15238. } else {
  15239. v = make(map[uint16]int64) // supports indefinite-length, etc
  15240. }
  15241. changed = true
  15242. }
  15243. if containerLen > 0 {
  15244. for j := 0; j < containerLen; j++ {
  15245. mk := uint16(dd.DecodeUint(16))
  15246. mv := v[mk]
  15247. mv = dd.DecodeInt(64)
  15248. if v != nil {
  15249. v[mk] = mv
  15250. }
  15251. }
  15252. } else if containerLen < 0 {
  15253. for j := 0; !dd.CheckBreak(); j++ {
  15254. mk := uint16(dd.DecodeUint(16))
  15255. mv := v[mk]
  15256. mv = dd.DecodeInt(64)
  15257. if v != nil {
  15258. v[mk] = mv
  15259. }
  15260. }
  15261. dd.ReadEnd()
  15262. }
  15263. return v, changed
  15264. }
  15265. func (f decFnInfo) fastpathDecMapUint16Float32R(rv reflect.Value) {
  15266. if rv.CanAddr() {
  15267. vp := rv.Addr().Interface().(*map[uint16]float32)
  15268. v, changed := fastpathTV.DecMapUint16Float32V(*vp, fastpathCheckNilFalse, true, f.d)
  15269. if changed {
  15270. *vp = v
  15271. }
  15272. } else {
  15273. v := rv.Interface().(map[uint16]float32)
  15274. fastpathTV.DecMapUint16Float32V(v, fastpathCheckNilFalse, false, f.d)
  15275. }
  15276. }
  15277. func (f fastpathT) DecMapUint16Float32X(vp *map[uint16]float32, checkNil bool, d *Decoder) {
  15278. v, changed := f.DecMapUint16Float32V(*vp, checkNil, true, d)
  15279. if changed {
  15280. *vp = v
  15281. }
  15282. }
  15283. func (_ fastpathT) DecMapUint16Float32V(v map[uint16]float32, checkNil bool, canChange bool,
  15284. d *Decoder) (_ map[uint16]float32, changed bool) {
  15285. dd := d.d
  15286. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  15287. if checkNil && dd.TryDecodeAsNil() {
  15288. if v != nil {
  15289. changed = true
  15290. }
  15291. return nil, changed
  15292. }
  15293. containerLen := dd.ReadMapStart()
  15294. if canChange && v == nil {
  15295. if containerLen > 0 {
  15296. v = make(map[uint16]float32, containerLen)
  15297. } else {
  15298. v = make(map[uint16]float32) // supports indefinite-length, etc
  15299. }
  15300. changed = true
  15301. }
  15302. if containerLen > 0 {
  15303. for j := 0; j < containerLen; j++ {
  15304. mk := uint16(dd.DecodeUint(16))
  15305. mv := v[mk]
  15306. mv = float32(dd.DecodeFloat(true))
  15307. if v != nil {
  15308. v[mk] = mv
  15309. }
  15310. }
  15311. } else if containerLen < 0 {
  15312. for j := 0; !dd.CheckBreak(); j++ {
  15313. mk := uint16(dd.DecodeUint(16))
  15314. mv := v[mk]
  15315. mv = float32(dd.DecodeFloat(true))
  15316. if v != nil {
  15317. v[mk] = mv
  15318. }
  15319. }
  15320. dd.ReadEnd()
  15321. }
  15322. return v, changed
  15323. }
  15324. func (f decFnInfo) fastpathDecMapUint16Float64R(rv reflect.Value) {
  15325. if rv.CanAddr() {
  15326. vp := rv.Addr().Interface().(*map[uint16]float64)
  15327. v, changed := fastpathTV.DecMapUint16Float64V(*vp, fastpathCheckNilFalse, true, f.d)
  15328. if changed {
  15329. *vp = v
  15330. }
  15331. } else {
  15332. v := rv.Interface().(map[uint16]float64)
  15333. fastpathTV.DecMapUint16Float64V(v, fastpathCheckNilFalse, false, f.d)
  15334. }
  15335. }
  15336. func (f fastpathT) DecMapUint16Float64X(vp *map[uint16]float64, checkNil bool, d *Decoder) {
  15337. v, changed := f.DecMapUint16Float64V(*vp, checkNil, true, d)
  15338. if changed {
  15339. *vp = v
  15340. }
  15341. }
  15342. func (_ fastpathT) DecMapUint16Float64V(v map[uint16]float64, checkNil bool, canChange bool,
  15343. d *Decoder) (_ map[uint16]float64, changed bool) {
  15344. dd := d.d
  15345. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  15346. if checkNil && dd.TryDecodeAsNil() {
  15347. if v != nil {
  15348. changed = true
  15349. }
  15350. return nil, changed
  15351. }
  15352. containerLen := dd.ReadMapStart()
  15353. if canChange && v == nil {
  15354. if containerLen > 0 {
  15355. v = make(map[uint16]float64, containerLen)
  15356. } else {
  15357. v = make(map[uint16]float64) // supports indefinite-length, etc
  15358. }
  15359. changed = true
  15360. }
  15361. if containerLen > 0 {
  15362. for j := 0; j < containerLen; j++ {
  15363. mk := uint16(dd.DecodeUint(16))
  15364. mv := v[mk]
  15365. mv = dd.DecodeFloat(false)
  15366. if v != nil {
  15367. v[mk] = mv
  15368. }
  15369. }
  15370. } else if containerLen < 0 {
  15371. for j := 0; !dd.CheckBreak(); j++ {
  15372. mk := uint16(dd.DecodeUint(16))
  15373. mv := v[mk]
  15374. mv = dd.DecodeFloat(false)
  15375. if v != nil {
  15376. v[mk] = mv
  15377. }
  15378. }
  15379. dd.ReadEnd()
  15380. }
  15381. return v, changed
  15382. }
  15383. func (f decFnInfo) fastpathDecMapUint16BoolR(rv reflect.Value) {
  15384. if rv.CanAddr() {
  15385. vp := rv.Addr().Interface().(*map[uint16]bool)
  15386. v, changed := fastpathTV.DecMapUint16BoolV(*vp, fastpathCheckNilFalse, true, f.d)
  15387. if changed {
  15388. *vp = v
  15389. }
  15390. } else {
  15391. v := rv.Interface().(map[uint16]bool)
  15392. fastpathTV.DecMapUint16BoolV(v, fastpathCheckNilFalse, false, f.d)
  15393. }
  15394. }
  15395. func (f fastpathT) DecMapUint16BoolX(vp *map[uint16]bool, checkNil bool, d *Decoder) {
  15396. v, changed := f.DecMapUint16BoolV(*vp, checkNil, true, d)
  15397. if changed {
  15398. *vp = v
  15399. }
  15400. }
  15401. func (_ fastpathT) DecMapUint16BoolV(v map[uint16]bool, checkNil bool, canChange bool,
  15402. d *Decoder) (_ map[uint16]bool, changed bool) {
  15403. dd := d.d
  15404. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  15405. if checkNil && dd.TryDecodeAsNil() {
  15406. if v != nil {
  15407. changed = true
  15408. }
  15409. return nil, changed
  15410. }
  15411. containerLen := dd.ReadMapStart()
  15412. if canChange && v == nil {
  15413. if containerLen > 0 {
  15414. v = make(map[uint16]bool, containerLen)
  15415. } else {
  15416. v = make(map[uint16]bool) // supports indefinite-length, etc
  15417. }
  15418. changed = true
  15419. }
  15420. if containerLen > 0 {
  15421. for j := 0; j < containerLen; j++ {
  15422. mk := uint16(dd.DecodeUint(16))
  15423. mv := v[mk]
  15424. mv = dd.DecodeBool()
  15425. if v != nil {
  15426. v[mk] = mv
  15427. }
  15428. }
  15429. } else if containerLen < 0 {
  15430. for j := 0; !dd.CheckBreak(); j++ {
  15431. mk := uint16(dd.DecodeUint(16))
  15432. mv := v[mk]
  15433. mv = dd.DecodeBool()
  15434. if v != nil {
  15435. v[mk] = mv
  15436. }
  15437. }
  15438. dd.ReadEnd()
  15439. }
  15440. return v, changed
  15441. }
  15442. func (f decFnInfo) fastpathDecMapUint32IntfR(rv reflect.Value) {
  15443. if rv.CanAddr() {
  15444. vp := rv.Addr().Interface().(*map[uint32]interface{})
  15445. v, changed := fastpathTV.DecMapUint32IntfV(*vp, fastpathCheckNilFalse, true, f.d)
  15446. if changed {
  15447. *vp = v
  15448. }
  15449. } else {
  15450. v := rv.Interface().(map[uint32]interface{})
  15451. fastpathTV.DecMapUint32IntfV(v, fastpathCheckNilFalse, false, f.d)
  15452. }
  15453. }
  15454. func (f fastpathT) DecMapUint32IntfX(vp *map[uint32]interface{}, checkNil bool, d *Decoder) {
  15455. v, changed := f.DecMapUint32IntfV(*vp, checkNil, true, d)
  15456. if changed {
  15457. *vp = v
  15458. }
  15459. }
  15460. func (_ fastpathT) DecMapUint32IntfV(v map[uint32]interface{}, checkNil bool, canChange bool,
  15461. d *Decoder) (_ map[uint32]interface{}, changed bool) {
  15462. dd := d.d
  15463. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  15464. if checkNil && dd.TryDecodeAsNil() {
  15465. if v != nil {
  15466. changed = true
  15467. }
  15468. return nil, changed
  15469. }
  15470. containerLen := dd.ReadMapStart()
  15471. if canChange && v == nil {
  15472. if containerLen > 0 {
  15473. v = make(map[uint32]interface{}, containerLen)
  15474. } else {
  15475. v = make(map[uint32]interface{}) // supports indefinite-length, etc
  15476. }
  15477. changed = true
  15478. }
  15479. if containerLen > 0 {
  15480. for j := 0; j < containerLen; j++ {
  15481. mk := uint32(dd.DecodeUint(32))
  15482. mv := v[mk]
  15483. d.decode(&mv)
  15484. if v != nil {
  15485. v[mk] = mv
  15486. }
  15487. }
  15488. } else if containerLen < 0 {
  15489. for j := 0; !dd.CheckBreak(); j++ {
  15490. mk := uint32(dd.DecodeUint(32))
  15491. mv := v[mk]
  15492. d.decode(&mv)
  15493. if v != nil {
  15494. v[mk] = mv
  15495. }
  15496. }
  15497. dd.ReadEnd()
  15498. }
  15499. return v, changed
  15500. }
  15501. func (f decFnInfo) fastpathDecMapUint32StringR(rv reflect.Value) {
  15502. if rv.CanAddr() {
  15503. vp := rv.Addr().Interface().(*map[uint32]string)
  15504. v, changed := fastpathTV.DecMapUint32StringV(*vp, fastpathCheckNilFalse, true, f.d)
  15505. if changed {
  15506. *vp = v
  15507. }
  15508. } else {
  15509. v := rv.Interface().(map[uint32]string)
  15510. fastpathTV.DecMapUint32StringV(v, fastpathCheckNilFalse, false, f.d)
  15511. }
  15512. }
  15513. func (f fastpathT) DecMapUint32StringX(vp *map[uint32]string, checkNil bool, d *Decoder) {
  15514. v, changed := f.DecMapUint32StringV(*vp, checkNil, true, d)
  15515. if changed {
  15516. *vp = v
  15517. }
  15518. }
  15519. func (_ fastpathT) DecMapUint32StringV(v map[uint32]string, checkNil bool, canChange bool,
  15520. d *Decoder) (_ map[uint32]string, changed bool) {
  15521. dd := d.d
  15522. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  15523. if checkNil && dd.TryDecodeAsNil() {
  15524. if v != nil {
  15525. changed = true
  15526. }
  15527. return nil, changed
  15528. }
  15529. containerLen := dd.ReadMapStart()
  15530. if canChange && v == nil {
  15531. if containerLen > 0 {
  15532. v = make(map[uint32]string, containerLen)
  15533. } else {
  15534. v = make(map[uint32]string) // supports indefinite-length, etc
  15535. }
  15536. changed = true
  15537. }
  15538. if containerLen > 0 {
  15539. for j := 0; j < containerLen; j++ {
  15540. mk := uint32(dd.DecodeUint(32))
  15541. mv := v[mk]
  15542. mv = dd.DecodeString()
  15543. if v != nil {
  15544. v[mk] = mv
  15545. }
  15546. }
  15547. } else if containerLen < 0 {
  15548. for j := 0; !dd.CheckBreak(); j++ {
  15549. mk := uint32(dd.DecodeUint(32))
  15550. mv := v[mk]
  15551. mv = dd.DecodeString()
  15552. if v != nil {
  15553. v[mk] = mv
  15554. }
  15555. }
  15556. dd.ReadEnd()
  15557. }
  15558. return v, changed
  15559. }
  15560. func (f decFnInfo) fastpathDecMapUint32UintR(rv reflect.Value) {
  15561. if rv.CanAddr() {
  15562. vp := rv.Addr().Interface().(*map[uint32]uint)
  15563. v, changed := fastpathTV.DecMapUint32UintV(*vp, fastpathCheckNilFalse, true, f.d)
  15564. if changed {
  15565. *vp = v
  15566. }
  15567. } else {
  15568. v := rv.Interface().(map[uint32]uint)
  15569. fastpathTV.DecMapUint32UintV(v, fastpathCheckNilFalse, false, f.d)
  15570. }
  15571. }
  15572. func (f fastpathT) DecMapUint32UintX(vp *map[uint32]uint, checkNil bool, d *Decoder) {
  15573. v, changed := f.DecMapUint32UintV(*vp, checkNil, true, d)
  15574. if changed {
  15575. *vp = v
  15576. }
  15577. }
  15578. func (_ fastpathT) DecMapUint32UintV(v map[uint32]uint, checkNil bool, canChange bool,
  15579. d *Decoder) (_ map[uint32]uint, changed bool) {
  15580. dd := d.d
  15581. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  15582. if checkNil && dd.TryDecodeAsNil() {
  15583. if v != nil {
  15584. changed = true
  15585. }
  15586. return nil, changed
  15587. }
  15588. containerLen := dd.ReadMapStart()
  15589. if canChange && v == nil {
  15590. if containerLen > 0 {
  15591. v = make(map[uint32]uint, containerLen)
  15592. } else {
  15593. v = make(map[uint32]uint) // supports indefinite-length, etc
  15594. }
  15595. changed = true
  15596. }
  15597. if containerLen > 0 {
  15598. for j := 0; j < containerLen; j++ {
  15599. mk := uint32(dd.DecodeUint(32))
  15600. mv := v[mk]
  15601. mv = uint(dd.DecodeUint(uintBitsize))
  15602. if v != nil {
  15603. v[mk] = mv
  15604. }
  15605. }
  15606. } else if containerLen < 0 {
  15607. for j := 0; !dd.CheckBreak(); j++ {
  15608. mk := uint32(dd.DecodeUint(32))
  15609. mv := v[mk]
  15610. mv = uint(dd.DecodeUint(uintBitsize))
  15611. if v != nil {
  15612. v[mk] = mv
  15613. }
  15614. }
  15615. dd.ReadEnd()
  15616. }
  15617. return v, changed
  15618. }
  15619. func (f decFnInfo) fastpathDecMapUint32Uint8R(rv reflect.Value) {
  15620. if rv.CanAddr() {
  15621. vp := rv.Addr().Interface().(*map[uint32]uint8)
  15622. v, changed := fastpathTV.DecMapUint32Uint8V(*vp, fastpathCheckNilFalse, true, f.d)
  15623. if changed {
  15624. *vp = v
  15625. }
  15626. } else {
  15627. v := rv.Interface().(map[uint32]uint8)
  15628. fastpathTV.DecMapUint32Uint8V(v, fastpathCheckNilFalse, false, f.d)
  15629. }
  15630. }
  15631. func (f fastpathT) DecMapUint32Uint8X(vp *map[uint32]uint8, checkNil bool, d *Decoder) {
  15632. v, changed := f.DecMapUint32Uint8V(*vp, checkNil, true, d)
  15633. if changed {
  15634. *vp = v
  15635. }
  15636. }
  15637. func (_ fastpathT) DecMapUint32Uint8V(v map[uint32]uint8, checkNil bool, canChange bool,
  15638. d *Decoder) (_ map[uint32]uint8, changed bool) {
  15639. dd := d.d
  15640. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  15641. if checkNil && dd.TryDecodeAsNil() {
  15642. if v != nil {
  15643. changed = true
  15644. }
  15645. return nil, changed
  15646. }
  15647. containerLen := dd.ReadMapStart()
  15648. if canChange && v == nil {
  15649. if containerLen > 0 {
  15650. v = make(map[uint32]uint8, containerLen)
  15651. } else {
  15652. v = make(map[uint32]uint8) // supports indefinite-length, etc
  15653. }
  15654. changed = true
  15655. }
  15656. if containerLen > 0 {
  15657. for j := 0; j < containerLen; j++ {
  15658. mk := uint32(dd.DecodeUint(32))
  15659. mv := v[mk]
  15660. mv = uint8(dd.DecodeUint(8))
  15661. if v != nil {
  15662. v[mk] = mv
  15663. }
  15664. }
  15665. } else if containerLen < 0 {
  15666. for j := 0; !dd.CheckBreak(); j++ {
  15667. mk := uint32(dd.DecodeUint(32))
  15668. mv := v[mk]
  15669. mv = uint8(dd.DecodeUint(8))
  15670. if v != nil {
  15671. v[mk] = mv
  15672. }
  15673. }
  15674. dd.ReadEnd()
  15675. }
  15676. return v, changed
  15677. }
  15678. func (f decFnInfo) fastpathDecMapUint32Uint16R(rv reflect.Value) {
  15679. if rv.CanAddr() {
  15680. vp := rv.Addr().Interface().(*map[uint32]uint16)
  15681. v, changed := fastpathTV.DecMapUint32Uint16V(*vp, fastpathCheckNilFalse, true, f.d)
  15682. if changed {
  15683. *vp = v
  15684. }
  15685. } else {
  15686. v := rv.Interface().(map[uint32]uint16)
  15687. fastpathTV.DecMapUint32Uint16V(v, fastpathCheckNilFalse, false, f.d)
  15688. }
  15689. }
  15690. func (f fastpathT) DecMapUint32Uint16X(vp *map[uint32]uint16, checkNil bool, d *Decoder) {
  15691. v, changed := f.DecMapUint32Uint16V(*vp, checkNil, true, d)
  15692. if changed {
  15693. *vp = v
  15694. }
  15695. }
  15696. func (_ fastpathT) DecMapUint32Uint16V(v map[uint32]uint16, checkNil bool, canChange bool,
  15697. d *Decoder) (_ map[uint32]uint16, changed bool) {
  15698. dd := d.d
  15699. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  15700. if checkNil && dd.TryDecodeAsNil() {
  15701. if v != nil {
  15702. changed = true
  15703. }
  15704. return nil, changed
  15705. }
  15706. containerLen := dd.ReadMapStart()
  15707. if canChange && v == nil {
  15708. if containerLen > 0 {
  15709. v = make(map[uint32]uint16, containerLen)
  15710. } else {
  15711. v = make(map[uint32]uint16) // supports indefinite-length, etc
  15712. }
  15713. changed = true
  15714. }
  15715. if containerLen > 0 {
  15716. for j := 0; j < containerLen; j++ {
  15717. mk := uint32(dd.DecodeUint(32))
  15718. mv := v[mk]
  15719. mv = uint16(dd.DecodeUint(16))
  15720. if v != nil {
  15721. v[mk] = mv
  15722. }
  15723. }
  15724. } else if containerLen < 0 {
  15725. for j := 0; !dd.CheckBreak(); j++ {
  15726. mk := uint32(dd.DecodeUint(32))
  15727. mv := v[mk]
  15728. mv = uint16(dd.DecodeUint(16))
  15729. if v != nil {
  15730. v[mk] = mv
  15731. }
  15732. }
  15733. dd.ReadEnd()
  15734. }
  15735. return v, changed
  15736. }
  15737. func (f decFnInfo) fastpathDecMapUint32Uint32R(rv reflect.Value) {
  15738. if rv.CanAddr() {
  15739. vp := rv.Addr().Interface().(*map[uint32]uint32)
  15740. v, changed := fastpathTV.DecMapUint32Uint32V(*vp, fastpathCheckNilFalse, true, f.d)
  15741. if changed {
  15742. *vp = v
  15743. }
  15744. } else {
  15745. v := rv.Interface().(map[uint32]uint32)
  15746. fastpathTV.DecMapUint32Uint32V(v, fastpathCheckNilFalse, false, f.d)
  15747. }
  15748. }
  15749. func (f fastpathT) DecMapUint32Uint32X(vp *map[uint32]uint32, checkNil bool, d *Decoder) {
  15750. v, changed := f.DecMapUint32Uint32V(*vp, checkNil, true, d)
  15751. if changed {
  15752. *vp = v
  15753. }
  15754. }
  15755. func (_ fastpathT) DecMapUint32Uint32V(v map[uint32]uint32, checkNil bool, canChange bool,
  15756. d *Decoder) (_ map[uint32]uint32, changed bool) {
  15757. dd := d.d
  15758. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  15759. if checkNil && dd.TryDecodeAsNil() {
  15760. if v != nil {
  15761. changed = true
  15762. }
  15763. return nil, changed
  15764. }
  15765. containerLen := dd.ReadMapStart()
  15766. if canChange && v == nil {
  15767. if containerLen > 0 {
  15768. v = make(map[uint32]uint32, containerLen)
  15769. } else {
  15770. v = make(map[uint32]uint32) // supports indefinite-length, etc
  15771. }
  15772. changed = true
  15773. }
  15774. if containerLen > 0 {
  15775. for j := 0; j < containerLen; j++ {
  15776. mk := uint32(dd.DecodeUint(32))
  15777. mv := v[mk]
  15778. mv = uint32(dd.DecodeUint(32))
  15779. if v != nil {
  15780. v[mk] = mv
  15781. }
  15782. }
  15783. } else if containerLen < 0 {
  15784. for j := 0; !dd.CheckBreak(); j++ {
  15785. mk := uint32(dd.DecodeUint(32))
  15786. mv := v[mk]
  15787. mv = uint32(dd.DecodeUint(32))
  15788. if v != nil {
  15789. v[mk] = mv
  15790. }
  15791. }
  15792. dd.ReadEnd()
  15793. }
  15794. return v, changed
  15795. }
  15796. func (f decFnInfo) fastpathDecMapUint32Uint64R(rv reflect.Value) {
  15797. if rv.CanAddr() {
  15798. vp := rv.Addr().Interface().(*map[uint32]uint64)
  15799. v, changed := fastpathTV.DecMapUint32Uint64V(*vp, fastpathCheckNilFalse, true, f.d)
  15800. if changed {
  15801. *vp = v
  15802. }
  15803. } else {
  15804. v := rv.Interface().(map[uint32]uint64)
  15805. fastpathTV.DecMapUint32Uint64V(v, fastpathCheckNilFalse, false, f.d)
  15806. }
  15807. }
  15808. func (f fastpathT) DecMapUint32Uint64X(vp *map[uint32]uint64, checkNil bool, d *Decoder) {
  15809. v, changed := f.DecMapUint32Uint64V(*vp, checkNil, true, d)
  15810. if changed {
  15811. *vp = v
  15812. }
  15813. }
  15814. func (_ fastpathT) DecMapUint32Uint64V(v map[uint32]uint64, checkNil bool, canChange bool,
  15815. d *Decoder) (_ map[uint32]uint64, changed bool) {
  15816. dd := d.d
  15817. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  15818. if checkNil && dd.TryDecodeAsNil() {
  15819. if v != nil {
  15820. changed = true
  15821. }
  15822. return nil, changed
  15823. }
  15824. containerLen := dd.ReadMapStart()
  15825. if canChange && v == nil {
  15826. if containerLen > 0 {
  15827. v = make(map[uint32]uint64, containerLen)
  15828. } else {
  15829. v = make(map[uint32]uint64) // supports indefinite-length, etc
  15830. }
  15831. changed = true
  15832. }
  15833. if containerLen > 0 {
  15834. for j := 0; j < containerLen; j++ {
  15835. mk := uint32(dd.DecodeUint(32))
  15836. mv := v[mk]
  15837. mv = dd.DecodeUint(64)
  15838. if v != nil {
  15839. v[mk] = mv
  15840. }
  15841. }
  15842. } else if containerLen < 0 {
  15843. for j := 0; !dd.CheckBreak(); j++ {
  15844. mk := uint32(dd.DecodeUint(32))
  15845. mv := v[mk]
  15846. mv = dd.DecodeUint(64)
  15847. if v != nil {
  15848. v[mk] = mv
  15849. }
  15850. }
  15851. dd.ReadEnd()
  15852. }
  15853. return v, changed
  15854. }
  15855. func (f decFnInfo) fastpathDecMapUint32IntR(rv reflect.Value) {
  15856. if rv.CanAddr() {
  15857. vp := rv.Addr().Interface().(*map[uint32]int)
  15858. v, changed := fastpathTV.DecMapUint32IntV(*vp, fastpathCheckNilFalse, true, f.d)
  15859. if changed {
  15860. *vp = v
  15861. }
  15862. } else {
  15863. v := rv.Interface().(map[uint32]int)
  15864. fastpathTV.DecMapUint32IntV(v, fastpathCheckNilFalse, false, f.d)
  15865. }
  15866. }
  15867. func (f fastpathT) DecMapUint32IntX(vp *map[uint32]int, checkNil bool, d *Decoder) {
  15868. v, changed := f.DecMapUint32IntV(*vp, checkNil, true, d)
  15869. if changed {
  15870. *vp = v
  15871. }
  15872. }
  15873. func (_ fastpathT) DecMapUint32IntV(v map[uint32]int, checkNil bool, canChange bool,
  15874. d *Decoder) (_ map[uint32]int, changed bool) {
  15875. dd := d.d
  15876. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  15877. if checkNil && dd.TryDecodeAsNil() {
  15878. if v != nil {
  15879. changed = true
  15880. }
  15881. return nil, changed
  15882. }
  15883. containerLen := dd.ReadMapStart()
  15884. if canChange && v == nil {
  15885. if containerLen > 0 {
  15886. v = make(map[uint32]int, containerLen)
  15887. } else {
  15888. v = make(map[uint32]int) // supports indefinite-length, etc
  15889. }
  15890. changed = true
  15891. }
  15892. if containerLen > 0 {
  15893. for j := 0; j < containerLen; j++ {
  15894. mk := uint32(dd.DecodeUint(32))
  15895. mv := v[mk]
  15896. mv = int(dd.DecodeInt(intBitsize))
  15897. if v != nil {
  15898. v[mk] = mv
  15899. }
  15900. }
  15901. } else if containerLen < 0 {
  15902. for j := 0; !dd.CheckBreak(); j++ {
  15903. mk := uint32(dd.DecodeUint(32))
  15904. mv := v[mk]
  15905. mv = int(dd.DecodeInt(intBitsize))
  15906. if v != nil {
  15907. v[mk] = mv
  15908. }
  15909. }
  15910. dd.ReadEnd()
  15911. }
  15912. return v, changed
  15913. }
  15914. func (f decFnInfo) fastpathDecMapUint32Int8R(rv reflect.Value) {
  15915. if rv.CanAddr() {
  15916. vp := rv.Addr().Interface().(*map[uint32]int8)
  15917. v, changed := fastpathTV.DecMapUint32Int8V(*vp, fastpathCheckNilFalse, true, f.d)
  15918. if changed {
  15919. *vp = v
  15920. }
  15921. } else {
  15922. v := rv.Interface().(map[uint32]int8)
  15923. fastpathTV.DecMapUint32Int8V(v, fastpathCheckNilFalse, false, f.d)
  15924. }
  15925. }
  15926. func (f fastpathT) DecMapUint32Int8X(vp *map[uint32]int8, checkNil bool, d *Decoder) {
  15927. v, changed := f.DecMapUint32Int8V(*vp, checkNil, true, d)
  15928. if changed {
  15929. *vp = v
  15930. }
  15931. }
  15932. func (_ fastpathT) DecMapUint32Int8V(v map[uint32]int8, checkNil bool, canChange bool,
  15933. d *Decoder) (_ map[uint32]int8, changed bool) {
  15934. dd := d.d
  15935. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  15936. if checkNil && dd.TryDecodeAsNil() {
  15937. if v != nil {
  15938. changed = true
  15939. }
  15940. return nil, changed
  15941. }
  15942. containerLen := dd.ReadMapStart()
  15943. if canChange && v == nil {
  15944. if containerLen > 0 {
  15945. v = make(map[uint32]int8, containerLen)
  15946. } else {
  15947. v = make(map[uint32]int8) // supports indefinite-length, etc
  15948. }
  15949. changed = true
  15950. }
  15951. if containerLen > 0 {
  15952. for j := 0; j < containerLen; j++ {
  15953. mk := uint32(dd.DecodeUint(32))
  15954. mv := v[mk]
  15955. mv = int8(dd.DecodeInt(8))
  15956. if v != nil {
  15957. v[mk] = mv
  15958. }
  15959. }
  15960. } else if containerLen < 0 {
  15961. for j := 0; !dd.CheckBreak(); j++ {
  15962. mk := uint32(dd.DecodeUint(32))
  15963. mv := v[mk]
  15964. mv = int8(dd.DecodeInt(8))
  15965. if v != nil {
  15966. v[mk] = mv
  15967. }
  15968. }
  15969. dd.ReadEnd()
  15970. }
  15971. return v, changed
  15972. }
  15973. func (f decFnInfo) fastpathDecMapUint32Int16R(rv reflect.Value) {
  15974. if rv.CanAddr() {
  15975. vp := rv.Addr().Interface().(*map[uint32]int16)
  15976. v, changed := fastpathTV.DecMapUint32Int16V(*vp, fastpathCheckNilFalse, true, f.d)
  15977. if changed {
  15978. *vp = v
  15979. }
  15980. } else {
  15981. v := rv.Interface().(map[uint32]int16)
  15982. fastpathTV.DecMapUint32Int16V(v, fastpathCheckNilFalse, false, f.d)
  15983. }
  15984. }
  15985. func (f fastpathT) DecMapUint32Int16X(vp *map[uint32]int16, checkNil bool, d *Decoder) {
  15986. v, changed := f.DecMapUint32Int16V(*vp, checkNil, true, d)
  15987. if changed {
  15988. *vp = v
  15989. }
  15990. }
  15991. func (_ fastpathT) DecMapUint32Int16V(v map[uint32]int16, checkNil bool, canChange bool,
  15992. d *Decoder) (_ map[uint32]int16, changed bool) {
  15993. dd := d.d
  15994. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  15995. if checkNil && dd.TryDecodeAsNil() {
  15996. if v != nil {
  15997. changed = true
  15998. }
  15999. return nil, changed
  16000. }
  16001. containerLen := dd.ReadMapStart()
  16002. if canChange && v == nil {
  16003. if containerLen > 0 {
  16004. v = make(map[uint32]int16, containerLen)
  16005. } else {
  16006. v = make(map[uint32]int16) // supports indefinite-length, etc
  16007. }
  16008. changed = true
  16009. }
  16010. if containerLen > 0 {
  16011. for j := 0; j < containerLen; j++ {
  16012. mk := uint32(dd.DecodeUint(32))
  16013. mv := v[mk]
  16014. mv = int16(dd.DecodeInt(16))
  16015. if v != nil {
  16016. v[mk] = mv
  16017. }
  16018. }
  16019. } else if containerLen < 0 {
  16020. for j := 0; !dd.CheckBreak(); j++ {
  16021. mk := uint32(dd.DecodeUint(32))
  16022. mv := v[mk]
  16023. mv = int16(dd.DecodeInt(16))
  16024. if v != nil {
  16025. v[mk] = mv
  16026. }
  16027. }
  16028. dd.ReadEnd()
  16029. }
  16030. return v, changed
  16031. }
  16032. func (f decFnInfo) fastpathDecMapUint32Int32R(rv reflect.Value) {
  16033. if rv.CanAddr() {
  16034. vp := rv.Addr().Interface().(*map[uint32]int32)
  16035. v, changed := fastpathTV.DecMapUint32Int32V(*vp, fastpathCheckNilFalse, true, f.d)
  16036. if changed {
  16037. *vp = v
  16038. }
  16039. } else {
  16040. v := rv.Interface().(map[uint32]int32)
  16041. fastpathTV.DecMapUint32Int32V(v, fastpathCheckNilFalse, false, f.d)
  16042. }
  16043. }
  16044. func (f fastpathT) DecMapUint32Int32X(vp *map[uint32]int32, checkNil bool, d *Decoder) {
  16045. v, changed := f.DecMapUint32Int32V(*vp, checkNil, true, d)
  16046. if changed {
  16047. *vp = v
  16048. }
  16049. }
  16050. func (_ fastpathT) DecMapUint32Int32V(v map[uint32]int32, checkNil bool, canChange bool,
  16051. d *Decoder) (_ map[uint32]int32, changed bool) {
  16052. dd := d.d
  16053. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  16054. if checkNil && dd.TryDecodeAsNil() {
  16055. if v != nil {
  16056. changed = true
  16057. }
  16058. return nil, changed
  16059. }
  16060. containerLen := dd.ReadMapStart()
  16061. if canChange && v == nil {
  16062. if containerLen > 0 {
  16063. v = make(map[uint32]int32, containerLen)
  16064. } else {
  16065. v = make(map[uint32]int32) // supports indefinite-length, etc
  16066. }
  16067. changed = true
  16068. }
  16069. if containerLen > 0 {
  16070. for j := 0; j < containerLen; j++ {
  16071. mk := uint32(dd.DecodeUint(32))
  16072. mv := v[mk]
  16073. mv = int32(dd.DecodeInt(32))
  16074. if v != nil {
  16075. v[mk] = mv
  16076. }
  16077. }
  16078. } else if containerLen < 0 {
  16079. for j := 0; !dd.CheckBreak(); j++ {
  16080. mk := uint32(dd.DecodeUint(32))
  16081. mv := v[mk]
  16082. mv = int32(dd.DecodeInt(32))
  16083. if v != nil {
  16084. v[mk] = mv
  16085. }
  16086. }
  16087. dd.ReadEnd()
  16088. }
  16089. return v, changed
  16090. }
  16091. func (f decFnInfo) fastpathDecMapUint32Int64R(rv reflect.Value) {
  16092. if rv.CanAddr() {
  16093. vp := rv.Addr().Interface().(*map[uint32]int64)
  16094. v, changed := fastpathTV.DecMapUint32Int64V(*vp, fastpathCheckNilFalse, true, f.d)
  16095. if changed {
  16096. *vp = v
  16097. }
  16098. } else {
  16099. v := rv.Interface().(map[uint32]int64)
  16100. fastpathTV.DecMapUint32Int64V(v, fastpathCheckNilFalse, false, f.d)
  16101. }
  16102. }
  16103. func (f fastpathT) DecMapUint32Int64X(vp *map[uint32]int64, checkNil bool, d *Decoder) {
  16104. v, changed := f.DecMapUint32Int64V(*vp, checkNil, true, d)
  16105. if changed {
  16106. *vp = v
  16107. }
  16108. }
  16109. func (_ fastpathT) DecMapUint32Int64V(v map[uint32]int64, checkNil bool, canChange bool,
  16110. d *Decoder) (_ map[uint32]int64, changed bool) {
  16111. dd := d.d
  16112. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  16113. if checkNil && dd.TryDecodeAsNil() {
  16114. if v != nil {
  16115. changed = true
  16116. }
  16117. return nil, changed
  16118. }
  16119. containerLen := dd.ReadMapStart()
  16120. if canChange && v == nil {
  16121. if containerLen > 0 {
  16122. v = make(map[uint32]int64, containerLen)
  16123. } else {
  16124. v = make(map[uint32]int64) // supports indefinite-length, etc
  16125. }
  16126. changed = true
  16127. }
  16128. if containerLen > 0 {
  16129. for j := 0; j < containerLen; j++ {
  16130. mk := uint32(dd.DecodeUint(32))
  16131. mv := v[mk]
  16132. mv = dd.DecodeInt(64)
  16133. if v != nil {
  16134. v[mk] = mv
  16135. }
  16136. }
  16137. } else if containerLen < 0 {
  16138. for j := 0; !dd.CheckBreak(); j++ {
  16139. mk := uint32(dd.DecodeUint(32))
  16140. mv := v[mk]
  16141. mv = dd.DecodeInt(64)
  16142. if v != nil {
  16143. v[mk] = mv
  16144. }
  16145. }
  16146. dd.ReadEnd()
  16147. }
  16148. return v, changed
  16149. }
  16150. func (f decFnInfo) fastpathDecMapUint32Float32R(rv reflect.Value) {
  16151. if rv.CanAddr() {
  16152. vp := rv.Addr().Interface().(*map[uint32]float32)
  16153. v, changed := fastpathTV.DecMapUint32Float32V(*vp, fastpathCheckNilFalse, true, f.d)
  16154. if changed {
  16155. *vp = v
  16156. }
  16157. } else {
  16158. v := rv.Interface().(map[uint32]float32)
  16159. fastpathTV.DecMapUint32Float32V(v, fastpathCheckNilFalse, false, f.d)
  16160. }
  16161. }
  16162. func (f fastpathT) DecMapUint32Float32X(vp *map[uint32]float32, checkNil bool, d *Decoder) {
  16163. v, changed := f.DecMapUint32Float32V(*vp, checkNil, true, d)
  16164. if changed {
  16165. *vp = v
  16166. }
  16167. }
  16168. func (_ fastpathT) DecMapUint32Float32V(v map[uint32]float32, checkNil bool, canChange bool,
  16169. d *Decoder) (_ map[uint32]float32, changed bool) {
  16170. dd := d.d
  16171. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  16172. if checkNil && dd.TryDecodeAsNil() {
  16173. if v != nil {
  16174. changed = true
  16175. }
  16176. return nil, changed
  16177. }
  16178. containerLen := dd.ReadMapStart()
  16179. if canChange && v == nil {
  16180. if containerLen > 0 {
  16181. v = make(map[uint32]float32, containerLen)
  16182. } else {
  16183. v = make(map[uint32]float32) // supports indefinite-length, etc
  16184. }
  16185. changed = true
  16186. }
  16187. if containerLen > 0 {
  16188. for j := 0; j < containerLen; j++ {
  16189. mk := uint32(dd.DecodeUint(32))
  16190. mv := v[mk]
  16191. mv = float32(dd.DecodeFloat(true))
  16192. if v != nil {
  16193. v[mk] = mv
  16194. }
  16195. }
  16196. } else if containerLen < 0 {
  16197. for j := 0; !dd.CheckBreak(); j++ {
  16198. mk := uint32(dd.DecodeUint(32))
  16199. mv := v[mk]
  16200. mv = float32(dd.DecodeFloat(true))
  16201. if v != nil {
  16202. v[mk] = mv
  16203. }
  16204. }
  16205. dd.ReadEnd()
  16206. }
  16207. return v, changed
  16208. }
  16209. func (f decFnInfo) fastpathDecMapUint32Float64R(rv reflect.Value) {
  16210. if rv.CanAddr() {
  16211. vp := rv.Addr().Interface().(*map[uint32]float64)
  16212. v, changed := fastpathTV.DecMapUint32Float64V(*vp, fastpathCheckNilFalse, true, f.d)
  16213. if changed {
  16214. *vp = v
  16215. }
  16216. } else {
  16217. v := rv.Interface().(map[uint32]float64)
  16218. fastpathTV.DecMapUint32Float64V(v, fastpathCheckNilFalse, false, f.d)
  16219. }
  16220. }
  16221. func (f fastpathT) DecMapUint32Float64X(vp *map[uint32]float64, checkNil bool, d *Decoder) {
  16222. v, changed := f.DecMapUint32Float64V(*vp, checkNil, true, d)
  16223. if changed {
  16224. *vp = v
  16225. }
  16226. }
  16227. func (_ fastpathT) DecMapUint32Float64V(v map[uint32]float64, checkNil bool, canChange bool,
  16228. d *Decoder) (_ map[uint32]float64, changed bool) {
  16229. dd := d.d
  16230. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  16231. if checkNil && dd.TryDecodeAsNil() {
  16232. if v != nil {
  16233. changed = true
  16234. }
  16235. return nil, changed
  16236. }
  16237. containerLen := dd.ReadMapStart()
  16238. if canChange && v == nil {
  16239. if containerLen > 0 {
  16240. v = make(map[uint32]float64, containerLen)
  16241. } else {
  16242. v = make(map[uint32]float64) // supports indefinite-length, etc
  16243. }
  16244. changed = true
  16245. }
  16246. if containerLen > 0 {
  16247. for j := 0; j < containerLen; j++ {
  16248. mk := uint32(dd.DecodeUint(32))
  16249. mv := v[mk]
  16250. mv = dd.DecodeFloat(false)
  16251. if v != nil {
  16252. v[mk] = mv
  16253. }
  16254. }
  16255. } else if containerLen < 0 {
  16256. for j := 0; !dd.CheckBreak(); j++ {
  16257. mk := uint32(dd.DecodeUint(32))
  16258. mv := v[mk]
  16259. mv = dd.DecodeFloat(false)
  16260. if v != nil {
  16261. v[mk] = mv
  16262. }
  16263. }
  16264. dd.ReadEnd()
  16265. }
  16266. return v, changed
  16267. }
  16268. func (f decFnInfo) fastpathDecMapUint32BoolR(rv reflect.Value) {
  16269. if rv.CanAddr() {
  16270. vp := rv.Addr().Interface().(*map[uint32]bool)
  16271. v, changed := fastpathTV.DecMapUint32BoolV(*vp, fastpathCheckNilFalse, true, f.d)
  16272. if changed {
  16273. *vp = v
  16274. }
  16275. } else {
  16276. v := rv.Interface().(map[uint32]bool)
  16277. fastpathTV.DecMapUint32BoolV(v, fastpathCheckNilFalse, false, f.d)
  16278. }
  16279. }
  16280. func (f fastpathT) DecMapUint32BoolX(vp *map[uint32]bool, checkNil bool, d *Decoder) {
  16281. v, changed := f.DecMapUint32BoolV(*vp, checkNil, true, d)
  16282. if changed {
  16283. *vp = v
  16284. }
  16285. }
  16286. func (_ fastpathT) DecMapUint32BoolV(v map[uint32]bool, checkNil bool, canChange bool,
  16287. d *Decoder) (_ map[uint32]bool, changed bool) {
  16288. dd := d.d
  16289. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  16290. if checkNil && dd.TryDecodeAsNil() {
  16291. if v != nil {
  16292. changed = true
  16293. }
  16294. return nil, changed
  16295. }
  16296. containerLen := dd.ReadMapStart()
  16297. if canChange && v == nil {
  16298. if containerLen > 0 {
  16299. v = make(map[uint32]bool, containerLen)
  16300. } else {
  16301. v = make(map[uint32]bool) // supports indefinite-length, etc
  16302. }
  16303. changed = true
  16304. }
  16305. if containerLen > 0 {
  16306. for j := 0; j < containerLen; j++ {
  16307. mk := uint32(dd.DecodeUint(32))
  16308. mv := v[mk]
  16309. mv = dd.DecodeBool()
  16310. if v != nil {
  16311. v[mk] = mv
  16312. }
  16313. }
  16314. } else if containerLen < 0 {
  16315. for j := 0; !dd.CheckBreak(); j++ {
  16316. mk := uint32(dd.DecodeUint(32))
  16317. mv := v[mk]
  16318. mv = dd.DecodeBool()
  16319. if v != nil {
  16320. v[mk] = mv
  16321. }
  16322. }
  16323. dd.ReadEnd()
  16324. }
  16325. return v, changed
  16326. }
  16327. func (f decFnInfo) fastpathDecMapUint64IntfR(rv reflect.Value) {
  16328. if rv.CanAddr() {
  16329. vp := rv.Addr().Interface().(*map[uint64]interface{})
  16330. v, changed := fastpathTV.DecMapUint64IntfV(*vp, fastpathCheckNilFalse, true, f.d)
  16331. if changed {
  16332. *vp = v
  16333. }
  16334. } else {
  16335. v := rv.Interface().(map[uint64]interface{})
  16336. fastpathTV.DecMapUint64IntfV(v, fastpathCheckNilFalse, false, f.d)
  16337. }
  16338. }
  16339. func (f fastpathT) DecMapUint64IntfX(vp *map[uint64]interface{}, checkNil bool, d *Decoder) {
  16340. v, changed := f.DecMapUint64IntfV(*vp, checkNil, true, d)
  16341. if changed {
  16342. *vp = v
  16343. }
  16344. }
  16345. func (_ fastpathT) DecMapUint64IntfV(v map[uint64]interface{}, checkNil bool, canChange bool,
  16346. d *Decoder) (_ map[uint64]interface{}, changed bool) {
  16347. dd := d.d
  16348. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  16349. if checkNil && dd.TryDecodeAsNil() {
  16350. if v != nil {
  16351. changed = true
  16352. }
  16353. return nil, changed
  16354. }
  16355. containerLen := dd.ReadMapStart()
  16356. if canChange && v == nil {
  16357. if containerLen > 0 {
  16358. v = make(map[uint64]interface{}, containerLen)
  16359. } else {
  16360. v = make(map[uint64]interface{}) // supports indefinite-length, etc
  16361. }
  16362. changed = true
  16363. }
  16364. if containerLen > 0 {
  16365. for j := 0; j < containerLen; j++ {
  16366. mk := dd.DecodeUint(64)
  16367. mv := v[mk]
  16368. d.decode(&mv)
  16369. if v != nil {
  16370. v[mk] = mv
  16371. }
  16372. }
  16373. } else if containerLen < 0 {
  16374. for j := 0; !dd.CheckBreak(); j++ {
  16375. mk := dd.DecodeUint(64)
  16376. mv := v[mk]
  16377. d.decode(&mv)
  16378. if v != nil {
  16379. v[mk] = mv
  16380. }
  16381. }
  16382. dd.ReadEnd()
  16383. }
  16384. return v, changed
  16385. }
  16386. func (f decFnInfo) fastpathDecMapUint64StringR(rv reflect.Value) {
  16387. if rv.CanAddr() {
  16388. vp := rv.Addr().Interface().(*map[uint64]string)
  16389. v, changed := fastpathTV.DecMapUint64StringV(*vp, fastpathCheckNilFalse, true, f.d)
  16390. if changed {
  16391. *vp = v
  16392. }
  16393. } else {
  16394. v := rv.Interface().(map[uint64]string)
  16395. fastpathTV.DecMapUint64StringV(v, fastpathCheckNilFalse, false, f.d)
  16396. }
  16397. }
  16398. func (f fastpathT) DecMapUint64StringX(vp *map[uint64]string, checkNil bool, d *Decoder) {
  16399. v, changed := f.DecMapUint64StringV(*vp, checkNil, true, d)
  16400. if changed {
  16401. *vp = v
  16402. }
  16403. }
  16404. func (_ fastpathT) DecMapUint64StringV(v map[uint64]string, checkNil bool, canChange bool,
  16405. d *Decoder) (_ map[uint64]string, changed bool) {
  16406. dd := d.d
  16407. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  16408. if checkNil && dd.TryDecodeAsNil() {
  16409. if v != nil {
  16410. changed = true
  16411. }
  16412. return nil, changed
  16413. }
  16414. containerLen := dd.ReadMapStart()
  16415. if canChange && v == nil {
  16416. if containerLen > 0 {
  16417. v = make(map[uint64]string, containerLen)
  16418. } else {
  16419. v = make(map[uint64]string) // supports indefinite-length, etc
  16420. }
  16421. changed = true
  16422. }
  16423. if containerLen > 0 {
  16424. for j := 0; j < containerLen; j++ {
  16425. mk := dd.DecodeUint(64)
  16426. mv := v[mk]
  16427. mv = dd.DecodeString()
  16428. if v != nil {
  16429. v[mk] = mv
  16430. }
  16431. }
  16432. } else if containerLen < 0 {
  16433. for j := 0; !dd.CheckBreak(); j++ {
  16434. mk := dd.DecodeUint(64)
  16435. mv := v[mk]
  16436. mv = dd.DecodeString()
  16437. if v != nil {
  16438. v[mk] = mv
  16439. }
  16440. }
  16441. dd.ReadEnd()
  16442. }
  16443. return v, changed
  16444. }
  16445. func (f decFnInfo) fastpathDecMapUint64UintR(rv reflect.Value) {
  16446. if rv.CanAddr() {
  16447. vp := rv.Addr().Interface().(*map[uint64]uint)
  16448. v, changed := fastpathTV.DecMapUint64UintV(*vp, fastpathCheckNilFalse, true, f.d)
  16449. if changed {
  16450. *vp = v
  16451. }
  16452. } else {
  16453. v := rv.Interface().(map[uint64]uint)
  16454. fastpathTV.DecMapUint64UintV(v, fastpathCheckNilFalse, false, f.d)
  16455. }
  16456. }
  16457. func (f fastpathT) DecMapUint64UintX(vp *map[uint64]uint, checkNil bool, d *Decoder) {
  16458. v, changed := f.DecMapUint64UintV(*vp, checkNil, true, d)
  16459. if changed {
  16460. *vp = v
  16461. }
  16462. }
  16463. func (_ fastpathT) DecMapUint64UintV(v map[uint64]uint, checkNil bool, canChange bool,
  16464. d *Decoder) (_ map[uint64]uint, changed bool) {
  16465. dd := d.d
  16466. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  16467. if checkNil && dd.TryDecodeAsNil() {
  16468. if v != nil {
  16469. changed = true
  16470. }
  16471. return nil, changed
  16472. }
  16473. containerLen := dd.ReadMapStart()
  16474. if canChange && v == nil {
  16475. if containerLen > 0 {
  16476. v = make(map[uint64]uint, containerLen)
  16477. } else {
  16478. v = make(map[uint64]uint) // supports indefinite-length, etc
  16479. }
  16480. changed = true
  16481. }
  16482. if containerLen > 0 {
  16483. for j := 0; j < containerLen; j++ {
  16484. mk := dd.DecodeUint(64)
  16485. mv := v[mk]
  16486. mv = uint(dd.DecodeUint(uintBitsize))
  16487. if v != nil {
  16488. v[mk] = mv
  16489. }
  16490. }
  16491. } else if containerLen < 0 {
  16492. for j := 0; !dd.CheckBreak(); j++ {
  16493. mk := dd.DecodeUint(64)
  16494. mv := v[mk]
  16495. mv = uint(dd.DecodeUint(uintBitsize))
  16496. if v != nil {
  16497. v[mk] = mv
  16498. }
  16499. }
  16500. dd.ReadEnd()
  16501. }
  16502. return v, changed
  16503. }
  16504. func (f decFnInfo) fastpathDecMapUint64Uint8R(rv reflect.Value) {
  16505. if rv.CanAddr() {
  16506. vp := rv.Addr().Interface().(*map[uint64]uint8)
  16507. v, changed := fastpathTV.DecMapUint64Uint8V(*vp, fastpathCheckNilFalse, true, f.d)
  16508. if changed {
  16509. *vp = v
  16510. }
  16511. } else {
  16512. v := rv.Interface().(map[uint64]uint8)
  16513. fastpathTV.DecMapUint64Uint8V(v, fastpathCheckNilFalse, false, f.d)
  16514. }
  16515. }
  16516. func (f fastpathT) DecMapUint64Uint8X(vp *map[uint64]uint8, checkNil bool, d *Decoder) {
  16517. v, changed := f.DecMapUint64Uint8V(*vp, checkNil, true, d)
  16518. if changed {
  16519. *vp = v
  16520. }
  16521. }
  16522. func (_ fastpathT) DecMapUint64Uint8V(v map[uint64]uint8, checkNil bool, canChange bool,
  16523. d *Decoder) (_ map[uint64]uint8, changed bool) {
  16524. dd := d.d
  16525. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  16526. if checkNil && dd.TryDecodeAsNil() {
  16527. if v != nil {
  16528. changed = true
  16529. }
  16530. return nil, changed
  16531. }
  16532. containerLen := dd.ReadMapStart()
  16533. if canChange && v == nil {
  16534. if containerLen > 0 {
  16535. v = make(map[uint64]uint8, containerLen)
  16536. } else {
  16537. v = make(map[uint64]uint8) // supports indefinite-length, etc
  16538. }
  16539. changed = true
  16540. }
  16541. if containerLen > 0 {
  16542. for j := 0; j < containerLen; j++ {
  16543. mk := dd.DecodeUint(64)
  16544. mv := v[mk]
  16545. mv = uint8(dd.DecodeUint(8))
  16546. if v != nil {
  16547. v[mk] = mv
  16548. }
  16549. }
  16550. } else if containerLen < 0 {
  16551. for j := 0; !dd.CheckBreak(); j++ {
  16552. mk := dd.DecodeUint(64)
  16553. mv := v[mk]
  16554. mv = uint8(dd.DecodeUint(8))
  16555. if v != nil {
  16556. v[mk] = mv
  16557. }
  16558. }
  16559. dd.ReadEnd()
  16560. }
  16561. return v, changed
  16562. }
  16563. func (f decFnInfo) fastpathDecMapUint64Uint16R(rv reflect.Value) {
  16564. if rv.CanAddr() {
  16565. vp := rv.Addr().Interface().(*map[uint64]uint16)
  16566. v, changed := fastpathTV.DecMapUint64Uint16V(*vp, fastpathCheckNilFalse, true, f.d)
  16567. if changed {
  16568. *vp = v
  16569. }
  16570. } else {
  16571. v := rv.Interface().(map[uint64]uint16)
  16572. fastpathTV.DecMapUint64Uint16V(v, fastpathCheckNilFalse, false, f.d)
  16573. }
  16574. }
  16575. func (f fastpathT) DecMapUint64Uint16X(vp *map[uint64]uint16, checkNil bool, d *Decoder) {
  16576. v, changed := f.DecMapUint64Uint16V(*vp, checkNil, true, d)
  16577. if changed {
  16578. *vp = v
  16579. }
  16580. }
  16581. func (_ fastpathT) DecMapUint64Uint16V(v map[uint64]uint16, checkNil bool, canChange bool,
  16582. d *Decoder) (_ map[uint64]uint16, changed bool) {
  16583. dd := d.d
  16584. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  16585. if checkNil && dd.TryDecodeAsNil() {
  16586. if v != nil {
  16587. changed = true
  16588. }
  16589. return nil, changed
  16590. }
  16591. containerLen := dd.ReadMapStart()
  16592. if canChange && v == nil {
  16593. if containerLen > 0 {
  16594. v = make(map[uint64]uint16, containerLen)
  16595. } else {
  16596. v = make(map[uint64]uint16) // supports indefinite-length, etc
  16597. }
  16598. changed = true
  16599. }
  16600. if containerLen > 0 {
  16601. for j := 0; j < containerLen; j++ {
  16602. mk := dd.DecodeUint(64)
  16603. mv := v[mk]
  16604. mv = uint16(dd.DecodeUint(16))
  16605. if v != nil {
  16606. v[mk] = mv
  16607. }
  16608. }
  16609. } else if containerLen < 0 {
  16610. for j := 0; !dd.CheckBreak(); j++ {
  16611. mk := dd.DecodeUint(64)
  16612. mv := v[mk]
  16613. mv = uint16(dd.DecodeUint(16))
  16614. if v != nil {
  16615. v[mk] = mv
  16616. }
  16617. }
  16618. dd.ReadEnd()
  16619. }
  16620. return v, changed
  16621. }
  16622. func (f decFnInfo) fastpathDecMapUint64Uint32R(rv reflect.Value) {
  16623. if rv.CanAddr() {
  16624. vp := rv.Addr().Interface().(*map[uint64]uint32)
  16625. v, changed := fastpathTV.DecMapUint64Uint32V(*vp, fastpathCheckNilFalse, true, f.d)
  16626. if changed {
  16627. *vp = v
  16628. }
  16629. } else {
  16630. v := rv.Interface().(map[uint64]uint32)
  16631. fastpathTV.DecMapUint64Uint32V(v, fastpathCheckNilFalse, false, f.d)
  16632. }
  16633. }
  16634. func (f fastpathT) DecMapUint64Uint32X(vp *map[uint64]uint32, checkNil bool, d *Decoder) {
  16635. v, changed := f.DecMapUint64Uint32V(*vp, checkNil, true, d)
  16636. if changed {
  16637. *vp = v
  16638. }
  16639. }
  16640. func (_ fastpathT) DecMapUint64Uint32V(v map[uint64]uint32, checkNil bool, canChange bool,
  16641. d *Decoder) (_ map[uint64]uint32, changed bool) {
  16642. dd := d.d
  16643. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  16644. if checkNil && dd.TryDecodeAsNil() {
  16645. if v != nil {
  16646. changed = true
  16647. }
  16648. return nil, changed
  16649. }
  16650. containerLen := dd.ReadMapStart()
  16651. if canChange && v == nil {
  16652. if containerLen > 0 {
  16653. v = make(map[uint64]uint32, containerLen)
  16654. } else {
  16655. v = make(map[uint64]uint32) // supports indefinite-length, etc
  16656. }
  16657. changed = true
  16658. }
  16659. if containerLen > 0 {
  16660. for j := 0; j < containerLen; j++ {
  16661. mk := dd.DecodeUint(64)
  16662. mv := v[mk]
  16663. mv = uint32(dd.DecodeUint(32))
  16664. if v != nil {
  16665. v[mk] = mv
  16666. }
  16667. }
  16668. } else if containerLen < 0 {
  16669. for j := 0; !dd.CheckBreak(); j++ {
  16670. mk := dd.DecodeUint(64)
  16671. mv := v[mk]
  16672. mv = uint32(dd.DecodeUint(32))
  16673. if v != nil {
  16674. v[mk] = mv
  16675. }
  16676. }
  16677. dd.ReadEnd()
  16678. }
  16679. return v, changed
  16680. }
  16681. func (f decFnInfo) fastpathDecMapUint64Uint64R(rv reflect.Value) {
  16682. if rv.CanAddr() {
  16683. vp := rv.Addr().Interface().(*map[uint64]uint64)
  16684. v, changed := fastpathTV.DecMapUint64Uint64V(*vp, fastpathCheckNilFalse, true, f.d)
  16685. if changed {
  16686. *vp = v
  16687. }
  16688. } else {
  16689. v := rv.Interface().(map[uint64]uint64)
  16690. fastpathTV.DecMapUint64Uint64V(v, fastpathCheckNilFalse, false, f.d)
  16691. }
  16692. }
  16693. func (f fastpathT) DecMapUint64Uint64X(vp *map[uint64]uint64, checkNil bool, d *Decoder) {
  16694. v, changed := f.DecMapUint64Uint64V(*vp, checkNil, true, d)
  16695. if changed {
  16696. *vp = v
  16697. }
  16698. }
  16699. func (_ fastpathT) DecMapUint64Uint64V(v map[uint64]uint64, checkNil bool, canChange bool,
  16700. d *Decoder) (_ map[uint64]uint64, changed bool) {
  16701. dd := d.d
  16702. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  16703. if checkNil && dd.TryDecodeAsNil() {
  16704. if v != nil {
  16705. changed = true
  16706. }
  16707. return nil, changed
  16708. }
  16709. containerLen := dd.ReadMapStart()
  16710. if canChange && v == nil {
  16711. if containerLen > 0 {
  16712. v = make(map[uint64]uint64, containerLen)
  16713. } else {
  16714. v = make(map[uint64]uint64) // supports indefinite-length, etc
  16715. }
  16716. changed = true
  16717. }
  16718. if containerLen > 0 {
  16719. for j := 0; j < containerLen; j++ {
  16720. mk := dd.DecodeUint(64)
  16721. mv := v[mk]
  16722. mv = dd.DecodeUint(64)
  16723. if v != nil {
  16724. v[mk] = mv
  16725. }
  16726. }
  16727. } else if containerLen < 0 {
  16728. for j := 0; !dd.CheckBreak(); j++ {
  16729. mk := dd.DecodeUint(64)
  16730. mv := v[mk]
  16731. mv = dd.DecodeUint(64)
  16732. if v != nil {
  16733. v[mk] = mv
  16734. }
  16735. }
  16736. dd.ReadEnd()
  16737. }
  16738. return v, changed
  16739. }
  16740. func (f decFnInfo) fastpathDecMapUint64IntR(rv reflect.Value) {
  16741. if rv.CanAddr() {
  16742. vp := rv.Addr().Interface().(*map[uint64]int)
  16743. v, changed := fastpathTV.DecMapUint64IntV(*vp, fastpathCheckNilFalse, true, f.d)
  16744. if changed {
  16745. *vp = v
  16746. }
  16747. } else {
  16748. v := rv.Interface().(map[uint64]int)
  16749. fastpathTV.DecMapUint64IntV(v, fastpathCheckNilFalse, false, f.d)
  16750. }
  16751. }
  16752. func (f fastpathT) DecMapUint64IntX(vp *map[uint64]int, checkNil bool, d *Decoder) {
  16753. v, changed := f.DecMapUint64IntV(*vp, checkNil, true, d)
  16754. if changed {
  16755. *vp = v
  16756. }
  16757. }
  16758. func (_ fastpathT) DecMapUint64IntV(v map[uint64]int, checkNil bool, canChange bool,
  16759. d *Decoder) (_ map[uint64]int, changed bool) {
  16760. dd := d.d
  16761. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  16762. if checkNil && dd.TryDecodeAsNil() {
  16763. if v != nil {
  16764. changed = true
  16765. }
  16766. return nil, changed
  16767. }
  16768. containerLen := dd.ReadMapStart()
  16769. if canChange && v == nil {
  16770. if containerLen > 0 {
  16771. v = make(map[uint64]int, containerLen)
  16772. } else {
  16773. v = make(map[uint64]int) // supports indefinite-length, etc
  16774. }
  16775. changed = true
  16776. }
  16777. if containerLen > 0 {
  16778. for j := 0; j < containerLen; j++ {
  16779. mk := dd.DecodeUint(64)
  16780. mv := v[mk]
  16781. mv = int(dd.DecodeInt(intBitsize))
  16782. if v != nil {
  16783. v[mk] = mv
  16784. }
  16785. }
  16786. } else if containerLen < 0 {
  16787. for j := 0; !dd.CheckBreak(); j++ {
  16788. mk := dd.DecodeUint(64)
  16789. mv := v[mk]
  16790. mv = int(dd.DecodeInt(intBitsize))
  16791. if v != nil {
  16792. v[mk] = mv
  16793. }
  16794. }
  16795. dd.ReadEnd()
  16796. }
  16797. return v, changed
  16798. }
  16799. func (f decFnInfo) fastpathDecMapUint64Int8R(rv reflect.Value) {
  16800. if rv.CanAddr() {
  16801. vp := rv.Addr().Interface().(*map[uint64]int8)
  16802. v, changed := fastpathTV.DecMapUint64Int8V(*vp, fastpathCheckNilFalse, true, f.d)
  16803. if changed {
  16804. *vp = v
  16805. }
  16806. } else {
  16807. v := rv.Interface().(map[uint64]int8)
  16808. fastpathTV.DecMapUint64Int8V(v, fastpathCheckNilFalse, false, f.d)
  16809. }
  16810. }
  16811. func (f fastpathT) DecMapUint64Int8X(vp *map[uint64]int8, checkNil bool, d *Decoder) {
  16812. v, changed := f.DecMapUint64Int8V(*vp, checkNil, true, d)
  16813. if changed {
  16814. *vp = v
  16815. }
  16816. }
  16817. func (_ fastpathT) DecMapUint64Int8V(v map[uint64]int8, checkNil bool, canChange bool,
  16818. d *Decoder) (_ map[uint64]int8, changed bool) {
  16819. dd := d.d
  16820. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  16821. if checkNil && dd.TryDecodeAsNil() {
  16822. if v != nil {
  16823. changed = true
  16824. }
  16825. return nil, changed
  16826. }
  16827. containerLen := dd.ReadMapStart()
  16828. if canChange && v == nil {
  16829. if containerLen > 0 {
  16830. v = make(map[uint64]int8, containerLen)
  16831. } else {
  16832. v = make(map[uint64]int8) // supports indefinite-length, etc
  16833. }
  16834. changed = true
  16835. }
  16836. if containerLen > 0 {
  16837. for j := 0; j < containerLen; j++ {
  16838. mk := dd.DecodeUint(64)
  16839. mv := v[mk]
  16840. mv = int8(dd.DecodeInt(8))
  16841. if v != nil {
  16842. v[mk] = mv
  16843. }
  16844. }
  16845. } else if containerLen < 0 {
  16846. for j := 0; !dd.CheckBreak(); j++ {
  16847. mk := dd.DecodeUint(64)
  16848. mv := v[mk]
  16849. mv = int8(dd.DecodeInt(8))
  16850. if v != nil {
  16851. v[mk] = mv
  16852. }
  16853. }
  16854. dd.ReadEnd()
  16855. }
  16856. return v, changed
  16857. }
  16858. func (f decFnInfo) fastpathDecMapUint64Int16R(rv reflect.Value) {
  16859. if rv.CanAddr() {
  16860. vp := rv.Addr().Interface().(*map[uint64]int16)
  16861. v, changed := fastpathTV.DecMapUint64Int16V(*vp, fastpathCheckNilFalse, true, f.d)
  16862. if changed {
  16863. *vp = v
  16864. }
  16865. } else {
  16866. v := rv.Interface().(map[uint64]int16)
  16867. fastpathTV.DecMapUint64Int16V(v, fastpathCheckNilFalse, false, f.d)
  16868. }
  16869. }
  16870. func (f fastpathT) DecMapUint64Int16X(vp *map[uint64]int16, checkNil bool, d *Decoder) {
  16871. v, changed := f.DecMapUint64Int16V(*vp, checkNil, true, d)
  16872. if changed {
  16873. *vp = v
  16874. }
  16875. }
  16876. func (_ fastpathT) DecMapUint64Int16V(v map[uint64]int16, checkNil bool, canChange bool,
  16877. d *Decoder) (_ map[uint64]int16, changed bool) {
  16878. dd := d.d
  16879. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  16880. if checkNil && dd.TryDecodeAsNil() {
  16881. if v != nil {
  16882. changed = true
  16883. }
  16884. return nil, changed
  16885. }
  16886. containerLen := dd.ReadMapStart()
  16887. if canChange && v == nil {
  16888. if containerLen > 0 {
  16889. v = make(map[uint64]int16, containerLen)
  16890. } else {
  16891. v = make(map[uint64]int16) // supports indefinite-length, etc
  16892. }
  16893. changed = true
  16894. }
  16895. if containerLen > 0 {
  16896. for j := 0; j < containerLen; j++ {
  16897. mk := dd.DecodeUint(64)
  16898. mv := v[mk]
  16899. mv = int16(dd.DecodeInt(16))
  16900. if v != nil {
  16901. v[mk] = mv
  16902. }
  16903. }
  16904. } else if containerLen < 0 {
  16905. for j := 0; !dd.CheckBreak(); j++ {
  16906. mk := dd.DecodeUint(64)
  16907. mv := v[mk]
  16908. mv = int16(dd.DecodeInt(16))
  16909. if v != nil {
  16910. v[mk] = mv
  16911. }
  16912. }
  16913. dd.ReadEnd()
  16914. }
  16915. return v, changed
  16916. }
  16917. func (f decFnInfo) fastpathDecMapUint64Int32R(rv reflect.Value) {
  16918. if rv.CanAddr() {
  16919. vp := rv.Addr().Interface().(*map[uint64]int32)
  16920. v, changed := fastpathTV.DecMapUint64Int32V(*vp, fastpathCheckNilFalse, true, f.d)
  16921. if changed {
  16922. *vp = v
  16923. }
  16924. } else {
  16925. v := rv.Interface().(map[uint64]int32)
  16926. fastpathTV.DecMapUint64Int32V(v, fastpathCheckNilFalse, false, f.d)
  16927. }
  16928. }
  16929. func (f fastpathT) DecMapUint64Int32X(vp *map[uint64]int32, checkNil bool, d *Decoder) {
  16930. v, changed := f.DecMapUint64Int32V(*vp, checkNil, true, d)
  16931. if changed {
  16932. *vp = v
  16933. }
  16934. }
  16935. func (_ fastpathT) DecMapUint64Int32V(v map[uint64]int32, checkNil bool, canChange bool,
  16936. d *Decoder) (_ map[uint64]int32, changed bool) {
  16937. dd := d.d
  16938. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  16939. if checkNil && dd.TryDecodeAsNil() {
  16940. if v != nil {
  16941. changed = true
  16942. }
  16943. return nil, changed
  16944. }
  16945. containerLen := dd.ReadMapStart()
  16946. if canChange && v == nil {
  16947. if containerLen > 0 {
  16948. v = make(map[uint64]int32, containerLen)
  16949. } else {
  16950. v = make(map[uint64]int32) // supports indefinite-length, etc
  16951. }
  16952. changed = true
  16953. }
  16954. if containerLen > 0 {
  16955. for j := 0; j < containerLen; j++ {
  16956. mk := dd.DecodeUint(64)
  16957. mv := v[mk]
  16958. mv = int32(dd.DecodeInt(32))
  16959. if v != nil {
  16960. v[mk] = mv
  16961. }
  16962. }
  16963. } else if containerLen < 0 {
  16964. for j := 0; !dd.CheckBreak(); j++ {
  16965. mk := dd.DecodeUint(64)
  16966. mv := v[mk]
  16967. mv = int32(dd.DecodeInt(32))
  16968. if v != nil {
  16969. v[mk] = mv
  16970. }
  16971. }
  16972. dd.ReadEnd()
  16973. }
  16974. return v, changed
  16975. }
  16976. func (f decFnInfo) fastpathDecMapUint64Int64R(rv reflect.Value) {
  16977. if rv.CanAddr() {
  16978. vp := rv.Addr().Interface().(*map[uint64]int64)
  16979. v, changed := fastpathTV.DecMapUint64Int64V(*vp, fastpathCheckNilFalse, true, f.d)
  16980. if changed {
  16981. *vp = v
  16982. }
  16983. } else {
  16984. v := rv.Interface().(map[uint64]int64)
  16985. fastpathTV.DecMapUint64Int64V(v, fastpathCheckNilFalse, false, f.d)
  16986. }
  16987. }
  16988. func (f fastpathT) DecMapUint64Int64X(vp *map[uint64]int64, checkNil bool, d *Decoder) {
  16989. v, changed := f.DecMapUint64Int64V(*vp, checkNil, true, d)
  16990. if changed {
  16991. *vp = v
  16992. }
  16993. }
  16994. func (_ fastpathT) DecMapUint64Int64V(v map[uint64]int64, checkNil bool, canChange bool,
  16995. d *Decoder) (_ map[uint64]int64, changed bool) {
  16996. dd := d.d
  16997. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  16998. if checkNil && dd.TryDecodeAsNil() {
  16999. if v != nil {
  17000. changed = true
  17001. }
  17002. return nil, changed
  17003. }
  17004. containerLen := dd.ReadMapStart()
  17005. if canChange && v == nil {
  17006. if containerLen > 0 {
  17007. v = make(map[uint64]int64, containerLen)
  17008. } else {
  17009. v = make(map[uint64]int64) // supports indefinite-length, etc
  17010. }
  17011. changed = true
  17012. }
  17013. if containerLen > 0 {
  17014. for j := 0; j < containerLen; j++ {
  17015. mk := dd.DecodeUint(64)
  17016. mv := v[mk]
  17017. mv = dd.DecodeInt(64)
  17018. if v != nil {
  17019. v[mk] = mv
  17020. }
  17021. }
  17022. } else if containerLen < 0 {
  17023. for j := 0; !dd.CheckBreak(); j++ {
  17024. mk := dd.DecodeUint(64)
  17025. mv := v[mk]
  17026. mv = dd.DecodeInt(64)
  17027. if v != nil {
  17028. v[mk] = mv
  17029. }
  17030. }
  17031. dd.ReadEnd()
  17032. }
  17033. return v, changed
  17034. }
  17035. func (f decFnInfo) fastpathDecMapUint64Float32R(rv reflect.Value) {
  17036. if rv.CanAddr() {
  17037. vp := rv.Addr().Interface().(*map[uint64]float32)
  17038. v, changed := fastpathTV.DecMapUint64Float32V(*vp, fastpathCheckNilFalse, true, f.d)
  17039. if changed {
  17040. *vp = v
  17041. }
  17042. } else {
  17043. v := rv.Interface().(map[uint64]float32)
  17044. fastpathTV.DecMapUint64Float32V(v, fastpathCheckNilFalse, false, f.d)
  17045. }
  17046. }
  17047. func (f fastpathT) DecMapUint64Float32X(vp *map[uint64]float32, checkNil bool, d *Decoder) {
  17048. v, changed := f.DecMapUint64Float32V(*vp, checkNil, true, d)
  17049. if changed {
  17050. *vp = v
  17051. }
  17052. }
  17053. func (_ fastpathT) DecMapUint64Float32V(v map[uint64]float32, checkNil bool, canChange bool,
  17054. d *Decoder) (_ map[uint64]float32, changed bool) {
  17055. dd := d.d
  17056. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  17057. if checkNil && dd.TryDecodeAsNil() {
  17058. if v != nil {
  17059. changed = true
  17060. }
  17061. return nil, changed
  17062. }
  17063. containerLen := dd.ReadMapStart()
  17064. if canChange && v == nil {
  17065. if containerLen > 0 {
  17066. v = make(map[uint64]float32, containerLen)
  17067. } else {
  17068. v = make(map[uint64]float32) // supports indefinite-length, etc
  17069. }
  17070. changed = true
  17071. }
  17072. if containerLen > 0 {
  17073. for j := 0; j < containerLen; j++ {
  17074. mk := dd.DecodeUint(64)
  17075. mv := v[mk]
  17076. mv = float32(dd.DecodeFloat(true))
  17077. if v != nil {
  17078. v[mk] = mv
  17079. }
  17080. }
  17081. } else if containerLen < 0 {
  17082. for j := 0; !dd.CheckBreak(); j++ {
  17083. mk := dd.DecodeUint(64)
  17084. mv := v[mk]
  17085. mv = float32(dd.DecodeFloat(true))
  17086. if v != nil {
  17087. v[mk] = mv
  17088. }
  17089. }
  17090. dd.ReadEnd()
  17091. }
  17092. return v, changed
  17093. }
  17094. func (f decFnInfo) fastpathDecMapUint64Float64R(rv reflect.Value) {
  17095. if rv.CanAddr() {
  17096. vp := rv.Addr().Interface().(*map[uint64]float64)
  17097. v, changed := fastpathTV.DecMapUint64Float64V(*vp, fastpathCheckNilFalse, true, f.d)
  17098. if changed {
  17099. *vp = v
  17100. }
  17101. } else {
  17102. v := rv.Interface().(map[uint64]float64)
  17103. fastpathTV.DecMapUint64Float64V(v, fastpathCheckNilFalse, false, f.d)
  17104. }
  17105. }
  17106. func (f fastpathT) DecMapUint64Float64X(vp *map[uint64]float64, checkNil bool, d *Decoder) {
  17107. v, changed := f.DecMapUint64Float64V(*vp, checkNil, true, d)
  17108. if changed {
  17109. *vp = v
  17110. }
  17111. }
  17112. func (_ fastpathT) DecMapUint64Float64V(v map[uint64]float64, checkNil bool, canChange bool,
  17113. d *Decoder) (_ map[uint64]float64, changed bool) {
  17114. dd := d.d
  17115. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  17116. if checkNil && dd.TryDecodeAsNil() {
  17117. if v != nil {
  17118. changed = true
  17119. }
  17120. return nil, changed
  17121. }
  17122. containerLen := dd.ReadMapStart()
  17123. if canChange && v == nil {
  17124. if containerLen > 0 {
  17125. v = make(map[uint64]float64, containerLen)
  17126. } else {
  17127. v = make(map[uint64]float64) // supports indefinite-length, etc
  17128. }
  17129. changed = true
  17130. }
  17131. if containerLen > 0 {
  17132. for j := 0; j < containerLen; j++ {
  17133. mk := dd.DecodeUint(64)
  17134. mv := v[mk]
  17135. mv = dd.DecodeFloat(false)
  17136. if v != nil {
  17137. v[mk] = mv
  17138. }
  17139. }
  17140. } else if containerLen < 0 {
  17141. for j := 0; !dd.CheckBreak(); j++ {
  17142. mk := dd.DecodeUint(64)
  17143. mv := v[mk]
  17144. mv = dd.DecodeFloat(false)
  17145. if v != nil {
  17146. v[mk] = mv
  17147. }
  17148. }
  17149. dd.ReadEnd()
  17150. }
  17151. return v, changed
  17152. }
  17153. func (f decFnInfo) fastpathDecMapUint64BoolR(rv reflect.Value) {
  17154. if rv.CanAddr() {
  17155. vp := rv.Addr().Interface().(*map[uint64]bool)
  17156. v, changed := fastpathTV.DecMapUint64BoolV(*vp, fastpathCheckNilFalse, true, f.d)
  17157. if changed {
  17158. *vp = v
  17159. }
  17160. } else {
  17161. v := rv.Interface().(map[uint64]bool)
  17162. fastpathTV.DecMapUint64BoolV(v, fastpathCheckNilFalse, false, f.d)
  17163. }
  17164. }
  17165. func (f fastpathT) DecMapUint64BoolX(vp *map[uint64]bool, checkNil bool, d *Decoder) {
  17166. v, changed := f.DecMapUint64BoolV(*vp, checkNil, true, d)
  17167. if changed {
  17168. *vp = v
  17169. }
  17170. }
  17171. func (_ fastpathT) DecMapUint64BoolV(v map[uint64]bool, checkNil bool, canChange bool,
  17172. d *Decoder) (_ map[uint64]bool, changed bool) {
  17173. dd := d.d
  17174. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  17175. if checkNil && dd.TryDecodeAsNil() {
  17176. if v != nil {
  17177. changed = true
  17178. }
  17179. return nil, changed
  17180. }
  17181. containerLen := dd.ReadMapStart()
  17182. if canChange && v == nil {
  17183. if containerLen > 0 {
  17184. v = make(map[uint64]bool, containerLen)
  17185. } else {
  17186. v = make(map[uint64]bool) // supports indefinite-length, etc
  17187. }
  17188. changed = true
  17189. }
  17190. if containerLen > 0 {
  17191. for j := 0; j < containerLen; j++ {
  17192. mk := dd.DecodeUint(64)
  17193. mv := v[mk]
  17194. mv = dd.DecodeBool()
  17195. if v != nil {
  17196. v[mk] = mv
  17197. }
  17198. }
  17199. } else if containerLen < 0 {
  17200. for j := 0; !dd.CheckBreak(); j++ {
  17201. mk := dd.DecodeUint(64)
  17202. mv := v[mk]
  17203. mv = dd.DecodeBool()
  17204. if v != nil {
  17205. v[mk] = mv
  17206. }
  17207. }
  17208. dd.ReadEnd()
  17209. }
  17210. return v, changed
  17211. }
  17212. func (f decFnInfo) fastpathDecMapIntIntfR(rv reflect.Value) {
  17213. if rv.CanAddr() {
  17214. vp := rv.Addr().Interface().(*map[int]interface{})
  17215. v, changed := fastpathTV.DecMapIntIntfV(*vp, fastpathCheckNilFalse, true, f.d)
  17216. if changed {
  17217. *vp = v
  17218. }
  17219. } else {
  17220. v := rv.Interface().(map[int]interface{})
  17221. fastpathTV.DecMapIntIntfV(v, fastpathCheckNilFalse, false, f.d)
  17222. }
  17223. }
  17224. func (f fastpathT) DecMapIntIntfX(vp *map[int]interface{}, checkNil bool, d *Decoder) {
  17225. v, changed := f.DecMapIntIntfV(*vp, checkNil, true, d)
  17226. if changed {
  17227. *vp = v
  17228. }
  17229. }
  17230. func (_ fastpathT) DecMapIntIntfV(v map[int]interface{}, checkNil bool, canChange bool,
  17231. d *Decoder) (_ map[int]interface{}, changed bool) {
  17232. dd := d.d
  17233. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  17234. if checkNil && dd.TryDecodeAsNil() {
  17235. if v != nil {
  17236. changed = true
  17237. }
  17238. return nil, changed
  17239. }
  17240. containerLen := dd.ReadMapStart()
  17241. if canChange && v == nil {
  17242. if containerLen > 0 {
  17243. v = make(map[int]interface{}, containerLen)
  17244. } else {
  17245. v = make(map[int]interface{}) // supports indefinite-length, etc
  17246. }
  17247. changed = true
  17248. }
  17249. if containerLen > 0 {
  17250. for j := 0; j < containerLen; j++ {
  17251. mk := int(dd.DecodeInt(intBitsize))
  17252. mv := v[mk]
  17253. d.decode(&mv)
  17254. if v != nil {
  17255. v[mk] = mv
  17256. }
  17257. }
  17258. } else if containerLen < 0 {
  17259. for j := 0; !dd.CheckBreak(); j++ {
  17260. mk := int(dd.DecodeInt(intBitsize))
  17261. mv := v[mk]
  17262. d.decode(&mv)
  17263. if v != nil {
  17264. v[mk] = mv
  17265. }
  17266. }
  17267. dd.ReadEnd()
  17268. }
  17269. return v, changed
  17270. }
  17271. func (f decFnInfo) fastpathDecMapIntStringR(rv reflect.Value) {
  17272. if rv.CanAddr() {
  17273. vp := rv.Addr().Interface().(*map[int]string)
  17274. v, changed := fastpathTV.DecMapIntStringV(*vp, fastpathCheckNilFalse, true, f.d)
  17275. if changed {
  17276. *vp = v
  17277. }
  17278. } else {
  17279. v := rv.Interface().(map[int]string)
  17280. fastpathTV.DecMapIntStringV(v, fastpathCheckNilFalse, false, f.d)
  17281. }
  17282. }
  17283. func (f fastpathT) DecMapIntStringX(vp *map[int]string, checkNil bool, d *Decoder) {
  17284. v, changed := f.DecMapIntStringV(*vp, checkNil, true, d)
  17285. if changed {
  17286. *vp = v
  17287. }
  17288. }
  17289. func (_ fastpathT) DecMapIntStringV(v map[int]string, checkNil bool, canChange bool,
  17290. d *Decoder) (_ map[int]string, changed bool) {
  17291. dd := d.d
  17292. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  17293. if checkNil && dd.TryDecodeAsNil() {
  17294. if v != nil {
  17295. changed = true
  17296. }
  17297. return nil, changed
  17298. }
  17299. containerLen := dd.ReadMapStart()
  17300. if canChange && v == nil {
  17301. if containerLen > 0 {
  17302. v = make(map[int]string, containerLen)
  17303. } else {
  17304. v = make(map[int]string) // supports indefinite-length, etc
  17305. }
  17306. changed = true
  17307. }
  17308. if containerLen > 0 {
  17309. for j := 0; j < containerLen; j++ {
  17310. mk := int(dd.DecodeInt(intBitsize))
  17311. mv := v[mk]
  17312. mv = dd.DecodeString()
  17313. if v != nil {
  17314. v[mk] = mv
  17315. }
  17316. }
  17317. } else if containerLen < 0 {
  17318. for j := 0; !dd.CheckBreak(); j++ {
  17319. mk := int(dd.DecodeInt(intBitsize))
  17320. mv := v[mk]
  17321. mv = dd.DecodeString()
  17322. if v != nil {
  17323. v[mk] = mv
  17324. }
  17325. }
  17326. dd.ReadEnd()
  17327. }
  17328. return v, changed
  17329. }
  17330. func (f decFnInfo) fastpathDecMapIntUintR(rv reflect.Value) {
  17331. if rv.CanAddr() {
  17332. vp := rv.Addr().Interface().(*map[int]uint)
  17333. v, changed := fastpathTV.DecMapIntUintV(*vp, fastpathCheckNilFalse, true, f.d)
  17334. if changed {
  17335. *vp = v
  17336. }
  17337. } else {
  17338. v := rv.Interface().(map[int]uint)
  17339. fastpathTV.DecMapIntUintV(v, fastpathCheckNilFalse, false, f.d)
  17340. }
  17341. }
  17342. func (f fastpathT) DecMapIntUintX(vp *map[int]uint, checkNil bool, d *Decoder) {
  17343. v, changed := f.DecMapIntUintV(*vp, checkNil, true, d)
  17344. if changed {
  17345. *vp = v
  17346. }
  17347. }
  17348. func (_ fastpathT) DecMapIntUintV(v map[int]uint, checkNil bool, canChange bool,
  17349. d *Decoder) (_ map[int]uint, changed bool) {
  17350. dd := d.d
  17351. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  17352. if checkNil && dd.TryDecodeAsNil() {
  17353. if v != nil {
  17354. changed = true
  17355. }
  17356. return nil, changed
  17357. }
  17358. containerLen := dd.ReadMapStart()
  17359. if canChange && v == nil {
  17360. if containerLen > 0 {
  17361. v = make(map[int]uint, containerLen)
  17362. } else {
  17363. v = make(map[int]uint) // supports indefinite-length, etc
  17364. }
  17365. changed = true
  17366. }
  17367. if containerLen > 0 {
  17368. for j := 0; j < containerLen; j++ {
  17369. mk := int(dd.DecodeInt(intBitsize))
  17370. mv := v[mk]
  17371. mv = uint(dd.DecodeUint(uintBitsize))
  17372. if v != nil {
  17373. v[mk] = mv
  17374. }
  17375. }
  17376. } else if containerLen < 0 {
  17377. for j := 0; !dd.CheckBreak(); j++ {
  17378. mk := int(dd.DecodeInt(intBitsize))
  17379. mv := v[mk]
  17380. mv = uint(dd.DecodeUint(uintBitsize))
  17381. if v != nil {
  17382. v[mk] = mv
  17383. }
  17384. }
  17385. dd.ReadEnd()
  17386. }
  17387. return v, changed
  17388. }
  17389. func (f decFnInfo) fastpathDecMapIntUint8R(rv reflect.Value) {
  17390. if rv.CanAddr() {
  17391. vp := rv.Addr().Interface().(*map[int]uint8)
  17392. v, changed := fastpathTV.DecMapIntUint8V(*vp, fastpathCheckNilFalse, true, f.d)
  17393. if changed {
  17394. *vp = v
  17395. }
  17396. } else {
  17397. v := rv.Interface().(map[int]uint8)
  17398. fastpathTV.DecMapIntUint8V(v, fastpathCheckNilFalse, false, f.d)
  17399. }
  17400. }
  17401. func (f fastpathT) DecMapIntUint8X(vp *map[int]uint8, checkNil bool, d *Decoder) {
  17402. v, changed := f.DecMapIntUint8V(*vp, checkNil, true, d)
  17403. if changed {
  17404. *vp = v
  17405. }
  17406. }
  17407. func (_ fastpathT) DecMapIntUint8V(v map[int]uint8, checkNil bool, canChange bool,
  17408. d *Decoder) (_ map[int]uint8, changed bool) {
  17409. dd := d.d
  17410. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  17411. if checkNil && dd.TryDecodeAsNil() {
  17412. if v != nil {
  17413. changed = true
  17414. }
  17415. return nil, changed
  17416. }
  17417. containerLen := dd.ReadMapStart()
  17418. if canChange && v == nil {
  17419. if containerLen > 0 {
  17420. v = make(map[int]uint8, containerLen)
  17421. } else {
  17422. v = make(map[int]uint8) // supports indefinite-length, etc
  17423. }
  17424. changed = true
  17425. }
  17426. if containerLen > 0 {
  17427. for j := 0; j < containerLen; j++ {
  17428. mk := int(dd.DecodeInt(intBitsize))
  17429. mv := v[mk]
  17430. mv = uint8(dd.DecodeUint(8))
  17431. if v != nil {
  17432. v[mk] = mv
  17433. }
  17434. }
  17435. } else if containerLen < 0 {
  17436. for j := 0; !dd.CheckBreak(); j++ {
  17437. mk := int(dd.DecodeInt(intBitsize))
  17438. mv := v[mk]
  17439. mv = uint8(dd.DecodeUint(8))
  17440. if v != nil {
  17441. v[mk] = mv
  17442. }
  17443. }
  17444. dd.ReadEnd()
  17445. }
  17446. return v, changed
  17447. }
  17448. func (f decFnInfo) fastpathDecMapIntUint16R(rv reflect.Value) {
  17449. if rv.CanAddr() {
  17450. vp := rv.Addr().Interface().(*map[int]uint16)
  17451. v, changed := fastpathTV.DecMapIntUint16V(*vp, fastpathCheckNilFalse, true, f.d)
  17452. if changed {
  17453. *vp = v
  17454. }
  17455. } else {
  17456. v := rv.Interface().(map[int]uint16)
  17457. fastpathTV.DecMapIntUint16V(v, fastpathCheckNilFalse, false, f.d)
  17458. }
  17459. }
  17460. func (f fastpathT) DecMapIntUint16X(vp *map[int]uint16, checkNil bool, d *Decoder) {
  17461. v, changed := f.DecMapIntUint16V(*vp, checkNil, true, d)
  17462. if changed {
  17463. *vp = v
  17464. }
  17465. }
  17466. func (_ fastpathT) DecMapIntUint16V(v map[int]uint16, checkNil bool, canChange bool,
  17467. d *Decoder) (_ map[int]uint16, changed bool) {
  17468. dd := d.d
  17469. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  17470. if checkNil && dd.TryDecodeAsNil() {
  17471. if v != nil {
  17472. changed = true
  17473. }
  17474. return nil, changed
  17475. }
  17476. containerLen := dd.ReadMapStart()
  17477. if canChange && v == nil {
  17478. if containerLen > 0 {
  17479. v = make(map[int]uint16, containerLen)
  17480. } else {
  17481. v = make(map[int]uint16) // supports indefinite-length, etc
  17482. }
  17483. changed = true
  17484. }
  17485. if containerLen > 0 {
  17486. for j := 0; j < containerLen; j++ {
  17487. mk := int(dd.DecodeInt(intBitsize))
  17488. mv := v[mk]
  17489. mv = uint16(dd.DecodeUint(16))
  17490. if v != nil {
  17491. v[mk] = mv
  17492. }
  17493. }
  17494. } else if containerLen < 0 {
  17495. for j := 0; !dd.CheckBreak(); j++ {
  17496. mk := int(dd.DecodeInt(intBitsize))
  17497. mv := v[mk]
  17498. mv = uint16(dd.DecodeUint(16))
  17499. if v != nil {
  17500. v[mk] = mv
  17501. }
  17502. }
  17503. dd.ReadEnd()
  17504. }
  17505. return v, changed
  17506. }
  17507. func (f decFnInfo) fastpathDecMapIntUint32R(rv reflect.Value) {
  17508. if rv.CanAddr() {
  17509. vp := rv.Addr().Interface().(*map[int]uint32)
  17510. v, changed := fastpathTV.DecMapIntUint32V(*vp, fastpathCheckNilFalse, true, f.d)
  17511. if changed {
  17512. *vp = v
  17513. }
  17514. } else {
  17515. v := rv.Interface().(map[int]uint32)
  17516. fastpathTV.DecMapIntUint32V(v, fastpathCheckNilFalse, false, f.d)
  17517. }
  17518. }
  17519. func (f fastpathT) DecMapIntUint32X(vp *map[int]uint32, checkNil bool, d *Decoder) {
  17520. v, changed := f.DecMapIntUint32V(*vp, checkNil, true, d)
  17521. if changed {
  17522. *vp = v
  17523. }
  17524. }
  17525. func (_ fastpathT) DecMapIntUint32V(v map[int]uint32, checkNil bool, canChange bool,
  17526. d *Decoder) (_ map[int]uint32, changed bool) {
  17527. dd := d.d
  17528. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  17529. if checkNil && dd.TryDecodeAsNil() {
  17530. if v != nil {
  17531. changed = true
  17532. }
  17533. return nil, changed
  17534. }
  17535. containerLen := dd.ReadMapStart()
  17536. if canChange && v == nil {
  17537. if containerLen > 0 {
  17538. v = make(map[int]uint32, containerLen)
  17539. } else {
  17540. v = make(map[int]uint32) // supports indefinite-length, etc
  17541. }
  17542. changed = true
  17543. }
  17544. if containerLen > 0 {
  17545. for j := 0; j < containerLen; j++ {
  17546. mk := int(dd.DecodeInt(intBitsize))
  17547. mv := v[mk]
  17548. mv = uint32(dd.DecodeUint(32))
  17549. if v != nil {
  17550. v[mk] = mv
  17551. }
  17552. }
  17553. } else if containerLen < 0 {
  17554. for j := 0; !dd.CheckBreak(); j++ {
  17555. mk := int(dd.DecodeInt(intBitsize))
  17556. mv := v[mk]
  17557. mv = uint32(dd.DecodeUint(32))
  17558. if v != nil {
  17559. v[mk] = mv
  17560. }
  17561. }
  17562. dd.ReadEnd()
  17563. }
  17564. return v, changed
  17565. }
  17566. func (f decFnInfo) fastpathDecMapIntUint64R(rv reflect.Value) {
  17567. if rv.CanAddr() {
  17568. vp := rv.Addr().Interface().(*map[int]uint64)
  17569. v, changed := fastpathTV.DecMapIntUint64V(*vp, fastpathCheckNilFalse, true, f.d)
  17570. if changed {
  17571. *vp = v
  17572. }
  17573. } else {
  17574. v := rv.Interface().(map[int]uint64)
  17575. fastpathTV.DecMapIntUint64V(v, fastpathCheckNilFalse, false, f.d)
  17576. }
  17577. }
  17578. func (f fastpathT) DecMapIntUint64X(vp *map[int]uint64, checkNil bool, d *Decoder) {
  17579. v, changed := f.DecMapIntUint64V(*vp, checkNil, true, d)
  17580. if changed {
  17581. *vp = v
  17582. }
  17583. }
  17584. func (_ fastpathT) DecMapIntUint64V(v map[int]uint64, checkNil bool, canChange bool,
  17585. d *Decoder) (_ map[int]uint64, changed bool) {
  17586. dd := d.d
  17587. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  17588. if checkNil && dd.TryDecodeAsNil() {
  17589. if v != nil {
  17590. changed = true
  17591. }
  17592. return nil, changed
  17593. }
  17594. containerLen := dd.ReadMapStart()
  17595. if canChange && v == nil {
  17596. if containerLen > 0 {
  17597. v = make(map[int]uint64, containerLen)
  17598. } else {
  17599. v = make(map[int]uint64) // supports indefinite-length, etc
  17600. }
  17601. changed = true
  17602. }
  17603. if containerLen > 0 {
  17604. for j := 0; j < containerLen; j++ {
  17605. mk := int(dd.DecodeInt(intBitsize))
  17606. mv := v[mk]
  17607. mv = dd.DecodeUint(64)
  17608. if v != nil {
  17609. v[mk] = mv
  17610. }
  17611. }
  17612. } else if containerLen < 0 {
  17613. for j := 0; !dd.CheckBreak(); j++ {
  17614. mk := int(dd.DecodeInt(intBitsize))
  17615. mv := v[mk]
  17616. mv = dd.DecodeUint(64)
  17617. if v != nil {
  17618. v[mk] = mv
  17619. }
  17620. }
  17621. dd.ReadEnd()
  17622. }
  17623. return v, changed
  17624. }
  17625. func (f decFnInfo) fastpathDecMapIntIntR(rv reflect.Value) {
  17626. if rv.CanAddr() {
  17627. vp := rv.Addr().Interface().(*map[int]int)
  17628. v, changed := fastpathTV.DecMapIntIntV(*vp, fastpathCheckNilFalse, true, f.d)
  17629. if changed {
  17630. *vp = v
  17631. }
  17632. } else {
  17633. v := rv.Interface().(map[int]int)
  17634. fastpathTV.DecMapIntIntV(v, fastpathCheckNilFalse, false, f.d)
  17635. }
  17636. }
  17637. func (f fastpathT) DecMapIntIntX(vp *map[int]int, checkNil bool, d *Decoder) {
  17638. v, changed := f.DecMapIntIntV(*vp, checkNil, true, d)
  17639. if changed {
  17640. *vp = v
  17641. }
  17642. }
  17643. func (_ fastpathT) DecMapIntIntV(v map[int]int, checkNil bool, canChange bool,
  17644. d *Decoder) (_ map[int]int, changed bool) {
  17645. dd := d.d
  17646. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  17647. if checkNil && dd.TryDecodeAsNil() {
  17648. if v != nil {
  17649. changed = true
  17650. }
  17651. return nil, changed
  17652. }
  17653. containerLen := dd.ReadMapStart()
  17654. if canChange && v == nil {
  17655. if containerLen > 0 {
  17656. v = make(map[int]int, containerLen)
  17657. } else {
  17658. v = make(map[int]int) // supports indefinite-length, etc
  17659. }
  17660. changed = true
  17661. }
  17662. if containerLen > 0 {
  17663. for j := 0; j < containerLen; j++ {
  17664. mk := int(dd.DecodeInt(intBitsize))
  17665. mv := v[mk]
  17666. mv = int(dd.DecodeInt(intBitsize))
  17667. if v != nil {
  17668. v[mk] = mv
  17669. }
  17670. }
  17671. } else if containerLen < 0 {
  17672. for j := 0; !dd.CheckBreak(); j++ {
  17673. mk := int(dd.DecodeInt(intBitsize))
  17674. mv := v[mk]
  17675. mv = int(dd.DecodeInt(intBitsize))
  17676. if v != nil {
  17677. v[mk] = mv
  17678. }
  17679. }
  17680. dd.ReadEnd()
  17681. }
  17682. return v, changed
  17683. }
  17684. func (f decFnInfo) fastpathDecMapIntInt8R(rv reflect.Value) {
  17685. if rv.CanAddr() {
  17686. vp := rv.Addr().Interface().(*map[int]int8)
  17687. v, changed := fastpathTV.DecMapIntInt8V(*vp, fastpathCheckNilFalse, true, f.d)
  17688. if changed {
  17689. *vp = v
  17690. }
  17691. } else {
  17692. v := rv.Interface().(map[int]int8)
  17693. fastpathTV.DecMapIntInt8V(v, fastpathCheckNilFalse, false, f.d)
  17694. }
  17695. }
  17696. func (f fastpathT) DecMapIntInt8X(vp *map[int]int8, checkNil bool, d *Decoder) {
  17697. v, changed := f.DecMapIntInt8V(*vp, checkNil, true, d)
  17698. if changed {
  17699. *vp = v
  17700. }
  17701. }
  17702. func (_ fastpathT) DecMapIntInt8V(v map[int]int8, checkNil bool, canChange bool,
  17703. d *Decoder) (_ map[int]int8, changed bool) {
  17704. dd := d.d
  17705. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  17706. if checkNil && dd.TryDecodeAsNil() {
  17707. if v != nil {
  17708. changed = true
  17709. }
  17710. return nil, changed
  17711. }
  17712. containerLen := dd.ReadMapStart()
  17713. if canChange && v == nil {
  17714. if containerLen > 0 {
  17715. v = make(map[int]int8, containerLen)
  17716. } else {
  17717. v = make(map[int]int8) // supports indefinite-length, etc
  17718. }
  17719. changed = true
  17720. }
  17721. if containerLen > 0 {
  17722. for j := 0; j < containerLen; j++ {
  17723. mk := int(dd.DecodeInt(intBitsize))
  17724. mv := v[mk]
  17725. mv = int8(dd.DecodeInt(8))
  17726. if v != nil {
  17727. v[mk] = mv
  17728. }
  17729. }
  17730. } else if containerLen < 0 {
  17731. for j := 0; !dd.CheckBreak(); j++ {
  17732. mk := int(dd.DecodeInt(intBitsize))
  17733. mv := v[mk]
  17734. mv = int8(dd.DecodeInt(8))
  17735. if v != nil {
  17736. v[mk] = mv
  17737. }
  17738. }
  17739. dd.ReadEnd()
  17740. }
  17741. return v, changed
  17742. }
  17743. func (f decFnInfo) fastpathDecMapIntInt16R(rv reflect.Value) {
  17744. if rv.CanAddr() {
  17745. vp := rv.Addr().Interface().(*map[int]int16)
  17746. v, changed := fastpathTV.DecMapIntInt16V(*vp, fastpathCheckNilFalse, true, f.d)
  17747. if changed {
  17748. *vp = v
  17749. }
  17750. } else {
  17751. v := rv.Interface().(map[int]int16)
  17752. fastpathTV.DecMapIntInt16V(v, fastpathCheckNilFalse, false, f.d)
  17753. }
  17754. }
  17755. func (f fastpathT) DecMapIntInt16X(vp *map[int]int16, checkNil bool, d *Decoder) {
  17756. v, changed := f.DecMapIntInt16V(*vp, checkNil, true, d)
  17757. if changed {
  17758. *vp = v
  17759. }
  17760. }
  17761. func (_ fastpathT) DecMapIntInt16V(v map[int]int16, checkNil bool, canChange bool,
  17762. d *Decoder) (_ map[int]int16, changed bool) {
  17763. dd := d.d
  17764. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  17765. if checkNil && dd.TryDecodeAsNil() {
  17766. if v != nil {
  17767. changed = true
  17768. }
  17769. return nil, changed
  17770. }
  17771. containerLen := dd.ReadMapStart()
  17772. if canChange && v == nil {
  17773. if containerLen > 0 {
  17774. v = make(map[int]int16, containerLen)
  17775. } else {
  17776. v = make(map[int]int16) // supports indefinite-length, etc
  17777. }
  17778. changed = true
  17779. }
  17780. if containerLen > 0 {
  17781. for j := 0; j < containerLen; j++ {
  17782. mk := int(dd.DecodeInt(intBitsize))
  17783. mv := v[mk]
  17784. mv = int16(dd.DecodeInt(16))
  17785. if v != nil {
  17786. v[mk] = mv
  17787. }
  17788. }
  17789. } else if containerLen < 0 {
  17790. for j := 0; !dd.CheckBreak(); j++ {
  17791. mk := int(dd.DecodeInt(intBitsize))
  17792. mv := v[mk]
  17793. mv = int16(dd.DecodeInt(16))
  17794. if v != nil {
  17795. v[mk] = mv
  17796. }
  17797. }
  17798. dd.ReadEnd()
  17799. }
  17800. return v, changed
  17801. }
  17802. func (f decFnInfo) fastpathDecMapIntInt32R(rv reflect.Value) {
  17803. if rv.CanAddr() {
  17804. vp := rv.Addr().Interface().(*map[int]int32)
  17805. v, changed := fastpathTV.DecMapIntInt32V(*vp, fastpathCheckNilFalse, true, f.d)
  17806. if changed {
  17807. *vp = v
  17808. }
  17809. } else {
  17810. v := rv.Interface().(map[int]int32)
  17811. fastpathTV.DecMapIntInt32V(v, fastpathCheckNilFalse, false, f.d)
  17812. }
  17813. }
  17814. func (f fastpathT) DecMapIntInt32X(vp *map[int]int32, checkNil bool, d *Decoder) {
  17815. v, changed := f.DecMapIntInt32V(*vp, checkNil, true, d)
  17816. if changed {
  17817. *vp = v
  17818. }
  17819. }
  17820. func (_ fastpathT) DecMapIntInt32V(v map[int]int32, checkNil bool, canChange bool,
  17821. d *Decoder) (_ map[int]int32, changed bool) {
  17822. dd := d.d
  17823. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  17824. if checkNil && dd.TryDecodeAsNil() {
  17825. if v != nil {
  17826. changed = true
  17827. }
  17828. return nil, changed
  17829. }
  17830. containerLen := dd.ReadMapStart()
  17831. if canChange && v == nil {
  17832. if containerLen > 0 {
  17833. v = make(map[int]int32, containerLen)
  17834. } else {
  17835. v = make(map[int]int32) // supports indefinite-length, etc
  17836. }
  17837. changed = true
  17838. }
  17839. if containerLen > 0 {
  17840. for j := 0; j < containerLen; j++ {
  17841. mk := int(dd.DecodeInt(intBitsize))
  17842. mv := v[mk]
  17843. mv = int32(dd.DecodeInt(32))
  17844. if v != nil {
  17845. v[mk] = mv
  17846. }
  17847. }
  17848. } else if containerLen < 0 {
  17849. for j := 0; !dd.CheckBreak(); j++ {
  17850. mk := int(dd.DecodeInt(intBitsize))
  17851. mv := v[mk]
  17852. mv = int32(dd.DecodeInt(32))
  17853. if v != nil {
  17854. v[mk] = mv
  17855. }
  17856. }
  17857. dd.ReadEnd()
  17858. }
  17859. return v, changed
  17860. }
  17861. func (f decFnInfo) fastpathDecMapIntInt64R(rv reflect.Value) {
  17862. if rv.CanAddr() {
  17863. vp := rv.Addr().Interface().(*map[int]int64)
  17864. v, changed := fastpathTV.DecMapIntInt64V(*vp, fastpathCheckNilFalse, true, f.d)
  17865. if changed {
  17866. *vp = v
  17867. }
  17868. } else {
  17869. v := rv.Interface().(map[int]int64)
  17870. fastpathTV.DecMapIntInt64V(v, fastpathCheckNilFalse, false, f.d)
  17871. }
  17872. }
  17873. func (f fastpathT) DecMapIntInt64X(vp *map[int]int64, checkNil bool, d *Decoder) {
  17874. v, changed := f.DecMapIntInt64V(*vp, checkNil, true, d)
  17875. if changed {
  17876. *vp = v
  17877. }
  17878. }
  17879. func (_ fastpathT) DecMapIntInt64V(v map[int]int64, checkNil bool, canChange bool,
  17880. d *Decoder) (_ map[int]int64, changed bool) {
  17881. dd := d.d
  17882. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  17883. if checkNil && dd.TryDecodeAsNil() {
  17884. if v != nil {
  17885. changed = true
  17886. }
  17887. return nil, changed
  17888. }
  17889. containerLen := dd.ReadMapStart()
  17890. if canChange && v == nil {
  17891. if containerLen > 0 {
  17892. v = make(map[int]int64, containerLen)
  17893. } else {
  17894. v = make(map[int]int64) // supports indefinite-length, etc
  17895. }
  17896. changed = true
  17897. }
  17898. if containerLen > 0 {
  17899. for j := 0; j < containerLen; j++ {
  17900. mk := int(dd.DecodeInt(intBitsize))
  17901. mv := v[mk]
  17902. mv = dd.DecodeInt(64)
  17903. if v != nil {
  17904. v[mk] = mv
  17905. }
  17906. }
  17907. } else if containerLen < 0 {
  17908. for j := 0; !dd.CheckBreak(); j++ {
  17909. mk := int(dd.DecodeInt(intBitsize))
  17910. mv := v[mk]
  17911. mv = dd.DecodeInt(64)
  17912. if v != nil {
  17913. v[mk] = mv
  17914. }
  17915. }
  17916. dd.ReadEnd()
  17917. }
  17918. return v, changed
  17919. }
  17920. func (f decFnInfo) fastpathDecMapIntFloat32R(rv reflect.Value) {
  17921. if rv.CanAddr() {
  17922. vp := rv.Addr().Interface().(*map[int]float32)
  17923. v, changed := fastpathTV.DecMapIntFloat32V(*vp, fastpathCheckNilFalse, true, f.d)
  17924. if changed {
  17925. *vp = v
  17926. }
  17927. } else {
  17928. v := rv.Interface().(map[int]float32)
  17929. fastpathTV.DecMapIntFloat32V(v, fastpathCheckNilFalse, false, f.d)
  17930. }
  17931. }
  17932. func (f fastpathT) DecMapIntFloat32X(vp *map[int]float32, checkNil bool, d *Decoder) {
  17933. v, changed := f.DecMapIntFloat32V(*vp, checkNil, true, d)
  17934. if changed {
  17935. *vp = v
  17936. }
  17937. }
  17938. func (_ fastpathT) DecMapIntFloat32V(v map[int]float32, checkNil bool, canChange bool,
  17939. d *Decoder) (_ map[int]float32, changed bool) {
  17940. dd := d.d
  17941. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  17942. if checkNil && dd.TryDecodeAsNil() {
  17943. if v != nil {
  17944. changed = true
  17945. }
  17946. return nil, changed
  17947. }
  17948. containerLen := dd.ReadMapStart()
  17949. if canChange && v == nil {
  17950. if containerLen > 0 {
  17951. v = make(map[int]float32, containerLen)
  17952. } else {
  17953. v = make(map[int]float32) // supports indefinite-length, etc
  17954. }
  17955. changed = true
  17956. }
  17957. if containerLen > 0 {
  17958. for j := 0; j < containerLen; j++ {
  17959. mk := int(dd.DecodeInt(intBitsize))
  17960. mv := v[mk]
  17961. mv = float32(dd.DecodeFloat(true))
  17962. if v != nil {
  17963. v[mk] = mv
  17964. }
  17965. }
  17966. } else if containerLen < 0 {
  17967. for j := 0; !dd.CheckBreak(); j++ {
  17968. mk := int(dd.DecodeInt(intBitsize))
  17969. mv := v[mk]
  17970. mv = float32(dd.DecodeFloat(true))
  17971. if v != nil {
  17972. v[mk] = mv
  17973. }
  17974. }
  17975. dd.ReadEnd()
  17976. }
  17977. return v, changed
  17978. }
  17979. func (f decFnInfo) fastpathDecMapIntFloat64R(rv reflect.Value) {
  17980. if rv.CanAddr() {
  17981. vp := rv.Addr().Interface().(*map[int]float64)
  17982. v, changed := fastpathTV.DecMapIntFloat64V(*vp, fastpathCheckNilFalse, true, f.d)
  17983. if changed {
  17984. *vp = v
  17985. }
  17986. } else {
  17987. v := rv.Interface().(map[int]float64)
  17988. fastpathTV.DecMapIntFloat64V(v, fastpathCheckNilFalse, false, f.d)
  17989. }
  17990. }
  17991. func (f fastpathT) DecMapIntFloat64X(vp *map[int]float64, checkNil bool, d *Decoder) {
  17992. v, changed := f.DecMapIntFloat64V(*vp, checkNil, true, d)
  17993. if changed {
  17994. *vp = v
  17995. }
  17996. }
  17997. func (_ fastpathT) DecMapIntFloat64V(v map[int]float64, checkNil bool, canChange bool,
  17998. d *Decoder) (_ map[int]float64, changed bool) {
  17999. dd := d.d
  18000. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  18001. if checkNil && dd.TryDecodeAsNil() {
  18002. if v != nil {
  18003. changed = true
  18004. }
  18005. return nil, changed
  18006. }
  18007. containerLen := dd.ReadMapStart()
  18008. if canChange && v == nil {
  18009. if containerLen > 0 {
  18010. v = make(map[int]float64, containerLen)
  18011. } else {
  18012. v = make(map[int]float64) // supports indefinite-length, etc
  18013. }
  18014. changed = true
  18015. }
  18016. if containerLen > 0 {
  18017. for j := 0; j < containerLen; j++ {
  18018. mk := int(dd.DecodeInt(intBitsize))
  18019. mv := v[mk]
  18020. mv = dd.DecodeFloat(false)
  18021. if v != nil {
  18022. v[mk] = mv
  18023. }
  18024. }
  18025. } else if containerLen < 0 {
  18026. for j := 0; !dd.CheckBreak(); j++ {
  18027. mk := int(dd.DecodeInt(intBitsize))
  18028. mv := v[mk]
  18029. mv = dd.DecodeFloat(false)
  18030. if v != nil {
  18031. v[mk] = mv
  18032. }
  18033. }
  18034. dd.ReadEnd()
  18035. }
  18036. return v, changed
  18037. }
  18038. func (f decFnInfo) fastpathDecMapIntBoolR(rv reflect.Value) {
  18039. if rv.CanAddr() {
  18040. vp := rv.Addr().Interface().(*map[int]bool)
  18041. v, changed := fastpathTV.DecMapIntBoolV(*vp, fastpathCheckNilFalse, true, f.d)
  18042. if changed {
  18043. *vp = v
  18044. }
  18045. } else {
  18046. v := rv.Interface().(map[int]bool)
  18047. fastpathTV.DecMapIntBoolV(v, fastpathCheckNilFalse, false, f.d)
  18048. }
  18049. }
  18050. func (f fastpathT) DecMapIntBoolX(vp *map[int]bool, checkNil bool, d *Decoder) {
  18051. v, changed := f.DecMapIntBoolV(*vp, checkNil, true, d)
  18052. if changed {
  18053. *vp = v
  18054. }
  18055. }
  18056. func (_ fastpathT) DecMapIntBoolV(v map[int]bool, checkNil bool, canChange bool,
  18057. d *Decoder) (_ map[int]bool, changed bool) {
  18058. dd := d.d
  18059. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  18060. if checkNil && dd.TryDecodeAsNil() {
  18061. if v != nil {
  18062. changed = true
  18063. }
  18064. return nil, changed
  18065. }
  18066. containerLen := dd.ReadMapStart()
  18067. if canChange && v == nil {
  18068. if containerLen > 0 {
  18069. v = make(map[int]bool, containerLen)
  18070. } else {
  18071. v = make(map[int]bool) // supports indefinite-length, etc
  18072. }
  18073. changed = true
  18074. }
  18075. if containerLen > 0 {
  18076. for j := 0; j < containerLen; j++ {
  18077. mk := int(dd.DecodeInt(intBitsize))
  18078. mv := v[mk]
  18079. mv = dd.DecodeBool()
  18080. if v != nil {
  18081. v[mk] = mv
  18082. }
  18083. }
  18084. } else if containerLen < 0 {
  18085. for j := 0; !dd.CheckBreak(); j++ {
  18086. mk := int(dd.DecodeInt(intBitsize))
  18087. mv := v[mk]
  18088. mv = dd.DecodeBool()
  18089. if v != nil {
  18090. v[mk] = mv
  18091. }
  18092. }
  18093. dd.ReadEnd()
  18094. }
  18095. return v, changed
  18096. }
  18097. func (f decFnInfo) fastpathDecMapInt8IntfR(rv reflect.Value) {
  18098. if rv.CanAddr() {
  18099. vp := rv.Addr().Interface().(*map[int8]interface{})
  18100. v, changed := fastpathTV.DecMapInt8IntfV(*vp, fastpathCheckNilFalse, true, f.d)
  18101. if changed {
  18102. *vp = v
  18103. }
  18104. } else {
  18105. v := rv.Interface().(map[int8]interface{})
  18106. fastpathTV.DecMapInt8IntfV(v, fastpathCheckNilFalse, false, f.d)
  18107. }
  18108. }
  18109. func (f fastpathT) DecMapInt8IntfX(vp *map[int8]interface{}, checkNil bool, d *Decoder) {
  18110. v, changed := f.DecMapInt8IntfV(*vp, checkNil, true, d)
  18111. if changed {
  18112. *vp = v
  18113. }
  18114. }
  18115. func (_ fastpathT) DecMapInt8IntfV(v map[int8]interface{}, checkNil bool, canChange bool,
  18116. d *Decoder) (_ map[int8]interface{}, changed bool) {
  18117. dd := d.d
  18118. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  18119. if checkNil && dd.TryDecodeAsNil() {
  18120. if v != nil {
  18121. changed = true
  18122. }
  18123. return nil, changed
  18124. }
  18125. containerLen := dd.ReadMapStart()
  18126. if canChange && v == nil {
  18127. if containerLen > 0 {
  18128. v = make(map[int8]interface{}, containerLen)
  18129. } else {
  18130. v = make(map[int8]interface{}) // supports indefinite-length, etc
  18131. }
  18132. changed = true
  18133. }
  18134. if containerLen > 0 {
  18135. for j := 0; j < containerLen; j++ {
  18136. mk := int8(dd.DecodeInt(8))
  18137. mv := v[mk]
  18138. d.decode(&mv)
  18139. if v != nil {
  18140. v[mk] = mv
  18141. }
  18142. }
  18143. } else if containerLen < 0 {
  18144. for j := 0; !dd.CheckBreak(); j++ {
  18145. mk := int8(dd.DecodeInt(8))
  18146. mv := v[mk]
  18147. d.decode(&mv)
  18148. if v != nil {
  18149. v[mk] = mv
  18150. }
  18151. }
  18152. dd.ReadEnd()
  18153. }
  18154. return v, changed
  18155. }
  18156. func (f decFnInfo) fastpathDecMapInt8StringR(rv reflect.Value) {
  18157. if rv.CanAddr() {
  18158. vp := rv.Addr().Interface().(*map[int8]string)
  18159. v, changed := fastpathTV.DecMapInt8StringV(*vp, fastpathCheckNilFalse, true, f.d)
  18160. if changed {
  18161. *vp = v
  18162. }
  18163. } else {
  18164. v := rv.Interface().(map[int8]string)
  18165. fastpathTV.DecMapInt8StringV(v, fastpathCheckNilFalse, false, f.d)
  18166. }
  18167. }
  18168. func (f fastpathT) DecMapInt8StringX(vp *map[int8]string, checkNil bool, d *Decoder) {
  18169. v, changed := f.DecMapInt8StringV(*vp, checkNil, true, d)
  18170. if changed {
  18171. *vp = v
  18172. }
  18173. }
  18174. func (_ fastpathT) DecMapInt8StringV(v map[int8]string, checkNil bool, canChange bool,
  18175. d *Decoder) (_ map[int8]string, changed bool) {
  18176. dd := d.d
  18177. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  18178. if checkNil && dd.TryDecodeAsNil() {
  18179. if v != nil {
  18180. changed = true
  18181. }
  18182. return nil, changed
  18183. }
  18184. containerLen := dd.ReadMapStart()
  18185. if canChange && v == nil {
  18186. if containerLen > 0 {
  18187. v = make(map[int8]string, containerLen)
  18188. } else {
  18189. v = make(map[int8]string) // supports indefinite-length, etc
  18190. }
  18191. changed = true
  18192. }
  18193. if containerLen > 0 {
  18194. for j := 0; j < containerLen; j++ {
  18195. mk := int8(dd.DecodeInt(8))
  18196. mv := v[mk]
  18197. mv = dd.DecodeString()
  18198. if v != nil {
  18199. v[mk] = mv
  18200. }
  18201. }
  18202. } else if containerLen < 0 {
  18203. for j := 0; !dd.CheckBreak(); j++ {
  18204. mk := int8(dd.DecodeInt(8))
  18205. mv := v[mk]
  18206. mv = dd.DecodeString()
  18207. if v != nil {
  18208. v[mk] = mv
  18209. }
  18210. }
  18211. dd.ReadEnd()
  18212. }
  18213. return v, changed
  18214. }
  18215. func (f decFnInfo) fastpathDecMapInt8UintR(rv reflect.Value) {
  18216. if rv.CanAddr() {
  18217. vp := rv.Addr().Interface().(*map[int8]uint)
  18218. v, changed := fastpathTV.DecMapInt8UintV(*vp, fastpathCheckNilFalse, true, f.d)
  18219. if changed {
  18220. *vp = v
  18221. }
  18222. } else {
  18223. v := rv.Interface().(map[int8]uint)
  18224. fastpathTV.DecMapInt8UintV(v, fastpathCheckNilFalse, false, f.d)
  18225. }
  18226. }
  18227. func (f fastpathT) DecMapInt8UintX(vp *map[int8]uint, checkNil bool, d *Decoder) {
  18228. v, changed := f.DecMapInt8UintV(*vp, checkNil, true, d)
  18229. if changed {
  18230. *vp = v
  18231. }
  18232. }
  18233. func (_ fastpathT) DecMapInt8UintV(v map[int8]uint, checkNil bool, canChange bool,
  18234. d *Decoder) (_ map[int8]uint, changed bool) {
  18235. dd := d.d
  18236. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  18237. if checkNil && dd.TryDecodeAsNil() {
  18238. if v != nil {
  18239. changed = true
  18240. }
  18241. return nil, changed
  18242. }
  18243. containerLen := dd.ReadMapStart()
  18244. if canChange && v == nil {
  18245. if containerLen > 0 {
  18246. v = make(map[int8]uint, containerLen)
  18247. } else {
  18248. v = make(map[int8]uint) // supports indefinite-length, etc
  18249. }
  18250. changed = true
  18251. }
  18252. if containerLen > 0 {
  18253. for j := 0; j < containerLen; j++ {
  18254. mk := int8(dd.DecodeInt(8))
  18255. mv := v[mk]
  18256. mv = uint(dd.DecodeUint(uintBitsize))
  18257. if v != nil {
  18258. v[mk] = mv
  18259. }
  18260. }
  18261. } else if containerLen < 0 {
  18262. for j := 0; !dd.CheckBreak(); j++ {
  18263. mk := int8(dd.DecodeInt(8))
  18264. mv := v[mk]
  18265. mv = uint(dd.DecodeUint(uintBitsize))
  18266. if v != nil {
  18267. v[mk] = mv
  18268. }
  18269. }
  18270. dd.ReadEnd()
  18271. }
  18272. return v, changed
  18273. }
  18274. func (f decFnInfo) fastpathDecMapInt8Uint8R(rv reflect.Value) {
  18275. if rv.CanAddr() {
  18276. vp := rv.Addr().Interface().(*map[int8]uint8)
  18277. v, changed := fastpathTV.DecMapInt8Uint8V(*vp, fastpathCheckNilFalse, true, f.d)
  18278. if changed {
  18279. *vp = v
  18280. }
  18281. } else {
  18282. v := rv.Interface().(map[int8]uint8)
  18283. fastpathTV.DecMapInt8Uint8V(v, fastpathCheckNilFalse, false, f.d)
  18284. }
  18285. }
  18286. func (f fastpathT) DecMapInt8Uint8X(vp *map[int8]uint8, checkNil bool, d *Decoder) {
  18287. v, changed := f.DecMapInt8Uint8V(*vp, checkNil, true, d)
  18288. if changed {
  18289. *vp = v
  18290. }
  18291. }
  18292. func (_ fastpathT) DecMapInt8Uint8V(v map[int8]uint8, checkNil bool, canChange bool,
  18293. d *Decoder) (_ map[int8]uint8, changed bool) {
  18294. dd := d.d
  18295. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  18296. if checkNil && dd.TryDecodeAsNil() {
  18297. if v != nil {
  18298. changed = true
  18299. }
  18300. return nil, changed
  18301. }
  18302. containerLen := dd.ReadMapStart()
  18303. if canChange && v == nil {
  18304. if containerLen > 0 {
  18305. v = make(map[int8]uint8, containerLen)
  18306. } else {
  18307. v = make(map[int8]uint8) // supports indefinite-length, etc
  18308. }
  18309. changed = true
  18310. }
  18311. if containerLen > 0 {
  18312. for j := 0; j < containerLen; j++ {
  18313. mk := int8(dd.DecodeInt(8))
  18314. mv := v[mk]
  18315. mv = uint8(dd.DecodeUint(8))
  18316. if v != nil {
  18317. v[mk] = mv
  18318. }
  18319. }
  18320. } else if containerLen < 0 {
  18321. for j := 0; !dd.CheckBreak(); j++ {
  18322. mk := int8(dd.DecodeInt(8))
  18323. mv := v[mk]
  18324. mv = uint8(dd.DecodeUint(8))
  18325. if v != nil {
  18326. v[mk] = mv
  18327. }
  18328. }
  18329. dd.ReadEnd()
  18330. }
  18331. return v, changed
  18332. }
  18333. func (f decFnInfo) fastpathDecMapInt8Uint16R(rv reflect.Value) {
  18334. if rv.CanAddr() {
  18335. vp := rv.Addr().Interface().(*map[int8]uint16)
  18336. v, changed := fastpathTV.DecMapInt8Uint16V(*vp, fastpathCheckNilFalse, true, f.d)
  18337. if changed {
  18338. *vp = v
  18339. }
  18340. } else {
  18341. v := rv.Interface().(map[int8]uint16)
  18342. fastpathTV.DecMapInt8Uint16V(v, fastpathCheckNilFalse, false, f.d)
  18343. }
  18344. }
  18345. func (f fastpathT) DecMapInt8Uint16X(vp *map[int8]uint16, checkNil bool, d *Decoder) {
  18346. v, changed := f.DecMapInt8Uint16V(*vp, checkNil, true, d)
  18347. if changed {
  18348. *vp = v
  18349. }
  18350. }
  18351. func (_ fastpathT) DecMapInt8Uint16V(v map[int8]uint16, checkNil bool, canChange bool,
  18352. d *Decoder) (_ map[int8]uint16, changed bool) {
  18353. dd := d.d
  18354. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  18355. if checkNil && dd.TryDecodeAsNil() {
  18356. if v != nil {
  18357. changed = true
  18358. }
  18359. return nil, changed
  18360. }
  18361. containerLen := dd.ReadMapStart()
  18362. if canChange && v == nil {
  18363. if containerLen > 0 {
  18364. v = make(map[int8]uint16, containerLen)
  18365. } else {
  18366. v = make(map[int8]uint16) // supports indefinite-length, etc
  18367. }
  18368. changed = true
  18369. }
  18370. if containerLen > 0 {
  18371. for j := 0; j < containerLen; j++ {
  18372. mk := int8(dd.DecodeInt(8))
  18373. mv := v[mk]
  18374. mv = uint16(dd.DecodeUint(16))
  18375. if v != nil {
  18376. v[mk] = mv
  18377. }
  18378. }
  18379. } else if containerLen < 0 {
  18380. for j := 0; !dd.CheckBreak(); j++ {
  18381. mk := int8(dd.DecodeInt(8))
  18382. mv := v[mk]
  18383. mv = uint16(dd.DecodeUint(16))
  18384. if v != nil {
  18385. v[mk] = mv
  18386. }
  18387. }
  18388. dd.ReadEnd()
  18389. }
  18390. return v, changed
  18391. }
  18392. func (f decFnInfo) fastpathDecMapInt8Uint32R(rv reflect.Value) {
  18393. if rv.CanAddr() {
  18394. vp := rv.Addr().Interface().(*map[int8]uint32)
  18395. v, changed := fastpathTV.DecMapInt8Uint32V(*vp, fastpathCheckNilFalse, true, f.d)
  18396. if changed {
  18397. *vp = v
  18398. }
  18399. } else {
  18400. v := rv.Interface().(map[int8]uint32)
  18401. fastpathTV.DecMapInt8Uint32V(v, fastpathCheckNilFalse, false, f.d)
  18402. }
  18403. }
  18404. func (f fastpathT) DecMapInt8Uint32X(vp *map[int8]uint32, checkNil bool, d *Decoder) {
  18405. v, changed := f.DecMapInt8Uint32V(*vp, checkNil, true, d)
  18406. if changed {
  18407. *vp = v
  18408. }
  18409. }
  18410. func (_ fastpathT) DecMapInt8Uint32V(v map[int8]uint32, checkNil bool, canChange bool,
  18411. d *Decoder) (_ map[int8]uint32, changed bool) {
  18412. dd := d.d
  18413. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  18414. if checkNil && dd.TryDecodeAsNil() {
  18415. if v != nil {
  18416. changed = true
  18417. }
  18418. return nil, changed
  18419. }
  18420. containerLen := dd.ReadMapStart()
  18421. if canChange && v == nil {
  18422. if containerLen > 0 {
  18423. v = make(map[int8]uint32, containerLen)
  18424. } else {
  18425. v = make(map[int8]uint32) // supports indefinite-length, etc
  18426. }
  18427. changed = true
  18428. }
  18429. if containerLen > 0 {
  18430. for j := 0; j < containerLen; j++ {
  18431. mk := int8(dd.DecodeInt(8))
  18432. mv := v[mk]
  18433. mv = uint32(dd.DecodeUint(32))
  18434. if v != nil {
  18435. v[mk] = mv
  18436. }
  18437. }
  18438. } else if containerLen < 0 {
  18439. for j := 0; !dd.CheckBreak(); j++ {
  18440. mk := int8(dd.DecodeInt(8))
  18441. mv := v[mk]
  18442. mv = uint32(dd.DecodeUint(32))
  18443. if v != nil {
  18444. v[mk] = mv
  18445. }
  18446. }
  18447. dd.ReadEnd()
  18448. }
  18449. return v, changed
  18450. }
  18451. func (f decFnInfo) fastpathDecMapInt8Uint64R(rv reflect.Value) {
  18452. if rv.CanAddr() {
  18453. vp := rv.Addr().Interface().(*map[int8]uint64)
  18454. v, changed := fastpathTV.DecMapInt8Uint64V(*vp, fastpathCheckNilFalse, true, f.d)
  18455. if changed {
  18456. *vp = v
  18457. }
  18458. } else {
  18459. v := rv.Interface().(map[int8]uint64)
  18460. fastpathTV.DecMapInt8Uint64V(v, fastpathCheckNilFalse, false, f.d)
  18461. }
  18462. }
  18463. func (f fastpathT) DecMapInt8Uint64X(vp *map[int8]uint64, checkNil bool, d *Decoder) {
  18464. v, changed := f.DecMapInt8Uint64V(*vp, checkNil, true, d)
  18465. if changed {
  18466. *vp = v
  18467. }
  18468. }
  18469. func (_ fastpathT) DecMapInt8Uint64V(v map[int8]uint64, checkNil bool, canChange bool,
  18470. d *Decoder) (_ map[int8]uint64, changed bool) {
  18471. dd := d.d
  18472. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  18473. if checkNil && dd.TryDecodeAsNil() {
  18474. if v != nil {
  18475. changed = true
  18476. }
  18477. return nil, changed
  18478. }
  18479. containerLen := dd.ReadMapStart()
  18480. if canChange && v == nil {
  18481. if containerLen > 0 {
  18482. v = make(map[int8]uint64, containerLen)
  18483. } else {
  18484. v = make(map[int8]uint64) // supports indefinite-length, etc
  18485. }
  18486. changed = true
  18487. }
  18488. if containerLen > 0 {
  18489. for j := 0; j < containerLen; j++ {
  18490. mk := int8(dd.DecodeInt(8))
  18491. mv := v[mk]
  18492. mv = dd.DecodeUint(64)
  18493. if v != nil {
  18494. v[mk] = mv
  18495. }
  18496. }
  18497. } else if containerLen < 0 {
  18498. for j := 0; !dd.CheckBreak(); j++ {
  18499. mk := int8(dd.DecodeInt(8))
  18500. mv := v[mk]
  18501. mv = dd.DecodeUint(64)
  18502. if v != nil {
  18503. v[mk] = mv
  18504. }
  18505. }
  18506. dd.ReadEnd()
  18507. }
  18508. return v, changed
  18509. }
  18510. func (f decFnInfo) fastpathDecMapInt8IntR(rv reflect.Value) {
  18511. if rv.CanAddr() {
  18512. vp := rv.Addr().Interface().(*map[int8]int)
  18513. v, changed := fastpathTV.DecMapInt8IntV(*vp, fastpathCheckNilFalse, true, f.d)
  18514. if changed {
  18515. *vp = v
  18516. }
  18517. } else {
  18518. v := rv.Interface().(map[int8]int)
  18519. fastpathTV.DecMapInt8IntV(v, fastpathCheckNilFalse, false, f.d)
  18520. }
  18521. }
  18522. func (f fastpathT) DecMapInt8IntX(vp *map[int8]int, checkNil bool, d *Decoder) {
  18523. v, changed := f.DecMapInt8IntV(*vp, checkNil, true, d)
  18524. if changed {
  18525. *vp = v
  18526. }
  18527. }
  18528. func (_ fastpathT) DecMapInt8IntV(v map[int8]int, checkNil bool, canChange bool,
  18529. d *Decoder) (_ map[int8]int, changed bool) {
  18530. dd := d.d
  18531. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  18532. if checkNil && dd.TryDecodeAsNil() {
  18533. if v != nil {
  18534. changed = true
  18535. }
  18536. return nil, changed
  18537. }
  18538. containerLen := dd.ReadMapStart()
  18539. if canChange && v == nil {
  18540. if containerLen > 0 {
  18541. v = make(map[int8]int, containerLen)
  18542. } else {
  18543. v = make(map[int8]int) // supports indefinite-length, etc
  18544. }
  18545. changed = true
  18546. }
  18547. if containerLen > 0 {
  18548. for j := 0; j < containerLen; j++ {
  18549. mk := int8(dd.DecodeInt(8))
  18550. mv := v[mk]
  18551. mv = int(dd.DecodeInt(intBitsize))
  18552. if v != nil {
  18553. v[mk] = mv
  18554. }
  18555. }
  18556. } else if containerLen < 0 {
  18557. for j := 0; !dd.CheckBreak(); j++ {
  18558. mk := int8(dd.DecodeInt(8))
  18559. mv := v[mk]
  18560. mv = int(dd.DecodeInt(intBitsize))
  18561. if v != nil {
  18562. v[mk] = mv
  18563. }
  18564. }
  18565. dd.ReadEnd()
  18566. }
  18567. return v, changed
  18568. }
  18569. func (f decFnInfo) fastpathDecMapInt8Int8R(rv reflect.Value) {
  18570. if rv.CanAddr() {
  18571. vp := rv.Addr().Interface().(*map[int8]int8)
  18572. v, changed := fastpathTV.DecMapInt8Int8V(*vp, fastpathCheckNilFalse, true, f.d)
  18573. if changed {
  18574. *vp = v
  18575. }
  18576. } else {
  18577. v := rv.Interface().(map[int8]int8)
  18578. fastpathTV.DecMapInt8Int8V(v, fastpathCheckNilFalse, false, f.d)
  18579. }
  18580. }
  18581. func (f fastpathT) DecMapInt8Int8X(vp *map[int8]int8, checkNil bool, d *Decoder) {
  18582. v, changed := f.DecMapInt8Int8V(*vp, checkNil, true, d)
  18583. if changed {
  18584. *vp = v
  18585. }
  18586. }
  18587. func (_ fastpathT) DecMapInt8Int8V(v map[int8]int8, checkNil bool, canChange bool,
  18588. d *Decoder) (_ map[int8]int8, changed bool) {
  18589. dd := d.d
  18590. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  18591. if checkNil && dd.TryDecodeAsNil() {
  18592. if v != nil {
  18593. changed = true
  18594. }
  18595. return nil, changed
  18596. }
  18597. containerLen := dd.ReadMapStart()
  18598. if canChange && v == nil {
  18599. if containerLen > 0 {
  18600. v = make(map[int8]int8, containerLen)
  18601. } else {
  18602. v = make(map[int8]int8) // supports indefinite-length, etc
  18603. }
  18604. changed = true
  18605. }
  18606. if containerLen > 0 {
  18607. for j := 0; j < containerLen; j++ {
  18608. mk := int8(dd.DecodeInt(8))
  18609. mv := v[mk]
  18610. mv = int8(dd.DecodeInt(8))
  18611. if v != nil {
  18612. v[mk] = mv
  18613. }
  18614. }
  18615. } else if containerLen < 0 {
  18616. for j := 0; !dd.CheckBreak(); j++ {
  18617. mk := int8(dd.DecodeInt(8))
  18618. mv := v[mk]
  18619. mv = int8(dd.DecodeInt(8))
  18620. if v != nil {
  18621. v[mk] = mv
  18622. }
  18623. }
  18624. dd.ReadEnd()
  18625. }
  18626. return v, changed
  18627. }
  18628. func (f decFnInfo) fastpathDecMapInt8Int16R(rv reflect.Value) {
  18629. if rv.CanAddr() {
  18630. vp := rv.Addr().Interface().(*map[int8]int16)
  18631. v, changed := fastpathTV.DecMapInt8Int16V(*vp, fastpathCheckNilFalse, true, f.d)
  18632. if changed {
  18633. *vp = v
  18634. }
  18635. } else {
  18636. v := rv.Interface().(map[int8]int16)
  18637. fastpathTV.DecMapInt8Int16V(v, fastpathCheckNilFalse, false, f.d)
  18638. }
  18639. }
  18640. func (f fastpathT) DecMapInt8Int16X(vp *map[int8]int16, checkNil bool, d *Decoder) {
  18641. v, changed := f.DecMapInt8Int16V(*vp, checkNil, true, d)
  18642. if changed {
  18643. *vp = v
  18644. }
  18645. }
  18646. func (_ fastpathT) DecMapInt8Int16V(v map[int8]int16, checkNil bool, canChange bool,
  18647. d *Decoder) (_ map[int8]int16, changed bool) {
  18648. dd := d.d
  18649. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  18650. if checkNil && dd.TryDecodeAsNil() {
  18651. if v != nil {
  18652. changed = true
  18653. }
  18654. return nil, changed
  18655. }
  18656. containerLen := dd.ReadMapStart()
  18657. if canChange && v == nil {
  18658. if containerLen > 0 {
  18659. v = make(map[int8]int16, containerLen)
  18660. } else {
  18661. v = make(map[int8]int16) // supports indefinite-length, etc
  18662. }
  18663. changed = true
  18664. }
  18665. if containerLen > 0 {
  18666. for j := 0; j < containerLen; j++ {
  18667. mk := int8(dd.DecodeInt(8))
  18668. mv := v[mk]
  18669. mv = int16(dd.DecodeInt(16))
  18670. if v != nil {
  18671. v[mk] = mv
  18672. }
  18673. }
  18674. } else if containerLen < 0 {
  18675. for j := 0; !dd.CheckBreak(); j++ {
  18676. mk := int8(dd.DecodeInt(8))
  18677. mv := v[mk]
  18678. mv = int16(dd.DecodeInt(16))
  18679. if v != nil {
  18680. v[mk] = mv
  18681. }
  18682. }
  18683. dd.ReadEnd()
  18684. }
  18685. return v, changed
  18686. }
  18687. func (f decFnInfo) fastpathDecMapInt8Int32R(rv reflect.Value) {
  18688. if rv.CanAddr() {
  18689. vp := rv.Addr().Interface().(*map[int8]int32)
  18690. v, changed := fastpathTV.DecMapInt8Int32V(*vp, fastpathCheckNilFalse, true, f.d)
  18691. if changed {
  18692. *vp = v
  18693. }
  18694. } else {
  18695. v := rv.Interface().(map[int8]int32)
  18696. fastpathTV.DecMapInt8Int32V(v, fastpathCheckNilFalse, false, f.d)
  18697. }
  18698. }
  18699. func (f fastpathT) DecMapInt8Int32X(vp *map[int8]int32, checkNil bool, d *Decoder) {
  18700. v, changed := f.DecMapInt8Int32V(*vp, checkNil, true, d)
  18701. if changed {
  18702. *vp = v
  18703. }
  18704. }
  18705. func (_ fastpathT) DecMapInt8Int32V(v map[int8]int32, checkNil bool, canChange bool,
  18706. d *Decoder) (_ map[int8]int32, changed bool) {
  18707. dd := d.d
  18708. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  18709. if checkNil && dd.TryDecodeAsNil() {
  18710. if v != nil {
  18711. changed = true
  18712. }
  18713. return nil, changed
  18714. }
  18715. containerLen := dd.ReadMapStart()
  18716. if canChange && v == nil {
  18717. if containerLen > 0 {
  18718. v = make(map[int8]int32, containerLen)
  18719. } else {
  18720. v = make(map[int8]int32) // supports indefinite-length, etc
  18721. }
  18722. changed = true
  18723. }
  18724. if containerLen > 0 {
  18725. for j := 0; j < containerLen; j++ {
  18726. mk := int8(dd.DecodeInt(8))
  18727. mv := v[mk]
  18728. mv = int32(dd.DecodeInt(32))
  18729. if v != nil {
  18730. v[mk] = mv
  18731. }
  18732. }
  18733. } else if containerLen < 0 {
  18734. for j := 0; !dd.CheckBreak(); j++ {
  18735. mk := int8(dd.DecodeInt(8))
  18736. mv := v[mk]
  18737. mv = int32(dd.DecodeInt(32))
  18738. if v != nil {
  18739. v[mk] = mv
  18740. }
  18741. }
  18742. dd.ReadEnd()
  18743. }
  18744. return v, changed
  18745. }
  18746. func (f decFnInfo) fastpathDecMapInt8Int64R(rv reflect.Value) {
  18747. if rv.CanAddr() {
  18748. vp := rv.Addr().Interface().(*map[int8]int64)
  18749. v, changed := fastpathTV.DecMapInt8Int64V(*vp, fastpathCheckNilFalse, true, f.d)
  18750. if changed {
  18751. *vp = v
  18752. }
  18753. } else {
  18754. v := rv.Interface().(map[int8]int64)
  18755. fastpathTV.DecMapInt8Int64V(v, fastpathCheckNilFalse, false, f.d)
  18756. }
  18757. }
  18758. func (f fastpathT) DecMapInt8Int64X(vp *map[int8]int64, checkNil bool, d *Decoder) {
  18759. v, changed := f.DecMapInt8Int64V(*vp, checkNil, true, d)
  18760. if changed {
  18761. *vp = v
  18762. }
  18763. }
  18764. func (_ fastpathT) DecMapInt8Int64V(v map[int8]int64, checkNil bool, canChange bool,
  18765. d *Decoder) (_ map[int8]int64, changed bool) {
  18766. dd := d.d
  18767. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  18768. if checkNil && dd.TryDecodeAsNil() {
  18769. if v != nil {
  18770. changed = true
  18771. }
  18772. return nil, changed
  18773. }
  18774. containerLen := dd.ReadMapStart()
  18775. if canChange && v == nil {
  18776. if containerLen > 0 {
  18777. v = make(map[int8]int64, containerLen)
  18778. } else {
  18779. v = make(map[int8]int64) // supports indefinite-length, etc
  18780. }
  18781. changed = true
  18782. }
  18783. if containerLen > 0 {
  18784. for j := 0; j < containerLen; j++ {
  18785. mk := int8(dd.DecodeInt(8))
  18786. mv := v[mk]
  18787. mv = dd.DecodeInt(64)
  18788. if v != nil {
  18789. v[mk] = mv
  18790. }
  18791. }
  18792. } else if containerLen < 0 {
  18793. for j := 0; !dd.CheckBreak(); j++ {
  18794. mk := int8(dd.DecodeInt(8))
  18795. mv := v[mk]
  18796. mv = dd.DecodeInt(64)
  18797. if v != nil {
  18798. v[mk] = mv
  18799. }
  18800. }
  18801. dd.ReadEnd()
  18802. }
  18803. return v, changed
  18804. }
  18805. func (f decFnInfo) fastpathDecMapInt8Float32R(rv reflect.Value) {
  18806. if rv.CanAddr() {
  18807. vp := rv.Addr().Interface().(*map[int8]float32)
  18808. v, changed := fastpathTV.DecMapInt8Float32V(*vp, fastpathCheckNilFalse, true, f.d)
  18809. if changed {
  18810. *vp = v
  18811. }
  18812. } else {
  18813. v := rv.Interface().(map[int8]float32)
  18814. fastpathTV.DecMapInt8Float32V(v, fastpathCheckNilFalse, false, f.d)
  18815. }
  18816. }
  18817. func (f fastpathT) DecMapInt8Float32X(vp *map[int8]float32, checkNil bool, d *Decoder) {
  18818. v, changed := f.DecMapInt8Float32V(*vp, checkNil, true, d)
  18819. if changed {
  18820. *vp = v
  18821. }
  18822. }
  18823. func (_ fastpathT) DecMapInt8Float32V(v map[int8]float32, checkNil bool, canChange bool,
  18824. d *Decoder) (_ map[int8]float32, changed bool) {
  18825. dd := d.d
  18826. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  18827. if checkNil && dd.TryDecodeAsNil() {
  18828. if v != nil {
  18829. changed = true
  18830. }
  18831. return nil, changed
  18832. }
  18833. containerLen := dd.ReadMapStart()
  18834. if canChange && v == nil {
  18835. if containerLen > 0 {
  18836. v = make(map[int8]float32, containerLen)
  18837. } else {
  18838. v = make(map[int8]float32) // supports indefinite-length, etc
  18839. }
  18840. changed = true
  18841. }
  18842. if containerLen > 0 {
  18843. for j := 0; j < containerLen; j++ {
  18844. mk := int8(dd.DecodeInt(8))
  18845. mv := v[mk]
  18846. mv = float32(dd.DecodeFloat(true))
  18847. if v != nil {
  18848. v[mk] = mv
  18849. }
  18850. }
  18851. } else if containerLen < 0 {
  18852. for j := 0; !dd.CheckBreak(); j++ {
  18853. mk := int8(dd.DecodeInt(8))
  18854. mv := v[mk]
  18855. mv = float32(dd.DecodeFloat(true))
  18856. if v != nil {
  18857. v[mk] = mv
  18858. }
  18859. }
  18860. dd.ReadEnd()
  18861. }
  18862. return v, changed
  18863. }
  18864. func (f decFnInfo) fastpathDecMapInt8Float64R(rv reflect.Value) {
  18865. if rv.CanAddr() {
  18866. vp := rv.Addr().Interface().(*map[int8]float64)
  18867. v, changed := fastpathTV.DecMapInt8Float64V(*vp, fastpathCheckNilFalse, true, f.d)
  18868. if changed {
  18869. *vp = v
  18870. }
  18871. } else {
  18872. v := rv.Interface().(map[int8]float64)
  18873. fastpathTV.DecMapInt8Float64V(v, fastpathCheckNilFalse, false, f.d)
  18874. }
  18875. }
  18876. func (f fastpathT) DecMapInt8Float64X(vp *map[int8]float64, checkNil bool, d *Decoder) {
  18877. v, changed := f.DecMapInt8Float64V(*vp, checkNil, true, d)
  18878. if changed {
  18879. *vp = v
  18880. }
  18881. }
  18882. func (_ fastpathT) DecMapInt8Float64V(v map[int8]float64, checkNil bool, canChange bool,
  18883. d *Decoder) (_ map[int8]float64, changed bool) {
  18884. dd := d.d
  18885. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  18886. if checkNil && dd.TryDecodeAsNil() {
  18887. if v != nil {
  18888. changed = true
  18889. }
  18890. return nil, changed
  18891. }
  18892. containerLen := dd.ReadMapStart()
  18893. if canChange && v == nil {
  18894. if containerLen > 0 {
  18895. v = make(map[int8]float64, containerLen)
  18896. } else {
  18897. v = make(map[int8]float64) // supports indefinite-length, etc
  18898. }
  18899. changed = true
  18900. }
  18901. if containerLen > 0 {
  18902. for j := 0; j < containerLen; j++ {
  18903. mk := int8(dd.DecodeInt(8))
  18904. mv := v[mk]
  18905. mv = dd.DecodeFloat(false)
  18906. if v != nil {
  18907. v[mk] = mv
  18908. }
  18909. }
  18910. } else if containerLen < 0 {
  18911. for j := 0; !dd.CheckBreak(); j++ {
  18912. mk := int8(dd.DecodeInt(8))
  18913. mv := v[mk]
  18914. mv = dd.DecodeFloat(false)
  18915. if v != nil {
  18916. v[mk] = mv
  18917. }
  18918. }
  18919. dd.ReadEnd()
  18920. }
  18921. return v, changed
  18922. }
  18923. func (f decFnInfo) fastpathDecMapInt8BoolR(rv reflect.Value) {
  18924. if rv.CanAddr() {
  18925. vp := rv.Addr().Interface().(*map[int8]bool)
  18926. v, changed := fastpathTV.DecMapInt8BoolV(*vp, fastpathCheckNilFalse, true, f.d)
  18927. if changed {
  18928. *vp = v
  18929. }
  18930. } else {
  18931. v := rv.Interface().(map[int8]bool)
  18932. fastpathTV.DecMapInt8BoolV(v, fastpathCheckNilFalse, false, f.d)
  18933. }
  18934. }
  18935. func (f fastpathT) DecMapInt8BoolX(vp *map[int8]bool, checkNil bool, d *Decoder) {
  18936. v, changed := f.DecMapInt8BoolV(*vp, checkNil, true, d)
  18937. if changed {
  18938. *vp = v
  18939. }
  18940. }
  18941. func (_ fastpathT) DecMapInt8BoolV(v map[int8]bool, checkNil bool, canChange bool,
  18942. d *Decoder) (_ map[int8]bool, changed bool) {
  18943. dd := d.d
  18944. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  18945. if checkNil && dd.TryDecodeAsNil() {
  18946. if v != nil {
  18947. changed = true
  18948. }
  18949. return nil, changed
  18950. }
  18951. containerLen := dd.ReadMapStart()
  18952. if canChange && v == nil {
  18953. if containerLen > 0 {
  18954. v = make(map[int8]bool, containerLen)
  18955. } else {
  18956. v = make(map[int8]bool) // supports indefinite-length, etc
  18957. }
  18958. changed = true
  18959. }
  18960. if containerLen > 0 {
  18961. for j := 0; j < containerLen; j++ {
  18962. mk := int8(dd.DecodeInt(8))
  18963. mv := v[mk]
  18964. mv = dd.DecodeBool()
  18965. if v != nil {
  18966. v[mk] = mv
  18967. }
  18968. }
  18969. } else if containerLen < 0 {
  18970. for j := 0; !dd.CheckBreak(); j++ {
  18971. mk := int8(dd.DecodeInt(8))
  18972. mv := v[mk]
  18973. mv = dd.DecodeBool()
  18974. if v != nil {
  18975. v[mk] = mv
  18976. }
  18977. }
  18978. dd.ReadEnd()
  18979. }
  18980. return v, changed
  18981. }
  18982. func (f decFnInfo) fastpathDecMapInt16IntfR(rv reflect.Value) {
  18983. if rv.CanAddr() {
  18984. vp := rv.Addr().Interface().(*map[int16]interface{})
  18985. v, changed := fastpathTV.DecMapInt16IntfV(*vp, fastpathCheckNilFalse, true, f.d)
  18986. if changed {
  18987. *vp = v
  18988. }
  18989. } else {
  18990. v := rv.Interface().(map[int16]interface{})
  18991. fastpathTV.DecMapInt16IntfV(v, fastpathCheckNilFalse, false, f.d)
  18992. }
  18993. }
  18994. func (f fastpathT) DecMapInt16IntfX(vp *map[int16]interface{}, checkNil bool, d *Decoder) {
  18995. v, changed := f.DecMapInt16IntfV(*vp, checkNil, true, d)
  18996. if changed {
  18997. *vp = v
  18998. }
  18999. }
  19000. func (_ fastpathT) DecMapInt16IntfV(v map[int16]interface{}, checkNil bool, canChange bool,
  19001. d *Decoder) (_ map[int16]interface{}, changed bool) {
  19002. dd := d.d
  19003. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  19004. if checkNil && dd.TryDecodeAsNil() {
  19005. if v != nil {
  19006. changed = true
  19007. }
  19008. return nil, changed
  19009. }
  19010. containerLen := dd.ReadMapStart()
  19011. if canChange && v == nil {
  19012. if containerLen > 0 {
  19013. v = make(map[int16]interface{}, containerLen)
  19014. } else {
  19015. v = make(map[int16]interface{}) // supports indefinite-length, etc
  19016. }
  19017. changed = true
  19018. }
  19019. if containerLen > 0 {
  19020. for j := 0; j < containerLen; j++ {
  19021. mk := int16(dd.DecodeInt(16))
  19022. mv := v[mk]
  19023. d.decode(&mv)
  19024. if v != nil {
  19025. v[mk] = mv
  19026. }
  19027. }
  19028. } else if containerLen < 0 {
  19029. for j := 0; !dd.CheckBreak(); j++ {
  19030. mk := int16(dd.DecodeInt(16))
  19031. mv := v[mk]
  19032. d.decode(&mv)
  19033. if v != nil {
  19034. v[mk] = mv
  19035. }
  19036. }
  19037. dd.ReadEnd()
  19038. }
  19039. return v, changed
  19040. }
  19041. func (f decFnInfo) fastpathDecMapInt16StringR(rv reflect.Value) {
  19042. if rv.CanAddr() {
  19043. vp := rv.Addr().Interface().(*map[int16]string)
  19044. v, changed := fastpathTV.DecMapInt16StringV(*vp, fastpathCheckNilFalse, true, f.d)
  19045. if changed {
  19046. *vp = v
  19047. }
  19048. } else {
  19049. v := rv.Interface().(map[int16]string)
  19050. fastpathTV.DecMapInt16StringV(v, fastpathCheckNilFalse, false, f.d)
  19051. }
  19052. }
  19053. func (f fastpathT) DecMapInt16StringX(vp *map[int16]string, checkNil bool, d *Decoder) {
  19054. v, changed := f.DecMapInt16StringV(*vp, checkNil, true, d)
  19055. if changed {
  19056. *vp = v
  19057. }
  19058. }
  19059. func (_ fastpathT) DecMapInt16StringV(v map[int16]string, checkNil bool, canChange bool,
  19060. d *Decoder) (_ map[int16]string, changed bool) {
  19061. dd := d.d
  19062. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  19063. if checkNil && dd.TryDecodeAsNil() {
  19064. if v != nil {
  19065. changed = true
  19066. }
  19067. return nil, changed
  19068. }
  19069. containerLen := dd.ReadMapStart()
  19070. if canChange && v == nil {
  19071. if containerLen > 0 {
  19072. v = make(map[int16]string, containerLen)
  19073. } else {
  19074. v = make(map[int16]string) // supports indefinite-length, etc
  19075. }
  19076. changed = true
  19077. }
  19078. if containerLen > 0 {
  19079. for j := 0; j < containerLen; j++ {
  19080. mk := int16(dd.DecodeInt(16))
  19081. mv := v[mk]
  19082. mv = dd.DecodeString()
  19083. if v != nil {
  19084. v[mk] = mv
  19085. }
  19086. }
  19087. } else if containerLen < 0 {
  19088. for j := 0; !dd.CheckBreak(); j++ {
  19089. mk := int16(dd.DecodeInt(16))
  19090. mv := v[mk]
  19091. mv = dd.DecodeString()
  19092. if v != nil {
  19093. v[mk] = mv
  19094. }
  19095. }
  19096. dd.ReadEnd()
  19097. }
  19098. return v, changed
  19099. }
  19100. func (f decFnInfo) fastpathDecMapInt16UintR(rv reflect.Value) {
  19101. if rv.CanAddr() {
  19102. vp := rv.Addr().Interface().(*map[int16]uint)
  19103. v, changed := fastpathTV.DecMapInt16UintV(*vp, fastpathCheckNilFalse, true, f.d)
  19104. if changed {
  19105. *vp = v
  19106. }
  19107. } else {
  19108. v := rv.Interface().(map[int16]uint)
  19109. fastpathTV.DecMapInt16UintV(v, fastpathCheckNilFalse, false, f.d)
  19110. }
  19111. }
  19112. func (f fastpathT) DecMapInt16UintX(vp *map[int16]uint, checkNil bool, d *Decoder) {
  19113. v, changed := f.DecMapInt16UintV(*vp, checkNil, true, d)
  19114. if changed {
  19115. *vp = v
  19116. }
  19117. }
  19118. func (_ fastpathT) DecMapInt16UintV(v map[int16]uint, checkNil bool, canChange bool,
  19119. d *Decoder) (_ map[int16]uint, changed bool) {
  19120. dd := d.d
  19121. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  19122. if checkNil && dd.TryDecodeAsNil() {
  19123. if v != nil {
  19124. changed = true
  19125. }
  19126. return nil, changed
  19127. }
  19128. containerLen := dd.ReadMapStart()
  19129. if canChange && v == nil {
  19130. if containerLen > 0 {
  19131. v = make(map[int16]uint, containerLen)
  19132. } else {
  19133. v = make(map[int16]uint) // supports indefinite-length, etc
  19134. }
  19135. changed = true
  19136. }
  19137. if containerLen > 0 {
  19138. for j := 0; j < containerLen; j++ {
  19139. mk := int16(dd.DecodeInt(16))
  19140. mv := v[mk]
  19141. mv = uint(dd.DecodeUint(uintBitsize))
  19142. if v != nil {
  19143. v[mk] = mv
  19144. }
  19145. }
  19146. } else if containerLen < 0 {
  19147. for j := 0; !dd.CheckBreak(); j++ {
  19148. mk := int16(dd.DecodeInt(16))
  19149. mv := v[mk]
  19150. mv = uint(dd.DecodeUint(uintBitsize))
  19151. if v != nil {
  19152. v[mk] = mv
  19153. }
  19154. }
  19155. dd.ReadEnd()
  19156. }
  19157. return v, changed
  19158. }
  19159. func (f decFnInfo) fastpathDecMapInt16Uint8R(rv reflect.Value) {
  19160. if rv.CanAddr() {
  19161. vp := rv.Addr().Interface().(*map[int16]uint8)
  19162. v, changed := fastpathTV.DecMapInt16Uint8V(*vp, fastpathCheckNilFalse, true, f.d)
  19163. if changed {
  19164. *vp = v
  19165. }
  19166. } else {
  19167. v := rv.Interface().(map[int16]uint8)
  19168. fastpathTV.DecMapInt16Uint8V(v, fastpathCheckNilFalse, false, f.d)
  19169. }
  19170. }
  19171. func (f fastpathT) DecMapInt16Uint8X(vp *map[int16]uint8, checkNil bool, d *Decoder) {
  19172. v, changed := f.DecMapInt16Uint8V(*vp, checkNil, true, d)
  19173. if changed {
  19174. *vp = v
  19175. }
  19176. }
  19177. func (_ fastpathT) DecMapInt16Uint8V(v map[int16]uint8, checkNil bool, canChange bool,
  19178. d *Decoder) (_ map[int16]uint8, changed bool) {
  19179. dd := d.d
  19180. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  19181. if checkNil && dd.TryDecodeAsNil() {
  19182. if v != nil {
  19183. changed = true
  19184. }
  19185. return nil, changed
  19186. }
  19187. containerLen := dd.ReadMapStart()
  19188. if canChange && v == nil {
  19189. if containerLen > 0 {
  19190. v = make(map[int16]uint8, containerLen)
  19191. } else {
  19192. v = make(map[int16]uint8) // supports indefinite-length, etc
  19193. }
  19194. changed = true
  19195. }
  19196. if containerLen > 0 {
  19197. for j := 0; j < containerLen; j++ {
  19198. mk := int16(dd.DecodeInt(16))
  19199. mv := v[mk]
  19200. mv = uint8(dd.DecodeUint(8))
  19201. if v != nil {
  19202. v[mk] = mv
  19203. }
  19204. }
  19205. } else if containerLen < 0 {
  19206. for j := 0; !dd.CheckBreak(); j++ {
  19207. mk := int16(dd.DecodeInt(16))
  19208. mv := v[mk]
  19209. mv = uint8(dd.DecodeUint(8))
  19210. if v != nil {
  19211. v[mk] = mv
  19212. }
  19213. }
  19214. dd.ReadEnd()
  19215. }
  19216. return v, changed
  19217. }
  19218. func (f decFnInfo) fastpathDecMapInt16Uint16R(rv reflect.Value) {
  19219. if rv.CanAddr() {
  19220. vp := rv.Addr().Interface().(*map[int16]uint16)
  19221. v, changed := fastpathTV.DecMapInt16Uint16V(*vp, fastpathCheckNilFalse, true, f.d)
  19222. if changed {
  19223. *vp = v
  19224. }
  19225. } else {
  19226. v := rv.Interface().(map[int16]uint16)
  19227. fastpathTV.DecMapInt16Uint16V(v, fastpathCheckNilFalse, false, f.d)
  19228. }
  19229. }
  19230. func (f fastpathT) DecMapInt16Uint16X(vp *map[int16]uint16, checkNil bool, d *Decoder) {
  19231. v, changed := f.DecMapInt16Uint16V(*vp, checkNil, true, d)
  19232. if changed {
  19233. *vp = v
  19234. }
  19235. }
  19236. func (_ fastpathT) DecMapInt16Uint16V(v map[int16]uint16, checkNil bool, canChange bool,
  19237. d *Decoder) (_ map[int16]uint16, changed bool) {
  19238. dd := d.d
  19239. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  19240. if checkNil && dd.TryDecodeAsNil() {
  19241. if v != nil {
  19242. changed = true
  19243. }
  19244. return nil, changed
  19245. }
  19246. containerLen := dd.ReadMapStart()
  19247. if canChange && v == nil {
  19248. if containerLen > 0 {
  19249. v = make(map[int16]uint16, containerLen)
  19250. } else {
  19251. v = make(map[int16]uint16) // supports indefinite-length, etc
  19252. }
  19253. changed = true
  19254. }
  19255. if containerLen > 0 {
  19256. for j := 0; j < containerLen; j++ {
  19257. mk := int16(dd.DecodeInt(16))
  19258. mv := v[mk]
  19259. mv = uint16(dd.DecodeUint(16))
  19260. if v != nil {
  19261. v[mk] = mv
  19262. }
  19263. }
  19264. } else if containerLen < 0 {
  19265. for j := 0; !dd.CheckBreak(); j++ {
  19266. mk := int16(dd.DecodeInt(16))
  19267. mv := v[mk]
  19268. mv = uint16(dd.DecodeUint(16))
  19269. if v != nil {
  19270. v[mk] = mv
  19271. }
  19272. }
  19273. dd.ReadEnd()
  19274. }
  19275. return v, changed
  19276. }
  19277. func (f decFnInfo) fastpathDecMapInt16Uint32R(rv reflect.Value) {
  19278. if rv.CanAddr() {
  19279. vp := rv.Addr().Interface().(*map[int16]uint32)
  19280. v, changed := fastpathTV.DecMapInt16Uint32V(*vp, fastpathCheckNilFalse, true, f.d)
  19281. if changed {
  19282. *vp = v
  19283. }
  19284. } else {
  19285. v := rv.Interface().(map[int16]uint32)
  19286. fastpathTV.DecMapInt16Uint32V(v, fastpathCheckNilFalse, false, f.d)
  19287. }
  19288. }
  19289. func (f fastpathT) DecMapInt16Uint32X(vp *map[int16]uint32, checkNil bool, d *Decoder) {
  19290. v, changed := f.DecMapInt16Uint32V(*vp, checkNil, true, d)
  19291. if changed {
  19292. *vp = v
  19293. }
  19294. }
  19295. func (_ fastpathT) DecMapInt16Uint32V(v map[int16]uint32, checkNil bool, canChange bool,
  19296. d *Decoder) (_ map[int16]uint32, changed bool) {
  19297. dd := d.d
  19298. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  19299. if checkNil && dd.TryDecodeAsNil() {
  19300. if v != nil {
  19301. changed = true
  19302. }
  19303. return nil, changed
  19304. }
  19305. containerLen := dd.ReadMapStart()
  19306. if canChange && v == nil {
  19307. if containerLen > 0 {
  19308. v = make(map[int16]uint32, containerLen)
  19309. } else {
  19310. v = make(map[int16]uint32) // supports indefinite-length, etc
  19311. }
  19312. changed = true
  19313. }
  19314. if containerLen > 0 {
  19315. for j := 0; j < containerLen; j++ {
  19316. mk := int16(dd.DecodeInt(16))
  19317. mv := v[mk]
  19318. mv = uint32(dd.DecodeUint(32))
  19319. if v != nil {
  19320. v[mk] = mv
  19321. }
  19322. }
  19323. } else if containerLen < 0 {
  19324. for j := 0; !dd.CheckBreak(); j++ {
  19325. mk := int16(dd.DecodeInt(16))
  19326. mv := v[mk]
  19327. mv = uint32(dd.DecodeUint(32))
  19328. if v != nil {
  19329. v[mk] = mv
  19330. }
  19331. }
  19332. dd.ReadEnd()
  19333. }
  19334. return v, changed
  19335. }
  19336. func (f decFnInfo) fastpathDecMapInt16Uint64R(rv reflect.Value) {
  19337. if rv.CanAddr() {
  19338. vp := rv.Addr().Interface().(*map[int16]uint64)
  19339. v, changed := fastpathTV.DecMapInt16Uint64V(*vp, fastpathCheckNilFalse, true, f.d)
  19340. if changed {
  19341. *vp = v
  19342. }
  19343. } else {
  19344. v := rv.Interface().(map[int16]uint64)
  19345. fastpathTV.DecMapInt16Uint64V(v, fastpathCheckNilFalse, false, f.d)
  19346. }
  19347. }
  19348. func (f fastpathT) DecMapInt16Uint64X(vp *map[int16]uint64, checkNil bool, d *Decoder) {
  19349. v, changed := f.DecMapInt16Uint64V(*vp, checkNil, true, d)
  19350. if changed {
  19351. *vp = v
  19352. }
  19353. }
  19354. func (_ fastpathT) DecMapInt16Uint64V(v map[int16]uint64, checkNil bool, canChange bool,
  19355. d *Decoder) (_ map[int16]uint64, changed bool) {
  19356. dd := d.d
  19357. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  19358. if checkNil && dd.TryDecodeAsNil() {
  19359. if v != nil {
  19360. changed = true
  19361. }
  19362. return nil, changed
  19363. }
  19364. containerLen := dd.ReadMapStart()
  19365. if canChange && v == nil {
  19366. if containerLen > 0 {
  19367. v = make(map[int16]uint64, containerLen)
  19368. } else {
  19369. v = make(map[int16]uint64) // supports indefinite-length, etc
  19370. }
  19371. changed = true
  19372. }
  19373. if containerLen > 0 {
  19374. for j := 0; j < containerLen; j++ {
  19375. mk := int16(dd.DecodeInt(16))
  19376. mv := v[mk]
  19377. mv = dd.DecodeUint(64)
  19378. if v != nil {
  19379. v[mk] = mv
  19380. }
  19381. }
  19382. } else if containerLen < 0 {
  19383. for j := 0; !dd.CheckBreak(); j++ {
  19384. mk := int16(dd.DecodeInt(16))
  19385. mv := v[mk]
  19386. mv = dd.DecodeUint(64)
  19387. if v != nil {
  19388. v[mk] = mv
  19389. }
  19390. }
  19391. dd.ReadEnd()
  19392. }
  19393. return v, changed
  19394. }
  19395. func (f decFnInfo) fastpathDecMapInt16IntR(rv reflect.Value) {
  19396. if rv.CanAddr() {
  19397. vp := rv.Addr().Interface().(*map[int16]int)
  19398. v, changed := fastpathTV.DecMapInt16IntV(*vp, fastpathCheckNilFalse, true, f.d)
  19399. if changed {
  19400. *vp = v
  19401. }
  19402. } else {
  19403. v := rv.Interface().(map[int16]int)
  19404. fastpathTV.DecMapInt16IntV(v, fastpathCheckNilFalse, false, f.d)
  19405. }
  19406. }
  19407. func (f fastpathT) DecMapInt16IntX(vp *map[int16]int, checkNil bool, d *Decoder) {
  19408. v, changed := f.DecMapInt16IntV(*vp, checkNil, true, d)
  19409. if changed {
  19410. *vp = v
  19411. }
  19412. }
  19413. func (_ fastpathT) DecMapInt16IntV(v map[int16]int, checkNil bool, canChange bool,
  19414. d *Decoder) (_ map[int16]int, changed bool) {
  19415. dd := d.d
  19416. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  19417. if checkNil && dd.TryDecodeAsNil() {
  19418. if v != nil {
  19419. changed = true
  19420. }
  19421. return nil, changed
  19422. }
  19423. containerLen := dd.ReadMapStart()
  19424. if canChange && v == nil {
  19425. if containerLen > 0 {
  19426. v = make(map[int16]int, containerLen)
  19427. } else {
  19428. v = make(map[int16]int) // supports indefinite-length, etc
  19429. }
  19430. changed = true
  19431. }
  19432. if containerLen > 0 {
  19433. for j := 0; j < containerLen; j++ {
  19434. mk := int16(dd.DecodeInt(16))
  19435. mv := v[mk]
  19436. mv = int(dd.DecodeInt(intBitsize))
  19437. if v != nil {
  19438. v[mk] = mv
  19439. }
  19440. }
  19441. } else if containerLen < 0 {
  19442. for j := 0; !dd.CheckBreak(); j++ {
  19443. mk := int16(dd.DecodeInt(16))
  19444. mv := v[mk]
  19445. mv = int(dd.DecodeInt(intBitsize))
  19446. if v != nil {
  19447. v[mk] = mv
  19448. }
  19449. }
  19450. dd.ReadEnd()
  19451. }
  19452. return v, changed
  19453. }
  19454. func (f decFnInfo) fastpathDecMapInt16Int8R(rv reflect.Value) {
  19455. if rv.CanAddr() {
  19456. vp := rv.Addr().Interface().(*map[int16]int8)
  19457. v, changed := fastpathTV.DecMapInt16Int8V(*vp, fastpathCheckNilFalse, true, f.d)
  19458. if changed {
  19459. *vp = v
  19460. }
  19461. } else {
  19462. v := rv.Interface().(map[int16]int8)
  19463. fastpathTV.DecMapInt16Int8V(v, fastpathCheckNilFalse, false, f.d)
  19464. }
  19465. }
  19466. func (f fastpathT) DecMapInt16Int8X(vp *map[int16]int8, checkNil bool, d *Decoder) {
  19467. v, changed := f.DecMapInt16Int8V(*vp, checkNil, true, d)
  19468. if changed {
  19469. *vp = v
  19470. }
  19471. }
  19472. func (_ fastpathT) DecMapInt16Int8V(v map[int16]int8, checkNil bool, canChange bool,
  19473. d *Decoder) (_ map[int16]int8, changed bool) {
  19474. dd := d.d
  19475. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  19476. if checkNil && dd.TryDecodeAsNil() {
  19477. if v != nil {
  19478. changed = true
  19479. }
  19480. return nil, changed
  19481. }
  19482. containerLen := dd.ReadMapStart()
  19483. if canChange && v == nil {
  19484. if containerLen > 0 {
  19485. v = make(map[int16]int8, containerLen)
  19486. } else {
  19487. v = make(map[int16]int8) // supports indefinite-length, etc
  19488. }
  19489. changed = true
  19490. }
  19491. if containerLen > 0 {
  19492. for j := 0; j < containerLen; j++ {
  19493. mk := int16(dd.DecodeInt(16))
  19494. mv := v[mk]
  19495. mv = int8(dd.DecodeInt(8))
  19496. if v != nil {
  19497. v[mk] = mv
  19498. }
  19499. }
  19500. } else if containerLen < 0 {
  19501. for j := 0; !dd.CheckBreak(); j++ {
  19502. mk := int16(dd.DecodeInt(16))
  19503. mv := v[mk]
  19504. mv = int8(dd.DecodeInt(8))
  19505. if v != nil {
  19506. v[mk] = mv
  19507. }
  19508. }
  19509. dd.ReadEnd()
  19510. }
  19511. return v, changed
  19512. }
  19513. func (f decFnInfo) fastpathDecMapInt16Int16R(rv reflect.Value) {
  19514. if rv.CanAddr() {
  19515. vp := rv.Addr().Interface().(*map[int16]int16)
  19516. v, changed := fastpathTV.DecMapInt16Int16V(*vp, fastpathCheckNilFalse, true, f.d)
  19517. if changed {
  19518. *vp = v
  19519. }
  19520. } else {
  19521. v := rv.Interface().(map[int16]int16)
  19522. fastpathTV.DecMapInt16Int16V(v, fastpathCheckNilFalse, false, f.d)
  19523. }
  19524. }
  19525. func (f fastpathT) DecMapInt16Int16X(vp *map[int16]int16, checkNil bool, d *Decoder) {
  19526. v, changed := f.DecMapInt16Int16V(*vp, checkNil, true, d)
  19527. if changed {
  19528. *vp = v
  19529. }
  19530. }
  19531. func (_ fastpathT) DecMapInt16Int16V(v map[int16]int16, checkNil bool, canChange bool,
  19532. d *Decoder) (_ map[int16]int16, changed bool) {
  19533. dd := d.d
  19534. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  19535. if checkNil && dd.TryDecodeAsNil() {
  19536. if v != nil {
  19537. changed = true
  19538. }
  19539. return nil, changed
  19540. }
  19541. containerLen := dd.ReadMapStart()
  19542. if canChange && v == nil {
  19543. if containerLen > 0 {
  19544. v = make(map[int16]int16, containerLen)
  19545. } else {
  19546. v = make(map[int16]int16) // supports indefinite-length, etc
  19547. }
  19548. changed = true
  19549. }
  19550. if containerLen > 0 {
  19551. for j := 0; j < containerLen; j++ {
  19552. mk := int16(dd.DecodeInt(16))
  19553. mv := v[mk]
  19554. mv = int16(dd.DecodeInt(16))
  19555. if v != nil {
  19556. v[mk] = mv
  19557. }
  19558. }
  19559. } else if containerLen < 0 {
  19560. for j := 0; !dd.CheckBreak(); j++ {
  19561. mk := int16(dd.DecodeInt(16))
  19562. mv := v[mk]
  19563. mv = int16(dd.DecodeInt(16))
  19564. if v != nil {
  19565. v[mk] = mv
  19566. }
  19567. }
  19568. dd.ReadEnd()
  19569. }
  19570. return v, changed
  19571. }
  19572. func (f decFnInfo) fastpathDecMapInt16Int32R(rv reflect.Value) {
  19573. if rv.CanAddr() {
  19574. vp := rv.Addr().Interface().(*map[int16]int32)
  19575. v, changed := fastpathTV.DecMapInt16Int32V(*vp, fastpathCheckNilFalse, true, f.d)
  19576. if changed {
  19577. *vp = v
  19578. }
  19579. } else {
  19580. v := rv.Interface().(map[int16]int32)
  19581. fastpathTV.DecMapInt16Int32V(v, fastpathCheckNilFalse, false, f.d)
  19582. }
  19583. }
  19584. func (f fastpathT) DecMapInt16Int32X(vp *map[int16]int32, checkNil bool, d *Decoder) {
  19585. v, changed := f.DecMapInt16Int32V(*vp, checkNil, true, d)
  19586. if changed {
  19587. *vp = v
  19588. }
  19589. }
  19590. func (_ fastpathT) DecMapInt16Int32V(v map[int16]int32, checkNil bool, canChange bool,
  19591. d *Decoder) (_ map[int16]int32, changed bool) {
  19592. dd := d.d
  19593. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  19594. if checkNil && dd.TryDecodeAsNil() {
  19595. if v != nil {
  19596. changed = true
  19597. }
  19598. return nil, changed
  19599. }
  19600. containerLen := dd.ReadMapStart()
  19601. if canChange && v == nil {
  19602. if containerLen > 0 {
  19603. v = make(map[int16]int32, containerLen)
  19604. } else {
  19605. v = make(map[int16]int32) // supports indefinite-length, etc
  19606. }
  19607. changed = true
  19608. }
  19609. if containerLen > 0 {
  19610. for j := 0; j < containerLen; j++ {
  19611. mk := int16(dd.DecodeInt(16))
  19612. mv := v[mk]
  19613. mv = int32(dd.DecodeInt(32))
  19614. if v != nil {
  19615. v[mk] = mv
  19616. }
  19617. }
  19618. } else if containerLen < 0 {
  19619. for j := 0; !dd.CheckBreak(); j++ {
  19620. mk := int16(dd.DecodeInt(16))
  19621. mv := v[mk]
  19622. mv = int32(dd.DecodeInt(32))
  19623. if v != nil {
  19624. v[mk] = mv
  19625. }
  19626. }
  19627. dd.ReadEnd()
  19628. }
  19629. return v, changed
  19630. }
  19631. func (f decFnInfo) fastpathDecMapInt16Int64R(rv reflect.Value) {
  19632. if rv.CanAddr() {
  19633. vp := rv.Addr().Interface().(*map[int16]int64)
  19634. v, changed := fastpathTV.DecMapInt16Int64V(*vp, fastpathCheckNilFalse, true, f.d)
  19635. if changed {
  19636. *vp = v
  19637. }
  19638. } else {
  19639. v := rv.Interface().(map[int16]int64)
  19640. fastpathTV.DecMapInt16Int64V(v, fastpathCheckNilFalse, false, f.d)
  19641. }
  19642. }
  19643. func (f fastpathT) DecMapInt16Int64X(vp *map[int16]int64, checkNil bool, d *Decoder) {
  19644. v, changed := f.DecMapInt16Int64V(*vp, checkNil, true, d)
  19645. if changed {
  19646. *vp = v
  19647. }
  19648. }
  19649. func (_ fastpathT) DecMapInt16Int64V(v map[int16]int64, checkNil bool, canChange bool,
  19650. d *Decoder) (_ map[int16]int64, changed bool) {
  19651. dd := d.d
  19652. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  19653. if checkNil && dd.TryDecodeAsNil() {
  19654. if v != nil {
  19655. changed = true
  19656. }
  19657. return nil, changed
  19658. }
  19659. containerLen := dd.ReadMapStart()
  19660. if canChange && v == nil {
  19661. if containerLen > 0 {
  19662. v = make(map[int16]int64, containerLen)
  19663. } else {
  19664. v = make(map[int16]int64) // supports indefinite-length, etc
  19665. }
  19666. changed = true
  19667. }
  19668. if containerLen > 0 {
  19669. for j := 0; j < containerLen; j++ {
  19670. mk := int16(dd.DecodeInt(16))
  19671. mv := v[mk]
  19672. mv = dd.DecodeInt(64)
  19673. if v != nil {
  19674. v[mk] = mv
  19675. }
  19676. }
  19677. } else if containerLen < 0 {
  19678. for j := 0; !dd.CheckBreak(); j++ {
  19679. mk := int16(dd.DecodeInt(16))
  19680. mv := v[mk]
  19681. mv = dd.DecodeInt(64)
  19682. if v != nil {
  19683. v[mk] = mv
  19684. }
  19685. }
  19686. dd.ReadEnd()
  19687. }
  19688. return v, changed
  19689. }
  19690. func (f decFnInfo) fastpathDecMapInt16Float32R(rv reflect.Value) {
  19691. if rv.CanAddr() {
  19692. vp := rv.Addr().Interface().(*map[int16]float32)
  19693. v, changed := fastpathTV.DecMapInt16Float32V(*vp, fastpathCheckNilFalse, true, f.d)
  19694. if changed {
  19695. *vp = v
  19696. }
  19697. } else {
  19698. v := rv.Interface().(map[int16]float32)
  19699. fastpathTV.DecMapInt16Float32V(v, fastpathCheckNilFalse, false, f.d)
  19700. }
  19701. }
  19702. func (f fastpathT) DecMapInt16Float32X(vp *map[int16]float32, checkNil bool, d *Decoder) {
  19703. v, changed := f.DecMapInt16Float32V(*vp, checkNil, true, d)
  19704. if changed {
  19705. *vp = v
  19706. }
  19707. }
  19708. func (_ fastpathT) DecMapInt16Float32V(v map[int16]float32, checkNil bool, canChange bool,
  19709. d *Decoder) (_ map[int16]float32, changed bool) {
  19710. dd := d.d
  19711. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  19712. if checkNil && dd.TryDecodeAsNil() {
  19713. if v != nil {
  19714. changed = true
  19715. }
  19716. return nil, changed
  19717. }
  19718. containerLen := dd.ReadMapStart()
  19719. if canChange && v == nil {
  19720. if containerLen > 0 {
  19721. v = make(map[int16]float32, containerLen)
  19722. } else {
  19723. v = make(map[int16]float32) // supports indefinite-length, etc
  19724. }
  19725. changed = true
  19726. }
  19727. if containerLen > 0 {
  19728. for j := 0; j < containerLen; j++ {
  19729. mk := int16(dd.DecodeInt(16))
  19730. mv := v[mk]
  19731. mv = float32(dd.DecodeFloat(true))
  19732. if v != nil {
  19733. v[mk] = mv
  19734. }
  19735. }
  19736. } else if containerLen < 0 {
  19737. for j := 0; !dd.CheckBreak(); j++ {
  19738. mk := int16(dd.DecodeInt(16))
  19739. mv := v[mk]
  19740. mv = float32(dd.DecodeFloat(true))
  19741. if v != nil {
  19742. v[mk] = mv
  19743. }
  19744. }
  19745. dd.ReadEnd()
  19746. }
  19747. return v, changed
  19748. }
  19749. func (f decFnInfo) fastpathDecMapInt16Float64R(rv reflect.Value) {
  19750. if rv.CanAddr() {
  19751. vp := rv.Addr().Interface().(*map[int16]float64)
  19752. v, changed := fastpathTV.DecMapInt16Float64V(*vp, fastpathCheckNilFalse, true, f.d)
  19753. if changed {
  19754. *vp = v
  19755. }
  19756. } else {
  19757. v := rv.Interface().(map[int16]float64)
  19758. fastpathTV.DecMapInt16Float64V(v, fastpathCheckNilFalse, false, f.d)
  19759. }
  19760. }
  19761. func (f fastpathT) DecMapInt16Float64X(vp *map[int16]float64, checkNil bool, d *Decoder) {
  19762. v, changed := f.DecMapInt16Float64V(*vp, checkNil, true, d)
  19763. if changed {
  19764. *vp = v
  19765. }
  19766. }
  19767. func (_ fastpathT) DecMapInt16Float64V(v map[int16]float64, checkNil bool, canChange bool,
  19768. d *Decoder) (_ map[int16]float64, changed bool) {
  19769. dd := d.d
  19770. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  19771. if checkNil && dd.TryDecodeAsNil() {
  19772. if v != nil {
  19773. changed = true
  19774. }
  19775. return nil, changed
  19776. }
  19777. containerLen := dd.ReadMapStart()
  19778. if canChange && v == nil {
  19779. if containerLen > 0 {
  19780. v = make(map[int16]float64, containerLen)
  19781. } else {
  19782. v = make(map[int16]float64) // supports indefinite-length, etc
  19783. }
  19784. changed = true
  19785. }
  19786. if containerLen > 0 {
  19787. for j := 0; j < containerLen; j++ {
  19788. mk := int16(dd.DecodeInt(16))
  19789. mv := v[mk]
  19790. mv = dd.DecodeFloat(false)
  19791. if v != nil {
  19792. v[mk] = mv
  19793. }
  19794. }
  19795. } else if containerLen < 0 {
  19796. for j := 0; !dd.CheckBreak(); j++ {
  19797. mk := int16(dd.DecodeInt(16))
  19798. mv := v[mk]
  19799. mv = dd.DecodeFloat(false)
  19800. if v != nil {
  19801. v[mk] = mv
  19802. }
  19803. }
  19804. dd.ReadEnd()
  19805. }
  19806. return v, changed
  19807. }
  19808. func (f decFnInfo) fastpathDecMapInt16BoolR(rv reflect.Value) {
  19809. if rv.CanAddr() {
  19810. vp := rv.Addr().Interface().(*map[int16]bool)
  19811. v, changed := fastpathTV.DecMapInt16BoolV(*vp, fastpathCheckNilFalse, true, f.d)
  19812. if changed {
  19813. *vp = v
  19814. }
  19815. } else {
  19816. v := rv.Interface().(map[int16]bool)
  19817. fastpathTV.DecMapInt16BoolV(v, fastpathCheckNilFalse, false, f.d)
  19818. }
  19819. }
  19820. func (f fastpathT) DecMapInt16BoolX(vp *map[int16]bool, checkNil bool, d *Decoder) {
  19821. v, changed := f.DecMapInt16BoolV(*vp, checkNil, true, d)
  19822. if changed {
  19823. *vp = v
  19824. }
  19825. }
  19826. func (_ fastpathT) DecMapInt16BoolV(v map[int16]bool, checkNil bool, canChange bool,
  19827. d *Decoder) (_ map[int16]bool, changed bool) {
  19828. dd := d.d
  19829. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  19830. if checkNil && dd.TryDecodeAsNil() {
  19831. if v != nil {
  19832. changed = true
  19833. }
  19834. return nil, changed
  19835. }
  19836. containerLen := dd.ReadMapStart()
  19837. if canChange && v == nil {
  19838. if containerLen > 0 {
  19839. v = make(map[int16]bool, containerLen)
  19840. } else {
  19841. v = make(map[int16]bool) // supports indefinite-length, etc
  19842. }
  19843. changed = true
  19844. }
  19845. if containerLen > 0 {
  19846. for j := 0; j < containerLen; j++ {
  19847. mk := int16(dd.DecodeInt(16))
  19848. mv := v[mk]
  19849. mv = dd.DecodeBool()
  19850. if v != nil {
  19851. v[mk] = mv
  19852. }
  19853. }
  19854. } else if containerLen < 0 {
  19855. for j := 0; !dd.CheckBreak(); j++ {
  19856. mk := int16(dd.DecodeInt(16))
  19857. mv := v[mk]
  19858. mv = dd.DecodeBool()
  19859. if v != nil {
  19860. v[mk] = mv
  19861. }
  19862. }
  19863. dd.ReadEnd()
  19864. }
  19865. return v, changed
  19866. }
  19867. func (f decFnInfo) fastpathDecMapInt32IntfR(rv reflect.Value) {
  19868. if rv.CanAddr() {
  19869. vp := rv.Addr().Interface().(*map[int32]interface{})
  19870. v, changed := fastpathTV.DecMapInt32IntfV(*vp, fastpathCheckNilFalse, true, f.d)
  19871. if changed {
  19872. *vp = v
  19873. }
  19874. } else {
  19875. v := rv.Interface().(map[int32]interface{})
  19876. fastpathTV.DecMapInt32IntfV(v, fastpathCheckNilFalse, false, f.d)
  19877. }
  19878. }
  19879. func (f fastpathT) DecMapInt32IntfX(vp *map[int32]interface{}, checkNil bool, d *Decoder) {
  19880. v, changed := f.DecMapInt32IntfV(*vp, checkNil, true, d)
  19881. if changed {
  19882. *vp = v
  19883. }
  19884. }
  19885. func (_ fastpathT) DecMapInt32IntfV(v map[int32]interface{}, checkNil bool, canChange bool,
  19886. d *Decoder) (_ map[int32]interface{}, changed bool) {
  19887. dd := d.d
  19888. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  19889. if checkNil && dd.TryDecodeAsNil() {
  19890. if v != nil {
  19891. changed = true
  19892. }
  19893. return nil, changed
  19894. }
  19895. containerLen := dd.ReadMapStart()
  19896. if canChange && v == nil {
  19897. if containerLen > 0 {
  19898. v = make(map[int32]interface{}, containerLen)
  19899. } else {
  19900. v = make(map[int32]interface{}) // supports indefinite-length, etc
  19901. }
  19902. changed = true
  19903. }
  19904. if containerLen > 0 {
  19905. for j := 0; j < containerLen; j++ {
  19906. mk := int32(dd.DecodeInt(32))
  19907. mv := v[mk]
  19908. d.decode(&mv)
  19909. if v != nil {
  19910. v[mk] = mv
  19911. }
  19912. }
  19913. } else if containerLen < 0 {
  19914. for j := 0; !dd.CheckBreak(); j++ {
  19915. mk := int32(dd.DecodeInt(32))
  19916. mv := v[mk]
  19917. d.decode(&mv)
  19918. if v != nil {
  19919. v[mk] = mv
  19920. }
  19921. }
  19922. dd.ReadEnd()
  19923. }
  19924. return v, changed
  19925. }
  19926. func (f decFnInfo) fastpathDecMapInt32StringR(rv reflect.Value) {
  19927. if rv.CanAddr() {
  19928. vp := rv.Addr().Interface().(*map[int32]string)
  19929. v, changed := fastpathTV.DecMapInt32StringV(*vp, fastpathCheckNilFalse, true, f.d)
  19930. if changed {
  19931. *vp = v
  19932. }
  19933. } else {
  19934. v := rv.Interface().(map[int32]string)
  19935. fastpathTV.DecMapInt32StringV(v, fastpathCheckNilFalse, false, f.d)
  19936. }
  19937. }
  19938. func (f fastpathT) DecMapInt32StringX(vp *map[int32]string, checkNil bool, d *Decoder) {
  19939. v, changed := f.DecMapInt32StringV(*vp, checkNil, true, d)
  19940. if changed {
  19941. *vp = v
  19942. }
  19943. }
  19944. func (_ fastpathT) DecMapInt32StringV(v map[int32]string, checkNil bool, canChange bool,
  19945. d *Decoder) (_ map[int32]string, changed bool) {
  19946. dd := d.d
  19947. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  19948. if checkNil && dd.TryDecodeAsNil() {
  19949. if v != nil {
  19950. changed = true
  19951. }
  19952. return nil, changed
  19953. }
  19954. containerLen := dd.ReadMapStart()
  19955. if canChange && v == nil {
  19956. if containerLen > 0 {
  19957. v = make(map[int32]string, containerLen)
  19958. } else {
  19959. v = make(map[int32]string) // supports indefinite-length, etc
  19960. }
  19961. changed = true
  19962. }
  19963. if containerLen > 0 {
  19964. for j := 0; j < containerLen; j++ {
  19965. mk := int32(dd.DecodeInt(32))
  19966. mv := v[mk]
  19967. mv = dd.DecodeString()
  19968. if v != nil {
  19969. v[mk] = mv
  19970. }
  19971. }
  19972. } else if containerLen < 0 {
  19973. for j := 0; !dd.CheckBreak(); j++ {
  19974. mk := int32(dd.DecodeInt(32))
  19975. mv := v[mk]
  19976. mv = dd.DecodeString()
  19977. if v != nil {
  19978. v[mk] = mv
  19979. }
  19980. }
  19981. dd.ReadEnd()
  19982. }
  19983. return v, changed
  19984. }
  19985. func (f decFnInfo) fastpathDecMapInt32UintR(rv reflect.Value) {
  19986. if rv.CanAddr() {
  19987. vp := rv.Addr().Interface().(*map[int32]uint)
  19988. v, changed := fastpathTV.DecMapInt32UintV(*vp, fastpathCheckNilFalse, true, f.d)
  19989. if changed {
  19990. *vp = v
  19991. }
  19992. } else {
  19993. v := rv.Interface().(map[int32]uint)
  19994. fastpathTV.DecMapInt32UintV(v, fastpathCheckNilFalse, false, f.d)
  19995. }
  19996. }
  19997. func (f fastpathT) DecMapInt32UintX(vp *map[int32]uint, checkNil bool, d *Decoder) {
  19998. v, changed := f.DecMapInt32UintV(*vp, checkNil, true, d)
  19999. if changed {
  20000. *vp = v
  20001. }
  20002. }
  20003. func (_ fastpathT) DecMapInt32UintV(v map[int32]uint, checkNil bool, canChange bool,
  20004. d *Decoder) (_ map[int32]uint, changed bool) {
  20005. dd := d.d
  20006. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  20007. if checkNil && dd.TryDecodeAsNil() {
  20008. if v != nil {
  20009. changed = true
  20010. }
  20011. return nil, changed
  20012. }
  20013. containerLen := dd.ReadMapStart()
  20014. if canChange && v == nil {
  20015. if containerLen > 0 {
  20016. v = make(map[int32]uint, containerLen)
  20017. } else {
  20018. v = make(map[int32]uint) // supports indefinite-length, etc
  20019. }
  20020. changed = true
  20021. }
  20022. if containerLen > 0 {
  20023. for j := 0; j < containerLen; j++ {
  20024. mk := int32(dd.DecodeInt(32))
  20025. mv := v[mk]
  20026. mv = uint(dd.DecodeUint(uintBitsize))
  20027. if v != nil {
  20028. v[mk] = mv
  20029. }
  20030. }
  20031. } else if containerLen < 0 {
  20032. for j := 0; !dd.CheckBreak(); j++ {
  20033. mk := int32(dd.DecodeInt(32))
  20034. mv := v[mk]
  20035. mv = uint(dd.DecodeUint(uintBitsize))
  20036. if v != nil {
  20037. v[mk] = mv
  20038. }
  20039. }
  20040. dd.ReadEnd()
  20041. }
  20042. return v, changed
  20043. }
  20044. func (f decFnInfo) fastpathDecMapInt32Uint8R(rv reflect.Value) {
  20045. if rv.CanAddr() {
  20046. vp := rv.Addr().Interface().(*map[int32]uint8)
  20047. v, changed := fastpathTV.DecMapInt32Uint8V(*vp, fastpathCheckNilFalse, true, f.d)
  20048. if changed {
  20049. *vp = v
  20050. }
  20051. } else {
  20052. v := rv.Interface().(map[int32]uint8)
  20053. fastpathTV.DecMapInt32Uint8V(v, fastpathCheckNilFalse, false, f.d)
  20054. }
  20055. }
  20056. func (f fastpathT) DecMapInt32Uint8X(vp *map[int32]uint8, checkNil bool, d *Decoder) {
  20057. v, changed := f.DecMapInt32Uint8V(*vp, checkNil, true, d)
  20058. if changed {
  20059. *vp = v
  20060. }
  20061. }
  20062. func (_ fastpathT) DecMapInt32Uint8V(v map[int32]uint8, checkNil bool, canChange bool,
  20063. d *Decoder) (_ map[int32]uint8, changed bool) {
  20064. dd := d.d
  20065. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  20066. if checkNil && dd.TryDecodeAsNil() {
  20067. if v != nil {
  20068. changed = true
  20069. }
  20070. return nil, changed
  20071. }
  20072. containerLen := dd.ReadMapStart()
  20073. if canChange && v == nil {
  20074. if containerLen > 0 {
  20075. v = make(map[int32]uint8, containerLen)
  20076. } else {
  20077. v = make(map[int32]uint8) // supports indefinite-length, etc
  20078. }
  20079. changed = true
  20080. }
  20081. if containerLen > 0 {
  20082. for j := 0; j < containerLen; j++ {
  20083. mk := int32(dd.DecodeInt(32))
  20084. mv := v[mk]
  20085. mv = uint8(dd.DecodeUint(8))
  20086. if v != nil {
  20087. v[mk] = mv
  20088. }
  20089. }
  20090. } else if containerLen < 0 {
  20091. for j := 0; !dd.CheckBreak(); j++ {
  20092. mk := int32(dd.DecodeInt(32))
  20093. mv := v[mk]
  20094. mv = uint8(dd.DecodeUint(8))
  20095. if v != nil {
  20096. v[mk] = mv
  20097. }
  20098. }
  20099. dd.ReadEnd()
  20100. }
  20101. return v, changed
  20102. }
  20103. func (f decFnInfo) fastpathDecMapInt32Uint16R(rv reflect.Value) {
  20104. if rv.CanAddr() {
  20105. vp := rv.Addr().Interface().(*map[int32]uint16)
  20106. v, changed := fastpathTV.DecMapInt32Uint16V(*vp, fastpathCheckNilFalse, true, f.d)
  20107. if changed {
  20108. *vp = v
  20109. }
  20110. } else {
  20111. v := rv.Interface().(map[int32]uint16)
  20112. fastpathTV.DecMapInt32Uint16V(v, fastpathCheckNilFalse, false, f.d)
  20113. }
  20114. }
  20115. func (f fastpathT) DecMapInt32Uint16X(vp *map[int32]uint16, checkNil bool, d *Decoder) {
  20116. v, changed := f.DecMapInt32Uint16V(*vp, checkNil, true, d)
  20117. if changed {
  20118. *vp = v
  20119. }
  20120. }
  20121. func (_ fastpathT) DecMapInt32Uint16V(v map[int32]uint16, checkNil bool, canChange bool,
  20122. d *Decoder) (_ map[int32]uint16, changed bool) {
  20123. dd := d.d
  20124. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  20125. if checkNil && dd.TryDecodeAsNil() {
  20126. if v != nil {
  20127. changed = true
  20128. }
  20129. return nil, changed
  20130. }
  20131. containerLen := dd.ReadMapStart()
  20132. if canChange && v == nil {
  20133. if containerLen > 0 {
  20134. v = make(map[int32]uint16, containerLen)
  20135. } else {
  20136. v = make(map[int32]uint16) // supports indefinite-length, etc
  20137. }
  20138. changed = true
  20139. }
  20140. if containerLen > 0 {
  20141. for j := 0; j < containerLen; j++ {
  20142. mk := int32(dd.DecodeInt(32))
  20143. mv := v[mk]
  20144. mv = uint16(dd.DecodeUint(16))
  20145. if v != nil {
  20146. v[mk] = mv
  20147. }
  20148. }
  20149. } else if containerLen < 0 {
  20150. for j := 0; !dd.CheckBreak(); j++ {
  20151. mk := int32(dd.DecodeInt(32))
  20152. mv := v[mk]
  20153. mv = uint16(dd.DecodeUint(16))
  20154. if v != nil {
  20155. v[mk] = mv
  20156. }
  20157. }
  20158. dd.ReadEnd()
  20159. }
  20160. return v, changed
  20161. }
  20162. func (f decFnInfo) fastpathDecMapInt32Uint32R(rv reflect.Value) {
  20163. if rv.CanAddr() {
  20164. vp := rv.Addr().Interface().(*map[int32]uint32)
  20165. v, changed := fastpathTV.DecMapInt32Uint32V(*vp, fastpathCheckNilFalse, true, f.d)
  20166. if changed {
  20167. *vp = v
  20168. }
  20169. } else {
  20170. v := rv.Interface().(map[int32]uint32)
  20171. fastpathTV.DecMapInt32Uint32V(v, fastpathCheckNilFalse, false, f.d)
  20172. }
  20173. }
  20174. func (f fastpathT) DecMapInt32Uint32X(vp *map[int32]uint32, checkNil bool, d *Decoder) {
  20175. v, changed := f.DecMapInt32Uint32V(*vp, checkNil, true, d)
  20176. if changed {
  20177. *vp = v
  20178. }
  20179. }
  20180. func (_ fastpathT) DecMapInt32Uint32V(v map[int32]uint32, checkNil bool, canChange bool,
  20181. d *Decoder) (_ map[int32]uint32, changed bool) {
  20182. dd := d.d
  20183. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  20184. if checkNil && dd.TryDecodeAsNil() {
  20185. if v != nil {
  20186. changed = true
  20187. }
  20188. return nil, changed
  20189. }
  20190. containerLen := dd.ReadMapStart()
  20191. if canChange && v == nil {
  20192. if containerLen > 0 {
  20193. v = make(map[int32]uint32, containerLen)
  20194. } else {
  20195. v = make(map[int32]uint32) // supports indefinite-length, etc
  20196. }
  20197. changed = true
  20198. }
  20199. if containerLen > 0 {
  20200. for j := 0; j < containerLen; j++ {
  20201. mk := int32(dd.DecodeInt(32))
  20202. mv := v[mk]
  20203. mv = uint32(dd.DecodeUint(32))
  20204. if v != nil {
  20205. v[mk] = mv
  20206. }
  20207. }
  20208. } else if containerLen < 0 {
  20209. for j := 0; !dd.CheckBreak(); j++ {
  20210. mk := int32(dd.DecodeInt(32))
  20211. mv := v[mk]
  20212. mv = uint32(dd.DecodeUint(32))
  20213. if v != nil {
  20214. v[mk] = mv
  20215. }
  20216. }
  20217. dd.ReadEnd()
  20218. }
  20219. return v, changed
  20220. }
  20221. func (f decFnInfo) fastpathDecMapInt32Uint64R(rv reflect.Value) {
  20222. if rv.CanAddr() {
  20223. vp := rv.Addr().Interface().(*map[int32]uint64)
  20224. v, changed := fastpathTV.DecMapInt32Uint64V(*vp, fastpathCheckNilFalse, true, f.d)
  20225. if changed {
  20226. *vp = v
  20227. }
  20228. } else {
  20229. v := rv.Interface().(map[int32]uint64)
  20230. fastpathTV.DecMapInt32Uint64V(v, fastpathCheckNilFalse, false, f.d)
  20231. }
  20232. }
  20233. func (f fastpathT) DecMapInt32Uint64X(vp *map[int32]uint64, checkNil bool, d *Decoder) {
  20234. v, changed := f.DecMapInt32Uint64V(*vp, checkNil, true, d)
  20235. if changed {
  20236. *vp = v
  20237. }
  20238. }
  20239. func (_ fastpathT) DecMapInt32Uint64V(v map[int32]uint64, checkNil bool, canChange bool,
  20240. d *Decoder) (_ map[int32]uint64, changed bool) {
  20241. dd := d.d
  20242. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  20243. if checkNil && dd.TryDecodeAsNil() {
  20244. if v != nil {
  20245. changed = true
  20246. }
  20247. return nil, changed
  20248. }
  20249. containerLen := dd.ReadMapStart()
  20250. if canChange && v == nil {
  20251. if containerLen > 0 {
  20252. v = make(map[int32]uint64, containerLen)
  20253. } else {
  20254. v = make(map[int32]uint64) // supports indefinite-length, etc
  20255. }
  20256. changed = true
  20257. }
  20258. if containerLen > 0 {
  20259. for j := 0; j < containerLen; j++ {
  20260. mk := int32(dd.DecodeInt(32))
  20261. mv := v[mk]
  20262. mv = dd.DecodeUint(64)
  20263. if v != nil {
  20264. v[mk] = mv
  20265. }
  20266. }
  20267. } else if containerLen < 0 {
  20268. for j := 0; !dd.CheckBreak(); j++ {
  20269. mk := int32(dd.DecodeInt(32))
  20270. mv := v[mk]
  20271. mv = dd.DecodeUint(64)
  20272. if v != nil {
  20273. v[mk] = mv
  20274. }
  20275. }
  20276. dd.ReadEnd()
  20277. }
  20278. return v, changed
  20279. }
  20280. func (f decFnInfo) fastpathDecMapInt32IntR(rv reflect.Value) {
  20281. if rv.CanAddr() {
  20282. vp := rv.Addr().Interface().(*map[int32]int)
  20283. v, changed := fastpathTV.DecMapInt32IntV(*vp, fastpathCheckNilFalse, true, f.d)
  20284. if changed {
  20285. *vp = v
  20286. }
  20287. } else {
  20288. v := rv.Interface().(map[int32]int)
  20289. fastpathTV.DecMapInt32IntV(v, fastpathCheckNilFalse, false, f.d)
  20290. }
  20291. }
  20292. func (f fastpathT) DecMapInt32IntX(vp *map[int32]int, checkNil bool, d *Decoder) {
  20293. v, changed := f.DecMapInt32IntV(*vp, checkNil, true, d)
  20294. if changed {
  20295. *vp = v
  20296. }
  20297. }
  20298. func (_ fastpathT) DecMapInt32IntV(v map[int32]int, checkNil bool, canChange bool,
  20299. d *Decoder) (_ map[int32]int, changed bool) {
  20300. dd := d.d
  20301. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  20302. if checkNil && dd.TryDecodeAsNil() {
  20303. if v != nil {
  20304. changed = true
  20305. }
  20306. return nil, changed
  20307. }
  20308. containerLen := dd.ReadMapStart()
  20309. if canChange && v == nil {
  20310. if containerLen > 0 {
  20311. v = make(map[int32]int, containerLen)
  20312. } else {
  20313. v = make(map[int32]int) // supports indefinite-length, etc
  20314. }
  20315. changed = true
  20316. }
  20317. if containerLen > 0 {
  20318. for j := 0; j < containerLen; j++ {
  20319. mk := int32(dd.DecodeInt(32))
  20320. mv := v[mk]
  20321. mv = int(dd.DecodeInt(intBitsize))
  20322. if v != nil {
  20323. v[mk] = mv
  20324. }
  20325. }
  20326. } else if containerLen < 0 {
  20327. for j := 0; !dd.CheckBreak(); j++ {
  20328. mk := int32(dd.DecodeInt(32))
  20329. mv := v[mk]
  20330. mv = int(dd.DecodeInt(intBitsize))
  20331. if v != nil {
  20332. v[mk] = mv
  20333. }
  20334. }
  20335. dd.ReadEnd()
  20336. }
  20337. return v, changed
  20338. }
  20339. func (f decFnInfo) fastpathDecMapInt32Int8R(rv reflect.Value) {
  20340. if rv.CanAddr() {
  20341. vp := rv.Addr().Interface().(*map[int32]int8)
  20342. v, changed := fastpathTV.DecMapInt32Int8V(*vp, fastpathCheckNilFalse, true, f.d)
  20343. if changed {
  20344. *vp = v
  20345. }
  20346. } else {
  20347. v := rv.Interface().(map[int32]int8)
  20348. fastpathTV.DecMapInt32Int8V(v, fastpathCheckNilFalse, false, f.d)
  20349. }
  20350. }
  20351. func (f fastpathT) DecMapInt32Int8X(vp *map[int32]int8, checkNil bool, d *Decoder) {
  20352. v, changed := f.DecMapInt32Int8V(*vp, checkNil, true, d)
  20353. if changed {
  20354. *vp = v
  20355. }
  20356. }
  20357. func (_ fastpathT) DecMapInt32Int8V(v map[int32]int8, checkNil bool, canChange bool,
  20358. d *Decoder) (_ map[int32]int8, changed bool) {
  20359. dd := d.d
  20360. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  20361. if checkNil && dd.TryDecodeAsNil() {
  20362. if v != nil {
  20363. changed = true
  20364. }
  20365. return nil, changed
  20366. }
  20367. containerLen := dd.ReadMapStart()
  20368. if canChange && v == nil {
  20369. if containerLen > 0 {
  20370. v = make(map[int32]int8, containerLen)
  20371. } else {
  20372. v = make(map[int32]int8) // supports indefinite-length, etc
  20373. }
  20374. changed = true
  20375. }
  20376. if containerLen > 0 {
  20377. for j := 0; j < containerLen; j++ {
  20378. mk := int32(dd.DecodeInt(32))
  20379. mv := v[mk]
  20380. mv = int8(dd.DecodeInt(8))
  20381. if v != nil {
  20382. v[mk] = mv
  20383. }
  20384. }
  20385. } else if containerLen < 0 {
  20386. for j := 0; !dd.CheckBreak(); j++ {
  20387. mk := int32(dd.DecodeInt(32))
  20388. mv := v[mk]
  20389. mv = int8(dd.DecodeInt(8))
  20390. if v != nil {
  20391. v[mk] = mv
  20392. }
  20393. }
  20394. dd.ReadEnd()
  20395. }
  20396. return v, changed
  20397. }
  20398. func (f decFnInfo) fastpathDecMapInt32Int16R(rv reflect.Value) {
  20399. if rv.CanAddr() {
  20400. vp := rv.Addr().Interface().(*map[int32]int16)
  20401. v, changed := fastpathTV.DecMapInt32Int16V(*vp, fastpathCheckNilFalse, true, f.d)
  20402. if changed {
  20403. *vp = v
  20404. }
  20405. } else {
  20406. v := rv.Interface().(map[int32]int16)
  20407. fastpathTV.DecMapInt32Int16V(v, fastpathCheckNilFalse, false, f.d)
  20408. }
  20409. }
  20410. func (f fastpathT) DecMapInt32Int16X(vp *map[int32]int16, checkNil bool, d *Decoder) {
  20411. v, changed := f.DecMapInt32Int16V(*vp, checkNil, true, d)
  20412. if changed {
  20413. *vp = v
  20414. }
  20415. }
  20416. func (_ fastpathT) DecMapInt32Int16V(v map[int32]int16, checkNil bool, canChange bool,
  20417. d *Decoder) (_ map[int32]int16, changed bool) {
  20418. dd := d.d
  20419. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  20420. if checkNil && dd.TryDecodeAsNil() {
  20421. if v != nil {
  20422. changed = true
  20423. }
  20424. return nil, changed
  20425. }
  20426. containerLen := dd.ReadMapStart()
  20427. if canChange && v == nil {
  20428. if containerLen > 0 {
  20429. v = make(map[int32]int16, containerLen)
  20430. } else {
  20431. v = make(map[int32]int16) // supports indefinite-length, etc
  20432. }
  20433. changed = true
  20434. }
  20435. if containerLen > 0 {
  20436. for j := 0; j < containerLen; j++ {
  20437. mk := int32(dd.DecodeInt(32))
  20438. mv := v[mk]
  20439. mv = int16(dd.DecodeInt(16))
  20440. if v != nil {
  20441. v[mk] = mv
  20442. }
  20443. }
  20444. } else if containerLen < 0 {
  20445. for j := 0; !dd.CheckBreak(); j++ {
  20446. mk := int32(dd.DecodeInt(32))
  20447. mv := v[mk]
  20448. mv = int16(dd.DecodeInt(16))
  20449. if v != nil {
  20450. v[mk] = mv
  20451. }
  20452. }
  20453. dd.ReadEnd()
  20454. }
  20455. return v, changed
  20456. }
  20457. func (f decFnInfo) fastpathDecMapInt32Int32R(rv reflect.Value) {
  20458. if rv.CanAddr() {
  20459. vp := rv.Addr().Interface().(*map[int32]int32)
  20460. v, changed := fastpathTV.DecMapInt32Int32V(*vp, fastpathCheckNilFalse, true, f.d)
  20461. if changed {
  20462. *vp = v
  20463. }
  20464. } else {
  20465. v := rv.Interface().(map[int32]int32)
  20466. fastpathTV.DecMapInt32Int32V(v, fastpathCheckNilFalse, false, f.d)
  20467. }
  20468. }
  20469. func (f fastpathT) DecMapInt32Int32X(vp *map[int32]int32, checkNil bool, d *Decoder) {
  20470. v, changed := f.DecMapInt32Int32V(*vp, checkNil, true, d)
  20471. if changed {
  20472. *vp = v
  20473. }
  20474. }
  20475. func (_ fastpathT) DecMapInt32Int32V(v map[int32]int32, checkNil bool, canChange bool,
  20476. d *Decoder) (_ map[int32]int32, changed bool) {
  20477. dd := d.d
  20478. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  20479. if checkNil && dd.TryDecodeAsNil() {
  20480. if v != nil {
  20481. changed = true
  20482. }
  20483. return nil, changed
  20484. }
  20485. containerLen := dd.ReadMapStart()
  20486. if canChange && v == nil {
  20487. if containerLen > 0 {
  20488. v = make(map[int32]int32, containerLen)
  20489. } else {
  20490. v = make(map[int32]int32) // supports indefinite-length, etc
  20491. }
  20492. changed = true
  20493. }
  20494. if containerLen > 0 {
  20495. for j := 0; j < containerLen; j++ {
  20496. mk := int32(dd.DecodeInt(32))
  20497. mv := v[mk]
  20498. mv = int32(dd.DecodeInt(32))
  20499. if v != nil {
  20500. v[mk] = mv
  20501. }
  20502. }
  20503. } else if containerLen < 0 {
  20504. for j := 0; !dd.CheckBreak(); j++ {
  20505. mk := int32(dd.DecodeInt(32))
  20506. mv := v[mk]
  20507. mv = int32(dd.DecodeInt(32))
  20508. if v != nil {
  20509. v[mk] = mv
  20510. }
  20511. }
  20512. dd.ReadEnd()
  20513. }
  20514. return v, changed
  20515. }
  20516. func (f decFnInfo) fastpathDecMapInt32Int64R(rv reflect.Value) {
  20517. if rv.CanAddr() {
  20518. vp := rv.Addr().Interface().(*map[int32]int64)
  20519. v, changed := fastpathTV.DecMapInt32Int64V(*vp, fastpathCheckNilFalse, true, f.d)
  20520. if changed {
  20521. *vp = v
  20522. }
  20523. } else {
  20524. v := rv.Interface().(map[int32]int64)
  20525. fastpathTV.DecMapInt32Int64V(v, fastpathCheckNilFalse, false, f.d)
  20526. }
  20527. }
  20528. func (f fastpathT) DecMapInt32Int64X(vp *map[int32]int64, checkNil bool, d *Decoder) {
  20529. v, changed := f.DecMapInt32Int64V(*vp, checkNil, true, d)
  20530. if changed {
  20531. *vp = v
  20532. }
  20533. }
  20534. func (_ fastpathT) DecMapInt32Int64V(v map[int32]int64, checkNil bool, canChange bool,
  20535. d *Decoder) (_ map[int32]int64, changed bool) {
  20536. dd := d.d
  20537. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  20538. if checkNil && dd.TryDecodeAsNil() {
  20539. if v != nil {
  20540. changed = true
  20541. }
  20542. return nil, changed
  20543. }
  20544. containerLen := dd.ReadMapStart()
  20545. if canChange && v == nil {
  20546. if containerLen > 0 {
  20547. v = make(map[int32]int64, containerLen)
  20548. } else {
  20549. v = make(map[int32]int64) // supports indefinite-length, etc
  20550. }
  20551. changed = true
  20552. }
  20553. if containerLen > 0 {
  20554. for j := 0; j < containerLen; j++ {
  20555. mk := int32(dd.DecodeInt(32))
  20556. mv := v[mk]
  20557. mv = dd.DecodeInt(64)
  20558. if v != nil {
  20559. v[mk] = mv
  20560. }
  20561. }
  20562. } else if containerLen < 0 {
  20563. for j := 0; !dd.CheckBreak(); j++ {
  20564. mk := int32(dd.DecodeInt(32))
  20565. mv := v[mk]
  20566. mv = dd.DecodeInt(64)
  20567. if v != nil {
  20568. v[mk] = mv
  20569. }
  20570. }
  20571. dd.ReadEnd()
  20572. }
  20573. return v, changed
  20574. }
  20575. func (f decFnInfo) fastpathDecMapInt32Float32R(rv reflect.Value) {
  20576. if rv.CanAddr() {
  20577. vp := rv.Addr().Interface().(*map[int32]float32)
  20578. v, changed := fastpathTV.DecMapInt32Float32V(*vp, fastpathCheckNilFalse, true, f.d)
  20579. if changed {
  20580. *vp = v
  20581. }
  20582. } else {
  20583. v := rv.Interface().(map[int32]float32)
  20584. fastpathTV.DecMapInt32Float32V(v, fastpathCheckNilFalse, false, f.d)
  20585. }
  20586. }
  20587. func (f fastpathT) DecMapInt32Float32X(vp *map[int32]float32, checkNil bool, d *Decoder) {
  20588. v, changed := f.DecMapInt32Float32V(*vp, checkNil, true, d)
  20589. if changed {
  20590. *vp = v
  20591. }
  20592. }
  20593. func (_ fastpathT) DecMapInt32Float32V(v map[int32]float32, checkNil bool, canChange bool,
  20594. d *Decoder) (_ map[int32]float32, changed bool) {
  20595. dd := d.d
  20596. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  20597. if checkNil && dd.TryDecodeAsNil() {
  20598. if v != nil {
  20599. changed = true
  20600. }
  20601. return nil, changed
  20602. }
  20603. containerLen := dd.ReadMapStart()
  20604. if canChange && v == nil {
  20605. if containerLen > 0 {
  20606. v = make(map[int32]float32, containerLen)
  20607. } else {
  20608. v = make(map[int32]float32) // supports indefinite-length, etc
  20609. }
  20610. changed = true
  20611. }
  20612. if containerLen > 0 {
  20613. for j := 0; j < containerLen; j++ {
  20614. mk := int32(dd.DecodeInt(32))
  20615. mv := v[mk]
  20616. mv = float32(dd.DecodeFloat(true))
  20617. if v != nil {
  20618. v[mk] = mv
  20619. }
  20620. }
  20621. } else if containerLen < 0 {
  20622. for j := 0; !dd.CheckBreak(); j++ {
  20623. mk := int32(dd.DecodeInt(32))
  20624. mv := v[mk]
  20625. mv = float32(dd.DecodeFloat(true))
  20626. if v != nil {
  20627. v[mk] = mv
  20628. }
  20629. }
  20630. dd.ReadEnd()
  20631. }
  20632. return v, changed
  20633. }
  20634. func (f decFnInfo) fastpathDecMapInt32Float64R(rv reflect.Value) {
  20635. if rv.CanAddr() {
  20636. vp := rv.Addr().Interface().(*map[int32]float64)
  20637. v, changed := fastpathTV.DecMapInt32Float64V(*vp, fastpathCheckNilFalse, true, f.d)
  20638. if changed {
  20639. *vp = v
  20640. }
  20641. } else {
  20642. v := rv.Interface().(map[int32]float64)
  20643. fastpathTV.DecMapInt32Float64V(v, fastpathCheckNilFalse, false, f.d)
  20644. }
  20645. }
  20646. func (f fastpathT) DecMapInt32Float64X(vp *map[int32]float64, checkNil bool, d *Decoder) {
  20647. v, changed := f.DecMapInt32Float64V(*vp, checkNil, true, d)
  20648. if changed {
  20649. *vp = v
  20650. }
  20651. }
  20652. func (_ fastpathT) DecMapInt32Float64V(v map[int32]float64, checkNil bool, canChange bool,
  20653. d *Decoder) (_ map[int32]float64, changed bool) {
  20654. dd := d.d
  20655. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  20656. if checkNil && dd.TryDecodeAsNil() {
  20657. if v != nil {
  20658. changed = true
  20659. }
  20660. return nil, changed
  20661. }
  20662. containerLen := dd.ReadMapStart()
  20663. if canChange && v == nil {
  20664. if containerLen > 0 {
  20665. v = make(map[int32]float64, containerLen)
  20666. } else {
  20667. v = make(map[int32]float64) // supports indefinite-length, etc
  20668. }
  20669. changed = true
  20670. }
  20671. if containerLen > 0 {
  20672. for j := 0; j < containerLen; j++ {
  20673. mk := int32(dd.DecodeInt(32))
  20674. mv := v[mk]
  20675. mv = dd.DecodeFloat(false)
  20676. if v != nil {
  20677. v[mk] = mv
  20678. }
  20679. }
  20680. } else if containerLen < 0 {
  20681. for j := 0; !dd.CheckBreak(); j++ {
  20682. mk := int32(dd.DecodeInt(32))
  20683. mv := v[mk]
  20684. mv = dd.DecodeFloat(false)
  20685. if v != nil {
  20686. v[mk] = mv
  20687. }
  20688. }
  20689. dd.ReadEnd()
  20690. }
  20691. return v, changed
  20692. }
  20693. func (f decFnInfo) fastpathDecMapInt32BoolR(rv reflect.Value) {
  20694. if rv.CanAddr() {
  20695. vp := rv.Addr().Interface().(*map[int32]bool)
  20696. v, changed := fastpathTV.DecMapInt32BoolV(*vp, fastpathCheckNilFalse, true, f.d)
  20697. if changed {
  20698. *vp = v
  20699. }
  20700. } else {
  20701. v := rv.Interface().(map[int32]bool)
  20702. fastpathTV.DecMapInt32BoolV(v, fastpathCheckNilFalse, false, f.d)
  20703. }
  20704. }
  20705. func (f fastpathT) DecMapInt32BoolX(vp *map[int32]bool, checkNil bool, d *Decoder) {
  20706. v, changed := f.DecMapInt32BoolV(*vp, checkNil, true, d)
  20707. if changed {
  20708. *vp = v
  20709. }
  20710. }
  20711. func (_ fastpathT) DecMapInt32BoolV(v map[int32]bool, checkNil bool, canChange bool,
  20712. d *Decoder) (_ map[int32]bool, changed bool) {
  20713. dd := d.d
  20714. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  20715. if checkNil && dd.TryDecodeAsNil() {
  20716. if v != nil {
  20717. changed = true
  20718. }
  20719. return nil, changed
  20720. }
  20721. containerLen := dd.ReadMapStart()
  20722. if canChange && v == nil {
  20723. if containerLen > 0 {
  20724. v = make(map[int32]bool, containerLen)
  20725. } else {
  20726. v = make(map[int32]bool) // supports indefinite-length, etc
  20727. }
  20728. changed = true
  20729. }
  20730. if containerLen > 0 {
  20731. for j := 0; j < containerLen; j++ {
  20732. mk := int32(dd.DecodeInt(32))
  20733. mv := v[mk]
  20734. mv = dd.DecodeBool()
  20735. if v != nil {
  20736. v[mk] = mv
  20737. }
  20738. }
  20739. } else if containerLen < 0 {
  20740. for j := 0; !dd.CheckBreak(); j++ {
  20741. mk := int32(dd.DecodeInt(32))
  20742. mv := v[mk]
  20743. mv = dd.DecodeBool()
  20744. if v != nil {
  20745. v[mk] = mv
  20746. }
  20747. }
  20748. dd.ReadEnd()
  20749. }
  20750. return v, changed
  20751. }
  20752. func (f decFnInfo) fastpathDecMapInt64IntfR(rv reflect.Value) {
  20753. if rv.CanAddr() {
  20754. vp := rv.Addr().Interface().(*map[int64]interface{})
  20755. v, changed := fastpathTV.DecMapInt64IntfV(*vp, fastpathCheckNilFalse, true, f.d)
  20756. if changed {
  20757. *vp = v
  20758. }
  20759. } else {
  20760. v := rv.Interface().(map[int64]interface{})
  20761. fastpathTV.DecMapInt64IntfV(v, fastpathCheckNilFalse, false, f.d)
  20762. }
  20763. }
  20764. func (f fastpathT) DecMapInt64IntfX(vp *map[int64]interface{}, checkNil bool, d *Decoder) {
  20765. v, changed := f.DecMapInt64IntfV(*vp, checkNil, true, d)
  20766. if changed {
  20767. *vp = v
  20768. }
  20769. }
  20770. func (_ fastpathT) DecMapInt64IntfV(v map[int64]interface{}, checkNil bool, canChange bool,
  20771. d *Decoder) (_ map[int64]interface{}, changed bool) {
  20772. dd := d.d
  20773. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  20774. if checkNil && dd.TryDecodeAsNil() {
  20775. if v != nil {
  20776. changed = true
  20777. }
  20778. return nil, changed
  20779. }
  20780. containerLen := dd.ReadMapStart()
  20781. if canChange && v == nil {
  20782. if containerLen > 0 {
  20783. v = make(map[int64]interface{}, containerLen)
  20784. } else {
  20785. v = make(map[int64]interface{}) // supports indefinite-length, etc
  20786. }
  20787. changed = true
  20788. }
  20789. if containerLen > 0 {
  20790. for j := 0; j < containerLen; j++ {
  20791. mk := dd.DecodeInt(64)
  20792. mv := v[mk]
  20793. d.decode(&mv)
  20794. if v != nil {
  20795. v[mk] = mv
  20796. }
  20797. }
  20798. } else if containerLen < 0 {
  20799. for j := 0; !dd.CheckBreak(); j++ {
  20800. mk := dd.DecodeInt(64)
  20801. mv := v[mk]
  20802. d.decode(&mv)
  20803. if v != nil {
  20804. v[mk] = mv
  20805. }
  20806. }
  20807. dd.ReadEnd()
  20808. }
  20809. return v, changed
  20810. }
  20811. func (f decFnInfo) fastpathDecMapInt64StringR(rv reflect.Value) {
  20812. if rv.CanAddr() {
  20813. vp := rv.Addr().Interface().(*map[int64]string)
  20814. v, changed := fastpathTV.DecMapInt64StringV(*vp, fastpathCheckNilFalse, true, f.d)
  20815. if changed {
  20816. *vp = v
  20817. }
  20818. } else {
  20819. v := rv.Interface().(map[int64]string)
  20820. fastpathTV.DecMapInt64StringV(v, fastpathCheckNilFalse, false, f.d)
  20821. }
  20822. }
  20823. func (f fastpathT) DecMapInt64StringX(vp *map[int64]string, checkNil bool, d *Decoder) {
  20824. v, changed := f.DecMapInt64StringV(*vp, checkNil, true, d)
  20825. if changed {
  20826. *vp = v
  20827. }
  20828. }
  20829. func (_ fastpathT) DecMapInt64StringV(v map[int64]string, checkNil bool, canChange bool,
  20830. d *Decoder) (_ map[int64]string, changed bool) {
  20831. dd := d.d
  20832. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  20833. if checkNil && dd.TryDecodeAsNil() {
  20834. if v != nil {
  20835. changed = true
  20836. }
  20837. return nil, changed
  20838. }
  20839. containerLen := dd.ReadMapStart()
  20840. if canChange && v == nil {
  20841. if containerLen > 0 {
  20842. v = make(map[int64]string, containerLen)
  20843. } else {
  20844. v = make(map[int64]string) // supports indefinite-length, etc
  20845. }
  20846. changed = true
  20847. }
  20848. if containerLen > 0 {
  20849. for j := 0; j < containerLen; j++ {
  20850. mk := dd.DecodeInt(64)
  20851. mv := v[mk]
  20852. mv = dd.DecodeString()
  20853. if v != nil {
  20854. v[mk] = mv
  20855. }
  20856. }
  20857. } else if containerLen < 0 {
  20858. for j := 0; !dd.CheckBreak(); j++ {
  20859. mk := dd.DecodeInt(64)
  20860. mv := v[mk]
  20861. mv = dd.DecodeString()
  20862. if v != nil {
  20863. v[mk] = mv
  20864. }
  20865. }
  20866. dd.ReadEnd()
  20867. }
  20868. return v, changed
  20869. }
  20870. func (f decFnInfo) fastpathDecMapInt64UintR(rv reflect.Value) {
  20871. if rv.CanAddr() {
  20872. vp := rv.Addr().Interface().(*map[int64]uint)
  20873. v, changed := fastpathTV.DecMapInt64UintV(*vp, fastpathCheckNilFalse, true, f.d)
  20874. if changed {
  20875. *vp = v
  20876. }
  20877. } else {
  20878. v := rv.Interface().(map[int64]uint)
  20879. fastpathTV.DecMapInt64UintV(v, fastpathCheckNilFalse, false, f.d)
  20880. }
  20881. }
  20882. func (f fastpathT) DecMapInt64UintX(vp *map[int64]uint, checkNil bool, d *Decoder) {
  20883. v, changed := f.DecMapInt64UintV(*vp, checkNil, true, d)
  20884. if changed {
  20885. *vp = v
  20886. }
  20887. }
  20888. func (_ fastpathT) DecMapInt64UintV(v map[int64]uint, checkNil bool, canChange bool,
  20889. d *Decoder) (_ map[int64]uint, changed bool) {
  20890. dd := d.d
  20891. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  20892. if checkNil && dd.TryDecodeAsNil() {
  20893. if v != nil {
  20894. changed = true
  20895. }
  20896. return nil, changed
  20897. }
  20898. containerLen := dd.ReadMapStart()
  20899. if canChange && v == nil {
  20900. if containerLen > 0 {
  20901. v = make(map[int64]uint, containerLen)
  20902. } else {
  20903. v = make(map[int64]uint) // supports indefinite-length, etc
  20904. }
  20905. changed = true
  20906. }
  20907. if containerLen > 0 {
  20908. for j := 0; j < containerLen; j++ {
  20909. mk := dd.DecodeInt(64)
  20910. mv := v[mk]
  20911. mv = uint(dd.DecodeUint(uintBitsize))
  20912. if v != nil {
  20913. v[mk] = mv
  20914. }
  20915. }
  20916. } else if containerLen < 0 {
  20917. for j := 0; !dd.CheckBreak(); j++ {
  20918. mk := dd.DecodeInt(64)
  20919. mv := v[mk]
  20920. mv = uint(dd.DecodeUint(uintBitsize))
  20921. if v != nil {
  20922. v[mk] = mv
  20923. }
  20924. }
  20925. dd.ReadEnd()
  20926. }
  20927. return v, changed
  20928. }
  20929. func (f decFnInfo) fastpathDecMapInt64Uint8R(rv reflect.Value) {
  20930. if rv.CanAddr() {
  20931. vp := rv.Addr().Interface().(*map[int64]uint8)
  20932. v, changed := fastpathTV.DecMapInt64Uint8V(*vp, fastpathCheckNilFalse, true, f.d)
  20933. if changed {
  20934. *vp = v
  20935. }
  20936. } else {
  20937. v := rv.Interface().(map[int64]uint8)
  20938. fastpathTV.DecMapInt64Uint8V(v, fastpathCheckNilFalse, false, f.d)
  20939. }
  20940. }
  20941. func (f fastpathT) DecMapInt64Uint8X(vp *map[int64]uint8, checkNil bool, d *Decoder) {
  20942. v, changed := f.DecMapInt64Uint8V(*vp, checkNil, true, d)
  20943. if changed {
  20944. *vp = v
  20945. }
  20946. }
  20947. func (_ fastpathT) DecMapInt64Uint8V(v map[int64]uint8, checkNil bool, canChange bool,
  20948. d *Decoder) (_ map[int64]uint8, changed bool) {
  20949. dd := d.d
  20950. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  20951. if checkNil && dd.TryDecodeAsNil() {
  20952. if v != nil {
  20953. changed = true
  20954. }
  20955. return nil, changed
  20956. }
  20957. containerLen := dd.ReadMapStart()
  20958. if canChange && v == nil {
  20959. if containerLen > 0 {
  20960. v = make(map[int64]uint8, containerLen)
  20961. } else {
  20962. v = make(map[int64]uint8) // supports indefinite-length, etc
  20963. }
  20964. changed = true
  20965. }
  20966. if containerLen > 0 {
  20967. for j := 0; j < containerLen; j++ {
  20968. mk := dd.DecodeInt(64)
  20969. mv := v[mk]
  20970. mv = uint8(dd.DecodeUint(8))
  20971. if v != nil {
  20972. v[mk] = mv
  20973. }
  20974. }
  20975. } else if containerLen < 0 {
  20976. for j := 0; !dd.CheckBreak(); j++ {
  20977. mk := dd.DecodeInt(64)
  20978. mv := v[mk]
  20979. mv = uint8(dd.DecodeUint(8))
  20980. if v != nil {
  20981. v[mk] = mv
  20982. }
  20983. }
  20984. dd.ReadEnd()
  20985. }
  20986. return v, changed
  20987. }
  20988. func (f decFnInfo) fastpathDecMapInt64Uint16R(rv reflect.Value) {
  20989. if rv.CanAddr() {
  20990. vp := rv.Addr().Interface().(*map[int64]uint16)
  20991. v, changed := fastpathTV.DecMapInt64Uint16V(*vp, fastpathCheckNilFalse, true, f.d)
  20992. if changed {
  20993. *vp = v
  20994. }
  20995. } else {
  20996. v := rv.Interface().(map[int64]uint16)
  20997. fastpathTV.DecMapInt64Uint16V(v, fastpathCheckNilFalse, false, f.d)
  20998. }
  20999. }
  21000. func (f fastpathT) DecMapInt64Uint16X(vp *map[int64]uint16, checkNil bool, d *Decoder) {
  21001. v, changed := f.DecMapInt64Uint16V(*vp, checkNil, true, d)
  21002. if changed {
  21003. *vp = v
  21004. }
  21005. }
  21006. func (_ fastpathT) DecMapInt64Uint16V(v map[int64]uint16, checkNil bool, canChange bool,
  21007. d *Decoder) (_ map[int64]uint16, changed bool) {
  21008. dd := d.d
  21009. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  21010. if checkNil && dd.TryDecodeAsNil() {
  21011. if v != nil {
  21012. changed = true
  21013. }
  21014. return nil, changed
  21015. }
  21016. containerLen := dd.ReadMapStart()
  21017. if canChange && v == nil {
  21018. if containerLen > 0 {
  21019. v = make(map[int64]uint16, containerLen)
  21020. } else {
  21021. v = make(map[int64]uint16) // supports indefinite-length, etc
  21022. }
  21023. changed = true
  21024. }
  21025. if containerLen > 0 {
  21026. for j := 0; j < containerLen; j++ {
  21027. mk := dd.DecodeInt(64)
  21028. mv := v[mk]
  21029. mv = uint16(dd.DecodeUint(16))
  21030. if v != nil {
  21031. v[mk] = mv
  21032. }
  21033. }
  21034. } else if containerLen < 0 {
  21035. for j := 0; !dd.CheckBreak(); j++ {
  21036. mk := dd.DecodeInt(64)
  21037. mv := v[mk]
  21038. mv = uint16(dd.DecodeUint(16))
  21039. if v != nil {
  21040. v[mk] = mv
  21041. }
  21042. }
  21043. dd.ReadEnd()
  21044. }
  21045. return v, changed
  21046. }
  21047. func (f decFnInfo) fastpathDecMapInt64Uint32R(rv reflect.Value) {
  21048. if rv.CanAddr() {
  21049. vp := rv.Addr().Interface().(*map[int64]uint32)
  21050. v, changed := fastpathTV.DecMapInt64Uint32V(*vp, fastpathCheckNilFalse, true, f.d)
  21051. if changed {
  21052. *vp = v
  21053. }
  21054. } else {
  21055. v := rv.Interface().(map[int64]uint32)
  21056. fastpathTV.DecMapInt64Uint32V(v, fastpathCheckNilFalse, false, f.d)
  21057. }
  21058. }
  21059. func (f fastpathT) DecMapInt64Uint32X(vp *map[int64]uint32, checkNil bool, d *Decoder) {
  21060. v, changed := f.DecMapInt64Uint32V(*vp, checkNil, true, d)
  21061. if changed {
  21062. *vp = v
  21063. }
  21064. }
  21065. func (_ fastpathT) DecMapInt64Uint32V(v map[int64]uint32, checkNil bool, canChange bool,
  21066. d *Decoder) (_ map[int64]uint32, changed bool) {
  21067. dd := d.d
  21068. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  21069. if checkNil && dd.TryDecodeAsNil() {
  21070. if v != nil {
  21071. changed = true
  21072. }
  21073. return nil, changed
  21074. }
  21075. containerLen := dd.ReadMapStart()
  21076. if canChange && v == nil {
  21077. if containerLen > 0 {
  21078. v = make(map[int64]uint32, containerLen)
  21079. } else {
  21080. v = make(map[int64]uint32) // supports indefinite-length, etc
  21081. }
  21082. changed = true
  21083. }
  21084. if containerLen > 0 {
  21085. for j := 0; j < containerLen; j++ {
  21086. mk := dd.DecodeInt(64)
  21087. mv := v[mk]
  21088. mv = uint32(dd.DecodeUint(32))
  21089. if v != nil {
  21090. v[mk] = mv
  21091. }
  21092. }
  21093. } else if containerLen < 0 {
  21094. for j := 0; !dd.CheckBreak(); j++ {
  21095. mk := dd.DecodeInt(64)
  21096. mv := v[mk]
  21097. mv = uint32(dd.DecodeUint(32))
  21098. if v != nil {
  21099. v[mk] = mv
  21100. }
  21101. }
  21102. dd.ReadEnd()
  21103. }
  21104. return v, changed
  21105. }
  21106. func (f decFnInfo) fastpathDecMapInt64Uint64R(rv reflect.Value) {
  21107. if rv.CanAddr() {
  21108. vp := rv.Addr().Interface().(*map[int64]uint64)
  21109. v, changed := fastpathTV.DecMapInt64Uint64V(*vp, fastpathCheckNilFalse, true, f.d)
  21110. if changed {
  21111. *vp = v
  21112. }
  21113. } else {
  21114. v := rv.Interface().(map[int64]uint64)
  21115. fastpathTV.DecMapInt64Uint64V(v, fastpathCheckNilFalse, false, f.d)
  21116. }
  21117. }
  21118. func (f fastpathT) DecMapInt64Uint64X(vp *map[int64]uint64, checkNil bool, d *Decoder) {
  21119. v, changed := f.DecMapInt64Uint64V(*vp, checkNil, true, d)
  21120. if changed {
  21121. *vp = v
  21122. }
  21123. }
  21124. func (_ fastpathT) DecMapInt64Uint64V(v map[int64]uint64, checkNil bool, canChange bool,
  21125. d *Decoder) (_ map[int64]uint64, changed bool) {
  21126. dd := d.d
  21127. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  21128. if checkNil && dd.TryDecodeAsNil() {
  21129. if v != nil {
  21130. changed = true
  21131. }
  21132. return nil, changed
  21133. }
  21134. containerLen := dd.ReadMapStart()
  21135. if canChange && v == nil {
  21136. if containerLen > 0 {
  21137. v = make(map[int64]uint64, containerLen)
  21138. } else {
  21139. v = make(map[int64]uint64) // supports indefinite-length, etc
  21140. }
  21141. changed = true
  21142. }
  21143. if containerLen > 0 {
  21144. for j := 0; j < containerLen; j++ {
  21145. mk := dd.DecodeInt(64)
  21146. mv := v[mk]
  21147. mv = dd.DecodeUint(64)
  21148. if v != nil {
  21149. v[mk] = mv
  21150. }
  21151. }
  21152. } else if containerLen < 0 {
  21153. for j := 0; !dd.CheckBreak(); j++ {
  21154. mk := dd.DecodeInt(64)
  21155. mv := v[mk]
  21156. mv = dd.DecodeUint(64)
  21157. if v != nil {
  21158. v[mk] = mv
  21159. }
  21160. }
  21161. dd.ReadEnd()
  21162. }
  21163. return v, changed
  21164. }
  21165. func (f decFnInfo) fastpathDecMapInt64IntR(rv reflect.Value) {
  21166. if rv.CanAddr() {
  21167. vp := rv.Addr().Interface().(*map[int64]int)
  21168. v, changed := fastpathTV.DecMapInt64IntV(*vp, fastpathCheckNilFalse, true, f.d)
  21169. if changed {
  21170. *vp = v
  21171. }
  21172. } else {
  21173. v := rv.Interface().(map[int64]int)
  21174. fastpathTV.DecMapInt64IntV(v, fastpathCheckNilFalse, false, f.d)
  21175. }
  21176. }
  21177. func (f fastpathT) DecMapInt64IntX(vp *map[int64]int, checkNil bool, d *Decoder) {
  21178. v, changed := f.DecMapInt64IntV(*vp, checkNil, true, d)
  21179. if changed {
  21180. *vp = v
  21181. }
  21182. }
  21183. func (_ fastpathT) DecMapInt64IntV(v map[int64]int, checkNil bool, canChange bool,
  21184. d *Decoder) (_ map[int64]int, changed bool) {
  21185. dd := d.d
  21186. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  21187. if checkNil && dd.TryDecodeAsNil() {
  21188. if v != nil {
  21189. changed = true
  21190. }
  21191. return nil, changed
  21192. }
  21193. containerLen := dd.ReadMapStart()
  21194. if canChange && v == nil {
  21195. if containerLen > 0 {
  21196. v = make(map[int64]int, containerLen)
  21197. } else {
  21198. v = make(map[int64]int) // supports indefinite-length, etc
  21199. }
  21200. changed = true
  21201. }
  21202. if containerLen > 0 {
  21203. for j := 0; j < containerLen; j++ {
  21204. mk := dd.DecodeInt(64)
  21205. mv := v[mk]
  21206. mv = int(dd.DecodeInt(intBitsize))
  21207. if v != nil {
  21208. v[mk] = mv
  21209. }
  21210. }
  21211. } else if containerLen < 0 {
  21212. for j := 0; !dd.CheckBreak(); j++ {
  21213. mk := dd.DecodeInt(64)
  21214. mv := v[mk]
  21215. mv = int(dd.DecodeInt(intBitsize))
  21216. if v != nil {
  21217. v[mk] = mv
  21218. }
  21219. }
  21220. dd.ReadEnd()
  21221. }
  21222. return v, changed
  21223. }
  21224. func (f decFnInfo) fastpathDecMapInt64Int8R(rv reflect.Value) {
  21225. if rv.CanAddr() {
  21226. vp := rv.Addr().Interface().(*map[int64]int8)
  21227. v, changed := fastpathTV.DecMapInt64Int8V(*vp, fastpathCheckNilFalse, true, f.d)
  21228. if changed {
  21229. *vp = v
  21230. }
  21231. } else {
  21232. v := rv.Interface().(map[int64]int8)
  21233. fastpathTV.DecMapInt64Int8V(v, fastpathCheckNilFalse, false, f.d)
  21234. }
  21235. }
  21236. func (f fastpathT) DecMapInt64Int8X(vp *map[int64]int8, checkNil bool, d *Decoder) {
  21237. v, changed := f.DecMapInt64Int8V(*vp, checkNil, true, d)
  21238. if changed {
  21239. *vp = v
  21240. }
  21241. }
  21242. func (_ fastpathT) DecMapInt64Int8V(v map[int64]int8, checkNil bool, canChange bool,
  21243. d *Decoder) (_ map[int64]int8, changed bool) {
  21244. dd := d.d
  21245. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  21246. if checkNil && dd.TryDecodeAsNil() {
  21247. if v != nil {
  21248. changed = true
  21249. }
  21250. return nil, changed
  21251. }
  21252. containerLen := dd.ReadMapStart()
  21253. if canChange && v == nil {
  21254. if containerLen > 0 {
  21255. v = make(map[int64]int8, containerLen)
  21256. } else {
  21257. v = make(map[int64]int8) // supports indefinite-length, etc
  21258. }
  21259. changed = true
  21260. }
  21261. if containerLen > 0 {
  21262. for j := 0; j < containerLen; j++ {
  21263. mk := dd.DecodeInt(64)
  21264. mv := v[mk]
  21265. mv = int8(dd.DecodeInt(8))
  21266. if v != nil {
  21267. v[mk] = mv
  21268. }
  21269. }
  21270. } else if containerLen < 0 {
  21271. for j := 0; !dd.CheckBreak(); j++ {
  21272. mk := dd.DecodeInt(64)
  21273. mv := v[mk]
  21274. mv = int8(dd.DecodeInt(8))
  21275. if v != nil {
  21276. v[mk] = mv
  21277. }
  21278. }
  21279. dd.ReadEnd()
  21280. }
  21281. return v, changed
  21282. }
  21283. func (f decFnInfo) fastpathDecMapInt64Int16R(rv reflect.Value) {
  21284. if rv.CanAddr() {
  21285. vp := rv.Addr().Interface().(*map[int64]int16)
  21286. v, changed := fastpathTV.DecMapInt64Int16V(*vp, fastpathCheckNilFalse, true, f.d)
  21287. if changed {
  21288. *vp = v
  21289. }
  21290. } else {
  21291. v := rv.Interface().(map[int64]int16)
  21292. fastpathTV.DecMapInt64Int16V(v, fastpathCheckNilFalse, false, f.d)
  21293. }
  21294. }
  21295. func (f fastpathT) DecMapInt64Int16X(vp *map[int64]int16, checkNil bool, d *Decoder) {
  21296. v, changed := f.DecMapInt64Int16V(*vp, checkNil, true, d)
  21297. if changed {
  21298. *vp = v
  21299. }
  21300. }
  21301. func (_ fastpathT) DecMapInt64Int16V(v map[int64]int16, checkNil bool, canChange bool,
  21302. d *Decoder) (_ map[int64]int16, changed bool) {
  21303. dd := d.d
  21304. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  21305. if checkNil && dd.TryDecodeAsNil() {
  21306. if v != nil {
  21307. changed = true
  21308. }
  21309. return nil, changed
  21310. }
  21311. containerLen := dd.ReadMapStart()
  21312. if canChange && v == nil {
  21313. if containerLen > 0 {
  21314. v = make(map[int64]int16, containerLen)
  21315. } else {
  21316. v = make(map[int64]int16) // supports indefinite-length, etc
  21317. }
  21318. changed = true
  21319. }
  21320. if containerLen > 0 {
  21321. for j := 0; j < containerLen; j++ {
  21322. mk := dd.DecodeInt(64)
  21323. mv := v[mk]
  21324. mv = int16(dd.DecodeInt(16))
  21325. if v != nil {
  21326. v[mk] = mv
  21327. }
  21328. }
  21329. } else if containerLen < 0 {
  21330. for j := 0; !dd.CheckBreak(); j++ {
  21331. mk := dd.DecodeInt(64)
  21332. mv := v[mk]
  21333. mv = int16(dd.DecodeInt(16))
  21334. if v != nil {
  21335. v[mk] = mv
  21336. }
  21337. }
  21338. dd.ReadEnd()
  21339. }
  21340. return v, changed
  21341. }
  21342. func (f decFnInfo) fastpathDecMapInt64Int32R(rv reflect.Value) {
  21343. if rv.CanAddr() {
  21344. vp := rv.Addr().Interface().(*map[int64]int32)
  21345. v, changed := fastpathTV.DecMapInt64Int32V(*vp, fastpathCheckNilFalse, true, f.d)
  21346. if changed {
  21347. *vp = v
  21348. }
  21349. } else {
  21350. v := rv.Interface().(map[int64]int32)
  21351. fastpathTV.DecMapInt64Int32V(v, fastpathCheckNilFalse, false, f.d)
  21352. }
  21353. }
  21354. func (f fastpathT) DecMapInt64Int32X(vp *map[int64]int32, checkNil bool, d *Decoder) {
  21355. v, changed := f.DecMapInt64Int32V(*vp, checkNil, true, d)
  21356. if changed {
  21357. *vp = v
  21358. }
  21359. }
  21360. func (_ fastpathT) DecMapInt64Int32V(v map[int64]int32, checkNil bool, canChange bool,
  21361. d *Decoder) (_ map[int64]int32, changed bool) {
  21362. dd := d.d
  21363. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  21364. if checkNil && dd.TryDecodeAsNil() {
  21365. if v != nil {
  21366. changed = true
  21367. }
  21368. return nil, changed
  21369. }
  21370. containerLen := dd.ReadMapStart()
  21371. if canChange && v == nil {
  21372. if containerLen > 0 {
  21373. v = make(map[int64]int32, containerLen)
  21374. } else {
  21375. v = make(map[int64]int32) // supports indefinite-length, etc
  21376. }
  21377. changed = true
  21378. }
  21379. if containerLen > 0 {
  21380. for j := 0; j < containerLen; j++ {
  21381. mk := dd.DecodeInt(64)
  21382. mv := v[mk]
  21383. mv = int32(dd.DecodeInt(32))
  21384. if v != nil {
  21385. v[mk] = mv
  21386. }
  21387. }
  21388. } else if containerLen < 0 {
  21389. for j := 0; !dd.CheckBreak(); j++ {
  21390. mk := dd.DecodeInt(64)
  21391. mv := v[mk]
  21392. mv = int32(dd.DecodeInt(32))
  21393. if v != nil {
  21394. v[mk] = mv
  21395. }
  21396. }
  21397. dd.ReadEnd()
  21398. }
  21399. return v, changed
  21400. }
  21401. func (f decFnInfo) fastpathDecMapInt64Int64R(rv reflect.Value) {
  21402. if rv.CanAddr() {
  21403. vp := rv.Addr().Interface().(*map[int64]int64)
  21404. v, changed := fastpathTV.DecMapInt64Int64V(*vp, fastpathCheckNilFalse, true, f.d)
  21405. if changed {
  21406. *vp = v
  21407. }
  21408. } else {
  21409. v := rv.Interface().(map[int64]int64)
  21410. fastpathTV.DecMapInt64Int64V(v, fastpathCheckNilFalse, false, f.d)
  21411. }
  21412. }
  21413. func (f fastpathT) DecMapInt64Int64X(vp *map[int64]int64, checkNil bool, d *Decoder) {
  21414. v, changed := f.DecMapInt64Int64V(*vp, checkNil, true, d)
  21415. if changed {
  21416. *vp = v
  21417. }
  21418. }
  21419. func (_ fastpathT) DecMapInt64Int64V(v map[int64]int64, checkNil bool, canChange bool,
  21420. d *Decoder) (_ map[int64]int64, changed bool) {
  21421. dd := d.d
  21422. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  21423. if checkNil && dd.TryDecodeAsNil() {
  21424. if v != nil {
  21425. changed = true
  21426. }
  21427. return nil, changed
  21428. }
  21429. containerLen := dd.ReadMapStart()
  21430. if canChange && v == nil {
  21431. if containerLen > 0 {
  21432. v = make(map[int64]int64, containerLen)
  21433. } else {
  21434. v = make(map[int64]int64) // supports indefinite-length, etc
  21435. }
  21436. changed = true
  21437. }
  21438. if containerLen > 0 {
  21439. for j := 0; j < containerLen; j++ {
  21440. mk := dd.DecodeInt(64)
  21441. mv := v[mk]
  21442. mv = dd.DecodeInt(64)
  21443. if v != nil {
  21444. v[mk] = mv
  21445. }
  21446. }
  21447. } else if containerLen < 0 {
  21448. for j := 0; !dd.CheckBreak(); j++ {
  21449. mk := dd.DecodeInt(64)
  21450. mv := v[mk]
  21451. mv = dd.DecodeInt(64)
  21452. if v != nil {
  21453. v[mk] = mv
  21454. }
  21455. }
  21456. dd.ReadEnd()
  21457. }
  21458. return v, changed
  21459. }
  21460. func (f decFnInfo) fastpathDecMapInt64Float32R(rv reflect.Value) {
  21461. if rv.CanAddr() {
  21462. vp := rv.Addr().Interface().(*map[int64]float32)
  21463. v, changed := fastpathTV.DecMapInt64Float32V(*vp, fastpathCheckNilFalse, true, f.d)
  21464. if changed {
  21465. *vp = v
  21466. }
  21467. } else {
  21468. v := rv.Interface().(map[int64]float32)
  21469. fastpathTV.DecMapInt64Float32V(v, fastpathCheckNilFalse, false, f.d)
  21470. }
  21471. }
  21472. func (f fastpathT) DecMapInt64Float32X(vp *map[int64]float32, checkNil bool, d *Decoder) {
  21473. v, changed := f.DecMapInt64Float32V(*vp, checkNil, true, d)
  21474. if changed {
  21475. *vp = v
  21476. }
  21477. }
  21478. func (_ fastpathT) DecMapInt64Float32V(v map[int64]float32, checkNil bool, canChange bool,
  21479. d *Decoder) (_ map[int64]float32, changed bool) {
  21480. dd := d.d
  21481. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  21482. if checkNil && dd.TryDecodeAsNil() {
  21483. if v != nil {
  21484. changed = true
  21485. }
  21486. return nil, changed
  21487. }
  21488. containerLen := dd.ReadMapStart()
  21489. if canChange && v == nil {
  21490. if containerLen > 0 {
  21491. v = make(map[int64]float32, containerLen)
  21492. } else {
  21493. v = make(map[int64]float32) // supports indefinite-length, etc
  21494. }
  21495. changed = true
  21496. }
  21497. if containerLen > 0 {
  21498. for j := 0; j < containerLen; j++ {
  21499. mk := dd.DecodeInt(64)
  21500. mv := v[mk]
  21501. mv = float32(dd.DecodeFloat(true))
  21502. if v != nil {
  21503. v[mk] = mv
  21504. }
  21505. }
  21506. } else if containerLen < 0 {
  21507. for j := 0; !dd.CheckBreak(); j++ {
  21508. mk := dd.DecodeInt(64)
  21509. mv := v[mk]
  21510. mv = float32(dd.DecodeFloat(true))
  21511. if v != nil {
  21512. v[mk] = mv
  21513. }
  21514. }
  21515. dd.ReadEnd()
  21516. }
  21517. return v, changed
  21518. }
  21519. func (f decFnInfo) fastpathDecMapInt64Float64R(rv reflect.Value) {
  21520. if rv.CanAddr() {
  21521. vp := rv.Addr().Interface().(*map[int64]float64)
  21522. v, changed := fastpathTV.DecMapInt64Float64V(*vp, fastpathCheckNilFalse, true, f.d)
  21523. if changed {
  21524. *vp = v
  21525. }
  21526. } else {
  21527. v := rv.Interface().(map[int64]float64)
  21528. fastpathTV.DecMapInt64Float64V(v, fastpathCheckNilFalse, false, f.d)
  21529. }
  21530. }
  21531. func (f fastpathT) DecMapInt64Float64X(vp *map[int64]float64, checkNil bool, d *Decoder) {
  21532. v, changed := f.DecMapInt64Float64V(*vp, checkNil, true, d)
  21533. if changed {
  21534. *vp = v
  21535. }
  21536. }
  21537. func (_ fastpathT) DecMapInt64Float64V(v map[int64]float64, checkNil bool, canChange bool,
  21538. d *Decoder) (_ map[int64]float64, changed bool) {
  21539. dd := d.d
  21540. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  21541. if checkNil && dd.TryDecodeAsNil() {
  21542. if v != nil {
  21543. changed = true
  21544. }
  21545. return nil, changed
  21546. }
  21547. containerLen := dd.ReadMapStart()
  21548. if canChange && v == nil {
  21549. if containerLen > 0 {
  21550. v = make(map[int64]float64, containerLen)
  21551. } else {
  21552. v = make(map[int64]float64) // supports indefinite-length, etc
  21553. }
  21554. changed = true
  21555. }
  21556. if containerLen > 0 {
  21557. for j := 0; j < containerLen; j++ {
  21558. mk := dd.DecodeInt(64)
  21559. mv := v[mk]
  21560. mv = dd.DecodeFloat(false)
  21561. if v != nil {
  21562. v[mk] = mv
  21563. }
  21564. }
  21565. } else if containerLen < 0 {
  21566. for j := 0; !dd.CheckBreak(); j++ {
  21567. mk := dd.DecodeInt(64)
  21568. mv := v[mk]
  21569. mv = dd.DecodeFloat(false)
  21570. if v != nil {
  21571. v[mk] = mv
  21572. }
  21573. }
  21574. dd.ReadEnd()
  21575. }
  21576. return v, changed
  21577. }
  21578. func (f decFnInfo) fastpathDecMapInt64BoolR(rv reflect.Value) {
  21579. if rv.CanAddr() {
  21580. vp := rv.Addr().Interface().(*map[int64]bool)
  21581. v, changed := fastpathTV.DecMapInt64BoolV(*vp, fastpathCheckNilFalse, true, f.d)
  21582. if changed {
  21583. *vp = v
  21584. }
  21585. } else {
  21586. v := rv.Interface().(map[int64]bool)
  21587. fastpathTV.DecMapInt64BoolV(v, fastpathCheckNilFalse, false, f.d)
  21588. }
  21589. }
  21590. func (f fastpathT) DecMapInt64BoolX(vp *map[int64]bool, checkNil bool, d *Decoder) {
  21591. v, changed := f.DecMapInt64BoolV(*vp, checkNil, true, d)
  21592. if changed {
  21593. *vp = v
  21594. }
  21595. }
  21596. func (_ fastpathT) DecMapInt64BoolV(v map[int64]bool, checkNil bool, canChange bool,
  21597. d *Decoder) (_ map[int64]bool, changed bool) {
  21598. dd := d.d
  21599. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  21600. if checkNil && dd.TryDecodeAsNil() {
  21601. if v != nil {
  21602. changed = true
  21603. }
  21604. return nil, changed
  21605. }
  21606. containerLen := dd.ReadMapStart()
  21607. if canChange && v == nil {
  21608. if containerLen > 0 {
  21609. v = make(map[int64]bool, containerLen)
  21610. } else {
  21611. v = make(map[int64]bool) // supports indefinite-length, etc
  21612. }
  21613. changed = true
  21614. }
  21615. if containerLen > 0 {
  21616. for j := 0; j < containerLen; j++ {
  21617. mk := dd.DecodeInt(64)
  21618. mv := v[mk]
  21619. mv = dd.DecodeBool()
  21620. if v != nil {
  21621. v[mk] = mv
  21622. }
  21623. }
  21624. } else if containerLen < 0 {
  21625. for j := 0; !dd.CheckBreak(); j++ {
  21626. mk := dd.DecodeInt(64)
  21627. mv := v[mk]
  21628. mv = dd.DecodeBool()
  21629. if v != nil {
  21630. v[mk] = mv
  21631. }
  21632. }
  21633. dd.ReadEnd()
  21634. }
  21635. return v, changed
  21636. }
  21637. func (f decFnInfo) fastpathDecMapBoolIntfR(rv reflect.Value) {
  21638. if rv.CanAddr() {
  21639. vp := rv.Addr().Interface().(*map[bool]interface{})
  21640. v, changed := fastpathTV.DecMapBoolIntfV(*vp, fastpathCheckNilFalse, true, f.d)
  21641. if changed {
  21642. *vp = v
  21643. }
  21644. } else {
  21645. v := rv.Interface().(map[bool]interface{})
  21646. fastpathTV.DecMapBoolIntfV(v, fastpathCheckNilFalse, false, f.d)
  21647. }
  21648. }
  21649. func (f fastpathT) DecMapBoolIntfX(vp *map[bool]interface{}, checkNil bool, d *Decoder) {
  21650. v, changed := f.DecMapBoolIntfV(*vp, checkNil, true, d)
  21651. if changed {
  21652. *vp = v
  21653. }
  21654. }
  21655. func (_ fastpathT) DecMapBoolIntfV(v map[bool]interface{}, checkNil bool, canChange bool,
  21656. d *Decoder) (_ map[bool]interface{}, changed bool) {
  21657. dd := d.d
  21658. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  21659. if checkNil && dd.TryDecodeAsNil() {
  21660. if v != nil {
  21661. changed = true
  21662. }
  21663. return nil, changed
  21664. }
  21665. containerLen := dd.ReadMapStart()
  21666. if canChange && v == nil {
  21667. if containerLen > 0 {
  21668. v = make(map[bool]interface{}, containerLen)
  21669. } else {
  21670. v = make(map[bool]interface{}) // supports indefinite-length, etc
  21671. }
  21672. changed = true
  21673. }
  21674. if containerLen > 0 {
  21675. for j := 0; j < containerLen; j++ {
  21676. mk := dd.DecodeBool()
  21677. mv := v[mk]
  21678. d.decode(&mv)
  21679. if v != nil {
  21680. v[mk] = mv
  21681. }
  21682. }
  21683. } else if containerLen < 0 {
  21684. for j := 0; !dd.CheckBreak(); j++ {
  21685. mk := dd.DecodeBool()
  21686. mv := v[mk]
  21687. d.decode(&mv)
  21688. if v != nil {
  21689. v[mk] = mv
  21690. }
  21691. }
  21692. dd.ReadEnd()
  21693. }
  21694. return v, changed
  21695. }
  21696. func (f decFnInfo) fastpathDecMapBoolStringR(rv reflect.Value) {
  21697. if rv.CanAddr() {
  21698. vp := rv.Addr().Interface().(*map[bool]string)
  21699. v, changed := fastpathTV.DecMapBoolStringV(*vp, fastpathCheckNilFalse, true, f.d)
  21700. if changed {
  21701. *vp = v
  21702. }
  21703. } else {
  21704. v := rv.Interface().(map[bool]string)
  21705. fastpathTV.DecMapBoolStringV(v, fastpathCheckNilFalse, false, f.d)
  21706. }
  21707. }
  21708. func (f fastpathT) DecMapBoolStringX(vp *map[bool]string, checkNil bool, d *Decoder) {
  21709. v, changed := f.DecMapBoolStringV(*vp, checkNil, true, d)
  21710. if changed {
  21711. *vp = v
  21712. }
  21713. }
  21714. func (_ fastpathT) DecMapBoolStringV(v map[bool]string, checkNil bool, canChange bool,
  21715. d *Decoder) (_ map[bool]string, changed bool) {
  21716. dd := d.d
  21717. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  21718. if checkNil && dd.TryDecodeAsNil() {
  21719. if v != nil {
  21720. changed = true
  21721. }
  21722. return nil, changed
  21723. }
  21724. containerLen := dd.ReadMapStart()
  21725. if canChange && v == nil {
  21726. if containerLen > 0 {
  21727. v = make(map[bool]string, containerLen)
  21728. } else {
  21729. v = make(map[bool]string) // supports indefinite-length, etc
  21730. }
  21731. changed = true
  21732. }
  21733. if containerLen > 0 {
  21734. for j := 0; j < containerLen; j++ {
  21735. mk := dd.DecodeBool()
  21736. mv := v[mk]
  21737. mv = dd.DecodeString()
  21738. if v != nil {
  21739. v[mk] = mv
  21740. }
  21741. }
  21742. } else if containerLen < 0 {
  21743. for j := 0; !dd.CheckBreak(); j++ {
  21744. mk := dd.DecodeBool()
  21745. mv := v[mk]
  21746. mv = dd.DecodeString()
  21747. if v != nil {
  21748. v[mk] = mv
  21749. }
  21750. }
  21751. dd.ReadEnd()
  21752. }
  21753. return v, changed
  21754. }
  21755. func (f decFnInfo) fastpathDecMapBoolUintR(rv reflect.Value) {
  21756. if rv.CanAddr() {
  21757. vp := rv.Addr().Interface().(*map[bool]uint)
  21758. v, changed := fastpathTV.DecMapBoolUintV(*vp, fastpathCheckNilFalse, true, f.d)
  21759. if changed {
  21760. *vp = v
  21761. }
  21762. } else {
  21763. v := rv.Interface().(map[bool]uint)
  21764. fastpathTV.DecMapBoolUintV(v, fastpathCheckNilFalse, false, f.d)
  21765. }
  21766. }
  21767. func (f fastpathT) DecMapBoolUintX(vp *map[bool]uint, checkNil bool, d *Decoder) {
  21768. v, changed := f.DecMapBoolUintV(*vp, checkNil, true, d)
  21769. if changed {
  21770. *vp = v
  21771. }
  21772. }
  21773. func (_ fastpathT) DecMapBoolUintV(v map[bool]uint, checkNil bool, canChange bool,
  21774. d *Decoder) (_ map[bool]uint, changed bool) {
  21775. dd := d.d
  21776. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  21777. if checkNil && dd.TryDecodeAsNil() {
  21778. if v != nil {
  21779. changed = true
  21780. }
  21781. return nil, changed
  21782. }
  21783. containerLen := dd.ReadMapStart()
  21784. if canChange && v == nil {
  21785. if containerLen > 0 {
  21786. v = make(map[bool]uint, containerLen)
  21787. } else {
  21788. v = make(map[bool]uint) // supports indefinite-length, etc
  21789. }
  21790. changed = true
  21791. }
  21792. if containerLen > 0 {
  21793. for j := 0; j < containerLen; j++ {
  21794. mk := dd.DecodeBool()
  21795. mv := v[mk]
  21796. mv = uint(dd.DecodeUint(uintBitsize))
  21797. if v != nil {
  21798. v[mk] = mv
  21799. }
  21800. }
  21801. } else if containerLen < 0 {
  21802. for j := 0; !dd.CheckBreak(); j++ {
  21803. mk := dd.DecodeBool()
  21804. mv := v[mk]
  21805. mv = uint(dd.DecodeUint(uintBitsize))
  21806. if v != nil {
  21807. v[mk] = mv
  21808. }
  21809. }
  21810. dd.ReadEnd()
  21811. }
  21812. return v, changed
  21813. }
  21814. func (f decFnInfo) fastpathDecMapBoolUint8R(rv reflect.Value) {
  21815. if rv.CanAddr() {
  21816. vp := rv.Addr().Interface().(*map[bool]uint8)
  21817. v, changed := fastpathTV.DecMapBoolUint8V(*vp, fastpathCheckNilFalse, true, f.d)
  21818. if changed {
  21819. *vp = v
  21820. }
  21821. } else {
  21822. v := rv.Interface().(map[bool]uint8)
  21823. fastpathTV.DecMapBoolUint8V(v, fastpathCheckNilFalse, false, f.d)
  21824. }
  21825. }
  21826. func (f fastpathT) DecMapBoolUint8X(vp *map[bool]uint8, checkNil bool, d *Decoder) {
  21827. v, changed := f.DecMapBoolUint8V(*vp, checkNil, true, d)
  21828. if changed {
  21829. *vp = v
  21830. }
  21831. }
  21832. func (_ fastpathT) DecMapBoolUint8V(v map[bool]uint8, checkNil bool, canChange bool,
  21833. d *Decoder) (_ map[bool]uint8, changed bool) {
  21834. dd := d.d
  21835. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  21836. if checkNil && dd.TryDecodeAsNil() {
  21837. if v != nil {
  21838. changed = true
  21839. }
  21840. return nil, changed
  21841. }
  21842. containerLen := dd.ReadMapStart()
  21843. if canChange && v == nil {
  21844. if containerLen > 0 {
  21845. v = make(map[bool]uint8, containerLen)
  21846. } else {
  21847. v = make(map[bool]uint8) // supports indefinite-length, etc
  21848. }
  21849. changed = true
  21850. }
  21851. if containerLen > 0 {
  21852. for j := 0; j < containerLen; j++ {
  21853. mk := dd.DecodeBool()
  21854. mv := v[mk]
  21855. mv = uint8(dd.DecodeUint(8))
  21856. if v != nil {
  21857. v[mk] = mv
  21858. }
  21859. }
  21860. } else if containerLen < 0 {
  21861. for j := 0; !dd.CheckBreak(); j++ {
  21862. mk := dd.DecodeBool()
  21863. mv := v[mk]
  21864. mv = uint8(dd.DecodeUint(8))
  21865. if v != nil {
  21866. v[mk] = mv
  21867. }
  21868. }
  21869. dd.ReadEnd()
  21870. }
  21871. return v, changed
  21872. }
  21873. func (f decFnInfo) fastpathDecMapBoolUint16R(rv reflect.Value) {
  21874. if rv.CanAddr() {
  21875. vp := rv.Addr().Interface().(*map[bool]uint16)
  21876. v, changed := fastpathTV.DecMapBoolUint16V(*vp, fastpathCheckNilFalse, true, f.d)
  21877. if changed {
  21878. *vp = v
  21879. }
  21880. } else {
  21881. v := rv.Interface().(map[bool]uint16)
  21882. fastpathTV.DecMapBoolUint16V(v, fastpathCheckNilFalse, false, f.d)
  21883. }
  21884. }
  21885. func (f fastpathT) DecMapBoolUint16X(vp *map[bool]uint16, checkNil bool, d *Decoder) {
  21886. v, changed := f.DecMapBoolUint16V(*vp, checkNil, true, d)
  21887. if changed {
  21888. *vp = v
  21889. }
  21890. }
  21891. func (_ fastpathT) DecMapBoolUint16V(v map[bool]uint16, checkNil bool, canChange bool,
  21892. d *Decoder) (_ map[bool]uint16, changed bool) {
  21893. dd := d.d
  21894. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  21895. if checkNil && dd.TryDecodeAsNil() {
  21896. if v != nil {
  21897. changed = true
  21898. }
  21899. return nil, changed
  21900. }
  21901. containerLen := dd.ReadMapStart()
  21902. if canChange && v == nil {
  21903. if containerLen > 0 {
  21904. v = make(map[bool]uint16, containerLen)
  21905. } else {
  21906. v = make(map[bool]uint16) // supports indefinite-length, etc
  21907. }
  21908. changed = true
  21909. }
  21910. if containerLen > 0 {
  21911. for j := 0; j < containerLen; j++ {
  21912. mk := dd.DecodeBool()
  21913. mv := v[mk]
  21914. mv = uint16(dd.DecodeUint(16))
  21915. if v != nil {
  21916. v[mk] = mv
  21917. }
  21918. }
  21919. } else if containerLen < 0 {
  21920. for j := 0; !dd.CheckBreak(); j++ {
  21921. mk := dd.DecodeBool()
  21922. mv := v[mk]
  21923. mv = uint16(dd.DecodeUint(16))
  21924. if v != nil {
  21925. v[mk] = mv
  21926. }
  21927. }
  21928. dd.ReadEnd()
  21929. }
  21930. return v, changed
  21931. }
  21932. func (f decFnInfo) fastpathDecMapBoolUint32R(rv reflect.Value) {
  21933. if rv.CanAddr() {
  21934. vp := rv.Addr().Interface().(*map[bool]uint32)
  21935. v, changed := fastpathTV.DecMapBoolUint32V(*vp, fastpathCheckNilFalse, true, f.d)
  21936. if changed {
  21937. *vp = v
  21938. }
  21939. } else {
  21940. v := rv.Interface().(map[bool]uint32)
  21941. fastpathTV.DecMapBoolUint32V(v, fastpathCheckNilFalse, false, f.d)
  21942. }
  21943. }
  21944. func (f fastpathT) DecMapBoolUint32X(vp *map[bool]uint32, checkNil bool, d *Decoder) {
  21945. v, changed := f.DecMapBoolUint32V(*vp, checkNil, true, d)
  21946. if changed {
  21947. *vp = v
  21948. }
  21949. }
  21950. func (_ fastpathT) DecMapBoolUint32V(v map[bool]uint32, checkNil bool, canChange bool,
  21951. d *Decoder) (_ map[bool]uint32, changed bool) {
  21952. dd := d.d
  21953. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  21954. if checkNil && dd.TryDecodeAsNil() {
  21955. if v != nil {
  21956. changed = true
  21957. }
  21958. return nil, changed
  21959. }
  21960. containerLen := dd.ReadMapStart()
  21961. if canChange && v == nil {
  21962. if containerLen > 0 {
  21963. v = make(map[bool]uint32, containerLen)
  21964. } else {
  21965. v = make(map[bool]uint32) // supports indefinite-length, etc
  21966. }
  21967. changed = true
  21968. }
  21969. if containerLen > 0 {
  21970. for j := 0; j < containerLen; j++ {
  21971. mk := dd.DecodeBool()
  21972. mv := v[mk]
  21973. mv = uint32(dd.DecodeUint(32))
  21974. if v != nil {
  21975. v[mk] = mv
  21976. }
  21977. }
  21978. } else if containerLen < 0 {
  21979. for j := 0; !dd.CheckBreak(); j++ {
  21980. mk := dd.DecodeBool()
  21981. mv := v[mk]
  21982. mv = uint32(dd.DecodeUint(32))
  21983. if v != nil {
  21984. v[mk] = mv
  21985. }
  21986. }
  21987. dd.ReadEnd()
  21988. }
  21989. return v, changed
  21990. }
  21991. func (f decFnInfo) fastpathDecMapBoolUint64R(rv reflect.Value) {
  21992. if rv.CanAddr() {
  21993. vp := rv.Addr().Interface().(*map[bool]uint64)
  21994. v, changed := fastpathTV.DecMapBoolUint64V(*vp, fastpathCheckNilFalse, true, f.d)
  21995. if changed {
  21996. *vp = v
  21997. }
  21998. } else {
  21999. v := rv.Interface().(map[bool]uint64)
  22000. fastpathTV.DecMapBoolUint64V(v, fastpathCheckNilFalse, false, f.d)
  22001. }
  22002. }
  22003. func (f fastpathT) DecMapBoolUint64X(vp *map[bool]uint64, checkNil bool, d *Decoder) {
  22004. v, changed := f.DecMapBoolUint64V(*vp, checkNil, true, d)
  22005. if changed {
  22006. *vp = v
  22007. }
  22008. }
  22009. func (_ fastpathT) DecMapBoolUint64V(v map[bool]uint64, checkNil bool, canChange bool,
  22010. d *Decoder) (_ map[bool]uint64, changed bool) {
  22011. dd := d.d
  22012. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  22013. if checkNil && dd.TryDecodeAsNil() {
  22014. if v != nil {
  22015. changed = true
  22016. }
  22017. return nil, changed
  22018. }
  22019. containerLen := dd.ReadMapStart()
  22020. if canChange && v == nil {
  22021. if containerLen > 0 {
  22022. v = make(map[bool]uint64, containerLen)
  22023. } else {
  22024. v = make(map[bool]uint64) // supports indefinite-length, etc
  22025. }
  22026. changed = true
  22027. }
  22028. if containerLen > 0 {
  22029. for j := 0; j < containerLen; j++ {
  22030. mk := dd.DecodeBool()
  22031. mv := v[mk]
  22032. mv = dd.DecodeUint(64)
  22033. if v != nil {
  22034. v[mk] = mv
  22035. }
  22036. }
  22037. } else if containerLen < 0 {
  22038. for j := 0; !dd.CheckBreak(); j++ {
  22039. mk := dd.DecodeBool()
  22040. mv := v[mk]
  22041. mv = dd.DecodeUint(64)
  22042. if v != nil {
  22043. v[mk] = mv
  22044. }
  22045. }
  22046. dd.ReadEnd()
  22047. }
  22048. return v, changed
  22049. }
  22050. func (f decFnInfo) fastpathDecMapBoolIntR(rv reflect.Value) {
  22051. if rv.CanAddr() {
  22052. vp := rv.Addr().Interface().(*map[bool]int)
  22053. v, changed := fastpathTV.DecMapBoolIntV(*vp, fastpathCheckNilFalse, true, f.d)
  22054. if changed {
  22055. *vp = v
  22056. }
  22057. } else {
  22058. v := rv.Interface().(map[bool]int)
  22059. fastpathTV.DecMapBoolIntV(v, fastpathCheckNilFalse, false, f.d)
  22060. }
  22061. }
  22062. func (f fastpathT) DecMapBoolIntX(vp *map[bool]int, checkNil bool, d *Decoder) {
  22063. v, changed := f.DecMapBoolIntV(*vp, checkNil, true, d)
  22064. if changed {
  22065. *vp = v
  22066. }
  22067. }
  22068. func (_ fastpathT) DecMapBoolIntV(v map[bool]int, checkNil bool, canChange bool,
  22069. d *Decoder) (_ map[bool]int, changed bool) {
  22070. dd := d.d
  22071. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  22072. if checkNil && dd.TryDecodeAsNil() {
  22073. if v != nil {
  22074. changed = true
  22075. }
  22076. return nil, changed
  22077. }
  22078. containerLen := dd.ReadMapStart()
  22079. if canChange && v == nil {
  22080. if containerLen > 0 {
  22081. v = make(map[bool]int, containerLen)
  22082. } else {
  22083. v = make(map[bool]int) // supports indefinite-length, etc
  22084. }
  22085. changed = true
  22086. }
  22087. if containerLen > 0 {
  22088. for j := 0; j < containerLen; j++ {
  22089. mk := dd.DecodeBool()
  22090. mv := v[mk]
  22091. mv = int(dd.DecodeInt(intBitsize))
  22092. if v != nil {
  22093. v[mk] = mv
  22094. }
  22095. }
  22096. } else if containerLen < 0 {
  22097. for j := 0; !dd.CheckBreak(); j++ {
  22098. mk := dd.DecodeBool()
  22099. mv := v[mk]
  22100. mv = int(dd.DecodeInt(intBitsize))
  22101. if v != nil {
  22102. v[mk] = mv
  22103. }
  22104. }
  22105. dd.ReadEnd()
  22106. }
  22107. return v, changed
  22108. }
  22109. func (f decFnInfo) fastpathDecMapBoolInt8R(rv reflect.Value) {
  22110. if rv.CanAddr() {
  22111. vp := rv.Addr().Interface().(*map[bool]int8)
  22112. v, changed := fastpathTV.DecMapBoolInt8V(*vp, fastpathCheckNilFalse, true, f.d)
  22113. if changed {
  22114. *vp = v
  22115. }
  22116. } else {
  22117. v := rv.Interface().(map[bool]int8)
  22118. fastpathTV.DecMapBoolInt8V(v, fastpathCheckNilFalse, false, f.d)
  22119. }
  22120. }
  22121. func (f fastpathT) DecMapBoolInt8X(vp *map[bool]int8, checkNil bool, d *Decoder) {
  22122. v, changed := f.DecMapBoolInt8V(*vp, checkNil, true, d)
  22123. if changed {
  22124. *vp = v
  22125. }
  22126. }
  22127. func (_ fastpathT) DecMapBoolInt8V(v map[bool]int8, checkNil bool, canChange bool,
  22128. d *Decoder) (_ map[bool]int8, changed bool) {
  22129. dd := d.d
  22130. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  22131. if checkNil && dd.TryDecodeAsNil() {
  22132. if v != nil {
  22133. changed = true
  22134. }
  22135. return nil, changed
  22136. }
  22137. containerLen := dd.ReadMapStart()
  22138. if canChange && v == nil {
  22139. if containerLen > 0 {
  22140. v = make(map[bool]int8, containerLen)
  22141. } else {
  22142. v = make(map[bool]int8) // supports indefinite-length, etc
  22143. }
  22144. changed = true
  22145. }
  22146. if containerLen > 0 {
  22147. for j := 0; j < containerLen; j++ {
  22148. mk := dd.DecodeBool()
  22149. mv := v[mk]
  22150. mv = int8(dd.DecodeInt(8))
  22151. if v != nil {
  22152. v[mk] = mv
  22153. }
  22154. }
  22155. } else if containerLen < 0 {
  22156. for j := 0; !dd.CheckBreak(); j++ {
  22157. mk := dd.DecodeBool()
  22158. mv := v[mk]
  22159. mv = int8(dd.DecodeInt(8))
  22160. if v != nil {
  22161. v[mk] = mv
  22162. }
  22163. }
  22164. dd.ReadEnd()
  22165. }
  22166. return v, changed
  22167. }
  22168. func (f decFnInfo) fastpathDecMapBoolInt16R(rv reflect.Value) {
  22169. if rv.CanAddr() {
  22170. vp := rv.Addr().Interface().(*map[bool]int16)
  22171. v, changed := fastpathTV.DecMapBoolInt16V(*vp, fastpathCheckNilFalse, true, f.d)
  22172. if changed {
  22173. *vp = v
  22174. }
  22175. } else {
  22176. v := rv.Interface().(map[bool]int16)
  22177. fastpathTV.DecMapBoolInt16V(v, fastpathCheckNilFalse, false, f.d)
  22178. }
  22179. }
  22180. func (f fastpathT) DecMapBoolInt16X(vp *map[bool]int16, checkNil bool, d *Decoder) {
  22181. v, changed := f.DecMapBoolInt16V(*vp, checkNil, true, d)
  22182. if changed {
  22183. *vp = v
  22184. }
  22185. }
  22186. func (_ fastpathT) DecMapBoolInt16V(v map[bool]int16, checkNil bool, canChange bool,
  22187. d *Decoder) (_ map[bool]int16, changed bool) {
  22188. dd := d.d
  22189. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  22190. if checkNil && dd.TryDecodeAsNil() {
  22191. if v != nil {
  22192. changed = true
  22193. }
  22194. return nil, changed
  22195. }
  22196. containerLen := dd.ReadMapStart()
  22197. if canChange && v == nil {
  22198. if containerLen > 0 {
  22199. v = make(map[bool]int16, containerLen)
  22200. } else {
  22201. v = make(map[bool]int16) // supports indefinite-length, etc
  22202. }
  22203. changed = true
  22204. }
  22205. if containerLen > 0 {
  22206. for j := 0; j < containerLen; j++ {
  22207. mk := dd.DecodeBool()
  22208. mv := v[mk]
  22209. mv = int16(dd.DecodeInt(16))
  22210. if v != nil {
  22211. v[mk] = mv
  22212. }
  22213. }
  22214. } else if containerLen < 0 {
  22215. for j := 0; !dd.CheckBreak(); j++ {
  22216. mk := dd.DecodeBool()
  22217. mv := v[mk]
  22218. mv = int16(dd.DecodeInt(16))
  22219. if v != nil {
  22220. v[mk] = mv
  22221. }
  22222. }
  22223. dd.ReadEnd()
  22224. }
  22225. return v, changed
  22226. }
  22227. func (f decFnInfo) fastpathDecMapBoolInt32R(rv reflect.Value) {
  22228. if rv.CanAddr() {
  22229. vp := rv.Addr().Interface().(*map[bool]int32)
  22230. v, changed := fastpathTV.DecMapBoolInt32V(*vp, fastpathCheckNilFalse, true, f.d)
  22231. if changed {
  22232. *vp = v
  22233. }
  22234. } else {
  22235. v := rv.Interface().(map[bool]int32)
  22236. fastpathTV.DecMapBoolInt32V(v, fastpathCheckNilFalse, false, f.d)
  22237. }
  22238. }
  22239. func (f fastpathT) DecMapBoolInt32X(vp *map[bool]int32, checkNil bool, d *Decoder) {
  22240. v, changed := f.DecMapBoolInt32V(*vp, checkNil, true, d)
  22241. if changed {
  22242. *vp = v
  22243. }
  22244. }
  22245. func (_ fastpathT) DecMapBoolInt32V(v map[bool]int32, checkNil bool, canChange bool,
  22246. d *Decoder) (_ map[bool]int32, changed bool) {
  22247. dd := d.d
  22248. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  22249. if checkNil && dd.TryDecodeAsNil() {
  22250. if v != nil {
  22251. changed = true
  22252. }
  22253. return nil, changed
  22254. }
  22255. containerLen := dd.ReadMapStart()
  22256. if canChange && v == nil {
  22257. if containerLen > 0 {
  22258. v = make(map[bool]int32, containerLen)
  22259. } else {
  22260. v = make(map[bool]int32) // supports indefinite-length, etc
  22261. }
  22262. changed = true
  22263. }
  22264. if containerLen > 0 {
  22265. for j := 0; j < containerLen; j++ {
  22266. mk := dd.DecodeBool()
  22267. mv := v[mk]
  22268. mv = int32(dd.DecodeInt(32))
  22269. if v != nil {
  22270. v[mk] = mv
  22271. }
  22272. }
  22273. } else if containerLen < 0 {
  22274. for j := 0; !dd.CheckBreak(); j++ {
  22275. mk := dd.DecodeBool()
  22276. mv := v[mk]
  22277. mv = int32(dd.DecodeInt(32))
  22278. if v != nil {
  22279. v[mk] = mv
  22280. }
  22281. }
  22282. dd.ReadEnd()
  22283. }
  22284. return v, changed
  22285. }
  22286. func (f decFnInfo) fastpathDecMapBoolInt64R(rv reflect.Value) {
  22287. if rv.CanAddr() {
  22288. vp := rv.Addr().Interface().(*map[bool]int64)
  22289. v, changed := fastpathTV.DecMapBoolInt64V(*vp, fastpathCheckNilFalse, true, f.d)
  22290. if changed {
  22291. *vp = v
  22292. }
  22293. } else {
  22294. v := rv.Interface().(map[bool]int64)
  22295. fastpathTV.DecMapBoolInt64V(v, fastpathCheckNilFalse, false, f.d)
  22296. }
  22297. }
  22298. func (f fastpathT) DecMapBoolInt64X(vp *map[bool]int64, checkNil bool, d *Decoder) {
  22299. v, changed := f.DecMapBoolInt64V(*vp, checkNil, true, d)
  22300. if changed {
  22301. *vp = v
  22302. }
  22303. }
  22304. func (_ fastpathT) DecMapBoolInt64V(v map[bool]int64, checkNil bool, canChange bool,
  22305. d *Decoder) (_ map[bool]int64, changed bool) {
  22306. dd := d.d
  22307. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  22308. if checkNil && dd.TryDecodeAsNil() {
  22309. if v != nil {
  22310. changed = true
  22311. }
  22312. return nil, changed
  22313. }
  22314. containerLen := dd.ReadMapStart()
  22315. if canChange && v == nil {
  22316. if containerLen > 0 {
  22317. v = make(map[bool]int64, containerLen)
  22318. } else {
  22319. v = make(map[bool]int64) // supports indefinite-length, etc
  22320. }
  22321. changed = true
  22322. }
  22323. if containerLen > 0 {
  22324. for j := 0; j < containerLen; j++ {
  22325. mk := dd.DecodeBool()
  22326. mv := v[mk]
  22327. mv = dd.DecodeInt(64)
  22328. if v != nil {
  22329. v[mk] = mv
  22330. }
  22331. }
  22332. } else if containerLen < 0 {
  22333. for j := 0; !dd.CheckBreak(); j++ {
  22334. mk := dd.DecodeBool()
  22335. mv := v[mk]
  22336. mv = dd.DecodeInt(64)
  22337. if v != nil {
  22338. v[mk] = mv
  22339. }
  22340. }
  22341. dd.ReadEnd()
  22342. }
  22343. return v, changed
  22344. }
  22345. func (f decFnInfo) fastpathDecMapBoolFloat32R(rv reflect.Value) {
  22346. if rv.CanAddr() {
  22347. vp := rv.Addr().Interface().(*map[bool]float32)
  22348. v, changed := fastpathTV.DecMapBoolFloat32V(*vp, fastpathCheckNilFalse, true, f.d)
  22349. if changed {
  22350. *vp = v
  22351. }
  22352. } else {
  22353. v := rv.Interface().(map[bool]float32)
  22354. fastpathTV.DecMapBoolFloat32V(v, fastpathCheckNilFalse, false, f.d)
  22355. }
  22356. }
  22357. func (f fastpathT) DecMapBoolFloat32X(vp *map[bool]float32, checkNil bool, d *Decoder) {
  22358. v, changed := f.DecMapBoolFloat32V(*vp, checkNil, true, d)
  22359. if changed {
  22360. *vp = v
  22361. }
  22362. }
  22363. func (_ fastpathT) DecMapBoolFloat32V(v map[bool]float32, checkNil bool, canChange bool,
  22364. d *Decoder) (_ map[bool]float32, changed bool) {
  22365. dd := d.d
  22366. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  22367. if checkNil && dd.TryDecodeAsNil() {
  22368. if v != nil {
  22369. changed = true
  22370. }
  22371. return nil, changed
  22372. }
  22373. containerLen := dd.ReadMapStart()
  22374. if canChange && v == nil {
  22375. if containerLen > 0 {
  22376. v = make(map[bool]float32, containerLen)
  22377. } else {
  22378. v = make(map[bool]float32) // supports indefinite-length, etc
  22379. }
  22380. changed = true
  22381. }
  22382. if containerLen > 0 {
  22383. for j := 0; j < containerLen; j++ {
  22384. mk := dd.DecodeBool()
  22385. mv := v[mk]
  22386. mv = float32(dd.DecodeFloat(true))
  22387. if v != nil {
  22388. v[mk] = mv
  22389. }
  22390. }
  22391. } else if containerLen < 0 {
  22392. for j := 0; !dd.CheckBreak(); j++ {
  22393. mk := dd.DecodeBool()
  22394. mv := v[mk]
  22395. mv = float32(dd.DecodeFloat(true))
  22396. if v != nil {
  22397. v[mk] = mv
  22398. }
  22399. }
  22400. dd.ReadEnd()
  22401. }
  22402. return v, changed
  22403. }
  22404. func (f decFnInfo) fastpathDecMapBoolFloat64R(rv reflect.Value) {
  22405. if rv.CanAddr() {
  22406. vp := rv.Addr().Interface().(*map[bool]float64)
  22407. v, changed := fastpathTV.DecMapBoolFloat64V(*vp, fastpathCheckNilFalse, true, f.d)
  22408. if changed {
  22409. *vp = v
  22410. }
  22411. } else {
  22412. v := rv.Interface().(map[bool]float64)
  22413. fastpathTV.DecMapBoolFloat64V(v, fastpathCheckNilFalse, false, f.d)
  22414. }
  22415. }
  22416. func (f fastpathT) DecMapBoolFloat64X(vp *map[bool]float64, checkNil bool, d *Decoder) {
  22417. v, changed := f.DecMapBoolFloat64V(*vp, checkNil, true, d)
  22418. if changed {
  22419. *vp = v
  22420. }
  22421. }
  22422. func (_ fastpathT) DecMapBoolFloat64V(v map[bool]float64, checkNil bool, canChange bool,
  22423. d *Decoder) (_ map[bool]float64, changed bool) {
  22424. dd := d.d
  22425. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  22426. if checkNil && dd.TryDecodeAsNil() {
  22427. if v != nil {
  22428. changed = true
  22429. }
  22430. return nil, changed
  22431. }
  22432. containerLen := dd.ReadMapStart()
  22433. if canChange && v == nil {
  22434. if containerLen > 0 {
  22435. v = make(map[bool]float64, containerLen)
  22436. } else {
  22437. v = make(map[bool]float64) // supports indefinite-length, etc
  22438. }
  22439. changed = true
  22440. }
  22441. if containerLen > 0 {
  22442. for j := 0; j < containerLen; j++ {
  22443. mk := dd.DecodeBool()
  22444. mv := v[mk]
  22445. mv = dd.DecodeFloat(false)
  22446. if v != nil {
  22447. v[mk] = mv
  22448. }
  22449. }
  22450. } else if containerLen < 0 {
  22451. for j := 0; !dd.CheckBreak(); j++ {
  22452. mk := dd.DecodeBool()
  22453. mv := v[mk]
  22454. mv = dd.DecodeFloat(false)
  22455. if v != nil {
  22456. v[mk] = mv
  22457. }
  22458. }
  22459. dd.ReadEnd()
  22460. }
  22461. return v, changed
  22462. }
  22463. func (f decFnInfo) fastpathDecMapBoolBoolR(rv reflect.Value) {
  22464. if rv.CanAddr() {
  22465. vp := rv.Addr().Interface().(*map[bool]bool)
  22466. v, changed := fastpathTV.DecMapBoolBoolV(*vp, fastpathCheckNilFalse, true, f.d)
  22467. if changed {
  22468. *vp = v
  22469. }
  22470. } else {
  22471. v := rv.Interface().(map[bool]bool)
  22472. fastpathTV.DecMapBoolBoolV(v, fastpathCheckNilFalse, false, f.d)
  22473. }
  22474. }
  22475. func (f fastpathT) DecMapBoolBoolX(vp *map[bool]bool, checkNil bool, d *Decoder) {
  22476. v, changed := f.DecMapBoolBoolV(*vp, checkNil, true, d)
  22477. if changed {
  22478. *vp = v
  22479. }
  22480. }
  22481. func (_ fastpathT) DecMapBoolBoolV(v map[bool]bool, checkNil bool, canChange bool,
  22482. d *Decoder) (_ map[bool]bool, changed bool) {
  22483. dd := d.d
  22484. // if dd.isContainerType(valueTypeNil) {dd.TryDecodeAsNil()
  22485. if checkNil && dd.TryDecodeAsNil() {
  22486. if v != nil {
  22487. changed = true
  22488. }
  22489. return nil, changed
  22490. }
  22491. containerLen := dd.ReadMapStart()
  22492. if canChange && v == nil {
  22493. if containerLen > 0 {
  22494. v = make(map[bool]bool, containerLen)
  22495. } else {
  22496. v = make(map[bool]bool) // supports indefinite-length, etc
  22497. }
  22498. changed = true
  22499. }
  22500. if containerLen > 0 {
  22501. for j := 0; j < containerLen; j++ {
  22502. mk := dd.DecodeBool()
  22503. mv := v[mk]
  22504. mv = dd.DecodeBool()
  22505. if v != nil {
  22506. v[mk] = mv
  22507. }
  22508. }
  22509. } else if containerLen < 0 {
  22510. for j := 0; !dd.CheckBreak(); j++ {
  22511. mk := dd.DecodeBool()
  22512. mv := v[mk]
  22513. mv = dd.DecodeBool()
  22514. if v != nil {
  22515. v[mk] = mv
  22516. }
  22517. }
  22518. dd.ReadEnd()
  22519. }
  22520. return v, changed
  22521. }