text
stringlengths
7
2.39k
embedding
listlengths
768
768
Returns the value of the 'go_package' option of the first .proto file found in the same directory as projectFile
[ 0.29218512773513794, 1.0244531631469727, 0.5635340809822083, 0.6876126527786255, 1.2332277297973633, 0.9348811507225037, 1.0247529745101929, 0.006024382542818785, -1.2411741018295288, 0.34207066893577576, 0.3346578776836395, -0.3064194619655609, -0.8579627275466919, 0.552191436290741, -0...
NewQueueManager instantiates a new QueueManager object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
[ -1.2839741706848145, -1.5047563314437866, 0.5983316898345947, 0.22469879686832428, 0.218587264418602, -0.36108824610710144, -0.9102876782417297, 0.12458863854408264, 0.4127471446990967, -0.6550997495651245, -0.36308518052101135, 0.06459105014801025, -0.7786985039710999, 1.7953795194625854,...
NewQueueManagerWithDefaults instantiates a new QueueManager object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
[ -0.688385009765625, -1.0044387578964233, 0.21814219653606415, 0.3026096224784851, 0.7271078824996948, -0.8913369178771973, -1.3494571447372437, -0.31811583042144775, 0.7244095802307129, -0.5942124724388123, -0.8285030126571655, -1.0721862316131592, -0.5681724548339844, 1.8633428812026978, ...
GetName returns the Name field value
[ -0.8269666433334351, 0.051356278359889984, 0.18010643124580383, 0.061485402286052704, -0.330118864774704, -0.003393458668142557, 0.42632296681404114, -0.012071345932781696, -0.6578257083892822, 1.4507031440734863, -0.6893348097801208, -1.337437391281128, 0.029867148026823997, -0.1308183073...
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
[ -0.9021196365356445, 0.14785581827163696, 0.7652137875556946, 0.21087558567523956, -0.3038471043109894, 0.42501357197761536, 0.32345423102378845, 0.09614304453134537, -0.9209078550338745, 2.0257863998413086, -1.882273554801941, -1.7038390636444092, 0.46443748474121094, 0.4642808437347412, ...
SetName sets field value
[ -0.5740866661071777, 0.12532870471477509, 0.15470218658447266, -0.5047356486320496, -1.0663871765136719, 0.01132421474903822, -0.15366776287555695, -0.630322277545929, -0.5116041302680969, 1.0443826913833618, -1.369942545890808, -1.2353695631027222, 0.9665693640708923, 0.6261243224143982, ...
GetClusters returns the Clusters field value
[ -0.627435028553009, 1.100071668624878, -0.010734466835856438, 0.3337286412715912, 0.8086608052253723, -0.01461486704647541, 0.8113682270050049, -0.5920442938804626, 0.9313129782676697, -0.7128276228904724, 0.4941689074039459, -0.2400808334350586, -0.6164430975914001, -0.8685732483863831, ...
GetClustersOk returns a tuple with the Clusters field value and a boolean to check if the value has been set.
[ -0.657686710357666, 0.9469112753868103, 0.61762535572052, 0.7823339700698853, 0.5502892732620239, -0.04403867572546005, 1.0215466022491455, -0.02779608964920044, -0.11231216043233871, 0.7236675024032593, -0.919370710849762, -1.1048580408096313, -0.28980886936187744, -0.23171159625053406, ...
SetClusters sets field value
[ 0.40508586168289185, 0.8882174491882324, 0.21754321455955505, -0.28892359137535095, 0.5936369895935059, 0.11653918027877808, 1.1518663167953491, -1.0084505081176758, 0.4811840355396271, -0.2978261709213257, -0.2342083901166916, -0.7007380127906799, -0.27009186148643494, -0.4869334101676941...
GetAliasQueues returns the AliasQueues field value
[ 0.9371768236160278, -0.7916545867919922, 0.49450230598449707, -0.26485154032707214, -0.07370611280202866, 0.13183198869228363, -0.13850027322769165, 0.5543791055679321, 0.6662029027938843, 0.8473033905029297, 0.2754853069782257, -0.11858992278575897, 0.2957865297794342, 0.8412706255912781,...
GetAliasQueuesOk returns a tuple with the AliasQueues field value and a boolean to check if the value has been set.
[ 0.29826822876930237, -0.5544091463088989, 0.6875366568565369, 0.15546610951423645, -0.1387639045715332, 0.19736367464065552, 0.3992183208465576, 0.7250186204910278, -0.0465373694896698, 1.4871279001235962, -1.014054775238037, -0.8765633702278137, 0.5265728831291199, 0.8869870901107788, 0...
SetAliasQueues sets field value
[ 1.0186645984649658, -0.18640662729740143, 0.33404773473739624, -0.5489338636398315, 0.08868777006864548, 0.030462846159934998, 0.2578728199005127, 0.11167893558740616, 0.6470017433166504, 1.0055397748947144, -0.3467613160610199, -0.7438818216323853, 0.7307127714157104, 0.9905300736427307, ...
GetRemoteQueues returns the RemoteQueues field value
[ 0.38741135597229004, -0.6737699508666992, 0.7360517382621765, -0.7265241146087646, -0.09299515187740326, 0.8773010969161987, -0.8647384643554688, -0.33008360862731934, 0.3641257882118225, 0.10772983729839325, -1.236942172050476, 0.4474133849143982, -1.0820088386535645, -0.26759931445121765...
GetRemoteQueuesOk returns a tuple with the RemoteQueues field value and a boolean to check if the value has been set.
[ 0.042528241872787476, -0.3935716450214386, 0.8603444695472717, -0.3355693221092224, 0.0486593134701252, 0.6019039750099182, -0.2544347047805786, 0.10466276109218597, -0.16296158730983734, 0.9633703231811523, -2.1272664070129395, -0.7751103043556213, -0.5266097784042358, 0.18184919655323029...
SetRemoteQueues sets field value
[ 0.9948270320892334, -0.43427300453186035, 0.4939056634902954, -1.0169384479522705, -0.09652168303728104, 1.1844955682754517, -0.8843636512756348, -0.5056724548339844, 0.22344425320625305, 0.5475142002105713, -1.7254736423492432, -0.10182207822799683, -0.445468544960022, 0.04610467329621315...
GetClusterQueues returns the ClusterQueues field value
[ 0.6424916386604309, -0.1699468493461609, 0.42102792859077454, 0.2816850244998932, 0.2736664414405823, -0.24032945930957794, -0.14823952317237854, -0.13234257698059082, 0.4757927656173706, 0.6145778894424438, 0.4524383842945099, 0.38053759932518005, -0.6978268623352051, -0.4504731297492981,...
GetClusterQueuesOk returns a tuple with the ClusterQueues field value and a boolean to check if the value has been set.
[ 0.27413830161094666, 0.08758611232042313, 0.7049360871315002, 0.46987876296043396, 0.278873473405838, -0.3125292956829071, 0.28651127219200134, 0.2391681671142578, -0.23838523030281067, 1.3268382549285889, -0.8717628717422485, -0.6222556233406067, -0.29694226384162903, -0.13025587797164917...
SetClusterQueues sets field value
[ 1.0922688245773315, -0.006545424461364746, 0.3341633677482605, -0.09852200001478195, 0.6201813220977783, -0.07583045959472656, 0.39397716522216797, -0.29036158323287964, 0.4264889359474182, 0.6442855596542358, -0.5251578688621521, -0.3951033353805542, -0.33078861236572266, 0.02694374695420...
Is the tiploc one for this station
[ -0.925099790096283, -1.2522255182266235, 0.29726898670196533, -0.015846755355596542, 0.3556130528450012, -0.4884131848812103, 0.6097621917724609, -0.18821848928928375, 0.9346781969070435, 0.40355396270751953, 0.5282810926437378, -0.7682808041572571, 0.728929340839386, -1.0656176805496216, ...
Does the service call at a specific station
[ -1.4016001224517822, -0.464245080947876, 0.2018713653087616, -0.3428688943386078, 0.3350536525249481, 0.4899178147315979, -1.5798571109771729, -0.9911478757858276, -0.5469911098480225, 0.021332787349820137, -0.11500172317028046, 0.09064903110265732, 0.03234633803367615, 0.22184959053993225...
Add a tiploc to the result so that it will be included in the tiploc map
[ -0.8212404251098633, -1.029723048210144, 0.7695698738098145, -0.9438098073005676, -0.03797311335802078, -0.13034994900226593, 0.5841030478477478, 0.3644845187664032, 0.9922559857368469, -0.08379139006137848, 0.34291231632232666, -0.847538411617279, 0.2614165246486664, -1.1365056037902832, ...
Add a ViaResolveRequest to the response
[ -0.022632384672760963, -0.5704270601272583, 0.5207211375236511, -0.3307402729988098, 0.6313435435295105, -0.80831378698349, 0.956019401550293, 0.2785658836364746, 0.5000395774841309, -0.5134648680686951, 0.2541534900665283, -1.4972623586654663, -0.359981507062912, -0.6392256021499634, -0...
Process calling points so that we generate the appropriate via and include their tiplocs
[ -0.4461376667022705, -0.24713946878910065, 0.24629691243171692, 0.04037683457136154, 0.10002564638853073, 0.32694870233535767, -0.4254744052886963, -0.14027348160743713, 0.936806857585907, 0.022292323410511017, 0.7424718141555786, -0.7317678332328796, 0.5211857557296753, 0.2275916635990142...
Process any associations, pulling in their schedules
[ -0.4316863417625427, -0.5550030469894409, 0.1899583637714386, 0.24423205852508545, 0.47577857971191406, -0.44787168502807617, 0.7936012744903564, -0.6279131174087524, 0.17217662930488586, -0.009253598749637604, 0.3757603168487549, -0.4228673577308655, 0.9454945921897888, -0.071872919797897...
acceptService returns true if the service is to be accepted, false if it's to be ignored
[ -1.000941276550293, 0.531821608543396, 0.7942750453948975, 0.015634402632713318, -1.3865301609039307, 1.4487650394439697, -0.44902944564819336, 0.014944104477763176, -0.28850609064102173, -0.4650133550167084, 0.3550304174423218, -0.19609293341636658, -1.4387463331222534, 0.8384189605712891...
NewSettingsDialog(parent widgets.QWidget, flags) is automatically generated
[ 0.2775338292121887, 0.5888254642486572, 0.11347897350788116, 0.9138372540473938, -0.3286765515804291, 0.9114429354667664, -0.3153718113899231, -0.031276997178792953, -0.09778112173080444, -0.25596511363983154, -0.41565319895744324, -0.4273478090763092, 0.17191080749034882, 1.36537492275238...
/ Send file to server in app dir, used for making dockercompose and nginx configuration available.
[ 0.15166230499744415, -0.5403991341590881, 0.514620840549469, 1.0123815536499023, -0.16112405061721802, 0.8790524005889893, 0.8995245099067688, 0.21867063641548157, -0.9554080367088318, 0.4275442361831665, -0.02208074927330017, 0.3239174485206604, 1.1227449178695679, 0.46064361929893494, ...
List all the known records
[ 0.8856170773506165, -0.4494703412055969, 0.29830676317214966, -0.09918801486492157, 0.6486725211143494, -0.01000902708619833, -1.0099197626113892, 1.3594475984573364, -0.1846374124288559, -0.18404673039913177, -0.5860790610313416, 0.7923805117607117, 0.13053841888904572, 1.0954245328903198...
rowToRecord converts from pgx.Row to a store.Record
[ 0.5161036849021912, 0.7559288144111633, 0.21598219871520996, -0.9441965222358704, -0.3916385769844055, 0.30841830372810364, -0.2489137202501297, -0.16298599541187286, 1.2119313478469849, -0.350918710231781, 0.4896310865879059, 0.6178956627845764, -0.049998365342617035, -0.985849916934967, ...
rowsToRecords converts from pgx.Rows to []store.Record
[ -0.49629706144332886, 0.6005091667175293, 0.13397759199142456, -0.7778842449188232, 0.09431429207324982, 0.03177936375141144, -0.691810667514801, 0.16404499113559723, 0.9575001001358032, 0.28838297724723816, 0.026425763964653015, 0.9799126386642456, -0.27605581283569336, -0.490842223167419...
Read a single key
[ -0.7058290243148804, 0.13421516120433807, 0.4371550679206848, 0.7342626452445984, -0.17064987123012543, -0.4147687554359436, -0.4645940065383911, -0.1128237247467041, -0.7667640447616577, -0.024826250970363617, 1.1955246925354004, 0.19509829580783844, -0.8807077407836914, -0.90183269977569...
Delete records with keys
[ 0.2676306366920471, -0.23993118107318878, 0.057302989065647125, -0.13809196650981903, -0.2502475678920746, -0.539583146572113, -0.9350393414497375, 0.5116972327232361, -0.6439113616943359, 1.0399755239486694, -0.4799613952636719, -0.6867894530296326, -0.3269919455051422, 0.3883732259273529...
NewStore returns a new micro Store backed by sql
[ 0.977237343788147, -0.09348127245903015, 0.1531795710325241, 0.884215772151947, -1.9356297254562378, -0.7623070478439331, -0.7298998832702637, -0.11391737312078476, 0.814824104309082, -0.9245132803916931, -0.07129434496164322, -0.5400509238243103, -0.23081360757350922, -0.2910480201244354,...
Easier getters to check whether those commands should be started or not
[ -0.39766746759414673, -0.6395829319953918, 0.8238738179206848, 1.1287201642990112, 0.7885984778404236, 0.6718004941940308, -0.020464017987251282, -0.2626626193523407, 0.47335267066955566, -0.22955678403377533, -0.5654220581054688, -0.4681539833545685, -0.4715287387371063, 0.806800127029419...
findConflict finds the index of the conflict. It returns the first pair of conflicting entries between the existing entries and the given entries, if there are any. If there is no conflicting entries, and the existing entries contains all the given entries, zero will be returned. If there is no conflicting entries, but...
[ -0.5317915081977844, -0.13464447855949402, 0.8149950504302979, 0.4256180226802826, -0.08345648646354675, -0.3347325921058655, 0.5437581539154053, -0.03676380217075348, -0.5454390645027161, -0.20550838112831116, 0.5064168572425842, -0.09249352663755417, -1.06662118434906, 0.2511045634746551...
New creates a new crawler
[ 0.17709212005138397, -0.3923388421535492, 0.2507481276988983, 0.7106927633285522, 0.9310089945793152, -0.5693833231925964, -0.003485014196485281, 0.46582913398742676, -1.8472294807434082, -0.9605276584625244, -0.4955538213253021, -0.49554020166397095, -0.1850198209285736, 0.942609190940856...
Add adds one or more previously unadded urls to crawler to visit. source can be nil to indicate root. Returns a list of errors if any occured.
[ -1.2910590171813965, 0.7743306756019592, 0.48815950751304626, 0.35211458802223206, 0.4860822558403015, -0.16367250680923462, 0.6908795833587646, 0.541172444820404, 0.4330010712146759, 0.03544546663761139, -0.41750597953796387, -0.21841654181480408, -0.12096001952886581, 1.6479871273040771,...
Run launches the worker pool and blocks until they all finish.
[ -0.3093859851360321, -0.6222638487815857, 0.21832215785980225, 0.7646607756614685, -0.03815990313887596, 1.0768682956695557, 1.0615472793579102, -0.28783315420150757, -0.37710079550743103, -0.14351661503314972, -1.1606318950653076, 0.29870593547821045, -1.0155882835388184, 0.45512765645980...
getSourcegraphVersion queries the Sourcegraph GraphQL API to get the current version of the Sourcegraph instance.
[ -0.2100440114736557, 0.44542190432548523, 0.005846722051501274, 0.28661876916885376, -0.3877987861633301, -0.38601377606391907, 0.6427095532417297, -0.5838035345077515, -0.5586933493614197, 1.0625001192092896, -1.0336321592330933, 0.7280540466308594, -0.3725753724575043, -0.909135282039642...
DetermineFeatureFlags fetches the version of the configured Sourcegraph instance and then sets flags on the Service itself to use features available in that version, e.g. gzip compression.
[ 0.01361826527863741, -0.05861285701394081, 0.1879308819770813, 0.9134200811386108, 0.41974321007728577, -0.3210545778274536, 0.03701505810022354, 0.04694095253944397, -0.5769562125205994, -0.44490617513656616, -0.843375563621521, 0.7632443904876709, 0.10536778718233109, 0.6477044820785522,...
Handler maps the different existing endpoints with the functions they must call
[ -0.3883029520511627, -0.7587035298347473, 0.44498997926712036, 1.7642450332641602, 0.8113629817962646, 0.49328261613845825, -0.28643709421157837, 0.22442537546157837, 0.021632203832268715, -0.3596678674221039, -1.1129878759384155, -0.34322285652160645, 0.7179872393608093, 0.587216794490814...
ApplyOptions applies given opts and returns the resulting Options. This function should not be used directly by end users; it's only exposed as a side effect of Option.
[ -0.27257096767425537, -0.025462014600634575, 0.49352189898490906, 0.14606870710849762, -0.21730394661426544, -0.6034008860588074, -0.10351509600877762, -0.0019542996305972338, 1.4658514261245728, -0.5344427227973938, 0.5883374810218811, 0.02272035740315914, -0.18822941184043884, -0.4432028...
ZeroLengthSectionAsEOF sets whether to allow the CARv1 decoder to treat a zerolength section as the end of the input CAR file. For example, this can be useful to allow "null padding" after a CARv1 without knowing where the padding begins.
[ 0.5259573459625244, -1.0096369981765747, 0.6930943727493286, -0.9452947974205017, -0.48524412512779236, -0.0008736437885090709, -0.6772633194923401, -0.7993869185447693, -0.31856873631477356, -0.9240939617156982, -0.035252898931503296, -0.17195048928260803, 0.423218309879303, 0.59620040655...
UseDataPadding sets the padding to be added between CARv2 header and its data payload on Finalize.
[ -0.5975927114486694, -0.12491901963949203, 0.3446224629878998, -1.1852426528930664, -0.6014680862426758, 0.2607243061065674, -0.751097559928894, -0.7003426551818848, -0.22957777976989746, -0.49182066321372986, -0.9549689292907715, 0.130685955286026, 0.0006245598196983337, 0.813291192054748...
UseIndexPadding sets the padding between data payload and its index on Finalize.
[ -0.9615673422813416, 0.761603832244873, 0.06584719568490982, -1.209047794342041, -0.06765734404325485, -0.37041518092155457, 0.5966281890869141, -0.9226295351982117, 0.09909140318632126, 0.0184362530708313, -0.34568551182746887, -0.17288050055503845, -0.503567636013031, 0.20388731360435486...
UseIndexCodec sets the codec used for index generation.
[ -0.39420291781425476, -0.6392976641654968, 0.3200390338897705, 0.20887191593647003, -0.17932718992233276, -0.554894208908081, 1.1981369256973267, 0.5792704820632935, 0.11412298679351807, -1.0412518978118896, 0.004447492305189371, 0.6050443649291992, 0.4239637553691864, -0.3401373624801636,...
WithoutIndex flags that no index should be included in generation.
[ -0.5899171233177185, 0.23922580480575562, 0.15168988704681396, -0.07331869751214981, -0.8218095898628235, 1.5423202514648438, 1.639465093612671, 0.725330114364624, -0.4005042612552643, -1.0331577062606812, -0.39727380871772766, -0.059779196977615356, -0.9082625508308411, 0.6050047874450684...
StoreIdentityCIDs sets whether to persist sections that are referenced by CIDs with multihash.IDENTITY digest. When writing CAR files with this option, Characteristics.IsFullyIndexed will be set. By default, the blockstore interface will always return true for Has() called with identity CIDs, but when this option is tu...
[ 0.08000782132148743, -0.7709681391716003, 0.632692813873291, -0.06848075240850449, 0.23894868791103363, 0.8042643666267395, 0.2556644380092621, 0.07095128297805786, 0.6403324007987976, -0.31667810678482056, -1.0828430652618408, -0.29520002007484436, -1.3706717491149902, -0.0625787004828453...
MaxIndexCidSize specifies the maximum allowed size for indexed CIDs in bytes. Indexing a CID with larger than the allowed size results in ErrCidTooLarge error.
[ 0.2737260162830353, -0.25929075479507446, 0.16116288304328918, -0.562047004699707, -0.2946144938468933, 0.15462005138397217, -0.18135981261730194, -0.37472400069236755, 0.8502278923988342, -0.5856172442436218, 0.14358820021152496, -0.014583807438611984, -0.6327555775642395, -1.489935874938...
WithTraversalPrototypeChooser specifies the prototype chooser that should be used when performing traversals in writes from a linksystem.
[ -0.07019976526498795, -0.3998878598213196, 0.482427716255188, -0.15704326331615448, -0.055051207542419434, 0.15758270025253296, 1.074026107788086, -0.42932870984077454, -0.09484169632196426, 0.5275450348854065, 0.06257039308547974, 0.0314851850271225, 0.25787830352783203, 0.260533362627029...
WithTrustedCAR specifies whether CIDs match the block data as they are read from the CAR files.
[ 0.667118489742279, -0.9081241488456726, 0.2933477461338043, -0.3269304931163788, 0.05322171375155449, 0.4577062726020813, 0.2055286318063736, -0.9248376488685608, -0.7954694628715515, -0.06962406635284424, -0.7037641406059265, 0.0647597387433052, -0.4718811810016632, -0.38766562938690186, ...
MaxAllowedHeaderSize overrides the default maximum size (of 32 MiB) that a CARv1 decode (including within a CARv2 container) will allow a header to be without erroring.
[ 0.6471496820449829, -0.24978968501091003, 0.5504830479621887, 0.03273287042975426, -1.7042200565338135, 0.4447506070137024, -0.8979652523994446, -0.6348234415054321, -0.07085160166025162, -1.0848569869995117, -0.0667540654540062, 0.6494901776313782, -0.7522530555725098, -0.5532246828079224...
MaxAllowedSectionSize overrides the default maximum size (of 8 MiB) that a CARv1 decode (including within a CARv2 container) will allow a header to be without erroring. Typically IPLD blocks should be under 2 MiB (ideally under 1 MiB), so unless atypical data is expected, this should not be a large value.
[ 0.7058971524238586, -0.49602171778678894, 0.8653877377510071, -0.31667062640190125, -1.8259804248809814, 0.2881835401058197, -0.7008616328239441, -0.2503304183483124, -0.6098954081535339, -0.8840376734733582, 0.28953471779823303, 0.2005881816148758, -0.3489116132259369, 0.18381090462207794...
WriteAsCarV1 is a write option which makes a CAR interface (blockstore or storage) write the output as a CARv1 only, with no CARv2 header or index. Indexing is used internally during write but is discarded upon finalization. Note that this option only affects the storage interfaces (blockstore or storage), and is ignor...
[ -0.9160743951797485, -0.8470155596733093, 0.6145455837249756, 0.6765579581260681, 0.2748147249221802, 0.43996283411979675, 0.9452895522117615, -0.20950795710086823, 0.004214963875710964, 0.5572575926780701, -0.11586707830429077, 0.5966688990592957, -0.31273332238197327, -0.3594647645950317...
AllowDuplicatePuts is a write option which makes a CAR interface (blockstore or storage) not deduplicate blocks in Put and PutMany. The default is to deduplicate, which matches the current semantics of goipfsblockstore v1. Note that this option only affects the storage interfaces (blockstore or storage), and is ignored...
[ -0.8662161827087402, -0.27316972613334656, 0.6443193554878235, -0.20977452397346497, -0.11167805641889572, 0.2093958854675293, 1.0936996936798096, -1.109544038772583, -0.04364747926592827, 0.13001543283462524, 0.07960245758295059, -0.3407900035381317, -1.1079543828964233, -0.01177279278635...
Hours returns the duration as a floating point number of hours.
[ -0.024113856256008148, 0.6713746786117554, 0.47718530893325806, 0.2523249685764313, -0.28172826766967773, 0.7898486852645874, -0.11492776870727539, -0.3423648774623871, -0.4357250928878784, 0.2193739265203476, 0.24927181005477905, -0.8135448694229126, -0.12790969014167786, -0.2107600420713...
Minutes returns the duration as a floating point number of minutes.
[ -0.07205420732498169, 0.3215794563293457, 0.14350615441799164, -0.5232058167457581, 0.8479792475700378, -0.38795018196105957, -0.5288006663322449, -1.3627374172210693, 0.6576217412948608, -0.10166168212890625, -0.06980423629283905, -0.6394351720809937, -0.19881686568260193, -0.012104809284...
Nanoseconds returns the duration as an integer nanosecond count.
[ 0.05015592649579048, 0.2074766755104065, 0.5258758068084717, -0.05110709369182587, -0.735050618648529, -0.7138603329658508, 0.46974921226501465, -0.6730296015739441, 0.12784306704998016, -0.27369460463523865, -0.6860712766647339, -0.9861843585968018, 0.8275740146636963, -0.0039220191538333...
Seconds returns the duration as a floating point number of seconds.
[ 0.6118991374969482, 0.20555013418197632, 0.15923212468624115, 0.583672285079956, 0.20276004076004028, -0.3115956783294678, 0.3113740086555481, -1.5198392868041992, -0.609578013420105, -0.6486400365829468, -0.3016619384288788, -0.28982269763946533, 0.31486937403678894, 0.639372706413269, ...
Returns a string representation of the duration in russian language
[ -0.48343974351882935, -0.37391209602355957, 0.5787587761878967, -0.6285423636436462, -0.6513821482658386, 0.14726746082305908, -1.2753523588180542, -0.4469532072544098, 0.07963359355926514, 1.376876711845398, -0.13585899770259857, -0.14119866490364075, 0.2762296795845032, 0.069395467638969...
Returns a string representation of the approximate duration in russian language
[ -0.43772855401039124, -0.6931509971618652, 0.53669673204422, -1.027618408203125, -0.9212458729743958, 0.470700204372406, -0.9515478014945984, -0.5181984901428223, 0.06711659580469131, 1.49834406375885, 0.21814888715744019, -0.2891960144042969, 0.46242931485176086, 0.3348006308078766, -0....
AddLabel adds a label to the specified PR or issue
[ 0.08754587173461914, -0.6855862140655518, 0.48866575956344604, 0.2335415929555893, 0.6984667181968689, 1.7773202657699585, -2.260274887084961, 0.14983771741390228, 1.1232357025146484, -0.13209323585033417, 1.4068036079406738, 0.20475992560386658, -1.034385085105896, -0.2598961293697357, ...
RemoveLabel removes the label from the specified PR or issue
[ -0.03680020198225975, -0.8539454340934753, 0.4754844605922699, -0.06608304381370544, -0.13082647323608398, 1.226557731628418, -1.2403196096420288, 0.9776371717453003, 0.8805452585220337, 0.3308626413345337, 1.0000256299972534, 0.0707891434431076, -1.2756760120391846, -0.47811055183410645, ...
GetIssueLabels gets the current labels on the specified PR or issue
[ -1.2823882102966309, -0.473868191242218, 0.439978688955307, 0.3243301510810852, -0.36333248019218445, 0.5428413152694702, -1.3006811141967773, -0.33115923404693604, 0.7212234735488892, 0.26721614599227905, 0.37804123759269714, -0.17600148916244507, -1.1505532264709473, -0.053267952054739, ...
CreateComment adds and tracks a comment in the client
[ 0.2952762544155121, -0.19370293617248535, 0.1566406637430191, 0.014589537866413593, 1.8465594053268433, 0.6763405203819275, 0.7480581402778625, -0.5836440920829773, -0.9420666694641113, -0.07065334916114807, -0.5191248059272766, -0.9377479553222656, -1.1438308954238892, 0.12218378484249115...
NumComments counts the number of tracked comments
[ 0.9264678955078125, -0.3345165550708771, 0.5577866435050964, -0.5442958474159241, 0.8878761529922485, -0.6945233345031738, 1.117357611656189, -0.4512561857700348, -0.40884366631507874, -0.11786750704050064, -1.148239254951477, -0.7642713785171509, 0.6079196929931641, -0.5095006823539734, ...
NewOutput instantiates a new output plugin instance publishing to elasticsearch.
[ -0.08245653659105301, -0.9145511984825134, 0.057147715240716934, 0.5655062198638916, -0.013526876457035542, -1.5033392906188965, 0.7331447005271912, 0.2800585627555847, 0.003538635093718767, 0.36337512731552124, -0.20741353929042816, 0.1514655500650406, -0.2755593955516815, -0.682515978813...
loadTemplate checks if the index mapping template should be loaded In case template loading is enabled, template is written to index
[ -0.8954429626464844, 0.529430091381073, 0.4142328202724457, 0.22797486186027527, -0.07783935964107513, -0.19537270069122314, 0.07734885066747665, 0.8456854820251465, 0.5030254125595093, 0.497760534286499, -0.23917154967784882, -1.0343737602233887, -1.1126461029052734, -0.6072953343391418, ...
New returns a new PagerDuty notifier.
[ -0.24246641993522644, -1.1668500900268555, 0.28428420424461365, -1.0063183307647705, 0.0021037054248154163, -0.4506920278072357, -0.19400830566883087, -0.4090414047241211, -0.389167457818985, -0.7906079888343811, -0.7254276871681213, -0.027034137398004532, 0.3412434160709381, 0.81177121400...
Notify implements the Notifier interface.
[ 0.06563308089971542, -0.19904348254203796, 0.0068212635815143585, 0.16904345154762268, 0.49384886026382446, -0.1332879364490509, 0.367363840341568, 0.2805570662021637, -0.29434067010879517, -0.5453987717628479, -1.5505918264389038, 0.3344794809818268, 0.4493861794471741, 0.7543147802352905...
String returns a JSON representation of the model
[ -1.5530626773834229, -2.4089605808258057, 0.3770749568939209, -0.9596893787384033, -1.035468578338623, 0.4436759054660797, -0.4034327566623688, -1.026373267173767, 0.007697850465774536, 0.7556281685829163, -1.0539326667785645, -0.14815498888492584, 0.29758384823799133, -0.5649598240852356,...
/ Outgoing connections Using an outgoing connection is a snap. A `net.Conn` satisfies the io.Reader and `io.Writer` interfaces, so we can treat a TCP connection just like any other `Reader` or `Writer`. Open connects to a TCP Address. It returns a TCP connection armed with a timeout and wrapped into a buffered ReadWrit...
[ -0.5918520092964172, -0.3680269420146942, 0.5813496112823486, -0.20361660420894623, -0.8803912401199341, -0.42822661995887756, 0.23090066015720367, 0.9680784344673157, 0.16295553743839264, -0.41567012667655945, 0.2866218388080597, -0.26818570494651794, 0.9839631915092468, -0.28679779171943...
NewEndpoint creates a new endpoint. To keep things simple, the endpoint listens on a fixed port number.
[ 0.9333085417747498, -0.979876697063446, 0.15283061563968658, 0.9359710216522217, 0.8381003141403198, 0.09299556165933609, 0.07598356902599335, -0.13010022044181824, -0.30033206939697266, -0.4509546458721161, -0.324463427066803, 0.11177440732717514, -0.40838751196861267, -0.1152112185955047...
AddHandleFunc adds a new function for handling incoming data.
[ 0.6449263691902161, -0.04136870801448822, 0.47817862033843994, -0.33470338582992554, 0.3359210193157196, 0.7472279667854309, 0.3986143469810486, -0.005969311576336622, -0.5124434232711792, -2.006852388381958, -0.6322941780090332, -0.028559477999806404, 0.796511709690094, -0.408678978681564...
Listen starts listening on the endpoint port on all interfaces. At least one handler function must have been added through AddHandleFunc() before.
[ 0.9030328392982483, -0.9112029075622559, 0.0884130522608757, 0.5777077078819275, 1.4418097734451294, 0.9841175675392151, 1.121628761291504, 0.5160533785820007, -0.47810402512550354, -1.1572452783584595, -0.2228628247976303, -0.8008930087089539, -0.3893212378025055, -0.22268575429916382, ...
handleMessages reads the connection up to the first newline. Based on this string, it calls the appropriate HandleFunc.
[ 0.8904999494552612, -0.4748649299144745, 0.4079318642616272, 0.11959017068147659, 0.38444027304649353, -1.058083415031433, -0.04572903364896774, -0.8291082382202148, -0.4147207736968994, -0.9809218645095825, 0.4743136465549469, -1.1137608289718628, -0.43755173683166504, 0.3281475305557251,...
/ Now let's create two handler functions. The easiest case is where our adhoc protocol only sends string data. The second handler receives and processes a struct that was sent as GOB data. handleStrings handles the "STRING" request.
[ 0.9594563245773315, 0.023007318377494812, 0.49642011523246765, -0.37139639258384705, 0.6387753486633301, 0.12874385714530945, -0.9602656960487366, -0.4937267303466797, -0.282489538192749, -0.7185314297676086, -0.025717152282595634, 0.5762460827827454, -0.5723312497138977, -0.37180143594741...
handleGob handles the "GOB" request. It decodes the received GOB data into a struct.
[ -0.6686848402023315, 0.5993351340293884, 0.46142980456352234, 0.6723647117614746, 0.7398014664649963, -0.3288777768611908, -0.8397505283355713, -0.9288378953933716, -0.27946704626083374, -0.06290499866008759, -0.5749536156654358, -0.3359473645687103, -1.055208683013916, -0.7122300267219543...
/ The client and server functions With all this in place, we can now set up client and server functions. The client function connects to the server and sends STRING and GOB requests. The server starts listening for requests and triggers the appropriate handlers. client is called if the app is called with connect=`ip ad...
[ 0.7918076515197754, -0.8714429140090942, 0.3011493384838104, 0.553839385509491, 0.4119354784488678, 0.5758838653564453, 0.09061022102832794, -0.11283493041992188, -0.8041458129882812, -0.3016500473022461, -0.06979721784591675, 0.14522075653076172, 0.08135516196489334, -0.5009158253669739, ...
server listens for incoming requests and dispatches them to registered handler functions.
[ -0.32337307929992676, -1.0922542810440063, 0.614662766456604, 0.6342874765396118, 0.9163951873779297, 0.8853376507759094, 0.12934699654579163, 0.587461531162262, -0.7682130336761475, -1.2218618392944336, -1.199423909187317, -0.5209881663322449, 0.8063983917236328, 0.21377789974212646, 0....
/ Main Main starts either a client or a server, depending on whether the `connect` flag is set. Without the flag, the process starts as a server, listening for incoming requests. With the flag the process starts as a client and connects to the host specified by the flag value. Try "localhost" or "127.0.0.1" when runnin...
[ 0.6222869157791138, -0.37570786476135254, 0.7093082070350647, 0.9035212397575378, 0.19426272809505463, 0.9113609790802002, 0.3220645487308502, -0.016002867370843887, -0.6526412963867188, -0.12162641435861588, 0.877621054649353, 0.20032474398612976, -0.12723945081233978, 0.08628198504447937...
The Lshortfile flag includes file name and line number in log messages.
[ 2.2284224033355713, -0.521795928478241, 0.5056049823760986, -0.47487080097198486, 0.15895181894302368, 0.7911701202392578, 0.30884993076324463, 0.27989527583122253, -0.2949531376361847, -1.055943250656128, -0.7820382118225098, 0.5676980018615723, 0.9652963280677795, 0.43046513199806213, ...
NewHealthController creates a health controller.
[ 1.0341354608535767, -0.4922136664390564, -0.018437549471855164, 0.17596344649791718, -0.6402848958969116, -0.1923953741788864, -0.33107033371925354, -0.6285794377326965, 0.17479975521564484, -0.8105265498161316, -0.2712569236755371, -0.11211880296468735, 0.5411922931671143, 1.2611873149871...
Health runs the health action.
[ 0.004572575446218252, -1.5814697742462158, 0.04210604727268219, 1.21477472782135, 0.551479160785675, 0.5735647678375244, 1.0715818405151367, 0.13338500261306763, 0.4373168349266052, -0.32803356647491455, 0.2717466354370117, 0.8014062643051147, 0.5845212340354919, 1.0255119800567627, -0.5...
NewGenerator starts foreground goroutine which generates sequence of unsigned ints and puts them in input channel, also it returnes stop channel which need to be triggered when generator need to be stopped
[ -1.6859036684036255, -0.19966715574264526, 0.5154937505722046, -0.34090059995651245, -0.8171687722206116, 0.3271953761577606, 0.34196168184280396, 0.02333500050008297, -0.09576908499002457, -0.5054907202720642, -0.23476199805736542, -0.2760850191116333, -0.655602753162384, 1.28110098838806...
Asset loads and returns the asset for the given name. It returns an error if the asset could not be found or could not be loaded.
[ -0.2691022455692291, -0.9419267177581787, 0.5205244421958923, -1.0505542755126953, -1.4146522283554077, -0.15375392138957977, -0.11907599121332169, -1.5095784664154053, -0.5603106021881104, 0.2632962465286255, 0.6717758774757385, 0.045992590487003326, -0.18437090516090393, -0.6648545265197...
MustAsset is like Asset but panics when Asset would return an error. It simplifies safe initialization of global variables.
[ -0.0929306373000145, 0.15821580588817596, 0.4423462152481079, 0.7752392292022705, -1.0880882740020752, 0.6832454800605774, 0.003947311080992222, -1.286971092224121, -0.07538469135761261, 0.05818919092416763, 0.03628065437078476, 0.16544577479362488, 0.16517236828804016, -0.1151823326945304...
AssetInfo loads and returns the asset info for the given name. It returns an error if the asset could not be found or could not be loaded.
[ 0.07494624704122543, -0.7035651206970215, 0.4812530279159546, -1.3608137369155884, -1.3336007595062256, 0.01413048431277275, 0.039905961602926254, -1.2343008518218994, -0.9982755780220032, 0.23097212612628937, 0.09395618736743927, -0.508912980556488, 0.3866036832332611, -0.4225662648677826...
AssetNames returns the names of the assets.
[ -0.6060993075370789, -0.6326746344566345, 0.4922581613063812, -0.7138320207595825, -0.7382345199584961, 0.5497991442680359, 0.00012206435349071398, -0.9406208395957947, -0.128846675157547, 0.9346140027046204, -0.20987248420715332, 0.4787035584449768, 0.5649244785308838, -0.4385503828525543...
RestoreAsset restores an asset under the given directory
[ 0.6920108795166016, -0.8882793188095093, 0.350678414106369, -1.0683259963989258, -0.3750123083591461, -0.22394120693206787, -0.07674922794103622, 0.18463824689388275, -0.38433903455734253, -0.6790561079978943, 1.0316658020019531, 1.0920321941375732, -0.41262176632881165, -1.339498639106750...
RestoreAssets restores an asset under the given directory recursively
[ 0.44365453720092773, -0.1801791787147522, 0.4858369827270508, -0.5981612205505371, -0.51106858253479, -0.41784146428108215, 0.37742650508880615, -0.14603884518146515, 0.37270674109458923, -0.853930652141571, 0.8166237473487854, 0.830143392086029, -0.48213666677474976, -0.5242205858230591, ...
Copyright 2018 Information Trust Institute Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at Unless required by applicable law or agreed to in writing, software distributed under the License is distrib...
[ 1.0036115646362305, 0.5152299404144287, 1.0093421936035156, 0.2233353704214096, -0.8839422464370728, -0.3233657479286194, 0.817648708820343, 0.1844223290681839, 0.7204026579856873, 0.9881335496902466, -0.524368166923523, -0.2112002819776535, 0.3213084936141968, -0.6425009965896606, 0.226...
Titleizes given name to match
[ -0.6181537508964539, -0.62105393409729, 0.48792117834091187, -0.1426551789045334, -0.884712815284729, 0.0704915001988411, -1.0318869352340698, -0.6913561820983887, 0.25412431359291077, 0.6280437707901001, 0.14570611715316772, -1.3348582983016968, 0.08625020831823349, -0.2285534143447876, ...
genFields generates fields config for given AST
[ -1.0974359512329102, 1.1709768772125244, 0.30276110768318176, -1.1343952417373657, -0.4942176342010498, 0.48144078254699707, -0.2895280718803406, 0.4969733953475952, -0.4073919355869293, 0.1702595204114914, -1.4175200462341309, -1.012736439704895, 1.5315333604812622, 0.44962209463119507, ...
genField generates field config for given AST
[ -0.8001899719238281, 0.9841805696487427, 0.2215532660484314, -1.0073182582855225, -0.28608381748199463, 0.6087492108345032, -0.5271897315979004, 0.5926729440689087, -0.5932055115699768, 0.2769140899181366, -1.3462694883346558, -0.6136054396629333, 1.5549421310424805, 0.5267740488052368, ...
genArguments generates argument field config for given AST
[ -1.7430391311645508, 0.4417628347873688, 0.3929465711116791, -1.0828865766525269, 0.2704821228981018, 0.691714346408844, -0.690066933631897, 0.5557729601860046, -1.274788498878479, 1.0762344598770142, -0.5398407578468323, 0.09430309385061264, 1.1888408660888672, 1.6256078481674194, -0.02...
genArgument generates argument config for given AST
[ -1.8837333917617798, 0.17271579802036285, 0.44359707832336426, -0.9538959264755249, -0.2533597946166992, 0.8329663276672363, -0.32456886768341064, 0.7181226015090942, -1.0598888397216797, 1.1120246648788452, -0.2727759778499603, 0.9406346678733826, 1.420074701309204, 1.7285587787628174, ...
AddReceipt adds receipt for user.
[ -0.05946793034672737, 0.4978964924812317, 0.43574175238609314, 0.8333116769790649, -0.43846073746681213, 0.30065059661865234, 0.018205517902970314, 0.12808015942573547, 0.9654181599617004, -0.7798806428909302, 0.1915431022644043, -0.5140191316604614, 0.8129087686538696, -0.4560670554637909...
Contain Returns true if slice contains string.
[ 0.6689397096633911, -1.3113775253295898, 0.36173099279403687, 0.3550261855125427, -0.5664052963256836, -0.0012429654598236084, -0.750516414642334, -0.8299171924591064, -0.6101053953170776, 0.6864012479782104, -0.03039500117301941, -0.008661016821861267, -0.4078994393348694, -0.115272432565...
MergeUnique Merges `source` string slice into `dest` and returns result. Inserts from `source` only when `dest` does not `Contain` given string.
[ -0.7757757902145386, 0.7333388328552246, 0.4385497272014618, -0.22393444180488586, -0.47063055634498596, -0.04716402664780617, -1.2932158708572388, 0.19846946001052856, 0.04870368540287018, 0.0044672307558357716, -0.8863934278488159, 0.4022389352321625, -0.40628910064697266, -1.03158473968...