text stringlengths 7 2.39k | embedding listlengths 768 768 |
|---|---|
Mkdir attempts to create the directory specified by pathname | [
-0.26230672001838684,
0.6937817931175232,
0.13138018548488617,
0.651199460029602,
0.17273351550102234,
0.6157416701316833,
0.5014808177947998,
-0.2766524851322174,
-0.5464650392532349,
-0.547248899936676,
0.7133795022964478,
-0.9035241007804871,
-0.3082517087459564,
0.05120590329170227,
... |
Rmdir removes empty directory | [
0.11398258060216904,
0.27542272210121155,
0.3433988094329834,
-0.008816689252853394,
-0.31070730090141296,
0.42628213763237,
-0.5496248602867126,
0.1624489426612854,
0.9548766016960144,
-0.8677459955215454,
-0.043051429092884064,
-0.3777114748954773,
-0.22955040633678436,
1.353156566619873... |
Symlink creates a symbolic link | [
0.8298481702804565,
0.30476078391075134,
0.01893456280231476,
0.047763124108314514,
0.4079423248767853,
-0.37103885412216187,
0.2565097212791443,
1.2794289588928223,
0.7847365140914917,
-0.7936913371086121,
-0.8490623235702515,
0.4793325960636139,
0.5049355030059814,
-0.4296863079071045,
... |
Link create a hard link | [
0.5513930320739746,
0.9212920069694519,
0.18691930174827576,
1.3369994163513184,
1.937720537185669,
0.44909200072288513,
0.32769155502319336,
0.605370044708252,
0.5670905709266663,
-1.5328510999679565,
-0.2037772238254547,
0.011541414074599743,
-0.651922345161438,
0.11850788444280624,
-0... |
Chmod changes file mode | [
0.6471068859100342,
-0.6163414716720581,
0.24820947647094727,
0.8538805842399597,
0.14803645014762878,
1.131758689880371,
0.15698567032814026,
0.8437758684158325,
-0.9506770372390747,
0.01090655755251646,
-0.016506165266036987,
0.5711919069290161,
0.15255676209926605,
-0.08047188818454742,... |
Chown changes file owner and group | [
0.19581982493400574,
-1.8163877725601196,
0.347394198179245,
1.544787049293518,
-0.5814001560211182,
-0.494819313287735,
1.0093423128128052,
0.5463392734527588,
-1.0074162483215332,
-0.7907688021659851,
-0.30343660712242126,
1.0347588062286377,
1.2413320541381836,
-0.16065016388893127,
1... |
IsFile tells whether the filename is a regular file | [
0.011576755903661251,
0.05630861222743988,
0.4756501317024231,
1.3768250942230225,
0.4145866334438324,
0.2593480050563812,
0.4557079076766968,
0.5925112962722778,
0.5262879133224487,
-1.1515041589736938,
-0.057317595928907394,
-0.4876331686973572,
-1.0532443523406982,
-0.47980910539627075,... |
IsDir tells whether the filename is a directory | [
0.05085161700844765,
-0.4415367841720581,
0.5476901531219482,
1.7078371047973633,
-0.12093798071146011,
0.4350077509880066,
0.7972173094749451,
0.7416093945503235,
0.48569393157958984,
-0.872948944568634,
0.36584708094596863,
-0.03558546304702759,
-0.2225038856267929,
1.0506762266159058,
... |
IsLink tells whether the filename is a symbolic link | [
0.1558072865009308,
-0.36826586723327637,
0.2855384945869446,
1.3289072513580322,
0.8073066473007202,
-0.2686634659767151,
0.54559326171875,
0.5802375078201294,
1.2335768938064575,
-0.2771143615245819,
-0.42993053793907166,
0.7722415924072266,
-0.16006045043468475,
0.3894526958465576,
-1... |
Copy copies the src file to dst, any existing file will be overwritten and will not copy file attributes | [
-0.4713188707828522,
-0.6433196663856506,
0.574313223361969,
0.5663951635360718,
-0.842340886592865,
1.5188167095184326,
0.34718942642211914,
0.4595465064048767,
-1.0437480211257935,
0.20066259801387787,
-0.13619796931743622,
-0.4354380667209625,
0.7797761559486389,
0.21546608209609985,
... |
FileExists checks whether a file or directory exists | [
-0.7196275591850281,
-0.5820128917694092,
0.550984799861908,
0.5429021716117859,
1.671529769897461,
0.4435736835002899,
-1.0946825742721558,
0.8976850509643555,
-0.4615008533000946,
-0.605783998966217,
0.6883090734481812,
-0.6551113724708557,
1.5954968929290771,
0.2994826138019562,
-2.01... |
FileSize gets file size | [
0.6877694129943848,
-0.37651684880256653,
0.31920289993286133,
0.27493804693222046,
0.61797034740448,
-0.569525420665741,
0.46048402786254883,
0.5474725961685181,
-1.2021912336349487,
-0.8225752115249634,
0.5442946553230286,
-0.7308441400527954,
0.14197348058223724,
0.1458643227815628,
-... |
Rename renames a file or directory | [
-0.4765521287918091,
-0.8561018109321594,
0.6218686699867249,
0.6815962195396423,
-0.7996829152107239,
-1.043630838394165,
-0.4155048727989197,
0.679510235786438,
-0.14655455946922302,
-0.2598276138305664,
0.7968549132347107,
0.7083844542503357,
0.9421666264533997,
-0.3250609040260315,
-... |
FilePutContents writes data to a file | [
-0.9781373143196106,
-0.685126006603241,
0.288713276386261,
-0.7128196358680725,
-0.09150024503469467,
0.5670557618141174,
-0.042539652436971664,
0.0866018533706665,
-1.5535519123077393,
-0.036222852766513824,
0.07989463955163956,
-1.6181223392486572,
0.3527081310749054,
-1.273217082023620... |
FileGetContents reads entire file into a string | [
0.1287972778081894,
-1.2312169075012207,
0.48318156599998474,
-0.16328303515911102,
0.19566591084003448,
-0.5588025450706482,
-0.683907151222229,
-0.5304304361343384,
-1.2113637924194336,
-0.7267826795578003,
1.4024368524551392,
-1.3634576797485352,
0.4116562306880951,
-1.1450636386871338,... |
XXX_OneofFuncs is for the internal use of the proto package. | [
-0.17013224959373474,
1.076125144958496,
0.2091524749994278,
-0.6182060241699219,
0.6224390864372253,
-0.8975561261177063,
0.786903440952301,
-0.6365672945976257,
0.7954606413841248,
-1.0330036878585815,
0.006769562605768442,
-0.33912980556488037,
-0.4915689527988434,
0.021061627194285393,... |
XXX_OneofFuncs is for the internal use of the proto package. | [
-0.17013224959373474,
1.076125144958496,
0.2091524749994278,
-0.6182060241699219,
0.6224390864372253,
-0.8975561261177063,
0.786903440952301,
-0.6365672945976257,
0.7954606413841248,
-1.0330036878585815,
0.006769562605768442,
-0.33912980556488037,
-0.4915689527988434,
0.021061627194285393,... |
GetSQLVNetRule returns a VNet rule | [
1.1548136472702026,
0.44827908277511597,
-0.06588533520698547,
-0.6103659868240356,
0.5173767805099487,
0.29224008321762085,
-2.468444585800171,
-0.44283732771873474,
0.6915976405143738,
0.4054597318172455,
1.0231817960739136,
0.5015302896499634,
0.046761952340602875,
-0.673314094543457,
... |
DeleteSQLVNetRule deletes a VNet rule | [
1.0750606060028076,
0.32462581992149353,
0.19818946719169617,
-0.5542746186256409,
0.47243696451187134,
0.23792359232902527,
-2.2335023880004883,
0.11149344593286514,
0.6417309045791626,
1.2301592826843262,
0.6491776704788208,
0.2564733326435089,
-0.06564155220985413,
0.2959030866622925,
... |
CreateOrUpdateSQLVNetRule creates or updates a VNet rule based on code from: | [
0.2026441991329193,
0.3618902862071991,
0.21113799512386322,
-0.5463551878929138,
0.6934588551521301,
0.11727165430784225,
-1.6431059837341309,
-0.3127269446849823,
0.8150817155838013,
1.1025595664978027,
0.454355388879776,
-0.8342739939689636,
0.023576769977808,
0.09208306670188904,
-0.... |
Validate validates this y b p success | [
0.9688971042633057,
0.3232628107070923,
0.42766180634498596,
1.887533187866211,
0.6227243542671204,
1.0999174118041992,
0.6630733609199524,
-0.6732567548751831,
0.5853406190872192,
-0.5591297745704651,
-0.6365695595741272,
-0.050487007945775986,
-0.36932939291000366,
-0.13624602556228638,
... |
ContextValidate validate this y b p success based on the context it is used | [
0.9318367838859558,
-0.07944126427173615,
0.6174478530883789,
1.5860042572021484,
0.40050163865089417,
1.391871452331543,
0.6257370114326477,
-0.5530579686164856,
1.1059350967407227,
0.07427565008401871,
-0.02715080976486206,
0.4458922743797302,
-0.6129633188247681,
0.024859407916665077,
... |
Manage datasources deletion operations : clean index tables | [
0.6411364674568176,
0.3372316360473633,
0.12501293420791626,
-0.3851813077926636,
-0.5361984372138977,
-0.9083626866340637,
0.9092646241188049,
0.8532458543777466,
1.1171022653579712,
0.05612749606370926,
-0.5036317706108093,
-0.319193571805954,
0.2054567039012909,
-1.30199134349823,
-0.... |
TODO: Move this test to the `system` contract.. and take out `NewAccount` from this package. | [
0.8834139108657837,
-0.14702770113945007,
0.35336363315582275,
1.2584246397018433,
0.7237650752067566,
-0.33446067571640015,
0.9302865266799927,
0.0866498127579689,
1.8679832220077515,
-0.3124476969242096,
-0.1430782824754715,
0.6704615950584412,
0.3144405782222748,
-0.16007786989212036,
... |
FPDFPage_Flatten makes annotations and form fields become part of the page contents itself. | [
-0.13564695417881012,
0.1724267303943634,
0.40631088614463806,
-0.5573615431785583,
-0.036420732736587524,
0.3744871914386749,
0.636594295501709,
-0.5978848934173584,
-0.05667482316493988,
-1.0955909490585327,
0.6022048592567444,
-0.7669667601585388,
-0.5674993395805359,
0.2478637546300888... |
newACLFilter constructs a new aclFilter. | [
1.0445818901062012,
-0.362433522939682,
-0.07924062013626099,
0.3828565180301666,
-1.3509820699691772,
-0.6341813206672668,
-0.11301667988300323,
-0.326534241437912,
0.05967094004154205,
-0.8339071869850159,
0.10150466859340668,
0.7162913084030151,
0.3685060739517212,
0.6427043080329895,
... |
allowNode is used to determine if a node is accessible for an ACL. | [
0.47917962074279785,
0.31385529041290283,
0.5156167149543762,
-0.6065829396247864,
-1.5942710638046265,
0.7039937973022461,
0.016467256471514702,
0.4642637073993683,
-0.22770509123802185,
0.5623154640197754,
1.3252359628677368,
1.3307944536209106,
0.34862545132637024,
-0.9135177731513977,
... |
allowService is used to determine if a service is accessible for an ACL. | [
0.5671946406364441,
-0.23247899115085602,
0.4116688668727875,
-0.00568962749093771,
-1.8778386116027832,
0.9336439967155457,
-0.21101951599121094,
-0.5871050953865051,
-0.21885797381401062,
0.18900465965270996,
1.5683926343917847,
1.1125969886779785,
0.061732955276966095,
0.103096127510070... |
allowSession is used to determine if a session for a node is accessible for an ACL. | [
0.11730485409498215,
-0.08796121925115585,
0.39967116713523865,
-0.5606323480606079,
-1.1261831521987915,
0.3493178188800812,
0.15269947052001953,
-0.7235649228096008,
0.37818580865859985,
0.8078846335411072,
1.1248985528945923,
1.3043814897537231,
0.730869472026825,
-1.3148679733276367,
... |
filterHealthChecks is used to filter a set of health checks down based on the configured ACL rules for a token. | [
1.6700234413146973,
-0.07509630918502808,
0.19024020433425903,
0.8720943331718445,
0.014404025860130787,
0.28200212121009827,
0.23942284286022186,
-0.5797498822212219,
-0.347428560256958,
-0.9783020615577698,
1.7753645181655884,
0.9328137040138245,
-0.1379433125257492,
-0.5190700888633728,... |
filterServices is used to filter a set of services based on ACLs. | [
0.212092787027359,
0.48538005352020264,
0.34782055020332336,
0.36664605140686035,
-1.003750205039978,
-0.5383849740028381,
0.12146453559398651,
-1.0645413398742676,
0.2694796919822693,
-0.22128179669380188,
1.6707916259765625,
0.4241810739040375,
0.11369913816452026,
-0.23343998193740845,
... |
filterServiceNodes is used to filter a set of nodes for a given service based on the configured ACL rules. | [
0.010857335291802883,
0.5148019790649414,
0.2784161865711212,
0.1758735626935959,
-0.724689781665802,
-0.5466788411140442,
0.1341518610715866,
-0.003913884051144123,
-0.49947020411491394,
0.853545069694519,
1.124963402748108,
1.5737367868423462,
0.23003020882606506,
-0.42550212144851685,
... |
filterNodeServices is used to filter services on a given node base on ACLs. | [
0.18815362453460693,
0.45207396149635315,
0.3679181933403015,
-0.1921183168888092,
-0.8715928196907043,
-0.5786952376365662,
0.061429888010025024,
-1.2922862768173218,
0.34397783875465393,
-0.3023289740085602,
1.4703937768936157,
0.9579208493232727,
0.15528054535388947,
-0.243913933634758,... |
filterCheckServiceNodes is used to filter nodes based on ACL rules. | [
0.7864359021186829,
0.24638673663139343,
0.3560481071472168,
1.058036208152771,
-0.16342945396900177,
-0.2652665674686432,
0.7821365594863892,
-0.1216558888554573,
-0.14059795439243317,
0.6259253621101379,
0.9745769500732422,
1.0615274906158447,
0.3921258747577667,
-0.1472674012184143,
-... |
filterSessions is used to filter a set of sessions based on ACLs. | [
0.6001054644584656,
-0.5672671794891357,
0.4105571210384369,
0.9109832048416138,
-0.8552756905555725,
-0.6165416240692139,
0.614665150642395,
-1.3570010662078857,
0.9110151529312134,
1.1115964651107788,
1.168235421180725,
0.7144134640693665,
0.3889796733856201,
-1.0183589458465576,
-0.01... |
filterCoordinates is used to filter nodes in a coordinate dump based on ACL rules. | [
-0.02143404446542263,
-0.14209097623825073,
0.43483102321624756,
-0.49575304985046387,
-1.075798749923706,
0.2932083308696747,
0.7269638776779175,
0.24457858502864838,
-0.37593692541122437,
-0.11284389346837997,
1.001480221748352,
1.1834275722503662,
0.3137906789779663,
-1.3126765489578247... |
filterIntentions is used to filter intentions based on ACL rules. We prune entries the user doesn't have access to, and we redact any tokens if the user doesn't have a management token. | [
0.7933344841003418,
-0.4397369921207428,
0.3324754536151886,
0.3255273699760437,
-0.33710670471191406,
0.22257402539253235,
0.285317599773407,
-0.29988572001457214,
0.8221629858016968,
-0.1772618591785431,
1.4165802001953125,
1.576485514640808,
-0.26815834641456604,
-0.08053714036941528,
... |
filterNodeDump is used to filter through all parts of a node dump and remove elements the provided ACL token cannot access. | [
0.01738337241113186,
0.34796378016471863,
0.4544864296913147,
-0.7169222235679626,
-0.8730669617652893,
-0.015662947669625282,
0.2081570029258728,
-0.3397570848464966,
0.0523342564702034,
-0.22692051529884338,
0.6401402354240417,
1.2397493124008179,
0.05616118013858795,
-0.6931068897247314... |
filterNodes is used to filter through all parts of a node list and remove elements the provided ACL token cannot access. | [
0.0026217650156468153,
0.44896697998046875,
0.4903523027896881,
-0.19979514181613922,
-0.9626783728599548,
-0.05364213511347771,
-0.1560497283935547,
0.16468244791030884,
-0.0707223191857338,
0.7883819341659546,
-0.13017265498638153,
1.1458032131195068,
-0.5423316359519958,
-0.899243116378... |
redactPreparedQueryTokens will redact any tokens unless the client has a management token. This eases the transition to delegated authority over prepared queries, since it was easy to capture management tokens in Consul 0.6.3 and earlier, and we don't want to willynilly show those. This does have the limitation of prev... | [
0.5693051218986511,
0.1835838407278061,
0.4850470721721649,
-0.8722829818725586,
-0.49611926078796387,
0.29532429575920105,
-0.13466805219650269,
-0.2348421812057495,
1.0538039207458496,
-0.7046031951904297,
-0.16764990985393524,
1.3090488910675049,
0.6887063384056091,
0.33120226860046387,... |
filterPreparedQueries is used to filter prepared queries based on ACL rules. We prune entries the user doesn't have access to, and we redact any tokens if the user doesn't have a management token. | [
0.6256133317947388,
-0.19516150653362274,
0.31228917837142944,
0.20795169472694397,
-0.6942455172538757,
0.3519865572452545,
0.16068312525749207,
0.005722374655306339,
0.6681987047195435,
-0.0400942824780941,
0.49252137541770935,
0.9410789012908936,
0.5323543548583984,
0.40389570593833923,... |
filterACL is used to filter results from our service catalog based on the rules configured for the provided token. | [
1.05032217502594,
0.3069891631603241,
0.33540382981300354,
0.27258339524269104,
-0.4999867081642151,
-0.2274613231420517,
0.22307470440864563,
-1.0010788440704346,
-0.26163986325263977,
0.37840431928634644,
1.2707264423370361,
0.838829755783081,
0.72012859582901,
-0.31907740235328674,
-0... |
vetRegisterWithACL applies the given ACL's policy to the catalog update and determines if it is allowed. Since the catalog register request is so dynamic, this is a pretty complex algorithm and was worth breaking out of the endpoint. The NodeServices record for the node must be supplied, and can be nil. This is a bit r... | [
-0.33014124631881714,
0.8638242483139038,
0.7183899879455566,
-0.3832903802394867,
-0.3218745291233063,
-0.8132744431495667,
-0.3914727568626404,
-0.6292616128921509,
0.3377547562122345,
0.8135097026824951,
1.1860859394073486,
0.7490695118904114,
0.586035430431366,
-0.34475645422935486,
... |
vetDeregisterWithACL applies the given ACL's policy to the catalog update and determines if it is allowed. Since the catalog deregister request is so dynamic, this is a pretty complex algorithm and was worth breaking out of the endpoint. The NodeService for the referenced service must be supplied, and can be nil; simil... | [
-0.05297772213816643,
0.5359492897987366,
0.5668144226074219,
0.2225017547607422,
0.24935011565685272,
-0.5540960431098938,
-0.5088086724281311,
-0.3055216372013092,
0.5915581583976746,
0.6359195709228516,
1.3156946897506714,
1.1214491128921509,
0.16225235164165497,
0.14544396102428436,
... |
vetNodeTxnOp applies the given ACL policy to a node transaction operation. | [
0.9863476157188416,
0.8747192025184631,
0.4221336543560028,
-0.6403812766075134,
-0.33041343092918396,
-0.29747751355171204,
-0.20485469698905945,
0.2831682562828064,
0.1426163762807846,
1.130847692489624,
1.0698564052581787,
0.05692337825894356,
0.6997822523117065,
-1.6370887756347656,
... |
vetServiceTxnOp applies the given ACL policy to a service transaction operation. | [
1.3246939182281494,
0.39448872208595276,
0.39655715227127075,
-0.2580454349517822,
-0.7421139478683472,
-0.03984694927930832,
-0.4647964835166931,
0.03277542442083359,
0.5388748049736023,
0.8353353142738342,
0.8896082639694214,
0.040614329278469086,
0.28321632742881775,
-1.326837420463562,... |
vetCheckTxnOp applies the given ACL policy to a check transaction operation. | [
1.020899772644043,
0.5705574750900269,
0.3486256003379822,
0.26895177364349365,
-0.41420575976371765,
0.05358296260237694,
-0.05834193155169487,
0.1107388436794281,
0.2563110589981079,
1.550370454788208,
0.6934166550636292,
-0.6272541880607605,
0.5042106509208679,
-1.370234489440918,
-0.... |
CalculateBtcMDLValue returns the amount of MDL (in droplets) to give for an amount of BTC (in satoshis). Rate is measured in MDL per BTC. It should be a decimal string. MaxDecimals is the number of decimal places to truncate to. | [
0.682510495185852,
0.5953255295753479,
0.5263625979423523,
-0.7013691663742065,
-0.15613241493701935,
0.6593865752220154,
-0.6911577582359314,
-0.05632894113659859,
-0.3628684878349304,
-0.6108589768409729,
-0.32896095514297485,
0.15196330845355988,
0.3570590019226074,
-0.5855369567871094,... |
CalculateEthMDLValue returns the amount of MDL (in droplets) to give for an amount of Eth (in wei). Rate is measured in MDL per Eth | [
-0.3222368657588959,
0.8014506101608276,
0.5664268136024475,
-1.0592960119247437,
-0.984253466129303,
0.49733397364616394,
-0.5551868677139282,
-0.32169389724731445,
0.4133562445640564,
-0.02798362821340561,
0.13409271836280823,
-0.8725571036338806,
0.5097531676292419,
0.942070722579956,
... |
CalculateSkyMDLValue returns the amount of MDL (in droplets) to give for an amount of SKY. Rate is measured in MDL per SKY | [
-0.12037748098373413,
1.1484050750732422,
0.5339415073394775,
-1.094573974609375,
-1.4452214241027832,
0.2686326503753662,
-0.8311501145362854,
-0.1117839515209198,
1.1553574800491333,
-0.7258352041244507,
-0.22525957226753235,
0.4852290451526642,
0.6879590749740601,
1.1330409049987793,
... |
CalculateWavesMDLValue returns the amount of MDL (in droplets) to give for an amount of WAVES. Rate is measured in MDL per WAVES | [
0.45908302068710327,
0.5231528282165527,
0.5612608790397644,
-0.8662877082824707,
-1.3041061162948608,
0.8125799298286438,
-0.25140058994293213,
-0.6714088916778564,
0.9285699129104614,
-0.7092067003250122,
-0.5799951553344727,
-0.6397309303283691,
-0.10412240028381348,
0.7593473196029663,... |
Example is a workinprogress translation of DirectX11 tutorials | [
0.14971482753753662,
0.48259204626083374,
0.26328444480895996,
1.4693354368209839,
-0.5051195025444031,
0.23492957651615143,
0.11653845012187958,
0.2531367242336273,
0.9359979629516602,
-0.48502445220947266,
-0.714084804058075,
-0.6791167259216309,
-0.010202277451753616,
-1.520534515380859... |
processMatchableTcpGateway from a matchedtcpGateway note that TCP gateways do not have nearly as much complexity as HTTP gateways so most other locations where we compute listeners should also be updated if this function is being updated. It is likely that this should be exported and shared at some point if we continue... | [
0.2791733145713806,
-0.8480798006057739,
0.5076220035552979,
-0.9751040935516357,
-1.00156569480896,
-0.2862434387207031,
0.7774801850318909,
-0.3020854592323303,
0.8248599767684937,
0.8263214230537415,
0.2292472869157791,
-0.3833014667034149,
0.13723568618297577,
0.9755384922027588,
0.4... |
A Gateway and MatchableHttpGateway share configuration reconcileGatewayLevelConfig establishes the reconciled set of options | [
0.7229377627372742,
0.045446623116731644,
0.2815425395965576,
0.8319863677024841,
0.1453440636396408,
-0.19858795404434204,
0.21642595529556274,
1.0037552118301392,
-0.8842555284500122,
0.032602906227111816,
-0.2987348437309265,
0.014945771545171738,
-1.193151593208313,
0.9166892766952515,... |
A Gateway and MatchableHttpGateway share configuration reconcileGatewayLevelConfig establishes the reconciled set of options | [
0.7229377627372742,
0.045446623116731644,
0.2815425395965576,
0.8319863677024841,
0.1453440636396408,
-0.19858795404434204,
0.21642595529556274,
1.0037552118301392,
-0.8842555284500122,
0.032602906227111816,
-0.2987348437309265,
0.014945771545171738,
-1.193151593208313,
0.9166892766952515,... |
SetHeader sets the value on the context at key. | [
-0.6690308451652527,
-0.16056540608406067,
0.3514678478240967,
-0.062297116965055466,
-0.36156773567199707,
0.05723264813423157,
-0.8447955846786499,
-0.3742353916168213,
0.18624016642570496,
0.8125742673873901,
0.04042494297027588,
0.07011129707098007,
0.45423048734664917,
-0.562818169593... |
GetHeader returns the HTTP header stored on the context at key. | [
-0.5710516571998596,
-0.26135557889938354,
0.3429436981678009,
0.5304646492004395,
-0.03523377329111099,
-0.26812195777893066,
-0.35912296175956726,
-1.227893352508545,
0.4028186500072479,
0.5186998248100281,
0.8041336536407471,
0.5245611071586609,
-0.27867886424064636,
-0.7163323760032654... |
NewEdgeContextHeaders returns a new EdgeContextHeaders object from the given HTTP headers. | [
-0.35322433710098267,
-0.8304343223571777,
0.42828863859176636,
0.37232205271720886,
0.019622066989541054,
-0.5671562552452087,
-0.5698943138122559,
-1.639278769493103,
0.5809879302978516,
0.95002681016922,
0.41531291604042053,
-0.7061742544174194,
-1.1577156782150269,
-1.202271580696106,
... |
AsMap returns the EdgeContextHeaders as a map of header keys to header values. | [
-1.1648262739181519,
-1.3576229810714722,
0.7770859003067017,
0.05772440508008003,
0.06861721724271774,
0.012591478414833546,
-0.6174275875091553,
-1.1514215469360352,
0.5320176482200623,
0.596953809261322,
0.2044357806444168,
-0.8360271453857422,
0.03890117630362511,
-0.828748345375061,
... |
NewSpanHeaders returns a new SpanHeaders object from the given HTTP headers. | [
0.123537078499794,
-0.38600248098373413,
0.16795764863491058,
0.7499057054519653,
-1.0929704904556274,
0.06238175183534622,
-0.8243649005889893,
-1.4707757234573364,
0.31918007135391235,
-0.14223791658878326,
-0.4338863790035248,
-0.2589920163154602,
-0.5962576270103455,
-0.516861438751220... |
AsMap returns the SpanHeaders as a map of header keys to header values. | [
-0.7723792791366577,
-1.0678822994232178,
0.5898770093917847,
-0.09949410706758499,
-0.6635264158248901,
0.34211546182632446,
-0.5321181416511536,
-1.0689160823822021,
0.8208207488059998,
-0.19500263035297394,
-0.7139767408370972,
-0.5581051707267761,
0.7790083885192871,
-0.386343747377395... |
InjectTrustedContext takes baseplate HTTP headers from the request, verifies that it should trust the headers using the provided HeaderTrustHandler, and attaches the trusted headers to the context. These headers can be retrieved using httpbp.GetHeader. This method does not implement the gokit http.RequestFunc interface... | [
-0.3954261541366577,
0.024721570312976837,
0.7857261896133423,
0.06595753878355026,
-0.24817946553230286,
0.6422274112701416,
-0.032893262803554535,
-1.4860596656799316,
0.05158606171607971,
-0.15484029054641724,
-0.3146035671234131,
0.24908898770809174,
-0.5395489931106567,
-0.16161519289... |
PopulateRequestContext returns a function that calls InjectTrustedContext with the HeaderTrustHandler you pass to it. The function that this produces implements gokit's http.RequestFunc interface and can be passed to gokit's http.ServerBefore ServerOption. | [
-0.41748178005218506,
0.3501688241958618,
0.8132656216621399,
0.08676091581583023,
-0.04278125613927841,
0.21543574333190918,
0.16057853400707245,
-0.9501510262489319,
0.4823622703552246,
0.020271409302949905,
-0.28414180874824524,
0.27360638976097107,
-0.03120650351047516,
-0.430867284536... |
mknod wraps Unix.Mknod and casts dev to int | [
-0.7366040349006653,
0.40592262148857117,
0.43551820516586304,
0.2706345021724701,
-0.3048020303249359,
0.6275280714035034,
0.11703468859195709,
-0.8090195059776306,
0.3852296769618988,
-1.0233149528503418,
-0.6594201922416687,
0.6045064926147461,
1.2251018285751343,
0.14105293154716492,
... |
lsetxattrCreate wraps unix.Lsetxattr, passes the unix.XATTR_CREATE flag on supported operating systems,and ignores appropriate errors | [
-0.45671024918556213,
-0.04780178889632225,
0.19239535927772522,
-0.351068377494812,
-0.5121132135391235,
0.9881566166877747,
-0.8011794090270996,
-0.3685474991798401,
-0.17055758833885193,
0.10830046981573105,
0.11874755471944809,
-0.30231618881225586,
0.5192229151725769,
0.14124627411365... |
lchmod checks for symlink and changes the mode if not a symlink | [
0.2805394232273102,
0.034204863011837006,
0.42541590332984924,
-0.07492301613092422,
0.597088634967804,
0.16420497000217438,
0.37056031823158264,
1.4246717691421509,
0.8711609244346619,
-0.617682158946991,
0.11181601136922836,
0.33835017681121826,
-0.5832806825637817,
1.310179591178894,
... |
NewGrouping returns a grouping based on a string parameter. See documentation for Duration str format Duration,0,1min ^^^Name,Index,DurationStr | [
-0.7263999581336975,
0.054022934287786484,
0.31716522574424744,
0.42881011962890625,
-1.2028411626815796,
-0.15356110036373138,
0.3571610450744629,
-1.0202815532684326,
-0.44548118114471436,
0.5916270017623901,
0.21558183431625366,
0.4182561933994293,
-0.7587436437606812,
-0.37058752775192... |
New returns a new Driver from io/fsFS and a relative path. | [
0.5241550803184509,
-1.8138892650604248,
0.3893525004386902,
0.8568920493125916,
-0.3667362630367279,
-1.0378297567367554,
0.2864105701446533,
-0.7249148488044739,
-0.5540498495101929,
-1.333268165588379,
0.46027272939682007,
-0.8806174993515015,
0.8224122524261475,
-0.4057878255844116,
... |
Open is part of source.Driver interface implementation. Open cannot be called on the iofs passthrough driver. | [
-1.152933120727539,
-0.045854710042476654,
0.26634395122528076,
-0.1554131954908371,
-0.41643986105918884,
-0.2682402729988098,
1.2101130485534668,
0.8747859001159668,
-0.21375517547130585,
-0.9036051630973816,
0.6882809996604919,
-0.9192492365837097,
-0.3668362498283386,
-0.05056079477071... |
Init prepares not initialized IoFS instance to read migrations from a io/fsFS instance and a relative path. | [
-0.14593349397182465,
-0.7179853320121765,
0.38765206933021545,
0.10344209522008896,
-0.37714189291000366,
-0.19967839121818542,
-0.27030739188194275,
-0.8050179481506348,
-0.7248439788818359,
-0.775264322757721,
0.8998278975486755,
0.13952843844890594,
0.7540670037269592,
-0.5303544998168... |
Close is part of source.Driver interface implementation. Closes the file system if possible. | [
-0.6834760904312134,
-0.22603711485862732,
0.484546035528183,
0.2172146737575531,
-0.07138430327177048,
0.08152341842651367,
0.6013962030410767,
-0.4067131280899048,
-0.07035209238529205,
-1.3368865251541138,
0.8128719329833984,
-1.079200267791748,
-0.11522412300109863,
1.2403277158737183,... |
First is part of source.Driver interface implementation. | [
-0.06572625041007996,
0.11650178581476212,
0.3680027425289154,
0.06235169246792793,
0.8567954897880554,
-0.9688540697097778,
-0.0644616112112999,
0.033137429505586624,
0.20023493468761444,
-0.1998080015182495,
-0.5522427558898926,
-0.5554690361022949,
0.29269012808799744,
1.332486510276794... |
Prev is part of source.Driver interface implementation. | [
-0.15059122443199158,
0.5243099331855774,
0.6905196905136108,
0.5408515930175781,
0.5978333353996277,
-0.6212859749794006,
0.9946896433830261,
0.07558686286211014,
0.06577635556459427,
-0.22794707119464874,
-0.5126709938049316,
-0.7480567693710327,
-0.21945571899414062,
0.2590596675872803,... |
Next is part of source.Driver interface implementation. | [
-0.6068865656852722,
0.025488948449492455,
0.17027509212493896,
0.4952000677585602,
-0.42820999026298523,
-0.40337061882019043,
-0.009953257627785206,
-0.15998734533786774,
0.8887057304382324,
-0.7112839818000793,
-0.5244601368904114,
-0.2145998328924179,
-0.03734775260090828,
0.5211969614... |
ReadUp is part of source.Driver interface implementation. | [
-0.8474069237709045,
-0.0704219862818718,
0.486274391412735,
-0.07142750918865204,
0.01681114360690117,
-0.8446995615959167,
0.49659061431884766,
0.2628268301486969,
0.18028821051120758,
0.1280314028263092,
0.583294153213501,
-0.5570011138916016,
0.6003528833389282,
-0.49967506527900696,
... |
ReadDown is part of source.Driver interface implementation. | [
0.11855582892894745,
-0.42569977045059204,
0.43401822447776794,
0.3071269690990448,
-0.018901154398918152,
-0.31462496519088745,
0.7750537991523743,
0.21667031943798065,
0.4049079418182373,
-0.4519883692264557,
0.8045451641082764,
-0.44558683037757874,
-0.18901832401752472,
-0.013590552844... |
Value implements the driver.Valuer interface, and turns the BitBool into a bitfield (BIT(1)) for MySQL storage. | [
-0.9155691862106323,
0.379303514957428,
0.5158524513244629,
0.451026976108551,
0.7674804925918579,
0.39284828305244446,
0.8063797950744629,
-0.319488525390625,
-0.16066275537014008,
0.056372351944446564,
-0.7092188596725464,
-0.49819284677505493,
-0.03823525458574295,
0.20014187693595886,
... |
Scan implements the sql.Scanner interface, and turns the bitfield incoming from MySQL into a BitBool | [
-0.8082269430160522,
0.42416486144065857,
0.4437400698661804,
-0.036963485181331635,
-0.8909965753555298,
0.6794909238815308,
-0.3247429132461548,
0.02926233410835266,
-0.6865400671958923,
-0.5314987301826477,
-0.7509154677391052,
-0.19815902411937714,
-0.4591710567474365,
0.04000262916088... |
New returns a new server | [
-1.2614881992340088,
-1.8954483270645142,
0.4596273601055145,
0.456224262714386,
-0.1815650314092636,
-0.22817657887935638,
-1.0218043327331543,
-0.5287156701087952,
-0.34460797905921936,
-0.9996528625488281,
-0.7896679043769836,
0.44450145959854126,
-0.4999334514141083,
0.5559549927711487... |
Inject fills the given struct with values from the dependency injection container on application start. The target MUST be a pointer to a struct. Only exported fields will be filled. | [
-0.3413449227809906,
0.7147285342216492,
0.5161490440368652,
-0.5541480183601379,
0.07518307119607925,
0.5701535940170288,
0.02976670116186142,
-1.073237657546997,
0.34669366478919983,
-0.41207650303840637,
-0.5652750134468079,
0.4499661922454834,
0.0828431248664856,
-0.42120853066444397,
... |
Rfc3339NanoEncoder to encode time field to RFC3339Nano format. | [
-0.24146504700183868,
0.3223411738872528,
0.13677047193050385,
-0.18826399743556976,
-0.5201765894889832,
0.5727916955947876,
-0.8495522737503052,
-0.6187277436256409,
0.5097877383232117,
-0.020581120625138283,
-1.2103426456451416,
-0.36418578028678894,
0.18729232251644135,
0.6866397261619... |
InitLogger must be first to be called. | [
0.10029751807451248,
0.17399056255817413,
0.6879350543022156,
0.5152881145477295,
0.268148809671402,
-0.4261752963066101,
-0.19867391884326935,
0.35495415329933167,
-0.607641339302063,
-0.7595717906951904,
-0.8989391326904297,
-0.01975657232105732,
-0.602459728717804,
2.2784721851348877,
... |
L to get the request logger. | [
-1.007554292678833,
0.7597823739051819,
0.17553368210792542,
0.11136229336261749,
0.20671570301055908,
-0.3555486798286438,
-0.7891558408737183,
0.40619003772735596,
0.6216672658920288,
-0.9768050909042358,
0.16231416165828705,
-0.2688676118850708,
-0.03749223053455353,
0.914891242980957,
... |
LogRequest to log every request. | [
-1.1230864524841309,
0.05988025292754173,
0.3157680630683899,
0.5402133464813232,
0.26779627799987793,
-0.06732435524463654,
-0.5962252616882324,
-0.1173681691288948,
-0.34133660793304443,
-1.3132497072219849,
-0.27684271335601807,
0.00034303590655326843,
0.45239555835723877,
0.66794919967... |
Recoverer the recover middware. | [
0.6302319169044495,
-0.5328953266143799,
0.165706068277359,
0.8909643888473511,
-0.9847244620323181,
-0.2901533246040344,
0.13131511211395264,
-0.3819016218185425,
0.7398295402526855,
-1.1581021547317505,
-0.14879903197288513,
-0.8717039227485657,
-0.3214482069015503,
0.3857305645942688,
... |
New returns a magic packet based on a mac address string. | [
-0.10454580187797546,
-0.22092115879058838,
0.25309914350509644,
-0.22667209804058075,
-2.244375705718994,
-1.1958740949630737,
-0.889866054058075,
-0.16545438766479492,
0.2590044140815735,
-0.6700097322463989,
0.652184247970581,
0.9727544784545898,
0.5754162073135376,
-0.5567244291305542,... |
Marshal serializes the magic packet structure into a 102 byte slice. | [
0.10682373493909836,
0.8171544075012207,
0.4705192446708679,
-0.5861536264419556,
0.142656147480011,
-0.5171871185302734,
-1.6862237453460693,
0.44991862773895264,
0.7858964204788208,
-0.5602167248725891,
-0.19804060459136963,
1.0918627977371216,
0.587023138999939,
0.2622055113315582,
0.... |
Maps input objects resolvers | [
-0.930898129940033,
-1.5863533020019531,
0.3607707917690277,
0.4168534278869629,
-0.08586350083351135,
0.13522039353847504,
0.35931622982025146,
-0.5070845484733582,
0.6261221766471863,
-0.879151463508606,
-0.963687539100647,
-1.2973617315292358,
0.3618885576725006,
-0.4600957930088043,
... |
XXX_OneofWrappers is for the internal use of the proto package. | [
-0.8683505058288574,
0.18757706880569458,
0.31278854608535767,
0.3240192234516144,
0.22182634472846985,
0.1701114922761917,
0.10144482553005219,
-0.2165045291185379,
1.2567822933197021,
-0.36039406061172485,
0.41514018177986145,
-0.1402577906847,
-0.4706617593765259,
0.3434695303440094,
... |
Validate validates this model 34 | [
0.2760823965072632,
-0.4718434810638428,
0.2090418040752411,
1.1136631965637207,
0.7406336069107056,
1.2332284450531006,
-0.30082809925079346,
-1.172389268875122,
0.019839603453874588,
-0.6132132411003113,
-0.3546067476272583,
-0.8009597659111023,
-1.1089773178100586,
0.20552769303321838,
... |
ContextValidate validates this model 34 based on context it is used | [
0.27092790603637695,
-0.6109671592712402,
0.31490054726600647,
0.9476633071899414,
0.5803036093711853,
0.8327155113220215,
-0.6300632953643799,
-1.2602684497833252,
0.6022847890853882,
-0.056038107722997665,
0.07183649390935898,
-0.05757386237382889,
-1.3040382862091064,
0.3552966117858886... |
NewRouter will initialise routes and middlewares and return a new echo instance | [
-0.18268905580043793,
-1.094872236251831,
0.4279469847679138,
1.1307239532470703,
-0.6213973164558411,
0.45184192061424255,
-1.054636001586914,
-0.11814036220312119,
0.2967509627342224,
-0.7435252666473389,
-0.7680268883705139,
0.782945454120636,
-0.33390235900878906,
1.5820835828781128,
... |
NewSliceIter takes any slice type parameter and returns a SliceIter. Calling NewSliceIter with other values is not allowed and might cause a panic. | [
-0.3558086156845093,
-0.4716765880584717,
0.3526933789253235,
1.0209311246871948,
-1.9510356187820435,
-0.18534816801548004,
-0.4432424008846283,
-0.9329151511192322,
-0.4911232590675354,
0.6946796774864197,
0.6748253107070923,
0.4457152187824249,
-0.606808602809906,
0.948350191116333,
-... |
Peek returns the current slice element. | [
-0.3764999210834503,
-0.1653580218553543,
0.5096224546432495,
0.2588239312171936,
-0.5656716823577881,
-0.31368908286094666,
0.40259063243865967,
-1.064342975616455,
0.12096663564443588,
0.25160813331604004,
0.017871925607323647,
1.4324809312820435,
-0.09259075671434402,
-0.471388816833496... |
IsEmpty returns whether the iterator points to a valid slice element. | [
-1.2358283996582031,
-0.3405582904815674,
0.41741666197776794,
0.5441048741340637,
0.5303901433944702,
0.049628473818302155,
0.2489384263753891,
-0.002426040591672063,
0.20994189381599426,
0.6428608894348145,
0.021104397252202034,
0.38458308577537537,
-0.11825931817293167,
-0.2434055954217... |
Next moves the iterator to the next element of the slice. If the iterator points to the last slice element, the iterator is empty after this call. | [
-0.32033345103263855,
-0.44304320216178894,
0.24676714837551117,
0.304634690284729,
-0.5277327299118042,
-0.13194909691810608,
-0.08498728275299072,
-0.1763058751821518,
0.44495445489883423,
0.32129231095314026,
0.08675949275493622,
0.6007212400436401,
-0.21107764542102814,
0.1218567192554... |
Pushes a marker onto a stack. Calling Rewind() will pop it off the stack and reset the input stream to the position that was set when Mark() was called. | [
-0.0383039191365242,
0.5230812430381775,
0.5114405751228333,
0.2619355618953705,
0.6528455018997192,
-0.25927868485450745,
1.558652639389038,
-0.34906449913978577,
-0.7150141000747681,
0.03322199732065201,
-0.20935340225696564,
1.7303706407546997,
-0.23103491961956024,
-0.4737548232078552,... |
Abbreviate returns acronym for given phrase | [
0.3970969617366791,
-0.6453846096992493,
0.18191476166248322,
-0.8520210385322571,
-0.03793008252978325,
-0.12209023535251617,
-0.1936798095703125,
-0.2964538633823395,
0.6945927739143372,
0.982390284538269,
1.3673272132873535,
0.7713583707809448,
0.924037754535675,
-0.22000277042388916,
... |
Binary returns the binary format representation of a SpanContext. If sc is the zero value, Binary returns nil. | [
0.4414808452129364,
-0.5717990398406982,
0.38449418544769287,
0.17042696475982666,
0.1746649593114853,
0.24308419227600098,
-0.6471614837646484,
-2.0432093143463135,
1.767879843711853,
-0.7283114194869995,
0.012647835537791252,
0.6576762199401855,
-0.3672320246696472,
0.16566896438598633,
... |
FromBinary returns the SpanContext represented by b. If b has an unsupported version ID or contains no TraceID, FromBinary returns with ok==false. | [
0.6655248403549194,
-0.12341396510601044,
0.5318963527679443,
1.0632823705673218,
-0.47534793615341187,
1.1363080739974976,
0.5407834649085999,
-0.885354220867157,
1.808308720588684,
0.39414769411087036,
-0.6223873496055603,
-0.013585234992206097,
-1.237327218055725,
-0.31718188524246216,
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.