text
stringlengths
7
2.39k
embedding
listlengths
768
768
SetBytes records the number of bytes processed in a single operation. If this is called, the benchmark will report ns/op and MB/s.
[ 0.7083028554916382, 1.8849544525146484, 0.36292243003845215, 0.0639522522687912, 0.40342116355895996, -0.5252014994621277, 1.3454389572143555, -0.197835773229599, 0.11851934343576431, -0.7537767887115479, -0.5419697165489197, 0.9012036323547363, -0.1945626139640808, 0.7382187843322754, -...
ReportAllocs enables malloc statistics for this benchmark. It is equivalent to setting test.benchmem, but it only affects the benchmark function that calls ReportAllocs.
[ 1.892358422279358, 1.0528624057769775, 0.515274703502655, -0.02895641140639782, 0.07620449364185333, 0.9571835398674011, 1.5873788595199585, -0.27544838190078735, 1.0924828052520752, -0.8393071889877319, -0.11763019859790802, 0.23218566179275513, -0.4703717529773712, -0.03666559234261513, ...
ReportMetric adds "n unit" to the reported benchmark results. If the metric is periteration, the caller should divide by b.N, and by convention units should end in "/op". ReportMetric overrides any previously reported value for the same unit. ReportMetric panics if unit is the empty string or if unit contains any white...
[ 0.024839093908667564, 1.414310336112976, 0.5998351573944092, 0.8845636248588562, 0.3452909290790558, 0.30030956864356995, 1.123317003250122, -0.8524314761161804, 0.015589455142617226, -0.6104247570037842, 0.3915184438228607, -0.038612984120845795, -0.8969030380249023, 0.479897141456604, ...
NsPerOp returns the "ns/op" metric.
[ -0.2124457061290741, 1.1094558238983154, 0.38401341438293457, 0.6435002088546753, -1.2399301528930664, -0.035326551645994186, 1.0040643215179443, -1.2867987155914307, 0.21577104926109314, 0.5430401563644409, 0.9009925723075867, -1.1902716159820557, 0.6237035989761353, -0.554297924041748, ...
AllocsPerOp returns the "allocs/op" metric, which is calculated as r.MemAllocs / r.N.
[ 0.5986055135726929, 0.813115119934082, 0.5264913439750671, 0.038544006645679474, -1.052773118019104, 0.2553762197494507, 1.2770984172821045, -0.9757051467895508, 0.8700804710388184, 0.5894928574562073, 1.445198893547058, -1.6994866132736206, 1.0399616956710815, -0.5718109011650085, -0.14...
AllocedBytesPerOp returns the "B/op" metric, which is calculated as r.MemBytes / r.N.
[ 0.6059374213218689, 0.42287787795066833, 0.512572705745697, -0.07958493381738663, -0.4648206830024719, 0.21895842254161835, 1.2841618061065674, -0.7099634408950806, 0.8726902604103088, 0.5417007207870483, 0.7521070837974548, -0.8658857941627502, -0.04055764153599739, -0.3744078576564789, ...
String returns a summary of the benchmark results. It follows the benchmark result line format from not including the benchmark name. Extra metrics override builtin metrics of the same name. String does not include allocs/op or B/op, since those are reported by MemString.
[ 0.5215903520584106, 0.32944315671920776, 0.4365140199661255, 0.21593287587165833, -0.20343513786792755, 0.20709626376628876, 0.29158735275268555, -0.8907596468925476, -0.45266446471214294, -0.0834961086511612, -0.07323722541332245, 0.3438771367073059, -0.18458294868469238, -0.7896180152893...
MemString returns r.AllocedBytesPerOp and r.AllocsPerOp in the same format as 'go test'.
[ 0.07007675617933273, -0.20744125545024872, 0.3980206549167633, -0.21076199412345886, -0.565238893032074, 0.3035316467285156, 0.7726996541023254, -1.4379196166992188, 1.0708670616149902, 0.4941657781600952, 1.2803318500518799, -0.6229483485221863, 0.0505344532430172, 0.08671646565198898, ...
RunBenchmarks is an internal function but exported because it is crosspackage; it is part of the implementation of the "go test" command.
[ 0.4042420983314514, 0.5351945161819458, 0.5417419672012329, -0.07362201064825058, 0.28337404131889343, 0.5995709300041199, 1.0664935111999512, -0.024944312870502472, -0.5931183695793152, 0.386933296918869, -0.153577521443367, 0.48988574743270874, -0.651885449886322, -0.28690558671951294, ...
Run benchmarks f as a subbenchmark with the given name. It reports whether there were any failures. A subbenchmark is like any other benchmark. A benchmark that calls Run at least once will not be measured itself and will be called once with N=1.
[ 0.12916208803653717, 0.9940603375434875, 0.7056054472923279, 0.6581365466117859, -0.7042572498321533, 0.3046433627605438, 0.26248699426651, -0.3889494836330414, -0.5098832845687866, -0.5676419734954834, -1.8536920547485352, 0.23959890007972717, -0.33213040232658386, 0.3510851263999939, -...
Next reports whether there are more iterations to execute.
[ -0.2423361986875534, 0.9119616746902466, 0.3350599408149719, -0.06267783790826797, -0.2531864047050476, -0.26369404792785645, 0.07441693544387817, -0.37104249000549316, -0.11328596621751785, 0.006385331973433495, -0.49661344289779663, 0.0011499605607241392, -0.6622200012207031, 0.417590379...
RunParallel runs a benchmark in parallel. It creates multiple goroutines and distributes b.N iterations among them. The number of goroutines defaults to GOMAXPROCS. To increase parallelism for nonCPUbound benchmarks, call SetParallelism before RunParallel. RunParallel is usually used with the go test cpu flag. The body...
[ 0.14894311130046844, 0.8725252151489258, 0.8015080094337463, 1.0756109952926636, 0.338197261095047, 0.9900931715965271, 0.5726329684257507, 0.5492755770683289, -0.10752464830875397, -0.45128941535949707, -0.6002399325370789, 0.9805492162704468, -1.4368995428085327, 0.004382299724966288, ...
Benchmark benchmarks a single function. It is useful for creating custom benchmarks that do not use the "go test" command. If f depends on testing flags, then Init must be used to register those flags before calling Benchmark and before calling flag.Parse. If f calls Run, the result will be an estimate of running all i...
[ 0.6052343249320984, 1.2962807416915894, 0.5539650917053223, 0.9546961784362793, 0.691474199295044, 0.13425655663013458, 0.8787564039230347, 0.813470721244812, -0.8875354528427124, -0.5265361666679382, -0.7302602529525757, 0.7319203019142151, -0.39020928740501404, 0.7056629657745361, -0.3...
Coverage reports the current code coverage as a fraction in the range [0, 1]. If coverage is not enabled, Coverage returns 0. When running a large set of sequential test cases, checking Coverage after each one can be useful for identifying which test cases exercise new code paths. It is not a replacement for the report...
[ 0.2873533070087433, 0.41169804334640503, 0.5457618236541748, 1.0745370388031006, -0.21383902430534363, -0.42575836181640625, 1.020624041557312, 0.025588396936655045, 0.27434661984443665, -0.3438892960548401, 0.38928449153900146, -0.7758721113204956, -0.7318341732025146, 1.155320167541504, ...
RegisterCover records the coverage data accumulators for the tests. NOTE: This function is internal to the testing infrastructure and may change. It is not covered (yet) by the Go 1 compatibility guidelines.
[ 0.2150925099849701, 0.5626500844955444, 0.6042104959487915, 0.6444504261016846, 0.43405723571777344, 0.372817724943161, 1.016861081123352, -0.4562245309352875, 0.584526538848877, -0.34675371646881104, -0.8659644722938538, 0.3821384608745575, 0.17012359201908112, 0.5581842064857483, 0.046...
RunExamples is an internal function but exported because it is crosspackage; it is part of the implementation of the "go test" command.
[ -0.8432917594909668, 0.08526106178760529, 0.5235520601272583, -0.809070348739624, -0.7824198603630066, 0.27908188104629517, 0.22257782518863678, 0.05463374778628349, -0.5941314101219177, 0.7764440774917603, 0.03376523032784462, 0.08647464960813522, -0.2739391326904297, -0.10882069915533066...
Validate checks the default configuration of a proxy configuration.
[ -0.24411262571811676, 0.9136717915534973, 0.20897401869297028, 0.4929761290550232, 1.1691814661026, 0.17016886174678802, 0.07384133338928223, 0.41293901205062866, -0.529681384563446, 0.1745268702507019, -0.03528052568435669, -0.9513494372367859, -0.9288486242294312, 0.07915254682302475, ...
parseTag parses a tag string from the struct field and unmarshals into a Tag struct.
[ 0.46007075905799866, 0.12636084854602814, 0.31741443276405334, -0.8870656490325928, 0.19084051251411438, 0.00436578132212162, -0.17728666961193085, 0.24960505962371826, -0.4586031436920166, -0.915971040725708, -0.604086697101593, -0.5365437269210815, -0.34435585141181946, -0.79224383831024...
getIP returns the original IP address from the request, checking special headers before falling back to RemoteAddr.
[ -0.002044397871941328, 0.001675250823609531, 0.6082512736320496, 1.2161945104599, -1.0784090757369995, -0.39204880595207214, -0.5251755118370056, -0.09767397493124008, 0.3831999599933624, -0.10213249176740646, 1.3608211278915405, -0.5997766256332397, 0.3886764347553253, -1.393086314201355,...
jsonRPCResponse returns a JSON response containing v, or a plaintext generic response for this httpCode and an error when JSON marshalling fails.
[ -0.370487779378891, -1.1096069812774658, 0.3024352490901947, -0.8632644414901733, -0.2838256061077118, -1.139035701751709, -0.8344022035598755, -0.7129951119422913, 1.1336064338684082, 1.1591647863388062, 0.13627688586711884, -0.3869595527648926, -0.39204952120780945, 0.16406802833080292, ...
block returns a response only if the request should be blocked, otherwise it returns nil if allowed.
[ -0.2713479995727539, 0.49534177780151367, 0.7799654603004456, 1.2869023084640503, -0.5722589492797852, -0.21153223514556885, -0.04942554607987404, -1.5817277431488037, 0.9479395151138306, -0.3425985872745514, 0.9595538973808289, -0.14718982577323914, -0.42257261276245117, -0.71910715103149...
parseRange returns a block range if one exists, or an error if the request is invalid.
[ -0.31845325231552124, -0.403632789850235, 0.41710934042930603, 1.0557470321655273, -0.12311889976263046, -0.6713376045227051, -0.686745822429657, -1.172583818435669, -0.6045742630958557, -0.3807810842990875, 0.4176188111305237, -0.3744730055332184, -1.307316780090332, 0.585387647151947, ...
update updates (num, err, at). Only one instance may run at a time, and it spot is reserved by setting next, which is closed when the operation completes. Returns a chan to wait on if another instance is already running. Otherwise returns num and err if the operation is complete.
[ -1.13389253616333, -0.058193933218717575, 0.5058337450027466, -0.41592341661453247, -0.9511492252349854, -0.2037820965051651, 0.3280280828475952, -1.0671141147613525, 0.1185874342918396, 0.06536364555358887, 0.7149176001548767, -0.17671799659729004, -1.1612663269042969, -0.5427782535552979...
/ ============== === Public === ============= StartPing to coordinator every interval duration
[ -0.08742766082286835, -0.22549298405647278, 0.4723014831542969, 0.3659588694572449, 0.41446131467819214, 1.7788623571395874, -0.6589710712432861, 0.16135695576667786, -0.925266444683075, 0.9864330291748047, 0.012057729996740818, 1.1168787479400635, -0.4444710910320282, -0.16731128096580505...
/ =============== === private === ============= shouldIPing
[ -1.1836028099060059, 0.34521111845970154, 0.6712641716003418, -0.4072023928165436, -0.071759432554245, 0.6063370704650879, -0.25496286153793335, 0.7308692932128906, 0.10238806903362274, 0.4577513635158539, 0.04732577130198479, -0.857369065284729, 0.39343711733818054, 0.4178486764431, -0....
Save it and make sure it shows up in new form
[ -0.34604787826538086, -0.08653333783149719, 0.4520173668861389, 0.0027086599729955196, 0.06004367396235466, 0.2438141256570816, 0.18328294157981873, 0.35722291469573975, 0.6157047152519226, -0.4744551479816437, -0.539775013923645, -0.8920083045959473, 0.6454592347145081, 1.0859988927841187...
Version returns package version
[ -0.5579877495765686, -0.4419142007827759, 0.053254056721925735, 0.556922197341919, 0.3063770830631256, 0.3915046751499176, 0.37067079544067383, 0.24679651856422424, 0.20889367163181305, 0.4501102566719055, -0.989362895488739, -1.607382893562317, 0.15509216487407684, -0.08269961923360825, ...
Author returns package author
[ -0.4877640902996063, -0.8506889343261719, -0.0016465932130813599, 1.2416123151779175, -0.5396901369094849, -0.590819239616394, 0.2763060927391052, 0.9808306694030762, 0.7532933950424194, -0.005062498152256012, 0.22676193714141846, 0.16494120657444, 0.7146382331848145, -0.23588022589683533,...
License returns package license
[ 1.3054707050323486, -1.0675842761993408, 0.10845330357551575, 0.8539468050003052, -0.534142255783081, -0.29264259338378906, -0.8764738440513611, 0.7974311113357544, 1.4651453495025635, -0.05277808755636215, 0.1872512698173523, -1.086127519607544, -0.5277643203735352, -0.1767055094242096, ...
IsStruct returns if v is a struct
[ -0.5633881092071533, 0.12124492973089218, 0.39422473311424255, 0.42829594016075134, -0.5350055694580078, -0.8864845633506775, 0.07002297043800354, -0.8318973779678345, 1.7684011459350586, -1.0527222156524658, -0.3562025725841522, 0.30907151103019714, -0.3900946080684662, -0.413017958402633...
Name returns name of struct
[ -0.276544988155365, -0.4574265480041504, 0.5603780746459961, -0.8450191020965576, -0.9579206705093384, 0.014086510986089706, 0.5597661733627319, -0.7394206523895264, 0.3580244779586792, 0.3346637189388275, -1.1503838300704956, -0.5905908346176147, 0.37794896960258484, -0.7206431031227112, ...
Struct returns nested struct with name, it panic if not field
[ 0.6510173082351685, 0.6219855546951294, 0.3377491235733032, 0.2521345019340515, -1.1050386428833008, 0.36297526955604553, -0.5673869252204895, -1.1212399005889893, 0.5150323510169983, -0.8577794432640076, -0.7471079230308533, -0.3059364855289459, -0.668978750705719, -1.4603174924850464, ...
Map returns struct name value as map
[ -1.230522632598877, -0.8417466282844543, 0.3950912654399872, -1.0050009489059448, -1.2803146839141846, 0.13110186159610748, -0.5485236644744873, -0.9391803741455078, 0.8986218571662903, 0.6429769992828369, -1.3775359392166138, -0.7354626655578613, 1.134379506111145, -0.18994638323783875, ...
Names returns names of struct
[ -0.6401152610778809, -0.3183380961418152, 0.38204845786094666, -0.9844427704811096, 0.0874805897474289, -0.1175794005393982, -0.2905482053756714, -1.2167099714279175, 0.05647364258766174, 0.33984696865081787, -1.7867757081985474, -0.4179416596889496, 0.560186505317688, -0.4620603919029236,...
Tags returns tags of struct
[ 0.10992986708879471, -0.026515556499361992, 0.1324123740196228, -0.6940582394599915, 0.4859764575958252, -0.5458090901374817, -0.6794097423553467, -0.4578670263290405, -0.04455580189824104, -0.19999071955680847, -1.6663631200790405, -0.6462032198905945, -0.19787666201591492, 0.491953223943...
Values returns values of struct
[ -0.19597001373767853, 0.23748844861984253, 0.2143361121416092, -0.6411089897155762, 0.518264889717102, -0.3961411416530609, -0.6332237124443054, -0.5782338380813599, 0.1484535187482834, -1.0021655559539795, -1.4654444456100464, -0.1361304521560669, 0.33082765340805054, -0.09190086275339127...
Fields return fields of struct
[ -0.12371065467596054, 0.2601386308670044, 0.19826743006706238, -1.1866817474365234, -0.08617838472127914, -0.1604706346988678, 0.21077947318553925, -0.8283270001411438, 0.6470890045166016, -0.5960419774055481, -1.9582741260528564, -1.139890193939209, -0.5176620483398438, -1.493916153907775...
MustField returns a field with name, panic if error
[ 0.2356209009885788, 0.47443193197250366, 0.2800058126449585, 0.037665676325559616, -0.3552747964859009, 1.1919374465942383, -1.1505591869354248, -0.658105731010437, 0.426726758480072, 0.526389479637146, -0.5440873503684998, -0.5935417413711548, -0.5796516537666321, -1.0346561670303345, -...
Field returns a field with name
[ 0.45532965660095215, -0.39577874541282654, 0.09829966723918915, -0.8632925748825073, -0.461399644613266, 0.03343963250517845, -1.3044021129608154, -0.865451455116272, 0.05029773339629173, -0.32238778471946716, -1.2188005447387695, -1.0128376483917236, -0.14343568682670593, -1.0259169340133...
Set set value to the field name, must be exported field
[ 0.09291349351406097, -0.03784716874361038, 0.38663768768310547, -0.5819188952445984, -0.5535798072814941, 0.8956977725028992, -0.6481819152832031, -0.5980574488639832, -0.14667196571826935, 0.4209873676300049, -1.2531886100769043, -0.2631867527961731, 0.6965024471282959, -0.121613234281539...
Zero set zero value to the field name, must be exported field
[ 0.30350711941719055, -0.7354011535644531, 0.35364019870758057, 0.11246252804994583, 0.3738747835159302, 1.0732320547103882, 0.5084633827209473, 0.3729134798049927, -0.02395516075193882, -0.25907450914382935, -1.614844799041748, 0.09176808595657349, 0.19779470562934875, 0.6949256062507629, ...
New return a new xstruct object, it panic if not struct
[ 0.6003994941711426, 0.15280936658382416, 0.5058714747428894, 0.31287461519241333, -1.1029901504516602, -0.3536178767681122, -0.9615923762321472, -1.549438714981079, 0.7657075524330139, -1.3319653272628784, -0.8032358884811401, -0.0466877780854702, -0.1441306471824646, -0.8318250179290771, ...
Name returns name of struct
[ -0.276544988155365, -0.4574265480041504, 0.5603780746459961, -0.8450191020965576, -0.9579206705093384, 0.014086510986089706, 0.5597661733627319, -0.7394206523895264, 0.3580244779586792, 0.3346637189388275, -1.1503838300704956, -0.5905908346176147, 0.37794896960258484, -0.7206431031227112, ...
Struct returns nested struct with name, it panic if not field
[ 0.6510173082351685, 0.6219855546951294, 0.3377491235733032, 0.2521345019340515, -1.1050386428833008, 0.36297526955604553, -0.5673869252204895, -1.1212399005889893, 0.5150323510169983, -0.8577794432640076, -0.7471079230308533, -0.3059364855289459, -0.668978750705719, -1.4603174924850464, ...
Map returns struct name value as map
[ -1.230522632598877, -0.8417466282844543, 0.3950912654399872, -1.0050009489059448, -1.2803146839141846, 0.13110186159610748, -0.5485236644744873, -0.9391803741455078, 0.8986218571662903, 0.6429769992828369, -1.3775359392166138, -0.7354626655578613, 1.134379506111145, -0.18994638323783875, ...
Names returns names of struct
[ -0.6401152610778809, -0.3183380961418152, 0.38204845786094666, -0.9844427704811096, 0.0874805897474289, -0.1175794005393982, -0.2905482053756714, -1.2167099714279175, 0.05647364258766174, 0.33984696865081787, -1.7867757081985474, -0.4179416596889496, 0.560186505317688, -0.4620603919029236,...
Tags returns tags of struct
[ 0.10992986708879471, -0.026515556499361992, 0.1324123740196228, -0.6940582394599915, 0.4859764575958252, -0.5458090901374817, -0.6794097423553467, -0.4578670263290405, -0.04455580189824104, -0.19999071955680847, -1.6663631200790405, -0.6462032198905945, -0.19787666201591492, 0.491953223943...
Values returns values of struct
[ -0.19597001373767853, 0.23748844861984253, 0.2143361121416092, -0.6411089897155762, 0.518264889717102, -0.3961411416530609, -0.6332237124443054, -0.5782338380813599, 0.1484535187482834, -1.0021655559539795, -1.4654444456100464, -0.1361304521560669, 0.33082765340805054, -0.09190086275339127...
Fields return fields of struct
[ -0.12371058762073517, 0.26013821363449097, 0.19826765358448029, -1.1866827011108398, -0.08617854863405228, -0.1604715883731842, 0.21077744662761688, -0.8283265233039856, 0.6470887064933777, -0.5960415601730347, -1.9582741260528564, -1.1398916244506836, -0.517661988735199, -1.49391686916351...
HasField returns field is exists
[ 0.2247912883758545, 0.1434318721294403, 0.4537782669067383, 0.13344305753707886, 1.2438056468963623, 0.7115351557731628, -0.9240425825119019, 0.7441017031669617, -0.32884711027145386, -0.7583670616149902, -0.8056606650352478, -1.1546711921691895, 0.2299649566411972, 0.6378737688064575, -...
MustField returns a field with name, panic if error
[ 0.2356196790933609, 0.474433034658432, 0.28000548481941223, 0.03766645863652229, -0.3552747964859009, 1.191937804222107, -1.1505584716796875, -0.6581044793128967, 0.42672690749168396, 0.5263877511024475, -0.5440865159034729, -0.5935418605804443, -0.5796520113945007, -1.0346568822860718, ...
Field returns a field with name
[ 0.45532965660095215, -0.39577874541282654, 0.09829966723918915, -0.8632925748825073, -0.461399644613266, 0.03343963250517845, -1.3044021129608154, -0.865451455116272, 0.05029773339629173, -0.32238778471946716, -1.2188005447387695, -1.0128376483917236, -0.14343568682670593, -1.0259169340133...
IsStruct returns if field name is a struct
[ -0.8798316717147827, 0.24681878089904785, 0.31336575746536255, 0.07995369285345078, -0.712894082069397, -0.27998557686805725, 0.08735617250204086, -0.7806227803230286, 0.8597021102905273, -0.7317994236946106, -0.6575098037719727, -0.25431185960769653, -0.41646841168403625, -0.2093829065561...
Set set value to the field name, must be exported field
[ 0.09291450679302216, -0.037846650928258896, 0.38663697242736816, -0.5819187164306641, -0.5535809993743896, 0.8956975936889648, -0.6481830477714539, -0.5980602502822876, -0.14667266607284546, 0.4209907054901123, -1.2531864643096924, -0.26318788528442383, 0.6965028643608093, -0.1216149851679...
Zero set zero value to the field name, must be exported field
[ 0.3035067915916443, -0.735400915145874, 0.35364046692848206, 0.11246153712272644, 0.37387457489967346, 1.0732313394546509, 0.5084633827209473, 0.37291309237480164, -0.02395329251885414, -0.25907430052757263, -1.6148444414138794, 0.0917685329914093, 0.19779625535011292, 0.6949265003204346, ...
Name returns name of field
[ -0.4642513394355774, -0.25083938241004944, 0.5322374701499939, -0.9941309094429016, -0.6322891712188721, 0.5481282472610474, -0.10304854065179825, 0.05268818885087967, -0.4941962659358978, 0.7127191424369812, -1.0231608152389526, -0.7734737396240234, 0.07803403586149216, -0.457894295454025...
Kind returns kind of field
[ -0.07585490494966507, 0.4842298626899719, 0.25188329815864563, -0.3144129514694214, 0.11709568649530411, 0.5723200440406799, 0.5141842365264893, -0.35301628708839417, -0.2909409999847412, 0.015923822298645973, -0.5554451942443848, 0.3300621807575226, -0.47894150018692017, -0.16295967996120...
Tag returns tag of field by key
[ -0.1014627143740654, 0.35385534167289734, 0.06697294861078262, -0.38277819752693176, 0.3216358721256256, -0.08846432715654373, -0.6487571597099304, -0.11816457659006119, -1.4636318683624268, 0.4796333312988281, -0.5943643450737, -0.9955359101295471, 0.12451771646738052, 0.29381275177001953...
Value returns value of field
[ -0.10398321598768234, 0.3938904106616974, 0.11177628487348557, -0.7844159007072449, 0.2779037058353424, 0.7528871297836304, -0.01626805029809475, -0.6161584258079529, -0.30868351459503174, -0.28971752524375916, -0.4243626594543457, 0.07012683153152466, 0.14360718429088593, -0.3401440680027...
IsAnonymous returns if field is anonymous
[ -1.466396689414978, -0.44109731912612915, 0.5919455289840698, 0.33608198165893555, 0.043231330811977386, -0.48811447620391846, -0.5712220072746277, -0.2955096662044525, -0.035043902695178986, 0.6439829468727112, -1.1568154096603394, 0.48146894574165344, 0.07396195828914642, 0.2499398142099...
IsExport returns if field is exported
[ 0.027101673185825348, 0.6018025875091553, 0.10125207901000977, 1.5979238748550415, -0.6891605854034424, -0.1400342434644699, -0.48332202434539795, -0.3380364179611206, 1.2900257110595703, 0.9913954138755798, -0.8484319448471069, 0.17535841464996338, -0.7662133574485779, 0.15963637828826904...
IsZero returns if field have zero value, for example not initialized it panic if field is not exported
[ 0.33985328674316406, -0.025559846311807632, 0.2612583637237549, 1.7316843271255493, 0.8346701860427856, 0.18330717086791992, -0.05894504114985466, 0.06054947152733803, 0.8186749815940857, 0.2997371256351471, -0.5200821161270142, 0.5313040018081665, -0.5667663812637329, 0.7643521428108215, ...
Set set value to the field, must be exported field
[ 0.17565090954303741, 0.17757827043533325, 0.4100148677825928, -0.5105169415473938, -0.2834756076335907, 1.3032265901565552, -0.27356070280075073, -0.4629822373390198, 0.22744043171405792, -0.22451531887054443, -0.8812909722328186, -0.22775056958198547, 0.38022324442863464, 0.04719318076968...
Zero set field to zero value, must be exported field
[ 0.1810629814863205, -0.5422476530075073, 0.29164591431617737, 0.29898586869239807, 0.47841697931289673, 1.290748953819275, 0.7531206011772156, 0.3634035587310791, 0.24178718030452728, -0.39970681071281433, -1.1489497423171997, 0.4279942214488983, -0.14816470444202423, 0.6615545153617859, ...
Set n and theta
[ -0.8237181901931763, 0.03700266405940056, 0.0360722541809082, -0.6239641904830933, -0.0463629886507988, -0.33379220962524414, 0.15155965089797974, 0.02062787115573883, -0.5567030310630798, -0.091249018907547, -1.2519335746765137, -0.26891598105430603, 0.7921798229217529, 1.2604446411132812...
Get n and theta
[ -0.8432596921920776, -0.07758483290672302, 0.07565933465957642, -0.097229965031147, 0.3482606112957001, -0.6846621036529541, -0.3869895935058594, -0.13681268692016602, -0.47618624567985535, 0.028312910348176956, -1.382448434829712, -0.3853955864906311, 0.7594818472862244, 1.053308248519897...
Export Setup Vars as JSON string
[ -1.4926538467407227, -1.5689284801483154, 0.37554192543029785, -0.22788332402706146, -1.3420296907424927, -0.6203103065490723, 0.3540651202201843, -1.2118923664093018, 0.7574799060821533, 1.2163536548614502, -0.5856755971908569, -0.00875473115593195, 0.6287460327148438, -0.2489398717880249...
Import Setup Vars from JSON string
[ -0.9158639907836914, -1.0480968952178955, 0.44574224948883057, -0.7029052972793579, -1.146203875541687, 0.001509014517068863, 0.8915954828262329, -1.2144999504089355, 0.5097407102584839, 1.22652268409729, -1.2595282793045044, -0.5443377494812012, 0.3403562903404236, -1.0014803409576416, ...
NewDeviceContext creates a new context given a DeviceConfig. DeviceContext will use that configuration to compute how long requests take.
[ -0.317606121301651, 0.5892780423164368, 0.07869251072406769, 0.3786112368106842, -0.7659723162651062, 0.16350388526916504, 0.628303050994873, -0.8478359580039978, 1.0156619548797607, 0.07711273431777954, -0.9866051077842712, 0.0943388119339943, 0.026271400973200798, 0.46241456270217896, ...
ComputeTime computes how long a request should take given the current state of the device. It does not update the context.
[ -1.1131190061569214, 0.8236942887306213, 0.41720253229141235, 0.51329106092453, 0.15013928711414337, 0.3060711920261383, -0.06606642156839371, -0.7167901992797852, 0.5048936605453491, 0.548534095287323, 0.07880805432796478, -0.581916868686676, -0.6491128206253052, 0.04978400468826294, -0...
Execute executes a given request, applying changes to the device context.
[ -1.969220757484436, 0.15111437439918518, 0.47666463255882263, 1.176600694656372, 0.6992188096046448, 0.17604638636112213, -0.590064287185669, -0.7138782143592834, 0.8672650456428528, -0.10127546638250351, 0.5779296159744263, -0.06036272644996643, -0.2400183081626892, -0.2506391406059265, ...
add DeployCmd and it's respective flags parameters: nil returns: nil
[ 0.10305850952863693, -1.0309745073318481, 0.6097860336303711, 0.24400483071804047, 1.023480772972107, 1.0149086713790894, 0.9996249079704285, 0.24221569299697876, 0.623943567276001, -0.3364032804965973, 0.2860293984413147, -0.2059634029865265, -0.801498532295227, 1.7709192037582397, 0.05...
this function is called as the run operation for the DeployCmd parameters: cmd (the definition of cmd.Command), args (an array of strings passed to the command) returns: nil
[ 0.04237574338912964, -0.532258927822113, 0.6030832529067993, -0.7998757362365723, 0.6960471272468567, 0.5900666117668152, 0.7101126909255981, 0.7969163656234741, -0.9099532961845398, 0.6240472197532654, 0.7291021347045898, 0.4136258363723755, -1.0839813947677612, 0.5115145444869995, -0.6...
this function is used to read a file parameters: name (a string containing the path to a file) returns: []byte (an array of bytes containing the contents of the file)
[ -0.6492940783500671, -0.9105748534202576, 0.7386143803596497, -0.44781193137168884, -0.6454688906669617, 0.24068011343479156, -0.35043415427207947, 0.15228340029716492, -0.7181216478347778, 0.3539961278438568, -0.38170138001441956, -0.16927005350589752, -0.9122222065925598, -0.019139992073...
this function is used to unmarshal YAML parameters: byteArray (an array of bytes representing the contents of a file) returns: Config (a struct form of the YAML)
[ 0.436500608921051, -0.6588229537010193, 0.3833402395248413, -1.1802198886871338, -0.7341201901435852, -0.4743170142173767, 0.6570799946784973, 1.1247997283935547, 0.1669636219739914, 0.2647937536239624, 0.24905294179916382, -0.42230749130249023, -0.3170800805091858, 0.3505363166332245, -...
this function is used to check if a directory exists parameters: dir (a string containing the path to the checked directory) returns: boolean (true is no error in checking the existence of the directory, false if otherwise)
[ -1.418349027633667, 0.5688870549201965, 0.9267961382865906, -0.03003513813018799, 0.5514485836029053, 1.087869644165039, 0.31594911217689514, 0.7502440810203552, 0.08690675348043442, -0.5988849997520447, 0.2888053059577942, 0.1724589765071869, -0.42901545763015747, 0.05231853201985359, -...
this function is used to get the schedule string using the path to the file parameters: name (a string containing the path to a file), port (a string of the port to be used) returns: ss (the generated schedule string)
[ -0.02089240588247776, -0.8726993203163147, 0.5753563642501831, -0.519708514213562, -1.0820021629333496, -0.044277433305978775, -0.5950549244880676, -0.5810985565185547, -1.4667022228240967, 0.9897482395172119, 0.3208160400390625, 0.6043663620948792, -0.480635404586792, -1.2049586772918701,...
Read implements the Conn Read method.
[ -0.551456093788147, -1.2505019903182983, 0.2041114866733551, 0.6114509105682373, -0.19802767038345337, 0.10037802904844284, -0.22207558155059814, 0.05839299410581589, -0.9920443296432495, -0.6965967416763306, 0.32379692792892456, -0.3011375069618225, -0.11174632608890533, -0.40647011995315...
Write implements the Conn Write method.
[ -1.690669298171997, -0.9283186197280884, 0.014559604227542877, 0.9163026213645935, 1.3135900497436523, -0.31727173924446106, 0.31913965940475464, 0.6939737796783447, -1.0149879455566406, -0.10750317573547363, -0.7088464498519897, -1.122824788093567, -0.26321661472320557, 0.1606200933456421...
Close closes the connection.
[ 0.21077921986579895, -0.32547107338905334, 0.4766085743904114, 0.3164747953414917, -0.12033601105213165, 0.26910093426704407, -0.8984459042549133, 0.33768296241760254, -1.4706579446792603, -1.0312511920928955, 0.6994262933731079, -0.1853622943162918, -0.42266860604286194, 0.195665791630744...
LocalAddr returns the local network address.
[ 1.006640911102295, -0.9506089091300964, 0.3691491484642029, -0.8760005235671997, -0.7027097344398499, -0.0069539546966552734, 0.03743843361735344, 0.5989673733711243, 0.8222939372062683, -0.6254659295082092, 0.8529127240180969, -0.33196189999580383, -0.5602812170982361, -0.2595138847827911...
RemoteAddr returns the remote network address.
[ 0.6012188196182251, -1.013587236404419, 0.6457840800285339, -1.3730608224868774, -0.9223697781562805, 1.0850987434387207, -0.8329806327819824, 0.016943063586950302, 1.0860154628753662, -0.6541536450386047, -0.13581643998622894, 0.4679808020591736, -0.7164851427078247, -0.767363429069519, ...
SetDeadline implements the Conn SetDeadline method.
[ -0.34974437952041626, -0.9720818996429443, 0.46252304315567017, 0.2470003366470337, 0.8828188180923462, 0.10484629124403, -0.3869006037712097, 0.4803465008735657, -0.7117860317230225, -0.6237432360649109, -0.35441848635673523, -0.36537137627601624, 0.17075008153915405, 0.3377370238304138, ...
SetReadDeadline implements the Conn SetReadDeadline method.
[ 0.09008388221263885, -0.9719182252883911, 0.5761760473251343, 0.00364484079182148, -0.06881282478570938, 0.2865128815174103, -0.24815817177295685, -0.3086896538734436, -0.12998127937316895, -0.4822302460670471, -0.23025187849998474, 0.0358402281999588, 0.7111932635307312, -0.03755195066332...
SetWriteDeadline implements the Conn SetWriteDeadline method.
[ -1.0220091342926025, -1.3120853900909424, 0.3736370801925659, -0.3352009654045105, 1.4827332496643066, 0.1690053939819336, 0.20151299238204956, 0.5568742156028748, -0.5367562174797058, -0.491100013256073, -0.3327227234840393, -0.3797079920768738, 0.004126511514186859, -0.22324025630950928,...
namespace returns the namespace of tiller
[ 0.5951455235481262, -0.444964200258255, 0.09636964648962021, -0.34077921509742737, -0.2218521684408188, -0.5847888588905334, 0.3992287218570709, -1.0137230157852173, 0.7390068173408508, -0.797206699848175, -0.7553640007972717, 0.25824111700057983, -0.3802701532840729, 1.2530306577682495, ...
TestLocalWriteWithExpiredContext ensures that writes are at least attempted even with an expired context, this is so that data is not lost even if the original writer has already disconnected.
[ 0.6272490620613098, -1.2108098268508911, 0.35353341698646545, -0.5617873668670654, 0.11508582532405853, 0.3767833709716797, -0.4718707799911499, -0.21629059314727783, 0.9464965462684631, -0.5145449638366699, -0.3405880928039551, -0.6850025653839111, -0.0981082171201706, -0.4237801134586334...
TestLocalWritesWithExpiredContext ensures that writes are at least attempted even with an expired context, this is so that data is not lost even if the original writer has already disconnected.
[ 0.750771701335907, -1.2240158319473267, 0.389008104801178, -0.8108950853347778, 0.11733149737119675, 0.3749902844429016, -0.3770791292190552, -0.42811843752861023, 0.9806680083274841, -0.6088613867759705, -0.32166099548339844, -0.6534201502799988, -0.21777771413326263, -0.17198239266872406...
NewListIssueGroupOfProjectVersionParams creates a new ListIssueGroupOfProjectVersionParams object with the default values initialized.
[ 0.03847656771540642, -0.04105597734451294, 0.010756870731711388, 0.4890320897102356, -0.47538167238235474, -0.2014661282300949, -0.07668367028236389, 0.15953803062438965, -0.17927563190460205, -0.06891647726297379, -0.6489667892456055, -0.5509968996047974, -0.48919743299484253, 0.471507728...
NewListIssueGroupOfProjectVersionParamsWithTimeout creates a new ListIssueGroupOfProjectVersionParams object with the default values initialized, and the ability to set a timeout on a request
[ 0.46330875158309937, -0.19980700314044952, 0.0835985392332077, 0.08584165573120117, -0.8796453475952148, 0.142917662858963, -1.0256706476211548, -0.0228627510368824, -0.2711837589740753, 0.8911564350128174, -0.40044698119163513, -0.20222556591033936, -0.48520347476005554, 0.306131213903427...
NewListIssueGroupOfProjectVersionParamsWithContext creates a new ListIssueGroupOfProjectVersionParams object with the default values initialized, and the ability to set a context for a request
[ -0.15404067933559418, -0.0070725190453231335, 0.34020504355430603, -0.190543070435524, -0.639907956123352, 0.21616333723068237, -0.7325954437255859, -0.3964545428752899, 0.6595238447189331, 0.5016039609909058, -0.42979398369789124, -0.006133416201919317, -0.19420726597309113, 0.00384251284...
NewListIssueGroupOfProjectVersionParamsWithHTTPClient creates a new ListIssueGroupOfProjectVersionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
[ 0.058226604014635086, -0.2972418963909149, 0.06594580411911011, -0.20731845498085022, -0.5916697382926941, 0.2310820370912552, -0.014833363704383373, 0.02089565247297287, -0.6925506591796875, 0.07620364427566528, -0.39394745230674744, -0.2294478565454483, -0.3162378668785095, 0.06527700275...
WithTimeout adds the timeout to the list issue group of project version params
[ 0.4183402359485626, -0.09163855761289597, -0.06215934082865715, -0.2287992388010025, -0.5126127600669861, 0.2649572789669037, -0.7803573608398438, -0.14348749816417694, -0.058625318109989166, 1.288895606994629, -0.2540576756000519, -0.19848854839801788, -0.4956449568271637, 0.1050955057144...
SetTimeout adds the timeout to the list issue group of project version params
[ -0.10166066139936447, 0.09949556738138199, -0.1565084606409073, -0.15976135432720184, 0.010900014080107212, 0.8028551936149597, -0.59505295753479, 0.31085023283958435, -0.23203785717487335, 1.3029175996780396, -0.24925635755062103, -0.20659275352954865, -0.6728681921958923, 0.0418335199356...
WithContext adds the context to the list issue group of project version params
[ -0.18466439843177795, 0.1867494136095047, 0.23560604453086853, -0.23361727595329285, -0.5616772174835205, 0.20164799690246582, -0.8337745666503906, -0.9475967288017273, 0.6816670894622803, 0.716938853263855, -0.39176511764526367, -0.23784911632537842, -0.4810287356376648, 0.031611282378435...
SetContext adds the context to the list issue group of project version params
[ -0.43923062086105347, 0.37000927329063416, 0.12676823139190674, 0.0004172511398792267, 0.13754738867282867, 0.6221212148666382, -0.7201012372970581, -0.41435331106185913, 0.6390196084976196, 0.8350229859352112, -0.3648384213447571, 0.026896720752120018, -0.6846665143966675, 0.0233236774802...
WithHTTPClient adds the HTTPClient to the list issue group of project version params
[ 0.030600784346461296, -0.022257644683122635, 0.02848084643483162, -0.4977160394191742, -0.5675737261772156, 0.3556506037712097, -0.7690341472625732, -0.5002686381340027, -0.5254452228546143, 0.19710581004619598, -0.17134355008602142, 0.0712755098938942, -0.4557499885559082, 0.0465928614139...
SetHTTPClient adds the HTTPClient to the list issue group of project version params
[ 0.054042913019657135, -0.08495887368917465, -0.05954790860414505, -0.6345251202583313, -0.3039771616458893, 0.6565542221069336, -0.8737298846244812, -0.356454998254776, -0.9533562064170837, 0.22080281376838684, -0.33864742517471313, 0.27776357531547546, -0.4646207392215729, -0.504699826240...
WithFields adds the fields to the list issue group of project version params
[ -0.0781703069806099, 0.4930669367313385, 0.04432344809174538, -0.47287043929100037, -0.39679649472236633, 0.45837685465812683, -0.4053107798099518, -0.36531946063041687, -0.2683429718017578, -0.004245116375386715, -0.9577451348304749, -0.9010006785392761, -0.5598793029785156, -0.1230550259...
SetFields adds the fields to the list issue group of project version params
[ -0.5213688015937805, 0.6385384798049927, 0.002644724678248167, -0.41122305393218994, 0.08769699931144714, 0.9029572606086731, -0.46022507548332214, 0.012176725082099438, -0.31981179118156433, 0.08935563266277313, -1.2175871133804321, -0.5649873614311218, -0.8760262131690979, -0.20666241645...