text
stringlengths
7
2.39k
embedding
listlengths
768
768
Parse will attempt to parse a configuration file
[ 0.0064733861945569515, 0.23357491195201874, 0.242417573928833, 0.4868386685848236, 0.37192651629447937, 0.020812055096030235, -0.22283969819545746, 0.16077491641044617, -1.6368751525878906, -0.40697893500328064, 0.1547999233007431, -1.9310659170150757, -0.7789279818534851, 0.25844588875770...
Next will roll the parser forward by one token
[ 0.1621241569519043, 0.2237572968006134, 0.3554878234863281, -0.5537018179893494, -0.5377981066703796, 0.3066437542438507, -0.785660445690155, 0.8954761624336243, -0.03514467552304268, -1.846251368522644, -0.31034615635871887, 0.09986765682697296, -0.2275489866733551, 0.17330294847488403, ...
Peek will look at the next token without rolling the parser forward
[ 0.20256032049655914, 0.4699004292488098, 0.6120432615280151, -1.0645685195922852, -0.7342372536659241, 0.3732966184616089, -0.4650217294692993, -0.15288574993610382, -0.8051491379737854, -1.0391229391098022, -0.30505168437957764, 0.46998414397239685, 0.56874018907547, -0.000696663686539977...
Token will look at the current token
[ -0.2645634710788727, -1.4067448377609253, 0.22588254511356354, -0.5731333494186401, -0.16135047376155853, -0.3954266607761383, 0.6442615985870361, 0.0354069322347641, -0.10516007244586945, -1.3041090965270996, 0.06481412053108215, 1.6458735466003418, 0.13713568449020386, -0.857411682605743...
XXX_OneofFuncs is for the internal use of the proto package.
[ -0.17013224959373474, 1.076125144958496, 0.2091524749994278, -0.6182060241699219, 0.6224390864372253, -0.8975561261177063, 0.786903440952301, -0.6365672945976257, 0.7954606413841248, -1.0330036878585815, 0.006769562605768442, -0.33912980556488037, -0.4915689527988434, 0.021061627194285393,...
NewAzureAccountsClient creates an instance of the AzureAccountsClient client.
[ -0.03519933298230171, -0.5866615772247314, -0.1716054081916809, -0.11325592547655106, -0.7879704236984253, -0.7130672931671143, 0.8029990792274475, -0.2548457682132721, 0.009937822818756104, -0.2820834517478943, 0.9291720390319824, 0.1549001932144165, 0.026802711188793182, -0.7371444702148...
AssignToApp assigns an azure account to the application. Parameters: appID the application ID. azureAccountInfoObject the azure account information object.
[ 0.3690969944000244, -1.7133331298828125, 0.6515571475028992, 1.0957688093185425, 0.16312606632709503, 1.2511513233184814, 0.09956042468547821, -0.1253899335861206, 0.15045081079006195, 0.7487712502479553, 0.6675533056259155, 0.253120481967926, 0.11327352374792099, 0.2691749334335327, 0.0...
AssignToAppPreparer prepares the AssignToApp request.
[ -1.5603643655776978, -0.3174264132976532, 0.46649008989334106, 0.41663113236427307, 0.13577859103679657, 0.10398254543542862, -0.17125682532787323, -0.23447249829769135, 0.4830578565597534, 1.1094163656234741, 0.5815317630767822, -0.6775444746017456, 1.2773663997650146, 1.2665294408798218,...
AssignToAppSender sends the AssignToApp request. The method will close the http.Response Body if it receives an error.
[ -1.003333330154419, -0.7831092476844788, 0.6564419269561768, 1.266207218170166, 0.015279330313205719, -0.17750680446624756, 0.29973292350769043, -0.44971728324890137, -0.5616152286529541, 0.942042350769043, -0.30341267585754395, 0.057622916996479034, -0.1348600685596466, 1.6130704879760742...
AssignToAppResponder handles the response to the AssignToApp request. The method always closes the http.Response Body.
[ -1.0545978546142578, -2.0563812255859375, 0.5339536070823669, 0.38931700587272644, 0.05394362658262253, 0.33995291590690613, 0.8999150395393372, -0.46444839239120483, 0.6565050482749939, 1.0511771440505981, 0.3488754332065582, -1.14374840259552, -0.19892370700836182, 0.5678855180740356, ...
GetAssigned gets the LUIS azure accounts assigned to the application for the user using his ARM token. Parameters: appID the application ID.
[ 0.8532519936561584, -1.316357135772705, 0.20532050728797913, 0.8132034540176392, 0.39238840341567993, -0.08034510165452957, -0.5132630467414856, -0.48879900574684143, 0.11895503848791122, 0.00965261459350586, 0.35835814476013184, 0.9385859370231628, 0.7706196904182434, 0.37202996015548706,...
GetAssignedPreparer prepares the GetAssigned request.
[ -1.2031011581420898, -1.211531400680542, 0.40652796626091003, 0.17771530151367188, 0.05897979810833931, -1.055765986442566, -0.018234675750136375, -0.8261069655418396, 0.3951414227485657, -0.40638232231140137, -0.2041337639093399, 0.5943065285682678, 1.3018560409545898, 1.2570176124572754,...
GetAssignedSender sends the GetAssigned request. The method will close the http.Response Body if it receives an error.
[ -0.8142052888870239, -0.7892396450042725, 0.4319767653942108, 0.6513803601264954, 0.1805655062198639, -1.172208547592163, -0.03561367094516754, -1.1178737878799438, -0.6202307343482971, -0.43667155504226685, -0.23448538780212402, 0.9902394413948059, -0.2205955684185028, 1.909220814704895, ...
GetAssignedResponder handles the response to the GetAssigned request. The method always closes the http.Response Body.
[ -0.8869900703430176, -2.102334976196289, 0.6039792895317078, -0.009912768378853798, 0.1528887152671814, -0.6650689244270325, 0.5740603804588318, -0.8877398371696472, 0.5975934863090515, -0.4780956506729126, -0.10050035268068314, -0.05052737891674042, -0.08918433636426926, 0.646056056022644...
GetUserLUISAccounts gets the LUIS azure accounts for the user using his ARM token.
[ 1.1515541076660156, -0.08517675846815109, 0.34108853340148926, 0.9344595074653625, -0.011043796315789223, -0.40238961577415466, -0.7732493281364441, -0.5892229676246643, 0.5997263193130493, -0.47292718291282654, 0.3731406033039093, 0.8242051005363464, 0.7005568742752075, -0.597983658313751...
GetUserLUISAccountsPreparer prepares the GetUserLUISAccounts request.
[ 0.2397318184375763, 0.2349681407213211, 0.36957383155822754, 0.21764034032821655, -0.597148060798645, -0.9252617359161377, -0.24354586005210876, 0.13063037395477295, 1.4894630908966064, 0.0706365704536438, 0.37615668773651123, -0.09960534423589706, 0.5027168989181519, 0.0932222530245781, ...
GetUserLUISAccountsSender sends the GetUserLUISAccounts request. The method will close the http.Response Body if it receives an error.
[ 0.09971971064805984, 0.3070885241031647, 0.4984874725341797, 1.2142690420150757, -0.5417807698249817, -0.5155987739562988, -0.34725868701934814, -0.8959461450576782, 0.4037148058414459, -0.23365172743797302, 0.23638810217380524, 0.7314220666885376, -0.02681409940123558, 0.5536771416664124,...
GetUserLUISAccountsResponder handles the response to the GetUserLUISAccounts request. The method always closes the http.Response Body.
[ 0.24837802350521088, -0.963546872138977, 0.44105973839759827, 0.5478066802024841, -0.5320229530334473, -0.5442811846733093, 0.4023023247718811, -0.4561021625995636, 1.515348196029663, -0.5145787596702576, 0.37840649485588074, -0.43051207065582275, -0.00028499786276370287, -0.16161359846591...
RemoveFromApp removes assigned azure account from the application. Parameters: appID the application ID. azureAccountInfoObject the azure account information object.
[ 1.0958608388900757, -1.713873267173767, 0.44266262650489807, 0.9138264060020447, -0.7469158172607422, 0.8521096706390381, -0.16361334919929504, -0.5829370021820068, 0.3680470883846283, 0.7789819240570068, 0.6416899561882019, 0.236328125, -0.21721817553043365, 0.2642839848995209, 0.092184...
RemoveFromAppPreparer prepares the RemoveFromApp request.
[ -0.3755534589290619, -0.8773989677429199, 0.3124619424343109, 0.28066134452819824, -1.199286937713623, -0.2598825991153717, -0.7041648030281067, 0.051987480372190475, 0.31717225909233093, 0.6391664743423462, 0.3071741461753845, -0.613666296005249, 0.6964731216430664, 0.8518257141113281, ...
RemoveFromAppSender sends the RemoveFromApp request. The method will close the http.Response Body if it receives an error.
[ 0.002609261078760028, -0.7566585540771484, 0.5273597836494446, 1.247493863105774, -1.2148995399475098, -0.4134146571159363, 0.18494707345962524, -0.33069315552711487, -0.25398242473602295, 0.918058454990387, -0.46355319023132324, -0.8915042281150818, -0.6562234163284302, 0.9492545127868652...
RemoveFromAppResponder handles the response to the RemoveFromApp request. The method always closes the http.Response Body.
[ -0.1889871209859848, -2.351243257522583, 0.5447956323623657, 0.6453855037689209, -0.9951847195625305, -0.0833486020565033, 0.46409350633621216, -0.5993837714195251, 0.664050281047821, 0.34585851430892944, 0.17529550194740295, -1.4417461156845093, -0.7258182764053345, 0.18977245688438416, ...
RenderToBlazon renders a device as its blazon and returns it.
[ 0.44591405987739563, 0.5373693108558655, 0.30971768498420715, 0.6589030623435974, 0.015520242974162102, -0.3477060794830322, 0.29127204418182373, 0.08591627329587936, 0.7621504664421082, -0.8238711953163147, -0.1168316975235939, 0.564426064491272, -0.5035719871520996, -0.5840093493461609, ...
RenderToSVG renders a device as SVG and outputs as a string
[ -0.1998959481716156, 1.0388555526733398, 0.2902683615684509, 0.28551942110061646, -1.2613599300384521, -0.325843870639801, -0.7781236171722412, -0.31747978925704956, 0.042292822152376175, 0.36715489625930786, 0.8187770843505859, -0.24031907320022583, 0.3474308252334595, -0.2314698547124862...
RenderToSVGFile renders a device as SVG and writes to fileName
[ 0.17884090542793274, 0.8306336402893066, 0.4056202471256256, 0.6131957769393921, 0.16969814896583557, 0.5830609798431396, 0.38045045733451843, 0.8424500226974487, -0.8395426869392395, 0.3895079493522644, 0.24965547025203705, -0.2361920028924942, 0.7694942355155945, -0.0785762146115303, -...
GetSurgeDir returns the surge dir
[ -0.09647310525178909, 0.10260598361492157, 0.291315495967865, 0.33136677742004395, 0.35219186544418335, -0.264678418636322, 1.0946195125579834, -0.012037724256515503, 0.953163743019104, -1.7708595991134644, -0.10425641387701035, 0.7416691780090332, -0.08783254772424698, -0.4519413113594055...
GetRemoteFolder returns the download dir
[ -0.20492282509803772, -0.8991610407829285, 0.6413575410842896, -0.20643897354602814, -0.5125492215156555, 0.8231031894683838, 0.29066041111946106, -0.06225995346903801, -0.013847251422703266, -1.3154759407043457, -0.5463951826095581, 0.7505363821983337, -0.3770395517349243, 0.4911555349826...
Retrieves information about the specified version of the specified managed policy, including the policy document. Policies returned by this operation are URLencoded compliant with RFC 3986 ( . You can use a URL decoding method to convert the policy back to plain JSON text. For example, if you use Java, you can use the ...
[ -0.19862094521522522, -0.6978738307952881, 0.4949195683002472, -0.7850807309150696, -0.15634438395500183, 0.8342522978782654, -0.8285886645317078, -0.7196440696716309, 0.7870677709579468, -0.3563898503780365, -0.3608010411262512, 1.0110573768615723, -1.2617735862731934, -0.3790224194526672...
NewConfig returns a new Config pointer that can be chained with builder methods to set multiple configuration values inline without using pointers. c := simplebackupec2.NewConfig().WithRegion("apnortheast1").WithCredentials(creds)
[ 0.5166047215461731, -0.5721292495727539, 0.34573960304260254, 0.5346670746803284, -0.3909818232059479, -0.03247629106044769, -0.3987935483455658, -0.30330219864845276, 0.2725140452384949, -0.26629963517189026, -0.4898861050605774, -0.33459874987602234, 0.14428122341632843, 0.32606074213981...
NewService creates a new instance of the EC2 client with a session.
[ 0.07171179354190826, -1.0692322254180908, 0.20359010994434357, -0.12538880109786987, -0.7576150298118591, 0.11946647614240646, -0.4269305467605591, -2.0662219524383545, 0.08099153637886047, -0.24310490489006042, -0.9515767693519592, 0.7211959958076477, 0.2317882776260376, -0.29670700430870...
FetchLatestAmiInfo is request to aws api, and fetch latest ami information.
[ -0.3502022922039032, -1.3582085371017456, 0.15098391473293304, 0.24241109192371368, -0.3179563879966736, 0.23540045320987701, -0.8755529522895813, -1.3534810543060303, 0.028698431327939034, 0.3538872003555298, -0.1732741892337799, 0.011984244920313358, 0.8730934858322144, -0.54224443435668...
SelectRegion returns the region to use.
[ -0.20932546257972717, 0.0556202232837677, 0.3846248984336853, 0.0378471314907074, 0.07992115616798401, -0.4543466567993164, 1.1322203874588013, -0.6183169484138489, 1.1751973628997803, -0.7794516086578369, 0.862773060798645, 1.2393559217453003, -0.38107162714004517, -0.9801149964332581, ...
New creates a new gRPC server with all RPC services registered. Callers are responsible for setting up the listener and any other server options.
[ -0.517353892326355, -0.41972437500953674, 0.4230586588382721, 0.4590660035610199, 0.6936785578727722, 0.38974499702453613, 0.8035848736763, -1.0678308010101318, -0.14091067016124725, 0.04911590367555618, -0.2396838366985321, 0.7350916266441345, -0.9287789463996887, 0.8934230208396912, 0....
WithAddr returns Option that sets addr
[ 0.8209201097488403, -0.812225341796875, 0.3369331359863281, -0.6071425080299377, -0.403301864862442, 0.08473822474479675, 0.5253380537033081, -0.946343719959259, 1.9852863550186157, -0.2775513827800751, 0.6047970652580261, -0.06825196743011475, 1.046627402305603, 0.3754309415817261, -0.9...
add flag to command
[ -0.07118327915668488, -0.4225786030292511, 0.15655767917633057, 0.9307825565338135, 1.276679277420044, 1.5762064456939697, -0.7255749702453613, 0.44018834829330444, 0.05078089237213135, -0.6958339214324951, 0.14922240376472473, 1.087390422821045, -0.32557451725006104, 1.582222580909729, ...
sanitycheck passed env variables
[ -0.3338489234447479, -0.13910627365112305, 0.363522469997406, 1.4234309196472168, 0.8104089498519897, 1.9589351415634155, 0.23276859521865845, -0.05787208676338196, 0.13585393130779266, -0.6479050517082214, 0.25140225887298584, 0.36850130558013916, -0.2928606867790222, 1.2672544717788696, ...
Init preforms any db snapshot initalization functions that need to be run with general tok init functions
[ -0.6440132856369019, 1.2095568180084229, 0.35609936714172363, 1.0327339172363281, -0.2990535497665405, -0.5867406725883484, -0.02906784974038601, 0.4259564280509949, 0.3760905861854553, -0.6728493571281433, -0.8081480860710144, -0.4614523649215698, 0.7456516623497009, 0.8168491125106812, ...
UpdateName update current user name
[ -1.3897298574447632, -1.3898824453353882, 0.30600082874298096, 0.8329604864120483, -1.6990423202514648, 0.17796002328395844, 0.2636427879333496, -0.17227640748023987, -0.010715663433074951, 1.0433114767074585, -0.41356217861175537, -0.16198626160621643, 0.035677921026945114, -0.33979648351...
/ Description: Calculates the percentage share of a specific cycle for all delegated contracts on a range of cycles. Param delegatedContracts ([]DelegatedClient): A list of all the delegated contracts Param cycleStart (int): The first cycle we are calculating Param cycleEnd (int): The last cycle we are calculating Retu...
[ -0.16909225285053253, 0.2991858720779419, 0.5028306841850281, -0.2866206765174866, -0.22355327010154724, 0.5024111270904541, 0.9970890879631042, -0.14603792130947113, 0.191325381398201, 0.10989125818014145, 0.21636256575584412, 0.811663806438446, -1.167421579360962, 0.36804893612861633, ...
/ Description: Calculates the percentage share of a specific cycle for all delegated contracts Param delegatedContracts ([]DelegatedContract): A list of all the delegated contracts Param cycle (int): The cycle we are calculating Param rate (float64): Fee rate of the delegate Param spillage (bool): If the delegate wants...
[ 0.2656280994415283, 0.40312784910202026, 0.6190100312232971, -0.6215243935585022, -0.01619112864136696, 0.3872196674346924, 0.7478439211845398, 0.2411946952342987, 0.6240927577018738, -0.21317435801029205, 0.16895760595798492, 0.32141804695129395, -0.7176491618156433, 0.7549289464950562, ...
/ Description: Calculates the share percentage of a cycle over a list of delegated contracts
[ 0.05330972746014595, 0.5602720379829407, 0.3996639549732208, 0.2531696856021881, -0.1702759861946106, 0.6764809489250183, 1.1730115413665771, 0.1612752377986908, 0.5087695717811584, 0.6228384375572205, 0.13064374029636383, 0.23367662727832794, -0.6294704675674438, 0.38338539004325867, 0....
/ Description: Retrieves the list of addresses delegated to a delegate Param SnapShot: A SnapShot object describing the desired snap shot. Param delegateAddr: A string that represents a delegators tz address. Returns []string: An array of contracts delegated to the delegator during the snap shot
[ -0.234317809343338, 0.5471618175506592, 0.6338777542114258, -0.8857871294021606, -0.28360292315483093, -0.3377481698989868, -0.24922065436840057, 0.685413658618927, 1.437718152999878, -0.23425495624542236, -0.5321561694145203, 0.5726525187492371, 0.18841572105884552, 0.8075998425483704, ...
/ Description: Gets a list of all of the delegated contacts to a delegator Param delegateAddr (string): string representation of the address of a delegator Returns ([]string): An array of addresses (delegated contracts) that are delegated to the delegator
[ -0.2350671887397766, -0.10737832635641098, 0.8495723009109497, -1.1352282762527466, -0.27426910400390625, -0.0960465520620346, -0.32057636976242065, 0.8900707960128784, 1.5252217054367065, -0.2465924471616745, 0.06846530735492706, 1.436335563659668, 0.24856355786323547, 1.0832916498184204,...
/ Description: Takes a commitment, and calculates the GrossPayout, NetPayout, and Fee. Param commitment (Commitment): The commitment we are doing the operation on. Param rate (float64): The delegation percentage fee written as decimal. Param totalNodeRewards: Total rewards for the cyle the commitment represents. //TODO...
[ 1.0281617641448975, 0.11466271430253983, 0.6511680483818054, -0.6503915786743164, 0.33753061294555664, -0.3845400810241699, 0.7940784096717834, 0.1693378984928131, 0.2519553005695343, 0.33939817547798157, 0.730268120765686, -0.7669737935066223, -0.4991964101791382, -0.26574012637138367, ...
/ Description: Calculates all the fees for each contract and adds them to the delegates net payout
[ 1.083694338798523, 0.6885635256767273, 0.6344606280326843, -0.5518280863761902, 0.7354564070701599, 0.26786670088768005, -0.20372243225574493, 0.46724754571914673, 0.8460238575935364, -0.5250667929649353, -0.12646161019802094, -0.396628201007843, 0.31493496894836426, 1.7906383275985718, ...
/ Description: A function to Payout rewards for all contracts in delegatedContracts Param delegatedContracts ([]DelegatedClient): List of all contracts to be paid out Param alias (string): The alias name to your known delegation wallet on your node WARNING If not using the ledger there is nothing stopping this from act...
[ 0.9434201121330261, 0.44539523124694824, 0.6680746674537659, -0.6282703280448914, 0.48257291316986084, 0.6867387890815735, -0.06273751705884933, 1.041259527206421, 0.24117939174175262, 0.47169169783592224, 0.29248517751693726, 0.492692768573761, -0.03638375550508499, 0.8346443176269531, ...
/ Description: Calculates the total payout in all commitments for a delegated contract Param delegatedContracts (DelegatedClient): the delegated contract to calulate over Returns (DelegatedClient): return the contract with the Total Payout
[ 0.474826842546463, 0.3591163456439972, 0.5398504137992859, -1.5735526084899902, -0.3189004957675934, 0.48453596234321594, 0.4789941906929016, 0.31905391812324524, 0.8854758143424988, 0.19251573085784912, 0.3454853296279907, 0.08341606706380844, -0.21588054299354553, 0.16527923941612244, ...
/ Description: payout in all commitments for a delegated contract for all contracts Param delegatedContracts (DelegatedClient): the delegated contracts to calulate over Returns (DelegatedClient): return the contract with the Total Payout for all contracts
[ 0.6186646819114685, 0.3255304992198944, 0.5152806639671326, -1.4248313903808594, -0.4718320071697235, 0.6408812999725342, 0.05978163704276085, 0.3900590240955353, 0.6375074982643127, 0.1335456520318985, 0.3965987265110016, 0.2799313962459564, -0.28738492727279663, 0.5082929134368896, -0....
/ Description: A test function that loops through the commitments of each delegated contract for a specific cycle, then it computes the share value of each one. The output should be = 1. With my tests it was, so you can really just ignore this. Param cycle (int): The cycle number to be queryed Param delegatedContracts ...
[ 0.13785699009895325, 0.8248096704483032, 0.5183108448982239, -0.733578622341156, 0.45018231868743896, 0.5001538991928101, 1.442881464958191, -0.13624849915504456, -0.13019058108329773, -0.46036162972450256, 0.18468540906906128, 0.49525490403175354, -1.074196457862854, 0.7758209705352783, ...
/ Description: A function to account for incomplete rolls, and the payouts associated with that TODO: In Progress
[ 1.1803466081619263, -0.7915434837341309, 0.5874280333518982, -0.33568906784057617, -0.07959127426147461, -0.532584011554718, 1.1284059286117554, 1.186076283454895, 1.0715909004211426, -0.23852290213108063, 0.10181400179862976, 0.023623159155249596, 0.6455143094062805, 1.416305422782898, ...
/ Description: Reverse the order of an array of DelegatedClient. Used when fisrt retreiving contracts because the Tezos RPC API returns the newest contract first. Param delegatedContracts ([]DelegatedClient) Delegated
[ -0.23600991070270538, -0.6472666263580322, 0.48198559880256653, -1.0463013648986816, 0.4248726963996887, 0.44720128178596497, -0.09969710558652878, 0.14700321853160858, 0.22436219453811646, -0.40866759419441223, 0.4630686044692993, 0.5404824614524841, -0.59400874376297, 0.7240601181983948,...
BindStatusString retrieves an enum value from the enum constants string name. Throws an error if the param is not part of the enum.
[ -0.3824862241744995, -1.1107085943222046, 0.5805296301841736, 0.4751538038253784, -0.6777774691581726, 0.36422327160835266, -0.4102650284767151, -1.1656798124313354, 0.6747023463249207, 0.8708617091178894, 0.22232036292552948, 0.34603461623191833, -0.45869168639183044, 0.09802297502756119,...
BindStatusValues returns all values of the enum
[ -0.34722718596458435, -0.7431702017784119, 0.4274066686630249, 1.1356775760650635, 0.46986842155456543, 1.1061569452285767, -1.4048800468444824, 0.06382540613412857, 1.2805253267288208, -0.1811181753873825, -1.093642234802246, 0.4471830725669861, 0.015597577206790447, 1.2544548511505127, ...
IsABindStatus returns "true" if the value is listed in the enum definition. "false" otherwise
[ -0.6040138006210327, -1.5294650793075562, 0.4351470172405243, 1.0776970386505127, 0.17796140909194946, 0.8164644241333008, -0.5899677872657776, 0.39463186264038086, 1.8948748111724854, 0.6533131003379822, -0.26369962096214294, 1.6477324962615967, -0.12837088108062744, 1.0873839855194092, ...
Returns Env backend which extends key provided for lookup with a `prefix` This is a shortcut for confita/backend/env + confitasugar/prefix
[ 0.46876955032348633, 0.13537880778312683, 0.4117792248725891, 0.37567996978759766, 0.01751352660357952, -0.4364124834537506, -0.6668364405632019, 0.17412902414798737, 0.17761613428592682, 0.41075822710990906, 0.6461701989173889, 0.8278690576553345, 1.1351449489593506, -0.3388303220272064, ...
to display incase of any issues during runtime
[ 0.5479854941368103, -0.9917662739753723, 0.4617934226989746, -0.23728375136852264, -0.39414355158805847, -0.13204960525035858, 0.33173131942749023, 0.04324157163500786, 0.14874869585037231, -0.1587946116924286, 1.1091676950454712, 0.5152831077575684, -1.1100778579711914, 1.3558695316314697...
GetMetrics gets the metrics preparing for flushing and reset the state.
[ -0.4853106439113617, 1.0793781280517578, 0.29130226373672485, 0.23966878652572632, 0.10551637411117554, -0.2034001499414444, 0.85295569896698, -0.5538259148597717, 0.15792009234428406, -0.20503740012645721, 0.020629072561860085, 1.0703940391540527, 0.3057596683502197, -0.5714225769042969, ...
Aggregate for each metric line.
[ 1.215558409690857, -0.0062734088860452175, 0.24845871329307556, 0.5849157571792603, 1.0142369270324707, 0.3140682578086853, 0.024830222129821777, -0.9805619120597839, -2.405247688293457, -0.28818458318710327, 1.2835187911987305, -0.20953254401683807, 0.8123314380645752, 0.920998215675354, ...
ToPublicKeyWithGenerators creates PublicKeyWithGenerators from the PublicKey.
[ 0.3045000731945038, 0.982862114906311, 0.0729539543390274, 0.12454209476709366, -0.961883008480072, -0.8725631833076477, 0.341029554605484, 0.10979007929563522, -0.45060378313064575, 0.1364666372537613, -0.05681990459561348, -0.5846753716468811, -0.07794498652219772, 0.6232563853263855, ...
PublicKey returns a Public Key as G2 point generated from the Private Key.
[ 0.718393087387085, -0.45791566371917725, 0.26480650901794434, 0.3557261824607849, -0.4232434332370758, -0.33500370383262634, -0.4754181504249573, -0.9487444162368774, -0.5582131147384644, 0.24564102292060852, -0.2138805389404297, 0.8551075458526611, 0.5723292827606201, -0.5961639881134033,...
UnmarshalPublicKey parses a PublicKey from bytes.
[ 1.2796781063079834, 0.6786304712295532, 0.1754680722951889, -0.7616334557533264, -0.6012447476387024, -0.056138407438993454, -0.1651332825422287, 0.7902219295501709, -0.489584356546402, 0.2975994050502777, -0.36754247546195984, -0.48054540157318115, -0.301686555147171, -0.41852113604545593...
GenerateKeyPair generates BBS+ PublicKey and PrivateKey pair.
[ -0.33502259850502014, 0.4516891539096832, 0.3268549144268036, 0.12004329264163971, -0.04984011873602867, -0.20008961856365204, -1.0844227075576782, -0.3611069619655609, 0.049803536385297775, 0.07617343217134476, -0.1888624131679535, 0.3253432810306549, -0.41628602147102356, 0.5171616673469...
Create creates a new registry.
[ -0.07560274749994278, 0.689755380153656, 0.08851294219493866, 1.081729769706726, 1.3608202934265137, -0.09174264967441559, 0.14870592951774597, 0.315142959356308, -0.4745039641857147, -0.37243732810020447, -0.7440104484558105, -0.20508795976638794, -0.7586593627929688, 0.4416155517101288, ...
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,...
RestoreAsset restores an asset under the given directory
[ 0.6920099854469299, -0.8882802724838257, 0.3506788909435272, -1.0683268308639526, -0.3750113546848297, -0.22394098341464996, -0.07674882560968399, 0.18463709950447083, -0.3843385577201843, -0.6790554523468018, 1.0316656827926636, 1.0920320749282837, -0.41262325644493103, -1.339498043060302...
RestoreAssets restores an asset under the given directory recursively
[ 0.44365447759628296, -0.18017922341823578, 0.4858372211456299, -0.5981609225273132, -0.5110695362091064, -0.41784197092056274, 0.37742650508880615, -0.14603930711746216, 0.3727070093154907, -0.8539300560951233, 0.8166247606277466, 0.83014315366745, -0.4821341037750244, -0.5242207646369934,...
SyncCompanies : Sync the company data to DB Delete all DB data Insert JSON data to DB
[ -0.5984988808631897, 0.6115080118179321, 0.6471131443977356, -0.11624743044376373, 0.4149690270423889, 0.30103737115859985, -0.30834388732910156, -0.32258644700050354, -0.16919691860675812, 0.9623104929924011, -0.7278628349304199, 0.6185932755470276, -0.15427246689796448, 0.315185993909835...
convert number < 10k to chinese maybeZero: has higher number, can be zero lastZero: last one contains zero, ignore here
[ 1.1136984825134277, -0.4982108473777771, 0.657514750957489, 0.8852124810218811, 0.8896067142486572, -0.8149272799491882, 0.46340009570121765, 0.15706145763397217, 0.1770925223827362, -0.4546397030353546, 0.02092488296329975, -0.1539386808872223, -0.405983567237854, 0.8800125122070312, -0...
NewMockUserRepositoryInterface creates a new mock instance
[ -0.9234990477561951, -0.3213947117328644, 0.19935102760791779, 0.6183527708053589, -1.040537714958191, -0.19647695124149323, 1.1732159852981567, 0.06250288337469101, -0.12647880613803864, 0.11187297850847244, -0.7056240439414978, -1.1359740495681763, -0.9761820435523987, 0.4044941663742065...
EXPECT returns an object that allows the caller to indicate expected use
[ -0.8617038726806641, -0.4291757345199585, 0.7921441793441772, -0.6770946979522705, -0.7516939043998718, -0.04710967838764191, 0.08051209151744843, -0.4222958981990814, 0.2527259588241577, -0.6747550964355469, -0.0032193786464631557, -0.014756533317267895, -0.5511481165885925, -0.1986238211...
InsertUser mocks base method
[ -0.8266569972038269, 0.9260851144790649, 0.3355381488800049, 1.2716856002807617, 1.154479742050171, 0.902575671672821, 1.2740713357925415, -0.3228065073490143, -0.8952693343162537, -0.383233904838562, -0.9707857370376587, -1.948730230331421, -1.9359219074249268, 1.032543420791626, 0.2903...
InsertUser indicates an expected call of InsertUser
[ -0.1933426409959793, 1.880983591079712, 0.25695517659187317, 0.387939989566803, -0.28179049491882324, 1.100443959236145, 0.2098744660615921, -0.7053654789924622, 1.1059209108352661, -0.44266676902770996, -0.34762516617774963, -0.3894454538822174, -1.3117214441299438, 0.193691223859787, -...
GetUserWhereUsername mocks base method
[ 0.05855338275432587, 0.005067868623882532, 0.16811251640319824, 1.6410815715789795, 0.20926755666732788, -0.09602860361337662, 0.8840612173080444, -0.217743918299675, -0.6168102622032166, -0.5029507279396057, -0.46733081340789795, -1.0425775051116943, -0.47675204277038574, 0.00593979516997...
GetUserWhereUsername indicates an expected call of GetUserWhereUsername
[ 0.22691906988620758, 0.6107887029647827, 0.3665691614151001, 0.986274242401123, -0.3384135067462921, -0.0037741034757345915, 0.012546828016638756, -0.32648685574531555, 0.8192037343978882, 0.01938689686357975, 0.31185203790664673, 0.3439929187297821, -0.07157974690198898, 0.127100065350532...
GetUserWhereUserID mocks base method
[ 0.5258471369743347, -0.34317857027053833, 0.061473023146390915, 1.287515640258789, 0.40241363644599915, 0.2199227511882782, 0.5919619798660278, -0.2612971365451813, -0.30821409821510315, -0.5442692041397095, 0.059102993458509445, -0.6145955324172974, -0.3737291395664215, 0.9471537470817566...
GetUserWhereUserID indicates an expected call of GetUserWhereUserID
[ 0.6537891030311584, 0.15888386964797974, 0.25774678587913513, 0.41225600242614746, -0.39709925651550293, 0.42539095878601074, -0.407086580991745, -0.3921070098876953, 1.2132327556610107, -0.1572759747505188, 0.771696925163269, 0.7912302017211914, -0.14932391047477722, 0.95445716381073, -...
GetUsersWhereUserIDs mocks base method
[ 0.030529558658599854, -0.07047230005264282, 0.08208712935447693, 0.598499059677124, 0.6455472111701965, 0.11856794357299805, 0.5467612147331238, -0.37223339080810547, -0.5914695858955383, -0.14024201035499573, 0.13233336806297302, -0.3325667679309845, -0.7302232384681702, 1.136564135551452...
GetUsersWhereUserIDs indicates an expected call of GetUsersWhereUserIDs
[ 0.16678032279014587, 0.5895463824272156, 0.1525171399116516, -0.36494681239128113, -0.029451783746480942, 0.35619908571243286, -0.4325110912322998, -0.22049155831336975, 0.6940194964408875, 0.24733547866344452, 0.8422142863273621, 1.1183441877365112, -0.21327175199985504, 0.963265180587768...
DeleteUserWhereUsername mocks base method
[ 0.20959395170211792, -0.0762072205543518, 0.08566682785749435, 1.388232946395874, 0.01881866715848446, 0.06691966205835342, 1.1426377296447754, 0.20747557282447815, -0.37797194719314575, -0.2279270589351654, -0.4544909596443176, -1.1847589015960693, -0.6725172400474548, 0.47331809997558594...
DeleteUserWhereUsername indicates an expected call of DeleteUserWhereUsername
[ 0.4791322648525238, 0.6279813647270203, 0.3720749020576477, 1.0006595849990845, -0.6649771928787231, 0.36645230650901794, 0.32326990365982056, -0.17527608573436737, 0.8727846145629883, 0.06770554184913635, 0.3607535660266876, 0.6502424478530884, -0.24006648361682892, 0.521608293056488, -...
MarshalText implements the encoding.TextMarshaler interface.
[ 0.8711355924606323, 0.5639366507530212, 0.16958463191986084, -0.19844494760036469, -0.9549160003662109, 0.7171586751937866, -1.3826631307601929, 0.34252482652664185, 0.5006237030029297, -0.3596465587615967, 0.02080533467233181, -0.9834771156311035, -0.21860793232917786, -0.2314270138740539...
String returns sa in a string as "/" or "default/" if sa.Namespace is empty.
[ 0.3904065787792206, -0.06686901301145554, 0.11187151074409485, 0.5651125311851501, 0.3566877245903015, -0.43479034304618835, 0.14812178909778595, -0.9891208410263062, 1.6508699655532837, 0.08382556587457657, 1.0349055528640747, -0.20527541637420654, 0.33673760294914246, 0.07486163824796677...
Key generates the key with the format Namespace/Name.
[ -0.2952132821083069, -0.3739416003227234, 0.22244863212108612, 0.08382242918014526, -0.21011921763420105, 0.6535079479217529, -1.1894747018814087, -0.8159166574478149, 0.40349432826042175, 0.5545362830162048, -0.3301778733730316, -0.02634679339826107, 0.661007285118103, 0.6456451416015625,...
Serialize returns m in its JSON encoded format or error if serialization had failed.
[ -0.6846615076065063, -0.82744300365448, 0.39070919156074524, -0.002731713932007551, -0.7368942499160767, -0.7779017686843872, -0.1531744748353958, -1.072851538658142, 0.15191589295864105, 0.03574424982070923, 0.09159810096025467, 0.31783729791641235, -0.34916260838508606, -0.21457077562808...
NewSAMap creates an empty SAMap
[ -0.6634335517883301, -1.2625885009765625, 0.30654245615005493, 1.2275011539459229, -0.9546116590499878, 0.15715743601322174, -0.21452295780181885, -0.1814926117658615, 1.2087345123291016, -0.9496870636940002, -0.4455350637435913, -0.09166066348552704, 0.3901546597480774, 0.0521070361137390...
get looks up sa from m and returns its gsa if sa exists.
[ 0.09887182712554932, -0.9289389848709106, 0.2098388522863388, 0.4179325997829437, -0.6143848896026611, -0.9247779250144958, -0.001216077827848494, -1.0065339803695679, 0.4360331892967224, 0.37336909770965576, 1.6193718910217285, 0.9968271255493164, 0.2745131850242615, -0.07161255180835724,...
Serialize returns m in its JSON encoded format or error if serialization had failed.
[ -0.6846619248390198, -0.8274425864219666, 0.390709787607193, -0.002731319982558489, -0.7368944883346558, -0.777901828289032, -0.15317638218402863, -1.0728508234024048, 0.1519157886505127, 0.03574375435709953, 0.09159914404153824, 0.3178371787071228, -0.34916168451309204, -0.214570075273513...
NewRunShellPlugin returns a new instance of the SHPlugin.
[ 0.39648792147636414, -0.46940359473228455, 0.5597856640815735, 0.2179582566022873, -0.009138907305896282, 0.017863472923636436, -0.005256874952465296, 0.3670003116130829, 0.08578778058290482, -1.395066738128662, -0.9960716962814331, 0.8286431431770325, 0.12257630378007889, 0.28110161423683...
the service or tester wants to create a Raft server. the ports of all the Raft servers (including this one) are in peers[]. this server's port is peers[me]. all the servers' peers[] arrays have the same order. persister is a place for this server to save its persistent state, and also initially holds the most recent sa...
[ -0.00663071870803833, 0.4858367443084717, 0.9999080300331116, 0.11532623320817947, 0.5004040598869324, 0.18428730964660645, 0.9059442281723022, -0.3408336043357849, 0.8694455623626709, -1.0740405321121216, -0.688740611076355, 0.7378586530685425, -1.1442344188690186, 0.7130447030067444, 0...
return currentTerm and whether this server believes it is the leader.
[ -0.2625975012779236, -0.9370682835578918, 0.32689517736434937, 0.3179527223110199, -0.3282034993171692, 0.3279145359992981, -1.1762006282806396, -0.08865360170602798, 1.069157600402832, 0.4134605824947357, -0.475071519613266, 1.2999464273452759, -1.7778440713882446, 0.4787622094154358, 0...
save Raft's persistent state to stable storage, where it can later be retrieved after a crash and restart. see paper's Figure 2 for a description of what should be persistent.
[ 0.7182871103286743, 0.35067155957221985, 0.632073163986206, 0.6957753300666809, 0.3813428580760956, 0.6353321075439453, 1.523895502090454, -0.8632248044013977, 0.05794484168291092, -0.4010031223297119, -1.0068923234939575, -0.24411709606647491, -0.3832281231880188, -0.2965415418148041, 0...
restore previously persisted state.
[ 1.0293381214141846, -0.6923941969871521, 0.0873657763004303, -0.2977346181869507, 0.19297285377979279, 0.3512760400772095, 0.9271731376647949, 0.09112566709518433, 0.7486131191253662, -0.4730319082736969, 0.09636308997869492, 0.3211207985877991, -0.5395221710205078, -2.0084831714630127, ...
example RequestVote RPC handler.
[ -0.1983831375837326, 0.18456809222698212, 0.346493661403656, 1.482447862625122, 0.9765229225158691, 0.22740545868873596, -1.4489538669586182, -0.4478208124637604, -0.004057515412569046, -0.445246160030365, -0.29899489879608154, 0.37318629026412964, -1.3695508241653442, -0.31045177578926086...
example code to send a RequestVote RPC to a server. server is the index of the target server in rf.peers[]. expects RPC arguments in args. fills in reply with RPC reply, so caller should pass &reply. the types of the args and reply passed to Call() must be the same as the types of the arguments declared in the handler ...
[ -0.625268280506134, 0.06512372195720673, 1.0743409395217896, 0.01037332508713007, -0.162993922829628, 1.275942325592041, -1.0986791849136353, -0.5547125935554504, -0.28630995750427246, 0.24462376534938812, -0.10544010251760483, 0.2529871463775635, -1.8429031372070312, -0.1847580224275589, ...
the service using Raft (e.g. a k/v server) wants to start agreement on the next command to be appended to Raft's log. if this server isn't the leader, returns false. otherwise start the agreement and return immediately. there is no guarantee that this command will ever be committed to the Raft log, since the leader may...
[ -0.9948239922523499, 0.15830957889556885, 0.9440475702285767, 0.17538756132125854, -0.049914613366127014, 0.2365611493587494, -0.03223210945725441, -0.27191537618637085, -0.02031295746564865, 0.18563221395015717, -0.6767188310623169, 0.7675990462303162, -1.5635695457458496, 0.1288562864065...
the tester calls Kill() when a Raft instance won't be needed again. you are not required to do anything in Kill(), but it might be convenient to (for example) turn off debug output from this instance.
[ 0.8187212944030762, -0.3333418071269989, 0.5958742499351501, 0.46202096343040466, 0.3264029622077942, 0.29002925753593445, 0.9680068492889404, -0.952507734298706, -0.04409506544470787, -0.35232383012771606, -0.6766594648361206, 0.9205427169799805, -0.4077904522418976, 0.3719303011894226, ...
is leader, check logs
[ 0.5680155754089355, -0.032714974135160446, 0.23312900960445404, 1.712478518486023, 0.4781011641025543, 0.05780983716249466, -0.482037752866745, -1.1099988222122192, 2.507721424102783, 0.10101459175348282, -0.33573758602142334, 0.7643433213233948, -0.49495822191238403, 0.7326206564903259, ...