text
stringlengths
7
2.39k
embedding
listlengths
768
768
NamespaceScoped implements rest.Scoper interface
[ 0.18004117906093597, -1.1039329767227173, 0.35244813561439514, -0.0837390273809433, -0.18179166316986084, 0.009867268614470959, -1.1072508096694946, -0.9026781916618347, 1.4429734945297241, -0.20259428024291992, 0.07333032041788101, 0.9878931045532227, 0.076921246945858, 0.5464745759963989...
GetSingularName implements rest.SingularNameProvider interface
[ -0.10888511687517166, -0.5426866412162781, 0.41246941685676575, 0.8135151267051697, -1.3451069593429565, -0.003661742666736245, -0.5382339358329773, 0.5560857653617859, 1.6426968574523926, -0.2709804177284241, -0.34879031777381897, 0.527596652507782, 0.3306211829185486, -0.4020362496376037...
New returns a new struct of metadata.
[ -0.23416562378406525, -0.8281728625297546, 0.612095057964325, 0.19650371372699738, -0.43450427055358887, -0.2532571852207184, -1.0967458486557007, -0.7297560572624207, -0.9695053100585938, -0.5351080298423767, -0.6348367929458618, 0.43440642952919006, 0.7459763288497925, -0.268929064273834...
Parse loads all the available id3 tags into the metadata tags map.
[ -0.20865222811698914, 0.31577354669570923, 0.3065885007381439, -0.38416266441345215, 0.6306244134902954, 0.5755049586296082, -2.029855489730835, 0.2583687901496887, -0.31250420212745667, 0.14720767736434937, -1.1778180599212646, -0.3815067410469055, 0.004960442893207073, -0.033461950719356...
Get looks up the tags map for an arbitrary id3 tag.
[ -0.37244468927383423, -0.2952788472175598, 0.09604663401842117, -0.8124489784240723, 0.09782500565052032, -0.050089847296476364, -1.4300940036773682, -0.28050947189331055, -0.25812849402427673, -0.7210243344306946, -0.11124586313962936, -0.12269239127635956, 0.3203248977661133, -0.83237612...
EnvironFromFile loads an environment from a file.
[ 0.7542961835861206, -0.9454569816589355, 0.23753154277801514, -0.20802682638168335, -0.7260657548904419, 1.1880202293395996, 0.39118674397468567, 0.5216445922851562, -1.2975821495056152, 0.7933312058448792, -0.30527862906455994, -0.26433125138282776, 0.20176677405834198, -0.032860573381185...
EnvironFromReader loads an environment from a reader.
[ 0.09466532617807388, -0.9998300671577454, 0.12319198995828629, -0.5985895395278931, -1.344731092453003, 0.21919453144073486, 0.14721210300922394, 0.3357314467430115, 0.10812385380268097, 0.9242503643035889, 0.583813488483429, -0.4417065978050232, -0.03828367590904236, 0.04982878640294075, ...
Subst converts a environment to a Getenv map.
[ -0.8073355555534363, -0.5885049700737, 0.23063954710960388, -0.6240476369857788, 0.5569993257522583, -0.05613833665847778, -0.9253392219543457, 0.034007858484983444, 0.34187954664230347, -0.3980526626110077, -0.9397416114807129, 0.17807602882385254, 0.8574347496032715, -0.4045730233192444,...
Environ loads an environment from a string.
[ 0.33706557750701904, -0.8117209672927856, 0.18964417278766632, -0.5679776072502136, -1.398411512374878, -0.0016104727983474731, 0.09952720254659653, 0.992621898651123, -0.0966579020023346, 0.5570839643478394, -0.9759621024131775, 0.40137386322021484, -0.4249720275402069, -0.937347829341888...
MustEnviron panics if err is not nil.
[ 1.084874153137207, 0.6833928227424622, 0.2228126972913742, 1.210749864578247, -0.04620661959052086, 1.2238788604736328, -0.03720157593488693, -0.14822912216186523, 0.5219752192497253, 0.5768646001815796, -0.032396502792835236, 0.4017081558704376, 0.02936166152358055, 1.5366995334625244, ...
Run starts the application execution.
[ 0.8205302953720093, -1.0800426006317139, 0.0986371636390686, 1.4238507747650146, 0.6276730298995972, 0.6163391470909119, 0.868270993232727, 0.6917864084243774, -0.3554997146129608, 0.2958815097808838, 0.28154245018959045, 0.3918296992778778, 0.02990761399269104, 0.4172782897949219, -0.19...
Map calls the provided func for each element in t and returns a new TypeSlice.
[ -0.9213585257530212, -0.78438401222229, 0.5646313428878784, 0.2879752218723297, 0.16797293722629547, 0.41486725211143494, -0.6797094345092773, -0.4298454523086548, -0.8280506730079651, 0.6165195107460022, -0.10403485596179962, 0.3028755784034729, 0.9333781003952026, 0.4076400399208069, -...
GroupBy returns a map of string keys to TypeSlice using the provided groupBy fn.
[ -0.9892094135284424, -0.26939862966537476, 0.5215997695922852, 0.24311190843582153, 0.07569129765033722, -0.8325146436691284, 0.6094374656677246, -0.4501374363899231, -1.3636776208877563, 0.6868294477462769, 0.2655743956565857, 0.17564131319522858, 0.2227536290884018, -0.19083404541015625,...
AddScenarioScript insert a new ScenarioScript into database and returns last inserted Id on success.
[ -0.514168381690979, -0.402241975069046, 0.7534753680229187, 1.4695669412612915, 0.017289092764258385, -0.15602700412273407, 0.6489356160163879, -0.2659623920917511, 0.1835729032754898, 0.13194255530834198, -0.8030910491943359, -1.582718849182129, -1.2452313899993896, -0.13858464360237122, ...
GetScenarioScriptById retrieves ScenarioScript by Id. Returns error if Id doesn't exist
[ -0.1773775964975357, -0.9787869453430176, 0.3802105784416199, 1.1520767211914062, 0.3014596700668335, -0.721461832523346, 0.10850435495376587, -0.8616673946380615, -0.011292923241853714, 0.6153913140296936, 0.06516387313604355, 0.5272188782691956, 0.34552496671676636, -0.22977252304553986,...
GetAllScenarioScript retrieves all ScenarioScript matches certain condition. Returns empty list if no records exist
[ -0.2857644557952881, -0.7425734400749207, 0.3636208474636078, 1.9884490966796875, -0.05652913451194763, -0.5677906274795532, -0.5492297410964966, 0.06261918693780899, -0.02669433131814003, 0.38587766885757446, -0.04071030765771866, -0.059807419776916504, 0.14299969375133514, 0.362233072519...
UpdateScenarioScript updates ScenarioScript by Id and returns error if the record to be updated doesn't exist
[ -0.8744575381278992, -1.447981834411621, 0.6597383618354797, 0.9365468621253967, -0.2140573263168335, -0.3554604947566986, 0.42949923872947693, -0.042918749153614044, 0.160111665725708, 1.162725567817688, -0.1789305955171585, -0.13007226586341858, 0.16473881900310516, -0.01659291796386242,...
DeleteScenarioScript deletes ScenarioScript by Id and returns error if the record to be deleted doesn't exist
[ 0.0468180850148201, -1.0668675899505615, 0.5530086755752563, 1.63924241065979, 0.10526714473962784, -0.4568747282028198, 0.5382651090621948, 0.5229148268699646, 0.08834139257669449, 0.7065550088882446, 0.01768612302839756, 0.20216567814350128, -0.04370664060115814, 0.351053386926651, -0....
NewAccessTokenServer creates a new httptest.Server OAuth2 provider Access Token endpoint. Caller must close the server.
[ -0.7138193249702454, -1.0820900201797485, 0.20977608859539032, -0.08135335892438889, -0.6082099080085754, -0.15739864110946655, 0.5756689310073853, -0.010670945048332214, 0.22892355918884277, -0.44893044233322144, -0.2976033091545105, 1.6368818283081055, -0.1354018598794937, 0.213981285691...
NewTestServeFunc is an adapter to allow the use of ordinary functions as httptest.Server's for testing. Caller must close the server.
[ -1.2023307085037231, -0.41724562644958496, 0.5172666311264038, 0.378559947013855, -0.189605250954628, -0.3578040301799774, 0.7045918703079224, -0.44461366534233093, 0.6196102499961853, -0.42320716381073, -0.48260343074798584, 0.5255856513977051, -0.4028730094432831, -0.02651360258460045, ...
NewResourceManager is used to create a new resource manager in client side.
[ -0.7630303502082825, -0.9791980385780334, 0.1700947880744934, -0.6340842843055725, -0.5776965022087097, -0.3450721204280853, 0.11357931047677994, -0.7325032353401184, -0.14412103593349457, -0.2813672721385956, -0.6434507369995117, -0.46844208240509033, -0.5182432532310486, 1.14125549793243...
GetResourceGroupClient is used to get resource group client.
[ -0.5620582699775696, 0.5743456482887268, -0.28027960658073425, -0.6018489003181458, -0.9639570116996765, -0.3507237434387207, 0.8082097768783569, -0.9143909811973572, -1.0283589363098145, -0.36581143736839294, 0.9263743162155151, 0.18027521669864655, -0.4375763237476349, -0.153567850589752...
GetResourceGroup is used to get one specific rule bundle from ResourceGroup Manager.
[ 0.16146881878376007, 0.5961681008338928, -0.1325879693031311, -0.6068499684333801, -0.34735429286956787, -0.589884340763092, 0.17842891812324524, -0.09586123377084732, -0.6592429280281067, 0.29299798607826233, 1.837404489517212, 0.2012297660112381, -0.4156324565410614, 0.9226781129837036, ...
GetAllResourceGroups is used to get all resource group from ResourceGroup Manager. It is used to load full resource groups from PD while fullload infoschema.
[ -0.3958144187927246, 0.1956917643547058, 0.2835884690284729, -0.2139781266450882, -1.288949728012085, -0.34632712602615356, -0.5267140865325928, -0.3891112208366394, -0.7898144125938416, -0.5689215660095215, 0.48802053928375244, 0.033799853175878525, -0.456993967294693, 0.45478683710098267...
CreateResourceGroup is used to post specific resource group to ResourceGroup Manager.
[ -0.12510010600090027, 0.6201605200767517, -0.25687137246131897, -0.9074380397796631, -0.4885045289993286, -0.008955448865890503, -0.33058956265449524, -0.28314700722694397, -0.5378566384315491, 0.06251271814107895, 0.07992131263017654, -0.822310745716095, -0.7032259702682495, 1.60930824279...
ModifyResourceGroup is used to modify specific resource group to ResourceGroup Manager.
[ -1.5161120891571045, -0.2832008898258209, -0.07434394955635071, -0.7239857316017151, -1.169730544090271, -0.6070624589920044, 0.28425127267837524, -0.3311674892902374, -0.06911197304725647, -0.14637646079063416, 1.0687594413757324, -0.4998984634876251, -0.6272904872894287, 1.36186313629150...
DeleteResourceGroup is used to delete specific resource group to ResourceGroup Manager.
[ -0.026315515860915184, 0.31504735350608826, -0.18725237250328064, -0.6446428298950195, -0.4814102351665497, -0.6298296451568604, -0.04338452219963074, 0.1104554533958435, 0.2674413323402405, -0.05758350342512131, 0.6013895273208618, -0.04867773503065109, -0.04579505696892738, 1.35883212089...
startHttpServer launches the internal http server. Prior to using this function, http handlers should be set up with http.HandleFunc
[ -0.2897990942001343, -0.6568312048912048, 0.4181844890117645, 0.5961024165153503, -0.0656527429819107, 0.6744409799575806, 0.5464284420013428, 1.115774154663086, 0.03223804756999016, -1.0702309608459473, -0.761131227016449, 0.5450666546821594, -0.1424090564250946, 0.8973469138145447, 0.1...
protoHandler creates an http handler for forwarding HTTP post data to a ProtocolHandler
[ 0.117708221077919, 0.1995823234319687, 0.17973197996616364, -0.27991029620170593, -0.7827604413032532, 1.340419888496399, -0.3682593107223511, 0.25087717175483704, -0.9967138767242432, -1.072999358177185, -0.6409109830856323, -0.22564633190631866, -0.45566797256469727, -0.3939100503921509,...
Get native C.Face pointer to use in other packages.
[ 0.3556978106498718, -0.8388994932174683, 0.4453037679195404, 0.17288848757743835, -0.376492977142334, 0.0008647143840789795, 0.5825557708740234, -1.808786153793335, -0.26975804567337036, -0.1280401051044464, 0.16340908408164978, 0.6050304174423218, -0.04928462952375412, -0.3137719035148620...
Initialize FaceBase before lowerlayer initialization. Allocate FaceImpl on specified NumaSocket.
[ 0.3193935751914978, 0.44783464074134827, 0.36444905400276184, 0.2597305178642273, 0.7613701224327087, -0.45133623480796814, 1.3248820304870605, -1.3874247074127197, 0.8755073547363281, -1.2076916694641113, -0.17777113616466522, 0.032661065459251404, -0.5574731230735779, 0.7291611433029175,...
Initialize FaceBase after lowerlayer initialization. mtu: transport MTU available for NDNLP packets. headroom: headroom before NDNLP header, as required by transport.
[ 0.004328599665313959, -0.3600803315639496, 0.3336743116378784, -0.0024461804423481226, -0.3327052891254425, 0.21232397854328156, 0.0998966246843338, -1.4083919525146484, 0.30545520782470703, -0.5613791346549988, -1.1526505947113037, -0.012633631005883217, -1.0503449440002441, 0.40311449766...
Prepare to close face.
[ -0.48705536127090454, -0.39554914832115173, 0.2061080038547516, 0.6349465250968933, -0.992496132850647, 0.18888354301452637, 1.3374110460281372, -1.2803457975387573, 0.04057304933667183, -0.8092079162597656, -0.039725691080093384, -0.674599826335907, 0.3816239833831787, 0.4717574715614319,...
Close FaceBase. Deallocate FaceImpl.
[ -0.045402806252241135, -0.44595077633857727, 0.4328019618988037, 0.6776126623153687, -0.7280825972557068, 0.16004225611686707, 1.6942614316940308, -1.168487787246704, 0.1935700923204422, -0.971959114074707, -0.45372968912124634, -0.6960784792900085, 0.2936682403087616, 0.880462646484375, ...
IsFIDO2Available returns true if libfido2 is available in the current build.
[ -0.1056273803114891, -1.7702281475067139, 0.1642569601535797, 0.6916384100914001, 0.02919168211519718, -0.10501529276371002, 0.05052999034523964, -0.2465781271457672, -0.6468841433525085, 0.0036269512493163347, -0.7794129848480225, 0.8976752758026123, 0.09057802706956863, 1.436871647834777...
withRetries wraps callback with retries and error handling for commonly seen errors.
[ 0.7430946826934814, -0.43310749530792236, 0.23836657404899597, 0.5394083857536316, -1.0834749937057495, -1.0842983722686768, -0.07185426354408264, -0.6285625100135803, 1.4920704364776611, 0.20428122580051422, 0.038306817412376404, -0.5951535105705261, 0.6782782077789307, -0.002178987953811...
uvCapable returns true for both "uv" and pinconfigured devices.
[ -0.7195141315460205, 0.43093085289001465, 0.40873873233795166, 1.6264463663101196, 0.34059813618659973, 0.9265437722206116, 0.5684860348701477, 0.6841930747032166, 0.719180703163147, 0.7842315435409546, 0.10127031058073044, 0.5455191731452942, 0.7970560789108276, -0.2919342517852783, 0.5...
Returns current elapsed time for a running task. To get elapsed time for a task that may have completed, use elapsed
[ 0.08987157791852951, -0.02151608094573021, 0.5309684872627258, 0.503756046295166, -0.26382818818092346, 0.42127254605293274, 0.5935298204421997, 0.13596899807453156, -0.5354761481285095, 0.4023476541042328, -0.37995049357414246, 0.12661495804786682, -0.2708662152290344, 1.3059574365615845,...
Returns current elapsed time for a completed task Returns 0 for an unstarted or currently running task
[ 0.07249485701322556, -0.4151808023452759, 0.6086594462394714, 0.6261950731277466, -0.3433772623538971, 0.815910816192627, 0.8035323619842529, 0.832368791103363, -0.31310513615608215, 0.9224461317062378, -0.06645871698856354, -0.6045496463775635, -0.08624028414487839, 1.6136394739151, -0....
NewDn creates a new DN value.
[ -0.49248266220092773, -0.28158673644065857, 0.3131282925605774, 1.1752036809921265, -0.9217658042907715, -0.7742487788200378, -0.3709436357021332, 0.10403939336538315, 0.4364771842956543, -1.4385673999786377, -1.2213133573532104, 0.10565695911645889, 1.1418474912643433, -0.2527686953544616...
NewId creates a new class id.
[ -0.3701673746109009, -1.0723598003387451, 0.31097036600112915, 1.255307674407959, 0.4145507216453552, 0.7502593994140625, 0.058501146733760834, -0.4861918091773987, 0.9970887899398804, -0.6692944169044495, -0.5978192090988159, 0.12784665822982788, -0.15557393431663513, 0.44313716888427734,...
New new session middleware
[ -0.6004949808120728, -1.584580421447754, 0.2600230872631073, 1.8234955072402954, -0.9552597403526306, -0.9769660830497742, -0.1295013725757599, -1.4021304845809937, 1.3063416481018066, -0.035169411450624466, -0.617637574672699, 0.27223557233810425, 0.16143007576465607, 0.31664523482322693,...
NameMatches returns true if the supplied WorkloadEndpoint name matches the supplied identifiers. This will return an error if the identifiers are not valid.
[ -0.5319823026657104, -0.8149621486663818, 0.3327406048774719, 0.3439991772174835, -0.767172634601593, 0.5071555972099304, -1.31712007522583, -0.1255757063627243, -0.7013923525810242, 1.394554615020752, -0.5625250339508057, -0.6030706763267517, -1.1388022899627686, -1.1419341564178467, -0...
CalculateWorkloadEndpointName calculates the expected name for a workload endpoint given the supplied Spec. Calico requires a precise naming convention for workload endpoints that is based on orchestrator and various other orchestrator specific parameters. If allowPrefix is true, we construct the name prefix up to the ...
[ -0.27966752648353577, 0.030246196314692497, 0.7426521182060242, -0.27260681986808777, -1.3895835876464844, 0.692108154296875, 0.09233573079109192, 0.08995451033115387, 0.06261524558067322, 1.331976294517517, 0.8646175265312195, -0.05463874340057373, 0.3733149468898773, -0.02864455431699752...
getSegments returns the ID segments specific to the orchestrator.
[ -0.8959102034568787, 0.5613345503807068, 0.3462483584880829, 0.7392768859863281, 1.9602326154708862, 0.2877500653266907, 0.6126702427864075, -0.8292751908302307, 0.6115221381187439, -0.21219919621944427, -0.6966592073440552, 0.3212191164493561, -0.466558039188385, -0.2791554927825928, -0...
escapeDashes replaces a single dash with a double dash. This type of escaping is used for names constructed by joining a set of names with dashes it assumes that each name segment cannot begin or end in a dash.
[ -0.018381357192993164, 0.6055213212966919, 0.5066794157028198, 0.021275851875543594, -0.5268922448158264, -0.0978299006819725, -0.6350272297859192, -0.135029599070549, -0.40268126130104065, -0.37140128016471863, -1.0614609718322754, -0.6061944961547852, 0.27723172307014465, -0.060212355107...
Extract the dash separated parms from the name. Each parm will have had their dashes escaped, this also removes that escaping. Returns nil if the parameters could not be extracted.
[ 0.018063828349113464, -0.3269902169704437, 0.5885818004608154, -0.3264943063259125, -0.1658623069524765, -0.6140912771224976, -1.1945645809173584, 0.1327047199010849, -0.3836563527584076, 0.3464331030845642, -1.1890664100646973, -0.5777894258499146, -0.15216930210590363, 0.4108657240867615...
ParseWorkloadEndpointName parses a given name and returns a WorkloadEndpointIdentifiers instance with fields populated according to the WorkloadEndpoint name format.
[ -0.48929864168167114, -1.2382363080978394, 0.4104883074760437, -0.041528865694999695, -0.7095497250556946, 0.9251643419265747, -0.5165640711784363, 0.1787177324295044, 0.2308003008365631, 1.196315884590149, -0.9078167080879211, -1.0826420783996582, -0.6127501130104065, -0.7237101793289185,...
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be nonnil.
[ 0.18106722831726074, -0.05142516270279884, 0.5946692228317261, 0.7153838872909546, -0.7864830493927002, 0.1592290699481964, 0.09580656886100769, 1.0831888914108276, -0.7537238001823425, -0.36732015013694763, -0.4508199393749237, 0.9706944227218628, 0.004816260654479265, -0.1481567025184631...
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RTCPeerConnection.
[ -1.3286592960357666, -0.2640116810798645, 0.21271055936813354, 0.7892308235168457, -0.5689597129821777, -0.5604473948478699, 0.3036765158176422, 0.2611852288246155, -0.2550608515739441, -0.0773446187376976, 0.2410682588815689, -0.3013516664505005, -1.1166250705718994, -0.050924152135849, ...
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
[ -0.4986959993839264, -0.44858917593955994, 0.6877598166465759, 0.8103542923927307, -0.6663267612457275, 0.5514897704124451, 0.3881840705871582, 0.1328074336051941, -0.205204576253891, -0.6633530259132385, -0.9780378341674805, 0.45612144470214844, -0.1994989961385727, -0.4798279404640198, ...
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be nonnil.
[ 0.18106722831726074, -0.05142516270279884, 0.5946692228317261, 0.7153838872909546, -0.7864830493927002, 0.1592290699481964, 0.09580656886100769, 1.0831888914108276, -0.7537238001823425, -0.36732015013694763, -0.4508199393749237, 0.9706944227218628, 0.004816260654479265, -0.1481567025184631...
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RTCPeerConnectionList.
[ -1.4580525159835815, -0.0070484112948179245, 0.09185607731342316, 0.8814333081245422, -0.742546796798706, -0.11013279110193253, 0.006005359813570976, 0.6323683857917786, -0.07001200318336487, 0.4487396776676178, -0.1341598927974701, -1.2891925573349, -0.535586953163147, -0.1446538716554641...
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
[ -0.4986959993839264, -0.44858917593955994, 0.6877598166465759, 0.8103542923927307, -0.6663267612457275, 0.5514897704124451, 0.3881840705871582, 0.1328074336051941, -0.205204576253891, -0.6633530259132385, -0.9780378341674805, 0.45612144470214844, -0.1994989961385727, -0.4798279404640198, ...
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be nonnil.
[ 0.18106722831726074, -0.05142516270279884, 0.5946692228317261, 0.7153838872909546, -0.7864830493927002, 0.1592290699481964, 0.09580656886100769, 1.0831888914108276, -0.7537238001823425, -0.36732015013694763, -0.4508199393749237, 0.9706944227218628, 0.004816260654479265, -0.1481567025184631...
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RTCPeerConnectionSpec.
[ -0.34788358211517334, -0.22751334309577942, 0.22845827043056488, -0.2732475697994232, -0.3081201910972595, -0.35237863659858704, 0.20072798430919647, -0.14953088760375977, -0.26736950874328613, 0.14768722653388977, 0.8593775033950806, -0.4205547273159027, 0.20588499307632446, -0.4955980479...
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be nonnil.
[ 0.18106722831726074, -0.05142516270279884, 0.5946692228317261, 0.7153838872909546, -0.7864830493927002, 0.1592290699481964, 0.09580656886100769, 1.0831888914108276, -0.7537238001823425, -0.36732015013694763, -0.4508199393749237, 0.9706944227218628, 0.004816260654479265, -0.1481567025184631...
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RTCPeerConnectionStatus.
[ -0.8091254830360413, -0.7729132175445557, -0.00991878006607294, -0.2545475661754608, -0.6305953860282898, -0.29672589898109436, -0.5860787034034729, 0.6696560382843018, -0.34705349802970886, 0.0853770524263382, 0.015491693280637264, -0.6996625661849976, -0.2377312183380127, -0.183347046375...
Add appends a stmt to history list.
[ 0.015129487961530685, 0.0899028331041336, 0.35432639718055725, 0.14197979867458344, -0.010934239253401756, 0.1906285136938095, -1.6938902139663696, 0.15941224992275238, 0.5891727209091187, 0.2770964503288269, 0.3979879319667816, 1.3198341131210327, -0.11101924628019333, 0.4774487316608429,...
Count returns the count of the history.
[ 0.6885563731193542, 0.3579317331314087, 0.29095259308815, 0.34535908699035645, 0.5949459671974182, 0.1036500483751297, 0.48795604705810547, 0.041740089654922485, -0.6211754083633423, -0.6815833449363708, -0.25670325756073, 0.009169578552246094, 0.5985609292984009, 0.654747486114502, 0.28...
FieldList returns fields list of a table.
[ -0.48165178298950195, 0.31555965542793274, -0.012321424670517445, 0.3662608861923218, -0.010380747728049755, -0.37241223454475403, -0.6147149205207825, 0.005032764747738838, -0.015170981176197529, 0.037842072546482086, -1.5897963047027588, -0.8363812565803528, 0.23605914413928986, -0.72422...
ExecRestrictedSQL implements RestrictedSQLExecutor interface. This is used for executing some restricted sql statements, usually executed during a normal statement execution. Unlike normal Exec, it doesn't reset statement status, doesn't commit or rollback the current transaction and doesn't write binlog.
[ 1.0035622119903564, 0.9562625885009766, 0.668932318687439, 0.9758679866790771, -1.2528249025344849, -0.1439298391342163, 0.020459534600377083, -0.8199670910835266, 0.5706586837768555, 0.4821920692920685, -0.20187602937221527, 0.9804589152336121, -0.02695370651781559, -0.9872918128967285, ...
getExecRet executes restricted sql and the result is one column. It returns a string value.
[ -0.003959272522479296, 0.9493664503097534, 0.5661332607269287, 0.7388360500335693, -0.26027119159698486, -0.6231561303138733, -0.3739871084690094, -1.1786730289459229, -0.7074050903320312, 0.14558352530002594, 0.1439073234796524, 0.6103427410125732, -0.03438849747180939, -1.143767476081848...
GetAllSysVars implements GlobalVarAccessor.GetAllSysVars interface.
[ -0.09959334880113602, -0.33706557750701904, 0.3899261951446533, 1.5143990516662598, -0.43409276008605957, 0.19062739610671997, 0.6599677801132202, -0.4374021887779236, 0.4584503173828125, -0.8053267598152161, -0.8452023267745972, 1.5005202293395996, 0.15305985510349274, 1.4779800176620483,...
GetGlobalSysVar implements GlobalVarAccessor.GetGlobalSysVar interface.
[ -0.22621479630470276, 0.39192330837249756, 0.6566230058670044, 1.350289225578308, -0.563931405544281, 0.9811879396438599, 1.3882461786270142, -0.622049868106842, -0.578386664390564, -0.8421605825424194, -0.4289371967315674, 1.5847673416137695, -0.21531616151332855, 1.1694984436035156, 0....
SetGlobalSysVar implements GlobalVarAccessor.SetGlobalSysVar interface.
[ -0.38239362835884094, 0.2588801980018616, 0.6411876082420349, 1.0485174655914307, -0.49151521921157837, 1.1453895568847656, 1.562322974205017, -0.2685095965862274, -0.569563090801239, -0.29482579231262207, -0.8775015473365784, 1.4842826128005981, 0.23667404055595398, 1.805712103843689, 0...
Close function does some clean work when session end.
[ -1.0606873035430908, -1.5812857151031494, 0.41515254974365234, 0.7345176339149475, -0.5407282710075378, 0.4036446511745453, 0.9272182583808899, -1.0405702590942383, 0.3705206513404846, 0.849538266658783, 0.26629838347435, 0.18896393477916718, 0.26671677827835083, 0.5991182327270508, 0.73...
GetSessionVars implements the context.Context interface.
[ -1.3324565887451172, -0.022959699854254723, 0.37108954787254333, 0.3114755153656006, -0.2142724245786667, 0.2571171522140503, 0.736649215221405, -2.131478786468506, 0.8807773590087891, 0.0430385023355484, -0.48927220702171326, 0.8195503950119019, -0.3687075972557068, -0.7949468493461609, ...
CreateSession4Test creates a new session environment for test.
[ -0.07870005071163177, -0.7117018103599548, 0.04784810170531273, 0.6460233926773071, -0.009690198116004467, 0.4079633951187134, 1.1398861408233643, -1.531838059425354, 0.0826851949095726, 0.255057156085968, -0.4129118025302887, -0.33016887307167053, -0.869064211845398, -0.5418702960014343, ...
CreateSession creates a new session environment.
[ -0.0603669099509716, -0.3931627869606018, 0.040304090827703476, 0.8038380742073059, 0.4751919209957123, 0.213154137134552, 0.7620115280151367, -1.2699915170669556, 0.06545957922935486, -0.2597268521785736, -0.5293065905570984, 0.3082171678543091, -0.2527410686016083, -0.17615167796611786, ...
BootstrapSession runs the first time when the TiDB server start.
[ -0.48421329259872437, -0.6236220598220825, 0.2538648545742035, 0.6510871052742004, 0.7082037925720215, -0.6126826405525208, 0.4555794596672058, -0.9818801879882812, 0.2642819285392761, 1.1763780117034912, -0.16196539998054504, -0.6200756430625916, -0.9592534303665161, 0.6400593519210815, ...
GetDomain gets the associated domain for store.
[ -0.6367530226707458, 0.797914981842041, 0.06785335391759872, 0.8864290118217468, 0.3951234519481659, -0.20281055569648743, 0.19980275630950928, 0.09383555501699448, 1.192673921585083, -1.4473817348480225, 0.0334564708173275, 1.2858374118804932, 0.47315987944602966, 0.08632930368185043, -...
runInBootstrapSession create a special session for boostrap to run. If no bootstrap and storage is remote, we must use a little lease time to bootstrap quickly, after bootstrapped, we will reset the lease time. TODO: Using a bootstrap tool for doing this may be better later.
[ -0.12284433841705322, -0.358711302280426, 0.6156371831893921, 0.41398704051971436, -0.20322935283184052, -0.36707860231399536, -0.5336700677871704, -0.23719383776187897, 0.4584580063819885, -0.25222164392471313, -0.25176918506622314, 0.1911071538925171, -0.04699933901429176, -0.00659153796...
CreateSessionWithDomain creates a new Session and binds it with a Domain. We need this because when we start DDL in Domain, the DDL need a session to change some system tables. But at that time, we have been already in a lock context, which cause we can't call createSesion directly.
[ -0.08815738558769226, -0.6469583511352539, 0.47172608971595764, 0.5729910731315613, -0.18573962152004242, -0.37002259492874146, 0.3721349239349365, -1.7934387922286987, 0.700404703617096, -0.1361781656742096, -0.040684621781110764, 0.6752496957778931, -0.1774521917104721, 0.363345056772232...
loadCommonGlobalVariablesIfNeeded loads and applies commonly used global variables for the session.
[ -0.5225268006324768, 0.4374690651893616, 0.6171118021011353, 0.37816840410232544, -0.2719704508781433, 0.3390122354030609, 0.8594469428062439, -0.5403679609298706, 0.31909051537513733, 0.9693912267684937, -0.5867562890052795, 0.3941948115825653, -1.0529143810272217, 0.6001853346824646, -...
PrepareTxnCtx starts a goroutine to begin a transaction if needed, and creates a new transaction context. It is called before we execute a sql query.
[ 0.470016747713089, 0.7327189445495605, 0.3408403694629669, -0.10252121835947037, -0.43550077080726624, -1.449241280555725, -0.6496042609214783, -0.6871983408927917, 0.37125930190086365, 0.24052390456199646, -0.37764352560043335, -0.7854794263839722, 0.3384668827056885, 0.0794149711728096, ...
PrepareTxnFuture uses to try to get txn future.
[ 0.22011840343475342, 0.568065345287323, 0.10035621374845505, 0.08995970338582993, -1.0290101766586304, -2.507939100265503, -1.1385363340377808, 0.1868264079093933, 0.18131165206432343, -0.556596577167511, -1.3299694061279297, -0.9461660385131836, 0.5689607262611389, -0.454951673746109, 0...
RefreshTxnCtx implements context.RefreshTxnCtx interface.
[ 0.15696465969085693, -0.04756610840559006, 0.23285378515720367, -0.41787979006767273, -0.4903455972671509, -0.1556391716003418, -0.851984441280365, -2.1776106357574463, 0.3466463088989258, 0.6481776833534241, -0.14889658987522125, -0.5113058090209961, 0.49303948879241943, -0.43989482522010...
InitTxnWithStartTS create a transaction with startTS.
[ 0.9477645754814148, -0.6820570826530457, 0.170388326048851, 0.2303793579339981, -0.4538385570049286, -1.0818363428115845, -0.4863691031932831, -0.4683009088039398, 0.5481595396995544, -0.5782949924468994, -1.002310037612915, -0.5833336114883423, 0.8358824253082275, -0.8350112438201904, -...
GetStore gets the store of session.
[ -0.16743284463882446, -0.637859582901001, 0.17824022471904755, 0.7797403335571289, -0.11018351465463638, -0.7749413251876831, 0.6837941408157349, -1.0358917713165283, 2.475961446762085, -0.9806833267211914, -0.11067306250333786, 0.4793822169303894, 0.031897008419036865, -0.9874857664108276...
ImportLogsFromCSV retrieves csv data from file
[ 1.6340388059616089, -0.4858848750591278, 0.26007363200187683, 0.6150131225585938, -0.36172008514404297, 0.6166931986808777, -0.4852342903614044, -0.6633716225624084, 0.06706852465867996, -0.32705286145210266, -0.17760202288627625, 0.5044170618057251, 0.14388392865657806, -0.933374285697937...
IsPurgeable is a function decides the candidate is really qualifies to be purged Condition: before and since are both If no before and since set then return true If both before and since set then return false
[ -0.13399437069892883, 0.5155830383300781, 0.7787988781929016, 0.9004732966423035, -0.44647499918937683, 0.7154205441474915, -0.6722674369812012, 0.686159074306488, -0.46353384852409363, 0.31767216324806213, -0.14110727608203888, 0.6033847332000732, -0.7748647332191467, 0.7191717624664307, ...
Init initializes the game
[ -0.0686214417219162, -0.4936351478099823, 0.6004219651222229, -0.29884159564971924, 0.8249680399894714, 0.9869451522827148, -0.7122260332107544, 0.2507430911064148, -0.948244571685791, 0.1780339479446411, -0.27904021739959717, -0.3351059854030609, -0.331498384475708, 0.4925956130027771, ...
Update updates the game
[ -0.8574358820915222, -1.2148549556732178, 0.2452927529811859, 0.02620556950569153, -0.1864713728427887, 0.3492678105831146, -1.7599287033081055, -0.41108810901641846, -0.09843462705612183, 1.1331530809402466, 0.3007793426513672, -1.0080487728118896, -1.0386384725570679, 0.1238335371017456,...
Layout is the screen layout?...
[ -0.08062288165092468, -0.11400388181209564, 0.3160185217857361, 1.89669668674469, -0.48574188351631165, -0.24723821878433228, 0.2930167019367218, -0.9040839076042175, 1.7288150787353516, -0.8505356311798096, -0.09870007634162903, -0.589557409286499, -0.4266137182712555, 0.1454722285270691,...
/ reads a reply from the redis server, accepting single line replies, error messages, integers, bulk and multibulk replies
[ -0.38096487522125244, 0.4858166575431824, 0.4620221257209778, -0.5200121402740479, -0.26216158270835876, -0.8849089741706848, -1.2587873935699463, 0.057560134679079056, 0.21786358952522278, -0.3001719117164612, 0.16882291436195374, 0.9511603713035583, -0.9533735513687134, 0.066705137491226...
/ reads a multibulk reply, after the required '' was read
[ 0.1492653638124466, 0.12189647555351257, 0.4712599813938141, -0.802112340927124, -0.1834847331047058, -0.4581828713417053, -0.5551442503929138, 0.0759994238615036, 0.1910714954137802, 0.27140384912490845, -0.041312068700790405, 1.2760165929794312, -0.4975486099720001, -0.23153747618198395,...
/ reads a bulk reply from br, after the required '$' was read
[ 0.00245603546500206, 0.2098308801651001, 0.48848429322242737, 0.24497254192829132, 0.07861720025539398, -0.1840914487838745, -0.3966332674026489, -0.2873772382736206, -0.04691817983984947, -0.36912426352500916, -0.10613641142845154, 1.3737428188323975, -0.7581231594085693, -0.1294139921665...
/ forces a full read of p or produces an error for readers that disobey the requirement that Read only return on error or fulfillment
[ -0.17141114175319672, -0.3569774627685547, 0.3781658411026001, -0.1593681424856186, -0.28883785009384155, 0.4429035484790802, -0.48058998584747314, 0.5652569532394409, 0.6062212586402893, -0.08959662169218063, 1.5230813026428223, 0.4020310044288635, -0.5999467968940735, 0.15214000642299652...
/ reads a integer line from br
[ 0.20525287091732025, -0.3425814211368561, 0.6494663953781128, 0.9748508930206299, 0.034948039799928665, 0.17680151760578156, -0.345817506313324, -0.6177425384521484, -0.6853190064430237, -1.0626277923583984, -0.09912446141242981, -0.21460360288619995, -0.577559769153595, -0.478063941001892...
/ reads a crlf terminated line from br, tolerating embedded lf's which should never happen but exhaustively analyzing redis seemed harder than just coding defensively; strips the trailing crlf off
[ 1.1515204906463623, -0.7993514537811279, 0.41916826367378235, 0.22619198262691498, -0.2654094696044922, 0.5045910477638245, -0.3813187777996063, 0.25801989436149597, 0.04768901690840721, -0.48932093381881714, -0.402031272649765, -0.3196733295917511, -0.5270703434944153, 0.07030795514583588...
/ When dealing with a network stack, you want to write full messages whenever possible; therefore, we take the extra copy costs of composing a complete message
[ -0.238714799284935, 0.9946766495704651, 0.5157676935195923, 0.6814978718757629, 0.5937135219573975, -1.0395710468292236, 1.2678006887435913, -1.0333194732666016, 0.0419953390955925, 0.14235201478004456, -0.8277934193611145, -0.21036536991596222, -0.9410730600357056, 0.3000575006008148, -...
Validate returns a nonnil error if the ImageDetails is invalid.
[ 1.0908406972885132, 1.0122382640838623, 0.36975163221359253, 0.018373116850852966, 0.5188397765159607, 0.3180014491081238, 0.08174319565296173, 0.04695108160376549, -0.19395224750041962, -0.45614150166511536, 0.8177403211593628, -0.25420087575912476, -0.37635737657546997, 0.861666560173034...
FilePath generates a file path for the grid image. It does not test if the image exists however, it does check if the grid image directory for the given user does exist. An optional file extension can be provided, which will be appended to the end of the file path.
[ 0.022713541984558105, 0.45783889293670654, 0.5737186074256897, 0.9140009880065918, -0.4023486077785492, 0.33319327235221863, 0.2585285007953644, 0.017373081296682358, -0.37692567706108093, 0.355743408203125, 1.0934181213378906, -0.43787044286727905, 0.007672357838600874, 0.5990533232688904...
Validate returns a nonnil error if the AddConfig is invalid.
[ 0.5257641077041626, 0.954775869846344, 0.8315107226371765, 0.8899520635604858, 0.37743619084358215, 0.7255584001541138, -0.6522232294082642, 0.12993408739566803, -0.29434525966644287, 0.13220767676830292, 0.4473743438720703, -0.7900285124778748, -0.9301470518112183, 0.7788705229759216, 1...
Validate returns a nonnil error if the RemoveConfig is invalid.
[ 0.5676620006561279, 0.7128255367279053, 0.7582792639732361, 0.7467643618583679, -0.02265697717666626, 0.048452187329530716, -0.2765570282936096, 1.0770725011825562, -0.30666041374206543, 0.5495286583900452, 0.006120340432971716, -1.0828696489334106, -1.0263967514038086, 0.24866968393325806...
AddImage adds an image as a Steam grid image.
[ -1.3676612377166748, 1.0727832317352295, 0.3644427955150604, 0.4678891599178314, -0.03422997146844864, 0.12026770412921906, -0.8524130582809448, -0.31161221861839294, -0.5538289546966553, 0.0217735692858696, 1.379136085510254, 0.19557063281536102, -0.41591328382492065, 0.9977712035179138, ...
RemoveImage removes a Steam grid image.
[ -1.457131266593933, 0.8123407363891602, 0.32239559292793274, 0.4395391047000885, -0.3889912962913513, -0.5826192498207092, -0.11557618528604507, 0.23886407911777496, -0.9100123643875122, 0.8079271912574768, 0.9974467158317566, 0.1904405653476715, -0.4763474464416504, 0.6179126501083374, ...
getPlatform returns the Kubernetes platform type, first using the Spec 'platform' field or the serverVersion.Platform field if the Spec 'platform' field is not set
[ 0.6880542635917664, -0.022990427911281586, 0.3160455524921417, 0.5048485398292542, 0.9226220846176147, -0.16633453965187073, 0.051668472588062286, -0.8690681457519531, 0.3650575876235962, 0.4889025390148163, 0.07570507377386093, 0.4991915822029114, -0.780583918094635, 1.1390810012817383, ...
labelsForPerconaServerMongoDB returns the labels for selecting the resources belonging to the given PerconaServerMongoDB CR name.
[ -0.19826850295066833, -0.4251270592212677, 0.3415882885456085, -0.3321322202682495, -0.24214227497577667, 0.8344225883483887, 0.2547157406806946, -0.04457763582468033, 0.27111124992370605, 1.4700301885604858, -0.18393103778362274, 0.0018767378060147166, -1.7833397388458252, 0.6240195035934...