text stringlengths 7 2.39k | embedding listlengths 768 768 |
|---|---|
getBase returns the base url that will be used for the API request. | [
-1.0403410196304321,
-0.7467241287231445,
0.6417108178138733,
0.901382327079773,
1.1937651634216309,
0.490888774394989,
-0.29998779296875,
0.07876379042863846,
-0.8197118043899536,
-0.4301718473434448,
0.3813895583152771,
0.6006674766540527,
-0.5708516836166382,
0.3233112096786499,
-0.39... |
MailSend will send out emal o list of given recipients. | [
-0.49941781163215637,
-0.1252380907535553,
-0.03853581100702286,
-0.26112961769104004,
-0.1047540083527565,
0.12096796929836273,
-1.2774561643600464,
0.8369401097297668,
0.00029948781593702734,
0.23234157264232635,
-1.0614633560180664,
1.0717871189117432,
0.8582897782325745,
1.414926648139... |
App is where all routes and middleware for buffalo should be defined. This is the nerve center of your application. | [
1.3009748458862305,
0.015400873497128487,
0.7344001531600952,
1.189629077911377,
0.34592553973197937,
0.45079305768013,
-0.09831152856349945,
0.669624924659729,
0.47021228075027466,
-0.6779624223709106,
-0.15857508778572083,
0.4239572584629059,
0.39709043502807617,
0.8458698987960815,
0.... |
toByteSlice converts byte16 to byte slice | [
0.8057805299758911,
-0.18236011266708374,
0.45834779739379883,
-0.17785507440567017,
1.200596570968628,
-0.3930490016937256,
-1.1507869958877563,
-0.4214712381362915,
-0.3090573251247406,
-0.29320812225341797,
-0.798816978931427,
-0.011055714450776577,
-0.12132994085550308,
-0.522148132324... |
byte16FromByteSlice converts byte slice to byte16 | [
1.0377143621444702,
0.07835168391466141,
0.25456446409225464,
0.03934255987405777,
0.37844347953796387,
-0.3652837574481964,
-0.48643958568573,
0.1660800725221634,
0.4358939826488495,
0.359651654958725,
-1.0292047262191772,
-0.0004302309243939817,
0.2392202466726303,
0.353345662355423,
0... |
WrapListener wraps an existing listener as a new StoppableListener. Currently only supports net.TCPListener pointers for wrapping. | [
-0.814374566078186,
-0.6008257865905762,
0.1652964949607849,
-0.04048800840973854,
-1.3756165504455566,
1.6767853498458862,
-0.32931557297706604,
-0.5942642688751221,
0.36743995547294617,
0.47526994347572327,
0.37050795555114746,
-0.9170165061950684,
0.44524356722831726,
0.3646205961704254... |
Accept wraps the accept function and polls for a stop command every second. | [
-0.9549853801727295,
-0.2677471339702606,
0.457283079624176,
0.11205527186393738,
-1.212652564048767,
0.5991482734680176,
0.04976402968168259,
-0.6229199171066284,
-1.0433911085128784,
-0.23991966247558594,
0.46197709441185,
-0.34769904613494873,
-0.04551573470234871,
-0.000917907338589429... |
Close sends a stop command to the listener. | [
-0.3386729061603546,
-1.3420666456222534,
0.3493938446044922,
-0.2009531557559967,
-0.07226893305778503,
1.0776749849319458,
-0.12872900068759918,
-0.7631329298019409,
-0.748883068561554,
0.47889700531959534,
0.10272187739610672,
-0.5241073369979858,
-0.1941422075033188,
0.4170674681663513... |
Create an entry in the Posts table | [
1.1952149868011475,
0.818637490272522,
0.3875010311603546,
0.5694481730461121,
1.0698703527450562,
0.41282981634140015,
-0.688774824142456,
0.18770751357078552,
-1.1880497932434082,
-0.24954763054847717,
-0.096050925552845,
-1.3526252508163452,
-0.6903361082077026,
-0.16359369456768036,
... |
retrieve an entry from the posts table in Postgres DB | [
1.346832275390625,
0.7194644808769226,
0.4364359974861145,
0.3470270037651062,
0.9290264844894409,
-0.36632010340690613,
-1.1513652801513672,
0.09248983860015869,
-1.056999921798706,
0.002441997407004237,
0.965120792388916,
-0.39547038078308105,
-1.049597144126892,
-0.40947026014328003,
... |
update an entry in the Postgres | [
0.019811823964118958,
-0.10765670984983444,
0.48160725831985474,
0.20775377750396729,
-0.16781213879585266,
0.04649820178747177,
-0.9593644142150879,
0.36016303300857544,
-0.9215085506439209,
1.1217734813690186,
0.6545135378837585,
0.1683059185743332,
-0.9211088418960571,
-0.73051774501800... |
delete an entry from posts table in the Postgres DB | [
1.537530779838562,
0.5721274614334106,
0.4146393835544586,
0.5188890099525452,
0.8008872866630554,
0.33706527948379517,
-0.9756561517715454,
0.544553279876709,
-0.8901838660240173,
0.6697783470153809,
0.652593195438385,
-0.6570170521736145,
-0.9638164639472961,
0.05459006503224373,
-1.14... |
GetTides returns the tide information for the features provided. Features must have a geometry and an acquiredDate property. | [
0.47589999437332153,
0.19826295971870422,
0.05128444358706474,
-0.6238903999328613,
0.6630814075469971,
0.16601336002349854,
-0.12235142290592194,
-0.3016817271709442,
-0.5832670331001282,
-0.40060117840766907,
0.35087549686431885,
-0.34365394711494446,
1.064226746559143,
0.332082509994506... |
PostInfoAttachment posts a info attachment on the given channel | [
0.13602347671985626,
-1.3000848293304443,
0.4567793309688568,
-0.5868310928344727,
-0.3071238398551941,
0.610416829586029,
-0.4157065749168396,
-0.9067622423171997,
-0.2591705024242401,
-0.14601893723011017,
-0.42173510789871216,
0.6778326630592346,
-0.5950583815574646,
0.1328672617673874,... |
?lat=xxxxxx& lon=yyyyy& unit=0& lg=english& FcstType=dwml | [
-0.6262147426605225,
-0.35522225499153137,
0.3821913003921509,
-0.8138965368270874,
0.15725655853748322,
0.4360584020614624,
-0.602615475654602,
-0.17951056361198425,
0.6949537396430969,
-1.1084541082382202,
0.1316019892692566,
-0.38155436515808105,
-0.06429443508386612,
1.322778344154358,... |
SetupRoutes setup router api | [
-0.8301131725311279,
-0.2591494917869568,
0.12152612209320068,
0.5082005262374878,
0.9593212008476257,
-0.7046175599098206,
0.5219547152519226,
0.27369728684425354,
0.8221632242202759,
0.4635853171348572,
-0.4671250283718109,
-0.3068487346172333,
-0.0993814766407013,
1.064468264579773,
-... |
/ This program will calculate the k approximatenearestneighbors of a set of points using localitysensitive hashing. You may specify a separate set of reference points and query points, or just a reference set which will be used as both the reference and query set. For example, the following will return 5 neighbors from... | [
0.9173958897590637,
0.20512008666992188,
0.9521679282188416,
0.4491615295410156,
-0.627569854259491,
0.5507140159606934,
0.13541138172149658,
-0.6867961883544922,
-0.1948034018278122,
-0.3633601665496826,
-0.5980368256568909,
0.6230664253234863,
-0.09938129782676697,
0.41344866156578064,
... |
This functions accepts a byte array containing a JSON | [
-0.3109699785709381,
-1.1346197128295898,
0.3274124562740326,
-0.8411758542060852,
-1.067144751548767,
0.12053215503692627,
-0.17332373559474945,
-0.37007036805152893,
1.0275545120239258,
0.19543400406837463,
-1.1081548929214478,
0.6820483207702637,
-0.7572478652000427,
0.8315225839614868,... |
SetGroupList stores Groups in the database for simplicity, all Groups are set at once. If called again, old Group list will be rewritten | [
-1.7147825956344604,
0.16037480533123016,
0.5551160573959351,
0.6874766945838928,
0.3417360484600067,
-0.2469453513622284,
0.040889058262109756,
-0.3212476670742035,
-0.22252413630485535,
0.205605149269104,
-1.4399784803390503,
-0.19069033861160278,
-0.8661738634109497,
1.4176950454711914,... |
QueryGroups finds Groups in the DB that match parameters given in the 'query' map | [
-0.8037140965461731,
0.7447822690010071,
0.1225862130522728,
0.05419807508587837,
-0.5586022138595581,
0.1332046538591385,
-0.7604992985725403,
-0.5220671892166138,
-0.8468248248100281,
-0.14431829750537872,
1.1414775848388672,
-0.16569025814533234,
-1.1515097618103027,
0.42228853702545166... |
SetUserList stores users in the database. All users are set at once. | [
-1.0731676816940308,
0.3797065019607544,
0.1598118245601654,
0.9929454326629639,
0.6037416458129883,
0.30226314067840576,
0.24840912222862244,
0.5060895681381226,
-0.20671874284744263,
0.5128887295722961,
-2.022130250930786,
-0.6504115462303162,
-0.36747244000434875,
1.3147971630096436,
... |
QueryUsers finds users in the DB that match parameters given in the 'query' map | [
-0.4497106373310089,
-0.20091409981250763,
0.12941469252109528,
0.5794973373413086,
-0.6471948623657227,
0.47242218255996704,
-0.7020649313926697,
0.3932754695415497,
-0.5957474112510681,
0.13403046131134033,
0.7488808631896973,
-0.3787059187889099,
-0.7819151282310486,
0.21083085238933563... |
Returns true if values in query are equal to corresponding JSON values in candidate | [
-0.31417930126190186,
-1.854810118675232,
0.2570295035839081,
0.32312247157096863,
-0.6057230830192566,
0.5094152688980103,
-1.0977756977081299,
-0.11361130326986313,
-0.07946482300758362,
0.6087862253189087,
0.13361148536205292,
0.6063708662986755,
-0.051925234496593475,
-0.57773053646087... |
Returns true if any stringified value in the candidate contains 'term' | [
0.10024815052747726,
-1.2916240692138672,
0.4303036332130432,
0.6068723201751709,
-0.5757468342781067,
-0.0767519399523735,
-1.5610496997833252,
0.7415754795074463,
-0.3074032962322235,
-0.17786189913749695,
0.24932855367660522,
0.5687457919120789,
-0.4710119962692261,
0.3865889012813568,
... |
getRepoDOI returns the DOI for the repository based on the following rules: if the repository belongs to the DOI user and has a tag that matches the DOI prefix, returns the tag. if the repo is forked by the DOI user, check the DOI fork for the tag as above. if the repo is forked by the DOI user and the fork doesn't hav... | [
0.2921973764896393,
0.355246901512146,
0.41339224576950073,
0.6054850220680237,
0.15266557037830353,
-0.7951990962028503,
0.4331730604171753,
-0.12594997882843018,
-0.27428990602493286,
-0.2433602511882782,
0.003800786565989256,
-0.11712522804737091,
-0.23836205899715424,
0.084975950419902... |
hasDataCite returns 'true' if a repository includes a file called 'datacite.yml' in its root. No checks are made to determine if the file is valid. If any error occurs, for example due to an uninitialised repository or missing repository root, it returns 'false' without error. | [
0.8438522815704346,
-0.1360333412885666,
0.736984372138977,
-0.4334338903427124,
-0.08040519058704376,
-0.18267440795898438,
-0.29204729199409485,
0.8537659049034119,
-0.1337367743253708,
-0.4637860655784607,
-0.11758710443973541,
0.1074240431189537,
0.04670480266213417,
1.0677740573883057... |
True if repository is not Private, is not registered, or is registered and has changes (HEAD is not registered) | [
-1.632031798362732,
0.37898537516593933,
0.24602708220481873,
0.2654326856136322,
0.12817920744419098,
-0.10066592693328857,
-0.16779451072216034,
-0.29924166202545166,
1.1690114736557007,
-0.23992961645126343,
-0.6724557876586914,
1.3271150588989258,
-0.6187438368797302,
1.032063245773315... |
NewAppSyncEchoServer starts and returns an appsync echo server instance. | [
-0.7463160753250122,
-1.0927815437316895,
0.2901811897754669,
0.9400062561035156,
-0.19163766503334045,
0.0034256114158779383,
0.005292581394314766,
-0.03419314697384834,
0.2905847132205963,
-0.2154894471168518,
-0.06102496385574341,
0.32407131791114807,
0.6375181078910828,
-0.650066435337... |
Shuffle mixes randomly the input slice | [
-1.285620927810669,
-0.15145985782146454,
0.16113650798797607,
0.14009881019592285,
0.22179870307445526,
0.7890941500663757,
0.28420495986938477,
-0.5155747532844543,
1.3100364208221436,
-1.2290270328521729,
0.4636608064174652,
0.2876426577568054,
-0.4536462426185608,
0.5709645748138428,
... |
pruningResources is taking care of removing the no more requested subresources as LimitRange, ResourceQuota or NetworkPolicy using the "exists" and "notin" LabelSelector to perform an outerjoin removal. | [
-0.4622160494327545,
-0.5839896202087402,
0.29600828886032104,
-0.033174604177474976,
0.06697806715965271,
1.1862058639526367,
0.0372290164232254,
0.3064696192741394,
0.03731314465403557,
-0.21784883737564087,
0.7332874536514282,
-0.3255457580089569,
-0.8775855898857117,
-0.533020853996276... |
Serial ResourceQuota processing is expensive: using Go routines we can speed it up. In case of multiple errors these are logged properly, returning a generic error since we have to repush back the reconciliation loop. | [
-0.14264920353889465,
-0.02447519451379776,
0.652580976486206,
-0.16270767152309418,
0.4301747977733612,
-1.2150510549545288,
0.29509803652763367,
-0.18278294801712036,
-0.19326351583003998,
0.6261260509490967,
0.3398967385292053,
-0.09315203875303268,
0.5714892745018005,
-0.49475544691085... |
We're relying on the ResourceQuota resource to represent the resource quota for the single Tenant rather than the single Namespace, so abusing of this API although its Namespaced scope. Since a Namespace could takeup all the available resource quota, the Namespace ResourceQuota will be a 1:1 mapping to the Tenant one: ... | [
-0.5343444347381592,
-0.4544675648212433,
0.5837627649307251,
0.44164150953292847,
0.621049165725708,
-0.5882578492164612,
-0.28325992822647095,
-0.7603106498718262,
1.0577936172485352,
0.45895981788635254,
0.06431026011705399,
0.6073013544082642,
1.0334060192108154,
0.4535633623600006,
... |
Ensuring all the LimitRange are applied to each Namespace handled by the Tenant. | [
0.8671988248825073,
0.03942328318953514,
0.14494583010673523,
0.962847888469696,
0.7943318486213684,
1.1226894855499268,
-0.5775997042655945,
-0.8300279974937439,
1.0876877307891846,
-0.7136066555976868,
0.2572004795074463,
0.27311426401138306,
-0.25963300466537476,
0.5531671643257141,
-... |
Ensuring all annotations are applied to each Namespace handled by the Tenant. | [
1.0557661056518555,
-0.14732283353805542,
0.275848925113678,
0.7280738353729248,
0.4597715139389038,
0.8746247291564941,
-0.2561708092689514,
-0.5310288667678833,
1.22041654586792,
-0.6668831706047058,
-0.1375531256198883,
0.298647403717041,
0.44034475088119507,
0.8469326496124268,
-0.31... |
Ensuring all the NetworkPolicies are applied to each Namespace handled by the Tenant. | [
1.2690246105194092,
0.12231837213039398,
0.2254202663898468,
0.39555561542510986,
0.9964696168899536,
1.4004337787628174,
-0.8876630067825317,
-0.7340439558029175,
1.6696419715881348,
-0.5864421129226685,
0.31477081775665283,
-0.4251713752746582,
-0.2677370607852936,
1.0378303527832031,
... |
Each Tenant owner needs the admin Role attached to each Namespace, otherwise no actions on it can be performed. Since RBAC is based on deny all first, some specific actions like editing Capsule resources are going to be blocked via Dynamic Admission Webhooks. TODO(prometherion): we could create a capsule:admin role rat... | [
0.1939319521188736,
-0.07094117254018784,
0.5737684965133667,
0.5205396413803101,
0.8640201091766357,
0.0041664764285087585,
0.1179039254784584,
-1.6992347240447998,
1.0757583379745483,
0.021397916600108147,
0.5689203143119812,
1.1004818677902222,
0.4112858772277832,
1.632513403892517,
0... |
asInt returns the parameter as a int64 or panics if it can't convert | [
-0.9147614240646362,
0.13565702736377716,
0.3629591166973114,
0.238943412899971,
-0.005315187852829695,
-0.2891858220100403,
-0.1988554745912552,
-0.8596622943878174,
0.6037054657936096,
0.3296210765838623,
0.5961869359016418,
-0.2750767767429352,
-0.6311100125312805,
-0.6015652418136597,
... |
/ NewAnonymousFile simply creates a new empty anonymous file. | [
0.4035780727863312,
-1.3756046295166016,
0.15310347080230713,
0.42430731654167175,
-0.5013860464096069,
0.42880403995513916,
-0.7414681911468506,
0.23439335823059082,
-1.717297911643982,
-0.41774097084999084,
-0.9633268117904663,
-0.2072056531906128,
0.3639739751815796,
0.179753378033638,
... |
/ Read reads up to len(data) bytes from the file and puts them into data. | [
0.0597832091152668,
0.3939901292324066,
0.33250707387924194,
-0.6928249001502991,
0.7167844176292419,
0.8152123689651489,
-0.4011830687522888,
0.13921742141246796,
-0.7954922914505005,
-1.0207293033599854,
-0.007411012426018715,
0.2556736171245575,
-0.29471248388290405,
-0.6467673778533936... |
/ Write appends the specified data to the end of the buffer. This is not always correct, but it's easy enough to make sense for most purposes. | [
-1.3121505975723267,
0.3866257667541504,
0.5262892246246338,
-0.28806886076927185,
0.9160796999931335,
1.0743409395217896,
-0.3493064343929291,
-0.4088665246963501,
0.5759464502334595,
-0.6722750067710876,
-0.4473538100719452,
0.32168951630592346,
-0.9707935452461243,
0.31125959753990173,
... |
/ Len returns the current total length of the anonymous file. This is not part of the standard file API, but it is certainly useful for testing. | [
-0.045964568853378296,
-0.7175598740577698,
0.2796158790588379,
-0.8116245269775391,
0.44989627599716187,
-0.2366066575050354,
1.071338415145874,
0.6730877161026001,
-0.8663267493247986,
-0.11032669991254807,
-1.021571159362793,
0.28752464056015015,
0.1737280935049057,
-0.4802722930908203,... |
/ Tell returns our current offset in the virtual file. | [
0.3477395474910736,
-1.3324308395385742,
0.07204382121562958,
-0.26954150199890137,
0.20771907269954681,
0.4565926492214203,
0.9660298824310303,
0.06577783077955246,
-1.1877906322479248,
0.39883294701576233,
0.528886616230011,
0.4961808919906616,
-0.881645143032074,
-0.5989841818809509,
... |
/ Seek changes the current position to the specified one. | [
-1.1289324760437012,
-0.18334197998046875,
0.31539756059646606,
-0.3882615864276886,
0.2688061594963074,
0.7610694766044617,
0.7794596552848816,
-0.5642402172088623,
-0.552232563495636,
-0.7345200777053833,
-0.42403048276901245,
0.6632447242736816,
0.09487619251012802,
-1.1565275192260742,... |
/ Skip advances our position cursor by the specified amount of bytes. | [
-0.7178787589073181,
-0.09677092730998993,
0.5313565731048584,
0.08878549188375473,
-0.5867897272109985,
0.4038163721561432,
0.9124929904937744,
-0.4637158513069153,
-0.2779178023338318,
-0.20304648578166962,
-0.7674906849861145,
-0.11653207242488861,
-0.6355563998222351,
-0.97564411163330... |
/ Close resets the position. That's about all it does. This is so the same object can be reused in tests. | [
-0.9239177107810974,
-1.0704277753829956,
0.5582842230796814,
-0.1552155762910843,
-0.6803494691848755,
0.5278620719909668,
0.8411415815353394,
-0.704153835773468,
-0.49792537093162537,
0.041709333658218384,
-0.20891094207763672,
-0.3419851064682007,
-0.7181758284568787,
-0.029352283105254... |
unsafeRead reads the next frame. This function is not thread safe! | [
0.21574950218200684,
0.2486903965473175,
0.34053635597229004,
-0.19862914085388184,
-0.5880898833274841,
-0.028933290392160416,
-0.40169793367385864,
-1.0521694421768188,
-0.16831029951572418,
-0.2375800907611847,
0.7120885848999023,
0.8516393303871155,
-1.153052806854248,
-1.1001639366149... |
GetKubeConfig precedence kubeconfig flag pointing at a file at this cmd line KUBECONFIG environment variable pointing at a file Incluster config if running in cluster $HOME/.kube/config if exists | [
0.7193562984466553,
-0.1832403689622879,
0.6583244800567627,
1.1070835590362549,
0.5785388946533203,
0.2785232365131378,
-0.2615480422973633,
0.22658409178256989,
-0.9796172976493835,
0.051820188760757446,
0.2874242067337036,
0.5591846704483032,
-0.40549516677856445,
1.131531834602356,
0... |
NewCrdRequestController given a reference to CNS's HTTPRestService state, returns a crdRequestController struct | [
0.24666105210781097,
-0.22626975178718567,
0.49754762649536133,
0.3760093152523041,
-0.21168391406536102,
-0.11440495401620865,
-0.91868656873703,
-1.5321645736694336,
1.0529274940490723,
-1.5289068222045898,
0.6540535688400269,
0.5632960796356201,
-0.04386049136519432,
-0.2449235916137695... |
StartRequestController starts the Reconciler loop which watches for CRD status updates Blocks until SIGINT or SIGTERM is received Notifies exitChan when kill signal received | [
0.6753289103507996,
-0.8725351095199585,
0.44015994668006897,
0.981494128704071,
0.659792423248291,
0.3549829423427582,
-0.6937387585639954,
0.3144058585166931,
-0.4098964035511017,
-1.0025056600570679,
0.8075814843177795,
-0.1265888214111328,
-0.4486086964607239,
0.5284999012947083,
0.9... |
InitCNS initializes cns by passing pods and a createnetworkcontainerrequest | [
-0.3491900861263275,
0.10635676234960556,
0.23988783359527588,
0.8473808169364929,
1.3111509084701538,
-0.42194244265556335,
-0.02922002039849758,
-1.5401556491851807,
0.5670807957649231,
-1.1458595991134644,
-0.7952186465263367,
-0.5438099503517151,
0.5471935868263245,
0.543445885181427,
... |
UpdateCRDSpec updates the CRD spec | [
0.6315464377403259,
-0.4551590085029602,
0.42748746275901794,
-1.0411022901535034,
-0.14816786348819733,
0.4636843204498291,
0.1673981100320816,
0.3195209205150604,
-0.7288476228713989,
0.5517559051513672,
0.8013057112693787,
1.2298396825790405,
0.248197540640831,
-0.08298986405134201,
0... |
getNodeNetConfig gets the nodeNetworkConfig CRD given the name and namespace of the CRD object | [
0.8281251788139343,
0.03589700162410736,
0.23825299739837646,
-0.9920609593391418,
-0.3754991292953491,
-0.7368243336677551,
-1.5949797630310059,
-0.49668532609939575,
-0.5650672912597656,
0.2092287838459015,
0.6757262945175171,
0.8631687760353088,
0.04020877927541733,
0.287339985370636,
... |
getNodeNetConfigDirect gets the nodeNetworkConfig CRD using a direct client | [
0.07983090728521347,
0.18520495295524597,
0.24964022636413574,
-0.9108602404594421,
-0.07821080088615417,
0.5277491807937622,
-0.036213573068380356,
-0.6662080883979797,
-1.4848003387451172,
-0.6308069825172424,
0.5815814733505249,
0.5281867980957031,
0.15380312502384186,
-0.08093973994255... |
updateNodeNetConfig updates the nodeNetConfig object in the API server with the given nodeNetworkConfig object | [
-1.570736289024353,
-0.7045669555664062,
0.057294607162475586,
-1.0087329149246216,
-0.6512362957000732,
0.060981445014476776,
-1.2650227546691895,
-0.46821528673171997,
-0.02879416197538376,
0.5716943144798279,
-1.058968424797058,
-0.09718814492225647,
-0.25903937220573425,
0.975906491279... |
getAllPods gets all pods running on the node using the direct API client | [
-0.8794936537742615,
0.010082070715725422,
0.43060576915740967,
0.18514259159564972,
0.800815999507904,
-0.22604288160800934,
-1.1915830373764038,
-0.5419361591339111,
-0.4638747274875641,
-0.49613088369369507,
0.728600800037384,
1.1984999179840088,
-0.020479271188378334,
-0.24392589926719... |
isNotDefined tells whether the given error is a CRD not defined error | [
0.031979482620954514,
-0.42112770676612854,
0.4172523617744446,
0.8603273034095764,
0.4837316572666168,
-0.1612861007452011,
-0.6398710608482361,
-0.1303221732378006,
0.4710971713066101,
0.03196818381547928,
-0.0654827132821083,
0.9406462907791138,
-0.6021575331687927,
1.4997674226760864,
... |
handleMount takes care of creating the mount path and issuing the mount syscall for the mount source, location, and fstype. | [
0.39755088090896606,
-0.06876890361309052,
0.23532265424728394,
1.1497220993041992,
0.6847646832466125,
-0.8345099091529846,
0.6291553378105164,
-0.4488402009010315,
0.18562456965446472,
-0.37020057439804077,
-0.158290296792984,
-0.7777765989303589,
0.909955620765686,
1.1177924871444702,
... |
bindMount does a bind mount for the source to also be accessible at the dest. | [
0.3925336003303528,
-0.47319120168685913,
0.6509101986885071,
0.49790361523628235,
-0.6207325458526611,
0.05222179740667343,
-0.6347277760505676,
-0.5831035375595093,
-0.08886507153511047,
-0.5973235368728638,
-0.391347199678421,
0.9049580097198486,
0.7423439025878906,
0.11386802792549133,... |
configureInterface is used to configure an individual interface against a matched configuration. It sets up the addresses, the MTU, and invokes DHCP if necessary. | [
-0.7403969168663025,
0.6241871118545532,
0.27306172251701355,
0.8728961944580078,
-0.05176997184753418,
-0.6737266182899475,
0.5161644816398621,
0.19543930888175964,
-0.31683576107025146,
-0.2695273160934448,
-0.6040811538696289,
-1.4706987142562866,
-0.38386452198028564,
-0.03805814310908... |
handleSIGCHLD is used to loop over and receive a SIGCHLD signal, which is used to have the process reap any dead child processes. | [
1.3124140501022339,
-0.83333420753479,
0.5978460311889648,
0.720295786857605,
-0.0077749984338879585,
1.4889366626739502,
-0.38032758235931396,
-0.10462629795074463,
-0.32259002327919006,
-0.20311963558197021,
-1.3880486488342285,
-1.0240610837936401,
0.04985910654067993,
0.843049466609954... |
formatDisk formats the device with the specified fstype. | [
-0.33147189021110535,
0.20191247761249542,
0.3069002330303192,
1.2831990718841553,
-0.23219692707061768,
-0.5014235973358154,
0.6391651630401611,
-0.8421730399131775,
-0.11393039673566818,
-1.569718599319458,
1.2793627977371216,
-0.047429874539375305,
0.45151618123054504,
1.600741982460022... |
shouldFormatDisk determines whether we should format the disk based on its configuration and current filesystem type. | [
-0.2655722498893738,
-0.2862039804458618,
0.4675154685974121,
0.7976234555244446,
0.09981772303581238,
0.3772868812084198,
0.3942662179470062,
-0.6038182973861694,
-0.14263257384300232,
-0.810224711894989,
1.4447859525680542,
0.5450769066810608,
-0.30723026394844055,
1.9478143453598022,
... |
getConfigurationFromFile will attempt to load the provided file and parse it into a kurmaConfig object. Note that this function will return nil, nil if the specified path was not found. | [
0.39246076345443726,
-0.6816403269767761,
0.6459803581237793,
0.5086967349052429,
-0.6106047034263611,
-0.6331577301025391,
-0.3431459367275238,
-0.26406973600387573,
-0.9984816312789917,
0.2149568796157837,
-0.09193246066570282,
-0.3959368169307709,
-0.35681575536727905,
-0.19164948165416... |
removeIfFile will inspect the uri, and if the uri is a file scheme, it will atempt to remove the specified file. This is primarily used after launching the initial containers. If they're from the local filesystem, we'll remove them to keep memory usage down on the tmpfs root. | [
0.020666036754846573,
0.4733096659183502,
0.5512778162956238,
0.40527182817459106,
0.6959049701690674,
-0.9986332654953003,
0.7032297253608704,
-0.13682374358177185,
-0.27659860253334045,
-0.18357086181640625,
0.16223716735839844,
-0.9571546912193298,
-0.7564864158630371,
0.426529943943023... |
NodePublishVolume bind mounts from the source staging path, where the GCFS volume is mounted. | [
0.834845244884491,
-0.7713617086410522,
0.1421746462583542,
0.4168183505535126,
0.06650081276893616,
0.2183605283498764,
0.2164953649044037,
0.2886158525943756,
-0.5024548172950745,
-0.1027909368276596,
0.5287207365036011,
0.1504996418952942,
-0.09360738843679428,
0.26632511615753174,
0.... |
NodeUnpublishVolume unmounts the GCFS volume | [
1.1829794645309448,
-0.6491132974624634,
0.16491910815238953,
-1.0163853168487549,
0.1250113993883133,
-0.541334331035614,
0.04326169192790985,
1.2365115880966187,
-1.5030649900436401,
-1.0402997732162476,
1.3358852863311768,
0.14031203091144562,
-0.5115039348602295,
-0.17681723833084106,
... |
validateVolumeAttributes checks for all the necessary fields for mounting the volume | [
0.407851904630661,
-0.4619239568710327,
0.6390125155448914,
0.37857428193092346,
-0.43717265129089355,
0.015065990388393402,
-0.1252451241016388,
0.30408868193626404,
-0.8275765180587769,
0.026536496356129646,
0.6774041056632996,
-0.5044690370559692,
-0.3707495927810669,
0.3259395956993103... |
isDirMounted checks if the path is already a mount point | [
0.5130762457847595,
-0.26682615280151367,
0.5157835483551025,
0.9304438233375549,
0.5982004404067993,
-0.5296404957771301,
0.011908105574548244,
-1.1690115928649902,
1.2733685970306396,
-0.4704021215438843,
0.1963452696800232,
0.6973607540130615,
-0.5967279672622681,
0.8183760046958923,
... |
SetTxRetiries sets number of retries on conflict in Update | [
0.1095905750989914,
-0.06506061553955078,
0.39673373103141785,
-0.6761658191680908,
0.04841257259249687,
-0.18502438068389893,
-0.4940733313560486,
0.3239649534225464,
0.14844165742397308,
1.2091257572174072,
-0.4393482506275177,
-1.2215772867202759,
-1.1778013706207275,
-1.915427327156067... |
NewDB returns storage.DB with BadgerDB instance initialized by opts. Creates database in provided dir or in current directory if dir parameter is empty. | [
-0.8665837049484253,
-0.1713731437921524,
0.48589739203453064,
1.3469361066818237,
0.5537088513374329,
0.4060901999473572,
0.3211066424846649,
-0.1389288455247879,
0.156118243932724,
-0.6631641983985901,
-0.10659880191087723,
0.28422054648399353,
-0.8630070090293884,
0.6610395312309265,
... |
Init creates initial records in storage. | [
0.4267285168170929,
-0.6647894382476807,
0.27044862508773804,
0.11166340112686157,
1.186820387840271,
0.20502296090126038,
0.4851484000682831,
0.010158028453588486,
-1.111707091331482,
-0.2640989124774933,
-1.3297655582427979,
-0.44604021310806274,
0.5186711549758911,
-0.30584749579429626,... |
GenesisRef returns the genesis record reference. Genesis record is the parent for all toplevel records. | [
0.8183421492576599,
0.24203482270240784,
0.58030104637146,
0.5891713500022888,
-0.2035863995552063,
0.5560764670372009,
0.5440046191215515,
-0.4266417920589447,
-1.2921656370162964,
-0.1387365162372589,
1.0742182731628418,
0.856329083442688,
-0.5846052765846252,
0.39666372537612915,
0.13... |
Stop stops DB component. | [
-0.9509419798851013,
-0.22686617076396942,
-0.03593580424785614,
0.6021302342414856,
0.6127601861953735,
0.2795966565608978,
-0.7276634573936462,
0.5556572079658508,
-0.47090616822242737,
0.49023231863975525,
-0.9660736322402954,
-0.3870680034160614,
-0.021235933527350426,
-0.3787775039672... |
GetBlob returns binary value stored by record ID. | [
0.5479090809822083,
0.15034042298793793,
0.5620942711830139,
1.418145775794983,
0.5607278347015381,
0.3469609320163727,
0.1468852311372757,
-1.0628859996795654,
-0.5336923599243164,
-0.2657112181186676,
-0.7535754442214966,
0.9635051488876343,
-0.5168949365615845,
-0.3639615476131439,
0.... |
SetBlob saves binary value for provided pulse. | [
-0.44557029008865356,
0.36080750823020935,
0.5014632940292358,
1.2682151794433594,
0.08173159509897232,
1.5224268436431885,
0.035509102046489716,
-0.18800435960292816,
-0.42172643542289734,
-0.04521430656313896,
-2.22355055809021,
0.2897581458091736,
-0.39953145384788513,
0.167347788810729... |
GetRecord wraps matching transaction manager method. | [
0.4973929524421692,
0.9558841586112976,
0.0770437940955162,
-0.4182893931865692,
-0.4801521301269531,
-1.230833649635315,
0.03771400451660156,
-0.33363229036331177,
-0.1409701108932495,
-0.022104794159531593,
0.8320062756538391,
-0.02322930097579956,
0.24352999031543732,
0.1784012019634246... |
SetRecord wraps matching transaction manager method. | [
0.053859710693359375,
1.0724056959152222,
0.04807090014219284,
-0.5153821110725403,
-1.0928033590316772,
-0.9205467104911804,
0.12797129154205322,
0.09545078873634338,
-0.20913003385066986,
0.06995060294866562,
0.3678654432296753,
-0.1447603553533554,
0.14257565140724182,
0.569369316101074... |
GetObjectIndex wraps matching transaction manager method. | [
-0.4867728054523468,
-0.03615008294582367,
0.1998649537563324,
-0.221500962972641,
-0.5329087376594543,
-0.5147913098335266,
0.7382024526596069,
-0.2342871129512787,
0.03467234969139099,
0.28058791160583496,
-0.21701717376708984,
-0.33877894282341003,
0.44063800573349,
-1.168073296546936,
... |
SetObjectIndex wraps matching transaction manager method. | [
-0.7588123083114624,
-0.1403944492340088,
0.21357771754264832,
-0.651362419128418,
-0.6105902791023254,
-0.15189479291439056,
0.6029137969017029,
-0.156093567609787,
0.07738601416349411,
0.40489277243614197,
-0.8574469685554504,
-0.3914525508880615,
0.44336506724357605,
-0.8764114379882812... |
GetDrop returns jet drop for a given pulse number. | [
-0.8565694689750671,
0.5399896502494812,
0.2725743055343628,
-0.10462169349193573,
-0.33624038100242615,
0.496391236782074,
-0.4492745101451874,
-0.5960564613342285,
-0.19411501288414001,
-0.5585896968841553,
-0.007673133630305529,
0.37208232283592224,
-0.2800181210041046,
-0.3020980954170... |
CreateDrop creates and stores jet drop for given pulse number. Previous JetDrop hash should be provided. On success returns saved drop and slot records. | [
-0.6419905424118042,
0.20415979623794556,
0.38394561409950256,
0.2503287196159363,
-0.7228502035140991,
1.0675368309020996,
-0.2786000370979309,
-0.26449233293533325,
-0.5309695601463318,
-0.2747659385204315,
-0.695936381816864,
-0.9600662589073181,
-0.3086722195148468,
0.08947022259235382... |
SetDrop saves provided JetDrop in db. | [
-1.0990444421768188,
0.48656708002090454,
0.1317041516304016,
0.5392283201217651,
-0.13736586272716522,
0.6259209513664246,
-0.6480327248573303,
-0.6566193699836731,
-0.40987715125083923,
0.6336265206336975,
-0.7649268507957458,
-1.2479403018951416,
0.4066290557384491,
1.004201889038086,
... |
AddPulse saves new pulse data and updates index. | [
-0.8964101672172546,
0.38629287481307983,
0.4255393147468567,
0.11421169340610504,
0.37265321612358093,
0.5548315048217773,
-0.5291620492935181,
0.5628746151924133,
0.577950119972229,
-0.5087846517562866,
-1.1777435541152954,
-0.3555983901023865,
-0.9688018560409546,
-0.623102068901062,
... |
GetPulse returns pulse for provided pulse number. | [
0.23869268596172333,
1.040685772895813,
0.3310421407222748,
0.41017958521842957,
0.28042152523994446,
-0.43847623467445374,
-0.15682180225849152,
0.0435028076171875,
0.5301106572151184,
-0.635310709476471,
-0.1303826868534088,
0.19289608299732208,
-0.6571022868156433,
-0.8459590673446655,
... |
GetLatestPulseNumber returns current pulse number. | [
-0.640306293964386,
-0.6605758666992188,
0.6189302206039429,
0.9051976799964905,
-0.2999780774116516,
0.5610948204994202,
0.8301655650138855,
1.088113784790039,
0.15287227928638458,
0.07426002621650696,
-1.0048041343688965,
0.7035548686981201,
-0.419438898563385,
-0.6746571063995361,
0.8... |
BeginTransaction opens a new transaction. All methods called on returned transaction manager will persist changes only after success on "Commit" call. | [
-0.22029438614845276,
-0.1875101774930954,
0.4410998821258545,
0.11627346277236938,
-0.7430528998374939,
-0.6319531798362732,
0.5889481902122498,
-0.4234323799610138,
0.7651079297065735,
-1.0674872398376465,
-0.5766669511795044,
-0.6265245676040649,
-0.3966143727302551,
0.00572780473157763... |
View accepts transaction function. All calls to received transaction manager will be consistent. | [
0.38772067427635193,
0.554257869720459,
0.2857191860675812,
-0.5156235694885254,
-0.8048801422119141,
-0.9573462605476379,
0.32558271288871765,
-0.15127575397491455,
-0.3949183225631714,
-1.3969604969024658,
-0.1547452211380005,
-0.031254351139068604,
0.46732646226882935,
0.512852072715759... |
Update accepts transaction function and commits changes. All calls to received transaction manager will be consistent and written tp disk or an error will be returned. | [
-0.26209795475006104,
-0.30656158924102783,
0.5835261940956116,
0.05723265931010246,
-0.8257268667221069,
0.06865717470645905,
0.3318770229816437,
-0.5569338202476501,
-0.8464851975440979,
0.19477269053459167,
0.0036526466719806194,
-1.2245279550552368,
-0.4018684923648834,
-0.110910676419... |
GetBadgerDB return badger.DB instance (for internal usage, like tests) | [
-0.03715972974896431,
-0.9783092141151428,
0.3360682725906372,
-0.3191078007221222,
-0.02976708486676216,
0.13946714997291565,
-0.023478515446186066,
0.28247135877609253,
0.001728222705423832,
-1.067822813987732,
-0.7418360114097595,
0.5236955285072327,
-1.6944762468338013,
0.3449288606643... |
SetMessage persists message to the database | [
-0.23215024173259735,
1.1702369451522827,
0.5536217093467712,
0.04768635705113411,
1.5835487842559814,
0.05770691856741905,
-0.08632700890302658,
-0.039769213646650314,
-0.3236157298088074,
0.5474505424499512,
-0.3362945020198822,
-0.15710966289043427,
-1.6311858892440796,
1.47618031501770... |
SetLocalData saves provided data to storage. | [
-0.08137203752994537,
-0.7306146621704102,
0.05307003855705261,
-0.11884336173534393,
0.09455277025699615,
0.5313206911087036,
-0.05718764662742615,
0.7116009593009949,
0.5571359395980835,
0.031670089811086655,
-1.9916605949401855,
0.2687196433544159,
0.23819702863693237,
-0.00260581215843... |
GetLocalData retrieves data from storage. | [
0.65582674741745,
-0.7012260556221008,
0.36422809958457947,
0.285357266664505,
-0.2785365581512451,
0.07324196398258209,
-0.38060232996940613,
0.11682545393705368,
0.2752886712551117,
-0.4007102847099304,
-0.7378642559051514,
0.5639891624450684,
0.4026995301246643,
-0.7991101741790771,
-... |
IterateLocalData iterates over all record with specified prefix and calls handler with key and value of that record. The key will be returned without prefix (e.g. the remaining slice) and value will be returned as it was saved. | [
-0.30509456992149353,
-1.1113897562026978,
0.43083012104034424,
-0.4397909641265869,
-0.6739060282707214,
-0.07741301506757736,
-0.33549758791923523,
0.5853098034858704,
-0.7643844485282898,
0.5173078775405884,
-0.3306024968624115,
0.26270627975463867,
0.48534029722213745,
0.84509766101837... |
SetActiveNodes saves active nodes for pulse in memory. | [
-0.6141389608383179,
-0.7677814364433289,
0.10160702466964722,
-0.44617709517478943,
0.04209180921316147,
-0.2412244975566864,
1.176509141921997,
0.5221598148345947,
0.5617365837097168,
0.03175845742225647,
-2.07606840133667,
0.5389509201049805,
-0.7701766490936279,
-1.2387199401855469,
... |
GetActiveNodes return active nodes for specified pulse. | [
-1.103641152381897,
-0.7192071080207825,
0.2113778442144394,
0.39235472679138184,
0.07935281097888947,
-0.43217647075653076,
0.22056062519550323,
0.6296483874320984,
0.5556398034095764,
-0.17310237884521484,
-1.1968780755996704,
0.9981154203414917,
-0.588283121585846,
-1.5527563095092773,
... |
get wraps matching transaction manager method. | [
-0.7791215181350708,
0.1820572018623352,
-0.12282861769199371,
-0.4490964412689209,
-0.8690839409828186,
-1.6645554304122925,
-0.9090383052825928,
-0.7316397428512573,
0.049921873956918716,
-0.0903259888291359,
0.5034091472625732,
-0.17369066178798676,
0.5637580752372742,
-0.07199212908744... |
set wraps matching transaction manager method. | [
-0.34026139974594116,
0.28219857811927795,
-0.12338771671056747,
-0.47908177971839905,
-0.8426260352134705,
-1.2131341695785522,
-0.26100075244903564,
-1.0591866970062256,
-0.18063028156757355,
0.2782416343688965,
0.20038707554340363,
-0.3217557668685913,
0.4729820191860199,
0.257187485694... |
NewLogrConfig : config factory setting defaults for the logr | [
0.1716405302286148,
-0.41549599170684814,
0.07010427862405777,
-0.054899055510759354,
-0.3396441638469696,
-0.8767459988594055,
-0.9474968314170837,
0.3994232714176178,
-0.1571098417043686,
-0.40000423789024353,
-0.7333230376243591,
-0.6929141879081726,
0.2559296488761902,
0.89832538366317... |
Only would be called on top level log.WithField, otherwise, it uses logrus Entry.WithField() | [
0.6404029726982117,
-0.4305783212184906,
0.4981769025325775,
-0.5396867990493774,
-0.4499441981315613,
0.03379467874765396,
-0.45900774002075195,
-0.6796592473983765,
0.1509234458208084,
-0.17879939079284668,
0.074869804084301,
1.0522092580795288,
0.4434191584587097,
0.551237940788269,
-... |
Newlogr is the initializer for a new logr. Sets the level | [
-0.24956372380256653,
-0.9648251533508301,
0.19627165794372559,
0.17854097485542297,
-0.8035932779312134,
-0.09264858067035675,
-0.45462000370025635,
-0.05614583194255829,
-0.6201162338256836,
-0.7343977093696594,
-0.5624502897262573,
-0.5158045291900635,
-0.7722029685974121,
1.84792065620... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.