text
stringlengths
7
2.39k
embedding
listlengths
768
768
BadRequest writes an error message out to the http.ResponseWriter using format similar to fmt.Printf.
[ -0.4200921058654785, -0.7552989721298218, 0.4178116023540497, -0.08214806020259857, 0.8366208076477051, -0.7097131609916687, -0.16659393906593323, -0.498328298330307, -0.4128773808479309, -1.2380132675170898, 1.1872625350952148, 0.26409912109375, 0.21283364295959473, 0.5605788230895996, ...
DecodeJSON decodes JSON passed in a request into a dvid.Config.
[ -2.285496473312378, 0.37937310338020325, 0.2809980511665344, 0.29124754667282104, -0.27227407693862915, -1.0403399467468262, -0.5406965613365173, -0.34041568636894226, 0.276721328496933, 0.16133834421634674, -0.6101627349853516, 0.1768043488264084, 0.4705953299999237, 0.6169078350067139, ...
used by cors handler to say whether an origin is allowed.
[ 0.35363176465034485, -1.1547602415084839, 0.6081164479255676, 0.404601126909256, -1.4021960496902466, 0.5853379368782043, -0.43286508321762085, 0.5807492136955261, -0.18733102083206177, 0.17180152237415314, 0.33632856607437134, 0.7776062488555908, -0.3788169026374817, -0.4956873059272766, ...
Middleware checks if environment variable
[ -0.07339084148406982, 0.14562377333641052, 0.21700835227966309, 1.1579564809799194, -0.28294724225997925, 0.21765778958797455, -0.7963567972183228, -0.8504176139831543, 0.16317985951900482, 0.6276832818984985, 0.31615692377090454, 0.6895331740379333, -0.40619194507598877, 1.651176333427429...
repoRawSelector retrieves the particular repo from a potentially partial string that uniquely identifies the repo without any access restrictions.
[ 0.06605164706707001, -0.8119197487831116, 0.35762402415275574, -0.3661123812198639, -0.7105990648269653, -0.3922889828681946, 0.560401976108551, -0.8012359142303467, 1.074092149734497, -0.8015761375427246, 0.21217989921569824, 0.08866303414106369, -0.4749756455421448, -1.3241747617721558, ...
nodeSelector identifies a node, and imposes restrictions depending on readonly mode and locked nodes.
[ -1.6232656240463257, -0.27365100383758545, 0.3708626627922058, 0.4453728199005127, 0.09524393081665039, -0.23116835951805115, 0.8817253112792969, -0.3836493194103241, 0.5461053252220154, 0.18163999915122986, 0.6877040266990662, 1.0006132125854492, -0.20808422565460205, -0.4457913339138031,...
repoSelector retrieves the particular repo from a potentially partial string that uniquely identifies the repo and enforces readonly mode.
[ -0.27044761180877686, -0.47546327114105225, 0.34667521715164185, -0.09065456688404083, -0.40144869685173035, -0.4950151741504669, 0.5095707178115845, -0.05119461566209793, 0.6961343884468079, -0.28427672386169434, 0.6285080909729004, -0.3093891143798828, -0.47167548537254333, -1.7146297693...
instanceSelector retrieves the data instance given its complete string name and forwards the request to that instance's HTTP handler.
[ -1.367200255393982, -0.6447151303291321, 0.30888456106185913, -1.1272952556610107, 0.24999955296516418, 0.218182772397995, 0.09983360022306442, -0.542065441608429, -0.28604865074157715, -0.8324436545372009, -0.05771718919277191, 1.046697974205017, -0.6969388127326965, -0.37344831228256226,...
Function types that fulfill http.Handler. How can a bare function satisfy an interface? See
[ -0.04671189561486244, 0.3044120967388153, 0.6103301644325256, 0.8909598588943481, 0.5011094212532043, 0.9622521996498108, -0.2086203396320343, -1.0008182525634766, -0.6323772668838501, -1.315718173980713, -1.197307825088501, 0.4410402774810791, -0.23908863961696625, 0.9109805226325989, 0...
Handler for web client and other static content
[ 0.25382179021835327, -1.372959852218628, 0.10591375827789307, 1.0775256156921387, -1.0048198699951172, 1.0310947895050049, 1.1539463996887207, -0.718246579170227, -0.6564133167266846, -0.5434865355491638, -0.7346575856208801, -0.1571313738822937, 0.05973592400550842, 0.2563658654689789, ...
TODO Maybe allow assignment of child UUID via JSON in POST. Right now, we only allow this potentially dangerous function via commandline.
[ -1.1455836296081543, -1.4094319343566895, 0.4924207329750061, 0.3302574157714844, 0.409687876701355, -0.013824512250721455, 0.42665231227874756, -0.21328936517238617, -0.8883271217346191, 0.16132530570030212, -0.6883998513221741, -0.18705320358276367, 0.18049368262290955, 0.298164486885070...
repoNewVersionHandler creates a new version node with the same branch as the parent
[ 0.7451945543289185, -0.20461562275886536, 0.2733490765094757, 0.568141758441925, -0.3741351366043091, 0.9275444746017456, 0.13689371943473816, -0.9991858005523682, -0.24948559701442719, 0.2068241983652115, -1.0406150817871094, -0.8500509262084961, -0.25897112488746643, 0.04104727506637573,...
Retrieve a Persons Status
[ 0.024282708764076233, -0.8922979831695557, -0.10856877267360687, -0.16596806049346924, -0.5118376016616821, 0.1345333307981491, -1.3947908878326416, 1.157879114151001, 0.10706932842731476, -1.1671504974365234, -0.439521849155426, 0.03636879101395607, -0.33898693323135376, 0.237375661730766...
equivalent to: op, opa, opb := op(cruRead64(...))
[ 0.26791608333587646, 0.8366948366165161, 0.47808218002319336, 1.1715564727783203, 0.6627806425094604, -0.4963624179363251, -0.6475204825401306, -0.27621549367904663, -0.16085284948349, 1.0474128723144531, 0.8991042971611023, 0.2335212230682373, -0.1781177967786789, -0.8099576830863953, -...
RemoveContainer removes a container, returning an error in case of failure. See for more details.
[ -0.9075034856796265, 0.3375590145587921, 0.6500464677810669, 0.5100710988044739, 0.044479042291641235, -1.2359070777893066, 1.0354048013687134, -0.12571631371974945, 0.45085906982421875, -0.2638353109359741, 0.5156464576721191, -0.033161792904138565, -0.500114917755127, -0.0357818827033042...
TestTriggerController performs a basic test to ensure that the trigger controller works when instantiated. This is not an exhaustive set of test cases. It only ensures that an issuance is triggered when a new Certificate resource is created and no Secret exists.
[ 0.4361071288585663, 0.17657415568828583, 0.3654631972312927, 0.44636237621307373, 0.9543942213058472, -0.3147423565387726, 0.7459355592727661, 0.06936120986938477, -0.2764192819595337, -0.6729978322982788, -1.4148355722427368, -0.5538016557693481, -0.2251647710800171, 0.08691062778234482, ...
CntSents counts the number of sentences in a text by counting ending marks.
[ 0.6784395575523376, -0.7895592451095581, 0.40224573016166687, -0.15454554557800293, 0.2355448305606842, 0.22950294613838196, 0.6361548900604248, -0.6677643656730652, -0.23522040247917175, 0.7829141020774841, -0.6426195502281189, -0.3728700280189514, 0.3109270930290222, 0.2929016351699829, ...
NewLabelService returns a Concerto labels service
[ -0.3327839970588684, -0.5841732621192932, 0.03664533048868179, -0.5913360714912415, -0.5547090768814087, 0.7113509774208069, -0.8165744543075562, -1.4770740270614624, 0.3553624153137207, -0.09883151203393936, -0.34560060501098633, 0.2637121379375458, -1.5673506259918213, 0.8412848711013794...
GetLabelList returns the list of labels as an array of Label
[ -1.4332150220870972, -1.0055559873580933, 0.46032169461250305, 0.038667015731334686, 0.7914224863052368, 0.29666024446487427, -2.0260887145996094, 0.030544521287083626, 0.5944846272468567, 0.36168310046195984, -0.4647720456123352, 0.5975329875946045, -0.24612900614738464, 0.763054907321929...
CreateLabel creates a label
[ 0.5368834733963013, -0.9787613749504089, 0.0864810049533844, 0.07709626853466034, 0.6970696449279785, 1.4221395254135132, -1.0100276470184326, -0.7991148233413696, 0.3011767268180847, 0.013056477531790733, 0.4203432500362396, -0.4512769877910614, -0.8932048678398132, -0.5013175010681152, ...
AddLabel assigns a single label from a single labelable resource
[ -0.002650471869856119, -1.1576942205429077, 0.4571288824081421, 0.37207674980163574, -0.02148253284394741, 1.2778772115707397, -0.9802718162536621, -0.14880429208278656, 0.2427026778459549, -0.05413595214486122, 0.8791494965553284, -0.062105659395456314, -0.1615176647901535, 0.012415584176...
RemoveLabel deassigns a single label from a single labelable resource
[ -0.39282673597335815, -0.9654293656349182, 0.5032470226287842, -0.29606911540031433, -0.47418591380119324, 0.8502174615859985, -0.4806315302848816, 1.0467133522033691, -0.16530156135559082, 0.6097089052200317, 0.7685908675193787, -0.07425755262374878, -0.483325332403183, -0.261001527309417...
HaveJSONPointer returns a gomega matcher which tests if a given value represents a json object containing a given json pointer `p`. For more information on json pointers see
[ 0.15983842313289642, -0.9362039566040039, 0.4741954505443573, -0.7198489904403687, -1.0491374731063843, -0.29053616523742676, -0.5805944204330444, -0.9390680193901062, 0.39854925870895386, 0.05182722583413124, 0.22016729414463043, 0.2895943522453308, -0.9263712763786316, 0.1730751246213913...
Match is the gomega function that actually checks if the given value represents a json object containing the particular pointer.
[ -0.708687961101532, -0.257875919342041, 0.4797510802745819, -0.03434045985341072, -1.1831779479980469, -0.4343344569206238, -0.049800947308540344, -0.6223716735839844, 0.7378696203231812, 0.7062486410140991, 0.14433065056800842, 0.4298057556152344, -0.7886168956756592, 0.008740991353988647...
FailureMessage constructs a hopefullyhelpful error message in the case that the given value does not represent a json object containing the particular pointer.
[ -0.8830106854438782, -0.04690539836883545, 0.22761061787605286, -0.687828779220581, -0.07925181835889816, -0.685428261756897, -0.3448150157928467, -1.6983568668365479, 0.19795069098472595, -0.22107979655265808, 0.07572910934686661, 0.20151501893997192, -0.050443582236766815, 0.661897063255...
NegatedFailureMessage constructs a hopefullyhelpful error message in the case that the given value unexpectedly represents a json object containing the particular pointer.
[ -0.7387197613716125, -0.003795120632275939, 0.32348376512527466, -0.9487324357032776, -0.2568366825580597, -0.020355289801955223, -0.23659251630306244, -1.4864375591278076, 0.11338701099157333, -0.09502455592155457, -0.047903478145599365, 0.17024868726730347, 0.03250620514154434, 0.6563934...
NewFunction Creates a new function based on a function literal and an environment and passes a reference to it
[ 0.45455843210220337, -0.7676880359649658, 0.5323346257209778, 0.02309529297053814, 0.25241678953170776, -0.28693151473999023, -0.9462949633598328, -0.1556476503610611, -1.1765085458755493, -0.25889188051223755, 0.10247330367565155, 1.5037322044372559, 0.5133010745048523, -0.260879665613174...
E2E Testing CPULoadHandler creates 2 goroutines and waits on "endless" loop until sleep duration passes. Duration is provided as a URL parameter or defaulted to 10. ex: localhost:1738/cpu?seconds=5
[ -0.21223662793636322, 0.6446558237075806, 0.31985458731651306, 0.2922223210334778, 0.14896468818187714, 0.02475627511739731, -0.09882213175296783, -0.07387387007474899, -0.8898425698280334, -0.18262255191802979, -0.9010335803031921, -0.39619550108909607, -0.3586885631084442, -0.01640754565...
NewMemLoadHandler allocates X MiB physical memory and waits for 10 seconds before ending. X is provided as a URL parameter or defaulted to 1,000. ex: localhost:1738/newmem?mib=2000
[ 0.45457005500793457, -0.12063570320606232, 0.43788617849349976, 0.1354006975889206, -0.16826720535755157, -0.20298707485198975, -0.29177695512771606, -0.4201645851135254, 0.5946711301803589, 0.20913377404212952, -0.9144214987754822, -0.10672999173402786, -1.0091638565063477, 0.403341144323...
ListRoutesHandler returns available paths
[ -0.2157495766878128, -0.6451625823974609, 0.27509069442749023, 0.7022550702095032, 0.08239810168743134, -0.012797225266695023, 0.0011557862162590027, 1.0677088499069214, 0.47408804297447205, -0.335769385099411, -0.9458236694335938, -1.1127959489822388, 0.4936221241950989, 0.943214654922485...
PetHandler handles pets and pet accessories ex: ex: localhost:1738/pet , ex: localhost:1738/pet?petId=4
[ 0.6436789035797119, -0.40574750304222107, 0.45086827874183655, -0.12970305979251862, 0.5001605749130249, 1.1786630153656006, 0.16638681292533875, 0.03638850152492523, -0.0731363594532013, -0.9493797421455383, -0.12459953874349594, -0.13572673499584198, -0.1766168624162674, -0.7161994576454...
PupulateHandler populates the Pets table with pups ex: localhost:1738/pupulate?num=1000
[ -1.0247459411621094, 1.4531561136245728, 0.47736799716949463, 0.4880787134170532, 1.064254879951477, 0.006557559594511986, -0.5929097533226013, 0.42341428995132446, -0.27932220697402954, -0.1021859422326088, -0.18901517987251282, -0.9900648593902588, 0.025999797508120537, -0.38995546102523...
DepupulateHandler deletes a number of pups from the Pets table ex: localhost:1738/depupulate?num=1000
[ -0.8999818563461304, 1.1158491373062134, 0.5930935740470886, -0.33211901783943176, 0.8317131996154785, -0.7206205129623413, -0.23204174637794495, 1.0290045738220215, -0.5530515313148499, -0.49359190464019775, -0.32609039545059204, -0.8546173572540283, -0.5156020522117615, -0.80467534065246...
Helpers parseOrDefault takes a requestParam key and parses into an int if parsing fails, then assign to defaultValue.
[ -0.9068142771720886, 0.7504726648330688, 0.7133105993270874, 0.11791300773620605, 1.108788251876831, -1.176252007484436, -0.3454732298851013, 0.24240674078464508, -0.2395952194929123, 0.040491778403520584, 0.17619958519935608, -1.1765077114105225, -0.8400343656539917, 0.45464304089546204, ...
RequiresReplace returns an AttributePlanModifier specifying the attribute as requiring replacement. This behaviour is identical to the ForceNew behaviour in terraformpluginsdk and will result in the resource being destroyed and recreated when the following conditions are met: 1. The resource's state is not null; a null...
[ -0.3217153251171112, -0.7770769000053406, 0.5863831043243408, -0.9520217776298523, -0.3491339087486267, 0.09273862093687057, 0.2519371211528778, -0.15948830544948578, 1.004028081893921, 0.062298670411109924, 0.06201710179448128, 0.23453602194786072, 0.8538689613342285, 0.5103344321250916, ...
Modify fills the AttributePlanModifier interface. It sets RequiresReplace on the response to true if the following criteria are met: 1. The resource's state is not null; a null state indicates that we're creating a resource, and we never need to destroy and recreate a resource when we're creating it. 2. The resource's ...
[ -0.8552244901657104, -0.13465331494808197, 0.6210377812385559, -1.1665112972259521, -0.21699932217597961, 0.6025381088256836, 0.45701685547828674, -0.060075923800468445, 1.286531686782837, 0.07950632274150848, 0.38696345686912537, -0.07927558571100235, 0.6065879464149475, 0.159303948283195...
Description returns a humanreadable description of the plan modifier.
[ -0.9712234139442444, -0.24675463140010834, 0.33514925837516785, -1.0669207572937012, -0.33331456780433655, 0.4983704686164856, -0.4625064730644226, -0.5099393725395203, 0.28443560004234314, -0.017288511618971825, 0.3881694972515106, 0.5380768775939941, -0.1375671774148941, -0.2493237853050...
MarkdownDescription returns a markdown description of the plan modifier.
[ -0.25113970041275024, -0.28706294298171997, 0.505443811416626, -0.2259393036365509, 0.039708491414785385, 0.5166458487510681, -0.10374251008033752, 0.29963263869285583, 0.6809084415435791, -0.7203058004379272, 1.151428461074829, 0.7285327911376953, 0.2568422853946686, 0.07120107114315033, ...
RequiresReplaceIf returns an AttributePlanModifier that mimics RequiresReplace, but only when the passed function `f` returns true. The resource will be destroyed and recreated if `f` returns true and the following conditions are met: 1. The resource's state is not null; a null state indicates that we're creating a res...
[ -0.04724135622382164, 0.43407976627349854, 0.6389431953430176, -0.552854597568512, -0.8757869005203247, 0.15707089006900787, 0.25478848814964294, -0.10411641001701355, 0.64857017993927, 0.21864864230155945, -0.4006936252117157, -0.12996608018875122, 0.7634167075157166, 0.30307674407958984,...
Modify fills the AttributePlanModifier interface. It sets RequiresReplace on the response to true if the following criteria are met: 1. `f` returns true. If `f` returns false, the response will not be modified at all. 2. The resource's state is not null; a null state indicates that we're creating a resource, and we nev...
[ -0.8760619163513184, -0.09630054235458374, 0.6497459411621094, -1.0960403680801392, -0.24030476808547974, 0.5898928046226501, 0.6209055185317993, -0.10212533921003342, 1.0769851207733154, -0.06916341930627823, 0.3428348898887634, -0.13380888104438782, 0.5963932871818542, 0.0649790391325950...
Description returns a humanreadable description of the plan modifier.
[ -0.9712234139442444, -0.24675463140010834, 0.33514925837516785, -1.0669207572937012, -0.33331456780433655, 0.4983704686164856, -0.4625064730644226, -0.5099393725395203, 0.28443560004234314, -0.017288511618971825, 0.3881694972515106, 0.5380768775939941, -0.1375671774148941, -0.2493237853050...
MarkdownDescription returns a markdown description of the plan modifier.
[ -0.25113970041275024, -0.28706294298171997, 0.505443811416626, -0.2259393036365509, 0.039708491414785385, 0.5166458487510681, -0.10374251008033752, 0.29963263869285583, 0.6809084415435791, -0.7203058004379272, 1.151428461074829, 0.7285327911376953, 0.2568422853946686, 0.07120107114315033, ...
UseStateForUnknown returns an AttributePlanModifier that copies the prior state value for an attribute into that attribute's plan, if that state is nonnull. Computed attributes without the UseStateForUnknown attribute plan modifier will have their value set to Unknown in the plan by the framework to prevent Terraform e...
[ -0.08239883929491043, -0.21787866950035095, 0.6376329660415649, -1.3078734874725342, -0.612213134765625, -0.35632529854774475, 0.46174752712249756, -0.20787300169467926, 0.9646009802818298, -0.5105614066123962, 0.12906181812286377, 0.2772207260131836, 1.5112895965576172, 0.0076027601025998...
Modify copies the attribute's prior state to the attribute plan if the prior state value is not null.
[ -0.0036607016809284687, -0.18033026158809662, 0.6080261468887329, -0.15863989293575287, -0.6843901872634888, 0.20249773561954498, 0.5073757767677307, -0.3460949659347534, 1.7617183923721313, -0.04295675456523895, 0.7554402947425842, 0.4002488851547241, 0.5343400835990906, -0.08040107786655...
Description returns a humanreadable description of the plan modifier.
[ -0.9712234139442444, -0.24675463140010834, 0.33514925837516785, -1.0669207572937012, -0.33331456780433655, 0.4983704686164856, -0.4625064730644226, -0.5099393725395203, 0.28443560004234314, -0.017288511618971825, 0.3881694972515106, 0.5380768775939941, -0.1375671774148941, -0.2493237853050...
MarkdownDescription returns a markdown description of the plan modifier.
[ -0.25113970041275024, -0.28706294298171997, 0.505443811416626, -0.2259393036365509, 0.039708491414785385, 0.5166458487510681, -0.10374251008033752, 0.29963263869285583, 0.6809084415435791, -0.7203058004379272, 1.151428461074829, 0.7285327911376953, 0.2568422853946686, 0.07120107114315033, ...
go test v run Test_Get
[ -0.22704391181468964, 0.16177450120449066, 0.010951383039355278, 0.006158105097711086, 1.285858154296875, -0.24410010874271393, 0.2725122570991516, -0.20406857132911682, -0.37815967202186584, -0.05621374025940895, -0.06271414458751678, 1.0650057792663574, -0.6864544153213501, -0.2265533506...
/ Create takes a Sid identifier string and returns a new Client.
[ 0.06126859411597252, -0.9539988040924072, 0.05352477356791496, 0.2985707223415375, 0.009063496254384518, 0.43620502948760986, -0.04540175199508667, -0.6319181323051453, 0.5310864448547363, -0.5027447938919067, -0.9218772053718567, 0.030313827097415924, -0.12494713068008423, -0.959184527397...
/ GetFullName returns the Client FirstName and LastName concatenated by a space. Implementing the Client as a Person.
[ 0.4954894185066223, -0.6496710777282715, 0.6954849362373352, -0.4523642659187317, -1.1362791061401367, 0.22596178948879242, -0.7736926674842834, -0.20280541479587555, 0.026518521830439568, -0.18099096417427063, -0.25198355317115784, -0.047364190220832825, -0.1763978898525238, 0.51220363378...
/ UnmarshalJSON converts a JSON string (as a byte array) into a Client object.
[ -0.400519996881485, -0.10448547452688217, 0.3801739811897278, -1.4139457941055298, -1.061940312385559, -0.44997987151145935, 0.5371946692466736, -1.0477885007858276, 0.5858133435249329, -0.26216959953308105, -0.46723416447639465, 0.5044601559638977, -0.5517251491546631, -1.004138469696045,...
/ MarshalJSON converts a Client object into a JSON string returned as a byte array.
[ -0.31642723083496094, -0.5096062421798706, 0.37985169887542725, -0.4139642119407654, -1.1816115379333496, -0.34622278809547424, -0.13675567507743835, -0.8675534129142761, 0.4619043171405792, -0.25610387325286865, -0.8107233643531799, 1.5187432765960693, -0.4869499206542969, 0.1123299375176...
/ Key implements the Keyer interface of the Store and returns a string used for storing the Client in memory.
[ -0.5191711187362671, -0.4010119140148163, 0.2704950273036957, -0.8258016109466553, -0.789257824420929, 0.5251558423042297, 0.05028779059648514, -0.6522447466850281, 0.03999786451458931, 0.3546075224876404, 0.20727328956127167, -0.4319725036621094, -1.038239598274231, -0.29813772439956665, ...
/ HashObject return the SHA1 result
[ 0.05760107561945915, -0.7304101586341858, 0.48955366015434265, 0.8125112652778625, -0.8801047205924988, 0.5793015360832214, 0.1845880001783371, -0.14710386097431183, 0.1840006560087204, -0.41594335436820984, -0.6306367516517639, -0.6843342185020447, -0.08634255826473236, -1.298429965972900...
/ PutObject stores the data into the ugit objects repository. An object type is added before the content inside the file. We hash the whole to return it as the oid
[ -0.5023291707038879, -0.35286256670951843, 0.44867438077926636, -0.555394172668457, 0.18667708337306976, 0.7617321610450745, 0.11047922819852829, -0.3509408235549927, -0.36722809076309204, 0.1953558772802353, -0.370793879032135, -0.8424450755119324, -0.9806368350982666, -0.9241511821746826...
/ GetObject returns the content of the file, and its type
[ -0.6427308320999146, -1.7561471462249756, 0.6231243014335632, 0.0036106600891798735, 0.2600361108779907, 0.35022127628326416, 0.29601240158081055, -0.8020526766777039, -1.684397578239441, 0.1380792260169983, -0.18296538293361664, 0.20725363492965698, -0.18678198754787445, -0.59275704622268...
SoftReset will perform a soft reset on the device. WARNING: This can (and often will) cause the device to get a new USB address, rendering the serial port's file descriptor invalid.
[ 0.5841371417045593, 0.7355157732963562, 0.3449215888977051, 0.26739776134490967, -0.15961621701717377, -0.7902363538742065, 1.312447428703308, -0.541628897190094, 0.4903603494167328, -1.4576698541641235, -0.15960651636123657, 0.9695794582366943, -0.08903928846120834, -0.8076153993606567, ...
Use SMA50 SMA200 to decide return false if sell and true if buy
[ -1.4998937845230103, -0.6208468079566956, 0.39297720789909363, 0.8768897652626038, -1.4666557312011719, 0.03841354697942734, 0.026494529098272324, 0.08935440331697464, 1.7492079734802246, 1.2313216924667358, -0.2694157063961029, 0.39697837829589844, -0.37561851739883423, 0.3401411175727844...
go test bench=^BenchmarkSlice benchmem TODO silce or map make with size best
[ 0.7805837392807007, 0.5416163802146912, 0.2728880047798157, 1.2614330053329468, 0.3250718414783478, -0.30836448073387146, 0.6439378261566162, -0.7786081433296204, 0.13333123922348022, 0.057594820857048035, -0.7632465362548828, -0.261633962392807, 0.31447073817253113, -0.030367737635970116,...
go test bench=^BenchmarkInt benchmem TODO strconv better than fmt
[ 1.6043360233306885, 0.3422641158103943, 0.23127685487270355, -0.11231669038534164, 0.4038122296333313, -0.20454062521457672, 0.36375388503074646, -0.8524818420410156, -0.44543302059173584, 0.10501845926046371, 0.17043817043304443, 0.17452749609947205, -0.8423594832420349, 0.084181986749172...
go test bench=^BenchmarkStringConversion benchmem benchtime=10s TODO String conversion once better
[ 1.3178359270095825, 0.2762799859046936, 0.4156089723110199, 0.07931601256132126, 0.6331226825714111, -0.7188900113105774, 0.09108758717775345, -0.3933800458908081, -0.15148399770259857, 0.44987624883651733, -0.193504199385643, 0.4503210484981537, -0.5378026962280273, -0.28866836428642273, ...
NewStringFromGoString create a new string and fills it with the go string.
[ 0.6017469763755798, -0.6685409545898438, 0.22571919858455658, -0.31751585006713867, -0.04896719381213188, 0.12895908951759338, -0.982948899269104, -0.43281373381614685, -0.27793195843696594, -0.42473435401916504, 0.2012544721364975, 0.4612027704715729, 0.5524420142173767, -0.34676548838615...
NewStringNameFromGoString create a new string and fills it with the go string.
[ 0.24188917875289917, -0.5634294152259827, 0.3973619043827057, -0.48568999767303467, -0.49756959080696106, 0.02736978977918625, -0.9514832496643066, -0.18453995883464813, -0.25119027495384216, 0.2506299614906311, -0.0106347119435668, -0.012036488391458988, 0.5734400153160095, -0.22031103074...
ReadResponse reads a server response into the received o.
[ 0.25364649295806885, -0.5319308042526245, 0.4260268807411194, 0.2506508529186249, -0.4224816560745239, -1.1332027912139893, -0.15423856675624847, -0.6475801467895508, 0.9560375809669495, -0.19656100869178772, -0.45770564675331116, -0.038310706615448, -0.24323724210262299, -1.24157392978668...
NewGetBicsIDOK creates a GetBicsIDOK with default headers values
[ 1.0502433776855469, 0.12170404940843582, 0.2710650563240051, 1.9929890632629395, 0.4436666965484619, -0.7721847891807556, 0.3775259554386139, -0.33848345279693604, -0.9484154582023621, -1.4270539283752441, -0.6336687207221985, -0.2220008373260498, -0.3942451775074005, -0.6331186294555664, ...
NewGetBicsIDBadRequest creates a GetBicsIDBadRequest with default headers values
[ 0.45230576395988464, -0.04839947074651718, 0.3856489062309265, 1.3466384410858154, 0.016180144622921944, -0.6517462134361267, -0.04222249612212181, -0.7121639251708984, -0.3124401867389679, -0.6588127017021179, 0.3888963460922241, 1.1345717906951904, -1.4110445976257324, -0.719517409801483...
NewGetBicsIDUnauthorized creates a GetBicsIDUnauthorized with default headers values
[ 0.4781128466129303, 0.03654981777071953, 0.16540087759494781, 1.1465709209442139, -0.17371897399425507, -0.776334285736084, 0.7220680117607117, 0.24461564421653748, 0.07014597952365875, -1.862243413925171, -0.9130015969276428, 0.7439233660697937, -1.2861324548721313, -0.8920855522155762, ...
NewGetBicsIDForbidden creates a GetBicsIDForbidden with default headers values
[ 1.3573992252349854, 0.07952945679426193, 0.05456351488828659, 1.4026175737380981, -0.3993675112724304, 0.07911541312932968, 0.6568719148635864, -0.9122644066810608, -0.5276303887367249, -1.1964690685272217, -0.3621238172054291, 0.2552856504917145, -1.960429310798645, -1.1655994653701782, ...
NewGetBicsIDNotFound creates a GetBicsIDNotFound with default headers values
[ 0.6901252269744873, -1.1024143695831299, 0.12917698919773102, 0.6995683312416077, 0.46471840143203735, 0.5498550534248352, 0.7511575222015381, -0.8184784650802612, -0.33420103788375854, -1.104442834854126, -0.7325593829154968, 0.1241479143500328, -1.6353919506072998, -0.6973129510879517, ...
NewGetBicsIDConflict creates a GetBicsIDConflict with default headers values
[ 0.8838640451431274, -0.2677311897277832, 0.33087366819381714, 0.9473806619644165, 0.4415660798549652, -0.5369287133216858, 0.2929641902446747, -0.5053725242614746, -0.4285779595375061, -1.2735037803649902, -0.14430676400661469, -0.5269760489463806, -1.744170069694519, -1.23045814037323, ...
NewGetBicsIDTooManyRequests creates a GetBicsIDTooManyRequests with default headers values
[ -0.1432342529296875, 0.15422850847244263, 0.3431955873966217, 1.458437442779541, 0.29211750626564026, -0.9399694800376892, -1.0011504888534546, -1.2602548599243164, -0.29358091950416565, -1.10628342628479, -1.047250509262085, -0.9548345804214478, -1.6322277784347534, -0.632279634475708, ...
NewGetBicsIDServiceUnavailable creates a GetBicsIDServiceUnavailable with default headers values
[ -0.9684430956840515, -0.3713759183883667, 0.363100528717041, 0.2501520812511444, 0.2360827624797821, -0.3916744291782379, 0.14324858784675598, 0.13708455860614777, -0.2622241675853729, -0.49910566210746765, -0.488959401845932, 0.4058414101600647, -1.0628306865692139, -1.2066890001296997, ...
NewBlockChain create new blockchain with genesis block from NewGenesisBlock
[ -0.22105132043361664, -0.8138352632522583, 0.496084988117218, 1.657243251800537, 0.22502028942108154, 0.5618388652801514, -0.3135765790939331, -0.38315677642822266, -0.6694704294204712, 0.4470694661140442, -0.4381374716758728, 0.39514026045799255, -0.7634696960449219, 0.74308180809021, 0...
Configure is the main function of the monitor, it will report host metadata on a varied interval
[ 0.4012504816055298, 0.7639083862304688, 0.3476858139038086, 0.7931172847747803, 0.9202679395675659, -0.03975120559334755, 0.219212144613266, 0.5577710866928101, -1.5812782049179077, -0.4741140305995941, 0.20726603269577026, -0.17358919978141785, -0.05967576429247856, 0.534666121006012, -...
Shutdown stops the metric sync
[ 0.9604229927062988, 0.3229162395000458, 0.08663441985845566, 0.8580821752548218, 0.5581313371658325, 0.1871580332517624, 0.8561591506004333, -0.09162246435880661, -1.0226677656173706, 0.586037814617157, 0.6235736012458801, -0.06545145809650421, 0.15355421602725983, -0.9029440879821777, -...
cpuTimeStatTototalUsed converts a cpu.TimesStat to a totalUsed with Total and Used values
[ -0.17406165599822998, 0.3708938956260681, 0.2985287010669708, -1.01807701587677, -0.43529775738716125, -0.8480535745620728, 0.32266655564308167, -1.4065747261047363, 0.25916966795921326, 0.2508132755756378, -0.3797004520893097, 0.0449838750064373, 0.5306559205055237, 0.49302440881729126, ...
Internal configure ping/pong service
[ -0.42072793841362, -0.545427680015564, 0.23267196118831635, 0.3133809268474579, -0.005961430259048939, -0.08710189908742905, -0.33388277888298035, 0.06602896004915237, 0.12855277955532074, 0.44716987013816833, -0.2946373522281647, -0.23238308727741241, 0.020916253328323364, 0.7113558650016...
validamos que el parametro userName tenga al menos 5 caracteres
[ -0.19653040170669556, 0.877287745475769, 0.32782310247421265, -0.21531251072883606, -0.25206416845321655, 0.14310483634471893, -0.06991640478372574, -0.4302693009376526, -0.8269484043121338, 0.26744627952575684, -0.8161436319351196, -0.5828922986984253, -0.9125766754150391, 0.1464157849550...
helper function to setup the databsae by performing automated database migration steps.
[ -0.5463656187057495, 1.1820580959320068, 0.5182734727859497, 0.6743601560592651, 1.0579242706298828, -0.7955618500709534, 0.8559562563896179, 0.3040262758731842, -0.025988154113292694, 0.960349440574646, -0.1360100656747818, -0.6170244812965393, 1.015616774559021, 1.0962592363357544, 0.2...
helper function to ping the database with backoff to ensure a connection can be established before we proceed with the database setup and migration.
[ 0.08608616143465042, 0.3763369023799896, 0.38738566637039185, 0.3008868396282196, 0.852955162525177, 0.05165158957242966, -0.4495757222175598, 0.7675285339355469, -0.4228151738643646, 1.518742561340332, 0.4825657904148102, -0.9202308058738708, -1.0454610586166382, -0.3133033514022827, 0....
helper function to setup the meddler default driver based on the selected driver name.
[ -0.28317147493362427, -0.6903215050697327, -0.07742632180452347, 0.3601617217063904, 0.6051125526428223, -0.7846102118492126, -0.13635855913162231, 0.6127191185951233, 0.18277889490127563, 0.29386454820632935, 0.43199020624160767, -0.18592210114002228, -0.6541839241981506, 0.53178840875625...
/ get a node
[ -0.8490623235702515, 0.4797208905220032, 0.09139746427536011, -0.30322641134262085, 0.9172784090042114, -0.8697317838668823, -0.9689862728118896, 0.10761791467666626, -0.4429399073123932, -0.7216638326644897, 0.7357956767082214, 1.4697519540786743, -0.3778127133846283, -0.675344705581665, ...
/ add a node
[ -0.7896885871887207, 0.7574562430381775, 0.3575976490974426, 0.06475288420915604, 0.8940296173095703, 0.23585349321365356, -0.7342191934585571, 0.8545070886611938, 0.09477892518043518, -0.6776472330093384, 0.4551943838596344, 0.05819892883300781, -0.6306777000427246, 0.16543246805667877, ...
/ remove a node
[ -0.5124929547309875, 0.6282198429107666, 0.3386135995388031, -0.6410272121429443, -0.1878988891839981, -0.46218037605285645, -0.4487166404724121, 1.8357797861099243, -0.3862033188343048, -0.00493854284286499, 0.01245841570198536, -0.09794819355010986, -0.9529625177383423, -0.48095327615737...
/ cleanup nodes (with VMs) & update a nodeentities
[ -0.5779657363891602, -0.18278814852237701, 0.16310322284698486, -0.20733673870563507, 0.24475258588790894, 0.20054160058498383, -0.33966386318206787, 0.2714087963104248, -0.04199765622615814, 0.8078312277793884, 0.18751971423625946, -0.17320166528224945, -0.036766476929187775, 0.8780681490...
ProductsSearch search or filter products in a store catalog
[ -0.7425324320793152, 0.2856712341308594, 0.2891937792301178, 0.3765057325363159, 0.541793942451477, -0.16131137311458588, 0.02622315101325512, -0.29684969782829285, 0.4082510769367218, 0.2771399915218353, -0.2803680896759033, 0.17172296345233917, 0.5174559950828552, -0.4009070098400116, ...
Products 'iterable' by filtered store products
[ -0.8098045587539673, -0.18874505162239075, 0.14880827069282532, 0.7431102991104126, 0.10088449716567993, 0.16576622426509857, 0.8576672673225403, -0.5971765518188477, 0.49941107630729675, 1.1882814168930054, 0.047143470495939255, 0.2117067128419876, 0.8877750635147095, -0.6873282194137573,...
ProductGet gets all details of a specific product in an Ecwid store by its ID
[ -0.10294558852910995, 0.02917548641562462, 0.2092394083738327, -0.12199044227600098, 0.7973834276199341, -0.32715168595314026, -0.9337547421455383, -0.6770064234733582, 0.6678850650787354, -0.47242608666419983, 0.46386656165122986, 0.30890241265296936, -0.13236042857170105, -0.408315926790...
ProductAdd creates a new product in an Ecwid store returns new productId
[ 0.3202973008155823, -0.08093342185020447, 0.22313110530376434, 0.23716185986995697, -0.09034894406795502, 1.158422827720642, -0.020524583756923676, -0.3621673882007599, 1.274927020072937, -0.3819176256656647, -0.11780309677124023, -0.03756646066904068, -0.8171770572662354, -0.2181745767593...
ProductUpdate update an existing product in an Ecwid store referring to its ID
[ -0.030845768749713898, -0.9831362366676331, 0.21742016077041626, -0.19473733007907867, 0.09692656248807907, 0.704022228717804, -0.21396011114120483, -0.2676229774951935, 1.0492982864379883, 0.7077126502990723, -0.06115340441465378, -0.03672552481293678, -0.6585297584533691, -1.075404644012...
TODO: This is me testing it
[ -0.4468124508857727, -0.44159236550331116, 0.28133442997932434, 1.6580564975738525, 0.78230881690979, -0.5479248762130737, 0.9109953045845032, -0.26873093843460083, 1.0074666738510132, -1.0353420972824097, -0.8155574798583984, -0.13034944236278534, -1.2009683847427368, -0.03591971099376678...
Parse a row returned from SQLite into a Factoid.
[ 1.1384776830673218, 0.6661257147789001, 0.02639923244714737, -0.19385945796966553, 0.46093419194221497, -0.6889081001281738, 0.1530502289533615, -0.03249962627887726, 0.8252942562103271, -0.3968486189842224, 0.3875058889389038, -0.5697581171989441, 0.5854530334472656, -0.5647966265678406, ...
Parse out multiple entry values for a factoid key. This involves copying strings around a fair bit :/ Also, pipeseparated with escaped \| but not escaped \\ is REALLY FUCKING STUPID and occasionally bad to parse.
[ -0.14823785424232483, -0.07880694419145584, 0.35330629348754883, 0.7553467154502869, 0.1963188499212265, -1.1784844398498535, -0.1128816157579422, 0.556738018989563, -1.3504709005355835, -0.0034671477042138577, -0.2943386733531952, -0.38037681579589844, 0.7785406112670898, 1.32599091529846...
Parse a single factoid value, stripping /
[ 1.0059702396392822, 0.12780308723449707, 0.17317716777324677, 0.09420282393693924, 0.07216338813304901, 0.03729650005698204, 1.1078044176101685, 0.14168547093868256, -0.2192532867193222, -0.38086697459220886, 0.05130774900317192, -0.14089302718639374, 0.0652819573879242, 0.0850006192922592...
Parse the Created field with a type switch, cos it varies :/
[ 0.751221776008606, -0.19559529423713684, 0.33040887117385864, 0.6557338237762451, 1.2735233306884766, 0.6966547966003418, 0.4683494567871094, -1.2061142921447754, -0.43663468956947327, -0.5222644805908203, -0.4535949230194092, -0.3171425461769104, -0.024623889476060867, 0.3139786124229431,...
Ditto for the Access field.
[ 0.13572081923484802, -0.6871827840805054, 0.25224411487579346, -1.0707659721374512, 0.2937774062156677, 0.41830337047576904, 1.3464922904968262, 0.1881447732448578, 0.024947797879576683, -0.9817870855331421, 0.07656405866146088, 0.08383215963840485, 1.1013789176940918, -0.375940203666687, ...
And in many other fields that really should be strings.
[ -0.6592434048652649, -0.07868491113185883, 0.36770176887512207, -0.2775641977787018, 0.2473629266023636, 0.8074996471405029, -0.3155314028263092, -0.7981290221214294, 0.47774866223335266, 0.040836136788129807, -0.5756093263626099, -0.00740727549418807, -0.817108154296875, 0.544762611389160...
Asset loads and returns the asset for the given name. It returns an error if the asset could not be found or could not be loaded.
[ -0.26910239458084106, -0.9419275522232056, 0.520524263381958, -1.0505553483963013, -1.4146522283554077, -0.15375322103500366, -0.11907611787319183, -1.5095791816711426, -0.560311496257782, 0.2632964551448822, 0.6717750430107117, 0.04599123075604439, -0.1843699812889099, -0.6648547649383545...
MustAsset is like Asset but panics when Asset would return an error. It simplifies safe initialization of global variables.
[ -0.09293171018362045, 0.15821562707424164, 0.4423462152481079, 0.7752378582954407, -1.0880873203277588, 0.6832455992698669, 0.003946339711546898, -1.2869727611541748, -0.07538355886936188, 0.05818842723965645, 0.03628255054354668, 0.16544389724731445, 0.1651730090379715, -0.115182399749755...
AssetInfo loads and returns the asset info for the given name. It returns an error if the asset could not be found or could not be loaded.
[ 0.0749456137418747, -0.7035658955574036, 0.4812532067298889, -1.3608137369155884, -1.3336011171340942, 0.014131264761090279, 0.03990696370601654, -1.2343003749847412, -0.9982762336730957, 0.2309720814228058, 0.09395694732666016, -0.5089127421379089, 0.3866044282913208, -0.4225665330886841,...
AssetNames returns the names of the assets.
[ -0.606099545955658, -0.6326755881309509, 0.49225807189941406, -0.71383136510849, -0.7382332682609558, 0.5497990846633911, 0.00012305975542403758, -0.9406204223632812, -0.12884657084941864, 0.9346120953559875, -0.2098718136548996, 0.478704035282135, 0.5649254322052002, -0.43855029344558716,...