text stringlengths 7 2.39k | embedding listlengths 768 768 |
|---|---|
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,
... |
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... |
NewCatalogTierPriceStorageV1ReplacePutParams creates a new CatalogTierPriceStorageV1ReplacePutParams object with the default values initialized. | [
-0.42410001158714294,
-0.43176451325416565,
0.5574150681495667,
-0.18315047025680542,
-0.16154533624649048,
-0.6421850919723511,
0.29892027378082275,
1.2908132076263428,
-0.8809432983398438,
0.7325705885887146,
-0.010902037844061852,
-0.0794718861579895,
-0.7904657125473022,
-0.77032905817... |
NewCatalogTierPriceStorageV1ReplacePutParamsWithTimeout creates a new CatalogTierPriceStorageV1ReplacePutParams object with the default values initialized, and the ability to set a timeout on a request | [
0.36526933312416077,
-0.41856610774993896,
0.5788164138793945,
-0.2126932293176651,
-0.5633695125579834,
-0.21278098225593567,
-0.3219930827617645,
1.1657192707061768,
-0.8559933304786682,
1.3445042371749878,
-0.037255749106407166,
0.034628383815288544,
-0.7707031965255737,
-0.444186359643... |
NewCatalogTierPriceStorageV1ReplacePutParamsWithContext creates a new CatalogTierPriceStorageV1ReplacePutParams object with the default values initialized, and the ability to set a context for a request | [
-0.16856394708156586,
-0.25243207812309265,
0.6946589350700378,
-0.6107441782951355,
-0.43896254897117615,
-0.2174714058637619,
-0.1299869567155838,
0.6850003600120544,
-0.4183990955352783,
1.080881118774414,
0.014241374097764492,
0.041371993720531464,
-0.6602748036384583,
-0.7592605352401... |
NewCatalogTierPriceStorageV1ReplacePutParamsWithHTTPClient creates a new CatalogTierPriceStorageV1ReplacePutParams object with the default values initialized, and the ability to set a custom HTTPClient for a request | [
-0.20035427808761597,
-0.49746835231781006,
0.5982180237770081,
-0.4411926567554474,
-0.1883506029844284,
-0.12018812447786331,
0.308586061000824,
1.1752381324768066,
-1.306152105331421,
0.6294647455215454,
-0.2526710629463196,
0.035495735704898834,
-0.5033974051475525,
-0.642090380191803,... |
WithTimeout adds the timeout to the catalog tier price storage v1 replace put params | [
0.004960248246788979,
-0.40322816371917725,
0.16779622435569763,
-1.029083251953125,
-0.6188364028930664,
-0.6417918801307678,
-0.3278195559978485,
0.9125245809555054,
-0.5849544405937195,
1.4046707153320312,
-0.07271977514028549,
0.4541670083999634,
-0.3901825249195099,
-1.322856307029724... |
SetTimeout adds the timeout to the catalog tier price storage v1 replace put params | [
-0.39905664324760437,
-0.04429920017719269,
0.1821456402540207,
-0.9284817576408386,
-0.11835826188325882,
-0.22992870211601257,
-0.11288413405418396,
1.1240180730819702,
-0.7365767359733582,
1.4027115106582642,
0.00298934243619442,
0.627712070941925,
-0.6270646452903748,
-1.34368693828582... |
WithContext adds the context to the catalog tier price storage v1 replace put params | [
-0.3501293361186981,
-0.2034582793712616,
0.2140098512172699,
-1.1755191087722778,
-0.66765958070755,
-0.5982213616371155,
-0.4515164792537689,
0.2876468002796173,
-0.1317845731973648,
1.0058650970458984,
-0.2949545085430145,
0.4901650846004486,
-0.5670273303985596,
-1.501635193824768,
-... |
SetContext adds the context to the catalog tier price storage v1 replace put params | [
-0.5862882733345032,
0.12380405515432358,
0.23199231922626495,
-0.8651103973388672,
-0.06369093060493469,
-0.380300909280777,
-0.2308230996131897,
0.6385911107063293,
-0.07016861438751221,
1.0265750885009766,
-0.27399253845214844,
0.8748582005500793,
-0.6561594009399414,
-1.290040373802185... |
WithHTTPClient adds the HTTPClient to the catalog tier price storage v1 replace put params | [
-0.263043075799942,
-0.5639996528625488,
0.21973125636577606,
-1.024793267250061,
-0.40049219131469727,
-0.42320525646209717,
-0.3135165572166443,
0.5419780611991882,
-0.8259686827659607,
0.23609638214111328,
-0.17679813504219055,
0.5848153829574585,
-0.5380114316940308,
-1.232224702835083... |
SetHTTPClient adds the HTTPClient to the catalog tier price storage v1 replace put params | [
-0.2513284385204315,
-0.40321263670921326,
0.14672894775867462,
-0.9804214239120483,
-0.10848301649093628,
-0.15051229298114777,
-0.2757225036621094,
0.40258893370628357,
-1.2507350444793701,
0.19607843458652496,
-0.31138095259666443,
0.6569691896438599,
-0.6969563364982605,
-1.60259497165... |
WithCatalogTierPriceStorageV1ReplacePutBody adds the catalogTierPriceStorageV1ReplacePutBody to the catalog tier price storage v1 replace put params | [
-0.5664201378822327,
-0.38054993748664856,
0.6461865901947021,
-0.6508325338363647,
-0.5145933628082275,
-0.3930716812610626,
-0.10577192902565002,
0.8527523279190063,
-0.07302552461624146,
1.0102870464324951,
0.21391868591308594,
0.14331132173538208,
-0.5942001342773438,
-1.14554095268249... |
SetCatalogTierPriceStorageV1ReplacePutBody adds the catalogTierPriceStorageV1ReplacePutBody to the catalog tier price storage v1 replace put params | [
-0.5099900364875793,
-0.3216257691383362,
0.629281222820282,
-0.6951497197151184,
-0.4328804016113281,
-0.30847570300102234,
-0.047509875148534775,
0.7423099875450134,
-0.19168387353420258,
0.9618287086486816,
0.03170463815331459,
0.2372620552778244,
-0.672823965549469,
-1.091383457183838,... |
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... |
NewPrivilegedSignupStatusItemRequestBuilderInternal instantiates a new PrivilegedSignupStatusItemRequestBuilder and sets the default values. | [
-0.46707606315612793,
-0.09839646518230438,
0.478820264339447,
0.8473294377326965,
-0.5869571566581726,
1.278693675994873,
-0.05583644285798073,
1.4777719974517822,
0.02098764292895794,
-0.9039340615272522,
-0.385880708694458,
-0.36684152483940125,
-0.7125595808029175,
0.4357312321662903,
... |
NewPrivilegedSignupStatusItemRequestBuilder instantiates a new PrivilegedSignupStatusItemRequestBuilder and sets the default values. | [
-0.3103300631046295,
0.15788714587688446,
0.3852001130580902,
1.6012017726898193,
-0.13578423857688904,
0.8149322867393494,
-0.4864572584629059,
1.4384549856185913,
0.33784934878349304,
-1.2324212789535522,
-0.11417346447706223,
-0.6698513031005859,
-0.40127408504486084,
0.1461192071437835... |
Delete delete entity from privilegedSignupStatus | [
0.5018568634986877,
0.09301262348890305,
0.4300914704799652,
0.15776953101158142,
-0.26083388924598694,
0.546074628829956,
-0.5866448879241943,
1.6524361371994019,
0.6403212547302246,
0.686733603477478,
0.07388465106487274,
-0.9528893232345581,
-0.6264947652816772,
0.12783971428871155,
-... |
Get get entity from privilegedSignupStatus by key | [
-0.8300740718841553,
-0.23142370581626892,
0.4179440438747406,
0.008750001899898052,
-0.3669586777687073,
0.024183254688978195,
-1.1925997734069824,
0.9747082591056824,
-0.25678718090057373,
1.1819698810577393,
0.13841617107391357,
-0.7915023565292358,
-0.10851646959781647,
-0.390287011861... |
Patch update entity in privilegedSignupStatus | [
-0.8822881579399109,
-0.6969186663627625,
0.2444501370191574,
-0.20225559175014496,
-1.0899429321289062,
1.1396772861480713,
-0.5303510427474976,
1.4990490674972534,
0.7782153487205505,
0.5873645544052124,
-0.37403973937034607,
-0.6501852869987488,
-0.17937736213207245,
-0.3479197025299072... |
ToDeleteRequestInformation delete entity from privilegedSignupStatus | [
-0.5150297284126282,
-0.283223956823349,
0.5055205225944519,
-0.6525136232376099,
-0.29071861505508423,
0.26796236634254456,
-0.8283503651618958,
1.0381903648376465,
0.5183597207069397,
0.057855118066072464,
0.0904306024312973,
-0.5127108097076416,
0.3332133889198303,
0.33928459882736206,
... |
ToGetRequestInformation get entity from privilegedSignupStatus by key | [
-1.548075795173645,
-0.17967070639133453,
0.39954471588134766,
-0.2230958193540573,
-0.2808428406715393,
-0.16664516925811768,
-1.0005602836608887,
0.25969767570495605,
-0.07019361108541489,
0.5527104735374451,
0.33681610226631165,
-0.6966109871864319,
0.1732269674539566,
-0.16272886097431... |
ToPatchRequestInformation update entity in privilegedSignupStatus | [
-1.3705815076828003,
-0.34590867161750793,
0.31948840618133545,
-0.5382592082023621,
-0.5686251521110535,
0.3854694366455078,
-0.2395085245370865,
0.3561972677707672,
-0.13133305311203003,
0.49484556913375854,
0.11717937886714935,
-0.5951436758041382,
0.4975278079509735,
-0.574751436710357... |
typhaAutoscalerPeriod is an option that sets a custom sync period for the Typha autoscaler. | [
0.12051660567522049,
-0.44242411851882935,
0.5293380618095398,
-0.11165762692689896,
-0.46346718072891235,
0.6561866402626038,
0.15016886591911316,
-0.6803300380706787,
-0.07166003435850143,
0.8576651811599731,
-0.06179175153374672,
0.5868824124336243,
0.7257915139198303,
-0.03957208991050... |
newTyphaAutoscaler creates a new Typha autoscaler, optionally applying any options to the default autoscaler instance. The default sync period is 2 minutes. | [
-0.45479264855384827,
-0.34180203080177307,
0.6024566888809204,
0.39803433418273926,
-0.11147097498178482,
-0.8512446880340576,
-0.40191197395324707,
-0.595483660697937,
-0.6093608736991882,
-0.36924752593040466,
-1.6851633787155151,
0.006990870926529169,
0.15266041457653046,
0.59498864412... |
getExpectedReplicas gets the number of replicas expected for a given node number. | [
-1.0287891626358032,
1.4475131034851074,
0.6583146452903748,
-0.8890273571014404,
-0.5345024466514587,
-0.7059645652770996,
0.5156805515289307,
0.993760347366333,
0.38047805428504944,
-0.26227813959121704,
-0.5338506698608398,
0.7343083620071411,
0.4290452003479004,
-0.4028698801994324,
... |
run starts the Typha autoscaler, updating the Typha deployment's replica count every sync period. | [
-0.6413300633430481,
-0.5031198263168335,
0.4183183014392853,
-0.23515091836452484,
-0.37778913974761963,
-0.10148217529058456,
0.6978549957275391,
0.12215116620063782,
-0.27368947863578796,
0.31405285000801086,
-0.5028625726699829,
1.0790163278579712,
0.7544213533401489,
0.124638929963111... |
updateReplicas updates the Typha deployment to the expected replicas if the current replica count differs. | [
-1.6306239366531372,
-0.173871710896492,
0.3394536077976227,
-0.5768134593963623,
-0.030150054022669792,
0.15557551383972168,
0.6766343116760254,
0.5111232399940491,
0.8683369755744934,
1.1696926355361938,
0.46704262495040894,
0.6826120615005493,
-0.22068023681640625,
-0.3932274878025055,
... |
getNumberOfNodes returns the count of schedulable nodes. | [
-0.11316689848899841,
1.305374264717102,
0.44981271028518677,
0.13175779581069946,
0.19589881598949432,
-0.39986616373062134,
0.21586571633815765,
0.5244247913360596,
-0.16352345049381256,
0.16332611441612244,
-0.7819806337356567,
0.5271123647689819,
0.38039690256118774,
-0.714429616928100... |
Get devuelve el valor del campo si existe, tipo string | [
-0.33542290329933167,
0.15909461677074432,
0.6802991032600403,
-0.18477873504161835,
0.8839283585548401,
0.9235334992408752,
-1.518778920173645,
-0.9333544969558716,
-0.10230564326047897,
0.4102080762386322,
0.7758452892303467,
0.4887735843658447,
-0.5754822492599487,
-0.17480164766311646,... |
GetInt devuelve el valor del campo si existe, tipo int | [
0.13956519961357117,
1.0756816864013672,
0.7126296758651733,
-0.2061414271593094,
1.081869125366211,
0.6761565208435059,
-0.5817958116531372,
-0.9502509832382202,
-0.6166150569915771,
0.21088001132011414,
0.07317419350147247,
-0.09062027931213379,
-1.0570933818817139,
0.042405061423778534,... |
GetFloat devuelve el valor del campo si existe, tipo float64 | [
0.6617541313171387,
1.4666197299957275,
0.6572919487953186,
1.023568034172058,
1.6303026676177979,
0.11823132634162903,
-0.5859378576278687,
-0.6132960915565491,
-0.0877021923661232,
-0.8278301954269409,
0.8671668171882629,
0.025460630655288696,
-0.6001237630844116,
0.8425478339195251,
-... |
GetBool devuelve el valor del campo si existe, tipo bool | [
-0.07708905637264252,
0.8951801657676697,
0.762272298336029,
1.1908661127090454,
1.5576112270355225,
1.4802134037017822,
-0.5415936708450317,
-0.39631256461143494,
-0.6459152698516846,
0.9669140577316284,
-0.16500551998615265,
0.21625572443008423,
-0.4777110517024994,
-0.9653865098953247,
... |
GetSliceString devuelve el valor del campo si existe, tipo []string | [
-0.017534852027893066,
-0.021637022495269775,
0.601176381111145,
0.5732743144035339,
0.9423169493675232,
-0.08147946745157242,
-0.7098645567893982,
-1.1720722913742065,
-0.06906552612781525,
1.1379292011260986,
1.063248872756958,
0.5172484517097473,
-0.7958589792251587,
0.286219984292984,
... |
Generates a template for the page and writes it. | [
-1.054673671722412,
0.15316876769065857,
0.30237945914268494,
0.031489498913288116,
1.0418388843536377,
-0.4248695373535156,
0.2811794877052307,
1.2681936025619507,
-0.5010859966278076,
-0.07969564944505692,
-0.26599571108818054,
-1.773325800895691,
0.003572368761524558,
-0.186719164252281... |
Handles the front page of the site. | [
0.32337838411331177,
0.8310903906822205,
0.20743006467819214,
0.4240051805973053,
0.7783851623535156,
-0.11079247295856476,
0.7495651245117188,
-0.28258922696113586,
0.6298195123672485,
-0.6216071844100952,
0.2659302353858948,
0.043472375720739365,
0.27453863620758057,
0.7308792471885681,
... |
Handles the account page of the site. | [
-0.012298978865146637,
0.43306270241737366,
0.30451875925064087,
1.2247278690338135,
0.9631741642951965,
-0.8872268795967102,
2.122884750366211,
0.045364461839199066,
0.6352040767669678,
-0.48648375272750854,
0.8123043775558472,
-0.08864195644855499,
0.8462812900543213,
-0.0627795830368995... |
Handles a single file, such as robots, favicon, sitemap. Adapted from | [
-0.19053494930267334,
-0.16054469347000122,
0.18107430636882782,
1.0859826803207397,
0.20630350708961487,
-0.22008788585662842,
1.2130661010742188,
0.910530686378479,
0.1382606476545334,
-1.0714601278305054,
-0.03159453347325325,
-0.780070960521698,
0.3400457203388214,
0.6571301221847534,
... |
Gets the data submitted from sign up. Encrypts the password and creates a new user account. | [
-0.4746127426624298,
0.37972840666770935,
0.3646381199359894,
1.6514909267425537,
0.30127063393592834,
0.16310390830039978,
0.3228897452354431,
-0.23420172929763794,
0.15915940701961517,
-0.004675034899264574,
-1.4092988967895508,
-0.2890182137489319,
-0.1880560666322708,
-0.48121666908264... |
NewClient returns a new wrapped cloud.google.com/go/pubsub.Client that uses provided instana.Sensor to trace the publish/receive operations. See for further details on wrapped method. | [
0.46003270149230957,
0.1527547687292099,
0.1612875759601593,
0.2964555621147156,
0.41652071475982666,
0.5902687311172485,
0.6592317819595337,
-1.224138617515564,
0.033408477902412415,
-0.7050216197967529,
0.934322714805603,
0.9972550868988037,
0.1382715106010437,
-0.4648215174674988,
0.6... |
CreateTopic calls CreateTopic() of underlying Client and wraps the returned topic. See for further details on wrapped method. | [
-0.17867818474769592,
0.24830752611160278,
0.07647006958723068,
0.07984822988510132,
0.34678149223327637,
0.7553969621658325,
-0.11778083443641663,
-1.4776328802108765,
-0.1868685632944107,
-0.7037985920906067,
0.9074073433876038,
0.5668070316314697,
0.3325096368789673,
-0.4076581597328186... |
CreateTopicWithConfig calls CreateTopicWithConfig() of underlying Client and wraps returned topic. See for further details on wrapped method. | [
0.03396478667855263,
0.16584229469299316,
-0.018272725865244865,
0.2966354787349701,
-0.13604126870632172,
0.6057034134864807,
-0.26138168573379517,
-1.1954913139343262,
-0.17054638266563416,
-0.19345398247241974,
0.15886017680168152,
-0.022232312709093094,
0.7501900792121887,
-0.096039459... |
Topic calls Topic() of underlying Client and wraps the returned topic. See for further details on wrapped method. | [
-0.5483089685440063,
-0.03725060820579529,
0.08369225263595581,
0.18947076797485352,
-0.21504275500774384,
0.23957107961177826,
0.041932422667741776,
-1.2923603057861328,
0.33376041054725647,
-0.4337649941444397,
1.414235234260559,
0.8597797155380249,
0.6906867027282715,
-0.519279122352600... |
TopicInProject calls TopicInProject() of underlying Client and wraps the returned topic. See for further details on wrapped method. | [
-0.5964176058769226,
-0.14176832139492035,
0.15516166388988495,
0.3435017466545105,
-0.5745643973350525,
1.186869502067566,
0.24421174824237823,
-1.2218222618103027,
-0.7158462405204773,
-0.17203401029109955,
1.3898662328720093,
0.7303985953330994,
-0.19681598246097565,
-0.4662347733974457... |
Topics calls Topics() of underlying Client and wraps the returned topic iterator. See for further details on wrapped method. | [
-0.7128674387931824,
-0.7761370539665222,
0.19884023070335388,
-0.33187979459762573,
-0.6566152572631836,
0.32882750034332275,
-0.39141616225242615,
-1.552728533744812,
-0.015240058302879333,
-0.4172246754169464,
1.0854911804199219,
0.4642132520675659,
0.5230205655097961,
-0.32373258471488... |
CreateSubscription calls CreateSubscription() of underlying Client and wraps the returned subscription. See for further details on wrapped method. | [
-0.045020319521427155,
-0.027099261060357094,
0.1967473328113556,
0.6945286393165588,
-0.06320904195308685,
-0.16667833924293518,
-0.020016087219119072,
-1.563615083694458,
0.3450639843940735,
-0.896742582321167,
-0.18677087128162384,
0.3688497841358185,
0.17227201163768768,
-0.19156304001... |
Subscription calls Subscription() of underlying Client and wraps the returned subscription. See for further details on wrapped method. | [
-0.48117566108703613,
-0.44541117548942566,
0.25156283378601074,
0.7014121413230896,
-0.8352925777435303,
-0.3111870288848877,
-0.17934858798980713,
-1.5628154277801514,
0.5555412173271179,
-0.8004659414291382,
-0.10630518198013306,
0.759513795375824,
0.7446498274803162,
-0.547960579395294... |
SubscriptionInProject calls SubscriptionInProject() of underlying Client and wraps the returned subscription. See for further details on wrapped method. | [
-0.1935306340456009,
-0.2039640247821808,
0.3828386068344116,
0.9659139513969421,
-0.9267817139625549,
0.5508769154548645,
-0.18681226670742035,
-1.4335459470748901,
-0.3955582082271576,
-0.3464360535144806,
0.36208611726760864,
0.7595177888870239,
0.25078660249710083,
-0.6075998544692993,... |
Subscriptions calls Subscriptions() of underlying Client and wraps the returned subscription iterator. See for further details on wrapped method. | [
-0.6871441006660461,
-0.3869325518608093,
0.37872540950775146,
0.23468777537345886,
-0.8501618504524231,
-0.44442102313041687,
-0.42911720275878906,
-1.647702932357788,
0.11304960399866104,
-0.5645706057548523,
0.7713422775268555,
0.8171569108963013,
0.7134656310081482,
-0.1230472102761268... |
ReadResponse reads a server response into the received o. | [
0.25364649295806885,
-0.5319308042526245,
0.4260268807411194,
0.2506508529186249,
-0.4224816560745239,
-1.1332027912139893,
-0.15423856675624847,
-0.6475801467895508,
0.9560375809669495,
-0.19656100869178772,
-0.45770564675331116,
-0.038310706615448,
-0.24323724210262299,
-1.24157392978668... |
NewProjectProjectActivityGetOK creates a ProjectProjectActivityGetOK with default headers values | [
0.9467968344688416,
-1.130271553993225,
0.062071118503808975,
1.6406164169311523,
0.5970257520675659,
0.9153603315353394,
0.837921142578125,
-0.9087470769882202,
-0.5484804511070251,
-0.04203001782298088,
0.40259701013565063,
-0.8853450417518616,
-0.5869143009185791,
-1.4594262838363647,
... |
SleepTicks should sleep for specific number of microseconds. | [
1.388983964920044,
0.9116501808166504,
0.34157469868659973,
1.2198543548583984,
-0.8205776810646057,
0.27650970220565796,
0.913069486618042,
-0.6139539480209351,
0.08430152386426926,
-1.1643122434616089,
-0.30241745710372925,
-0.6571868062019348,
0.290757954120636,
-1.0925092697143555,
-... |
Number of ticks (microseconds) since start. | [
1.5846420526504517,
1.0347588062286377,
0.18093866109848022,
0.31318581104278564,
-0.7695086598396301,
-0.7784475684165955,
1.1886627674102783,
0.4054550528526306,
-0.3035658001899719,
-0.3323761224746704,
-0.7322933673858643,
0.3356323838233948,
0.24605555832386017,
-0.7213985919952393,
... |
updateCurrentVote is called every time we send out a different vote | [
0.21679316461086273,
-1.8437217473983765,
0.26383233070373535,
0.5252416729927063,
-0.14416095614433289,
0.30818700790405273,
-1.2152361869812012,
0.36154887080192566,
-0.5802025198936462,
1.0477722883224487,
0.2636027932167053,
0.9863682389259338,
-0.9807412028312683,
0.466957688331604,
... |
addVote adds the proposal vote without acting upon it. Returns true if it is new | [
-0.46556153893470764,
0.8065940737724304,
0.6638005375862122,
0.45862579345703125,
0.5531278252601624,
0.8179140090942383,
-1.3416361808776855,
-0.43722230195999146,
0.25396543741226196,
-0.07424197345972061,
-0.06450430303812027,
-1.0974138975143433,
-1.6851173639297485,
0.059541940689086... |
getRank0Vote will return a rank 0 vote if one can be cast and is better than the current | [
-0.3300417363643646,
-0.9533023238182068,
0.20602643489837646,
0.3870801031589508,
0.6170449256896973,
0.038813527673482895,
-0.15526847541332245,
0.28931862115859985,
0.18859966099262238,
-0.3438636362552643,
0.7874239087104797,
1.3290575742721558,
-0.8585359454154968,
1.0741232633590698,... |
executeDisplay will add to the display if the display is not nil | [
0.8761279582977295,
-0.16107231378555298,
0.8473952412605286,
0.6980777978897095,
0.5864962339401245,
0.5061134099960327,
-0.0323311872780323,
-0.546170175075531,
0.8744354844093323,
-0.011675250716507435,
0.6005934476852417,
0.09395817667245865,
-0.5452256798744202,
1.356441617012024,
0... |
executeLeaderLevelMessage will add all the messages contained, then act upon the messge and come up with a response | [
-0.5141978859901428,
-0.7282900810241699,
0.5396255254745483,
-0.20456138253211975,
1.4384469985961914,
0.28214704990386963,
-0.09479095041751862,
-0.3752202093601227,
0.49796435236930847,
-0.20154954493045807,
-0.030366357415914536,
-0.44731947779655457,
-1.8085377216339111,
0.87922465801... |
addLeaderLevelMessage will add the msg to our lists, but not act upon it. | [
-0.11289259046316147,
0.10400692373514175,
0.375392347574234,
-0.08492902666330338,
0.692689061164856,
0.9137477874755859,
-0.4669596254825592,
-0.1585298329591751,
0.7036981582641602,
-1.1103521585464478,
-1.080662488937378,
0.17789959907531738,
-1.8072971105575562,
1.6918113231658936,
... |
commitIfLast will mark the messages as committed if the correct criteria are met | [
0.2861369252204895,
0.03939364477992058,
0.7829906940460205,
0.06537862122058868,
1.3526408672332764,
-0.07799158990383148,
0.4285559058189392,
-0.738257646560669,
-0.6314829587936401,
1.014608383178711,
0.8770883679389954,
-0.05295600742101669,
-1.8551504611968994,
0.931747317314148,
-1... |
Display & Normalization Stuff | [
0.8428791165351868,
-0.7943064570426941,
-0.16517271101474762,
0.8126746416091919,
-1.7646254301071167,
-0.2632008492946625,
1.3635305166244507,
-0.1628265380859375,
0.715925395488739,
0.22024467587471008,
1.047820806503296,
-0.013492196798324585,
-0.14641223847866058,
0.719976007938385,
... |
AddDisplay takes a global tracker. Send nil if you don't care about a global state | [
0.1727512925863266,
0.877053439617157,
0.7290433645248413,
0.8121063709259033,
-0.37863922119140625,
0.7998939156532288,
0.035158880054950714,
-1.3400534391403198,
0.6990031599998474,
-0.8589577674865723,
0.11294765025377274,
0.30274519324302673,
-0.8639995455741882,
1.0953882932662964,
... |
Name returns the command's name: the first word in the Usage line. | [
0.03838372975587845,
-0.4856177866458893,
0.7819355130195618,
-0.020247384905815125,
0.757020115852356,
-0.41196632385253906,
0.12766078114509583,
-0.30791544914245605,
0.11415311694145203,
0.3029738664627075,
0.328329473733902,
0.4398517310619354,
0.2138536274433136,
0.44544994831085205,
... |
SetOutput sets the destination for Usage and error messages. If output is nil, os.Stderr is used. | [
0.1975529044866562,
-0.1267695128917694,
0.5031184554100037,
0.47896379232406616,
-0.4881197214126587,
-0.7403011322021484,
0.40689435601234436,
0.062097836285829544,
-0.3081998825073242,
-0.511005163192749,
0.6872928142547607,
0.49528712034225464,
0.7045565843582153,
0.33615660667419434,
... |
Out returns the out writer of the current command. If cmd.output is nil, os.Stderr is used. | [
0.8673332929611206,
-0.7573116421699524,
0.5096474289894104,
0.4682823419570923,
-0.20352070033550262,
-0.9034011363983154,
0.9888556599617004,
0.06323879957199097,
-0.24558717012405396,
-0.6255499720573425,
1.9035158157348633,
0.22453629970550537,
0.03993989899754524,
0.9821169972419739,
... |
Usage puts out the Usage for the command. | [
0.2874409258365631,
0.22741681337356567,
0.4976407587528229,
-0.15140505135059357,
0.9171631932258606,
-0.4684484899044037,
1.015925407409668,
-0.01682298816740513,
-0.5303024649620056,
-0.0851600393652916,
0.5539358258247375,
1.3882848024368286,
0.4105978012084961,
1.227522373199463,
0.... |
Runnable reports whether the command can be run; otherwise it is a documentation pseudocommand such as import path. | [
-0.16964958608150482,
-0.27929267287254333,
0.6696721315383911,
0.9161957502365112,
0.0007713412633165717,
0.9577926397323608,
0.7242758274078369,
0.4485853314399719,
0.26397570967674255,
-0.5343357920646667,
-0.4016948938369751,
0.0889158844947815,
-0.49254411458969116,
0.0156779102981090... |
Options return all options of command. | [
0.19565756618976593,
-0.39920130372047424,
0.3376360237598419,
0.9292416572570801,
1.6442925930023193,
-0.13106566667556763,
-0.9642742872238159,
-0.7635828256607056,
0.5666744112968445,
-0.20520468056201935,
0.0027252989821135998,
0.38177892565727234,
-0.18147484958171844,
1.1737641096115... |
GetRawResponse return Golang native response | [
-0.3479267954826355,
-0.5226489305496216,
0.47430387139320374,
-0.45187461376190186,
-0.8530003428459167,
-0.3499194383621216,
-0.19154536724090576,
-0.3671591281890869,
0.6245279312133789,
-0.745676577091217,
-1.1989895105361938,
-0.4680233895778656,
-0.2287665754556656,
-0.79185467958450... |
Load the contents of the body into the cache first To support multiple reads, cache the contents of the body | [
-0.4702979624271393,
0.6371322870254517,
0.6809487342834473,
-0.3440324366092682,
-0.13932804763317108,
-0.3303277790546417,
-1.3247414827346802,
-0.4097211956977844,
0.5143091082572937,
0.08124604821205139,
0.0724499374628067,
0.1233561635017395,
-0.5188533663749695,
0.46436429023742676,
... |
ToString convert body([]bytes) to string | [
-0.6529330015182495,
-0.8954271674156189,
0.35880738496780396,
-0.6064087152481079,
0.4031858444213867,
0.7852225303649902,
-0.8134802579879761,
-1.435739278793335,
1.2736226320266724,
0.03900764882564545,
-1.04795503616333,
0.3894582986831665,
-0.9801695346832275,
-0.044271983206272125,
... |
Get the http status code | [
0.5135499835014343,
-0.6306344270706177,
0.3832917809486389,
0.8392653465270996,
0.3078206181526184,
0.23747281730175018,
-0.571771502494812,
1.0101712942123413,
-0.179986834526062,
-0.2791014611721039,
-0.6799341440200806,
0.24253645539283752,
0.30057236552238464,
0.012920200824737549,
... |
Get http protocol information, such as "HTTP/1.0" | [
0.11848971992731094,
-0.3706148564815521,
0.3724502623081207,
0.3491019606590271,
-0.41604119539260864,
0.6367396116256714,
0.029076317325234413,
-0.9561039209365845,
-0.18370845913887024,
0.5702204704284668,
-0.5201295614242554,
0.18087449669837952,
-0.4482533037662506,
-0.749097883701324... |
Returns the header information | [
-0.7930561304092407,
-0.9888285398483276,
0.5078903436660767,
-0.18720580637454987,
-0.44563430547714233,
-0.21363770961761475,
-0.7287608981132507,
-0.9076417684555054,
-0.9382830858230591,
0.0005897209048271179,
-0.8089714050292969,
-0.5411185026168823,
-0.27715596556663513,
-1.054932951... |
Determine whether the specified header information included | [
0.5320829153060913,
-0.29303810000419617,
0.5813111066818237,
0.7854725122451782,
-0.8585222959518433,
0.8889476656913757,
-1.07059907913208,
0.3486076593399048,
-0.05345023423433304,
-0.6013443470001221,
-0.0665099024772644,
-0.44100838899612427,
-0.6962888240814209,
0.12906034290790558,
... |
Get all header information | [
-0.3873654007911682,
-1.0588234663009644,
0.3312068581581116,
1.0482001304626465,
0.018590526655316353,
-0.17227892577648163,
-1.4322855472564697,
-1.0094528198242188,
-0.9268355369567871,
-0.17975971102714539,
-0.738879919052124,
-0.41971275210380554,
0.054357171058654785,
0.0112918317317... |
When getting a Response, if the body information has never been read, then the input stream of the body is open and needs to be closed once. | [
-0.1955210268497467,
-0.6731817126274109,
0.6861974000930786,
-0.2634117007255554,
0.2693694233894348,
0.4627041816711426,
0.5144920349121094,
-1.083762288093567,
0.8975148797035217,
-1.5655663013458252,
0.40130969882011414,
-0.24851587414741516,
-0.7898597717285156,
0.3041706383228302,
... |
Set common header value Common header will be included with per request | [
0.4861518144607544,
-0.5522494316101074,
0.4947472810745239,
0.8693822622299194,
0.17350608110427856,
1.6003793478012085,
0.873551070690155,
-0.5700141787528992,
-0.680562436580658,
-0.17232714593410492,
0.3421420454978943,
-0.4586901366710663,
-0.8500807285308838,
0.7610424757003784,
-0... |
Set common header value Common header will be included with per request | [
0.4861518144607544,
-0.5522494316101074,
0.4947472810745239,
0.8693822622299194,
0.17350608110427856,
1.6003793478012085,
0.873551070690155,
-0.5700141787528992,
-0.680562436580658,
-0.17232714593410492,
0.3421420454978943,
-0.4586901366710663,
-0.8500807285308838,
0.7610424757003784,
-0... |
Remove common headers by the key | [
-0.2919846177101135,
-0.07308797538280487,
0.38665494322776794,
0.6782841086387634,
-0.6230568289756775,
-0.30223342776298523,
0.47401803731918335,
-0.7805303931236267,
-0.31340348720550537,
1.3015823364257812,
-0.369850218296051,
-1.4317766427993774,
-1.483945608139038,
-0.573140740394592... |
With dualstack support, if the server is also a dualstack address, the client will do a fallback connection test on the IPv6 address according to the content defined in RFC 6555, and determine whether it needs to downgrade to the IPv4 request according to the delay of the FallbackDelay. | [
-0.13583669066429138,
0.4928094446659088,
0.6279786825180054,
0.7979318499565125,
-0.1687963455915451,
-1.1096159219741821,
0.9226531982421875,
-0.6757920384407043,
0.2663514316082001,
-0.5255011320114136,
-0.1524045467376709,
-0.18032652139663696,
-1.552535057067871,
0.6851634383201599,
... |
Timeout of the connection established? | [
0.550503134727478,
-1.0263969898223877,
0.3699606657028198,
0.06964051723480225,
0.5862402319908142,
0.1423616260290146,
-1.0932362079620361,
0.9938286542892456,
-0.5035621523857117,
0.9429339170455933,
0.7630555629730225,
-0.6695862412452698,
-0.06174428388476372,
-0.04529522359371185,
... |
Set the idle timeout of the keepalive http layer. | [
0.2663930058479309,
-0.8243637681007385,
0.5213406682014465,
-0.4704391360282898,
0.968712329864502,
1.6205589771270752,
-0.33538827300071716,
-0.9696502089500427,
-0.28529390692710876,
0.47152864933013916,
-0.9512731432914734,
-0.2133658230304718,
-0.9578531980514526,
-0.8356152772903442,... |
Timed from the start of the request to send, to the response's head of the service return, timeout setting | [
-0.2850564122200012,
0.16624321043491364,
0.5891793966293335,
-0.4865717887878418,
0.3622012138366699,
-0.39781755208969116,
0.167842298746109,
-1.2022366523742676,
0.053540781140327454,
0.42925867438316345,
-0.2036503553390503,
0.6318305730819702,
-0.612784743309021,
-0.5263640880584717,
... |
For requests with "Expect: 100continue" header information, wait for the server to grant a timeout for the body to send | [
0.5214488506317139,
0.08630688488483429,
0.5358497500419617,
-0.3909553587436676,
-0.06354737281799316,
0.3689730763435364,
-0.21544142067432404,
-0.056688617914915085,
-0.38825133442878723,
1.163316249847412,
-0.14684218168258667,
-0.303974986076355,
0.1614738255739212,
-0.091687843203544... |
Whether to use http keepalive to reuse connections, including http2 | [
-0.22581590712070465,
-1.2743594646453857,
0.6217727065086365,
1.4772989749908447,
-0.1164546087384224,
1.0758317708969116,
-1.4923540353775024,
-1.076807975769043,
-0.09447688609361649,
0.04566044360399246,
-0.43833979964256287,
-0.7831600308418274,
-1.0991535186767578,
-0.562094807624816... |
Set the upper limit of the idle connection of the total connection pool under keepalive | [
-0.8898664712905884,
-1.4432092905044556,
0.9199073910713196,
-0.007629352621734142,
1.1058120727539062,
1.255288004875183,
-0.12950176000595093,
-0.7766876220703125,
0.1757037490606308,
0.5274667143821716,
-0.27662304043769836,
0.06929102540016174,
-1.315863847732544,
-2.0542893409729004,... |
Set the upper limit of the idle connection of the connection pool under keepalive (each domain name is counted separately), MaxIdleConns has a higher priority than MaxIdleConnsPerHost, that is, IdleConnsPerHost is less than the sum of Hosts <= MaxIdleConns | [
-0.8161410093307495,
-0.665459156036377,
0.9127134680747986,
0.0035861786454916,
0.4128599166870117,
1.0277478694915771,
0.052320510149002075,
-0.20032986998558044,
1.0068789720535278,
-0.6921396255493164,
-0.8110065460205078,
0.11105604469776154,
-0.769339919090271,
-0.8036645650863647,
... |
Set the upper limit of all connections for the connection pool under keepalive (each domain name is counted separately), MaxConnsPerHost > MaxIdleConnsPerHost | [
-0.35657626390457153,
-0.6187314391136169,
0.762755811214447,
1.026935338973999,
0.272903174161911,
0.9397709369659424,
0.18318261206150055,
-0.03685944527387619,
0.15111209452152252,
-0.19872258603572845,
-0.33004721999168396,
-0.16805267333984375,
-0.3069779872894287,
-0.5861597657203674... |
Whether to disable compression when requested Compression means bringing the "AcceptEncoding: gzip" header to the request. | [
-0.07285510003566742,
0.4983246922492981,
0.7003909349441528,
0.7931687831878662,
-0.7222167253494263,
0.7191243171691895,
0.6114416122436523,
-0.1666003316640854,
-0.4356319010257721,
-0.13147234916687012,
0.0030637108720839024,
-0.8686735033988953,
-0.9483298063278198,
0.4787426292896271... |
Is it necessary to verify the validity of the certificate for TLS? | [
1.220049500465393,
0.19411753118038177,
0.5176743268966675,
0.46009162068367004,
-0.26347705721855164,
1.12112295627594,
-0.39216840267181396,
0.08814149349927902,
-0.3137386441230774,
0.3679291605949402,
-0.40382102131843567,
-0.15402396023273468,
-0.1152006983757019,
0.3449028730392456,
... |
Set the handshake timeout period for TLS | [
1.353704810142517,
0.22948884963989258,
0.31524932384490967,
-0.5857582688331604,
-0.5744333863258362,
1.3121120929718018,
-0.7333348989486694,
0.6460617184638977,
-0.15373729169368744,
0.6103524565696716,
0.09551204741001129,
-0.8379677534103394,
-0.22717337310314178,
-0.29374557733535767... |
Whether you need to perform performance statistics on http requests, such as dns timeconsuming, etc. | [
0.21005110442638397,
1.165149211883545,
0.47882145643234253,
0.10293449461460114,
0.5947108268737793,
0.3639085292816162,
-0.32037726044654846,
-1.3155890703201294,
0.030434349551796913,
-0.01721125654876232,
-0.4590436816215515,
0.2274366319179535,
-0.03983689472079277,
0.4604105949401855... |
Add a custom cookies jar | [
0.05891003832221031,
-0.4145638644695282,
0.12256991118192673,
1.1410350799560547,
-0.5029099583625793,
-0.6863548755645752,
0.6530755162239075,
0.6855092644691467,
1.1904329061508179,
-0.6768480539321899,
-0.04400693625211716,
0.3828372061252594,
-0.6638912558555603,
0.8553959131240845,
... |
Add a default empty cookies jar | [
-0.4490739703178406,
0.5198421478271484,
0.26830917596817017,
1.2254952192306519,
0.96519535779953,
-0.1313457190990448,
0.7892531156539917,
0.1350555121898651,
0.7193630933761597,
-0.9833015203475952,
-0.21439790725708008,
-0.27097246050834656,
-1.143134593963623,
1.0537099838256836,
-0... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.