text stringlengths 7 2.39k | embedding listlengths 768 768 |
|---|---|
dict builds a map of paired items, allowing you to invoke a template with multiple parameters. | [
-1.5440932512283325,
-0.14346854388713837,
0.4663940370082855,
-0.353394478559494,
-0.6489983797073364,
-0.7266750335693359,
-0.22809869050979614,
0.5093199014663696,
-0.7280526757240295,
-0.5458896160125732,
-0.7456254363059998,
-0.7130154967308044,
0.5464585423469543,
0.4371669590473175,... |
sub performs simple xy subtraction on integers. | [
-0.5664607882499695,
0.6720098257064819,
0.29656219482421875,
0.17308677732944489,
-1.687387228012085,
-0.25177106261253357,
-0.3039272427558899,
-0.7573152184486389,
-0.5408141613006592,
-0.7610900402069092,
-1.1210428476333618,
-0.30900952219963074,
0.11450852453708649,
-0.82463639974594... |
filepath returns the output filepath (prefixed by the root directory). | [
0.6889262199401855,
-1.182502031326294,
0.39945313334465027,
0.7918493747711182,
0.06549829989671707,
-0.5200685858726501,
1.347945213317871,
-0.14205646514892578,
-0.30776673555374146,
-0.5347550511360168,
0.8504564166069031,
0.14772114157676697,
0.5232222080230713,
0.4158098101615906,
... |
gatewayMethod returns the grpcgateway method for a given service method. | [
0.19882068037986755,
0.7822022438049316,
0.10420135408639908,
0.017944812774658203,
-0.8059259057044983,
-0.8384872674942017,
0.6896317601203918,
-0.5889030694961548,
-0.456082284450531,
0.2395346611738205,
1.1320114135742188,
0.48950493335723877,
-0.6193993091583252,
0.9790089726448059,
... |
urlToType returns a URL to the documentation file for the given type. The input type path can be either fullyqualified or not, regardless, the URL returned will always have a fullyqualified hash. TODO(slimsag): have the template pass in the relative type instead of nil, so that relative symbol paths work. | [
-0.8425987362861633,
0.4214455783367157,
0.8433783650398254,
-0.3561446964740753,
0.43723371624946594,
-0.4805664122104645,
0.6622416377067566,
-0.3877345323562622,
-0.6009501218795776,
-0.3705843985080719,
0.0665164664387703,
-0.30264943838119507,
0.3374477028846741,
0.35711535811424255,
... |
resolvePkgPath resolves the named protobuf package, returning its file path. TODO(slimsag): This function assumes that the package ("package foo;") is named identically to its file name ("foo.proto"). Protoc doesn't pass such information to us because it hasn't parsed all the files yet we will most likely have to scan ... | [
0.026679256930947304,
0.0644124299287796,
0.7292400598526001,
0.11091014742851257,
-0.18310604989528656,
-0.29420337080955505,
0.5096172094345093,
0.24960745871067047,
-0.46206679940223694,
-0.32476678490638733,
0.03285367041826248,
-1.2989966869354248,
-0.43966323137283325,
0.372088849544... |
location returns the source code info location for the generic ASTlike node from the descriptor package. | [
-0.5649340152740479,
-0.21858951449394226,
0.33216598629951477,
-1.8419944047927856,
-0.055358342826366425,
-0.36659324169158936,
0.019404934719204903,
0.08220945298671722,
-0.7003060579299927,
0.2871081233024597,
0.293535977602005,
0.4119376242160797,
2.007219076156616,
0.1476176530122757... |
findCachedItem finds and returns a cached location for x. | [
-0.278339684009552,
-0.5075294971466064,
0.2925136685371399,
0.4607817530632019,
-1.1925698518753052,
0.8128382563591003,
-0.09095947444438934,
-0.5640902519226074,
-0.393966943025589,
-0.442066490650177,
-0.1448630392551422,
-0.18395520746707916,
0.32589414715766907,
-0.16615141928195953,... |
walkPath walks through the root node (the f.f file) descending down the path until it is resolved, at which point the value is returned. | [
-0.32512325048446655,
-0.08219804614782333,
0.5782314538955688,
0.2989307940006256,
0.47967153787612915,
-0.5716659426689148,
1.1026332378387451,
-0.7209631204605103,
-1.262819528579712,
-1.577447533607483,
0.29528382420539856,
-0.8575840592384338,
-0.5562256574630737,
-0.08361516892910004... |
protoFields invokes fn with the protobuf tag ID and its inmemory Go value given a descriptor node type. It stops invoking fn when it returns false. | [
-0.01997138187289238,
1.1729823350906372,
0.2975165545940399,
-0.41139480471611023,
0.5513988137245178,
-0.10289783775806427,
-0.5008880496025085,
-0.4712200462818146,
-1.0999221801757812,
-0.2536412477493286,
-0.40176358819007874,
-0.09658468514680862,
-0.09995392709970474,
0.017811346799... |
Tally adds stuff up | [
0.35005471110343933,
-0.38496285676956177,
0.3047669529914856,
-0.0808626115322113,
-0.3192249536514282,
-0.49511000514030457,
1.1702589988708496,
-0.9841331243515015,
0.06615135073661804,
0.0029939282685518265,
-1.5478739738464355,
-0.21953549981117249,
2.307866096496582,
-0.8183333873748... |
NewParser return a new parser struct | [
-0.22862599790096283,
-2.2310948371887207,
0.376380056142807,
-0.12624143064022064,
-0.9294991493225098,
-0.03679894283413887,
-1.1874022483825684,
-0.606734573841095,
-0.000942619692068547,
-1.522811770439148,
-0.5564475059509277,
-0.38863077759742737,
-0.874583899974823,
-0.4624440073966... |
Parse parses log lines | [
0.6776450872421265,
-0.09686537832021713,
0.2723279297351837,
0.044406067579984665,
0.5167774558067322,
-0.14985811710357666,
-1.4311103820800781,
-0.26154911518096924,
-0.492023229598999,
-0.8080415725708008,
0.22705921530723572,
-0.921379566192627,
-0.15820446610450745,
0.076347067952156... |
NewActivity creates a new activity | [
0.7044656276702881,
-1.2589517831802368,
0.0037068109959363937,
1.1191723346710205,
0.32226306200027466,
-0.24154384434223175,
0.579492449760437,
-0.5761340856552124,
0.2589438557624817,
-1.3039450645446777,
0.08552724868059158,
-0.7137270569801331,
-0.5479568839073181,
-0.2392029911279678... |
MergeLabels merges all the label maps received as argument into a single new label map. | [
-1.2222222089767456,
-0.42037150263786316,
0.6464486718177795,
0.6092744469642639,
0.5074715614318848,
1.3814867734909058,
-0.8794493675231934,
-0.6211023330688477,
-0.6651843190193176,
-0.7688532471656799,
0.43538209795951843,
-0.8842752575874329,
-0.9244993329048157,
0.4800444543361664,
... |
GetLabels returns the labels for the component with specific role | [
-0.14704051613807678,
-0.750218391418457,
0.25427648425102234,
-1.1431467533111572,
0.8162323236465454,
-0.1579945981502533,
-1.0457624197006226,
-0.10188937187194824,
0.6663789749145508,
0.5964491367340088,
0.5215646028518677,
-0.21573954820632935,
-0.18587593734264374,
0.5127477049827576... |
Handle executing the request and returning a response | [
-1.1627187728881836,
-0.9112849831581116,
0.5601257085800171,
0.8340021371841431,
1.1371078491210938,
-0.1631995439529419,
-0.24824261665344238,
-0.7483553886413574,
0.028784461319446564,
-0.42021432518959045,
0.22366729378700256,
-1.8886804580688477,
-0.9265645742416382,
-0.83183169364929... |
NewShowCluster creates a new http.Handler for the show cluster operation | [
0.6162110567092896,
0.020443648099899292,
0.2181006669998169,
0.8178076148033142,
-1.142643690109253,
-0.6250205039978027,
0.9243960380554199,
0.3439018726348877,
0.0902417004108429,
-0.5147792100906372,
0.3360133767127991,
1.173939824104309,
0.33838507533073425,
0.04891018941998482,
0.4... |
AddAggregate will add aggregate to the base | [
0.154827281832695,
-0.03794409707188606,
0.7386804223060608,
0.1171039491891861,
0.5356320738792419,
-0.6443490386009216,
-0.8488098382949829,
-0.39649373292922974,
-0.5253311395645142,
-0.7002944946289062,
0.2928580641746521,
-0.2544594705104828,
-1.0384352207183838,
1.433092713356018,
... |
NewMemoryStore create boring event store | [
1.1638579368591309,
-0.08092696219682693,
0.13719776272773743,
-0.2799694836139679,
-0.3291591703891754,
-0.17955245077610016,
0.27295538783073425,
-0.5088427662849426,
0.7824602127075195,
-0.7412768006324768,
-1.1529371738433838,
-0.20067861676216125,
-1.555346965789795,
0.163781031966209... |
RegisterAPIRoutes adds API routes to the Echo's route group | [
-1.330712914466858,
0.6541948318481445,
0.2815782129764557,
-0.3810414969921112,
0.5737160444259644,
0.11337530612945557,
-0.9455426931381226,
-0.22089670598506927,
-0.8896870017051697,
-0.14246606826782227,
-0.6711099147796631,
0.14481991529464722,
-0.7068031430244446,
0.6355485320091248,... |
NewStagesLatency returns a stageslatency StagesLatency | [
0.5090567469596863,
-1.7296653985977173,
-0.037287622690200806,
0.5409640073776245,
-1.7537672519683838,
-1.0025146007537842,
-1.0830049514770508,
-0.7462273836135864,
0.37992095947265625,
0.4231709837913513,
-1.0274109840393066,
-1.375573754310608,
-0.38939791917800903,
0.4979725182056427... |
Collect collects data from the db, updating initial values if needed, and then subtracting initial values if we want relative values, after which it stores totals. | [
0.6167305707931519,
-0.5545986890792847,
0.45844367146492004,
-0.3636845350265503,
-0.6890355944633484,
0.3175533711910248,
0.31601208448410034,
-1.0551584959030151,
-1.0457946062088013,
0.11372039467096329,
0.4477705955505371,
-0.9050466418266296,
1.2441400289535522,
0.9973273277282715,
... |
ResetStatistics resets the statistics to current values | [
0.8376504182815552,
1.0683727264404297,
0.0545838288962841,
1.0252798795700073,
0.6980968713760376,
0.07359523326158524,
1.278712511062622,
-1.0308430194854736,
-0.4067356586456299,
-0.3322550654411316,
0.360750287771225,
1.1568129062652588,
0.3772970736026764,
-0.35043394565582275,
-0.6... |
generate the results and totals and sort data | [
-0.3133085370063782,
0.6619691848754883,
0.23420603573322296,
-0.7721139192581177,
0.28733929991722107,
0.04360438883304596,
1.1282068490982056,
-0.7715132236480713,
-0.33203059434890747,
-0.7511581182479858,
-0.17747390270233154,
-1.6643987894058228,
0.692759096622467,
0.8523253202438354,... |
HaveRelativeStats is true for this object | [
2.4032845497131348,
0.25992536544799805,
0.8209633231163025,
0.17956654727458954,
-0.13788850605487823,
1.505443811416626,
1.0197499990463257,
-0.7938041687011719,
0.16101524233818054,
-1.1812747716903687,
-0.4403274953365326,
-0.8961758017539978,
-0.39479267597198486,
0.9376736879348755,
... |
GetHandler returns a function metadata | [
-0.919457197189331,
-0.5020670890808105,
0.18139640986919403,
0.45267635583877563,
0.8126279711723328,
-0.4444175064563751,
-0.732048749923706,
0.2343045026063919,
-1.107015609741211,
-0.7084580659866333,
-0.16315549612045288,
0.5527547001838684,
0.644442081451416,
-0.7633267045021057,
0... |
String implements fmt.Stringer interface | [
-0.06485264003276825,
-1.7959461212158203,
0.4146379828453064,
-0.4577491879463196,
-0.25181299448013306,
0.988053023815155,
-0.3429393768310547,
-1.016294240951538,
0.09822351485490799,
-1.4655996561050415,
0.5267314910888672,
-0.28228724002838135,
0.08958086371421814,
0.8800935745239258,... |
dropletIDFromProviderID returns a droplet's ID from providerID. The providerID spec should be retrievable from the Kubernetes node object. The expected format is: digitalocean://dropletid ref: | [
0.4287918210029602,
0.1988932341337204,
0.24742503464221954,
-0.4867563843727112,
-0.28233638405799866,
0.6871930360794067,
0.25580087304115295,
-0.2903650999069214,
1.5113760232925415,
1.1499922275543213,
0.642525851726532,
0.8547912240028381,
0.3522428870201111,
-0.7436317205429077,
0.... |
reboot does not seem to run /etc/rc.local | [
0.46000269055366516,
-0.6304680109024048,
0.211598739027977,
1.078098177909851,
0.2852117121219635,
0.4882400333881378,
0.8422138094902039,
-0.01930568926036358,
0.7900552749633789,
-0.5488190650939941,
0.04459443688392639,
-0.6460205912590027,
-0.5091931223869324,
0.37110841274261475,
-... |
UploadCreateTicket creates a ticket which contains all required parameters to upload file/data to cloud, the ticket should be used in 1 hour. To create ticket, r will be fully read to calculate SHA1 and MD5 hash value. If you want to reuse r, try to seek it to beginning. To upload a file larger than 5G bytes, use `Uplo... | [
0.7730293273925781,
0.10731129348278046,
0.6629973649978638,
1.0035343170166016,
0.08670232445001602,
0.7647624611854553,
0.3890378773212433,
-0.6184207201004028,
-0.8496456146240234,
-0.49933305382728577,
-0.8085415959358215,
-0.05656186118721962,
-0.5841834545135498,
0.22602133452892303,... |
UploadParseResult parses the raw upload response, and fills it to file. | [
0.28280648589134216,
-0.36715561151504517,
0.3346515893936157,
-0.38759616017341614,
0.458167165517807,
-0.27450457215309143,
0.4407496154308319,
-0.27570828795433044,
-0.4641075134277344,
-0.5532034039497375,
-0.9632284045219421,
-0.908233106136322,
-0.101145438849926,
-1.1438058614730835... |
UploadSample directly uploads small file/data (smaller than 200MB) to cloud. | [
0.22136661410331726,
0.8341296315193176,
0.50395667552948,
-0.2965909540653229,
-0.5823634266853333,
-0.1469622254371643,
-0.13045871257781982,
-0.6958773732185364,
-0.6375295519828796,
-0.0063759926706552505,
-0.5613670349121094,
0.48227792978286743,
0.23161658644676208,
-0.04817970097064... |
Parse topic and return the topic prefix and productid | [
0.230189248919487,
-0.64460688829422,
0.2993374764919281,
0.20328044891357422,
0.3429987132549286,
-0.1274174451828003,
-0.21759212017059326,
-0.24621404707431793,
0.5175890922546387,
0.7001357674598694,
0.25786012411117554,
-0.44064775109291077,
0.6738529801368713,
-0.1457807570695877,
... |
Setup is run at the beginning of a new session, before ConsumeClaim | [
1.11880624294281,
-0.8761016726493835,
0.5283026695251465,
0.38427403569221497,
0.4195745587348938,
-1.0250800848007202,
0.06756401062011719,
-0.5424662828445435,
1.357540249824524,
0.22820131480693817,
0.020249953493475914,
0.4612673819065094,
0.28090545535087585,
-0.11983396112918854,
... |
Cleanup is run at the end of a session, once all ConsumeClaim goroutines have exited | [
1.346437692642212,
-1.3123009204864502,
0.5743417143821716,
-0.5261508226394653,
0.41176825761795044,
-0.09182701259851456,
-0.04661544784903526,
-0.10243145376443863,
0.913926899433136,
-0.2064550369977951,
-0.10348069667816162,
0.5730342864990234,
0.29405903816223145,
-0.2814114987850189... |
ConsumeClaim must start a consumer loop of ConsumerGroupClaim's Messages(). | [
1.6515731811523438,
-0.3248824179172516,
0.3173648416996002,
0.7493236660957336,
0.8167274594306946,
-0.014407066628336906,
0.615488588809967,
-0.46970489621162415,
-0.020912591367959976,
-0.19481293857097626,
0.6849752068519592,
0.5828637480735779,
-0.22458161413669586,
0.7221136093139648... |
NamespaceScoped returns true because all EndpointSlices need to be within a namespace. | [
-0.2990277111530304,
-0.4385245442390442,
0.5989394187927246,
0.2727160155773163,
-0.1602165251970291,
0.637883722782135,
-0.9155176281929016,
-1.1219325065612793,
0.6373579502105713,
0.6547355651855469,
0.3322514593601227,
0.5365214943885803,
-1.0371419191360474,
0.7819244265556335,
-1.... |
PrepareForCreate clears the status of an EndpointSlice before creation. | [
-0.6116337180137634,
0.2559761106967926,
-0.049458347260951996,
0.808264970779419,
0.462820827960968,
0.39921411871910095,
-0.7242633104324341,
-0.7315040826797485,
-0.26424500346183777,
0.8159550428390503,
-0.20740331709384918,
-0.02113986946642399,
-0.10234907269477844,
0.135947585105896... |
PrepareForUpdate clears fields that are not allowed to be set by end users on update. | [
-0.22426781058311462,
-0.1854700893163681,
0.4155004322528839,
1.3020172119140625,
-1.6380860805511475,
0.6967753171920776,
-0.5988884568214417,
-1.3088791370391846,
-0.4849424362182617,
1.0882644653320312,
-0.07105911523103714,
-0.04946233332157135,
-0.7789778709411621,
-1.203338623046875... |
Validate validates a new EndpointSlice. | [
-0.7061602473258972,
-0.5554044842720032,
-0.015159743838012218,
1.3064202070236206,
0.8006138205528259,
0.24788136780261993,
-0.4164845049381256,
-0.2623598575592041,
-0.8817230463027954,
0.5674473643302917,
0.5448035597801208,
-0.5492407083511353,
-0.7217366099357605,
0.3313536047935486,... |
Canonicalize normalizes the object after validation. | [
0.36783158779144287,
-0.9636266827583313,
0.2583726942539215,
0.6984387636184692,
-0.43964508175849915,
0.21717217564582825,
0.9461405873298645,
0.20216257870197296,
0.053407520055770874,
0.013705266639590263,
-0.468718945980072,
-0.014548593200743198,
0.41473859548568726,
-0.6827572584152... |
AllowCreateOnUpdate is false for EndpointSlice; this means POST is needed to create one. | [
-0.9182344079017639,
-0.5509063601493835,
0.41329246759414673,
1.1959524154663086,
0.021847985684871674,
1.5715633630752563,
-0.6525102257728577,
-0.37202730774879456,
-0.4841667711734772,
0.7715508341789246,
0.1257968693971634,
-0.557819664478302,
-0.9504202604293823,
0.630088210105896,
... |
ValidateUpdate is the default update validation for an end user. | [
-0.8476490378379822,
-0.6283780336380005,
0.3423407971858978,
1.9308000802993774,
-0.5915834307670593,
0.8662336468696594,
-0.19705279171466827,
-0.08746504038572311,
-0.2902667224407196,
0.24032831192016602,
0.9027114510536194,
-0.8893380165100098,
-0.6064419150352478,
-0.6363112926483154... |
AllowUnconditionalUpdate is the default update policy for EndpointSlice objects. | [
-0.2753337621688843,
-0.6930785179138184,
0.16747555136680603,
0.27631619572639465,
-0.7449381947517395,
1.4450856447219849,
-0.4047544300556183,
-0.20051971077919006,
0.2913214862346649,
0.7148022651672363,
1.0535959005355835,
0.1020958200097084,
-0.5858393311500549,
-0.6794286966323853,
... |
dropDisabledConditionsOnCreate will drop the terminating condition if the EndpointSliceTerminatingCondition is disabled. Otherwise the field is left untouched. | [
0.5253239870071411,
0.31996920704841614,
0.20596961677074432,
0.8459610342979431,
0.3487410545349121,
1.022692322731018,
-0.45638614892959595,
0.356099396944046,
-0.5196936726570129,
0.33345985412597656,
-0.11669793725013733,
-0.9497000575065613,
-0.5423725247383118,
0.0038932436145842075,... |
dropDisabledConditionsOnUpdate will drop the terminating condition field if the EndpointSliceTerminatingCondition feature gate is disabled unless an existing EndpointSlice object has the field already set. This ensures the field is not dropped on rollback. | [
0.30539366602897644,
-0.650407612323761,
0.468222051858902,
0.546513557434082,
-0.38768458366394043,
0.8609359860420227,
-0.5827468037605286,
0.8896437883377075,
0.08068970590829849,
1.1320664882659912,
0.0288439579308033,
-0.6004390716552734,
-0.9771642088890076,
-0.3713398873806,
-0.08... |
validate confirms that a record has correct values in it. | [
1.4214282035827637,
0.214277446269989,
0.40423983335494995,
0.5173342823982239,
0.7890609502792358,
0.9654420614242554,
-0.45944684743881226,
0.08852320909500122,
-1.167024850845337,
-0.34800538420677185,
0.32590723037719727,
-0.32450035214424133,
-0.11691029369831085,
0.6400137543678284,
... |
MarshalJSON marshalls Attributes with keys that must begin with a "dc." prefix and values that are limited to 400 bytes. | [
0.14977088570594788,
0.3513830006122589,
0.3456448018550873,
-0.4337998032569885,
-1.2112324237823486,
-0.594011127948761,
-0.313291996717453,
-0.6914727091789246,
0.9585753679275513,
-0.38395383954048157,
-0.32146891951560974,
1.0116783380508423,
0.8577320575714111,
0.6421942710876465,
... |
format time as ms since epoch | [
0.3917040526866913,
-0.8008147478103638,
0.43736132979393005,
-0.8310357332229614,
-0.24014827609062195,
-0.7249376773834229,
-1.0174520015716553,
-0.424691379070282,
0.15619142353534698,
0.7819311022758484,
0.38966402411460876,
-0.20246970653533936,
1.2592350244522095,
1.5379475355148315,... |
only accept bool, number, string, or time | [
-0.459150493144989,
0.20244263112545013,
0.4126969277858734,
0.9305463433265686,
-0.6096702218055725,
1.0038200616836548,
-0.7935792803764343,
-0.2081543654203415,
-0.46163880825042725,
-0.006560585927218199,
-0.04022863507270813,
0.2562849223613739,
-1.1168745756149292,
0.8168402910232544... |
truncates in to the limit number of bytes if a string, returns true if truncated | [
0.09641678631305695,
0.7482447624206543,
0.6636528372764587,
0.025807883590459824,
-0.3970976769924164,
0.09506247192621231,
-0.44360265135765076,
0.14946696162223816,
0.6223039627075195,
-0.20247197151184082,
-0.3658194839954376,
0.07111530750989914,
-1.0316866636276245,
-1.82644295692443... |
newLexer returns a lexer object. | [
0.3223901689052582,
-1.6922177076339722,
0.11852315813302994,
0.23351259529590607,
-1.1642388105392456,
-0.40690499544143677,
-1.513962745666504,
-0.17824040353298187,
0.17465117573738098,
-1.4438585042953491,
-0.4294665455818176,
-0.2179059535264969,
-0.524363100528717,
0.3353720009326935... |
nextToken returns the next token. | [
-0.43790775537490845,
-0.17464908957481384,
0.2408590018749237,
0.025431133806705475,
-0.8651372194290161,
0.10693839192390442,
0.13412755727767944,
0.6897181272506714,
0.3906490206718445,
-1.7402536869049072,
-0.6814265251159668,
1.026853322982788,
0.1654127836227417,
-0.5791476964950562,... |
skipWhitespace kips whitespace characters. | [
-0.3936839699745178,
0.421498566865921,
0.30285289883613586,
-0.5168547630310059,
-0.7368297576904297,
0.3290018141269684,
0.24966643750667572,
-0.6755155324935913,
0.9451252818107605,
0.10364724695682526,
0.14018955826759338,
0.11876928061246872,
0.5749403238296509,
0.17757543921470642,
... |
TODO: Support Unicode readChar reads the next character and advances the position in the input string. | [
-0.3793441355228424,
-0.617267370223999,
0.40353477001190186,
0.25297561287879944,
-0.837736964225769,
0.5586133003234863,
0.4087214767932892,
-0.028927098959684372,
0.04859084263443947,
-1.453864574432373,
0.9143039584159851,
0.25253385305404663,
-0.021322641521692276,
-1.2328425645828247... |
readString returns a series of characters surrounded by double quotes. It advances the position until it encounters either a closing double quote or the end of the input. | [
-0.5960890054702759,
-0.4775170087814331,
0.6139354705810547,
0.05587764084339142,
-0.004583276808261871,
-0.03784114122390747,
-0.3719029128551483,
-1.4633795022964478,
-0.3508651852607727,
0.06403158605098724,
1.0746417045593262,
0.6949951648712158,
0.24725329875946045,
-0.67342680692672... |
readNumber returns a number as a string. It advances the position until it encounters a nondigit character. | [
-0.4149639308452606,
-0.2272976189851761,
0.5057805776596069,
-0.10802355408668518,
-1.1430414915084839,
-0.23220790922641754,
-0.524290144443512,
-0.5100693106651306,
0.061144981533288956,
-0.8473737239837646,
0.9731321334838867,
-0.4548806846141815,
-0.2232043296098709,
-0.94058787822723... |
readKeyword returns a string of keywords. It advances the position until it encounters a nonalphabetic character. | [
0.014328171499073505,
-1.0124410390853882,
0.4052724242210388,
0.29762980341911316,
-0.9330013990402222,
0.23900873959064484,
-1.0321426391601562,
-0.664701521396637,
-0.29306545853614807,
0.9647371172904968,
0.6175634860992432,
-0.14272861182689667,
-0.8691248893737793,
-0.84457927942276,... |
isLetter returns true if the character is either an alphabet or an underscore character, false otherwise. | [
-1.6808762550354004,
-0.16930194199085236,
0.436647891998291,
-0.9480352997779846,
-0.2782403826713562,
0.5532780885696411,
-0.9474051594734192,
-0.290473073720932,
0.8075934052467346,
0.26902899146080017,
-1.1523032188415527,
0.9230755567550659,
-0.31200462579727173,
0.6870012283325195,
... |
isDigit returns true if the character is a digit string, false otherwise. | [
-0.11269795894622803,
-0.9431649446487427,
0.4827287197113037,
0.7034206390380859,
0.5648402571678162,
0.3013290762901306,
-0.09037061780691147,
-0.13947159051895142,
0.7081296443939209,
-0.11552250385284424,
-0.40835100412368774,
-0.16273915767669678,
-0.3325687050819397,
0.03083198890089... |
newToken initializes a token and returns it. | [
-0.23233774304389954,
-0.8380447030067444,
0.18970449268817902,
0.3911838233470917,
0.017093533650040627,
-0.2740709185600281,
-0.1469356119632721,
0.567672073841095,
-0.013174496591091156,
-2.6928694248199463,
-1.065541386604309,
0.6502702236175537,
0.3614221215248108,
-0.7265875935554504... |
New establishes a new connection to the system log daemon. Each write to the returned writer sends a log message with the given priority (a combination of the syslog facility and severity) and prefix tag. If tag is empty, the os.Args[0] is used. | [
0.29695072770118713,
-0.7967066168785095,
0.3373522162437439,
-0.22903525829315186,
-0.4221223294734955,
-1.83463716506958,
-0.40259337425231934,
0.23623044788837433,
-0.40309539437294006,
-0.7926176190376282,
-0.13010640442371368,
-0.18572025001049042,
0.023875705897808075,
0.420089662075... |
Dial establishes a connection to a log daemon by connecting to address raddr on the specified network. Each write to the returned writer sends a log message with the facility and severity (from priority) and tag. If tag is empty, the os.Args[0] is used. If network is empty, Dial will connect to the local syslog server.... | [
0.6457023024559021,
-0.5743287801742554,
0.3115399479866028,
-0.03905520215630531,
0.5802217125892639,
-0.4359995424747467,
-0.9992907643318176,
0.5021525025367737,
0.2933924198150635,
-0.4390835165977478,
0.07702426612377167,
-0.16837747395038605,
-0.16007699072360992,
0.39878877997398376... |
Close closes a connection to the syslog daemon. | [
0.7726228833198547,
-0.6907858848571777,
0.3605009615421295,
-0.17069929838180542,
-0.9217187166213989,
-0.535074770450592,
-1.005064606666565,
0.26753389835357666,
0.0392390675842762,
-0.28177669644355774,
-0.5378629565238953,
0.2540050446987152,
0.12548905611038208,
0.39339566230773926,
... |
Emerg logs a message with severity LOG_EMERG, ignoring the severity passed to New. | [
-0.4595223367214203,
-0.2263558804988861,
0.43327268958091736,
0.05853549763560295,
-0.3416900336742401,
0.11489874869585037,
-0.8452255725860596,
0.6908811926841736,
-0.6720094084739685,
-0.039019182324409485,
-0.43044108152389526,
0.40919703245162964,
-0.2616417407989502,
0.8278928399085... |
Alert logs a message with severity LOG_ALERT, ignoring the severity passed to New. | [
0.38190022110939026,
-0.31033191084861755,
0.37906625866889954,
0.3854468762874603,
-0.6076932549476624,
0.08658286929130554,
-0.3442094326019287,
-0.2320428043603897,
-0.36008521914482117,
-0.29243004322052,
-0.45851173996925354,
0.9145009517669678,
-0.11302340775728226,
-0.03602290153503... |
Crit logs a message with severity LOG_CRIT, ignoring the severity passed to New. | [
1.4458304643630981,
0.25481581687927246,
0.3024803400039673,
0.5681401491165161,
-0.4594220519065857,
0.2093660533428192,
-0.1992533802986145,
-0.08548041433095932,
-0.8097240924835205,
-0.5411045551300049,
0.18234041333198547,
1.1178711652755737,
-0.3298453092575073,
-0.1733880490064621,
... |
Err logs a message with severity LOG_ERR, ignoring the severity passed to New. | [
0.638900637626648,
-0.10329993814229965,
0.27105963230133057,
0.8474096059799194,
-0.8755660653114319,
0.18862603604793549,
-0.9010417461395264,
-0.004865596070885658,
-0.3988177180290222,
-0.44954681396484375,
-0.2223939597606659,
0.6188762187957764,
0.08739601820707321,
0.659136116504669... |
Warning logs a message with severity LOG_WARNING, ignoring the severity passed to New. | [
0.5001986026763916,
0.4214198589324951,
0.40055790543556213,
0.9876515865325928,
-0.39191505312919617,
-0.313668817281723,
-0.9512259364128113,
-0.8461629152297974,
-0.23614056408405304,
-0.00019329435599502176,
-0.3377351760864258,
0.7577928900718689,
0.49714839458465576,
0.02722817286849... |
Notice logs a message with severity LOG_NOTICE, ignoring the severity passed to New. | [
0.26789990067481995,
-0.19309259951114655,
0.35577234625816345,
0.7977916598320007,
0.44501498341560364,
-0.20903131365776062,
-0.9700679779052734,
-0.13294531404972076,
-0.2284088134765625,
-0.7386561036109924,
-0.6425139307975769,
0.7770965695381165,
0.5401069521903992,
0.242353528738021... |
Info logs a message with severity LOG_INFO, ignoring the severity passed to New. | [
1.0839507579803467,
-0.3670293092727661,
0.3764097988605499,
0.5629677772521973,
-0.2993071675300598,
0.2843547761440277,
-0.7023870944976807,
-0.42832717299461365,
-1.318318486213684,
-0.44683218002319336,
-0.6013269424438477,
0.5301966071128845,
0.23051868379116058,
0.5848967432975769,
... |
Debug logs a message with severity LOG_DEBUG, ignoring the severity passed to New. | [
0.5581420660018921,
0.46151626110076904,
0.4555332660675049,
0.4494309425354004,
-0.06337638944387436,
-0.06574799120426178,
-0.7975758910179138,
-0.26091399788856506,
-0.24554657936096191,
-0.5885318517684937,
-0.5604518055915833,
0.6216485500335693,
-0.24197109043598175,
0.34310826659202... |
NewLogger creates a log.Logger whose output is written to the system log service with the specified priority, a combination of the syslog facility and severity. The logFlag argument is the flag set passed through to log.New to create the Logger. | [
0.9541078209877014,
0.02757955901324749,
0.3830125033855438,
0.5284156799316406,
-0.05411135032773018,
-0.41758257150650024,
-0.7032973766326904,
0.9022234678268433,
0.04978950694203377,
-1.0248767137527466,
-0.6765075325965881,
-0.15351323783397675,
-0.6116894483566284,
0.750591516494751,... |
ensureAtLeastOne returns true if at least on of the keys exists as an env var, false otherwise. | [
-0.14150911569595337,
-0.23844827711582184,
0.3926785886287689,
-0.29112106561660767,
0.8454836010932922,
0.3459329307079315,
-1.7628849744796753,
-1.152795672416687,
-1.1615914106369019,
0.6741076707839966,
-0.37341707944869995,
-0.282685786485672,
-0.6260755658149719,
0.9950933456420898,... |
convertKey Converts an environment variable name to a propertyname according to the following rules: a single underscore (_) is replaced with a . a double underscore (__) is replaced with a single underscore a triple underscore (___) is replaced with a dash Moreover, the whole string is converted to lowercase. The beha... | [
-1.2673557996749878,
-0.8815287351608276,
1.0246320962905884,
-0.6600842475891113,
-0.11666085571050644,
-0.661675214767456,
-0.7564225792884827,
0.1826685220003128,
-0.4382235109806061,
0.9866787791252136,
-0.3389105200767517,
-0.1906740516424179,
0.6473528742790222,
0.09380616247653961,
... |
replaceUnderscores replaces every underscore '_' by a dot '.' | [
-0.7900400161743164,
-0.641033411026001,
0.5585225224494934,
-1.4714384078979492,
0.17677457630634308,
-0.47422271966934204,
-0.955265998840332,
0.07216224819421768,
-0.43281954526901245,
0.04890979453921318,
-1.2768888473510742,
0.05651646852493286,
1.221486210823059,
0.12531252205371857,... |
Contains returns true if slice contains element, and false otherwise. | [
-0.5911476612091064,
-0.7109631299972534,
0.24657171964645386,
0.7431684732437134,
-0.18206457793712616,
0.17553427815437317,
-0.8936048746109009,
-0.38410434126853943,
0.35156798362731934,
0.09861861169338226,
-0.7342109680175781,
0.15939585864543915,
-0.1000295877456665,
0.44601529836654... |
ListToMap splits each and entry of the kvList argument at '=' into a key/value pair and returns a map of all the k/v pair thus obtained. | [
-1.7905224561691284,
0.46604278683662415,
0.6386680603027344,
0.5531835556030273,
-0.5016877055168152,
-0.06904298812150955,
-0.844115138053894,
0.789850652217865,
0.8032160401344299,
0.9043190479278564,
-1.161834955215454,
-1.4108772277832031,
0.45250335335731506,
0.7381181716918945,
-0... |
GetEnvironment returns the current environment as a map. | [
-1.0707918405532837,
-1.3478275537490845,
0.28025633096694946,
-0.1493343710899353,
-0.0004986157873645425,
-0.04804768040776253,
0.7317835092544556,
-0.2605117857456207,
-0.08261046558618546,
0.750454843044281,
-0.35371875762939453,
-0.21819636225700378,
0.028903041034936905,
0.1636674702... |
BuildProperties creates a map suitable to be output as Java properties from a ConfigSpec and a map representing an environment. | [
-0.40768352150917053,
-1.6132252216339111,
0.363465815782547,
-0.17923788726329803,
0.11868485063314438,
0.23029713332653046,
0.05009690672159195,
0.9483130574226379,
-1.0145084857940674,
0.472700297832489,
0.5084344148635864,
0.7959362268447876,
0.5333060026168823,
-0.4157896339893341,
... |
NewRepoUpdateTopicsParams creates a new RepoUpdateTopicsParams object with the default values initialized. | [
-0.7538861632347107,
-0.1958533376455307,
0.4454411268234253,
-0.08079716563224792,
-0.05863332003355026,
0.13954463601112366,
-0.41288241744041443,
0.1936965137720108,
-0.6673363447189331,
0.00046227662824094296,
-0.41237562894821167,
-0.7689753174781799,
-0.4529106020927429,
-0.007898880... |
NewRepoUpdateTopicsParamsWithTimeout creates a new RepoUpdateTopicsParams object with the default values initialized, and the ability to set a timeout on a request | [
-0.17505453526973724,
-0.28255993127822876,
0.5300021767616272,
0.019625118002295494,
-0.4795297086238861,
0.6379373669624329,
-1.0304670333862305,
0.13199856877326965,
-0.6831074953079224,
0.7459741830825806,
-0.34482553601264954,
-0.5269671678543091,
-0.6896291375160217,
0.21162483096122... |
NewRepoUpdateTopicsParamsWithContext creates a new RepoUpdateTopicsParams object with the default values initialized, and the ability to set a context for a request | [
-0.7116031050682068,
-0.20404137670993805,
0.5653622150421143,
-0.34991276264190674,
-0.33341726660728455,
0.6003426313400269,
-1.0282161235809326,
-0.5767033696174622,
0.029130708426237106,
0.46804744005203247,
-0.4259275794029236,
-0.21804939210414886,
-0.5104992389678955,
-0.09416913241... |
NewRepoUpdateTopicsParamsWithHTTPClient creates a new RepoUpdateTopicsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request | [
-0.4272400140762329,
-0.31997594237327576,
0.46648168563842773,
-0.46426549553871155,
-0.2038397192955017,
0.7996935844421387,
-0.46984681487083435,
-0.04816093668341637,
-0.9344543814659119,
0.1350870281457901,
-0.5898082852363586,
-0.5517551898956299,
-0.3755166828632355,
-0.080742724239... |
WithTimeout adds the timeout to the repo update topics params | [
0.350905179977417,
-0.9973984360694885,
0.2647656500339508,
-1.1113368272781372,
-0.3113915026187897,
0.46148982644081116,
-0.8977898359298706,
0.19217047095298767,
0.07031141966581345,
1.4121568202972412,
-0.5608543157577515,
-0.1567540466785431,
-0.35468804836273193,
-0.3314906060695648,... |
SetTimeout adds the timeout to the repo update topics params | [
-0.05343218520283699,
-0.6837079524993896,
0.2121528685092926,
-1.1349170207977295,
0.2520109713077545,
0.988770067691803,
-0.8439069390296936,
0.564609169960022,
-0.158629909157753,
1.359710454940796,
-0.4130673110485077,
-0.23190881311893463,
-0.6522333025932312,
-0.35439333319664,
-1.... |
WithContext adds the context to the repo update topics params | [
-0.18188494443893433,
-0.85572749376297,
0.4247020184993744,
-1.2307411432266235,
-0.5885488390922546,
0.4359663724899292,
-0.9293394684791565,
-0.7254511117935181,
0.7336461544036865,
0.9745178818702698,
-0.7574016451835632,
-0.1886185258626938,
-0.4364331364631653,
-0.7078620791435242,
... |
SetContext adds the context to the repo update topics params | [
-0.4388681948184967,
-0.4918363392353058,
0.2585616707801819,
-1.0303548574447632,
0.19794312119483948,
0.7309038639068604,
-1.0114116668701172,
-0.3007906973361969,
0.7780049443244934,
0.9569480419158936,
-0.6193770170211792,
-0.007319397293031216,
-0.5798943638801575,
-0.4078407883644104... |
WithHTTPClient adds the HTTPClient to the repo update topics params | [
-0.014261443167924881,
-1.0267153978347778,
0.35851868987083435,
-1.2149797677993774,
-0.40228602290153503,
0.5169563889503479,
-0.6925764083862305,
-0.44714367389678955,
-0.16288504004478455,
0.3194034695625305,
-0.5038085579872131,
-0.1124734878540039,
-0.26390987634658813,
-0.4887229502... |
SetHTTPClient adds the HTTPClient to the repo update topics params | [
-0.02328580990433693,
-0.8011804223060608,
0.2556706368923187,
-1.3743752241134644,
-0.22521501779556274,
0.7447196245193481,
-0.8565675020217896,
-0.3061520755290985,
-0.6109058856964111,
0.24357791244983673,
-0.6971081495285034,
-0.1568027287721634,
-0.3915267586708069,
-1.00299096107482... |
WithBody adds the body to the repo update topics params | [
-0.4825155735015869,
-0.8508765697479248,
0.3263062834739685,
-1.5687367916107178,
0.20392176508903503,
0.5877900719642639,
-1.1764792203903198,
-0.9208439588546753,
0.41897666454315186,
0.7755271196365356,
-0.8726485371589661,
-0.5933090448379517,
-0.30213096737861633,
0.12398945540189743... |
SetBody adds the body to the repo update topics params | [
-0.7626290321350098,
-0.530558168888092,
0.261322021484375,
-1.346585988998413,
0.5681174397468567,
0.8451431393623352,
-1.3507083654403687,
-0.7586939930915833,
0.5222269892692566,
0.7375995516777039,
-0.7874137163162231,
-0.25468310713768005,
-0.5473552942276001,
0.5334796905517578,
-1... |
WithOwner adds the owner to the repo update topics params | [
-0.21729274094104767,
-0.714384913444519,
0.27560240030288696,
0.3005685806274414,
-0.41834309697151184,
0.1387127935886383,
-0.00917040929198265,
-0.7325006723403931,
0.10170166939496994,
-0.018242431804537773,
-0.2762163579463959,
-0.12089230120182037,
0.12773235142230988,
-0.21988980472... |
SetOwner adds the owner to the repo update topics params | [
-0.4731999337673187,
-0.5018166899681091,
0.13686984777450562,
0.21208171546459198,
-0.1483766734600067,
0.48035576939582825,
-0.15631911158561707,
-0.650740921497345,
-0.24366535246372223,
0.015229017473757267,
-0.3617767095565796,
-0.06915152072906494,
-0.3196040689945221,
-0.38551929593... |
WithRepo adds the repo to the repo update topics params | [
0.050648033618927,
-0.44152000546455383,
0.3295496702194214,
-0.6527993679046631,
-0.05840166658163071,
0.035334695130586624,
-0.3954813778400421,
0.155414879322052,
0.27889442443847656,
-0.06961801648139954,
-0.3591975271701813,
-0.6224929094314575,
0.09807100147008896,
-0.092130228877067... |
SetRepo adds the repo to the repo update topics params | [
-0.39856287837028503,
0.1731443703174591,
0.28353095054626465,
-0.6379040479660034,
0.053632281720638275,
-0.06352262198925018,
-0.5800828337669373,
0.5333642363548279,
0.17318665981292725,
-0.18602991104125977,
-0.2862395942211151,
-0.4085695743560791,
-0.23755404353141785,
-0.08281128108... |
WriteToRequest writes these params to a swagger request | [
-1.7609347105026245,
-0.8602511882781982,
0.5085070133209229,
-0.5120177268981934,
1.3858880996704102,
-0.42713379859924316,
-0.24625247716903687,
0.6454176902770996,
-0.6256825923919678,
0.30581825971603394,
0.05692572146654129,
0.10191656649112701,
0.17482730746269226,
-0.080370560288429... |
add test add test add test | [
0.4574068486690521,
-0.14367997646331787,
0.45339667797088623,
0.8050510287284851,
1.3213528394699097,
0.43150395154953003,
-0.09717061370611191,
-0.16804012656211853,
1.3782252073287964,
-0.4506949782371521,
-0.2627966105937958,
-0.4711923599243164,
-1.3466262817382812,
0.2990366220474243... |
NewVolumeUploadFromReader creates a VolumeUpload instance, allowing to upload a file to a libvirt storage pool | [
0.5138214230537415,
-0.7786936163902283,
0.36709287762641907,
-0.015078669413924217,
-0.44787853956222534,
-0.08799878507852554,
-0.37290412187576294,
0.46093788743019104,
-0.11998075246810913,
0.6503602266311646,
0.33669501543045044,
-0.5948832035064697,
-0.17334190011024475,
-1.317210197... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.