text stringlengths 7 2.39k | embedding listlengths 768 768 |
|---|---|
Values indicates an expected call of Values. | [
-0.10557544231414795,
1.21388578414917,
0.1327972114086151,
-0.8571479320526123,
0.6612274646759033,
1.1579058170318604,
-1.2653751373291016,
-0.9424638748168945,
0.8663504123687744,
-1.0217418670654297,
0.036396324634552,
0.08154570311307907,
-0.025286845862865448,
1.3112938404083252,
-... |
NewMockValues creates a new mock instance. | [
-0.3611055910587311,
0.43802809715270996,
0.3030848503112793,
1.240188479423523,
0.05785686522722244,
-0.2444450855255127,
0.01762242801487446,
-0.20311899483203888,
-0.4729168713092804,
-0.5640471577644348,
-0.9160791039466858,
-0.8408745527267456,
-0.3373887836933136,
0.8638429045677185,... |
EXPECT returns an object that allows the caller to indicate expected use. | [
-0.7565805912017822,
-0.3102611005306244,
0.7301904559135437,
-0.6561904549598694,
-0.7464141249656677,
-0.08769865334033966,
0.2391178160905838,
-0.5420742630958557,
0.1706331968307495,
-0.830159604549408,
0.05558416247367859,
0.05390071123838425,
-0.3776983916759491,
-0.36292576789855957... |
Bytes mocks base method. | [
-0.587149977684021,
-0.0732768326997757,
0.30051088333129883,
-0.04035365581512451,
1.2888312339782715,
0.5409022569656372,
0.0760050043463707,
-1.1480497121810913,
-0.34902530908584595,
-1.1523114442825317,
-0.7426314353942871,
-0.7584556341171265,
-1.318305492401123,
1.1102408170700073,
... |
Bytes indicates an expected call of Bytes. | [
0.0746549665927887,
1.5315332412719727,
0.342650830745697,
-1.2482883930206299,
-0.08755955845117569,
1.185166358947754,
-1.2733466625213623,
-1.0500807762145996,
1.5859954357147217,
-0.6347156167030334,
-0.33465129137039185,
0.6591240167617798,
-0.9741330146789551,
0.6100618839263916,
-... |
Get mocks base method. | [
-1.0361933708190918,
-1.142880916595459,
0.3844974935054779,
-0.06691019982099533,
1.3515098094940186,
0.07586777955293655,
-0.2617430090904236,
-0.9394023418426514,
-0.94743412733078,
-0.5367764830589294,
-0.13024714589118958,
0.27616244554519653,
-0.21147839725017548,
0.6972712278366089,... |
Get indicates an expected call of Get. | [
-0.6969214677810669,
0.5099585056304932,
0.34221112728118896,
-1.0935649871826172,
0.5261202454566956,
0.3024829626083374,
-1.820894479751587,
-0.8729331493377686,
1.0347175598144531,
-0.4277784824371338,
0.611394464969635,
0.8281420469284058,
0.040975555777549744,
0.08531983941793442,
-... |
Map mocks base method. | [
-1.2116749286651611,
-0.7902366518974304,
0.3504403531551361,
0.4166545867919922,
0.5729996562004089,
0.5236217379570007,
0.0394279807806015,
-0.7360146045684814,
0.1843462437391281,
0.08987977355718613,
-0.40151673555374146,
-0.9441375136375427,
-0.09510152786970139,
0.9817667007446289,
... |
Map indicates an expected call of Map. | [
-0.5393705368041992,
0.4041358530521393,
0.4243943393230438,
-0.09602928161621094,
-1.0238949060440063,
0.9515771269798279,
-1.299046277999878,
-0.556143045425415,
2.0232677459716797,
0.04118013381958008,
0.2549269199371338,
0.8815491199493408,
-0.09297706931829453,
0.4320457875728607,
-... |
Scan mocks base method. | [
-1.068051815032959,
-0.10518922656774521,
0.1281433254480362,
0.9232927560806274,
0.23727667331695557,
-0.3029005229473114,
0.7607921361923218,
-1.0517816543579102,
-0.8564571142196655,
-1.6180591583251953,
-0.4796961545944214,
-0.6362297534942627,
-0.48286673426628113,
0.9008007049560547,... |
Scan indicates an expected call of Scan. | [
-0.5061852931976318,
0.9492154121398926,
0.32624226808547974,
0.4716510772705078,
-0.98926842212677,
0.5444251894950867,
-0.3784826397895813,
-0.7958419322967529,
1.1615118980407715,
-1.0256283283233643,
-0.09344170987606049,
0.6799752712249756,
-0.00011388957500457764,
0.3334711492061615,... |
NewMockValue creates a new mock instance. | [
-0.2709338068962097,
0.04053470492362976,
0.2835160195827484,
0.7991742491722107,
-0.3383161127567291,
0.017771407961845398,
0.15188193321228027,
-0.32831889390945435,
-0.6604023575782776,
-0.46108898520469666,
-0.6927526593208313,
-0.12303878366947174,
0.11802612990140915,
0.5144879221916... |
EXPECT returns an object that allows the caller to indicate expected use. | [
-0.7565805912017822,
-0.3102611005306244,
0.7301904559135437,
-0.6561904549598694,
-0.7464141249656677,
-0.08769865334033966,
0.2391178160905838,
-0.5420742630958557,
0.1706331968307495,
-0.830159604549408,
0.05558416247367859,
0.05390071123838425,
-0.3776983916759491,
-0.36292576789855957... |
Bool mocks base method. | [
0.03803148493170738,
-0.18047289550304413,
0.21765372157096863,
0.714994490146637,
1.2189157009124756,
0.8980890512466431,
0.772455632686615,
0.27057981491088867,
-0.7397555112838745,
0.42382070422172546,
-0.9360625743865967,
-1.0490652322769165,
-0.4571469724178314,
-0.028123583644628525,... |
Bool indicates an expected call of Bool. | [
0.5059148073196411,
0.9287078976631165,
0.3307597041130066,
0.260763555765152,
-0.16745813190937042,
0.9915467500686646,
-0.5482206344604492,
0.07703166455030441,
0.6651247143745422,
0.43334588408470154,
-0.4007553160190582,
0.5803969502449036,
0.026463467627763748,
-0.07791818678379059,
... |
Bytes mocks base method. | [
-0.587149977684021,
-0.0732768326997757,
0.30051088333129883,
-0.04035365581512451,
1.2888312339782715,
0.5409022569656372,
0.0760050043463707,
-1.1480497121810913,
-0.34902530908584595,
-1.1523114442825317,
-0.7426314353942871,
-0.7584556341171265,
-1.318305492401123,
1.1102408170700073,
... |
Bytes indicates an expected call of Bytes. | [
0.0746547132730484,
1.5315330028533936,
0.3426506221294403,
-1.2482882738113403,
-0.08756017684936523,
1.1851649284362793,
-1.2733478546142578,
-1.0500810146331787,
1.5859956741333008,
-0.6347156763076782,
-0.33465081453323364,
0.6591240167617798,
-0.9741336703300476,
0.610061764717102,
... |
Duration mocks base method. | [
-0.49184924364089966,
-0.4748463034629822,
0.22718888521194458,
0.9828933477401733,
0.9898549318313599,
0.6220778822898865,
0.6861478686332703,
-1.0709724426269531,
-0.6692887544631958,
0.5906268358230591,
-0.6181430220603943,
-1.082303524017334,
-0.14775505661964417,
1.5993551015853882,
... |
Duration indicates an expected call of Duration. | [
0.011270388960838318,
0.709708571434021,
0.27847927808761597,
-0.13160842657089233,
-0.501941442489624,
0.9248528480529785,
-0.6195080280303955,
-0.8448715209960938,
1.0747487545013428,
0.671026349067688,
-0.016671642661094666,
0.03215399384498596,
0.4623888432979584,
1.0953028202056885,
... |
Float64 mocks base method. | [
-0.3564285635948181,
-0.22508856654167175,
0.1455194503068924,
1.509955644607544,
1.29193913936615,
-0.30782386660575867,
0.706889271736145,
-0.8423975706100464,
-0.9697699546813965,
-0.5639660358428955,
0.07747182995080948,
-0.9432137608528137,
-0.7889050245285034,
1.7966862916946411,
-... |
Float64 indicates an expected call of Float64. | [
0.13635122776031494,
1.0810580253601074,
0.33543211221694946,
0.4764278829097748,
0.28175145387649536,
0.214920312166214,
-0.4404240548610687,
-0.7521897554397583,
0.33511683344841003,
-0.6613942384719849,
0.7697263956069946,
0.3467540442943573,
-0.6250607371330261,
1.396541714668274,
-1... |
Int mocks base method. | [
-0.6595690250396729,
-0.5386640429496765,
0.17234858870506287,
-0.25742587447166443,
1.1224324703216553,
0.3518589735031128,
0.5779543519020081,
-1.308539628982544,
-1.0701003074645996,
-0.234395831823349,
-0.7879481315612793,
-1.122904658317566,
-0.7156987190246582,
1.1233832836151123,
... |
Int indicates an expected call of Int. | [
-0.3290661573410034,
0.6335930824279785,
0.14446143805980682,
-1.5230646133422852,
-0.2985079288482666,
0.9406733512878418,
-0.652564525604248,
-1.2317014932632446,
0.4852840304374695,
0.2135951817035675,
-0.3209429085254669,
0.33032041788101196,
-0.3991347849369049,
0.7087476253509521,
... |
Scan mocks base method. | [
-1.0680516958236694,
-0.10518895089626312,
0.12814325094223022,
0.9232925772666931,
0.23727545142173767,
-0.30289918184280396,
0.7607911825180054,
-1.0517817735671997,
-0.8564583659172058,
-1.6180598735809326,
-0.4796966016292572,
-0.6362316012382507,
-0.4828687608242035,
0.900800466537475... |
Scan indicates an expected call of Scan. | [
-0.5061846971511841,
0.9492151737213135,
0.32624244689941406,
0.4716506004333496,
-0.9892688393592834,
0.5444262027740479,
-0.3784823417663574,
-0.7958413362503052,
1.1615135669708252,
-1.0256297588348389,
-0.09344109147787094,
0.6799745559692383,
-0.00011208653450012207,
0.333470791578292... |
String mocks base method. | [
-0.3320761024951935,
-0.9145634174346924,
0.17377500236034393,
0.017890548333525658,
0.8066948652267456,
0.43143925070762634,
0.4345184564590454,
-1.3920190334320068,
-0.7303234338760376,
-0.0017820398788899183,
-0.1360829770565033,
-0.6360255479812622,
-1.1857197284698486,
0.3754004836082... |
String indicates an expected call of String. | [
0.4316233992576599,
-0.0031631365418434143,
0.1912071257829666,
-0.9658075571060181,
-0.8834538459777832,
0.8721358776092529,
-0.8723599910736084,
-1.3995691537857056,
0.9951745271682739,
-0.01504223421216011,
0.260936975479126,
1.1102129220962524,
-0.7234007120132446,
-0.30951738357543945... |
StringMap mocks base method. | [
-0.7557884454727173,
-0.9148910045623779,
0.1920725703239441,
-0.36951854825019836,
0.8172125816345215,
-0.34626173973083496,
0.4121723175048828,
-0.41311049461364746,
-0.2696866989135742,
0.02154351770877838,
0.2098863571882248,
-0.3234107196331024,
-0.9541648626327515,
0.1857646107673645... |
StringMap indicates an expected call of StringMap. | [
-0.09392672777175903,
0.29240262508392334,
0.38910120725631714,
-0.9295722842216492,
-0.3024929463863373,
0.03418390452861786,
-1.0366151332855225,
-0.661339282989502,
1.0750675201416016,
0.10183875262737274,
0.6005388498306274,
0.6427325010299683,
-1.1693679094314575,
-0.258699893951416,
... |
StringSlice mocks base method. | [
-0.9823651313781738,
-1.2309268712997437,
0.1624668538570404,
-0.1677330881357193,
1.0998436212539673,
-0.6395042538642883,
-0.13786518573760986,
-0.703413724899292,
-1.1010842323303223,
-0.11177845299243927,
0.013105792924761772,
-0.11501571536064148,
-1.0699080228805542,
0.99354988336563... |
StringSlice indicates an expected call of StringSlice. | [
-0.391366571187973,
0.06039039045572281,
0.13842302560806274,
-0.7580143809318542,
-0.09339343011379242,
0.0773627758026123,
-1.2057393789291382,
-0.9038899540901184,
0.5580874085426331,
0.2215384691953659,
0.3334486186504364,
0.96377032995224,
-0.933556854724884,
0.32542428374290466,
-0... |
Random is a random strategy algorithm for node selection | [
-0.6211204528808594,
0.10680919885635376,
0.1954728066921234,
-0.08735638111829758,
0.41823044419288635,
0.3392004072666168,
0.8380915522575378,
-0.022027717903256416,
1.3684908151626587,
1.4131360054016113,
0.7896926999092102,
0.9413871765136719,
0.8290857076644897,
-0.13700146973133087,
... |
RoundRobin is a roundrobin strategy algorithm for node selection | [
-0.5380002856254578,
-0.6259838938713074,
0.28433024883270264,
-0.019946640357375145,
0.6104222536087036,
0.07791240513324738,
1.28453528881073,
-1.0981260538101196,
0.1768968403339386,
1.0034023523330688,
0.9106188416481018,
1.2939691543579102,
-0.022122887894511223,
-0.08881837129592896,... |
Middleware is used to attach the global locale instance to a request context. | [
0.215114027261734,
-0.2694445252418518,
0.6135846376419067,
0.20954230427742004,
-0.22593364119529724,
0.6657533645629883,
-0.13914844393730164,
-0.2201228141784668,
0.4884736239910126,
-0.40822774171829224,
1.0454864501953125,
0.474379301071167,
-0.0487898588180542,
0.11029063165187836,
... |
CtxLocale returns the Locale from a context. | [
0.885343611240387,
-1.0681133270263672,
0.0758155956864357,
0.1647500842809677,
-0.39407920837402344,
-0.5206679105758667,
-0.06665046513080597,
-0.0024118744768202305,
1.0170015096664429,
-0.3083098232746124,
0.493183970451355,
0.06888540089130402,
0.2533615529537201,
-1.181959867477417,
... |
FromFiles returns a new Locale with data from the filesystem. | [
1.3020031452178955,
-1.4087159633636475,
0.34130728244781494,
0.00503949448466301,
-0.6337453126907349,
0.2469395399093628,
-0.643744170665741,
0.17359742522239685,
-0.33054935932159424,
-0.5231031179428101,
0.3109279274940491,
-0.36552131175994873,
0.6956527233123779,
-0.43531322479248047... |
Get returns a nested translation string. | [
-0.40495139360427856,
0.2574059069156647,
0.2895137667655945,
-0.6009753346443176,
-0.4804075360298157,
-0.4974583089351654,
-1.8385910987854004,
-0.6115446090698242,
-0.48609620332717896,
-0.8562273979187012,
-0.2027488648891449,
0.13999232649803162,
0.25028127431869507,
-1.86786818504333... |
GetVar returns a translated string with variables in it. | [
0.130560502409935,
-0.4138261675834656,
0.03292623534798622,
-0.41917967796325684,
-0.2784431278705597,
-0.23909994959831238,
-0.8556021451950073,
-0.3191567361354828,
-0.4515826106071472,
-0.22810587286949158,
-0.1661922037601471,
0.2603982985019684,
0.31647664308547974,
-1.42064666748046... |
JSON returns a json representation of the locale. | [
-0.5893130302429199,
-1.9700677394866943,
0.5069338083267212,
-0.7588217258453369,
-1.000288963317871,
-0.7166449427604675,
-0.4124709367752075,
-0.25379782915115356,
0.05089788883924484,
0.1352570801973343,
-0.8722145557403564,
0.24293474853038788,
0.07543592154979706,
-0.1471219658851623... |
Handler returns a http handleFunc that returns the locale as a json representation. | [
-0.04050635173916817,
-1.6420611143112183,
0.6192997097969055,
-0.7073044180870056,
-1.2270950078964233,
-0.5941743850708008,
-0.2864799499511719,
0.17774727940559387,
-0.42271751165390015,
-0.21696586906909943,
-0.3449031114578247,
-0.2192913293838501,
1.0451589822769165,
-1.0398426055908... |
getProperty loops through a object to get a value via dot notation. | [
-0.10891053080558777,
-1.4763892889022827,
0.4231660068035126,
0.6964911222457886,
0.4143372178077698,
-0.24083681404590607,
0.4150787591934204,
-1.1515495777130127,
-0.4052788019180298,
0.2537182569503784,
-0.09562086313962936,
0.24365270137786865,
1.076475977897644,
-1.0731172561645508,
... |
NewRegister create a new consul register | [
0.5454739928245544,
-0.6604819893836975,
0.28301385045051575,
0.7005413770675659,
1.0926423072814941,
-0.8069276213645935,
-0.13463981449604034,
0.17738887667655945,
-0.4455556273460388,
-1.2869703769683838,
-0.7293907999992371,
-0.02497916668653488,
-0.9091563820838928,
0.2777959108352661... |
Exec executes a command with and writes to stdout and stderr outputs without combining the two streams. | [
0.3863421678543091,
-0.9680527448654175,
0.45588308572769165,
0.14495669305324554,
0.055332623422145844,
0.44146832823753357,
-0.09053051471710205,
-0.3403427004814148,
-0.26759612560272217,
-0.22943085432052612,
0.5307134985923767,
0.3228330612182617,
0.6296585202217102,
0.267077386379241... |
NewConfigFromMap creates a DeploymentConfig from the supplied Map | [
0.0656183511018753,
-0.6551134586334229,
0.14044813811779022,
0.7512954473495483,
-1.5036646127700806,
0.06138942390680313,
-1.0482102632522583,
1.3614665269851685,
-0.5214271545410156,
1.3378870487213135,
-0.36080488562583923,
-0.7714740037918091,
0.061857420951128006,
0.3410850465297699,... |
NewConfigFromConfigMap creates a DeploymentConfig from the supplied configMap | [
0.17719042301177979,
-0.8206663131713867,
-0.07781458646059036,
0.889633297920227,
-1.2465429306030273,
-0.16933979094028473,
-0.36323705315589905,
1.1781216859817505,
-0.43901297450065613,
1.8604365587234497,
-0.569170355796814,
-1.0182610750198364,
-0.4562402665615082,
0.3363599479198456... |
GetSentryClient return sentry client | [
0.677758514881134,
-0.7225505709648132,
0.009510384872555733,
0.09584019333124161,
0.44479867815971375,
-0.5937498807907104,
-0.23416291177272797,
-0.09118662774562836,
-0.03709116205573082,
0.22043488919734955,
-0.5889222621917725,
1.5334824323654175,
-0.7565439343452454,
-1.1030062437057... |
With zap core interface | [
0.4074617326259613,
-0.33423373103141785,
0.01657015085220337,
1.1175144910812378,
-0.10759937763214111,
0.03390491008758545,
0.9691610336303711,
-1.0180164575576782,
0.6049472689628601,
0.2367769479751587,
-0.6659879088401794,
-0.7800127863883972,
-1.2735275030136108,
-0.44257840514183044... |
Check zap core interface | [
0.15421000123023987,
0.016184354200959206,
-0.1237967237830162,
1.3632569313049316,
0.21269641816616058,
0.6723587512969971,
1.2274712324142456,
-0.9170694351196289,
0.38235002756118774,
0.21097035706043243,
-0.13829270005226135,
-0.7380052804946899,
-1.7231037616729736,
-0.288257360458374... |
Write zap core interface | [
-0.24809527397155762,
-0.6502729058265686,
-0.03244684264063835,
0.7078635096549988,
0.540045440196991,
0.06372099369764328,
1.374368667602539,
-0.48959359526634216,
0.22112511098384857,
0.3256838321685791,
-0.5403904318809509,
-1.1323580741882324,
-1.748856544494629,
-0.7623615264892578,
... |
Sync zap core interface | [
0.44050565361976624,
-0.278522789478302,
-0.06974082440137863,
1.1850343942642212,
-0.39136964082717896,
0.08648698776960373,
0.8248867392539978,
-1.7223976850509644,
0.25037965178489685,
0.9319134950637817,
-0.8203949928283691,
-0.2751580774784088,
-1.0247915983200073,
-0.6626672148704529... |
NewSentryCore new a sentry core | [
0.6396277546882629,
-0.43930476903915405,
-0.057187095284461975,
0.508152186870575,
-0.35910049080848694,
-0.1936015784740448,
-1.0328701734542847,
-0.17257475852966309,
0.4268592596054077,
0.551755964756012,
-0.7850814461708069,
-0.39875710010528564,
-0.8306517601013184,
0.662589311599731... |
NewSentryClient return sentry client by sentrydsn | [
0.3668963611125946,
-0.08693118393421173,
-0.007804799824953079,
0.013427169062197208,
0.05973277986049652,
-1.3662828207015991,
-0.8744985461235046,
-0.5834931135177612,
0.24172289669513702,
-0.29040229320526123,
-0.7389302849769592,
0.8434933423995972,
0.4188975691795349,
-0.523669302463... |
This is our first solution. Code works but has 2 problems: Not concurrent, we can do better if we fetch pages in a concurrent fashion Code is all in main, we should refactor | [
0.6088664531707764,
0.18821032345294952,
0.5252247452735901,
1.1527113914489746,
0.4267567992210388,
-0.6382058262825012,
0.04502308741211891,
-0.30210766196250916,
0.9210882782936096,
0.5597357153892517,
0.6836180686950684,
-0.2559846043586731,
-0.2267034500837326,
0.14199359714984894,
... |
GetPodTemplateWithHash returns copy of provided template with additional label which contains hash of provided template and sets default daemon tolerations. | [
0.8930102586746216,
-0.4874613583087921,
0.3094354271888733,
-0.22293050587177277,
-0.09268040210008621,
0.4595794677734375,
-1.6862190961837769,
-0.9822579622268677,
0.0042135221883654594,
-0.3017943799495697,
0.22691620886325836,
-0.6951801776885986,
-0.015123476274311543,
-0.60447478294... |
IsPodUpdate checks if pod contains label with provided hash | [
-0.349101722240448,
-1.2925106287002563,
0.5974242687225342,
1.2534128427505493,
-0.12142720073461533,
0.9781293272972107,
-2.0618903636932373,
-0.6197839975357056,
0.5824340581893921,
0.8447674512863159,
0.2547569274902344,
-0.48760220408439636,
-0.41599971055984497,
-0.8589274287223816,
... |
SplitByAvailablePods splits provided daemon set pods by availabilty | [
-1.7841742038726807,
0.20427030324935913,
0.3568260073661804,
0.23618963360786438,
0.13179920613765717,
-0.40053436160087585,
0.18476502597332,
0.2560300827026367,
0.6082598567008972,
0.9214590191841125,
-0.16679218411445618,
-0.5143500566482544,
0.0047352854162454605,
-0.6511803269386292,... |
checks if the reference is a gptspecific and if yes then tries to resolve it to a device name | [
-0.4841934144496918,
0.42915353178977966,
0.5734460353851318,
0.4776407480239868,
-0.7105933427810669,
0.023626774549484253,
-0.5725575685501099,
-0.8979902267456055,
-0.20039615035057068,
0.25815850496292114,
1.5688847303390503,
0.4759093225002289,
-0.08288263529539108,
1.3767383098602295... |
checks whether given partition table contains active EFI service partition | [
0.844605028629303,
-0.8205554485321045,
0.18950289487838745,
1.5672775506973267,
-0.5126772522926331,
-0.43647581338882446,
-0.43650245666503906,
0.38267114758491516,
-1.0407285690307617,
0.26029863953590393,
0.817704975605011,
-1.2972222566604614,
-0.09019462019205093,
-0.2946591675281524... |
splitWsQuote splits a string by whitespace, but takes doublequotes into account | [
-0.32489708065986633,
0.07340019196271896,
0.5116512775421143,
0.019349155947566032,
-0.22014743089675903,
-0.6155421733856201,
-0.5904645323753357,
-0.4212057292461395,
0.657349705696106,
0.779543936252594,
-0.035066090524196625,
1.1672524213790894,
-0.7000066637992859,
1.0744365453720093... |
fetch the current value for a key. returns "" if the key does not exist. keeps trying forever in the face of all other errors. you can send an RPC with code like this: ok := ck.servers[i].Call("RaftKV.Get", args, &reply) | [
-0.3005513548851013,
0.6068982481956482,
0.4946340024471283,
0.6400862336158752,
-0.33833491802215576,
-0.2385530024766922,
-0.5557620525360107,
-1.501426100730896,
-0.42447957396507263,
0.5551583766937256,
0.47981131076812744,
0.6376862525939941,
-1.3056378364562988,
0.6692172288894653,
... |
shared by Put and Append. you can send an RPC with code like this: ok := ck.servers[i].Call("RaftKV.PutAppend", args, &reply) | [
-0.17961320281028748,
0.5710205435752869,
0.6108381152153015,
0.6424462199211121,
-0.09645400196313858,
0.3622065782546997,
0.12441369891166687,
-0.21535173058509827,
0.047774430364370346,
0.7708438634872437,
-0.3351384103298187,
0.9785028100013733,
-1.9645737409591675,
1.2326934337615967,... |
Parser : Parse config file | [
-0.20368164777755737,
-0.7604134678840637,
0.2616446614265442,
0.33513736724853516,
-0.03203973546624184,
0.35780051350593567,
0.3678426742553711,
1.3902661800384521,
-2.0898900032043457,
0.625347912311554,
-0.5797872543334961,
-2.0844311714172363,
0.1795169860124588,
0.9217837452888489,
... |
RegisterModuleService registers the moduleService implementation with the server | [
-0.947070837020874,
-0.30335015058517456,
0.1830691248178482,
-0.5372585654258728,
0.7616105079650879,
0.1180763691663742,
-1.0528991222381592,
-0.9472813606262207,
0.2710174322128296,
0.4362357556819916,
-0.41741734743118286,
1.1704785823822021,
-0.9245150089263916,
0.9684821963310242,
... |
reset sets tag and attribute values to nil. | [
0.4570944011211395,
-0.7898157238960266,
0.19708581268787384,
-0.276679128408432,
0.4931369721889496,
-0.5648678541183472,
0.13279671967029572,
-0.3122485280036926,
-1.0667097568511963,
-0.08105015754699707,
-1.2713693380355835,
0.14798639714717865,
1.29994797706604,
0.6856254935264587,
... |
readLines will allways read the next line, by copying to previous nextLine into currentLine, and then do a read from the buffer and put it into nextLine. Values are stored in the lexer struct. This means that the actual reading of the file allways will be one step ahead of currentLine which is the line we normally work... | [
0.38401931524276733,
-1.08150315284729,
0.5578619837760925,
0.01572778820991516,
-0.23284034430980682,
0.4305597245693207,
-0.566497802734375,
0.4301369786262512,
-0.7263434529304504,
-0.6753330826759338,
0.7790037989616394,
-0.474877268075943,
-0.17680589854717255,
0.5349091291427612,
0... |
passed in io.Reader where the encoded data is stored in val interface > a pointer pointed to the form of data you want to decoded as for example, a specific structure, uint, list, etc. metaphor: form of storage | [
-0.29563581943511963,
-0.07035976648330688,
0.5901801586151123,
0.14385223388671875,
-0.3564513325691223,
0.507649302482605,
0.01525217853486538,
-0.5891934633255005,
0.5133070945739746,
-1.3189074993133545,
-0.23630854487419128,
0.5171770453453064,
0.600497841835022,
-0.1776779145002365,
... |
similar to decoder but instead of pass in a reader, pass in the encoded data directly the reader will automatically initialized as bytes reader | [
0.15868325531482697,
-1.0744737386703491,
0.40789473056793213,
-0.23384101688861847,
-1.4547765254974365,
0.34051844477653503,
-0.43058353662490845,
0.01244047749787569,
0.3367982506752014,
-1.7611759901046753,
-0.4973309636116028,
0.5400345325469971,
-0.19258728623390198,
0.21588049829006... |
declare and initialize a stream pointer data, and return it | [
0.06872770935297012,
-0.6572487950325012,
0.558351993560791,
-0.3710932731628418,
-0.17323516309261322,
0.3265528380870819,
-0.474328875541687,
-0.8783779144287109,
0.5385403037071228,
-1.5088415145874023,
-0.0120259253308177,
0.43015074729919434,
-1.1797140836715698,
0.350635826587677,
... |
initialize stream. Passing in the RLP encoded data to s.r and initialize other aspects | [
0.2763828635215759,
-1.1177961826324463,
0.15764708817005157,
0.7245416045188904,
0.11922898143529892,
0.542553722858429,
0.23971854150295258,
-0.2101806402206421,
1.0124465227127075,
-0.9523056149482727,
-0.8014972805976868,
0.5801147222518921,
-0.5427460670471191,
1.261240005493164,
-0... |
decoded data will be stored into the value pointed by val | [
-0.3479277491569519,
0.2972075045108795,
0.3850306272506714,
-0.7464672923088074,
-0.4013604521751404,
0.842761218547821,
-0.5550886392593384,
-0.23999981582164764,
0.5293493270874023,
-1.7789324522018433,
-1.4389504194259644,
1.2084770202636719,
0.6482705473899841,
-0.28296810388565063,
... |
function that makes decoders based on the type of the storage | [
-0.8189839124679565,
-0.5721765756607056,
0.5471032857894897,
0.824492335319519,
-0.0022071823477745056,
-0.3282826840877533,
-0.31888216733932495,
-0.24000518023967743,
0.29717904329299927,
-0.5827164649963379,
-0.14668111503124237,
0.4384891390800476,
0.374340295791626,
0.027756806463003... |
decoder used decode value with type RawValue | [
-0.7083631753921509,
-0.03346917778253555,
0.4147871434688568,
-0.08833131194114685,
-1.1904222965240479,
-0.43902987241744995,
-0.596908688545227,
-0.5383933186531067,
0.6407257318496704,
-1.0692278146743774,
-0.40405917167663574,
0.49757012724876404,
1.2904831171035767,
0.951950371265411... |
decoder used to decode data that implements the decoder interface (double pointer) | [
-0.19661808013916016,
-0.21716687083244324,
0.3302730321884155,
-0.6995169520378113,
-1.0438706874847412,
0.36809805035591125,
0.2246968150138855,
-0.6518006324768066,
0.3246622681617737,
-1.2286087274551392,
-0.517822802066803,
0.2830834984779358,
0.4564134180545807,
0.9393397569656372,
... |
this decoder is used for nonpointer values of types that implement the Decoder interface using a pointer receiver | [
-0.4481106698513031,
-0.9480743408203125,
0.5665632486343384,
-0.6631671786308289,
-1.1606550216674805,
-0.4678204357624054,
0.2594994008541107,
-1.2914623022079468,
0.6170610785484314,
-0.6404296159744263,
0.8223819732666016,
0.023191820830106735,
-0.7810541987419128,
1.635878562927246,
... |
decoder used to decode data with type BigInt (Note: double pointer) | [
-0.2795833647251129,
0.060908108949661255,
0.39341914653778076,
-0.4124847650527954,
-0.6315501928329468,
0.135098397731781,
0.06969813257455826,
-0.6514254212379456,
0.17725856602191925,
-0.7764550447463989,
-0.8662376403808594,
0.2143460363149643,
0.22717423737049103,
1.0942234992980957,... |
decoder for bigInt type data | [
-0.2832692563533783,
-0.3147812783718109,
0.2506183087825775,
-0.38459092378616333,
-0.10707123577594757,
-0.46282416582107544,
-0.7182667851448059,
-0.27723437547683716,
-0.18333421647548676,
-0.6990009546279907,
-0.6234138607978821,
0.4455951154232025,
-0.18333250284194946,
0.31235933303... |
decoder for Uint kind data NOTE: uint, uint32, uint8, uint64, uintptr are all considered as uint kind data the definition can be found in isUint function | [
-0.05538873001933098,
-0.6006494164466858,
0.6452552080154419,
-0.5665031671524048,
-0.7415167093276978,
0.011582532897591591,
-0.44831383228302,
-0.29893139004707336,
0.8911810517311096,
-0.6617794036865234,
-0.36325231194496155,
1.4005498886108398,
-0.5415036082267761,
0.4899272322654724... |
decoder for Boolean kind data the encoded data will be either 80 or 01, where 80 will let it be treated as string | [
-0.47998932003974915,
-0.5365928411483765,
0.4445057809352875,
-0.1584807187318802,
-1.1316429376602173,
0.42527472972869873,
-0.9437350034713745,
-0.3158266246318817,
-0.4233585298061371,
0.05155890807509422,
0.2550097405910492,
1.0130375623703003,
0.6783134937286377,
0.3265586495399475,
... |
decoder for String kind data | [
0.2962447702884674,
-1.082122564315796,
-0.04088866710662842,
-1.1337608098983765,
-1.3343837261199951,
-0.6020801067352295,
-1.7164859771728516,
-0.5772897005081177,
-0.007725149393081665,
-0.6464987397193909,
0.06857737898826599,
1.3594090938568115,
0.1995050609111786,
-0.260540723800659... |
has one additional error checking criteria if nilOK flag was set to be true | [
0.7217164635658264,
0.37391966581344604,
0.38140353560447693,
1.1642268896102905,
-0.017909057438373566,
-0.6660860180854797,
0.7894904017448425,
0.44760292768478394,
-0.3944797217845917,
-0.04454193264245987,
0.3767158091068268,
0.018038619309663773,
0.2898499667644501,
1.0947964191436768... |
this function is similar to makeOptionalPtrDecoder, the difference is that the empty value will not cause nil pointer. Therefore, no additional checking criteria | [
0.25943443179130554,
-0.3436613082885742,
0.5232636332511902,
-0.047371555119752884,
-1.2626221179962158,
-0.07001585513353348,
-0.08754090964794159,
0.28853699564933777,
1.203080177307129,
-0.1795140951871872,
0.13933247327804565,
0.6045207381248474,
-0.4065128266811371,
0.093829646706581... |
decoder for storage with type slice | [
-1.1785922050476074,
-0.5528420805931091,
0.19073118269443512,
0.457730233669281,
-0.17154988646507263,
-1.0316051244735718,
-0.42697760462760925,
-1.0715479850769043,
-0.3051876723766327,
0.682224452495575,
-0.4803142547607422,
0.35070767998695374,
0.48443925380706787,
-0.0321989879012107... |
manually increasing the cap and length of the storage array and decode the elements with the corresponding element decoder passed in | [
-0.7794017791748047,
-0.03879031538963318,
0.18353891372680664,
0.9137710928916931,
-0.30655717849731445,
-0.5351844429969788,
-0.35823267698287964,
-0.2738068997859955,
1.1713579893112183,
-1.0195157527923584,
-1.0267693996429443,
0.3335694372653961,
0.5919958353042603,
0.5699113607406616... |
decoder for the array kind storage | [
-0.47886863350868225,
-0.9509674310684204,
0.020995598286390305,
0.18981391191482544,
-0.39537423849105835,
-1.0132707357406616,
-0.7030279636383057,
-0.4829774796962738,
0.3932272493839264,
0.10488329827785492,
-0.08274374902248383,
1.3595017194747925,
0.668718695640564,
0.447092413902282... |
validates the encoded data to see if it is list kind stores the basic information into stack, which is the position and the size of the list data content returns the size of encoded data content | [
-0.36835113167762756,
0.7331278920173645,
0.5338611602783203,
-0.23190487921237946,
-0.23477575182914734,
-0.6127384901046753,
-0.3499870300292969,
-0.2681604325771332,
0.5993512272834778,
0.04098742827773094,
-1.7975188493728638,
0.2647271454334259,
-0.7413934469223022,
0.8468374013900757... |
error checking after the list was decoded and pops out the list information from the stack | [
-0.11586204916238785,
0.3449813723564148,
0.18975813686847687,
-0.2575131058692932,
0.11402152478694916,
-0.5706086158752441,
-0.004546609241515398,
0.6185347437858582,
0.30784541368484497,
0.1359943151473999,
-1.161047101020813,
-0.7744304537773132,
-0.1275603324174881,
0.5264498591423035... |
decoder for decoding byte array | [
0.24567550420761108,
-0.7407758831977844,
0.15822914242744446,
-0.3192519545555115,
-0.9192039370536804,
0.33689042925834656,
-0.442018061876297,
0.2885745167732239,
0.5292642116546631,
-1.32950758934021,
-0.29347100853919983,
0.37529054284095764,
0.5253111124038696,
0.8988582491874695,
... |
decoder used to decode storage with ByteSlice type | [
-0.12176422774791718,
-0.5622707009315491,
0.2829422056674957,
0.07443401962518692,
0.005876915063709021,
-0.9001990556716919,
-0.3683749735355377,
-0.09382007271051407,
0.015375419519841671,
-0.2982805371284485,
-0.6381272077560425,
0.14615094661712646,
0.5380244255065918,
0.2742435634136... |
add specific error message context | [
-0.4647494852542877,
0.3260073661804199,
0.44312959909439087,
0.5571778416633606,
0.6941438317298889,
0.6638208627700806,
-0.47182828187942505,
-0.4766800105571747,
1.3207359313964844,
-0.13115517795085907,
0.2039724886417389,
0.6935530304908752,
-0.2131364792585373,
0.5344640016555786,
... |
calls uint function with maxbits64 returns the uint64 representation of encoded data content | [
-0.6094103455543518,
0.1952022761106491,
0.2199096381664276,
0.37128353118896484,
-0.5786231756210327,
-0.21754907071590424,
-0.40044015645980835,
-0.1084783598780632,
1.1531833410263062,
-1.1341021060943604,
-0.5342554450035095,
0.5195561647415161,
0.04760963097214699,
-0.1005021259188652... |
this function read data from s.r and return the uint64 representation of the data maxbits represents maximum data allowed to be read from s.r, used for error checking content will be transferred to uint64 representation from hex representation | [
-0.45233502984046936,
0.0689750537276268,
0.49370357394218445,
0.20673853158950806,
-0.9513179063796997,
0.11044041067361832,
-0.41204115748405457,
0.8755526542663574,
0.6309412121772766,
-0.4472861886024475,
0.6451072692871094,
0.4231686294078827,
-0.23879297077655792,
-0.784703254699707,... |
Bytes reads an RLP string and returns its contents as a byte slice. NOTE: the content here means data without string headers | [
-0.09109995514154434,
-0.9999104142189026,
0.3682432174682617,
-0.6858448386192322,
-0.6973893642425537,
0.03833526372909546,
-1.4145443439483643,
-0.8788376450538635,
-0.2691701650619507,
-0.43339312076568604,
-0.013490241952240467,
-0.16637593507766724,
-1.3110325336456299,
-0.8565388917... |
function on decoding Raw type variable NOTE: rawValue stores preencoded data | [
-0.2903844118118286,
-0.13609030842781067,
0.4253659248352051,
-0.4606499671936035,
-1.098835825920105,
-0.18446800112724304,
0.20088008046150208,
-0.3651539087295532,
0.15277409553527832,
-0.5369623303413391,
-1.5021448135375977,
1.0569947957992554,
0.5997560620307922,
-0.1607915610074997... |
returns size of string heads. | [
0.26453158259391785,
0.0010052721481770277,
0.4688946604728699,
-0.9704496264457703,
-0.06969843059778214,
-0.3893134295940399,
-0.3886532783508301,
-1.4915883541107178,
0.053784072399139404,
0.20743829011917114,
-0.5166244506835938,
0.7736740112304688,
-1.1165450811386108,
-0.916139304637... |
this function performed additional error checking criteria on information returned by readKind() returns kind && size of encoded data | [
-0.1227615624666214,
-0.971904456615448,
0.4187159538269043,
-0.21268054842948914,
-0.6925636529922485,
0.24121665954589844,
-0.21417498588562012,
-0.8215547800064087,
-0.05373271182179451,
-0.46061965823173523,
0.7370288968086243,
1.5950100421905518,
-0.5422402024269104,
0.989918529987335... |
this function returns the kind of the data along with the length of the data | [
0.07102806866168976,
0.0025285284500569105,
0.6748358011245728,
-1.6744740009307861,
-0.37593719363212585,
0.11811048537492752,
-0.589429497718811,
0.17466449737548828,
0.16584886610507965,
0.11229191720485687,
-0.6624668836593628,
1.6775561571121216,
-0.328837513923645,
0.9327843189239502... |
/ This function reads the data from s.r The data read can be hex representation of the length of actual data For Example: B80166 RULE 3, the data read will be 01 represents the length of the actual data got encoded, which 01 The data read can also be the actual value of uint This function will convert the data read int... | [
0.07028108090162277,
-0.6050217747688293,
0.591925859451294,
-0.36745181679725647,
-0.11959798634052277,
-0.008698438294231892,
-0.488350510597229,
1.5297938585281372,
0.7952458262443542,
-0.0517294742166996,
0.5750306844711304,
0.22228698432445526,
0.24294127523899078,
0.02440141141414642... |
this function gets and returns byte pops out from s.r | [
0.4584012031555176,
0.17821642756462097,
0.5224696397781372,
0.5397631525993347,
-0.11072729527950287,
-0.5148875713348389,
0.6216514110565186,
-0.7484983205795288,
0.04126717895269394,
-0.6793841123580933,
-0.11101929843425751,
0.063985675573349,
-0.7588192224502563,
-1.4560612440109253,
... |
Check if number of bytes required to read is reasonable if it is not, return corresponding errors otherwise, modify s.remaining and s.stack input n = how many bytes will be read | [
-0.4867035746574402,
0.7567317485809326,
0.8318611979484558,
0.04064605012536049,
-0.15670309960842133,
0.5096328854560852,
0.35187652707099915,
-0.43819934129714966,
0.6234326958656311,
-0.08618243038654327,
0.5949438214302063,
-0.4784305691719055,
-0.6348299980163574,
0.7569444179534912,... |
AddType insert a new Types into database and returns last inserted Id on success. | [
-0.5290241837501526,
0.6204452514648438,
0.8218065500259399,
1.1857774257659912,
0.7788581848144531,
0.18259161710739136,
0.09467138350009918,
-0.914612889289856,
0.18268610537052155,
-0.0025588199496269226,
-0.4466799795627594,
-1.6048130989074707,
-2.378861427307129,
0.2988213896751404,
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.