text
stringlengths
7
2.39k
embedding
listlengths
768
768
SetTcpMtu gets a reference to the given int64 and assigns it to the TcpMtu field.
[ -0.9770204424858093, 0.7275541424751282, 0.3702734410762787, -1.6808665990829468, 0.3262954652309418, -0.7077217102050781, 0.6305873990058899, -0.37870535254478455, 0.11728410422801971, -0.5645709037780762, 0.17604859173297882, -0.20215506851673126, -0.4354236125946045, -0.3571678698062897...
GetArray returns the Array field value if set, zero value otherwise.
[ 0.03908219560980797, -0.08628839999437332, 0.6885994076728821, 0.7725910544395447, 0.735294759273529, -0.1333070993423462, 0.1577465981245041, -0.7121433019638062, 0.25273579359054565, -0.41361892223358154, 0.7462965846061707, 0.06376369297504425, -0.3983767330646515, 1.280591607093811, ...
GetArrayOk returns a tuple with the Array field value if set, nil otherwise and a boolean to check if the value has been set.
[ -0.2896715998649597, -0.26410210132598877, 0.6296890377998352, 0.4539165496826172, 0.6249164938926697, 0.10920891165733337, 0.07355767488479614, 0.4566822052001953, -0.3041403293609619, 1.4722920656204224, -0.8100702166557312, 0.020245924592018127, 0.16140216588974, 0.35474658012390137, ...
HasArray returns a boolean if a field has been set.
[ 0.23676374554634094, 0.4513853192329407, 0.5136268138885498, 0.12421257793903351, 1.2540555000305176, 0.4050828516483307, -0.08347038924694061, 0.04314995929598808, -0.7363075017929077, -0.8101184964179993, -0.4557592272758484, -0.41414517164230347, -0.29302024841308594, 1.0925123691558838...
SetArray gets a reference to the given StorageHitachiArrayRelationship and assigns it to the Array field.
[ -0.21018826961517334, 0.3095631003379822, 0.2916467785835266, 0.22778448462486267, 2.0960822105407715, -0.3293554186820984, -0.14230510592460632, -0.2807292938232422, 0.4342263638973236, -0.5013276934623718, -0.020714381709694862, 0.6788424253463745, -0.047064658254384995, -0.1277017295360...
GetRegisteredDevice returns the RegisteredDevice field value if set, zero value otherwise.
[ -0.0320548377931118, 1.7503719329833984, 0.6228007078170776, 1.6147762537002563, 0.8314183354377747, -0.6579422354698181, 1.276271939277649, -0.4025692939758301, 0.5602145791053772, -1.0823423862457275, 0.3722878396511078, -0.08641555160284042, -0.693779468536377, 1.0244680643081665, 0.5...
GetRegisteredDeviceOk returns a tuple with the RegisteredDevice field value if set, nil otherwise and a boolean to check if the value has been set.
[ -0.5134069323539734, 1.5818898677825928, 0.5285226702690125, 1.0308915376663208, 0.4866882264614105, -0.007827498018741608, 1.64972984790802, 0.4288439154624939, 0.1630111187696457, 0.5276332497596741, -0.3749930262565613, -0.463954359292984, -0.23520171642303467, 0.5054803490638733, 1.0...
HasRegisteredDevice returns a boolean if a field has been set.
[ 0.039903342723846436, 2.351125478744507, 0.4637675881385803, 0.6894593834877014, 1.3575114011764526, -0.31944000720977783, 1.0194964408874512, 0.7326767444610596, -0.210957333445549, -0.8682509660720825, -0.533767580986023, -0.4685843884944916, -0.0535297766327858, 0.7794696688652039, 0....
SetRegisteredDevice gets a reference to the given AssetDeviceRegistrationRelationship and assigns it to the RegisteredDevice field.
[ -0.18591941893100739, 1.572038173675537, 0.4419974386692047, 0.21653439104557037, 0.8167580366134644, -0.45230159163475037, 1.2570379972457886, -0.28666844964027405, 0.4966714382171631, -0.9139800071716309, 0.251878559589386, 0.726085901260376, 0.10058246552944183, 0.12370307743549347, 0...
NewPutAccountAppsAppIDDevicesDeviceTokenParams creates a new PutAccountAppsAppIDDevicesDeviceTokenParams object with the default values initialized.
[ -0.024384191259741783, 0.18686097860336304, -0.13030779361724854, 0.18799619376659393, -0.5124017596244812, -0.2529226839542389, 0.15992729365825653, -0.05751660838723183, 0.22475212812423706, -0.24448680877685547, -0.04200803115963936, 0.04157739877700806, 0.14550022780895233, -0.18313458...
NewPutAccountAppsAppIDDevicesDeviceTokenParamsWithTimeout creates a new PutAccountAppsAppIDDevicesDeviceTokenParams object with the default values initialized, and the ability to set a timeout on a request
[ 0.5257213711738586, 0.15186820924282074, 0.09380974620580673, 0.12625959515571594, -0.843702495098114, 0.07563268393278122, -0.254593163728714, 0.1678730696439743, 0.039512649178504944, 0.6359106302261353, -0.08759361505508423, 0.09173514693975449, -0.044114917516708374, -0.245030149817466...
WithAuthorization adds the authorization to the put account apps app ID devices device token params
[ 0.03752905875444412, 0.834365725517273, 0.17116214334964752, 0.8597941398620605, -0.45484888553619385, -0.7476394176483154, 0.29826903343200684, -0.15455135703086853, 0.5634613633155823, 0.2835274934768677, -0.13587114214897156, 0.2552518844604492, 0.6089120507240295, -0.09515052288770676,...
WithAppID adds the appId to the put account apps app ID devices device token params
[ 0.7728215456008911, 0.09461729973554611, 0.2510235011577606, 0.2045520544052124, -0.5113546252250671, 0.16672001779079437, -0.2724243104457855, -0.6134131550788879, 1.1761835813522339, 0.6535418629646301, 0.027068037539720535, -0.2460210770368576, 0.23860765993595123, 0.24369250237941742, ...
WithData adds the data to the put account apps app ID devices device token params
[ 0.12707407772541046, 0.546490490436554, 0.13847225904464722, -0.21272090077400208, -0.07352571934461594, 0.17827852070331573, -0.16899412870407104, -0.1417800486087799, 0.5884398221969604, -0.11270981281995773, -0.2619069516658783, 0.19066394865512848, -0.005977683700621128, -0.34876906871...
WithDeviceToken adds the deviceToken to the put account apps app ID devices device token params
[ -0.5231665968894958, 0.37458083033561707, 0.25059738755226135, -0.000621787563432008, -0.2351493537425995, -0.0517728254199028, 0.17518343031406403, 0.1400630921125412, 0.6844069361686707, -0.3372081220149994, -0.831979513168335, 0.14611458778381348, 0.22425484657287598, -0.475271105766296...
WriteToRequest writes these params to a swagger request
[ -1.7609347105026245, -0.8602511882781982, 0.5085070133209229, -0.5120177268981934, 1.3858880996704102, -0.42713379859924316, -0.24625247716903687, 0.6454176902770996, -0.6256825923919678, 0.30581825971603394, 0.05692572146654129, 0.10191656649112701, 0.17482730746269226, -0.080370560288429...
parse parses the eventtype given the prefix then returns the application name, event and version or returns an error if the eventtype format is invalid a valid eventype format should be: prefix.applicationName.businessObject.operation.version
[ 0.25528576970100403, -0.8732945322990417, 0.6729305386543274, 0.5022487640380859, -0.443089097738266, -0.030284758657217026, -0.09527672827243805, -0.10591345280408859, 0.08595800399780273, 0.9744337201118469, -0.5330618023872375, 0.2873711585998535, -0.02354990877211094, 0.222200542688369...
Default creates the default autocomplete
[ 0.8504120111465454, -0.3096141219139099, 0.0612647719681263, 0.12086455523967743, 1.2198269367218018, -0.31998497247695923, 0.248507559299469, -0.09482195973396301, -0.5425420999526978, -0.5710041522979736, -0.6773533225059509, -0.6598349213600159, -0.6287448406219482, -0.44026583433151245...
NewConfig creates a Config from the .yml file
[ 1.3907451629638672, -0.8726427555084229, 0.2615172564983368, 0.7942542433738708, -0.3381649851799011, -0.2988288402557373, -0.0582461878657341, 1.4874873161315918, -1.3120328187942505, 0.335207462310791, -0.6579137444496155, -0.2615169882774353, 1.0004892349243164, 1.1003831624984741, 0....
Alert provides a mock function with given fields: message
[ 0.07995130866765976, 0.4355235993862152, 0.3416473865509033, 0.33627432584762573, 0.11426863819360733, -0.326597660779953, 0.930590808391571, -0.3375832736492157, -0.926258385181427, -0.2569133937358856, -0.16186349093914032, 0.5250407457351685, 0.031502675265073776, 0.30787646770477295, ...
Info provides a mock function with given fields: message
[ -0.1510867327451706, 0.8860390782356262, 0.37580084800720215, 0.21240483224391937, 0.5742497444152832, -0.3306390345096588, 0.2871573269367218, -0.4380050599575043, -1.508609652519226, -0.2976786196231842, -0.4143836200237274, -0.0323055200278759, 0.13545189797878265, 0.8333988189697266, ...
Status provides a mock function with given fields: message
[ -0.6062667965888977, 0.4234449565410614, 0.286912739276886, 0.11464793980121613, 0.1991981416940689, -0.050422776490449905, 0.23250322043895721, 0.615287721157074, -0.8254241943359375, -0.3383515477180481, -0.8458297848701477, 0.29609376192092896, -0.17194364964962006, 0.6486451029777527, ...
Check panics if runtime error
[ 1.0521774291992188, 0.058246709406375885, 0.26149871945381165, 1.8878328800201416, 0.22548148036003113, 0.8427993655204773, 0.027651064097881317, -0.17354342341423035, -0.037613239139318466, -0.1752830296754837, 0.15335437655448914, 0.3313659131526947, -0.23938381671905518, 1.3383873701095...
Sample use of the sqlite library.
[ 0.960364580154419, 0.5337857007980347, 0.18727555871009827, 0.36818987131118774, -0.03598518669605255, -1.224208116531372, 0.008931547403335571, -0.5023098587989807, 0.9142109155654907, 0.2391025424003601, -0.10469336062669754, -0.26314130425453186, 0.08741053938865662, -0.7564771175384521...
Convolve convolves the input with an arbitrary kernel.
[ 0.7640277147293091, 0.6777753233909607, 0.3266250491142273, 2.080272674560547, -0.5578382611274719, -0.4311760663986206, -0.9084425568580627, -0.2290041595697403, -0.3632905185222626, -0.6315485239028931, -0.5287889838218689, -0.11412139981985092, 0.5948549509048462, 0.7042936086654663, ...
BoxFilter convolves the input with a uniform kernel.
[ -0.5272043347358704, 0.43577906489372253, 0.3799687623977661, 0.44924381375312805, -0.5185661315917969, -0.07231499254703522, -0.7250419855117798, -0.22520917654037476, 0.1941796839237213, -0.5079290866851807, -0.9790921211242676, 0.5692635774612427, 0.6074040532112122, 1.0015919208526611,...
GaussianKernel computes a 1D Gaussian convolution kernel and writes the result to dst. The size of the kernel is determined by the length of dst. It must be an odd number. The sigma parameter represents the standard deviation of the Gaussian.
[ -1.2196012735366821, 0.830004096031189, 0.632217288017273, 1.0684901475906372, -0.9180532097816467, 0.4801718592643738, 1.0097205638885498, 0.3044951260089874, -0.14533251523971558, 0.17653745412826538, -0.4490780234336853, 1.1955831050872803, 0.5071401596069336, 0.5336179733276367, 0.14...
GaussianFilter convolves the input with a Gaussian kernel. If the width is not a positive number, it will be automatically calculated as 4 standard deviations of the Gaussian. The sigma parameter represents the standard deviation of the Gaussian.
[ -0.28121131658554077, 0.4193963408470154, 0.6151522994041443, 1.058040738105774, -0.8469641208648682, -0.1514001488685608, 0.17603899538516998, -0.34582656621932983, 0.5050265789031982, -0.66145920753479, 0.1586761623620987, 0.5567728281021118, -0.39460909366607666, 0.8120092153549194, 0...
Gradient calculates the gradient the input array. The gradient is computed using second order accurate central differences in the interior points and first order accurate differences at the boundaries. The returned gradient hence has the same shape as the input array.
[ -0.4664749801158905, -0.43187689781188965, 0.2990781366825104, 0.2608807384967804, 0.40013277530670166, 0.30958130955696106, 0.5788725018501282, -0.3461746275424957, 0.21643643081188202, 0.00840474758297205, -0.5361531376838684, 0.2869413495063782, -0.5487682223320007, 0.05536268278956413,...
Distance() calculates and returns a distance between between two 2D points renamed a function and a variable with less title
[ 0.11258762329816818, -1.4679734706878662, 0.609086811542511, 0.8185544610023499, -1.4042744636535645, 0.9802296161651611, -0.3316044807434082, -0.3171147406101227, -0.2589688003063202, -0.28592196106910706, -0.6826466917991638, 0.48287534713745117, 0.44988223910331726, -0.09558279812335968...
Add a placeholder method for inserting a new record in the movies table.
[ -1.1745330095291138, 1.1785160303115845, 0.49755191802978516, 0.09316006302833557, 0.5292565226554871, 0.39971810579299927, -0.14427313208580017, 0.3760170638561249, -1.0115457773208618, 0.10600662976503372, -0.6242023706436157, -1.208373785018921, -0.9745194911956787, 1.0258110761642456, ...
Add a placeholder method for fetching a specific record from the movies table.
[ -0.4096410870552063, 0.8149462342262268, 0.3665792942047119, -0.05052369832992554, -0.1821395754814148, -0.04885406419634819, -0.8060839176177979, 0.16461147367954254, -0.571050226688385, 0.14497072994709015, 0.1513468474149704, -0.017327353358268738, 0.1684965044260025, 0.6216428279876709...
Add a placeholder method for updating a specific record in the movies table.
[ -1.4236979484558105, 0.29220694303512573, 0.509070634841919, -0.03708646073937416, -0.35648441314697266, 0.04450469836592674, -0.17934884130954742, 0.6315313577651978, -0.30219340324401855, 0.6034250855445862, -0.18871983885765076, -0.48780184984207153, -0.5012642741203308, 0.5315214395523...
Add a placeholder method for deleting a specific record from the movies table.
[ -0.22487129271030426, 0.6787208914756775, 0.529651403427124, 0.10251393914222717, 0.14465230703353882, 0.15905439853668213, -0.2969948947429657, 1.1751728057861328, -0.08034610003232956, 0.3141982853412628, 0.12696637213230133, -0.39302948117256165, -0.35105323791503906, 0.8557811975479126...
Creates a course record in Postgres.
[ 0.47685304284095764, 0.16686496138572693, 0.4447305500507355, 0.10395660251379013, 1.0144954919815063, 0.9970569610595703, -0.6259814500808716, 0.01778697967529297, -1.3017077445983887, 0.1270066350698471, 0.43354979157447815, -0.5663816928863525, -0.1164170354604721, -0.5971077084541321, ...
Creates an enrollment record in Postgres.
[ 0.26413774490356445, 0.7950268983840942, 0.40443888306617737, 0.28173568844795227, -0.3436317443847656, 1.0962077379226685, -0.21606795489788055, -0.4695139527320862, -0.5519152283668518, 0.6355048418045044, -0.11082509160041809, 0.0322270542383194, 0.3767491281032562, 0.030034098774194717...
Gets a course by its ID
[ -0.0299244225025177, -0.6393419504165649, 0.03466013818979263, -0.18239766359329224, 1.2701776027679443, 0.11416858434677124, -0.6717442274093628, -0.2777279317378998, 0.030940011143684387, -0.6836298704147339, 1.195158839225769, 0.9202320575714111, 0.448098748922348, -0.7769023180007935, ...
Gets courses that a user is teaching.
[ -0.2560493052005768, 0.5199037194252014, 0.2501019239425659, 1.5496106147766113, -0.08032085746526718, -0.14096438884735107, -0.45056942105293274, -1.2045127153396606, -0.19950124621391296, -0.08011533319950104, 0.07787083089351654, 0.04577271640300751, 0.8130761981010437, -0.3905465602874...
Gets courses that a user is teaching.
[ -0.2560493052005768, 0.5199037194252014, 0.2501019239425659, 1.5496106147766113, -0.08032085746526718, -0.14096438884735107, -0.45056942105293274, -1.2045127153396606, -0.19950124621391296, -0.08011533319950104, 0.07787083089351654, 0.04577271640300751, 0.8130761981010437, -0.3905465602874...
NewWorker is a default factory for Worker
[ 0.14676505327224731, -0.09228765964508057, 0.3427214026451111, 0.7566547393798828, 0.005514469463378191, 0.02973354607820511, -0.728021502494812, -0.3409009575843811, -0.029280060902237892, -1.1387860774993896, -0.9622896909713745, -0.8217769861221313, -0.28688231110572815, -0.154482498764...
GetPID returns actual PID of a respective external task. If nothing is running yet then 1 is returned.
[ -0.41837167739868164, 0.0030842043925076723, 0.7040143013000488, 1.0208332538604736, -0.5061811208724976, -0.00001691688157734461, 0.2447904795408249, 0.5358056426048279, -0.0166848786175251, 0.15075019001960754, 0.9236710667610168, 0.03721258044242859, -0.4586781859397888, -0.229234114289...
Start runs the Worker both communication inmemory pipes are set and the Worker is listening via a specific channel to responses of the task.
[ 0.42741858959198, -0.9778660535812378, 0.4263458549976349, -0.2111077457666397, 0.7145869731903076, 0.48513978719711304, 0.7031835317611694, 0.2994384765625, -0.5519263744354248, -0.36255544424057007, -0.6809966564178467, 0.5802677869796753, -0.3847171366214752, 0.16945669054985046, -0.4...
Stop kills the external task
[ -0.3140239417552948, -0.5205875039100647, 0.1530340611934662, 1.407293677330017, -0.08754338324069977, 0.3952353894710541, -0.6236358880996704, 0.9876114130020142, -1.2850896120071411, 1.0595228672027588, -0.9761772155761719, -0.376737505197525, 1.0142055749893188, -1.048222541809082, -0...
Call sends a speicifed command to the worker. Generally, the args is expected to be JSONencodable data. Konserver does not care about it contents and just passes it to the worker.
[ -0.5171995759010315, 0.27470237016677856, 0.6643098592758179, 0.017303114756941795, -0.07020970433950424, 0.2711213529109955, -1.3389763832092285, -0.8750652074813843, -0.4200589656829834, 0.05100120231509209, -0.7779941558837891, 0.4216483533382416, -0.7931482195854187, 0.5426480174064636...
Reload sends SIGHUP to the running task
[ -0.7598597407341003, 0.41106757521629333, 0.29770347476005554, 1.5458528995513916, 0.3452395498752594, -0.23684443533420563, 0.41549354791641235, 0.12592561542987823, -0.4496978223323822, 0.6005485653877258, -0.6071508526802063, 0.2406640350818634, 0.21679727733135223, -0.7639489769935608,...
NewHealth creates a new health bar
[ 0.42896655201911926, -0.6614331007003784, 0.23763301968574524, 1.1791975498199463, -0.2807973623275757, 0.9865992069244385, -0.5476346611976624, -0.7952412366867065, -0.6288033723831177, -1.108185052871704, 0.23741789162158966, -0.5323441028594971, -0.548487663269043, 1.1784484386444092, ...
Draw draws the hotbar
[ -0.1994095742702484, -0.038077156990766525, 0.20411589741706848, 0.3194009065628052, 0.5746598243713379, 1.3105931282043457, -0.36763572692871094, 0.19239673018455505, 0.036952149122953415, -0.9149147272109985, 0.1633930206298828, -0.29688864946365356, 0.4086263179779053, 2.002363204956054...
Advanced Function performing the Advanced AhoCorasick algorithm. Finds and prints occurrences of each pattern.
[ 0.40635040402412415, -0.41601189970970154, 0.2605522572994232, -0.3483235239982605, 0.43375104665756226, -0.49213308095932007, 1.8863193988800049, -0.09928793460130692, -0.02283705212175846, 0.06601935625076294, 0.7413375377655029, 0.11521299183368683, 1.5455507040023804, 0.870074927806854...
BuildExtendedAc Functions that builds extended Aho Corasick automaton.
[ 0.6771223545074463, 0.2386161983013153, 0.13568644225597382, 0.6562674641609192, -0.49070560932159424, -0.3640134334564209, 0.6934982538223267, -0.12700891494750977, 0.9803326725959778, -0.2781349718570709, -0.8481483459472656, 0.49980175495147705, 1.5264759063720703, -1.0808192491531372, ...
NewClient return a Tag Cilent. An error is also returned when some configuration option is invalid clockify, err := clockifyapi.NewClient("token") tagClient := clockify.TagClient
[ 0.417350709438324, -0.19568867981433868, 0.13260215520858765, -0.534292995929718, -0.3214736878871918, -0.4151562750339508, -0.8683797121047974, -0.9047269225120544, -1.104264259338379, 1.0179256200790405, -0.7770523428916931, 0.11790500581264496, -0.9756818413734436, -0.18625058233737946,...
MarshalYAML marshals a BootstrapMode.
[ 0.5185718536376953, 0.0387909896671772, 0.14416779577732086, 0.19357554614543915, -0.12623801827430725, -0.7174892425537109, -0.38800525665283203, 0.3866495192050934, 0.4550280272960663, 0.06630757451057434, -0.021583259105682373, 0.17649461328983307, 1.4039109945297241, 0.2235981822013855...
UnmarshalYAML unmarshals an BootstrapMode into a valid type from string.
[ 0.08526793122291565, -0.31346699595451355, 0.46271324157714844, -0.673141598701477, -0.03075755201280117, -1.5671675205230713, -0.6825645565986633, 0.3715362548828125, 0.31675300002098083, 0.5339442491531372, 0.3394507169723511, -0.36041513085365295, -0.022998962551355362, -0.8855237960815...
String returns the bootstrap mode as a string
[ -1.1150139570236206, -0.9733926057815552, 0.4725148379802704, 0.3590567111968994, -0.10463344305753708, 0.5469138026237488, -1.228060007095337, -0.785209596157074, -0.017195863649249077, 0.7803066372871399, 0.3390425741672516, -0.8063802123069763, -0.20768284797668457, -0.7992763519287109,...
VerifyOrDefault returns verify configuration or default.
[ 0.8959146738052368, 0.04058415815234184, 0.056401755660772324, 1.6960452795028687, 1.5484548807144165, -0.9049820303916931, -0.30333805084228516, -0.5878779292106628, 1.2440874576568604, 0.20041222870349884, -0.9878503680229187, -0.4965994954109192, -0.5112905502319336, 0.6058266758918762,...
VerifyIndexSegmentsOrDefault returns whether to verify index segments or use default value.
[ -0.06163562089204788, -0.10830080509185791, 0.2257164716720581, 1.1121705770492554, 1.7002983093261719, -0.2864379584789276, 0.318435400724411, -0.8659534454345703, 1.003592848777771, -0.15695331990718842, -1.0003442764282227, -0.5054319500923157, -1.3456050157546997, -0.3888206481933594, ...
NewOptions generates migration.Options from the configuration.
[ -0.07931851595640182, -0.10205092281103134, 0.06813732534646988, 0.2612793445587158, 0.9569839239120483, -0.5039072632789612, -0.06371934711933136, -0.2877321243286133, -0.11262961477041245, 0.7594298720359802, -0.6188101768493652, -1.322100043296814, 0.9623475074768066, 0.7791802287101746...
New creates a bootstrap process based on the bootstrap configuration.
[ 0.694700300693512, -1.2412241697311401, 0.20245450735092163, 1.3818302154541016, -0.10239569842815399, -0.725134015083313, -0.24869272112846375, -0.6754567623138428, -0.32541710138320923, -0.020964687690138817, 0.11169291287660599, 0.34280452132225037, 0.2979147136211395, 0.303434342145919...
Channel creates a new channel. We always want the channel in confirm mode (where confirmations are delivered for each publish), so we do that here as well.
[ 0.20747700333595276, -0.6129816174507141, 0.3283178508281708, 0.6916491389274597, 1.0899978876113892, 0.7592218518257141, -0.7279201149940491, -0.3562714159488678, -0.6416539549827576, -0.4485092759132385, 0.46612849831581116, 1.268317699432373, 0.33658692240715027, 0.7938514947891235, -...
QueueDeclareAndBind declares a queue and binds it to an exchange.
[ 0.4339355528354645, -1.4514765739440918, 0.653600811958313, -0.07318785041570663, -0.2016352266073227, 0.4388378858566284, -0.8931787014007568, 0.4849068820476532, 1.7071998119354248, -0.9598191380500793, 0.24769878387451172, 1.4687937498092651, 0.4408794939517975, 1.3930046558380127, 1....
culls the dead servers from vs.servers and returns the mostrecently pinged idle server
[ -0.5894375443458557, -0.9047821164131165, 0.5156375765800476, 0.03528236970305443, 0.33975455164909363, 0.935340404510498, 0.22730551660060883, -0.6296181082725525, 1.5140528678894043, 0.4182996451854706, 0.6522936224937439, 0.8326665163040161, -0.5808814764022827, -1.0424848794937134, -...
replaces the servers if needed (and possible) and advances the view number
[ -1.2649800777435303, 0.5719902515411377, 0.40552201867103577, -0.062255121767520905, -0.24891918897628784, -0.4357260465621948, 1.3614344596862793, -0.005739207845181227, 1.1944670677185059, -1.1114028692245483, -0.5453382730484009, 0.36037856340408325, -0.41682490706443787, 0.980747103691...
server Ping RPC handler.
[ -0.09885480254888535, -0.4706408381462097, 0.0598699152469635, 0.5824764966964722, 0.6429747939109802, 1.1515803337097168, -0.6594389081001282, -0.5533758997917175, 0.08556049317121506, 1.1319756507873535, -0.5466567277908325, -0.36724305152893066, -1.3601540327072144, 0.5808241367340088, ...
server Get() RPC handler.
[ -0.4439578950405121, -0.610768735408783, 0.07513803988695145, -0.1810179501771927, 0.7456468343734741, 0.3291616439819336, -0.7600635290145874, -0.3555833101272583, -0.14682623744010925, -0.3609066605567932, -0.29727303981781006, 1.099009394645691, -1.0465025901794434, 0.09757280349731445,...
tick() is called once per PingInterval; it should notice if servers have died or recovered, and change the view accordingly.
[ -0.07597380131483078, -0.3967277705669403, 0.31187114119529724, -0.33486926555633545, 0.025533203035593033, 1.0558652877807617, 0.4175809621810913, -0.30124202370643616, 0.7008559107780457, -0.5798253417015076, 0.1543513387441635, 0.43555930256843567, 0.5389745235443115, -0.057765591889619...
tell the server to shut itself down. for testing. please don't change these two functions.
[ -0.3178751468658447, -1.280165672302246, 0.37826529145240784, 0.13346245884895325, 0.13070723414421082, 0.4993847906589508, 1.3011444807052612, -0.15655434131622314, 0.0058508277870714664, -0.1996823102235794, -0.6467925310134888, 1.3512881994247437, -1.5378847122192383, 0.3655417561531067...
has this server been asked to shut down?
[ -0.8520506024360657, -0.33414003252983093, 0.2567909359931946, 0.8458501100540161, -0.11326885223388672, -0.4698809087276459, -0.00876779668033123, -0.049274757504463196, -0.34189268946647644, 0.022620195522904396, 0.3096069097518921, -0.011143512092530727, -1.0675925016403198, 0.226870641...
please don't change this function.
[ -0.12309010326862335, -0.46326112747192383, 0.0014898255467414856, 0.572248101234436, -0.00984860584139824, -0.058405615389347076, 0.9378471374511719, 0.17964749038219452, 0.06881292164325714, -0.4710649847984314, -0.7511131167411804, 1.201035499572754, -0.9025678634643555, -0.106493070721...
NewGetAccountsListOK creates GetAccountsListOK with default headers values
[ 1.3660014867782593, 0.2646940052509308, 0.26910510659217834, 0.4729115664958954, 0.11237296462059021, -1.2992885112762451, -0.03556198999285698, -0.28801023960113525, 0.3388984501361847, -0.7573479413986206, -0.40150851011276245, 0.8211387395858765, 0.5134633183479309, -0.5576509833335876,...
WithXTotalCount adds the xTotalCount to the get accounts list o k response
[ 0.6596431732177734, -0.3171856105327606, 0.5344310998916626, -0.5414640307426453, 0.03911619260907173, -0.7118471264839172, -0.09442632645368576, -0.21932505071163177, 1.2124837636947632, 0.5096755027770996, -0.34489893913269043, -1.1595261096954346, 0.9618369936943054, -0.7795085906982422...
SetXTotalCount sets the xTotalCount to the get accounts list o k response
[ 0.42491182684898376, -0.18627946078777313, 0.35651952028274536, -1.1232937574386597, 0.12619052827358246, -0.31257861852645874, 0.10503456741571426, -0.13374726474285126, 0.7842572331428528, 0.3755677044391632, -0.7333036661148071, -0.8385883569717407, 0.8824713826179504, -0.83595079183578...
WithPayload adds the payload to the get accounts list o k response
[ 1.095945954322815, -0.032819636166095734, 0.4098094701766968, -0.04112817347049713, -0.03984180837869644, -0.8209678530693054, -0.34151697158813477, -0.3332903981208801, 1.93356192111969, -0.3881140351295471, 0.1971139907836914, -1.1713649034500122, 1.0125843286514282, -0.37850221991539, ...
SetPayload sets the payload to the get accounts list o k response
[ 0.6620084047317505, 0.1627664566040039, 0.2229025959968567, -0.27977871894836426, 0.10713072121143341, -0.39803558588027954, -0.2576654553413391, -0.38833484053611755, 1.6017202138900757, -0.18460701406002045, -0.07349071651697159, -0.8442705869674683, 0.8392218947410583, -0.10361288487911...
WriteResponse to the client
[ -0.8717347979545593, -0.7780745625495911, 0.015380365774035454, -0.39356377720832825, 1.1630839109420776, -1.0627670288085938, 1.0685327053070068, 0.5656989812850952, 0.39697951078414917, 0.26174265146255493, -0.8017333149909973, -1.1366612911224365, -0.8097872138023376, -0.860233783721923...
NewGetAccountsListBadRequest creates GetAccountsListBadRequest with default headers values
[ -0.24684898555278778, -0.6845130920410156, 0.476519376039505, 0.7375783920288086, 0.20372165739536285, -0.7617965340614319, -0.9259897470474243, 0.3612164258956909, 0.6327269077301025, -0.6102398037910461, -0.016126275062561035, 0.6940678358078003, -0.5748880505561829, 0.7635952830314636, ...
WriteResponse to the client
[ -0.8717347979545593, -0.7780745625495911, 0.015380365774035454, -0.39356377720832825, 1.1630839109420776, -1.0627670288085938, 1.0685327053070068, 0.5656989812850952, 0.39697951078414917, 0.26174265146255493, -0.8017333149909973, -1.1366612911224365, -0.8097872138023376, -0.860233783721923...
NewGetAccountsListNotFound creates GetAccountsListNotFound with default headers values
[ -0.05943075194954872, -1.1434615850448608, 0.3027943968772888, 0.36568278074264526, 0.5278653502464294, 0.3165977895259857, 0.3533293902873993, 0.12162015587091446, 0.9164345264434814, -0.8928446769714355, -0.5282401442527771, 0.23830802738666534, -0.346962571144104, -0.0656604915857315, ...
WriteResponse to the client
[ -0.8717347979545593, -0.7780745625495911, 0.015380365774035454, -0.39356377720832825, 1.1630839109420776, -1.0627670288085938, 1.0685327053070068, 0.5656989812850952, 0.39697951078414917, 0.26174265146255493, -0.8017333149909973, -1.1366612911224365, -0.8097872138023376, -0.860233783721923...
NewClient creates a new client that connect to a Redis server
[ -0.328946590423584, -0.5959060788154602, 0.09742546826601028, -0.2573200464248657, -0.7425752878189087, -0.19420720636844635, -1.1170790195465088, -0.6181203722953796, -0.264822781085968, -0.10459575802087784, -0.4734898805618286, 0.6465248465538025, -0.2916960120201111, -0.501204907894134...
Reload initialize teh configuration
[ -0.3301197588443756, -0.3952271640300751, 0.23713178932666779, 0.360213965177536, 0.2814565598964691, -0.43397367000579834, 0.3733685612678528, 0.08058124035596848, -0.1860019564628601, -0.16174790263175964, -0.9995031952857971, -0.0574280209839344, -0.33362501859664917, -0.283555477857589...
Listen for clients' messages from the requestChan
[ -0.3137166202068329, -0.3074125349521637, 0.362734854221344, -0.4071368873119354, 0.5029991865158081, 0.07687507569789886, -0.45160114765167236, -1.0424829721450806, -0.48457881808280945, -1.1748273372650146, 0.1575932800769806, 0.7413580417633057, -0.5637882351875305, 0.5977179408073425, ...
This goroutine listens for incoming answers from the Redis server
[ -0.06827213615179062, -0.055521104484796524, 0.4071758985519409, -0.6272772550582886, -0.17752009630203247, 0.3392920196056366, -0.3250235319137573, -0.04665278643369675, 0.04332597181200981, 0.2942417860031128, -0.3266424536705017, -0.023838290944695473, 0.2846356928348541, 0.354592889547...
Exit closes the connection and destroy all the client resources
[ 0.17778280377388, -1.143235445022583, 0.24137039482593536, -0.17039182782173157, -0.17744843661785126, 0.522683322429657, -0.3460695445537567, 0.05717303231358528, -0.6957141160964966, 0.454088419675827, 0.46738216280937195, -0.894291341304779, -0.9186922311782837, 0.5015868544578552, 0....
IsValid is used for pool management, it ignores disconnect clients
[ 0.31178799271583557, -1.1238027811050415, 0.5147315859794617, 0.12765756249427795, -0.14376167953014374, 1.4948627948760986, 0.07753492146730423, -0.8431205749511719, 0.584699809551239, 0.417731910943985, 0.2375555783510208, 0.4918127954006195, -0.9632871747016907, -0.46244508028030396, ...
send sends a request to Redis through the requestChan
[ -1.5842596292495728, 0.9105713963508606, 0.1499083787202835, 0.015205456875264645, 0.41328731179237366, -0.05411481857299805, -1.7465234994888306, -0.7566849589347839, 0.013940220698714256, -0.10385587066411972, -0.8054071068763733, 0.860107958316803, -0.6698808670043945, 0.402829021215438...
MigrateToMultiAZ migrates an AWS cluster from the old AZhardcoded spec to multiAZ spec
[ -0.01456307340413332, 0.039178598672151566, 0.36257797479629517, 1.1573728322982788, 0.5325999855995178, -0.24400918185710907, -0.07598228007555008, -0.13715621829032898, 1.155444622039795, 0.9454641342163086, -0.3841917812824249, 0.07883691787719727, 0.5821443200111389, 0.2788206338882446...
AddICMPRulesIfRequired will create security rules that allow ICMP traffic if these do not yet exist. It is a part of a migration for older clusers (migrationRevision < 1) that didn't have these rules.
[ -0.5836394429206848, 0.1106979250907898, 0.6224573850631714, 0.1962464153766632, 0.7226476073265076, 1.3549288511276245, 0.028661567717790604, -0.33223262429237366, 0.5206680297851562, 0.6454809308052063, -0.3311704993247986, -0.08638924360275269, -1.291618824005127, 0.11153107136487961, ...
NewCloudProvider returns a new AmazonEC2 provider.
[ 0.31176015734672546, 0.5528049468994141, 0.17660175263881683, 0.7995618581771851, -1.3356215953826904, 0.16144351661205292, -0.7456948757171631, -1.3740657567977905, -0.49393361806869507, 0.03247474879026413, -0.5415477752685547, -0.12197685241699219, 0.20627519488334656, 0.226489216089248...
Create security group ("sg") with name `name` in `vpc`. The name in a sg must be unique within the vpc (no preexisting sg with that name is allowed).
[ 0.06650025397539139, 0.7439519166946411, 0.4773702621459961, 0.06444130837917328, -0.16721868515014648, 0.4222841262817383, -0.6422936320304871, -1.5071437358856201, -0.3694485127925873, 0.8914642333984375, -1.5394803285598755, 0.31070950627326965, -0.7321104407310486, -0.02116434834897518...
GetCredentialsForCluster returns the credentials for the passed in cloud spec or an error
[ -0.1738271415233612, -0.15877407789230347, 0.2792561650276184, 0.5352798104286194, 0.7413965463638306, -0.25381821393966675, -0.11614946275949478, 0.32210874557495117, -1.0538291931152344, 0.23023958504199982, 0.638543426990509, -0.4953320026397705, 0.11279722303152084, -0.0504571013152599...
ValidateCloudSpecUpdate verifies whether an update of cloud spec is valid and permitted
[ 0.14343801140785217, -0.6513539552688599, 0.4765110909938812, 0.4877515733242035, -0.4232366681098938, 0.8967666625976562, -0.03972698003053665, 0.10912682116031647, -0.9524007439613342, 0.5249013304710388, 0.5169887542724609, 0.14114250242710114, -0.4573330879211426, -0.2152804732322693, ...
GetSubnets returns the list of subnets for a selected AWS vpc.
[ 0.24077583849430084, 0.654599666595459, 0.24535173177719116, 1.4401036500930786, 1.4654687643051147, -0.2744680643081665, -0.7416155338287354, -0.4297488033771515, 1.1475701332092285, -0.39776700735092163, -1.2369279861450195, 1.241461992263794, 0.15408039093017578, -0.4811917543411255, ...
GetVPCS returns the list of AWS VPC's.
[ 0.1570904552936554, 0.09874936938285828, 0.27933478355407715, -0.043583840131759644, 0.9062790870666504, -0.4092634916305542, -1.7689201831817627, -1.1423375606536865, 1.0184354782104492, 0.4629459083080292, -0.3142874836921692, 0.4019404649734497, 0.1923779845237732, -0.9807124733924866, ...
/ Yann Checks to make sure c style brackets are disallowed ( :( ) Tests the parser
[ 0.8679711818695068, -0.450438916683197, 0.5683808922767639, 0.8700739145278931, -0.3656378388404846, 0.36278295516967773, 1.1089720726013184, 0.2982945144176483, 0.09713718295097351, -1.1708041429519653, -0.45853450894355774, 0.48166176676750183, -0.6350804567337036, 0.4925328195095062, ...
Valid validates a Direct command
[ -0.029202915728092194, -0.9665875434875488, 0.4996289610862732, 0.4330301284790039, -0.17385542392730713, 2.1403820514678955, 0.6405698657035828, -0.08182796090841293, -0.6510411500930786, -1.0832288265228271, 0.6317640542984009, 1.1615790128707886, -0.05440663918852806, 0.0995458662509918...
DeParameterize replaces parameters in the url, headers, and body
[ -0.46355509757995605, 0.8573414087295532, 0.5327355265617371, -1.142899751663208, 0.23662018775939941, -0.6140803694725037, -0.780042290687561, 0.6578226089477539, -0.4288409948348999, 0.5797476768493652, -0.3610484004020691, 0.47638213634490967, -0.867851197719574, 0.883123517036438, -0...
AddCredentials adds the user's OAuth2 credentials
[ -0.6070542335510254, -1.0949701070785522, 0.08518112450838089, 0.8215532898902893, -0.06858035922050476, 0.028812041506171227, -1.0491353273391724, -0.33670127391815186, 0.47325533628463745, -1.1183661222457886, -0.24012963473796844, 0.36276546120643616, -0.15133339166641235, -0.2184931039...
Run executes a command directly
[ -0.776387095451355, -0.760597825050354, 0.25457876920700073, 0.006556372158229351, -0.14158843457698822, 1.5811090469360352, 0.3195033371448517, -0.4126637876033783, -0.9970423579216003, -0.46562322974205017, -0.6263770461082458, 0.8449386358261108, 0.14820906519889832, -0.0711071118712425...
Setup a persistent queue
[ 0.6672228574752808, -0.724881649017334, 0.29665547609329224, 1.090943455696106, 0.7287204265594482, -0.32782185077667236, -0.4175892472267151, 0.02700422704219818, 0.7328115105628967, -0.18118610978126526, -0.08108485490083694, -0.7212387323379517, -0.7117422819137573, -0.17885872721672058...
Shortcut to publishing arbitrary interfaces as JSON
[ -0.5506979823112488, -0.0821826234459877, 0.3449150323867798, 0.5809090733528137, -0.7351519465446472, -0.11813385039567947, -0.02648630365729332, -0.7636834383010864, -0.23472322523593903, -0.47866255044937134, -0.14521785080432892, 0.8405058979988098, 0.5566670298576355, 0.04931336641311...
Publish a byte string using a given routing key (in our case, always the queue name)
[ 0.4028455913066864, -0.5896679162979126, 0.5149989724159241, -0.1577949821949005, -1.02505362033844, -0.1397876888513565, -0.9987214803695679, -0.11187601089477539, 0.42365676164627075, 0.6105320453643799, 0.060438357293605804, 0.09855745732784271, -0.5764927864074707, 0.35274314880371094,...