text stringlengths 7 2.39k | embedding listlengths 768 768 |
|---|---|
hasValidDataExtractionQuery checks whether the data extraction(result and score) query passed by user is valid. It validates especially if the 'limit' key has a len less than 100 and if has a valid column. | [
-0.3214089870452881,
0.40703845024108887,
0.45519208908081055,
0.2832506597042084,
-0.3885563611984253,
-0.1502877026796341,
0.2606971561908722,
0.3106290102005005,
0.3919980823993683,
-0.21934188902378082,
0.2815788686275482,
-0.3242875933647156,
0.2331491857767105,
-0.34732550382614136,
... |
hasValidColumn checks whether the new column is valid. Checks type, name, description; enumerate, decimalplace and string types. | [
0.31206637620925903,
-0.7261829376220703,
0.5051823258399963,
0.35209667682647705,
0.4264863133430481,
0.3654172420501709,
0.7004947066307068,
-0.3910641670227051,
-0.45308178663253784,
-0.47093117237091064,
-1.2970499992370605,
0.4912587106227875,
-0.06811445206403732,
0.47979819774627686... |
New returns a new SlicingDice object. | [
-0.5507242679595947,
-0.9232003092765808,
0.16697397828102112,
0.15014053881168365,
-0.8270879983901978,
-0.16140887141227722,
-0.09769041836261749,
0.08691205829381943,
-0.25201699137687683,
-0.03027479723095894,
0.318759024143219,
-0.3169975280761719,
0.5387756824493408,
-0.0857540369033... |
getKey returns of smart way a key to be used in the request SlicingDice API. | [
-0.8503120541572571,
0.024624809622764587,
0.4314001500606537,
0.22104495763778687,
0.3216741383075714,
-0.557470440864563,
-0.4111179709434509,
0.43227094411849976,
0.5491824746131897,
0.37013110518455505,
0.48849084973335266,
0.21618123352527618,
0.10299109667539597,
-0.20607301592826843... |
getFullUrl checks if enviroment has the SD_API_ADDRESS variable. If don't has him define the url base how ' | [
0.41404157876968384,
0.1136641800403595,
0.7384105920791626,
1.0469691753387451,
0.05856335908174515,
-0.03539624810218811,
-0.4273087680339813,
-0.07085612416267395,
0.26748108863830566,
-0.07288376986980438,
0.5148294568061829,
-0.005784483626484871,
0.0789957121014595,
1.069186449050903... |
makeRequest checks request method, convert the query passed for use to JSON and executes the request. | [
-1.770802617073059,
-0.024835756048560143,
0.4447745978832245,
0.8305606245994568,
0.06784341484308243,
-0.40954798460006714,
-0.6576765775680542,
-0.48405712842941284,
-0.29235053062438965,
0.025705674663186073,
0.8444957733154297,
0.03763566166162491,
0.7201811671257019,
-0.3929000496864... |
handlerResponse search errors in the response of the request, both the status code as in the API JSON response. | [
-1.0528336763381958,
-1.3479278087615967,
0.3001861572265625,
0.19541209936141968,
0.8395730257034302,
-0.004003701265901327,
0.16354499757289886,
0.14156092703342438,
0.1309383362531662,
-0.39795100688934326,
-0.5332736968994141,
-0.409715861082077,
0.47627004981040955,
-0.116495952010154... |
CreateNode adds a new node on the pubsub service with the provided configuration (or the default configuration if none is provided). | [
0.11278290301561356,
1.2181371450424194,
0.299508661031723,
0.5098400712013245,
0.9847147464752197,
0.33379271626472473,
-1.2611883878707886,
0.6603233218193054,
-0.24811263382434845,
0.122048519551754,
-0.3177569508552551,
-0.17918112874031067,
-1.398978590965271,
0.021922003477811813,
... |
CreateNodeIQ is like Publish except that it allows modifying the IQ. Changes to the IQ type will have no effect. | [
-0.694696843624115,
-0.32468345761299133,
0.493761271238327,
0.045870985835790634,
-0.7273461818695068,
0.22807057201862335,
-0.46059879660606384,
-0.8806139826774597,
0.14901617169380188,
-0.08754663169384003,
-0.4395730495452881,
0.9001749753952026,
-0.8336610198020935,
0.089197516441345... |
NewHTTPServer creates a new websocket server which will wait for clients and open TCP connections | [
-0.5918368697166443,
-0.7557798027992249,
0.24051061272621155,
-0.12011708319187164,
0.17011982202529907,
0.4449222981929779,
-0.21336215734481812,
-0.46813443303108215,
0.09969151765108109,
-0.11531113088130951,
-0.5534981489181519,
0.7407729029655457,
-0.5471031665802002,
0.3337233364582... |
/ A C++ reference I used for recursively printing parenthesis ^^ I had some issue trying to use this function to return a string, representing the multiplication order, because of the recursion. So used a string ptr in the algorithm function to save the results. | [
0.3943329155445099,
-0.30367332696914673,
0.7612980008125305,
0.2186170220375061,
-1.5803297758102417,
-0.3312683701515198,
0.12732619047164917,
-0.8690101504325867,
0.041837893426418304,
0.07134813070297241,
0.10862501710653305,
0.14140869677066803,
-1.1494382619857788,
0.8597900867462158... |
CheckHMACHash checks the HMAC hash | [
1.1769368648529053,
0.24743644893169403,
0.26820918917655945,
0.8680909872055054,
0.2612157166004181,
0.5171936750411987,
-0.5174416899681091,
0.6665101051330566,
0.11716518551111221,
-0.1937597095966339,
0.28301945328712463,
0.0816967636346817,
0.19837327301502228,
1.192616581916809,
1.... |
HashPassword creates hash out of provided password | [
1.2671122550964355,
-0.22410781681537628,
0.16534043848514557,
1.3359887599945068,
0.3884451389312744,
0.7429457306861877,
-0.39725208282470703,
0.6594785451889038,
0.11228617280721664,
-0.5649381279945374,
-0.11050188541412354,
-0.0033016668166965246,
0.26292935013771057,
-0.2692077159881... |
CheckPasswordHash Checks the password with the provided hash string | [
1.1186230182647705,
-0.22751107811927795,
0.2802981734275818,
1.2900875806808472,
-0.09004506468772888,
0.6326298713684082,
-0.49070674180984497,
0.5552027225494385,
-0.2733922004699707,
0.14233775436878204,
0.31983113288879395,
0.19671940803527832,
-0.49730226397514343,
0.6251928210258484... |
NewConfig creates a ready to use Auth instance. if the redirectUrl is empty, this is assumed to be an installed application. | [
-0.22796741127967834,
-0.37944990396499634,
0.15437158942222595,
1.2648429870605469,
-0.6394299864768982,
0.011937595903873444,
0.1467684507369995,
0.6467901468276978,
1.3997437953948975,
-0.04579870402812958,
-0.010476961731910706,
0.06026574596762657,
0.2614099383354187,
0.67310965061187... |
NewOwnableFromArgs owner credentials can be passed at the time of initialization | [
0.5579491853713989,
-0.8149887919425964,
0.24218006432056427,
1.775917410850525,
0.6304675340652466,
-0.07085312902927399,
0.26032841205596924,
-0.466362863779068,
-0.7017233967781067,
-0.9006841778755188,
-0.6055968999862671,
-0.271984338760376,
-0.1909172236919403,
0.19391267001628876,
... |
GetGlobalAllocationParam returns the GlobalAllocationParam. | [
-0.2612361013889313,
0.3978697657585144,
0.6287943124771118,
0.10105808824300766,
-0.12482625246047974,
1.523995041847229,
2.2326736450195312,
0.6918529868125916,
0.25851303339004517,
0.8363996744155884,
0.8519527912139893,
0.8440792560577393,
-0.35192763805389404,
0.5572385787963867,
-0... |
GetVoteParam returns the VoteParam. | [
-0.14159250259399414,
0.10597116500139236,
0.318752646446228,
1.4313780069351196,
0.7492178082466125,
0.4587826430797577,
0.311486154794693,
0.41659989953041077,
-0.12606209516525269,
0.4307956099510193,
0.5309528112411499,
0.5449355244636536,
-0.5654624104499817,
0.2897581160068512,
-0.... |
GetProposalParam returns the ProposalParam. | [
-0.422207236289978,
0.5872334241867065,
0.3589211404323578,
-0.3713553845882416,
-0.1505354940891266,
0.19450810551643372,
0.6831940412521362,
1.1879462003707886,
0.1813836544752121,
0.5665633082389832,
1.0848406553268433,
-0.0124424509704113,
-0.4478670060634613,
-0.2515348792076111,
-0... |
GetValidatorParam returns the ValidatorParam. | [
-0.35040417313575745,
-0.39203161001205444,
0.34909436106681824,
0.549231767654419,
-0.42046672105789185,
0.4541145861148834,
1.0564172267913818,
1.0459243059158325,
-0.19474759697914124,
-0.8664062023162842,
0.5835420489311218,
-0.02043245919048786,
-0.1556522399187088,
0.786064624786377,... |
GetAccountParam returns the AccountParam. | [
0.03691904991865158,
0.11065787076950073,
0.19229833781719208,
0.5493409633636475,
0.7107800245285034,
-0.048076968640089035,
1.9763085842132568,
0.6994789838790894,
0.6747097969055176,
0.2780582904815674,
1.031578779220581,
1.120408296585083,
0.1593073457479477,
0.32292836904525757,
-0.... |
GetPostParam returns the PostParam. | [
0.24615263938903809,
-0.07721845805644989,
0.302256315946579,
0.9843999743461609,
0.7830511331558228,
0.44327765703201294,
0.35826751589775085,
0.34435662627220154,
-0.3919900059700012,
-0.7794715762138367,
-0.012303739786148071,
0.015077212825417519,
-0.26122865080833435,
0.49226704239845... |
Create initializes the builder | [
0.7855708003044128,
0.5863518118858337,
0.08861259371042252,
1.8042949438095093,
0.8872486352920532,
0.29302993416786194,
0.5644580125808716,
0.7034701704978943,
-0.8308224081993103,
-1.4431662559509277,
-0.3656843602657318,
-0.7961035370826721,
-0.7638425827026367,
1.2829163074493408,
-... |
IsCurrent flags the builder as the current folder | [
-0.19063524901866913,
-0.9000093340873718,
0.4104306995868683,
1.3970346450805664,
-0.07070567458868027,
0.8158742785453796,
1.5393400192260742,
0.47294044494628906,
0.22361834347248077,
-0.8018012046813965,
0.16079115867614746,
0.6173651218414307,
-0.42094868421554565,
0.36935049295425415... |
IsPrevious flags the builder as the previous folder | [
0.24017976224422455,
1.4426921606063843,
0.605684757232666,
1.2235662937164307,
0.7815154194831848,
-0.18451395630836487,
1.55701744556427,
0.1800302267074585,
0.8304432034492493,
-1.212050199508667,
0.011720466427505016,
-0.2469593733549118,
-0.9564365744590759,
0.7646775245666504,
-1.6... |
WithName adds a name to the builder | [
0.022145763039588928,
-0.0647801011800766,
0.42003345489501953,
0.19272150099277496,
-1.1090147495269775,
-0.6353559494018555,
-0.08925804495811462,
-0.02230198308825493,
0.4751726984977722,
0.12704823911190033,
-1.4019968509674072,
-0.66825270652771,
0.17113476991653442,
0.756219506263732... |
Now builds a new FolderName instance | [
-1.115464210510254,
-1.4193345308303833,
0.24700459837913513,
0.7357860803604126,
-0.6189297437667847,
-0.5248991250991821,
0.5560271143913269,
0.426279217004776,
-0.3401074707508087,
-1.4345526695251465,
-0.09869997948408127,
0.1704806685447693,
-0.029508480802178383,
0.12700682878494263,... |
ReadResponse reads a server response into the received o. | [
0.2536485195159912,
-0.5319309234619141,
0.4260271191596985,
0.250649094581604,
-0.42248207330703735,
-1.1332019567489624,
-0.1542394906282425,
-0.6475809812545776,
0.9560379981994629,
-0.19656099379062653,
-0.4577060341835022,
-0.03830955550074577,
-0.24323610961437225,
-1.241577029228210... |
NewGetAPIV10PeerReviewsTaskIDOK creates a GetAPIV10PeerReviewsTaskIDOK with default headers values | [
-0.45449474453926086,
0.5569789409637451,
0.2975752651691437,
-0.37011072039604187,
-0.4381278157234192,
-0.46982887387275696,
-0.7174172401428223,
1.0307804346084595,
0.16937491297721863,
-0.01032623928040266,
0.5906053185462952,
-0.08639488369226456,
0.11715792864561081,
-0.3044527471065... |
NewGetAPIV10PeerReviewsTaskIDUnauthorized creates a GetAPIV10PeerReviewsTaskIDUnauthorized with default headers values | [
-1.0610625743865967,
0.4863114655017853,
0.32516390085220337,
-0.6078622341156006,
-0.766470730304718,
-0.48630276322364807,
-0.6368560194969177,
0.9096400141716003,
0.7195022702217102,
-1.1202021837234497,
0.15950064361095428,
1.0090526342391968,
-0.1567910760641098,
-0.888964056968689,
... |
NewGetAPIV10PeerReviewsTaskIDForbidden creates a GetAPIV10PeerReviewsTaskIDForbidden with default headers values | [
-0.30168336629867554,
0.5182528495788574,
0.22828903794288635,
-0.3249116539955139,
-0.9147562384605408,
0.12214329838752747,
-0.7928298711776733,
0.1660303771495819,
0.5090035796165466,
-0.3552716076374054,
0.949367105960846,
0.5970236659049988,
-0.6202952861785889,
-0.853621244430542,
... |
NewGetAPIV10PeerReviewsTaskIDNotFound creates a GetAPIV10PeerReviewsTaskIDNotFound with default headers values | [
-0.43603894114494324,
-0.33975592255592346,
0.2550390064716339,
-0.7735011577606201,
-0.11394940316677094,
0.24264958500862122,
-0.7454003691673279,
0.5926028490066528,
0.7045841217041016,
-0.9334791898727417,
0.4793022871017456,
0.29534080624580383,
-0.05707006901502609,
-0.30032947659492... |
ValidStorageTypeStrings returns an array of strings that are the normal (i.e. not invalid) strings that would return useful values if passed to StorageTypeFromString. | [
-0.7343349456787109,
-1.6190918684005737,
0.3434818685054779,
0.4884115159511566,
-0.49010053277015686,
0.8216809630393982,
-0.5598537921905518,
-0.47004222869873047,
0.18120162189006805,
0.3347272574901581,
-0.06758095324039459,
0.20475097000598907,
-0.709138035774231,
-0.2811102569103241... |
StorageTypeFromString returns the right storage type for the given string. "" returns StorageDefault, and any unknown types return StorageInvalid. | [
0.5694102048873901,
-0.9017528295516968,
0.03815075755119324,
1.056464433670044,
0.27010396122932434,
0.15249328315258026,
0.18390807509422302,
-0.9320200681686401,
0.7743977308273315,
0.05877164006233215,
-0.26293691992759705,
-0.8242025971412659,
-0.4512302875518799,
-0.29507097601890564... |
Import is the string denting the import path for this storage type, e.g. "github.com/jkomoros/boardgame/storage/mysql" | [
0.07916843146085739,
0.2097320556640625,
0.4380527436733246,
1.0640041828155518,
0.7302027940750122,
0.41561755537986755,
0.40686318278312683,
-0.2074638158082962,
-0.2557699382305145,
0.3145296573638916,
-1.1902093887329102,
0.29315897822380066,
-0.09654200077056885,
-0.6175649166107178,
... |
Constructor is a string representing a default constructor for this storage type, e.g. `bolt.NewStorageManager(".database")`. optionalLiteralArgs will be passed literally within the `()` of the storage constructor, so valid strings are "\".database\"" etc. If not provided, will fall back on reasonable defaults for that... | [
0.3965245187282562,
-0.5770077705383301,
0.515737771987915,
0.15543174743652344,
0.49131011962890625,
0.1333252191543579,
-0.021511049941182137,
0.025628162547945976,
-0.04294431954622269,
-0.4569801390171051,
-0.4951385259628296,
-0.5659825801849365,
-0.043479252606630325,
0.9165154099464... |
RootCmd represents the base command when called without any subcommands | [
1.3735322952270508,
-1.047784447669983,
0.6011993885040283,
0.8568957448005676,
-0.09331898391246796,
1.1417697668075562,
0.21728508174419403,
-0.2988068163394928,
0.670316755771637,
-1.7713711261749268,
0.38825881481170654,
1.2238328456878662,
-0.5210704803466797,
1.1241470575332642,
-0... |
Unpack unpacks a configuration with at most one sub object. An sub object is ignored if it is disabled by setting `enabled: false`. If the configuration passed contains multiple active sub objects, Unpack will return an error. | [
-0.26906704902648926,
0.6504279375076294,
0.598064661026001,
1.1471166610717773,
-0.4796741008758545,
-0.39001592993736267,
1.0898443460464478,
0.7893590331077576,
0.3594498634338379,
0.16436642408370972,
-1.1477526426315308,
-0.846545934677124,
0.11999466270208359,
-0.8628437519073486,
... |
Name returns the configuration sections it's name if a section has been set. | [
-0.4526587724685669,
-0.4213639497756958,
0.5643057823181152,
-0.0971270203590393,
-0.4067971110343933,
-0.6015406847000122,
-0.24243897199630737,
-0.9008824825286865,
-0.3202177882194519,
1.4095134735107422,
0.03790814056992531,
-1.7112895250320435,
0.6191428899765015,
1.0757031440734863,... |
configVersionFactory return the subconfiguration section if a section has been set. | [
1.0094419717788696,
0.1674184799194336,
0.3682318329811096,
0.5550950169563293,
-0.6495904326438904,
-0.27321770787239075,
0.2874128818511963,
-0.2656932771205902,
-0.5315343737602234,
-0.18222446739673615,
0.047348566353321075,
-0.043772052973508835,
0.47791963815689087,
0.345896095037460... |
IsSet returns true if a subconfiguration section has been set. | [
0.14034706354141235,
0.5909519195556641,
0.3769978880882263,
0.44255125522613525,
0.21731647849082947,
-0.2582760453224182,
0.07872754335403442,
0.05453244224190712,
-1.0415234565734863,
0.20115523040294647,
-0.742711067199707,
0.37596261501312256,
0.6299238204956055,
0.10182946175336838,
... |
Askwit is the function that sends the request to Wit.ai | [
-1.0637876987457275,
-0.7309881448745728,
0.3757815659046173,
-0.045145872980356216,
0.8379867076873779,
-0.02286776527762413,
0.4830755591392517,
-0.5182269215583801,
-0.193467915058136,
-0.43845635652542114,
0.27316662669181824,
1.4149459600448608,
-0.06190238147974014,
1.036916017532348... |
CaptureMetric captures a pointintime metric value and it's error rate. | [
0.6664280891418457,
-0.47735100984573364,
0.17126122117042542,
0.9835751056671143,
-0.3960516154766083,
0.23228608071804047,
-0.6430889368057251,
-1.1429117918014526,
-0.847831666469574,
0.5636844635009766,
0.04693833738565445,
0.2210320234298706,
0.535594642162323,
-0.31298550963401794,
... |
ReadResponse reads a server response into the received o. | [
0.2536485195159912,
-0.5319309234619141,
0.4260271191596985,
0.250649094581604,
-0.42248207330703735,
-1.1332019567489624,
-0.1542394906282425,
-0.6475809812545776,
0.9560379981994629,
-0.19656099379062653,
-0.4577060341835022,
-0.03830955550074577,
-0.24323610961437225,
-1.241577029228210... |
NewDeleteConnectorUsingDELETENoContent creates a DeleteConnectorUsingDELETENoContent with default headers values | [
-0.2800137400627136,
-1.0034241676330566,
0.4261511266231537,
0.1778084933757782,
-0.7494497895240784,
-0.8612645864486694,
-0.34773576259613037,
-0.8159711360931396,
0.19852492213249207,
-0.9113413691520691,
0.22554129362106323,
-1.3208943605422974,
-0.19307377934455872,
0.986516177654266... |
NewDeleteConnectorUsingDELETEBadRequest creates a DeleteConnectorUsingDELETEBadRequest with default headers values | [
-0.18658344447612762,
-1.2961066961288452,
0.8371789455413818,
1.5281766653060913,
0.03379354625940323,
-0.28991809487342834,
-0.7281662225723267,
-0.12536171078681946,
0.5423118472099304,
-0.7281807065010071,
1.1360304355621338,
-0.4037152826786041,
-0.41076046228408813,
1.440582633018493... |
NewDeleteConnectorUsingDELETEUnauthorized creates a DeleteConnectorUsingDELETEUnauthorized with default headers values | [
-1.0097092390060425,
-0.8394494652748108,
0.836655855178833,
0.8885823488235474,
-0.8442343473434448,
-0.5817103385925293,
-0.11661116033792496,
0.9424611330032349,
0.7427954077720642,
-0.9936870336532593,
0.43619978427886963,
0.09510238468647003,
0.005735935643315315,
0.6327862739562988,
... |
NewDeleteConnectorUsingDELETEForbidden creates a DeleteConnectorUsingDELETEForbidden with default headers values | [
0.12023644894361496,
-0.23034025728702545,
0.7644186019897461,
1.2629212141036987,
-0.2849695682525635,
-0.5508455038070679,
0.10532880574464798,
-0.4075793921947479,
0.7072965502738953,
-0.5286281704902649,
0.822335422039032,
-0.6305283904075623,
-0.4918895959854126,
0.4826575219631195,
... |
NewDeleteConnectorUsingDELETEMethodNotAllowed creates a DeleteConnectorUsingDELETEMethodNotAllowed with default headers values | [
-0.1484728306531906,
-0.4105921983718872,
0.691432774066925,
1.1081910133361816,
-0.8820111155509949,
-0.1597868651151657,
0.2513015568256378,
-0.7864834666252136,
0.29675427079200745,
-0.25617799162864685,
1.7466729879379272,
-0.9595610499382019,
-0.7526955008506775,
0.7790597677230835,
... |
NewDeleteConnectorUsingDELETEConflict creates a DeleteConnectorUsingDELETEConflict with default headers values | [
0.06792869418859482,
-0.9846360683441162,
0.8363877534866333,
0.7119675874710083,
0.01962561346590519,
-0.5174639821052551,
-0.06026337668299675,
-0.5761855840682983,
0.7341746091842651,
-0.48636868596076965,
0.6846895813941956,
-1.3855620622634888,
-0.9286203384399414,
0.5764890909194946,... |
NewDeleteConnectorUsingDELETEServiceUnavailable creates a DeleteConnectorUsingDELETEServiceUnavailable with default headers values | [
-1.4973359107971191,
-1.1079394817352295,
0.7864543795585632,
0.36403876543045044,
-0.45013824105262756,
-0.777076244354248,
-0.35987991094589233,
0.957314670085907,
0.8872291445732117,
-0.7700704336166382,
0.17666897177696228,
-0.4309670329093933,
0.14991173148155212,
0.566829264163971,
... |
InitResponse initializes valiadtion error response | [
-0.09071876853704453,
-1.1859753131866455,
0.027781516313552856,
0.6810197830200195,
0.35269078612327576,
-0.5464162826538086,
0.23116111755371094,
0.4609193801879883,
1.2096216678619385,
-0.05577382072806358,
-0.5284940004348755,
-0.06823589652776718,
-0.6392217874526978,
0.13100858032703... |
EmptyString checks for empty string "" "" etc are empty strings | [
-0.09151017665863037,
-0.8421773314476013,
0.263937383890152,
-0.0706455260515213,
0.001578601310029626,
1.7173571586608887,
-0.31715553998947144,
-1.1661649942398071,
-0.5345471501350403,
0.3401528298854828,
0.7229303121566772,
0.33233141899108887,
-0.1609337031841278,
0.2919166684150696,... |
InvalidEmail checks for email format | [
-0.13521620631217957,
-0.4156266152858734,
0.40138283371925354,
0.8673779964447021,
-0.6659337878227234,
0.26936855912208557,
-0.4803029000759125,
0.8109590411186218,
-0.31854331493377686,
-0.8612056970596313,
0.9919734001159668,
0.37351834774017334,
-0.6292346119880676,
-0.137434348464012... |
FileExist check if a file exist | [
-0.05181485041975975,
-0.6198592185974121,
0.6324983835220337,
1.008208155632019,
1.742945909500122,
0.8044646382331848,
-0.7426028251647949,
0.8935588002204895,
-2.009786605834961,
0.9683480262756348,
0.4014700949192047,
-1.7338021993637085,
0.46356338262557983,
0.3463497757911682,
-1.7... |
ValidFileExtension checks if the extension of a file in file path matches parameters : filepath, extension | [
1.2350679636001587,
-0.6826887726783752,
0.5030621290206909,
0.9149548411369324,
-0.2502187192440033,
0.6514723300933838,
-0.6055526733398438,
0.49489715695381165,
-0.44706711173057556,
1.4465099573135376,
0.08184344321489334,
0.033439844846725464,
-0.4557802081108093,
-0.8683134913444519,... |
EmailValidation adds email validation check to ValidatorResponse | [
0.13504454493522644,
-0.2291957139968872,
0.08767356723546982,
0.3126763105392456,
-0.12421543896198273,
-0.023532947525382042,
0.39288267493247986,
-0.048903051763772964,
0.8751829862594604,
0.05294520780444145,
-0.050376441329717636,
-0.7840335369110107,
-0.5035641193389893,
-0.097215361... |
IntegerValueValidation checks if the value is a valid integer | [
0.07272612303495407,
-0.12091009318828583,
0.4445059895515442,
0.6355043649673462,
-0.5416492223739624,
0.8593077659606934,
0.24062195420265198,
0.3254837989807129,
-0.1398916095495224,
-0.17405769228935242,
0.21581034362316132,
0.05627436563372612,
-0.7259032726287842,
0.47486987709999084... |
DBIntegerValidation checks for a positive id related to an sql row primary key | [
0.7696607708930969,
0.532721996307373,
0.2591589391231537,
0.5762768983840942,
-0.5658818483352661,
0.639998733997345,
-0.7123715281486511,
-0.589185893535614,
0.5685931444168091,
-0.09997925907373428,
0.8888412117958069,
-0.4864296317100525,
-0.9343776702880859,
1.0786746740341187,
0.11... |
EmailValue if not null check for email value | [
1.0114834308624268,
0.014058822765946388,
0.46107131242752075,
0.4853401184082031,
-0.3654164671897888,
-0.38186201453208923,
-0.6066846251487732,
0.22274814546108246,
-0.02801244892179966,
-0.03795221820473671,
0.8442126512527466,
0.7042175531387329,
-0.046156495809555054,
1.0234425067901... |
MockTestHandler01 router for mock test handlers. | [
-0.7879987955093384,
-0.4155973494052887,
0.28840792179107666,
1.2116352319717407,
0.4626975655555725,
0.403168261051178,
1.7302347421646118,
0.1512380987405777,
0.32443371415138245,
-0.045930057764053345,
-0.64531010389328,
-0.13747595250606537,
0.07811164110898972,
0.40686774253845215,
... |
mock test, returns bytes body with wait. Get /mocktest/one/1 | [
-0.8983469009399414,
0.5165548920631409,
0.6039149165153503,
0.32473480701446533,
0.3728536069393158,
0.335884153842926,
0.6701230406761169,
-0.8968672156333923,
0.30956199765205383,
0.0004256315005477518,
-0.7371883988380432,
0.1689920723438263,
-1.4446688890457153,
-0.5675102472305298,
... |
mock test, returns file content with wait. Get /mocktest/one/2 | [
-0.8703020811080933,
-0.5429796576499939,
0.7668233513832092,
0.5626042485237122,
0.19664248824119568,
0.2575667202472687,
0.9610500335693359,
-0.5299604535102844,
-1.2751299142837524,
-0.1550346463918686,
0.03793613985180855,
-0.7205496430397034,
-0.4768497347831726,
-1.1341997385025024,
... |
mock test, returns custom error code, like 404, 503. Get /mocktest/one/3 | [
-1.0787779092788696,
-0.3229459226131439,
0.5172319412231445,
0.01086714118719101,
0.056232236325740814,
-0.7292964458465576,
1.5020055770874023,
0.7968541979789734,
0.7866983413696289,
0.21545502543449402,
-0.1112087219953537,
0.6995301246643066,
-0.10938012599945068,
-0.5907428860664368,... |
mock test, returns httpdns json string. Get /mocktest/one/4 | [
-1.4727932214736938,
0.436612069606781,
0.45994457602500916,
-0.15889093279838562,
0.036240290850400925,
-0.7272493839263916,
0.07705333828926086,
-1.0911164283752441,
0.6684898734092712,
-0.37804490327835083,
-1.0510389804840088,
-0.013401689007878304,
-0.6338254809379578,
-0.797469675540... |
mock test, returns gzip and chunked http response Get /mocktest/one/5 | [
-0.0390755720436573,
-0.4667028486728668,
0.3815551698207855,
-0.002875247737392783,
0.45844098925590515,
-0.6057022213935852,
0.7169422507286072,
-0.8950590491294861,
-0.3058083951473236,
0.03152266889810562,
-0.3226948380470276,
-0.11344148218631744,
-0.8900249600410461,
-0.2296262532472... |
mock test, returns http response with diff mimetype. Get /mocktest/one/6 | [
-0.6913214325904846,
-0.5095441341400146,
0.5905517339706421,
0.3621962368488312,
0.39493149518966675,
-0.01592913269996643,
1.1645731925964355,
-0.44677990674972534,
0.38661104440689087,
0.3799758851528168,
-0.7515696287155151,
-0.3602573275566101,
-1.4396344423294067,
-0.8296619057655334... |
NewClient returns a new gfs client. | [
0.43697690963745117,
-0.9905878305435181,
0.08556945621967316,
0.1385667771100998,
-0.43228697776794434,
0.05144564434885979,
0.034061331301927567,
-1.134252905845642,
-0.7133410573005676,
-0.7601207494735718,
0.3283812999725342,
-0.2475227415561676,
-0.9010537266731262,
-0.925044953823089... |
Create is a client API, creates a file | [
-0.003536030650138855,
-0.283414363861084,
0.288019061088562,
0.8857566714286804,
1.027997612953186,
0.7255955934524536,
-0.27636852860450745,
-0.7036299705505371,
-1.658810019493103,
-0.4322344958782196,
-0.2958875894546509,
-0.2461635023355484,
0.02135809324681759,
-0.22965069115161896,
... |
Delete is a client API, deletes a file | [
0.4257555902004242,
-0.20055118203163147,
0.42394763231277466,
0.6998373866081238,
1.0933308601379395,
-0.39101165533065796,
-0.09621191024780273,
0.5965194702148438,
-0.9461243152618408,
-0.2042716145515442,
0.10188034176826477,
0.25858429074287415,
-0.8348933458328247,
-0.553598105907440... |
Rename is a client API, deletes a file | [
-0.3873591423034668,
-1.1245843172073364,
0.46191757917404175,
0.7849757671356201,
-0.25316375494003296,
-1.1448047161102295,
-0.18018710613250732,
0.6905876398086548,
-0.7229716181755066,
0.30913397669792175,
0.06373193860054016,
0.480081170797348,
-0.23221468925476074,
-0.747925996780395... |
Mkdir is a client API, makes a directory | [
-0.7097432017326355,
0.47845888137817383,
0.20597627758979797,
0.3389512896537781,
-0.20867936313152313,
0.6924185752868652,
0.1361687332391739,
-0.4484676718711853,
-0.24354679882526398,
-0.8983156085014343,
-0.1560811847448349,
-0.20217746496200562,
0.05295432731509209,
-0.03560567647218... |
List is a client API, lists all files in specific directory | [
-0.6976684331893921,
-0.9072543382644653,
0.24769234657287598,
-0.02532869204878807,
1.0377057790756226,
-1.209665060043335,
-0.18928703665733337,
0.1848330944776535,
-0.06273703277111053,
-0.2310720533132553,
-0.11284243315458298,
0.7605816125869751,
0.04938238114118576,
0.724075317382812... |
Read is a client API, read file at specific offset it reads up to len(data) bytes form the File. it return the number of bytes and an error. the error is set to io.EOF if stream meets the end of file | [
0.26457422971725464,
-0.2404552847146988,
0.9903368949890137,
-0.48666927218437195,
-0.6266055107116699,
0.33298590779304504,
-0.09807832539081573,
-0.498321533203125,
-1.0697447061538696,
-0.40832003951072693,
0.11426673829555511,
0.28535929322242737,
-0.4354274570941925,
-0.2269159406423... |
Write is a client API. write data to file at specific offset | [
-1.0954792499542236,
-1.3950021266937256,
0.3160001337528229,
-0.9626559019088745,
0.9892408847808838,
1.032393217086792,
-0.2974002957344055,
-0.15313419699668884,
-1.7306818962097168,
-0.16350950300693512,
-0.5082537531852722,
0.2594890594482422,
0.019592391327023506,
-0.9475532174110413... |
Append is a client API, append data to file | [
-0.16290704905986786,
-1.2203820943832397,
0.2787327766418457,
-0.322270929813385,
0.11828339099884033,
0.8374632596969604,
-1.0216608047485352,
0.02105649933218956,
-0.9253474473953247,
-0.44542521238327026,
-0.14067474007606506,
0.6940197348594666,
0.056461699306964874,
0.511042714118957... |
GetChunkHandle returns the chunk handle of (path, index). If the chunk doesn't exist, master will create one. | [
0.15043121576309204,
0.20802800357341766,
0.2624436914920807,
-0.26157766580581665,
1.2173548936843872,
0.4566689431667328,
0.33550208806991577,
-1.0036166906356812,
-0.34121033549308777,
-1.4480111598968506,
0.5958202481269836,
1.0288687944412231,
-0.8142340779304504,
-1.7638046741485596,... |
ReadChunk read data from the chunk at specific offset. len(data)+offset should be within chunk size. | [
-0.22282353043556213,
-0.4056410789489746,
0.5139839053153992,
-0.5586532354354858,
-0.48884186148643494,
0.8915795087814331,
-0.6475731134414673,
0.26253095269203186,
-0.9339329600334167,
-0.9429779052734375,
0.6254850625991821,
1.1816095113754272,
0.874027669429779,
-0.8624822497367859,
... |
WriteChunk writes data to the chunk at specific offset. len(data)+offset should be within chunk size. | [
-0.8888602256774902,
-0.3323322534561157,
0.4715910851955414,
-0.6573054790496826,
0.4356153905391693,
0.8007596731185913,
-0.21088773012161255,
0.6418488025665283,
-0.52187180519104,
-1.1181436777114868,
0.031274691224098206,
0.8477208018302917,
0.6040762662887573,
-0.11785177886486053,
... |
AppendChunk appends data to a chunk. Chunk offset of the start of data will be returned if success. len(data) should be within 1/4 chunk size. | [
-0.08423341065645218,
0.550767719745636,
0.48907390236854553,
0.5143669843673706,
-0.27753448486328125,
0.10254410654306412,
-0.4627799093723297,
-0.8051448464393616,
-0.29198867082595825,
-1.6500535011291504,
-0.07033887505531311,
0.1322488784790039,
-0.6061508655548096,
0.274252444505691... |
Lint lints documentation files | [
1.5828251838684082,
0.05735955759882927,
0.09609080851078033,
0.09594853222370148,
0.7488043308258057,
0.9871922731399536,
1.3501514196395874,
-0.6038660407066345,
0.36879095435142517,
-0.5810559988021851,
0.1734846830368042,
-0.3699154257774353,
0.5428777933120728,
1.2456284761428833,
-... |
GetUserIDbyToken returns user by ID | [
0.6459303498268127,
-1.0832427740097046,
-0.09804817289113998,
0.3851059675216675,
0.4977402687072754,
0.24575340747833252,
-0.43434348702430725,
-0.71696537733078,
-0.13817283511161804,
-0.47000452876091003,
-0.8838184475898743,
0.13126207888126373,
-0.1355021744966507,
-0.104570105671882... |
CreateToken is a func which takes ID of user and creates a token for this user | [
-0.04359608143568039,
-0.14323166012763977,
0.12375890463590622,
1.0558335781097412,
0.5849660038948059,
0.5600298643112183,
0.3657200336456299,
0.42990002036094666,
0.0928153321146965,
-1.2589521408081055,
-1.1296638250350952,
0.13856136798858643,
0.8794030547142029,
0.20361508429050446,
... |
DeleteToken is a func which takes userID and deletes a token corresponding to it | [
0.61986243724823,
-0.10879252105951309,
0.15380539000034332,
0.6448390483856201,
-0.28388917446136475,
-0.07683314383029938,
0.5872392654418945,
1.202971339225769,
0.797633707523346,
-0.9787047505378723,
-0.583170473575592,
1.2791087627410889,
0.9323331117630005,
0.421792209148407,
-0.63... |
Hex constructs an integer target from a hex string. | [
-0.40725043416023254,
-0.5848120450973511,
0.28519773483276367,
-0.8283404111862183,
-0.055933304131031036,
-0.4441186487674713,
-0.8196458220481873,
0.9238399863243103,
0.662713885307312,
-1.0153441429138184,
0.44328856468200684,
0.4440438449382782,
0.38520553708076477,
-0.808038294315338... |
Target computes the addition chain target value Nd. | [
-0.6400873064994812,
0.20520265400409698,
0.13557815551757812,
0.37514522671699524,
0.6144753694534302,
0.04030246287584305,
-0.40147608518600464,
-1.2423683404922485,
0.10375656187534332,
-0.5018268823623657,
1.1525893211364746,
1.8076030015945435,
0.5797954797744751,
0.15270884335041046,... |
Delta relative to best known. | [
0.6330322027206421,
-0.254618763923645,
0.4045937657356262,
0.7022852301597595,
-0.31097936630249023,
1.8181841373443604,
0.83026123046875,
-0.1232481449842453,
-0.7820686101913452,
-0.4213007390499115,
-0.33270925283432007,
0.18226981163024902,
1.2378826141357422,
0.147159606218338,
-0.... |
Write implements io.Writer. If a write would cause the log file to be larger than MaxSize, the file is closed, renamed to include a timestamp of the current time, and a new log file is created using the original log file name. If the length of the write is greater than MaxSize, an error is returned. | [
-0.48950302600860596,
0.007266632281243801,
0.8489086627960205,
0.5602720975875854,
0.21276794373989105,
0.2586260437965393,
0.10430639982223511,
0.14224377274513245,
-0.38687291741371155,
0.4653988480567932,
-0.021617796272039413,
-0.6563093066215515,
0.19528470933437347,
0.07408177107572... |
Close implements io.Closer, and closes the current logfile. | [
0.27742624282836914,
-0.9168992638587952,
0.5509375929832458,
-0.4330117106437683,
-0.43068447709083557,
1.6062653064727783,
0.5727753043174744,
-0.6468847393989563,
-1.890782356262207,
-0.8259400129318237,
0.4362379014492035,
0.11970633268356323,
-0.845767080783844,
-0.12025023251771927,
... |
close closes the file if it is open. | [
0.543594241142273,
0.09731076657772064,
0.5119826197624207,
0.8114981651306152,
0.1625451296567917,
0.5964034795761108,
0.36960676312446594,
-0.37202417850494385,
-1.4290895462036133,
-0.9955459237098694,
1.5392223596572876,
-0.6701620221138,
-0.6030874252319336,
0.8005601167678833,
-0.4... |
Rotate causes FileWriter to close the existing log file and immediately create a new one. This is a helper function for applications that want to initiate rotations outside of the normal rotation rules, such as in response to SIGHUP. After rotating, this initiates compression and removal of old log files according to t... | [
0.3083069622516632,
-0.22272619605064392,
0.5220988392829895,
-0.17336517572402954,
0.09668806940317154,
0.039495036005973816,
1.190403938293457,
-0.07456096261739731,
-1.0805846452713013,
-0.5731011033058167,
0.04014677181839943,
-0.5660593509674072,
-0.5856550335884094,
-0.54080730676651... |
rotate closes the current file, moves it aside with a timestamp in the name, (if it exists), opens a new file with the original filename, and then runs postrotation processing and removal. | [
-0.32320621609687805,
-0.574545681476593,
0.5406689643859863,
-0.00866621732711792,
-0.3494792878627777,
-0.24794583022594452,
1.5113664865493774,
-0.019499313086271286,
-0.4917694628238678,
0.2246042639017105,
-0.09997870773077011,
-0.5535094738006592,
-0.6223916411399841,
-0.473911821842... |
openNew opens a new log file for writing, moving any old log file out of the way. This methods assumes the file has already been closed. | [
-0.09318707138299942,
-0.6770602464675903,
0.5633738040924072,
0.029404500499367714,
-0.4632868766784668,
0.8641942739486694,
0.5010707974433899,
-0.10319780558347702,
-1.3927117586135864,
-1.1243568658828735,
0.5905333161354065,
-0.14286991953849792,
0.3657687306404114,
0.3086166679859161... |
backupName creates a new filename from the given name, inserting a timestamp between the filename and the extension, using the local time if requested (otherwise UTC). | [
0.3777516186237335,
-0.4183961749076843,
0.8168092966079712,
0.337877482175827,
-0.7411692142486572,
-0.0873747318983078,
-0.5719307065010071,
0.6217490434646606,
0.15087862312793732,
0.8033735156059265,
-0.45303210616111755,
-0.7662208676338196,
0.6295077800750732,
-0.649232804775238,
0... |
openExistingOrNew opens the logfile if it exists and if the current write would not put it over MaxSize. If there is no such file or the write would put it over the MaxSize, a new file is created. | [
-0.03353298082947731,
0.2192840725183487,
0.6488942503929138,
0.012528869323432446,
0.1794675886631012,
0.5589392781257629,
0.5867897272109985,
-0.17852512001991272,
-0.17992660403251648,
-0.14189836382865906,
0.6914646625518799,
-0.43492910265922546,
-0.09831345081329346,
0.07798528671264... |
genFilename generates the name of the logfile from the current time. | [
-0.7968745827674866,
-0.9805396795272827,
0.6804671287536621,
0.15782973170280457,
0.08619774878025055,
1.1969822645187378,
-0.2818298637866974,
0.4879603087902069,
-1.4499295949935913,
-0.004584603477269411,
-0.2540263831615448,
-0.49850553274154663,
1.1565271615982056,
-0.127312317490577... |
millRunOnce performs compression and removal of stale log files. Log files are compressed if enabled via configuration and old log files are removed, keeping at most l.MaxBackups files, as long as none of them are older than MaxAge. | [
0.4406760334968567,
0.7796612977981567,
0.6818516254425049,
1.320936918258667,
-0.47164806723594666,
-0.08276582509279251,
0.31376001238822937,
0.48924776911735535,
0.33498620986938477,
0.6297610402107239,
-0.2379060685634613,
-1.7021316289901733,
-0.6166220903396606,
0.7590586543083191,
... |
millRun runs in a goroutine to manage postrotation compression and removal of old log files. | [
0.41304662823677063,
-0.3323900103569031,
0.33704903721809387,
0.2817143201828003,
-0.6608834862709045,
-0.5386473536491394,
1.2892619371414185,
-0.1516384482383728,
0.6953108906745911,
-0.02086244709789753,
-0.3932294547557831,
-1.1046475172042847,
-0.9641168713569641,
0.3094303011894226,... |
mill performs postrotation compression and removal of stale log files, starting the mill goroutine if necessary. | [
0.3716859519481659,
-0.5497170686721802,
0.26797419786453247,
0.5976047515869141,
-0.21333980560302734,
-0.23706354200839996,
1.5067369937896729,
-0.2956288456916809,
0.45068928599357605,
-0.3313876688480377,
-0.08900175243616104,
-1.1554852724075317,
-0.859798789024353,
0.639168381690979,... |
oldLogFiles returns the list of backup log files stored in the same directory as the current log file, sorted by ModTime | [
0.20574763417243958,
-0.5383782386779785,
0.6989133358001709,
0.24264587461948395,
-0.03671024367213249,
-0.32583877444267273,
-0.004349066875874996,
-0.4995548725128174,
0.2895616590976715,
0.003569717751815915,
-0.5760051608085632,
0.6229256391525269,
-0.8185842633247375,
-0.031665194779... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.