text
stringlengths
7
2.39k
embedding
listlengths
768
768
getEgressDropMetricsHandler is the Get Handler for EgressDropMetrics
[ -0.8738511800765991, 1.0883104801177979, 0.39889422059059143, -0.4241918623447418, -0.13786904513835907, 0.5096083879470825, 0.3893498480319977, -0.6364991068840027, -1.1652286052703857, 0.5661891102790833, 0.5243225693702698, -0.4436008632183075, -0.438339501619339, 0.5581381916999817, ...
New creates a new Scraper instance.
[ -1.4031875133514404, -0.30690091848373413, 0.24817365407943726, 0.13580510020256042, -0.25596046447753906, 0.4829874038696289, -0.6136136651039124, 0.08533740043640137, -1.498110294342041, -0.6573833227157593, 0.20617443323135376, -0.4710569977760315, 0.7857933044433594, 0.8766971826553345...
compileRegexps compiles the given regex strings to regular expressions to be used in the include and exclude filters.
[ 0.14319153130054474, -0.9423347115516663, 0.5130046010017395, 0.25820866227149963, -0.45755457878112793, 0.32536908984184265, 0.5747284293174744, 1.1648801565170288, 0.1226811558008194, 0.3470516800880432, 0.6549164652824402, 0.743507981300354, -0.32181501388549805, -1.1223340034484863, ...
Start starts the scraping.
[ -0.878932774066925, -0.16961570084095, 0.10815706104040146, 0.5009946227073669, 0.7616500854492188, 0.17432191967964172, -0.0020990073680877686, 1.539230227470398, -0.21625757217407227, -0.23819831013679504, 0.03486960753798485, 0.8497316241264343, 0.719862163066864, -0.34627971053123474, ...
storeDownload writes the download to a file, if a known binary file is detected, processing of the file as page to look for links is skipped.
[ 0.16015516221523285, -0.5163700580596924, 0.5619347095489502, 0.9389683604240417, 0.9742029905319214, -0.3677704632282257, 0.9395608901977539, -0.3254731595516205, -0.2050839066505432, -1.297040581703186, -0.1648019254207611, -0.5186716914176941, 0.38737690448760986, -0.11096300929784775, ...
List all Tasks running on the cluster
[ 0.6737719178199768, 0.24283909797668457, 0.2938627004623413, 0.8480167984962463, 0.9849709272384644, -0.21654650568962097, -0.37122899293899536, 0.46664008498191833, -0.7884709239006042, 0.43535009026527405, -0.6401165723800659, 1.0469613075256348, -0.2495984137058258, 0.37918704748153687,...
Kill all tasks belonging to an app The app will not be deleted
[ 1.2980859279632568, -0.6190397143363953, 0.4340174198150635, 2.3782265186309814, -0.10593242198228836, 0.9224422574043274, -0.7327778935432434, -0.553170919418335, 0.43858984112739563, 1.2694820165634155, -0.5347822308540344, 0.13414888083934784, 0.8077220320701599, 0.11784107983112335, ...
PJW implements the classic PJW hash algorithm for 32 bits.
[ 0.2869848906993866, 1.2563223838806152, 0.3498552441596985, 0.32188278436660767, -1.1417760848999023, 1.4167077541351318, 0.7663690447807312, -0.9659897089004517, -0.29216647148132324, -0.5013505220413208, -0.02809128910303116, -0.8811177015304565, 0.13852868974208832, 0.615912139415741, ...
PJW64 implements the classic PJW hash algorithm for 64 bits.
[ -0.5739613175392151, 0.5703701376914978, 0.19763413071632385, 1.250420331954956, -1.1288570165634155, 0.4122743010520935, 0.3635663390159607, -0.6061109304428101, 0.2408573031425476, 0.26278069615364075, 0.5489813089370728, -0.6955606937408447, 0.12217485904693604, 1.0253092050552368, -1...
initService sets up the service encoders, decoders and mux.
[ -0.15815186500549316, 0.4859200119972229, 0.20489563047885895, 0.15421998500823975, 0.06909993290901184, -0.3797420859336853, -0.6074740290641785, -0.8971626162528992, 0.344800740480423, -0.46638357639312744, -1.1322450637817383, 1.0191744565963745, -0.9821194410324097, 0.9567963480949402,...
MountTestServiceController "mounts" a TestService resource controller on the given service.
[ 1.1635938882827759, -0.9099695086479187, 0.21348576247692108, -0.16608171164989471, -0.33882936835289, -0.7536367177963257, 0.020832106471061707, -1.0791488885879517, 1.2290664911270142, -0.8227258324623108, 0.21766948699951172, 0.1788550764322281, -0.6158332228660583, 0.5523504018783569, ...
NewEncrypter creates a new Encrypter using the encryption keys.
[ -0.6587687134742737, -0.09481768310070038, 0.04682731628417969, 0.6867170929908752, -0.33860814571380615, -0.8856949210166931, -0.9384675621986389, -0.14281904697418213, -0.2165915071964264, 0.5855226516723633, -0.9589852690696716, -0.14381910860538483, -0.3951517939567566, 0.8566219210624...
NewDecrypter creates a new Decrypter instance using the encryption keys.
[ -0.22095738351345062, -0.09675085544586182, 0.3506768047809601, 0.40522998571395874, -0.7503801584243774, -0.6243284344673157, -1.262025237083435, -0.10834325104951859, -0.2080695927143097, 0.03597588837146759, -0.2571955919265747, -0.8395542502403259, -0.003129522083327174, 0.546575069427...
TODO[pulumi/pulumi8080] packagesFromTestName attempts to figure out what package should be imported from the name of the test.
[ 0.25417888164520264, -0.8516539931297302, 0.3891980051994324, 0.49589869379997253, 0.24834854900836945, 0.27673500776290894, 0.6631516218185425, -0.8146613836288452, 1.5329135656356812, 0.23427517712116241, 0.0016205415595322847, -0.2525350749492645, -0.46313977241516113, -0.05650627240538...
IssueSummary creates a humanfriendly summary of a Jira issue.
[ -0.5789545774459839, 0.592292308807373, 0.3739849627017975, -0.8277337551116943, -1.0080856084823608, -0.48135611414909363, -0.18604907393455505, -0.17192807793617249, -0.058762602508068085, 0.522142767906189, 0.6167247295379639, 0.038730867207050323, 0.8919733166694641, -1.048089861869812...
JiraKeyFromIssueSummary returns the Jira key from a summary generated by IssueSummary.
[ -0.49508872628211975, -0.09458743780851364, 0.41768118739128113, 0.1298854649066925, -1.3591656684875488, -0.300262451171875, 1.4682044982910156, 0.04728385806083679, 0.6793183088302612, 1.3401190042495728, 0.7589683532714844, -0.45568183064460754, 0.35707640647888184, -0.5723426342010498,...
/ key is 21 length string min key: "111111111111111111111" string to int32 val:1029 max key: "fffffffffffffffffffff" string to int32 val:2142 sub number : 1675 key transfer interge %1000 with 11000
[ -0.14956894516944885, 0.7708238363265991, 0.49877145886421204, -0.3198308050632477, -0.05584616959095001, 0.033858153969049454, -0.23491773009300232, -0.391258180141449, -0.06633394956588745, -0.18086014688014984, -0.6712175011634827, 1.0180212259292603, -0.372387558221817, -0.317107141017...
Download performs HTTP GET request against url, including adding gzip header and ungzipping
[ -0.3928712010383606, -0.8559131622314453, 0.4033783972263336, 0.3691435754299164, -0.2936226427555084, -0.472959965467453, -0.8068735003471375, -0.46403685212135315, 0.12004561722278595, 0.05093582347035408, -0.24588929116725922, -0.09944933652877808, 0.08442435413599014, -0.06903000175952...
tests validate that the certParser function correctly parses a certificate
[ 1.2903608083724976, -0.1527557224035263, 0.24570006132125854, 1.020914912223816, 0.10995981842279434, 0.7142176628112793, -0.1452694684267044, 0.22358660399913788, 0.5013322234153748, -1.1895558834075928, -0.4541371166706085, -0.9950142502784729, -0.4353485405445099, -0.06736184656620026, ...
Determine which group has the lowest load Returns the GID of that group, and a shard which is assigned to the given gidExclude group Will consider all known groups except for the given gidExclude For sample usage, see the Leave() function above
[ 0.9604676365852356, 0.23142781853675842, 0.5037898421287537, -0.6759796738624573, -1.3700356483459473, -0.08597458899021149, -0.16978122293949127, -0.7243532538414001, 0.5395461916923523, -0.5128311514854431, 0.5601024627685547, 0.5755838751792908, -1.1535935401916504, -0.15876229107379913...
Determine which group has the highest load Returns the GID of that group, and a shard which is assigned to that group For sample usage, see the Join() function above
[ 0.9950315952301025, -0.28330084681510925, 0.5431869626045227, -0.14618375897407532, -0.6799003481864929, -0.5632379651069641, -0.4000229239463806, -0.9272639155387878, -0.17821387946605682, -0.2626045048236847, 0.43843361735343933, 0.19804778695106506, -0.4924654960632324, 0.38763162493705...
Determine if the given group is currently known to the given configuration Returns true even if the group is not assigned any shards
[ -0.4576750695705414, 0.029389280825853348, 0.3290693461894989, -0.09754819422960281, -0.11786334961652756, -0.19293810427188873, 0.2784659266471863, -0.00912147294729948, -1.116984486579895, 1.1371557712554932, 0.09323368221521378, 0.18907566368579865, -0.3152843117713928, 0.27037298679351...
Determine if the given group is currently being utilized by the given configuration
[ -0.8770371079444885, -0.46002811193466187, 0.32412397861480713, 0.45620715618133545, -0.3466375470161438, -1.5499913692474365, 0.025002462789416313, 0.1317087709903717, -0.4700028896331787, 0.9519153237342834, 0.40010425448417664, 0.370303750038147, -0.24569754302501678, -0.104550734162330...
Create a clone of the given configuration Addresses issue of maps being references
[ -0.3180527687072754, -0.4413507282733917, 0.42563071846961975, 0.7194027900695801, -0.41456338763237, 0.24096189439296722, 0.5020742416381836, -0.7009936571121216, 0.6258432269096375, 0.9443509578704834, 0.014154947362840176, -0.20122018456459045, -0.6723364591598511, -0.7846292853355408, ...
Create a clone of the current configuration Addresses issue of maps being references
[ -0.5971407890319824, -0.7701913714408875, 0.5772634148597717, 0.49975720047950745, -0.18921750783920288, 0.06253685802221298, 0.7540228962898254, -0.6393832564353943, 0.807768702507019, 0.45848754048347473, 0.16520336270332336, 0.12156584858894348, -0.9851994514465332, -0.44084352254867554...
Add a new configuration to this server's list of configurations
[ -1.405072569847107, 0.032517071813344955, 0.43710944056510925, 0.7107588648796082, 0.21878716349601746, -0.23620757460594177, -0.9959931373596191, 0.2637363374233246, 0.6411752104759216, -0.0717291384935379, -1.4280908107757568, -0.18111197650432587, -1.0296838283538818, 1.2307994365692139...
Make sure Paxos is up to date by proposing noops
[ -0.2729395031929016, 0.053659047931432724, 0.29336419701576233, 0.611677348613739, 0.4726271331310272, 0.6089363098144531, -0.36745309829711914, -0.5157142281532288, 0.6173295974731445, -0.4805549681186676, 0.5692859292030334, -0.15092763304710388, 0.13814201951026917, -0.00184280145913362...
please don't change this function.
[ -0.1230911836028099, -0.46326106786727905, 0.0014894697815179825, 0.5722473859786987, -0.00984688475728035, -0.05840754508972168, 0.9378466010093689, 0.17964565753936768, 0.06881347298622131, -0.4710637032985687, -0.75111323595047, 1.201037883758545, -0.902565598487854, -0.1064924597740173...
servers[] contains the ports of the set of servers that will cooperate via Paxos to form the faulttolerant shardmaster service. me is the index of the current server in servers[].
[ 0.08601897209882736, 0.21580350399017334, 0.33543097972869873, 0.409027099609375, 0.2914815843105316, 0.5576964616775513, -0.14797502756118774, -0.22167323529720306, 0.8135719895362854, -1.2581721544265747, -0.8147836923599243, 0.780463457107544, -1.1648591756820679, -0.8600122928619385, ...
SetCreatedTime set news.CreatedTime to time.Now
[ 0.4699722230434418, -0.09329917281866074, 0.11392451077699661, 0.3248506188392639, 1.1312456130981445, 0.8366473317146301, -0.5794333815574646, 0.21216243505477905, -0.9685327410697937, -0.41067513823509216, -0.764181911945343, -0.5020610094070435, 0.11779426038265228, 1.4314945936203003, ...
GetNewsPaginated get the news according to pageId and pageSize, but important pageId range from 1 to inf, not 0, so don't forget to minus 1 second return is pageCount
[ 0.2450549453496933, 0.07142627984285355, 0.3532411754131317, 1.0277122259140015, -0.25792109966278076, -0.17745529115200043, -0.7170650959014893, -0.004035586956888437, 0.2012232542037964, -0.026969894766807556, -0.15318232774734497, 0.07262080907821655, -0.6990336775779724, 1.685447573661...
GetNewsById get the news from database by id
[ 0.6369823813438416, 0.4464193284511566, -0.055288396775722504, 0.7377545237541199, 0.1921175718307495, -0.17443954944610596, -1.2022709846496582, -0.4232313334941864, -0.4360567331314087, -0.26722609996795654, -0.639683723449707, -0.5824469327926636, -0.15761011838912964, 1.280709028244018...
AddNewNews will add the bill to database, and return id if success
[ -0.38274887204170227, 1.000446081161499, 0.5229483246803284, 1.2592066526412964, -0.27974823117256165, 0.8921641707420349, -0.6889998912811279, -0.7802130579948425, 0.4302479326725006, -0.22282788157463074, -0.972679615020752, -1.5604593753814697, -1.638184905052185, 2.003751516342163, -...
UpdateNews will update all the column of bill
[ -0.9012972116470337, 0.2787590026855469, 0.36173394322395325, 0.9141382575035095, -0.6716057658195496, 0.28363537788391113, -1.0539616346359253, -0.5780262351036072, -1.1417086124420166, -0.5067858099937439, -0.9333099722862244, -0.7506605386734009, -0.3486166000366211, 1.6118873357772827,...
transform UTF8 rune into GBK byte array
[ -0.20288799703121185, 0.5947393774986267, 0.1621544361114502, 0.21911871433258057, 1.1851924657821655, -0.7571048736572266, 0.4714147746562958, 0.1980654001235962, -0.8962174654006958, 0.09866929799318314, -0.34517431259155273, 0.595413327217102, -0.9301502108573914, -0.1816266030073166, ...
this should be the last test
[ 0.5308297872543335, -0.35152554512023926, 0.45215266942977905, 0.7224962711334229, 1.6254438161849976, 0.9815630316734314, 1.1852666139602661, -0.039296142756938934, 0.967605471611023, -0.5480809211730957, 0.23040220141410828, -0.38094744086265564, -0.7676786184310913, -0.5875794291496277,...
Interface methods for sorting comment threads by timestamp
[ 0.19866199791431427, -1.088715672492981, 0.6755377054214478, -0.39773836731910706, 0.4905068576335907, 0.12670890986919403, 0.7928029894828796, -1.7834478616714478, -0.0762096494436264, 0.6875913739204407, 0.00007793307304382324, -0.5525410771369934, -0.2734425961971283, -0.115062274038791...
Interface methods for sorting comment threads by timestamp
[ 0.19866199791431427, -1.088715672492981, 0.6755377054214478, -0.39773836731910706, 0.4905068576335907, 0.12670890986919403, 0.7928029894828796, -1.7834478616714478, -0.0762096494436264, 0.6875913739204407, 0.00007793307304382324, -0.5525410771369934, -0.2734425961971283, -0.115062274038791...
Interface methods for sorting review requests by timestamp
[ -0.8013955950737, -0.14681635797023773, 0.5307899713516235, -0.45535874366760254, -0.68532794713974, 0.547820508480072, -0.8382508158683777, -1.2404758930206299, -0.2822589874267578, 0.4409256875514984, 0.5112605094909668, -0.6313120722770691, 0.1199931651353836, -0.12719711661338806, -1...
Interface methods for sorting review summaries in reverse chronological order
[ 0.2090316265821457, 0.26828455924987793, 0.7548383474349976, -0.40241047739982605, -0.1937771737575531, 0.5101270079612732, 0.1643063873052597, -0.1850423812866211, -0.7351646423339844, -0.3399083614349365, 0.648094654083252, 0.05214168131351471, -0.23876194655895233, -0.16678158938884735,...
updateThreadsStatus calculates the aggregate status of a sequence of comment threads. The aggregate status is the conjunction of all of the nonnil child statuses. This has the sideeffect of setting the "Resolved" field of all descendant comment threads.
[ -0.10877614468336105, -0.5565953254699707, 0.6316441297531128, -0.3869535028934479, 0.5198186039924622, -0.35580870509147644, -0.14129510521888733, 0.2579023838043213, 0.48217740654945374, 0.6489220857620239, -0.38205933570861816, 0.013154917396605015, -0.5665143132209778, 0.07088668644428...
updateResolvedStatus calculates the aggregate status of a single comment thread, and updates the "Resolved" field of that thread accordingly.
[ -0.16748003661632538, -0.7501662373542786, 0.5066421031951904, -0.25449714064598083, 0.8660653233528137, -0.2957713305950165, 0.0720677301287651, 0.23490454256534576, -0.2538096606731415, -0.2666744589805603, -0.8845345973968506, 0.022478735074400902, -0.5402815937995911, -0.27623128890991...
Verify verifies the signature on a comment.
[ 0.9749614596366882, -0.03035171702504158, 0.22341866791248322, 1.2814751863479614, 1.2528419494628906, 0.19887112081050873, 0.20445840060710907, -0.6387622356414795, 0.585294246673584, -0.007191410753875971, -1.8196306228637695, -0.016439182683825493, -0.7657648921012878, 0.067960329353809...
fixMutableThread is a helper method to finalize a mutableThread struct (partially constructed comment thread) as a CommentThread struct (fully constructed comment thread).
[ 0.2561178505420685, -1.530298113822937, 0.6125113368034363, -0.2632317841053009, 0.14850737154483795, 0.004824584349989891, -0.45657920837402344, -0.04665478691458702, 0.28638556599617004, -0.3581377863883972, -0.11293844133615494, 0.6734496355056763, -1.1610784530639648, 0.379710853099823...
This function builds the comment thread tree from the logbased list of comments. Since the comments can be processed in any order, this uses an internal mutable data structure, and then converts it to the proper CommentThread structure at the end.
[ -0.5480129718780518, -0.5677393674850464, 0.6515747904777527, -0.44277051091194153, 0.20888519287109375, -0.7415432333946228, -0.02992173656821251, -0.8790226578712463, 0.1852787733078003, -0.36068063974380493, 0.16370505094528198, 0.06779127568006516, -0.8118475079536438, -0.0993399545550...
getCommentsFromNotes parses the logstructured sequence of comments for a commit, and then builds the corresponding treestructured comment threads.
[ 0.41172441840171814, -0.5233639478683472, 0.4801681637763977, -0.43901851773262024, 1.3749371767044067, -1.3083795309066772, 0.29956796765327454, -0.6880937814712524, 0.09669128060340881, 0.27762502431869507, 0.11940516531467438, -0.12232492119073868, -0.4992932081222534, -0.77062416076660...
GetSummary returns the summary of the code review specified by its revision and the references which contain that reviews summary and comments. If no review request exists, the returned review summary is nil.
[ -0.35150963068008423, 0.4650879502296448, 0.6437061429023743, -0.1873353272676468, 0.40751609206199646, -0.5563490986824036, -0.8275211453437805, -0.8888179659843445, 0.09090330451726913, -0.1396350860595703, 1.0825906991958618, 0.5353972315788269, -0.7974531054496765, -0.17373469471931458...
GetSummary returns the summary of the specified code review. If no review request exists, the returned review summary is nil.
[ -1.0374712944030762, 1.0987951755523682, 0.34538713097572327, 0.24785621464252472, 0.04513603821396828, -0.8677442669868469, -1.2490170001983643, -0.5882243514060974, 0.760807991027832, 0.0009934062836691737, 0.6353516578674316, 0.3324306011199951, -0.11721102148294449, -0.0746186748147010...
Details returns the detailed review for the given summary.
[ -0.14260117709636688, 0.3489833176136017, 0.26542696356773376, -0.2555280029773712, -0.7281455397605896, -0.17676475644111633, -0.5354799628257751, 0.5846017003059387, 0.08087702095508575, 0.03941861167550087, 1.1427596807479858, -0.34226512908935547, 0.434171199798584, -1.1553157567977905...
IsAbandoned returns whether or not the given review has been abandoned.
[ -0.3363443613052368, -0.6418337225914001, 0.24065059423446655, 0.03696657344698906, -1.0680322647094727, 0.8177356123924255, -1.0306779146194458, -0.31750163435935974, 1.2018074989318848, 0.4963870942592621, 0.5472890734672546, 0.06673401594161987, 0.18710331618785858, 0.9294307231903076, ...
IsOpen returns whether or not the given review is still open (neither submitted nor abandoned).
[ -0.8481720685958862, -0.9659745097160339, 0.4729793071746826, 0.26608482003211975, -1.6630642414093018, 0.7248364686965942, -0.7176283597946167, 0.2461402267217636, 0.5575832724571228, 0.1690923273563385, 0.8635948896408081, -0.3090771436691284, -0.5462406873703003, -0.430585116147995, -...
Verify returns whether or not a summary's comments are a) signed, and b) / that those signatures are verifiable.
[ -0.1278744637966156, -0.6601832509040833, 0.5372282266616821, 0.9968281388282776, 0.3861927390098572, 0.42512819170951843, 0.4402164816856384, -0.5959842801094055, 0.40951627492904663, 0.6919419765472412, -0.7315652370452881, 0.05928758159279823, -0.6328637003898621, 0.32208600640296936, ...
Get returns the specified code review. If no review request exists, the returned review is nil.
[ -0.5128691792488098, 0.42599448561668396, 0.2510681450366974, 0.0033155472483485937, 0.24610064923763275, -1.221489429473877, -1.5923478603363037, -0.48813173174858093, -0.21783554553985596, -0.8069654703140259, 0.843052327632904, 0.4631820619106293, -0.3455526530742645, -0.244213923811912...
ListAll returns all reviews stored in the gitnotes.
[ 0.574944019317627, -0.7061166763305664, 0.13320843875408173, -0.4357820451259613, 0.29908376932144165, 0.8334822654724121, -1.7634023427963257, -0.5196196436882019, -0.05093736574053764, 0.1280220001935959, 0.37067824602127075, 1.4035229682922363, -0.6958097219467163, 0.15373706817626953, ...
ListOpen returns all reviews that are not yet incorporated into their target refs.
[ -1.1340810060501099, -1.1984889507293701, 0.2984773814678192, -0.9847843050956726, -0.46352967619895935, 1.131316065788269, -0.24680328369140625, 0.4566345810890198, 0.22399643063545227, -0.8745021224021912, 0.8972775340080261, 0.9170148372650146, -0.27401381731033325, 0.19975006580352783,...
GetCurrent returns the current, open code review. If there are multiple matching reviews, then an error is returned.
[ -0.5920781493186951, -0.8603898286819458, 0.41260775923728943, 0.42660439014434814, -0.060777075588703156, -0.23292584717273712, -0.06301192194223404, -0.04051319137215614, -1.0282891988754272, 0.04842448979616165, 1.8519145250320435, 0.7899801731109619, -0.6762229800224304, -0.31964501738...
GetBuildStatusMessage returns a string of the current buildandtest status of the review, or "unknown" if the buildandtest status cannot be determined.
[ -0.36042189598083496, -1.4255200624465942, 0.3618934750556946, 0.14001338183879852, 0.525982141494751, 1.22929048538208, 0.20712926983833313, 0.06418121606111526, 0.5276629328727722, -0.7489784359931946, -0.24882309138774872, 0.8083921074867249, -0.6951689720153809, 0.28595206141471863, ...
GetAnalysesNotes returns all of the notes from the most recent static analysis run recorded in the git notes.
[ 0.4724007546901703, -0.3025718629360199, 0.2683154046535492, -0.1329892873764038, 1.0562622547149658, 0.16690896451473236, -0.03925982490181923, -1.4817829132080078, 0.14381232857704163, 0.03233209624886513, 0.48510241508483887, 0.764199435710907, 0.381232351064682, 0.04890017956495285, ...
GetAnalysesMessage returns a string summarizing the results of the most recent static analyses.
[ -0.48883765935897827, 0.36391520500183105, 0.39940890669822693, -0.5448523759841919, 0.7548102140426636, -0.3850962817668915, 0.6680167317390442, -1.9989795684814453, -0.15982535481452942, -0.09245369583368301, 0.9811457991600037, 0.6623599529266357, 0.12451249361038208, 0.5309510231018066...
GetCommentsJSON returns the pretty printed JSON for a slice of comment threads.
[ -1.1789313554763794, -1.3977832794189453, 0.2874726355075836, -0.7317915558815002, -0.09412071853876114, -1.2497754096984863, 0.24664722383022308, -1.7759780883789062, 0.15478892624378204, 1.0644586086273193, -0.23824214935302734, 0.500378429889679, 0.015702731907367706, -0.322056412696838...
GetJSON returns the pretty printed JSON for a review summary.
[ -1.6686784029006958, -0.8234072327613831, 0.28897351026535034, -0.7830820679664612, -1.6142518520355225, -0.5132716298103333, -0.8990494012832642, -0.3272382318973541, 0.5576198101043701, 0.7323101758956909, 0.06821762025356293, 1.212249517440796, 0.7823566794395447, -0.8279632925987244, ...
GetJSON returns the pretty printed JSON for a review.
[ -1.2320985794067383, -0.7482877969741821, 0.24999192357063293, -0.7522588968276978, -1.4708452224731445, -0.8651928901672363, -1.2883635759353638, -0.3645106554031372, 0.1602705717086792, 0.31588342785835266, 0.13549354672431946, 0.9964698553085327, 0.5333291292190552, -0.4238976240158081,...
findLastCommit returns the later (newest) commit from the union of the provided commit and all of the commits that are referenced in the given comment threads.
[ 1.5526808500289917, -1.3057302236557007, 0.581287682056427, -0.5694448351860046, 0.8039926886558533, -0.9367408156394958, -0.4465844929218292, -1.13375723361969, -0.5195074677467346, -0.02947126142680645, 1.1191020011901855, -0.1890401542186737, -1.7921944856643677, 0.507642388343811, -0...
GetHeadCommit returns the latest commit in a review.
[ 0.1103760227560997, -1.3722323179244995, 0.5541086196899414, 0.23040136694908142, -0.16883346438407898, -0.17782025039196014, -0.7236820459365845, -0.37503981590270996, -0.37036240100860596, 0.5418047308921814, 1.6369589567184448, 0.3769538998603821, -0.8389185667037964, -1.154859304428100...
GetBaseCommit returns the commit against which a review should be compared.
[ 0.35580986738204956, -1.1538251638412476, 0.5547605752944946, 0.134647935628891, 0.45652544498443604, 0.40962761640548706, -0.2813199460506439, -0.1782059222459793, -0.74832683801651, 0.33637288212776184, 1.1875195503234863, 0.8460525870323181, -1.10818612575531, -0.28972327709198, -1.05...
ListCommits lists the commits included in a review.
[ 0.9775602221488953, -0.5003644227981567, 0.2688714861869812, -0.15674357116222382, -0.0882267951965332, -0.5738536715507507, -1.4530619382858276, -0.3260968327522278, 0.44163891673088074, 0.46400368213653564, 0.5040420889854431, 0.2587376832962036, -0.6292508244514465, 0.20380446314811707,...
GetDiff returns the diff for a review.
[ -0.5241759419441223, -0.12959793210029602, 0.15841148793697357, 0.3198452591896057, -0.42861324548721313, 0.3553946912288666, 0.023635974153876305, -0.01835964247584343, 0.40052905678749084, -0.7739853858947754, 0.2925141155719757, -0.009140759706497192, -0.23451969027519226, -0.0070028034...
AddComment adds the given comment to the review.
[ -0.33925971388816833, -0.3707059323787689, 0.20914828777313232, -0.006947268266230822, 0.6178410053253174, 0.5357652902603149, -0.17807167768478394, 0.30208367109298706, 0.505610466003418, -0.5387683510780334, 0.3227872848510742, -0.4734724462032318, -0.34821513295173645, 0.27329221367836,...
Rebase performs an interactive rebase of the review onto its target ref. If the 'archivePrevious' argument is true, then the previous head of the review will be added to the 'refs/devtools/archives/reviews' ref prior to being rewritten. That ensures the review history is kept from being garbage collected.
[ -0.401892751455307, 0.2786225378513336, 0.8387725949287415, 0.3905923068523407, 1.2142006158828735, -0.3899064064025879, 0.2183736264705658, -0.044336020946502686, 0.004452760796993971, 0.22716021537780762, 0.31364408135414124, 0.7096880674362183, -0.6659587025642395, -0.36539795994758606,...
RebaseAndSign performs an interactive rebase of the review onto its target ref. It signs the result of the rebase as well as (re)signs the review request itself. If the 'archivePrevious' argument is true, then the previous head of the review will be added to the 'refs/devtools/archives/reviews' ref prior to being rewri...
[ -0.8273593783378601, -0.2429671287536621, 0.7931252121925354, 0.6631203293800354, 0.8640500903129578, -0.7696419358253479, 0.32227441668510437, 0.4201415479183197, -0.01851082406938076, 0.22938717901706696, -0.100189208984375, 0.3061414659023285, -0.49959471821784973, -0.1339128315448761, ...
parseMasterKey Parse a hexencoded master key that was passed on the command line Calls os.Exit on failure
[ 0.5781914591789246, -0.6054848432540894, 0.6309564709663391, 1.0442827939987183, -0.24889430403709412, 0.604216992855072, 0.08465634286403656, 1.0384347438812256, -0.023635556921362877, -0.23324620723724365, -0.6863547563552856, -0.33774253726005554, -0.714832603931427, 0.6514405012130737,...
getMasterKey reads hex encoded string from options or from password if provided Calls os.Exit on failure.
[ 0.5844365358352661, 0.1369217187166214, 0.4781482219696045, 1.3863584995269775, -0.3226589858531952, -0.047896046191453934, -0.2928658127784729, 0.31126293540000916, 0.3583664000034332, 0.07513504475355148, 0.5407553911209106, 0.13220180571079254, -0.2986966669559479, -0.1546730101108551, ...
loadConfig loads the config file "options.config" and returns masterkey either from password or options.masterkey
[ 0.19099916517734528, 0.15407854318618774, 0.3983030617237091, 1.0308165550231934, -0.4862767159938812, -0.5545885562896729, -0.2472243756055832, 1.3852970600128174, 0.5954408049583435, 1.398963451385498, -0.5769780874252319, -0.4924142360687256, -1.1120513677597046, 0.3883126378059387, 0...
HandleProfile handler for /profile
[ 0.5421276092529297, 0.5169132947921753, 0.4407508969306946, 1.5803685188293457, 1.4811066389083862, -0.3257768154144287, 1.2531086206436157, -0.3158164918422699, -0.7444536089897156, -0.40701955556869507, -0.26138755679130554, -1.965865135192871, -0.5499134063720703, -0.07228195667266846, ...
GenericPostRequest handles JSON transformation
[ -1.991967797279358, -1.0900187492370605, 0.5118862986564636, -0.646737813949585, -0.4510291814804077, -0.8432258367538452, -1.4167976379394531, 0.2788606882095337, -0.8621734976768494, 0.5069706439971924, -0.8263871669769287, -0.680323600769043, 0.7135264873504639, 0.16887123882770538, 0...
UserPostRequest handles JSON transformation
[ -1.7121375799179077, -0.7712333798408508, 0.37145721912384033, -0.03440847992897034, -1.170122742652893, -0.93841552734375, -1.0478447675704956, -0.23055118322372437, -0.36747974157333374, 0.06840181350708008, -1.4757527112960815, -1.1612462997436523, 0.7865467071533203, -0.565756678581237...
TODO: this is currently unused. Should be probably called once when starting the loadtest cmd or API server. It should also be called only when running a loadtest in production.
[ 0.19938954710960388, -0.8892543315887451, 0.4846552312374115, -0.03650958463549614, 0.8163788318634033, 0.45084741711616516, 0.37588170170783997, -0.3792051076889038, 0.9211475849151611, -0.4910992980003357, 0.039471812546253204, 1.567968726158142, -1.0710328817367554, 0.6055378913879395, ...
getErrOrigin returns a string indicating the location of the error that just occurred. It's a utility function used to find out exactly where an error has happened since actions inside a UserController might get called from a single place.
[ -0.30234649777412415, -0.6308898329734802, 0.4507298171520233, -0.04888390377163887, -0.025682829320430756, 0.5206971764564514, 1.0903077125549316, 0.7090322971343994, -0.07368969917297363, -0.5711520910263062, -0.2920665740966797, 0.40650320053100586, -0.029140347614884377, -0.27535605430...
GenerateRandomSentences generates random string from test_text file.
[ 0.13673622906208038, -0.7761817574501038, 0.2690350413322449, -0.23408077657222748, -0.11188628524541855, 0.4000224769115448, 0.4419463276863098, -0.23933015763759613, 0.438487708568573, 0.6835147142410278, -0.062107399106025696, -1.2125046253204346, -0.8023986220359802, 0.0779846683144569...
Connect to the PubSub server
[ 0.16014406085014343, -0.3266744613647461, 0.22770389914512634, 0.511478066444397, 0.1974908411502838, 0.6573643684387207, -1.5629222393035889, 0.5892349481582642, -0.9714083075523376, -0.4971889853477478, -0.11536260694265366, 0.4072509706020355, -0.8966547250747681, -0.3445192575454712, ...
Reconnect to the PubSub server
[ 0.07851306349039078, -0.9115031957626343, 0.1755857765674591, 0.09493932127952576, 0.09424565732479095, 0.38934773206710815, -1.2707202434539795, 0.31826114654541016, -0.6267145872116089, -0.050984013825654984, 0.004390884190797806, 0.8744477033615112, -1.0802838802337646, -1.5264444351196...
Write a message and send it to the server
[ -1.3391234874725342, 0.3938415050506592, 0.3040497601032257, 0.011650323867797852, 1.4516342878341675, -0.22841201722621918, 0.34593185782432556, 0.024594387039542198, -0.8862941265106201, -0.12076225876808167, -0.6846064329147339, 0.02121620625257492, -1.1061736345291138, 0.49258422851562...
WriteMessage with no nonce and send it to the server
[ -0.7696810364723206, 0.9121649861335754, 0.5039631128311157, -0.014719908125698566, 0.816335916519165, -0.06774343550205231, 0.6610825657844543, -0.12122125923633575, -0.35362708568573, -0.26874732971191406, -0.8059360980987549, -0.40324023365974426, -1.7733389139175415, 1.1661109924316406...
WriteMessageWithNonce write a message with the provided nonce and send it to the server This operation will block, giving the server up to 5 seconds to respond after correcting for latency before failing
[ -0.17859436571598053, 0.5666348338127136, 0.649700939655304, 0.7380425333976746, 0.7744798064231873, -0.6401597857475281, 0.7134914994239807, -1.3073006868362427, -0.36294662952423096, -0.12123287469148636, -0.09042473882436752, -0.8870487809181213, -2.231682062149048, 0.6334118247032166, ...
Close the connection to the PubSub server
[ 0.45075035095214844, -0.7406855821609497, 0.4775847792625427, 0.21469657123088837, 0.0034012943506240845, 1.374937891960144, -1.6354037523269653, 0.43117302656173706, -1.3904240131378174, -0.843970537185669, 0.8397412300109863, 0.38559234142303467, -1.2716028690338135, 0.08899790048599243,...
IsConnected returns true if the socket is actively connected
[ -0.5345410108566284, -0.9997402429580688, 0.8641018271446228, 0.45513731241226196, 0.028087884187698364, -0.849038302898407, -0.8157330751419067, -0.3910965621471405, 0.0689907893538475, 0.18797020614147186, -0.6544690728187561, 0.6615285277366638, -0.49318233132362366, -0.3435733020305633...
SetNonceGenerator changes the nonce generator that will be used A valid NonceGenerator is a function that takes no arguments and returns a string that is different every time it is called. Nonce strings must be at least 5 characters long.
[ -0.566650390625, 0.35879239439964294, 0.6416824460029602, -0.2961444556713104, -1.6093605756759644, -0.26034998893737793, 0.7321404814720154, -0.22444938123226166, -0.4941662549972534, -0.8329549431800842, -0.6615960597991943, -0.927254319190979, -1.1043130159378052, 0.8491658568382263, ...
SetMaxTopics changes the maximum number of topics the connection can listen to
[ 0.25342050194740295, -0.08748773485422134, 0.41603463888168335, -0.049655213952064514, -0.38444221019744873, 0.522714376449585, -1.020764708518982, -0.05961530655622482, 0.18666309118270874, -0.06307646632194519, -0.6648767590522766, 0.23148617148399353, -0.27248188853263855, -0.5269488692...
GetNumTopics returns the number of topics the connection is actively listening to
[ 0.9636101126670837, -0.28576263785362244, 0.48203521966934204, -0.12015377730131149, 0.612715482711792, -0.5635946393013, -0.0765911117196083, -0.5621263980865479, 0.10889361798763275, -0.6945927739143372, -0.6150780916213989, -0.3214428424835205, -0.16216589510440826, -0.9751642346382141,...
HasTopic returns true if the connection is actively listening to the provided topic
[ 0.8342099785804749, -0.44996920228004456, 0.6587833762168884, 0.05041886493563652, 0.4014469385147095, -0.17789027094841003, -0.7990990281105042, -0.22965772449970245, -0.4710255563259125, -0.46751895546913147, 0.4457654654979706, -1.0206880569458008, -0.17209860682487488, -0.2451327890157...
Listen to a topic using no authentication token This operation will block, giving the server up to 5 seconds to respond after correcting for latency before failing
[ 0.19187642633914948, -0.2759690284729004, 0.36141055822372437, -0.2539343237876892, 0.15665145218372345, 0.19751718640327454, -0.3210833668708801, -1.162421464920044, -0.48172977566719055, -0.5254247784614563, -0.18635763227939606, 0.24829956889152527, -1.0718437433242798, -0.6473397612571...
ListenWithAuth starts listening to a topic using the provided authentication token This operation will block, giving the server up to 5 seconds to respond after correcting for latency before failing
[ 0.7326468229293823, -0.589161217212677, 0.34042227268218994, -0.1425986886024475, 0.03384266048669815, -0.03067968226969242, -0.6019557118415833, -0.9318909049034119, -0.13010399043560028, 0.07695157825946808, -0.4828474223613739, 0.48330679535865784, -0.7155789136886597, -0.22188918292522...
Unlisten from the provided topics This operation will block, giving the server up to 5 seconds to respond after correcting for latency before failing
[ 0.3286457061767578, -0.7098610997200012, 0.46301427483558655, -0.08953113853931427, -0.4155770540237427, 0.407083123922348, 0.24879974126815796, -0.6760202646255493, -0.6812739372253418, -0.059052180498838425, -0.5930574536323547, -0.8845994472503662, -1.7219313383102417, -1.12711048126220...
Ping the PubSub server This operation will block, giving the server up to 5 seconds to respond after correcting for latency before failing
[ -0.34410610795021057, 0.23086975514888763, 0.5651322603225708, 0.8625137805938721, 0.3560623824596405, 0.6435997486114502, -0.475859671831131, 0.000004878750587522518, -0.4612258970737457, -0.028192542493343353, 0.28018391132354736, -0.28245192766189575, -1.8193868398666382, -0.70775026082...
OnMessage event called after a message is receieved
[ 1.3846100568771362, -0.35389429330825806, 0.583609938621521, -0.30164027214050293, -0.0691148191690445, -0.5302475690841675, -0.7121232151985168, 1.036986231803894, 0.345313161611557, -0.08397944271564484, -0.6001283526420593, 0.006026478949934244, -0.5738612413406372, 1.2411816120147705, ...
OnPong event called after a Pong message is received, updating the latency
[ 0.7991050481796265, -0.06274399906396866, 0.3334575593471527, -0.838158905506134, -0.15767914056777954, 0.02922486700117588, -0.9483513236045837, 0.4863792061805725, -0.3863605856895447, 1.0155572891235352, -0.8555029034614563, 0.15429526567459106, -0.3342658281326294, 0.430308073759079, ...
OnReconnect event called after the connection is reopened
[ 0.9727164506912231, -1.1356528997421265, 0.7364282011985779, -0.37547677755355835, -0.9477071762084961, -0.7164213061332703, -0.46115559339523315, 0.5434825420379639, -0.13511884212493896, 0.23618309199810028, -0.9009726047515869, -0.07258394360542297, -0.2629443407058716, -1.3028017282485...
OnDisconnect event called after the connection is closed
[ 1.6296237707138062, -1.3362741470336914, 0.587784469127655, 0.014303190633654594, -0.7562085390090942, 0.6370477676391602, -0.7448585033416748, -0.5016705989837646, -0.47613605856895447, 0.16194231808185577, -0.6165799498558044, -0.7424945831298828, -0.1539381444454193, 0.01354089379310607...
GetNumberValues Retorna el slice que representa cada uno de los digitos encontrados en TextNumbers
[ -0.386654794216156, 0.22294653952121735, 0.6374701261520386, 0.1980370134115219, 0.11930902302265167, 0.07318451255559921, -0.849399745464325, 0.36110660433769226, -0.6220914721488953, -0.3822498619556427, -0.30448174476623535, 0.16705594956874847, 0.027108611539006233, 0.4058772623538971,...
GetByteValues Regresa el slice que representa los digitos procesados
[ -0.3060266673564911, 0.8944496512413025, 0.7129879593849182, 0.5842984914779663, 0.8850951790809631, -0.03595122694969177, -0.524905264377594, -0.2877078950405121, -0.26021474599838257, -0.4134214222431183, -0.12009657174348831, 1.0347689390182495, -0.3411196172237396, -0.01680565066635608...