text stringlengths 7 2.39k | embedding listlengths 768 768 |
|---|---|
ArgName returns field arg name | [
-1.240929365158081,
-0.16784289479255676,
0.5267651081085205,
-1.348841905593872,
0.022164665162563324,
0.39069709181785583,
-0.3272402286529541,
1.4336154460906982,
-1.06990647315979,
0.6961115598678589,
-0.07352122664451599,
-0.38001343607902527,
0.3720787763595581,
0.6978835463523865,
... |
ConvertDataType converts mysql column type into golang type | [
-0.015512379817664623,
0.25731217861175537,
0.5401327013969421,
-0.37269988656044006,
0.3277475833892822,
-0.21935415267944336,
-0.6682721972465515,
0.28032225370407104,
-0.3676784336566925,
0.20783279836177826,
-1.5902280807495117,
0.5659974813461304,
0.31012579798698425,
-0.2360003888607... |
NewSigninResponseBody builds the HTTP response body from the result of the "signin" endpoint of the "secured" service. | [
-0.3050321042537689,
-1.330656886100769,
0.24107816815376282,
0.5378154516220093,
-0.5330160856246948,
-0.2402205616235733,
-0.1622307449579239,
-0.3764350414276123,
0.9689618945121765,
-0.36892732977867126,
-1.0819822549819946,
-0.7843016982078552,
-0.2219695895910263,
-0.1768397092819214... |
NewSigninUnauthorizedResponseBody builds the HTTP response body from the result of the "signin" endpoint of the "secured" service. | [
-0.4599478542804718,
-0.9837272763252258,
0.2509130537509918,
0.7457091808319092,
-0.9418743252754211,
-0.33124586939811707,
0.21371451020240784,
0.03310598433017731,
0.8713982701301575,
-0.9603849053382874,
-0.826574444770813,
-0.34169983863830566,
-0.1713397353887558,
-0.2376836091279983... |
NewSigninPayload builds a secured service signin endpoint payload. | [
-0.3384834825992584,
-0.876387894153595,
0.25951775908470154,
0.8282743096351624,
-1.2856589555740356,
0.08430492132902145,
-0.4986702501773834,
-0.32777145504951477,
0.17687025666236877,
-0.02526298724114895,
-1.300951600074768,
-0.49166175723075867,
-0.8956872820854187,
-0.42981278896331... |
HandleIndex is called when your Battlesnake is created and refreshed by play.battlesnake.com. BattlesnakeInfoResponse contains information about your Battlesnake, including what it should look like on the game board. | [
0.013903799466788769,
-0.36404097080230713,
0.2187701016664505,
-0.4542998671531677,
1.056770920753479,
-0.05068157613277435,
0.0721784234046936,
-0.14831089973449707,
0.5230562686920166,
-1.3728067874908447,
-0.7923669219017029,
0.17531688511371613,
0.2408602386713028,
-0.2589540481567383... |
HandleStart is called at the start of each game your Battlesnake is playing. The GameRequest object contains information about the game that's about to start. TODO: Use this function to decide how your Battlesnake is going to look on the board. | [
-0.22997786104679108,
-0.06479619443416595,
0.7891513705253601,
0.046745751053094864,
1.244146704673767,
0.10399100184440613,
-0.20437422394752502,
-0.5524872541427612,
0.09619155526161194,
-0.32160863280296326,
-0.053243037313222885,
0.37643009424209595,
-0.02454625815153122,
-0.325075238... |
HandleMove is called for each turn of each game. Valid responses are "up", "down", "left", or "right". TODO: Use the information in the GameRequest object to determine your next move. | [
-0.6116027235984802,
-0.5461680293083191,
0.6429673433303833,
0.5552982687950134,
0.6106354594230652,
-0.013908893801271915,
-0.2982904314994812,
-0.9004642367362976,
0.14899985492229462,
-0.6771548986434937,
0.03265080973505974,
-1.1642956733703613,
-0.661641538143158,
-0.2940217554569244... |
HandleEnd is called when a game your Battlesnake was playing has ended. It's purely for informational purposes, no response required. | [
0.1775539517402649,
0.3135133981704712,
0.6583738923072815,
-0.21734467148780823,
0.8849194645881653,
0.3930276930332184,
-0.9545066952705383,
-0.49671006202697754,
-0.7680164575576782,
-0.10141081362962723,
-0.5105602145195007,
0.19254595041275024,
-0.05054325610399246,
0.1450363546609878... |
ReadResponse reads a server response into the received o. | [
0.2536485195159912,
-0.5319309234619141,
0.4260271191596985,
0.250649094581604,
-0.42248207330703735,
-1.1332019567489624,
-0.1542394906282425,
-0.6475809812545776,
0.9560379981994629,
-0.19656099379062653,
-0.4577060341835022,
-0.03830955550074577,
-0.24323610961437225,
-1.241577029228210... |
NewGetClinicsClinicGUIDServicesOK creates a GetClinicsClinicGUIDServicesOK with default headers values | [
1.0669372081756592,
-0.16309376060962677,
0.02202126942574978,
-0.5094781517982483,
0.10926663875579834,
-0.4715788662433624,
0.29718267917633057,
-0.760643482208252,
-0.26954928040504456,
-0.36575955152511597,
0.2980033755302429,
0.40629318356513977,
0.20961371064186096,
-0.52412492036819... |
UnmarshalJSON unmarshals this object from a JSON structure | [
-0.959160327911377,
-0.4185994267463684,
0.46908944845199585,
-1.4970176219940186,
-0.6882621645927429,
-0.11783614009618759,
0.07983484864234924,
-0.08309382945299149,
1.0867305994033813,
-0.6676014065742493,
-0.8047409653663635,
-0.21627606451511383,
0.8017215728759766,
0.204242467880249... |
MarshalJSON marshals this object to a JSON structure | [
-0.0632372796535492,
-1.1270463466644287,
0.3555458188056946,
-0.31488704681396484,
-0.3318973779678345,
-0.2910881042480469,
0.19852904975414276,
0.021533921360969543,
1.4663472175598145,
-1.0792063474655151,
-1.0060690641403198,
1.0931782722473145,
0.44285261631011963,
0.428766667842865,... |
Validate validates this data items0 | [
-0.11587418615818024,
0.16973865032196045,
0.18751317262649536,
0.2323426455259323,
0.36080947518348694,
0.6125808954238892,
0.19460365176200867,
0.9165679216384888,
-0.33132854104042053,
-1.2033313512802124,
-0.9220491051673889,
-0.037185221910476685,
-0.033919379115104675,
0.995301067829... |
UnmarshalJSON unmarshals this object from a JSON structure | [
-0.959160327911377,
-0.4185994267463684,
0.46908944845199585,
-1.4970176219940186,
-0.6882621645927429,
-0.11783614009618759,
0.07983484864234924,
-0.08309382945299149,
1.0867305994033813,
-0.6676014065742493,
-0.8047409653663635,
-0.21627606451511383,
0.8017215728759766,
0.204242467880249... |
MarshalJSON marshals this object to a JSON structure | [
-0.0632372796535492,
-1.1270463466644287,
0.3555458188056946,
-0.31488704681396484,
-0.3318973779678345,
-0.2910881042480469,
0.19852904975414276,
0.021533921360969543,
1.4663472175598145,
-1.0792063474655151,
-1.0060690641403198,
1.0931782722473145,
0.44285261631011963,
0.428766667842865,... |
Validate validates this get clinics clinic GUID services o k body | [
0.8402789235115051,
-0.41234090924263,
0.2284872829914093,
0.11059681326150894,
0.0810147300362587,
0.0016471914714202285,
-0.34437882900238037,
-1.2787845134735107,
0.5844717025756836,
-1.1755088567733765,
0.8981938362121582,
-0.18752387166023254,
0.7498757839202881,
0.4162159860134125,
... |
NewIteration creates a new Iteration instance. | [
-0.23747923970222473,
-0.7240086793899536,
-0.10048387199640274,
0.5171600580215454,
-0.520976185798645,
-0.5680091977119446,
0.3141339421272278,
-0.8201521039009094,
-0.313799649477005,
0.2737789452075958,
-0.4136740267276764,
-0.5218645930290222,
-0.36981692910194397,
0.18828751146793365... |
GetCollectionName returns the database collection name. | [
-0.6369620561599731,
-0.4151816964149475,
0.5105642676353455,
0.3110128939151764,
0.013438490219414234,
0.11708641052246094,
0.04971686750650406,
-0.4426073133945465,
-0.4594908356666565,
0.7401711940765381,
-0.04246630147099495,
-0.3280850350856781,
0.4320448040962219,
1.1674972772598267,... |
GetID returns the ID for marshalling to json. | [
-0.27610915899276733,
-1.2757689952850342,
0.4152088165283203,
-0.7297028303146362,
0.5250742435455322,
0.13360583782196045,
-0.9940638542175293,
0.35970979928970337,
0.9772181510925293,
-0.06470216810703278,
-0.5955272912979126,
0.8219707012176514,
0.15076252818107605,
0.03307441622018814... |
SetID sets the ID for marshalling to json. | [
-0.5769935846328735,
-1.0099668502807617,
0.2903735935688019,
-0.9015817642211914,
0.017176900058984756,
0.3760327696800232,
-1.1593055725097656,
0.28861314058303833,
0.48967981338500977,
-0.10053080320358276,
-1.1010847091674805,
0.8381186723709106,
0.7896442413330078,
1.1168222427368164,... |
GetName returns the entity type name for marshalling to json. | [
-0.9014260172843933,
-1.0938657522201538,
0.5783573985099792,
-1.0226248502731323,
0.3622913658618927,
-0.13989193737506866,
-0.6594341397285461,
-0.0684940367937088,
-0.20099350810050964,
0.8798754811286926,
-0.24039286375045776,
-0.09203697741031647,
1.049263596534729,
0.3214096426963806... |
GetReferences to satisfy the jsonapi.MarshalReferences interface | [
-1.030340552330017,
-0.4878045320510864,
0.7350344061851501,
-1.2003083229064941,
0.35093924403190613,
-0.555109977722168,
-0.8800068497657776,
-0.9699568152427673,
0.1512536108493805,
-0.5078288912773132,
0.05459731072187424,
1.1126219034194946,
-0.542700469493866,
0.036699313670396805,
... |
GetReferencedIDs to satisfy the jsonapi.MarshalLinkedRelations interface | [
-0.38729128241539,
-0.5384420156478882,
0.2577286660671234,
-1.4849228858947754,
0.7971568703651428,
-0.02395695261657238,
-0.3663678467273712,
-0.6181427240371704,
1.0389007329940796,
-0.2901749014854431,
0.7747278809547424,
1.87397038936615,
-1.154061198234558,
0.36128243803977966,
-0.... |
GetCustomLinks returns the custom links, namely the self link. | [
-0.3618992269039154,
-0.4386233389377594,
0.09575604647397995,
0.0445808544754982,
-0.1889660805463791,
-0.8784658312797546,
0.2264450639486313,
0.42493075132369995,
0.4032314419746399,
-1.2474894523620605,
-0.9501809477806091,
1.65370774269104,
-0.6108336448669434,
-0.2261054515838623,
... |
GetCustomMeta returns the custom meta. TODO this looks like it is being called 10 times for each serialization. Check why! | [
0.44490548968315125,
-0.15315362811088562,
0.4033341109752655,
0.38994261622428894,
-0.21687184274196625,
-1.1285250186920166,
0.5415090918540955,
0.024957358837127686,
0.2528839409351349,
-0.3622143268585205,
0.1400803029537201,
1.5038210153579712,
-0.24352696537971497,
-0.199115484952926... |
Users retrieve a list of users | [
-0.7921416163444519,
0.4393259882926941,
-0.15283146500587463,
0.5982846617698669,
0.9547349810600281,
-0.3642216622829437,
-0.7806392908096313,
0.5559221506118774,
0.44263267517089844,
-0.6633746027946472,
-0.21537183225154877,
-0.027503859251737595,
-0.8496211767196655,
0.997181117534637... |
Create a new user | [
-0.14038854837417603,
0.17583610117435455,
-0.1376929134130478,
2.0668039321899414,
0.7491083145141602,
0.4177715480327606,
0.21599018573760986,
-0.544041633605957,
-1.0240654945373535,
-1.2416104078292847,
-1.0407336950302124,
-1.3191196918487549,
0.02751494199037552,
0.4351925253868103,
... |
GetAllUser will return all the usermanagement | [
-0.22302500903606415,
-0.07592200487852097,
0.40315350890159607,
1.7049274444580078,
0.5468751788139343,
0.5366672873497009,
-0.7610028386116028,
-0.19629348814487457,
0.8446373343467712,
-1.1567000150680542,
-0.008287817239761353,
0.3909975290298462,
-0.1008002758026123,
0.756946802139282... |
Deprecated: Use TestInfo_Trend.Descriptor instead. | [
0.4732670187950134,
0.10621447116136551,
0.1442045420408249,
-0.25551313161849976,
0.41286417841911316,
-0.19327640533447266,
0.23774859309196472,
-0.2585452198982239,
-0.35349583625793457,
-1.111763596534729,
-0.6420834064483643,
-0.06257272511720657,
0.11207778006792068,
0.13310579955577... |
Deprecated: Use DashboardTabSummary_TabStatus.Descriptor instead. | [
0.903702437877655,
0.33951646089553833,
0.21160203218460083,
0.17745128273963928,
-0.0845610722899437,
0.5437327027320862,
-0.0366140715777874,
-0.009123599156737328,
-0.9402860403060913,
-0.30350711941719055,
-0.1962796449661255,
-0.11792054027318954,
1.3749139308929443,
-0.79857456684112... |
Deprecated: Use FailingTestSummary.ProtoReflect.Descriptor instead. | [
-0.3664368987083435,
1.0435539484024048,
-0.1713465303182602,
0.4692234992980957,
-0.15200021862983704,
0.45233458280563354,
-0.15147480368614197,
-0.28758004307746887,
-0.13146673142910004,
0.5416600704193115,
-0.25423669815063477,
-0.05271331965923309,
-0.19737321138381958,
0.36650276184... |
Deprecated: Use TestInfo.ProtoReflect.Descriptor instead. | [
0.6111024618148804,
0.2780376374721527,
0.08860304951667786,
0.08717002719640732,
-0.10747846961021423,
-0.10867999494075775,
0.39288535714149475,
-0.5603955984115601,
-0.7135278582572937,
-0.9017661213874817,
-0.364470899105072,
-0.4185379445552826,
-0.44229844212532043,
0.379416882991790... |
Deprecated: Use HealthinessInfo.ProtoReflect.Descriptor instead. | [
0.9851120114326477,
0.30197200179100037,
0.000989764928817749,
-0.01707339659333229,
0.0889342650771141,
0.3449205458164215,
-0.3088838756084442,
-0.593191921710968,
-1.696257472038269,
-1.0381954908370972,
-0.5669753551483154,
-0.15688884258270264,
0.43231621384620667,
0.6514633297920227,... |
Deprecated: Use AlertingData.ProtoReflect.Descriptor instead. | [
-0.0016865015495568514,
1.1268310546875,
0.04065471515059471,
0.36636051535606384,
-0.9417600631713867,
1.0161457061767578,
-0.22136341035366058,
-0.059192996472120285,
-1.0549649000167847,
-0.4103853702545166,
0.1554946005344391,
0.5673749446868896,
0.1331329643726349,
0.04585207253694534... |
Deprecated: Use DashboardTabSummary.ProtoReflect.Descriptor instead. | [
0.14581266045570374,
1.4866180419921875,
0.25176358222961426,
0.34816938638687134,
0.2613855004310608,
-0.15461809933185577,
0.3798176348209381,
-0.285838782787323,
-1.3302472829818726,
-0.822062611579895,
-0.7501035332679749,
-0.21001103520393372,
0.8013404011726379,
-0.6286470293998718,
... |
Deprecated: Do not use. | [
0.31240999698638916,
0.5093525052070618,
0.38785886764526367,
0.751339316368103,
0.05575232207775116,
-0.9025110602378845,
-0.7612077593803406,
-0.49931833148002625,
0.2279127985239029,
-1.1424028873443604,
-1.230181097984314,
-0.036156632006168365,
-0.2976934313774109,
-0.0447427034378051... |
Deprecated: Use DashboardTabSummaryMetrics.ProtoReflect.Descriptor instead. | [
0.42927277088165283,
1.2151670455932617,
0.2959381341934204,
-0.02470923215150833,
0.4898705780506134,
0.2783626914024353,
0.6377201080322266,
-0.9118348360061646,
-0.8069400787353516,
-0.7610072493553162,
-0.12816737592220306,
-0.30632391571998596,
0.48708152770996094,
-1.0060302019119263... |
Deprecated: Use DashboardSummary.ProtoReflect.Descriptor instead. | [
0.02728615701198578,
2.071157217025757,
0.2629055082798004,
0.22390782833099365,
0.149435892701149,
-0.5351843237876892,
0.30299651622772217,
0.7416645288467407,
-1.0451061725616455,
-0.7384173274040222,
-0.6868901252746582,
-0.07058948278427124,
0.4419775903224945,
-0.24305295944213867,
... |
Verifies that the sums of the probabilities is equal to 1.0 (within given tolerance) | [
1.4126590490341187,
-0.27985867857933044,
0.4381342828273773,
1.1987128257751465,
0.9452894926071167,
1.0305134057998657,
-0.13096292316913605,
-0.3664911687374115,
0.43962979316711426,
0.1517404317855835,
-0.44923102855682373,
-0.10888559371232986,
-0.7686223983764648,
-0.4284403622150421... |
Header gets the header for a bsp. | [
-0.18181048333644867,
0.10772529989480972,
0.2993771731853485,
1.4915311336517334,
-0.10346724092960358,
0.032031670212745667,
-0.7354921102523804,
-0.5851096510887146,
0.11280851811170578,
-0.12022943049669266,
0.06284139305353165,
0.7026622891426086,
-0.5529806613922119,
-1.3535041809082... |
Lump gets the lump for a given id. | [
-0.4522068202495575,
0.42543894052505493,
0.06561034172773361,
-0.2981737554073334,
0.31182146072387695,
-0.1792183220386505,
-0.2870281934738159,
-0.536321222782135,
0.4500786364078522,
-0.5247576832771301,
0.6666458249092102,
1.407557487487793,
0.16833311319351196,
-0.5549637675285339,
... |
RawLump gets the lump for a given id. | [
-0.6312470436096191,
0.2525447905063629,
0.25888267159461975,
-0.8945208787918091,
-0.4378470778465271,
-0.3072477877140045,
-0.2657913267612457,
-0.4152927100658417,
0.7571771740913391,
-0.7515210509300232,
-0.005058028735220432,
1.0973831415176392,
1.0728600025177002,
-1.0667402744293213... |
SetLump sets the lump data for a given id. | [
-0.5777945518493652,
-0.20098412036895752,
0.25458988547325134,
-0.42534297704696655,
0.2910679578781128,
0.8908035755157471,
-0.36698710918426514,
0.01576741598546505,
0.28621116280555725,
-0.3425435423851013,
-0.7266904711723328,
1.3218863010406494,
0.447622150182724,
-0.0912199318408966... |
NewCookie creates a new Cookie with the provided name | [
0.16902950406074524,
-0.8698377013206482,
0.36717328429222107,
0.7350007891654968,
-1.0082008838653564,
-0.03919857740402222,
-0.03819141909480095,
-0.5348641872406006,
-1.0034394264221191,
0.2565040588378906,
-0.706924557685852,
-0.039857782423496246,
-0.18114452064037323,
-0.028891958296... |
Value sets the value of the Cookie | [
0.0558667816221714,
0.08633454144001007,
0.41595563292503357,
-0.42793354392051697,
-0.057990532368421555,
-0.08045449107885361,
0.4696427881717682,
-0.5455248951911926,
0.0362580381333828,
0.6790300607681274,
-0.40778249502182007,
0.28899237513542175,
0.3372838795185089,
0.535326361656189... |
Path sets the path of the Cookie | [
-0.03567460924386978,
-0.6968263387680054,
0.2268058806657791,
0.20222888886928558,
-0.43755343556404114,
0.3638646900653839,
1.7002158164978027,
-0.05598699301481247,
-0.2908724248409271,
0.523647665977478,
-0.2901556193828583,
0.6055881977081299,
-0.1503583788871765,
0.12633545696735382,... |
Domain sets the domain of the Cookie | [
-0.6453567743301392,
0.36533433198928833,
0.33713018894195557,
0.6596945524215698,
-0.013463370501995087,
-0.5085232257843018,
0.3954388201236725,
-0.0320117250084877,
0.20318004488945007,
-0.05053454264998436,
-0.223603293299675,
2.0878865718841553,
0.4147285521030426,
0.9854840040206909,... |
Expires sets the expires time of the Cookie | [
-0.6617423892021179,
-0.3607556223869324,
0.28524351119995117,
-0.46706604957580566,
0.13835307955741882,
-0.47927507758140564,
-1.5442609786987305,
-0.1714085042476654,
0.8996669054031372,
1.2222195863723755,
-0.6610311269760132,
-0.0091384407132864,
0.17196768522262573,
0.518922209739685... |
MaxAge sets the maxage of the Cookie | [
-0.7660582661628723,
-0.10238058120012283,
0.5532360672950745,
0.09393662959337234,
-0.8036575317382812,
0.22352004051208496,
-0.4308011531829834,
0.6049863696098328,
0.37261104583740234,
1.0120991468429565,
0.3372906446456909,
0.4739078879356384,
-0.382057785987854,
0.37734508514404297,
... |
Secure sets the secure bool of the Cookie | [
0.04122980311512947,
0.24657031893730164,
0.6340738534927368,
1.2582130432128906,
-0.21464666724205017,
0.22644472122192383,
0.12159071862697601,
-0.21154935657978058,
-0.5431671142578125,
0.058738723397254944,
-1.021871566772461,
0.2517758309841156,
-0.22853370010852814,
0.303195804357528... |
HttpOnly sets the httpOnly bool of the Cookie | [
-0.2255403846502304,
0.6258092522621155,
0.5357128381729126,
1.1369739770889282,
-0.265159547328949,
1.083734393119812,
0.10539226979017258,
0.5066343545913696,
-0.581547200679779,
0.5589260458946228,
-0.4793357253074646,
1.212984323501587,
-0.5148147940635681,
0.12747091054916382,
-0.48... |
ToHttpCookie transforms the Cookie to an http cookie | [
0.4220843017101288,
-0.1471455693244934,
0.5857746005058289,
-0.27812647819519043,
-0.024140432476997375,
-0.17536622285842896,
-0.2337564080953598,
-0.5597766041755676,
-0.6230385303497314,
0.603515088558197,
-0.2806780934333801,
0.7797064185142517,
0.397040456533432,
-0.586150586605072,
... |
FromHTTPCookie transforms an http cookie into a Cookie | [
0.6899541020393372,
-0.14895735681056976,
0.47964581847190857,
-0.2625678479671478,
-0.5269304513931274,
-0.34416794776916504,
-0.20763877034187317,
-0.7900574207305908,
-0.8294927477836609,
0.3719664216041565,
-0.034542448818683624,
0.6573672890663147,
0.49219316244125366,
-0.501466929912... |
Compares cookies based on only the provided fields from Cookie. Supported fields are Name, Value, Domain, Path, Expires, MaxAge, Secure and HttpOnly | [
-0.4844661056995392,
-0.10095537453889847,
0.21579235792160034,
0.826221227645874,
-0.49362418055534363,
0.04765273630619049,
0.03601538762450218,
-0.14813877642154694,
0.13879099488258362,
0.6735873818397522,
-0.6410135626792908,
0.23125337064266205,
0.1155586764216423,
-0.007997509092092... |
ensurePlugin makes the that a plugin binary has been installed on the system. Plugins that have not been installed are built from `cmd/`. | [
0.980556070804596,
-1.1535828113555908,
0.34198829531669617,
1.1088182926177979,
1.4585092067718506,
0.8957926630973816,
0.6170651912689209,
-0.20169807970523834,
0.28587427735328674,
-0.8496376872062683,
-0.7652737498283386,
0.46835413575172424,
0.6391485929489136,
0.6210780739784241,
0... |
Creates a VPA followed by a matching pod. Verifies that the links between the VPA and the pod are set correctly. | [
0.21076996624469757,
-0.16744892299175262,
0.26161956787109375,
0.7495566606521606,
1.5361661911010742,
1.023626446723938,
0.5204460024833679,
-0.13182345032691956,
1.0536659955978394,
-0.5812109708786011,
-0.24814273416996002,
0.47721636295318604,
-0.39895081520080566,
-0.0953114479780197... |
Creates a pod followed by a matching VPA. Verifies that the links between the VPA and the pod are set correctly. | [
0.34377846121788025,
-0.1608860343694687,
0.255813330411911,
0.6652701497077942,
1.5840092897415161,
1.1119768619537354,
0.5687276721000671,
0.0418950580060482,
0.9066802263259888,
-0.3601810932159424,
-0.06746853142976761,
0.4458991587162018,
-0.2887052595615387,
-0.1934623271226883,
0.... |
Creates a VPA and a matching pod. Verifies that after deleting the VPA the pod does not link to any Vpa. | [
0.39477282762527466,
-0.39875122904777527,
0.25083619356155396,
0.5051243901252747,
1.2673836946487427,
1.2202078104019165,
0.8435204029083252,
0.14500708878040314,
1.5080991983413696,
-0.274059921503067,
-0.29937246441841125,
0.26559966802597046,
-0.586893618106842,
0.1403171271085739,
... |
Creates a VPA and a matching pod. Verifies that after deleting the pod the VPA does not control any pods. | [
0.3223240375518799,
-0.20207566022872925,
0.24932599067687988,
0.7798234820365906,
1.035475492477417,
0.968974232673645,
0.7457119226455688,
0.19344690442085266,
1.4781075716018677,
-0.19076615571975708,
-0.44812116026878357,
0.2685447931289673,
-0.3627170920372009,
-0.0958447977900505,
... |
Creates a VPA and a matching pod, then change the pod labels such that it is no longer matched by the VPA. Verifies that the links between the pod and the VPA are removed. | [
-0.3756076991558075,
-0.5241445899009705,
0.3820704519748688,
0.12052041292190552,
0.7587186098098755,
1.2190581560134888,
0.5225943922996521,
0.3382571041584015,
0.8764657974243164,
-0.05327434465289116,
-0.5617057085037231,
0.36747977137565613,
-0.860480546951294,
-0.8833938241004944,
... |
Creates a VPA and a matching pod, then change the VPA pod selector 3 times: first such that it still matches the pod, then such that it no longer matches the pod, finally such that it matches the pod again. Verifies that the links between the pod and the VPA are updated correctly each time. | [
-0.8610259890556335,
-0.29746249318122864,
0.39895811676979065,
0.5495795011520386,
1.322098970413208,
0.36576220393180847,
0.47572001814842224,
-0.23234157264232635,
0.7554491758346558,
-0.12462285161018372,
-0.680336594581604,
0.056047968566417694,
-0.873783528804779,
-0.6253159046173096... |
Creates a VPA and a matching pod, then add another VPA matching the same pod. Verifies that the pod is controlled by the first VPA. Next deletes the first VPA and verfies that the pod is controlled by the remaning VPA. Finally deletes the other VPA and verifies that the pod is no longer controlled by any VPA. | [
0.5537456274032593,
-0.12552806735038757,
0.5540374517440796,
0.9251253008842468,
1.261394739151001,
0.13919077813625336,
1.0124320983886719,
-0.4609379470348358,
1.6858930587768555,
-0.0061054169200360775,
-0.8354311585426331,
0.17254936695098877,
-0.9321545362472534,
-0.6010168790817261,... |
Verifies that a VPA with an empty selector (matching all pods) matches a pod with labels as well as a pod with no labels. | [
-0.9339841604232788,
-1.0159826278686523,
0.2565031945705414,
0.20605476200580597,
1.0099215507507324,
1.1016207933425903,
-0.12963160872459412,
-0.12656405568122864,
0.8472196459770203,
-0.3323114514350891,
-0.05828960984945297,
0.41172048449516296,
-0.43146052956581116,
0.102430425584316... |
CustomerOrErr returns the Customer value or an error if the edge was not loaded in eagerloading, or loaded but was not found. | [
0.06954784691333771,
-1.0607763528823853,
0.533021092414856,
-0.25579601526260376,
-0.5942050814628601,
-0.01720179058611393,
0.1167718693614006,
-0.6509353518486023,
0.2831670045852661,
0.5098885297775269,
1.592926025390625,
0.5155353546142578,
0.30091723799705505,
0.1706651747226715,
-... |
EmployeeOrErr returns the Employee value or an error if the edge was not loaded in eagerloading, or loaded but was not found. | [
-0.6136970520019531,
-0.9114502668380737,
0.5533252358436584,
-0.649461030960083,
-0.2128864973783493,
0.6680865287780762,
-0.16692599654197693,
-0.4013398587703705,
0.5635197162628174,
0.49909508228302,
1.5480576753616333,
0.6051808595657349,
-0.12026239186525345,
0.23049131035804749,
-... |
PaymenttypeOrErr returns the Paymenttype value or an error if the edge was not loaded in eagerloading, or loaded but was not found. | [
-0.2483188658952713,
0.4031265377998352,
0.47138142585754395,
-1.0234105587005615,
0.40724053978919983,
0.012254110537469387,
-0.14873212575912476,
-1.210666537284851,
1.3166683912277222,
0.5868245959281921,
1.7644871473312378,
0.031066523864865303,
0.11424979567527771,
1.0839264392852783,... |
RoomtypeOrErr returns the Roomtype value or an error if the edge was not loaded in eagerloading, or loaded but was not found. | [
-1.0100613832473755,
-0.2747294008731842,
0.5935620069503784,
0.1082434132695198,
0.31769412755966187,
0.3941692113876343,
0.5604646801948547,
-0.9226007461547852,
0.7127685546875,
0.987259030342102,
1.0360866785049438,
0.20434501767158508,
-0.28647202253341675,
1.1172103881835938,
-0.19... |
scanValues returns the types for scanning values from sql.Rows. | [
-0.11444148421287537,
0.9527615308761597,
0.4098605513572693,
0.946639358997345,
0.07789497077465057,
-0.024475106969475746,
-0.36197763681411743,
-0.79620760679245,
0.5114680528640747,
-0.8609367609024048,
-0.4028056263923645,
0.1302328109741211,
1.0849542617797852,
0.6107139587402344,
... |
fkValues returns the types for scanning foreignkeys values from sql.Rows. | [
0.032927919179201126,
1.219462513923645,
0.3978223204612732,
0.9243658781051636,
0.5653607845306396,
-0.7468644380569458,
0.1958569884300232,
-0.8394625186920166,
0.5968015193939209,
-0.7616603970527649,
-0.2973592281341553,
-0.7887226939201355,
0.8023763298988342,
0.7376741766929626,
-0... |
assignValues assigns the values that were returned from sql.Rows (after scanning) to the Payment fields. | [
-0.06756526231765747,
-0.07189192622900009,
0.17213797569274902,
-0.3993019163608551,
0.11403252184391022,
-0.42614418268203735,
0.1361304074525833,
-0.05170277878642082,
0.10067161172628403,
-0.4670105576515198,
0.3529544472694397,
-0.5860779881477356,
0.49134042859077454,
0.8651881814002... |
QueryCustomer queries the customer edge of the Payment. | [
1.0737457275390625,
0.3501236140727997,
0.38380515575408936,
1.1930665969848633,
-0.5099543929100037,
-0.2356463074684143,
-0.1857997477054596,
-0.6101840734481812,
0.21960026025772095,
-0.4091264009475708,
1.3032104969024658,
0.36821460723876953,
-0.45939353108406067,
-0.48475560545921326... |
QueryEmployee queries the employee edge of the Payment. | [
0.39043721556663513,
0.3091992139816284,
0.3486833870410919,
0.6374776363372803,
-0.2242177128791809,
0.6657979488372803,
-0.506884753704071,
-0.222007155418396,
0.01576358638703823,
0.09003224223852158,
0.7961856722831726,
-0.17904826998710632,
-1.3885618448257446,
-0.27054286003112793,
... |
QueryPaymenttype queries the paymenttype edge of the Payment. | [
0.27518653869628906,
1.4138503074645996,
0.35589760541915894,
0.34620559215545654,
0.5347586870193481,
-0.5008758306503296,
-1.0202268362045288,
-0.9682465195655823,
1.4838361740112305,
-0.22716131806373596,
1.627260446548462,
0.2144223004579544,
-0.5233388543128967,
0.6182729005813599,
... |
QueryRoomtype queries the roomtype edge of the Payment. | [
-0.5557044148445129,
1.2354215383529663,
0.4641769230365753,
1.5549683570861816,
0.24585939943790436,
-0.3136501908302307,
-0.16494505107402802,
-0.8834213614463806,
0.6293019652366638,
0.2096661478281021,
0.9310228228569031,
0.7400054931640625,
-0.7728195190429688,
1.0193681716918945,
-... |
Update returns a builder for updating this Payment. Note that, you need to call Payment.Unwrap() before calling this method, if this Payment was returned from a transaction, and the transaction was committed or rolled back. | [
0.4441912770271301,
-0.6250144243240356,
0.38399624824523926,
-0.1593037098646164,
-0.9163004159927368,
-0.08293037116527557,
-0.4420953094959259,
0.22657454013824463,
1.217759609222412,
-0.26159393787384033,
1.208234190940857,
0.3907567262649536,
-0.47505688667297363,
-0.4969334900379181,... |
Unwrap unwraps the entity that was returned from a transaction after it was closed, so that all next queries will be executed through the driver which created the transaction. | [
-0.17325150966644287,
-0.3780941963195801,
0.3808448612689972,
-0.9037958383560181,
-0.3757835030555725,
-0.14754189550876617,
0.5852317214012146,
0.34561821818351746,
-0.12900616228580475,
-0.115107960999012,
0.8209194540977478,
0.09006651490926743,
0.7306953072547913,
-1.0506023168563843... |
String implements the fmt.Stringer. | [
-0.35802018642425537,
-1.5810582637786865,
0.21453221142292023,
-0.6768918037414551,
-0.32525303959846497,
0.6018292903900146,
0.10726158320903778,
-0.8095663189888,
-0.1302347183227539,
-1.3097699880599976,
0.40913793444633484,
-0.2947554588317871,
0.6693325638771057,
0.5705350041389465,
... |
StartServer start server side | [
-0.14837712049484253,
-0.7358359694480896,
0.17145368456840515,
0.7587026357650757,
0.5364090204238892,
0.40686124563217163,
-0.02152496576309204,
0.7054741382598877,
0.13334238529205322,
-0.8395361304283142,
-0.6682421565055847,
1.048588514328003,
-0.7505334615707397,
1.0291764736175537,
... |
TestMaxConcSessConn tests 4 maximum concurrent connections of a session | [
-0.15684251487255096,
-0.7748883962631226,
0.38569167256355286,
0.875593364238739,
0.18275001645088196,
-1.2038923501968384,
-0.10534040629863739,
-0.14696471393108368,
0.850571870803833,
-0.28668805956840515,
-0.6504164338111877,
-1.012737512588501,
0.5511747002601624,
-0.3728453516960144... |
Begin starts a pseudo nested transaction implemented with a savepoint. | [
0.6110298037528992,
0.20373207330703735,
0.44254565238952637,
1.3829997777938843,
-0.02894788235425949,
-0.42381805181503296,
0.2779063284397125,
0.48774340748786926,
-0.03114572912454605,
-0.09776018559932709,
-1.218388557434082,
0.016160691156983376,
-0.0685526579618454,
-0.5497326254844... |
Commit commits the transaction and returns the associated connection back to the Pool. Commit will return ErrTxClosed if the Tx is already closed, but is otherwise safe to call multiple times. If the commit fails with a rollback status (e.g. the transaction was already in a broken state) then ErrTxCommitRollback will b... | [
-0.4227902591228485,
-1.1436597108840942,
0.925412118434906,
0.32405924797058105,
-0.3514440059661865,
0.40258005261421204,
-0.14440837502479553,
-0.3490578532218933,
-0.41257187724113464,
1.0692474842071533,
0.4767702519893646,
-0.17450132966041565,
-1.0580909252166748,
-1.079946398735046... |
Rollback rolls back the transaction and returns the associated connection back to the Pool. Rollback will return ErrTxClosed if the Tx is already closed, but is otherwise safe to call multiple times. Hence, defer tx.Rollback() is safe even if tx.Commit() will be called first in a nonerror condition. | [
-0.053956445306539536,
0.08617309480905533,
0.9990831613540649,
0.381362646818161,
0.47184139490127563,
0.8442554473876953,
0.3161150813102722,
-0.41568073630332947,
-0.05508068948984146,
-0.33768230676651,
0.33023539185523987,
0.10644575208425522,
-0.577732264995575,
-0.6691035032272339,
... |
Prepare creates a prepared statement with name and sql. If the name is empty, an anonymous prepared statement will be used. sql can contain placeholders for bound parameters. These placeholders are referenced positionally as $1, $2, etc. Prepare is idempotent; i.e. it is safe to call Prepare multiple times with the sam... | [
0.058105528354644775,
0.20618009567260742,
0.5299095511436462,
0.42096489667892456,
-1.1538842916488647,
-1.0638597011566162,
-1.0916721820831299,
-1.0687828063964844,
-0.06656328588724136,
0.5140659809112549,
-0.6000604033470154,
-0.365988552570343,
0.06251367181539536,
0.4463830292224884... |
Create creates a Plugin in Kong. The arg should be of type diff.Event, containing the plugin to be created, else the function will panic. It returns a the created state.Plugin. | [
-0.0006915060221217573,
-0.367971271276474,
0.6254864931106567,
0.7837225794792175,
0.1233677789568901,
0.585084855556488,
0.1601662039756775,
-0.1322506219148636,
0.5691341161727905,
-0.26803913712501526,
-0.4281598627567291,
-0.02479110285639763,
0.11214327812194824,
0.08261732757091522,... |
Delete deletes a Plugin in Kong. The arg should be of type diff.Event, containing the plugin to be deleted, else the function will panic. It returns a the deleted state.Plugin. | [
0.5725753903388977,
-0.5797289609909058,
0.6016808152198792,
0.5928407907485962,
0.05741528049111366,
-0.004033454228192568,
0.18028834462165833,
0.4504321217536926,
1.418999195098877,
0.030932512134313583,
-0.3429223597049713,
0.5639386773109436,
-0.3977624475955963,
-0.39872801303863525,... |
Update updates a Plugin in Kong. The arg should be of type diff.Event, containing the plugin to be updated, else the function will panic. It returns a the updated state.Plugin. | [
-0.5109646916389465,
-1.338463306427002,
0.6298583745956421,
0.38260000944137573,
-0.7751863598823547,
0.2433629035949707,
0.23214547336101532,
0.15610459446907043,
1.0260684490203857,
0.1722136288881302,
-0.3806944787502289,
0.48727157711982727,
-0.38970914483070374,
-0.4540643095970154,
... |
TODO: define the 'RemainingOvenTime()' function | [
0.5170058012008667,
-0.0677994042634964,
0.5879287719726562,
0.4728598892688751,
-0.2588745653629303,
0.594874382019043,
-0.3016849458217621,
-0.301623672246933,
0.522293746471405,
0.3607655465602875,
-0.1956043690443039,
-0.9610410928726196,
-1.0917714834213257,
0.92180997133255,
-0.626... |
TODO: define the 'PreparationTime()' function | [
0.10694260895252228,
0.10739647597074509,
0.6600654125213623,
0.24284109473228455,
0.009406685829162598,
-0.19445869326591492,
-0.03830665349960327,
0.8203063011169434,
0.5058726072311401,
0.8196587562561035,
-0.48370426893234253,
-0.5922838449478149,
-0.4947435259819031,
1.903766393661499... |
TODO: define the 'ElapsedTime()' function | [
0.6392750144004822,
0.06829570978879929,
0.44564586877822876,
0.16264145076274872,
0.39622023701667786,
0.6044108867645264,
0.29250985383987427,
0.9730750918388367,
0.6327024698257446,
-0.03626124560832977,
-0.42425304651260376,
-0.1923941969871521,
-0.7449972033500671,
1.0558252334594727,... |
Takes in a hex encoded string and returns that string base64 encoded Or empty string and error Uses my manual implementation of encoding/decoding rather than the standard library (well, halfway anyway because I didn't implement base64 encoding) | [
-0.1732986867427826,
-0.6666214466094971,
0.38229069113731384,
0.7948694229125977,
-0.09564157575368881,
0.09854292869567871,
-0.9051700830459595,
0.6361503601074219,
1.216773509979248,
-0.43419501185417175,
0.282195508480072,
-0.009815007448196411,
-0.04401226341724396,
0.0618896931409835... |
Takes in a hex encoded string and returns that string base64 encoded Or empty string and error | [
-0.23014876246452332,
-0.5680925250053406,
0.30603402853012085,
0.8011465072631836,
0.055472563952207565,
0.3981321156024933,
-1.2731813192367554,
0.3764844834804535,
0.8431445956230164,
-0.08721072971820831,
0.3743632137775421,
0.014348713681101799,
-0.1744738072156906,
-0.317008823156356... |
This implementation is just to prove to myself I can do it I'm probably not thinking of all errors I'd need to handle, And I'll use go's encoding library for the rest of the exercises the go source code has this nicer, separating Decode and DecodeString, where Decode takes a dst and src and modifies the injected dst. A... | [
-0.17280127108097076,
-0.3385404646396637,
0.5902798771858215,
-0.7717983722686768,
-0.747468888759613,
-0.3502485454082489,
-0.5504258871078491,
0.12721160054206848,
0.7285758256912231,
0.24374055862426758,
0.07110030204057693,
0.5374137759208679,
0.11486876755952835,
-0.28920266032218933... |
Returns the value of the character from 015 and true if the character was valid otherwise 0 and an error this comes from the go docs lol | [
-0.03844393417239189,
-0.7911220192909241,
0.6951013803482056,
0.17714807391166687,
-0.5200645923614502,
0.06994694471359253,
0.761936366558075,
0.13265910744667053,
-0.4507080912590027,
-0.10206823796033859,
-0.819946825504303,
0.3128918409347534,
-0.39744701981544495,
-0.1145893186330795... |
Hrm okay turns out base64 is slightly more complicated let's assume standard padding character `=` | [
-0.19613556563854218,
0.14110834896564484,
0.4051790237426758,
0.21505260467529297,
0.14607274532318115,
0.5368909239768982,
-0.9232919216156006,
-0.3630324900150299,
0.4889802932739258,
-0.27254682779312134,
-0.13452734053134918,
-0.2562773525714874,
-0.5053623914718628,
0.385432034730911... |
given an input of n bytes, the output will be 4[n/3] bytes long, including padding characters. (you'll have to pad up to 2 bytes) | [
0.44266510009765625,
0.6308553814888,
0.45857909321784973,
-0.29461798071861267,
-0.6056331396102905,
0.3885354697704315,
-0.16646014153957367,
-0.881969153881073,
0.5415583848953247,
-0.45348575711250305,
-1.3984490633010864,
-0.6520283818244934,
0.07493555545806885,
0.3211740255355835,
... |
New returns a pointer pointing to a new Trie | [
0.18892501294612885,
-0.8510503768920898,
0.4428769648075104,
-0.47580385208129883,
-0.745345413684845,
-0.2539905607700348,
0.4498656690120697,
-0.4927719235420227,
-0.32853198051452637,
-0.3692943751811981,
-0.09377318620681763,
1.1038849353790283,
-0.6316248774528503,
-0.099964760243892... |
Insert inserts a word into the Trie | [
0.03785228729248047,
1.1748547554016113,
0.3315128684043884,
-0.921661913394928,
-0.09740730375051498,
0.8618849515914917,
0.6888948678970337,
1.270002007484436,
-0.12200164794921875,
0.41058218479156494,
-0.8296907544136047,
-0.11591461300849915,
-2.543358325958252,
-0.1077999398112297,
... |
Contains checks whether the Trie has the given word or not | [
0.7301148772239685,
-0.17783576250076294,
0.2833814322948456,
0.14823344349861145,
-0.6304444074630737,
0.9365439414978027,
-0.25509750843048096,
0.5758348107337952,
-0.0007623086567036808,
0.018974071368575096,
0.14869865775108337,
0.3228920102119446,
-0.9651583433151245,
1.08627378940582... |
enqueueRobot add the key of the object to workqueue. | [
-0.3875829875469208,
-0.68735671043396,
0.5345761179924011,
-0.027391862124204636,
0.5829873085021973,
0.5988435745239258,
-0.7214198112487793,
-0.8877089023590088,
-0.022788431495428085,
0.5115202069282532,
-1.043426275253296,
0.1471434235572815,
-0.21561963856220245,
0.4522894024848938,
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.