text stringlengths 7 2.39k | embedding listlengths 768 768 |
|---|---|
New returns an instance of Bot with given name and classifier. If the classifier is nil, a default dumb classifier will be used. | [
-0.21595555543899536,
0.03182228282094002,
0.6910523176193237,
0.7947015166282654,
0.052250348031520844,
-0.04936125501990318,
-1.3282759189605713,
0.4443875551223755,
-0.3735719621181488,
-0.694709062576294,
-0.7563605904579163,
0.8682132363319397,
0.20387926697731018,
0.30335620045661926... |
Run starts all the workers. Run blocks the current goroutine until the ctx is cancelled or inputs is closed. | [
-0.30656108260154724,
-0.2508543133735657,
0.2696480453014374,
0.21285629272460938,
-0.020014479756355286,
1.3848832845687866,
0.6002522706985474,
-0.25970086455345154,
-0.0937310978770256,
-0.7919566035270691,
-0.21469168365001678,
-0.1530776023864746,
-1.3379106521606445,
-0.048779636621... |
bytesSliceToCSlices converts a slice of byte slices to two slices with C datatypes. One containing pointers to copies of the byte slices and one containing their sizes. IMPORTANT: All the contents of the charsSlice array are malloced and should be freed using the Destroy method of charsSlice. | [
0.41417405009269714,
-0.8703811168670654,
0.4361313581466675,
-0.43839892745018005,
-0.11991008371114731,
-0.5722681879997253,
0.3097328543663025,
-0.5846174955368042,
0.3724114000797272,
0.6947863101959229,
-0.4144427180290222,
0.9816630482673645,
0.7163950800895691,
0.8810442090034485,
... |
ConvertProvince2Info get data province from string | [
-0.3395411968231201,
-1.4193710088729858,
0.40749669075012207,
-0.9109053611755371,
-0.4925415515899658,
-0.05559034273028374,
-0.8599728345870972,
-0.18217651546001434,
0.10247896611690521,
-0.05236083269119263,
-0.35343843698501587,
0.49706003069877625,
-0.09700064361095428,
-2.181164741... |
ConvertProvinceID2Info get data province from id | [
-0.43618038296699524,
-1.3557554483413696,
0.4635109007358551,
-0.9655128717422485,
0.06020847707986832,
0.044543057680130005,
-1.3522926568984985,
-0.3496880531311035,
0.47521597146987915,
0.07469172775745392,
-0.1702594757080078,
0.4651014804840088,
0.2289591133594513,
-1.667597293853759... |
New creates a new service. | [
-0.3264528512954712,
-0.7706146240234375,
0.013572610914707184,
0.8502439856529236,
-0.16781571507453918,
-0.4060828685760498,
-0.4427081346511841,
-0.9109742045402527,
-0.7196545004844666,
-0.9413491487503052,
-0.6629705429077148,
0.2588263750076294,
-0.20415835082530975,
1.06028258800506... |
Name returns the service name. | [
-0.6000414490699768,
-1.074282169342041,
0.21394948661327362,
-0.22857987880706787,
-1.106909155845642,
0.02933269739151001,
-0.037319209426641464,
-1.2289332151412964,
-0.3123944401741028,
0.8914223909378052,
-0.36494702100753784,
-0.09212838113307953,
0.014254475943744183,
0.413738608360... |
Reconcile gets/creates/updates an inbound NAT rule. | [
-0.37114226818084717,
0.28462377190589905,
0.4088002145290375,
-0.42263007164001465,
1.6903197765350342,
0.15005922317504883,
-1.646224856376648,
-0.40905052423477173,
-1.1427156925201416,
-0.030651450157165527,
0.11320316791534424,
0.277365505695343,
-1.1965667009353638,
-0.67946887016296... |
Delete deletes the inbound NAT rule with the provided name. | [
0.3843532204627991,
0.3832458257675171,
0.48801490664482117,
-0.6828323006629944,
0.602355420589447,
0.687575101852417,
-1.6890455484390259,
0.055915944278240204,
-0.7535288333892822,
1.879669189453125,
-0.198639914393425,
0.835565447807312,
-0.9548178911209106,
0.07639943808317184,
0.43... |
IsManaged returns always returns true as CAPZ does not support BYO inbound NAT rules. | [
-0.276710569858551,
-0.17366519570350647,
0.3600168824195862,
0.21808750927448273,
0.582277238368988,
0.8835372924804688,
-0.5195180773735046,
-0.5190941691398621,
0.1645941585302353,
-0.9509998559951782,
-1.0541874170303345,
0.5828678011894226,
-0.21521683037281036,
0.6441253423690796,
... |
Simple filling procedure. state will be prefilled seed cannot be nil | [
0.6552306413650513,
1.1681187152862549,
0.5017924904823303,
0.19571708142757416,
-0.21214953064918518,
0.11939218640327454,
0.7661002278327942,
-0.0008623123867437243,
0.8775326013565063,
-0.8444626331329346,
-0.8746712803840637,
-0.3687525689601898,
0.19917967915534973,
0.7869105339050293... |
Simple filling procedure. state will be prefilled seed cannot be nil | [
0.6552306413650513,
1.1681187152862549,
0.5017924904823303,
0.19571708142757416,
-0.21214953064918518,
0.11939218640327454,
0.7661002278327942,
-0.0008623123867437243,
0.8775326013565063,
-0.8444626331329346,
-0.8746712803840637,
-0.3687525689601898,
0.19917967915534973,
0.7869105339050293... |
multiply the first half of substream by A with a modulo of m1 and the second half by B with a modulo of m2 | [
0.0061013828963041306,
-0.42973193526268005,
0.6672069430351257,
0.8275836110115051,
0.03624603897333145,
-0.208357036113739,
0.38366347551345825,
-0.6837860941886902,
-0.013903001323342323,
-0.0874561294913292,
-0.3153764009475708,
0.053429316729307175,
-0.3955281972885132,
0.426537245512... |
/ File: ./hosts.txt 127.0.0.1 localhost 192.168.10.10 hoster1.k8s.svc.cluster.local hoster2.k8s.svc.cluster.local my kubernetes services 192.168.10.11 otherapp.example.com The following lines are desirable for IPv6 capable hosts ::1 ip6localhost ip6loopback | [
0.24445727467536926,
-0.8789055943489075,
0.4366461932659149,
0.11103350669145584,
-0.14111138880252838,
0.15684770047664642,
0.10844501852989197,
0.4934636652469635,
-0.6365867257118225,
0.5227003693580627,
-0.09929647296667099,
-0.07687442004680634,
0.21987612545490265,
-0.32412979006767... |
Validate validates this Api key creation request | [
-1.0524879693984985,
0.235482320189476,
0.1822066307067871,
0.6902374625205994,
0.1384539008140564,
0.2333548665046692,
-0.7293070554733276,
-0.5048107504844666,
-0.9153230786323547,
0.06758424639701843,
0.6856023073196411,
-0.3630090057849884,
-0.5065332651138306,
0.37289053201675415,
0... |
ensureUniqueNamespace generates unique namespace for obj if one already doesn't exists It's required that OwnerReverseFieldIndex exists for corev1.Namespace | [
-0.06309228390455246,
0.7468140125274658,
0.401003360748291,
0.38243311643600464,
0.6405255794525146,
0.8977541923522949,
0.8115053176879883,
-1.0546642541885376,
1.6798434257507324,
-1.0230618715286255,
-0.9258939623832703,
0.5753582715988159,
0.12769103050231934,
-0.03434731438755989,
... |
TableExists Method returns nil if table exists. | [
0.06522291898727417,
-0.27074238657951355,
0.5203328728675842,
0.8000310063362122,
1.0172919034957886,
-0.439651757478714,
-0.6578165888786316,
-0.21399638056755066,
-0.5125771164894104,
-0.3088611960411072,
0.15417835116386414,
-0.28882065415382385,
0.5054013729095459,
0.01177801936864852... |
DropTable Method would try to drop passed table. | [
-0.492638498544693,
0.9187387824058533,
0.21627254784107208,
1.5439344644546509,
0.04313739016652107,
-0.05286945030093193,
0.33191239833831787,
-0.763399064540863,
-0.685001015663147,
-0.6331731677055359,
0.204419806599617,
-0.6408100128173828,
0.3227265775203705,
0.6319524645805359,
-0... |
priority returns the priority of the policy implementation | [
0.20907267928123474,
-0.06261315941810608,
0.3198666572570801,
-0.1052156463265419,
0.8147388696670532,
0.3711394667625427,
-0.21217484772205353,
0.2760680317878723,
1.3174089193344116,
-0.5305452942848206,
-0.35551217198371887,
-1.144611120223999,
-0.6541410684585571,
0.4546009600162506,
... |
name returns the name of the policy implementation | [
0.09809492528438568,
-0.5107501745223999,
0.5429028272628784,
-1.1438112258911133,
-0.7620736360549927,
1.2896819114685059,
0.04377535730600357,
0.5419297218322754,
0.7080041170120239,
1.4049032926559448,
-0.49231529235839844,
-0.6008455157279968,
0.2910412549972534,
-0.057323601096868515,... |
filter selects the pools available on the host for which the policy has been applied | [
0.21843603253364563,
-0.725077748298645,
0.42977914214134216,
0.12712864577770233,
0.22754555940628052,
1.68773353099823,
0.3880813717842102,
-0.0306268148124218,
0.5348343253135681,
0.5887705683708191,
0.19552122056484222,
1.9233886003494263,
-0.17650248110294342,
-0.5660505294799805,
-... |
getAllVolumeCapacity returns the sum of total capacities of all the volumes present of the given CSP. | [
0.48977118730545044,
-1.437442660331726,
0.573307454586029,
0.8513361811637878,
0.6452948451042175,
-0.31911706924438477,
0.14730581641197205,
-0.20891401171684265,
1.1301357746124268,
0.20667719841003418,
-0.041655439883470535,
-1.1760534048080444,
0.2693665027618408,
0.2077496498823166,
... |
getCStorVolumeCapacity returns the capacity present on a CStorVolume CR. | [
0.18794496357440948,
-1.4216901063919067,
0.3444400429725647,
0.20905688405036926,
-0.04322104528546333,
-0.7887389659881592,
0.5627515316009521,
0.1737184077501297,
-0.3098590075969696,
0.28539779782295227,
0.23796862363815308,
-0.4395030736923218,
0.5257858037948608,
-0.26886990666389465... |
priority returns the priority of the policy implementation | [
0.20907267928123474,
-0.06261315941810608,
0.3198666572570801,
-0.1052156463265419,
0.8147388696670532,
0.3711394667625427,
-0.21217484772205353,
0.2760680317878723,
1.3174089193344116,
-0.5305452942848206,
-0.35551217198371887,
-1.144611120223999,
-0.6541410684585571,
0.4546009600162506,
... |
name returns the name of the policy implementation | [
0.09809492528438568,
-0.5107501745223999,
0.5429028272628784,
-1.1438112258911133,
-0.7620736360549927,
1.2896819114685059,
0.04377535730600357,
0.5419297218322754,
0.7080041170120239,
1.4049032926559448,
-0.49231529235839844,
-0.6008455157279968,
0.2910412549972534,
-0.057323601096868515,... |
filter selects the pools available on the host for which the policy has been applied | [
0.21843603253364563,
-0.725077748298645,
0.42977914214134216,
0.12712864577770233,
0.22754555940628052,
1.68773353099823,
0.3880813717842102,
-0.0306268148124218,
0.5348343253135681,
0.5887705683708191,
0.19552122056484222,
1.9233886003494263,
-0.17650248110294342,
-0.5660505294799805,
-... |
priority return the priority of the policy implementation | [
0.11293797194957733,
-0.13300774991512299,
0.3536972999572754,
-0.12889859080314636,
0.7461627125740051,
0.29636043310165405,
-0.24594338238239288,
0.29112595319747925,
1.3460545539855957,
-0.466047465801239,
-0.257876455783844,
-1.213685393333435,
-0.6402082443237305,
0.43884676694869995,... |
name returns the name of the policy implementation | [
0.09809492528438568,
-0.5107501745223999,
0.5429028272628784,
-1.1438112258911133,
-0.7620736360549927,
1.2896819114685059,
0.04377535730600357,
0.5419297218322754,
0.7080041170120239,
1.4049032926559448,
-0.49231529235839844,
-0.6008455157279968,
0.2910412549972534,
-0.057323601096868515,... |
filter piggybacks on scheduleOnHost policy with the difference being this logic returns the provided pools if no pools are found on the host | [
0.6046207547187805,
0.08048832416534424,
0.4313338100910187,
1.2329822778701782,
0.051956918090581894,
0.8549479246139526,
-0.40107232332229614,
-0.26575446128845215,
0.25497889518737793,
0.8408244848251343,
-0.21531172096729279,
0.7737575173377991,
-0.8491753935813904,
-0.0162832736968994... |
priority returns the priority of this policy | [
0.19156746566295624,
-0.08867382258176804,
0.19945183396339417,
0.26571497321128845,
1.2749766111373901,
0.21986068785190582,
-0.8365282416343689,
-0.07773849368095398,
1.4162535667419434,
-1.3906724452972412,
-0.3051658868789673,
-0.8457997441291809,
-1.1097009181976318,
0.125374346971511... |
name returns the name of this policy | [
-0.19763347506523132,
-1.3210031986236572,
0.376290500164032,
-0.5878624320030212,
-0.6019623875617981,
1.6331902742385864,
-0.6471094489097595,
-0.18984827399253845,
0.7436929941177368,
0.7351093888282776,
-0.34290260076522827,
-0.39010465145111084,
-0.23903262615203857,
-0.30722436308860... |
filter excludes the pool(s) if they are already associated with the label selector. In other words, it applies anti affinity rule against the provided list of pools. | [
-1.0723663568496704,
-1.0877764225006104,
0.19693416357040405,
-0.24457482993602753,
0.14240026473999023,
1.7853792905807495,
0.6068164706230164,
-0.9064345955848694,
-0.008921623229980469,
0.8004993200302124,
0.43560200929641724,
0.8992971777915955,
-0.45121797919273376,
0.013133766129612... |
name returns the name of this policy | [
-0.19763347506523132,
-1.3210031986236572,
0.376290500164032,
-0.5878624320030212,
-0.6019623875617981,
1.6331902742385864,
-0.6471094489097595,
-0.18984827399253845,
0.7436929941177368,
0.7351093888282776,
-0.34290260076522827,
-0.39010465145111084,
-0.23903262615203857,
-0.30722436308860... |
filter piggybacks on antiAffinityLabel policy with the difference being; this logic returns all the provided pools if there are no pools that satisfy antiAffinity rule | [
-0.027194634079933167,
-0.6118481159210205,
0.4246971309185028,
-0.06060356646776199,
-0.041767314076423645,
1.675566554069519,
-0.04864411801099777,
-0.6071139574050903,
0.2921270728111267,
0.72051602602005,
0.41087010502815247,
0.7799839377403259,
-0.6519306898117065,
0.164952352643013,
... |
newSelection returns a new instance of selection | [
-0.27620524168014526,
-1.4427356719970703,
0.03304166719317436,
0.6905696988105774,
-0.23214536905288696,
-0.6155197620391846,
0.21970902383327484,
-1.4931867122650146,
0.23533077538013458,
-0.2272205352783203,
-0.7537630200386047,
0.05631912499666214,
-0.5212339162826538,
-0.4906876385211... |
hasPolicy determines if the provided policy is part of the selection | [
0.5742014050483704,
-0.43096476793289185,
0.3724919855594635,
0.3516157865524292,
0.6491679549217224,
0.7315067648887634,
-0.08823505789041519,
0.4199231266975403,
1.1858434677124023,
-0.33139631152153015,
0.042337026447057724,
-0.19766147434711456,
-0.5864960551261902,
0.48699837923049927... |
hasPreferAntiAffinityLabel determines if prefer anti affinity label is part of the selection | [
-0.16126830875873566,
-0.48077401518821716,
0.687554657459259,
-0.7861156463623047,
-0.1374964565038681,
0.6434735655784607,
-0.24841390550136566,
-0.4634748101234436,
0.6123937964439392,
0.6732308268547058,
0.6725125908851624,
0.7905493974685669,
-0.14626382291316986,
0.8550362586975098,
... |
hasAntiAffinityLabel determines if anti affinity label is part of the selection | [
-0.14208875596523285,
-1.4099587202072144,
0.2548408806324005,
-0.3790597915649414,
0.7929803729057312,
0.16589096188545227,
0.08997862040996552,
-0.15216092765331268,
0.4952777922153473,
1.1288387775421143,
0.6470041275024414,
0.20528121292591095,
-0.2977733612060547,
0.6832370758056641,
... |
ExecutionMode sets the execution mode against the provided selection instance | [
-1.011667251586914,
-0.439788818359375,
0.29220283031463623,
0.23327165842056274,
0.3907850682735443,
0.9445242285728455,
-0.21282446384429932,
0.5813270807266235,
0.5298077464103699,
0.8751572370529175,
0.2657683789730072,
-0.24179604649543762,
0.23834818601608276,
-0.8360363841056824,
... |
PreferAntiAffinityLabel adds anti affinity label as a preferred policy to be used during pool selection | [
-0.5696605443954468,
-0.7172379493713379,
0.4273558557033539,
-0.961885392665863,
0.41856658458709717,
1.752873420715332,
-0.2134522795677185,
-0.3394339680671692,
0.5005723834037781,
0.025561494752764702,
0.7513580918312073,
0.903232216835022,
-0.42957913875579834,
0.48355692625045776,
... |
AntiAffinityLabel adds anti affinity label as a policy to be used during pool selection | [
-0.1594148427248001,
-1.1817872524261475,
0.33321958780288696,
-1.302722454071045,
0.08712822943925858,
2.1577510833740234,
-0.11209375411272049,
-0.10394038259983063,
0.7069413065910339,
0.3415980637073517,
0.6367901563644409,
1.2214182615280151,
-0.17040462791919708,
0.23336471617221832,... |
PreferScheduleOnHostAnnotation adds preferScheduleOnHost as a policy to be used during pool selection | [
-0.37129563093185425,
0.08283957839012146,
0.30859220027923584,
-0.1019243597984314,
-0.13428443670272827,
1.6154260635375977,
-0.16375678777694702,
0.5500385761260986,
-0.1894437074661255,
-0.13703326880931854,
-0.35686129331588745,
1.0248327255249023,
0.2657938003540039,
0.03442619740962... |
CapacityAwareProvisioning adds scheduleWithOverProvisioningAwareness as a policy to be used during pool selection. | [
0.09311927855014801,
-0.04331279546022415,
0.43507492542266846,
0.46031346917152405,
-0.5664401650428772,
0.6505388617515564,
0.9194262623786926,
-0.02521461993455887,
0.8257474303245544,
0.20597709715366364,
0.706654965877533,
0.21252287924289703,
0.1220865249633789,
0.2533797025680542,
... |
GetPolicies returns the appropriate selection policies based on the provided values | [
-0.47532400488853455,
-0.33630433678627014,
0.21224604547023773,
0.13184505701065063,
0.9306432604789734,
0.8756760358810425,
-0.7563925385475159,
-0.5402716398239136,
0.8722684383392334,
0.030387403443455696,
1.1853973865509033,
0.23575474321842194,
-0.28700143098831177,
-0.63854455947875... |
validate runs some validations/checks against this selection instance | [
-1.1226646900177002,
-0.9499379992485046,
0.0852881520986557,
0.20069286227226257,
0.6122806668281555,
-0.05714733898639679,
1.024997591972351,
-0.47629374265670776,
0.2186020314693451,
-0.3703005313873291,
0.3974913954734802,
-0.2868306636810303,
-0.11047540605068207,
0.39681434631347656,... |
filter returns the final list of pools that gets selected, after passing the original list of pools through the registered selection policies | [
-0.9133768081665039,
-0.8687016367912292,
0.22399918735027313,
0.7750705480575562,
-0.0976601094007492,
1.4344402551651,
1.1128618717193604,
-0.4837776720523834,
0.9109178781509399,
0.2864155173301697,
-0.2677120268344879,
1.487898349761963,
-0.46250468492507935,
-0.20802460610866547,
-0... |
Filter will filter the provided pools based on pool selection policies | [
-0.4690718352794647,
-0.5301555395126343,
-0.09368819743394852,
0.7211563587188721,
-0.22035221755504608,
1.647897720336914,
0.8334552049636841,
-0.71793133020401,
0.4824741780757904,
0.5157697796821594,
0.3115399181842804,
1.604425311088562,
-0.6359378099441528,
-0.6238042116165161,
-1.... |
FilterPoolIDs will filter the provided pools based on pool selection policies | [
-0.44647887349128723,
-0.7599979043006897,
0.028774935752153397,
0.29398080706596375,
-0.6595911979675293,
1.5001425743103027,
0.9159138202667236,
-0.7569105625152588,
0.9123736619949341,
0.9975555539131165,
0.08800845593214035,
2.165976047515869,
-0.8823047280311584,
-0.8885210752487183,
... |
TemplateFunctions exposes a few functions as go template functions | [
-0.20639488101005554,
0.5430766344070435,
0.5441135168075562,
0.3156064450740814,
0.11795207858085632,
-1.200150489807129,
-0.29349708557128906,
0.6053435802459717,
0.04692317172884941,
-0.1276470422744751,
-2.6287829875946045,
0.21736660599708557,
0.20539313554763794,
0.013300334103405476... |
Enqueue add one or more jobs in a Batch action | [
0.22719328105449677,
-0.29979509115219116,
0.3185719847679138,
1.4063737392425537,
1.3805768489837646,
-0.09298007935285568,
-1.0591943264007568,
0.0778859481215477,
-0.5333724021911621,
-0.03422287851572037,
-0.3684888482093811,
0.7112787961959839,
-0.1112920492887497,
0.7057082056999207,... |
Execute enqueue every jobs currently inside the Batch action Batch is reseted on success and can be reused for further enqueue | [
-0.2686517834663391,
-0.738234281539917,
0.4326064884662628,
0.9826942086219788,
1.4837249517440796,
0.16876955330371857,
-0.8265246748924255,
-0.07497933506965637,
-0.794708251953125,
0.19063732028007507,
-0.4358144700527191,
0.7566224336624146,
-0.20671571791172028,
0.15178261697292328,
... |
skipToEnd forces the lexer to end prematurely. Not all SQL statements are supported by the Parser, thus calling skipToEnd will make the lexer return EOF early. | [
-0.3115564286708832,
0.18792438507080078,
0.4772607088088989,
-0.14072759449481964,
-0.5654771327972412,
0.932120144367218,
-0.7201251983642578,
-0.04358880594372749,
-0.8757322430610657,
0.5186282396316528,
0.16237792372703552,
-0.5855910181999207,
-0.38470175862312317,
0.5415959358215332... |
SetMapping adds a port mapping on m and keeps it alive until c is closed. | [
-0.02579609863460064,
-0.09419292956590652,
0.3307739496231079,
0.3391965925693512,
-0.5811718702316284,
1.243808627128601,
0.3183107078075409,
-0.22646933794021606,
-0.10621426999568939,
-0.28213730454444885,
-0.22006426751613617,
-0.3535415232181549,
-0.6105978488922119,
-0.8730389475822... |
DiscoverGateway attempts to find a gateway device. | [
0.34923145174980164,
0.8508496284484863,
0.34784039855003357,
0.8424248099327087,
-0.1553131639957428,
-0.6218957901000977,
0.3715963065624237,
-0.8978900909423828,
-0.261455774307251,
-0.7081713080406189,
0.5093749165534973,
0.08433344215154648,
-0.97417813539505,
1.7281824350357056,
0.... |
makeFileTailer makes a filebased tailer for the given source, or returns an error if it cannot do so (e.g., due to permission errors) | [
0.04176850616931915,
0.2844649851322174,
0.5428755879402161,
-0.3514557480812073,
-0.7514196038246155,
-0.1434776932001114,
0.40675270557403564,
0.14740177989006042,
-0.7221774458885193,
-0.5617523789405823,
-0.42858433723449707,
0.42036953568458557,
0.753555417060852,
0.18522943556308746,... |
makeFileSource makes a new LogSource with Config.Type=="file" to log the given source. | [
-0.007206303998827934,
1.1636192798614502,
0.3457127511501312,
-0.27899274230003357,
-0.4944196343421936,
0.03309763967990875,
0.12672120332717896,
0.7396593689918518,
-0.35172757506370544,
-0.55768221616745,
-1.1884515285491943,
0.10629966855049133,
-0.0014990632189437747,
-0.452128827571... |
attachChildSource attaches a child source to the parent source, sorting out status, info, and so on. | [
0.40931567549705505,
-0.5599583387374878,
0.21469643712043762,
-0.5021893382072449,
-0.6339552402496338,
-0.23473940789699554,
0.39903464913368225,
-0.5494422316551208,
-0.22847479581832886,
-0.6991361975669861,
-1.960174560546875,
-0.712919294834137,
0.20953162014484406,
0.572942733764648... |
makeDockerFileSource makes a LogSource with Config.Type="file" for a docker container. | [
0.8888634443283081,
1.1602706909179688,
0.43428313732147217,
-0.1722014993429184,
-0.22738154232501984,
-0.3615063428878784,
0.6562722325325012,
0.28838419914245605,
-0.5972883701324463,
-0.30407989025115967,
-0.6892001628875732,
-0.16073989868164062,
0.618626058101654,
-0.7611349821090698... |
findDockerLogPath returns a path for the given container. | [
0.5143078565597534,
0.4327315092086792,
0.36081594228744507,
0.5447287559509277,
0.14751525223255157,
-0.2631986439228058,
1.0983469486236572,
-1.6735734939575195,
-0.3329823613166809,
-0.2022692710161209,
0.5301371812820435,
-0.3106186091899872,
0.4866756796836853,
0.29464462399482727,
... |
makeK8sFileSource makes a LogSource with Config.Type="file" for a container in a K8s pod. | [
0.48629093170166016,
0.5563514232635498,
0.46217548847198486,
-0.34055188298225403,
0.2785913944244385,
-0.15065878629684448,
-0.5035427212715149,
-0.06413358449935913,
-0.16569684445858002,
0.09591397643089294,
-0.45377838611602783,
0.12899792194366455,
0.2999723255634308,
-1.500113368034... |
findK8sLogPath returns a wildcard matching logs files for the given container in pod. | [
0.8603845834732056,
0.17665882408618927,
0.31017008423805237,
0.6095730662345886,
0.5100457668304443,
0.3566336929798126,
-0.22927632927894592,
-1.4459270238876343,
0.4834890365600586,
0.2898300588130951,
0.8548651933670044,
0.5322586894035339,
0.3561854660511017,
-0.044382620602846146,
... |
NewAny returns a keyvalue.Any | [
-0.8074721097946167,
-0.46906232833862305,
0.4094477891921997,
0.4028704762458801,
-0.7265712022781372,
-0.495611310005188,
-1.6797888278961182,
-0.2655488848686218,
-1.0336698293685913,
-0.9822552800178528,
-0.33478328585624695,
-0.04300333932042122,
0.04508942365646362,
0.347231447696685... |
Unmarshal returns the Value as it's type defined by the TypeUrl | [
-1.2061707973480225,
-0.31466415524482727,
0.5244144201278687,
-0.7188165783882141,
0.1742190271615982,
-0.36370545625686646,
-0.03292473033070564,
-0.5884578824043274,
0.7692164182662964,
-0.4329240620136261,
0.10604448616504669,
0.4637114107608795,
-0.22198911011219025,
-0.67147243022918... |
Handler returns an http.Handler that is capable of handling a variety of mock Bitbucket requests and returning mock responses. | [
-0.31326207518577576,
-0.7363185286521912,
0.39889511466026306,
0.13199518620967865,
0.060917239636182785,
-0.12769415974617004,
0.6659336090087891,
-0.3929458260536194,
0.06425588577985764,
-0.9906334280967712,
-0.21164178848266602,
-0.4582555294036865,
-0.08403342217206955,
-0.4524622857... |
StringToUTF16 returns the UTF16 encoding of the UTF8 string s, with a terminating NUL added. | [
1.3142001628875732,
-0.17411276698112488,
0.24030250310897827,
-0.6545159220695496,
0.4587135314941406,
-1.131348729133606,
0.20845817029476166,
-0.06568745523691177,
1.1322906017303467,
-0.9585702419281006,
-0.1393962800502777,
-0.5223287343978882,
0.5664021372795105,
-1.5857980251312256,... |
StringToUTF16Ptr returns pointer to the UTF16 encoding of the UTF8 string s, with a terminating NUL added. | [
1.5413142442703247,
-0.19826647639274597,
0.16600503027439117,
-1.2726787328720093,
0.14597080647945404,
-0.7179639339447021,
-0.33910250663757324,
-0.09687478095293045,
1.0358822345733643,
-0.5130347013473511,
0.7884000539779663,
-0.31654226779937744,
0.13895006477832794,
-1.6809294223785... |
NewRevokedSessions instantiates a new RevokedSessions 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 | [
0.11708610504865646,
-0.760791003704071,
0.34850120544433594,
0.7378013134002686,
-0.34906819462776184,
-0.2034742534160614,
0.5522177815437317,
0.2761727571487427,
1.3137961626052856,
0.11717775464057922,
-1.0959560871124268,
0.0072363438084721565,
-1.4339096546173096,
0.2541917562484741,... |
NewRevokedSessionsWithDefaults instantiates a new RevokedSessions 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.43174219131469727,
-0.3069287836551666,
0.2804788649082184,
0.38013726472854614,
0.01270728837698698,
-0.681367039680481,
-0.15501800179481506,
0.32559704780578613,
1.793949842453003,
0.10628417134284973,
-1.4252469539642334,
-1.1038120985031128,
-1.2203456163406372,
0.35394999384880066,... |
GetCount returns the Count field value if set, zero value otherwise. | [
0.5613092184066772,
0.6465912461280823,
0.7051289081573486,
1.0610016584396362,
0.544601559638977,
-0.30609646439552307,
0.7461816668510437,
-0.12013448774814606,
-0.1727694869041443,
-0.25938454270362854,
0.5192587375640869,
-1.7419246435165405,
-0.4337601661682129,
0.7295032143592834,
... |
GetCountOk returns a tuple with the Count field value if set, nil otherwise and a boolean to check if the value has been set. | [
0.28931286931037903,
0.26670873165130615,
0.7301110625267029,
0.9425952434539795,
0.5793869495391846,
0.38897639513015747,
1.3326538801193237,
0.4437149465084076,
-0.6615394949913025,
0.9660119414329529,
-0.40669766068458557,
-1.5323858261108398,
0.07013706117868423,
0.6935886144638062,
... |
HasCount returns a boolean if a field has been set. | [
1.307239294052124,
0.8563119769096375,
0.6152931451797485,
0.5891780853271484,
1.4205327033996582,
0.3552146852016449,
0.6331371665000916,
0.6079018712043762,
-0.8213104605674744,
-0.4324341416358948,
-0.4239947497844696,
-1.6542738676071167,
-0.35565564036369324,
0.3913104236125946,
-0.... |
SetCount gets a reference to the given int64 and assigns it to the Count field. | [
0.21762172877788544,
1.257116675376892,
0.41485700011253357,
0.6887987852096558,
0.31928685307502747,
-0.18080437183380127,
0.8544443845748901,
-0.25736698508262634,
-0.6321233510971069,
0.1077825054526329,
-0.44395899772644043,
-0.505537748336792,
0.5675848126411438,
0.2938936650753021,
... |
New returns a new DAL instance based on the config. | [
-0.5872711539268494,
-0.4559975564479828,
0.328606516122818,
-0.2675608992576599,
-0.7098402976989746,
0.3225230872631073,
-0.652737557888031,
0.44313934445381165,
0.05656755343079567,
-0.08310017734766006,
-0.1951597034931183,
0.45005157589912415,
0.7986553311347961,
-0.18555964529514313,... |
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,
... |
GetConfigurationCountries get the list of countries (ISO 31661 tags) used throughout TMDb. | [
-0.7460885047912598,
0.4218950867652893,
0.22238416969776154,
1.2230806350708008,
0.4301066994667053,
0.17114463448524475,
0.030926480889320374,
0.15878550708293915,
-0.5446251034736633,
0.5416727066040039,
-0.4384439289569855,
-0.9930756092071533,
0.17140483856201172,
0.585130512714386,
... |
GetConfigurationJobs get a list of the jobs and departments we use on TMDb. | [
-0.848092257976532,
0.16180318593978882,
0.16872651875019073,
0.6710963845252991,
0.016861164942383766,
-0.23799893260002136,
-0.213446706533432,
0.5316966772079468,
-0.34958121180534363,
-0.17362578213214874,
-0.3099591135978699,
-1.046041488647461,
-0.420399934053421,
0.5275627374649048,... |
GetConfigurationLanguages get the list of languages (ISO 6391 tags) used throughout TMDb. | [
-0.8200817704200745,
0.2249668836593628,
0.09467106312513351,
1.0223345756530762,
0.2014939934015274,
0.23520950973033905,
-0.2536536455154419,
0.8888986110687256,
-0.23672626912593842,
0.6547024250030518,
-0.7839088439941406,
-1.1784858703613281,
-0.17111052572727203,
0.07699201256036758,... |
GetConfigurationPrimaryTranslations get a list of the officially supported translations on TMDb. While it's technically possible to add a translation in any one of the languages we have added to TMDb (we don't restrict content), the ones listed in this method are the ones we also support for localizing the website with... | [
-0.002896793419495225,
0.5044224858283997,
0.6931331753730774,
0.380934476852417,
0.1363106220960617,
-0.632213830947876,
-1.1492294073104858,
-0.10735110938549042,
0.31842607259750366,
0.1547713279724121,
-0.707951545715332,
-0.5251274108886719,
-0.9038195013999939,
0.6269292235374451,
... |
GetConfigurationTimezones get the list of timezones used throughout TMDb. | [
-1.2882336378097534,
0.5164136290550232,
0.2535358667373657,
1.9311023950576782,
0.38063085079193115,
-0.48697593808174133,
1.151381254196167,
0.22129659354686737,
0.3857612609863281,
1.3005585670471191,
-1.3304216861724854,
-1.3910106420516968,
-0.6131259202957153,
0.33064335584640503,
... |
Weight implement hotlist.Item and gives each key weight equal to the size of the cache value. | [
-0.38019368052482605,
0.15998218953609467,
0.28170046210289,
0.7151193618774414,
-0.1187635287642479,
0.0902167409658432,
-0.3321790397167206,
0.28151804208755493,
-0.38133618235588074,
1.1067756414413452,
-1.5878909826278687,
-1.1817349195480347,
0.22202257812023163,
1.2720173597335815,
... |
handleEvents asynchronously processes events. handleEvents is threadsafe. When handleEvents returns, all relevant data from rs has been copied and is safe for the caller to discard. | [
0.11608953028917313,
0.36233240365982056,
0.4810674786567688,
-0.06178927794098854,
-0.24886004626750946,
-0.5373858213424683,
0.7802144289016724,
-0.7917972207069397,
0.8648385405540466,
-0.6230067014694214,
0.31649065017700195,
-0.5350798964500427,
-0.4287623465061188,
-0.677332758903503... |
top returns the current contents of the hotlist for this worker. top is threadsafe. | [
-1.5489200353622437,
-0.41970428824424744,
0.6625003814697266,
0.6008954048156738,
-0.5336183309555054,
-0.4679354727268219,
-0.466113805770874,
-0.43571552634239197,
-0.21042446792125702,
0.6133294105529785,
-0.4957513213157654,
-0.5964553356170654,
-0.5255773663520813,
-0.027748208492994... |
reset clear the contents of the hotlist for this worker. Some data may be lost if there is no external coordination of calls to top and handleGetResponse. | [
-0.7075701355934143,
-0.5082627534866333,
0.4309149384498596,
0.3450833559036255,
0.3078591525554657,
0.09004257619380951,
0.18718604743480682,
-0.8063127994537354,
0.4919530153274536,
-0.4967644214630127,
-0.9475044012069702,
-0.026609772816300392,
-0.08676937222480774,
0.4173181056976318... |
close exits this worker. Calls to handleGetResponse after calling close will panic. | [
0.1696072667837143,
-1.0355819463729858,
0.7773277759552002,
0.4786132872104645,
0.13233791291713715,
1.0759919881820679,
0.3064519464969635,
-1.2101366519927979,
0.3103490173816681,
-1.5235570669174194,
-0.6252489686012268,
-0.8844668865203857,
-1.4355926513671875,
0.05091773346066475,
... |
init initializes dictDecoder to have a sliding window dictionary of the given size. If a preset dict is provided, it will initialize the dictionary with the contents of dict. | [
-0.2124176025390625,
0.8518428206443787,
0.6060985326766968,
-0.6118349432945251,
-1.3326396942138672,
-0.16362586617469788,
0.3422560393810272,
1.0961837768554688,
-0.42580118775367737,
-1.5407801866531372,
-0.7215971946716309,
0.30246874690055847,
0.31301385164260864,
1.2987629175186157,... |
histSize reports the total amount of historical data in the dictionary. | [
0.7256261110305786,
0.7422928214073181,
0.408497154712677,
-1.3999345302581787,
0.5302300453186035,
0.21842455863952637,
0.25237327814102173,
0.5290738940238953,
-0.08872581273317337,
-0.31631237268447876,
-0.013200587593019009,
0.028145289048552513,
0.8239520788192749,
0.02878937125205993... |
availRead reports the number of bytes that can be flushed by readFlush. | [
0.5258716344833374,
0.3462601602077484,
0.6485295295715332,
-1.2098342180252075,
-0.494419664144516,
1.0209859609603882,
0.9169086217880249,
0.6435748338699341,
-0.27537229657173157,
-0.6721726059913635,
0.2516946792602539,
1.2726986408233643,
0.14767277240753174,
-0.2809969484806061,
-0... |
availWrite reports the available amount of output buffer space. | [
-0.14040467143058777,
-0.24596023559570312,
0.4278143644332886,
0.015138144604861736,
-0.031058505177497864,
-0.06328412145376205,
1.3036376237869263,
-0.23163384199142456,
-0.4865220785140991,
0.033712033182382584,
-0.42749494314193726,
0.17880196869373322,
0.1730113923549652,
-0.38646113... |
writeSlice returns a slice of the available buffer to write data to. This invariant will be kept: len(s) <= availWrite() | [
-1.6022109985351562,
-0.6680269241333008,
0.5430695414543152,
-0.1370011270046234,
0.04477443918585777,
0.12012911587953568,
0.30427566170692444,
-0.23050923645496368,
0.2029552459716797,
-0.1576361358165741,
-0.6293831467628479,
0.34199824929237366,
-1.2815407514572144,
-0.282093971967697... |
writeMark advances the writer pointer by cnt. This invariant must be kept: 0 <= cnt <= availWrite() | [
-0.6757987141609192,
0.31241509318351746,
0.2573658525943756,
-0.03460439667105675,
1.5468995571136475,
0.3791240155696869,
1.6689146757125854,
-0.17776323854923248,
-0.2698298394680023,
-0.33585599064826965,
-0.05223812162876129,
0.3566892445087433,
-0.16168230772018433,
0.499435722827911... |
writeByte writes a single byte to the dictionary. This invariant must be kept: 0 < availWrite() | [
-0.8853643536567688,
0.8654647469520569,
0.34143126010894775,
-0.26709505915641785,
0.6574593782424927,
0.7269666194915771,
0.9396243691444397,
0.832987904548645,
-0.3496008515357971,
0.16679340600967407,
0.03313072398304939,
-0.3089175820350647,
-1.5687161684036255,
0.5953415036201477,
... |
writeCopy copies a string at a given (dist, length) to the output. This returns the number of bytes copied and may be less than the requested length if the available space in the output buffer is too small. This invariant must be kept: 0 < dist <= histSize() | [
-0.7852025032043457,
-0.6420081257820129,
0.7602226138114929,
0.06912986189126968,
-0.9789156317710876,
0.06945481896400452,
0.44897159934043884,
0.05364761874079704,
-0.0007022335776127875,
-0.25591474771499634,
-0.3619677424430847,
0.7138433456420898,
-0.5902917385101318,
-1.332085847854... |
tryWriteCopy tries to copy a string at a given (distance, length) to the output. This specialized version is optimized for short distances. This method is designed to be inlined for performance reasons. This invariant must be kept: 0 < dist <= histSize() | [
-0.4834641218185425,
-0.47020193934440613,
0.48812371492385864,
-0.16626019775867462,
-0.6737359166145325,
-0.08054876327514648,
0.13827720284461975,
-0.2455189973115921,
-0.3309083878993988,
0.17857882380485535,
0.41984033584594727,
0.7475652098655701,
0.39963191747665405,
-0.869703352451... |
readFlush returns a slice of the historical buffer that is ready to be emitted to the user. The data returned by readFlush must be fully consumed before calling any other dictDecoder methods. | [
-0.7254979610443115,
0.0691380426287651,
0.6449697613716125,
-0.14169225096702576,
-0.5393362641334534,
-0.0041878847405314445,
-0.17256107926368713,
-0.4477854371070862,
-0.7778874635696411,
-1.4911807775497437,
0.07369572669267654,
1.2540135383605957,
0.38330334424972534,
0.7656270265579... |
Set up a temporary directory with several .go files and directories containing .go files. | [
-0.38062891364097595,
1.1500037908554077,
0.46328529715538025,
0.5637340545654297,
0.8315399885177612,
-0.4334755837917328,
1.222658634185791,
-0.08547651022672653,
0.11005961149930954,
-0.43606406450271606,
-0.8532683253288269,
-0.3039036989212036,
0.3794754445552826,
0.7524979114532471,
... |
/ Purpose: Function with one input argument and no return value function calls by positional arguments variables must be passed explicitly Functions don't have access to anything in calling function, unless it's passed in explicitly by keyword arguments NOT possible in golang Function Definition | [
-0.22041407227516174,
-0.12890492379665375,
0.7152643799781799,
1.2698725461959839,
0.07628435641527176,
0.25270819664001465,
-0.12777499854564667,
0.49119770526885986,
-0.3812069892883301,
-0.5271353125572205,
-0.5744245052337646,
0.22165043652057648,
-0.5819953680038452,
0.86274796724319... |
Configure initializes this formatter with values from a plugin config. | [
0.639959454536438,
-0.9436748027801514,
0.07131532579660416,
0.4011306166648865,
0.12200172245502472,
-1.6437604427337646,
-0.06922414153814316,
0.508075475692749,
-0.10883770883083344,
-0.721787691116333,
-0.7478939890861511,
-0.4264620244503021,
0.14529995620250702,
1.7166543006896973,
... |
Format adds prefix and postfix to the message formatted by the base formatter | [
0.09294072538614273,
-1.2441179752349854,
0.6852853894233704,
-0.33720049262046814,
-0.2476016730070114,
-0.49121081829071045,
-0.7596135139465332,
-0.4468953013420105,
-0.10377994179725647,
-1.4491736888885498,
0.5131304264068604,
0.3816918432712555,
0.3925286531448364,
1.9217389822006226... |
NewClient creates a new client to Splunk. This should be the primary way a Splunk client object is constructed. If an httpClient object is specified it will be used instead of the default http.DefaultClient. | [
0.16131280362606049,
-0.27622151374816895,
0.29263782501220703,
1.0473148822784424,
-0.15826834738254547,
0.16385287046432495,
0.6283915638923645,
0.7776638865470886,
0.4289564788341522,
-0.6680682897567749,
-0.0015718224458396435,
0.8645864725112915,
-0.7988488078117371,
-0.41121742129325... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.