text
stringlengths
7
2.39k
embedding
listlengths
768
768
Sets the polygon type. (See: dtPolyTypes.)
[ -0.22171133756637573, -0.21850571036338806, 0.3038530945777893, -0.3587794303894043, -0.3724546432495117, 1.040255069732666, 0.46251821517944336, -1.436596155166626, 0.5189980268478394, 0.29951179027557373, -1.2323254346847534, 0.5344829559326172, 0.5379635691642761, -0.7222445607185364, ...
Gets the user defined area id.
[ 0.6977841854095459, -0.23196245729923248, 0.10256107151508331, 1.253173828125, -0.03278684616088867, 0.4396395981311798, 0.6997845768928528, 0.07095243781805038, 1.3172986507415771, -0.0974317118525505, 0.40100499987602234, 0.9179641604423523, -0.2470826804637909, 0.7974953055381775, 0.1...
Gets the polygon type. (See: dtPolyTypes)
[ -0.008862447924911976, 0.44809749722480774, 0.4301912784576416, -0.045171111822128296, -0.05054720863699913, 0.787135124206543, 0.484815388917923, -1.4654370546340942, 1.0633705854415894, 0.04264277219772339, -0.9714294075965881, 0.5025637745857239, -0.045720379799604416, -1.50811910629272...
NewQueryWatch provides a builder for the QueryWatch struct.
[ 1.061840534210205, 0.23577414453029633, 0.06754373759031296, 0.7723599672317505, -0.004107590764760971, 0.27129244804382324, -0.6785057187080383, -0.7203701138496399, 0.03826706483960152, -1.4359849691390991, -1.1588342189788818, 0.6689736843109131, 0.5725535154342651, 0.08406288176774979,...
Build finalize the chain and returns the QueryWatch struct
[ 0.3515697121620178, -0.5888020992279053, 0.17248395085334778, 0.1972869634628296, 0.5686545372009277, 0.5214372873306274, 0.20486781001091003, -1.466341257095337, 0.21054144203662872, -1.48719322681427, -0.6261461973190308, 0.7366229891777039, -0.9806661009788513, -0.18906600773334503, -...
CreateNIC creates a new network interface. The Network Security Group is not a required parameter
[ 0.43790414929389954, 0.2571483254432678, 0.3001938462257385, 1.2690649032592773, 0.07065524160861969, 0.5526102781295776, -0.347195565700531, -1.1868528127670288, -1.11403226852417, -0.42802613973617554, -1.5252008438110352, -1.1259071826934814, -1.0943448543548584, 0.14428405463695526, ...
DeleteNIC deletes network interface controller
[ 1.1559579372406006, 0.12117213755846024, 0.1573173552751541, 0.80580735206604, 0.43151313066482544, -1.0646523237228394, -0.028963258489966393, -0.9406825304031372, -0.48247289657592773, -0.2808215618133545, -1.3932541608810425, -1.372284173965454, -0.06859928369522095, -0.51450115442276, ...
DeleteIP deletes a ip configuration and tries deleting subnetwork associated
[ 0.2760546803474426, 1.086053490638733, 0.10359279066324234, 1.6497440338134766, -0.3175847828388214, 0.018871566280722618, -0.01851797103881836, 0.6357656717300415, 0.39605268836021423, 0.15750524401664734, 0.3047108054161072, -1.1126247644424438, 0.3689151406288147, -0.7400964498519897, ...
DeleteNetworkSecurityGroup deletes the security group
[ 1.721972942352295, 1.1969513893127441, 0.012125357985496521, 0.4311639070510864, 0.5990726947784424, -0.3292515277862549, 0.09631969779729843, -0.7200194597244263, 0.18357425928115845, -0.8776293992996216, -0.8528878688812256, -1.14327073097229, -0.6281100511550903, 0.9816454648971558, -...
DeleteSubnetwork deletes subnetwork if there is no other device using it Also deletes virtual network if the deleted subnetwork was the only one associated under it
[ 0.8515621423721313, 0.202742338180542, 0.4821557402610779, 2.199699640274048, 0.03297610953450203, 0.07340744882822037, 0.057585760951042175, -0.27147746086120605, 1.1818948984146118, -0.6799066066741943, -0.8091179132461548, 0.28700023889541626, 0.09470544010400772, 0.6153081059455872, ...
CreatePublicIP creates a new public IP
[ 1.1302345991134644, 0.08403673022985458, 0.14315709471702576, 0.7779831290245056, -0.736466109752655, 0.5724811553955078, -0.222782164812088, -0.14264905452728271, -1.142363429069519, 0.03251991793513298, -0.14192159473896027, -1.1461546421051025, -0.4150570034980774, -0.4797525405883789, ...
GetPublicIP returns an existing public IP
[ 0.8273688554763794, -0.06387262791395187, 0.40345072746276855, 0.7284030318260193, -0.7726151943206787, -0.4234420955181122, -0.08733776956796646, 0.29459348320961, -0.8746669888496399, 0.2102740854024887, 0.9258198142051697, -0.01586887054145336, -0.07969730347394943, -1.3568376302719116,...
GetVPC finds the virtual network by id
[ 1.1800047159194946, -0.18178792297840118, 0.3616062104701996, 0.18079040944576263, 0.8017727136611938, -0.5795300602912903, -0.36329230666160583, -1.176303744316101, 0.8556298613548279, 1.0627933740615845, 0.5717818140983582, -0.09199995547533035, -0.2472429871559143, -0.6285386085510254, ...
CreateVirtualNetwork creates a virtual network
[ 0.2441367208957672, -0.5946261882781982, -0.023005489259958267, 0.5742267370223999, 0.3867097795009613, 0.5157141089439392, -1.1233543157577515, 0.3413010239601135, 0.47363588213920593, 0.22773070633411407, -1.2745157480239868, 0.0779004916548729, -0.5281060338020325, 0.12941952049732208, ...
CreateVirtualNetworkAndSubnets creates a virtual network with two subnets
[ 0.5936097502708435, -0.3612765371799469, 0.27220654487609863, 1.228254795074463, 0.765191912651062, 0.7593058347702026, -1.0385233163833618, -0.024651184678077698, 0.8830727338790894, -0.048894237726926804, -0.9219521284103394, 0.36380764842033386, 0.9592536687850952, 0.4763806164264679, ...
CreateVirtualNetworkSubnet creates a subnet in an existing vnet
[ 0.8538870215415955, -0.21162322163581848, 0.19468240439891815, 0.8986302614212036, 0.09980218857526779, 0.9165413975715637, -0.8616110682487488, 0.21047866344451904, 0.26259011030197144, -0.10744974762201309, -0.7597579956054688, -0.10544126480817795, -0.026588622480630875, -0.843447387218...
CreateSubnetWithNetworkSecurityGroup create a subnet referencing a network security group
[ 1.9283934831619263, 0.13472911715507507, 0.2226404845714569, 1.4342008829116821, -0.22149692475795746, 0.08946308493614197, -0.4393083155155182, -1.5128990411758423, 0.40901559591293335, -1.3411681652069092, -0.7341179251670837, -0.7242994904518127, -0.026173153892159462, 0.717228770256042...
GetVirtualNetworkSubnet returns an existing subnet from a virtual network
[ 0.5808051824569702, -0.4664081633090973, 0.47111472487449646, 1.3195841312408447, -0.4361945390701294, -0.34801748394966125, -0.7120082974433899, 0.15220698714256287, 0.13528966903686523, -0.2537652552127838, -0.44606614112854004, 0.3804432451725006, -0.08939144015312195, -1.29126942157745...
CreateNetworkSecurityGroup creates a new network security group with rules set for allowing SSH and HTTPS use
[ 0.9578774571418762, 1.0135185718536377, 0.2291395515203476, 0.29687243700027466, 0.0876845121383667, 0.5150753259658813, -0.9591626524925232, -0.874962568283081, -0.6206003427505493, -0.9689130187034607, -0.7724862694740295, -0.748431384563446, -0.7066218256950378, 1.3823171854019165, -0...
CreateSimpleNetworkSecurityGroup creates a new network security group, without rules (rules can be set later)
[ 0.9744315147399902, 0.9615322947502136, 0.11216124892234802, 0.0884275957942009, -0.575553297996521, 0.7000634074211121, -0.26374125480651855, -0.7398421168327332, 0.03400769829750061, -1.4710164070129395, -1.9732979536056519, -1.1006993055343628, -0.7366799116134644, 0.6015703678131104, ...
GetNetworkSecurityGroup returns an existing network security group
[ 0.956499457359314, 1.1368465423583984, -0.01577427238225937, 0.30526748299598694, -0.19488833844661713, -0.8053474426269531, -0.3396090269088745, -1.4295390844345093, -0.17157433927059174, -1.038862705230713, -0.6814976930618286, -0.8478328585624695, -0.6758725047111511, 0.0910739749670028...
UcFirst returns a string that matches the input string, but with the first letter capitalized.
[ 0.5622424483299255, -0.6294474601745605, 0.4158515930175781, 0.20294742286205292, -0.2380109280347824, -0.2383967638015747, 0.35900482535362244, 0.20699623227119446, -0.10478120297193527, 0.20276044309139252, 0.5964905619621277, -0.12150859087705612, 0.3426814079284668, -0.4458292126655578...
LcFirst returns a string that matches the input string, but with the first letter converted to lowercase.
[ 1.6881273984909058, -0.955248236656189, 0.43866753578186035, -1.2707984447479248, 0.32154515385627747, -0.34142979979515076, -0.9938401579856873, -0.5779672861099243, 0.24132269620895386, -0.48931884765625, 0.3280431628227234, 0.439220130443573, -0.3654562532901764, 0.0695154219865799, -...
CamelToSpinal will convert a string from camelCase or UpperCamelCase into spinalcase.
[ -0.030283955857157707, -1.2238006591796875, 0.569450318813324, 0.17494848370552063, -0.5459927916526794, 0.01494593359529972, -0.47837039828300476, -0.15526430308818817, 1.2663763761520386, 0.8535436987876892, 0.06909427046775818, 0.8827785849571228, -0.1237863227725029, -0.923577129840850...
SpinalToCamel will convert a string from spinalcase or TrainCase into UpperCamelCase
[ 0.19736447930335999, -0.9370121359825134, 0.49219974875450134, 1.701221227645874, -0.11085095256567001, -0.1098819300532341, 0.987418532371521, 0.19840475916862488, 1.201634407043457, 0.34415847063064575, 0.8535898327827454, 0.8287059664726257, 1.3855749368667603, -0.3855155408382416, -0...
NewTagTemplate registers a new resource with the given unique name, arguments, and options.
[ 0.15182220935821533, 0.4997960031032562, 0.2583266794681549, 0.03400465101003647, 0.6254414916038513, -0.5540686249732971, -0.6250977516174316, 0.030268782749772072, -0.9420186877250671, 0.2808510363101959, -1.3174610137939453, -0.5307744741439819, -0.5012992024421692, -0.10564959794282913...
GetTagTemplate gets an existing TagTemplate resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
[ 0.16391606628894806, 0.2304249107837677, 0.21414951980113983, -0.11652970314025879, 0.05998550355434418, -0.9699039459228516, -1.500011920928955, -0.4477527439594269, -0.3590136170387268, 0.5428717732429504, -0.6202291250228882, -0.570858359336853, -0.2507608234882355, -0.7822808027267456,...
NewComputingProviderController creates a ComputingProvider controller.
[ 0.0430372878909111, 0.9220325946807861, 0.005441225133836269, 0.4231424927711487, -0.6253282427787781, -0.02472458966076374, 0.783718466758728, -0.03677260875701904, -0.307230681180954, 0.7524517774581909, -0.06371908634901047, -0.18183299899101257, 0.18881331384181976, 0.09142793715000153...
Add runs the add action.
[ -0.6403856873512268, -1.170488953590393, 0.15982960164546967, 1.1799672842025757, 1.1887649297714233, 0.7121120691299438, 1.4630460739135742, -0.27480852603912354, 0.4633635878562927, -0.2223857343196869, 0.4861838221549988, 0.5321037769317627, -0.10217108577489853, 1.3116074800491333, 0...
Agree runs the agree action.
[ -0.49501216411590576, -0.8778811693191528, 0.23181399703025818, 1.3891304731369019, 0.3129524886608124, 0.3624773621559143, 1.24118971824646, -0.262260764837265, -1.3764327764511108, 0.9977092146873474, 0.6172665357589722, -0.07510901987552643, -0.7186910510063171, 1.648693561553955, -0....
Del runs the del action.
[ 0.7094182968139648, -0.08198612183332443, -0.012675146572291851, 1.2075693607330322, 0.497541606426239, 0.3900400996208191, 1.4961190223693848, 0.18456387519836426, 0.7781404256820679, -0.5940361022949219, 0.4348679482936859, 0.8049952387809753, 0.5153533220291138, 0.2737298011779785, -0...
UploadRes runs the uploadRes action.
[ -0.141882061958313, 0.2489176094532013, 0.3725429177284241, 0.6861669421195984, 1.1535358428955078, -1.3058849573135376, 1.019597053527832, -0.30524787306785583, 0.7170141935348511, 0.288697212934494, 0.03799906373023987, -0.6232877969741821, -0.16473883390426636, -0.003460657550022006, ...
Train runs the train action.
[ -1.5752105712890625, -0.14356033504009247, -0.14803379774093628, 0.9019826650619507, 0.18184348940849304, -0.4861064553260803, 1.3088650703430176, 0.5726993083953857, -0.8463711738586426, -0.3755715787410736, -0.9873179197311401, 0.8417195081710815, 0.8790044784545898, -0.02074416168034076...
Add and Del methods start check arguments
[ 0.6100525259971619, -0.7991710901260376, 0.2581039071083069, 1.0828840732574463, 0.798035740852356, 0.09133471548557281, 0.7439214587211609, 0.11442458629608154, 0.5240060091018677, 0.7012032270431519, 0.07689167559146881, 0.4095001518726349, -0.407418817281723, 0.7492105960845947, -0.77...
TODO send2Ethereum send agree to ethereum
[ -0.7937723398208618, -0.10011512041091919, 0.5772079229354858, 0.6548377275466919, 0.14046719670295715, 0.6177966594696045, -0.15710300207138062, 0.38102471828460693, 0.0910254642367363, 0.957964301109314, -0.3886134624481201, 0.6096329689025879, -0.3911774158477783, 0.6576939821243286, ...
New creates an instance of polutbeat.
[ 0.2758369445800781, 0.2023984044790268, 0.05530089512467384, 0.04603663459420204, 0.02860540896654129, 1.212347149848938, 0.3165522515773773, 0.7187145352363586, -0.3822774589061737, -0.5059896111488342, -0.4823780059814453, -0.21694102883338928, -0.9483848214149475, -0.6321379542350769, ...
Monotonic values include retransmits and headers, while transport does not. We default to using transport values and must explicitly enable using monotonic counts in the config. This is consistent with the Linux probe
[ 0.2923501431941986, -0.11014877259731293, 0.3671794533729553, 0.14831872284412384, 0.43101054430007935, 0.5523938536643982, -0.37616172432899475, -0.3655242621898651, -0.13547728955745697, -0.4755508005619049, -0.4275088608264923, -0.11593306809663773, -0.8067886829376221, 0.56046497821807...
FlowToConnStat converts a driver.PerFlowData into a ConnectionStats struct for use with the tracer
[ -0.21457011997699738, -0.9514079093933105, 0.3612902760505676, -1.4033010005950928, 0.3204973340034485, -0.07781950384378433, 0.1874372959136963, -1.0757611989974976, 0.8107636570930481, -0.2736980617046356, 0.622235894203186, -0.6640399694442749, -0.5809280872344971, 0.12286215275526047, ...
Setup initializes the Global framework by initializing necessary clients and creating the vault operator
[ 0.17226192355155945, 1.1299800872802734, 0.22875960171222687, 1.0071609020233154, 1.1751573085784912, -0.02046225219964981, 1.1523239612579346, -0.7087752819061279, 0.030698418617248535, 0.6796972751617432, -0.44411593675613403, -0.08159636706113815, -0.8588997721672058, 0.3682582974433899...
Teardown removes the vaultoperator deployment and waits for its termination
[ 0.42298009991645813, -0.13767924904823303, 0.1943855881690979, 0.7005724310874939, -0.10586991906166077, 0.2184312641620636, 0.1389864683151245, 0.21867774426937103, 0.7179962396621704, 0.6902347207069397, 0.352651983499527, -0.8381094336509705, -0.8246089220046997, -0.9836603403091431, ...
implementation of marker interface to make sure that event structs can only come from this package. Go way of implementing a class hierarchy.
[ -0.0075495243072509766, 0.018875855952501297, 0.6750553250312805, 1.0297307968139648, 0.4129679203033447, 0.4680016040802002, 1.4638519287109375, -0.1980351060628891, 0.7133548855781555, -0.25203320384025574, -0.43820300698280334, -0.3988763988018036, 0.19285820424556732, 0.532316803932189...
New creates new instance of Moduler
[ -0.274577796459198, -1.2565398216247559, 0.21407097578048706, 0.3623485863208771, -0.47828030586242676, 0.23830415308475494, 0.012124401517212391, -0.23829075694084167, -0.4462703466415405, -0.3057307004928589, 0.4843848943710327, 0.014918540604412556, -0.4339222013950348, 1.60715758800506...
Within 80% or 5ms.
[ 0.028481293469667435, 0.36875298619270325, 0.390799343585968, 0.4714707136154175, -1.0346335172653198, 0.36537179350852966, 0.8361445069313049, -1.573842167854309, 0.3528137505054474, 0.016508907079696655, 0.40406057238578796, 0.5813943147659302, -0.33690425753593445, 0.2356153279542923, ...
TODO: wrap (more) errors; and prove a set of known (exported) errors
[ -0.6280179619789124, -0.3496970236301422, 0.4290164113044739, 0.7463945150375366, 0.24988515675067902, 0.3572768568992615, -0.13077984750270844, -0.15709270536899567, 1.5452451705932617, -0.3154575824737549, -0.8479070067405701, 0.25236496329307556, 1.5427722930908203, 0.11299886554479599,...
Generates NoOp Blocks and adds to blockChain when not generating a Commit Block
[ -0.7519071698188782, 0.9094296097755432, 0.5137704610824585, 0.11128854751586914, 0.7058711051940918, 1.301369309425354, 0.1663794368505478, -0.259452760219574, 0.9404326677322388, 0.6397198438644409, -0.44936585426330566, -0.392097532749176, -1.1521472930908203, 0.3531133234500885, -0.4...
While isGenerateNoOps, works on adding NoOps to the blockChain Returns either when isGenerateNoOps = false or successfully generates 1 NoOp
[ -1.321891188621521, 1.4364951848983765, 0.5602153539657593, 0.7527196407318115, 0.6217659711837769, 0.5136440396308899, 0.5918061137199402, -0.5839187502861023, 0.24710430204868317, -0.51622474193573, -0.17824912071228027, -0.7962712645530701, -1.1186171770095825, 0.2259402722120285, -0....
returns leaf blocks that are Commit blocks (not NoOp blocks)
[ 0.9386906027793884, -0.6317490935325623, 0.7371203899383545, 1.5751270055770874, -0.39064469933509827, 0.4515852630138397, -0.015605314634740353, -0.670615017414093, 0.5823473930358887, 1.1143407821655273, 0.37108099460601807, 0.37683284282684326, -1.0847879648208618, 0.45500674843788147, ...
Hashes the given Block's HashBlock once, if has sufficient leading zeroes, adds it to blockChain, returns true and the hash. Otherwise, increments the Nonce and returns false, ""
[ 0.28871050477027893, 0.8770589232444763, 0.8200474977493286, 1.0289431810379028, 0.39631861448287964, -0.06596142798662186, -0.0673188790678978, 0.09775934368371964, 0.5149296522140503, -0.5756012201309204, -1.0129914283752441, -1.2364754676818848, -1.0662897825241089, 0.8414996862411499, ...
For visualizing the current state of a kvnode's keyValueStore and transactions maps
[ -0.023379797115921974, -0.07142569869756699, 0.2881627678871155, -0.34727221727371216, -1.7964979410171509, -0.37600621581077576, -0.8713170886039734, 0.20130033791065216, 0.7951048016548157, 0.18007250130176544, 1.1519157886505127, 0.284930944442749, 0.7553189396858215, -0.165768966078758...
Prints the blockChain to console
[ 0.6276335716247559, -0.5468549728393555, 0.2087002396583557, 0.18561460077762604, 1.1695456504821777, 0.19811730086803436, -0.4558451771736145, -1.446807622909546, -0.43208029866218567, 0.4132002294063568, 0.02765333652496338, 0.7066947221755981, -1.045451045036316, 0.36629021167755127, ...
Prints one block in the blockChain to console
[ 0.1710662990808487, -0.22872422635555267, 0.3568408787250519, 0.30826106667518616, 1.0061289072036743, 0.16929979622364044, -0.13383840024471283, -1.6013107299804688, -0.3274644911289215, -0.24773970246315002, 0.36614736914634705, 0.9491083025932312, -1.4853988885879517, 0.4748898446559906...
Returns the children hashes of the Block that has the given hash as key in the blockChain
[ 1.2401264905929565, -0.33485153317451477, 0.6786462068557739, 1.0727298259735107, -0.7337523698806763, 0.12172738462686539, -0.18416301906108856, -0.5647265911102295, -0.3973090350627899, -0.16562771797180176, -0.6739326119422913, -0.3392264246940613, -0.5632258653640747, 0.549598276615142...
Adds a Transaction struct to the transactions map, returns a unique transaction ID
[ -0.2703494131565094, 0.2380884438753128, 0.593489408493042, -1.042303204536438, -0.22599898278713226, -0.12814155220985413, -0.3607257902622223, -0.22420154511928558, 1.591955304145813, -0.6862894296646118, -1.2365670204162598, -1.1524603366851807, -0.3317485451698303, -0.7720426321029663,...
If the given transaction is aborted returns false, otherwise commits the transaction, and returns its CommitID value,
[ -0.4451466202735901, -0.018848871812224388, 0.6909480094909668, 0.22993572056293488, -1.1867940425872803, 0.6459196209907532, -0.4273877739906311, -0.9391406178474426, 0.3180522322654724, 0.7421441674232483, 0.5258108377456665, -0.8001174926757812, -1.040120005607605, -0.15094588696956635,...
Returns true if keyValueStore has the same values for the keys of requiredKeyValues This means the keyValueStore has the same values it had when the transaction started.
[ -0.11203032732009888, -0.5107126832008362, 0.3649950921535492, -0.06793400645256042, -0.7813695073127747, 0.7250956892967224, -0.8227383494377136, -0.022600064054131508, -0.23298415541648865, 0.39383670687675476, -0.5472880005836487, -0.2785883843898773, -0.3418746292591095, 0.315730839967...
Waits until the Block with given blockHash has the correct number of descendant Blocks check all blocks for validate commit number of descendants. If find one, sets the correct values in the transactions[req.TxID] (CommitHash, CommitID)
[ 1.3019572496414185, 0.6092732548713684, 0.5653327703475952, 0.7629832029342651, 0.1981150060892105, -0.1548878699541092, 0.523766815662384, 0.14309848845005035, -0.45619943737983704, -0.20769840478897095, -0.42567765712738037, -0.061845000833272934, -0.5997799634933472, 0.576535165309906, ...
Recursively traverses the longest branch of the blockChain tree starting at the given block, if there are at least validateNum descendents returns true, else returns false
[ 0.08488477021455765, 0.6446716785430908, 0.844140887260437, 0.7803462743759155, -0.15336638689041138, -0.2118353396654129, -0.4448920786380768, -0.780907154083252, 0.21431608498096466, -0.7338625192642212, -0.5264222025871277, -0.5166740417480469, -1.0202242136001587, 0.6833957433700562, ...
Adds a Commit Block with transaction txid to the blockChain, or allows AddBlock to add it, returns its hash
[ 0.47868719696998596, 0.4220893085002899, 0.6964326500892639, 0.41252607107162476, -0.41570547223091125, 0.4247156083583832, -1.1965080499649048, 0.09603438526391983, -0.05982920527458191, 0.9893500208854675, -0.08761018514633179, -0.5137749314308167, -1.7313995361328125, 0.3096435964107513...
Returns true and the hash of the Block that corresponds to the given txid if commited, false, "" otherwise
[ 0.38474583625793457, -0.08526620268821716, 0.6949929594993591, -0.11217093467712402, -0.7574369311332703, 0.058317504823207855, -0.7583574056625366, 0.32550349831581116, -0.37869971990585327, 1.6731610298156738, -0.5464926958084106, -0.49682581424713135, -0.6807678937911987, 0.275986135005...
Returns true if hash has numLeadingZeroes number of leading '0' characters (0x30) This is the correct implementation provided by the assignment specifications.
[ 0.27973029017448425, -0.20044741034507751, 0.4286578297615051, 0.17304997146129608, -0.5026839375495911, 0.22663669288158417, -0.7054610848426819, 0.6147142052650452, 0.8522322177886963, -0.3230392336845398, 0.1724725365638733, -0.1997012346982956, -0.5609868764877319, 0.9021795392036438, ...
Returns true if given hash has the minimum number of leading zeroes. This is incorrect given the assignment specs, but is useful for debugging as it provides more control over different amounts of proofofwork required. TODO: make sure this is not used in the final code!!
[ -0.08552585542201996, -0.9211888909339905, 0.6070981025695801, 0.35444211959838867, -0.4709475636482239, 0.09934210032224655, -0.07583004236221313, 0.13263030350208282, 0.9238405227661133, -0.7732939720153809, -0.4059775173664093, -0.6195383667945862, -1.1637780666351318, 1.751345157623291...
Should set all the state that represents a commited transaction called by both Commit or AddBlock
[ 0.9279329776763916, -0.3563656210899353, 0.5586764216423035, 0.3421839773654938, 0.3214983642101288, 0.30755120515823364, 0.5937151312828064, 0.0643293485045433, 0.5038325786590576, 0.5700654983520508, -0.9485492706298828, -0.7368802428245544, 0.024592513218522072, 0.2658580541610718, -1...
Adds block to leafBlocks and remove blocks with lesser depth than block
[ 0.21829888224601746, -0.7481707334518433, 0.7028029561042786, 1.1732910871505737, -0.4232272505760193, 0.5078567862510681, 0.5777183771133423, -1.1028800010681152, 0.13862261176109314, -0.2797336280345917, 0.016042560338974, 0.3895557224750519, -0.8565949201583862, 0.5001699924468994, 0....
Adds block.Hash to its parent's ChildrenHashes
[ 1.9816527366638184, 0.028804004192352295, 0.7539294958114624, 1.029437780380249, 0.0860852301120758, 0.6986181735992432, 0.5438866019248962, -0.7181064486503601, -0.25478050112724304, -0.7667827606201172, -0.9137336611747742, -0.31709781289100647, -0.10956265777349472, 0.7078677415847778, ...
Infinitely listens and serves KVNode RPC calls
[ 0.4803149104118347, 0.43319737911224365, 0.3695355951786041, -0.3202076852321625, -0.108249232172966, 0.3270699679851532, -1.8265132904052734, -0.8699231743812561, -0.09365160018205643, 0.2381633073091507, 0.20546463131904602, 0.37065982818603516, -1.2747416496276855, -0.09694401174783707,...
Infinitely listens and serves KVServer RPC calls
[ 0.18317359685897827, -0.037921223789453506, 0.38420090079307556, -0.24188683927059174, -0.15799368917942047, 0.8069255352020264, -1.6139991283416748, -0.636624813079834, -0.12570276856422424, 0.02487746812403202, -0.24164530634880066, -0.023365547880530357, -1.4660555124282837, 0.131971791...
Parses and sets the command line arguments to kvnode.go as global variables
[ 0.35251307487487793, 0.7330289483070374, 0.5682079195976257, 0.36602720618247986, 0.886157751083374, 0.4503974914550781, -1.1617623567581177, 0.493085652589798, -1.6362230777740479, 0.6062310338020325, 0.14660656452178955, 0.323811799287796, -0.2239120453596115, 0.38415947556495667, 0.03...
Prints msg + err to console and exits program if exit == true
[ 0.4722661077976227, 0.020492788404226303, 0.4200682044029236, 0.9396792650222778, -0.046889614313840866, 0.8984541296958923, -0.01055963709950447, 0.557555615901947, 0.3841645121574402, 0.43375226855278015, 0.5417546033859253, 0.127488374710083, -0.27934175729751587, 1.1370155811309814, ...
Export returns the metric data per Protocol
[ -0.29764097929000854, 0.3579765260219574, -0.041145578026771545, 0.20995856821537018, -0.5502485632896423, 1.1698578596115112, 0.13724789023399353, -1.4345999956130981, -0.810119092464447, 0.1614270806312561, 0.0081610893830657, -0.046036843210458755, -1.315880537033081, 0.0193321593105793...
Export the stored protocols
[ -0.2166743129491806, -0.3822280466556549, -0.03144525736570358, 0.8796789050102234, -0.26034414768218994, 0.11566925048828125, 0.37166959047317505, -0.9241491556167603, 1.0193307399749756, 0.035970382392406464, -1.3686516284942627, 0.4771966338157654, -1.025944709777832, -0.898676276206970...
Name of the Metric
[ 0.6007314920425415, 0.39871421456336975, 0.3069053590297699, -0.07295572757720947, -0.5383782386779785, 0.6921155452728271, 0.532065749168396, -0.7232549786567688, -1.4686843156814575, 0.9304739236831665, 0.9114589095115662, -0.2058032900094986, 0.8814655542373657, -0.5179147124290466, -...
PrintStatistic prints some statistic to the console
[ 0.6199344992637634, 0.13385796546936035, 0.0797208920121193, 1.1659504175186157, 0.5689188241958618, 0.05020357295870781, 0.021871507167816162, -1.3091164827346802, -0.200181245803833, -0.09492633491754532, -0.2004862129688263, 0.8802765011787415, 1.2322596311569214, -0.45864543318748474, ...
Init initializes chaincode ===========================
[ 0.5339022874832153, -1.8541349172592163, 0.5916308760643005, 0.4471912980079651, 0.6072803735733032, 0.0772043764591217, -0.4865851104259491, -0.25946471095085144, -0.735680341720581, 0.2517075538635254, -1.3791346549987793, 1.4217501878738403, -0.7936711311340332, 1.444828748703003, 1.0...
Invoke Our entry point for Invocations ========================================
[ 1.2686322927474976, -0.6281141042709351, 0.574286937713623, 0.7954407930374146, 0.5319933891296387, -0.06333965808153152, -0.7318398952484131, 0.179256871342659, -0.18564073741436005, -0.19435957074165344, 0.09576290100812912, 1.4115227460861206, -0.5658103823661804, 0.253295361995697, -...
create a record for Hospital
[ 1.4704903364181519, 0.09101056307554245, 0.3226117789745331, -0.0968468114733696, 1.2434464693069458, 1.3159443140029907, -0.40404683351516724, 0.5089964270591736, -0.692878246307373, -1.0092661380767822, 0.37472519278526306, -0.7488718628883362, -0.09924498945474625, 0.06500183790922165, ...
update a record for Hospital
[ 0.37658992409706116, -0.7603449821472168, 0.24729374051094055, 0.060294605791568756, -0.05850202962756157, 1.0213931798934937, -0.41240954399108887, 0.856967568397522, -0.1867930144071579, -0.481105774641037, 0.8497561812400818, -0.15527693927288055, 0.03492313250899315, -0.497478812932968...
get all records for asset Hospital
[ 0.5935827493667603, -0.703589141368866, 0.24562084674835205, -0.47802799940109253, 0.8086692690849304, 0.38740190863609314, -1.0073678493499756, -0.041957151144742966, -0.8904241919517517, -0.7029362916946411, 0.8547320365905762, 0.09185164421796799, 0.7974261045455933, -0.4787041842937469...
create a record for HospitalToPatient
[ 0.7119846343994141, -0.604404091835022, 0.3543257415294647, -1.1336749792099, 0.967117190361023, 0.7377833127975464, -0.7205121517181396, 0.43239617347717285, -0.9311740398406982, 0.4513782560825348, 0.34931546449661255, -2.052457809448242, -0.24586570262908936, -1.4543441534042358, -0.0...
update a record for HospitalToPatient
[ 0.17910845577716827, -1.1560659408569336, 0.24664658308029175, -0.8816325664520264, 0.08811003714799881, 0.4486064612865448, -0.6370412111282349, 0.5556156635284424, -0.6119401454925537, 0.9906372427940369, 0.8157988786697388, -1.4678471088409424, -0.14422503113746643, -1.977959156036377, ...
get all records for asset HospitalToPatient
[ 0.16687311232089996, -0.8464518785476685, 0.29697781801223755, -1.188556432723999, 0.7881652116775513, 0.21337953209877014, -1.14785635471344, 0.09511318802833557, -0.9166544675827026, 0.3911782503128052, 0.756521999835968, -1.240848183631897, 0.46440374851226807, -1.664946436882019, -0....
get data using a record id
[ -0.07860725373029709, -0.2588237524032593, 0.14567974209785461, -0.026349645107984543, 0.014403969049453735, -0.2847747206687927, -1.4370912313461304, -0.5757142305374146, -0.22860769927501678, -0.1447858214378357, 0.01064937561750412, 1.1554019451141357, 0.14264674484729767, 0.33398151397...
get all records of any kind
[ 0.6000034213066101, -0.4557453989982605, 0.24575170874595642, 0.7573144435882568, 0.825434148311615, -0.34764426946640015, -1.7272758483886719, -0.42116090655326843, -0.6655870079994202, -0.7179206609725952, 0.18736138939857483, 1.2043709754943848, -0.7641087770462036, 1.0797637701034546, ...
=================================================================================== Retrieving all the changes to a record ===================================================================================
[ 0.37363699078559875, -0.35591626167297363, 0.9208940863609314, -0.36532461643218994, -0.26345598697662354, -0.44296500086784363, -1.2804551124572754, 1.1648190021514893, 0.6064220070838928, -0.06568922847509384, 0.06363336741924286, 0.8868216276168823, -0.829420268535614, 0.827322125434875...
helper to get all changes for a record
[ 0.21326439082622528, -0.01348318811506033, 0.2582658529281616, 0.052508991211652756, -0.44654110074043274, -1.013534665107727, -1.2429016828536987, 0.2465115636587143, -0.24682553112506866, 0.31579750776290894, -0.41578665375709534, 0.4215160608291626, 0.9330542087554932, 0.955459833145141...
=================================================================================== Helpers =================================================================================== helper for getting all rows from a query
[ 1.4278606176376343, -0.31149980425834656, 0.48614683747291565, 0.0007243584259413183, -0.7993139028549194, -0.23707714676856995, -1.393988013267517, 0.19874003529548645, 0.19084298610687256, -0.178096204996109, 1.1104260683059692, 0.6176605820655823, 0.37343281507492065, 0.62713223695755, ...
generate a random unique key hash
[ -0.3350633978843689, 0.049506332725286484, 0.1538800299167633, -0.1094525009393692, -0.47216254472732544, 0.8641442060470581, -1.0862364768981934, 0.24647819995880127, 0.15783509612083435, -0.4150538444519043, -0.9224274158477783, -0.32881274819374084, -0.890017032623291, -0.90614831447601...
get timestamp in seconds
[ 0.7242856025695801, 0.2127678245306015, 0.26230257749557495, 0.7957354784011841, -0.09493690729141235, -1.3085845708847046, -0.23847723007202148, -0.3712539076805115, 0.11464515328407288, 0.6636881828308105, -1.1422209739685059, -0.5886368155479431, 0.6235312819480896, 0.01209934614598751,...
New creates a pubsub value for use.
[ 0.6731093525886536, 0.11245628446340561, 0.35429683327674866, 0.19449956715106964, -0.9831803441047668, -0.06018384173512459, -0.8912491202354431, -0.11553993821144104, -1.0730335712432861, -1.3786555528640747, -0.022262414917349815, 0.13074803352355957, 0.26261472702026367, 0.456980347633...
Publish sends the data for the specified key.
[ -0.7513177990913391, 0.485494464635849, 0.1607837826013565, 0.3090953826904297, -0.6271581649780273, -0.3119491636753082, -1.316652536392212, 0.24156218767166138, -0.6395338177680969, 0.56304931640625, -0.0984417051076889, 0.705718994140625, -0.5097995400428772, 0.4766747057437897, -0.84...
Subscribe sets up an request to receive messages for the specified key.
[ -0.15145809948444366, 0.9200354814529419, 0.3770507872104645, 0.17697402834892273, -0.09642033278942108, -0.8665021061897278, -1.509238362312317, -0.942152202129364, -0.5703712105751038, -0.45624423027038574, -0.22773535549640656, 0.3464166224002838, -0.025229794904589653, 0.01985019072890...
/ ==================== body ====================
[ -0.08543217182159424, -0.3050392270088196, 1.084367036819458, 0.22176481783390045, 0.9528149366378784, 0.5876002907752991, 0.6295937895774841, -0.46729233860969543, 0.5240496397018433, 0.46498095989227295, -1.0891826152801514, -0.20354171097278595, -0.05663154274225235, 0.5992177724838257,...
MarshalJSONObject implements the gojay MarshalerJSONObject interface.
[ 0.19680193066596985, -0.8401997685432434, 0.5635960698127747, 0.007359826005995274, -1.5993160009384155, -0.34588363766670227, 0.23240181803703308, -0.5298816561698914, -0.4095016121864319, -0.9324658513069153, -0.9857936501502991, -0.050865475088357925, 0.23502132296562195, 0.242945879697...
UnmarshalJSONObject implements the gojay UnmarshalerJSONObject interface.
[ 0.20587585866451263, -0.11551382392644882, 0.6060011386871338, -1.3393886089324951, -1.058390736579895, -0.3079676032066345, 0.3813808262348175, 0.04983847215771675, -0.5615686178207397, -0.8764472603797913, -0.8496356010437012, -0.3657696843147278, 0.48667436838150024, 0.07626018673181534...
NKeys implements the gojay UnmarshalerJSONObject interface.
[ -0.7075647711753845, 0.05767207592725754, 0.46311283111572266, -1.0723621845245361, -1.243458867073059, -1.4645224809646606, -0.4023737907409668, -1.174089789390564, -0.4199873208999634, 0.4280994236469269, -0.4216811954975128, -0.6996790766716003, -0.14418461918830872, -0.0054829651489853...
IsNil implements the gojay MarshalerJSONObject interface.
[ 0.5176767110824585, -0.8189154863357544, 0.4744108319282532, -0.5601829290390015, -1.1976794004440308, -0.2745066285133362, -0.2965508699417114, -1.280200481414795, -0.03366531804203987, -0.4347093999385834, -1.2014679908752441, 0.3697727620601654, -0.26542386412620544, 0.24061690270900726...
AddTraceID configures span s to have traceID set to the given id.
[ 1.047334909439087, 0.5260253548622131, 0.4637473225593567, 0.24738366901874542, 0.3931182622909546, 0.79047691822052, 0.13523219525814056, -0.23212705552577972, 2.383533000946045, -0.1911781281232834, -0.8230003714561462, 0.43400922417640686, 0.16263818740844727, 0.30630776286125183, -0....
Rows returns count of rows in column.
[ 0.8834213018417358, 0.5655097961425781, 0.3162311613559723, 0.5693923830986023, 0.4123256504535675, -0.7552132606506348, 0.712868332862854, 0.6951831579208374, 0.012378498911857605, -0.8356108665466309, -0.27251482009887695, -0.4617760181427002, 0.05770371854305267, 0.4053073227405548, -...
Reset resets data in row, preserving capacity for efficiency.
[ -0.1135605126619339, 0.9108837842941284, 0.02964828722178936, 0.3723708987236023, 0.44068145751953125, -0.7615770697593689, 0.6393190622329712, -0.9625189304351807, -0.6917389631271362, 0.1078765019774437, 0.07498668134212494, 0.7037063837051392, 0.5847035050392151, -0.837787389755249, -...
Type returns ColumnType of Date.
[ 0.214366614818573, 0.33161935210227966, 0.7949675917625427, 1.2662410736083984, 0.5911425948143005, 0.15930509567260742, 0.8202517628669739, -1.2004164457321167, 0.19848041236400604, -0.7823135256767273, -0.8631273508071899, 0.41682690382003784, -0.4297880530357361, 0.07152757793664932, ...
Run sets up a snowman instance and runs until context is cancelled or the UI signals a by closing its listener channel.
[ 0.7763120532035828, -0.3194091022014618, 0.3426845669746399, -0.050306349992752075, -0.7113597393035889, 0.6340351104736328, 0.6977721452713013, -0.36436909437179565, 0.9351861476898193, -0.8554472327232361, 0.18666791915893555, -0.04521584510803223, -0.7162514925003052, 0.6314125061035156...