text stringlengths 7 2.39k | embedding listlengths 768 768 |
|---|---|
GetMessage Returns the message the remote sent back | [
-0.17779357731342316,
0.21101535856723785,
0.5805957317352295,
-0.8113155364990234,
0.89985191822052,
0.32002705335617065,
-0.2228742092847824,
-0.7474623918533325,
-0.30440956354141235,
-0.08569357544183731,
0.08315015584230423,
0.28241220116615295,
-1.6237798929214478,
0.0594771131873130... |
Ack Writes an `Ack` message to the remote, does not await its response, a separate call to ParseResponse is therefore required to check if the acknowledgement succeeded | [
0.21853992342948914,
-0.3990865647792816,
0.5277438163757324,
-0.7776512503623962,
0.06870146840810776,
0.4421570599079132,
0.4899131953716278,
-0.17113664746284485,
0.5785166621208191,
-0.32010480761528015,
-0.18848223984241486,
-0.01056677382439375,
-0.05244096368551254,
-0.0035850822459... |
DJB implements the classic DJB hash algorithm for 32 bits. | [
-0.40027931332588196,
1.6273000240325928,
0.3428753614425659,
0.3078719675540924,
-1.0776922702789307,
1.717383861541748,
0.38074904680252075,
-0.8197551369667053,
-0.19846490025520325,
0.19592219591140747,
-0.3922390043735504,
-0.6338492631912231,
0.04747229442000389,
0.03978998214006424,... |
DJB64 implements the classic DJB hash algorithm for 64 bits. | [
-1.1774431467056274,
1.250691294670105,
0.29404211044311523,
1.6110810041427612,
-0.7668235898017883,
0.47114789485931396,
0.33871230483055115,
-0.33506888151168823,
-0.0229151863604784,
0.584145188331604,
0.04004736617207527,
-0.6438268423080444,
0.10044758766889572,
0.6724389791488647,
... |
DeserializeBlock deserializes an encoded block and returns decoded block | [
0.20405490696430206,
-0.17703567445278168,
0.5186066627502441,
0.12819351255893707,
-0.5823298096656799,
-0.48121756315231323,
-0.6939918398857117,
0.234561026096344,
0.7620485424995422,
-1.6357910633087158,
-0.5746980309486389,
-0.008117216639220715,
-0.6504892706871033,
-0.45924133062362... |
Merge implements the merge subcommand that allows merging multiple entries. | [
-0.5279735326766968,
0.3308939039707184,
0.5742710828781128,
1.1840310096740723,
1.13192880153656,
0.4450473189353943,
-0.38901498913764954,
0.42778268456459045,
-0.47362303733825684,
-0.9848979115486145,
-0.5288347601890564,
-0.0425252839922905,
-0.4618180990219116,
0.4198877513408661,
... |
NewSelectOptions parses select options | [
-0.0024857388343662024,
-1.1240558624267578,
0.3219819664955139,
0.8984030485153198,
0.6327701210975647,
-1.0819019079208374,
-0.9792261123657227,
-1.5750250816345215,
0.725601077079773,
0.6352141499519348,
-0.527837336063385,
-0.9856785535812378,
0.39571613073349,
0.34149089455604553,
-... |
parseRequest accepts a events.APIGatewayProxyRequest type, attempts to unmarshall the APIGatewayProxyRequest from JSON, and returns a generic Messiah.Request type, merging in all the values from events.APIGatewayProxyRequest | [
-0.8818996548652649,
0.07701800018548965,
0.77461177110672,
-1.0971646308898926,
-0.42674392461776733,
-0.6610399484634399,
-0.5139549970626831,
-0.055912330746650696,
0.41122329235076904,
-0.5278898477554321,
0.9580203294754028,
-0.15488994121551514,
-0.16752953827381134,
0.34370246529579... |
ParseResponse accepts a generic messiah.Response type and returns a properly parsed res.APIGatewayProxyResponse with the proper values set from the messiah.Response on to the res.APIGatewayProxyResponse | [
-0.32116934657096863,
-0.764857828617096,
0.27393487095832825,
-1.210802435874939,
-0.5607869625091553,
-0.771976113319397,
-0.19190141558647156,
-0.1081763505935669,
0.9789994359016418,
-0.4801900088787079,
0.16135306656360626,
-0.8469768762588501,
-1.0879274606704712,
0.06748521327972412... |
GetLambdaHandler accepts a generic endpoint handler and returns a generic lambdaHandler function, which should be fed into lambda.Start(). | [
0.057911090552806854,
-0.5597212314605713,
0.33520612120628357,
-0.37561753392219543,
-0.4143044650554657,
0.8468473553657532,
-0.41142410039901733,
0.5019040107727051,
0.13168108463287354,
-0.9928769469261169,
-0.06217455863952637,
0.6249853372573853,
0.456001877784729,
-0.399662226438522... |
Start accepts a generic Messiah endpoint handler (as defined by Messiah.Handler), translates it into a vendorspecific handler, and passes that handler into lambda.Start() | [
-0.5828022956848145,
-0.12384966760873795,
0.4358160197734833,
0.6138116717338562,
-0.5057748556137085,
-0.22580377757549286,
-0.30822885036468506,
1.0816528797149658,
0.3624066710472107,
-0.2335890233516693,
-0.5921019315719604,
0.8608089089393616,
1.3815752267837524,
-0.08340374380350113... |
NewRemote returns a Subjects that talks to a remote grpc Subject service. | [
0.5166458487510681,
-0.6651188731193542,
0.35356831550598145,
-0.5293042659759521,
-1.3157178163528442,
1.0060597658157349,
-1.391723871231079,
-1.307494044303894,
0.03311564028263092,
-0.6454794406890869,
-0.15269558131694794,
1.5831971168518066,
-1.111783742904663,
-1.1258752346038818,
... |
Search implements Subjects.Search It forwards the call through grpc to the remote implementation. | [
-0.5529226660728455,
0.6998453736305237,
0.19224859774112701,
-0.6689459681510925,
0.3149508237838745,
0.9187737703323364,
0.390027791261673,
-1.3144276142120361,
-0.261958509683609,
-0.19520530104637146,
0.011659727431833744,
1.063520908355713,
-1.2728040218353271,
0.014881141483783722,
... |
Add implements Subjects.Add It forwards the call through grpc to the remote implementation. | [
-0.39582136273384094,
0.43401506543159485,
0.400590717792511,
-0.8171482086181641,
0.38587310910224915,
1.4432650804519653,
0.23592087626457214,
-0.8090100884437561,
0.5329219698905945,
-0.09567710757255554,
-0.06417340785264969,
0.967193603515625,
-0.9206757545471191,
0.40404650568962097,... |
SENTRY_DSN="$YOUR_DSN" go run ldflags "X main.CommitSHA=$(git revlist 1 HEAD)" demo.go | [
0.7303906679153442,
0.7776930928230286,
0.21452151238918304,
0.5243248343467712,
1.2614896297454834,
-0.3825850188732147,
-0.42405611276626587,
1.170233130455017,
0.420158714056015,
-0.22274456918239594,
-0.2721039652824402,
1.1186134815216064,
0.2526327669620514,
0.3272322714328766,
-0.... |
NewClient creates a new helm oci registry client. | [
0.7441138029098511,
-0.41292786598205566,
0.09728948771953583,
0.2796162962913513,
0.36766868829727173,
-0.6072381138801575,
1.026895523071289,
-0.21627584099769592,
0.2139657437801361,
-0.2106926143169403,
-0.03783886507153511,
0.6506168246269226,
-0.44470155239105225,
-1.0389108657836914... |
GetChart pulls a chart from a oci registry with the given ref | [
0.7483096122741699,
0.4008021950721741,
0.5125637650489807,
-0.42408472299575806,
0.300303190946579,
-0.310767263174057,
-0.3099645972251892,
-0.2701948285102844,
0.9323949813842773,
-0.2848106026649475,
1.4828879833221436,
2.1648125648498535,
0.06325958669185638,
-1.0466290712356567,
1.... |
NewUser creates a new User with the given username and an hashed password. | [
0.9112510681152344,
-0.25871574878692627,
0.12757471203804016,
1.9030039310455322,
0.3979513645172119,
0.34299200773239136,
-0.43472468852996826,
-0.037591394037008286,
-0.5966068506240845,
-0.6533668637275696,
-1.1068856716156006,
-0.6781392693519592,
0.20283076167106628,
-0.0699617415666... |
NewTemplate defines a base set of functions that will be applied to all templates being rendered. | [
-0.05732017382979393,
-0.3691960871219635,
0.5591030120849609,
0.5984805226325989,
-0.023835893720388412,
-0.682494044303894,
-0.3304634690284729,
0.2507365643978119,
0.26066434383392334,
-1.0158849954605103,
-1.3226221799850464,
-0.42514345049858093,
-0.05284711346030235,
0.11685162037611... |
NewTemplateRenderer implements the interface web.Renderer allowing for execution of nested html templates. The templateDir should include three directories: 1. layouts: base layouts defined for the entire application 2. content: page specific templates that will be nested instead of a layout template 3. partials: templ... | [
-0.35416263341903687,
-0.10372254997491837,
0.7826153635978699,
0.06611202657222748,
-0.8383497595787048,
-0.3760300278663635,
0.33097290992736816,
0.015837494283914566,
0.8117181658744812,
-0.8086240887641907,
-0.10215657204389572,
-0.1080285832285881,
-0.059210844337940216,
1.34704422950... |
initialize client requested by fabric | [
-0.47399672865867615,
-0.4741942286491394,
-0.07233807444572449,
0.4905591905117035,
1.1480889320373535,
-0.3024687170982361,
0.4723299443721771,
-0.743016242980957,
-1.0676878690719604,
-0.7836307883262634,
-0.995966911315918,
0.7933849096298218,
-0.07613848149776459,
-0.31239932775497437... |
AWSCloudFormationType returns the AWS CloudFormation resource type | [
0.3842860460281372,
0.7968496084213257,
0.3826904594898224,
-0.5413091778755188,
0.5510029196739197,
-0.6445626020431519,
0.2782161831855774,
-0.261823445558548,
0.21313636004924774,
-0.6876237392425537,
0.1006702184677124,
0.1999535858631134,
0.7374811768531799,
0.8889502286911011,
1.13... |
NewWorker creates a new worker using the given id and attaches to the provided worker pool. It also initializes the job/quit channels | [
-0.2804831564426422,
-0.9501407146453857,
0.02798238955438137,
0.47564953565597534,
0.3172619640827179,
0.20857827365398407,
0.24584046006202698,
-1.451013207435608,
-0.02746633067727089,
-0.0671210065484047,
-1.0308120250701904,
0.25864657759666443,
-0.3952723443508148,
0.6637464165687561... |
Start initializes a select loop to listen for jobs to execute | [
0.38947850465774536,
-0.8698364496231079,
0.08435440063476562,
-0.15542757511138916,
1.2121261358261108,
0.2912524342536926,
0.20339128375053406,
0.09979765862226486,
-0.8921388387680054,
-0.047081660479307175,
-0.4850265681743622,
0.36101484298706055,
0.14810848236083984,
-0.3346738815307... |
Stop will end the job select loop for the worker | [
-0.5810877680778503,
-1.361728549003601,
0.2578243315219879,
-0.302921861410141,
0.17577724158763885,
0.7672905921936035,
0.3717562258243561,
-0.40389499068260193,
-0.9472593665122986,
0.1982288658618927,
-0.44038844108581543,
-0.1586206555366516,
-1.1782143115997314,
-0.6075450778007507,
... |
AddAfPacketInterface calls AfPacketCreate VPP binary API. | [
0.4992922842502594,
0.44650331139564514,
0.3041665554046631,
-0.05097421631217003,
0.306979775428772,
1.081018328666687,
-0.9743660688400269,
-1.3872445821762085,
0.521560549736023,
-0.3787292242050171,
0.07212506234645844,
-0.3112037479877472,
-0.07515981793403625,
0.9615092873573303,
0... |
DeleteAfPacketInterface calls AfPacketDelete VPP binary API. | [
0.8949347138404846,
0.002944784704595804,
0.142541766166687,
-0.06879805028438568,
-0.21191585063934326,
0.7307108044624329,
-0.6068527102470398,
-0.9711509346961975,
0.7809966206550598,
0.12932021915912628,
0.19814074039459229,
0.08014699816703796,
-0.11333075165748596,
0.8810854554176331... |
NewClusterConfigFromEnv retrieves a new cluster config based on the environment | [
-0.22540223598480225,
-0.4640032649040222,
0.14578065276145935,
0.5547836422920227,
-0.052316732704639435,
0.14949673414230347,
-0.684483528137207,
-0.2862793505191803,
-0.9996581077575684,
0.49744313955307007,
-0.26235833764076233,
1.3374677896499634,
-0.10310622304677963,
0.2699672281742... |
NewClusterConfig creates a new k8s incluster client | [
0.7873907685279846,
-0.37843313813209534,
0.24195334315299988,
-0.2030283659696579,
-0.5584639310836792,
-0.14140142500400543,
-0.387660950422287,
0.7043917179107666,
0.22208328545093536,
0.5291996598243713,
-0.6952521204948425,
1.0931744575500488,
-0.8286280035972595,
-0.499208003282547,
... |
NewLocalClusterConfig creates a new k8s incluster client | [
1.0636500120162964,
-0.6906177997589111,
0.12990236282348633,
-0.8056264519691467,
-0.7231082320213318,
-0.22098030149936676,
-0.7232545614242554,
1.2395780086517334,
0.3828241527080536,
0.2641274631023407,
-0.5903422832489014,
0.9398488402366638,
-1.028480887413025,
-0.7910298109054565,
... |
CheckActiveDeployments checks if a deployment for appName by org is currently active | [
0.19821177423000336,
-1.444532036781311,
0.304639607667923,
0.4943843483924866,
-0.01943109557032585,
0.2183598428964615,
-0.023601680994033813,
0.17348557710647583,
0.061720430850982666,
1.3262664079666138,
0.31560730934143066,
-0.2733265459537506,
0.4145492613315582,
-0.4907381236553192,... |
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 automation condition | [
0.6584094166755676,
-0.5340842604637146,
0.08521958440542221,
0.5625053644180298,
0.2648056745529175,
0.9927463531494141,
0.6762115359306335,
0.011686657555401325,
-0.8979417681694031,
0.0339948944747448,
0.6627772450447083,
-0.20528443157672882,
-0.01994011364877224,
0.5602995157241821,
... |
GetInsecurePort 'insecureport' argument of k8sconsole. | [
0.6641730070114136,
-0.21322618424892426,
0.45555445551872253,
0.49986913800239563,
1.1283758878707886,
0.47314155101776123,
1.1274360418319702,
-1.298972249031067,
-0.09123194962739944,
-0.018302300944924355,
-0.24783791601657867,
0.5458666086196899,
-0.9231436252593994,
-1.75746512413024... |
GetPort 'port' argument of k8sconsole. | [
0.694157063961029,
-0.04456638917326927,
0.21430574357509613,
0.26501426100730896,
1.8998801708221436,
0.6046101450920105,
0.8789357542991638,
-1.229625940322876,
-0.20017309486865997,
0.0723603367805481,
0.2369266003370285,
-0.14300203323364258,
0.07298068702220917,
-0.7345911264419556,
... |
GetInsecureBindAddress 'insecurebindaddress' argument of k8sconsole. | [
-0.17650417983531952,
-0.3377361595630646,
0.57504802942276,
0.5835208892822266,
0.7015266418457031,
0.6296333074569702,
0.7595297694206238,
-0.6875320076942444,
0.9864307045936584,
-0.2969900667667389,
-0.0228461604565382,
2.0478909015655518,
-1.3794208765029907,
-1.0474997758865356,
1.... |
GetBindAddress 'bindaddress' argument of k8sconsole. | [
0.30293652415275574,
-1.1667609214782715,
0.5446773171424866,
0.6056936383247375,
0.6698818206787109,
0.6500549912452698,
0.6441785097122192,
-0.1701967567205429,
1.05731999874115,
-0.24095846712589264,
0.23379845917224884,
2.0088295936584473,
-0.15573656558990479,
-0.2528201937675476,
1... |
GetApiServerHost 'apiserverhost' argument of k8sconsole. | [
-0.443217933177948,
-0.5110350251197815,
0.20907920598983765,
-0.08747219294309616,
0.5521137118339539,
0.3181542456150055,
0.023774579167366028,
0.31003350019454956,
0.12715265154838562,
0.5429552793502808,
-0.1539357602596283,
-0.037572141736745834,
-0.22852320969104767,
-0.5991280674934... |
GetKubeConfigFile 'kubeconfig' argument of k8sconsole. | [
0.5968366861343384,
0.06814602762460709,
0.379436731338501,
0.4172508716583252,
0.8270867466926575,
1.0328177213668823,
0.5595757961273193,
-0.10352987051010132,
-0.8857819437980652,
1.0754587650299072,
-0.22638610005378723,
-0.11450072377920151,
-0.010771077126264572,
-0.08456308394670486... |
GetTokenTTL 'tokenttl' argument of k8sconsole. | [
0.8156924843788147,
-0.31001490354537964,
0.1940474659204483,
-1.027687907218933,
1.052532434463501,
-0.003058657981455326,
-0.30396342277526855,
-0.8350387811660767,
0.028323853388428688,
0.5129219889640808,
-0.5727543830871582,
0.2412949800491333,
1.1665881872177124,
-1.0885944366455078,... |
GetAuthenticationMode 'authenticationmode' argument of k8sconsole. | [
-0.6183585524559021,
-0.03888615593314171,
0.1802271455526352,
0.5174129009246826,
0.679945170879364,
0.7541259527206421,
0.5199886560440063,
-0.7596332430839539,
0.28472843766212463,
0.666191816329956,
-0.08516930788755417,
0.24788081645965576,
0.11635328829288483,
-0.782601535320282,
1... |
GetDisableSkipButton 'disablesettingsauthorizer' argument of k8sconsole. | [
-0.5796783566474915,
0.7111190557479858,
0.13012656569480896,
0.7441344261169434,
-0.5969686508178711,
1.0179040431976318,
0.9101462364196777,
0.23088666796684265,
-0.00601622462272644,
0.40409088134765625,
-0.12093411386013031,
-0.5034558773040771,
0.25584378838539124,
-0.5625326633453369... |
GetEnableInsecureLogin 'enableinsecurelogin' argument of k8sconsole. | [
-0.0351087711751461,
-0.23323699831962585,
0.38561248779296875,
0.36177858710289,
0.28910019993782043,
0.6031556129455566,
0.03256735950708389,
-0.3039088249206543,
0.4991971552371979,
0.17240814864635468,
-0.8828004002571106,
0.8712779879570007,
-0.8954507112503052,
-2.042144298553467,
... |
New creates and returns an error which is formatted from given text. | [
0.7813696265220642,
-1.451452374458313,
0.37218162417411804,
0.7104906439781189,
-1.4006606340408325,
0.19858409464359283,
-0.7012031078338623,
-0.023105384781956673,
0.058389343321323395,
-0.4630223214626312,
0.2074735015630722,
-0.00830898154526949,
-0.061436496675014496,
0.0298341773450... |
Newf returns an error that formats as the given format and args. | [
0.5056779980659485,
-0.6328433156013489,
0.30942946672439575,
0.23098702728748322,
0.265364408493042,
-0.9300130009651184,
-0.7795464396476746,
-0.5255274772644043,
-0.7147766947746277,
-0.7343801259994507,
1.2815402746200562,
-0.09560692310333252,
0.8825352191925049,
0.4251609742641449,
... |
NewSkip creates and returns an error which is formatted from given text. The parameter `skip` specifies the stack callers skipped amount. | [
0.03517825901508331,
-0.05708920583128929,
0.5882348418235779,
0.6154761910438538,
-0.9861035943031311,
0.15097473561763763,
0.45341163873672485,
-0.33401164412498474,
0.16033875942230225,
0.5669659376144409,
-0.009484726935625076,
0.09687250852584839,
0.13418622314929962,
-0.6168040633201... |
NewSkipf returns an error that formats as the given format and args. The parameter `skip` specifies the stack callers skipped amount. | [
0.041348204016685486,
0.023473583161830902,
0.5693908929824829,
0.40726885199546814,
-0.0986608937382698,
-0.12063392996788025,
0.33846545219421387,
-0.863184928894043,
-0.262677401304245,
0.33229511976242065,
0.24405910074710846,
-0.2425142526626587,
0.6406612396240234,
-0.133423104882240... |
Wrap wraps error with text. It returns nil if given err is nil. Note that it does not lose the error code of wrapped error, as it inherits the error code from it. | [
0.007104847114533186,
-0.256084144115448,
0.2248774915933609,
1.2359999418258667,
-1.5978238582611084,
-0.10072039067745209,
-0.7568888664245605,
-0.21850235760211945,
1.6231930255889893,
0.27383190393447876,
0.44547680020332336,
0.6829404830932617,
0.6907360553741455,
0.15940338373184204,... |
Wrapf returns an error annotating err with a stack trace at the point Wrapf is called, and the format specifier. It returns nil if given `err` is nil. Note that it does not lose the error code of wrapped error, as it inherits the error code from it. | [
0.7119023203849792,
0.05306193232536316,
0.20915627479553223,
0.9038240313529968,
-0.33045488595962524,
-0.11815524101257324,
0.12024036049842834,
-0.0819125846028328,
1.0716503858566284,
-0.5407854318618774,
0.3465285003185272,
0.6375386118888855,
1.0396835803985596,
0.5216317772865295,
... |
WrapSkip wraps error with text. It returns nil if given err is nil. The parameter `skip` specifies the stack callers skipped amount. Note that it does not lose the error code of wrapped error, as it inherits the error code from it. | [
-0.51214998960495,
0.14149777591228485,
0.7047274708747864,
0.8713465332984924,
-1.2350273132324219,
-0.02041850984096527,
0.23712880909442902,
-0.39349380135536194,
1.2967944145202637,
0.6325295567512512,
0.4035044312477112,
0.07598994672298431,
1.1836719512939453,
-0.6093119382858276,
... |
WrapSkipf wraps error with text that is formatted with given format and args. It returns nil if given err is nil. The parameter `skip` specifies the stack callers skipped amount. Note that it does not lose the error code of wrapped error, as it inherits the error code from it. | [
-0.27094578742980957,
0.03129240497946739,
0.6001735925674438,
0.45372524857521057,
-0.5803902745246887,
0.18299809098243713,
0.027398541569709778,
-0.34238794445991516,
0.46992257237434387,
0.43466684222221375,
0.6582187414169312,
0.030641678720712662,
1.1646044254302979,
-0.2072835862636... |
NewCode creates and returns an error that has error code and given text. | [
0.4892546832561493,
-0.6930448412895203,
0.25161224603652954,
0.6846975088119507,
-1.105576515197754,
-0.0041849734261631966,
-0.9959886074066162,
0.26339665055274963,
0.34133169054985046,
-0.13331647217273712,
-0.04198496416211128,
-0.13501131534576416,
-0.07372227311134338,
0.24158781766... |
NewCodef returns an error that has error code and formats as the given format and args. | [
0.22831951081752777,
-0.9207383394241333,
0.39318886399269104,
0.13792113959789276,
0.01180934626609087,
-0.3728552460670471,
-0.37784385681152344,
0.07234316319227219,
-0.9596338272094727,
-0.5968166589736938,
0.30368268489837646,
-0.1230718120932579,
0.8095475435256958,
0.909738719463348... |
NewCodeSkip creates and returns an error which has error code and is formatted from given text. The parameter `skip` specifies the stack callers skipped amount. | [
-0.4482414424419403,
0.10542969405651093,
0.691292941570282,
0.21575692296028137,
-1.1410681009292603,
0.10563156008720398,
0.4559769332408905,
0.05966097488999367,
0.11323314160108566,
0.032474201172590256,
-0.28890302777290344,
-0.02536105364561081,
0.08677324652671814,
-0.49796739220619... |
NewCodeSkipf returns an error that has error code and formats as the given format and args. The parameter `skip` specifies the stack callers skipped amount. | [
-0.19489818811416626,
0.48038461804389954,
0.6263992190361023,
-0.025060610845685005,
-0.3735496401786804,
-0.15531666576862335,
0.35152336955070496,
-0.19944265484809875,
-0.3000912368297577,
-0.1327122449874878,
-0.17827469110488892,
-0.292410284280777,
0.32463568449020386,
0.11561393737... |
WrapCode wraps error with code and text. It returns nil if given err is nil. | [
0.05950541794300079,
-0.06660887598991394,
0.16532748937606812,
1.0475587844848633,
-1.388978123664856,
-0.43383657932281494,
-0.7872624397277832,
0.23139967024326324,
1.2465403079986572,
0.021492974832654,
0.598035454750061,
0.5618378520011902,
0.602540135383606,
0.9621288180351257,
1.3... |
WrapCodef wraps error with code and format specifier. It returns nil if given `err` is nil. | [
0.32829543948173523,
-0.5278501510620117,
0.138839453458786,
0.8485578894615173,
-0.8172358274459839,
0.09750597923994064,
-0.45173558592796326,
0.34529057145118713,
0.6403247117996216,
-0.6669367551803589,
0.4987088143825531,
0.7176665663719177,
1.212598443031311,
0.9018779993057251,
1.... |
WrapCodeSkip wraps error with code and text. It returns nil if given err is nil. The parameter `skip` specifies the stack callers skipped amount. | [
-0.6205732822418213,
0.6831413507461548,
0.6799477338790894,
0.5255685448646545,
-1.0934396982192993,
-0.17339584231376648,
-0.0017034246120601892,
-0.03236335888504982,
0.8134303689002991,
0.41312140226364136,
0.3634491562843323,
0.1724061816930771,
0.8746479749679565,
-0.1246187537908554... |
WrapCodeSkipf wraps error with code and text that is formatted with given format and args. It returns nil if given err is nil. The parameter `skip` specifies the stack callers skipped amount. | [
-0.3344460427761078,
0.3770892918109894,
0.5662735104560852,
0.27284878492355347,
-0.6851924657821655,
-0.08799248188734055,
-0.16914786398410797,
-0.02433825097978115,
0.24385574460029602,
0.19892500340938568,
0.6496655344963074,
-0.02779674343764782,
0.9281589984893799,
0.353401452302932... |
Code returns the error code of current error. It returns CodeNil if it has no error code neither it does not implement interface Code. | [
-0.2770395874977112,
0.1364765167236328,
0.5814536809921265,
0.920839786529541,
-0.49689438939094543,
-0.31246358156204224,
0.5037969350814819,
0.3347817361354828,
1.004369854927063,
-0.2843535840511322,
0.8272238969802856,
-0.02634366974234581,
0.12658047676086426,
0.8843761086463928,
1... |
Cause returns the root cause error of `err`. | [
0.9728235602378845,
-0.6232229471206665,
0.04487752914428711,
1.4687621593475342,
-0.8071431517601013,
-0.5045979022979736,
0.5325793027877808,
-0.2246004343032837,
1.1589584350585938,
-0.7948664426803589,
0.7807936668395996,
1.0015301704406738,
0.4206311106681824,
0.37471359968185425,
0... |
Stack returns the stack callers as string. It returns the error string directly if the `err` does not support stacks. | [
-0.09484763443470001,
0.6169875264167786,
0.36092662811279297,
1.3212753534317017,
-0.39550796151161194,
-0.32353463768959045,
-0.021999552845954895,
-1.1738860607147217,
0.15257509052753448,
0.15697386860847473,
0.8141710162162781,
0.08064891397953033,
0.161455899477005,
0.572440683841705... |
Current creates and returns the current level error. It returns nil if current level error is nil. | [
0.11457011103630066,
-0.9062619209289551,
0.3742031753063202,
0.4904346466064453,
-0.11557203531265259,
0.48003289103507996,
0.45240211486816406,
-0.29728084802627563,
-1.1538658142089844,
-0.43626993894577026,
0.253487765789032,
0.4781004786491394,
-0.2076299786567688,
0.3709813952445984,... |
Next returns the next level error. It returns nil if current level error or the next level error is nil. | [
-0.04499129205942154,
-0.12795710563659668,
0.35461509227752686,
1.08037269115448,
-0.7251521944999695,
-0.03221620246767998,
-0.48413747549057007,
-0.4049348831176758,
0.512022078037262,
-0.6313675045967102,
0.3176702558994293,
1.0746281147003174,
-0.9384753108024597,
0.507628321647644,
... |
Unwrap is alias of function `Next`. It is just for implements for stdlib errors.Unwrap from Go version 1.17. | [
-0.30933046340942383,
0.4698982238769531,
0.6871565580368042,
-0.5576392412185669,
-0.7884451150894165,
-0.19456978142261505,
-0.2760534882545471,
-0.16975967586040497,
-0.583080530166626,
0.02091248147189617,
0.06256499886512756,
1.36788010597229,
0.7492896914482117,
-1.1660642623901367,
... |
HasStack checks and returns whether `err` implemented interface `iStack`. | [
0.33473387360572815,
1.73136305809021,
0.6047662496566772,
1.4985634088516235,
0.10926134139299393,
-0.6066741943359375,
0.9797789454460144,
-0.5219894051551819,
0.33767250180244446,
0.04499482735991478,
-0.41836845874786377,
0.0766691341996193,
0.43552640080451965,
1.1421070098876953,
-... |
Is reports whether current error `err` has error `target` in its chaining errors. It is just for implements for stdlib errors.Unwrap from Go version 1.17. | [
-0.7065652012825012,
-0.7664130330085754,
0.3805392384529114,
0.03869102895259857,
-0.07508846372365952,
-0.30360546708106995,
-0.46093255281448364,
-0.5585108995437622,
0.27147534489631653,
0.2401144802570343,
0.2629455029964447,
1.4176404476165771,
0.3813723921775818,
-0.3459195196628570... |
Max calculates the maximum of the parent charts. | [
0.641772449016571,
0.11641180515289307,
0.5316379070281982,
0.6711264252662659,
-0.3699530363082886,
-0.3304140269756317,
0.6140533089637756,
-1.1830198764801025,
-0.3095428943634033,
-0.7016656398773193,
-0.41148319840431213,
0.638801097869873,
0.37893587350845337,
0.16695180535316467,
... |
Gaussian blurs the data with a Gaussian kernel. | [
-0.06111491471529007,
-0.1480509340763092,
0.42051446437835693,
0.7523861527442932,
-0.6064393520355225,
0.485843688249588,
-0.7906869053840637,
-0.3855545222759247,
0.32682719826698303,
-0.21370269358158112,
0.0886978954076767,
1.8490997552871704,
0.5125577449798584,
0.1481896936893463,
... |
Multiply multiplies the charts by a factor | [
-1.1449841260910034,
0.04221323877573013,
0.4087904989719391,
0.21149705350399017,
-0.015333333984017372,
0.31469008326530457,
0.14395765960216522,
-0.6414478421211243,
0.3716583847999573,
-0.8004710078239441,
-0.2588256299495697,
0.22444956004619598,
-0.11970054358243942,
0.38872733712196... |
MetaResourceNamespaceKeyFunc is a convenient KeyFunc which knows how to make keys for API objects which implement meta.Interface. The key uses the format // unless is empty, then it's /. | [
0.1535365879535675,
-0.3346058428287506,
0.17164675891399384,
0.19268256425857544,
-0.7074989676475525,
-0.2924727201461792,
0.47113004326820374,
-0.530734121799469,
0.5399771332740784,
0.19777534902095795,
0.7749067544937134,
0.15376704931259155,
1.073219895362854,
0.713464617729187,
-0... |
SplitMetaResourceNamespaceKeyFunc returns the kind, namespace and name that MetaResourceNamespaceKeyFunc encoded into key. | [
-0.40819403529167175,
-0.28022831678390503,
0.058996520936489105,
-0.04135323315858841,
-0.8144935965538025,
-0.29361197352409363,
0.4301166832447052,
-0.6912432312965393,
0.4797220230102539,
0.7248989939689636,
-0.3611783981323242,
0.7405037879943848,
0.37825703620910645,
0.51807415485382... |
IndexByIDKeyFun returns a function for indexing a cache by ID | [
-0.7101812362670898,
-0.36435240507125854,
0.09242205321788788,
0.2161397933959961,
-0.6551965475082397,
-1.2321381568908691,
0.7738929986953735,
0.04282979667186737,
0.09723936021327972,
0.20860882103443146,
-0.830779492855072,
0.616539478302002,
0.24279822409152985,
-1.048134446144104,
... |
CreateAndStartRecorder creates and starts a new recorder with the given name | [
0.2728460431098938,
-0.3747537136077881,
0.8497970700263977,
0.9327672719955444,
-0.34951770305633545,
0.17107203602790833,
-0.733772873878479,
0.023864371702075005,
0.1314919888973236,
-0.4356149435043335,
-0.5421424508094788,
0.5681834816932678,
0.03340727090835571,
0.9727250337600708,
... |
NewStore creates a new store instance. | [
0.06440158933401108,
-0.7555747032165527,
-0.10924182832241058,
0.7929167747497559,
-1.1355085372924805,
-0.059883177280426025,
-0.3346565067768097,
-0.31486406922340393,
0.8658914566040039,
-1.806190013885498,
-0.22451898455619812,
-0.2551683783531189,
-0.8181294202804565,
-0.386858522891... |
Close releases resources allocated for coprocessor. | [
-0.22463226318359375,
-0.5371362566947937,
0.24765776097774506,
-0.5344292521476746,
-0.843405544757843,
-0.025032131001353264,
1.462958574295044,
-0.38500839471817017,
-0.6640400886535645,
0.28234973549842834,
0.47708389163017273,
0.033827658742666245,
-0.0003684818802867085,
0.9093592762... |
GetClient gets a client instance. | [
0.011088229715824127,
-0.07646192610263824,
-0.06842489540576935,
0.008888058364391327,
0.3580193519592285,
-0.14934417605400085,
0.22444915771484375,
-0.29194462299346924,
-0.2599700391292572,
-1.1391698122024536,
-0.03451462835073471,
1.3389348983764648,
-0.47684016823768616,
-1.66295611... |
GetMPPClient gets a mpp client instance. | [
0.5518534183502197,
-0.9498295187950134,
0.1622001975774765,
0.009962886571884155,
-0.521241307258606,
-0.18906104564666748,
0.04134608805179596,
-0.33192354440689087,
0.25535255670547485,
-0.4179174602031708,
0.172817200422287,
0.7621778249740601,
-1.6299591064453125,
-1.4753812551498413,... |
NewIPLineFilter is used to construct ip filter as a `LineFilter` | [
-0.42268237471580505,
-1.3086578845977783,
0.29396486282348633,
0.48117929697036743,
-0.9852073788642883,
-0.6908201575279236,
-0.8191241025924683,
0.0073929824866354465,
-0.664500892162323,
-0.6080231666564941,
-0.6769716739654541,
-0.11584535241127014,
0.5154094696044922,
-0.572829186916... |
Filter implement `Filterer` interface. Used by `LineFilter` | [
0.05207936465740204,
-1.113137125968933,
0.3749215304851532,
0.4861185848712921,
-0.7729179859161377,
0.48871031403541565,
0.37123534083366394,
-0.5116885900497437,
-0.4668075442314148,
-0.5234763622283936,
0.04668622836470604,
-0.07026056200265884,
0.5396353602409363,
1.190418004989624,
... |
ToStage implements `Filterer` interface. | [
-0.059437431395053864,
0.24016447365283966,
0.43908700346946716,
0.17203114926815033,
-0.2864118218421936,
-0.8505698442459106,
0.882604718208313,
-0.7964012622833252,
0.23666290938854218,
0.7486670017242432,
0.24084222316741943,
0.23848679661750793,
-0.5935370326042175,
0.8332187533378601... |
`Process` implements `Stage` interface | [
0.24968378245830536,
-0.7418074607849121,
0.584269106388092,
0.23958824574947357,
-0.49092721939086914,
0.9515513181686401,
0.8932088613510132,
-1.2152161598205566,
1.0168070793151855,
-0.535889208316803,
-0.44969141483306885,
0.19736768305301666,
0.37576431035995483,
1.113383412361145,
... |
`RequiredLabelNames` implements `Stage` interface | [
-1.5653575658798218,
-1.1847213506698608,
0.4026446044445038,
-0.25839290022850037,
-0.7601191401481628,
1.7460126876831055,
0.3594067692756653,
-0.3642415404319763,
0.4331124424934387,
0.6112053394317627,
-0.2760055959224701,
-0.5112605094909668,
-0.04092269763350487,
1.413000464439392,
... |
NewIPLabelFilter is used to construct ip filter as label filter for the given `label`. | [
-1.3912712335586548,
-0.7920657396316528,
0.2347240447998047,
-0.1369326412677765,
-1.3192638158798218,
0.23297260701656342,
-1.2188163995742798,
-0.4030298888683319,
-0.3404892385005951,
0.23985767364501953,
-0.06444661319255829,
0.33185938000679016,
0.3298822045326233,
-1.02903151512146,... |
`Process` implements `Stage` interface | [
0.24968378245830536,
-0.7418074607849121,
0.584269106388092,
0.23958824574947357,
-0.49092721939086914,
0.9515513181686401,
0.8932088613510132,
-1.2152161598205566,
1.0168070793151855,
-0.535889208316803,
-0.44969141483306885,
0.19736768305301666,
0.37576431035995483,
1.113383412361145,
... |
`RequiredLabelNames` implements `Stage` interface | [
-1.5653575658798218,
-1.1847213506698608,
0.4026446044445038,
-0.25839290022850037,
-0.7601191401481628,
1.7460126876831055,
0.3594067692756653,
-0.3642415404319763,
0.4331124424934387,
0.6112053394317627,
-0.2760055959224701,
-0.5112605094909668,
-0.04092269763350487,
1.413000464439392,
... |
`String` implements fmt.Stringer inteface, by which also implements `LabelFilterer` inteface. | [
-0.4841589033603668,
-0.9564323425292969,
0.4646044969558716,
-0.31291887164115906,
-0.6167031526565552,
0.37088778614997864,
0.2625972628593445,
-1.1644628047943115,
0.26901477575302124,
-0.06763667613267899,
0.5607845783233643,
0.8461207151412964,
0.33900928497314453,
0.49348315596580505... |
filter does the heavy lifting finding ip `pattern` in the givin `line`. This is the function if you want to understand how the core logic how ip filter works! | [
-0.17731936275959015,
0.040625181049108505,
0.37961435317993164,
0.6304327249526978,
0.07265791296958923,
-0.17057037353515625,
0.7145699262619019,
0.6008552312850952,
-0.4470111131668091,
0.396451473236084,
0.3455564081668854,
0.367377907037735,
-0.13368164002895355,
-1.0543166399002075,
... |
bytesSpan is same as C's `strcspan()` function. It returns the number of chars in the initial segment of `s` which consist only of chars from `accept`. | [
0.5950901508331299,
0.01761864870786667,
0.5383105874061584,
-0.7218685150146484,
-1.6579586267471313,
-0.8008765578269958,
0.8855533599853516,
-0.05407916381955147,
0.2944003641605377,
-0.18666787445545197,
-0.9336081743240356,
1.5115725994110107,
-0.6029951572418213,
-0.7841444611549377,... |
Close closes the file | [
0.8595021367073059,
-0.29485127329826355,
0.7042357921600342,
0.029825598001480103,
-0.025436745956540108,
1.5558720827102661,
0.41300827264785767,
0.8426765203475952,
-2.0745790004730225,
-1.2019033432006836,
1.175560712814331,
-0.2929505407810211,
-0.04769798368215561,
0.253021776676178,... |
handle is called when a message is received | [
1.0848305225372314,
-0.03674456849694252,
0.7120679616928101,
-0.21506017446517944,
1.1615229845046997,
0.4756442606449127,
-0.01700489968061447,
-0.11697284877300262,
-0.6156813502311707,
-1.6874727010726929,
-0.23688432574272156,
-0.2767465114593506,
-0.5028379559516907,
0.26855862140655... |
These are more like helper functions and not part of Collector. Thus, detaching from main struct. | [
0.8631304502487183,
-0.7667508125305176,
0.4379511773586273,
-1.453687071800232,
-1.0664615631103516,
-0.04776573181152344,
0.9361575841903687,
-0.6840762495994568,
-0.0009467428317293525,
-0.36132925748825073,
-0.33908089995384216,
-0.18669645488262177,
-0.029427221044898033,
-0.682902991... |
Handle request for `POST /v1/accounts` | [
-0.9065461754798889,
0.037887655198574066,
0.46704086661338806,
1.5093952417373657,
0.9050794243812561,
-0.18713177740573883,
1.0239927768707275,
0.30207303166389465,
0.33151713013648987,
-0.7346110343933105,
-0.401263564825058,
-0.48566150665283203,
0.07802976667881012,
-0.401694208383560... |
UnmarshalPubkey converts bytes to a secp256k1 public key. | [
0.9659345746040344,
0.5157487988471985,
0.15648338198661804,
0.43309012055397034,
-0.2688932418823242,
0.2141696810722351,
-0.11594261974096298,
0.6542195081710815,
0.18260905146598816,
0.3929862976074219,
-0.312572181224823,
0.0807286947965622,
0.14183096587657928,
-0.8988947868347168,
... |
Evaluate returns the verifiable unpredictable function evaluated at m | [
0.8086528778076172,
-0.5284551382064819,
0.19143947958946228,
0.3476733863353729,
0.6434139609336853,
-0.3984975218772888,
0.06044907122850418,
-0.009727470576763153,
-0.8132877349853516,
-0.9499731063842773,
-0.5464807748794556,
-0.31764280796051025,
-0.8532478213310242,
-1.22488009929656... |
Public returns the corresponding public key as bytes. | [
0.06727335602045059,
0.853796124458313,
0.12713049352169037,
0.11412155628204346,
-0.2664724886417389,
0.08564610034227371,
-0.9013508558273315,
-1.0798832178115845,
-1.1366286277770996,
-0.9602028727531433,
-0.8952246904373169,
0.0755980983376503,
0.007645163219422102,
0.3413536846637726,... |
ProofToHash asserts that proof is correct for m and outputs index. | [
-0.05200282856822014,
0.22195543348789215,
0.10363653302192688,
1.299605131149292,
0.3531458377838135,
0.5465337038040161,
1.3435535430908203,
-0.22701559960842133,
-0.5157438516616821,
-0.10812868922948837,
0.15977174043655396,
0.0755087286233902,
0.5715288519859314,
-0.6287837028503418,
... |
H2 hashes to an integer [1,N1] | [
-1.0597773790359497,
0.050607096403837204,
0.2175985872745514,
1.1842103004455566,
-0.06737008690834045,
-0.6368318796157837,
-0.16731911897659302,
-0.6611891984939575,
-1.3144075870513916,
-0.7424251437187195,
-1.0648866891860962,
-0.17072486877441406,
-0.20316047966480255,
-0.20035423338... |
Unmarshal a compressed point in the form specified in section 4.3.6 of ANSI X9.62. | [
1.263425588607788,
-0.26225465536117554,
0.4665674567222595,
-0.47598057985305786,
-1.4550504684448242,
-0.25036606192588806,
0.733062207698822,
0.3137974441051483,
-0.1319168359041214,
0.2835935056209564,
-0.37469902634620667,
-0.6718335151672363,
-0.2007208615541458,
-1.1536136865615845,... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.