text stringlengths 7 2.39k | embedding listlengths 768 768 |
|---|---|
update modifies the priority and value of an Item in the queue. | [
-0.4162297546863556,
-1.4327036142349243,
0.5722042322158813,
-0.4687226116657257,
-0.8187171816825867,
0.2495616227388382,
-1.9609414339065552,
0.3667340576648712,
0.26617568731307983,
0.3258581757545471,
-0.5878854990005493,
0.2447212040424347,
0.00591484596952796,
0.01600598357617855,
... |
Encode encodes bytes by huffman coding. | [
0.488496869802475,
0.34948161244392395,
-0.025856269523501396,
0.7535318732261658,
0.771059513092041,
0.005576491355895996,
-0.11447470635175705,
0.2564921975135803,
0.46143999695777893,
-0.07242945581674576,
-0.4767722189426422,
0.06852948665618896,
-0.48490476608276367,
0.747796416282653... |
Decode decodes bytes encoded by huffman coding. | [
0.6146178245544434,
-0.2293989509344101,
0.07653283327817917,
0.4578329026699066,
0.4555361270904541,
-0.1683310717344284,
-0.424386590719223,
0.16572065651416779,
0.8325284123420715,
-0.6466451287269592,
-0.5079544186592102,
0.328021764755249,
-0.32765236496925354,
0.4480167031288147,
0... |
TestWithRoundRobin verifies that TChannel appropriately notifies all subscribed peer lists when peers become available and unavailable. It does so by constructing a round robin peer list backed by the TChannel transport, communicating to three servers. One will always work. One will go down temporarily. One will be a b... | [
0.2361886203289032,
-0.22659337520599365,
0.421207457780838,
-0.21556274592876434,
1.2408337593078613,
0.7152391672134399,
0.3407481610774994,
-0.21469071507453918,
-0.12974725663661957,
-0.02723470889031887,
-0.3996734619140625,
-0.017949562519788742,
-0.719527542591095,
0.626171290874481... |
NewDetachNotification creates a new DetachNotification. | [
0.9581025838851929,
-0.6134360432624817,
0.1693318635225296,
0.47516313195228577,
-0.8575915098190308,
-0.5040867924690247,
0.4775010645389557,
0.007500721141695976,
-0.2958928644657135,
-0.4494200050830841,
-1.2925865650177002,
-0.37782323360443115,
0.9051109552383423,
-0.3212767541408539... |
Marshal serializes DetachNotification into bytes. | [
1.257637858390808,
-0.20349569618701935,
0.1405782848596573,
-0.4829502999782562,
-0.013658798299729824,
0.260977566242218,
-0.6370047926902771,
-0.7181091904640198,
0.569683849811554,
-1.0050652027130127,
-1.4649549722671509,
-0.08211027830839157,
0.6998776793479919,
-0.6905001997947693,
... |
MarshalTo serializes DetachNotification into bytes. | [
1.3775991201400757,
0.15879395604133606,
0.18358051776885986,
-0.549396276473999,
0.3161320388317108,
0.07972829043865204,
-0.6139071583747864,
-0.7112979292869568,
0.47612661123275757,
-1.2488001585006714,
-1.467587947845459,
0.18031156063079834,
0.6079187393188477,
-0.9830586314201355,
... |
ParseDetachNotification decodes given bytes as DetachNotification. | [
1.285400629043579,
-0.41905149817466736,
0.14631924033164978,
-0.2605929970741272,
-0.4194001257419586,
-0.36182451248168945,
-0.2902842164039612,
-0.4799653887748718,
0.4368581175804138,
-0.3579338788986206,
-1.3010333776474,
-0.23362725973129272,
0.49281197786331177,
-1.219364047050476,
... |
UnmarshalBinary decodes given bytes as DetachNotification. | [
0.7869511842727661,
-0.33747589588165283,
0.21082165837287903,
-0.8670550584793091,
-0.05962171033024788,
-0.3519167900085449,
-0.14835534989833832,
-0.6976253986358643,
0.3398115932941437,
-0.17390452325344086,
-0.8033534288406372,
-0.6206749081611633,
0.7725768685340881,
-0.8577796220779... |
MarshalLen returns the serial length in int. | [
0.858379602432251,
-0.11578387767076492,
0.20557233691215515,
-0.42593812942504883,
0.42196324467658997,
-0.391845703125,
0.08115211874246597,
0.6297677755355835,
1.651370644569397,
-1.4532352685928345,
-0.34096255898475647,
0.6085955500602722,
0.28209632635116577,
-0.31004491448402405,
... |
SetLength sets the length in Length field. | [
0.6531930565834045,
0.3380463421344757,
0.1559257209300995,
-0.5196980237960815,
0.4700070023536682,
1.3029261827468872,
0.7284648418426514,
1.289346694946289,
0.4671281576156616,
-0.54827880859375,
-1.0579315423965454,
-0.5179155468940735,
-0.18953612446784973,
0.17672650516033173,
-0.3... |
MessageTypeName returns the name of protocol. | [
-0.2996598780155182,
-0.02553018368780613,
0.5674853920936584,
-0.034343037754297256,
0.010800507850944996,
0.38677093386650085,
0.13450248539447784,
-1.6344836950302124,
-0.4910017251968384,
0.49619626998901367,
-0.3156561851501465,
-0.14162564277648926,
-1.5358048677444458,
-0.1471481323... |
TEID returns the TEID in uint32. | [
0.014046788215637207,
-0.04710742086172104,
0.19419315457344055,
-0.6200214624404907,
0.5115001797676086,
0.6286738514900208,
0.5352733731269836,
-0.317049503326416,
0.4824562668800354,
-0.24553585052490234,
0.41318774223327637,
-0.3973384499549866,
-0.2760753929615021,
0.46972882747650146... |
NewLauncher returns a new client Launcher. | [
0.5311727523803711,
-1.2970951795578003,
0.0369204543530941,
0.8115493655204773,
-1.8525794744491577,
0.5254359245300293,
-0.6043812036514282,
-0.5023404359817505,
-0.4685516953468323,
-1.2376843690872192,
-0.396858274936676,
-0.034602630883455276,
-0.6893299221992493,
1.0213240385055542,
... |
Up starts the client service with new configs. | [
-0.6983967423439026,
-0.5373885631561279,
0.20648425817489624,
0.4755920171737671,
0.10043265670537949,
0.027507543563842773,
0.1350281834602356,
0.19121277332305908,
-0.21490275859832764,
0.95027095079422,
-0.4430130422115326,
0.7652402520179749,
-0.1324753612279892,
0.09730979055166245,
... |
Down stops the client service. | [
0.3235284686088562,
-0.7512392401695251,
0.007940724492073059,
0.11302554607391357,
0.1019698828458786,
0.8994590640068054,
0.7307486534118652,
-0.6712125539779663,
-0.7864154577255249,
-0.6829026937484741,
0.3944917619228363,
0.6589098572731018,
-1.2351878881454468,
-0.3906162679195404,
... |
Exec will find the right running container to run a new command. | [
0.2285473793745041,
-0.8655271530151367,
0.3290040194988251,
1.1531870365142822,
0.945529043674469,
-0.38493162393569946,
-0.22251546382904053,
-0.6491696834564209,
-0.9181830883026123,
-0.7911450862884521,
0.5935119986534119,
0.7111141085624695,
0.9724761843681335,
0.2357563078403473,
0... |
NewChanIDFromOutPoint converts a target OutPoint into a ChannelID that is usable within the network. In order to convert the OutPoint into a ChannelID, we XOR the lower 2bytes of the txid within the OutPoint with the bigendian serialization of the Index of the OutPoint, truncated to 2bytes. | [
-0.10767336934804916,
-1.0262962579727173,
0.5267603993415833,
-0.3985820412635803,
-0.6780322194099426,
-0.3920658528804779,
-0.02499295212328434,
-0.43822547793388367,
0.6469550132751465,
-0.07082611322402954,
-0.02375025674700737,
1.1628919839859009,
-0.1298178732395172,
-1.223045349121... |
xorTxid performs the transformation needed to transform an OutPoint into a ChannelID. To do this, we expect the cid parameter to contain the txid unaltered and the outputIndex to be the output index | [
0.5577489137649536,
-0.3615041673183441,
0.3682486414909363,
-0.7116468548774719,
-0.29822129011154175,
-1.0047742128372192,
0.25083670020103455,
-0.601904571056366,
0.043045129626989365,
0.029977858066558838,
0.8820692300796509,
0.2998813986778259,
-0.23098406195640564,
-1.170332908630371... |
NextTemporaryChanID returns the next free pending channel ID to be used to identify a particular future channel funding workflow. | [
-0.21537132561206818,
-0.4231337308883667,
0.27270063757896423,
-0.4642833471298218,
-0.8404040932655334,
-0.33725330233573914,
0.583450436592102,
0.03651151806116104,
0.30619627237319946,
-0.9072980284690857,
0.48757365345954895,
0.3195136487483978,
-0.3225991427898407,
0.6667661070823669... |
RunCommonBootstrapDialog calls BootstrapConfig for every ConfigSpec registered over RegisterBootstrapConfigSpec(). | [
0.15900321304798126,
0.35365724563598633,
0.31076160073280334,
1.3900407552719116,
-0.08730576187372208,
-0.3830811083316803,
0.6489909291267395,
-0.08071873337030411,
-0.40400347113609314,
0.797475278377533,
0.009128815494477749,
0.3415827751159668,
0.533383309841156,
0.9634299874305725,
... |
RunModuleBootstrapDialog runs the module bootstrapping dialog for every section specification passed into the function. | [
-0.43408915400505066,
-0.3591460883617401,
0.1833353340625763,
0.6634290814399719,
0.5339055061340332,
-0.011121873743832111,
0.4250538647174835,
0.09579062461853027,
-0.07789058983325958,
0.42831018567085266,
0.2655726671218872,
0.40742027759552,
0.525007963180542,
1.2666255235671997,
0... |
Adding Coordinates of one path into the map. Notice: If the length of coordinates larger than 1000, will truncate to 1000 by scattering out some points inner them | [
-0.7979046702384949,
0.6247242093086243,
0.5760505795478821,
0.4486564099788666,
0.7244265675544739,
0.45409417152404785,
0.4079228937625885,
1.022974967956543,
1.7716480493545532,
-0.0839199498295784,
0.42644524574279785,
-0.6151689887046814,
-0.36190536618232727,
0.004675114061683416,
... |
build the query API URL | [
-1.035943627357483,
-0.8135803937911987,
-0.1370241343975067,
-0.2537422776222229,
0.5531677007675171,
0.36840876936912537,
-0.4412402808666229,
0.9352526664733887,
-0.09669383615255356,
-0.25290101766586304,
0.3404419422149658,
0.026661183685064316,
-0.2122230976819992,
-0.183161973953247... |
Send the request to Static Map API, return the Content of the Image | [
-1.979884147644043,
-0.9233158230781555,
0.4877270460128784,
0.058559663593769073,
-0.6607273817062378,
0.24480140209197998,
-0.9688922762870789,
-1.0896492004394531,
-0.06837283819913864,
0.41320279240608215,
0.35393282771110535,
0.1563127636909485,
-0.17411918938159943,
0.097605913877487... |
NewScout returns a copy of a new Scout instance | [
-0.2560548484325409,
-1.0625323057174683,
0.16162502765655518,
0.7942013740539551,
-0.9985958933830261,
0.4268767833709717,
-0.450989693403244,
-0.9236365556716919,
0.36763009428977966,
0.37591129541397095,
0.046157557517290115,
0.8083705902099609,
0.05625030770897865,
-0.3363575339317322,... |
Search searches the map for asteroids, appending "visible" asteroids to VisibleMap. Once this is done, it reports its findings to the dispatcher via the Messages channel. | [
-0.9516444802284241,
0.6197625994682312,
0.32604774832725525,
-1.1108719110488892,
0.3474224805831909,
0.598126232624054,
0.4776032269001007,
-0.5867785811424255,
0.444059282541275,
-0.3387857675552368,
-0.6562556624412537,
0.6194557547569275,
0.8426960706710815,
0.8050554990768433,
0.08... |
ReadConfigFile unmarshals a JSON body from filename and returns an OCI Spec | [
-0.5922784805297852,
-0.21588337421417236,
0.36117735505104065,
-0.9027799367904663,
0.4104512929916382,
-0.04604467749595642,
-0.4316069483757019,
0.15903480350971222,
-0.9884679317474365,
1.0560674667358398,
0.7729337811470032,
-0.5129252672195435,
0.5308505296707153,
-0.9159548878669739... |
ReadConfig unmarshals a JSON body from input and returns an OCI Spec | [
-0.554560124874115,
0.04130251705646515,
0.4000369608402252,
-0.9686894416809082,
0.28850433230400085,
-0.07687292993068695,
-0.7337588667869568,
-0.03560543805360794,
-0.04357519745826721,
1.0314253568649292,
0.9645749926567078,
-0.09577598422765732,
0.551193118095398,
-0.7818230986595154... |
Start starts the job specified by the configuration. | [
0.5367458462715149,
-0.19060403108596802,
0.054002147167921066,
1.351835012435913,
0.5127995610237122,
-0.2745763957500458,
0.29578784108161926,
1.381571650505066,
-0.5793665051460266,
0.05166130140423775,
-0.12040550261735916,
0.5801662802696228,
0.1346587836742401,
-0.18593326210975647,
... |
ID returns the job ID. | [
0.8993164896965027,
-0.6144305467605591,
0.08213657885789871,
0.7456951141357422,
0.1318928301334381,
0.7550593614578247,
-0.028853386640548706,
0.7976676821708679,
0.6743428111076355,
-1.0182600021362305,
0.10189535468816757,
-0.049612145870923996,
-1.1581661701202393,
0.15511742234230042... |
Wait waits waits until either the process finishes or context is done, whichever happens first. | [
0.392581582069397,
-0.3288848102092743,
0.15221188962459564,
-0.21880115568637848,
0.8800206184387207,
0.4596378803253174,
-0.4459321200847626,
-0.5013046264648438,
0.28973227739334106,
-0.8385079503059387,
-0.48626473546028137,
-0.1702694147825241,
0.4644411504268646,
0.13361532986164093,... |
Stop kills the job process and all children. | [
0.4326871931552887,
-1.4096084833145142,
0.4020366668701172,
0.6690840125083923,
-0.46049848198890686,
0.49131807684898376,
-0.19236880540847778,
0.5208569765090942,
-1.070698857307434,
0.14567430317401886,
-0.765275776386261,
-0.40468963980674744,
0.2537463903427124,
-0.15697968006134033,... |
parseCPUTimeLine parses duration from a `cpu.stat` line. | [
0.2744196355342865,
0.3655826151371002,
0.16701765358448029,
0.7047039866447449,
-0.4426136910915375,
-0.026606041938066483,
0.3115730583667755,
-0.3673165738582611,
-0.6322787404060364,
0.4913283884525299,
-0.027456356212496758,
-0.537664532661438,
0.6511891484260559,
-0.47313621640205383... |
Status returns the job status. For running jobs, the status is derived from cgroup data. For finished jobs, the status is derived from os.ProcessState of the underlying command. | [
0.09283412992954254,
-0.5596439838409424,
0.17117631435394287,
0.2601219415664673,
-0.10401615500450134,
0.22521667182445526,
0.20335906744003296,
0.49252811074256897,
-0.5376110076904297,
-0.5416391491889954,
-0.295463502407074,
0.43183863162994385,
-0.314534455537796,
0.7640743851661682,... |
HandleLog calls stdoutHandle for all contents in job stdout and calls stderrHandle for all contents in job stderr until either: ctx is done job is done HandleLog reads at most n bytes at a time. HandleLog watches for inotify events to track file changes internally. | [
0.6324902772903442,
-0.1952177733182907,
0.4581710696220398,
0.2183535099029541,
-0.8378522992134094,
-0.07428185641765594,
-0.0506061315536499,
-0.6756272315979004,
-0.6217199563980103,
-1.105992317199707,
0.49943825602531433,
-0.7148696780204773,
-0.14236266911029816,
0.386576384305954,
... |
Execute reads an execution request from fifoPath and executes it. Execute will always create a cgroup with name identical to parsed ID and add the process to it. Execute is an internal function and is expected to be called by main package directly during reexecution triggered by Start. | [
0.059014931321144104,
-0.686506986618042,
0.2816399037837982,
0.2861384451389313,
0.3839191496372223,
-0.6103996634483337,
-0.6764141321182251,
-0.2582818567752838,
-0.9866003394126892,
0.7389518618583679,
0.17462626099586487,
-0.41263580322265625,
-0.544731080532074,
-0.49051883816719055,... |
UseDBCache returns true when database cache should be used; false for in memory cache | [
-0.3326698839664459,
0.9264823198318481,
0.9084893465042114,
0.09109953790903091,
-0.5789230465888977,
-0.3626817762851715,
-0.0894901230931282,
-0.07413260638713837,
0.21334707736968994,
0.5028499364852905,
0.05271413177251816,
-0.35616835951805115,
-1.5263619422912598,
0.9589556455612183... |
CacheDBType returns the type of the database that should be used for storing cached data | [
-0.7527601718902588,
1.154003381729126,
0.5310565233230591,
0.7752133011817932,
0.06280932575464249,
1.3131351470947266,
-0.12041715532541275,
-0.30009976029396057,
0.4724537134170532,
-0.24817557632923126,
-1.0586215257644653,
1.0620251893997192,
-1.1962549686431885,
0.9025051593780518,
... |
CacheDBConStr returns connection string to access the cache database | [
-0.5165308713912964,
-0.8523311018943787,
0.29465556144714355,
0.46670857071876526,
-0.8451803922653198,
1.288239598274231,
-0.5781969428062439,
0.6827712059020996,
-0.705154299736023,
0.18115559220314026,
0.21635764837265015,
0.3873354196548462,
-0.26920902729034424,
0.3528063893318176,
... |
ExportToDBConStr returns connection string to use to export result to database | [
-0.0908014252781868,
-0.6111941337585449,
0.6233150959014893,
0.3606429398059845,
-0.754013180732727,
0.8894758820533752,
-0.22498595714569092,
0.31346142292022705,
-0.47180479764938354,
0.3675622344017029,
0.24427348375320435,
-0.1417020857334137,
-0.46632254123687744,
-0.2164045721292495... |
Flags validates flags for the given command. | [
0.4463288486003876,
0.3535231947898865,
0.06802351772785187,
0.6957513093948364,
0.41434261202812195,
1.3323273658752441,
-0.04835396260023117,
0.036004722118377686,
-0.6173763871192932,
-0.6416679620742798,
0.540272057056427,
0.7792133092880249,
-0.7985948920249939,
1.3700039386749268,
... |
UnmarshalJSON implements json.Unmarshaller for a Line | [
-0.9871987700462341,
-0.6960242986679077,
0.37209442257881165,
-1.1912455558776855,
-0.609054684638977,
-0.7403708696365356,
-0.8482359051704407,
-0.2989857494831085,
-0.029415814206004143,
-0.6347454786300659,
-0.5136679410934448,
-0.7232193350791931,
0.7615602016448975,
0.178924560546875... |
ListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist. | [
-1.4100167751312256,
0.27132904529571533,
0.6070481538772583,
-0.3612254559993744,
-0.45472487807273865,
-1.1048998832702637,
-0.8462615013122559,
-1.1866884231567383,
1.1704661846160889,
-0.882387638092041,
-0.7833048701286316,
-1.0419890880584717,
0.20382587611675262,
0.8808469772338867,... |
WaitMapTaskFinished reduces can't start until the last map has finished. | [
-0.01857549138367176,
-0.6456181406974792,
0.5614259243011475,
0.3760181665420532,
0.380664199590683,
0.4847467243671417,
0.24986951053142548,
0.6031058430671692,
-0.3048575222492218,
-0.3059517443180084,
-1.071165919303894,
-0.5981408357620239,
0.34549984335899353,
0.31055811047554016,
... |
start a thread that listens for RPCs from worker.go | [
1.252482295036316,
-0.9008768796920776,
0.331221342086792,
-0.6493754386901855,
1.3164275884628296,
1.0700645446777344,
-0.30753013491630554,
-0.24274587631225586,
-0.3565559685230255,
-0.9284306168556213,
-0.2791231870651245,
0.9082028269767761,
-0.7282663583755493,
-0.2110782414674759,
... |
main/mrmaster.go calls Done() periodically to find out if the entire job has finished. | [
0.3617378771305084,
0.08581848442554474,
0.7026135325431824,
0.8065128326416016,
0.11613110452890396,
0.26112762093544006,
-0.10293971747159958,
-0.2955755591392517,
-0.582634687423706,
-0.03718386963009834,
-0.5298598408699036,
0.15746648609638214,
-0.7878932356834412,
1.0609993934631348,... |
create a Master. main/mrmaster.go calls this function. nReduce is the number of reduce tasks to use. | [
-0.501855731010437,
0.9523093700408936,
0.6438331007957458,
0.6667275428771973,
-0.11991903185844421,
-0.5071206092834473,
0.5012855529785156,
0.1029399037361145,
-0.19153200089931488,
-0.42838582396507263,
-1.079623818397522,
-0.6066523790359497,
-0.6247329711914062,
0.5697847604751587,
... |
use ihash(key) % NReduce to choose the reduce task number for each KeyValue emitted by Map. | [
-1.2641013860702515,
0.3817736804485321,
0.5992011427879333,
0.9412150979042053,
-0.38540327548980713,
-0.6789924502372742,
1.0898444652557373,
0.3521668612957001,
-0.5040527582168579,
0.1495480090379715,
-1.29145085811615,
-0.9996756315231323,
0.5485542416572571,
0.3634094297885895,
0.1... |
Generate a 6digit random number. | [
0.3754163086414337,
-0.6960923671722412,
0.08474625647068024,
-0.008769333362579346,
0.18400341272354126,
0.5331165194511414,
0.5216333270072937,
0.5994462966918945,
1.0013138055801392,
-1.3535270690917969,
-0.8913679122924805,
-0.043587930500507355,
0.28315865993499756,
-0.024410590529441... |
Add salt string and encrypt them as base64 to increase the length of the QR code content. Because the length of the QR code content affects the complexity of the QR code. | [
0.1818467229604721,
0.31379690766334534,
0.4186939001083374,
-0.1813960075378418,
0.21287637948989868,
0.4645865559577942,
-0.9625211358070374,
-1.29719877243042,
1.0374846458435059,
0.007127557881176472,
0.22250670194625854,
-0.2308841198682785,
0.35545283555984497,
-0.03510361537337303,
... |
If there is a content, generate a QR Code with the content, If there is no content, generate a QR Code withe a 6digit authentication number. Return QR Code, 6digit authentication number and error. | [
0.19013981521129608,
-0.5163812637329102,
0.4996681213378906,
0.3685019910335541,
0.1805284023284912,
-0.521547794342041,
-0.5045863389968872,
-0.34915193915367126,
0.9258658289909363,
-0.6969963908195496,
-0.614337682723999,
-0.4728502631187439,
-0.27624067664146423,
0.5994337797164917,
... |
Verify by comparing entered QR Token with token,created when QR Code was generated, stored in DB. | [
1.0023342370986938,
-0.841231107711792,
0.18887338042259216,
0.2849477231502533,
0.2544749677181244,
0.33400920033454895,
0.19419479370117188,
-1.44143545627594,
-0.34522923827171326,
-0.992951512336731,
-1.191027045249939,
-0.03798312693834305,
-0.1089341789484024,
0.07504581660032272,
... |
StatusText returns a text for the General status code. It returns the empty string if the code is unknown. | [
-0.5346828699111938,
-0.4887996315956116,
0.3594481348991394,
0.46448639035224915,
-0.6527523994445801,
0.6372005343437195,
-1.1078623533248901,
-0.1678294539451599,
1.3272624015808105,
0.6672653555870056,
-0.17151568830013275,
0.07650832831859589,
-0.24586141109466553,
-0.0952007398009300... |
ReadConfig reads the config file. If the service is started with an argument it's assuming this is a path to a config JSON file. If no argument is passed it checks: /etc/craftdoor/master.json ./develop.json | [
-0.5495562553405762,
0.12223449349403381,
0.6155412197113037,
0.8338714838027954,
-0.1425214260816574,
-0.06102319806814194,
0.5611099004745483,
0.19901658594608307,
-0.7611518502235413,
0.03800381347537041,
0.7229828834533691,
0.2086181491613388,
-0.21909575164318085,
1.2270123958587646,
... |
1m | 1h | 1d | [
-0.2395806610584259,
0.5421855449676514,
0.7738841772079468,
1.2217046022415161,
0.03232686221599579,
0.17743906378746033,
0.2653905153274536,
-1.4251134395599365,
-0.22258438169956207,
0.0453057661652565,
-0.051199570298194885,
0.33603453636169434,
-1.5602903366088867,
1.5439342260360718,... |
checks that the return value is 36 bytes long | [
1.1623387336730957,
0.3967171907424927,
0.3815292418003082,
0.5052376985549927,
0.990220844745636,
1.2779089212417603,
-0.7397422790527344,
-0.5553094148635864,
0.7348238229751587,
-0.4117829501628876,
-0.9353915452957153,
-0.6227034330368042,
-1.4968429803848267,
-0.25115084648132324,
-... |
multiple return types func function name(paaametername type) (float32, float64) | [
-0.5589646697044373,
-0.12994734942913055,
0.5309802889823914,
0.4274764955043793,
-0.16422267258167267,
-0.2921430170536041,
0.40497976541519165,
-1.6935226917266846,
-0.20225316286087036,
0.6079156398773193,
-0.24394866824150085,
-0.4232499897480011,
-0.639072597026825,
0.366594284772872... |
return values can be named | [
-0.5583972930908203,
0.4534304141998291,
0.3575851619243622,
0.6698185205459595,
-1.1108680963516235,
-0.6574978828430176,
-0.5239590406417847,
-0.49742159247398376,
-0.28135165572166443,
-0.3860779106616974,
-1.3061046600341797,
-0.3495597541332245,
0.3685280978679657,
0.07423300296068192... |
Blank identifier is _ Everything in go is passed by value. Variadic functions | [
0.11896930634975433,
0.06865347921848297,
0.3161211609840393,
1.612425446510315,
0.9641090035438538,
0.33990445733070374,
-0.009585676714777946,
-0.23613214492797852,
0.4052504599094391,
-0.5560935139656067,
-1.3700731992721558,
0.6211646199226379,
-0.0409158430993557,
0.3353321850299835,
... |
Link represents the link command | [
0.795769214630127,
0.03075565956532955,
0.1038890853524208,
0.6724547743797302,
1.270267128944397,
0.46207448840141296,
0.651587188243866,
0.46239861845970154,
1.0535907745361328,
-1.0967472791671753,
0.28657570481300354,
1.0790055990219116,
0.025719666853547096,
-0.4573763906955719,
-1.... |
ServicePage loads and serves the services page | [
0.4265861511230469,
0.5331360697746277,
0.30588626861572266,
-0.37268561124801636,
0.20395596325397491,
0.37720850110054016,
0.6437580585479736,
-0.3693728744983673,
-0.6225737929344177,
0.13876959681510925,
1.20428466796875,
-0.4905962347984314,
-0.7691266536712646,
1.3286188840866089,
... |
New returns a WireGuard interface with the given name. If the interface exists, its index is returned. Otherwise, a new interface is created. The function also returns a boolean to indicate if the interface was created. | [
-1.2471078634262085,
0.03761710599064827,
0.6833834648132324,
0.043048225343227386,
-0.6575639843940735,
-0.37230563163757324,
0.4653778076171875,
-0.7405438423156738,
-0.6221213340759277,
-0.15148302912712097,
-0.7407804131507874,
-1.000976800918579,
-1.0169868469238281,
0.396960496902465... |
Keys generates a WireGuard private and public keypair. | [
-0.7729829549789429,
0.37962859869003296,
-0.04376916214823723,
-0.2171807885169983,
-0.43461236357688904,
-0.4845167100429535,
-0.8989922404289246,
-0.4388037621974945,
-0.3789050281047821,
0.052229106426239014,
-0.542033851146698,
-0.6058062314987183,
-0.8372421264648438,
1.3936481475830... |
GenKey generates a WireGuard private key. | [
-0.7379540801048279,
0.5006002187728882,
0.17087069153785706,
0.6537115573883057,
0.1276993453502655,
0.4983498752117157,
0.08393638581037521,
-0.7830658555030823,
-0.03582574427127838,
-0.15787716209888458,
-0.3766794800758362,
-0.29817602038383484,
-0.7512038946151733,
0.3968250453472137... |
PubKey generates a WireGuard public key for a given private key. | [
0.6156882047653198,
0.8644921779632568,
-0.020914066582918167,
0.44335317611694336,
-0.3084191083908081,
-0.9152532815933228,
-0.4286705553531647,
0.2552485167980194,
-0.13541166484355927,
0.4425167441368103,
-0.005263907834887505,
-0.565697968006134,
-0.4325578212738037,
1.307482242584228... |
SetConf applies a WireGuard configuration file to the given interface. | [
0.6854202747344971,
-0.05883269011974335,
0.14041417837142944,
1.1352823972702026,
0.2503005862236023,
0.41160672903060913,
1.1532161235809326,
0.6153519749641418,
-0.77720046043396,
0.5470335483551025,
-0.1342712938785553,
-0.7033513784408569,
-0.37089213728904724,
1.4842661619186401,
-... |
ShowConf gets the WireGuard configuration for the given interface. | [
0.3773072063922882,
0.6620215177536011,
-0.0038919863291084766,
0.42274966835975647,
-0.8845645785331726,
-1.0240237712860107,
0.9083966016769409,
-0.38402044773101807,
-0.15873995423316956,
0.6335450410842896,
-0.32725420594215393,
-0.11196881532669067,
-0.3403252363204956,
1.570514678955... |
Parse takes a string presumed to be an ATS cache.config and validates that it is syntatically correct. The general format of a cache config is three types of labels separated by spaces: primary_destination=value secondary_specifier=value action=value For a full description of how to format a cache config, refer to the ... | [
-0.680968701839447,
-0.21259108185768127,
0.4352656900882721,
-0.019496574997901917,
-0.9005804061889648,
-0.03132655844092369,
-0.5374566316604614,
0.3854486644268036,
-0.2202731966972351,
0.3928791880607605,
-0.20648060739040375,
0.4739221930503845,
0.9330126047134399,
0.2873081564903259... |
function that handles the website's back end | [
0.46086597442626953,
0.2142251878976822,
0.5943834781646729,
1.1449555158615112,
0.6399757862091064,
-0.24028380215168,
1.621850848197937,
0.3563537895679474,
-0.03471570461988449,
0.1221109926700592,
0.177338108420372,
-0.3602967858314514,
-0.8718779683113098,
-0.5671501159667969,
0.300... |
CreateDir creates a folder if it doesn't exist | [
0.1565747708082199,
0.3505589962005615,
0.3378140926361084,
0.4276890456676483,
0.38981810212135315,
1.4724208116531372,
-0.4525477886199951,
-0.2795339822769165,
-0.4726172387599945,
-1.5118941068649292,
0.285585880279541,
-0.1450880765914917,
-0.22473113238811493,
0.49315354228019714,
... |
FileExists check if a file or folder exists | [
-0.5692452192306519,
-0.568448007106781,
0.6185089349746704,
0.6298317909240723,
1.4586166143417358,
0.6454576849937439,
-1.209959864616394,
0.9614992141723633,
-0.9302464723587036,
-0.4626169800758362,
0.7173680067062378,
-0.7039547562599182,
1.2788571119308472,
0.45558473467826843,
-1.... |
internal getter and setter to replace hashmaps | [
-0.2738441228866577,
-0.6428914070129395,
0.40354570746421814,
-0.21694177389144897,
-0.28440940380096436,
-0.2788647413253784,
0.2611677944660187,
0.46122604608535767,
0.5524503588676453,
-0.6646928191184998,
-0.16669861972332,
-1.2113761901855469,
0.5443533658981323,
0.4566865563392639,
... |
Within a constant declaration, the predeclared identifier iota represents successive untyped integer constants. It is reset to 0 whenever the reserved word const appears in the source and increments after each ConstSpec. It can be used to construct a set of related constants: | [
-0.3061755895614624,
0.29958125948905945,
0.57160484790802,
-1.041944146156311,
0.25355392694473267,
0.1254820078611374,
1.0701931715011597,
0.22424373030662537,
-0.2743561565876007,
-0.6398914456367493,
-0.7603265047073364,
0.4676658511161804,
0.052441760897636414,
-0.4542708098888397,
... |
SaveStruct serializes every time.Time as both with and without dot suffix | [
-0.4790796637535095,
-0.9758676290512085,
0.33850541710853577,
-0.45314785838127136,
-0.339415580034256,
0.2268495410680771,
-0.30344849824905396,
-1.1135462522506714,
0.9428556561470032,
0.8271774649620056,
-1.6409956216812134,
-0.17217198014259338,
0.6790443658828735,
1.0464158058166504,... |
LoadStruct deserializes every field ending with a dot as both with and without the dot suffix | [
0.16164560616016388,
-0.954838216304779,
0.3645749092102051,
-1.3153027296066284,
-1.120165467262268,
-0.07409025728702545,
-0.6973307132720947,
-0.675524890422821,
0.08117624372243881,
-0.6571840643882751,
-1.5818920135498047,
0.34574589133262634,
0.6987228989601135,
-0.2050318568944931,
... |
NewQueueConsumerFactory Initializes a new factory using the provided config. | [
0.9338579177856445,
-0.845033586025238,
0.2831111252307892,
0.3960079848766327,
0.1350264698266983,
-1.1940183639526367,
0.10193028301000595,
-0.21402041614055634,
-0.26971784234046936,
-0.16470979154109955,
-0.45022106170654297,
0.44817087054252625,
0.2594425082206726,
0.31614264845848083... |
generateQueueName will return the QueueName which consists of a prefix and the topic | [
-0.5968999266624451,
-1.5369648933410645,
0.7879766821861267,
-0.39212310314178467,
-0.22985996305942535,
0.26339203119277954,
-1.234332799911499,
0.39853912591934204,
0.365700364112854,
0.3290972411632538,
-0.05504096299409866,
-0.1512305587530136,
0.5023565888404846,
0.5578064322471619,
... |
Ptr returns reference to TfaLanguage value | [
0.012422331608831882,
-0.2723154127597809,
0.38504740595817566,
-0.9914305806159973,
-0.31386834383010864,
-0.8213362693786621,
0.9577735066413879,
-0.5981312990188599,
0.14574089646339417,
-0.142983078956604,
0.1500253975391388,
-0.04568396508693695,
-0.1387597620487213,
0.026640778407454... |
BuildServiceDNSName Build the full DNS name for a service. | [
-0.4559810757637024,
-0.37295305728912354,
0.14588448405265808,
0.027985423803329468,
-0.9073798656463623,
-0.35758158564567566,
-0.5506211519241333,
-0.38504767417907715,
1.4725022315979004,
-0.39034605026245117,
-0.610927939414978,
0.7895700931549072,
1.203883171081543,
-0.11164700984954... |
BuildCloudServiceURL Build the full URL for a cloud service. | [
-0.19734586775302887,
-0.20288391411304474,
0.34480151534080505,
0.5653576850891113,
-0.5258009433746338,
0.3290817141532898,
-0.3945474326610565,
0.3417589068412781,
-0.96723872423172,
0.027255861088633537,
0.3521490693092346,
0.41761550307273865,
-0.048987969756126404,
0.6821101903915405... |
GetRapers controller Function that handles the "/raper/get" endpoint | [
-0.5830388069152832,
-0.3074081838130951,
0.4791009724140167,
0.25936275720596313,
0.7572974562644958,
-1.0151249170303345,
-0.7081560492515564,
0.29704520106315613,
-0.2737337648868561,
0.5215964913368225,
0.3597968518733978,
-0.5451728105545044,
0.3835351765155792,
-0.629975438117981,
... |
CreateRaper controller Function that handles the "/raper/create" endpoint | [
-0.6784992814064026,
-0.5109458565711975,
0.42554041743278503,
0.47805920243263245,
1.1681325435638428,
-0.2286132425069809,
-0.11326325684785843,
-0.028185943141579628,
-0.6206679344177246,
0.6451684236526489,
-0.14784429967403412,
-1.5462355613708496,
0.9531504511833191,
-0.2126855850219... |
UpdateRaper controller Function that allows to update a raper in the database | [
-1.2482784986495972,
-0.8422653079032898,
0.5122894644737244,
0.06031465157866478,
-0.23537079989910126,
-0.01763736829161644,
-0.1592695266008377,
0.5788423418998718,
-0.0023521999828517437,
0.6247752904891968,
-0.030210066586732864,
-1.5402846336364746,
0.5988370776176453,
-0.36389589309... |
DeleteRaper controller Function that allows to delete a register in teh database | [
-0.14766129851341248,
0.37590211629867554,
0.3137303590774536,
-0.0816318690776825,
0.8949949741363525,
-0.30872809886932373,
-0.28667041659355164,
0.7554462552070618,
0.23405081033706665,
0.1569438874721527,
0.1465936303138733,
-0.5483032464981079,
-0.8382671475410461,
0.8511422276496887,... |
PostImage will handle the PostImage REST call, converting an image posted to this url. It will check if 'gradient' or 'width' query parameters are present, and use these accordingly (if not it will default to something sensible). The result is rendered using the 'result.tmpl' template in the templates folder. | [
-1.0507575273513794,
0.7029056549072266,
0.6577250361442566,
-0.04714267700910568,
-0.06283308565616608,
-0.5470500588417053,
0.10608800500631332,
-0.1830509901046753,
-0.12362933158874512,
0.06350093334913254,
0.425229012966156,
-1.151630163192749,
-0.927130401134491,
1.2533830404281616,
... |
Load loads the source into the config defined by struct s Defaults to using the Reader if provided, otherwise tries to read from the file | [
-0.35768377780914307,
0.4757215082645416,
0.24271133542060852,
-0.6853569746017456,
-0.7165040969848633,
-0.46453964710235596,
0.036875687539577484,
0.9434518814086914,
0.2711156904697418,
-0.35127684473991394,
-0.4194844365119934,
-0.6249024271965027,
-0.23466594517230988,
-0.105351217091... |
Load loads the source into the config defined by struct s. Defaults to using the Reader if provided, otherwise tries to read from the file | [
-0.42010802030563354,
0.426178902387619,
0.25374549627304077,
-0.6652116179466248,
-0.7689177989959717,
-0.49425286054611206,
0.11192789673805237,
0.9439750909805298,
0.29942211508750916,
-0.36755549907684326,
-0.32467326521873474,
-0.586438775062561,
-0.27477073669433594,
-0.1423237919807... |
Load loads the source into the config defined by struct s. Defaults to using the Reader if provided, otherwise tries to read from the file | [
-0.42010802030563354,
0.426178902387619,
0.25374549627304077,
-0.6652116179466248,
-0.7689177989959717,
-0.49425286054611206,
0.11192789673805237,
0.9439750909805298,
0.29942211508750916,
-0.36755549907684326,
-0.32467326521873474,
-0.586438775062561,
-0.27477073669433594,
-0.1423237919807... |
GetProcessByID returns a process given its id. | [
1.0546796321868896,
-1.2364743947982788,
0.11594970524311066,
-0.26771003007888794,
0.29459506273269653,
-0.22036036849021912,
-0.6089722514152527,
-1.2915258407592773,
0.5875252485275269,
-0.4007338285446167,
0.11744682490825653,
0.45370662212371826,
-0.07233686745166779,
-0.6467982530593... |
GetProcesses lists all processes given some filter criteria. | [
0.2985561490058899,
-0.08517395704984665,
0.5901857614517212,
0.3583728075027466,
0.7376391887664795,
-0.12626004219055176,
-0.7017471194267273,
-0.4716259837150574,
0.1987219750881195,
0.060165807604789734,
1.1451963186264038,
1.129201889038086,
-0.35364264249801636,
0.05563773214817047,
... |
CountProcesses is the same as GetProcesses but returns only the count, not the actual processes. | [
0.18453411757946014,
-1.195359230041504,
0.8286378383636475,
-0.40924346446990967,
0.09859321266412735,
-0.02747955545783043,
-0.28538212180137634,
-0.4552095830440521,
0.6611363887786865,
0.20786862075328827,
-0.43867966532707214,
-0.42249971628189087,
-0.3317859470844269,
-0.172768592834... |
CreateProcess adds a given process to the database. | [
0.7174507975578308,
-0.16154387593269348,
0.2839708626270294,
-0.21218273043632507,
0.9955844879150391,
1.0015428066253662,
-1.1114012002944946,
-0.5830870270729065,
0.08395852893590927,
-0.002972434042021632,
-0.23572847247123718,
-0.8043522238731384,
-0.953414797782898,
0.024843383580446... |
UpdateProcess updates the information about a given process. | [
-0.6513676047325134,
-1.3746895790100098,
0.2559187710285187,
-0.12952841818332672,
-0.27036863565444946,
0.2776356637477875,
-1.042701005935669,
-0.4675188958644867,
0.22118495404720306,
0.06829395145177841,
-0.01725170388817787,
0.7516993880271912,
-0.4087376594543457,
-0.050372079014778... |
StartProcess starts a process of a given type and initializes all other fields automatically. | [
0.17957162857055664,
-0.7904801368713379,
0.376110702753067,
0.9905913472175598,
0.1739843338727951,
0.44753947854042053,
0.6286973357200623,
-0.39891886711120605,
0.39751511812210083,
-0.1973220258951187,
-0.7252554893493652,
0.8013654947280884,
-0.1175662949681282,
0.2220793068408966,
... |
getOutboundIP returns the preferred outbound ip of this machine | [
-0.5793690085411072,
0.06645949929952621,
0.47840172052383423,
0.7801426649093628,
-0.8064084053039551,
0.6588565111160278,
-0.8025745749473572,
-0.2742549479007721,
-0.9198296070098877,
-0.37757766246795654,
1.0327776670455933,
0.7776913642883301,
-0.654862642288208,
-0.29738470911979675,... |
SetProcessStatus updates the processes state to terminated. | [
0.5347192883491516,
-1.7575722932815552,
0.10343315452337265,
-0.5797295570373535,
0.6255085468292236,
0.808387041091919,
-1.0951427221298218,
0.508945643901825,
0.5719666481018066,
-0.3151148855686188,
-0.8272634744644165,
0.12155714631080627,
0.3938825726509094,
-0.042446888983249664,
... |
ProcessKeepalive updates the keepalivetime field of the process thus notifying the system that it is still running. | [
0.9699055552482605,
-1.614796757698059,
0.5942530035972595,
-0.6906673908233643,
0.19824515283107758,
1.5173569917678833,
-0.9973193407058716,
-0.758208155632019,
-0.5185254812240601,
1.087796926498413,
-0.355520635843277,
-0.1650616079568863,
-0.43332257866859436,
-0.4961737096309662,
0... |
TerminateDeadProcesses goes through all processes that have stopped making keepalive updates and sets their status to terminated. | [
0.13957858085632324,
-1.7795042991638184,
0.4150150716304779,
-0.42014917731285095,
0.5590590238571167,
1.3622649908065796,
-0.7365095019340515,
-0.564082145690918,
0.37488889694213867,
-0.46817490458488464,
-0.6093312501907349,
-0.024475261569023132,
0.16907450556755066,
-0.73910349607467... |
Parser parser the file and output de result file | [
0.2647151052951813,
-0.39841556549072266,
0.17136947810649872,
0.36029091477394104,
-0.03059375286102295,
-0.045862484723329544,
0.6685042381286621,
0.6708629727363586,
-1.6096545457839966,
-0.7824773788452148,
0.24613027274608612,
-1.5735397338867188,
-0.0357053168118,
0.5531905293464661,... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.