text
stringlengths
7
2.39k
embedding
listlengths
768
768
ResetSpentToday is a paid mutator transaction binding the contract method 0x5c52c2f5. Solidity: function resetSpentToday() returns()
[ -0.5617119669914246, -0.31466925144195557, 0.4070991575717926, 0.2503046989440918, 0.9450778961181641, -0.31225723028182983, 1.0417479276657104, -0.6675715446472168, 0.010724487714469433, 0.55380779504776, -0.895690381526947, 0.20128779113292694, -0.3344011902809143, -0.32877594232559204, ...
SetDailyLimit is a paid mutator transaction binding the contract method 0xb20d30a9. Solidity: function setDailyLimit(_newLimit uint256) returns()
[ -0.822945773601532, 0.6085397601127625, 0.607150673866272, 1.0018891096115112, -0.39904943108558655, -0.7411553859710693, 0.26384493708610535, -0.1539287567138672, 0.05726412683725357, -0.09708160907030106, -0.7065935134887695, -0.43297669291496277, 0.06056967005133629, -0.3339146375656128...
SetDailyLimit is a paid mutator transaction binding the contract method 0xb20d30a9. Solidity: function setDailyLimit(_newLimit uint256) returns()
[ -0.822945773601532, 0.6085397601127625, 0.607150673866272, 1.0018891096115112, -0.39904943108558655, -0.7411553859710693, 0.26384493708610535, -0.1539287567138672, 0.05726412683725357, -0.09708160907030106, -0.7065935134887695, -0.43297669291496277, 0.06056967005133629, -0.3339146375656128...
SetDailyLimit is a paid mutator transaction binding the contract method 0xb20d30a9. Solidity: function setDailyLimit(_newLimit uint256) returns()
[ -0.822945773601532, 0.6085397601127625, 0.607150673866272, 1.0018891096115112, -0.39904943108558655, -0.7411553859710693, 0.26384493708610535, -0.1539287567138672, 0.05726412683725357, -0.09708160907030106, -0.7065935134887695, -0.43297669291496277, 0.06056967005133629, -0.3339146375656128...
GetID gets value of column "id" from "campaign" row
[ 0.7551919221878052, -0.36662667989730835, 0.27016961574554443, 0.8350961208343506, 0.813872754573822, -0.2853158116340637, 0.242015540599823, -0.00621258607134223, 1.2324864864349365, 0.33232635259628296, 0.4934636056423187, -0.03899671509861946, -0.28741416335105896, -1.0449861288070679, ...
SetID sets value of column "id" in "campaign" row
[ 0.13759540021419525, -0.3253318965435028, 0.31970006227493286, 0.599147617816925, 0.38576066493988037, 0.1687803417444229, -0.051831457763910294, -0.055255841463804245, 1.0359224081039429, 0.4068862497806549, -0.08881955593824387, -0.21465404331684113, -0.049390487372875214, -0.08152025938...
GetPopName gets value of column "pop_name" from "campaign" row
[ -0.17772580683231354, 0.44422104954719543, 0.34696438908576965, 0.7048888206481934, -0.8103719353675842, -0.7086053490638733, -0.14106270670890808, -0.43475762009620667, 0.14163009822368622, 1.8613330125808716, 0.5387883186340332, -0.9367033839225769, 0.9826436638832092, -1.650972723960876...
SetPopName sets value of column "pop_name" in "campaign" row
[ -0.15749448537826538, 0.28413501381874084, 0.4566699266433716, 0.33480408787727356, -0.921471357345581, -0.05127687007188797, -0.2367417961359024, -0.15836785733699799, 0.16257721185684204, 1.5414189100265503, -0.029617004096508026, -0.8816536664962769, 1.2964270114898682, -1.0432466268539...
ClearPopName sets value of column "pop_name" null in "campaign" row
[ 0.35438480973243713, 0.07117185741662979, 0.31146422028541565, 0.19502481818199158, -0.739416241645813, -0.1826593428850174, -0.7325523495674133, -0.569220781326294, 0.4923793375492096, 1.1348434686660767, 0.09962939471006393, -0.14702527225017548, 0.7529841661453247, -1.12417733669281, ...
HasValidPopName checks to value of column "pop_name" is not null
[ 0.7172344923019409, 0.387990802526474, 0.336889386177063, 1.2547955513000488, -0.05209818854928017, -0.14443163573741913, -0.9489688873291016, 0.31011372804641724, 0.41810372471809387, 0.5486446022987366, -0.2408897876739502, -1.6637836694717407, 0.7143200635910034, -0.3254372179508209, ...
GetPopYear gets value of column "pop_year" from "campaign" row
[ 0.42277970910072327, 0.24670040607452393, 0.4582986831665039, 0.36244669556617737, -0.6887891292572021, 0.058060016483068466, 0.02484043873846531, -0.48746827244758606, 0.1326744556427002, 1.4883606433868408, 0.12357420474290848, -0.4019148349761963, 0.7644793391227722, -1.2709375619888306...
SetPopYear sets value of column "pop_year" in "campaign" row
[ 0.23914825916290283, 0.11837415397167206, 0.53150874376297, 0.047678329050540924, -0.6802127957344055, 0.6963260769844055, -0.03767465800046921, -0.24264147877693176, 0.12576602399349213, 1.3012275695800781, -0.17379996180534363, -0.5020444393157959, 0.9314073920249939, -0.548936128616333,...
ClearPopYear sets value of column "pop_year" null in "campaign" row
[ 0.6062127947807312, -0.05100316181778908, 0.4925776720046997, 0.03832634165883064, -0.42831605672836304, 0.2921064794063568, -0.6059678196907043, -0.6189751029014587, 0.5435684323310852, 1.1023638248443604, -0.07095631211996078, -0.1309741735458374, 0.5823996663093567, -0.673218309879303, ...
HasValidPopYear checks to value of column "pop_year" is not null
[ 0.9853141903877258, 0.21628576517105103, 0.515039324760437, 1.1611145734786987, 0.03772968053817749, 0.5775945782661438, -0.9073745012283325, 0.2622418999671936, 0.3963843882083893, 0.5187044143676758, -0.15230855345726013, -1.3636113405227661, 0.3153633773326874, -0.2610422670841217, -0...
NewCampaignTable(h SQLHandle) creates new CampaignTable
[ 1.2174829244613647, -1.0869154930114746, 0.05332484468817711, 0.8105915784835815, -0.061360545456409454, 0.4695098400115967, 0.6735215783119202, 0.36255860328674316, -1.1459366083145142, -0.20097686350345612, -0.40912771224975586, 0.37775862216949463, -0.5523875951766968, 0.567036926746368...
InsertCampaignRows inserts the rows into table "campaign"
[ 0.3144127428531647, 0.5822187662124634, 0.23177817463874817, 0.354263573884964, 0.6630648374557495, 0.03761883080005646, 0.44776174426078796, 1.3020503520965576, -0.022317204624414444, 0.5758791565895081, 0.3014843463897705, -0.578249454498291, -0.8274354338645935, 0.5638712048530579, -0...
InsertReturningCampaignRows inserts the rows into table "campaign" and returns the rows.
[ 0.07145402580499649, 0.2806512415409088, 0.3456130921840668, 0.2542552649974823, 0.42008811235427856, -0.06098469719290733, 0.37543636560440063, 0.7346813678741455, 0.12836049497127533, 0.5073221325874329, 0.12321265041828156, -0.4667188823223114, -1.286316156387329, -0.41683802008628845, ...
FindCampaignRows finds the rows matching the condition from table "campaign"
[ 1.1064623594284058, -0.35619527101516724, 0.05864041671156883, 0.7943891882896423, -0.21581274271011353, -0.3862926661968231, 0.4935035705566406, 0.5513956546783447, 0.09437315911054611, 0.4538475573062897, 1.5380040407180786, -0.1766587644815445, -0.058771755546331406, 1.3554301261901855,...
DeleteCampaignRows deletes the rows matching the condition from table "campaign"
[ 0.9253196716308594, -0.48209506273269653, 0.06749113649129868, 0.8005416989326477, -0.10664711147546768, -0.2876027524471283, 0.36672651767730713, 1.2611331939697266, 0.6636002659797668, 0.5152539610862732, 1.2414005994796753, -0.060967739671468735, -0.3134421706199646, 0.5826873183250427,...
CountCampaignRows counts the number of rows matching the condition from table "campaign"
[ 0.9702660441398621, -0.5672039985656738, 0.16203980147838593, 0.9009538292884827, -0.09243975579738617, -0.07953262329101562, 0.37790563702583313, 1.153420329093933, 0.2868293523788452, 0.22717329859733582, 0.49926888942718506, -0.2529855966567993, 0.5214248299598694, 0.6079179644584656, ...
SaveCampaignRows upserts the given rows for table "campaign" checking uniqueness by contstraint "campaign_pkey"
[ -0.7257588505744934, -0.11184406280517578, 0.34721553325653076, 0.34862032532691956, 1.1206926107406616, 0.22185872495174408, 0.49412620067596436, 1.0751287937164307, 0.6831720471382141, 1.2880256175994873, -0.5084102749824524, -0.9466391205787659, -0.8096528053283691, 0.3556632101535797, ...
SaveReturningCampaignRows upserts the given rows for table "campaign" checking uniqueness by contstraint "campaign_pkey" It returns the new values and scan them into given row references.
[ -0.58561772108078, -0.608431875705719, 0.36232107877731323, 0.33573246002197266, 0.6185448169708252, 0.06871999055147171, 0.37155190110206604, 0.39412426948547363, 0.3183254301548004, 1.0452293157577515, -0.21914158761501312, -0.627071738243103, -0.9589864015579224, -0.08291666954755783, ...
GetCampaignRowsByID gets matching rows for given ID keys from table "campaign"
[ 0.24366837739944458, -0.5194371938705444, -0.014200731180608273, 0.7427622079849243, -0.31338366866111755, -0.7979905009269714, -0.23208144307136536, 0.5654107928276062, 0.23826287686824799, 0.4925282299518585, 0.35142868757247925, 0.2742929458618164, -0.018217839300632477, 0.5695706009864...
DeleteCampaignRowsByID deletes matching rows by CampaignID keys from table "campaign"
[ 0.8767639994621277, -0.773951530456543, 0.04529793933033943, 0.4981748163700104, -0.25217205286026, -0.3488546311855316, 0.22326943278312683, 0.8553447127342224, 0.7858293652534485, 0.6709851026535034, 0.34170398116111755, -0.05017577484250069, -0.3291790783405304, 0.7311344146728516, -1...
UpdateCampaignRowsByID deletes matching rows by CampaignID keys from table "campaign"
[ 0.3988887369632721, -1.0162454843521118, 0.19036783277988434, 0.35646116733551025, -0.7192195653915405, -0.28376683592796326, 0.025403033941984177, 1.0029302835464478, 0.7227394580841064, 1.1743985414505005, 0.37739917635917664, -0.023419423028826714, -0.6297894716262817, 0.546911895275116...
ReceiveRow returns all pointers of the column values for scanning
[ -0.305422306060791, 0.04015398398041725, 0.2784577012062073, 0.13916218280792236, -0.09839224815368652, -0.37208205461502075, -0.09222374856472015, -0.8138133883476257, 0.340056836605072, -0.31285718083381653, 0.6305326223373413, 0.20658819377422333, 0.15819618105888367, -0.019913058727979...
ReceiveRows returns pointer slice to receive data for the row on index i
[ -1.1039372682571411, 0.4920558035373688, 0.5556449294090271, -1.2110308408737183, 0.34865066409111023, 0.10753554105758667, -0.15019410848617554, -0.10743512958288193, 0.6043912768363953, 0.057159870862960815, -0.03576604649424553, -0.1986897736787796, -0.44906434416770935, -0.135324895381...
Conflicts calculate the number of conflicts within a group. Conflict exists when the number of students in a group is too high.
[ -1.163598895072937, 1.1241737604141235, 0.6638669967651367, 0.4511561095714569, -0.11245524883270264, -0.14985720813274384, 1.099337100982666, 0.17107455432415009, 0.07516246289014816, -0.5167712569236755, -0.3056671917438507, -0.8482761383056641, -0.8671976923942566, -0.26878249645233154,...
Collide checks if groups are not in the same time.
[ -0.3998023271560669, 0.34272700548171997, 0.3960503041744232, 1.5817909240722656, 0.5962828397750854, 0.3353557288646698, 0.7216865420341492, -1.1722185611724854, -1.0732808113098145, 1.2335699796676636, 0.2615528106689453, -0.7832397222518921, -1.1006349325180054, 0.8693757057189941, -0...
RemoveStudent removes student from group.
[ -1.2011531591415405, -0.06755698472261429, 0.05868122726678848, 0.26919737458229065, -1.2512691020965576, -0.06227673962712288, 0.46859079599380493, 0.44562143087387085, -0.8943542242050171, 0.4782509207725525, -0.46287456154823303, 0.07799883931875229, -1.0064254999160767, -0.787214636802...
Save creates a slice with students who will attend this group.
[ -1.57088041305542, -0.16731688380241394, 0.34748315811157227, -0.0905856192111969, -0.3708943724632263, 0.5892593860626221, 0.2535872459411621, -0.2942866086959839, -0.755359411239624, 1.35672926902771, -0.8363447189331055, 0.10499321669340134, -0.2066524475812912, 0.07902155816555023, 0...
GetID : getter id
[ 0.15498469769954681, -1.375685453414917, 0.2981421947479248, 0.4380515515804291, 1.1484200954437256, 0.7049109935760498, -0.08465733379125595, 0.05235064774751663, 1.680056095123291, -0.5250304937362671, -0.830540120601654, 0.5592535734176636, 0.32352131605148315, 0.6616084575653076, -0....
SetID : setter id
[ -0.2211645543575287, -0.8052494525909424, 0.30002501606941223, 0.7035934329032898, 0.4722575545310974, 0.4238816201686859, 0.31825870275497437, -0.33940237760543823, 1.6580994129180908, 0.09556319564580917, -1.319664478302002, -0.16966073215007782, 0.4675808548927307, 1.5184836387634277, ...
Entrance : insert data to database
[ -0.2174166887998581, 1.0821794271469116, 0.42973050475120544, -0.6194171905517578, 1.2751848697662354, 0.9425253868103027, 0.6364603042602539, 0.7366698980331421, -0.07450936734676361, 0.16419288516044617, -1.139098882675171, -0.3868580758571625, -0.8373146057128906, 0.489074170589447, 0...
SuggestedMove calculates the most advantageous move for the player. It currently works synchronously, but can probably be made concurrent with goroutines.
[ -0.7584236264228821, -0.12768472731113434, 0.5819777250289917, 0.32352980971336365, -0.5303322076797485, -1.235041618347168, -0.07804796099662781, -0.5010467171669006, -0.6135132908821106, 0.02975858747959137, 0.45362451672554016, 0.648461639881134, -0.3475942611694336, 0.27399322390556335...
minimax estimates the value of a position pos using the minimax algorithm, which minimizes loss for the given player, assuming the other player always makes an optimal move.
[ -0.5431339740753174, -0.796161413192749, 0.7047639489173889, 0.3819659948348999, -1.017016053199768, -0.9944257736206055, -0.8061529994010925, 0.10744266211986542, 0.4621014893054962, 0.3867950439453125, -0.6582940220832825, 0.19488517940044403, -0.1634514480829239, -0.8227375745773315, ...
evaluatePosition returns a heuristic value of the board, where positive values are advantageous for the white (max) player and negative values are advantageous for the black (min) player.
[ -0.477438360452652, 0.09639527648687363, 0.5868216156959534, -0.12898550927639008, 0.24408599734306335, -0.05418909713625908, -0.9025298953056335, 0.6448867917060852, 0.03007759153842926, 0.20853644609451294, 0.1262088119983673, -0.7741841673851013, -0.2624559700489044, 0.32860031723976135...
New a slot and init the (id) and new a mutex just for concurrent operations.
[ 0.44978561997413635, -0.06667200475931168, 0.3786175549030304, 0.023557564243674278, -0.9257333874702454, -0.5127958655357361, 0.5868404507637024, -0.12185398489236832, 0.4280162751674652, -0.45897623896598816, -0.4704076945781708, 0.04377002641558647, -0.13464529812335968, 0.2280721664428...
Add a interface into slot.
[ -0.6141990423202515, 0.5566328167915344, 0.26560482382774353, 0.23540008068084717, -0.43552014231681824, 0.6491566896438599, 0.9315623044967651, -0.7334847450256348, -0.919399619102478, -0.21910282969474792, -0.01141461730003357, 0.10563299059867859, -0.7515417337417603, 0.3258435130119324...
Remove a interface form slot,if you won't keep it.
[ -0.08472152054309845, 0.7813815474510193, 0.5663302540779114, 0.11408489942550659, -1.2277302742004395, 0.15764997899532318, 0.44511228799819946, -0.4321041405200958, -0.6299971342086792, -0.40122345089912415, -0.061336416751146317, -0.7943815588951111, -1.5138335227966309, 0.3245171308517...
New a timewheel then you can keep all you want to keep. And you must ensure that parameter (tickDuration >= 1) and (ticksOfWheel >= 1),or,no one can new it,you should know it.
[ 0.6641924977302551, 0.4985199570655823, 0.6197807788848877, 1.5786793231964111, -0.3259184956550598, 0.3714028298854828, 0.3469121754169464, -0.5084436535835266, -0.44118809700012207, 0.3105023503303528, -0.5231494903564453, 0.004707588814198971, -0.4886181056499481, 1.3065353631973267, ...
Start TimeWheel, what you should do is new a ticker and run it.
[ 0.6226993203163147, 0.2558172941207886, 0.4970269501209259, 1.2872992753982544, 0.9281970858573914, 0.19553878903388977, 0.4782688021659851, -0.5399624705314636, -0.022369230166077614, -0.31579339504241943, -1.0933388471603394, 0.19495534896850586, 0.14931084215641022, 1.6920356750488281, ...
Remove c interface from TimeWheel.
[ 0.7759976983070374, 0.3503466546535492, 0.05547274276614189, 0.012738330289721489, -0.19352750480175018, 0.40174028277397156, 1.4047666788101196, -0.5421959757804871, -0.7213080525398254, 0.2632501721382141, -0.47928231954574585, -1.1855485439300537, -1.2552820444107056, 1.3100874423980713...
Get previous tick index
[ -0.20826847851276398, 0.4182884693145752, 0.2798043191432953, -0.3377535343170166, -0.21873921155929565, -0.3224851191043854, 2.1424078941345215, -0.32166481018066406, -0.37613531947135925, -0.48795458674430847, -0.19918224215507507, -0.0778767392039299, -0.1305985003709793, -0.76588869094...
The internal run function, manage all slots and interface
[ -0.7100724577903748, 0.07493885606527328, 0.06474911421537399, 0.0821118876338005, -1.1216760873794556, 0.4135900139808655, 1.8045339584350586, -0.08432304114103317, -0.14594748616218567, -0.6509308815002441, 0.18474386632442474, -0.369378000497818, -0.6014919281005859, 1.5367344617843628,...
InitPersonMdlExt initializes the person entity's model extensionpoint interface implementations.
[ 0.11676262319087982, 0.2899613380432129, 0.33257725834846497, 0.9844380617141724, -0.4502716064453125, 0.26028162240982056, -0.050562236458063126, -0.17088356614112854, 0.9208419322967529, -1.1775809526443481, -0.763984739780426, -0.3717505931854248, 0.22582054138183594, 0.3662957549095154...
ModelCreateExt interface implementation for entity Person BeforeDB model extensionpoint implementation for entity Person TODO: implement preORM call logic and document it here
[ 0.02728939615190029, -0.22857600450515747, 0.4335711896419525, 0.6966444849967957, -0.232963427901268, 0.664122462272644, -0.1392585039138794, -0.23652733862400055, 0.9296244382858276, 0.14337587356567383, 0.182059645652771, -1.6632461547851562, -0.18954536318778992, 0.9387474060058594, ...
AfterDB model extensionpoint implementation for entity Person TODO: implement postORM call logic and document it here
[ 0.08099988847970963, -1.2200431823730469, 0.3613957166671753, 0.4197056293487549, -0.7429987788200378, 0.265686571598053, -0.080379419028759, 0.389453649520874, 1.090920090675354, -0.5585399866104126, 0.025619909167289734, -1.5074650049209595, -0.4056565761566162, 0.8900309801101685, -0....
ModelUpdateExt interface implementation for entity Person BeforeDB extensionpoint implementation for entity Person TODO: implement preORM call logic and document it here
[ -0.45518380403518677, -0.5295534133911133, 0.49912455677986145, 0.41778308153152466, -0.89200359582901, 0.33432328701019287, -0.23545211553573608, 0.0441301092505455, 0.9506166577339172, 0.32206955552101135, 0.11594996601343155, -1.399595856666565, -0.5384175777435303, 0.6912564039230347, ...
AfterDB extensionpoint implementation for entity Person TODO: implement postORM call logic and document it here
[ 0.03351573273539543, -1.2454291582107544, 0.4339084327220917, 0.3342634439468384, -0.796362578868866, 0.3024194836616516, -0.1880624145269394, 0.4316174387931824, 1.102851152420044, -0.6380736827850342, 0.06649672240018845, -1.1550300121307373, -0.5329757332801819, 0.9910985231399536, -0...
ModelGetExt interface implementation for entity Person BeforeDB extensionpoint implementation for entity Person TODO: implement preORM call logic and document it here
[ 0.17109350860118866, -0.3248683512210846, 0.5227533578872681, 0.5480767488479614, -0.4715021252632141, -0.21394431591033936, -0.13273842632770538, -0.23385712504386902, 0.9335192441940308, 0.17321164906024933, 0.43834415078163147, -1.328726053237915, -0.35519829392433167, 0.709670126438140...
AfterDB extensionpoint implementation for entity Person TODO: implement postORM call logic and document it here
[ 0.03351573273539543, -1.2454291582107544, 0.4339084327220917, 0.3342634439468384, -0.796362578868866, 0.3024194836616516, -0.1880624145269394, 0.4316174387931824, 1.102851152420044, -0.6380736827850342, 0.06649672240018845, -1.1550300121307373, -0.5329757332801819, 0.9910985231399536, -0...
CloudFunctionRouteToFiber route cloud function http.Handler to fiber.App Internally, google calls the function with the /execute base URL
[ -0.09963895380496979, -0.05608508735895157, 0.33043238520622253, 0.7531573176383972, 1.1825519800186157, 0.18425077199935913, 0.051835980266332626, -0.5652897953987122, -1.3762263059616089, 0.3063949942588806, 0.25552958250045776, 0.4734802544116974, 0.15563805401325226, 0.9301667809486389...
RouteToFiber route http.Handler to fiber.App
[ 0.5607160329818726, 0.021715261042118073, 0.2764787971973419, 1.4547446966171265, 0.5134330987930298, -0.4513070583343506, 0.1928328573703766, -0.29602959752082825, -0.4268593192100525, -0.39990347623825073, 0.1098599061369896, -0.4266034960746765, 0.09431910514831543, 1.201052188873291, ...
Handler returns the handler function for cli.App
[ 0.7530001997947693, -0.4400903284549713, 0.13028071820735931, 1.2826300859451294, 0.586747944355011, 0.9561664462089539, 0.052460677921772, 0.1994258612394333, -0.37532564997673035, -0.8644428253173828, 0.2915313243865967, -0.008028127253055573, 1.2887190580368042, -0.06002575904130936, ...
makeContext creates a cacellable context and returns the context, its cancel func, and a channel that is closed on SIGINT and SIGTERM. The caller is expected to close the context. if another signal is received after the channel is closed, the process will exit forcefully with exit code 1.
[ 0.99720698595047, -0.41929545998573303, 0.6489219069480896, 0.9721194505691528, -0.6444622874259949, 0.31832414865493774, 0.023908421397209167, -0.1035066470503807, -0.092939592897892, 0.22885586321353912, -0.5459460020065308, -0.6806155443191528, 0.33453625440597534, -0.8407751321792603, ...
FourOfaKind function checks if four cards of same value exists.
[ -0.09549114108085632, -0.18762056529521942, 0.38721638917922974, 0.784609854221344, 0.7120851874351501, -0.9266083240509033, -0.1726357489824295, -0.9105439186096191, -1.0018212795257568, 0.17545251548290253, -0.6191892623901367, -0.9406225085258484, 0.39640429615974426, 0.1473724246025085...
FullHouse function checks if three cards of same value and the other two of similar value exists.
[ 0.4934214651584625, -0.0991215854883194, 0.5320214033126831, 0.9912807941436768, 0.5420872569084167, 0.24423398077487946, -0.27820101380348206, 0.3287310302257538, -0.21271143853664398, 0.12387648224830627, -0.8992915749549866, -0.5219451785087585, -0.25871556997299194, -0.0346761532127857...
Triple function checks if three cards of same value and other two different values exists.
[ -0.5985106229782104, 0.49614736437797546, 0.5991817712783813, 0.4406561255455017, 1.0358383655548096, 0.42772677540779114, -0.7377902269363403, 0.1424015313386917, -0.6546947956085205, -0.025843434035778046, -0.7676225304603577, -0.6627686023712158, -0.01708287000656128, -0.304465740919113...
TwoPairs function checks if two pairs of same value cards exists.
[ -0.7335765957832336, -0.16041040420532227, 0.7520926594734192, 0.39303338527679443, 0.01705855131149292, -0.027619890868663788, -0.46367043256759644, -0.2575291395187378, -0.7134622931480408, -0.035200875252485275, -0.40737512707710266, -0.2755853235721588, 0.2507006525993347, 0.6602342724...
OnePair function checks if one pair of same value card exists.
[ -0.8995318412780762, 0.08337456732988358, 0.5304656028747559, 0.5248377919197083, 0.003647055011242628, 0.01830420456826687, 0.00391077995300293, 0.11955823004245758, -0.171051487326622, 0.023890411481261253, 0.1941933035850525, -0.7050617337226868, -0.6239485740661621, 0.6942856907844543,...
HighCard function compares different value cards.
[ 0.6570273637771606, -0.43787217140197754, -0.020826322957873344, 1.4113919734954834, 0.47379112243652344, -0.2497514933347702, -0.7578945755958557, -0.20369385182857513, -0.23139747977256775, 0.057173002511262894, -0.45337289571762085, 0.551703929901123, 0.6557481288909912, 0.5332778692245...
Ledgers all of the past ledger entreies see for more info
[ 0.5477086901664734, 0.2620302140712738, 0.3256954848766327, -0.11330660432577133, 0.5498537421226501, 0.10343825072050095, 0.11180009692907333, -0.41171133518218994, 0.03001761995255947, -0.22987882792949677, 0.7865234017372131, 1.4464240074157715, -0.40816614031791687, 0.7746931314468384,...
NewProject creates a new "mona.yml" file in the provided directory with the given name.
[ 0.8558448553085327, 0.3344965875148773, 0.4127049148082733, 0.44019612669944763, -0.47992560267448425, 0.2179780751466751, -0.41211050748825073, 0.31413817405700684, -0.09636480361223221, 0.22705745697021484, -0.7202635407447815, 0.9491143226623535, 0.258868932723999, 0.1251734495162964, ...
LoadProject attempts to read a "mona.yml" file into memory from the provided working directory
[ -0.19816826283931732, 0.5609332323074341, 0.21201938390731812, -0.10227993875741959, -0.5417270660400391, 0.04163637012243271, -0.5198533535003662, -0.15200398862361908, 0.08937794715166092, 0.24969112873077393, 0.25091665983200073, 0.41703489422798157, -0.6123210191726685, -0.171586796641...
GetProjectRoot attempts to locate the root of the mona project based on the provided working directory. The provided path is traversed in reverse and each directory is checked for the existence of a mona.yml file.
[ -0.2854054570198059, 0.8929315209388733, 0.5470489263534546, 0.724962055683136, 0.4356667101383209, -0.1356005221605301, 0.5386144518852234, -0.6304510831832886, 0.3183166980743408, 0.46147117018699646, 0.4260975420475006, 0.8591771721839905, -0.8637956380844116, 0.33622798323631287, -0....
parsers for turning the raw MSR uint into a struct Handle the MSR_[DOMAIN]_POWER_LIMIT MSR
[ 0.21965435147285461, -0.19677971303462982, 0.30858299136161804, -0.9291685223579407, -1.2278738021850586, -1.03572678565979, 0.04425200819969177, 0.25826799869537354, 0.9071536660194397, -1.5231064558029175, -0.29316481947898865, 0.14360667765140533, -0.2381502240896225, -0.822880804538726...
This equation is a pain, so we'll make our own function for it.
[ -0.04972614347934723, 0.02492399699985981, 0.27524426579475403, 0.18114082515239716, -0.3554896116256714, -1.2390273809432983, 0.2092428207397461, -0.43210697174072266, -0.8793283700942993, -0.12224353104829788, -0.30370935797691345, 0.34210145473480225, 0.5100686550140381, -0.504641234874...
handle the MSR_RAPL_POWER_UNIT MSR
[ 0.5830735564231873, -0.50628662109375, 0.21936318278312683, -0.6421953439712524, -0.8498556613922119, -0.4662037789821625, 0.23953725397586823, 0.9798508286476135, 0.9676066040992737, -0.2781442403793335, 0.44381803274154663, -0.7295416593551636, -0.43173858523368835, -0.5189832448959351, ...
Get returns data corresponding to entity
[ -1.0128850936889648, -0.37695345282554626, 0.17074696719646454, -1.1515471935272217, 0.6494733691215515, 0.38165587186813354, -1.7868154048919678, -0.3494827151298523, -0.22001489996910095, -0.4907802939414978, 0.1694657802581787, 0.73991459608078, 1.5019415616989136, 0.2605738043785095, ...
Set sets data corresponding to entity, or does nothing if the entity does not have the component
[ 0.00045888457680121064, -0.026259321719408035, 0.49222809076309204, -1.3595657348632812, 0.7175367474555969, 0.707148015499115, -0.33693137764930725, -0.7926582098007202, 0.389783650636673, -0.36660492420196533, -0.19056136906147003, 0.014109439216554165, 0.7098413109779358, 0.970618784427...
initialize returns false if startup failed.
[ -1.0845754146575928, 0.5669318437576294, 0.0333077609539032, 1.337709903717041, -0.23042051494121552, 0.4518745541572571, -0.5205470323562622, -0.47335195541381836, -0.2959100604057312, -0.21273595094680786, -0.6436370015144348, -0.8875613212585449, -1.357058048248291, -0.14620934426784515...
Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.
[ 0.9617491960525513, -0.8904423117637634, 0.8217509388923645, 0.931965708732605, 0.591929018497467, 0.8716898560523987, 0.4191682040691376, 0.24546296894550323, -0.31025710701942444, -0.4376815855503082, -0.03811641409993172, 0.021774940192699432, -0.385102778673172, 1.1330983638763428, -...
initConfig reads in config file and ENV variables if set.
[ 0.07077189534902573, -0.5852688550949097, 0.3644040524959564, 0.8304187059402466, 0.152030348777771, 0.3622189164161682, 0.18818144500255585, 1.1878594160079956, -1.367010474205017, 1.1267673969268799, -0.5083956122398376, -0.12540090084075928, 0.21521444618701935, 1.6677367687225342, 0....
Read maze from image and return pixel array
[ -1.121389389038086, -0.7697569131851196, 0.5707876682281494, 0.7941188812255859, -0.6418463587760925, -0.06174769997596741, 0.9422554969787598, -0.7738417387008667, 0.337684690952301, 0.8036307692527771, 0.8383417129516602, -0.2036326825618744, -0.7051836848258972, 0.5881952047348022, 0....
Get the bidimensional pixel array
[ -0.28542399406433105, -0.4389283359050751, 0.506877064704895, 0.6052916049957275, 0.21168094873428345, 0.8409609794616699, -0.36790674924850464, -1.684837818145752, -0.4613916873931885, 0.29280707240104675, 0.24906952679157257, 1.5402706861495972, -0.8554717302322388, 0.2201860547065735, ...
img.At(x, y).RGBA() returns four uint32 values; we want a Pixel
[ -0.3731456398963928, 0.10492624342441559, 0.39017194509506226, -0.5097308158874512, 0.4909708499908447, 0.2088574767112732, -0.3949318826198578, -1.9844197034835815, -0.1165173351764679, -0.7216519117355347, 0.04836520925164223, 0.2804024815559387, 0.28046631813049316, 0.5334060788154602, ...
Process func will receive the pulled message from the engine.
[ 0.9670237302780151, -0.14950604736804962, 0.22020356357097626, -0.9903106689453125, 0.35678061842918396, -0.43983134627342224, 0.4501142203807831, 0.20739679038524628, -0.33074456453323364, -1.0165705680847168, -0.01044599711894989, 0.419109046459198, 0.870347261428833, -0.4570087790489197...
NewEndpointProcessor returns a new goduck.Processor that
[ -0.3454364538192749, -0.2890954911708832, 0.1812448352575302, 0.04560552537441254, -0.193216472864151, -0.41391927003860474, -0.6113929748535156, 0.002621016465127468, 0.3602067232131958, 0.4731062054634094, -0.5666120052337646, -0.4563484489917755, -0.5788812637329102, -0.2873086035251617...
MustNewEndpointProcessor calls NewEndpointProcessor and panics in case of error.
[ -0.08100110292434692, -0.3028551936149597, 0.3347044587135315, 1.0233463048934937, -0.15152384340763092, 0.7601572275161743, -0.8179464340209961, -0.18049263954162598, -0.007183440495282412, 0.9527276158332825, -0.5992951989173889, -0.02780180238187313, 0.3025417923927307, 0.40293684601783...
Assemble will provide the byte codes for any instructions preceeded by the sigil
[ 0.16643472015857697, -0.2510099709033966, 0.24526047706604004, 0.9802274703979492, -0.32536303997039795, -0.3690859079360962, -0.15902316570281982, 0.618840754032135, 0.023768752813339233, -0.6720283627510071, -0.5497345924377441, -0.07237578928470612, -0.14779385924339294, 1.0748486518859...
convertInstr converts the GoAsm format (plan9 order) into Intel style for yasm.
[ -0.42004743218421936, -0.43674173951148987, 0.08777450770139694, -0.30139046907424927, -0.5875664949417114, -0.48797693848609924, 0.41034793853759766, -0.35909804701805115, 0.2751825749874115, 0.3064030110836029, 0.12139301747083664, 0.40731415152549744, -0.5461587309837341, -0.58814662694...
yasmassembledisassembleroundtripsse.txt franksmbp:sse frankw$ more assembly.asm [bits 64] VPXOR YMM4, YMM2, YMM3 ; X4: Result franksmbp:sse frankw$ yasm assembly.asm franksmbp:sse frankw$ hexdump C assembly 00000000 c5 ed ef e3 |....| 00000004 franksmbp:sse frankw$ echo 'lbl: db 0xc5, 0xed, 0xef, 0xe3' | yasm f elf o a...
[ -0.09371032565832138, -0.9341270923614502, 0.6758733987808228, -0.459325909614563, -0.25034353137016296, -0.13936534523963928, 0.6666622757911682, -0.09239838272333145, 0.3339630365371704, -0.14591005444526672, -0.28553083539009094, -0.43640267848968506, -0.03211558237671852, 0.90297716856...
NodeStageVolume is called by the CO prior to the volume being consumed by any workloads on the node by `NodePublishVolume`
[ 0.2205294370651245, -0.7003905177116394, 0.581849217414856, -0.6238628625869751, -0.29353541135787964, -0.8464969992637634, 0.7296585440635681, -0.16154539585113525, -0.8810287117958069, -0.1174946129322052, 0.8758158087730408, 0.06993918120861053, 0.19499702751636505, 0.633565366268158, ...
NodeUnstageVolume is a reverse operation of `NodeStageVolume`
[ -0.9009348154067993, -0.22814883291721344, 0.7108258008956909, -0.6522970199584961, -0.390662282705307, -0.7678009867668152, 0.4935508072376251, 0.721973717212677, -1.585153341293335, 0.18060827255249023, 0.4150221645832062, -0.17503608763217926, -0.09307584911584854, 0.05964025855064392, ...
NodePublishVolume is called by the CO when a workload that wants to use the specified volume is placed (scheduled) on a node
[ 0.05209652706980705, -0.5136734843254089, 0.4423055946826935, -0.8736862540245056, -0.03814692422747612, -0.618199348449707, -0.13331575691699982, 0.8668564558029175, -0.8557159304618835, 0.1452145278453827, 1.1882951259613037, 0.6066383719444275, -0.29378756880760193, -0.2833695411682129,...
NodeUnpublishVolume is a reverse operation of NodePublishVolume. This RPC is typically called by the CO when the workload using the volume is being moved to a different node, or all the workload using the volume on a node has finished.
[ -0.38762396574020386, -0.45847049355506897, 0.505577564239502, -1.0218331813812256, -0.15801149606704712, -0.23119154572486877, 0.3485313355922699, 0.9587571024894714, -1.4111346006393433, -0.14435672760009766, 1.1734405755996704, 0.7315219044685364, -0.7776261568069458, -0.346405804157257...
NodeGetCapabilities response node capabilities to CO
[ -0.5067287683486938, -0.16785065829753876, 0.17926831543445587, -0.15822406113147736, 0.30983495712280273, -1.548545241355896, -0.266449511051178, 0.1112845316529274, -0.05494072288274765, -0.07439888268709183, -0.5746083855628967, 0.09252110868692398, 0.48050159215927124, -0.6113448739051...
NodeGetInfo is called by CO for the node at which it wants to place the workload. The result of this call will be used by CO in ControllerPublishVolume.
[ -0.32182615995407104, -0.20659640431404114, 0.5547298789024353, -1.0718131065368652, 0.3513176441192627, -0.43423470854759216, 0.3202231824398041, -0.6354051828384399, -1.482719898223877, -0.23621736466884613, 0.614459216594696, 0.4670109748840332, -0.054122913628816605, 0.0193534772843122...
String provides a readable version of the StatementType.
[ -0.32766294479370117, -1.2060374021530151, 0.4139397442340851, -0.6848096251487732, -0.31460636854171753, 1.0265605449676514, -0.6830689311027527, -1.9159135818481445, 0.10432161390781403, 1.1590338945388794, 0.6988784670829773, 0.011176442727446556, -0.6737437844276428, -0.215677335858345...
BindType set he type of a statement.
[ -0.727508544921875, -0.7254475355148315, 0.331596702337265, 0.661283552646637, 0.2528527081012726, 0.40472179651260376, -0.40535637736320496, -0.9683769941329956, 0.6009695529937744, 0.2507499158382416, 0.41856712102890015, 1.0202293395996094, -1.004427194595337, 0.9125522971153259, 0.66...
Type returns the type of the statement.
[ -0.6411008834838867, 0.11120466142892838, 0.3193146586418152, 0.18437789380550385, 0.41961240768432617, -0.24952232837677002, 0.4013539254665375, -1.2695491313934326, 1.0382671356201172, 0.0813901275396347, 0.6442439556121826, 0.525596022605896, -1.675061583518982, 0.1627032458782196, -0...
AddGraph adds a graph to a given
[ -0.3953132927417755, 0.5032755136489868, 0.346119225025177, 1.2173655033111572, -0.06117384135723114, 0.20132793486118317, -1.0221402645111084, 0.4942758083343506, 0.39606618881225586, -0.21323199570178986, 0.12450423836708069, 1.0591963529586792, -0.7090880274772644, -0.6181864738464355, ...
Graphs returns the list of graphs listed on the statement.
[ -0.10237934440374374, -0.0748225748538971, 0.20879434049129486, 1.2963659763336182, 0.07956907898187637, -0.06219921633601189, -0.7179256677627563, -0.6443667411804199, 1.389208197593689, 0.4272492825984955, -0.32177895307540894, 1.3411979675292969, -0.5421702861785889, -0.522229790687561,...
AddData adds a triple to a given statement's data.
[ -0.46652960777282715, 0.4566935896873474, 0.33200591802597046, -0.7374802231788635, -0.1556742936372757, 0.8248679637908936, -1.5806397199630737, 0.363974928855896, 0.6251909136772156, -0.03082730621099472, 0.17985327541828156, 1.1745593547821045, 0.2611972391605377, -1.061436414718628, ...
Data returns the data available for the given statement.
[ -1.1282168626785278, -0.5598413348197937, 0.1737143099308014, -0.6452950835227966, -0.7428457736968994, 0.10869073122739792, -1.310817003250122, -0.7000076770782471, 1.0013506412506104, -0.3665289580821991, 0.4329577386379242, 0.6165340542793274, 0.4615660607814789, -0.28864604234695435, ...
GraphPatternClauses return the list of graph pattern clauses
[ 0.20139998197555542, -0.29075556993484497, 0.3769400715827942, 1.208707571029663, -0.00972873717546463, 0.8715956211090088, 0.26291972398757935, 0.38447093963623047, 0.6275357604026794, 0.27125513553619385, -0.0041514611802995205, 0.361103892326355, -0.9152273535728455, -0.7253719568252563...
ResetWorkingGraphClause resets the current working graph clause.
[ 0.03412143886089325, -0.5328053832054138, 0.314498633146286, 1.2177882194519043, -0.24216867983341217, -0.45437535643577576, 0.464998334646225, -0.07168732583522797, -0.7176015973091125, 0.5562601089477539, -0.19290557503700256, 1.4864528179168701, -1.9499132633209229, -1.4486030340194702,...
WorkingClause returns the current working clause.
[ -0.478811651468277, -1.5052744150161743, 0.5418736934661865, 0.24550728499889374, -0.3602452874183655, -0.2715122401714325, -0.4035510718822479, 0.0030028820037841797, -0.6995475888252258, -0.406308650970459, 0.2972782552242279, 0.5570491552352905, -1.722442626953125, -0.7504981756210327, ...
AddWorkingGrpahClause add the current working graph clause to the set of clauses that form the graph pattern.
[ -0.5004221796989441, -0.03962911665439606, 0.4917842745780945, 0.13821439445018768, 0.11683069169521332, 1.0772711038589478, 0.3235487639904022, -0.3271545171737671, -0.4890197217464447, -0.0038885176181793213, 0.6363686919212341, 0.5182373523712158, -1.8858836889266968, -0.994456291198730...