text
stringlengths
7
2.39k
embedding
listlengths
768
768
New returns a new databse containing context and a firestore client
[ 0.6933630704879761, -0.20129743218421936, 0.36227384209632874, 0.2050996869802475, -0.6410204172134399, 0.3146548271179199, -0.8707836270332336, 0.17191822826862335, 0.4546787738800049, -0.7363104224205017, -0.15892501175403595, 0.05016808584332466, -0.4274657964706421, 0.20326219499111176...
CreateUser creates a user
[ 0.11949669569730759, 0.3159463405609131, -0.02984105981886387, 1.7320855855941772, 0.776610791683197, 1.0539106130599976, 0.1676219403743744, -0.519441545009613, -0.5311364531517029, -1.042911410331726, -0.9387385249137878, -1.4491032361984253, -0.24125467240810394, 0.2703361511230469, -...
GetUserByID gets a user from the database
[ 0.00745009770616889, -0.12216781824827194, 0.04523787647485733, 1.0902588367462158, 0.7815935015678406, -0.029287898913025856, -0.13925935328006744, -0.4426325857639313, -0.37097737193107605, 0.28740543127059937, -0.4477366507053375, -0.8500933051109314, -0.009077978320419788, 0.4894596040...
GetUserByName gets a user by name
[ -0.4491141736507416, -0.2754174470901489, 0.1451425552368164, 0.9047196507453918, 0.10802865028381348, -0.7258989810943604, 0.1383160799741745, -0.8981856107711792, -1.004108190536499, 0.7610380053520203, -0.7757519483566284, -0.6801814436912537, -0.28600093722343445, -0.21392853558063507,...
UpdateUser updates the relevant fields of the user checks for empty values
[ -0.8724208474159241, 0.03185790777206421, 0.47424179315567017, 0.42515021562576294, -0.3343271315097809, 0.35259371995925903, -0.23019403219223022, -0.46257731318473816, -0.6293904185295105, -0.28731393814086914, -0.8770724534988403, -0.7785688638687134, -0.5821651816368103, 0.287607520818...
UpdateGames updates the games and total game time for the given user
[ -0.8264232277870178, 0.2339339405298233, 0.5710549354553223, 0.48554727435112, -0.6716292500495911, 0.6101629137992859, -0.8081422448158264, -0.917849600315094, -0.336875855922699, 1.9016618728637695, -0.25653815269470215, -0.5246347188949585, -0.7017963528633118, -0.0338984876871109, 0....
SetUsername sets the username for the user, returns error if it is already in use
[ -0.7092676758766174, 0.3338102698326111, 0.2293945699930191, 1.0661762952804565, 0.17410212755203247, -0.5322009325027466, 0.61469966173172, -0.4816570281982422, -0.022867588326334953, 0.36215856671333313, -0.778338611125946, -0.2246781438589096, 0.005933015141636133, 0.8606659770011902, ...
DeleteUser deletes a user from the database
[ 0.0507461279630661, 0.48323726654052734, 0.124812051653862, 1.410906195640564, 0.4483082592487335, -0.017233863472938538, 0.17618174850940704, 0.3041268289089203, -0.03998343273997307, -0.24704240262508392, -0.4464595317840576, -0.9911418557167053, -0.20426706969738007, 0.623454749584198, ...
IsUser checks wether or not the provided user exisits in the database
[ -0.8140019774436951, 0.5434538125991821, 0.3380703628063202, 1.1531445980072021, 0.6626595258712769, 0.6451313495635986, -0.26248255372047424, 0.9474203586578369, 0.644721269607544, 0.5079036355018616, -0.3118817210197449, -0.34189730882644653, -0.8080004453659058, 0.8770081400871277, -1...
CleanTableHandler handles cleanup of tables
[ -0.21262334287166595, -0.6395594477653503, 0.0372050404548645, 1.6649682521820068, -0.5672891139984131, 0.43415290117263794, 1.3237552642822266, 0.7636158466339111, -0.8481466770172119, -0.23993556201457977, -0.2560823857784271, -1.0055537223815918, 0.38756078481674194, 1.3826910257339478,...
Smoke Test for File System Storage for CephNFS Test check the following operations on Filesystem Storage in order Create,Mount,Write,Read,Unmount and Delete.
[ 0.7131590843200684, 0.02826393023133278, 0.31843239068984985, 1.2550992965698242, 0.8235400915145874, -1.7298308610916138, 0.7259425520896912, -1.228011131286621, 0.4558161795139313, -1.1782678365707397, -0.11055052280426025, -1.2033288478851318, -0.15212678909301758, 0.28615957498550415, ...
DecodeFile decodes the drum machine file found at the provided path and returns a pointer to a parsed pattern which is the entry point to the rest of the data.
[ 0.45423758029937744, -0.18778173625469208, 0.3310687839984894, -0.4600464105606079, -0.44096237421035767, 0.5569999814033508, 1.0239554643630981, 0.15533943474292755, -0.44928064942359924, -1.3706541061401367, -0.393141508102417, 0.2410062700510025, -0.401802122592926, -0.5097512602806091,...
readIntFromHex reads an integer from hexadecimal representation of bytes
[ 0.042848628014326096, -1.0817599296569824, 0.3676234483718872, -1.152901291847229, -0.35180923342704773, 0.5519883036613464, -0.8090894818305969, 0.7393444180488586, -0.04399508982896805, -0.4182736575603485, 0.1475333869457245, -0.3953307867050171, -0.3688061535358429, -0.5315027236938477...
readNBytes reads `n` bytes from the file `f`
[ -0.12536780536174774, 1.2227102518081665, 0.4379367530345917, 0.14811697602272034, -0.15216629207134247, -0.09850597381591797, -0.12048008292913437, -0.191778764128685, -1.2900443077087402, -0.4408147931098938, 0.41396772861480713, -0.10938649624586105, 1.1132475137710571, -0.2419291287660...
readNBytesAsHex reads `n` byte from the file `f` as hexadecimal
[ -0.027653319761157036, -0.0024911840446293354, 0.3563821613788605, 0.2721399664878845, -0.05720449611544609, 0.27180832624435425, -0.6232081651687622, 0.7300896048545837, -0.9378000497817993, -0.6731877326965332, 0.016773898154497147, -0.5953815579414368, 1.0641810894012451, -0.17852063477...
Constructs a new RateCounter, for the interval provided
[ 1.1893199682235718, -0.1311279833316803, 0.3613700270652771, -0.3187576234340668, 0.3124408721923828, 0.18869608640670776, -0.15487731993198395, -0.17941458523273468, -0.3718062937259674, -1.2251684665679932, -0.0009204401867464185, 0.11401611566543579, -0.635053813457489, 0.12226449698209...
Add an event into the RateCounter
[ 1.3493791818618774, 0.6183477640151978, 0.42701759934425354, -0.4289666414260864, 0.9381792545318604, 0.7186880111694336, -0.3129560053348541, -0.28384047746658325, 0.21247442066669464, -0.4353644549846649, -0.06352818757295609, 0.3404836654663086, -1.0421013832092285, 0.3956492245197296, ...
Return the current number of events in the last interval
[ 0.13595984876155853, -0.2906077802181244, 0.9397037625312805, -0.10506285727024078, -0.10840089619159698, 0.35494258999824524, 0.9922321438789368, 0.3913705050945282, -0.4528607428073883, -0.474205881357193, -0.2497178614139557, -0.07557681947946548, -0.9423298239707947, -1.079677104949951...
MarshalText implements encoding.TextMarshaler. It formats the Call the same as fmt.Sprintf("%v",i).
[ 0.4163220226764679, 0.8853271007537842, 0.44737082719802856, -0.23683151602745056, -0.9433740973472595, 0.18989011645317078, -1.7695297002792358, -0.46643954515457153, 0.6283071637153625, 0.5917454361915588, 0.19101759791374207, -0.4078882336616516, -0.5464169979095459, -0.3771075606346130...
MarshalText implements encoding.TextMarshaler. It formats the CallStack the same as fmt.Sprintf("%v", s).
[ 0.9918529987335205, 0.6880531907081604, 0.30384016036987305, -0.12226485460996628, -0.9786543846130371, -0.3009174168109894, -1.3786804676055908, -0.6511285901069641, 1.331992506980896, -0.06158861517906189, 0.519213855266571, 0.145802840590477, 0.06918766349554062, 0.15806536376476288, ...
TrimBelow returns a slice of the CallStack with all entries below c removed.
[ 1.9709519147872925, 0.10001838952302933, 0.6185804009437561, -0.08090195804834366, -0.4888686239719391, 1.0223031044006348, -0.2303241640329361, -1.9150043725967407, 0.48872730135917664, -0.631871223449707, -1.1947771310806274, 0.2982541620731354, -1.1867538690567017, -0.002303865272551775...
TrimAbove returns a slice of the CallStack with all entries above c removed.
[ 0.8252056241035461, 0.1581493616104126, 0.688474714756012, -0.18581795692443848, -0.6980688571929932, 0.8726156949996948, -0.09591442346572876, -1.4213956594467163, 0.19708967208862305, 0.29460015892982483, -1.3456780910491943, -0.2832736074924469, -0.6664717793464661, -0.17812879383563995...
// pkgIndex returns the index that results in file[index:] being the path of file relative to the compile time GOPATH, and file[:index] being the $GOPATH/src/ portion of file. funcName must be the name of a function in file as returned by runtime.Func.Name.
[ -0.32726866006851196, -0.09872986376285553, 0.6101970672607422, -0.4381634593009949, 0.031538430601358414, -0.2787197232246399, 1.1492470502853394, 0.803804874420166, -0.786913275718689, 0.03154172748327255, -0.3485983908176422, 0.3715248703956604, -0.12832053005695343, -0.0361838042736053...
NewUsersManager makes new usersManager struct
[ -1.4254440069198608, -1.2864623069763184, -0.019933028146624565, -0.21573957800865173, -0.5562534332275391, -0.05686812102794647, -0.6914644241333008, -0.055617790669202805, 0.5680598616600037, -0.7884860038757324, -0.44977423548698425, 0.21097254753112793, -0.6493438482284546, 1.677834987...
Create is a paid mutator transaction binding the contract method 0xefc81a8c. Solidity: function create() returns(bytes8)
[ -0.08544467389583588, 0.5833469033241272, 0.4259132444858551, 0.4533047676086426, 0.20346371829509735, -0.3923918604850769, -0.31861862540245056, -1.0108929872512817, 0.9571624994277954, 0.0035888850688934326, -0.6716046929359436, -0.47891291975975037, -0.5201050043106079, 0.19169625639915...
CreateTemporary is a paid mutator transaction binding the contract method 0x56003f0f. Solidity: function createTemporary(bytes32 identityHash) returns(bytes8)
[ 0.012881954200565815, 0.7086194157600403, 0.40057358145713806, -0.41018015146255493, -0.15282221138477325, -0.009668445214629173, -0.3499661684036255, -0.676626980304718, 0.40174174308776855, 0.28123587369918823, -1.757443904876709, -1.1885344982147217, -1.1243541240692139, -0.111564323306...
SetController is a paid mutator transaction binding the contract method 0x92eefe9b. Solidity: function setController(address newController) returns()
[ -0.2265273928642273, 0.5401647686958313, 0.32311683893203735, 0.18373841047286987, -0.11367163062095642, -0.5890169143676758, 0.4144517481327057, 0.08476530015468597, 0.82919842004776, 0.552429735660553, -0.9539355635643005, -0.12038419395685196, 0.1271865963935852, 0.4119141101837158, -...
UnlockTemporary is a paid mutator transaction binding the contract method 0x564929bf. Solidity: function unlockTemporary(bytes32 identityPreimage, address newOwner) returns()
[ -0.4133581221103668, 0.8814118504524231, 0.43505898118019104, 0.20565642416477203, -1.2223899364471436, -0.5264610648155212, 0.7671566009521484, 0.44970712065696716, -0.03558273985981941, 0.6821399331092834, -0.4769122302532196, -0.6205931901931763, -0.6470620632171631, -0.8121199011802673...
Manage plays router role to set an appropriate state for user
[ 0.0708947479724884, 0.04341381415724754, 0.4124801754951477, 0.7525818347930908, 0.27730122208595276, 0.4212664067745209, 0.4917846620082855, -0.6170437335968018, 1.0920002460479736, 0.18737469613552094, 0.31907689571380615, 1.1489169597625732, 0.5460740327835083, -0.06726102530956268, 0...
Handler checks user state and then does some stuff for this state
[ -0.4902438521385193, -0.86150062084198, 0.2546224296092987, 1.4147446155548096, -0.7383756637573242, 0.6727831363677979, 0.907904326915741, -0.4008093476295471, 0.9084226489067078, -0.7753869891166687, -0.368844211101532, -0.49464720487594604, 0.9425085783004761, -0.026290517300367355, -...
Init tries to increase the soft limit of open files and creates new global ParallelManager.
[ 0.4643346965312958, 0.3748966157436371, 0.5087228417396545, 1.1725314855575562, 0.06495647132396698, 0.6004575490951538, 0.6824805736541748, 0.7945296764373779, -0.6559211611747742, -1.2751832008361816, 0.12070292234420776, 0.024858947843313217, -0.6515302658081055, 0.5195795297622681, 0...
Close waits all jobs to finish and closes the semaphore of global ParallelManager.
[ 0.5728994011878967, -0.21158438920974731, 0.5078158378601074, 0.5405173301696777, -0.6884062886238098, 1.1502147912979126, 0.22656947374343872, 1.1141961812973022, -0.7344322800636292, -0.41100937128067017, -0.12552332878112793, -0.6180776953697205, -1.0179182291030884, 1.3266690969467163,...
Run runs global ParallelManager.
[ 0.37033045291900635, -0.2966679036617279, 0.15820151567459106, 0.12139864265918732, -0.37938350439071655, 0.8944306373596191, 0.6456023454666138, 0.8537649512290955, -0.08049789071083069, -0.49015918374061584, -0.6115903854370117, 0.6791279911994934, -1.00742506980896, 0.7845643162727356, ...
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, ...
send appendEntries RPC to remote server
[ 0.40375515818595886, -0.24640260636806488, 0.12442266941070557, -0.7429278492927551, 0.11877205222845078, 1.0098170042037964, -1.4772471189498901, -1.1007264852523804, 0.0594467930495739, 0.032461971044540405, -0.5582030415534973, 0.5617643594741821, -1.2931792736053467, 0.9034332633018494...
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 doesn't halt goroutines created by Raft after each test, but it does call the Kill() method. your code can use killed() to check whether Kill() has been called. the use of atomic avoids the need for a lock. the issue is that longrunning goroutines use memory and may chew up CPU time, perhaps causing later te...
[ 0.9719681739807129, 0.18217958509922028, 0.8856137990951538, 0.7296268343925476, 0.535266101360321, 0.295806884765625, 0.7627536654472351, -0.7091044187545776, -0.28021717071533203, 0.28051894903182983, -0.614130973815918, 0.1430181860923767, -0.3545650541782379, -0.000800064648501575, -...
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...
On conversion to candidate, start election: Increment currentTerm Vote for self Reset election timer Send RequestVote RPCs to all other servers
[ -0.7362890839576721, -0.8432454466819763, 0.38404273986816406, 1.271971344947815, -0.0070512485690414906, 0.1786203533411026, -0.12909696996212006, -0.16879276931285858, 0.4102582335472107, 0.4161759614944458, -0.04274087771773338, 1.5658738613128662, -1.2468286752700806, -0.08590556681156...
lastLogInfo returns the last log index and term
[ -0.48072418570518494, -1.44357430934906, 0.8177041411399841, -1.1028200387954712, -0.34218692779541016, -0.3576902747154236, -0.3519691526889801, -0.5060123205184937, 0.22943386435508728, -0.21005988121032715, 0.04344324395060539, 0.05396510288119316, -0.07797075062990189, -0.8073093295097...
returns the log entries begins with logIndex
[ 0.4428977966308594, -0.43514347076416016, 0.5288178324699402, -0.3455604016780853, 0.22002919018268585, -0.2599475681781769, -0.20839013159275055, -1.410340666770935, 0.9820643663406372, 0.09697418659925461, -0.13378173112869263, 0.8701936602592468, -0.09047908335924149, -0.985697746276855...
returns the log entries begins with logIndex
[ 0.4428977966308594, -0.43514347076416016, 0.5288178324699402, -0.3455604016780853, 0.22002919018268585, -0.2599475681781769, -0.20839013159275055, -1.410340666770935, 0.9820643663406372, 0.09697418659925461, -0.13378173112869263, 0.8701936602592468, -0.09047908335924149, -0.985697746276855...
New creates new store
[ -0.03760033845901489, -0.8551326990127563, 0.2143152952194214, 0.846500813961029, -0.5797953605651855, -0.17025187611579895, -0.4929993748664856, 0.004944473505020142, -0.27030614018440247, -1.2270323038101196, -0.6439312100410461, -1.0009078979492188, -0.34514662623405457, 0.3277253508567...
Open just open new connection
[ -0.710689902305603, -0.8657612800598145, 0.281515508890152, 1.0022906064987183, -0.35098984837532043, 0.1255044788122177, -0.636511504650116, 0.8224984407424927, -1.2534135580062866, -0.8681001663208008, 0.014361530542373657, -0.46828675270080566, -0.5563710331916809, -0.45725202560424805,...
Close just close the connection
[ 0.5675289034843445, -0.7952247858047485, 0.7441136240959167, -0.27012237906455994, -0.05979739502072334, 0.5448582768440247, -1.0048998594284058, 0.4909578263759613, -1.1281152963638306, -1.0400065183639526, 1.053287148475647, -0.42816662788391113, -0.5496514439582825, 0.06814435869455338,...
FindOne finds all record in collection by filter
[ 0.13214536011219025, 0.00017873446631710976, 0.35979756712913513, 0.5781813859939575, 0.8242826461791992, 0.2632233500480652, 0.6831701397895813, -0.07850140333175659, -1.3073081970214844, 0.5060561299324036, 0.02001965045928955, -0.3143787980079651, -0.6154816746711731, 0.8967764377593994...
FindAll finds all items from collection ! Maybe deleted later
[ 0.9466319680213928, -0.8222682476043701, 0.36592233180999756, 1.0556074380874634, 0.5936069488525391, 0.7934699058532715, -0.3547484576702118, -0.18832138180732727, -0.2672433853149414, -0.0928788110613823, -0.5045931935310364, -0.27020105719566345, -0.4481853246688843, 1.064732313156128, ...
FindAllPages returns slice of pages and error
[ -0.5621426701545715, -0.5786059498786926, 0.647007942199707, 1.328769564628601, 0.5507293939590454, -0.30575844645500183, -0.939520537853241, 0.05532951280474663, 0.8319258093833923, 0.8203203082084656, 0.5189764499664307, -0.5157603621482849, -0.49023523926734924, 1.5031778812408447, 0....
FindAllServices returns slice of pages and error
[ -0.8238406181335449, -0.2397995889186859, 0.5860633850097656, 0.6641030311584473, 0.2609735131263733, -0.41178175806999207, -0.5847908854484558, -0.4969518482685089, 0.9774681925773621, 0.03740116208791733, 1.000238060951233, -0.9125083088874817, -0.2822864353656769, 1.658955693244934, -...
FindAllCategories returns slice of pages and error
[ -0.42560917139053345, -0.00971135962754488, 0.6521503329277039, 0.9238399267196655, 0.4511508345603943, -0.7294723391532898, -0.2726127803325653, 0.0011023662518709898, 0.6451670527458191, -0.3732040226459503, 1.2534122467041016, -0.7282616496086121, 0.1928143948316574, 1.5395091772079468,...
FindAllPosts returns slice of pages and error
[ -0.12011617422103882, -0.07342378795146942, 0.5760660171508789, 1.5333428382873535, 0.4766884744167328, -0.33791565895080566, -0.8760133981704712, 0.19940605759620667, 0.2239343672990799, 0.43711376190185547, 0.20881620049476624, -1.0478256940841675, -0.06419485807418823, 1.422506213188171...
findPostByCategoryURL CountAllPosts returns slice of pages and error
[ -0.09758184850215912, -0.2885976731777191, 0.44529080390930176, 1.3849153518676758, 0.898059070110321, -0.751373291015625, -0.29106470942497253, 0.3008463680744171, 0.12812264263629913, 0.40682438015937805, -0.08738621324300766, -1.3197754621505737, 0.6131914854049683, 1.6421233415603638, ...
FindMaterials return slice of materials and error, if something went wrong
[ -0.9283504486083984, -0.8527745008468628, 0.3663327991962433, 0.7399632930755615, 0.6538246273994446, -0.39377060532569885, -0.571865975856781, -0.9265760183334351, -0.05051737278699875, 0.6341843008995056, 0.6008048057556152, -0.432923287153244, -1.091761827468872, 1.2983732223510742, -...
FindMaterials return slice of materials and error, if something went wrong
[ -0.9283504486083984, -0.8527745008468628, 0.3663327991962433, 0.7399632930755615, 0.6538246273994446, -0.39377060532569885, -0.571865975856781, -0.9265760183334351, -0.05051737278699875, 0.6341843008995056, 0.6008048057556152, -0.432923287153244, -1.091761827468872, 1.2983732223510742, -...
InsertOne add data to collection
[ -0.7680346369743347, 0.9949871897697449, 0.2934153378009796, -0.28877249360084534, 1.452488660812378, 1.3113542795181274, 0.04497913271188736, 0.06280617415904999, -0.5357249975204468, -0.7029322385787964, -1.2919576168060303, -0.8025819063186646, -1.5934966802597046, 0.5256521701812744, ...
UpdateOne updates one record
[ -1.080963373184204, 0.1398998349905014, 0.3938426971435547, 0.7577735781669617, -0.10580791532993317, 0.2909194529056549, 0.0892641544342041, 0.7591661810874939, -0.22783933579921722, 0.09904076159000397, -0.37741461396217346, -0.39444953203201294, -1.056108832359314, -0.35715582966804504,...
AlterIndex applies a schema change on an index. Privileges: CREATE on table.
[ -0.6192368865013123, 0.11759436130523682, 0.13578397035598755, 1.2721225023269653, 0.2621620297431946, -0.1853954792022705, -0.7392371296882629, 1.1643673181533813, 1.0175358057022095, -0.11835358291864395, -0.5775777101516724, 1.4334983825683594, -0.7042058110237122, -0.6447334289550781, ...
ReadingOwnWrites implements the planNodeReadingOwnWrites interface. This is because ALTER INDEX performs multiple KV operations on descriptors and expects to see its own writes.
[ -0.25906914472579956, -0.2827436029911041, 0.6232345104217529, -0.6662340760231018, 0.2804644703865051, -0.3781035840511322, 1.0406996011734009, 0.017839334905147552, -0.2113470584154129, -0.7593421339988708, 1.4625661373138428, 0.162737637758255, 0.2739900052547455, -0.7347818613052368, ...
CiteID returns the HTML CiteID that links to a citation.
[ 1.232324242591858, -1.2300227880477905, 0.4966973066329956, 0.2524041533470154, 0.12662361562252045, -0.06376995146274567, 0.7667990922927856, 0.20370741188526154, 1.8837039470672607, 0.44637182354927063, 0.836329996585846, 0.6593557000160217, -0.4325721561908722, -0.019383596256375313, ...
ReferenceID returns the HTML ID that links to the full reference for a citation, displayed in the reference section, if any.
[ 1.2836147546768188, -0.7401310801506042, 0.6611669659614563, 0.005947360768914223, 0.20884758234024048, 0.141779825091362, 0.5997489094734192, -0.3381619453430176, 1.3329142332077026, 0.9870970845222473, 1.238580584526062, 0.6300150752067566, -0.33067312836647034, 0.9382546544075012, 0.7...
NewGetActionTemplateLogoVersionParams creates a new GetActionTemplateLogoVersionParams object with the default values initialized.
[ 0.5672671794891357, -0.47195470333099365, 0.49323004484176636, 0.5125579237937927, -0.12316691875457764, -0.9717206954956055, 0.29886677861213684, 0.4632536768913269, 0.32504504919052124, 0.26419007778167725, -0.7408058643341064, 0.7908494472503662, 0.09564922749996185, -0.5612781643867493...
NewGetActionTemplateLogoVersionParamsWithTimeout creates a new GetActionTemplateLogoVersionParams object with the default values initialized, and the ability to set a timeout on a request
[ 0.7032492160797119, -0.285396009683609, 0.4977591335773468, 0.4569534659385681, -0.5026898384094238, -0.26322120428085327, -0.6910219192504883, 0.3816021680831909, 0.051838088780641556, 1.0765515565872192, -0.606235921382904, 0.8676518201828003, 0.07130710780620575, -0.347411185503006, -...
NewGetActionTemplateLogoVersionParamsWithContext creates a new GetActionTemplateLogoVersionParams object with the default values initialized, and the ability to set a context for a request
[ 0.46887627243995667, -0.3165406286716461, 0.7931953072547913, -0.006197807844728231, -0.227666437625885, -0.36687037348747253, -0.5082802176475525, -0.20092295110225677, 0.5020561218261719, 0.796757698059082, -0.5774909853935242, 1.1621978282928467, 0.11599057912826538, -0.4799106419086456...
NewGetActionTemplateLogoVersionParamsWithHTTPClient creates a new GetActionTemplateLogoVersionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
[ 0.688288152217865, -0.42663395404815674, 0.5203336477279663, 0.16397720575332642, 0.15006643533706665, -0.3585495352745056, 0.022210190072655678, 0.5582942366600037, -0.4434683620929718, 0.13923004269599915, -0.626064121723175, 0.6841863393783569, -0.016126228496432304, -0.5947146415710449...
WithTimeout adds the timeout to the get action template logo version params
[ 0.6345584392547607, -1.341324806213379, 0.37860018014907837, -0.7159077525138855, -0.5776344537734985, -0.6328498721122742, -0.1393612176179886, -0.004387747496366501, -0.00806475430727005, 1.5328717231750488, -0.8038783073425293, 0.9652426242828369, 0.7220573425292969, -0.687595009803772,...
SetTimeout adds the timeout to the get action template logo version params
[ 0.17000557482242584, -1.0859520435333252, 0.3266538977622986, -0.8197857141494751, -0.05876733362674713, -0.20142458379268646, 0.11058934032917023, 0.2743222713470459, -0.18770697712898254, 1.4813899993896484, -0.6925307512283325, 1.0682172775268555, 0.46048933267593384, -0.854669392108917...
WithContext adds the context to the get action template logo version params
[ 0.17101822793483734, -1.1225883960723877, 0.6052725911140442, -0.6598390340805054, -0.44507962465286255, -0.8188604712486267, -0.14694473147392273, -0.8460696339607239, 0.5668873190879822, 1.0768483877182007, -0.7756714224815369, 0.7205156087875366, 0.7966035008430481, -0.7039883136749268,...
SetContext adds the context to the get action template logo version params
[ -0.19421632587909698, -0.8828410506248474, 0.44020524621009827, -0.5679094791412354, 0.23772959411144257, -0.4139910638332367, 0.19126886129379272, -0.3608469069004059, 0.6021426320075989, 1.1420276165008545, -0.7698278427124023, 0.9691996574401855, 0.6063765287399292, -0.6227927803993225,...
WithHTTPClient adds the HTTPClient to the get action template logo version params
[ 0.47998228669166565, -1.0077722072601318, 0.3133939206600189, -0.8819237947463989, -0.4056214988231659, -0.9884383678436279, -0.15708567202091217, -0.09515988081693649, -0.3845128118991852, 0.5056208372116089, -0.855850100517273, 0.8438959717750549, 0.7678853273391724, -0.6239281296730042,...
SetHTTPClient adds the HTTPClient to the get action template logo version params
[ 0.48128750920295715, -1.0162134170532227, 0.24645273387432098, -1.0194662809371948, -0.3065389394760132, -0.6386536359786987, -0.31995534896850586, 0.01572708785533905, -0.8324060440063477, 0.391417920589447, -1.0407497882843018, 0.8899936676025391, 0.6002001166343689, -1.0940032005310059,...
WithTypeOrID adds the typeOrID to the get action template logo version params
[ 0.16780419647693634, -1.696786880493164, 0.4528807997703552, -0.34304100275039673, -0.2022673338651657, -0.5827091932296753, -0.15568453073501587, -1.0607250928878784, 0.2067112922668457, 0.7784384489059448, -0.23759599030017853, 0.8079569339752197, 0.234739750623703, -0.13118617236614227,...
SetTypeOrID adds the typeOrId to the get action template logo version params
[ -0.07074088603258133, -1.5160032510757446, 0.3547412157058716, -0.3856288194656372, -0.11791496723890305, -0.32876837253570557, 0.07163865119218826, -0.8894195556640625, 0.14308007061481476, 0.6836808323860168, -0.6613001227378845, 1.0473047494888306, -0.010768081061542034, -0.034490965306...
WithVersion adds the version to the get action template logo version params
[ 0.09641620516777039, -1.4170737266540527, 0.38816455006599426, -0.5214521288871765, 0.03816589340567589, -0.9776597023010254, 0.2144312858581543, -0.14166530966758728, -0.001989628653973341, 0.9068375825881958, -1.2597535848617554, 0.2792161703109741, 0.7739821076393127, -0.374404102563858...
SetVersion adds the version to the get action template logo version params
[ -0.29047107696533203, -1.0434389114379883, 0.26933762431144714, -0.3620125651359558, 0.547248363494873, -0.5505040884017944, 0.32831189036369324, 0.08293429762125015, -0.11044822633266449, 1.0008165836334229, -1.3826640844345093, 0.5238632559776306, 0.5679703950881958, -0.12295980751514435...
WriteToRequest writes these params to a swagger request
[ -1.7609326839447021, -0.860249936580658, 0.5085077285766602, -0.5120186805725098, 1.3858890533447266, -0.42713332176208496, -0.2462528645992279, 0.6454185843467712, -0.6256817579269409, 0.3058176636695862, 0.056926753371953964, 0.10191624611616135, 0.17482666671276093, -0.08037124574184418...
NewMockContainer returns a container with mock dependencies
[ -0.33215245604515076, -0.22537951171398163, 0.5650532841682434, 0.22527490556240082, -0.05716140195727348, -0.4846957325935364, 1.5909383296966553, -1.097944736480713, 0.2844018042087555, -0.28254497051239014, -0.524499237537384, -0.37185153365135193, 0.1823914349079132, 1.4318041801452637...
FixedOffsetTimeZoneToLocation creates a time.Location with a set offset and with a name that can be marshaled by crdb between nodes.
[ 0.33814045786857605, -1.049917459487915, 0.3186182379722595, -0.5894646048545837, -0.8304228782653809, 0.39322811365127563, 1.4049968719482422, -0.16674166917800903, -0.25847095251083374, 0.6652369499206543, -0.6021548509597778, -0.10001153498888016, 0.09829893708229065, -0.229695916175842...
TimeZoneStringToLocation transforms a string into a time.Location. It supports the usual locations and also time zones with fixed offsets created by FixedOffsetTimeZoneToLocation().
[ -0.37703925371170044, -1.2802414894104004, 0.0977056622505188, 0.20357364416122437, -0.8249015808105469, 0.03194746375083923, 1.8934297561645508, -0.17410677671432495, 0.7460984587669373, 0.988467812538147, -0.5187681317329407, -0.45808228850364685, -0.43323254585266113, -0.890992164611816...
ParseFixedOffsetTimeZone takes the string representation of a time.Location created by FixedOffsetTimeZoneToLocation and parses it to the offset and the original representation specified by the user. The bool returned is true if parsing was successful. The strings produced by FixedOffsetTimeZoneToLocation look like " (...
[ -0.5327723622322083, -0.6279876828193665, 0.3746488690376282, -0.44759881496429443, -1.0647577047348022, -0.13591602444648743, 1.529453158378601, -0.46731752157211304, 0.2759796679019928, 0.7401820421218872, -0.7366427779197693, 0.05199261009693146, -0.5361050963401794, 0.37321245670318604...
New creates a new inmemory fetcher.
[ 0.6577979326248169, -0.6354641318321228, 0.21490328013896942, 0.23860971629619598, -0.9658042192459106, 0.2360975593328476, -0.6529768109321594, -0.5640790462493896, -0.7804683446884155, -0.9306001663208008, -0.5924909710884094, 0.902611494064331, -0.39731159806251526, 1.0160751342773438, ...
FetchWallet fetches the wallet.
[ 0.9643670320510864, 0.38273465633392334, 0.031949497759342194, 0.9856403470039368, -0.23321938514709473, -0.201221764087677, -1.3983546495437622, -0.7854681015014648, -0.08557964861392975, -0.2516327500343323, 0.21566443145275116, 0.6726100444793701, 0.8075125813484192, 1.2758631706237793,...
FetchAccount fetches the account given its name.
[ 0.41714319586753845, -0.2614325284957886, 0.07666853815317154, 0.8407298922538757, -0.7526275515556335, -0.06355740875005722, 0.4773949384689331, -0.6877991557121277, 0.1964220106601715, 0.49183186888694763, 0.018345674499869347, 0.45834994316101074, 1.0870184898376465, -0.2038565725088119...
FetchAccountByKey fetches the account given its public key.
[ 0.6924220323562622, 0.045402053743600845, 0.043485719710588455, 1.12572181224823, -0.5044798851013184, -0.1358601599931717, 0.3720736801624298, -0.4194607138633728, 0.07264688611030579, 0.7079771757125854, 0.3969871699810028, 0.17259344458580017, 0.5644645690917969, 0.1368245929479599, -...
Looks like this linear searching is fast enough for leetcode
[ 0.6488690376281738, 0.2312716841697693, 0.15551434457302094, -0.3582937717437744, -1.302903652191162, -0.24821901321411133, 0.29044607281684875, -0.22148928046226501, 0.1628239005804062, 0.4893915057182312, -0.40926462411880493, 0.4952535629272461, -0.8424412608146667, 0.6533195376396179, ...
Configure initializes this formatter with values from a plugin config.
[ 0.639959454536438, -0.9436748027801514, 0.07131532579660416, 0.4011306166648865, 0.12200172245502472, -1.6437604427337646, -0.06922414153814316, 0.508075475692749, -0.10883770883083344, -0.721787691116333, -0.7478939890861511, -0.4264620244503021, 0.14529995620250702, 1.7166543006896973, ...
ApplyFormatter update message payload
[ -0.7421842813491821, -1.231440544128418, 0.17949113249778748, -0.6892293691635132, -1.0464586019515991, -0.6209328770637512, -1.2940328121185303, -0.5746204853057861, -0.08188027143478394, -0.8108950853347778, 0.5971249341964722, -0.40434980392456055, -0.5161119699478149, 2.412144660949707...
Order returns a single order or fails with provided error
[ -0.6862624287605286, 0.02919899858534336, 0.22446215152740479, 1.6795190572738647, 0.12290304154157639, -0.792443037033081, -1.1966956853866577, -0.2702253758907318, 0.6151720285415649, -0.21760740876197815, 0.7676516175270081, -0.042327504605054855, -0.22022747993469238, -0.21432600915431...
List returns the list of orders with statistics or fails with provided error
[ -0.4058348834514618, 0.33973225951194763, 0.334244042634964, 1.570077896118164, 0.13643623888492584, -0.5511761903762817, -0.43761342763900757, -0.3792332410812378, 0.9402702450752258, 0.27498337626457214, 0.3399409055709839, -0.40495359897613525, 0.9289497137069702, 0.5999890565872192, ...
TestMesosHostSummarySetCapacity tests for mesos change capacity only affects capacity
[ 0.278506875038147, -0.003099661087617278, 0.3485162854194641, 0.6375245451927185, 0.09431692212820053, 0.19447021186351776, 1.3067717552185059, 0.22385647892951965, -0.0573858767747879, -0.2935020625591278, -0.30009955167770386, -0.2885335683822632, 1.6547369956970215, 1.0461639165878296, ...
TestMesosHostSummaryHandlePodEvent tests that handle pod event does nothing for mesos
[ 0.29163408279418945, 0.23126520216464996, 0.5602225661277771, 0.24129530787467957, 0.7904729843139648, 1.5541030168533325, 0.5196794867515564, -0.1343076527118683, 0.05406077578663826, -1.7010421752929688, -0.4280587136745453, -0.859990119934082, 0.7824090123176575, -0.012044351547956467, ...
TestMesosHostSummarySetAvailable test set available would update allocated resources
[ -0.07707475870847702, 0.4204654097557068, 0.2617644667625427, 0.058180537074804306, -0.2908538281917572, 0.9175690412521362, 0.3538169264793396, 0.14130990207195282, 0.3955380618572235, 0.21059878170490265, 0.19488899409770966, -0.25341153144836426, 1.603463053703308, 0.5089701414108276, ...
HealthCheck checks health status of a registry
[ 0.433676153421402, 0.06741099804639816, 0.16067951917648315, 0.6895620822906494, 1.0735459327697754, 0.8571593165397644, -0.36847350001335144, 1.1464470624923706, -0.11521288007497787, 0.27380794286727905, 0.5385051965713501, 1.0189529657363892, 0.3714192509651184, 0.374129980802536, -0....
NewDefaultRPCGenerator wraps Generator with configure
[ -0.7706066370010376, 0.07390109449625015, 0.15734824538230896, 0.10504085570573807, -0.012986976653337479, -0.7976458072662354, -0.4164379835128784, -0.22718149423599243, -0.861639142036438, -0.9962939023971558, -0.3817136883735657, -1.0401114225387573, -1.1967309713363647, 1.8717443943023...
NewRPCGenerator creates an instance for RPCGenerator
[ -0.5329355597496033, -0.7611581087112427, 0.15561529994010925, -0.8338360786437988, -0.9265738725662231, -0.4847823977470398, -0.4781879186630249, -0.28207334876060486, -0.4532896876335144, -0.8438541889190674, 0.0022854090202599764, -1.0708106756210327, -2.1618523597717285, 1.047443389892...
Generate generates an rpc service, through the proto file, code storage directory, and proto import parameters to control the source file and target location of the rpc service that needs to be generated
[ -0.6600462198257446, -0.05973232910037041, 0.33372268080711365, 0.05563925579190254, 0.7769047617912292, 1.1303720474243164, 0.1957624852657318, -0.019467996433377266, -0.6882080435752869, -0.033692263066768646, -0.20004671812057495, 0.42658114433288574, -0.9075887799263, 0.560785889625549...
NewUniformSample constructs a new uniform sample with the given reservoir size.
[ -0.3187386393547058, 0.04961845651268959, 0.24873380362987518, 0.03159663826227188, -0.7185450196266174, -0.2752380669116974, 0.08015216141939163, 0.21153846383094788, 0.7465773224830627, -0.8848308324813843, -0.3379839062690735, 0.061226993799209595, -0.6163631081581116, -0.27726173400878...