text stringlengths 7 2.39k | embedding listlengths 768 768 |
|---|---|
Validate a password against a precomputed hash. | [
0.7796955108642578,
-0.24212616682052612,
0.15101511776447296,
1.2078514099121094,
-0.557940661907196,
0.7068490386009216,
0.7103789448738098,
0.5383750200271606,
-0.6437528729438782,
-0.4315245449542999,
0.36622801423072815,
0.013121187686920166,
0.1060623750090599,
0.5563746094703674,
... |
Compute the hashed value of pass combined with salt | [
0.9707821011543274,
-0.10730733722448349,
0.2912754714488983,
0.6989675760269165,
0.40773898363113403,
0.9341854453086853,
-0.6494423151016235,
-0.2350633144378662,
0.24765928089618683,
-0.09780615568161011,
0.334735631942749,
-0.022192424163222313,
0.2752579152584076,
-0.05326887965202331... |
Generate salt with a specified entropy. | [
-0.709521472454071,
0.2307264506816864,
0.12038539350032806,
-1.327746868133545,
-0.7809933423995972,
0.3945288360118866,
-0.9726772308349609,
0.17353229224681854,
-0.4402052164077759,
0.2860145568847656,
0.1865876168012619,
-0.09609527140855789,
0.6433842778205872,
-1.0816456079483032,
... |
See Check(). The hash, and salt values must encoded by DefaultEncoding | [
1.0711748600006104,
1.1192773580551147,
0.1467084437608719,
1.4458175897598267,
0.8752952218055725,
1.1154348850250244,
-0.6088221669197083,
-0.5310481190681458,
-0.23017358779907227,
-0.8011636734008789,
-0.4154263138771057,
-0.42469945549964905,
-0.7348064184188843,
0.6609021425247192,
... |
See Hash(). The salt must be encoded by DefaultEncoding. | [
0.8164836764335632,
1.1063783168792725,
-0.0213974267244339,
0.8636044263839722,
0.3537799119949341,
0.9129396677017212,
-0.7857882976531982,
-0.806175708770752,
0.5712270736694336,
-0.863394558429718,
-1.1577409505844116,
-0.07356273382902145,
-0.5129174590110779,
-0.26727262139320374,
... |
See Salt(). Encodes salt with DefaultEncoding. | [
0.544522225856781,
0.19218936562538147,
-0.10666687041521072,
0.20334307849407196,
-0.327917218208313,
-0.18317469954490662,
-1.0421500205993652,
-1.0172191858291626,
0.5031159520149231,
-0.5351638197898865,
-0.718038022518158,
0.5124481320381165,
-0.3371497690677643,
0.0034144523087888956... |
Sets the point to a new x and y position. If y is omitted, both x and y will be set to x. | [
-0.34605032205581665,
-0.4335043430328369,
0.4533196985721588,
0.07847288995981216,
0.4592081308364868,
0.052621856331825256,
-0.9206730127334595,
0.10245329141616821,
0.19136305153369904,
-0.03230483457446098,
-0.34684982895851135,
0.666151225566864,
0.4452707767486572,
0.0438879840075969... |
MakeHttpHandler make http handler use mux | [
0.09210944175720215,
0.5748969316482544,
0.2938416004180908,
0.6622368693351746,
-1.0616711378097534,
0.9280081987380981,
-0.6668124198913574,
0.7603467702865601,
-0.018589774146676064,
-0.48527294397354126,
-0.20244672894477844,
-0.025596201419830322,
0.05042301490902901,
-0.2517868578433... |
decodeStringRequest decode request params to struct | [
-1.4145526885986328,
-0.7570045590400696,
0.25163301825523376,
-0.9837003946304321,
-0.06970751285552979,
-0.31687131524086,
-1.039805293083191,
-0.6363797783851624,
-0.2653742730617523,
-0.3250478208065033,
0.1661781370639801,
0.15998663008213043,
-0.27816101908683777,
-0.9788805246353149... |
encodeStringResponse encode response to return | [
-0.04069165512919426,
-1.6819281578063965,
0.008063755929470062,
-0.4749930799007416,
0.23722466826438904,
-0.6596128344535828,
-0.22188906371593475,
-0.9827120304107666,
1.0920710563659668,
0.18198323249816895,
-0.43147605657577515,
-0.18696388602256775,
-0.9920535087585449,
-1.5553531646... |
newResponse Instantiate a new pagination response. Params: total int Number of items there are in total. perPage int Number of items to display per page. currentPage int Which page are we on? lastPage int The number of the last possible page. Return: Response The instantiated pagination response. | [
-0.046274468302726746,
-1.8568320274353027,
0.4618414342403412,
-0.3628081679344177,
-0.07850641757249832,
-0.8938267230987549,
0.8232203125953674,
-0.2067604511976242,
0.7062375545501709,
0.3317047655582428,
0.6404323577880859,
-1.2810249328613281,
-0.7025924324989319,
0.03019564971327781... |
Given a port, call Amazon and ask them to update the security rules for that port | [
-0.22735890746116638,
-0.09372568875551224,
0.29914405941963196,
0.1408444344997406,
0.5549638867378235,
0.05542973428964615,
-0.13831903040409088,
-0.31889379024505615,
0.6723030209541321,
0.4110378623008728,
-0.4040667712688446,
0.5777394771575928,
-0.9605461359024048,
-0.723019659519195... |
Amazon's AWS SDK uses a special struct to track the input arguments for each of its functions, which is a little weird, but this method generates that for a given port. | [
-1.1174341440200806,
0.8080345988273621,
0.4355863630771637,
-1.0389384031295776,
0.4644720256328583,
-0.06640537083148956,
0.010668567381799221,
-0.6201230883598328,
-0.17793165147304535,
-0.5725482702255249,
-0.7342239618301392,
-0.04279256984591484,
0.23678961396217346,
0.35322210192680... |
fetch the current value for a key. returns "" if the key does not exist. keeps trying forever in the face of all other errors. you can send an RPC with code like this: ok := ck.servers[i].Call("KVServer.Get", &args, &reply) the types of args and reply (including whether they are pointers) must match the declared types ... | [
-0.5472989678382874,
0.3654327094554901,
0.5315961241722107,
0.11662103980779648,
-0.4876251220703125,
0.10436039417982101,
-0.9296894073486328,
-1.3409761190414429,
-0.239204540848732,
0.3455083966255188,
0.706190824508667,
0.2571064531803131,
-1.5123714208602905,
0.3585607409477234,
0.... |
shared by Put and Append. you can send an RPC with code like this: ok := ck.servers[i].Call("KVServer.PutAppend", &args, &reply) the types of args and reply (including whether they are pointers) must match the declared types of the RPC handler function's arguments. and reply must be passed as a pointer. | [
-0.5503990650177002,
0.4460626542568207,
0.803351640701294,
-0.024006715044379234,
-0.2761690020561218,
0.7362414002418518,
-0.5318310856819153,
-0.4712405502796173,
0.026833966374397278,
0.8014787435531616,
0.1084333136677742,
0.6384919881820679,
-2.2201950550079346,
0.9365935325622559,
... |
NewTokenCredentialAdapter is used to adapt an azcore.TokenCredential to an autorest.Authorizer | [
0.2853440046310425,
-1.0121091604232788,
0.16922977566719055,
0.02994959056377411,
-1.774876356124878,
-0.5316337943077087,
-0.6420249342918396,
-0.7944009900093079,
0.33015626668930054,
-0.06232219934463501,
0.2214226871728897,
1.156187891960144,
-0.3711543083190918,
-0.39221101999282837,... |
WithAuthorization implements the autorest.Authorizer interface for type policyAdapter. | [
0.23532816767692566,
-0.4889400005340576,
-0.017360176891088486,
0.9367857575416565,
-1.2024272680282593,
-0.0013690057676285505,
0.5220689177513123,
-0.28387805819511414,
1.018775224685669,
0.5444483757019043,
0.31959840655326843,
0.18972650170326233,
1.0961498022079468,
0.196428924798965... |
NewDefaultAzureCredentialAdapter adapts azcore.NewDefaultAzureCredential to an autorest.Authorizer. | [
-0.08635638654232025,
-0.16951237618923187,
0.18047210574150085,
1.6152849197387695,
-0.6978858709335327,
-0.27487924695014954,
0.5796641111373901,
0.2991352677345276,
0.0779159888625145,
0.381401002407074,
0.2938433885574341,
-0.289712131023407,
-0.5745866298675537,
0.38562196493148804,
... |
New makes a Printer | [
-0.37548118829727173,
-1.7563844919204712,
0.04810508340597153,
0.35356104373931885,
-0.8763015270233154,
-0.6413735747337341,
-0.6648007035255432,
-0.5100646018981934,
-0.4857521653175354,
-1.3143773078918457,
-0.7340399026870728,
0.6515028476715088,
0.1812533438205719,
0.1481618732213974... |
Print print a complex message | [
0.2800619602203369,
-0.4503500461578369,
0.2727035582065582,
0.4067135453224182,
-0.0011599600547924638,
0.13913393020629883,
0.013641715049743652,
-0.17897944152355194,
-0.3552861213684082,
-1.0693355798721313,
0.2956557273864746,
0.5580238699913025,
-1.472497820854187,
0.3612333238124847... |
randomWinner returns a contestant at a random index in the input slice. | [
-1.5319981575012207,
-1.0254796743392944,
0.24522951245307922,
0.4116188883781433,
-1.0353915691375732,
0.1066046804189682,
-0.21481171250343323,
-0.04966006428003311,
1.3715497255325317,
0.045672014355659485,
-0.32160767912864685,
1.0557891130447388,
-0.2655465304851532,
-1.37062740325927... |
GroupsHandler handles request for creating a group | [
-0.8407846093177795,
0.7605366110801697,
0.09035979956388474,
0.4984797537326813,
0.7531659007072449,
-0.12524741888046265,
0.42629432678222656,
-0.5096662640571594,
-1.1478490829467773,
-0.8614224791526794,
0.4180271625518799,
-1.2926586866378784,
-0.21422293782234192,
1.0671000480651855,... |
SpecificGroupsHandler handles request for a specific group with given id. Only creator can manage the information of this group. Other users in the group can view the member, meetings | [
-0.47681570053100586,
0.645600438117981,
0.14515525102615356,
1.3261256217956543,
-0.024541201069951057,
-0.31225118041038513,
0.008471216075122356,
-0.5269245505332947,
-0.132297083735466,
-0.7018131613731384,
0.6475768089294434,
0.7003663778305054,
-0.4702092409133911,
0.5496561527252197... |
GroupsMeetingHandler handles request for managing a meeting. A user can create a meeting for the group. The creator of a meeting or the creator of a group can modify the meeting information | [
-1.0940008163452148,
0.5378513336181641,
0.5126022696495056,
1.6963235139846802,
-0.0008491949993185699,
-0.2597135305404663,
-0.27793681621551514,
-0.7138357162475586,
-0.6665746569633484,
-0.193503737449646,
0.6670424938201904,
-0.5921145677566528,
-0.6185452938079834,
0.5281363725662231... |
SpecificGroupsMeetingHandler handles request for a specific group meeting with given id. | [
-1.0429579019546509,
0.23983240127563477,
0.19386787712574005,
0.732870876789093,
-0.3767434060573578,
-0.005526422057300806,
-0.17395853996276855,
-0.2886603772640228,
-0.8538597226142883,
0.4261362552642822,
0.6710774302482605,
0.4429628849029541,
-0.138943150639534,
0.19823822379112244,... |
ScheduleHandler add, get and delte schedules | [
0.10000813007354736,
0.27276667952537537,
0.5661558508872986,
-0.004195106215775013,
-0.1616499423980713,
-0.3560251295566559,
-0.11923883110284805,
0.4169190526008606,
1.0581296682357788,
0.28656062483787537,
-0.05387454852461815,
-1.3851851224899292,
-0.18537873029708862,
-0.190528258681... |
SpecificScheduleHandler handles request for a schedule with given id from url | [
-0.7306509613990784,
-0.45803576707839966,
0.3101755678653717,
0.7458419799804688,
-0.31499049067497253,
-0.7721683382987976,
-0.3717503845691681,
0.2054891288280487,
0.5476830005645752,
-0.46337658166885376,
-0.04205310717225075,
-0.2838315963745117,
0.10601463168859482,
-0.20649372041225... |
ImportCSV takes a reader and iterates over the rows and imports them as a JSON records into dataset. BUG: returns lines processed should probably return number of rows imported | [
-0.7055867910385132,
-0.502331554889679,
0.4758334457874298,
-0.30667877197265625,
-0.5115805864334106,
-0.28892606496810913,
0.2217569649219513,
0.1084742322564125,
0.6059341430664062,
-0.038717906922101974,
0.04868476837873459,
0.04524046182632446,
0.5060635805130005,
-0.4630648195743561... |
ExportCSV takes a reader and frame and iterates over the objects generating rows and exports then as a CSV file | [
-0.2028806060552597,
-0.1554475873708725,
0.36818644404411316,
1.4459282159805298,
-0.23773039877414703,
-0.4588876962661743,
0.47593528032302856,
0.07716682553291321,
0.147654190659523,
-0.1257718950510025,
0.6102967858314514,
0.11062201857566833,
0.4070841372013092,
0.7171231508255005,
... |
ExportTable takes a reader and frame and iterates over the objects generating rows and exports then as a CSV file | [
-0.0383194237947464,
-0.055409546941518784,
0.3707304894924164,
1.783521056175232,
-0.38463425636291504,
-0.3847270607948303,
0.3345267176628113,
-0.1478900909423828,
-0.4918366074562073,
0.22522342205047607,
0.6089797616004944,
-0.04040226340293884,
0.4406418800354004,
0.7578262686729431,... |
~15% slower than using copy despite "reducing" iterations. | [
1.0215301513671875,
0.4524169862270355,
0.29191046953201294,
-0.09829229861497879,
-1.1856873035430908,
-0.46746987104415894,
1.6154720783233643,
-0.6273435354232788,
0.06926096975803375,
0.791883111000061,
-0.13129645586013794,
0.4220392405986786,
0.23951931297779083,
0.4010520875453949,
... |
Validate validates this band selection type | [
-0.3320162892341614,
-0.6804647445678711,
-0.0006503015756607056,
1.1960580348968506,
0.35017070174217224,
1.0707650184631348,
0.5341684818267822,
-1.3717613220214844,
0.35647934675216675,
-0.05895398557186127,
0.33395659923553467,
0.16472101211547852,
-0.7490471601486206,
0.41318404674530... |
NewScanner new app config scanner | [
0.05119207128882408,
-1.059854507446289,
0.014033089391887188,
1.857037901878357,
-1.3304067850112915,
0.1874045580625534,
-1.3752323389053345,
0.35988649725914,
-0.3166879713535309,
-0.8102521300315857,
-0.5953076481819153,
-0.806488037109375,
0.6358498334884644,
1.32493257522583,
1.184... |
Fast returns a quicker version of this CompositeMapper that cannot be used by multiple goroutines simultaneously as if FastCompose were used. | [
-0.33598747849464417,
-0.554275631904602,
0.7644897699356079,
0.3166237473487854,
-1.0471402406692505,
-0.024375738576054573,
1.4088761806488037,
-0.50279700756073,
0.4358239769935608,
-0.8747149705886841,
-0.03860953450202942,
-0.8198078274726868,
-0.618252694606781,
0.4501212537288666,
... |
NilStream returns a Stream that emits no values. | [
-0.24349308013916016,
-0.02887946367263794,
0.30804070830345154,
-0.11754989624023438,
-0.0024928180500864983,
-0.4615764617919922,
-0.2610190510749817,
-1.1002336740493774,
-0.6212999820709229,
-1.6285591125488281,
-0.6509349346160889,
0.8855113983154297,
-0.24051164090633392,
1.454133868... |
Map applies f, which maps a type T value to a type U value, to a Stream of T producing a new Stream of U. If s is (x1, x2, x3, ...), Map returns the Stream (f(x1), f(x2), f(x3), ...). If f returns false for a T value, then the corresponding U value is left out of the returned stream. ptr is a T providing storage for em... | [
-0.6223792433738708,
0.3224732577800751,
0.7704875469207764,
0.7886161804199219,
-0.8729532361030579,
0.25530850887298584,
1.021227478981018,
-0.2778332233428955,
0.189475417137146,
-0.4554707407951355,
0.4585825502872467,
0.03779842332005501,
0.6889165639877319,
0.3516082763671875,
-1.0... |
Filter filters values from s, returning a new Stream of T. The returned Stream's Next method reports any errors besides Skipped that the Filter method of f returns. Calling Close on returned Stream closes s. f is a Filterer of T; s is a Stream of T. | [
0.3249589204788208,
-0.3281603455543518,
0.4027736783027649,
0.715664267539978,
-0.8665052652359009,
-0.21486201882362366,
0.7724734544754028,
-1.4555251598358154,
-0.8303330540657043,
-0.2258855253458023,
0.4203496277332306,
0.8683949708938599,
0.5808359980583191,
0.7829782366752625,
-1... |
Count returns an infinite Stream of int which emits all values beginning at 0. | [
0.5082747340202332,
0.2088719606399536,
0.5092387199401855,
0.04148560017347336,
0.39047783613204956,
-0.45402199029922485,
0.5610937476158142,
-0.21213534474372864,
-0.3115944266319275,
-1.2284594774246216,
-0.9258722066879272,
0.32619643211364746,
-0.13984236121177673,
1.163651466369629,... |
CountFrom returns an infinite Stream of int emitting values beginning at start and increasing by step. | [
0.6415657997131348,
-0.1102469190955162,
0.3147977292537689,
0.14016805589199066,
-0.35689324140548706,
-0.7138782739639282,
0.7571869492530823,
-0.25526100397109985,
-0.40368014574050903,
-1.2452552318572998,
-0.5542940497398376,
0.4381031095981598,
0.37507113814353943,
0.8161787390708923... |
Slice returns a Stream that will emit elements in s starting at index start and continuing to but not including index end. Indexes are 0 based. If end is negative, it means go to the end of s. Calling Close on returned Stream closes s. When end of returned Stream is reached, it closes s if it has not consumed s returni... | [
-0.15681912004947662,
-0.2312680333852768,
0.5782874822616577,
0.4297032654285431,
-0.6469357013702393,
-0.7415496706962585,
0.39241307973861694,
-0.9869223237037659,
0.13505299389362335,
-0.2368069738149643,
0.3564923107624054,
1.1046924591064453,
-0.8630872964859009,
0.06919541954994202,... |
ReadRows returns the rows in a database table as a Stream of Tuple. When end of returned Stream is reached, it closes r if r implements io.Closer propagating any Close error through Next. Calling Close on returned stream closes r if r implements io.Closer. | [
-0.5004317164421082,
0.3317934572696686,
0.6171950101852417,
0.4054802656173706,
-1.0322903394699097,
-0.5097888708114624,
0.25049880146980286,
-1.160122275352478,
-0.5489727854728699,
0.10399354994297028,
1.023522138595581,
-1.1534911394119263,
-0.9017159938812256,
0.2971858084201813,
-... |
ReadLines returns the lines of text in r separated by either "\n" or "\r\n" as a Stream of string. The emitted string types do not contain the end of line characters. When end of returned Stream is reached, it closes r if r implements io.Closer propagating any Close error through Next. Calling Close on returned Stream ... | [
0.739192545413971,
-0.6565911769866943,
0.694044291973114,
0.10370159894227982,
-1.282536506652832,
-0.1342681646347046,
-0.331082820892334,
-1.4431813955307007,
0.23320476710796356,
-0.689595639705658,
0.9601553678512573,
-0.37319502234458923,
-0.7012960314750671,
0.4706457853317261,
-0... |
Deferred returns a Stream that emits the values from the Stream f returns. f is not called until the first time Next is called on the returned stream. Calling Close on returned Stream closes the Stream f creates or does nothing if f not called. | [
0.1272069811820984,
0.8317528963088989,
0.7516857981681824,
0.6339256167411804,
-0.23832310736179352,
-0.1708807498216629,
-0.11551207304000854,
-0.9533467292785645,
-0.04345636069774628,
-2.119060754776001,
0.34950998425483704,
0.12318110466003418,
-0.19174060225486755,
1.7298190593719482... |
Cycle returns a Stream that repeatedly calls f and emits the resulting values. Note that if f repeatedly returns the NilStream, calling Next() on returned Stream will create an infinite loop. Calling Close on returned Stream closes the last Stream f created or does nothing if f not called. If f returns a Stream of T th... | [
-0.08702004700899124,
0.52170729637146,
0.7205341458320618,
0.5584621429443359,
-0.2007259726524353,
-0.7088356614112854,
0.3569663166999817,
-1.557396411895752,
-0.46004897356033325,
-0.8412299156188965,
0.45889997482299805,
0.27881094813346863,
-0.3574659526348114,
1.3110227584838867,
... |
Concat concatenates multiple Streams into one. If x = (x1, x2, ...) and y = (y1, y2, ...) then Concat(x, y) = (x1, x2, ..., y1, y2, ...). Calling Close on returned Stream closes all underlying streams. If caller passes a slice to Concat, no copy is made of it. | [
-0.5212640762329102,
-0.3386540114879608,
0.935668408870697,
0.6811181306838989,
-0.8841562271118164,
-0.2999553084373474,
0.29068848490715027,
-1.9180959463119507,
-0.3921206593513489,
-0.47577613592147827,
0.7403439283370972,
-0.28161653876304626,
-0.3690991997718811,
1.2838950157165527,... |
NewStreamFromValues converts a []T into a Stream of T. aSlice is a []T. c is a Copier of T. If c is nil, regular assignment is used. Calling Close on returned Stream does nothing. | [
0.3611445426940918,
-0.5181838274002075,
0.5327011942863464,
0.7422303557395935,
-0.43960437178611755,
-0.1632542610168457,
0.3791334927082062,
-0.8208611607551575,
-0.09902114421129227,
0.12645485997200012,
0.47402405738830566,
0.09544288367033005,
0.5290328860282898,
1.6599491834640503,
... |
NewStreamFromPtrs converts a []T into a Stream of T. aSlice is a []T. c is a Copier of T. If c is nil, regular assignment is used. Calling Close on returned Stream does nothing. | [
0.2216571718454361,
-0.8952451944351196,
0.5132235288619995,
0.18935614824295044,
-0.32938703894615173,
-0.3304899036884308,
0.30538901686668396,
-0.5817843675613403,
-0.2542162537574768,
0.15097954869270325,
0.49342671036720276,
0.34728336334228516,
0.2993157207965851,
1.0997509956359863,... |
Flatten converts a Stream of Stream of T into a Stream of T. Calling Close on returned Stream closes s and the last emitted Stream from s. | [
-0.4673146605491638,
-0.8327359557151794,
0.5529331564903259,
-0.26813721656799316,
-0.7209673523902893,
-0.29034239053726196,
0.6402460932731628,
-0.6497483253479004,
0.5159433484077454,
-0.9197052121162415,
-0.34304994344711304,
0.5644773244857788,
-0.4339950382709503,
0.4553297460079193... |
TakeWhile returns a Stream that emits the values in s until the Filter method of f returns Skipped. The returned Stream's Next method reports any errors besides Skipped that the Filter method of f returns. When end of returned Stream is reached, it automatically closes s if s is not exhausted. Calling Close on returned... | [
0.4502291679382324,
-0.1084449514746666,
0.6012337803840637,
0.4917340576648712,
-0.817808985710144,
-0.26852068305015564,
0.4208681881427765,
-1.414019227027893,
-0.5559242963790894,
-0.17657840251922607,
0.00842210091650486,
0.5689955949783325,
0.1324358433485031,
0.10986126214265823,
... |
DropWhile returns a Stream that emits the values in s starting at the first value where the Filter method of f returns Skipped. The returned Stream's Next method reports any errors that the Filter method of f returns until it returns Skipped. Calling Close on returned Stream closes s. f is a Filterer of T; s is a Strea... | [
-0.313478022813797,
-0.09307117760181427,
0.5947185158729553,
0.2674000859260559,
-0.6781124472618103,
-0.017490508034825325,
0.2561839520931244,
-1.5901137590408325,
-0.8939700722694397,
-0.2173907309770584,
0.0976540669798851,
0.6764730215072632,
0.01812025159597397,
0.1411035656929016,
... |
Any returns a Filterer that returns Skipped if all of the fs return Skipped. Otherwise it returns nil or the first error not equal to Skipped. | [
-0.6323765516281128,
0.20255905389785767,
0.6577841639518738,
0.6797887086868286,
0.2154507339000702,
-0.4521792531013489,
0.3542419970035553,
-0.01947709731757641,
-0.445015549659729,
-1.1396129131317139,
0.6495363712310791,
-0.617904543876648,
-0.23691096901893616,
0.3544597029685974,
... |
All returns a Filterer that returns nil if all of the fs return nil. Otherwise it returns the first error encountered. | [
0.3537788391113281,
-0.40625035762786865,
0.6415954232215881,
0.8742436170578003,
0.4465579390525818,
-0.8278842568397522,
-0.5562071800231934,
0.18662551045417786,
0.005051678977906704,
-0.9582026600837708,
0.5854930281639099,
-0.8277093172073364,
-0.558688223361969,
0.8003707528114319,
... |
Compose composes two Mappers together into one e.g f(g(x)). If g maps type T values to type U values, and f maps type U values to type V values, then Compose returns a CompositeMapper mapping T values to V values. c is a Creater of U. Each time Map is called on returned CompositeMapper, it invokes c to create a U value... | [
-1.3326853513717651,
-0.12710577249526978,
0.730374813079834,
0.6893898844718933,
-0.25918853282928467,
-0.0025395527482032776,
0.1308416873216629,
-0.9267029166221619,
-0.16362696886062622,
-0.6221339702606201,
-0.30688023567199707,
-0.044812899082899094,
0.3549664318561554,
0.09686170518... |
FastCompose works like Compose except that it uses a U value instead of a Creater of U to link f ang g. ptr is the U value. Intermediate results from g are stored at ptr. Unlike Compose, the Mapper that FastCompose returns cannot be used by multiple goroutines simultaneously since what ptr points to changes with each c... | [
-0.6558324694633484,
0.09254147112369537,
0.6237744688987732,
0.5378094911575317,
-1.2608540058135986,
-0.5977892279624939,
1.1842927932739258,
-0.6798956990242004,
0.26635321974754333,
-1.0620743036270142,
0.01044638454914093,
-0.2362595647573471,
0.17108368873596191,
0.8320286870002747,
... |
NoCloseStream returns a Stream just like s but with a Close method that does nothing. The returnes Stream will still automatically close itself when the end of stream is reached. This function is useful for preventing a stream from automatically closing its underlying stream. | [
-0.3781198263168335,
-0.419145792722702,
0.7046235799789429,
0.4389546811580658,
-1.2922989130020142,
-0.02210257016122341,
0.8354598879814148,
-1.7359589338302612,
-0.4589183032512665,
-1.063745141029358,
-0.03126220405101776,
-0.029742879793047905,
-0.765994668006897,
0.24142836034297943... |
NoCloseRows returns a Rows just like r that does not implement io.Closer. | [
-0.616073489189148,
-0.15976670384407043,
0.6994938254356384,
-0.011561242863535881,
-1.518544316291809,
0.11972206830978394,
0.6631691455841064,
-1.1186858415603638,
0.17875292897224426,
-0.7638100385665894,
0.4646977484226227,
-1.0612396001815796,
-0.5961364507675171,
0.2911480963230133,... |
NoCloseReader returns an io.Reader just like r that does not implement io.Closer. | [
-0.8348799347877502,
-0.9595052003860474,
0.48568490147590637,
-0.46324676275253296,
-1.6354410648345947,
1.2179436683654785,
0.33260518312454224,
-1.371593952178955,
-0.3783218264579773,
-1.1778643131256104,
0.5780177712440491,
-0.8166300654411316,
-0.9814480543136597,
-0.3485674262046814... |
NewFilterer returns a new Filterer of T. f takes a T returning nil if T value pointed to it should be included or Skipped if it should not be included. f can return other errors too. | [
-0.011799704283475876,
-0.6055591702461243,
0.5200390815734863,
0.4147135317325592,
-0.8823396563529968,
0.1366557478904724,
0.025652894750237465,
-0.38293102383613586,
-0.3630605638027191,
0.13841676712036133,
0.0878441259264946,
0.057871878147125244,
0.4273957908153534,
0.875285446643829... |
NewMapper returns a new Mapper mapping T values to U Values. In f, srcPtr is a T and destPtr is a U pointing to preallocated T and U values respectively. f returns Skipped if mapped value should be skipped. f can also return other errors. | [
-1.3841248750686646,
0.2554198205471039,
0.47331348061561584,
0.5507087111473083,
-1.374006986618042,
0.45465564727783203,
0.6212446689605713,
-0.4778938591480255,
-0.239043191075325,
-0.08571460098028183,
0.3813496530056,
-0.4838659465312958,
1.3800644874572754,
-0.45063936710357666,
0.... |
NewMockNotifier creates a new mock instance | [
-0.27521082758903503,
-0.7638163566589355,
0.13529235124588013,
0.5982645153999329,
0.3199831545352936,
0.1965187042951584,
0.7514504790306091,
-0.10042529553174973,
-0.29008275270462036,
0.22786951065063477,
-1.5178208351135254,
-0.13230924308300018,
-0.461007684469223,
0.6281295418739319... |
EXPECT returns an object that allows the caller to indicate expected use | [
-0.861703097820282,
-0.4291759729385376,
0.7921438217163086,
-0.6770954132080078,
-0.7516936659812927,
-0.04710957035422325,
0.08051283657550812,
-0.4222961366176605,
0.2527257204055786,
-0.6747549772262573,
-0.003219333942979574,
-0.014756414107978344,
-0.5511468052864075,
-0.198623463511... |
Run mocks base method | [
-0.9949038624763489,
-1.087213158607483,
0.3967452347278595,
0.6762188076972961,
0.5947370529174805,
0.7422229647636414,
0.8464595675468445,
-0.45839330554008484,
-0.9089230895042419,
-0.2596301734447479,
-1.053834319114685,
-0.7119240164756775,
-1.4335521459579468,
1.1074209213256836,
0... |
Run indicates an expected call of Run | [
-0.4904527962207794,
-0.14341408014297485,
0.5495171546936035,
-0.06913943588733673,
-0.418707013130188,
0.6984785199165344,
-0.06512689590454102,
-0.6656240820884705,
1.1229352951049805,
-0.44139447808265686,
-0.5478623509407043,
0.47324588894844055,
-0.7722073197364807,
0.632256269454956... |
NewMockNotifierProvider creates a new mock instance | [
-0.5346322655677795,
-0.2991746664047241,
0.11658670753240585,
0.7798500061035156,
0.4754958748817444,
0.7991139888763428,
0.8652889132499695,
-0.4817972481250763,
0.46148940920829773,
1.3426223993301392,
-1.466668963432312,
-0.3859748840332031,
-1.020821213722229,
0.5890604853630066,
0.... |
EXPECT returns an object that allows the caller to indicate expected use | [
-0.861703097820282,
-0.4291759729385376,
0.7921438217163086,
-0.6770954132080078,
-0.7516936659812927,
-0.04710957035422325,
0.08051283657550812,
-0.4222961366176605,
0.2527257204055786,
-0.6747549772262573,
-0.003219333942979574,
-0.014756414107978344,
-0.5511468052864075,
-0.198623463511... |
New mocks base method | [
-0.8440296053886414,
-1.3380380868911743,
0.3596949279308319,
0.74217289686203,
0.5020024180412292,
0.023821068927645683,
-0.11299959570169449,
-1.0362552404403687,
-1.006637454032898,
-0.711260974407196,
-0.6041592955589294,
-0.6799721717834473,
-0.2237202674150467,
1.848806381225586,
-... |
New indicates an expected call of New | [
-0.3730431795120239,
-0.16016262769699097,
0.3694475591182709,
0.04010212421417236,
-0.9664113521575928,
0.2746240496635437,
-1.4381200075149536,
-1.4369874000549316,
0.26392579078674316,
-0.5221413373947144,
-0.44915658235549927,
0.45399245619773865,
0.2610378563404083,
1.5836018323898315... |
NewAPICfgInfluxServer InfluxServer API REST creator | [
-0.3837246000766754,
-1.268970251083374,
0.3631300926208496,
0.9217033982276917,
0.835385262966156,
-0.9829918146133423,
0.0914357602596283,
0.07458636164665222,
0.1014520525932312,
-1.5470834970474243,
-0.7382142543792725,
0.13458389043807983,
-0.2673909664154053,
-0.18452291190624237,
... |
GetInfluxServer Return Server Array | [
-1.7836494445800781,
-1.3382728099822998,
0.5019477605819702,
0.45359060168266296,
0.6343327760696411,
-0.40287792682647705,
0.11158793419599533,
-0.263365238904953,
0.5927631855010986,
-0.5116179585456848,
-1.0516698360443115,
1.5904134511947632,
-1.3046470880508423,
0.20980367064476013,
... |
AddInfluxServer Insert new measurement groups to de internal BBDD pending | [
-0.7532212734222412,
0.6211162805557251,
0.3852921724319458,
-0.43525800108909607,
0.35450077056884766,
0.04132399335503578,
0.7471418380737305,
-0.2645453214645386,
-0.43264681100845337,
-1.542417049407959,
0.4162081778049469,
0.2779461741447449,
-1.5050404071807861,
1.4570056200027466,
... |
PingInfluxServer Return ping result | [
-1.329360008239746,
-0.2656669020652771,
0.24068781733512878,
0.482940137386322,
0.4848557114601135,
-0.6251775026321411,
0.2956241965293884,
-0.2658482789993286,
-0.04570728912949562,
-0.5133872628211975,
0.05719831958413124,
-0.0707697868347168,
-1.5828412771224976,
-0.15927384793758392,... |
NOTE: When running this on a nonproduction account you won't get real results just stuff like "keyword XXXXXXXX" or "red herring XXXXXXXX" | [
-0.5179526805877686,
0.05545647442340851,
0.5190276503562927,
1.311564564704895,
0.09419068694114685,
-0.3754926323890686,
-0.45129644870758057,
-0.9788203835487366,
0.8577420115470886,
-0.5508643984794617,
0.05927164480090141,
0.4001244008541107,
-0.7733938097953796,
0.616481363773346,
... |
Route to define API Route | [
-0.5290791392326355,
-0.7030264139175415,
0.28242695331573486,
0.3474566638469696,
1.139809489250183,
-0.35956233739852905,
-0.3783736228942871,
0.526028037071228,
-0.7873818278312683,
-0.05676141008734703,
-0.6209907531738281,
0.09616738557815552,
0.5005550980567932,
0.48278293013572693,
... |
Recursively build phrase tree | [
-0.18478600680828094,
0.362148255109787,
0.5987005233764648,
-0.6377261877059937,
-0.6393868923187256,
0.48587000370025635,
-0.5936688184738159,
0.010817816480994225,
1.5704011917114258,
0.007265727035701275,
0.2855904698371887,
-0.5358126163482666,
-1.4576829671859741,
1.255281686782837,
... |
emitFragments reads from a bufio.Reader and emits string fragments on the given channel, omitting all comments and converting line separators "," into "\n" fragments | [
-0.0435207262635231,
-0.8864995241165161,
0.5382632613182068,
-1.1916979551315308,
-0.14274606108665466,
-0.49071940779685974,
-1.1687164306640625,
0.14566780626773834,
-0.25854170322418213,
0.4133828580379486,
-0.5409459471702576,
0.3713777959346771,
-0.6527686715126038,
-0.39814722537994... |
EmitTokens parses a Lolcode reader and emits a stream of Tokens | [
-0.4404502809047699,
-0.3042358160018921,
0.25710466504096985,
-0.5041582584381104,
-0.8039507865905762,
-1.1221160888671875,
-0.881397545337677,
0.7149442434310913,
0.324089914560318,
-0.11583840101957321,
-0.13502921164035797,
0.4653308391571045,
0.306613951921463,
0.027411360293626785,
... |
Reads a phrase starting with the given fragment (word) uses singleword lookahead to parse as long a phrase as possible | [
0.4435485601425171,
0.38308852910995483,
0.43908220529556274,
-0.1831052154302597,
-0.6471463441848755,
-0.12512950599193573,
-0.5162675380706787,
0.6734751462936401,
0.7231637835502625,
0.03623387962579727,
0.5385359525680542,
-0.18439997732639313,
-0.4293749928474426,
-0.3821717500686645... |
TODO: add string escaping | [
0.28859639167785645,
-0.7678588628768921,
0.19815872609615326,
0.48927831649780273,
-0.7257446050643921,
0.03738638013601303,
-0.39708226919174194,
-0.5299907326698303,
0.366493821144104,
0.46810874342918396,
-0.15144893527030945,
0.30012914538383484,
0.03397854417562485,
0.266231596469879... |
FindMultipathDeviceForDevice given a device name like /dev/sdx, find the devicemapper parent | [
-0.7054566740989685,
1.3121743202209473,
0.4747416079044342,
1.043687343597412,
-1.2864738702774048,
-0.1588532030582428,
0.6724414229393005,
-1.4442325830459595,
0.46431294083595276,
-0.984356164932251,
0.6298798322677612,
-1.7811806201934814,
0.559849739074707,
0.9095978736877441,
-0.1... |
Used for debugging. Log a path, found by debugWalkDir, to klog. | [
0.2442454695701599,
-0.4979742765426636,
0.4455125331878662,
-0.07654173672199249,
-0.6250758767127991,
0.34394705295562744,
0.816913366317749,
-0.6095588803291321,
0.31929975748062134,
-0.2929915487766266,
0.16239632666110992,
-0.12266261130571365,
0.30062395334243774,
0.6025770902633667,... |
Used for debugging. For given walk_path, log all files found within. | [
0.18153415620326996,
-0.7562066316604614,
0.4004967510700226,
0.1325615793466568,
1.0488325357437134,
0.18278956413269043,
1.4411985874176025,
-0.5612852573394775,
-0.5011248588562012,
-0.8770644664764404,
-0.04235043749213219,
0.08459606021642685,
0.24142588675022125,
0.5185347199440002,
... |
Asset loads and returns the asset for the given name. It returns an error if the asset could not be found or could not be loaded. | [
-0.2691025137901306,
-0.9419273138046265,
0.5205244421958923,
-1.0505553483963013,
-1.4146522283554077,
-0.1537543386220932,
-0.11907597631216049,
-1.509579062461853,
-0.5603110194206238,
0.2632962167263031,
0.671774685382843,
0.045992057770490646,
-0.1843697428703308,
-0.6648544669151306,... |
AssetString returns the asset contents as a string (instead of a []byte). | [
-0.5553504228591919,
-1.6332666873931885,
0.4167928993701935,
-1.9074513912200928,
-0.9702817797660828,
0.4262029230594635,
-0.23817288875579834,
-1.371085286140442,
-0.07656270265579224,
-0.21366016566753387,
1.2241026163101196,
0.24276472628116608,
-0.09234286099672318,
-0.74486511945724... |
MustAsset is like Asset but panics when Asset would return an error. It simplifies safe initialization of global variables. | [
-0.09293151646852493,
0.1582152098417282,
0.44234660267829895,
0.775238037109375,
-1.088088035583496,
0.683243989944458,
0.003946948796510696,
-1.2869720458984375,
-0.07538419216871262,
0.05818943679332733,
0.036282848566770554,
0.165445014834404,
0.16517198085784912,
-0.11518234014511108,... |
MustAssetString is like AssetString but panics when Asset would return an error. It simplifies safe initialization of global variables. | [
-0.10477875173091888,
-0.21684055030345917,
0.47069209814071655,
0.3793870508670807,
-1.4843451976776123,
0.7858671545982361,
0.000921037863008678,
-1.3939331769943237,
-0.02743465080857277,
0.33352765440940857,
0.6368501782417297,
0.24819767475128174,
0.1267828792333603,
-0.19600076973438... |
AssetInfo loads and returns the asset info for the given name. It returns an error if the asset could not be found or could not be loaded. | [
0.0749465823173523,
-0.7035660147666931,
0.4812527596950531,
-1.3608134984970093,
-1.333601713180542,
0.01413098443299532,
0.03990684822201729,
-1.2343010902404785,
-0.9982750415802002,
0.23097218573093414,
0.09395737200975418,
-0.5089127421379089,
0.3866047263145447,
-0.4225671887397766,
... |
AssetDigest returns the digest of the file with the given name. It returns an error if the asset could not be found or the digest could not be loaded. | [
0.02808213233947754,
-0.593396782875061,
0.7417261600494385,
-1.1463924646377563,
-0.5744900107383728,
-0.18224172294139862,
-0.1271875500679016,
-0.9174743890762329,
-0.4781830608844757,
0.2981407046318054,
0.48716703057289124,
-0.11446549743413925,
0.14674118161201477,
-0.388165712356567... |
Digests returns a map of all known files and their checksums. | [
0.38949114084243774,
-1.1008905172348022,
0.7015535235404968,
0.18343272805213928,
-0.2114892452955246,
-0.0978601798415184,
-0.1579119861125946,
0.7159717082977295,
-0.06463758647441864,
-0.6347718238830566,
-0.8619490265846252,
-0.535521388053894,
1.492140293121338,
0.6849572658538818,
... |
AssetNames returns the names of the assets. | [
-0.6060993075370789,
-0.6326746344566345,
0.4922581613063812,
-0.7138320207595825,
-0.7382345199584961,
0.5497991442680359,
0.00012206435349071398,
-0.9406208395957947,
-0.128846675157547,
0.9346140027046204,
-0.20987248420715332,
0.4787035584449768,
0.5649244785308838,
-0.4385503828525543... |
RestoreAsset restores an asset under the given directory. | [
0.614458441734314,
-0.7751973867416382,
0.30627474188804626,
-0.9840377569198608,
-0.26516810059547424,
-0.41414034366607666,
-0.05728171020746231,
0.10479538887739182,
-0.3512292802333832,
-0.7007450461387634,
0.9565865397453308,
1.182154655456543,
-0.13848751783370972,
-1.375136256217956... |
RestoreAssets restores an asset under the given directory recursively. | [
0.36718663573265076,
-0.1417180448770523,
0.43670958280563354,
-0.4650695323944092,
-0.4453981816768646,
-0.497072696685791,
0.40470629930496216,
-0.17327435314655304,
0.2875787019729614,
-0.8981021046638489,
0.7815603017807007,
0.8526207208633423,
-0.230387344956398,
-0.6447440385818481,
... |
Create a new window for the application. The first window to open is considered the "master" and when closed the application will exit. | [
0.2107936441898346,
-0.3063962459564209,
0.6433255076408386,
1.620453119277954,
-0.6441607475280762,
0.554124653339386,
0.39695683121681213,
-0.004730904474854469,
-0.3565230071544647,
-0.8401267528533936,
-0.31174221634864807,
0.581144392490387,
-0.2406667023897171,
0.9458766579627991,
... |
Open a URL in the default browser application. | [
-0.8106063008308411,
-0.16583089530467987,
0.26809021830558777,
1.3416122198104858,
-0.5267645120620728,
0.6964297294616699,
0.6043362617492676,
-0.1567411869764328,
0.5991390943527222,
0.10653114318847656,
-0.5679492354393005,
-0.6319047808647156,
-0.01747697964310646,
0.40035805106163025... |
Icon returns the application icon, this is used in various ways depending on operating system. This is also the default icon for new windows. | [
0.07983297854661942,
-0.4040831923484802,
0.45898762345314026,
1.3768230676651,
-0.8296726942062378,
0.7239173054695129,
0.30156993865966797,
0.27396833896636963,
-0.4868795871734619,
0.09122400730848312,
-0.17183421552181244,
0.3899073898792267,
0.3770444691181183,
0.2546420991420746,
0... |
SetIcon sets the icon resource used for this application instance. | [
0.3053082823753357,
-0.13395993411540985,
-0.04075110703706741,
0.7007268667221069,
-0.5463119745254517,
0.5815336108207703,
0.6615700721740723,
0.9497249126434326,
-0.31713762879371643,
-0.3247649669647217,
-0.9294266700744629,
0.05858536809682846,
0.8113362193107605,
-0.0305543951690197,... |
Run the application this starts the event loop and waits until Quit() is called or the last window closes. This should be called near the end of a main() function as it will block. | [
0.46690091490745544,
-0.7360988259315491,
0.5523630976676941,
0.27046871185302734,
-0.19164668023586273,
0.7363009452819824,
0.9782929420471191,
-0.4017145335674286,
-0.31998395919799805,
0.18000668287277222,
0.6432231068611145,
-0.23202410340309143,
-0.5889410376548767,
0.4648994505405426... |
Calling Quit on the application will cause the application to exit cleanly, closing all open windows. This function does no thing on a mobile device as the application lifecycle is managed by the operating system. | [
0.46658554673194885,
-0.9621726274490356,
0.5540542006492615,
1.0475107431411743,
-0.9854515194892883,
1.3085110187530518,
0.5385971665382385,
-1.011718988418579,
0.3193734884262085,
0.06596723943948746,
0.16593869030475616,
-0.12399443238973618,
-0.020889488980174065,
1.1816753149032593,
... |
Driver returns the driver that is rendering this application. Typically not needed for day to day work, mostly internal functionality. | [
-0.6974431276321411,
-0.9904038906097412,
0.4377477169036865,
0.6746866703033447,
0.7348659634590149,
-0.0007185132708400488,
0.8814998269081116,
-0.1834825724363327,
0.10837668925523758,
-1.3884010314941406,
1.0125371217727661,
0.39804816246032715,
-0.9450812339782715,
0.7243821024894714,... |
UniqueID returns the application unique identifier, if set. This must be set for use of the Preferences() functions... see NewWithId(string) | [
0.6345841288566589,
-0.5780051350593567,
0.550030529499054,
-0.13174983859062195,
-0.22171835601329803,
0.8644385933876038,
0.15222670137882233,
-0.22471635043621063,
1.5319892168045044,
-0.12468384206295013,
-0.1671394556760788,
0.8677539825439453,
-1.140014886856079,
-0.09928139299154282... |
SendNotification sends a system notification that will be displayed in the operating system's notification area. | [
0.29430508613586426,
0.4800448417663574,
0.2754504680633545,
1.4543248414993286,
0.03926302120089531,
-0.1870937943458557,
0.7558325529098511,
-0.25452953577041626,
-0.03566182777285576,
0.13627786934375763,
-0.7204965949058533,
0.3948138356208801,
0.40331146121025085,
1.0791711807250977,
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.