text stringlengths 7 2.39k | embedding listlengths 768 768 |
|---|---|
onMessageCreate handles messages that the bot receives, and sends them to Minecraft via RCON. | [
0.17979635298252106,
-0.05813678726553917,
0.3459843397140503,
0.45708581805229187,
0.701166570186615,
-0.1377185881137848,
-0.5324480533599854,
-0.7590554356575012,
-0.8742607831954956,
0.2296568602323532,
-0.6153400540351868,
-0.598568320274353,
-0.46937096118927,
0.9430265426635742,
-... |
sendToDiscord sends a message from Minecraft to the configured Discord channel. | [
-1.0067636966705322,
0.898112416267395,
0.436020165681839,
-0.42917436361312866,
0.3949773609638214,
-0.3880024552345276,
-0.08622035384178162,
-0.45462948083877563,
-0.5309135317802429,
0.9187520146369934,
-0.32045653462409973,
1.502031683921814,
-0.21135814487934113,
1.0366524457931519,
... |
getNickname gets the nickname of a Discord user in a Guild. | [
-0.20531421899795532,
1.0904442071914673,
0.438034325838089,
1.3366353511810303,
-0.585011899471283,
-1.5408328771591187,
-0.5557844042778015,
-0.5690276622772217,
-0.394724041223526,
0.47936397790908813,
-0.44446977972984314,
1.7952632904052734,
0.1442372053861618,
-0.1755121648311615,
... |
getUserFromName gets the Discord user from a mention or username. The username can be only a partial username. | [
0.10427107661962509,
-0.22210776805877686,
0.49757829308509827,
0.7554611563682556,
-0.32044824957847595,
-0.400359570980072,
-0.13123202323913574,
0.028663570061326027,
0.1622985452413559,
-0.5968313217163086,
0.041152309626340866,
0.5065721273422241,
-1.0225199460983276,
-0.3178339898586... |
insertMentions looks for potential Discord mentions in a Minecraft chat message. If there are any, we will attempt to get the user being mentioned to get their mention string to put into the chat message. | [
0.11885504424571991,
0.2422616183757782,
0.6170888543128967,
-0.10171885043382645,
0.45299166440963745,
-1.047730565071106,
0.1948091834783554,
-0.816178560256958,
-0.9421156048774719,
0.664878785610199,
0.2699921727180481,
0.33504098653793335,
-1.4515905380249023,
1.4314311742782593,
0.... |
setWebhookParams sets the avater, username, and message for a webhook request. | [
-0.4704481363296509,
0.050210073590278625,
0.34374481439590454,
1.155760407447815,
0.05346430838108063,
0.6119746565818787,
-0.18305204808712006,
0.21215489506721497,
-0.8919293284416199,
0.5498157143592834,
-0.4217645525932312,
0.8504818081855774,
-0.17438489198684692,
0.9946542978286743,... |
Merge multiple string arrays and remove duplicates Source: | [
-0.3183899521827698,
-0.4806111454963684,
0.6280380487442017,
0.2663845717906952,
-0.05959298834204674,
0.16106462478637695,
0.08962320536375046,
0.0226335059851408,
0.6296586990356445,
0.2665547728538513,
-0.3692637085914612,
-0.3183482587337494,
-0.5210070013999939,
0.6397317051887512,
... |
InfluxdbPost posts event to InfluxDB | [
1.0138282775878906,
0.06014406681060791,
0.0986991822719574,
1.9050085544586182,
0.5317977666854858,
0.4390614330768585,
-0.10725009441375732,
0.4335310459136963,
-0.5313011407852173,
-0.6171355247497559,
-0.7680103182792664,
-0.7715908885002136,
-0.3944772481918335,
0.04569624364376068,
... |
Evaluate an input string as a spaceseparated list of RPN commands. | [
-0.4037903845310211,
-0.24798093736171722,
0.4354839622974396,
0.13291917741298676,
0.7122772932052612,
-0.14589865505695343,
-1.0779316425323486,
-0.199629545211792,
1.0387052297592163,
-0.3380802273750305,
-0.9018182754516602,
-0.5069173574447632,
-0.598887026309967,
0.41392630338668823,... |
A method on user with Value reciever | [
0.11549399048089981,
-0.3590043783187866,
0.49619626998901367,
-0.13597120344638824,
-0.8361178636550903,
-0.28501418232917786,
-0.30955639481544495,
-1.1094392538070679,
-0.02638254500925541,
0.2335009127855301,
-0.8261235356330872,
-0.7170395255088806,
0.14504536986351013,
0.751522362232... |
A method on user with pointer receiver | [
0.028651077300310135,
-0.664399266242981,
0.363115519285202,
-0.16466505825519562,
-0.9755959510803223,
-0.2671671509742737,
-0.09908303618431091,
-0.6728037595748901,
1.0420546531677246,
-0.18827615678310394,
-0.14548608660697937,
-0.39906367659568787,
0.03062737174332142,
0.4584500789642... |
go mod init > para criar o modulo | [
-0.29249438643455505,
-0.18501797318458557,
0.3388742208480835,
0.7960062026977539,
0.9585561156272888,
1.1056159734725952,
0.04476092755794525,
0.580426812171936,
-0.7599761486053467,
-0.5058830976486206,
-0.6271836757659912,
0.9794449210166931,
-0.020190244540572166,
0.6185599565505981,
... |
MutexFileSave returns Mutex for FileSave | [
-0.6124234199523926,
-0.5043374300003052,
0.4269876480102539,
-0.08198970556259155,
-0.6237886548042297,
-0.23245207965373993,
-1.2111964225769043,
0.39860978722572327,
-0.24360990524291992,
-0.40770184993743896,
-1.2248667478561401,
-1.2044134140014648,
-0.7092971801757812,
-0.50334084033... |
MutexFileSave returns Mutex for FileSave | [
-0.6124234199523926,
-0.5043374300003052,
0.4269876480102539,
-0.08198970556259155,
-0.6237886548042297,
-0.23245207965373993,
-1.2111964225769043,
0.39860978722572327,
-0.24360990524291992,
-0.40770184993743896,
-1.2248667478561401,
-1.2044134140014648,
-0.7092971801757812,
-0.50334084033... |
MutexBlockSaveWait returns Mutex for block save Wait | [
-0.5323560237884521,
-0.1841251105070114,
0.8750975728034973,
0.21408440172672272,
0.020615272223949432,
0.3372993767261505,
-0.23169797658920288,
0.06698717176914215,
0.6032950282096863,
0.42411690950393677,
-1.788103699684143,
-0.858945906162262,
-0.2984867990016937,
-0.4580882787704468,... |
CreateSimpleQueue creates SimpleQueue MetaStorage storage for metadata (block info) MarkerBlockDataStorage storage for block data with marker case nil use MetaStorage | [
0.649570107460022,
-0.13869982957839966,
0.6906428933143616,
0.8708943128585815,
0.2895217835903168,
-0.5051846504211426,
-0.1820829063653946,
-0.2749353349208832,
0.8098782300949097,
-0.34820279479026794,
-0.9697760343551636,
-0.42779722809791565,
0.6981250643730164,
0.33467787504196167,
... |
LoadSimpleQueue load queue from storage | [
-0.3515770435333252,
-0.8297178745269775,
0.6475102305412292,
-0.07649825513362885,
-0.7904284000396729,
-0.29237446188926697,
-1.0935980081558228,
-0.32780733704566956,
0.34286361932754517,
-0.014790399000048637,
-1.7868033647537231,
-0.6508901715278625,
0.06521361321210861,
-0.3831407129... |
currentBlockForWrite block for write next message need q.mx Rlocked case err is not nil > q.mx Unlocked case err is nil > q.mx Rlocked | [
-0.8264753222465515,
-0.11301490664482117,
0.4776919484138489,
0.659589946269989,
-0.42102643847465515,
-0.33337900042533875,
0.38961270451545715,
-0.8422752618789673,
0.1982155293226242,
-0.4004351794719696,
0.8114954829216003,
0.5112243890762329,
-0.6037394404411316,
0.3829739987850189,
... |
checkAndAddCurrentBlockForWrite block for write next message need q.mx Rlocked case err is not nil > q.mx Unlocked case err is nil > q.mx Rlocked | [
-0.43823423981666565,
0.12897007167339325,
0.6460500955581665,
0.9783554077148438,
-0.2620183527469635,
-0.28032124042510986,
0.37488308548927307,
-0.8285320401191711,
0.4556322693824768,
-0.38361525535583496,
0.5381464958190918,
0.36183691024780273,
-0.9055628776550293,
0.5090600252151489... |
Add message to queue externalDt is unix time externalID is source id (should be != 0 if set 0 not set) | [
-0.8494938015937805,
0.7250257730484009,
0.6592757105827332,
-0.08292055130004883,
0.611457347869873,
1.1043498516082764,
-0.6833335161209106,
-0.48745718598365784,
-0.4338342249393463,
0.04604656249284744,
0.029266592115163803,
0.5829351544380188,
0.047254495322704315,
2.0391902923583984,... |
add message to queue block externalDt unix() | [
0.173989400267601,
0.8123275637626648,
0.5190261006355286,
0.2676033079624176,
-0.1481669396162033,
0.45939499139785767,
-1.254594087600708,
-0.7404546141624451,
-0.7974013686180115,
-0.9525896906852722,
-0.2869667410850525,
1.2938252687454224,
0.11068526655435562,
1.3068240880966187,
-0... |
canAppend can append message to queue block | [
0.7199859023094177,
-0.5458071827888489,
0.6818416714668274,
0.8506960272789001,
-0.23285380005836487,
0.4309427738189697,
-0.2975988984107971,
-0.36349332332611084,
-0.8261300921440125,
0.15745027363300323,
0.6910749077796936,
0.7099775671958923,
-0.6460496783256531,
2.148456335067749,
... |
getBlockForNext gets block where eixts next after idStart available message q.mx should be rlocked | [
-0.0060407863929867744,
0.5616268515586853,
0.28899869322776794,
0.7935835123062134,
-1.055372953414917,
0.09660668671131134,
-0.1932194083929062,
-1.233590006828308,
0.12564121186733246,
-0.5634762644767761,
-0.4146926701068878,
0.47069668769836426,
-0.4630177319049835,
-0.022590950131416... |
getItemsAfter gets items from block where id > idStart returns messages == nil when no elements | [
-0.2456393837928772,
0.04202219098806381,
0.722454309463501,
1.4388236999511719,
-0.5273228883743286,
-0.36144766211509705,
-0.06499437242746353,
-1.1145110130310059,
-0.19423732161521912,
-0.5618418455123901,
-1.2249329090118408,
-0.7457760572433472,
-0.8016535639762878,
0.243385404348373... |
Get gets messages from queue not more then cntLimit count and id more idStart returns messages == nil when no elements | [
-0.02075178362429142,
-0.18685473501682281,
0.5418615937232971,
0.20260687172412872,
0.47044843435287476,
-0.25908511877059937,
-0.39204642176628113,
-1.0200899839401245,
0.18790894746780396,
-0.5084290504455566,
-0.6830562949180603,
-0.17361408472061157,
-0.9571396112442017,
0.09573055803... |
GetSegment gets messages from queue not more then cntLimit count and id more idStart returns messages == nil when no elements message should be in segment lastId last readed message ID from queue | [
0.04437459632754326,
-0.44853246212005615,
0.627090573310852,
-0.23308157920837402,
0.9341790080070496,
-0.3034854829311371,
0.3859653174877167,
-0.988489031791687,
0.11188938468694687,
-0.5357112288475037,
0.039073288440704346,
-0.2050754427909851,
-1.2284327745437622,
-0.0142396911978721... |
Save save meta info of queue When MetaStorage == nil returns nil When SaveRv == ChangesRv do nothing and returns nil | [
-0.6390349864959717,
-0.6108331680297852,
0.5786190032958984,
0.6091418266296387,
0.17747199535369873,
-1.1315511465072632,
-0.0237082839012146,
-0.5338989496231079,
0.8546052575111389,
0.18850059807300568,
-0.48300084471702576,
0.15760180354118347,
-0.06852862983942032,
1.1920020580291748... |
getStorage by mark name, mx.RLock should be | [
-0.01010972075164318,
0.6138344407081604,
0.2360856831073761,
1.7032438516616821,
0.5216373205184937,
-0.8914045691490173,
1.0866382122039795,
-1.6065562963485718,
0.10638611763715744,
-0.3032611012458801,
-0.13243316113948822,
-0.5617993474006653,
-0.16416509449481964,
-0.8271676301956177... |
getStorage by mark name, mx.RLock will be locked (used block.mxFileSave) | [
-0.0950847864151001,
0.05246565863490105,
0.41050291061401367,
1.3479595184326172,
0.06568629294633865,
-1.2321220636367798,
0.7868874669075012,
-1.2689648866653442,
-0.44797420501708984,
-0.2825096547603607,
-0.6277931928634644,
-0.6944888830184937,
-0.1382569521665573,
-0.617431879043579... |
Save save block of queue When q.MetaStorage == nil returns nil When block.SaveRv == block.ChangesRv do nothing and returns nil | [
-0.23770084977149963,
-0.6562742590904236,
0.6250632405281067,
0.7054382562637329,
0.10905299335718155,
-1.0472525358200073,
-0.08251116424798965,
-1.0728083848953247,
0.9995542168617249,
0.3611835837364197,
-0.7823665738105774,
0.4886769652366638,
-0.3409535586833954,
1.3422893285751343,
... |
SaveAll save all waiting for save block and metadata | [
-0.6796607971191406,
-0.6250401139259338,
0.2987203896045685,
1.5052992105484009,
0.10442035645246506,
0.31790462136268616,
-0.28835466504096985,
0.19533228874206543,
-1.042565107345581,
0.8470701575279236,
-1.4254639148712158,
-0.5454521179199219,
0.3564210832118988,
1.6334619522094727,
... |
load load block from Storage need block.mx RLocked Case err!=nil block.mx is Unlocked case err==nil block.mx is RLocked | [
0.23075279593467712,
0.3607167899608612,
0.6467254161834717,
1.3499372005462646,
-0.6802977323532104,
-0.511812686920166,
-0.10026039928197861,
-0.9616231322288513,
0.34586232900619507,
0.3909739851951599,
-0.5146134495735168,
0.19793187081813812,
-0.5232496857643127,
-0.002263684058561921... |
Unload unload block from SimpleQueue | [
-0.06246519088745117,
-1.0629370212554932,
0.5349072217941284,
-0.5281750559806824,
-1.0260181427001953,
0.14122448861598969,
-0.3573293685913086,
-0.1853395700454712,
-0.3430882692337036,
-0.420490562915802,
-1.6256550550460815,
-0.6251924633979797,
-0.4763426184654236,
-0.323610812425613... |
moveToNewStorage move block from Storage to Storage | [
-0.29798558354377747,
-0.31636229157447815,
0.32027050852775574,
1.026489019393921,
-0.306763231754303,
-0.24806754291057587,
-0.19064363837242126,
-1.585696816444397,
-0.4889698922634125,
0.513438880443573,
-0.9872153997421265,
0.020311247557401657,
0.3159569501876831,
0.07906470447778702... |
clearOldStorage delete block from Storage in RemoveMarks | [
0.8756040334701538,
-0.20620009303092957,
0.3499721884727478,
0.5946651697158813,
0.12817427515983582,
-0.9165018796920776,
0.6715703010559082,
-0.39355796575546265,
0.8864953517913818,
0.21403679251670837,
-0.37870198488235474,
-0.028552470728754997,
0.3138265311717987,
0.433440625667572,... |
SetUnload find and set blocks as unload | [
-0.09588757902383804,
-0.8854188919067383,
0.3484269082546234,
-0.7194664478302002,
-0.20122574269771576,
-0.4518224895000458,
1.1212095022201538,
-0.7056915760040283,
-1.125391960144043,
0.5565369725227356,
-0.6926271915435791,
-0.6782488226890564,
-0.3014363646507263,
-0.2406574785709381... |
SetMarks find and set blocks marks it needs to save q (q.save(ctx)) after done | [
0.278868168592453,
-0.25549811124801636,
0.22214680910110474,
0.7021348476409912,
0.6381163597106934,
0.18938326835632324,
1.15394127368927,
-0.9642448425292969,
0.12474742531776428,
0.011831610463559628,
-1.3580970764160156,
-0.05575843155384064,
-0.19654075801372528,
0.9562328457832336,
... |
SetDelete find and set blocks to delete it needs to save q (q.save(ctx)) after done find first false (dunc returns false) block and all balcks befor false are need to delete | [
0.9461019039154053,
0.03140820190310478,
0.46640071272850037,
0.8408048152923584,
0.7093656063079834,
0.04394732415676117,
0.5394361615180969,
-0.5238252878189087,
-0.03410175442695618,
0.11922477185726166,
-0.3699913024902344,
-0.6101049780845642,
-0.5359629988670349,
1.1718358993530273,
... |
UpdateMarks move from storage to storage and clear OldStorages it needs to save q (q.save(ctx)) after done blocksCount = 0 unlimited | [
-0.08726628869771957,
-0.0439612902700901,
0.37174084782600403,
0.8903785347938538,
0.34156301617622375,
-0.30457034707069397,
1.1876345872879028,
-0.6775703430175781,
0.3181212246417999,
0.43385398387908936,
-0.9407387375831604,
0.11093669384717941,
0.1274283081293106,
0.10636420547962189... |
DeleteBlocks dete blocks (NeedDelete true) blocksCount = 0 unlimited | [
0.5296668410301208,
0.4738951623439789,
0.45830944180488586,
0.4681325852870941,
0.3982076346874237,
-0.33896297216415405,
0.518610417842865,
0.18154409527778625,
0.02788909524679184,
0.02925030142068863,
-0.3398146331310272,
0.09204794466495514,
-0.9984227418899536,
1.3503590822219849,
... |
SetMaxExtID set max external id | [
-0.004281497560441494,
-0.12233760952949524,
0.523744523525238,
0.4646693468093872,
-0.9871470332145691,
0.125591441988945,
-1.37306809425354,
0.9605083465576172,
0.5272618532180786,
0.2857591211795807,
-0.5517432689666748,
0.48261409997940063,
-0.3666650354862213,
-0.5946300625801086,
-... |
getCurrentMaxExtID get current saved max external id | [
-0.1562804877758026,
-0.8132199048995972,
0.6118522882461548,
1.0034854412078857,
-1.2017817497253418,
-0.32865700125694275,
-1.0353386402130127,
1.1281781196594238,
0.651945948600769,
0.44191592931747437,
-0.5298559665679932,
0.930888831615448,
-0.5373308062553406,
-0.6848202347755432,
... |
searchMaxExtID search maximum ext id need mxExt lock | [
-0.3911817669868469,
0.4133613109588623,
0.5057244896888733,
1.3787392377853394,
-1.4283720254898071,
-0.504664957523346,
-1.9768141508102417,
-0.13831256330013275,
0.9216647148132324,
0.17555882036685944,
-0.3176044225692749,
0.2260793298482895,
-1.264278769493103,
-1.0173063278198242,
... |
searchMaxExtID search ext id need mxExt lock | [
-0.5236372947692871,
0.40774300694465637,
0.4628930389881134,
1.3169159889221191,
-1.5058434009552002,
-0.41662728786468506,
-2.0366015434265137,
-0.19849175214767456,
0.8697793483734131,
0.1635107398033142,
-0.3903406262397766,
0.2960653305053711,
-1.2800557613372803,
-0.9028179049491882,... |
AddUnique message to queue externalDt is unix time externalID is source id (should be != 0 !!!!) | [
-0.6868473291397095,
0.39122071862220764,
0.720234751701355,
-0.21688543260097504,
0.7865886092185974,
0.9611604809761047,
-0.5132524967193604,
-0.06253208965063095,
0.018747374415397644,
-0.16114307940006256,
-0.4774298071861267,
0.853694498538971,
0.07656131684780121,
1.4135408401489258,... |
SaveSubscribers save subscribers info of queue When MetaStorage == nil returns nil When SaveRv == ChangesRv do nothing and returns nil | [
-0.42308926582336426,
-0.9244192838668823,
0.3822273313999176,
0.4620535671710968,
0.23237603902816772,
-1.279365062713623,
-0.41456952691078186,
-0.4284992814064026,
0.632908284664154,
-0.025723308324813843,
-0.5670303702354431,
0.13215291500091553,
-0.36703404784202576,
1.331281542778015... |
SubscriberSetLastRead set last read info if id == 0 remove subscribe | [
0.6650296449661255,
-0.9090257287025452,
0.47551900148391724,
-0.9686551690101624,
-0.1385287195444107,
-1.2575052976608276,
-0.8995192050933838,
-0.11254412680864334,
0.24741974472999573,
-0.43427419662475586,
1.0832008123397827,
-0.1722831130027771,
-1.3944003582000732,
-0.27879244089126... |
SubscriberGetLastRead get last read info | [
0.8046032786369324,
-0.5027125477790833,
0.7408025860786438,
-0.8213285207748413,
0.588558554649353,
-0.7912337183952332,
-2.016301393508911,
-0.4835039973258972,
-0.130672425031662,
-0.3101796805858612,
0.9419325590133667,
0.07849396020174026,
-0.3964097797870636,
-0.7582246661186218,
-... |
SubscriberAddReplicaMember add replication subscriber member | [
1.2900844812393188,
0.20990969240665436,
0.740954577922821,
0.05895252898335457,
-0.7244632244110107,
-0.031686123460531235,
-1.0315074920654297,
0.21733608841896057,
0.5519334673881531,
0.0034648862201720476,
-0.8793080449104309,
1.2927502393722534,
-0.34861552715301514,
-0.93323212862014... |
SubscriberRemoveReplicaMember remove replication subscriber member | [
1.2014588117599487,
-0.05235816910862923,
0.6559039354324341,
0.1639731526374817,
-1.0740463733673096,
-0.41072210669517517,
-0.7575563788414001,
0.8774489760398865,
-0.17496415972709656,
0.7555130124092102,
-0.6229009032249451,
1.3430336713790894,
-0.6906571388244629,
-1.125214695930481,
... |
SubscriberGetReplicaCount get count of replication subscriber member | [
0.8118847608566284,
0.2512297034263611,
0.8696787357330322,
-0.41502147912979126,
-0.07826289534568787,
-1.0347436666488647,
-0.26419439911842346,
1.2811367511749268,
-0.43723881244659424,
0.1887306272983551,
-0.8730069398880005,
0.7457367181777954,
-0.12468200922012329,
-1.341674208641052... |
DBInit create connection to database | [
-0.13644875586032867,
-0.37431877851486206,
0.25782427191734314,
-0.143616184592247,
0.9993695020675659,
0.43126142024993896,
-0.8997004628181458,
0.11550170928239822,
-0.7148417234420776,
0.04870851710438728,
-0.8956509232521057,
-0.8839842081069946,
-0.6417057514190674,
0.766979515552520... |
Parse parses the page into a root node. If the root node is already parsed, or has errored, the method is a noop. | [
0.14832229912281036,
0.11990479379892349,
0.676936686038971,
0.12203975021839142,
0.8751029968261719,
-0.15680913627147675,
-0.168730691075325,
-0.7769694328308105,
0.5986507534980774,
-0.8071684837341309,
0.7718437910079956,
0.04825352877378464,
-0.7605928182601929,
0.7310094237327576,
... |
Query returns all nodes matching selector. The method returns an empty list if no nodes were found. | [
-0.9279544353485107,
-0.03142383322119713,
0.2561742961406708,
0.4577710032463074,
0.25255149602890015,
-0.6079084873199463,
-1.221630334854126,
-0.11366723477840424,
0.5552005767822266,
0.5374566912651062,
0.06697367876768112,
0.21367549896240234,
0.07111614942550659,
0.20306624472141266,... |
Text returns the text of the selected node. The method returns an empty string if the node is not found. | [
-0.3934144973754883,
-0.08248116821050644,
0.47196197509765625,
0.11622761934995651,
-0.2833541929721832,
-0.3288455307483673,
-0.1709560751914978,
-1.1631548404693604,
0.7445317506790161,
0.848353922367096,
0.36281684041023254,
0.2727132737636566,
-0.7050637602806091,
-0.8421605229377747,... |
URLs returns all URLs on the page. The method skips any invalid URLs. | [
-0.3044751286506653,
0.3101641535758972,
0.39780372381210327,
1.0321276187896729,
-0.4969407021999359,
0.9619530439376831,
-0.6297113299369812,
0.21835467219352722,
0.20995017886161804,
-0.11820860952138901,
0.47748079895973206,
-0.9256975054740906,
-0.5366867780685425,
0.35257402062416077... |
Next all URLs matching the given selector. | [
-0.7341697812080383,
0.4533461630344391,
0.086945541203022,
0.9044780731201172,
-0.7046242952346802,
-0.6450297236442566,
-0.6352453231811523,
-0.030630426481366158,
0.4919891357421875,
-0.41107377409935,
-0.31069380044937134,
-0.2794070243835449,
0.8208341598510742,
0.43834471702575684,
... |
Scan scans data into the given value dst. | [
-0.9232250452041626,
0.7557220458984375,
0.17301253974437714,
0.3467368185520172,
-1.2134917974472046,
0.4668198525905609,
-0.5409966707229614,
-0.23001916706562042,
-0.5628384947776794,
-0.685727059841156,
-0.8795478940010071,
1.3757420778274536,
1.7148361206054688,
-0.5595049858093262,
... |
Resolve returns resolved URLs matching selector | [
-1.1599677801132202,
-1.0005000829696655,
0.5082266926765442,
0.7990333437919617,
0.6403623819351196,
-1.2770031690597534,
-1.1958385705947876,
0.5601252913475037,
-0.2045390009880066,
-0.43320807814598083,
-1.0786068439483643,
-0.8560488820075989,
0.46995294094085693,
0.5146702527999878,
... |
Close closes the page's body. | [
0.11430728435516357,
0.2799878716468811,
0.4068608283996582,
0.018051236867904663,
-0.09411588311195374,
1.1665446758270264,
-0.4753897786140442,
-0.8878533840179443,
-0.03023720532655716,
-0.3275986909866333,
0.6104421615600586,
-0.035054560750722885,
-0.5808197855949402,
0.69834357500076... |
Resize resizes an image to the given dimensions whilst preserving the aspect ratio | [
-0.36545029282569885,
0.6199564933776855,
0.2431568205356598,
-0.30805471539497375,
-0.27652087807655334,
-0.5934556722640991,
-0.907215416431427,
-0.39501848816871643,
-0.4056888222694397,
0.12266391515731812,
1.5935654640197754,
-0.3266891539096832,
0.12599509954452515,
0.400548309087753... |
Fill crops and resizes an image to fill a space | [
0.12488220632076263,
1.1443626880645752,
0.20433366298675537,
-0.1547325849533081,
0.22683513164520264,
0.47977322340011597,
0.21360771358013153,
-0.8182940483093262,
1.4851198196411133,
-0.4771958291530609,
0.24266178905963898,
-0.3941972255706787,
0.74628084897995,
0.46456432342529297,
... |
Identify determines the metadata for the image | [
-0.556866466999054,
-0.6518495082855225,
0.3163774013519287,
0.7276350259780884,
1.3404124975204468,
-0.021518772467970848,
-0.35102298855781555,
-0.10590063035488129,
0.2632240653038025,
0.12549930810928345,
-0.24532321095466614,
0.021216560155153275,
0.8372675776481628,
0.841303169727325... |
Optimize tries to optimize the image | [
-0.5457727313041687,
1.2767280340194702,
0.2781416177749634,
0.9118879437446594,
0.8749885559082031,
-1.7615669965744019,
-0.12917573750019073,
-1.118137240409851,
-0.47497376799583435,
0.21900403499603271,
0.19142456352710724,
-0.33861008286476135,
-1.0220491886138916,
0.8475033044815063,... |
esta funcion routePerson me permite crear todos los handlers de person (create, update, etc) | [
-0.2614730894565582,
-0.6926347017288208,
0.9811971187591553,
1.199446201324463,
0.1981702744960785,
1.1787171363830566,
0.4126041829586029,
-0.17471323907375336,
-0.36759552359580994,
-0.5364062190055847,
-0.00558579433709383,
-0.5537528395652771,
-0.2482665777206421,
0.22913317382335663,... |
defaultConfig returns the default configs | [
-0.08418668806552887,
0.29152795672416687,
0.06990137696266174,
1.3922054767608643,
0.4376208782196045,
0.04280857369303703,
-0.3435506522655487,
0.9468900561332703,
-0.17002730071544647,
0.21289192140102386,
-1.2632198333740234,
-1.2026447057724,
-0.40435677766799927,
1.281688928604126,
... |
reads a CSV with a ttodo list (expects two columns, no headers, first column is user id, second column is user screen name). | [
-0.6346144676208496,
0.4111934006214142,
0.4774928390979767,
0.4157024323940277,
-0.7662709951400757,
0.04560641199350357,
-0.3203318417072296,
-0.8271493911743164,
0.6198670864105225,
0.09838732331991196,
-0.5682975649833679,
0.053705278784036636,
1.4944146871566772,
-0.2189948558807373,
... |
Login returns a jwt. | [
-0.6855034232139587,
-0.541595458984375,
0.3630344271659851,
0.5128654837608337,
-1.6376090049743652,
-0.6187137365341187,
-0.9790393710136414,
-0.4050976634025574,
0.6210357546806335,
-0.5566335916519165,
-1.1419742107391357,
0.1364680975675583,
0.5125539898872375,
-0.8673211932182312,
... |
maximum streams on a connectioin | [
0.6526803374290466,
-0.6555831432342529,
0.46381235122680664,
0.8135388493537903,
0.3973599374294281,
-0.20017151534557343,
-0.4955812990665436,
-1.0459612607955933,
0.11961901187896729,
0.07256138324737549,
-0.13712263107299805,
-0.595420777797699,
-1.1740840673446655,
-0.6468250751495361... |
maximum idle conns of a pool | [
-0.8565743565559387,
-0.9815584421157837,
0.607516884803772,
0.04314856976270676,
0.4820792078971863,
-0.4424453675746918,
-0.9120407700538635,
-0.6570096015930176,
0.865557074546814,
-0.0017997538670897484,
-0.4713464379310608,
-0.11972731351852417,
-0.9123455882072449,
-1.108979463577270... |
gRPC Codec to be used to encode/decode requests for a given content type | [
-0.3920466899871826,
-0.9286123514175415,
0.5506183505058289,
-0.8091637492179871,
-0.032869111746549606,
-0.18535317480564117,
0.004063945263624191,
-1.1039714813232422,
0.3320131301879883,
-0.5007025599479675,
1.0254719257354736,
1.506403923034668,
-0.1595192551612854,
-0.077798537909984... |
AuthTLS should be used to setup a secure authentication using TLS | [
0.837692379951477,
0.5117124319076538,
0.3974296450614929,
0.7509309649467468,
-0.6396949887275696,
0.05995868891477585,
-1.0310444831848145,
-0.5412529706954956,
1.4849616289138794,
0.0819963663816452,
-0.6893416047096252,
-0.329468309879303,
0.9201164841651917,
-0.6792885065078735,
-1.... |
MaxRecvMsgSize set the maximum size of message that client can receive. | [
0.5261381268501282,
0.8375945687294006,
0.5346131920814514,
-0.39345985651016235,
-0.2082359492778778,
0.08189234137535095,
-0.4818069636821747,
0.24901263415813446,
0.0922573059797287,
-0.11524113267660141,
-0.2606741189956665,
0.6671591997146606,
-0.7095518708229065,
0.14766491949558258,... |
MaxSendMsgSize set the maximum size of message that client can send. | [
-0.07619153708219528,
0.7460698485374451,
0.47598743438720703,
0.09822098910808563,
-0.9463247656822205,
0.3141963481903076,
-0.5389359593391418,
-0.2650390565395355,
-0.13144682347774506,
0.007206710986793041,
-0.7480068206787109,
0.3968935012817383,
-1.0316965579986572,
0.824939966201782... |
DialOptions to be used to configure gRPC dial options | [
-0.12728118896484375,
-0.27190375328063965,
0.6514266729354858,
-0.1204887330532074,
0.5880399346351624,
0.7306901216506958,
-0.10707098245620728,
-0.5063676834106445,
1.107046127319336,
-0.181372731924057,
-0.48974233865737915,
0.3523547053337097,
0.023686664178967476,
0.13508810102939606... |
CallOptions to be used to configure gRPC call options | [
0.2831050455570221,
0.45355284214019775,
0.789477527141571,
0.1280885487794876,
0.3479883074760437,
0.8602455854415894,
-0.8697618246078491,
-1.0810935497283936,
0.6502677798271179,
0.17020179331302643,
-0.09306330978870392,
0.22188064455986023,
-0.8532981276512146,
0.44102784991264343,
... |
New creates a new dfs protocol | [
-0.48599013686180115,
0.9102861285209656,
0.19677434861660004,
0.2734820544719696,
-0.3641591966152191,
-0.4417153298854828,
-0.4896179437637329,
-0.7927135229110718,
-0.5641473531723022,
-0.6537497639656067,
0.06429163366556168,
-0.23905785381793976,
-0.8383027911186218,
-0.74113184213638... |
RPC Handler for request from clerk | [
-0.45873576402664185,
-0.6234785318374634,
0.29222357273101807,
-0.2333495020866394,
-0.12577778100967407,
0.17869551479816437,
-0.5470094680786133,
-0.262606680393219,
0.40724438428878784,
-0.46656155586242676,
0.19482269883155823,
0.4635732173919678,
-0.6391780376434326,
0.95182764530181... |
the tester calls Kill() when a KVServer instance won't be needed again. for your convenience, we supply code to set rf.dead (without needing a lock), and a killed() method to test rf.dead in longrunning loops. you can also add your own code to Kill(). you're not required to do anything about this, but it may be conveni... | [
-0.2934185862541199,
-0.6012253165245056,
0.698074221611023,
0.7915287613868713,
-0.004835755564272404,
0.5633909106254578,
-0.006262372713536024,
-0.42705172300338745,
0.4642028510570526,
-0.5025813579559326,
-0.3707960247993469,
0.663472056388855,
0.16313618421554565,
0.5949118733406067,... |
servers[] contains the ports of the set of servers that will cooperate via Raft to form the faulttolerant key/value service. me is the index of the current server in servers[]. the k/v server should store snapshots through the underlying Raft implementation, which should call persister.SaveStateAndSnapshot() to atomica... | [
-0.10496814548969269,
0.6227941513061523,
0.7158946394920349,
0.9537115097045898,
-0.14474843442440033,
0.5108485221862793,
0.6163727045059204,
-0.06930873543024063,
0.9650188684463501,
-0.8428468108177185,
-0.9466459155082703,
0.3097052574157715,
-0.3901035785675049,
0.11361632496118546,
... |
reconcileLinstorControllerDatabaseBackup ensures a backup of all LINSTOR database resources exists when the image is updated. | [
0.5695429444313049,
-0.6692213416099548,
0.40827056765556335,
0.13498643040657043,
0.9989208579063416,
0.19812054932117462,
-0.3304845690727234,
0.6103599071502686,
0.4334571957588196,
-0.012417812831699848,
-0.20635664463043213,
-1.0527147054672241,
-0.7297996878623962,
0.1722250282764434... |
collectLinstorDatabase fetches all LINSTOR internal resources, including the defining CRDs. | [
0.6600093245506287,
-0.8208457231521606,
0.08254711329936981,
-0.29283052682876587,
-0.06701763719320297,
0.09565375745296478,
-0.8258581161499023,
-0.21087656915187836,
-0.11635994911193848,
-0.3992796838283539,
0.32854485511779785,
0.1936357468366623,
-0.2752966582775116,
0.7580456137657... |
getLinstorCRDs returns all LINSTOR internal CRDs. | [
0.21627099812030792,
-0.881830096244812,
0.16125579178333282,
-0.6739412546157837,
-0.02831924520432949,
-0.22464773058891296,
-1.419695258140564,
-0.05234738066792488,
0.32644787430763245,
-1.109208106994629,
0.04130087420344353,
1.0896543264389038,
-0.9803411364555359,
-0.244377642869949... |
getResourcesForCrd returns a serialized form of all the resources of a specific type. | [
-0.44669613242149353,
-0.37188252806663513,
0.3585871160030365,
-0.8907235264778137,
0.17703503370285034,
-0.42907291650772095,
-0.4807991683483124,
-0.9791111350059509,
0.44266781210899353,
-0.14998728036880493,
0.2353421002626419,
0.02014773152768612,
-0.4458378851413727,
0.3244869410991... |
getBackupMetadata creates kubernetes metadata for this backup based on the previous version and the version we upgrade to. This should uniquely identify every upgrade operation. | [
-0.36338695883750916,
-0.2955071032047272,
0.7698111534118652,
0.7389618158340454,
0.4915276765823364,
0.1259162724018097,
-0.42224594950675964,
-0.41026437282562256,
0.39947521686553955,
1.2937513589859009,
-0.8839038610458374,
-0.347741037607193,
0.32376816868782043,
-1.2269761562347412,... |
ToCleanedK8sResourceYAML returns a stripped down version of the kubernetes object in YAML format. It only contains humancontrolled metadata (name, namespace, labels, annotations). It does not contain a status section. | [
0.05210866406559944,
-1.0203149318695068,
0.4642045795917511,
-0.40177667140960693,
-0.4816184937953949,
0.5194709897041321,
-0.24670574069023132,
-0.7709459066390991,
0.6731101870536804,
0.9227372407913208,
-0.17997367680072784,
0.9943792223930359,
0.8149222135543823,
-0.03706110641360283... |
getPreviousDeployment returns the name of the image currently deployed in the cluster. | [
-0.20763258635997772,
0.0010803717887029052,
0.5697009563446045,
-0.20108188688755035,
-0.07528398185968399,
-0.36060819029808044,
1.4588611125946045,
-0.13256937265396118,
0.22565101087093353,
0.5439938306808472,
0.7667085528373718,
0.07776819169521332,
-0.07655052095651627,
0.58072179555... |
stopDeployment scale the deployment to 0 and waits for all pods to terminate. | [
-1.8322982788085938,
-0.6116095781326294,
0.20738336443901062,
-0.02586306445300579,
1.0773764848709106,
0.23598115146160126,
-0.130080908536911,
0.40106555819511414,
-0.7020477652549744,
0.9929004311561584,
0.36160093545913696,
-1.3147388696670532,
-0.2464544028043747,
-0.1143903508782386... |
New inspects dir and its parents to determine the version control system and code repository to use. | [
-0.3017295002937317,
0.11268588155508041,
0.22073911130428314,
0.47417134046554565,
-0.117155060172081,
-1.3999828100204468,
0.5324907898902893,
-0.20120769739151,
0.15814527869224548,
-0.5783063769340515,
0.6155262589454651,
0.5441001057624817,
0.6842526197433472,
1.0286818742752075,
0.... |
CommitHash provides the latest commit hash for a given directory. If a gopath is provided it limits the search inside the path. | [
0.08843246847391129,
1.1418975591659546,
0.40998387336730957,
0.658994734287262,
0.33985042572021484,
0.07921446859836578,
0.1331859678030014,
0.25665849447250366,
-0.5213600397109985,
0.7234705686569214,
1.0844420194625854,
0.11206290870904922,
-0.7315016984939575,
-0.8262113928794861,
... |
Checkout resets the head to hash commit for the given directory | [
0.4629914462566376,
0.2884271740913391,
0.17188435792922974,
-0.028884736821055412,
0.8573105335235596,
-0.5554727911949158,
-0.10224128514528275,
0.7368627786636353,
-0.26196107268333435,
1.2480919361114502,
0.4727174639701843,
1.2078418731689453,
-0.13518111407756805,
-0.9222814440727234... |
Fetch fetches all branches from remote | [
1.0575742721557617,
-0.6250156760215759,
0.322491854429245,
0.2858997881412506,
-0.2774754464626312,
1.145416498184204,
-2.3466296195983887,
-0.571341335773468,
-0.44386595487594604,
-0.15229061245918274,
-0.6621177196502686,
0.011204243637621403,
0.7118787169456482,
0.515477180480957,
-... |
Latest gets the latest code from remote | [
0.1491694301366806,
-1.14729642868042,
0.4726358652114868,
0.3104865550994873,
-0.12939515709877014,
-0.14225292205810547,
-1.1217411756515503,
-0.33636653423309326,
-1.3214263916015625,
-0.16698214411735535,
-0.6450331807136536,
0.13116824626922607,
-0.4461705684661865,
-0.344563454389572... |
execute executes a command in the provided working directory and returns the stderr as error. | [
-0.4882145822048187,
-0.5006119608879089,
0.6186596751213074,
0.4033054709434509,
0.3722612261772156,
0.5827279090881348,
-0.8161967396736145,
-0.2050960212945938,
0.007401585578918457,
0.751470148563385,
0.826248049736023,
0.18423062562942505,
-0.027160730212926865,
-0.48218563199043274,
... |
New returns a new DAL instance based on a configuration object. | [
-0.16765396296977997,
-0.31262072920799255,
0.2622281610965729,
-0.21319100260734558,
-0.9967848062515259,
0.25386419892311096,
-0.2598068118095398,
0.08531022071838379,
0.18708668649196625,
0.03993971273303032,
-0.5635178089141846,
0.047055572271347046,
1.102046251296997,
-0.7926620841026... |
Ping checks that we can reach the database. | [
-0.17527765035629272,
0.6427116394042969,
0.19658568501472473,
0.8141971230506897,
1.2331621646881104,
0.8905616402626038,
-0.3218754529953003,
0.027286052703857422,
-0.6072431206703186,
1.0279873609542847,
0.2745659649372101,
-0.3577764928340912,
-0.3405725359916687,
-0.162164106965065,
... |
Close closes the connection to the database. | [
-0.06523037701845169,
0.34405428171157837,
0.5061925649642944,
0.16000494360923767,
0.3159577250480652,
0.6588748097419739,
-1.1165850162506104,
0.423269122838974,
-1.4114840030670166,
-0.262290894985199,
0.41120633482933044,
-0.20596492290496826,
-0.9471272826194763,
0.6956096887588501,
... |
recordLabelsForMetric adds any missing labels from promLabels in to the LabelSet for the metric name and returns the updated observedMetricLabels | [
-0.07061630487442017,
0.014709641225636005,
0.37216916680336,
-0.4567643404006958,
-0.02517002634704113,
0.7424306869506836,
-0.7048842310905457,
-1.5421059131622314,
-0.7031171321868896,
0.9641609191894531,
1.3882246017456055,
-0.08204056322574615,
-0.834804117679596,
-0.14257825911045074... |
EnsureLabelConsistencyForMetrics ensures that every metric has the same set of labels based on the data in observedMetricLabels. Prometheus requires that all metrics with the same name have the same set of labels | [
0.5051141977310181,
0.20775556564331055,
0.5155388712882996,
-0.17053066194057465,
1.0304336547851562,
2.022021532058716,
0.5556199550628662,
-1.120152235031128,
-0.2719379961490631,
0.4207321107387543,
0.8196459412574768,
-0.4669763147830963,
-0.29248905181884766,
0.3044326603412628,
-1... |
GetCollection get model mongo collection name. | [
-0.19016006588935852,
-0.5031675696372986,
0.3980310559272766,
0.2513411045074463,
0.332667738199234,
0.4282296299934387,
0.008420831523835659,
-0.8737759590148926,
-0.5329605937004089,
0.7051368951797485,
-0.046143341809511185,
-0.17686371505260468,
1.0844897031784058,
1.076879858970642,
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.