text stringlengths 7 2.39k | embedding listlengths 768 768 |
|---|---|
Expand expands a URI template with a set of values to produce a string. | [
-0.8021851778030396,
0.7454584240913391,
0.39751332998275757,
0.07186801731586456,
-0.9113967418670654,
-0.21778225898742676,
-0.5247310400009155,
0.5508739948272705,
-0.6292390823364258,
-0.9645127654075623,
0.9972777366638184,
-1.3365552425384521,
-0.28316643834114075,
-0.884502112865448... |
ValidColumn reports if the column name is valid (part of the table columns). | [
0.25078055262565613,
-0.997930645942688,
0.31269100308418274,
0.5004560351371765,
-0.4266868829727173,
0.8066509962081909,
0.43190354108810425,
0.060432855039834976,
-0.3555654287338257,
-0.38499635457992554,
-1.0925437211990356,
0.02342638187110424,
0.09229223430156708,
-0.594852864742279... |
CSVHeader returns the header string for CSV output format. | [
-0.26449450850486755,
-1.3501430749893188,
0.3760412633419037,
0.14812146127223969,
-0.968949556350708,
0.09797365963459015,
-1.0051829814910889,
-0.23371224105358124,
0.044485948979854584,
0.07029576599597931,
0.840661883354187,
-0.0267223808914423,
0.766866147518158,
-1.3582594394683838,... |
HandleRequest handle all request route | [
-1.1103447675704956,
-0.42981061339378357,
0.49366509914398193,
1.4415608644485474,
1.033398151397705,
0.067249596118927,
-0.18757538497447968,
0.8779798150062561,
-0.7359915375709534,
-1.0610493421554565,
0.5817316770553589,
-1.3705651760101318,
0.6533482670783997,
0.26154592633247375,
... |
initRetrieveResolver attempts to init a retrieve resolver | [
-0.2616721987724304,
-1.1310396194458008,
0.463225394487381,
-0.033567897975444794,
0.7976647019386292,
-0.2862899899482727,
-0.4672919809818268,
0.31558099389076233,
0.5895722508430481,
-1.9887492656707764,
-0.5443235635757446,
-0.7301403284072876,
-0.5604070425033569,
0.07321550697088242... |
initCreateResolver attempts to init a create resolver | [
-0.2479449361562729,
-0.5453826189041138,
0.5375765562057495,
0.6076873540878296,
0.9976404309272766,
0.5245622396469116,
-0.1350775510072708,
-0.13820043206214905,
-0.44954293966293335,
-1.3883463144302368,
-0.42396238446235657,
-0.9691592454910278,
0.12099765986204147,
0.7917437553405762... |
helper function to return matching hook. | [
0.30816590785980225,
-0.5704863667488098,
0.18303182721138,
0.25876447558403015,
-0.1164938360452652,
0.17147201299667358,
-0.19835326075553894,
0.3434997797012329,
-0.8774344325065613,
0.26307231187820435,
1.252293586730957,
0.13425061106681824,
-0.06767947971820831,
-1.2899515628814697,
... |
NewPlaylist gives a new playlist to use | [
-0.21881356835365295,
-0.8635656237602234,
0.07301593571901321,
0.8870712518692017,
-0.6025896072387695,
0.030812829732894897,
-0.4387386441230774,
-0.46991196274757385,
0.8650206923484802,
-0.2833525836467743,
-1.1249912977218628,
0.4683069884777069,
-0.5499635934829712,
0.408150881528854... |
GetApplicationGatewayProbe creates a new struct for use in unit tests. | [
1.2150017023086548,
0.003450494958087802,
0.34896284341812134,
-0.01184304989874363,
-0.37881365418434143,
-0.08380623161792755,
-0.5697831511497498,
-0.6875042915344238,
-0.009249723516404629,
0.45944124460220337,
0.33957743644714355,
0.8265723586082458,
-1.1793278455734253,
-0.4095368385... |
UnmarshalJSON unmarshals from json | [
-0.9870956540107727,
-0.17379134893417358,
0.36583462357521057,
-2.0680580139160156,
-0.9291465878486633,
-0.1285455971956253,
-0.44147202372550964,
0.016363391652703285,
0.7582879066467285,
-0.30159929394721985,
-0.27914300560951233,
0.12322133034467697,
1.0195348262786865,
0.141198113560... |
NewDecoder returns a new Decoder | [
0.13952361047267914,
-1.851575255393982,
0.1592586487531662,
0.31448331475257874,
-1.3365055322647095,
-0.49552738666534424,
-1.1418875455856323,
-0.02409905567765236,
-0.2424493432044983,
-2.0699634552001953,
-0.19279585778713226,
-0.5185232162475586,
0.28632277250289917,
0.88302612304687... |
checkPermission reports whether the current pod has permission to use the given verb (e.g. get, update, patch) on secretName. | [
-0.26128146052360535,
-0.06988978385925293,
0.6133629083633423,
1.1369071006774902,
-0.2154098004102707,
-0.11634838581085205,
-0.8543938398361206,
-0.033579327166080475,
0.310942679643631,
0.7141404151916504,
0.1662052571773529,
0.8581638336181641,
-1.678362488746643,
0.12625685334205627,... |
findKeyInKubeSecret inspects the kube secret secretName for a data field called "authkey", and returns its value if present. | [
-0.09417327493429184,
0.38527414202690125,
0.3042586147785187,
0.6763792634010315,
-0.023951491340994835,
-0.7418930530548096,
0.3277030289173126,
-0.8200701475143433,
-0.1413685530424118,
-0.002981516532599926,
0.5454846024513245,
0.6079072952270508,
-0.6156536340713501,
0.550385117530822... |
storeDeviceInfo writes deviceID into the "device_id" data field of the kube secret secretName. | [
0.16634593904018402,
-0.19553017616271973,
0.13020768761634827,
0.31565946340560913,
0.6020424365997314,
1.054223895072937,
-0.35399430990219116,
-0.4283033013343811,
0.4910517930984497,
-0.7437660098075867,
-0.4150058925151825,
0.6459105610847473,
-0.17841508984565735,
0.8020192980766296,... |
deleteAuthKey deletes the 'authkey' field of the given kube secret. Noop if there is no authkey in the secret. | [
0.12135040014982224,
-0.17064383625984192,
0.35196059942245483,
1.0793951749801636,
0.37890854477882385,
-0.5189564824104309,
-0.11926751583814621,
-0.556395947933197,
0.6717793345451355,
0.1606317162513733,
-0.12713609635829926,
1.0732247829437256,
-0.06464625149965286,
0.3963490128517151... |
doKubeRequest sends r to the kube apiserver. | [
-1.5492578744888306,
-0.461654931306839,
0.4651730954647064,
1.080816626548767,
0.9228208661079407,
-0.16150949895381927,
-0.2987320125102997,
-0.4318700432777405,
-0.3061550557613373,
0.4104020595550537,
0.16340775787830353,
0.6541743278503418,
-0.579260528087616,
0.342495858669281,
0.0... |
NewServer returns a functional Server. | [
-1.5529248714447021,
-1.1895642280578613,
0.20972195267677307,
0.8802764415740967,
-0.2707720100879669,
-0.72222501039505,
-0.42545586824417114,
-0.255853533744812,
0.48818546533584595,
-1.5362958908081055,
-0.949313759803772,
0.5071160197257996,
-0.4464685022830963,
0.024786025285720825,
... |
Run starts the HTTPS server exposing the Prometheus /metrics endpoint on port :8443. The server performs authn/authz as prescribed by | [
-0.2778521776199341,
-0.5875883102416992,
0.23047801852226257,
0.9800468683242798,
0.6576928496360779,
1.1260972023010254,
0.776657223701477,
-0.14418739080429077,
-0.02373719960451126,
-0.7160306572914124,
0.23437707126140594,
1.3218244314193726,
-0.21769046783447266,
0.025245176628232002... |
Paint satisfies the Painter interface. | [
0.18694201111793518,
0.349640429019928,
0.19044974446296692,
-0.3280043601989746,
0.05439842492341995,
1.2659741640090942,
0.2570780813694,
0.1256878823041916,
1.0062901973724365,
-1.1702771186828613,
-0.29939019680023193,
-0.15847323834896088,
-1.2286581993103027,
0.9197569489479065,
-1... |
StartNode returns a new Node given configuration and a list of raft peers. It appends a ConfChangeAddNode entry for each given peer to the initial log. | [
0.40297266840934753,
0.04249930381774902,
0.30099430680274963,
0.4119625985622406,
0.329364150762558,
-0.13291089236736298,
-0.2596244812011719,
1.1948434114456177,
-0.1464574784040451,
1.0818907022476196,
-0.046969782561063766,
1.3283846378326416,
-0.3179153800010681,
0.3886021673679352,
... |
RestartNode is similar to StartNode but does not take a list of peers. The current membership of the cluster will be restored from the Storage. If the caller has an existing state machine, pass in the last log index that has been applied to it; otherwise use zero. | [
-0.18389716744422913,
0.1594858020544052,
0.6396603584289551,
0.0005000724922865629,
0.1382235586643219,
-0.6020238399505615,
-0.19070951640605927,
0.5098250508308411,
0.14875589311122894,
-0.08444575220346451,
-0.05937173590064049,
1.1489841938018799,
-1.4691200256347656,
-1.3683817386627... |
Tick increments the internal logical clock for this Node. Election timeouts and heartbeat timeouts are in units of ticks. | [
0.10995852202177048,
1.1012890338897705,
0.16246990859508514,
-0.10878083109855652,
-0.0487709566950798,
0.5722055435180664,
0.29209572076797485,
-0.14508242905139923,
0.2652170658111572,
-0.090500608086586,
0.09935640543699265,
0.4852866232395172,
0.15796883404254913,
-0.5545353293418884,... |
OnlineListBakCache get online list bak cache. | [
-0.042944084852933884,
-0.240045428276062,
0.2175830751657486,
1.9469393491744995,
-0.45352980494499207,
-0.012276241555809975,
-1.0440564155578613,
0.9917753338813782,
0.16042645275592804,
0.2383614033460617,
-1.7477017641067505,
-0.2006659060716629,
-0.19628894329071045,
0.31232130527496... |
SetOnlineListBakCache set online list bak cache. | [
0.568300724029541,
-0.3871005177497864,
0.27735549211502075,
1.6358994245529175,
-0.25665462017059326,
0.49850496649742126,
-0.9492974281311035,
1.4708647727966309,
0.04640643298625946,
-0.14223192632198334,
-2.2515578269958496,
-0.4574773907661438,
0.0066106365993618965,
0.669003903865814... |
NewUserRepo Create's an instance of a User Repository | [
0.16282980144023895,
-0.09980220347642899,
0.27228695154190063,
0.4291211664676666,
-1.1290329694747925,
-0.37700793147087097,
0.15671227872371674,
0.25861886143684387,
0.43722763657569885,
-0.6839494109153748,
-0.9965309500694275,
-0.5979601144790649,
-0.3607725203037262,
-0.5317459702491... |
Insert .. Insert new User | [
0.17476479709148407,
1.0458910465240479,
0.3340841233730316,
2.088975429534912,
0.5888509750366211,
0.36313581466674805,
0.8177237510681152,
-0.02325723133981228,
-0.6928867101669312,
-0.6260297298431396,
-1.3865458965301514,
-0.9900425672531128,
-1.002414584159851,
0.046369634568691254,
... |
atomicSwapContract returns an output script that may be redeemed by one of 2 signature scripts: 1 0 | [
-0.7357545495033264,
-0.15304741263389587,
0.5455711483955383,
0.3596888780593872,
-0.4378715455532074,
-1.5178381204605103,
0.22017711400985718,
0.14068694412708282,
-0.13423772156238556,
0.1618867963552475,
0.4376797676086426,
0.554682731628418,
-0.37340790033340454,
-0.20171716809272766... |
BitDesc return bit desc. | [
0.8204919099807739,
0.6086426973342896,
0.48245084285736084,
-0.00004252791404724121,
0.06263340264558792,
0.741977334022522,
0.8390499353408813,
-0.983544111251831,
-0.5268727540969849,
-1.371145486831665,
0.3978116512298584,
1.7344303131103516,
0.6176799535751343,
0.43986135721206665,
... |
UpFrom get upfrom desc | [
-0.15897276997566223,
-0.5244717001914978,
0.5203426480293274,
-0.27296125888824463,
-0.695419192314148,
-0.5832549929618835,
-0.3727835714817047,
0.33443236351013184,
-0.16112901270389557,
-0.31691232323646545,
0.30941861867904663,
0.06627931445837021,
1.1269807815551758,
-0.3622022271156... |
open up the template and then sub variables in. Handlebar stuff. | [
0.11523360759019852,
0.3636072278022766,
0.26233693957328796,
1.5585627555847168,
-0.7049453258514404,
0.43247896432876587,
1.4681228399276733,
0.7946662306785583,
-0.6173079013824463,
-0.8365646600723267,
-0.34090670943260193,
-1.7129032611846924,
0.13691149652004242,
0.590718150138855,
... |
SetClock sets the clock used by util package. In general, no need to set it. It is usually used for testing. | [
0.16137316823005676,
0.8166555166244507,
0.5278515219688416,
0.20891587436199188,
0.5468786358833313,
0.4631558954715729,
1.3429197072982788,
0.14885404706001282,
0.45082277059555054,
-0.8618534803390503,
-0.49832630157470703,
0.7989604473114014,
0.6394920349121094,
0.6038994193077087,
-... |
CurrentClock returns the current clock used by util package. | [
-0.1875636875629425,
-0.5584115386009216,
0.4285967946052551,
0.13894757628440857,
0.42301446199417114,
0.044386640191078186,
1.4848580360412598,
0.195440411567688,
-0.11461318284273148,
-0.07354634255170822,
0.5613218545913696,
0.4248438775539398,
0.055911120027303696,
-0.4163895547389984... |
SetClock sets the ticker creator used by util package. In general, no need to set it. It is usually used for testing. | [
0.3251994252204895,
0.881162703037262,
0.5127425193786621,
0.32395413517951965,
0.379092276096344,
0.7516917586326599,
1.5971122980117798,
-0.43137645721435547,
-0.3515649735927582,
-1.3120644092559814,
-0.6546193361282349,
0.24426887929439545,
0.6626983284950256,
0.7821307182312012,
-1.... |
CurrentTickerCreator returns the current ticker creator used by util package. | [
0.16671085357666016,
-0.12961988151073456,
0.11864235997200012,
0.056875571608543396,
0.22656846046447754,
0.3143966794013977,
0.7768892049789429,
-0.7993685603141785,
-1.0620778799057007,
-1.2542966604232788,
0.6523158550262451,
-0.2686042785644531,
-0.05131569132208824,
0.273351520299911... |
FormatTimeMillis formats Unix timestamp (ms) to time string. | [
0.10122843086719513,
-0.5602688193321228,
0.3347075581550598,
0.19724294543266296,
-0.3772813379764557,
0.03704555332660675,
-1.9471218585968018,
-0.6370972394943237,
0.9491409063339233,
0.4434793293476105,
1.113687515258789,
-0.0900641605257988,
0.1499873697757721,
0.8841489553451538,
-... |
FormatDate formats Unix timestamp (ms) to date string | [
1.2069618701934814,
-0.47739025950431824,
0.5172102451324463,
0.13307927548885345,
-0.311719685792923,
0.19508880376815796,
-1.5620641708374023,
-0.4724581837654114,
1.2479842901229858,
-0.7111865282058716,
1.4104019403457642,
0.24535082280635834,
0.6863886117935181,
0.40271034836769104,
... |
Returns the current Unix timestamp in milliseconds. | [
0.0676141306757927,
-0.31647157669067383,
0.43095171451568604,
0.14395587146282196,
0.3354279696941376,
-0.6933602690696716,
-0.5373795032501221,
0.929347574710846,
0.8936293721199036,
-0.5998668670654297,
0.38493022322654724,
0.19669340550899506,
-0.3181487023830414,
0.022667592391371727,... |
Returns the current Unix timestamp in nanoseconds. | [
-0.07752152532339096,
0.2497299760580063,
0.12503622472286224,
0.24053233861923218,
0.22070883214473724,
-0.9193815588951111,
-0.727392315864563,
-0.14996857941150665,
-0.07160737365484238,
-0.29601138830184937,
-0.6224406361579895,
-0.02228964865207672,
0.6296080350875854,
-0.015441583469... |
Now returns the current local time. | [
0.6771347522735596,
-1.6342235803604126,
0.510755717754364,
0.25960755348205566,
-0.33802855014801025,
0.06953474879264832,
0.8974156379699707,
0.47231602668762207,
-0.5356576442718506,
0.32771968841552734,
-0.7647983431816101,
-0.3910488486289978,
-0.2787451148033142,
-0.2004355937242508,... |
Sleep pauses the current goroutine for at least the duration d. A negative or zero duration causes Sleep to return immediately. | [
-0.2615710496902466,
0.7432233095169067,
0.31054773926734924,
0.30003002285957336,
-0.5085780620574951,
0.9479085803031921,
0.22407451272010803,
-0.7108391523361206,
-0.12179604917764664,
-0.5280805230140686,
0.8383001685142517,
-0.08920150250196457,
-0.07548875361680984,
-0.41125494241714... |
Input: encoded = [3,1] Output: [1,2,3] Explanation: If perm = [1,2,3], then encoded = [1 XOR 2,2 XOR 3] = [3,1] | [
-0.35000714659690857,
0.5767489671707153,
0.5191254615783691,
1.335842490196228,
-0.34898611903190613,
0.0767144188284874,
0.32634222507476807,
0.6985673904418945,
1.0945689678192139,
0.35586094856262207,
-1.3221280574798584,
0.697605550289154,
-1.0389536619186401,
-0.7186760306358337,
0... |
RegisterRoutes installs UI HTTP routes. | [
-0.016061700880527496,
0.7212326526641846,
0.23999792337417603,
0.7443357706069946,
1.2630943059921265,
-0.07855430990457535,
-0.1171884834766388,
0.38480129837989807,
0.08301801234483719,
-0.4510686695575714,
-0.734045684337616,
-0.6200329661369324,
0.08995062857866287,
0.4934152066707611... |
prepareTemplates loads HTML page templates. | [
-0.5423717498779297,
0.5376765131950378,
0.22847537696361542,
0.434497594833374,
-0.19998803734779358,
-0.5914346575737,
-0.019117021933197975,
-0.5535140037536621,
0.9931125640869141,
0.7594159245491028,
-0.9953813552856445,
-1.4971832036972046,
0.3609602153301239,
0.5807462334632874,
-... |
checkAccess checks users are authorized to see the UI. Redirect anonymous users to the login page. | [
-0.9271082282066345,
-0.2326427549123764,
0.5050314664840698,
0.737747848033905,
-0.456396222114563,
0.6740344762802124,
0.9336637258529663,
0.4812784790992737,
0.5549063682556152,
-0.04039316624403,
1.6423063278198242,
0.7389487028121948,
0.6913182139396667,
0.34434327483177185,
0.44099... |
wrapErr is a handler wrapper that converts gRPC errors into HTML pages. | [
-0.7124189734458923,
-0.19730180501937866,
0.30133530497550964,
0.32966524362564087,
-1.2280583381652832,
0.8642697334289551,
-0.18301329016685486,
0.11710422486066818,
0.121890589594841,
-0.01498156413435936,
1.75507652759552,
-0.1385757327079773,
0.7323068976402283,
0.8153402209281921,
... |
replyErr renders an HTML page with an error message. | [
0.4620814919471741,
0.9199876189231873,
0.4065154790878296,
-0.4252443015575409,
-0.6829336285591125,
-0.18874616920948029,
-0.38634082674980164,
0.3599282205104828,
0.5370584726333618,
-0.3497288227081299,
1.6092609167099,
-0.26876088976860046,
-0.44826972484588623,
0.9409681558609009,
... |
New creates a new BGP MetalLB manager. It contains the MetalLB service IP controller, which contains the allocator. New requires access to a cache.Store associated with the service watcher. | [
0.4605375826358795,
-0.39412254095077515,
0.130018413066864,
0.5265709161758423,
-0.9576336741447449,
0.2844436764717102,
-0.7650306224822998,
-0.5106329917907715,
0.2483372986316681,
-0.3515610098838806,
0.6217909455299377,
0.8104113936424255,
-0.20174868404865265,
0.4694165289402008,
-... |
Logger returns the controller's logger. | [
0.5229785442352295,
-0.025074485689401627,
0.14005495607852936,
-0.3632495403289795,
0.23361387848854065,
-0.5054442286491394,
0.3846754729747772,
0.6238769292831421,
0.3577086925506592,
-1.4254746437072754,
0.22478492558002472,
-0.42769962549209595,
-0.36332258582115173,
1.084895610809326... |
BuildBasePlan creates a plan for installing the base building blocks for the node | [
0.12474150210618973,
-0.29912859201431274,
0.2644495368003845,
0.6176354885101318,
0.48577606678009033,
0.3148172199726105,
-0.30171746015548706,
0.1547221839427948,
-0.30755317211151123,
-0.06126653403043747,
-0.7090989351272583,
0.7535631656646729,
-0.9111135005950928,
0.1813496053218841... |
BuildConfigPlan creates a plan for handling the configuration files | [
-0.15267062187194824,
-0.2550525367259979,
0.05397879332304001,
0.8851056098937988,
0.11547022312879562,
0.4664873480796814,
0.7125296592712402,
1.0763664245605469,
-1.014800786972046,
-1.7060092687606812,
-1.0109449625015259,
-0.7663078308105469,
-0.025053681805729866,
0.24344167113304138... |
BuildConfigMapPlan creates a plan to handle config maps | [
-0.8670263886451721,
-0.7681738138198853,
0.06885569542646408,
1.1677552461624146,
-0.6402096152305603,
0.7172366380691528,
-0.0696597695350647,
0.9334335923194885,
0.07588186860084534,
-0.8447135090827942,
-0.7849113941192627,
-0.4891049265861511,
0.32210278511047363,
-0.01257826574146747... |
BuildCNIPlan creates a subplan to install the CNI plugin. | [
0.9359915852546692,
-0.29835912585258484,
0.2630048990249634,
1.0563784837722778,
-0.4666551649570465,
0.23612986505031586,
-0.23109960556030273,
0.3675214648246765,
0.4423556923866272,
-0.8553943634033203,
-1.679848551750183,
0.3024426996707916,
-0.7197249531745911,
-0.910997211933136,
... |
BuildCRIPlan creates a plan for installing a CRI. Currently, Docker is the only supported CRI | [
0.9254441857337952,
0.36552175879478455,
0.20983240008354187,
1.2109707593917847,
-0.03783193975687027,
0.1669798493385315,
-0.29289379715919495,
0.5345785617828369,
0.536033034324646,
-0.6254274845123291,
-0.42784857749938965,
0.5259582996368408,
-0.11235202848911285,
-0.28020578622817993... |
BinInstaller creates a function to install binaries based on package type and cluster flavors | [
-0.2131594717502594,
-0.6156459450721741,
0.3194192051887512,
1.4021116495132446,
0.17282576858997345,
-0.46187824010849,
0.14408130943775177,
-0.009154821746051311,
-0.40548521280288696,
-0.057083118706941605,
-0.2189515382051468,
-0.5142016410827637,
-0.7062422037124634,
0.54604858160018... |
BuildK8SPlan creates a plan for running kubernetes on a node | [
-0.22412799298763275,
-0.34554174542427063,
0.27058690786361694,
-0.0001320313022006303,
-0.681462824344635,
0.5608714818954468,
-1.2694255113601685,
0.4058937132358551,
0.7856251001358032,
-0.6651382446289062,
0.3745560348033905,
0.8066917061805725,
0.06581838428974152,
-0.404132723808288... |
BuildDisableSwapPlan turns off swap and removes swap entries from /etc/fstab so swap will remain disabled on reboot | [
-0.28598564863204956,
-1.0050283670425415,
0.2343173772096634,
1.2374447584152222,
-1.4688085317611694,
1.6768908500671387,
0.595510721206665,
1.445971131324768,
0.7628777027130127,
-1.8542473316192627,
-0.6166154742240906,
-0.5634757876396179,
-0.3268596827983856,
0.9960137605667114,
0.... |
BuildKubeadmPrejoinPlan creates a subplan to prepare for running kubeadm join. | [
-0.03847295790910721,
0.014992790296673775,
0.4043363034725189,
0.5492332577705383,
-1.153748631477356,
0.9034872055053711,
-0.48874855041503906,
-0.10543792694807053,
0.6579015851020813,
-0.1793995201587677,
0.19616545736789703,
1.1649765968322754,
-1.4012137651443481,
-0.3567531406879425... |
BuildSealedSecretPlan creates a subplan to install sealed secrets so we can check secrets into GitHub for GitOps | [
0.45768770575523376,
-0.27070003747940063,
0.25994330644607544,
0.640553891658783,
-0.3698619604110718,
1.3839668035507202,
0.05656507983803749,
0.4605223536491394,
1.1853225231170654,
-0.9216676950454712,
-0.8845593929290771,
0.8474656343460083,
-0.3750666379928589,
0.25613677501678467,
... |
NewMetricsRecorder initializes a new MetricsRecorder object that uses the given clock. | [
0.8202595710754395,
0.9415253400802612,
0.37913787364959717,
0.10272496938705444,
-0.4905965328216553,
-0.5449641942977905,
-0.06030746176838875,
-0.6855142116546631,
-0.633099377155304,
-0.6758763790130615,
-0.39319151639938354,
0.7594029307365417,
-0.6505664587020874,
1.0710841417312622,... |
AddNodeRegistry adds a nodelevel registry to this recorder. Each nodelevel registry has a 'prefix format' which is used to add a prefix to the name of all metrics in that registry while recording (see the metric.Registry object for more information on prefix format strings). | [
-0.24372872710227966,
1.015487790107727,
0.6417912244796753,
-0.5252012610435486,
0.21422207355499268,
0.11474522948265076,
-0.013848796486854553,
-0.607612133026123,
0.28399258852005005,
-0.5269018411636353,
-0.1430346518754959,
1.075696587562561,
-0.10990318655967712,
0.8605121970176697,... |
AddStore adds the Registry from the provided store as a storelevel registry in this recoder. A reference to the store is kept for the purpose of gathering some additional information which is present in store status summaries. Stores should only be added to the registry after they have been started. TODO(mrtracy): Stor... | [
-0.5871233344078064,
0.6172631978988647,
0.49895116686820984,
0.09170816093683243,
-0.5029474496841431,
0.35164186358451843,
0.5989876389503479,
-0.1632007360458374,
1.2409907579421997,
-0.9741984009742737,
-0.07485301792621613,
0.5049772262573242,
-0.6118714213371277,
1.0031670331954956,
... |
NodeStarted should be called on the recorder once the associated node has received its Node ID; this indicates that it is appropriate to begin recording statistics for this node. | [
1.0786789655685425,
0.2059289813041687,
0.5092453360557556,
-0.796666145324707,
1.0104997158050537,
-0.08666075021028519,
0.022198131307959557,
0.16546279191970825,
0.43263930082321167,
-0.4596050977706909,
-0.7438269257545471,
1.6459938287734985,
1.359973669052124,
0.43758681416511536,
... |
MarshalJSON returns an appropriate JSON representation of the current values of the metrics being tracked by this recorder. | [
-0.0706147626042366,
-0.4944796562194824,
0.42203181982040405,
0.036061324179172516,
-0.23036496341228485,
0.454689085483551,
0.35127583146095276,
-0.4823256731033325,
-0.285370796918869,
-0.05548504367470741,
0.16779646277427673,
0.882095992565155,
0.23154056072235107,
0.9741172790527344,... |
GetTimeSeriesData serializes registered metrics for consumption by CockroachDB's time series system. | [
-0.10064536333084106,
0.5610568523406982,
0.026021946221590042,
0.32553571462631226,
0.6557801365852356,
0.5342857241630554,
0.3581876754760742,
-1.2517814636230469,
-0.8653928637504578,
0.6092007160186768,
-0.1745142936706543,
0.5371679663658142,
0.19412486255168915,
0.10526500642299652,
... |
GetStatusSummaries returns a status summary messages for the node, along with a status summary for every individual store within the node. TODO(mrtracy): The status summaries deserve a nearterm, significant overhaul. Their primary usage is as an indicator of the most recent metrics of a node or store they are essential... | [
-0.414150208234787,
1.028285264968872,
0.479107528924942,
0.1327221840620041,
0.11071207374334335,
-0.2288852035999298,
-0.07875896245241165,
-0.5809826254844666,
0.2873947024345398,
-0.9546011686325073,
0.06173357740044594,
0.4654821455478668,
0.6397616267204285,
0.27727052569389343,
-0... |
NewVectorMapFont constructs an IVectorFont object | [
0.8132198452949524,
-1.0037914514541626,
0.1460515707731247,
0.7167739272117615,
-0.13503746688365936,
-0.7130048274993896,
-0.13752040266990662,
-0.18003268539905548,
0.5601484179496765,
0.2654993534088135,
-0.9155316352844238,
-1.0864635705947876,
-0.1292826384305954,
-0.7607786059379578... |
Create a square matrix with the specified elements on the main diagonal, and zero elsewhere. | [
-0.4593193829059601,
-0.5034574270248413,
0.40127134323120117,
1.0081093311309814,
0.3655913770198822,
-0.18600168824195862,
-0.033403411507606506,
0.018870385363698006,
1.5230458974838257,
-0.9398694038391113,
-0.005734548904001713,
-0.17984157800674438,
-0.1537398248910904,
0.41549512743... |
Create a square sparse identity matrix of the specified dimensionality. | [
-0.41342291235923767,
-0.250655859708786,
0.45610031485557556,
0.8661369681358337,
0.22882452607154846,
-0.028282776474952698,
-0.6781879663467407,
-0.3744855523109436,
1.0389947891235352,
-0.6154202818870544,
-0.23118440806865692,
0.3283030092716217,
0.04441682994365692,
-0.10257985442876... |
Create a matrix from literal data | [
0.5236374139785767,
-1.2360140085220337,
0.3707880973815918,
-1.0000686645507812,
-0.24535220861434937,
-0.3347783088684082,
-1.1972072124481201,
0.8785182237625122,
-0.2312006950378418,
-0.8486500978469849,
0.316398561000824,
-0.08713283389806747,
-0.08010810613632202,
-0.9952620267868042... |
Create a matrix from literal data and the provided shape | [
1.0545493364334106,
-1.1290016174316406,
0.24847058951854706,
-1.33151376247406,
-0.25112184882164,
-0.17483530938625336,
-1.862879991531372,
1.0920828580856323,
-0.6158353686332703,
-0.2889251410961151,
0.08611606806516647,
0.45809775590896606,
0.7215387225151062,
-0.7520505785942078,
-... |
Create a sparse matrix of the specified dimensionality. This matrix will be stored in coordinate format: each entry is stored as a (x, y, value) triple. The first len(array) elements of the matrix will be initialized to the corresponding nonzero values of array. | [
-0.3011914789676666,
0.08364533632993698,
0.6982306241989136,
0.5811904072761536,
0.0893111601471901,
0.10434091091156006,
-0.29827815294265747,
-0.15701934695243835,
0.07461677491664886,
-0.7834886908531189,
-0.049437135457992554,
0.3455677628517151,
0.3523187041282654,
-0.025738049298524... |
Create a sparse matrix of the specified dimensionality. This matrix will be stored in diagonal format: the main diagonal is stored as a []float64, and all offdiagonal values are zero. The matrix is initialized from diag, or to all zeros. | [
-0.1979210525751114,
0.37162336707115173,
0.44356438517570496,
0.34755852818489075,
-0.034238334745168686,
-0.32364562153816223,
-0.03439439460635185,
0.2976728081703186,
0.8451715111732483,
-1.1850255727767944,
-0.04998873546719551,
0.37370920181274414,
-0.01871059089899063,
0.68465548753... |
Create a sparse coo matrix, randomly populated so that approximately density rows cols cells are filled with random values uniformly distributed in [0,1). Note that if density is close to 1, this function may be extremely slow. | [
-0.03088032267987728,
0.14087143540382385,
0.34703245759010315,
0.3105372190475464,
0.0035901828669011593,
-0.21269546449184418,
1.1126224994659424,
-0.17921686172485352,
0.3301315903663635,
-0.30408409237861633,
0.8029898405075073,
-0.24813878536224365,
0.5343390107154846,
-0.138682484626... |
Create a sparse coo matrix, randomly populated so that approximately density rows cols cells are filled with random values in the range [math.MaxFloat64, +math.MaxFloat64] distributed on the standard Normal distribution. Note that if density is close to 1, this function may be extremely slow. | [
0.24451617896556854,
0.363435834646225,
0.24662454426288605,
0.8006885051727295,
-0.30143651366233826,
-0.12893781065940857,
1.0482946634292603,
0.031230447813868523,
0.10981522500514984,
-0.1913563311100006,
0.8724305629730225,
-0.16230405867099762,
0.3266468644142151,
-0.3523084819316864... |
Convert our matrix type to mat64's matrix type | [
-0.889123797416687,
-1.1601473093032837,
0.47249144315719604,
0.350104957818985,
-0.03733709454536438,
-0.2348087579011917,
-0.1378549337387085,
0.18418359756469727,
1.381517767906189,
-0.05125221982598305,
0.5167562365531921,
0.7863627672195435,
-0.07591599225997925,
0.5829855799674988,
... |
Convert mat64's matrix type to our matrix type | [
-0.6493498682975769,
-0.7752711176872253,
0.5226462483406067,
0.25623345375061035,
-0.4472801983356476,
-0.24408984184265137,
0.00016483936633449048,
-0.14424267411231995,
1.075232982635498,
0.32902657985687256,
0.4092617928981781,
0.8950753808021545,
-0.41405534744262695,
0.31325027346611... |
Get the matrix inverse | [
-0.8033825159072876,
-0.01627577468752861,
0.31343546509742737,
0.4013929069042206,
0.07058753073215485,
-0.1817246526479721,
-0.03672429174184799,
1.185256004333496,
-1.1267595291137695,
-0.7292993068695068,
-0.30888432264328003,
-0.2388227880001068,
-1.2470453977584839,
-1.38509237766265... |
Solve for x, where ax = b. | [
0.3614971935749054,
0.7210221886634827,
0.13169077038764954,
0.4168523848056793,
0.9805122017860413,
-0.3547915518283844,
-0.8418401479721069,
-0.9782392978668213,
-0.15228359401226044,
0.21156646311283112,
-0.06915846467018127,
0.4945995509624481,
0.9458675384521484,
-1.3907803297042847,
... |
Get the matrix norm of the specified ordinality (1, 2, infinity, ...) | [
-0.7464631795883179,
-0.5826734900474548,
0.41938409209251404,
0.9372875094413757,
0.3012334704399109,
-1.2688959836959839,
0.33626866340637207,
0.09712084382772446,
0.4344807267189026,
-0.40873000025749207,
-0.5736080408096313,
0.08506768941879272,
0.25149664282798767,
-0.4834275245666504... |
Solve is an alias for LDivide | [
0.40831783413887024,
0.6391826868057251,
0.5044481754302979,
0.47111913561820984,
0.7268989086151123,
0.20026248693466187,
-0.6474120020866394,
-1.2896422147750854,
-0.06943828612565994,
-1.489557147026062,
-0.04141616076231003,
-0.6352841854095459,
0.19177281856536865,
-0.2065510153770446... |
Migrate adds fields 'TokenKey' and 'TokenSecret' to support Token Authentication of a user. | [
-0.72040855884552,
0.881881058216095,
0.5066278576850891,
0.670965313911438,
-0.09662751853466034,
0.0029953636694699526,
-1.3166824579238892,
-0.846025824546814,
0.2614799439907074,
0.4242406487464905,
-2.0516481399536133,
-0.35175183415412903,
0.6071862578392029,
-0.8329930305480957,
-... |
NewCosmosSub initializes a new CosmosSub | [
0.398972749710083,
-0.3855118155479431,
0.32571136951446533,
1.5204968452453613,
-0.8823518753051758,
0.34034663438796997,
-0.6241207122802734,
0.2082195281982422,
-0.6633344888687134,
-1.5019259452819824,
-0.8929345607757568,
0.27030259370803833,
-0.20968282222747803,
0.2501484155654907,
... |
Start a Cosmos chain subscription | [
0.8898804783821106,
-0.45850616693496704,
-0.03961358591914177,
1.7987778186798096,
0.2994442284107208,
-1.0069228410720825,
-1.354323148727417,
0.535254180431366,
0.47329041361808777,
-1.4482675790786743,
-0.48295241594314575,
1.4128082990646362,
0.19589917361736298,
-0.41383543610572815,... |
GetAllProphecyClaim get all prophecy claims | [
0.552192747592926,
-0.7003480195999146,
0.3135239779949188,
0.7214409112930298,
-0.2323034107685089,
-0.18297560513019562,
-1.5355077981948853,
1.1734306812286377,
-0.09805779159069061,
-0.32639050483703613,
0.7785642743110657,
0.3087511360645294,
0.0522579550743103,
-0.2289612740278244,
... |
MyDecode decode data in ProphecyClaim transaction | [
0.29366710782051086,
-0.7244406938552856,
0.279917448759079,
-1.286584734916687,
-0.5919665694236755,
-1.2443313598632812,
-1.7625221014022827,
0.8501954078674316,
0.40403667092323303,
-0.8417353630065918,
0.2765025496482849,
-0.0008905559661798179,
-0.4480717182159424,
-1.4878677129745483... |
MessageProcessed check if cosmogs message already processed | [
0.5668691396713257,
-0.2530447840690613,
0.5915924310684204,
-0.5563980937004089,
1.1018065214157104,
-0.6830540895462036,
-0.30513399839401245,
-0.37384849786758423,
-0.7280089855194092,
0.49979862570762634,
0.017842520028352737,
-0.3121519386768341,
-0.47494086623191833,
1.21320426464080... |
Replay the missed events | [
0.3183445930480957,
-0.0936206579208374,
0.23060467839241028,
0.24041134119033813,
-0.07403327524662018,
0.4148608148097992,
0.8989643454551697,
-0.0846184566617012,
1.2214505672454834,
0.2543957829475403,
-1.1065089702606201,
0.3374083340167999,
0.28536611795425415,
-1.3539645671844482,
... |
getOracleClaimType sets the OracleClaim's claim type based upon the witnessed event type | [
1.9091800451278687,
0.09135829657316208,
0.4444083273410797,
-0.7789174914360046,
1.211089015007019,
0.44452279806137085,
-0.2657338082790375,
-0.10374259948730469,
1.6227738857269287,
0.1392817497253418,
0.6744527220726013,
1.9233145713806152,
0.5509851574897766,
0.1405036896467209,
0.6... |
Parses event data from the msg, event, builds a new ProphecyClaim, and relays it to Ethereum | [
0.6481056213378906,
0.09942154586315155,
0.3078136444091797,
0.20469658076763153,
0.19250020384788513,
0.41157031059265137,
-0.8403987884521484,
1.515109896659851,
0.7474055290222168,
0.051972150802612305,
-0.12070372700691223,
0.6780495643615723,
-0.5233910083770752,
-0.6594067811965942,
... |
ForwardProbs computes, for each timestep i, for each state y, the joint probability P(x,y) where x is the first (i+1) observations. Probabilities are experssed in the log domain. States with 0 probability are omitted. The caller should read through the entire channel, which is fed len(obs) items. The caller may modify ... | [
-0.5422028303146362,
-0.06629283726215363,
0.6357843279838562,
-0.495006799697876,
-0.28706642985343933,
0.16277925670146942,
-0.11743511259555817,
-0.16407406330108643,
0.011365240439772606,
-0.30682387948036194,
0.6717069745063782,
-0.614179790019989,
0.38632428646087646,
-0.141353324055... |
BackwardProbs computes, for each timestep i, the probability of the observations after timestep i given each hidden state at timestep i. The timesteps in the channel are in reverse order, starting at the last timestep going backward. See ForwardProbs for more on how to use the resulting channel. | [
-0.03066161833703518,
0.019609270617365837,
0.7773571610450745,
-0.7171951532363892,
0.5850176215171814,
0.3242724537849426,
-0.3144465386867523,
-0.6724238991737366,
-0.6638234853744507,
-0.11727666109800339,
0.4653690755367279,
0.4801293611526489,
-0.28063201904296875,
-0.290081858634948... |
LogLikelihood computes the loglikelihood of the observation sequence. It is faster than creating a new ForwardBackward and calling LogLikelihood on the result. | [
0.20680344104766846,
0.4468994736671448,
0.4839473366737366,
-0.30199623107910156,
-0.4997202157974243,
0.028355546295642853,
-0.37910017371177673,
0.05900285020470619,
0.13055579364299774,
-0.02335686795413494,
-0.4296296536922455,
0.1149994507431984,
0.30715587735176086,
0.04475886374711... |
NewForwardBackward creates a Smoother that performs hidden state inference given the HMM and the observations. | [
1.0100125074386597,
0.2132846713066101,
0.5280358791351318,
0.24687054753303528,
-0.07732049375772476,
0.6656543016433716,
-0.04858638718724251,
-0.27804747223854065,
-1.2529345750808716,
-0.7619737982749939,
0.6343442797660828,
0.46870100498199463,
0.10820266604423523,
1.1784589290618896,... |
LogLikelihood returns the loglikelihood of the output sequence. | [
-0.1554034948348999,
-1.4984564781188965,
0.6181044578552246,
-0.3109259307384491,
-0.8931373953819275,
0.0734170600771904,
-0.34306883811950684,
-0.4464760720729828,
0.5023325085639954,
-0.09780305624008179,
-1.0361714363098145,
-0.5929062366485596,
0.1359131932258606,
-0.3801092207431793... |
Dist returns the distribution of the hidden state at time t. Each state is mapped to its log probability. States with 0 probability are omitted. | [
-0.10777664184570312,
-0.7077803611755371,
0.3576171398162842,
-0.7766570448875427,
-0.7553350329399109,
0.7078810930252075,
-0.6517503261566162,
0.029338492080569267,
0.4339861273765564,
0.40358108282089233,
-0.9338380098342896,
-0.09239713102579117,
0.8741897940635681,
-0.262657821178436... |
CondDist returns the conditional distribution of the hidden state at time t, given the all possible hidden states at time t1. The result maps states at t1 to distributions over states at time t. If t is equal to the length of the original sequence, then the state after the final state is inferred. The solution in this ... | [
-0.06943732500076294,
-0.6235455274581909,
0.6560106873512268,
-0.19431322813034058,
-0.8887120485305786,
0.5904344320297241,
0.1250414103269577,
0.7394379377365112,
-0.10965359956026077,
0.5512131452560425,
-0.5214882493019104,
-0.07893028855323792,
0.5072424411773682,
0.32829099893569946... |
fastCondDist is like CondDist, but it returns a more efficient representation of the resulting distribution. In particular, each fromstate index is connected to a potentially nil fastStateMap from tostates to probabilities. | [
-0.21501435339450836,
-0.7970716953277588,
0.3886873424053192,
0.04221872612833977,
-0.7365601062774658,
-0.7115400433540344,
0.09993930906057358,
0.4539700448513031,
0.40832197666168213,
-0.34630855917930603,
0.30246201157569885,
0.0467575341463089,
0.606388509273529,
0.03574756532907486,... |
ReadPipedInput returns the slice of bytes piped into this command, or else an empty byte slice (with nil error). | [
-0.8557450771331787,
0.05346531420946121,
0.9033153057098389,
0.23339024186134338,
-0.09601657837629318,
0.34145820140838623,
-0.042338453233242035,
-0.24821284413337708,
-0.3510286211967468,
-0.3371693193912506,
0.2974439561367035,
0.672082245349884,
-0.8189206719398499,
-0.88682872056961... |
ReadString prompts the user for a string. | [
-0.20709356665611267,
-0.29934191703796387,
0.3847498595714569,
0.5480130910873413,
-0.48327064514160156,
0.5698748826980591,
0.13759392499923706,
-0.8175439238548279,
-0.10549181699752808,
-0.9379428029060364,
1.2446757555007935,
0.7727581858634949,
0.10576576739549637,
-1.942306518554687... |
ReadPassword allows the user to input a string without echoing into the shell. | [
-0.11569420248270035,
-0.6413471698760986,
0.5661131739616394,
0.503359854221344,
-1.073011875152588,
1.8372621536254883,
-0.0834808349609375,
-0.19477629661560059,
-0.47613951563835144,
-0.42308926582336426,
0.09309583902359009,
0.4588065445423126,
-0.5849066972732544,
-0.5657083988189697... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.