text stringlengths 7 2.39k | embedding listlengths 768 768 |
|---|---|
RegisterCliSteps register all CLI steps existing | [
-0.35421785712242126,
0.20160391926765442,
0.2317582666873932,
1.8329219818115234,
1.245069146156311,
0.3814665377140045,
0.004505145829170942,
-1.0455398559570312,
0.2943934500217438,
-0.6418158411979675,
-1.147870659828186,
-0.3966818153858185,
0.7914811968803406,
0.9536663293838501,
-... |
NewListCmd creates a command to List smart group collection | [
0.17474567890167236,
-0.959897518157959,
0.34694623947143555,
0.12309633940458298,
-0.051551543176174164,
0.12812381982803345,
-0.6928128004074097,
-0.1712390035390854,
0.3540021777153015,
-0.8400918841362,
-0.0003131826815661043,
0.6576687097549438,
0.09219774603843689,
0.7709771990776062... |
RunE executes the command | [
-1.0256317853927612,
0.28298354148864746,
0.2882044017314911,
0.7177915573120117,
1.3122774362564087,
0.27644112706184387,
0.02564755640923977,
0.08132248371839523,
-1.3816989660263062,
-0.5984736680984497,
0.04835686832666397,
0.36079755425453186,
-0.05385563522577286,
0.10758893936872482... |
SendHTMLMail send TLS HTML Email Main Function | [
1.00441312789917,
1.264923334121704,
0.10402905195951462,
1.014726161956787,
-0.6112751960754395,
0.7637662291526794,
-0.35507047176361084,
-0.1345682591199875,
-0.7702382206916809,
0.7001028060913086,
-0.1494983583688736,
0.8310129046440125,
-0.049557026475667953,
0.12350119650363922,
-... |
SendHTMLMail send TLS HTML Email Main Function END | [
0.9431341886520386,
1.1792247295379639,
0.13984738290309906,
1.111002802848816,
-0.5473958253860474,
0.8212772607803345,
-0.1261981576681137,
-0.18038678169250488,
-0.7920247912406921,
0.6167252063751221,
-0.07208874821662903,
0.7900981307029724,
-0.3183259069919586,
0.0728001743555069,
... |
New constructs a new client | [
-0.26883384585380554,
-1.1137468814849854,
0.16460569202899933,
0.5718616843223572,
-0.4809354245662689,
-0.20162025094032288,
0.01652514562010765,
-0.27290719747543335,
-1.4280545711517334,
-1.1093844175338745,
-0.8554202318191528,
0.2379317581653595,
0.06275992095470428,
0.20443317294120... |
Close closes a Client QUIC connection | [
1.0296664237976074,
-1.0804922580718994,
0.3756088614463806,
-0.6718871593475342,
-0.6963979601860046,
-0.21725940704345703,
-0.5234966278076172,
-1.3980910778045654,
-1.0797113180160522,
-0.9859750866889954,
0.7904093265533447,
-0.47533097863197327,
-0.20822115242481232,
-1.13292539119720... |
SendQuery sends query over a new QUIC stream | [
1.1280736923217773,
-0.5440250635147095,
0.1672000139951706,
0.6869598627090454,
-0.07541990280151367,
-0.6481311917304993,
-1.0723322629928589,
-1.7819353342056274,
-0.23941576480865479,
-0.6994336843490601,
0.3818857967853546,
0.8400002717971802,
-0.4809951186180115,
0.200314000248909,
... |
ErrHeaderRequired return if header not required | [
-1.5022094249725342,
0.07457974553108215,
0.5136728882789612,
0.08786827325820923,
-0.49864327907562256,
0.922159731388092,
-0.6226787567138672,
-0.4434186816215515,
-0.26025205850601196,
0.23212933540344238,
-0.4618818163871765,
0.23965539038181305,
-1.1211602687835693,
0.7778035402297974... |
ErrInvalidFormat return if header has invalid format | [
-0.6782017946243286,
-1.2538554668426514,
0.6908776164054871,
0.5735508799552917,
-0.5704480409622192,
0.2908167839050293,
-0.8301067352294922,
-0.27707135677337646,
-0.01764809712767601,
-0.9003300666809082,
0.7772902250289917,
-0.38717830181121826,
-0.5698089003562927,
0.2437969297170639... |
SaveHeaders is a gin middleware which saves headers to request context | [
-0.861982524394989,
-0.43129464983940125,
0.5750067830085754,
0.7591244578361511,
0.9229580760002136,
-0.12965728342533112,
-0.5677242279052734,
-0.7167231440544128,
-0.11351747065782547,
0.20567423105239868,
-0.07016123831272125,
-1.134456992149353,
-0.5847430229187012,
-0.225852787494659... |
RequestHeadersMap extracts saved headers from context as map[string]string (useful for resty). saveHeaders middleware required for operation. | [
-1.54335618019104,
-1.1461149454116821,
0.6166451573371887,
0.8780311346054077,
0.5371248722076416,
-0.6102653741836548,
-0.22302743792533875,
-1.080912709236145,
0.6718451380729675,
-0.24838945269584656,
0.051642175763845444,
-0.8784202933311462,
0.07577383518218994,
-0.7529540061950684,
... |
RequestXHeadersMap works like RequestHeadersMap but returns only "X" headers | [
-1.6444553136825562,
-0.10711699724197388,
0.844536542892456,
0.8052608966827393,
-0.9214820265769958,
-0.08606737852096558,
-1.722395420074463,
-0.92093825340271,
0.9230334162712097,
-0.13626611232757568,
-0.10733248293399811,
-0.41776809096336365,
-0.3431045413017273,
-1.1517289876937866... |
RequestHeaders extracts saved headers from context. saveHeaders middleware required for operation. | [
-1.1615906953811646,
-0.25859448313713074,
0.47048628330230713,
1.3393796682357788,
0.6550630927085876,
-1.0946767330169678,
-0.07718676328659058,
-0.6001431345939636,
0.9686809182167053,
-0.0707879289984703,
0.23564092814922333,
-0.970615804195404,
-0.33384886384010315,
-0.888293206691741... |
RequireHeaders is a gin middleware to ensure that headers is set | [
0.10100943595170975,
0.25696200132369995,
0.6360781788825989,
0.9199625849723816,
-0.24506178498268127,
0.5215246677398682,
-0.32216760516166687,
-0.7872493863105774,
-0.07683737576007843,
0.14472636580467224,
0.8048195242881775,
-1.1112419366836548,
-0.7986732721328735,
0.8862831592559814... |
PrepareContext is a gin middleware which adds values from header to context | [
-0.2995857894420624,
-0.013347125612199306,
0.689651608467102,
0.4570924937725067,
-0.02984105981886387,
-0.04065387323498726,
-0.8505139946937561,
-0.3511902689933777,
0.7209727168083191,
0.26443931460380554,
-0.011867009103298187,
-0.44406256079673767,
0.46600088477134705,
-0.10372359305... |
RequireAdminRole is a gin middleware which requires admin role | [
0.35595861077308655,
0.6235155463218689,
0.42976853251457214,
0.4818820357322693,
-0.6494762897491455,
0.9559692740440369,
-0.640261709690094,
-1.0907933712005615,
0.21850243210792542,
1.0283541679382324,
0.5724124312400818,
0.03501429781317711,
-0.6834160089492798,
1.6286416053771973,
0... |
SubstituteUserMiddleware replaces user id in context with user id from query if it set and user is admin | [
0.07703538984060287,
0.6653708815574646,
0.22215163707733154,
0.6095494031906128,
-0.4849541485309601,
0.4397957921028137,
-0.21503283083438873,
-0.06572416424751282,
1.6661733388900757,
0.5694760680198669,
-0.0013801740715280175,
1.3141515254974365,
-0.58957439661026,
0.9471923112869263,
... |
ParseRecord returns a fully parsed record based on the input string and adds the created member | [
1.7980448007583618,
-0.722274899482727,
0.4595794677734375,
-0.3852456212043762,
-0.6079198718070984,
0.5939341187477112,
-0.8266881108283997,
0.09753834456205368,
-0.09572187811136246,
-1.3648674488067627,
-0.37960025668144226,
-0.4682740867137909,
-1.1137605905532837,
-0.3848849236965179... |
UnmarshalJSON provides custom unmarshalling implementation for response structs. Creating new types is required in order to avoid infinite recursion. | [
-0.35831332206726074,
-0.3299442529678345,
0.3955201804637909,
-0.787499725818634,
-0.5618209838867188,
-0.9587678909301758,
1.2150037288665771,
-1.314146637916565,
1.060119867324829,
-0.2998271584510803,
-0.787189781665802,
-0.48908060789108276,
-0.01013847067952156,
-0.5393286347389221,
... |
SetLogger configures the default logger to be used by Instana gosensor. Note that changing the logger will not affect already initialized instana.Sensor instances. To make them use the new logger please call (instana.TracerLogger).SetLogger() explicitly. | [
-0.3656228482723236,
0.8755102753639221,
0.4048409163951874,
-0.16604278981685638,
0.9289310574531555,
0.6380132436752319,
0.21679049730300903,
0.08638671040534973,
-0.0672147199511528,
-0.7579163312911987,
-0.48960888385772705,
-0.09217959642410278,
-0.4452071487903595,
1.4969100952148438... |
setLogLevel translates legacy Instana log levels into logger.Logger levels. Any level that is greater than instana.Debug is interpreted as logger.DebugLevel. | [
-0.6237034201622009,
0.7625637054443359,
0.2701687216758728,
-0.26558658480644226,
-0.07992998510599136,
0.22164180874824524,
-0.20048943161964417,
-0.3420622944831848,
-0.37192487716674805,
-0.5831000208854675,
-0.32110193371772766,
0.11807936429977417,
0.6289829015731812,
0.3759845793247... |
watchdog will run has a parallel goroutine until the context is cancelled or the Do sub push to the end channel. | [
1.1487542390823364,
0.8848370313644409,
0.5272839665412903,
-0.06658834218978882,
0.7356823682785034,
0.9543986320495605,
-0.8625480532646179,
-0.7577989101409912,
-0.6374574303627014,
0.36763957142829895,
-0.010246741585433483,
0.8079916834831238,
-1.0213695764541626,
-0.04681156948208809... |
stepExecutor will execute the step, cancel the context and raise the global flag. | [
1.1490530967712402,
0.7809382677078247,
0.31419023871421814,
1.4675371646881104,
0.14355388283729553,
0.798244297504425,
0.8374887108802795,
1.3100820779800415,
-0.7910730242729187,
0.10659100115299225,
-0.34600284695625305,
-0.4065147340297699,
-0.14562541246414185,
0.3803856670856476,
... |
NewKeySet builds and returns a new vstore.KeySet | [
-0.04660391807556152,
-1.0980669260025024,
0.16353626549243927,
0.501650333404541,
-1.2697887420654297,
-0.5928404331207275,
-0.7875733375549316,
-0.45280104875564575,
-0.012249561958014965,
-0.5966997146606445,
0.23960305750370026,
0.1756303310394287,
-0.18197841942310333,
-1.135239958763... |
ToKeySetPB serializes a KeySet into protobuf format | [
-0.4292427897453308,
0.17250074446201324,
0.3436938226222992,
0.2570157051086426,
-0.15553565323352814,
0.33676600456237793,
-0.9988552331924438,
-1.686843752861023,
0.5755338072776794,
0.494791716337204,
-0.09705283492803574,
0.6516000032424927,
-0.7269182205200195,
0.09969211369752884,
... |
findElementsWithSum of k from arr of size | [
1.1538070440292358,
0.26274585723876953,
0.535070538520813,
1.5589194297790527,
-0.8137823939323425,
-0.14881646633148193,
1.0950188636779785,
-0.6642442941665649,
1.4763954877853394,
0.645123302936554,
-0.6593911051750183,
-0.9888116717338562,
0.15503162145614624,
1.0379770994186401,
-0... |
Calculates the cost and prints the calculations | [
0.7986093759536743,
0.0482034832239151,
0.3420165181159973,
0.5379459857940674,
-0.48361700773239136,
-0.5502424240112305,
1.3173243999481201,
0.6848577857017517,
-0.47358202934265137,
0.14934024214744568,
-0.32901445031166077,
-0.5725762248039246,
0.4802871346473694,
0.7392644286155701,
... |
Prints the proper usuage of the program before exiting on error | [
-0.004116675350815058,
-0.18444524705410004,
0.6076973080635071,
1.3581008911132812,
-0.3451046645641327,
1.2535383701324463,
0.017918722704052925,
0.03295113518834114,
-0.20191824436187744,
0.2286064475774765,
0.9374783039093018,
0.5095888376235962,
-0.8132474422454834,
0.0463128834962844... |
converts a specified CLI arg to an integer | [
-1.1761555671691895,
0.4181637763977051,
0.705415666103363,
-0.43890461325645447,
0.17771005630493164,
-0.3252914249897003,
0.13448527455329895,
0.39503300189971924,
-0.3487812578678131,
-0.09132029861211777,
-0.3905235230922699,
0.5043217539787292,
-0.040774449706077576,
0.033193912357091... |
Watch watches for events, emitting them to channel `eventCh`. The call to Watch blocks until there's an error, or the context `ctx` is canceled. | [
1.0075364112854004,
-0.1413511037826538,
0.3203877806663513,
-0.34335190057754517,
0.24092835187911987,
0.29627805948257446,
-0.15954406559467316,
-0.4713459610939026,
-0.4404839873313904,
-0.6236449480056763,
-0.7314341068267822,
1.0295748710632324,
0.2456139326095581,
-0.0785866528749466... |
NewWatcher returns a new Watcher. | [
0.11855123937129974,
-1.3818880319595337,
0.013710401020944118,
0.8826164603233337,
-0.0926356390118599,
0.2315889447927475,
-0.4553084373474121,
-1.1715121269226074,
-0.8101719617843628,
-1.6882766485214233,
-0.409747838973999,
0.17113272845745087,
0.03517727181315422,
0.6328661441802979,... |
Download dowbloads the given url to the given dst. | [
-0.8358473777770996,
0.7683423757553101,
0.478314071893692,
0.610647976398468,
-0.655805230140686,
0.9068494439125061,
0.06870406866073608,
0.17563624680042267,
-0.2257925122976303,
0.09009105712175369,
-0.7458224296569824,
0.9427576065063477,
1.0623929500579834,
-0.3769434690475464,
0.0... |
MkdirAllWithFilename creates all parent directories of the given filepath | [
0.8214300870895386,
0.1442030519247055,
0.3725251257419586,
0.48964881896972656,
-0.38089677691459656,
0.9927933812141418,
1.380442500114441,
-0.16740155220031738,
0.2885017693042755,
-0.22125402092933655,
-0.20652608573436737,
-1.210132360458374,
0.963215172290802,
0.3619624972343445,
-... |
MkdirAll creates the given directory and its parrents | [
0.16003243625164032,
0.5105390548706055,
0.17051516473293304,
0.12339689582586288,
-0.4512280225753784,
1.0451793670654297,
-0.20214837789535522,
-0.13879257440567017,
0.3642539381980896,
0.016864575445652008,
0.10419277101755142,
0.27707013487815857,
0.799464225769043,
0.8411597013473511,... |
Exists checks whether the path exists | [
-0.43160828948020935,
-0.4340461194515228,
0.4715833067893982,
0.4397246837615967,
1.7899240255355835,
0.8030285835266113,
-0.3800465762615204,
0.7726339101791382,
-0.4327780604362488,
-0.32373878359794617,
0.1745978444814682,
-0.9683675169944763,
0.4215516448020935,
0.08940335363149643,
... |
CopyFile copies a file from src to dst. If src and dst files exist, and are the same, then return success. Otherise, attempt to create a hard link between the two files. If that fail, copy the file contents from src to dst. | [
-0.4343625605106354,
0.5870984196662903,
0.7435066103935242,
0.1109224334359169,
0.493997722864151,
1.0371681451797485,
0.06898161768913269,
-0.21911965310573578,
-0.7249956727027893,
-0.28451576828956604,
0.24550947546958923,
-0.8599684834480286,
0.6277106404304504,
-0.11184132099151611,
... |
copyFileContents copies the contents of the file named src to the file named by dst. The file will be created if it does not already exist. If the destination file exists, all it's contents will be replaced by the contents of the source file. | [
0.2236562818288803,
-0.04252925142645836,
0.6473934650421143,
-0.040803272277116776,
-0.3354342579841614,
0.6881985664367676,
-0.7415531873703003,
0.11944558471441269,
-1.1254158020019531,
0.5835773944854736,
0.017214180901646614,
-0.566243588924408,
1.1215589046478271,
-0.785368800163269,... |
This function returns a rest.Config from a Kubeconfig contained in a Secret. | [
0.5444600582122803,
-0.4915592670440674,
0.3156997561454773,
0.8567231893539429,
-0.6397758722305298,
-0.53245609998703,
-1.5308626890182495,
-0.021821968257427216,
-0.2857370376586914,
0.5550670623779297,
-0.6879275441169739,
0.16352355480194092,
-0.681135356426239,
-0.7254775762557983,
... |
This function creates a new controllerruntime Client for a remote cluster, if it isn't already present in RemoteClients Struct of NamespaceMap Controller. The secret's reference is taken from the ForeignCluster associated with the remote cluster. | [
0.1365727186203003,
-0.8714339733123779,
0.39487117528915405,
-0.0521579384803772,
0.6631613969802856,
0.3094065487384796,
-0.29667460918426514,
-1.1806423664093018,
0.21598796546459198,
-0.07995719462633133,
-0.9397020936012268,
0.6125679612159729,
-1.2979674339294434,
0.02247148938477039... |
getEventData returns a new instance of CDECloudEventData | [
1.212119460105896,
0.15263603627681732,
0.4390377700328827,
0.4624235928058624,
0.5920327305793762,
0.7511764168739319,
-0.23228241503238678,
0.3923749029636383,
-0.38543155789375305,
-1.0537495613098145,
-0.7651044130325317,
0.38909193873405457,
-0.00027740001678466797,
-0.009886431507766... |
getEventType returns the event type and status | [
0.09283481538295746,
-0.394670695066452,
0.584220826625824,
0.47317957878112793,
0.9849902987480164,
0.21356263756752014,
-0.18768471479415894,
0.7552028298377991,
0.6478302478790283,
0.6117874979972839,
-1.174113154411316,
0.6137505769729614,
0.09211637824773788,
0.47885045409202576,
1.... |
coreEventForObjectWithCondition creates a new event based for a objectWithCondition, or return an error if not possible. | [
0.5576107501983643,
-0.7633112072944641,
0.4780583381652832,
0.5385856032371521,
-0.750302255153656,
0.2697047293186188,
0.7545547485351562,
-1.0379306077957153,
-0.11623374372720718,
0.8498846888542175,
-0.4880339503288269,
0.21036982536315918,
0.31132209300994873,
0.1196432113647461,
0... |
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.2691022455692291,
-0.9419267177581787,
0.5205244421958923,
-1.0505542755126953,
-1.4146522283554077,
-0.15375392138957977,
-0.11907599121332169,
-1.5095784664154053,
-0.5603106021881104,
0.2632962465286255,
0.6717758774757385,
0.045992590487003326,
-0.18437090516090393,
-0.6648545265197... |
AssetString returns the asset contents as a string (instead of a []byte). | [
-0.5553505420684814,
-1.6332672834396362,
0.41679301857948303,
-1.9074498414993286,
-0.9702814817428589,
0.42620447278022766,
-0.23817288875579834,
-1.3710856437683105,
-0.07656329870223999,
-0.21365979313850403,
1.2241034507751465,
0.24276407063007355,
-0.0923432782292366,
-0.744865298271... |
MustAsset is like Asset but panics when Asset would return an error. It simplifies safe initialization of global variables. | [
-0.0929306373000145,
0.15821580588817596,
0.4423462152481079,
0.7752392292022705,
-1.0880882740020752,
0.6832454800605774,
0.003947311080992222,
-1.286971092224121,
-0.07538469135761261,
0.05818919092416763,
0.03628065437078476,
0.16544577479362488,
0.16517236828804016,
-0.1151823326945304... |
MustAssetString is like AssetString but panics when Asset would return an error. It simplifies safe initialization of global variables. | [
-0.1047775149345398,
-0.21684028208255768,
0.47069230675697327,
0.3793864846229553,
-1.4843446016311646,
0.7858673930168152,
0.0009208340779878199,
-1.3939323425292969,
-0.027435200288891792,
0.333527535200119,
0.6368497610092163,
0.24819809198379517,
0.12678423523902893,
-0.19600334763526... |
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.07494624704122543,
-0.7035651206970215,
0.4812530279159546,
-1.3608137369155884,
-1.3336007595062256,
0.01413048431277275,
0.039905961602926254,
-1.2343008518218994,
-0.9982755780220032,
0.23097212612628937,
0.09395618736743927,
-0.508912980556488,
0.3866036832332611,
-0.4225662648677826... |
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.028081977739930153,
-0.5933969020843506,
0.7417265772819519,
-1.1463931798934937,
-0.5744907259941101,
-0.1822410225868225,
-0.12718906998634338,
-0.9174748659133911,
-0.4781839847564697,
0.2981414794921875,
0.4871657192707062,
-0.11446647346019745,
0.14674106240272522,
-0.38816586136817... |
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.3671867549419403,
-0.14171825349330902,
0.4367092251777649,
-0.4650714099407196,
-0.4453984200954437,
-0.4970729649066925,
0.40470561385154724,
-0.173274427652359,
0.28757771849632263,
-0.8981035351753235,
0.7815603017807007,
0.8526202440261841,
-0.23038798570632935,
-0.6447436809539795,... |
GetAll handler writes all products to output | [
-0.48902541399002075,
-1.103247880935669,
0.2712779641151428,
0.8195905089378357,
0.9384016394615173,
0.27875447273254395,
0.5987226963043213,
-0.2765755355358124,
-0.2976015508174896,
-0.4351081848144531,
-0.1525941640138626,
0.1563187539577484,
0.9974454641342163,
0.8217999339103699,
-... |
GetOne handler writes one product by iid to output | [
-1.083228349685669,
-0.7214272618293762,
0.17785248160362244,
0.6648434400558472,
1.0745124816894531,
-0.21122387051582336,
1.5885881185531616,
-1.483880877494812,
-0.20142525434494019,
0.2703064978122711,
0.07742901146411896,
0.4712153375148773,
-0.6171315312385559,
-0.313226580619812,
... |
CreateProduct add one product to db | [
-0.4234681725502014,
0.8643718361854553,
0.334729939699173,
0.9836180210113525,
1.126916527748108,
1.3504151105880737,
0.07208611071109772,
-0.8077293038368225,
0.36702626943588257,
-0.5120402574539185,
-0.35803595185279846,
-1.155080795288086,
-0.9449132084846497,
0.07408235967159271,
0... |
UpdateOne updates one product which exists in db | [
-1.15229332447052,
-0.6133789420127869,
0.49512189626693726,
1.1506842374801636,
0.727259635925293,
1.176043152809143,
0.20711670815944672,
-0.3122153878211975,
0.3669068217277527,
0.766514003276825,
-0.49856773018836975,
-0.8824681043624878,
-0.720956563949585,
-0.445536732673645,
-1.15... |
DeleteOne deletes one product from db | [
-0.27197542786598206,
0.5844761729240417,
0.4111703038215637,
1.5989580154418945,
0.9477985501289368,
0.6337559819221497,
0.3754144310951233,
0.16508938372135162,
0.2867635488510132,
0.3948321044445038,
-0.3620406985282898,
-0.6370686888694763,
-1.1677547693252563,
-0.10593320429325104,
... |
New creates a new product model API client. | [
-0.478352814912796,
-0.9736431837081909,
0.006087515037506819,
1.3050925731658936,
0.07812146097421646,
0.23564328253269196,
0.7338654398918152,
-1.3191872835159302,
-0.8512202501296997,
0.12243138253688812,
-1.179021954536438,
-0.20197360217571259,
0.22979967296123505,
-0.8206470608711243... |
/ GetProductModelDraftCode gets a draft This endpoint allows you to get the information about a given product model draft. | [
-0.9245620965957642,
-0.2581237256526947,
0.41962531208992004,
0.46634379029273987,
0.29354336857795715,
-0.46792855858802795,
0.13952097296714783,
-0.7507684230804443,
-0.8586784601211548,
-0.7830424904823303,
-0.4411659240722656,
1.4331203699111938,
0.7163046598434448,
0.0163838695734739... |
/ GetProductModels gets list of product models This endpoint allows you to get a list of product models. Product models are paginated. In the Enterprise Edition, since the 2.0, permissions based on your user groups are applied to the set of products you request. | [
-2.3106162548065186,
0.1396431028842926,
0.4226738512516022,
1.7515318393707275,
1.1921911239624023,
-0.029545238241553307,
0.4801890552043915,
-1.1157326698303223,
-0.26254215836524963,
0.036983463913202286,
-1.2736270427703857,
0.6225607395172119,
-0.02976836822926998,
-0.260838985443115... |
/ GetProductModelsCode gets a product model This endpoint allows you to get the information about a given product model. In the Entreprise Edition, since the v2.0, permissions based on your user groups are applied to the product model you request. | [
-1.7651121616363525,
-0.14187438786029816,
0.5248372554779053,
1.309664249420166,
0.5526107549667358,
-0.5528761148452759,
-0.140315979719162,
-1.2739238739013672,
-1.1145824193954468,
0.5550168752670288,
-1.0155800580978394,
0.713316023349762,
0.21499782800674438,
-0.2674982249736786,
-... |
/ PatchProductModels updates create several product models This endpoint allows you to update and/or create several product models at once. Learn more about Update behavior. Note that if no product models exists for the given code, it creates it. In the Enterprise Edition, since the v2.3, permissions based on your user... | [
-1.9901247024536133,
-0.8003694415092468,
0.6547433733940125,
0.13426122069358826,
0.3901030719280243,
0.5865628123283386,
0.6757866740226746,
-1.0118662118911743,
0.15941348671913147,
0.6616671681404114,
-0.9960318803787231,
0.33317700028419495,
-0.32275402545928955,
-0.21052101254463196,... |
/ PatchProductModelsCode updates create a product model This endpoint allows you to update a given product model. Learn more about Update behavior. Note that if no product model exists for the given code, it creates it. In the Enterprise Edition PIM since the 2.3, permissions based on your user groups are applied to th... | [
-1.3745794296264648,
-0.5753809213638306,
0.6695542931556702,
0.08354648947715759,
-0.09787072241306305,
0.701228678226471,
0.24515299499034882,
-0.7739259004592896,
0.09241559356451035,
0.9020843505859375,
-0.8810431957244873,
0.19545967876911163,
-0.21211908757686615,
-0.1544835269451141... |
/ PostProductModelProposal submits a draft for approval This endpoint allows you to submit a product model draft for approval. | [
-0.7941830158233643,
-0.28674960136413574,
0.2281724065542221,
0.24057501554489136,
-0.7968975305557251,
0.07241584360599518,
-0.010449712164700031,
-0.5703560709953308,
-0.7124723196029663,
0.5598523616790771,
-0.6843361258506775,
0.09378807246685028,
0.41993850469589233,
-0.5081927180290... |
/ PostProductModels creates a new product model This endpoint allows you to create a new product model. In the Enterprise Edition, since the v2.3, permissions based on your user groups are applied to the product model you try to create. | [
-1.8723057508468628,
-0.5032573938369751,
0.2765347361564636,
1.546565055847168,
-0.027138661593198776,
0.3768690526485443,
0.8868963718414307,
-0.8097887635231018,
-0.33235910534858704,
0.4128950238227844,
-1.5607796907424927,
-0.23729999363422394,
-0.4674435555934906,
-0.4241586029529571... |
SetTransport changes the transport on the client | [
0.21728430688381195,
-0.047149062156677246,
0.12275051325559616,
-0.43191346526145935,
0.1473226398229599,
0.6373547315597534,
0.26585689187049866,
-0.7472257018089294,
-0.4043731689453125,
-0.24138779938220978,
-1.408281683921814,
0.6120321750640869,
-0.6183215975761414,
0.222628816962242... |
PipelinePut is a Mock implementation for pipelines | [
-1.0286680459976196,
-0.4839581847190857,
0.29943400621414185,
-1.1696504354476929,
-0.5863769054412842,
-0.2781512439250946,
1.4738112688064575,
0.24265022575855255,
0.24418838322162628,
0.36885693669319153,
-0.5674813389778137,
-0.40647178888320923,
-0.3915349543094635,
-0.80386936664581... |
Version of WooCommerce API which will be used | [
-0.6122636795043945,
-1.123720407485962,
0.6219326853752136,
0.12091095000505447,
0.019345328211784363,
-0.3937234580516815,
0.6039425134658813,
-0.6391165256500244,
0.8157275319099426,
0.5416173338890076,
-1.0372114181518555,
0.6957627534866333,
0.1399102509021759,
-0.04055815935134888,
... |
VerifySsl return requirement of SSL certificate check | [
0.7044812440872192,
-0.35362011194229126,
0.3870795667171478,
1.9380683898925781,
-0.39499393105506897,
1.2668473720550537,
0.2186528742313385,
-0.5685825347900391,
1.2816213369369507,
-0.36733922362327576,
-0.820652425289154,
0.2632325291633606,
0.4548732340335846,
0.6161202192306519,
-... |
DisableSslVerification in case of debug | [
0.45020684599876404,
0.8579268455505371,
-0.017993753775954247,
0.5945957899093628,
-0.12989725172519684,
0.39652591943740845,
0.5575460195541382,
0.18668517470359802,
0.27861180901527405,
-0.5608514547348022,
-0.5076611638069153,
-0.269619345664978,
0.15213119983673096,
1.5601946115493774... |
Timeout per request to WooCommerce API | [
-0.4446261525154114,
-0.5147615075111389,
0.47665834426879883,
-0.4697500765323639,
0.12278225272893906,
-0.3015230894088745,
-0.14697036147117615,
-1.213820457458496,
0.700559675693512,
0.9869804382324219,
-0.2520199716091156,
0.27340078353881836,
0.05329204723238945,
-0.6891083121299744,... |
QueryStringAuth returns true when credentials will pass through query string | [
-0.3336186110973358,
-0.9452133774757385,
0.2375987023115158,
0.201844722032547,
-1.0070991516113281,
1.2269420623779297,
-0.2545722424983978,
-0.5973065495491028,
-0.09134789556264877,
-0.46383175253868103,
0.02135038562119007,
-0.6734095215797424,
-0.4114154279232025,
-1.1593776941299438... |
WPAPI returns if used WordPress API or not | [
-0.848868727684021,
-0.4562390148639679,
0.09988271445035934,
-0.2635272145271301,
-0.10417555272579193,
-0.13999752700328827,
-0.28619080781936646,
-0.9790135622024536,
-0.01963779330253601,
0.6565224528312683,
-0.5383498668670654,
0.22088563442230225,
-0.5993247628211975,
0.3837191462516... |
WPAPIPrefix is a prefix for WordPress API requests | [
-0.5787680745124817,
-1.0069490671157837,
0.2796646058559418,
-0.8727601766586304,
-0.05804014578461647,
0.0902472585439682,
-1.1775522232055664,
-0.11377066373825073,
0.8240369558334351,
0.2695534825325012,
-0.1421361267566681,
0.9207895398139954,
0.47690385580062866,
0.30605313181877136,... |
OAuthTimestamp return OAuth specific timestamp | [
0.1543274223804474,
-0.23319953680038452,
0.5361587405204773,
0.38758403062820435,
0.20197822153568268,
-0.5393210649490356,
-0.35566359758377075,
0.02117990329861641,
1.838011384010315,
0.6773462891578674,
0.17753268778324127,
1.2418773174285889,
0.5288731455802917,
-0.5075663924217224,
... |
UserAgent which will be use for requests | [
0.08540969341993332,
-0.5694167613983154,
0.6839352250099182,
0.5935029983520508,
0.1615840047597885,
-0.6211200952529907,
-0.35223469138145447,
-0.21935899555683136,
0.9444206953048706,
-1.3671196699142456,
-0.24538639187812805,
0.8088221549987793,
0.2554287314414978,
-0.27493420243263245... |
reverse integer constraints from leetcode: If reversing x causes the value to go outside the signed 32bit integer range [231, 231 1], then return 0. 0ms 100%faster and 2.2MB less than 100% of Go submissions | [
-0.2753922939300537,
0.6323345303535461,
0.5443989634513855,
-0.2869041860103607,
-0.7697591185569763,
-0.06804392486810684,
0.33489149808883667,
-0.10335535556077957,
-0.5320786833763123,
0.32871001958847046,
-0.033293869346380234,
1.0753865242004395,
-1.3242809772491455,
-0.1135263368487... |
determine if palindromic number | [
0.01986752264201641,
-0.036355890333652496,
0.3372824788093567,
0.9430623650550842,
-0.800993800163269,
0.590179443359375,
-0.5093981027603149,
-0.22519464790821075,
-0.6391832232475281,
-0.6232362985610962,
-0.5004475116729736,
-0.3078102469444275,
-2.0390100479125977,
-0.9461381435394287... |
1431: Given the array candies and the integer extraCandies, where candies[i] represents the number of candies that the ith kid has. For each kid check if there is a way to distribute extraCandies among the kids such that he or she can have the greatest number of candies among them. Notice that multiple kids can have th... | [
0.25644978880882263,
0.7170602083206177,
0.5646666884422302,
0.6436516046524048,
-0.5387746691703796,
-0.20715086162090302,
0.9977510571479797,
1.0725573301315308,
0.7774269580841064,
-0.1775827705860138,
-0.2893620431423187,
0.013341954909265041,
-0.11999382823705673,
0.5325008034706116,
... |
version2: zero value of bool is false 0ms, faster than 100%; 2.3MB | [
0.4061281681060791,
-0.45520609617233276,
0.37155041098594666,
1.6680036783218384,
-0.5987497568130493,
0.1742396354675293,
0.4740118384361267,
0.006381923798471689,
-1.0106589794158936,
0.19163164496421814,
-0.5182876586914062,
0.07343806326389313,
-0.3813413381576538,
0.6967302560806274,... |
1470: Given the array nums consisting of 2n elements in the form [x1,x2,...,xn,y1,y2,...,yn]. Return the array in the form [x1,y1,x2,y2,...,xn,yn]. 4ms, faster than 94.56%, 3.7MB, less than 98.58% of Go submissions | [
0.09684697538614273,
-0.5440164804458618,
0.5752927660942078,
-0.06850548088550568,
0.6417150497436523,
-0.8637199401855469,
0.9843564629554749,
-0.6128771901130676,
0.2556273341178894,
-0.17865969240665436,
-0.31759899854660034,
0.660332202911377,
0.5843901038169861,
-0.004101290833204985... |
1512: Given an array of integers nums. A pair (i,j) is called good if nums[i] == nums[j] and i < j. Return the number of good pairs. use hashmap here to find pairs: 0ms, 2MB | [
-0.03241046518087387,
0.2540898621082306,
0.6996911764144897,
0.37971848249435425,
-0.939007580280304,
-0.4102596640586853,
0.889980137348175,
0.018894866108894348,
0.7536930441856384,
0.11732999980449677,
-0.15705066919326782,
0.5939017534255981,
-0.057684239000082016,
0.7644400000572205,... |
remove duplicates in slice | [
-0.7665958404541016,
-0.475515216588974,
0.38736850023269653,
0.3198472559452057,
-0.08115553110837936,
-0.2790752947330475,
-0.07862592488527298,
-0.23968826234340668,
0.4033297598361969,
1.0093859434127808,
-1.358687162399292,
0.23148679733276367,
0.11941947042942047,
0.3064694106578827,... |
1512: same as above using two for loops | [
-0.02167888917028904,
-0.6649705171585083,
0.3448422849178314,
0.6994132399559021,
-0.23418235778808594,
-0.5473048090934753,
0.30130892992019653,
-0.8078385591506958,
-0.3285253643989563,
-0.7856170535087585,
-0.33597198128700256,
-0.3453666567802429,
0.7908975481987,
0.7474454641342163,
... |
writeToDisk writes the files to the hidden dir in the home directory | [
0.27790817618370056,
0.6922879815101624,
0.46011418104171753,
0.9353258609771729,
1.4854350090026855,
0.36198535561561584,
1.3375061750411987,
0.10566570609807968,
-0.7832607626914978,
-0.40009334683418274,
-0.7634621262550354,
-0.16609393060207367,
-0.018805576488375664,
0.581097960472106... |
translate looks for certain error types and transforms them into web errors. We are losing the trace when this error is converted. But we don't log traces for these. | [
0.29639384150505066,
0.2751436233520508,
0.5434117913246155,
0.7894192337989807,
0.5366834998130798,
0.33031702041625977,
0.006579202599823475,
-0.32186758518218994,
1.2961359024047852,
-0.5441513657569885,
-0.6727172136306763,
-0.03748183324933052,
0.4331102967262268,
0.2515259385108948,
... |
UnmarshalService deserializes the YAML input stream into a service manifest object. If an error occurs during deserialization, then returns the error. If the service type in the manifest is invalid, then returns an ErrInvalidManifestType. | [
-0.027985062450170517,
-0.9222977757453918,
0.596570611000061,
-0.012366554699838161,
-0.871344268321991,
-0.6498547196388245,
-0.21666035056114197,
0.1900375336408615,
0.5100005269050598,
-0.9228673577308655,
0.46022656559944153,
0.4628851115703583,
-0.43141570687294006,
0.698371767997741... |
Template creates an instance of TemplateController | [
0.5025700926780701,
0.200437992811203,
0.2429802417755127,
-0.3295583128929138,
0.09898267686367035,
-0.8229710459709167,
0.32339128851890564,
0.42169976234436035,
-0.40675362944602966,
-1.1529935598373413,
-1.0074528455734253,
-1.1125874519348145,
0.08824272453784943,
0.7950289845466614,
... |
MidStoreEndpoint is a middleware that stores the endpoint in the request context. | [
-0.5299043655395508,
-0.2724534273147583,
0.5349941253662109,
0.6807509660720825,
-0.6035692095756531,
-0.5663278698921204,
-0.515228271484375,
-0.14000415802001953,
1.0290533304214478,
-0.10713233798742294,
0.4047006666660309,
-0.3038078546524048,
-0.9285029172897339,
-0.2696944773197174,... |
CtxGetEndpoint gets the endpoint stored in the given 'ctx' context. | [
-0.14148429036140442,
-0.1921156495809555,
0.16176654398441315,
0.5894259214401245,
0.33798789978027344,
-0.2911747992038727,
-0.32547062635421753,
-0.3017765283584595,
1.0708351135253906,
-0.02893277257680893,
0.15443022549152374,
0.9264354705810547,
-0.21168769896030426,
-1.0118093490600... |
4.2 Minimal Tree. Given a sorted (increasing order) array with unique integer elements, write an algorithm to create a binary search tree with minimal height. To have a lowest height, we need to make left and right parts as equal as possible. Algorithm: 0. Make sure Node has Left and Right properties to connect to subt... | [
0.848892331123352,
-0.18360574543476105,
0.8355513215065002,
0.05258907005190849,
-0.2729957699775696,
0.520603358745575,
0.6573572158813477,
-0.7978665232658386,
0.9882851839065552,
-0.08875739574432373,
-0.38225388526916504,
-0.4292466938495636,
-1.148005485534668,
1.1745277643203735,
... |
/ 4.3 List Of Depths. Solution based on: INPUT: root of a tree OUT: array of list heads, linked list per level Key is to enqueue all children into one queue. | [
-0.533756673336029,
-0.4717480540275574,
0.8897706866264343,
0.277694970369339,
0.08080387115478516,
-0.09391871839761734,
0.7867626547813416,
-0.7988319993019104,
0.4753136932849884,
0.3492265045642853,
-0.5521885752677917,
0.1788736879825592,
0.15259340405464172,
1.739162802696228,
-1.... |
4.5 Validate BST: Implement a function to check if a binary tree is a _binary search tree_. We leverage the definition of the binary search tree. ...the condition is that all left nodes must be less than or equal to the current node, which must be less than all the right nodes. Using this thought, we can approach the p... | [
0.0074698724783957005,
-0.4807639718055725,
0.6773412823677063,
0.5264429450035095,
-0.2870020866394043,
0.5449029207229614,
-0.37164202332496643,
-0.8102901577949524,
-0.5179157257080078,
0.16165171563625336,
-0.7482700943946838,
0.2907138466835022,
-0.4322054386138916,
1.2685778141021729... |
covers checks if node "p" is under the tree of the node "root". | [
1.5390704870224,
0.6642133593559265,
0.42001810669898987,
0.8584129810333252,
-0.7823349237442017,
1.1172255277633667,
-1.3436025381088257,
-0.24064816534519196,
-0.006814092397689819,
-0.11976824700832367,
0.19825662672519684,
1.1996990442276,
-0.7334257364273071,
0.004441522993147373,
... |
4.10 Check Subtree T1 and T2 are two very large binary trees, with T1 much bigger than T2. Create an algorithm to determine if T2 is a subtree of T1. A tree T2 is a subtree of T1 if there exists a node n in T1 such that the subtree of n is identical to T2. That is, if you cut off the tree at node n, the two trees would... | [
0.4337424039840698,
0.21162891387939453,
0.7974657416343689,
0.35242605209350586,
-0.6995829343795776,
0.5231149792671204,
-0.41160285472869873,
-0.02981935441493988,
-0.33284005522727966,
1.240746259689331,
-0.9904634356498718,
0.813771665096283,
0.2870801091194153,
0.03174227476119995,
... |
subTree traverses bigger tree t1 to find a matching root node to start comparing their trees. | [
0.29928717017173767,
-0.1796497255563736,
0.507450520992279,
0.649144172668457,
-0.4575256407260895,
0.4476095139980316,
0.4413908123970032,
-0.222323939204216,
-0.557736337184906,
0.7246388792991638,
-0.17281852662563324,
1.1449337005615234,
-0.22927077114582062,
0.8603616952896118,
-1.... |
matchTree checks if trees match. | [
0.1602867692708969,
-0.07138849794864655,
0.5075585842132568,
0.976996898651123,
-0.4224216639995575,
-0.11824652552604675,
-0.8458160758018494,
0.24411830306053162,
-0.137724369764328,
0.35541456937789917,
0.06260226666927338,
0.02197425812482834,
-0.42246213555336,
1.049731969833374,
-... |
NewTreeNode is a helper for tree generation. | [
0.5539324879646301,
0.1370796263217926,
0.45520228147506714,
-0.6142663955688477,
-0.7913870811462402,
-1.0041624307632446,
-0.7276385426521301,
-0.28877782821655273,
-0.7320744395256042,
-0.4998186528682709,
-0.26706889271736145,
0.10556390136480331,
-0.5716751217842102,
0.203275531530380... |
getRandomNode fetch a random node based on a probability of a specific side of node. | [
0.20437248051166534,
1.0351182222366333,
0.5084819197654724,
-0.34633105993270874,
0.10447436571121216,
0.5827061533927917,
-1.041182041168213,
-0.1700182557106018,
0.26493796706199646,
-0.009113586507737637,
0.6414893269538879,
1.2827097177505493,
-0.2317613810300827,
-0.9916147589683533,... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.