text stringlengths 7 2.39k | embedding listlengths 768 768 |
|---|---|
SetDefaultWebServer sets default server instance is not threadsafe | [
-0.7439112067222595,
0.7808427214622498,
0.308723509311676,
0.6084339022636414,
0.7758240103721619,
0.7381789088249207,
1.068786859512329,
-0.3918915390968323,
0.6635834574699402,
-0.32302623987197876,
-0.6662973761558533,
0.035052161663770676,
-1.94232177734375,
1.542925238609314,
-0.48... |
FillBytes is safe version of (big.Int).FillBytes. Returns false if to length is not exact equal to big.Int's. Otherwise fills to using b and returns true. | [
-0.44666993618011475,
1.1494269371032715,
0.5698585510253906,
-0.6229564547538757,
0.1172514408826828,
0.7183499932289124,
0.27084991335868835,
-0.5715276002883911,
0.3836958706378937,
0.0625794380903244,
-0.6571629047393799,
-0.4501177668571472,
-0.9516897797584534,
0.2064347118139267,
... |
ElementIsVisible returns a condition that checks if the element is visible. | [
0.5524221062660217,
0.14543397724628448,
0.5938621759414673,
0.5527264475822449,
-0.7142536640167236,
0.49719375371932983,
-0.3118067681789398,
0.37050700187683105,
1.2844523191452026,
1.4597703218460083,
-0.27331048250198364,
0.29166123270988464,
0.9000740647315979,
0.3758995532989502,
... |
ElementIsEnabled returns a condition that checks if element's enabled. | [
0.7090505361557007,
-0.08334376662969589,
0.2515430152416229,
1.072721242904663,
-0.25460368394851685,
0.09988823533058167,
-1.10856294631958,
1.0441440343856812,
1.7295827865600586,
0.8066598176956177,
-0.5772324800491333,
0.10042423009872437,
-0.39678558707237244,
-0.1435006558895111,
... |
ElementIsLocatedAndVisible returns a condition that checks if the element is found on page and is visible. | [
1.2990981340408325,
-1.1658347845077515,
0.5504904985427856,
0.19907593727111816,
-0.8352808952331543,
0.7929309606552124,
0.3947015106678009,
0.8888883590698242,
1.6714600324630737,
1.256466269493103,
0.036609113216400146,
0.36295393109321594,
1.4236550331115723,
0.4379546344280243,
-0.... |
CreateKubernetesCoreOrFatal creates a new client for the Kubernetes pod. | [
0.39217308163642883,
-0.9826399087905884,
0.33420035243034363,
-0.26522886753082275,
-0.268022358417511,
0.6099242568016052,
-1.0909502506256104,
-0.6696419715881348,
-0.4346711337566376,
0.39053210616111755,
0.7993446588516235,
-0.545585572719574,
-0.08480555564165115,
-0.5369260907173157... |
New loads the directory state from disk or network | [
-0.14707091450691223,
-0.6809657216072083,
0.22574618458747864,
0.4104069173336029,
-0.47338709235191345,
-0.3959882855415344,
0.0015220046043395996,
-0.7401632070541382,
0.5017969608306885,
-0.8971714377403259,
0.1318013221025467,
-0.7271252870559692,
0.5526431798934937,
0.302426278591156... |
Search does a string matching of genre tags and title against the search string | [
-1.0243744850158691,
-0.7591902017593384,
0.2998601496219635,
0.4506923258304596,
0.17141619324684143,
0.027808692306280136,
-0.8743023872375488,
0.35850608348846436,
-1.4871019124984741,
-0.142033189535141,
0.6884132623672485,
0.02118222787976265,
-0.9703952074050903,
-0.18043869733810425... |
SaveCache stores the filtered list of entries to the cacheFile | [
-0.4539863169193268,
-0.19255544245243073,
0.30865931510925293,
0.44914090633392334,
0.5199577212333679,
0.8022762537002563,
0.11090806126594543,
1.1057811975479126,
-0.33586230874061584,
1.0436930656433105,
-1.3258111476898193,
0.28262630105018616,
-0.10750240087509155,
0.4803739488124847... |
UnaryInterceptorFilter is an implementation of grpc.UnaryServerInterceptor | [
-0.28031420707702637,
0.2553558051586151,
0.8310505747795105,
-0.7453309297561646,
-0.8417337536811829,
-0.38876333832740784,
0.5530683994293213,
0.33153021335601807,
0.2753834128379822,
-0.7626280188560486,
0.29926595091819763,
-0.36882781982421875,
-0.6644920706748962,
-0.312046945095062... |
LoadTime calculates function execution time. To use, add defer c.LoadTime(time.Now()) to the function body | [
0.5177404284477234,
0.3158295750617981,
0.6165010929107666,
-0.09397140145301819,
0.7264530658721924,
-0.21460799872875214,
-1.0437623262405396,
-0.5798988342285156,
-0.0864032581448555,
0.5284417867660522,
-0.09231892228126526,
0.15299326181411743,
-0.3915378153324127,
1.615813136100769,
... |
namespace is seperated by "_" might cause name collision | [
-0.06508738547563553,
0.2317591905593872,
0.4374106228351593,
0.24071422219276428,
-0.6169788241386414,
-0.3644391596317291,
-0.49005481600761414,
-1.7403521537780762,
0.6621371507644653,
0.14572370052337646,
-1.2394955158233643,
-1.0892808437347412,
-0.08187969028949738,
0.302282392978668... |
ListKeys implements the interface required by DeltaFIFO to list the keys we already know about. | [
-0.48616787791252136,
-0.6131311655044556,
0.4030296504497528,
-0.58531254529953,
0.0052344114519655704,
-0.5700325965881348,
-0.1371126025915146,
-0.2624591886997223,
-0.032484184950590134,
0.19255298376083374,
-0.9560976028442383,
0.727645218372345,
0.12792249023914337,
0.405852079391479... |
GetByKey returns the value stored in the collectorMap under the given key | [
0.17254891991615295,
-0.8780744075775146,
0.49628129601478577,
-0.5754017233848572,
0.1329173743724823,
0.0543544664978981,
-0.26604318618774414,
-1.0190551280975342,
-0.5386062264442444,
-0.07910162955522537,
0.10628202557563782,
-0.038082707673311234,
0.23019078373908997,
-0.197293668985... |
TODO: Need to wire up tests that call some of the underlying parse functions individually so that we can bypass the checks that the lexer makes and trigger the panics. | [
0.659471333026886,
0.31001007556915283,
0.5761173367500305,
0.43374401330947876,
0.7859523892402649,
0.6571701765060425,
-0.5396210551261902,
-0.5187661647796631,
0.6105966567993164,
-1.0753637552261353,
0.19848640263080597,
-0.26719266176223755,
-0.4275086522102356,
-0.10486992448568344,
... |
/ Contiguous Array Given a binary array, find the maximum length of a contiguous subarray with equal number of 0 and 1. Example 1: Input: [0,1] Output: 2 Explanation: [0, 1] is the longest contiguous subarray with equal number of 0 and 1. Example 2: Input: [0,1,0] Output: 2 Explanation: [0, 1] (or [1, 0]) is a longest ... | [
0.13818393647670746,
-0.3769160509109497,
0.7570446133613586,
1.391408920288086,
-0.44658979773521423,
0.1177738755941391,
0.9105225205421448,
-0.32331383228302,
0.672698438167572,
0.33139434456825256,
-0.7246890068054199,
0.12966296076774597,
-0.4692557752132416,
1.6122970581054688,
0.0... |
load all the problems from database to var problemSet | [
0.22916367650032043,
-0.2617611587047577,
0.4434264600276947,
-0.33879798650741577,
0.08696907013654709,
0.11477043479681015,
-0.44325685501098633,
-0.09680033475160599,
-0.06400890648365021,
-0.6989156007766724,
-0.1026483103632927,
-0.21347343921661377,
-0.47550469636917114,
-0.042386628... |
Login login to edge system | [
-1.1539217233657837,
-0.25530073046684265,
0.16602130234241486,
0.308364599943161,
0.3361133933067322,
0.39790552854537964,
0.3566261827945709,
-0.2300671637058258,
0.9671294689178467,
0.4276662766933441,
-0.4394029378890991,
0.05219753831624985,
0.1092342883348465,
-0.47741085290908813,
... |
NewPeersImpl creates a Peers using specified parameters and returns it | [
-0.745751142501831,
-0.6907099485397339,
0.2111773043870926,
-0.1509915441274643,
-0.3054494261741638,
0.13285523653030396,
-0.6958391070365906,
-0.29215049743652344,
-0.5815890431404114,
0.39016276597976685,
-0.13363401591777802,
-0.7601989507675171,
-1.4154733419418335,
0.366966396570205... |
NewPeers creates a Peers instance that is registered to `s`'s events and updates with them. | [
-0.48988109827041626,
-0.5356748104095459,
0.17347043752670288,
-0.42918574810028076,
0.12642307579517365,
-0.781356155872345,
-0.2399022877216339,
-0.0684434324502945,
0.8011026382446289,
0.17549872398376465,
-0.8800028562545776,
0.3571285009384155,
-0.4767267107963562,
-0.339442104101181... |
Close stops listening for events. | [
0.2523431181907654,
-1.0651674270629883,
0.19063179194927216,
0.22260931134223938,
-0.34985360503196716,
1.349014163017273,
-0.17949774861335754,
-0.944579005241394,
-0.8105055093765259,
-0.2743271589279175,
0.25967952609062195,
-0.6150332689285278,
-0.033991359174251556,
-0.13618597388267... |
GetPeers returns a snapshot of the connected peers shuffled. | [
-0.9925863742828369,
-0.08791147917509079,
0.28095290064811707,
-0.23606747388839722,
-0.12773288786411285,
-0.4674548804759979,
-0.9430892467498779,
-0.29329824447631836,
1.1980764865875244,
-0.3467385470867157,
-0.4724808633327484,
-0.6820241808891296,
-0.04601259529590607,
-0.5361852049... |
PeerCount returns the number of connected peers | [
0.3065345883369446,
-0.3673895299434662,
0.40448489785194397,
-0.7449569702148438,
0.5233745574951172,
0.4765629768371582,
-0.5992892384529114,
0.7281252145767212,
-0.37944355607032776,
0.6289460062980652,
-0.93244469165802,
0.048928696662187576,
-0.6685463786125183,
-0.36639806628227234,
... |
NewImageSlice creates a new ImageSlice attribute | [
-1.6120045185089111,
-1.0205425024032593,
-0.011071278713643551,
0.1959303766489029,
-0.5561622381210327,
-0.7964036464691162,
-0.04143047332763672,
0.3770158886909485,
-0.6774171590805054,
0.18910132348537445,
-0.1263001710176468,
-0.21311722695827484,
-0.1225692629814148,
1.0490311384201... |
CreateImageSlice takes a slice of Items, and converts them into a slice of images | [
-2.007249355316162,
-0.19268444180488586,
0.2535094618797302,
0.6276955008506775,
0.8603609204292297,
-0.2846757471561432,
-1.009806513786316,
0.10989958047866821,
-0.20484612882137299,
0.40791210532188416,
-0.08041638135910034,
-0.098026804625988,
-0.28431951999664307,
0.5720036029815674,... |
Value returns the value of the ImageSliceAttribute as a string | [
-1.2487308979034424,
-1.2405675649642944,
0.08048173040151596,
-0.7940058708190918,
-0.40810954570770264,
-0.48173898458480835,
0.2190757691860199,
-0.8017758727073669,
0.5739478468894958,
0.9318544268608093,
0.7857765555381775,
-0.07142706215381622,
0.8612893223762512,
-0.0577114820480346... |
Anchors are the metadata associated with an attribute. They describe how an attribute has been provided to Yoti (SOURCE Anchor) and how it has been verified (VERIFIER Anchor). | [
0.5758935213088989,
-0.8910027742385864,
0.26167553663253784,
-0.6830163598060608,
0.4349585175514221,
0.7798143029212952,
0.5357591509819031,
-0.036288656294345856,
0.47828614711761475,
-0.23961448669433594,
-0.31959715485572815,
1.9449702501296997,
0.8786801695823669,
-0.0718486905097961... |
Sources returns the anchors which identify how and when an attribute value was acquired. | [
-0.09236534684896469,
-0.7639544606208801,
0.20361876487731934,
-0.9806776642799377,
0.4751867651939392,
-0.19473470747470856,
1.010785460472107,
-0.5141656994819641,
0.6134524941444397,
-0.4716719686985016,
-0.5051575899124146,
0.5100239515304565,
0.9424030780792236,
0.1893637776374817,
... |
Verifiers returns the anchors which identify how and when an attribute value was verified by another provider. | [
0.22769670188426971,
-0.6544708013534546,
0.18693828582763672,
0.24192211031913757,
1.1985362768173218,
0.4315001666545868,
0.5043538212776184,
-0.7119750380516052,
0.6262899041175842,
-0.4672977924346924,
-1.493963599205017,
1.3936944007873535,
0.37444961071014404,
0.17872461676597595,
... |
RunWithConfigFile create and start ceilometer service | [
1.0436065196990967,
-1.097544550895691,
0.04493483528494835,
1.3468044996261597,
0.02241544798016548,
1.2077258825302124,
0.6910080313682556,
0.243380606174469,
-1.548583984375,
0.7526248097419739,
-0.7969162464141846,
-0.9436497688293457,
-0.06485583633184433,
0.29246771335601807,
0.110... |
init initialize default configurations and services | [
-0.7251411080360413,
0.15104520320892334,
0.23882612586021423,
0.5390148162841797,
0.9942686557769775,
0.15421968698501587,
0.44667381048202515,
-0.12113291770219803,
-0.12448688596487045,
-0.2308359146118164,
-0.43797504901885986,
-0.5299860835075378,
0.026988405734300613,
1.0017631053924... |
For fulfilling the endpointer interface. | [
-0.4569963812828064,
-1.3025493621826172,
0.32618653774261475,
-0.924523651599884,
-0.0595223531126976,
0.2519833445549011,
-0.4897390604019165,
-0.8707558512687683,
-0.16227594017982483,
0.28430646657943726,
0.5306325554847717,
0.11242501437664032,
-0.6056516170501709,
0.1625804603099823,... |
Examples Check if service is up. | [
-0.5951105356216431,
-0.18281549215316772,
0.4307352304458618,
2.0112226009368896,
0.04499507322907448,
-0.3816114664077759,
-0.937507688999176,
-0.050306450575590134,
0.4175410568714142,
0.6180917620658875,
-0.7703841328620911,
0.49569493532180786,
0.5750278234481812,
-0.5011548399925232,... |
Ingest PrintOrder, set status and download files for print. | [
0.25512129068374634,
-0.8014643788337708,
0.14516520500183105,
0.4404880106449127,
1.1805446147918701,
-0.42028817534446716,
-1.1416866779327393,
-0.6728020310401917,
0.9616773128509521,
0.11735475808382034,
0.5879353284835815,
0.005577753763645887,
0.3946225047111511,
0.930152952671051,
... |
Converts Publit standard error response to an error. | [
0.7321240901947021,
-1.2743144035339355,
-0.015427936799824238,
-0.2778923213481903,
-0.03603459149599075,
0.05540468916296959,
-0.7577342391014099,
0.8850141763687134,
0.5183175206184387,
-0.45699673891067505,
-0.2057054489850998,
-0.48167935013771057,
-0.25262027978897095,
-1.37009608745... |
Compiles endpoint URL based on baseurl and endpoint. | [
-0.018043771386146545,
-1.4999372959136963,
0.27107930183410645,
1.6497642993927002,
0.8321976065635681,
-0.08826371282339096,
-0.5685707926750183,
0.5925134420394897,
-0.8708078861236572,
0.6640416979789734,
0.8528956770896912,
0.10083001852035522,
0.004009980708360672,
-0.139974981546401... |
============================Primary Functions====================================== /main function initialize server socket and listens for queries. Upon accepting a new client, server will create new go rountine to handle that client concurrently | [
0.45296207070350647,
-0.24747715890407562,
0.8283659815788269,
-0.04536150395870209,
0.3861056864261627,
0.8646118640899658,
0.6064621210098267,
0.42518264055252075,
-1.1606045961380005,
-0.18122583627700806,
-0.15064869821071625,
1.1530675888061523,
-0.8130154609680176,
0.4052758812904358... |
/scans query messages from the cient connection and calls evalute() to perform appropriate actions write the response returned by evalute to the conn | [
0.42733240127563477,
-0.5265514254570007,
0.2084672451019287,
0.021144071593880653,
0.6243788003921509,
-0.4187232255935669,
0.003151785582304001,
-0.4190400242805481,
-0.8271619081497192,
-0.4638960361480713,
0.25076666474342346,
-0.5207052230834961,
-1.0107676982879639,
0.252806663513183... |
below is identical code to main replica / handles queries for checking if user exist, adding new users, write/read message separate string into args by spliting along delimiter ":" This function should not access shared data, so it should not be using locks. This function directs to other function that will lock files ... | [
-0.7486593127250671,
-0.7441307306289673,
0.7109564542770386,
0.25138619542121887,
0.1192866638302803,
0.07081926614046097,
1.0024898052215576,
-0.24056895077228546,
-0.20424668490886688,
0.9084683060646057,
0.12659160792827606,
-0.5958762764930725,
-1.1110055446624756,
-1.018530011177063,... |
========================================================================================== Functions that respond to queries, used by Evalute ============================================================================================ /checks if num args from query is AT LEAST the num expected return false if args is w... | [
0.40386614203453064,
-0.9759922623634338,
0.40066277980804443,
-1.8562116622924805,
-0.08553757518529892,
0.7977715134620667,
-0.368983656167984,
0.08199883997440338,
-0.3220139741897583,
-0.011191999539732933,
0.3560667335987091,
-0.684018611907959,
-1.0740433931350708,
-0.231957882642745... |
/ checks password against username returns false if not match Locks user map for reading | [
-0.754225492477417,
-1.2606295347213745,
0.5247594118118286,
1.2022454738616943,
-0.868585467338562,
0.9949696660041809,
0.6436947584152222,
0.021952413022518158,
-0.40119874477386475,
-0.221120685338974,
0.48636552691459656,
-1.2132232189178467,
-1.3069851398468018,
-0.8957600593566895,
... |
/simple check if username from query is a existing user. Does not check password. respond sucess if user exists, else respond error Locks usermap | [
-0.9115885496139526,
-0.8567183017730713,
0.35419654846191406,
1.0899492502212524,
0.06314162164926529,
0.7817736864089966,
0.7949164509773254,
-0.6883189678192139,
1.053281307220459,
-0.04448394477367401,
0.48574742674827576,
-0.9639037251472473,
-0.279106467962265,
-0.4068252146244049,
... |
/Create new user and write new user info to user list file send error response if user already exists Locks user map. May lock Userlist file and user message file | [
-0.8170202374458313,
-1.4980571269989014,
0.24919262528419495,
1.1969183683395386,
1.0090550184249878,
0.8600142598152161,
1.4652838706970215,
-0.9943172931671143,
0.05441027134656906,
-0.2574683427810669,
-1.2360892295837402,
-1.1840530633926392,
-0.06903006881475449,
0.44677311182022095,... |
/Add a new message under the user with given uname, by writing to database file containing stored messsages the user Locks message file of user | [
-0.21379579603672028,
0.18801239132881165,
0.5333568453788757,
0.7535647749900818,
0.1401951014995575,
1.0733211040496826,
0.8050267696380615,
-0.7344241142272949,
-0.47078460454940796,
-0.185415118932724,
-0.4585514962673187,
-0.20045606791973114,
-1.0132979154586792,
0.18612204492092133,... |
/deletes user from userlist file and delete message file asscioated with that user locks usermap and message file of user that is being deleted | [
0.26698899269104004,
-1.238107681274414,
0.26728013157844543,
1.1364892721176147,
-0.4903082549571991,
0.9455572366714478,
1.3891817331314087,
0.49657925963401794,
0.001600024406798184,
-0.21148373186588287,
-0.39167115092277527,
0.3964383900165558,
-0.656482458114624,
1.1562625169754028,
... |
/reads messages from user file database locks message file of user | [
0.016784846782684326,
-0.5611475110054016,
0.366360604763031,
1.2754831314086914,
0.16430525481700897,
0.8143515586853027,
0.9449658393859863,
-1.1458406448364258,
-1.5227454900741577,
-0.30546844005584717,
0.3316603899002075,
-0.35251879692077637,
-0.6332728862762451,
-0.13174358010292053... |
/subscribes user to another user by writing sub_uname, the subscribe target, in the main user's sublist.txt | [
0.6013274192810059,
-0.32614070177078247,
0.4173404276371002,
1.1080011129379272,
-0.41610008478164673,
0.8703545928001404,
0.050234176218509674,
0.5363254547119141,
-0.646957516670227,
-0.18954497575759888,
-0.46279215812683105,
1.3501155376434326,
0.14273235201835632,
-0.2313086837530136... |
/unsubscribes user to another user by deleting sub_uname, the subscribe target, from the main user's sublist.txt | [
1.2396312952041626,
-0.02549363486468792,
0.36981138586997986,
0.8998264670372009,
-1.2955242395401,
0.5931233167648315,
-0.05852685496211052,
1.0561360120773315,
-0.7683095932006836,
0.04728104546666145,
-0.014579285867512226,
1.3831219673156738,
-0.23573030531406403,
-0.4146197736263275,... |
userlist operations /loads list of existing users from file database into server memory for faster checks that user exist Locks userlist file and usermap in memory | [
-0.6598606109619141,
-0.6133748292922974,
0.2772892415523529,
0.4914895296096802,
-0.17323876917362213,
0.5039159655570984,
0.8751609325408936,
0.23319637775421143,
-0.07389457523822784,
0.4861070513725281,
-0.8242473006248474,
-0.4028645157814026,
-0.7639638781547546,
0.5369823575019836,
... |
/rewrite list of existing user from server memory to userlist file. Needed after removing a user Locks userlist file and usermap in memory | [
-0.8328731060028076,
-1.5760869979858398,
0.1515413075685501,
0.6116102933883667,
0.32999372482299805,
0.43315389752388,
1.3429075479507446,
0.6241775155067444,
0.12782734632492065,
0.16929014027118683,
-0.992211103439331,
0.5453656911849976,
-0.66890949010849,
0.7489347457885742,
0.1077... |
common functions basic check for err | [
0.6241886615753174,
0.08153810352087021,
0.19435688853263855,
0.9794977903366089,
-0.02366449311375618,
0.7700332403182983,
0.2230505496263504,
-0.004526411183178425,
-0.6776353716850281,
-0.3905489146709442,
1.1776561737060547,
-0.6757213473320007,
-0.7665842175483704,
0.5500562191009521,... |
/locking function for files. Called when want to lock a file. creates lock and store into map under filename key if lock doesn't exist lastly, calls lock on lock associated with filename | [
-0.45453834533691406,
-0.516051709651947,
0.5232803225517273,
0.3831131160259247,
0.7786228060722351,
0.1806277632713318,
0.410498708486557,
0.36941996216773987,
-0.8724231719970703,
-0.05085916444659233,
-0.0351787768304348,
-1.2459044456481934,
0.16954171657562256,
0.4052400290966034,
... |
NewListener creates a new listener | [
0.8067763447761536,
-1.4920827150344849,
0.09370474517345428,
0.807262122631073,
-0.440080463886261,
0.8093817830085754,
-0.24683475494384766,
-0.1233375295996666,
-0.5970389246940613,
-0.8273990154266357,
-0.5350965261459351,
-0.9340343475341797,
-0.05515677481889725,
0.5781840085983276,
... |
getMockServer returns a httptest server with the desired handler function based on the key passed in | [
-1.341156005859375,
-0.3016875088214874,
0.39821407198905945,
0.5165982842445374,
0.7978175282478333,
0.13067229092121124,
0.12133102118968964,
-0.07416683435440063,
0.18522796034812927,
-0.112464040517807,
-0.5040921568870544,
0.7773383259773254,
-1.3096263408660889,
-0.100168876349926,
... |
Tests the goutils package | [
-0.3559591770172119,
1.7660694122314453,
-0.015126688405871391,
-0.24442744255065918,
1.2188489437103271,
0.2049373835325241,
-0.681660532951355,
0.24083583056926727,
0.09607123583555222,
-0.9551536440849304,
-0.49570828676223755,
-0.011781970970332623,
0.8565839529037476,
-0.8702448606491... |
Sum will take as many arguments as you pass to it and return the sum of all of them | [
0.1442081779241562,
0.745597243309021,
0.6843674182891846,
1.2185182571411133,
1.2341983318328857,
0.22899407148361206,
-0.17715537548065186,
-0.09327871352434158,
-1.0687079429626465,
-0.4853750467300415,
-0.7474570274353027,
-0.38726139068603516,
-1.053636908531189,
0.3741939067840576,
... |
Subtract will take as many arguments as you pass to it and return the subtraction of them | [
-0.3698132634162903,
0.436647891998291,
0.8168134093284607,
0.5400875210762024,
0.4808765649795532,
0.16231058537960052,
-0.3184015154838562,
0.011086623184382915,
-1.1342451572418213,
-1.2042145729064941,
-0.2970265746116638,
-0.7535911202430725,
-1.2919397354125977,
0.4076949656009674,
... |
Multiply will take as many arguments as you want and will return the multiplication of them | [
-1.0676567554473877,
1.0897576808929443,
0.746819019317627,
1.1318132877349854,
1.0688647031784058,
-0.07814285159111023,
-1.1491615772247314,
-0.2666672468185425,
-0.7107253670692444,
-0.820515513420105,
-0.42122185230255127,
-1.022517442703247,
-1.502671241760254,
0.47954240441322327,
... |
Divide will take two arguments and return its division as far as the second argument isn't zero that will return an error | [
0.2351025938987732,
-0.7336851358413696,
0.7720803022384644,
1.8638160228729248,
0.3610874116420746,
0.6509565114974976,
-0.5131748914718628,
-0.3237460255622864,
-0.8942679166793823,
-0.9127717018127441,
1.1283318996429443,
0.14962267875671387,
-0.597530722618103,
0.7903589010238647,
0.... |
TestNewStructIO func will be deprecated soon | [
0.7338254451751709,
0.06210487708449364,
0.4712044894695282,
1.3963985443115234,
-1.01824951171875,
-0.10077781975269318,
0.3319168984889984,
-0.621681809425354,
0.15878331661224365,
-1.4438613653182983,
-1.67915940284729,
0.021976999938488007,
0.17559896409511566,
0.16990762948989868,
-... |
Name return file name | [
-0.3662402927875519,
-1.4867382049560547,
0.8227367401123047,
-0.17667831480503082,
-1.145238995552063,
0.33464476466178894,
0.3318250775337219,
0.14542195200920105,
-1.18793785572052,
0.7478563785552979,
0.24931716918945312,
-0.8310476541519165,
0.8324041366577148,
-0.2874525487422943,
... |
Size return file size | [
0.6864201426506042,
-0.046705469489097595,
0.44551151990890503,
-0.34063267707824707,
0.0833326131105423,
0.15924587845802307,
0.6767246127128601,
0.036151230335235596,
-1.0081027746200562,
-0.940412163734436,
0.5093511343002319,
-0.737250030040741,
-0.2573263943195343,
-0.0854131504893302... |
Mode return file mode | [
-0.4745197594165802,
-0.8395342826843262,
0.22739408910274506,
0.24287252128124237,
0.3395993113517761,
0.954623818397522,
-0.005440017208456993,
0.29633569717407227,
-1.0798354148864746,
-0.6764307618141174,
0.260871946811676,
-1.0891985893249512,
-0.728989839553833,
-0.6106098890304565,
... |
Mode return file modify time | [
-1.0921303033828735,
-0.8375353813171387,
0.4942586421966553,
-0.19374921917915344,
-0.12452594190835953,
0.308887243270874,
-0.013366746716201305,
0.22664578258991241,
-0.5500802993774414,
0.8074972033500671,
0.024976462125778198,
-0.8804829716682434,
-0.1470019370317459,
0.12583868205547... |
IsDir return file whether a directory | [
0.25482499599456787,
-0.20979951322078705,
0.43852484226226807,
1.89035964012146,
-0.13807186484336853,
0.3459292948246002,
1.1038596630096436,
-0.1401415765285492,
0.7178134918212891,
-1.142258644104004,
0.9605286121368408,
-0.4230682849884033,
-0.13762912154197693,
0.8671101331710815,
... |
Sys return file is sys mode | [
-0.8283963203430176,
-0.288144588470459,
0.3647233843803406,
1.079577088356018,
-0.12993526458740234,
-1.1977639198303223,
0.167356938123703,
-0.7416039705276489,
0.8556653261184692,
-0.37451866269111633,
-0.9453234672546387,
-0.3738030791282654,
1.1019392013549805,
-0.1311209797859192,
... |
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... |
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... |
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... |
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.6920108795166016,
-0.8882793188095093,
0.350678414106369,
-1.0683259963989258,
-0.3750123083591461,
-0.22394120693206787,
-0.07674922794103622,
0.18463824689388275,
-0.38433903455734253,
-0.6790561079978943,
1.0316658020019531,
1.0920321941375732,
-0.41262176632881165,
-1.339498639106750... |
RestoreAssets restores an asset under the given directory recursively | [
0.44365453720092773,
-0.1801791787147522,
0.4858369827270508,
-0.5981612205505371,
-0.51106858253479,
-0.41784146428108215,
0.37742650508880615,
-0.14603884518146515,
0.37270674109458923,
-0.853930652141571,
0.8166237473487854,
0.830143392086029,
-0.48213666677474976,
-0.5242205858230591,
... |
ValidColumn reports if the column name is valid (part of the table columns). | [
0.2507798671722412,
-0.9979304075241089,
0.31269147992134094,
0.5004554390907288,
-0.42668718099594116,
0.8066497445106506,
0.4319034814834595,
0.06043362617492676,
-0.3555658161640167,
-0.3849962651729584,
-1.092543363571167,
0.023425942286849022,
0.09229326248168945,
-0.5948535799980164,... |
NewMutation creates a mutation object from a previous value which can be modified. To create a new value: Create a new mutation for a user starting with the previous value with NewMutation. Change the value with SetCommitment and ReplaceAuthorizedKeys. Finalize the changes and create the mutation with SerializeAndSign. | [
-0.5168379545211792,
0.11306902766227722,
0.5872938632965088,
1.26101553440094,
-0.7791891694068909,
-0.7623171806335449,
0.63746577501297,
-0.47202882170677185,
0.7651117444038391,
-0.05695640295743942,
-0.729982316493988,
0.17541268467903137,
-0.30677780508995056,
-0.6281636357307434,
... |
SetPrevious adds a checkset constraint on the mutation which is useful when performing a getmodifyset operation. If Previous is set, the server will verify that the current value matches the Previous hash in this mutation. If the hash is missmatched, the server will not apply the mutation. If Previous is unset, the ser... | [
-0.5434560775756836,
0.6052891612052917,
0.8816984295845032,
0.9303343296051025,
-0.3438253700733185,
0.039304062724113464,
0.5589972734451294,
-0.13012957572937012,
0.10896874219179153,
0.42584142088890076,
0.0037764867302030325,
0.4789694845676422,
-0.0021289039868861437,
0.1592648774385... |
MinApplyRevision returns the minimum revision that a client can reasonably expect this mutation to be applied in. Clients should wait until a current map revision > MinApplyRevision before attempting to verify that a mutation has succeeded. | [
0.20856809616088867,
-0.8702788949012756,
0.626695990562439,
-0.2865949869155884,
-1.1054890155792236,
0.14734052121639252,
-0.41324540972709656,
0.39760658144950867,
0.6803197860717773,
-0.9894209504127502,
0.7768446803092957,
0.5249894857406616,
-0.32301273941993713,
0.37448784708976746,... |
SetCommitment updates entry to be a commitment to data. | [
0.28914621472358704,
-0.9635313153266907,
0.23529407382011414,
-0.2857559323310852,
0.6289274096488953,
0.18582303822040558,
0.35636797547340393,
1.4666123390197754,
-0.15751232206821442,
1.339535117149353,
-0.1629771888256073,
-0.6302022337913513,
0.14871354401111603,
-0.05458846688270569... |
ReplaceAuthorizedKeys sets authorized keys to pubkeys. pubkeys must contain at least one key. | [
-0.3112865686416626,
0.5781573057174683,
0.052647531032562256,
0.29509368538856506,
-0.47524937987327576,
-0.41130122542381287,
-0.6239487528800964,
1.027368426322937,
0.18136733770370483,
0.4834771156311035,
-0.6659727096557617,
1.0567597150802612,
-0.7462328672409058,
0.843113124370575,
... |
SerializeAndSign produces the mutation. | [
-1.1811983585357666,
-0.5073978304862976,
0.19519078731536865,
0.8532131910324097,
-0.09755508601665497,
-0.5855230689048767,
0.477794885635376,
0.17112436890602112,
1.8109962940216064,
-0.17136336863040924,
-1.2692798376083374,
-0.7223547697067261,
0.29358750581741333,
-0.8960894346237183... |
Sign produces the mutation | [
-1.0907821655273438,
-0.17483898997306824,
0.0716552883386612,
1.742708683013916,
-0.0773039162158966,
0.3017105460166931,
0.36279407143592834,
0.14512965083122253,
0.7381466031074524,
0.27407997846603394,
-1.299309492111206,
-1.0929380655288696,
0.36423423886299133,
-0.17947132885456085,
... |
EqualsRequested verifies that an update was successfully applied. Returns nil if newLeaf is equal to the entry in this mutation. | [
-0.49533310532569885,
-0.8142215013504028,
0.48648518323898315,
0.9258624315261841,
0.5925542712211609,
0.3363780677318573,
-1.2153820991516113,
-1.3132628202438354,
0.8907486200332642,
0.10778627544641495,
-0.1547349989414215,
0.4839119017124176,
-0.39655739068984985,
-0.1305369734764099,... |
EqualsPrevious returns true if the leafValue is equal to the value of entry at the time this mutation was made. | [
0.3858851492404938,
-0.7468953728675842,
0.635580837726593,
0.4147707223892212,
1.0707350969314575,
-0.41502776741981506,
0.3921971917152405,
-0.9535782933235168,
0.30013611912727356,
0.7278125882148743,
-0.3752932548522949,
1.141823172569275,
0.06375634670257568,
-0.4301467835903168,
-1... |
Delete will delete a clusterrole Args: Pointer to a Client struct clusterrolename name Returns: error or nil | [
0.23567356169223785,
0.49532341957092285,
0.40763306617736816,
-0.3467514216899872,
0.45114460587501526,
0.1180390939116478,
0.4274613857269287,
0.06627066433429718,
0.20315545797348022,
0.9301608800888062,
-0.07618542015552521,
0.45731520652770996,
-1.6291643381118774,
-0.3851439952850342... |
List will list all ClusterRoles Args: Client struct from client module Returns: pointer v1.NamespaceList or error | [
-0.09339281171560287,
0.11437684297561646,
0.2978186309337616,
-0.5868474841117859,
-0.11868995428085327,
0.14909087121486664,
0.021837154403328896,
-0.5633470416069031,
1.3392369747161865,
0.6762410998344421,
-0.20420365035533905,
0.9602141380310059,
-1.0979903936386108,
0.592679321765899... |
Create will create a clusterrole Args: Pointer to a Client struct Pointer to Instance Returns: error or nil | [
-0.4608553647994995,
0.7348498106002808,
0.39378267526626587,
-1.049228310585022,
0.8600729703903198,
1.1247026920318604,
0.4436627924442291,
-0.6388131976127625,
-0.11289375275373459,
0.6622450947761536,
0.01873702183365822,
-0.2907734513282776,
-1.614130973815918,
-0.07309960573911667,
... |
Exists will check if the namespace exists or not Args: Pointer to a Client struct namespace name Returns: string (namespace name) OR error type | [
-0.8940672278404236,
-0.08816029131412506,
0.4859854280948639,
-0.8127407431602478,
0.1229674369096756,
-0.024238573387265205,
-0.2421153336763382,
-1.465643286705017,
1.4577847719192505,
0.36775916814804077,
0.09868881106376648,
-0.03949221596121788,
-0.4497479200363159,
0.614676713943481... |
GetAuthor hook the svn ,and get its repo author . | [
0.2814503312110901,
-0.4547101855278015,
0.2502560019493103,
1.6283514499664307,
0.7021206617355347,
-0.818522572517395,
0.023356474936008453,
1.1153197288513184,
0.47807377576828003,
0.3438153564929962,
0.6222862005233765,
0.38185152411460876,
0.974341630935669,
-0.41985538601875305,
0.... |
Getdate get time stamp | [
0.43078747391700745,
0.02123943530023098,
0.526029109954834,
0.958079993724823,
1.1628081798553467,
-0.08373285830020905,
-1.365770697593689,
-0.37874361872673035,
1.2114557027816772,
0.16302841901779175,
-1.3352365493774414,
-0.14415697753429413,
0.32338589429855347,
0.7938361167907715,
... |
Getdiff print file diff in GNU format | [
0.37764304876327515,
-0.7564104795455933,
0.41318273544311523,
0.44749075174331665,
0.12848913669586182,
1.4958062171936035,
0.1392551064491272,
0.0014637171989306808,
-1.344237208366394,
-0.9405006766319275,
-0.10109098255634308,
1.318231225013733,
0.8289631009101868,
0.8216684460639954,
... |
Getlog print file log | [
1.1293449401855469,
-0.6007829308509827,
0.03765273466706276,
0.4032827913761139,
0.545192539691925,
-0.038872938603162766,
0.16588856279850006,
-0.38387665152549744,
-1.0954524278640747,
-0.20237420499324799,
0.4760919511318207,
0.5461820960044861,
0.5413281321525574,
-0.01455305237323045... |
Getinfo return a specific map | [
-0.5629225969314575,
-0.9139447212219238,
0.31704971194267273,
0.21029016375541687,
-0.10411533713340759,
-0.08474721014499664,
-0.9655466079711914,
-0.11970747262239456,
-0.44248828291893005,
-0.014269573614001274,
-0.08788809180259705,
0.6757232546806335,
0.17659907042980194,
-0.19155599... |
Return swapctl summary info | [
-1.3772748708724976,
-0.8326708078384399,
0.2389252781867981,
-0.8881391286849976,
-0.2914576828479767,
0.19867774844169617,
-0.23404774069786072,
0.07715462148189545,
0.9258095622062683,
-0.6710518598556519,
-0.35060209035873413,
-0.5820503234863281,
1.3148150444030762,
-0.723502814769744... |
ServerKey returns the contextual logging key for the server name | [
-0.7850077152252197,
-0.22929280996322632,
0.32763105630874634,
-0.02473139390349388,
-0.1862507313489914,
-0.24324361979961395,
0.09530787169933319,
-0.44750770926475525,
-0.17787551879882812,
1.1873210668563843,
-0.3070509135723114,
1.7157094478607178,
-1.3217544555664062,
0.524128913879... |
NewStarter returns a starter closure for the given HTTP server. The start options are first applied to the server instance, and the server instance must not have already been started prior to invoking this method. The returned closure will invoke the correct method on the server to start it, e.g. Serve, ServeTLS, etc. ... | [
-0.6399229764938354,
-1.0915148258209229,
0.7246837615966797,
-0.03581090271472931,
-1.3683059215545654,
0.35948801040649414,
0.19868001341819763,
-0.13978826999664307,
0.5257024765014648,
0.09119099378585815,
-0.3886592388153076,
0.5454673767089844,
-0.1255912482738495,
1.2645058631896973... |
StartOptions produces a StartOptions with the corresponding values from this ServerOptions | [
-0.24012912809848785,
-0.6354092359542847,
0.450303316116333,
0.5687141418457031,
0.9614763855934143,
0.33456119894981384,
0.2746265232563019,
-0.4940348267555237,
1.2461636066436768,
-0.1799413561820984,
-0.7990124225616455,
1.119337797164917,
-0.06943667680025101,
0.7003747224807739,
-... |
NewServer creates a Server from a supplied set of options. | [
-0.8835644721984863,
-0.6472045183181763,
0.22936023771762848,
0.9814361333847046,
0.28347301483154297,
0.4479924738407135,
-0.3708908259868622,
-0.26823294162750244,
0.24411144852638245,
-0.07771026343107224,
-0.5061317086219788,
0.3782188594341278,
-1.136539340019226,
0.08726978302001953... |
HandleAddContest : handle add contest action | [
0.42538854479789734,
-1.1396770477294922,
0.5084096193313599,
0.710429847240448,
0.7304849028587341,
0.34905168414115906,
1.120213508605957,
-0.12526057660579681,
1.012591004371643,
-0.24609628319740295,
-0.01491082925349474,
-0.9907248616218567,
-0.2296672910451889,
-0.1651221513748169,
... |
HandleRemoveContest : handle remove contest action | [
0.07998128235340118,
-1.163356065750122,
0.5302636623382568,
0.5952156186103821,
0.01841340772807598,
0.037038639187812805,
0.967143177986145,
1.3285328149795532,
0.04164336249232292,
0.41984596848487854,
-0.3083406984806061,
-0.827239453792572,
0.43063321709632874,
-0.538831353187561,
-... |
HandleUpdateContest : handle update contest action | [
-0.8093060851097107,
-1.9266809225082397,
0.35063910484313965,
1.096760630607605,
-0.4829799234867096,
0.2571622431278229,
0.5447518229484558,
0.43902787566185,
0.42273542284965515,
0.7036762237548828,
0.414811372756958,
-0.8108854293823242,
-0.027442684397101402,
-0.5881821513175964,
0.... |
Verify that the output of presBuilder is still a valid presentation. | [
0.3238547146320343,
-0.4999569058418274,
0.2361047863960266,
1.564745306968689,
-0.628574550151825,
1.159285545349121,
0.8811537623405457,
0.04041742533445358,
0.8884760737419128,
-1.0789655447006226,
-0.41167744994163513,
0.15427012741565704,
-0.8349509239196777,
0.6457196474075317,
0.8... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.