text
stringlengths
7
2.39k
embedding
listlengths
768
768
StopContainer stops the container
[ -0.4638882875442505, -0.5546518564224243, 0.1368703991174698, 0.23640753328800201, 0.9964121580123901, -0.3726575970649719, 1.1597599983215332, -0.7920239567756653, -0.6462745070457458, -0.24937501549720764, 0.42528828978538513, -0.21972525119781494, 0.4716295599937439, 0.2548375427722931,...
ExecContainer run a container and then remove it
[ 0.2913722097873688, -0.033701181411743164, 0.4756408929824829, 0.7011129856109619, 0.24288544058799744, -0.5680230855941772, 0.650066614151001, -0.4286488890647888, 0.20517639815807343, -0.2440912425518036, 0.1603001356124878, 0.3385241627693176, -0.048859935253858566, 0.26734817028045654,...
IsContainerExist return true if container exists otherwise false
[ -0.5882196426391602, -0.635898232460022, 0.833414614200592, 0.30239811539649963, 1.4718728065490723, -0.2951850891113281, -0.12462199479341507, 0.315000981092453, 0.1929267793893814, 1.2181087732315063, 0.33089032769203186, -1.1733733415603638, -0.15737520158290863, 0.9169471859931946, -...
StopAllContainers stops all the containers on a particular vm
[ -0.13669642806053162, -0.5019802451133728, 0.5778095126152039, 0.7645160555839539, 0.024330396205186844, -0.6213890314102173, -0.6801151037216187, 0.07941963523626328, 0.1197696104645729, 0.7090355753898621, -0.3370819389820099, 0.08455853164196014, 0.12020339071750641, 0.9553792476654053,...
RemoveAllContainers removes all the containers on a particular vm
[ 0.3598824441432953, -0.3494921028614044, 0.8363913893699646, 0.9529577493667603, -0.32474619150161743, -1.0351451635360718, -0.6803590655326843, 0.4517735242843628, 0.7744382619857788, 0.570370614528656, -0.1345059722661972, 0.28220340609550476, -0.7216325998306274, 1.2014977931976318, -...
GetVolumeProperties returns capacity, attachedtovm and diskformat field for volume.
[ 0.16319312155246735, -1.521618366241455, 0.28685262799263, 0.5363536477088928, 0.8011353015899658, -0.8757460713386536, -0.4805682599544525, -0.29294297099113464, -0.40580976009368896, 0.31339165568351746, -0.17548704147338867, -0.14250510931015015, -0.08545476198196411, -0.566632628440856...
WriteToContainer write data to a file in the existing running container
[ 0.42427361011505127, -1.0371509790420532, 0.3045913875102997, 0.08694833517074585, 1.7186862230300903, 0.1696033924818039, 1.2334051132202148, -0.04652455076575279, -1.481927514076233, 0.0549122653901577, 0.26546168327331543, 0.6934078335762024, 0.7496272325515747, -0.06899644434452057, ...
ReadFromContainer read content from the file in the existing running container
[ 0.9142663478851318, -1.443779706954956, 0.5709762573242188, 0.2883911728858948, 0.4371303915977478, 0.3581533432006836, 0.6721351742744446, -0.8474475145339966, -1.8463114500045776, -0.0057523250579833984, 1.130921483039856, 0.4035196304321289, 0.5485457181930542, -0.6023002862930298, 0....
GetVolumeStatus returns a property map for a volume
[ -0.6605678796768188, -1.820068597793579, 0.342841237783432, -0.48753392696380615, 0.2575076222419739, -0.7251322269439697, -1.5829195976257324, 0.5932554602622986, 0.10078980028629303, 0.44679754972457886, -0.6407520174980164, 0.019670045003294945, 0.34013503789901733, -1.0158225297927856,...
New creates a new struct for results of teams.
[ -0.3330995440483093, -0.06349308788776398, 0.42986559867858887, -0.6318396329879761, -0.9631855487823486, -0.583418071269989, 0.1777280569076538, -1.20694899559021, -1.2282875776290894, -1.5566489696502686, -0.7019702196121216, -0.44856512546539307, 0.5480833053588867, -0.5611947774887085,...
AddResult adds results for teams.
[ -0.13793525099754333, 0.971697211265564, 0.08226843923330307, 0.20667025446891785, 0.9154784679412842, -0.44282266497612, -0.0849456787109375, -0.9763070344924927, -0.01764347404241562, -1.3940743207931519, -0.8010217547416687, -0.7693040370941162, -0.06022357940673828, -0.3702210187911987...
WriteBoard writes board with results of teams.
[ -0.7016395926475525, 0.46492433547973633, 0.036099664866924286, 0.270346999168396, 1.0375728607177734, 0.33773577213287354, 0.7459729313850403, 0.14520984888076782, -0.7669646739959717, -0.5597580075263977, 0.051910944283008575, -0.506394624710083, -0.1629350781440735, -0.0646049752831459,...
GetLogger returns a logger suitable for using as shared.Log.
[ -0.02310873009264469, 0.25489434599876404, 0.25427359342575073, 0.4008442163467407, -0.012941905297338963, -0.027827296406030655, 0.012418795377016068, 0.3564201593399048, 0.2818296551704407, -0.7729177474975586, 0.4120538830757141, 0.49314114451408386, -0.2962920069694519, 0.4943370521068...
NewWriter creates a prepared LogWriter that is ready to be used. If it can connect within the first 100 milliseconds then no records will be dropped in the beginning. Argument addr specifies the address of the cutelog instance (e.g. "localhost:19996"), and format specifies serialization format that will be signaled (e....
[ -0.3621964454650879, -0.23200319707393646, 0.6073707938194275, 0.11780880391597748, -0.5961611866950989, -0.6010768413543701, 0.04338757321238518, 0.3820089101791382, 0.394902765750885, 0.5424132347106934, 0.14211805164813995, 0.2518934905529022, 0.6248586773872375, 0.25068119168281555, ...
connect tries to connect to the cutelog instance until it succeeds.
[ -1.3098828792572021, 0.43629947304725647, 0.26791906356811523, -0.29808613657951355, -0.38665735721588135, 0.4197418689727783, -0.9944863319396973, -1.2381203174591064, -1.17678964138031, -0.16233892738819122, -0.750748872756958, -0.6607359647750854, 0.8280932903289795, -0.4499418735504150...
Write sends the encoded record if there is an established connection.
[ 0.08883225917816162, -0.5724959373474121, 0.3288968801498413, 0.6755009889602661, 0.35254237055778503, -0.26356932520866394, -0.013154792599380016, -0.41455358266830444, -0.7410992383956909, 0.49245375394821167, -0.9959168434143066, 0.34119904041290283, -0.9944577217102051, 0.5511687994003...
Sync is here to satisfy zapcore.WriteSyncer. Since there is no buffer this function does nothing.
[ -0.09492747485637665, -0.1842673122882843, 0.5550045967102051, 0.3593600392341614, 0.1867552250623703, 0.4835546016693115, 0.4183430075645447, -0.7544885873794556, -0.14776916801929474, -1.4861185550689697, -0.8208637237548828, 0.3628281056880951, -0.4320380985736847, 0.3585973381996155, ...
Close closes the connection to cutelog.
[ -0.435768723487854, 0.11752194166183472, 0.24113434553146362, -0.38350844383239746, -0.8005011081695557, 0.4367440640926361, -1.1982331275939941, -0.8674455881118774, -1.1629133224487305, -0.18724249303340912, -0.3337978720664978, 0.07470904290676117, 0.8658836483955383, -0.177484363317489...
New creates a new DirServer cache reading in the log and writing out a new compacted log.
[ 0.10684125125408173, -0.6871413588523865, 0.2711544334888458, 0.2463488131761551, -0.5493504405021667, -0.4145933985710144, 0.6898137331008911, 0.1460617482662201, -0.5858011841773987, -0.9184213280677795, -0.378050297498703, 0.5855965614318848, -0.06129712238907814, 0.1274661123752594, ...
dirFor returns a DirServer instance and a boolean that is true if path is cacheable.
[ -1.342453956604004, -0.20920298993587494, 0.5694284439086914, 0.16519583761692047, -0.6136977672576904, 0.056496381759643555, 0.2986516058444977, 0.00375661114230752, 0.31719300150871277, -0.9485088586807251, -0.4569006562232971, -0.3261072635650635, 0.1642589271068573, 0.08034618943929672...
Put implements upspin.DirServer. TODO(p): Remember access errors to avoid even trying?
[ -2.058485746383667, -0.5780025720596313, 0.37598785758018494, 0.13972105085849762, 0.14231178164482117, 0.3897688686847687, 1.5698046684265137, 0.3500896990299225, 0.7615454196929932, -0.5109397172927856, -0.5471150875091553, 0.01952141895890236, -1.2557628154754639, 0.32817381620407104, ...
This must be called while not holding locks since it recurses into the cacheserver.
[ -1.0920099020004272, -0.34099677205085754, 0.2847793996334076, 0.6152564883232117, -0.2673628330230713, 0.42401495575904846, 0.43732964992523193, -1.3258914947509766, 0.05202743411064148, -0.31692370772361755, -0.4746211767196655, 0.7416598200798035, -1.070997714996338, 1.4213929176330566,...
This must be called while not holding locks since it recurses into the cacheserver.
[ -1.0920099020004272, -0.34099677205085754, 0.2847793996334076, 0.6152564883232117, -0.2673628330230713, 0.42401495575904846, 0.43732964992523193, -1.3258914947509766, 0.05202743411064148, -0.31692370772361755, -0.4746211767196655, 0.7416598200798035, -1.070997714996338, 1.4213929176330566,...
readAndParseAccess returns a parsed Access file. It maintains a cache of parsed access files checking the current sequence number to make sure the parsed version is current. This must be called while not holding locks since it recurses into itself via the ReadAll. TODO: In the future we may need to write our own versio...
[ 0.22409459948539734, -1.361647129058838, 0.9411286115646362, -0.778140664100647, -0.9338871240615845, -0.5735802054405212, 0.5140982866287231, -0.2502991557121277, -0.3596805930137634, -0.6198692321777344, 1.246076226234436, 0.24274927377700806, -0.42037415504455566, -0.3464316725730896, ...
loadThroughCache retrieves the contents of a file via the caches.
[ 0.6193628311157227, -0.6361940503120422, 0.3870176672935486, -0.1684008687734604, -1.0758525133132935, -0.2081027776002884, 0.15052469074726105, -0.8880171179771423, -0.7284529209136963, 0.2128192037343979, 0.31354910135269165, -0.12102474272251129, -0.043426740914583206, 0.077065646648406...
Mathematical Solution: Take m1 combinations from m1+n1 steps. C(m1+n1, m1)=(m1+n1)! / ( (m1)! (n1)! ) similar to tower of hanoi problem, work backwards recursively.
[ 0.32620590925216675, 0.7132551670074463, 0.42378541827201843, 1.452902913093567, -0.11649389564990997, 0.122008316218853, 1.1261351108551025, -0.23518745601177216, 0.4171098470687866, 0.34765827655792236, 0.1668958067893982, -0.9846579432487488, -0.1487533003091812, 0.7019243836402893, -...
get the response content bytes
[ 0.6344311833381653, -0.41788211464881897, 0.3464122712612152, 0.2751832604408264, -0.2520632743835449, -0.1107277199625969, -0.31091180443763733, -1.8439327478408813, 0.5232014656066895, -1.079459547996521, -0.8306894302368164, -0.7477957606315613, -0.7745125889778137, -1.047060489654541, ...
get the response content string
[ 0.6237837076187134, -1.8314201831817627, 0.07855673879384995, 0.022327471524477005, -0.654699981212616, 0.24588727951049805, -0.28131601214408875, -1.8470216989517212, 0.11033566296100616, -0.29522281885147095, 0.2277495414018631, -1.3595515489578247, -0.14279663562774658, -2.1652684211730...
MarshalText implements TextMarshaler from encoding
[ 1.0643717050552368, 0.16392019391059875, -0.07813535630702972, -0.14124801754951477, -1.4006420373916626, 0.12309855967760086, -1.8711607456207275, 0.7047354578971863, 1.1406797170639038, -0.3666982650756836, 0.2965736389160156, -1.0580997467041016, 0.3286644220352173, -0.3755452334880829,...
UnmarshalText implements TextUnMarshaler from encoding
[ 0.6581201553344727, 0.6766668558120728, 0.25415655970573425, -1.0291621685028076, -1.3456908464431763, -0.29428741335868835, -0.9108873009681702, 1.2299439907073975, 0.08652486652135849, 0.23122036457061768, -0.16062696278095245, -1.4755833148956299, 0.11496544629335403, -0.596015453338623...
Removing dependencies is not trivial I haven't really tought about it, I would love to get it right once and be done with it tough, I don't like the way that RHEL has implemented it, i think I going to study and search a bit the internet to find out if someone has already implemented an algorithm to solve this problem....
[ -0.3720168173313141, -0.6234854459762573, 0.9692825675010681, 0.22484032809734344, -1.345149040222168, -0.48144790530204773, 0.7567425966262817, 0.6950002908706665, 0.44272565841674805, 0.15504147112369537, -0.6612845063209534, -1.0302695035934448, -0.3424637019634247, 1.1039445400238037, ...
NewPageRequest instantiates new PageRequest instance
[ -0.2738233804702759, -0.545820415019989, 0.33660364151000977, 0.9949061870574951, -0.16220256686210632, 0.1991504430770874, -0.45072388648986816, 0.13243161141872406, 0.06678745150566101, -0.3711569309234619, 0.9970431327819824, -0.10166190564632416, -0.9590207934379578, 1.173105239868164,...
Offset returns perPage (page 1)
[ 0.20772995054721832, -0.22733056545257568, 0.4673272371292114, -0.15471071004867554, -0.7869697213172913, 1.214622974395752, 0.7868082523345947, 0.7652215957641602, 0.41102150082588196, 0.5185503959655762, 0.9652093648910522, -0.2873905897140503, -0.2618587911128998, 0.18545544147491455, ...
NewPage instantiates new Page instance
[ 0.5598127841949463, -0.36951008439064026, 0.3306412100791931, 0.08711028844118118, 0.35253986716270447, 0.6254367828369141, -0.2635689973831177, 0.04665575549006462, 0.03623393923044205, -0.7063964009284973, 0.7959616184234619, -0.6511490345001221, -0.7154808044433594, 0.6746960878372192, ...
NewVuePage constructs new VuePage from Page
[ 0.18252238631248474, -0.664770781993866, 0.19355201721191406, 0.7583130598068237, -0.06785190850496292, 0.46527600288391113, -0.7765522003173828, 0.540618896484375, 0.08114781975746155, 1.4516061544418335, 0.4477945566177368, -0.6846920251846313, -0.16410623490810394, 0.52972412109375, 0...
NewPaginatePage constructs new Paginate from Page
[ -0.04722265154123306, -1.059876799583435, 0.47217679023742676, 0.8221116065979004, -0.2056325078010559, -1.2460377216339111, -0.5754261016845703, -0.18734164535999298, 0.12804004549980164, 0.8720921874046326, 0.2377362698316574, -1.2836277484893799, -1.1332972049713135, 0.7986306548118591,...
Main method that runs server and accepts requests by endpoint.
[ -0.8239336013793945, -0.4466686248779297, 0.32191482186317444, 1.356208324432373, 0.43620941042900085, 0.31852513551712036, 0.5798789262771606, 0.36651715636253357, -1.181494951248169, -0.01068120263516903, 0.09561966359615326, -0.4818773865699768, -0.38094910979270935, -0.011550297960639,...
Stringer is implemented by any value that has a String method, which defines the ``native'' format for that value. The String method is used to print values passed as an operand to any format that accepts a string or to an unformatted printer such as Print.
[ -0.1872641146183014, -1.0313388109207153, 0.8466495871543884, -0.22636443376541138, -1.3256582021713257, 0.25805509090423584, -0.40101781487464905, -1.2235387563705444, -0.2547699809074402, -0.8958751559257507, 0.7294389605522156, 0.46362534165382385, 0.7594471573829651, 0.9525114893913269...
GoString method, which defines the Go syntax for that value. The GoString method is used to print values passed as an operand to a %v format.
[ -0.13495028018951416, 0.04432086646556854, 0.5153613686561584, -0.17123156785964966, -0.09550101310014725, 0.6046482920646667, -0.20308494567871094, -1.2396639585494995, -0.7957693934440613, 0.08789997547864914, -0.13132576644420624, 0.5832122564315796, 0.3359273672103882, 0.16549885272979...
implicitly implements the Handler interface
[ -0.14543139934539795, 0.18396613001823425, 0.47348731756210327, 0.012423674575984478, -0.0001055002212524414, 1.425936222076416, 0.9536901712417603, 0.42014965415000916, 0.020548751577734947, -1.1790140867233276, -0.8187446594238281, -0.8637025356292725, -0.17674919962882996, 0.73627376556...
AddTxRequest adds the request context for new transaction notifications.
[ -0.32314446568489075, 0.9107505083084106, 0.6090990900993347, -0.4630598723888397, -0.25880181789398193, -0.23077799379825592, -0.8888828754425049, -0.2682764530181885, 0.5049455165863037, -0.38704073429107666, -0.20451056957244873, 0.03262130543589592, 0.7156102657318115, -0.3949344158172...
AddSpentRequest adds a request context for notifications of a spent Outpoint.
[ -0.7398235201835632, -0.22699232399463654, 0.49718883633613586, 0.1765667349100113, -0.33358922600746155, -0.21997082233428955, 0.3050835430622101, -0.5610968470573425, 0.6854022741317749, 0.3427288830280304, -0.19788628816604614, 0.2524879276752472, -0.27417588233947754, -0.16977268457412...
RemoveSpentRequest removes a request context for notifications of a spent Outpoint.
[ -0.3911272883415222, -0.5547873377799988, 0.36646848917007446, 0.030799500644207, -1.1367480754852295, -0.4940635561943054, 0.6715818047523499, -0.22080551087856293, 0.45030921697616577, 0.9534069299697876, -0.15895292162895203, -0.05092274770140648, -0.542395293712616, -0.4812208116054535...
AddMinedTxRequest adds request contexts for notifications of a mined transaction.
[ -0.33161768317222595, 0.3171890079975128, 0.470845103263855, -0.010658510029315948, 0.09338591992855072, -0.01740916073322296, -0.5432964563369751, -1.1208361387252808, 0.2444223016500473, -0.02584627829492092, -0.5572897791862488, -0.10768236964941025, 0.11645019799470901, -0.332809716463...
RemoveMinedTxRequest removes request contexts for notifications of a mined transaction.
[ -0.1552988886833191, -0.11853720247745514, 0.344974547624588, -0.0366675965487957, -0.8618296384811401, -0.09276185184717178, -0.3320956528186798, -1.2053236961364746, -0.19029651582241058, 0.5577077269554138, -0.27862778306007385, -0.4930652678012848, -0.1527741253376007, -0.4954487979412...
removeMinedTxRequest removes request contexts for notifications of a mined transaction without grabbing any locks.
[ -0.24263176321983337, -0.1474466621875763, 0.35917356610298157, 0.0496365912258625, -0.9294493794441223, 0.015965661033988, -0.006606752052903175, -1.3661388158798218, -0.19049881398677826, 0.4062885046005249, -0.4059133529663086, -0.43431583046913147, -0.37422823905944824, -0.480486601591...
CloseListeners removes all request contexts for notifications sent to a wallet notification channel and closes the channel to stop all goroutines currently serving that wallet.
[ -0.2935500144958496, -1.1749916076660156, 0.5673562288284302, -0.6939315795898438, -0.04797561839222908, 0.37111803889274597, -0.6007060408592224, -1.1268497705459595, -0.05737629905343056, 0.042768366634845734, 0.3587533235549927, 0.21598397195339203, -0.8852572441101074, 0.49879989027976...
respondToAnyCmd checks that a parsed command is a standard or extension JSONRPC command and runs the proper handler to reply to the command. Any and all responses are sent to the wallet from this function.
[ -0.0935702696442604, -1.2033658027648926, 0.7828988432884216, 0.1756318211555481, 0.4801580011844635, -0.9600245356559753, -0.3363513946533203, -0.5696825981140137, 1.1182217597961426, -1.2961866855621338, 0.25676941871643066, 0.12283626198768616, -0.9571352601051331, 0.5588207244873047, ...
handleGetCurrentNet implements the getcurrentnet command extension for websocket connections.
[ 0.5388544201850891, -1.1052827835083008, 0.46190813183784485, 0.5741927623748779, -0.08241929858922958, -0.17192697525024414, 0.061469051986932755, -1.0737059116363525, 0.6145579814910889, 0.2732727527618408, 0.1663684844970703, 0.8025376200675964, 0.06300852447748184, -0.09113489836454391...
handleGetBestBlock implements the getbestblock command extension for websocket connections.
[ 0.6819896697998047, -0.12490417808294296, 0.585246741771698, 0.9853367209434509, -0.15509025752544403, -0.5957735180854797, -0.5510749816894531, -1.1946018934249878, 0.6038240790367126, -0.04872802644968033, -0.3203917145729065, 1.7255433797836304, 0.529285728931427, 0.2111738920211792, ...
handleNotifyNewTXs implements the notifynewtxs command extension for websocket connections.
[ 0.27314823865890503, -0.3503236174583435, 0.42325592041015625, -0.19229018688201904, -0.659766674041748, -0.9078742265701294, -0.6921184062957764, -1.4291439056396484, 0.9270725250244141, 0.800543487071991, -1.1728099584579468, 0.15618722140789032, 0.7422981262207031, 0.17731794714927673, ...
handleNotifySpent implements the notifyspent command extension for websocket connections.
[ 0.8073514103889465, -0.8958048224449158, 0.25833660364151, -0.2390953153371811, 0.26417312026023865, -0.057802584022283554, 0.25173527002334595, -1.1197386980056763, 0.9706393480300903, 0.9088590741157532, -0.8199546933174133, 0.5180079936981201, 0.22067487239837646, 0.3670376241207123, ...
handleRescan implements the rescan command extension for websocket connections.
[ 0.47183167934417725, -0.00479627400636673, 0.39693811535835266, 0.5091013312339783, -0.6050348877906799, -1.2371447086334229, -0.12099386751651764, -0.5511020421981812, 0.47689372301101685, -0.01110316812992096, -0.23873454332351685, 0.6041635870933533, 0.0707990974187851, -0.5035039186477...
handleWalletSendRawTransaction implements the websocket extended version of the sendrawtransaction command.
[ 0.3580411970615387, 0.2100500762462616, 0.5143845677375793, -1.1348813772201538, -0.9137886166572571, -1.47576904296875, -0.23136787116527557, -0.9608181118965149, 0.8725917339324951, 0.2853319048881531, -0.9235939979553223, -0.0895438939332962, 0.4405154883861542, -0.6934942603111267, -...
AddWalletListener adds a channel to listen for new messages from a wallet.
[ 0.47336938977241516, -0.7881850004196167, 0.38190439343452454, -1.2312357425689697, -0.18429464101791382, 0.24215061962604523, -1.3897373676300049, -0.6270650029182434, 0.6394537687301636, -0.3952500820159912, 0.20957225561141968, -0.2162255197763443, -0.4505099654197693, 0.670070230960846...
RemoveWalletListener removes a wallet listener channel.
[ 0.6694868803024292, -1.5182207822799683, 0.2475065439939499, -1.0553702116012573, -0.9024296998977661, 0.017503611743450165, -1.321209192276001, -0.47706717252731323, 0.6379433274269104, 0.43682724237442017, 0.09467756003141403, -0.466026246547699, -1.1028715372085571, 0.6909419298171997, ...
walletListenerDuplicator listens for new wallet listener channels and duplicates messages sent to walletNotificationMaster to all connected listeners.
[ -0.30778768658638, -0.8564966320991516, 0.38708487153053284, -0.9436187744140625, 0.2631373703479767, -0.35322922468185425, -0.3894864022731781, -0.9030168652534485, 0.7124671936035156, 0.32689666748046875, -0.9706599116325378, -0.5216903686523438, 0.13897685706615448, 0.7084411978721619, ...
walletReqsNotifications is the handler function for websocket connections from a btcwallet instance. It reads messages from wallet and sends back replies, as well as notififying wallets of chain updates.
[ 0.03745364397764206, -0.6067543029785156, 0.6330562829971313, -0.18108750879764557, -0.36884960532188416, -1.1701980829238892, -0.0307744350284338, -0.5994303822517395, -0.12990374863147736, 0.4555492699146271, 0.25483405590057373, 0.6480805277824402, -0.12985321879386902, 0.34752267599105...
websocketJSONHandler parses and handles a marshalled json message, sending the marshalled reply to a wallet notification channel.
[ 0.7155179977416992, -0.06906889379024506, 0.5031145811080933, -0.7728126645088196, -0.6921913027763367, -0.984526515007019, -0.3255000114440918, -0.3553231656551361, 1.1419379711151123, 0.5500602722167969, -0.34984755516052246, 0.6734932065010071, 0.10938937962055206, -0.12484414130449295,...
NotifyBlockConnected creates and marshalls a JSON message to notify of a new block connected to the main chain. The notification is sent to each connected wallet.
[ 0.11831483989953995, -0.7075122594833374, 0.35991331934928894, 0.3437102138996124, -0.07353891432285309, -1.0394394397735596, -1.1180709600448608, -1.10861337184906, -1.218857765197754, 1.16939115524292, -1.3337804079055786, 0.28400591015815735, 0.24100150167942047, 0.7672687768936157, -...
NotifyBlockDisconnected creates and marshals a JSON message to notify of a new block disconnected from the main chain. The notification is sent to each connected wallet.
[ -0.12588149309158325, -0.7816174626350403, 0.3139980733394623, 0.22386369109153748, -0.033507101237773895, -0.6684539914131165, -0.8677758574485779, -0.714736819267273, -0.5588337779045105, 0.3464917838573456, -1.1161854267120361, 0.20377366244792938, -0.030072253197431564, 0.7278594970703...
NotifyBlockTXs creates and marshals a JSON message to notify wallets of new transactions (with both spent and unspent outputs) for a watched address.
[ 0.41660746932029724, -0.2518278658390045, 0.39470797777175903, -0.49326011538505554, -0.8643832802772522, -1.445723056793213, -0.1148625835776329, -0.9153599143028259, 0.031632501631975174, 0.6345532536506653, -1.2294405698776245, 0.8898990750312805, 1.0161079168319702, 0.27935487031936646...
newBlockNotifyCheckTxIn is a helper function to iterate through each transaction input of a new block and perform any checks and notify listening frontends when necessary.
[ 0.14545157551765442, -0.2246888130903244, 0.601200520992279, 0.8677061200141907, -0.20958277583122253, -0.4828725755214691, -0.07343651354312897, -0.8138258457183838, -0.800047755241394, 0.9676066040992737, 0.20028460025787354, -0.8174108266830444, 0.28163495659828186, 0.807587206363678, ...
NotifyForTxOuts iterates through all outputs of a tx, performing any necessary notifications for wallets. If a nonnil block is passed, additional block information is passed with the notifications.
[ 0.3713056743144989, -0.10910447686910629, 0.4365031123161316, -0.07029356062412262, -0.5982321500778198, -1.4976190328598022, 0.20777422189712524, -0.33686190843582153, -0.34024450182914734, 0.2340475171804428, -0.0010352550307288766, -0.7703570127487183, 0.4105539619922638, 1.406311154365...
QueueDiscoveredPage receives load requests generated from the items found by the page loaders and queues them for processing.
[ 0.4320906698703766, -0.5059505105018616, 0.47908464074134827, 0.4660037159919739, 0.49574992060661316, 0.3426719605922699, -0.7303562164306641, -0.41169974207878113, 0.003918900620192289, -0.4513196349143982, -0.2231752872467041, -0.13036508858203888, 0.7606076598167419, 1.1230052709579468...
GetName returns name of provider
[ -1.1784303188323975, 0.026720112189650536, 0.6632490158081055, -0.07413484156131744, -0.7400726079940796, -0.17164069414138794, -0.48790988326072693, -0.17735730111598969, 0.7904956340789795, 1.8152002096176147, -0.9106804728507996, -0.07080784440040588, 0.1854500025510788, -0.213678419589...
IsEnabled returns true if enabled
[ 0.057560037821531296, 0.1485314816236496, 0.516720175743103, 1.4616893529891968, -0.12281211465597153, -0.1656096875667572, -0.9982827305793762, 1.6322540044784546, 1.0221071243286133, 0.1004745215177536, -1.759354591369629, -0.3146764636039734, -1.6063857078552246, -0.5115962028503418, ...
IsPrimaryProvider returns true if primary provider
[ -0.185328409075737, -0.04447068274021149, 0.3312417268753052, 0.890356719493866, -0.18229278922080994, 0.16002047061920166, -1.1568832397460938, -0.3622109889984131, 2.0626931190490723, 0.7079482078552246, -0.292132705450058, 0.4300629496574402, -0.7251447439193726, 0.6032608151435852, -...
UInt32ToBytes converts a given integer to a [4]byte
[ -0.18828421831130981, 1.213346004486084, 0.4032415747642517, -0.871023952960968, -0.02064136229455471, 0.021993599832057953, -0.39061474800109863, -1.298773169517517, 0.03328488767147064, -0.5325438976287842, -1.10341215133667, -0.8471918702125549, -0.28839123249053955, 0.842782735824585, ...
SetDB is a function that sets value to DB variable.
[ -0.15444369614124298, 0.5653589963912964, 0.49782952666282654, 1.1833323240280151, -0.6169140338897705, 0.9943701028823853, 0.31427913904190063, -0.5043842792510986, -0.357770174741745, -0.11136150360107422, -0.3618793189525604, 0.26355767250061035, -0.19341197609901428, 1.1946642398834229...
GetProcessing is function that process get requests
[ -1.0922139883041382, 0.2681380808353424, 0.706165075302124, 0.061817821115255356, 0.5799202919006348, -1.1970930099487305, -0.8351502418518066, -0.07455768436193466, -0.6290914416313171, 0.8190246820449829, 0.6915621757507324, 0.4107499122619629, 0.21094007790088654, 0.42328330874443054, ...
SetProcessing is function that process set requests
[ -0.6419579386711121, 0.05686723813414574, 0.34633874893188477, -0.11975542455911636, 0.11859049648046494, -0.8530093431472778, -0.19620148837566376, -0.7726120352745056, -0.6578472852706909, 0.8092222213745117, 0.6171256899833679, 0.5873633623123169, 0.48424407839775085, 0.6921669840812683...
CancelProcessing is function that process cancel requests
[ 0.6710314154624939, -0.4832461476325989, 0.5122868418693542, 0.2671594023704529, -0.7614358067512512, 0.02195868454873562, 0.11284597218036652, 0.5741491317749023, -0.46286842226982117, 1.1654198169708252, 0.7559121251106262, -0.3982270061969757, 0.3141636550426483, 0.17883455753326416, ...
var db gorm.DB = sqldb.SetupDB() GetParsing is function that parse get requests
[ 0.12073471397161484, 1.0687932968139648, 0.4787560701370239, 0.4082498550415039, 0.8687803745269775, -0.22986119985580444, -0.6330810785293579, 0.5535572171211243, -0.19722096621990204, -0.18538516759872437, 0.5625426769256592, -0.267819344997406, -0.8698604106903076, 0.6327048540115356, ...
SetParsing is function that parse set requests
[ -0.6208948493003845, -0.0662069246172905, 0.3244721591472626, -0.27641141414642334, -0.6463025808334351, -0.42271003127098083, -0.6052010655403137, -0.7091191411018372, -0.6175811886787415, 0.14194297790527344, 0.5041210651397705, -0.056406136602163315, 0.0789637416601181, 0.17001430690288...
CancelParsing is function that parse cancel requests
[ 0.3422762155532837, -0.8464416861534119, 0.48254844546318054, 0.669151782989502, -1.2725886106491089, -0.004778492730110884, -0.3683677613735199, 1.4109406471252441, -0.572984516620636, 0.8400942087173462, 0.2464100420475006, -1.1601886749267578, -0.13514444231987, -0.41646257042884827, ...
NOTE: This test is largely similar to hwsec.KeysetTiedToTPM2 (a local test), if change is made to one, it is likely that the other have to be changed as well. The referred test is specifically for TPMv2.0, while this test is for TPMv1.2. Both versions of TPM is incompatible with each other and they way we handle reboot...
[ -0.5795465707778931, -0.4773247241973877, 0.6551980376243591, 0.3002685308456421, 0.48922643065452576, 0.31371966004371643, 0.9260347485542297, -0.7083079218864441, -0.18003790080547333, 0.6652346253395081, -0.7348836660385132, -0.10679773986339569, -0.7585444450378418, 0.5623045563697815,...
loginTakeOwnershipAndCheckKeysetTiedToTPM is the primary workflow in this test. It'll reset the TPM, login and logout to create a vault. Then, it'll optionally reboot. After that, it'll take ownership, login again, and check that the keyset is tied to the TPM.
[ -0.23431919515132904, 0.04865299537777901, 0.41775986552238464, 1.0666577816009521, 0.7954772114753723, -0.14496876299381256, 0.29561930894851685, -1.2799972295761108, 0.8095612525939941, -0.5966392755508423, 0.25647056102752686, 0.00984751246869564, -0.732600212097168, -0.752338707447052,...
KeysetTiedToTPM1 is an integration test that verifies a user's VKK is tied to the TPM after the second login.
[ 0.11567547917366028, -0.23096303641796112, 0.1486091911792755, 0.6838886737823486, 0.6953158378601074, 0.5187876224517822, 0.26604121923446655, -0.8460267186164856, 0.21477872133255005, 0.4957846701145172, -0.2739779055118561, 0.2275739461183548, -0.3969791829586029, -0.3623010516166687, ...
Run implements `pmmagent run` default command.
[ -0.396177738904953, -1.44538152217865, 0.2795505225658417, -0.16980481147766113, 0.22923873364925385, 0.2890337109565735, -0.19869163632392883, -0.5809143781661987, 0.08222927898168564, -0.7893889546394348, -0.2575953006744385, -0.5130311250686646, -1.0200376510620117, 0.58527672290802, ...
run runs all pmmagent components with given configuration until ctx is cancellled. See documentation for NewXXX, Run, and Done
[ -0.07972072064876556, -0.9104517698287964, 0.1868792325258255, 0.22681233286857605, -0.49503758549690247, 0.8457866907119751, -0.1173519641160965, -0.6919376850128174, 0.2534169852733612, -0.5946100950241089, -0.9546176195144653, -0.7050718069076538, -1.0749423503875732, 0.2243732810020446...
update one post in wp_posts
[ 0.17670032382011414, -0.8008319139480591, 0.4260183870792389, 0.006247952580451965, 0.20573967695236206, 0.22472526133060455, -0.5299943685531616, 0.13638147711753845, -0.1383669078350067, -0.12583312392234802, 0.1390233337879181, -0.24588234722614288, -0.3004109263420105, -0.4817271232604...
String returns a ratherodd string representation of the entire state. This is intended to match the behavior of the older terraform.State.String method that is used in lots of existing tests. It should not be used in new tests: instead, use "cmp" to directly compare the state data structures and print out a diff if the...
[ 0.23809731006622314, -1.1507312059402466, 0.42845919728279114, -0.8223827481269836, 0.0743664875626564, 0.9274957180023193, 0.35942012071609497, -1.4526662826538086, 0.45943617820739746, -0.4640069603919983, 1.1545039415359497, 0.16952280700206757, 0.3404574990272522, 0.24041114747524261, ...
testString is used to produce part of the output of State.String. It should never be used directly.
[ -0.21535713970661163, -0.6321793794631958, 0.5103400945663452, -0.38243940472602844, -0.36158519983291626, -0.09359826147556305, 1.11422860622406, -1.1481657028198242, 0.6658583879470825, -1.200028657913208, 0.33717072010040283, 0.18285782635211945, 0.4495101571083069, -0.16553844511508942...
LegacyInstanceObjectID is a helper for extracting an object id value from an instance object in a way that approximates how we used to do this for the old state types. ID is no longer firstclass, so this is preserved only for compatibility with old tests that include the id as part of their expected value.
[ 0.8221320509910583, -1.3016386032104492, 0.41884100437164307, -1.3101526498794556, -0.6150068640708923, 0.2745424211025238, -0.24542143940925598, -0.08911582082509995, 0.549094021320343, 0.5285567045211792, -0.24998468160629272, 0.0718977078795433, 0.058537837117910385, -0.4056144058704376...
From copies a T from a generic.T implementation.
[ -0.5032144784927368, -0.6207914352416992, 0.25635427236557007, 0.003777146339416504, -0.7577300071716309, 0.7728984951972961, 0.22223493456840515, -0.590944766998291, 0.07381395995616913, 0.89020174741745, 0.12428095191717148, 0.647413969039917, 1.5798728466033936, -0.5294696092605591, -...
Parse parses T from a string. See also String()
[ 0.547440767288208, -0.7472099661827087, 0.16141289472579956, -0.5321248769760132, -0.646651029586792, 0.27623772621154785, -0.29124173521995544, -0.7060441374778748, -0.5829316973686218, -0.43425264954566956, -0.5532276034355164, -0.5556588172912598, -0.3520910143852234, -1.776539325714111...
String formats T as string. See also Parse().
[ 0.3877566456794739, -1.6922193765640259, 0.24622580409049988, -1.4853053092956543, -0.2983423173427582, 0.7431149482727051, -0.48832714557647705, -1.2153291702270508, -0.3711341917514801, -0.34473443031311035, -0.006119130179286003, -0.445740669965744, 0.5892812013626099, -0.68964284658432...
Rows returns the number of rows of the matrix.
[ 0.12452490627765656, 1.5765836238861084, 0.03278987482190132, 0.19153200089931488, 0.04832020401954651, -0.8354238867759705, 0.7553684115409851, 1.0100539922714233, 0.603367269039154, -1.1896772384643555, 0.5874493718147278, -0.5098224878311157, 0.08116047084331512, 0.4197421073913574, -...
Cols returns the number of columns of the matrix.
[ -0.12238238751888275, 0.5346426963806152, 0.22866158187389374, -0.178397074341774, 0.06225021556019783, -0.533561646938324, 0.9089282155036926, -0.03757208213210106, 0.16699129343032837, -0.5199881792068481, -0.6190495491027832, -0.47428497672080994, 0.3865412771701813, -0.8821005821228027...
Size returns the number elements of the matrix.
[ -0.24909564852714539, 0.9025104641914368, 0.24174864590168, -0.08636032044887543, 0.3566349744796753, 0.2979518473148346, 1.1686006784439087, 0.34435397386550903, 0.8574569225311279, -0.8230330944061279, 0.1152721643447876, -0.056503668427467346, -0.20318375527858734, -0.10780725628137589,...
Slice returns the elements of the matrix as slice.
[ -0.7347588539123535, -0.34988996386528015, 0.20084238052368164, 0.9347385764122009, 0.03289275988936424, 0.37229567766189575, -0.040153976529836655, -0.2712375819683075, 0.29577919840812683, 0.04650373384356499, 0.5274018049240112, 0.49297091364860535, 0.1957816332578659, -0.40161237120628...
Get returns one element of the matrix.
[ -1.0949842929840088, 0.1885133534669876, 0.3220396041870117, 0.09155334532260895, 0.6260462999343872, -0.10587948560714722, -0.31401243805885315, -0.7616657018661499, -0.05777338147163391, -1.0499858856201172, 0.9734113812446594, 1.2298332452774048, -0.23297925293445587, -0.850486099720001...
IsZero checks if all elements of the matrix are zero.
[ -0.018593207001686096, -0.5367279052734375, 0.354708731174469, 2.3504505157470703, 1.153701663017273, -0.1293059140443802, 0.20721694827079773, 0.922389805316925, 0.7125791907310486, 0.05636533722281456, 0.08617272228002548, 0.1719307005405426, -0.5793649554252625, 0.8079236149787903, -0...
Scale multiplies the diagonal scale elements by f returns self.
[ -1.0372213125228882, 1.025780439376831, 0.5314623713493347, 0.39177826046943665, 0.26017236709594727, -0.4334363341331482, -0.016245214268565178, -0.5208668112754822, 0.038047995418310165, 0.12675741314888, -0.4225623905658722, -1.4331703186035156, 0.3347032368183136, -0.24538616836071014,...
Scaled returns a copy of the matrix with the diagonal scale elements multiplied by f.
[ -0.6977277994155884, 0.20474562048912048, 0.33601415157318115, 0.20637811720371246, -0.2873005270957947, -0.07801083475351334, -0.3787536025047302, -0.2935168743133545, -0.4374278783798218, 0.5100857019424438, -0.10167314112186432, -0.6385829448699951, 0.4615260362625122, -0.77311521768569...
TypeID returns type id in TL schema. See
[ 0.8938734531402588, -0.5875813961029053, 0.1785806268453598, 0.0022017783485352993, 0.06646715104579926, 0.6252466440200806, 0.3336375653743744, -0.3822764754295349, 0.2669013738632202, 0.7373883724212646, -0.5918537378311157, 0.06297099590301514, -0.9109575152397156, -0.2319793999195099, ...
TypeName returns name of type in TL schema.
[ 0.00024960440350696445, -0.46945998072624207, 0.41199082136154175, -0.21930699050426483, -0.281139612197876, 0.045988231897354126, 0.32408642768859863, -0.3469828963279724, -0.03246336430311203, 1.282143473625183, -0.6775614023208618, -0.7425721883773804, 0.14836734533309937, -0.3040573000...
TypeInfo returns info about TL type.
[ 0.3707026243209839, -0.6833195090293884, 0.3073789179325104, -0.9951011538505554, 0.20367984473705292, 0.3584521412849426, 0.10613048076629639, -1.3553751707077026, -0.8920913934707642, 0.7238150835037231, -1.6338752508163452, -0.5886937975883484, 0.2852906882762909, -0.08075746148824692, ...
GetID returns value of ID field.
[ 0.5119564533233643, 0.13402101397514343, 0.1659446507692337, 0.19912302494049072, 0.9519131779670715, 1.2095078229904175, 0.23883064091205597, -0.22375400364398956, 0.7076761722564697, 0.046954236924648285, -0.40138599276542664, -0.6647964715957642, -0.8094054460525513, -0.3676010370254516...