text
stringlengths
7
2.39k
embedding
listlengths
768
768
expected frequency 2000000 (5 possible slots over 10000000 runs) boundaries + 5000 test asserts distribution is uniform with a 0.5% error margin
[ 0.19184358417987823, 0.26074567437171936, 0.2896204888820648, 0.036365315318107605, 0.09823758900165558, 0.39453789591789246, 1.3062344789505005, -0.4441063702106476, 0.5611307621002197, -0.758437991142273, 0.2539081871509552, 0.6796462535858154, 0.012123065069317818, 1.1976020336151123, ...
expected frequency 1000000 (10 possible slots over 10000000 runs) boundaries += 3000 test asserts distribution is uniform with a 0.6% error margin
[ 0.5664930939674377, 0.7040958404541016, 0.40787726640701294, -0.08396677672863007, 0.7881081700325012, 0.761355996131897, 0.7068313956260681, 0.005768932402133942, 1.0465662479400635, -0.7356061935424805, 0.47360265254974365, 0.4592866897583008, 0.058029286563396454, 0.9472641944885254, ...
expected frequency 120000 (50 possible slots over 5000000 runs) boundaries += 1500 test asserts distribution is uniform with a 2.5% error margin
[ 0.16521775722503662, 0.4950864613056183, 0.34416458010673523, 0.0837695375084877, 0.09164364635944366, 0.6756291389465332, 1.0052200555801392, -0.2423771768808365, 0.8453370928764343, -0.940890908241272, 0.369638055562973, 0.852028489112854, 0.30046704411506653, 1.0979117155075073, 0.042...
NewGetVersionsOK creates GetVersionsOK with default headers values
[ 0.1927238255739212, 0.1734331250190735, 0.23131749033927917, 1.967352271080017, 0.7281321883201599, -1.3562572002410889, -0.3602203130722046, -0.42547911405563354, -0.2904283106327057, -0.316316694021225, -1.273370385169983, -0.004557725042104721, 0.17045912146568298, 0.0792880654335022, ...
WithPayload adds the payload to the get versions o k response
[ 0.850321888923645, 0.22430115938186646, 0.20944787561893463, 0.17501527070999146, -0.12047812342643738, -0.5103849172592163, -0.713417112827301, -0.72926265001297, 1.2178170680999756, 0.4609014689922333, -0.1943424940109253, -1.3157522678375244, 0.9163450002670288, -0.4981977939605713, -...
SetPayload sets the payload to the get versions o k response
[ 0.5180007815361023, 0.342483788728714, 0.041044652462005615, -0.1085827425122261, 0.18254418671131134, -0.033867448568344116, -0.6077975630760193, -0.568160891532898, 1.0174260139465332, 0.6819631457328796, -0.32746151089668274, -0.7994293570518494, 0.5395781397819519, -0.33876827359199524...
WriteResponse to the client
[ -0.8717347979545593, -0.7780745625495911, 0.015380365774035454, -0.39356377720832825, 1.1630839109420776, -1.0627670288085938, 1.0685327053070068, 0.5656989812850952, 0.39697951078414917, 0.26174265146255493, -0.8017333149909973, -1.1366612911224365, -0.8097872138023376, -0.860233783721923...
RetrieveAll retrieves the lists
[ 0.9978542327880859, -0.08797787129878998, 0.07182731479406357, 0.6833218336105347, 1.2951064109802246, 0.8085588216781616, -1.0407836437225342, 1.1639976501464844, 0.8626869916915894, -1.0291783809661865, -0.687947154045105, -0.5154542922973633, -0.23937305808067322, 1.5094287395477295, ...
Retrieve retrieves the list by hash
[ 0.8375647664070129, -0.09564130008220673, 0.06704653799533844, -0.08966254442930222, 1.3465800285339355, -0.6273296475410461, -1.2248015403747559, 1.0853060483932495, 0.6468042731285095, -0.5333433151245117, -1.0036015510559082, -0.8089926242828369, -0.2962823510169983, 0.47397923469543457...
New creates a new list
[ -0.40519142150878906, -1.4375883340835571, 0.31604868173599243, 0.7683138847351074, 0.24372124671936035, -0.30244505405426025, -1.1216672658920288, 0.1029474064707756, -0.20991916954517365, -0.8272515535354614, -1.8125003576278687, -0.568173885345459, 0.5611529350280762, 1.1203025579452515...
Update updates an existing list
[ -1.5135043859481812, -1.5268625020980835, 0.16248098015785217, 0.622170090675354, -0.1512216329574585, 0.19690066576004028, -1.071282982826233, 1.093054175376892, 1.0962167978286743, 0.6896528005599976, -0.982895016670227, -0.38820138573646545, -0.35760340094566345, 0.2176501303911209, -...
Delete deletes an existing list
[ 0.2794914245605469, -0.3420723080635071, 0.26986485719680786, 0.48960959911346436, 1.1548781394958496, -0.24708351492881775, -0.7858394384384155, 1.704330325126648, 1.109649419784546, 0.749106228351593, -1.07731032371521, 0.025760069489479065, -0.5793476700782776, 0.11830118298530579, -1...
Contacts creates a contacts application instance
[ 0.8034479022026062, -1.7365715503692627, 0.23485611379146576, -0.20648878812789917, -0.3594951033592224, 0.33976536989212036, -0.34922903776168823, -1.075575351715088, 0.8762161135673523, -0.43312937021255493, -0.11868548393249512, -0.9340583682060242, -0.22133901715278625, 0.4061085581779...
NewDatabase returns a new Database.
[ -0.6524088978767395, -0.7849747538566589, -0.004395585972815752, 0.899317741394043, -0.8683319687843323, 0.04955510422587395, -0.8891691565513611, -0.3641915023326874, 0.7218372821807861, -0.9265511631965637, -0.45147377252578735, -0.13928331434726715, -0.6760424375534058, 0.68795108795166...
Close closes all database connections.
[ -0.10560429096221924, 0.09468397498130798, 0.5676678419113159, 0.5074540376663208, 0.42441603541374207, 0.732079267501831, -0.623168408870697, -0.6737068891525269, -0.9448358416557312, 0.2058943808078766, -0.016569871455430984, -0.29121994972229004, -0.7924765944480896, 1.003352165222168, ...
HealthCheck checks whether the database is still around.
[ 0.4218069911003113, -0.7155203223228455, 0.28584861755371094, 0.3141549229621887, 1.1572918891906738, 1.4072482585906982, 0.017353937029838562, 0.8026387691497803, -0.16333453357219696, 0.3817632496356964, 0.26922234892845154, 0.11547853797674179, -0.725283682346344, 0.471913605928421, -...
FindAllFeedRecords finds all the feed records with possible filters for 'provider', 'category' and 'enabled'.
[ 0.7113402485847473, 0.025481028482317924, 0.5014656186103821, 0.7279202938079834, -0.041027169674634933, -0.3232102394104004, -0.5758886337280273, 0.21793977916240692, 0.10715864598751068, 0.3848222494125366, -0.040569670498371124, 0.6229305267333984, -0.5287413597106934, 1.457350373268127...
InsertFeedRecord inserts a new feed record in the database.
[ 0.7536159157752991, 0.7003587484359741, 0.4091476798057556, -0.021663416177034378, 0.793225884437561, 0.3011550307273865, 0.10773512721061707, 0.10016528517007828, -1.1921086311340332, -0.18449902534484863, -0.4285745620727539, -0.22748500108718872, -1.7240864038467407, 1.140010118484497, ...
UpdateFeedState updates a feed enabled field.
[ 0.33734169602394104, -0.3304177522659302, 0.3024400770664215, -0.20364788174629211, -0.8792749047279358, 0.09717576205730438, -0.6954632997512817, 0.5598664283752441, 0.7268703579902649, 0.08591949194669724, -0.7640183568000793, 0.6162309050559998, -0.9977084398269653, -0.10851683467626572...
DeleteFeedState deletes a feed record from the database.
[ 0.9655585885047913, -0.09847387671470642, 0.18363025784492493, -0.26201537251472473, 0.11899565160274506, -0.746902346611023, -0.5249913930892944, 0.13927635550498962, 0.5823745727539062, -0.4373054504394531, -0.1329970359802246, 0.17667730152606964, -0.2772287428379059, 0.2740661501884460...
RunTests runs all arr.ai tests in a given path. It returns an error if the path is invalid, contains no test files or has invalid arr.ai code in any of them.
[ 0.014730569906532764, -0.5871917009353638, 0.7613298892974854, 0.7590005397796631, 0.06024276837706566, 0.18204376101493835, 0.6715570688247681, -0.8996121883392334, -0.059920329600572586, -0.2224835902452469, 0.6805170178413391, 0.03005875274538994, -0.7515060305595398, -0.099934183061122...
getTestFiles finds all _test.arrai files in given path (recursively), reads them and returns a File array with them. It skips over hidden directories. It returns an error if any filesystem operation failed, or if no files were found.
[ -0.15100419521331787, -0.14718052744865417, 0.9891016483306885, 1.0666186809539795, 0.03413322940468788, -0.34174445271492004, 1.1574465036392212, -1.837990641593933, 0.022634724155068398, -0.10083943605422974, 0.7140079140663147, -0.17090050876140594, -0.9797825217247009, 0.18540875613689...
runFile runs all tests in File.Source and fills File.Results and File.WallTime. It returns an error if the arr.ai code failed to evaluate.
[ 0.03262077644467354, 0.5237401127815247, 0.40970903635025024, 0.22963322699069977, 0.7907466292381287, 0.7344847917556763, 1.2324316501617432, -0.22256024181842804, -1.037564992904663, -0.27028095722198486, 0.5045974850654602, -0.4436948597431183, -0.06432072073221207, 1.0800336599349976, ...
RunExpr runs all tests in the provided rel.Expr and returns a slice of Result. It returns an error if the arr.ai code failed to evaluate.
[ -0.5306136608123779, 0.013200621120631695, 0.7387247085571289, 0.8905870914459229, -0.19643698632717133, -0.16926050186157227, 0.5730078220367432, -0.13987047970294952, 0.2614857852458954, -0.060340914875268936, 0.5794265270233154, 0.2054869830608368, -0.6914659142494202, 0.071786724030971...
get etcd clientV3 conn
[ -0.12876763939857483, -0.9659370183944702, 0.05410326272249222, -0.4783787727355957, -0.8034961819648743, 0.8536969423294067, -1.1037068367004395, 0.7020825147628784, -0.15025630593299866, 0.22895212471485138, 0.2132769227027893, 0.7386046648025513, 0.6554004549980164, -1.7401881217956543,...
GetObj returns the object by its index
[ -0.07218432426452637, -0.5255279541015625, 0.29793474078178406, 0.05742131546139717, 0.35111570358276367, 0.34796684980392456, 1.4399067163467407, -0.9899110794067383, -0.46106666326522827, -0.7706290483474731, 0.1670118123292923, 0.4031267762184143, 0.6058518290519714, -1.392133355140686,...
FindObj returns the object by its name
[ 0.3092444837093353, -0.9774728417396545, 0.26561519503593445, 0.12531985342502594, -0.605349600315094, 0.2601229250431061, 1.5793453454971313, -1.423606514930725, -0.22537043690681458, 0.4611741602420807, 0.010590785183012486, -0.7248936891555786, -0.07810913026332855, -0.2763841450214386,...
FindType returns the type object with the specified name
[ -0.000016370415323763154, -0.4489419162273407, 0.31526196002960205, 0.04165187105536461, 0.4838888645172119, -0.34238263964653015, 0.5988208055496216, -2.596726179122925, -0.1575164794921875, 1.0325182676315308, -0.58046954870224, -0.4380393922328949, -1.2489486932754517, -0.08185496181249...
FindConst returns the constant object with the specified name
[ 0.55030757188797, -1.234874963760376, 0.5448728203773499, -0.28019532561302185, -0.7168511748313904, 0.13573536276817322, 0.4056375324726105, -1.3862204551696777, -0.7125056982040405, 1.160514235496521, -0.46839332580566406, -0.24523238837718964, -0.487105131149292, -0.24975550174713135, ...
FindFunc returns the function with the specified name and parameters
[ 1.1835269927978516, -0.5972206592559814, 0.39634382724761963, 0.03161221370100975, 0.3026520609855652, -1.360272765159607, 0.09866279363632202, -0.7826167941093445, -1.074758768081665, 0.4673154354095459, 0.6275351047515869, 0.34402716159820557, -0.08809443563222885, -0.14319278299808502, ...
AddConst appends a constant to NameSpace
[ 0.7587468028068542, -0.22503285109996796, 0.7176612615585327, -0.34230127930641174, -0.4014468193054199, 1.2242876291275024, -1.6011734008789062, -0.582274854183197, 0.7241756319999695, -0.6683931946754456, -0.49803853034973145, 0.4564460217952728, 0.20690195262432098, 0.5934231281280518, ...
AddFunc appends func to NameSpace
[ 0.6891201138496399, 0.3014686405658722, 0.3907129168510437, 0.3704233169555664, 0.4176885187625885, -0.12157143652439117, -0.6696476340293884, -0.6672061681747437, 1.4654364585876465, -1.3144515752792358, 0.1319633275270462, 1.415452003479004, 1.2218645811080933, 1.0898268222808838, -0.3...
New initializes a new TowerClient from the provide Config. An error is returned if the client could not initialized.
[ 0.3844779133796692, -0.7042383551597595, 0.07237540930509567, 0.9958473443984985, 0.034697696566581726, -0.1884630024433136, 0.9137745499610901, -0.21818913519382477, -0.49204161763191223, 0.19026529788970947, -0.991065502166748, 0.1925913393497467, -0.3653777837753296, 0.6167171597480774,...
Start initializes the watchtower client by loading or negotiating an active session and then begins processing backup tasks from the request pipeline.
[ 1.2485342025756836, -0.35372915863990784, 0.31865763664245605, 0.8295804262161255, 0.6722325086593628, -0.7212268114089966, 0.9925881624221802, 0.0530327707529068, -0.0013476753374561667, 0.4183145761489868, -0.488851398229599, 0.5887773633003235, 0.18882499635219574, -0.6209675669670105, ...
Stop idempotently initiates a graceful shutdown of the watchtower client.
[ 0.06050070747733116, 0.48279908299446106, 0.07020018994808197, 0.062499094754457474, 0.09698624908924103, 0.5541402101516724, 1.1217893362045288, -0.41269490122795105, -0.9631338715553284, 0.6189192533493042, -0.312458336353302, 0.37845900654792786, -0.5075351595878601, 0.07692462205886841...
ForceQuit idempotently initiates an unclean shutdown of the watchtower client. This should only be executed if Stop is unable to exit cleanly.
[ 0.11083173751831055, 0.3178820312023163, 0.35453835129737854, -0.49371933937072754, 0.6038345694541931, 1.0721229314804077, 0.5133225917816162, -1.3265628814697266, -1.100367784500122, 0.4162646532058716, 0.3456219434738159, 0.7413833737373352, -0.23557732999324799, 0.2308073788881302, -...
RegisterChannel persistently initializes any channeldependent parameters within the client. This should be called during link startup to ensure that the client is able to support the link during operation.
[ -0.39054805040359497, 0.37832415103912354, 0.26712846755981445, -0.6178665161132812, 1.5335824489593506, -0.1619584709405899, 0.47208431363105774, -0.35614335536956787, -0.44636067748069763, -0.8659404516220093, 0.08153977245092392, 1.1427685022354126, -0.8902381658554077, 0.66397279500961...
BackupState initiates a request to back up a particular revoked state. If the method returns nil, the backup is guaranteed to be successful unless the: client is force quit, justice transaction would create dust outputs when trying to abide by the negotiated policy, or breached outputs contain too little value to sweep...
[ 0.13998669385910034, 0.8133484125137329, 0.7228275537490845, -0.1638515442609787, -0.4651959240436554, 0.08799300342798233, 0.4856068193912506, -0.327266663312912, 0.56100994348526, -0.7016337513923645, 0.026234131306409836, -0.16367720067501068, -0.5740832090377808, -1.0358022451400757, ...
nextSessionQueue attempts to fetch an active session from our set of candidate sessions. Candidate sessions with a differing policy from the active client's advertised policy will be ignored, but may be resumed if the client is restarted with a matching policy. If no candidates were found, nil is returned to signal tha...
[ -0.03459712117910385, -1.4919681549072266, 0.5782232284545898, 0.4550010561943054, -1.0418455600738525, 0.10110991448163986, -0.2593366205692291, -1.1707649230957031, 1.354980230331421, 0.28462037444114685, 0.49496975541114807, 0.6018123030662537, -0.7044234871864319, -0.825608491897583, ...
backupDispatcher processes events coming from the taskPipeline and is responsible for detecting when the client needs to renegotiate a session to fulfill continuing demand. The event loop exits after all tasks have been received from the upstream taskPipeline, or the taskPipeline is force quit. NOTE: This method MUST b...
[ 0.34171995520591736, -0.354736328125, 0.6804088354110718, 0.016664279624819756, -0.06530498713254929, -0.06395619362592697, 0.817328691482544, -0.138410285115242, 0.17079585790634155, 0.0560188926756382, -0.3328048288822174, -0.335094690322876, 0.21655301749706268, -0.21426261961460114, ...
processTask attempts to schedule the given backupTask on the active sessionQueue. The task will either be accepted or rejected, afterwhich the appropriate modifications to the client's state machine will be made. After every invocation of processTask, the caller should ensure that the sessionQueue hasn't been exhausted...
[ 0.32266393303871155, 0.057968828827142715, 0.931990385055542, -0.05117517709732056, -0.9117985367774963, -0.09510909765958786, 0.45579391717910767, -0.2865067422389984, 0.759934663772583, 0.0981643944978714, -0.7631489038467407, 0.380474328994751, -0.18800756335258484, -0.39776530861854553...
taskAccepted processes the acceptance of a task by a sessionQueue depending on the state the sessionQueue is in after the task is added. The client's prevTask is always removed as a result of this call. The client's sessionQueue will be removed if accepting the task left the sessionQueue in an exhausted state.
[ 0.5594360828399658, -0.1872430294752121, 0.7653571963310242, -0.14626610279083252, -1.1954725980758667, -0.08098428696393967, 1.1228114366531372, 0.08343862742185593, 0.273624986410141, 1.2704880237579346, -1.080096960067749, 0.0614282451570034, 0.47052133083343506, 0.6763243675231934, 0...
taskRejected process the rejection of a task by a sessionQueue depending on the state the was in before the task was rejected. The client's prevTask will cache the task if the sessionQueue was exhausted before hand, and nil the sessionQueue to find a new session. If the sessionQueue was not exhausted, the client marks ...
[ 0.3347652852535248, 0.48159924149513245, 0.7295474410057068, -0.21250784397125244, -0.9823057651519775, 0.10644634813070297, 0.2661167085170746, -0.12547780573368073, 0.5988726615905762, 0.40744057297706604, -0.5472022891044617, 0.300618052482605, -0.23035049438476562, -0.3610192537307739,...
dial connects the peer at addr using privKey as our secret key for the connection. The connection will use the configured Net's resolver to resolve the address for either Tor or clear net connections.
[ 0.018417613580822945, -0.04876301437616348, 0.43082037568092346, 0.5595452785491943, 0.5198741555213928, 0.5474202036857605, -1.2668325901031494, 0.407563179731369, 0.5064330697059631, -0.09334111213684082, 0.25763633847236633, 0.42166614532470703, 0.38254469633102417, 0.8200756311416626, ...
readMessage receives and parses the next message from the given Peer. An error is returned if a message is not received before the server's read timeout, the read off the wire failed, or the message could not be deserialized.
[ -0.7979956865310669, 0.5503024458885193, 0.5602656602859497, -0.1192660927772522, -0.13937485218048096, -0.19981227815151215, -0.9970158934593201, -0.648766815662384, -0.20854224264621735, -0.4265436828136444, 1.1269195079803467, 0.13166196644306183, -0.992919385433197, -0.1665871143341064...
sendMessage sends a watchtower wire message to the target peer.
[ -0.19334743916988373, 0.8733875155448914, 0.36568543314933777, 0.3392680287361145, 0.5452420711517334, 0.13875995576381683, -0.44561049342155457, -1.0102893114089966, -0.32416749000549316, 0.9439690113067627, 0.8904441595077515, 0.6175941824913025, -1.5078322887420654, 1.016202449798584, ...
newSessionQueue creates a sessionQueue from a ClientSession loaded from the database and supplying it with the resources needed by the client.
[ 0.14039121568202972, -1.2639234066009521, 0.3297574520111084, 0.5119630098342896, -0.6461789608001709, -0.5710896849632263, 0.03901522606611252, -0.8362431526184082, 1.2085896730422974, 0.5875150561332703, -0.47392380237579346, -0.07184074074029922, 0.7161717414855957, 0.2287420779466629, ...
getOrInitActiveQueue checks the activeSessions set for a sessionQueue for the passed ClientSession. If it exists, the active sessionQueue is returned. Otherwise a new sessionQueue is initialized and added to the set.
[ 0.28232359886169434, -1.6215068101882935, 0.4999021887779236, -0.1505594253540039, 0.219960018992424, -1.0115995407104492, 0.058116935193538666, -0.8424331545829773, 1.7086490392684937, 0.30819085240364075, 0.38058674335479736, 0.13669593632221222, -0.1485203206539154, -0.436710000038147, ...
initActiveQueue creates a new sessionQueue from the passed ClientSession, adds the sessionQueue to the activeSessions set, and starts the sessionQueue so that it can deliver any committed updates or begin accepting newly assigned tasks.
[ 0.6669642329216003, -2.207091808319092, 0.5034867525100708, 0.09510835260152817, -0.589462399482727, -0.3517705500125885, 0.6492224335670471, -0.04367981106042862, 1.3644254207611084, 0.1399238556623459, -0.8293161392211914, 0.11772304028272629, 0.05814467370510101, -0.08765816688537598, ...
logMessage writes information about a message received from a remote peer, using directional prepositions to signal whether the message was sent or received.
[ -1.1761499643325806, -0.09254273772239685, 0.5173826813697815, -1.2486536502838135, 0.6120178699493408, 0.33661583065986633, -0.8357623219490051, -0.23257528245449066, -0.3888971507549286, -0.2568609416484833, -0.7829147577285767, -0.25993743538856506, -0.1007985770702362, 0.45107984542846...
You're given strings J representing the types of stones that are jewels, and S representing the stones you have. Each character in S is a type of stone you have. You want to know how many of the stones you have are also jewels. The letters in J are guaranteed distinct, and all characters in J and S are letters. Letters...
[ -0.0005759288906119764, -0.2554454207420349, 0.6868996024131775, -0.38375765085220337, -0.8370665311813354, -0.9679710268974304, 1.0265774726867676, -0.18249091506004333, 0.23175573348999023, 1.0674344301223755, -0.9997774362564087, 1.6385146379470825, 0.239114448428154, -0.535758197307586...
New create a new cmd for resources not supported
[ 0.2968774437904358, -0.8802540898323059, 0.32005012035369873, 0.5603753924369812, -0.4517430365085602, 0.16004428267478943, 0.4720323085784912, -0.1978127509355545, 0.28880226612091064, -1.530150055885315, 0.49458280205726624, -0.7006315588951111, 0.1989162266254425, 0.9999147653579712, ...
ParseFile parses a config file.
[ 0.4859747290611267, 0.573943555355072, 0.198439821600914, 0.8060989379882812, -0.04579563066363335, 0.0419735312461853, 0.32230719923973083, 1.3088945150375366, -1.9882967472076416, 0.5922585725784302, -0.566940426826477, -1.0448678731918335, 0.11886686831712723, 0.20302142202854156, 0.4...
ParseFiles parses a bunch of config files.
[ -0.5210527181625366, 0.765795111656189, 0.4159981906414032, 1.3304038047790527, 0.3955034613609314, -0.5538241863250732, 0.15024107694625854, 0.8046935200691223, -1.2440414428710938, 0.4885832369327545, -0.6435494422912598, -1.4972684383392334, 0.02334868535399437, 0.8072512745857239, -0...
Handler returns an http.Handler given the handler configuration It mounts all the business logic implementers in the right routing.
[ 0.5747935175895691, 0.6724010705947876, 0.06878683716058731, 1.8036658763885498, 0.17880916595458984, 0.5420870780944824, 0.7332879900932312, -0.375598281621933, -0.17726349830627441, -0.139177143573761, 0.39119547605514526, -0.2760354280471802, 0.04485953599214554, 0.659410834312439, 0....
HandlerAPI returns an http.Handler given the handler configuration and the corresponding Kube4EdgeManagement instance. It mounts all the business logic implementers in the right routing.
[ -0.282269150018692, -0.2860545516014099, 0.253383070230484, 1.4387215375900269, 0.06859228760004044, 0.4439864158630371, 0.31012043356895447, -0.49383795261383057, -0.586731493473053, 0.5443161129951477, 0.5684219002723694, -0.045292388647794724, 0.017060041427612305, 0.15385718643665314, ...
swaggerCopy copies the swagger json to prevent data races in runtime
[ -0.9267275333404541, -1.596339464187622, 0.11796882748603821, -0.26083263754844666, -1.4922763109207153, 0.2831597924232483, 0.07229434698820114, -0.42816561460494995, 0.4084888994693756, 1.2132301330566406, -0.45749256014823914, 1.035976767539978, 0.06915749609470367, -0.45052459836006165...
Push is the binding for libpod's endpoints for push images. Note that `source` must be a referring to an image in the remote's container storage. The destination must be a reference to a registry (i.e., of docker transport or be normalized to one). Other transports are rejected as they do not make sense in a remote con...
[ -0.7502999305725098, 0.5769128203392029, 0.6252970695495605, -0.7668118476867676, -0.36624276638031006, 0.1699289083480835, -0.28646302223205566, -0.34272459149360657, -0.12396472692489624, 0.5705467462539673, -0.6489092707633972, 0.9326229691505432, 0.2116233855485916, -0.0699225217103958...
Returns a database user name and temporary password with temporary authorization to log in to Amazon Redshift Serverless. By default, the temporary credentials expire in 900 seconds. You can optionally specify a duration between 900 seconds (15 minutes) and 3600 seconds (60 minutes). The Identity and Access Management ...
[ 0.31629979610443115, 0.3306153416633606, 0.688029408454895, 0.2033936083316803, -0.2879771590232849, -0.01902739517390728, -0.2158433347940445, -0.4160223603248596, 0.7349383234977722, 0.0537569634616375, -1.0038621425628662, 0.8010851144790649, -0.9572935104370117, -0.13450515270233154, ...
Levels return Levels of ContextHook
[ 0.07309132069349289, -0.039619721472263336, 0.2909594476222992, 1.3669461011886597, 0.7612196803092957, 0.08859323710203171, 0.5348271727561951, -0.6713932156562805, -0.11158750206232071, 0.5074197053909302, -0.4833354949951172, -0.25798267126083374, -0.4822919964790344, 0.2301451563835144...
NewLogger creates New Logger instance.
[ -0.4989085793495178, -0.6775191426277161, 0.08266779780387878, 0.11470786482095718, -0.5716341137886047, -0.4353339672088623, -0.298700213432312, 0.15922699868679047, 0.14986860752105713, -0.9811857342720032, -0.3722289800643921, 0.03865676000714302, -0.7173675894737244, 1.0732102394104004...
Contains returns true if the given string array (haystack) contains given string (needle)
[ 0.6729193925857544, -0.7822145819664001, 0.23895856738090515, 0.20867395401000977, -0.26294106245040894, 0.14808042347431183, -0.8577805757522583, -0.21509401500225067, -0.018299277871847153, 0.3340703248977661, 0.1256112903356552, 0.4270157217979431, -0.0875796303153038, 0.436004549264907...
GetResponse awaits for a response and returns it. Fails if a response hasn't arrived within 1 second.
[ 0.3659185767173767, 0.015275506302714348, 0.5844508409500122, 1.2775102853775024, 0.2204732894897461, -0.8576384782791138, -0.5413478016853333, -1.0027003288269043, -0.07701805233955383, -0.8984820246696472, 0.3275914788246155, -0.6034016013145447, -0.8136374354362488, -0.5493801832199097,...
Equals asserts that the response has the expected status code and body
[ 0.1689090132713318, -1.3244587182998657, 0.3216434717178345, 0.005590513348579407, 1.0286375284194946, 0.7525843381881714, -0.47533780336380005, 0.4930667281150818, 1.452977180480957, -0.5635995268821716, -1.06515634059906, 0.38111329078674316, 0.12973302602767944, -0.09764089435338974, ...
AssertStatusCode asserts that the response has the expected status code
[ 0.5742867588996887, -1.424973964691162, 0.2148410826921463, 0.4845637083053589, 0.9126238822937012, 0.5309929847717285, 0.039348773658275604, 1.2678691148757935, 1.562693476676941, -0.5679120421409607, -0.35534903407096863, -0.11555364727973938, 0.5694619417190552, 0.12723295390605927, 0...
AssertBody asserts that the response has the expected body
[ 0.12074585258960724, -0.74930739402771, 0.34869739413261414, -0.11892309039831161, 1.2463924884796143, 1.2409576177597046, -0.4128837585449219, -0.7016066312789917, 1.924359679222107, -1.0760606527328491, -0.3453700542449951, -0.5552043318748474, -0.24858629703521729, 0.7065669894218445, ...
AssertHeaders asserts that the response includes the expected headers
[ 0.20459818840026855, -0.7054152488708496, 0.3315895199775696, 0.3372124433517456, 0.4293782711029053, 0.5937706232070923, -0.5350589752197266, -0.5656781792640686, 1.2997283935546875, -0.5288245677947998, 0.46126431226730347, -1.3734958171844482, -0.7223631739616394, -0.23545734584331512, ...
AssertMissingHeaders asserts that the response does not include the given headers
[ 0.3135479986667633, -0.43277454376220703, 0.46113866567611694, 0.19838494062423706, -0.006137296557426453, 1.2126121520996094, -0.7864663600921631, -0.9726813435554504, 0.5063769817352295, -0.6112768650054932, -0.3020048141479492, -1.261589765548706, -0.5420543551445007, -0.175854593515396...
BreadthFirstMapAt returns the cost associated to a position in the last computed breadth first map. It returns the last maxCost + 1 if the position is out of range, the same as inrange unreachable positions. BreadthFirstMapAt uses a cached breadth first map, that will be invalidated in case a new one is computed using ...
[ -0.7367748618125916, -0.3485790193080902, 0.6678013205528259, -0.03932134434580803, -0.49565640091896057, -0.7347291111946106, 0.3107956647872925, 0.16135835647583008, 0.9011030793190002, -0.3596799671649933, -0.185712531208992, -0.5779003500938416, -0.05803724378347397, -0.529820382595062...
BreadthFirstMap efficiently computes a map of minimal distance costs from source positions to all the positions in the PathFinder range up to a maximal cost. Other positions will have the value maxCost+1, including unreachable ones. It returns a cached slice of map nodes in increasing cost order. It can be viewed as a ...
[ -1.1045420169830322, -0.040441740304231644, 0.6266051530838013, 0.6047202348709106, -0.236918643116951, -0.5636133551597595, -0.005133356433361769, 0.006849885918200016, 0.6552595496177673, -0.1891474574804306, -0.38176411390304565, -0.13761644065380096, 0.4342626929283142, -0.048312269151...
lepsi by bylo mit pozdrav jako atribut ve strukture, tohle je jen pro demonstraci
[ 0.2601723074913025, -0.5615115165710449, 0.3186694383621216, -0.22721995413303375, -0.6559760570526123, -0.16271847486495972, 1.3600337505340576, 0.3166147470474243, -0.6754642724990845, -0.7466296553611755, -0.4203137159347534, -0.37376946210861206, 1.598597526550293, 0.4576948285102844, ...
TestUpload test object upload
[ -0.5199977159500122, 0.41841188073158264, 0.36222025752067566, 0.8191881775856018, 0.3492257297039032, -0.0750872939825058, 1.2508095502853394, -0.47626227140426636, 0.47540536522865295, 0.0899704322218895, -0.6067183613777161, -1.0146549940109253, -0.85325026512146, -0.8911593556404114, ...
XXX_OneofWrappers is for the internal use of the proto package.
[ -0.8683516383171082, 0.18757401406764984, 0.3127884864807129, 0.32401785254478455, 0.2218254655599594, 0.17011336982250214, 0.1014440506696701, -0.21650563180446625, 1.2567812204360962, -0.36039498448371887, 0.415141224861145, -0.1402573585510254, -0.47066307067871094, 0.3434690535068512, ...
NewProjectService creates an instance of the project service
[ -0.07482069730758667, 0.14741380512714386, 0.027452809736132622, 0.23055391013622284, -0.25013673305511475, 0.4242873787879944, -0.5610719323158264, -0.3669898808002472, -0.2754296362400055, -0.12100320309400558, -0.27545443177223206, -0.1414671242237091, -1.825771450996399, -0.04474042356...
GetAllProjects gets all projects
[ 0.6283180117607117, 0.7037557363510132, 0.3542526960372925, 1.2975258827209473, 0.5048381686210632, 0.4217711389064789, -1.246842384338379, 0.04360887035727501, 0.4070800244808197, -0.5212680697441101, 0.042525675147771835, 0.16297024488449097, -0.6505519151687622, 0.6505144834518433, -0...
GetProjectByID gets a project by id
[ 0.24951516091823578, 0.15055786073207855, 0.03276819735765457, 0.7667704820632935, 0.9733325242996216, -0.1592482477426529, -0.13565658032894135, -0.22353219985961914, -0.07605987042188644, 0.5013978481292725, 0.5451642870903015, -0.3323725461959839, -0.8801715970039368, -0.142009973526000...
Right rightpads the string with pad up to len runes
[ 1.0878098011016846, 0.8371535539627075, 0.5474034547805786, -0.29725202918052673, -0.7724258303642273, 0.45466142892837524, -0.46623843908309937, -1.1934176683425903, 0.8303961157798767, 0.09191682189702988, 0.4084215760231018, 0.11102768778800964, -0.4599272906780243, 0.4935183525085449, ...
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.996992290019989, 0.03853285312652588, 0.9453248977661133, 0.06255493313074112, 0.01808752492070198, 0.2371431440114975, -0.02591199427843094, -0.1570875495672226, 0.014612648636102676, 0.28009703755378723, -0.6403828263282776, 0.8570882678031921, -1.4175975322723389, -0.0913122892379760...
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...
SetMaxUnconfirmedAge provides a mock function with given fields: _a0, _a1
[ -0.6103469729423523, 0.24814999103546143, 0.4696996808052063, -0.24233989417552948, 0.20463596284389496, 0.24825263023376465, 0.40581950545310974, 1.3035588264465332, -0.3837057650089264, -0.28407788276672363, -0.22562149167060852, -0.02770007587969303, 1.0667051076889038, 0.95448774099349...
SetMaxUnconfirmedBlocks provides a mock function with given fields: _a0, _a1
[ -0.1693301647901535, 0.49295929074287415, 0.4668540954589844, 0.1206626370549202, 0.06345047056674957, -0.22799472510814667, 0.7758747339248657, 0.884094774723053, -0.6631271839141846, -0.2072906345129013, -0.875674843788147, 0.4549926221370697, 0.7637770771980286, 0.8888015151023865, 0....
SetPipelineRunsQueued provides a mock function with given fields: n
[ -0.8248684406280518, 0.0887288898229599, 0.421798974275589, -1.3210384845733643, 0.6386277675628662, -0.2686392664909363, 0.016530033200979233, 0.16291655600070953, -1.2515127658843994, -0.9660923480987549, -1.5752547979354858, -0.021156124770641327, 0.9933093786239624, -0.2101452052593231...
SetPipelineTaskRunsQueued provides a mock function with given fields: n
[ -0.49081578850746155, 0.32230043411254883, 0.472002238035202, -0.6640982031822205, 0.6794701814651489, -0.3827667236328125, 0.3824726343154907, 0.45793575048446655, -1.1850454807281494, -0.7780821323394775, -1.471739649772644, -0.3592694103717804, 1.2924065589904785, 0.014946741983294487, ...
SetUnconfirmedTransactions provides a mock function with given fields: _a0, _a1
[ -0.31134334206581116, 0.17054614424705505, 0.4200655519962311, -0.8231740593910217, 0.2602241039276123, -0.6351785659790039, 1.3173184394836426, 0.31731775403022766, -0.724443793296814, -0.502652645111084, -1.0421843528747559, -0.4174267649650574, 1.0292658805847168, 0.28104662895202637, ...
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a RetryAfter header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.
[ -0.5415259003639221, 0.4926626980304718, 0.4082600176334381, -0.21942932903766632, 0.45233720541000366, 1.1287606954574585, -0.24230536818504333, -0.940187394618988, 0.07321322709321976, 0.11817550659179688, 0.18220914900302887, -0.1907617598772049, -0.56041419506073, -0.3557012677192688, ...
Resume rehydrates a ClientCreateOrUpdatePollerResponse from the provided client and resume token.
[ 0.41720861196517944, -0.6716827750205994, 0.0743289589881897, -1.0900225639343262, -0.282895028591156, -0.16977310180664062, -0.5258111357688904, -0.6941422820091248, 0.20463401079177856, -0.14445480704307556, -0.23802636563777924, -0.24936549365520477, -1.0974862575531006, -0.738012015819...
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a RetryAfter header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.
[ -0.5415259003639221, 0.4926626980304718, 0.4082600176334381, -0.21942932903766632, 0.45233720541000366, 1.1287606954574585, -0.24230536818504333, -0.940187394618988, 0.07321322709321976, 0.11817550659179688, 0.18220914900302887, -0.1907617598772049, -0.56041419506073, -0.3557012677192688, ...
Resume rehydrates a ClientDeletePollerResponse from the provided client and resume token.
[ 1.102518081665039, -0.6596066355705261, 0.036340344697237015, -1.2551075220108032, -0.4248013496398926, -0.382404088973999, -0.7059604525566101, -0.1321374922990799, 0.5019456148147583, 0.10901093482971191, -0.2837461233139038, 0.3889656066894531, -1.2168326377868652, -1.1236047744750977, ...
NewCache creates a new Cache
[ -0.08316598832607269, -0.9513688087463379, 0.22240328788757324, 0.9394981265068054, -0.7346526980400085, -0.3776516020298004, -0.6058085560798645, -0.01821434125304222, -0.04598165675997734, -0.5282717943191528, -0.08875419944524765, -0.4012966752052307, -0.38983938097953796, 0.18033958971...
Get returns the currently cached value for the given key, as long as it hasn't expired. If the key was never set, or has expired, found will be false.
[ -0.808501124382019, 0.05892813205718994, 0.542908787727356, -0.3533455729484558, -0.46638283133506775, 0.7252141833305359, -0.7170483469963074, -1.1280255317687988, -0.38485822081565857, 0.6473952531814575, 0.37669897079467773, 0.003652276238426566, -0.5205997824668884, 0.2615097761154175,...
Set sets a value in the cache with an expiration of now + ttl.
[ -0.2829625904560089, 0.007445426657795906, 0.290105938911438, -0.8860956430435181, -1.0728331804275513, 0.08500096201896667, -1.6980321407318115, -0.001530072302557528, -0.29283541440963745, 1.341263771057129, -1.046857476234436, -0.3990274965763092, 1.188194751739502, -0.05848477035760879...
ReplaceOutput replaces result output.
[ 0.12427473813295364, -0.7493875622749329, 0.0885271206498146, 0.7123064398765564, -0.43828144669532776, -1.4078303575515747, 1.311936616897583, 0.1665007472038269, -0.2602499723434448, -0.7304924726486206, -0.9416908025741577, -0.14733025431632996, 0.12528987228870392, 0.08144499361515045,...
ResetDuration resets durations from result output.
[ -0.5180911421775818, 0.19863642752170563, -0.07375096529722214, 0.7244890332221985, -0.1567002534866333, -0.9419234991073608, 1.5119421482086182, -0.7400128245353699, -0.21490615606307983, 0.6942117214202881, -0.4909520149230957, 0.16444166004657745, 0.4230051636695862, -0.3304189741611480...
ReplaceAddr replaces addresses on result output.
[ -0.08793016523122787, -0.30762147903442383, 0.20038340985774994, -0.7371644973754883, -0.43460020422935486, -1.058742642402649, 0.8597361445426941, 0.5348893404006958, 0.6032519936561584, -0.4291225075721741, -0.3728158175945282, 0.624420702457428, 0.3265751898288727, 0.37174052000045776, ...