text
stringlengths
11
6.3k
embedding
listlengths
768
768
func (s *BasejossListener) ExitBoolExp(ctx *BoolExpContext) {}
[ 0.3354507088661194, -0.708099365234375, 0.4321591556072235, -0.2944117784500122, -0.15328897535800934, 0.7037389874458313, 0.3425160050392151, -0.38702648878097534, -0.11080018430948257, 1.3393691778182983, -0.9553437232971191, -0.42904528975486755, -1.0660511255264282, -0.1625603586435318...
func (s *BasejossListener) EnterBoolOp(ctx *BoolOpContext) {}
[ -0.39647215604782104, -0.7243332862854004, 0.41691023111343384, 0.01412658765912056, 1.0344860553741455, 0.581184983253479, 0.6232438087463379, -1.4108490943908691, -0.7661712765693665, 0.6696306467056274, 0.13217489421367645, 0.4290691018104553, -0.15437892079353333, -0.34018006920814514,...
func (s *BasejossListener) ExitBoolOp(ctx *BoolOpContext) {}
[ -0.39215144515037537, -0.8770187497138977, 0.40563660860061646, -0.03857523575425148, 0.26529866456985474, 0.7342158555984497, 0.4055541157722473, -0.7957237362861633, -0.718856930732727, 1.044214129447937, -0.6332178711891174, -0.579354465007782, -0.30532658100128174, -0.17489634454250336...
func (s *BasejossListener) EnterComparison(ctx *ComparisonContext) {}
[ -0.21367961168289185, -0.8119093179702759, 0.25717511773109436, 0.23978419601917267, 0.43970823287963867, -0.06262972950935364, 1.1613030433654785, -1.1185288429260254, 0.4999033510684967, 0.9064666628837585, 0.029602011665701866, -0.29668140411376953, -0.7788726091384888, 0.88347059488296...
func (s *BasejossListener) ExitComparison(ctx *ComparisonContext) {}
[ -0.5617932081222534, -0.7842996716499329, 0.32637718319892883, -0.10083961486816406, -0.34690719842910767, 0.37259748578071594, 1.1470099687576294, -0.5564203262329102, 0.3365042507648468, 1.829292893409729, -0.6274914145469666, -1.0416861772537231, -0.7114413380622864, 0.9942013621330261,...
func (s *BasejossListener) EnterBoolComp(ctx *BoolCompContext) {}
[ 0.25692087411880493, -1.2683416604995728, 0.41524356603622437, -0.8147943019866943, 0.7373651266098022, 0.8601986169815063, 0.996600329875946, -1.338996171951294, -0.3084114193916321, 0.850081741809845, -0.10890678316354752, 0.7087525129318237, -0.5042429566383362, 0.2491748332977295, 0....
func (s *BasejossListener) ExitBoolComp(ctx *BoolCompContext) {}
[ 0.19095608592033386, -1.6055375337600708, 0.3727761209011078, -0.8562570810317993, -0.008061370812356472, 1.0130257606506348, 0.6601665019989014, -0.7732394337654114, -0.33005887269973755, 1.0645217895507812, -0.7144032120704651, -0.2648473381996155, -0.5267607569694519, 0.2096745669841766...
func (s *BasejossListener) EnterFor_(ctx *For_Context) {}
[ -0.4336622357368469, 0.017314698547124863, 0.3813881278038025, -0.5684325695037842, -0.09075036644935608, -0.43060582876205444, 0.3677915036678314, -1.3733819723129272, -0.5951585173606873, -0.5938854217529297, -0.1314239203929901, 0.07915063202381134, 1.169941782951355, 0.6288930177688599...
func (s *BasejossListener) ExitFor_(ctx *For_Context) {}
[ -0.764174222946167, -0.31986552476882935, 0.6535704135894775, -0.9107750654220581, -0.3817688226699829, -0.3624389171600342, 0.32106781005859375, -0.861376941204071, -0.8695592880249023, 0.11496346443891525, -0.6422664523124695, -0.7686723470687866, 1.2620128393173218, 0.5746736526489258, ...
func (s *BasejossListener) EnterRange_(ctx *Range_Context) {}
[ -0.6153737306594849, -0.42683568596839905, 0.2782649099826813, 0.7380151748657227, -0.06311580538749695, -0.42766547203063965, 1.060897946357727, -1.0108263492584229, -0.5688526630401611, 0.5379376411437988, -0.13343825936317444, -0.1964714080095291, -0.07240892201662064, 0.666407763957977...
func (s *BasejossListener) ExitRange_(ctx *Range_Context) {}
[ -1.4261562824249268, -0.29316383600234985, 0.27561289072036743, 0.44065016508102417, -0.16051121056079865, -0.3780328929424286, 0.8884621858596802, -0.699817955493927, -1.2240889072418213, 0.8764733672142029, -0.534276008605957, -0.9355676174163818, 0.19148458540439606, 0.9571991562843323,...
func (s *BasejossListener) EnterRangeExp(ctx *RangeExpContext) {}
[ -0.521160364151001, -0.34193792939186096, 0.195982426404953, 0.12211863696575165, 0.3630543649196625, 0.4108143746852875, 1.180092215538025, -0.8678563237190247, 0.2595408260822296, 0.9853618144989014, -0.6685388088226318, 0.0023283150512725115, -1.0623584985733032, 0.12030810117721558, ...
func (s *BasejossListener) ExitRangeExp(ctx *RangeExpContext) {}
[ -0.5333219170570374, -0.7264935970306396, 0.26814448833465576, -0.010298422537744045, -0.1491421014070511, 0.9495476484298706, 0.9327521920204163, -0.5272756814956665, 0.22823253273963928, 1.318889856338501, -0.9139042496681213, -0.6069707274436951, -1.0582696199417114, 0.12842103838920593...
func (s *BasejossListener) EnterRangeVal(ctx *RangeValContext) {}
[ -1.0034183263778687, -0.38010749220848083, 0.016204005107283592, 0.15707886219024658, 0.07591157406568527, 0.9124977588653564, 0.9735914468765259, -0.7088149189949036, -0.840302586555481, 0.23703715205192566, -0.3899998366832733, 1.3654266595840454, -0.24182042479515076, 0.4819720387458801...
func (s *BasejossListener) ExitRangeVal(ctx *RangeValContext) {}
[ -1.2399688959121704, -0.6622306108474731, 0.15933305025100708, -0.00364637840539217, -0.694874107837677, 1.0285929441452026, 0.7859746813774109, -0.3149486482143402, -1.0141162872314453, 0.8449836373329163, -0.9653282761573792, 0.5914645791053772, -0.1832915097475052, 0.44677773118019104, ...
func (s *BasejossListener) EnterMathExp(ctx *MathExpContext) {}
[ 0.3832801282405853, -0.3645334541797638, 0.5486828088760376, -0.10176774859428406, -0.002221433212980628, 0.7956579923629761, 0.6995940804481506, -0.89389568567276, -0.33078381419181824, 0.5504084825515747, -0.039460062980651855, -0.16088800132274628, -0.5037789940834045, 1.007871627807617...
func (s *BasejossListener) ExitMathExp(ctx *MathExpContext) {}
[ 0.4229235053062439, -0.8304645419120789, 0.580438494682312, -0.20525974035263062, -0.6446570754051208, 1.1231456995010376, 0.5537853837013245, -0.43964052200317383, -0.22629782557487488, 0.9051769971847534, -0.43499335646629333, -0.9247814416885376, -0.4863702654838562, 0.9841486215591431,...
func (s *BasejossListener) EnterTerm(ctx *TermContext) {}
[ 0.2990891933441162, -1.001620888710022, 0.565574049949646, 0.7553333640098572, 0.19365084171295166, 0.48803240060806274, 0.9112734794616699, -0.6008014678955078, 0.34369879961013794, 0.3660193085670471, 0.0645482987165451, 0.6419509649276733, -0.6069405674934387, 0.11726146936416626, -0....
func (s *BasejossListener) ExitTerm(ctx *TermContext) {}
[ -0.25237220525741577, -1.2118899822235107, 0.42400702834129333, 0.5565890669822693, -0.022955065593123436, 0.6447768211364746, 0.7414636015892029, -0.10938435792922974, 0.10069669783115387, 0.7626234889030457, -0.29317983984947205, -0.09331376850605011, -0.13224145770072937, 0.128055423498...
func (s *BasejossListener) EnterFactor(ctx *FactorContext) {}
[ -0.2645385265350342, -0.8433099985122681, 0.37962889671325684, 0.04677686095237732, 0.06419803202152252, -0.1390487253665924, 0.8344324827194214, -0.7271695137023926, 0.488739013671875, 0.21286587417125702, 0.36498039960861206, 0.7737874984741211, -0.2436647266149521, 1.5292527675628662, ...
func (s *BasejossListener) ExitFactor(ctx *FactorContext) {}
[ -1.130061149597168, -0.6268479824066162, 0.28131574392318726, -0.22995617985725403, -0.5051859617233276, -0.044284701347351074, 0.7057501077651978, -0.683330237865448, 0.011795608326792717, 0.770199179649353, -0.14852464199066162, 0.19647400081157684, 0.19063341617584229, 1.378374814987182...
func (s *BasejossListener) EnterAssignment(ctx *AssignmentContext) {}
[ -0.7824556231498718, -0.9055370092391968, 0.42358097434043884, 0.2325800061225891, -0.3664429187774658, 0.3021109402179718, 1.3471555709838867, -0.8207015991210938, -0.0425853431224823, 0.9846823215484619, 0.8246984481811523, 0.4026564955711365, 0.09779767692089081, 0.7886120676994324, -...
func (s *BasejossListener) ExitAssignment(ctx *AssignmentContext) {}
[ -1.36482834815979, -0.9092568755149841, 0.35381826758384705, -0.2817554175853729, -0.9062700271606445, 0.5767686367034912, 1.109385371208191, -0.5724441409111023, -0.3129308819770813, 1.4782679080963135, 0.2785804867744446, -0.322529137134552, 0.29909026622772217, 0.761976420879364, -0.6...
func (s *BasejossListener) EnterValue(ctx *ValueContext) {}
[ 0.05800528824329376, -0.6961867213249207, 0.5762595534324646, 1.0471165180206299, 0.28905853629112244, 0.31358349323272705, 1.1397418975830078, -0.9590772986412048, 0.8269220590591431, 0.7212674021720886, 0.5239371061325073, 0.5208923816680908, -0.20830592513084412, 0.5314767360687256, -...
func (s *BasejossListener) ExitValue(ctx *ValueContext) {}
[ -0.7848008871078491, -0.4074687957763672, 0.48818129301071167, 0.717856764793396, 0.019666075706481934, 0.1318022459745407, 0.7683744430541992, -0.45203959941864014, 0.17233100533485413, 1.2559304237365723, 0.07754307240247726, -0.05120127648115158, 0.24936944246292114, 0.7374180555343628,...
func (s *BasejossListener) EnterFunction_(ctx *Function_Context) {}
[ -0.600382387638092, -0.23571337759494781, 0.3498152792453766, 0.16541598737239838, -0.15043506026268005, -0.938300371170044, 0.5674218535423279, -0.9718767404556274, -0.5392311811447144, 0.17060677707195282, -0.3055068552494049, 0.40764644742012024, 0.41556769609451294, 0.16452449560165405...
func (s *BasejossListener) ExitFunction_(ctx *Function_Context) {}
[ -1.397084355354309, 0.0006657647900283337, 0.40669718384742737, -0.23195001482963562, -0.42933356761932373, -0.9903802871704102, 0.718887984752655, -0.6787385940551758, -0.9507831931114197, 0.7520445585250854, -0.8087000846862793, -0.0056670475751161575, 0.6857202053070068, 0.0274893939495...
func (s *BasejossListener) EnterFuncSqrt(ctx *FuncSqrtContext) {}
[ 0.27300411462783813, -0.8157424926757812, 0.23134925961494446, -1.0386606454849243, 0.5437254905700684, -0.2800420820713043, -0.24355299770832062, -1.5792135000228882, 0.2487606406211853, -0.5395253896713257, 0.13691194355487823, 0.7754997611045837, -0.11762668937444687, 0.9568948149681091...
func (s *BasejossListener) ExitFuncSqrt(ctx *FuncSqrtContext) {}
[ 0.17880497872829437, -1.0487562417984009, 0.19540511071681976, -1.1975982189178467, -0.3978566825389862, -0.2956697344779968, -0.6568958163261414, -1.1775882244110107, 0.20413877069950104, 0.07723240554332733, -0.29585322737693787, -0.13418696820735931, 0.059506647288799286, 0.881446242332...
func (s *BasejossListener) EnterFuncLog(ctx *FuncLogContext) {}
[ 0.06988057494163513, 0.08920124918222427, 0.1743430644273758, -0.16632939875125885, -0.030960334464907646, -0.38760101795196533, 1.328819990158081, -1.1606732606887817, -0.5534372925758362, 0.08691974729299545, -0.15684305131435394, 0.7974087595939636, 0.18824370205402374, 1.00152420997619...
func (s *BasejossListener) ExitFuncLog(ctx *FuncLogContext) {}
[ -0.05452464893460274, -0.1514570415019989, 0.09430404752492905, -0.5292620658874512, -0.8635803461074829, -0.3692218065261841, 1.1856423616409302, -0.6865885853767395, -0.5271623730659485, 0.9244198203086853, -1.0296411514282227, 0.0307147279381752, 0.1751449704170227, 0.7133449912071228, ...
func (s *BasejossListener) EnterFuncExp(ctx *FuncExpContext) {}
[ 0.1342623382806778, -0.15357919037342072, 0.39581236243247986, 0.46650147438049316, 0.48849764466285706, -0.41196611523628235, 1.0771480798721313, -0.47609955072402954, 0.1803266406059265, 0.6466473340988159, 0.08047980070114136, -0.09152316302061081, -0.6863799095153809, 0.595304787158966...
func (s *BasejossListener) ExitFuncExp(ctx *FuncExpContext) {}
[ 0.041872695088386536, -0.4399731159210205, 0.40610119700431824, 0.4198129177093506, -0.22613967955112457, -0.16251468658447266, 0.9800671339035034, 0.037326566874980927, 0.2574199438095093, 1.0475952625274658, -0.30854445695877075, -0.8772162795066833, -0.8167319297790527, 0.49488547444343...
func (s *BasejossListener) EnterFuncSin(ctx *FuncSinContext) {}
[ -0.4163556694984436, -0.8512084484100342, 0.6826717257499695, -0.12600862979888916, 0.35999003052711487, -0.5759283304214478, 1.101980447769165, -0.9797974824905396, 0.11523839086294174, -0.7366480231285095, -0.1251557469367981, 0.7561808824539185, -0.3743761479854584, 0.08544979989528656,...
func (s *BasejossListener) ExitFuncSin(ctx *FuncSinContext) {}
[ -0.8247837424278259, -0.83958899974823, 0.60432368516922, -0.26643621921539307, -0.3192712962627411, -0.607336163520813, 0.8313819766044617, -0.49877458810806274, -0.03526761382818222, 0.047945860773324966, -0.5620133280754089, -0.25129780173301697, -0.03611845523118973, 0.0228718165308237...
func (s *BasejossListener) EnterFuncCos(ctx *FuncCosContext) {}
[ -0.04388253018260002, -0.09566882252693176, 0.4088135361671448, -0.11748304218053818, 0.32631590962409973, -0.8672666549682617, 1.1174260377883911, -1.2086496353149414, -0.6812241673469543, -0.1003246158361435, 0.14972224831581116, 0.6429974436759949, 0.1782202273607254, 0.8977495431900024...
func (s *BasejossListener) ExitFuncCos(ctx *FuncCosContext) {}
[ -0.010451087728142738, -0.1717209368944168, 0.3731030523777008, -0.2256796658039093, -0.3806610703468323, -0.7657976150512695, 0.8667365312576294, -0.669427752494812, -0.6584149599075317, 0.7131991982460022, -0.6491299271583557, -0.1408414989709854, 0.4820486009120941, 0.7076819539070129, ...
func (s *BasejossListener) EnterFuncIp(ctx *FuncIpContext) {}
[ -0.14260292053222656, -0.36632516980171204, 0.35773834586143494, 0.40753456950187683, 0.7332003712654114, -0.46586325764656067, 1.2475295066833496, -1.019328236579895, 0.2164796143770218, -0.06987970322370529, 0.5774446725845337, -0.04174010455608368, 0.24524784088134766, -0.17180937528610...
func (s *BasejossListener) ExitFuncIp(ctx *FuncIpContext) {}
[ -0.2130429744720459, -0.5615965723991394, 0.3360970616340637, 0.173853799700737, 0.0687703788280487, -0.15196958184242249, 0.993242621421814, -0.7266075611114502, 0.18180912733078003, 0.7535563111305237, -0.3363538086414337, -0.9009008407592773, 0.18219158053398132, -0.29385170340538025, ...
func (s *BasejossListener) EnterFuncFp(ctx *FuncFpContext) {}
[ 0.3150078058242798, -0.5778883099555969, 0.39552921056747437, -0.23749811947345734, 0.7179262638092041, -0.5314487814903259, 1.8029382228851318, -0.6820134520530701, -0.2513916492462158, 0.1238209679722786, -0.12187319248914719, 0.4492654502391815, -0.8231494426727295, -0.20279695093631744...
func (s *BasejossListener) ExitFuncFp(ctx *FuncFpContext) {}
[ 0.03427799418568611, -0.6526573896408081, 0.27914392948150635, -0.285713791847229, 0.001154823461547494, -0.5002009272575378, 1.6939027309417725, -0.2496415674686432, -0.2543445825576782, 1.042934775352478, -0.9482104182243347, -0.522629976272583, -0.6241198182106018, -0.3039286732673645, ...
func (s *BasejossListener) EnterFuncDp(ctx *FuncDpContext) {}
[ -0.08866900950670242, -0.06409493088722229, 0.38983380794525146, -0.7622175812721252, 0.6588475108146667, 0.19628970324993134, 1.509187936782837, -1.161291241645813, 0.2213284969329834, 0.11541752517223358, 1.204062819480896, 0.5639883875846863, -0.5140679478645325, 0.09340027719736099, ...
func (s *BasejossListener) ExitFuncDp(ctx *FuncDpContext) {}
[ -0.3255416452884674, -0.30321258306503296, 0.29179808497428894, -0.8544787764549255, -0.0704580545425415, 0.2373436838388443, 1.2528250217437744, -0.7198683023452759, 0.2864511013031006, 0.7729082703590393, 0.4485476613044739, -0.34512463212013245, -0.3330504596233368, -0.01007481664419174...
func (s *BasejossListener) EnterFuncXp(ctx *FuncXpContext) {}
[ 0.5307747721672058, -0.31605032086372375, 0.3791816532611847, -0.07320364564657211, 0.30097848176956177, -0.06830240786075592, 0.8672617077827454, -0.8456272482872009, -0.06530298292636871, 0.8201972842216492, -0.21284452080726624, -0.012811972759664059, -0.6642391681671143, 0.309303313493...
func (s *BasejossListener) ExitFuncXp(ctx *FuncXpContext) {}
[ 0.3542458117008209, -0.5484557151794434, 0.3697054386138916, -0.28591322898864746, -0.6483529806137085, 0.030637547373771667, 0.7708770632743835, -0.4669972360134125, 0.14526037871837616, 1.4107496738433838, -0.826632022857666, -0.923058807849884, -0.38178813457489014, 0.054171402007341385...
func (s *BasejossListener) EnterFuncSgn(ctx *FuncSgnContext) {}
[ -0.3027564585208893, 0.08766099810600281, 0.3011593520641327, 0.26044899225234985, 0.943484365940094, -0.941775918006897, 0.765175998210907, -0.7364916205406189, -0.6536087989807129, -0.3840586543083191, -0.06689929962158203, 0.2557792365550995, -0.27886757254600525, 0.9465046525001526, ...
func (s *BasejossListener) ExitFuncSgn(ctx *FuncSgnContext) {}
[ -0.5235092043876648, 0.07275448739528656, 0.2209777981042862, 0.007406648248434067, 0.04129348322749138, -1.0018579959869385, 0.5527821779251099, -0.28158092498779297, -0.6355834007263184, 0.5905411243438721, -0.7871463298797607, -0.8245842456817627, 0.169902503490448, 0.8517268300056458, ...
func (s *BasejossListener) EnterFuncMax(ctx *FuncMaxContext) {}
[ -0.44464612007141113, -0.15389063954353333, 0.1472737342119217, 0.0796862244606018, 1.0557349920272827, -0.44841089844703674, 0.6670673489570618, -0.8240911960601807, -0.2421722114086151, -0.43844372034072876, 0.05694349482655525, 1.1793879270553589, -0.07203836739063263, 0.971274614334106...
func (s *BasejossListener) ExitFuncMax(ctx *FuncMaxContext) {}
[ -0.6275758147239685, -0.5700516104698181, 0.12151112407445908, -0.14784443378448486, 0.177799254655838, -0.23986434936523438, 0.5331015586853027, -0.24043752253055573, -0.5708717703819275, 0.45545944571495056, -0.5064629316329956, 0.24983155727386475, 0.006925410591065884, 0.73653131723403...
func (s *BasejossListener) EnterFuncMin(ctx *FuncMinContext) {}
[ -0.2148142009973526, -0.9033432602882385, 0.4216979146003723, -0.2960922122001648, 0.15691450238227844, -0.036653585731983185, 0.3872051239013672, -1.5486633777618408, 0.11562789231538773, -0.2532844841480255, 0.0230870358645916, 0.7230532765388489, -0.6599007844924927, 0.7684111595153809,...
func (s *BasejossListener) ExitFuncMin(ctx *FuncMinContext) {}
[ -0.46713390946388245, -0.8780644536018372, 0.22687216103076935, -0.5291824340820312, -0.5341426730155945, -0.12801964581012726, 0.3442375659942627, -1.0312998294830322, -0.21654760837554932, 0.41301608085632324, -0.42283082008361816, -0.006886404938995838, -0.33127057552337646, 0.501929521...
func (s *BasejossListener) EnterArgList(ctx *ArgListContext) {}
[ -0.3987531065940857, -0.2483811229467392, 0.18093663454055786, 0.08339112251996994, 0.9011402130126953, 0.16632391512393951, 0.031101129949092865, -0.5915924310684204, -0.5647528171539307, 0.4024841785430908, -0.3894544541835785, 0.9151861667633057, -0.4916028082370758, 0.663266658782959, ...
func (s *BasejossListener) ExitArgList(ctx *ArgListContext) {}
[ -0.5589608550071716, -0.7374400496482849, 0.1988440454006195, -0.016033604741096497, 0.13341252505779266, 0.38960468769073486, -0.1891789734363556, -0.31755223870277405, -0.6081011295318604, 1.2592573165893555, -1.164780616760254, 0.06326749175786972, -0.20975756645202637, 0.86003190279006...
func (s *BasejossListener) EnterVariable(ctx *VariableContext) {}
[ 0.1165020763874054, -0.9483669996261597, 0.5490254759788513, 0.48006734251976013, 0.05730739235877991, 0.07503337413072586, 0.7872461080551147, -0.9379002451896667, 0.0766562670469284, 0.6943730115890503, -0.7324227094650269, 0.3785817325115204, -0.8485817909240723, 0.377013623714447, -0...
func (s *BasejossListener) ExitVariable(ctx *VariableContext) {}
[ -0.6212598085403442, -1.0604164600372314, 0.4253966212272644, -0.026893001049757004, -0.09756825864315033, -0.22884786128997803, 0.6258115172386169, -0.585436224937439, -0.2364576756954193, 1.2132033109664917, -1.1248953342437744, -0.46515101194381714, -0.4074667692184448, 0.31653648614883...
func (s *BasejossListener) EnterVarList(ctx *VarListContext) {}
[ 0.16248950362205505, -0.7253645062446594, 0.29514312744140625, 0.5127871036529541, 0.3108409345149994, 0.20820672810077667, 0.4792267382144928, -0.47224685549736023, 0.8554366827011108, 0.9814661741256714, -1.0895023345947266, 0.7417117357254028, -0.4414816200733185, 1.2239655256271362, ...
func (s *BasejossListener) ExitVarList(ctx *VarListContext) {}
[ 0.0665704607963562, -1.0643846988677979, 0.28103315830230713, 0.28991973400115967, -0.2430553436279297, 0.26447126269340515, 0.09131904691457748, -0.16622863709926605, 0.48863112926483154, 1.5852091312408447, -1.4578438997268677, -0.2593848705291748, -0.42481911182403564, 1.276665806770324...
func itob(v uint64) []byte { b := make([]byte, 8) binary.BigEndian.PutUint64(b, v) return b }
[ -0.8565134406089783, 0.8079220652580261, 0.6987608671188354, 0.2106720209121704, 0.4357847273349762, 0.3450375497341156, -0.3778266906738281, -1.0411521196365356, 0.8617481589317322, 0.6461316347122192, -0.7297568917274475, 0.5035818219184875, -0.20943120121955872, -0.45250341296195984, ...
func T(key, value string) Tag { return Tag{ Key: key, Value: value, } }
[ 0.26181167364120483, -0.11898612976074219, 0.3043495714664459, -0.9044403433799744, -0.008581320755183697, 0.34658941626548767, -1.2563362121582031, 0.3612167239189148, -1.4438236951828003, 0.08985184133052826, -0.9350894689559937, -0.20912079513072968, 0.6921757459640503, -0.5584711432456...
func JoinTags(tags ...Tag) TagSet { var result TagSet result = append(result, tags...) return result }
[ 0.8723742961883545, 0.6081898212432861, 0.509735107421875, 0.337323397397995, 0.42659345269203186, -0.008970208466053009, -1.0636957883834839, -0.792235255241394, -0.8919335007667542, -1.053704023361206, -0.026114916428923607, -0.44641777873039246, -0.8740221858024597, 0.5584349632263184, ...
func (t TagSet) Merge(more TagSet) TagSet { merged := t[:] return append(merged, more...) }
[ -1.170871615409851, 0.9123299717903137, 0.3637987971305847, 0.028003288432955742, 0.21919503808021545, -0.06735487282276154, -2.0407304763793945, -1.4917125701904297, -0.28927960991859436, -1.131666660308838, -1.0372540950775146, -0.23174577951431274, -0.5750178694725037, 0.433323979377746...
func FindInDir(path string, filename string) (string, error) { current, _ := filepath.Abs(path) for { matches, err := filepath.Glob(filepath.Join(current, filename)) if err != nil { return "", err } if len(matches) > 0 { return matches[0], nil } // Give up if reached file system root if curren...
[ 0.43744325637817383, -0.6412988305091858, 0.8973667025566101, 0.2989526391029358, -0.40379294753074646, 0.10301347076892853, 0.24971497058868408, -0.8715887665748596, -0.9532853960990906, 0.31263309717178345, 1.5777918100357056, 0.12031397968530655, -0.7840254902839661, 0.6024819612503052,...
func (e *SqlExecutor) SelectOne(holder interface{}, query string, args ...interface{}) error { hook := e.db.ExecutorHook() hook.BeforeSelectOne(e.ctx, query, args...) err := e.SqlExecutor.SelectOne(holder, query, args...) hook.AfterSelectOne(e.ctx, query, args...) return err }
[ -0.39072173833847046, 0.4488348960876465, 0.4964371919631958, 0.9548309445381165, 0.7843379378318787, 0.12121958285570145, -0.32719340920448303, 0.034787703305482864, 0.23669245839118958, 0.0064120520837605, 0.3006712794303894, -0.09693440049886703, -0.3092690408229828, 0.29655376076698303...
func (e *SqlExecutor) Select(i interface{}, query string, args ...interface{}) ([]interface{}, error) { hook := e.db.ExecutorHook() hook.BeforeSelect(e.ctx, query, args...) v, err := e.SqlExecutor.Select(i, query, args...) hook.AfterSelect(e.ctx, query, args...) return v, err }
[ -0.22672362625598907, 0.41499364376068115, 0.3937508165836334, 0.17361508309841156, 0.33258819580078125, -0.9595062136650085, -0.4345156252384186, -0.8038050532341003, 0.4939259886741638, 0.48521628975868225, 0.01983211375772953, -0.06646955013275146, -0.19895930588245392, 0.30318868160247...
func (e *SqlExecutor) Insert(list ...interface{}) error { hook := e.db.ExecutorHook() for _, item := range list { var qArg queryArgs builder, err := buildInsert(e.dbp, item.(Model)) if err != nil { return err } qArg.query, qArg.args, err = builder.ToSql() if err != nil { return err } hook.Before...
[ -0.692937433719635, 0.8945791125297546, 0.6007363200187683, 0.4102765619754791, 0.8566216826438904, 0.2969721853733063, 0.07460295408964157, 0.7114978432655334, -0.6451195478439331, 0.12235374748706818, -0.9162602424621582, -1.0195763111114502, -0.7446573972702026, 1.1370372772216797, -0...
func (e *SqlExecutor) Update(list ...interface{}) (int64, error) { hook := e.db.ExecutorHook() var rv int64 for _, item := range list { var qArg queryArgs builder, err := buildUpdate(e.dbp, item.(Model)) if err != nil { return rv, err } qArg.query, qArg.args, err = builder.ToSql() if err != nil { r...
[ -0.9641066789627075, 0.25745919346809387, 0.7860846519470215, 0.3495219051837921, 0.09795953333377838, -0.21468444168567657, -0.0599496029317379, 0.2283581644296646, -0.048140980303287506, 0.5557529330253601, -0.6294651627540588, -0.892896831035614, -0.6266804933547974, 1.0807994604110718,...
func (e *SqlExecutor) Delete(list ...interface{}) (int64, error) { hook := e.db.ExecutorHook() var rv int64 for _, item := range list { var qArg queryArgs builder, err := buildDelete(e.dbp, item.(Model)) if err != nil { return rv, err } qArg.query, qArg.args, err = builder.ToSql() if err != nil { r...
[ -0.12317054718732834, 0.9082359075546265, 0.98699951171875, 0.5989558100700378, 0.683588981628418, -0.3303103744983673, 0.21935416758060455, 0.26568225026130676, 0.015597761608660221, 0.5946123600006104, -0.41833820939064026, -0.8931080102920532, -0.5469129681587219, 1.0771716833114624, ...
func (e *SqlExecutor) Exec(query string, args ...interface{}) (sql.Result, error) { hook := e.db.ExecutorHook() hook.BeforeExec(e.ctx, query, args...) v, err := e.SqlExecutor.Exec(query, args...) hook.AfterExec(e.ctx, query, args...) return v, err }
[ 0.5462384223937988, 1.2183347940444946, 0.4325101971626282, 0.29435575008392334, -0.2556772232055664, -0.5338587760925293, -0.8201666474342346, 0.038875795900821686, 0.020948173478245735, 0.11357340961694717, 0.5052114725112915, -0.3573228418827057, 0.3320097029209137, 0.409222811460495, ...
func (o LookupPermissionsResultOutput) Id() pulumi.StringOutput { return o.ApplyT(func(v LookupPermissionsResult) string { return v.Id }).(pulumi.StringOutput) }
[ 0.3235298693180084, -0.4705274701118469, 0.4619113504886627, -0.35473793745040894, 0.19849026203155518, 0.14777164161205292, 0.33916157484054565, 0.7421544790267944, 1.5482152700424194, -0.12312250584363937, 0.5350450873374939, 0.46891796588897705, -0.6995165348052979, -1.226987361907959, ...
func (o LookupPermissionsResultOutput) Permissions() pulumi.StringArrayOutput { return o.ApplyT(func(v LookupPermissionsResult) []string { return v.Permissions }).(pulumi.StringArrayOutput) }
[ -0.568066418170929, -0.06517572700977325, 0.459113210439682, 0.17962419986724854, 0.41025179624557495, -0.09841454774141312, 0.1750091165304184, 0.03957992419600487, 0.7453057169914246, 0.037991538643836975, -0.07414042949676514, 0.0307435542345047, -0.10745301842689514, -0.822967767715454...
func (o LookupPermissionsResultOutput) PermissionsWithGrantOptions() pulumi.StringArrayOutput { return o.ApplyT(func(v LookupPermissionsResult) []string { return v.PermissionsWithGrantOptions }).(pulumi.StringArrayOutput) }
[ 0.2329370379447937, -0.02625017985701561, 0.6992106437683105, -0.022374683991074562, 0.01787191815674305, 0.011969496496021748, 0.2751064896583557, -0.8127458095550537, 0.908375084400177, -0.296800434589386, -0.29605990648269653, 0.07049907743930817, 0.0636703222990036, 0.21533262729644775...
func Name() string { return getRandValue([]string{"person", "first"}) + " " + getRandValue([]string{"person", "last"}) }
[ -1.2335374355316162, -0.6610692739486694, 0.7007315158843994, -0.6698390245437622, -0.7025925517082214, 0.7284846305847168, -0.733929455280304, -0.11264143139123917, -0.06183487921953201, 0.8271136283874512, -0.28160360455513, -0.21905890107154846, 0.26993846893310547, 0.4750542938709259, ...
func FirstName() string { return getRandValue([]string{"person", "first"}) }
[ -0.09522440284490585, -0.45206180214881897, 0.4715076684951782, -0.16481730341911316, 0.24514588713645935, -0.02980645000934601, -0.8739411234855652, 0.4303462505340576, 0.6721968054771423, -0.4651351273059845, 0.8287184238433838, -0.20103421807289124, 0.34645381569862366, 0.56786537170410...
func LastName() string { return getRandValue([]string{"person", "last"}) }
[ -0.8642942905426025, -0.589802086353302, 0.6733416318893433, -0.27366745471954346, -0.1706828474998474, 0.47475892305374146, -1.0139518976211548, 0.7142115831375122, 0.5924208760261536, 0.004795370623469353, 0.6671029925346375, -0.4080410897731781, -0.3792329728603363, -0.4634152948856354,...
func NamePrefix() string { return getRandValue([]string{"person", "prefix"}) }
[ -1.031362533569336, -0.2745531499385834, 0.4768945872783661, -0.5847366452217102, -0.9245405197143555, 0.6025387644767761, -1.311598777770996, -0.09928268194198608, 1.209639310836792, 0.14227238297462463, -1.0344496965408325, 0.5672081112861633, 0.5913313627243042, 0.6470722556114197, 0....
func NameSuffix() string { return getRandValue([]string{"person", "suffix"}) }
[ -0.46355223655700684, -0.43145278096199036, 0.5063692331314087, -0.8280059099197388, -0.8686671257019043, 0.7881621718406677, -1.448069453239441, 0.2009573131799698, 0.46892017126083374, -0.6267880201339722, -1.6823397874832153, 1.1086169481277466, 0.9645671248435974, 0.9009780883789062, ...
func ConvertTimestamp(ts string) (int, error) { f, err := strconv.ParseFloat(ts, 64) if err != nil { return 0, err } return int(f * 1000), nil }
[ -0.31220656633377075, 0.3722135126590729, 0.6411375999450684, -0.1039043739438057, -0.18977034091949463, -1.043904423713684, -0.39251795411109924, 0.4395190477371216, 0.851125180721283, 0.47524911165237427, -0.2573625147342682, -0.5369172692298889, 0.12997688353061676, -0.01243336591869592...
func extractModifiedTimestamp(r *http.Request) (ts int, headerType XModHeader, err error) { modSince := r.Header.Get("X-If-Modified-Since") unmodSince := r.Header.Get("X-If-Unmodified-Since") if modSince != "" && unmodSince != "" { return 0, X_TS_HEADER_NONE, errors.New("X-If-Modified-Since and X-If-Unmodified-S...
[ -0.7247782945632935, 0.3043892979621887, 0.9271953701972961, -0.009843104518949986, -0.3331756591796875, -1.2908036708831787, -0.18354350328445435, 0.14283409714698792, 0.1831449270248413, 0.3554868698120117, 0.19426940381526947, 0.1796143651008606, -0.29734987020492554, 1.173027515411377,...
func sentNotModified(w http.ResponseWriter, r *http.Request, modified int) (sentResponse bool) { ts, mHeaderType, err := extractModifiedTimestamp(r) if err != nil { http.Error(w, err.Error(), http.StatusBadRequest) return } switch { case mHeaderType == X_IF_MODIFIED_SINCE && modified <= ts: w.Header().Set("...
[ -1.245552659034729, -0.29781123995780945, 0.6401708126068115, -0.5774931907653809, -0.03221091628074646, -0.4648609459400177, 0.35486575961112976, -0.6868889927864075, -0.05779886990785599, 0.36837029457092285, -0.21211178600788116, -0.03534021973609924, -0.17889495193958282, 0.61568528413...
func main() { for i := 1; i < 100; i++ { if i%15 == 0 { fmt.Print("FizzBuzz ") } else if i%3 == 0 { fmt.Print("Fizz ") } else if i%5 == 0 { fmt.Print("Buzz ") } else { fmt.Printf("%d ", i) } } fmt.Println("100") }
[ -0.034573186188936234, 0.4157409369945526, 0.6363468170166016, -0.05093119293451309, -0.02785760909318924, 0.6713583469390869, 1.199649691581726, -0.07089201360940933, -0.46911388635635376, -0.24031341075897217, -0.10860641300678253, 0.3223946988582611, -0.33800187706947327, 0.048431340605...
func CopyStruct(sourceStruct, targetStruct interface{}) error { //Make sure the incoming interface are ptr of struct sourceT := reflect.TypeOf(sourceStruct) targetT := reflect.TypeOf(targetStruct) if sourceT.Kind() != reflect.Ptr || targetT.Kind() != reflect.Ptr { return errors.New("Source and Target must be poi...
[ 0.017130400985479355, -0.2535910904407501, 0.9039968848228455, -0.7119179368019104, -0.35689646005630493, 0.10509609431028366, 0.3236744701862335, -0.2496471405029297, -0.43201887607574463, 0.05114927887916565, -0.19796784222126007, 0.4574010968208313, 0.018794432282447815, -0.328514337539...
func WithJSONContent() Middleware { return func(f http.Handler) http.Handler { // Define the http.HandlerFunc fn := func(w http.ResponseWriter, r *http.Request) { w.Header().Set("content-type", "application/json") // Call the next middleware/handler in chain f.ServeHTTP(w, r) } return http.HandlerFunc...
[ 0.20657587051391602, -1.1010719537734985, 0.810065507888794, -0.12246394902467728, -1.7875922918319702, -0.5787885785102844, -0.5064780116081238, -1.2640552520751953, -0.2834647297859192, -0.14682921767234802, 0.039475128054618835, -0.18671759963035583, -0.04735301434993744, -0.10806560516...
func WithStrictTransportSecurity(TLS ServeTLSConfig) Middleware { return func(f http.Handler) http.Handler { fn := func(w http.ResponseWriter, r *http.Request) { if true == TLS.Strict { headerValue := "max-age=63072000" if true == TLS.StrictSubDomains { headerValue = fmt.Sprintf("%s; includeSubDomain...
[ 0.5913427472114563, 0.0729413703083992, 0.6197926998138428, -0.20301993191242218, -0.3192557394504547, 0.14316153526306152, -0.54364013671875, -0.7545650005340576, -0.18473085761070251, 0.5577800273895264, -0.7530655860900879, 0.000424361351178959, 0.3548114597797394, -0.060561999678611755...
func ChainMiddleware(f http.Handler, middlewares ...Middleware) http.Handler { for _, m := range middlewares { f = m(f) } return f }
[ -0.17489802837371826, -0.4923285245895386, 0.18239548802375793, 1.2005236148834229, -0.2496136873960495, 0.8203768134117126, -0.37844210863113403, 0.43164634704589844, -0.5651174783706665, -0.2467678189277649, -0.4785507619380951, 0.11054001748561859, -0.9273872375488281, 0.913736760616302...
func (s *Stack) pushAddrSliceAndTerminator(src []hostarch.Addr) (int, error) { // Note: Stack grows upwards, so push the terminator first. switch s.Arch.Width() { case 8: nNull, err := primitive.CopyUint64Out(s, StackBottomMagic, 0) if err != nil { return 0, err } srcAsUint64 := *(*[]uint64)(unsafe.Pointe...
[ -0.6581201553344727, 0.8516813516616821, 0.4381565749645233, -0.616971492767334, -0.8293498754501343, -1.269166111946106, -0.19199706614017487, 0.2371503710746765, 0.8869745135307312, 1.0848634243011475, 0.22603531181812286, 0.26709407567977905, 0.5180861949920654, 0.8052835464477539, 1....
func Reverse(ctx *cli.Context) { err := reverse(service, ctx.Bool("all")) if err != nil { log.Println(err) } }
[ -0.21834495663642883, 0.5152161121368408, 0.5465307235717773, 0.463300883769989, 1.0641053915023804, 0.27509450912475586, -0.4859098792076111, 0.967484176158905, -0.8757580518722534, -0.361404687166214, 0.2819370627403259, 1.3633346557617188, -0.6761132478713989, 0.10860822349786758, -0....
func NewJSONArrayFromString(jsonarray string) (*JSONArray, error) { var resultingArray []interface{} err := json.Unmarshal([]byte(jsonarray), &resultingArray) if err != nil { return nil, err } return &JSONArray{resultingArray}, nil }
[ -0.8219617009162903, -1.2725929021835327, 0.4175104796886444, -0.026985380798578262, -1.122988224029541, -0.8939916491508484, -0.14717569947242737, -1.025922417640686, 0.3030128479003906, 0.13651864230632782, -0.19025897979736328, 0.5764048099517822, -0.5075053572654724, 0.1670051217079162...
func (this *JSONArray) JSONArray(index int) *JSONArray { return &JSONArray{this.innerArray[index].([]interface{})} }
[ -1.768328309059143, -1.0513802766799927, 0.6362035870552063, -0.8562309145927429, -0.5142552256584167, -0.8750967383384705, -0.05208611860871315, -1.3988555669784546, 0.913065493106842, -0.6329350471496582, -0.2726052403450012, 1.1475547552108765, -0.6244937777519226, -0.11699441075325012,...
func (this *JSONArray) JSONObject(index int) *JSONObject { return &JSONObject{this.innerArray[index].(map[string]interface{})} }
[ -0.6562423706054688, -1.0682053565979004, 0.5728273987770081, -1.188292384147644, -1.4278361797332764, -0.4576582908630371, -0.17651993036270142, -1.5082958936691284, 0.05837398022413254, -0.9653095006942749, -0.7952460646629333, 0.5179181098937988, 0.2302805781364441, -1.1571149826049805,...
func (this *JSONArray) String(index int) string { return this.innerArray[index].(string) }
[ -1.4278212785720825, -1.1134475469589233, 0.4020751416683197, -1.2853983640670776, -0.9011011719703674, 0.15634892880916595, -0.23034162819385529, -1.9519357681274414, 0.24424850940704346, 0.20049823820590973, 0.15442834794521332, 0.912473201751709, -0.5216293334960938, -1.0048426389694214...
func (this *JSONArray) Bool(index int) bool { return this.innerArray[index].(bool) }
[ -1.2483060359954834, -0.5113582015037537, 0.4766756594181061, -0.6141811609268188, 0.08156950026750565, 0.5241209268569946, -0.18309366703033447, -0.14255520701408386, 0.33636805415153503, -0.0023683905601501465, -0.9347320199012756, 0.553114652633667, -0.06551020592451096, -1.189090251922...
func (this *JSONArray) Int(index int) int { return parseInt(this.innerArray[index]) }
[ -1.1715896129608154, -0.8972715139389038, 0.5480090975761414, -1.3336952924728394, -0.4525211453437805, -0.2987329065799713, 0.05798730254173279, -0.8971816301345825, -0.28618571162223816, -0.38225626945495605, -0.46223294734954834, 0.7081234455108643, -0.45301979780197144, -0.690194487571...
func (this *JSONArray) Float32(index int) float32 { float64Representation := float32(this.innerArray[index].(float64)) return float64Representation }
[ -0.7780977487564087, 0.031146300956606865, 0.45290663838386536, -1.0093421936035156, 0.3195856809616089, -0.06672830879688263, -0.8165512084960938, -1.1429641246795654, 0.06480663269758224, -0.6375858783721924, 0.1195182204246521, 0.6521534323692322, -0.15162545442581177, 0.166330069303512...
func (this *JSONArray) Float64(index int) float64 { return this.innerArray[index].(float64) }
[ -1.4206151962280273, -0.37214305996894836, 0.45722535252571106, -0.22422650456428528, 0.629026472568512, -0.6102735996246338, -0.30033570528030396, -0.913198709487915, 0.07412499934434891, -0.6661418676376343, -0.021444277837872505, 0.20333001017570496, -0.4662629961967468, 0.1924022585153...
func (this *JSONArray) Length() int { theInnerArray := this.innerArray; return len(theInnerArray) }
[ -1.060821294784546, -1.169023036956787, 0.527747631072998, -1.1097415685653687, 0.014576570130884647, 0.017320718616247177, 0.2176712155342102, 0.5557592511177063, 0.4735240042209625, -0.2993353605270386, -0.489600270986557, 0.5275541543960571, -0.8662232756614685, 0.3357221186161041, 0....
func NewStringSet(elems ...string) StringSet { res := StringSet{Set: make(map[string]bool)} for _, elem := range elems { res.Set[elem] = true } return res }
[ -0.8326876163482666, 0.16092833876609802, 0.3498651385307312, 0.19078588485717773, -0.9724348187446594, 0.010900375433266163, -0.2781278192996979, 0.0626799613237381, -0.7057919502258301, 0.4966265857219696, 0.026557674631476402, 0.03329459950327873, -0.5511831045150757, -0.093997873365879...
func (s StringSet) Add(element string) { s.Set[element] = true }
[ 0.003123172326013446, 0.32201844453811646, 0.1614801436662674, -1.111689567565918, -0.43491894006729126, 0.505528450012207, -1.0079532861709595, 0.28493309020996094, 0.5239940881729126, 0.17993216216564178, -0.13253283500671387, 1.1257628202438354, -0.7109265923500061, 0.35421454906463623,...
func (s StringSet) Remove(element string) { if s.Has(element) { delete(s.Set, element) } }
[ 0.5686174631118774, 0.14154498279094696, 0.07364446669816971, -0.997322678565979, -1.145702600479126, -0.7303842306137085, -0.5886515378952026, 0.27804115414619446, 0.4662936329841614, 0.34158608317375183, 0.07580730319023132, 0.733680248260498, -1.0231152772903442, 0.3050588369369507, 0...
func (s StringSet) Has(element string) bool { _, ok := s.Set[element] return ok }
[ -0.1452917605638504, 0.24423415958881378, 0.21597784757614136, -1.071816325187683, -0.628322184085846, -0.3183073401451111, -1.0092363357543945, 0.05482450872659683, -0.33427444100379944, -0.14837604761123657, -0.261341392993927, 0.7923944592475891, -0.15932221710681915, 0.0474739000201225...
func (s StringSet) Elements(element string) []string { var res []string for k := range s.Set { res = append(res, k) } return res }
[ -0.7104681730270386, -0.36494702100753784, 0.05838238447904587, -1.0596202611923218, -0.1581907421350479, -0.19570991396903992, -0.952197253704071, 0.010905042290687561, 0.5853071808815002, 0.46557673811912537, 0.4741985499858856, 1.3038216829299927, -0.5616421103477478, 0.3143457770347595...