text stringlengths 7 2.39k | embedding listlengths 768 768 |
|---|---|
DelegatorValidators queries all validators info for given delegator address | [
-0.6157622933387756,
0.42676639556884766,
0.4680783450603485,
-0.733672559261322,
-0.012826106511056423,
-0.32341307401657104,
-0.8131356835365295,
0.6645686030387878,
0.40052157640457153,
-0.5470641255378723,
0.2018647938966751,
0.8911246061325073,
0.44486889243125916,
0.9963482618331909,... |
Pool queries the pool info | [
-0.5615478754043579,
0.2477472871541977,
0.01604912243783474,
0.6024715304374695,
0.9078468084335327,
0.3692705035209656,
0.12285387516021729,
-0.6743144989013672,
-0.012233754619956017,
-0.5891672968864441,
-0.16334345936775208,
0.46761035919189453,
-0.15245597064495087,
-0.55752623081207... |
Params queries the staking parameters | [
0.4778004288673401,
1.1162564754486084,
0.04905390739440918,
0.7499992847442627,
-0.19597037136554718,
0.012651577591896057,
-0.08421045541763306,
0.24205756187438965,
-1.1187173128128052,
1.0957398414611816,
0.26423805952072144,
-0.7497979402542114,
-0.7133197784423828,
0.9690555334091187... |
ValidateAuction verifies that the auction end time is before max end time | [
-0.34592294692993164,
-0.35116833448410034,
0.6305972933769226,
1.2062828540802002,
-0.6136250495910645,
1.0170373916625977,
0.017180753871798515,
0.44137346744537354,
-0.8386253118515015,
0.7921319603919983,
0.2712569534778595,
0.058123230934143066,
-0.23080773651599884,
0.029972774907946... |
SurplusAuction NewSurplusAuction returns a new surplus auction. | [
-0.1634656935930252,
-0.5346637964248657,
0.2899531424045563,
-0.09291830658912659,
-1.1352068185806274,
-0.813385009765625,
1.3754346370697021,
0.8365486860275269,
0.9809289574623108,
-0.5859676599502563,
-1.7641031742095947,
0.7212628126144409,
0.1275453269481659,
-0.5390570759773254,
... |
GetPhase returns the direction of a surplus auction, which never changes. | [
-0.6339576840400696,
-0.40316182374954224,
0.43489786982536316,
0.425275981426239,
1.164103388786316,
0.3405511975288391,
0.5342332124710083,
-0.04632622376084328,
1.0196970701217651,
-1.0187578201293945,
0.178599551320076,
0.40959516167640686,
0.06423811614513397,
-0.2843218445777893,
0... |
GetType returns the auction type. Used to identify auctions in event attributes. | [
0.17886222898960114,
-0.2777034640312195,
0.39748579263687134,
0.6442567110061646,
0.5680248737335205,
-0.05186730623245239,
1.1263136863708496,
0.18490728735923767,
0.6563734412193298,
-0.17130738496780396,
0.3704622685909271,
1.1864182949066162,
0.21600566804409027,
-0.20655766129493713,... |
GetModuleAccountCoins returns the total number of coins held in the module account for this auction. It is used in genesis initialize the module account correctly. | [
-0.3060167729854584,
-0.4943576753139496,
0.5041083097457886,
-0.5112646818161011,
0.5710225701332092,
-0.3895634412765503,
1.5189616680145264,
-0.2332003265619278,
0.3194175660610199,
0.21019886434078217,
-0.1660948395729065,
2.0596790313720703,
-0.533883810043335,
-0.10479572415351868,
... |
DebtAuction NewDebtAuction returns a new debt auction. | [
-0.938811182975769,
-0.9182611703872681,
0.3515530228614807,
0.10081268101930618,
-0.5196691751480103,
-0.2682815194129944,
0.599299430847168,
-0.0490691103041172,
0.33070409297943115,
-1.0552613735198975,
-0.9276278614997864,
-0.00887064915150404,
-0.06813301146030426,
0.03806095570325851... |
GetPhase returns the direction of a debt auction, which never changes. | [
-0.867698073387146,
-0.3636210858821869,
0.49085789918899536,
-0.05674627050757408,
0.8980198502540588,
0.45640555024147034,
0.03707066550850868,
0.0909513533115387,
1.1343774795532227,
-1.194714903831482,
0.7168854475021362,
0.3575212061405182,
-0.3345712125301361,
0.19191454350948334,
... |
GetType returns the auction type. Used to identify auctions in event attributes. | [
0.17886222898960114,
-0.2777034640312195,
0.39748579263687134,
0.6442567110061646,
0.5680248737335205,
-0.05186730623245239,
1.1263136863708496,
0.18490728735923767,
0.6563734412193298,
-0.17130738496780396,
0.3704622685909271,
1.1864182949066162,
0.21600566804409027,
-0.20655766129493713,... |
GetModuleAccountCoins returns the total number of coins held in the module account for this auction. It is used in genesis initialize the module account correctly. | [
-0.3060167729854584,
-0.4943576753139496,
0.5041083097457886,
-0.5112646818161011,
0.5710225701332092,
-0.3895634412765503,
1.5189616680145264,
-0.2332003265619278,
0.3194175660610199,
0.21019886434078217,
-0.1660948395729065,
2.0596790313720703,
-0.533883810043335,
-0.10479572415351868,
... |
Validate validates the DebtAuction fields values. | [
-0.560167133808136,
1.142626404762268,
0.3510131537914276,
0.5561606287956238,
0.571211040019989,
-0.15827439725399017,
0.9474982023239136,
0.147410050034523,
-0.0022763176821172237,
-0.914473831653595,
-0.10577605664730072,
-0.809902012348175,
1.2774524688720703,
0.22565396130084991,
0.... |
CollateralAuction NewCollateralAuction returns a new collateral auction. | [
0.5285881757736206,
-1.4122185707092285,
0.4023575782775879,
0.5679725408554077,
-1.4743266105651855,
-0.9513180255889893,
1.7194435596466064,
1.3923707008361816,
0.4964284598827362,
0.2916388213634491,
-0.2731975317001343,
-0.7110653519630432,
-0.39889419078826904,
-0.23034776747226715,
... |
GetType returns the auction type. Used to identify auctions in event attributes. | [
0.17886222898960114,
-0.2777034640312195,
0.39748579263687134,
0.6442567110061646,
0.5680248737335205,
-0.05186730623245239,
1.1263136863708496,
0.18490728735923767,
0.6563734412193298,
-0.17130738496780396,
0.3704622685909271,
1.1864182949066162,
0.21600566804409027,
-0.20655766129493713,... |
IsReversePhase returns whether the auction has switched over to reverse phase or not. CollateralAuctions initially start in forward phase. | [
-0.3551129400730133,
-0.25271496176719666,
0.47811511158943176,
-0.17745961248874664,
0.1395854949951172,
-0.3217198848724365,
-0.30360808968544006,
0.9938998222351074,
0.5614758729934692,
0.5312931537628174,
-0.15628698468208313,
0.34362199902534485,
-0.5728086829185486,
-0.82667267322540... |
GetPhase returns the direction of a collateral auction. | [
0.23915395140647888,
-0.3718799352645874,
0.4109678268432617,
0.24590647220611572,
0.7594431042671204,
-0.07871102541685104,
0.29210805892944336,
0.4876842498779297,
0.693210244178772,
-0.3803587853908539,
0.8315948247909546,
-0.16235819458961487,
-0.3376264274120331,
-0.3207443654537201,
... |
GetLotReturns returns the auction's lot returns as weighted addresses | [
0.33249881863594055,
0.017285209149122238,
0.38948965072631836,
-1.3910211324691772,
0.11121966689825058,
-0.6204131245613098,
0.04875558987259865,
-0.563391923904419,
0.414020299911499,
-1.1624451875686646,
1.0362058877944946,
0.059726156294345856,
-0.49527502059936523,
-0.621009886264801... |
GetModuleAccountCoins returns the total number of coins held in the module account for this auction. It is used in genesis initialize the module account correctly. | [
-0.3060167729854584,
-0.4943576753139496,
0.5041083097457886,
-0.5112646818161011,
0.5710225701332092,
-0.3895634412765503,
1.5189616680145264,
-0.2332003265619278,
0.3194175660610199,
0.21019886434078217,
-0.1660948395729065,
2.0596790313720703,
-0.533883810043335,
-0.10479572415351868,
... |
Validate validates the CollateralAuction fields values. | [
1.3210948705673218,
0.26679500937461853,
0.06423663347959518,
0.6733323335647583,
0.02972124144434929,
-0.2761470377445221,
1.3145290613174438,
0.8459323644638062,
0.014832323417067528,
-0.02662843093276024,
0.12592123448848724,
-0.8680378794670105,
0.5335292220115662,
-0.29180458188056946... |
NewWeightedAddresses returns a new list addresses with weights. | [
0.15461008250713348,
-0.984411358833313,
0.5302714705467224,
-0.10452955961227417,
-0.026241062209010124,
-0.02099483646452427,
-0.5930941104888916,
-0.18474774062633514,
0.8354609608650208,
0.521529495716095,
-0.47694385051727295,
0.5498021245002747,
-0.8505937457084656,
0.650495469570159... |
Validate checks for that the weights are not negative, not all zero, and the lengths match. | [
0.7810994386672974,
0.18607549369335175,
0.43317529559135437,
0.7880812883377075,
0.8292953372001648,
1.2008641958236694,
-0.3906291425228119,
-0.03091278113424778,
-0.4902624785900116,
-0.2108941525220871,
0.36349090933799744,
-0.4146513044834137,
-0.9068628549575806,
1.245483160018921,
... |
Code for windows console handler based on | [
0.5823075771331787,
-1.5110585689544678,
0.10537207871675491,
0.599139928817749,
-0.7214868068695068,
-0.2561638355255127,
1.9648934602737427,
-1.060697078704834,
-0.4430393576622009,
-0.3612988591194153,
-0.3682187795639038,
0.25102823972702026,
-0.10159185528755188,
0.13311758637428284,
... |
protoKnownFieldsEqual returns true if the provided proto messages are equal, ignoring any unknown fields found during unmarshal (ie, this ignores XXX_ fields). This is not a substitute for [proto.Equal] and should not be used as a full equility check. Do not use this method lightly or without a strong reason to do so. | [
-0.14120805263519287,
-0.0437811054289341,
0.4628978669643402,
-0.3249300718307495,
0.4109383225440979,
1.0535087585449219,
-0.033229660242795944,
-0.26531535387039185,
-0.5000360012054443,
0.2262718379497528,
-1.3355827331542969,
-0.11717897653579712,
-0.7377181649208069,
-0.9956474900245... |
Removes a cursor from the source. The caller should do this with a stopped session if necessary, which should clear any buffered fetch and reset the source's session. | [
-0.37290117144584656,
-0.3037787079811096,
0.3778371512889862,
-0.3930843770503998,
-1.4968125820159912,
-0.34124475717544556,
0.2295583039522171,
-0.07871559262275696,
0.8237985372543335,
-0.15452930331230164,
-1.2761659622192383,
0.6411348581314087,
-0.018028659746050835,
0.4183653295040... |
use, for fetch requests, freezes a view of the cursorOffset. | [
0.14424552023410797,
-0.2828461527824402,
0.3325490653514862,
-0.8236275911331177,
-0.6717396378517151,
0.06800459325313568,
0.2578360140323639,
-0.7821219563484192,
-0.021810123696923256,
-0.5807541608810425,
0.282893568277359,
0.7451851963996887,
0.3364067077636719,
-0.35053113102912903,... |
unset transitions a cursor to an unusable state when the cursor is no longer to be consumed. This is called exclusively after sources are stopped. This also unsets the cursor offset, which is assumed to be unused now. | [
-0.45529866218566895,
-0.5287424921989441,
0.47335973381996155,
-1.646276831626892,
-0.7504802346229553,
-0.33309048414230347,
0.5455740690231323,
0.5993349552154541,
-0.7077797055244446,
0.16470618546009064,
-0.5368748903274536,
0.45825809240341187,
0.17802734673023224,
-0.181149587035179... |
usable returns whether a cursor can be used for building a fetch request. | [
-0.7630836963653564,
-0.30805066227912903,
0.42834848165512085,
0.04815046116709709,
-0.8200935125350952,
0.2842591404914856,
-0.42213377356529236,
-0.01932230219244957,
-0.9291977882385254,
0.018984802067279816,
-0.4189605712890625,
0.21993064880371094,
0.37724897265434265,
0.160470679402... |
allowUsable allows a cursor to be fetched, and is called either in assigning offsets, or when a buffered fetch is taken or discarded, or when listing / epoch loading finishes. | [
-0.08965038508176804,
-0.08705352991819382,
0.8036152124404907,
-0.8198789358139038,
-0.8697816133499146,
0.5188735723495483,
0.16438445448875427,
-0.4409559965133667,
-0.5722888112068176,
0.5821816921234131,
0.310416042804718,
0.8692371249198914,
0.1135651096701622,
0.4596341550350189,
... |
setOffset sets the cursors offset which will be used the next time a fetch request is built. This function is called under the source mutex while the source is stopped, and the caller is responsible for calling maybeConsume after. | [
-0.5474207401275635,
-0.2781449556350708,
0.35484635829925537,
-0.7023923993110657,
-0.7928361296653748,
0.3944714665412903,
0.4448949098587036,
0.38376471400260925,
-0.10639642179012299,
-0.055751409381628036,
-0.8926863074302673,
0.6589528322219849,
-0.041204459965229034,
0.2973656356334... |
Moves a cursor from one source to another. This is done while handling a fetch response, which means within the context of a live session. | [
-0.24573123455047607,
-1.5421679019927979,
0.6434075832366943,
0.12184783816337585,
-0.8639270067214966,
0.05397054925560951,
-0.101559579372406,
-1.0200257301330566,
0.16972716152668,
0.44055691361427307,
-0.8631728291511536,
0.4648858606815338,
0.6718992590904236,
-0.2892076075077057,
... |
takeBuffered drains a buffered fetch and updates offsets. | [
0.43615880608558655,
-0.48874783515930176,
0.3718210756778717,
-1.0804132223129272,
-0.612725019454956,
0.5209730267524719,
0.6358761191368103,
-0.535466730594635,
0.07405057549476624,
-0.765192449092865,
-0.998738169670105,
0.5401779413223267,
0.41256478428840637,
0.3453284502029419,
0.... |
takeNBuffered takes a limited amount of records from a buffered fetch, updating offsets in each partition per records taken. This only allows a new fetch once every buffered record has been taken. This returns the number of records taken and whether the source has been completely drained. | [
0.2514234185218811,
-0.40225493907928467,
0.776884138584137,
-1.3019273281097412,
-1.03398597240448,
-0.02722824364900589,
0.8505600690841675,
-0.0568547286093235,
-0.12453372031450272,
-0.6816185116767883,
-1.7684911489486694,
-0.23037007451057434,
-0.2583034634590149,
0.33342215418815613... |
createReq actually creates a fetch request. | [
-0.3715931475162506,
0.4902622401714325,
0.3205063045024872,
0.21719801425933838,
0.5332321524620056,
0.10896837711334229,
-0.7893026471138,
-0.25302428007125854,
-0.8674171566963196,
-0.7814937233924866,
-0.3260265588760376,
-0.3469907343387604,
1.7182241678237915,
0.7034114003181458,
-... |
fetch is the main logic center of fetching messages. This is a long function, made much longer by winded documentation, that contains a lot of the side effects of fetching and updating. The function consists of two main bulks of logic: First, issue a request that can be killed if the source needs to be stopped. Process... | [
-0.5084124207496643,
0.0591089092195034,
0.614569365978241,
-0.08104997873306274,
-0.1323508322238922,
-0.9602108597755432,
0.0006181001663208008,
-0.5889018774032593,
0.9878504276275635,
0.6304037570953369,
-0.12963974475860596,
0.7082545757293701,
0.6485490202903748,
0.19069160521030426,... |
Parses a fetch response into a Fetch, offsets to reload, and whether metadata needs updating. This only uses a source's broker and client, and thus does not need the source mutex. This function, and everything it calls, is side effect free. | [
0.01647346280515194,
-0.28098422288894653,
0.44579222798347473,
-0.6494516730308533,
-1.1169908046722412,
-0.47998785972595215,
0.33226341009140015,
-0.9013602137565613,
0.09515459835529327,
-0.1959121972322464,
-0.9441189765930176,
0.3493472635746002,
0.5771200656890869,
-0.24453637003898... |
processRespPartition processes all records in all potentially compressed batches (or message sets). | [
1.6097534894943237,
-0.6644713282585144,
0.23679876327514648,
0.11233559995889664,
0.12029743194580078,
-1.0428990125656128,
0.2913503646850586,
-0.12548600137233734,
0.38294708728790283,
0.006570844445377588,
0.4639918804168701,
-1.3798125982284546,
-1.1146636009216309,
0.2943230271339416... |
//////////////////////////////////// processing records to fetch part // //////////////////////////////////// readRawRecords reads n records from in and returns them, returning early if there were partial records. | [
-0.36561399698257446,
-0.1791006177663803,
0.543164849281311,
-0.9849967360496521,
-1.515551209449768,
0.2245328277349472,
-0.28399476408958435,
-0.6198174953460693,
-0.618614673614502,
-0.310326486825943,
0.3172454833984375,
-0.13221001625061035,
-1.1591742038726807,
-0.4650079607963562,
... |
Processes an outer v1 message. There could be no inner message, which makes this easy, but if not, we decompress and process each inner message as either v0 or v1. We only expect the inner message to be v1, but technically a crazy pipeline could have v0 anywhere. | [
-0.5949972867965698,
-0.21005718410015106,
0.535965085029602,
-0.2749088704586029,
-0.16541258990764618,
-0.668330192565918,
-0.24838367104530334,
0.01566765084862709,
-0.26335272192955017,
-0.09917502105236053,
0.2681933045387268,
0.38964375853538513,
-0.8152434229850769,
0.61342519521713... |
Processes an outer v0 message. We expect inner messages to be entirely v0 as well, so this only tries v0 always. | [
-0.06988316774368286,
-0.49851202964782715,
0.48856034874916077,
-0.7964732050895691,
0.0029845188837498426,
-0.34951555728912354,
-0.08815682679414749,
-0.6060042977333069,
0.1270466446876526,
0.016740869730710983,
0.4871264100074768,
0.8252493143081665,
-0.7280561923980713,
1.23234045505... |
maybeKeepRecord keeps a record if it is within our range of offsets to keep. If the record is being aborted or the record is a control record and the client does not want to keep control records, this does not keep the record. | [
0.7055959105491638,
-0.4326630234718323,
0.7869846820831299,
-0.3625204861164093,
-0.818236768245697,
1.4205694198608398,
-0.8402368426322937,
-1.520560383796692,
0.44178593158721924,
-0.4052445888519287,
0.25033965706825256,
0.273730993270874,
-0.6729824542999268,
-0.3713388442993164,
0... |
///////////////////////////// kmsg.Record to kgo.Record // ///////////////////////////// | [
1.1728752851486206,
-0.3507017195224762,
0.2097635418176651,
-0.1585884839296341,
-0.6228702068328857,
-0.30029258131980896,
0.04813310503959656,
0.2394578456878662,
-0.2533666491508484,
0.6379830837249756,
-0.9385586380958557,
1.0954569578170776,
-0.21056175231933594,
0.5887103080749512,
... |
recordToRecord converts a kmsg.RecordBatch's Record to a kgo Record. | [
1.421817421913147,
-0.07986543327569962,
0.30446672439575195,
0.45450180768966675,
-0.3147824704647064,
-0.1529872566461563,
-1.2213571071624756,
0.3413739502429962,
-0.13526053726673126,
0.20364497601985931,
-0.1535327434539795,
0.8323044776916504,
-0.12893344461917877,
-0.147972717881202... |
reset resets the session by setting the next request to use epoch 0. We do not reset the ID; using epoch 0 for an existing ID unregisters the prior session. | [
-0.6649256944656372,
0.5051355957984924,
0.3468184471130371,
0.4420228898525238,
0.8010924458503723,
-1.0838515758514404,
0.2621191442012787,
-0.6188722848892212,
-0.003228535642847419,
0.2610035538673401,
-0.7261478304862976,
1.2110216617584229,
-0.06188926473259926,
-0.3734426200389862,
... |
bumpEpoch bumps the epoch and saves the session id. Kafka replies with the session ID of the session to use. When it does, we start from epoch 1, wrapping back to 1 if we go negative. | [
-0.33956098556518555,
0.3397289216518402,
0.6504950523376465,
0.9369145035743713,
0.4459688067436218,
-0.2010016143321991,
0.33755332231521606,
-0.5898549556732178,
0.9943429231643677,
0.33198463916778564,
-0.8017690181732178,
0.4877331256866455,
0.2562679648399353,
-0.1178085133433342,
... |
Home handler renders the home.html page. | [
0.6337893605232239,
-0.14123380184173584,
0.19509942829608917,
1.6358864307403564,
-0.004119062330573797,
0.3163881301879883,
0.9304783940315247,
1.0882679224014282,
-0.40194541215896606,
0.13356095552444458,
0.2068435251712799,
-0.4314309060573578,
0.2365204393863678,
0.6280972361564636,
... |
Scale handles GET calls for the scale page. | [
-0.738620936870575,
-0.23822736740112305,
0.44261717796325684,
0.023645825684070587,
0.8436711430549622,
-1.1448179483413696,
-1.1302200555801392,
-0.8963937759399414,
-0.620448648929596,
0.9896738529205322,
0.7846886515617371,
-0.9545238614082336,
-0.3921247124671936,
0.7336278557777405,
... |
ScaleShow handles post calls for the scale page. | [
0.06823716312646866,
-0.15779750049114227,
0.557649552822113,
0.07396920770406723,
-0.28647124767303467,
-0.5811654925346375,
-0.4814315736293793,
-0.42410755157470703,
-0.39787718653678894,
0.8836974501609802,
-0.11320062726736069,
-0.4283621907234192,
-0.2244275063276291,
1.4642782211303... |
Duet handles GET calls for the duets page. | [
-0.47201114892959595,
-0.04580027610063553,
0.11279579252004623,
-0.18902704119682312,
0.8511897325515747,
-0.0334697961807251,
-0.37109556794166565,
-0.6579234004020691,
-0.4122066795825958,
-0.5158101320266724,
0.37413373589515686,
0.3728887736797333,
0.6627996563911438,
0.30906698107719... |
DuetShow handles post calls for the scale page. | [
-0.08901797235012054,
-0.043542176485061646,
0.5596993565559387,
0.07955574244260788,
0.05634709820151329,
-0.2512607276439667,
-0.3807187080383301,
-0.5025476813316345,
-0.6747395396232605,
0.6421269774436951,
-0.303646981716156,
-0.3113231360912323,
-0.15993158519268036,
1.27683734893798... |
NewChargeAddonInvoiceParams creates a new ChargeAddonInvoiceParams object with the default values initialized. | [
0.5244030952453613,
-1.1414991617202759,
0.2744410037994385,
0.4564802646636963,
0.2145848125219345,
0.48523426055908203,
-0.4715437591075897,
0.7487702369689941,
-0.3103772699832916,
-0.4279516041278839,
-0.15067116916179657,
-0.03532719239592552,
-1.290840744972229,
1.0312131643295288,
... |
NewChargeAddonInvoiceParamsWithTimeout creates a new ChargeAddonInvoiceParams object with the default values initialized, and the ability to set a timeout on a request | [
0.8785146474838257,
-0.7178265452384949,
0.38163793087005615,
0.5954110622406006,
0.22523880004882812,
0.7551615238189697,
-1.3124134540557861,
0.679013729095459,
-0.5806641578674316,
0.6465519070625305,
0.10761158913373947,
-0.07952075451612473,
-1.210831880569458,
0.7814782857894897,
-... |
NewChargeAddonInvoiceParamsWithContext creates a new ChargeAddonInvoiceParams object with the default values initialized, and the ability to set a context for a request | [
0.3876766860485077,
-0.5189189314842224,
0.4858330488204956,
0.21570460498332977,
0.11953312903642654,
0.6067736148834229,
-1.2499563694000244,
-0.000817352847661823,
0.21484893560409546,
0.13228270411491394,
0.10498750954866409,
0.19611625373363495,
-1.3182536363601685,
0.6001108288764954... |
NewChargeAddonInvoiceParamsWithHTTPClient creates a new ChargeAddonInvoiceParams object with the default values initialized, and the ability to set a custom HTTPClient for a request | [
0.5037484765052795,
-0.9286319613456726,
0.26731571555137634,
0.04703466221690178,
0.3984611928462982,
0.6607338786125183,
-0.6958565711975098,
0.4826500117778778,
-0.7312303781509399,
-0.03152159973978996,
-0.032110556960105896,
-0.16872161626815796,
-1.1328868865966797,
0.533937990665435... |
WithTimeout adds the timeout to the charge addon invoice params | [
1.1975351572036743,
-0.8934341669082642,
0.3909722566604614,
-0.07160380482673645,
-0.35476812720298767,
0.4416358768939972,
-1.584733009338379,
0.2619485855102539,
-0.17065922915935516,
1.058985710144043,
0.10966237634420395,
0.5362035036087036,
-0.5464940667152405,
0.08764518797397614,
... |
SetTimeout adds the timeout to the charge addon invoice params | [
0.7024887204170227,
-0.7087340354919434,
0.26095691323280334,
-0.08997126668691635,
0.08485140651464462,
0.8283747434616089,
-1.4284793138504028,
0.6570057272911072,
-0.3793632388114929,
0.9653589725494385,
0.1203722134232521,
0.7779138088226318,
-0.8484456539154053,
0.046659450978040695,
... |
WithContext adds the context to the charge addon invoice params | [
0.5362058281898499,
-0.552512526512146,
0.5674083232879639,
-0.13120490312576294,
-0.5248944759368896,
0.2442316710948944,
-1.5918548107147217,
-0.5766522288322449,
0.5923750400543213,
0.3700203597545624,
-0.14428755640983582,
0.583666205406189,
-0.8304768800735474,
0.07316306233406067,
... |
SetContext adds the context to the charge addon invoice params | [
0.23695480823516846,
-0.3471425771713257,
0.35324764251708984,
0.08172433823347092,
0.2502286732196808,
0.5090502500534058,
-1.3860032558441162,
-0.17765972018241882,
0.6045200824737549,
0.3777242600917816,
-0.1340000033378601,
0.9495747685432434,
-0.995648205280304,
0.20208625495433807,
... |
WithHTTPClient adds the HTTPClient to the charge addon invoice params | [
0.5633060932159424,
-0.9177566766738892,
0.4716317355632782,
-0.1462772786617279,
-0.7166409492492676,
0.4840087890625,
-1.2506626844406128,
-0.2487884759902954,
-0.3295334279537201,
-0.10136598348617554,
-0.0014438703656196594,
0.5453068017959595,
-0.8249298930168152,
0.29041191935539246,... |
SetHTTPClient adds the HTTPClient to the charge addon invoice params | [
0.7726967930793762,
-0.9070984721183777,
0.26933762431144714,
-0.2364611178636551,
-0.47241488099098206,
0.6562417149543762,
-1.2895917892456055,
-0.18240629136562347,
-0.701516330242157,
-0.11942503601312637,
-0.2037184089422226,
0.8168092966079712,
-0.8798969388008118,
-0.463865578174591... |
WithInvoiceChargeAddonRequest adds the invoiceChargeAddonRequest to the charge addon invoice params | [
-0.719781756401062,
-0.8845130205154419,
0.7486634850502014,
0.00796978734433651,
-0.9518775939941406,
0.27911385893821716,
-1.6357241868972778,
0.11146555840969086,
0.0839361697435379,
-0.6912042498588562,
0.7269573211669922,
0.8991177678108215,
-1.303527593612671,
0.45263412594795227,
... |
SetInvoiceChargeAddonRequest adds the invoiceChargeAddonRequest to the charge addon invoice params | [
-0.6754929423332214,
-1.0389519929885864,
0.6347940564155579,
0.028381824493408203,
-0.6734711527824402,
0.26042255759239197,
-1.3910475969314575,
0.36022505164146423,
0.08184895664453506,
-0.36901089549064636,
0.3510039150714874,
0.7991507649421692,
-0.9776591062545776,
0.4869321584701538... |
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... |
Given a positive integer n, break it into the sum of at least two positive integers and maximize the product of those integers. Return the maximum product you can get. For example, given n = 2, return 1 (2 = 1 + 1); given n = 10, return 36 (10 = 3 + 3 + 4). Note: You may assume that n is not less than 2 and not larger ... | [
-0.9222847819328308,
0.6821291446685791,
0.7058578133583069,
1.3079370260238647,
-0.253001868724823,
0.20231153070926666,
0.5318002104759216,
-0.6608275175094604,
1.1023894548416138,
-0.2320351004600525,
-0.9352890849113464,
-0.3569474220275879,
0.3328096568584442,
-0.27205270528793335,
... |
New returns a new instance of Flock. The only parameter it takes is the path to the desired lockfile. | [
0.7569500803947449,
-0.9364069700241089,
0.2778444290161133,
0.6130441427230835,
-0.3181036710739136,
0.4831465184688568,
1.0269831418991089,
-0.7395179867744446,
-1.166546106338501,
-0.9425231218338013,
-0.017466701567173004,
1.1292959451675415,
-0.004805659409612417,
-0.03421831130981445... |
NewFlock returns a new instance of Flock. The only parameter it takes is the path to the desired lockfile. Deprecated: Use New instead. | [
0.10509014874696732,
-0.180478036403656,
0.3972007930278778,
0.8569826483726501,
-0.47995367646217346,
0.15536019206047058,
0.8027465343475342,
-0.8063088655471802,
-0.8427311182022095,
-1.2158643007278442,
-0.30282649397850037,
1.205496907234192,
-0.3756442070007324,
-0.049271490424871445... |
Close is equivalent to calling Unlock. This will release the lock and close the underlying file descriptor. It will not remove the file from disk, that's up to your application. | [
0.4809102416038513,
-0.44049593806266785,
0.9034428000450134,
-0.30300506949424744,
-0.7103959321975708,
0.5591386556625366,
-0.10872428119182587,
0.10855872184038162,
-0.44763433933258057,
-1.0609426498413086,
0.7722364664077759,
0.04951614513993263,
-0.3670451045036316,
-0.17502892017364... |
Path returns the path as provided in NewFlock(). | [
-0.2275712639093399,
-0.28376299142837524,
0.08512189239263535,
0.44876208901405334,
0.4097847640514374,
0.5544323921203613,
2.163738965988159,
-0.6249048113822937,
0.2917698919773102,
-0.8617098927497864,
0.05604059249162674,
0.655563235282898,
-1.0598212480545044,
0.48961764574050903,
... |
Locked returns the lock state (locked: true, unlocked: false). Warning: by the time you use the returned value, the state may have changed. | [
-0.6514182090759277,
-0.01589036174118519,
0.4644649624824524,
0.28444957733154297,
-0.14292414486408234,
0.06315986812114716,
0.05675371736288071,
-0.5047679543495178,
0.9713701009750366,
-1.012315273284912,
-0.497541606426239,
0.3217402994632721,
-0.3411561846733093,
-1.079298973083496,
... |
RLocked returns the read lock state (locked: true, unlocked: false). Warning: by the time you use the returned value, the state may have changed. | [
-0.7269819378852844,
-0.2020222246646881,
0.721875011920929,
0.21084919571876526,
-0.4720607101917267,
0.2538512647151947,
0.12325212359428406,
-0.42709434032440186,
0.6931772232055664,
-0.3990875482559204,
0.17904584109783173,
0.4427242577075958,
-0.5706629157066345,
-0.9980841279029846,
... |
TryLockContext repeatedly tries to take an exclusive lock until one of the conditions is met: TryLock succeeds, TryLock fails with error, or Context Done channel is closed. | [
-0.17596441507339478,
1.0731934309005737,
0.5010193586349487,
0.2817921042442322,
0.004141589161008596,
0.1753797084093094,
-0.8881232142448425,
-1.2959238290786743,
0.3444574177265167,
-0.5094921588897705,
0.04844500496983528,
0.287668377161026,
-0.6063917875289917,
-0.39224016666412354,
... |
TryRLockContext repeatedly tries to take a shared lock until one of the conditions is met: TryRLock succeeds, TryRLock fails with error, or Context Done channel is closed. | [
0.228953018784523,
0.8241688013076782,
0.4288674294948578,
0.02759741246700287,
0.6979650259017944,
0.403899610042572,
0.14107081294059753,
-0.8995174765586853,
0.24808230996131897,
-0.4165048897266388,
0.031442295759916306,
-0.08346876502037048,
-1.0953218936920166,
-0.14607281982898712,
... |
ensure the file handle is closed if no lock is held | [
0.8101226091384888,
-0.8238429427146912,
0.3206394612789154,
0.5402560234069824,
0.8812503814697266,
1.5714536905288696,
1.1406246423721313,
-0.47828736901283264,
-1.0572751760482788,
-2.297028064727783,
1.205051302909851,
-0.48427343368530273,
-1.431776762008667,
0.47089719772338867,
0.... |
BeforeRun run script before start worker | [
0.340787798166275,
-0.738429605960846,
0.14587198197841644,
0.6514047980308533,
-0.021097110584378242,
-0.5936431288719177,
0.9282094240188599,
-0.3516804873943329,
-0.08060827106237411,
0.0492413304746151,
-1.232991099357605,
-0.05417636036872864,
-0.8991442322731018,
0.4745939075946808,
... |
AfterRun run script after start worker | [
0.42654913663864136,
-1.8802324533462524,
0.133903369307518,
0.767259418964386,
-0.8707423806190491,
-0.2818133533000946,
1.4994839429855347,
0.11196191608905792,
0.00899761077016592,
-0.4566177725791931,
-1.5350279808044434,
0.11320449411869049,
-0.5879573822021484,
0.06432366371154785,
... |
Run start the worker | [
0.2822178602218628,
-0.832435131072998,
0.2596830725669861,
0.6021197438240051,
0.0823473185300827,
0.4293774962425232,
1.1853768825531006,
1.3210415840148926,
-0.36435753107070923,
-0.8351852893829346,
-1.505627989768982,
-0.35245606303215027,
-1.1979397535324097,
0.22426341474056244,
-... |
Usage for count of channel usage | [
0.03536612540483475,
-0.06400053203105927,
0.5835434198379517,
-0.854178786277771,
0.5329074859619141,
-1.290945291519165,
0.19634756445884705,
-0.7398587465286255,
-0.22534477710723877,
-0.006815632339566946,
0.21998819708824158,
-0.23964206874370575,
0.9037060737609863,
0.557018280029296... |
Queue send notification to queue | [
-0.11855828762054443,
-0.5077449679374695,
0.10703754425048828,
0.576256275177002,
0.7359771728515625,
-0.8598741888999939,
-0.5401899218559265,
-0.2188352346420288,
-0.5506669878959656,
1.0726567506790161,
-1.972235918045044,
0.638141930103302,
1.1811103820800781,
1.3634480237960815,
-0... |
WithQueueNum setup the capcity of queue | [
-0.2687913477420807,
-1.0041003227233887,
0.6498616337776184,
0.4601651132106781,
0.03884802386164665,
-0.39110878109931946,
-0.09352493286132812,
0.07976340502500534,
0.8804541826248169,
-0.7165416479110718,
-1.0051225423812866,
0.2730422019958496,
0.911873996257782,
0.6410567760467529,
... |
WithRunFunc setup the run func of queue | [
0.557237446308136,
-1.215694546699524,
0.3628891408443451,
0.04123485088348389,
-0.04018041864037514,
-1.0404105186462402,
0.9544119834899902,
-0.24069711565971375,
-0.35618868470191956,
-0.5548025965690613,
-0.991736888885498,
1.0924615859985352,
1.1702778339385986,
0.011833630502223969,
... |
WaitForNetworkInterface wait status of eni | [
-0.0010877152672037482,
-0.04518003389239311,
0.11021526157855988,
-0.27454933524131775,
0.3963439464569092,
1.0597007274627686,
-0.33409470319747925,
-0.6219478845596313,
-0.9577491283416748,
-0.30663952231407166,
-1.1487767696380615,
-2.2044966220855713,
-0.27554407715797424,
0.311865568... |
NewMockRDSAPI creates a new mock instance | [
-0.9503116607666016,
-0.08084015548229218,
0.16248488426208496,
0.20341193675994873,
0.42488446831703186,
-0.40300118923187256,
-0.14157749712467194,
0.21387074887752533,
-0.10751806944608688,
0.015047203749418259,
-0.7123250961303711,
-0.2067936360836029,
-1.4559435844421387,
0.6781462430... |
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... |
AddRoleToDBCluster mocks base method | [
-0.00253097852692008,
0.3637233376502991,
0.44385427236557007,
-0.40879806876182556,
2.2277660369873047,
0.01593576744198799,
0.07198666036128998,
-0.9824507832527161,
-0.2716069221496582,
-0.7413319945335388,
-0.28871601819992065,
-0.6283680200576782,
-1.091835379600525,
0.419851928949356... |
AddRoleToDBCluster indicates an expected call of AddRoleToDBCluster | [
0.6249192953109741,
1.0875660181045532,
0.39329269528388977,
-0.6882365345954895,
1.422260046005249,
0.30285805463790894,
-0.8197143077850342,
-0.7659656405448914,
0.5720588564872742,
-0.5986616015434265,
0.1386219561100006,
0.6113852858543396,
-1.0729882717132568,
0.16626280546188354,
0... |
AddRoleToDBClusterRequest mocks base method | [
-1.09914231300354,
0.11933998763561249,
0.3317020833492279,
-0.29081788659095764,
1.9837491512298584,
-0.01430260669440031,
0.1653728485107422,
-1.037682294845581,
-0.6839069128036499,
-0.42873615026474,
-0.11062131822109222,
-0.6733260154724121,
-1.1937452554702759,
0.6136534214019775,
... |
AddRoleToDBClusterRequest indicates an expected call of AddRoleToDBClusterRequest | [
-0.5688028335571289,
0.5954576730728149,
0.41458266973495483,
-0.5873329043388367,
1.0997670888900757,
0.3339729905128479,
-0.5864084362983704,
-0.8336141109466553,
0.23079432547092438,
-0.43357014656066895,
0.3115105926990509,
0.3300013542175293,
-1.1093732118606567,
0.366666704416275,
... |
AddRoleToDBClusterWithContext mocks base method | [
0.2846871614456177,
-0.014756323769688606,
0.4002382457256317,
-0.11868028342723846,
1.6852248907089233,
0.2962923049926758,
-0.09631438553333282,
-1.452065110206604,
0.29566895961761475,
-0.5583317875862122,
-0.478155255317688,
-0.4985845685005188,
-1.2737178802490234,
0.19831696152687073... |
AddRoleToDBClusterWithContext indicates an expected call of AddRoleToDBClusterWithContext | [
0.7149868607521057,
0.662418782711029,
0.45573633909225464,
-0.28998249769210815,
1.0791802406311035,
0.15635253489017487,
-0.8306787610054016,
-1.6306686401367188,
0.8856774568557739,
-0.4776124358177185,
0.003992547746747732,
0.28828975558280945,
-1.2892102003097534,
-0.1265873908996582,... |
AddSourceIdentifierToSubscription mocks base method | [
-0.12420306354761124,
0.1483532339334488,
-0.0916934534907341,
0.5398784875869751,
0.9110798239707947,
0.3433903157711029,
-0.09242583066225052,
-0.04745866730809212,
0.9224438071250916,
-0.32805120944976807,
-0.9613542556762695,
-0.3440874218940735,
-0.06910974532365799,
0.463811248540878... |
AddSourceIdentifierToSubscription indicates an expected call of AddSourceIdentifierToSubscription | [
0.24517865478992462,
0.5543243885040283,
0.11820383369922638,
0.2490493655204773,
-0.13258560001850128,
0.4441462755203247,
-0.6378651261329651,
-0.3429822325706482,
1.8303534984588623,
-0.383520245552063,
-0.6837384104728699,
1.2087500095367432,
0.2343084216117859,
0.17439916729927063,
... |
AddSourceIdentifierToSubscriptionRequest mocks base method | [
-0.7663237452507019,
0.34504276514053345,
-0.009414023719727993,
0.5523277521133423,
0.7379009127616882,
0.5185542702674866,
-0.21035480499267578,
-0.14020895957946777,
0.6833997368812561,
-0.3334021270275116,
-0.30206552147865295,
-0.6518849730491638,
0.4025450348854065,
0.861499428749084... |
AddSourceIdentifierToSubscriptionRequest indicates an expected call of AddSourceIdentifierToSubscriptionRequest | [
-0.2381516396999359,
0.7784186005592346,
0.3001435399055481,
0.417584091424942,
-0.2358245849609375,
0.6777013540267944,
-0.5543572306632996,
-0.39469414949417114,
1.79606032371521,
-0.288974404335022,
-0.07720685750246048,
0.9433950781822205,
0.5854198932647705,
0.5169736742973328,
-0.0... |
AddSourceIdentifierToSubscriptionWithContext mocks base method | [
0.29037174582481384,
0.24120929837226868,
-0.005513875745236874,
0.4013768434524536,
0.3887321949005127,
0.42061012983322144,
-0.2589850425720215,
-0.57375168800354,
1.2485133409500122,
-0.11707348376512527,
-1.0704599618911743,
-0.08963866531848907,
-0.24036656320095062,
0.427103102207183... |
AddSourceIdentifierToSubscriptionWithContext indicates an expected call of AddSourceIdentifierToSubscriptionWithContext | [
0.5451262593269348,
0.5066231489181519,
0.2673676311969757,
0.22705486416816711,
-0.4142792224884033,
0.2258952409029007,
-0.763091504573822,
-0.862028956413269,
2.2020790576934814,
-0.37901490926742554,
-0.7672581076622009,
0.9536990523338318,
0.004737771116197109,
0.08412643522024155,
... |
AddTagsToResource mocks base method | [
0.05538948252797127,
0.03188817575573921,
0.16069236397743225,
-0.07490067929029465,
0.518707811832428,
0.03230571374297142,
-0.20774947106838226,
-0.9113516211509705,
-0.05757520720362663,
-0.7131885886192322,
-0.12914486229419708,
-1.645552635192871,
-0.6409032344818115,
0.83384436368942... |
AddTagsToResource indicates an expected call of AddTagsToResource | [
0.13426253199577332,
1.004521131515503,
0.17547714710235596,
-0.4616939127445221,
-0.2674592435359955,
0.07109882682561874,
-1.2152795791625977,
-0.7393909096717834,
1.1453510522842407,
-0.47531986236572266,
0.4368361830711365,
0.1254194676876068,
-0.21538549661636353,
0.19394530355930328,... |
AddTagsToResourceRequest mocks base method | [
-0.4878361225128174,
0.045601293444633484,
0.017583582550287247,
-0.24394391477108002,
1.25816011428833,
0.053700365126132965,
-0.0009667029371485114,
-1.0389727354049683,
-0.37452495098114014,
-0.5101941823959351,
-0.009354966692626476,
-1.6152496337890625,
-0.5878638625144958,
1.26946306... |
AddTagsToResourceRequest indicates an expected call of AddTagsToResourceRequest | [
-0.3422452509403229,
0.7167096138000488,
0.23760205507278442,
-0.5498791933059692,
0.10165060311555862,
0.5008991956710815,
-0.7064138054847717,
-0.8323055505752563,
0.8216536641120911,
-0.31552839279174805,
0.5197533369064331,
-0.16181544959545135,
-0.13293038308620453,
0.740714967250824,... |
AddTagsToResourceWithContext mocks base method | [
0.5238146781921387,
-0.08066414296627045,
0.23483750224113464,
-0.18602384626865387,
0.2892760932445526,
0.34101352095603943,
-0.5545260906219482,
-1.4263628721237183,
0.38176214694976807,
-0.4810604453086853,
-0.45360809564590454,
-1.3391449451446533,
-0.6766460537910461,
0.68256360292434... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.