text
stringlengths
11
6.3k
embedding
listlengths
768
768
func (q *Queries) PlayerAdjustments(ctx context.Context, eventID models.EventID, playerID models.PlayerID) ([]PlayerVenueAdjustment, error) { defer daoSpan(&ctx)() dbAdjustments, err := q.dbc.PlayerAdjustments(ctx, dbc.PlayerAdjustmentsParams{ EventID: eventID, PlayerID: playerID, }) var scores []PlayerVenue...
[ -0.593982458114624, -0.5869441032409668, 0.5695842504501343, 0.19887074828147888, -0.32217538356781006, -0.14237819612026215, 0.06718280166387558, -0.5391559600830078, 0.42188262939453125, 0.8972193002700806, -0.30532708764076233, -0.2286706566810608, -0.9340689778327942, 0.538865208625793...
func messageCreate(s *discordgo.Session, m *discordgo.MessageCreate) { // Ignore all messages created by the bot itself // This isn't required in this specific example but it's a good practice. if m.Author.ID == s.State.User.ID { return } msg := strings.ToLower(m.Content) fmt.Printf("%s: %s\n", m.Author.ID, ...
[ 0.30692964792251587, 0.04114863649010658, 0.6195036768913269, -0.7394519448280334, 0.9261727929115295, 0.17611247301101685, -0.6208564043045044, -0.4250054657459259, -0.4545794725418091, -0.2316863238811493, 0.10852760076522827, 0.3615606427192688, -0.3002316355705261, 0.24551089107990265,...
func main() { fmt.Printf("All perms are - %v", getPerms("abc")) }
[ 1.3353595733642578, -0.2930923104286194, 0.47421562671661377, 0.7415285706520081, 0.005476843565702438, 0.23100408911705017, -0.06307783722877502, 1.138127088546753, -0.13510887324810028, 0.49126696586608887, 0.24034281075000763, 1.4955555200576782, -1.2212655544281006, -0.0020865239202976...
func insertAt(i int, char string, perm string) string { start := perm[0:i] end := perm[i:len(perm)] return start + char + end }
[ -0.41602396965026855, -0.3240370452404022, 0.39139842987060547, -1.6340683698654175, -0.36464357376098633, 0.20269381999969482, 0.01047570537775755, 0.15163257718086243, -1.3632915019989014, 0.7809328436851501, -0.32770535349845886, 0.34786295890808105, -1.62791907787323, -2.09095907211303...
func (m *LogicalSwitch) UnmarshalJSON(raw []byte) error { var aO0 ManagedResource if err := swag.ReadJSON(raw, &aO0); err != nil { return err } m.ManagedResource = aO0 var data struct { AdminState *string `json:"admin_state"` IPPoolID string `json:"ip_pool_id,omitempty"` ReplicationMode string `json:"r...
[ 0.13704796135425568, -0.2881614565849304, 0.6608891487121582, -1.3381577730178833, -0.9535314440727234, 0.36644890904426575, -0.4415539503097534, 0.28556257486343384, 0.7262483835220337, 0.10738716274499893, -0.4626272916793823, 0.3410789370536804, 0.14170053601264954, 0.48297709226608276,...
func (m LogicalSwitch) MarshalJSON() ([]byte, error) { var _parts [][]byte aO0, err := swag.WriteJSON(m.ManagedResource) if err != nil { return nil, err } _parts = append(_parts, aO0) var data struct { AdminState *string `json:"admin_state"` IPPoolID string `json:"ip_pool_id,omitempty"` ReplicationMod...
[ 0.20106734335422516, -0.5052332282066345, 0.546454668045044, -0.8095031380653381, -0.42735275626182556, 0.3363303542137146, -0.3257254660129547, 0.14149272441864014, 0.7354271411895752, 0.41128021478652954, -0.3862544894218445, 0.7981796264648438, -0.11281312257051468, 0.6328924894332886, ...
func (m *LogicalSwitch) Validate(formats strfmt.Registry) error { var res []error if err := m.ManagedResource.Validate(formats); err != nil { res = append(res, err) } if err := m.validateAdminState(formats); err != nil { res = append(res, err) } if err := m.validateReplicationMode(formats); err != nil { ...
[ 0.6223067045211792, -0.4065009355545044, 0.2733173370361328, -0.4065076410770416, -0.13501602411270142, 0.6811889410018921, 0.10234092175960541, -0.19517509639263153, 0.3250494599342346, -0.35964882373809814, 0.45529037714004517, 0.29804864525794983, -0.5214013457298279, 1.1304599046707153...
func (service *PortService) AddPort(ctx context.Context, port *pb.Port) (*pb.AddPortResponse, error) { err := service.dbSession.Query(fmt.Sprintf(` INSERT INTO %s.%s (ID, Name, Lat, Long, Country, Province, City, Timezone, Code, Alias, Region, Unlocs) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) `, keyspace, ports...
[ -0.6605449914932251, -0.09424207359552383, 0.8720930218696594, 0.2548002302646637, 0.1529732197523117, 0.3754672706127167, 0.30736130475997925, -0.5026383399963379, 0.6213979721069336, -0.5687241554260254, -0.40407127141952515, -0.7448885440826416, -1.168095588684082, 0.22676579654216766, ...
func (service *PortService) GetPort(ctx context.Context, portID *pb.PortID) (*pb.GetPortResponse, error) { service.logger.Info("Req port with id ", portID.GetId()) var ( ID string Name string Lat float32 Long float32 Country string Province string City string Timezone string ...
[ -0.4672868549823761, -0.23552505671977997, 0.5018327832221985, -0.18690165877342224, 0.18981604278087616, -0.31157156825065613, -0.35291755199432373, -0.8254764676094055, 0.709675133228302, -0.3686883747577667, -0.03728022798895836, 0.14462879300117493, -0.8156707286834717, 0.5381502509117...
func StartPortDomainService(ctx context.Context, logger *logrus.Logger) { service := &PortService{logger: logger} service.setupDatabase() // Set-up our gRPC server. listener, err := net.Listen("tcp", port) if err != nil { log.Fatalf("failed to listen: %v", err) } service.grpcServer = grpc.NewServer() // Regi...
[ 0.20511241257190704, -0.009127704426646233, 0.5493100881576538, -0.5982048511505127, 0.6467773914337158, 0.2737993001937866, 0.0060103172436356544, -0.19093871116638184, -0.10982008278369904, -0.3055853247642517, 0.07433915883302689, 1.6313822269439697, -0.7822924852371216, 0.2882772982120...
func waitForShutdown(ctx context.Context, service *PortService, logger *logrus.Logger) { <-ctx.Done() service.grpcServer.GracefulStop() logger.Infoln("grpc service stopped") service.dbSession.Close() logger.Infoln("db session closed") }
[ -0.19684641063213348, -0.21865421533584595, 0.3872307538986206, -0.7981691360473633, 0.8247202634811401, 0.5150325894355774, -0.2274087816476822, -0.2827174663543701, 0.2176104187965393, -0.5216283798217773, 0.3375054597854614, -0.24135372042655945, -0.07349474728107452, 0.0736887753009796...
func (env *Env) SubscribeWSS(c *gin.Context) { device := c.Param("device") channel := c.Param("channel") group := c.Param("group") topic := group + "." + device + "." + channel log.Info("Subscribing to topic: ", topic) subscriber, err := env.natsConn.GetSubscriber(topic) if err != nil { log.Error(err) c.Abor...
[ 0.21597585082054138, -0.23782719671726227, 0.5824046730995178, -0.7365117073059082, 0.31844982504844666, -0.2127757966518402, -0.483532577753067, -0.9178208112716675, -0.5579448342323303, 0.5381414294242859, -0.12955529987812042, 1.0686713457107544, -0.26797306537628174, 0.6985515356063843...
func Ctz(x uint64) uint64
[ 0.3573489189147949, 0.15624742209911346, 0.16531871259212494, 0.858753502368927, -0.5063279271125793, -0.09595954418182373, 0.255295991897583, -0.5945813059806824, 0.9214606285095215, -0.3795682191848755, -0.5388164520263672, 0.3815210163593292, 0.6636156439781189, -0.2488538771867752, -...
func NewParserWithSchemaFile(file string) (*Parser, error) { read, err := os.ReadFile("component-metadata-schema.json") if err != nil { return nil, fmt.Errorf("failed to read component-metadata-schema.json: %w", err) } return NewParserWithSchema(read) }
[ 0.42291802167892456, -1.3554822206497192, 0.41333237290382385, -0.2974672019481659, -0.8205150961875916, 0.32394838333129883, -0.11750659346580505, 0.6926043629646301, -0.4525102376937866, 0.1929921805858612, -0.3256514072418213, -0.35007280111312866, 0.2144394963979721, 0.2520108222961426...
func NewParserWithSchema(schema []byte) (*Parser, error) { schemaLoader := gojsonschema.NewBytesLoader(schema) validator, err := gojsonschema.NewSchema(schemaLoader) if err != nil { return nil, fmt.Errorf("failed to create schema validator: %w", err) } return &Parser{ validator: validator, }, nil }
[ -0.04115358740091324, -0.8937395811080933, 0.3181462287902832, 0.16600552201271057, -0.9030141234397888, -0.894074022769928, -0.9910337924957275, -0.08671728521585464, 1.0029131174087524, -0.00932857021689415, -0.7742584347724915, -0.1724681407213211, -0.7236559987068176, 0.648630678653717...
func (p *Parser) LoadForComponent(componentPath string) (*metadataschema.ComponentMetadata, error) { var ( read []byte err error ) // Try with YAML first read, err = os.ReadFile(filepath.Join(componentPath, "metadata.yaml")) if errors.Is(err, os.ErrNotExist) { // IT'S YAML NOT YML // (Insert GIF of "It's...
[ 0.4326801300048828, -0.8693353533744812, 0.7437319159507751, -1.09796142578125, 0.1678784042596817, -0.1127285286784172, -0.33949050307273865, -0.11275829374790192, -0.12067504227161407, -0.10109236091375351, 0.243937686085701, 0.014473951421678066, 0.5217862129211426, -0.0544830746948719,...
func (p *Parser) Parse(read []byte) (*metadataschema.ComponentMetadata, error) { componentMetadata := &metadataschema.ComponentMetadata{} // Converts to JSON if it's YAML // Since JSON is a subset of YAML, this accepts JSON files too readJSON, err := yaml.YAMLToJSONStrict(read) if err != nil { return nil, fmt.E...
[ 0.15382106602191925, -0.6630858182907104, 0.8626871705055237, -0.4937974512577057, -0.2111845314502716, 0.3428345322608948, -0.4942151606082916, 0.24648171663284302, -0.18960241973400116, 0.466742604970932, 0.44540634751319885, 0.35554081201553345, -0.4361233115196228, -0.19263148307800293...
func GetMemPolicy(nodemask Bitmask, addr unsafe.Pointer, flags int) (mode int, err error) { return 0, syscall.ENOSYS }
[ 0.11053389310836792, 0.7815408110618591, 0.4471074044704437, -0.08031115680932999, 0.7509855031967163, 0.08727826923131943, 0.2899037003517151, -0.6633564829826355, 0.5197692513465881, 0.6543431282043457, 0.3140750229358673, 0.29189085960388184, -1.0345760583877563, 0.6016635894775391, 0...
func SetMemPolicy(mode int, nodemask Bitmask) error { return syscall.ENOSYS }
[ -0.14981599152088165, 0.4934532940387726, 0.40797707438468933, -0.07499660551548004, 0.6608433723449707, 0.6336945295333862, 0.25193020701408386, -0.7091257572174072, 0.5908635854721069, 0.5062320828437805, -0.38972392678260803, 0.2733869254589081, -0.8570998311042786, 1.090768814086914, ...
func NodeMemSize64(node int) (total int64, free int64, err error) { return 0, 0, syscall.ENOSYS }
[ -1.2419060468673706, 0.15519432723522186, 0.31128332018852234, -0.3952443301677704, 0.4173733592033386, -0.9886913299560547, 0.22571910917758942, -0.8422336578369141, 0.6119194030761719, 0.08921746164560318, -0.17906317114830017, -1.0225721597671509, -0.04945719987154007, 1.337615013122558...
func MBind(addr unsafe.Pointer, length, mode, flags int, nodemask Bitmask) error { return syscall.ENOSYS }
[ 0.22810189425945282, 0.170026496052742, 0.21436581015586853, -0.09822248667478561, -0.2699712812900543, 0.524529755115509, 0.2298823446035385, -0.536164402961731, 0.44295647740364075, 0.5427243113517761, 0.09037923812866211, 0.47525206208229065, -0.3203761577606201, 1.3019405603408813, 0...
func GetSchedAffinity(pid int, cpumask Bitmask) (int, error) { return 0, syscall.ENOSYS }
[ -0.10464170575141907, 0.15644775331020355, 0.32552528381347656, 1.1057491302490234, 0.03663301467895508, -0.7301347851753235, 0.03704056516289711, -0.04747742787003517, 0.07517208904027939, -0.09134592860937119, -0.4095851480960846, 0.5874506831169128, 0.06316345185041428, 0.96695262193679...
func SetSchedAffinity(pid int, cpumask Bitmask) error { return syscall.ENOSYS }
[ -0.036955639719963074, -0.2003389149904251, 0.19589997828006744, 0.9100006222724915, 0.20294398069381714, -0.13758690655231476, -0.04837130010128021, -0.10212313383817673, 0.43032774329185486, -0.1431369185447693, -0.706638514995575, 0.6823387742042542, 0.4851532578468323, 1.23458540439605...
func GetCPUAndNode() (cpu int, node int) { cpu = runtime_procPin() runtime_procUnpin() return cpu % ncpumax, nnodemax - 1 }
[ -0.5002486705780029, 0.08047602325677872, 0.6308009028434753, 0.1782984882593155, -0.09870082885026932, 0.03188558667898178, 0.4593987762928009, 0.20964734256267548, -0.6478804349899292, 0.2063043713569641, -0.06759225577116013, 1.5651946067810059, -0.7386035323143005, 0.9057568907737732, ...
func runtime_procPin() int
[ -0.1424938142299652, -0.36290842294692993, 0.5219245553016663, 0.02604684606194496, -0.5626423954963684, 0.050305530428886414, 0.22953398525714874, -1.0056354999542236, -0.6701551079750061, -0.1700688600540161, -0.08931171894073486, 0.7159861922264099, -1.4149757623672485, -0.0396234244108...
func runtime_procUnpin()
[ 0.3813302516937256, -0.503961443901062, 0.36189937591552734, 0.01782698556780815, -0.25071805715560913, -0.34190720319747925, 0.33460941910743713, -0.0889643058180809, -0.8361008763313293, 0.08357874304056168, -0.18074338138103485, 0.49516788125038147, -0.992530345916748, -0.60083359479904...
func (s *Passwords) Set(a interface{}, password string) error { // generate a salt salt, err := s.Config.GenSalt() if err != nil { return err } // compute derived key which we call "hash" hash, err := s.Config.HashPassword([]byte(password), salt) if err != nil { return err } // encode config, salt and hash...
[ -0.45484381914138794, -0.037017423659563065, 0.3254600465297699, 0.08869006484746933, 0.1151592805981636, 0.8264243602752686, 0.14908254146575928, 0.8523014783859253, 0.28834712505340576, 0.7718662619590759, -0.0011848917929455638, 0.6751605868339539, 0.38753747940063477, 0.574287831783294...
func (s *Passwords) Verify(a interface{}, password string) error { data, err := s.GetAccountPasswordData(a) if err != nil { return err } if len(data) == 0 { return ErrInvalidAccount } c, salt, hash, err := Decode(data) if err != nil { return err } return c.CheckPassword([]byte(password), salt, hash) }
[ 0.432383269071579, 0.10552232712507248, 0.5298253893852234, 0.9309715628623962, 0.07911190390586853, 0.007945965975522995, 0.14069071412086487, 0.44923797249794006, 1.1697524785995483, 0.0673835426568985, -0.6703423857688904, 1.3810476064682007, 0.07589750736951828, 0.5719327926635742, 0...
func (s *Passwords) Change(a interface{}, currentPassword, newPassword string) error { err := s.Verify(a, currentPassword) if err != nil { return err } return s.Set(a, newPassword) }
[ -0.3413255214691162, -0.34484055638313293, 0.2752443253993988, 0.5118142366409302, 0.049482498317956924, 0.6162075996398926, -0.16713972389698029, 1.0768263339996338, 0.4604482352733612, 1.228691816329956, 0.1552714705467224, 1.446507453918457, -0.2715904414653778, 1.8895256519317627, 0....
func EncodeGrpcReqMetricsQueryList(ctx context.Context, request interface{}) (interface{}, error) { req := request.(*MetricsQueryList) return req, nil }
[ -1.1676721572875977, -0.20317979156970978, 0.33968472480773926, 0.8798680305480957, 0.3450331389904022, 1.007399320602417, 0.1351584494113922, -1.1051576137542725, -0.9741264581680298, 0.3904294967651367, 0.041382551193237305, 0.4911315441131592, -0.7215031981468201, 0.3527497351169586, ...
func DecodeGrpcReqMetricsQueryList(ctx context.Context, request interface{}) (interface{}, error) { req := request.(*MetricsQueryList) return req, nil }
[ -1.314069151878357, -0.17440609633922577, 0.3790838420391083, 0.5249326825141907, 0.32097652554512024, 0.30769258737564087, 0.17312006652355194, -0.7805830240249634, -1.236382007598877, -0.013021712191402912, -0.09900692105293274, 0.08705750107765198, -0.7735378742218018, 0.063714340329170...
func EncodeGrpcRespMetricsQueryList(ctx context.Context, response interface{}) (interface{}, error) { return response, nil }
[ 0.3535561263561249, -0.6359399557113647, 0.14760826528072357, 0.1296500265598297, 0.5054322481155396, 1.027991771697998, 0.35845330357551575, -1.1095067262649536, 0.04938073083758354, 0.05501049757003784, -0.06759647279977798, 0.23698768019676208, -1.1616748571395874, -0.047649137675762177...
func DecodeGrpcRespMetricsQueryList(ctx context.Context, response interface{}) (interface{}, error) { return response, nil }
[ 0.20525534451007843, -0.5794488191604614, 0.24112875759601593, -0.1950863152742386, 0.5741377472877502, 0.4832504093647003, 0.3855440616607666, -0.9908228516578674, -0.2915398180484772, -0.24592562019824982, -0.28668707609176636, -0.07823394238948822, -1.1774840354919434, -0.15998370945453...
func EncodeGrpcReqMetricsQueryResponse(ctx context.Context, request interface{}) (interface{}, error) { req := request.(*MetricsQueryResponse) return req, nil }
[ -0.7112069725990295, -0.5499311685562134, -0.007320821285247803, 0.4227234423160553, 0.37622591853141785, 0.7458850741386414, 0.5684720277786255, -1.1462534666061401, -0.7098874449729919, 0.23978960514068604, 0.47816622257232666, 0.3510942757129669, -0.9770407676696777, -0.3934226632118225...
func DecodeGrpcReqMetricsQueryResponse(ctx context.Context, request interface{}) (interface{}, error) { req := request.(*MetricsQueryResponse) return req, nil }
[ -0.9509221911430359, -0.6005947589874268, 0.09039943665266037, 0.10747940838336945, 0.20562754571437836, 0.07513414323329926, 0.6228659749031067, -0.7792187333106995, -1.0603693723678589, -0.2021673172712326, 0.3880211412906647, -0.0027170428074896336, -0.9737160205841064, -0.6717775464057...
func EncodeGrpcRespMetricsQueryResponse(ctx context.Context, response interface{}) (interface{}, error) { return response, nil }
[ 0.7274436950683594, -0.592818558216095, -0.11237726360559464, 0.0033843109849840403, 0.6127684116363525, 0.8577143549919128, 0.6398792266845703, -1.0359039306640625, -0.09437064081430435, 0.11842525005340576, 0.47159743309020996, -0.028537491336464882, -1.4805060625076294, -0.5157460570335...
func DecodeGrpcRespMetricsQueryResponse(ctx context.Context, response interface{}) (interface{}, error) { return response, nil }
[ 0.5061208009719849, -0.592829704284668, -0.014801153913140297, -0.28222209215164185, 0.4957163631916046, 0.28408950567245483, 0.6665703654289246, -0.8839542865753174, -0.4342319965362549, -0.15651851892471313, 0.2470909059047699, -0.26325416564941406, -1.4539109468460083, -0.68161004781723...
func EncodeGrpcReqMetricsQueryResult(ctx context.Context, request interface{}) (interface{}, error) { req := request.(*MetricsQueryResult) return req, nil }
[ -0.6308489441871643, 0.15149924159049988, 0.17508624494075775, 0.5391367077827454, 0.22278395295143127, 0.8101374506950378, 0.5406883358955383, -1.3136327266693115, -1.045073390007019, -0.00004543695104075596, 0.3972257673740387, 0.3224634826183319, -0.8644903898239136, -0.2789976000785827...
func DecodeGrpcReqMetricsQueryResult(ctx context.Context, request interface{}) (interface{}, error) { req := request.(*MetricsQueryResult) return req, nil }
[ -0.8604586124420166, 0.1460239142179489, 0.22767911851406097, 0.19536444544792175, 0.08222738653421402, 0.012740788981318474, 0.6527027487754822, -0.922391414642334, -1.4251381158828735, -0.4326174855232239, 0.2745363414287567, 0.038451120257377625, -0.9234843254089355, -0.6166716814041138...
func EncodeGrpcRespMetricsQueryResult(ctx context.Context, response interface{}) (interface{}, error) { return response, nil }
[ 1.0318814516067505, -0.31732484698295593, 0.03858190402388573, 0.010125383734703064, 0.35513004660606384, 0.8987718820571899, 0.681921660900116, -1.159023642539978, -0.05564386770129204, -0.12674634158611298, 0.4460013508796692, -0.08359353244304657, -1.3983817100524902, -0.527999162673950...
func DecodeGrpcRespMetricsQueryResult(ctx context.Context, response interface{}) (interface{}, error) { return response, nil }
[ 0.8102796673774719, -0.27677297592163086, 0.13486981391906738, -0.353675901889801, 0.28701379895210266, 0.22525285184383392, 0.7513403296470642, -1.0183101892471313, -0.4329892098903656, -0.402270644903183, 0.15802517533302307, -0.2613857686519623, -1.4431997537612915, -0.7168053984642029,...
func EncodeGrpcReqMetricsQuerySpec(ctx context.Context, request interface{}) (interface{}, error) { req := request.(*MetricsQuerySpec) return req, nil }
[ -0.6710304021835327, 0.08169935643672943, 0.35745739936828613, 0.4460088908672333, 0.2402019202709198, 0.9739867448806763, 0.5875370502471924, -0.7850042581558228, -1.5447853803634644, 0.11485859006643295, 0.6874312162399292, 1.2757890224456787, -0.3437417447566986, -0.019741566851735115, ...
func DecodeGrpcReqMetricsQuerySpec(ctx context.Context, request interface{}) (interface{}, error) { req := request.(*MetricsQuerySpec) return req, nil }
[ -0.7229974865913391, 0.016604365780949593, 0.3740077614784241, 0.08121069520711899, 0.20670025050640106, 0.2864508330821991, 0.7042593955993652, -0.4332426190376282, -1.7946141958236694, -0.2282004952430725, 0.6106470823287964, 0.9180050492286682, -0.23349837958812714, -0.3302702307701111,...
func EncodeGrpcRespMetricsQuerySpec(ctx context.Context, response interface{}) (interface{}, error) { return response, nil }
[ 1.0020217895507812, -0.4815300405025482, 0.17183299362659454, -0.1669851690530777, 0.5130918622016907, 0.9016141891479492, 0.9562754034996033, -0.761505126953125, -0.5397322773933411, -0.13743987679481506, 0.632275402545929, 0.7088697552680969, -0.8194028735160828, -0.33808577060699463, ...
func DecodeGrpcRespMetricsQuerySpec(ctx context.Context, response interface{}) (interface{}, error) { return response, nil }
[ 0.9072044491767883, -0.4020853638648987, 0.2211822271347046, -0.5417371988296509, 0.5254859328269958, 0.33947452902793884, 1.0353506803512573, -0.6354808211326599, -0.8403278589248657, -0.387198269367218, 0.4331374168395996, 0.45811349153518677, -0.7167696356773376, -0.5162163972854614, ...
func EncodeGrpcReqPaginationSpec(ctx context.Context, request interface{}) (interface{}, error) { req := request.(*PaginationSpec) return req, nil }
[ -1.16070556640625, -0.08395237475633621, 0.5491056442260742, 0.43547719717025757, 0.18377891182899475, 0.2991139590740204, 0.7019373774528503, -0.25601279735565186, -0.45440658926963806, 0.10624851286411285, 0.5518947839736938, 0.5963195562362671, 0.0028658134397119284, 0.6361328363418579,...
func DecodeGrpcReqPaginationSpec(ctx context.Context, request interface{}) (interface{}, error) { req := request.(*PaginationSpec) return req, nil }
[ -1.0690648555755615, -0.20292681455612183, 0.5389593243598938, 0.14938002824783325, 0.16525016725063324, -0.363655149936676, 0.8376696705818176, -0.00811831559985876, -0.709915041923523, -0.20900651812553406, 0.4674535095691681, 0.36294910311698914, 0.15451371669769287, 0.2050275355577469,...
func EncodeGrpcRespPaginationSpec(ctx context.Context, response interface{}) (interface{}, error) { return response, nil }
[ 0.12526914477348328, -0.5866329073905945, 0.37752795219421387, 0.22443410754203796, 0.4364730417728424, 0.2266779989004135, 1.0841319561004639, -0.49163246154785156, -0.07147245854139328, -0.1741575449705124, 0.3517681956291199, -0.3114515244960785, -0.3769856095314026, 0.3432122766971588,...
func DecodeGrpcRespPaginationSpec(ctx context.Context, response interface{}) (interface{}, error) { return response, nil }
[ 0.1360456347465515, -0.5339118838310242, 0.43757036328315735, -0.10859987884759903, 0.47978171706199646, -0.33982905745506287, 1.1767170429229736, -0.38526877760887146, -0.30958008766174316, -0.37592583894729614, 0.05782589316368103, -0.47371137142181396, -0.1812063753604889, 0.04532185941...
func EncodeGrpcReqResultSeries(ctx context.Context, request interface{}) (interface{}, error) { req := request.(*ResultSeries) return req, nil }
[ -1.823202133178711, 0.07448434829711914, 0.10919874161481857, 0.4546889364719391, 0.2167043685913086, 0.6222440004348755, -0.08827152103185654, -1.4835070371627808, -0.32732561230659485, -0.6816067099571228, 0.25175583362579346, 0.7749063968658447, -0.9312289357185364, 0.11242474615573883,...
func DecodeGrpcReqResultSeries(ctx context.Context, request interface{}) (interface{}, error) { req := request.(*ResultSeries) return req, nil }
[ -1.975272536277771, -0.0905623584985733, 0.21090726554393768, 0.16623564064502716, 0.06305056065320969, -0.1553567796945572, 0.03343559801578522, -1.104550838470459, -0.49016162753105164, -0.9878143072128296, 0.07729780673980713, 0.45298251509666443, -0.880490243434906, -0.1357171088457107...
func EncodeGrpcRespResultSeries(ctx context.Context, response interface{}) (interface{}, error) { return response, nil }
[ -0.8947724103927612, -0.2794995903968811, 0.018566614016890526, 0.0036940511781722307, 0.6152812242507935, 0.7558298110961914, 0.5598508715629578, -1.112931728363037, 0.6805813908576965, -0.23056873679161072, -0.2598939836025238, 0.23970003426074982, -1.4732474088668823, -0.191497385501861...
func DecodeGrpcRespResultSeries(ctx context.Context, response interface{}) (interface{}, error) { return response, nil }
[ -1.0114374160766602, -0.4362613260746002, 0.19283340871334076, -0.2715246081352234, 0.6201711297035217, 0.00932363886386156, 0.6243834495544434, -0.9105097055435181, 0.49578991532325745, -0.5627700090408325, -0.6202460527420044, -0.019152743741869926, -1.339077353477478, -0.457200288772583...
func OpenAWS(dataFolder string, ttl time.Duration) (*awsStorage, error) { var prefix string parts := strings.SplitN(dataFolder, "/", 2) bucket := parts[0] if len(parts) > 1 { prefix = parts[1] if !strings.HasSuffix(prefix, "/") { prefix += "/" } } cfg, err := external.LoadDefaultAWSConfig() if err != ...
[ -0.7491737604141235, 0.41928529739379883, 0.671859860420227, -0.9854480624198914, -1.3460438251495361, 0.03742596134543419, 0.041151851415634155, 0.07240313291549683, 0.49596959352493286, -0.003497268306091428, 0.16262204945087433, 0.30558112263679504, 0.6675000786781311, -0.17508332431316...
func (s *awsStorage) CreateFile(key, filename, ctype string, size int64, hash []byte) error { return s.upsertInfo(key, &info{Name: filename, ContentType: ctype, Length: size, Hash: toHex(hash[:])}, true) }
[ 0.816856861114502, 0.4004071354866028, 0.3648509681224823, -0.08879419416189194, 0.6298399567604065, 0.6539223790168762, -0.3720492422580719, 0.14963556826114655, -0.62837815284729, 0.19482214748859406, -0.4456970989704132, -1.3801931142807007, -0.18286289274692535, -0.1706606149673462, ...
func (s *awsStorage) WriteAt(key string, pos int64, data []byte) (int64, error) { if pos < 0 { return InvalidPos, ErrInvalidPos } nblocks, rest := len(data)/BlockSize, len(data)%BlockSize startBlock, rr := int(pos/BlockSize), int(pos%BlockSize) if rr != 0 { log.Println(key, "pos", pos, "block", startBlock, "r...
[ -0.6072413325309753, -1.3412344455718994, 0.9875028729438782, -0.8471937775611877, -0.4527217745780945, -0.18522325158119202, 0.00922028161585331, -0.5675281286239624, -0.7726564407348633, -0.01707145944237709, -0.21530641615390778, -0.06801936030387878, -0.27345529198646545, 0.35709351301...
func (s *awsStorage) Scan(start string) error { dbReq := s.db.ScanRequest(&dynamodb.ScanInput{ TableName: aws.String(s.bucket), Select: dynamodb.SelectAllAttributes, }) dbPaginate := dynamodb.NewScanPaginator(dbReq) var records []struct { Id string Value string TTL int64 } fmt.Println("Record...
[ -0.3048627972602844, -0.30769121646881104, 0.9369405508041382, -0.3886832594871521, -0.7963442206382751, -0.5128346085548401, 0.406046599149704, 0.18769359588623047, -0.24297526478767395, 0.09888263046741486, -0.3468664288520813, 0.13363274931907654, 0.7891529202461243, 0.2539988160133362,...
func Install(context Context, binPath string, sourcePath string, components []string, force bool, timeout time.Duration, log Log) keybase1.InstallResult { return keybase1.InstallResult{} }
[ -0.876733660697937, -0.20502327382564545, 0.27290472388267517, 0.8262169361114502, -0.04639215022325516, 0.0024878131225705147, -0.23155884444713593, -0.016265099868178368, -0.4059247374534607, 0.9788452386856079, -0.8155468106269836, -0.28368693590164185, -1.6006237268447876, -0.141876637...
func Uninstall(context Context, components []string, log Log) keybase1.UninstallResult { return keybase1.UninstallResult{} }
[ 0.006223585922271013, -0.1417645514011383, 0.4341583251953125, 0.48624882102012634, -0.4216900169849396, -0.6549468636512756, 0.2526087760925293, 0.5666194558143616, 0.2240857034921646, 0.27836623787879944, -0.2838311493396759, -0.18920621275901794, -0.9827916026115417, -0.7238295674324036...
func (d Device) String() string { if !d.Changed { return "" } return fmt.Sprintf("%+v", d.Device) }
[ -0.5458199381828308, 0.10644673556089401, 0.2131878286600113, 0.1935075968503952, -0.6706869602203369, 0.6057934761047363, 0.5643276572227478, -1.2765929698944092, 0.15969303250312805, -0.14610137045383453, 1.0238027572631836, 1.0685665607452393, 0.1338845044374466, 0.16904054582118988, ...
func (d *Device) Set(s string) error { d.Changed = true rec, err := csv.NewReader(strings.NewReader(s)).Read() if err != nil { return err } for _, v := range rec { vs := strings.Split(v, "=") val := vs[1] switch vs[0] { case "id": d.ID = val case "name": d.Name = val case "platformName": d...
[ -1.0249443054199219, -0.29682645201683044, 0.4540165662765503, -0.49731388688087463, -0.42839738726615906, -0.20495589077472687, -0.3082362115383148, -0.09509355574846268, -0.8824388980865479, 0.0899491161108017, -0.16637586057186127, 0.6102877855300903, 0.1428687423467636, 0.3137564957141...
func (d Device) Type() string { return "device" }
[ -0.7590327262878418, 1.0194735527038574, 0.19122576713562012, 0.7122597694396973, 0.12805238366127014, 0.9765841960906982, 1.1853792667388916, -0.7852158546447754, 0.6184663772583008, -0.8515341281890869, 0.5698117017745972, 0.31825900077819824, 0.06138608977198601, 0.8879835605621338, 0...
func (discord *Discord) handleConnect(session *discordgo.Session, event *discordgo.Connect) { discord.logger.Trace("Discord event: connect") discord.IsReady = true }
[ 0.07783178985118866, 0.4657168388366699, 0.7477790713310242, -0.8448611497879028, 0.44972461462020874, -0.0746941938996315, -0.8040451407432556, -0.25052201747894287, -0.3771202266216278, 0.9795872569084167, -0.8141101598739624, 0.47568783164024353, 0.15808792412281036, 0.28265565633773804...
func (g Undirect) Node(id int64) Node { return g.G.Node(id) }
[ -1.110910415649414, -0.1282457858324051, 0.1592961549758911, -0.23837816715240479, -0.20874665677547455, 0.6455267071723938, -0.07628791779279709, 0.21765996515750885, 0.9496921300888062, -0.20594270527362823, 0.2855076491832733, 0.6511871814727783, 0.6530808806419373, -0.04973869770765304...
func (g Undirect) Nodes() Nodes { return g.G.Nodes() }
[ -1.107830286026001, 0.02406313829123974, 0.08702198415994644, -1.0310362577438354, 0.5477755069732666, 0.833340585231781, 0.4704611301422119, 0.17412169277668, -0.1581253558397293, -0.6572648882865906, -0.10382723808288574, 0.7370945811271667, 0.4209737181663513, -0.3831782042980194, -1....
func (g Undirect) From(uid int64) Nodes { if g.G.Node(uid) == nil { return Empty } return newNodeIteratorPair(g.G.From(uid), g.G.To(uid)) }
[ -1.2187005281448364, 0.3453080356121063, 0.3594927191734314, -0.5614016056060791, -1.011331558227539, 0.23594394326210022, 0.6964800953865051, -0.2291789948940277, 0.5410070419311523, -0.194128155708313, 0.4333498775959015, 0.8986423015594482, 0.3154749274253845, -0.3320540189743042, -1....
func (g Undirect) HasEdgeBetween(xid, yid int64) bool { return g.G.HasEdgeBetween(xid, yid) }
[ 0.07744204998016357, -0.7409762144088745, 0.7338345646858215, 0.06725509464740753, 0.32734641432762146, 0.24333122372627258, -0.8456032276153564, -0.45978227257728577, -0.3294283449649811, -0.5153512954711914, -0.13384948670864105, 0.10877130180597305, -0.3708944022655487, 0.03994947299361...
func (g Undirect) Edge(uid, vid int64) Edge { return g.EdgeBetween(uid, vid) }
[ -0.3588225245475769, -0.7655261754989624, 0.2728615701198578, 0.6935701370239258, -0.007893451489508152, 0.634994626045227, 0.13123251497745514, -0.33183082938194275, 0.5059078931808472, -0.40255722403526306, 0.6549152731895447, 1.3330057859420776, -0.9946792721748352, -0.03138128668069839...
func (g Undirect) EdgeBetween(xid, yid int64) Edge { fe := g.G.Edge(xid, yid) re := g.G.Edge(yid, xid) if fe == nil && re == nil { return nil } return EdgePair{fe, re} }
[ -0.18779891729354858, -1.1262495517730713, 0.701373279094696, -0.07159417867660522, 0.3424805998802185, -0.2799605429172516, -1.125110387802124, -0.27765315771102905, 0.17329011857509613, -0.13012686371803284, 0.4736241102218628, 0.12823769450187683, -0.8785222172737122, -0.418240666389465...
func (g UndirectWeighted) Node(id int64) Node { return g.G.Node(id) }
[ -0.34488072991371155, -0.3695065677165985, 0.16930033266544342, -0.20165959000587463, -0.10948638617992401, 0.8413066267967224, -0.07671835273504257, -0.154051274061203, 0.8179239630699158, -0.06777100265026093, 0.4003100097179413, 0.36520448327064514, 0.34518808126449585, 0.18351997435092...
func (g UndirectWeighted) Nodes() Nodes { return g.G.Nodes() }
[ -0.4312986731529236, -0.34581249952316284, 0.1425669640302658, -1.0315114259719849, 0.6781112551689148, 1.0079967975616455, 0.5272231101989746, -0.3098211884498596, -0.22476041316986084, -0.5368479490280151, -0.043363794684410095, 0.5388509035110474, 0.017327621579170227, 0.037984140217304...
func (g UndirectWeighted) From(uid int64) Nodes { if g.G.Node(uid) == nil { return Empty } return newNodeIteratorPair(g.G.From(uid), g.G.To(uid)) }
[ -0.8362820744514465, 0.20554164052009583, 0.35595566034317017, -0.5052320957183838, -1.0041801929473877, 0.3826632797718048, 0.6610385179519653, -0.45295092463493347, 0.45504486560821533, -0.11378543823957443, 0.5888017416000366, 0.8140568137168884, 0.06428279727697372, -0.1298829019069671...
func (g UndirectWeighted) HasEdgeBetween(xid, yid int64) bool { return g.G.HasEdgeBetween(xid, yid) }
[ 0.4199792742729187, -0.8477696776390076, 0.7742570638656616, 0.1389109045267105, 0.2988011837005615, 0.3226783871650696, -0.9647454619407654, -0.6829269528388977, -0.45373985171318054, -0.3789633810520172, 0.005352644249796867, 0.07283277809619904, -0.43454140424728394, 0.25469663739204407...
func (g UndirectWeighted) Edge(uid, vid int64) Edge { return g.WeightedEdgeBetween(uid, vid) }
[ 0.2858346700668335, -0.881583571434021, 0.3198135793209076, 0.692717432975769, -0.12264935672283173, 0.8419395089149475, 0.20376360416412354, -0.49197161197662354, 0.2946094274520874, -0.11984047293663025, 0.9024417400360107, 0.9717584848403931, -1.2398500442504883, 0.3471691310405731, -...
func (g UndirectWeighted) WeightedEdge(uid, vid int64) WeightedEdge { return g.WeightedEdgeBetween(uid, vid) }
[ 0.590126097202301, -0.6661831736564636, 0.35733088850975037, 0.5437431931495667, -0.4454811215400696, 0.5775217413902283, 0.32335421442985535, -0.2736957371234894, -0.2701065242290497, 0.014710607938468456, 0.6321023106575012, 1.083713412284851, -1.3496392965316772, 0.3155015707015991, -...
func (g UndirectWeighted) EdgeBetween(xid, yid int64) Edge { return g.WeightedEdgeBetween(xid, yid) }
[ 0.4365169107913971, -1.3982340097427368, 0.5540163516998291, -0.000053737217967864126, -0.022457553073763847, 0.48323139548301697, -0.9928553104400635, -0.7165011763572693, -0.29114001989364624, 0.021318765357136726, 0.8482757806777954, 0.28687041997909546, -0.6619637608528137, -0.04001956...
func (g UndirectWeighted) WeightedEdgeBetween(xid, yid int64) WeightedEdge { fe := g.G.Edge(xid, yid) re := g.G.Edge(yid, xid) if fe == nil && re == nil { return nil } f, ok := g.G.Weight(xid, yid) if !ok { f = g.Absent } r, ok := g.G.Weight(yid, xid) if !ok { r = g.Absent } var w float64 if g.Merge...
[ 0.6519438624382019, -0.8710078597068787, 0.8532496094703674, -0.16897228360176086, -0.27827540040016174, -0.08723404258489609, -0.8452546000480652, -0.5119063854217529, -0.31496793031692505, 0.2958485186100006, 0.6705523133277893, 0.049829691648483276, -1.0630630254745483, 0.04534128308296...
func (g UndirectWeighted) Weight(xid, yid int64) (w float64, ok bool) { fe := g.G.Edge(xid, yid) re := g.G.Edge(yid, xid) f, fOk := g.G.Weight(xid, yid) if !fOk { f = g.Absent } r, rOK := g.G.Weight(yid, xid) if !rOK { r = g.Absent } ok = fOk || rOK if g.Merge == nil { return (f + r) / 2, ok } retur...
[ -0.15930941700935364, 0.057434141635894775, 0.8369871377944946, -0.009094897657632828, -0.031200017780065536, 0.25853538513183594, 0.2911355793476105, -0.22845783829689026, 0.052810609340667725, 0.5677452087402344, 0.24754199385643005, -0.45304757356643677, -0.36898407340049744, -0.0655814...
func (e EdgePair) From() Node { if e[0] != nil { return e[0].From() } else if e[1] != nil { return e[1].From() } return nil }
[ -0.5215029120445251, -0.143626406788826, 0.6428188681602478, -0.45342350006103516, -0.07373090088367462, -0.12190315872430801, -0.19057539105415344, 0.3920341432094574, 0.5751546621322632, 0.24225640296936035, 0.9105081558227539, 0.07027415186166763, 0.27451983094215393, -0.187468096613883...
func (e EdgePair) To() Node { if e[0] != nil { return e[0].To() } else if e[1] != nil { return e[1].To() } return nil }
[ -1.2812377214431763, 0.5188060998916626, 0.696060061454773, -1.419825792312622, 0.945133626461029, -0.7104561924934387, -0.014941330999135971, 0.4323646128177643, 0.3135572373867035, 0.6096230745315552, 0.11655039340257645, 0.35342246294021606, 0.10828179121017456, -0.541569173336029, -0...
func (e EdgePair) ReversedEdge() Edge { if e[0] != nil { e[0] = e[0].ReversedEdge() } if e[1] != nil { e[1] = e[1].ReversedEdge() } return e }
[ -0.39493393898010254, 0.12176782637834549, 0.8068475723266602, -0.06422974914312363, 0.9706018567085266, -0.24762167036533356, -0.8809957504272461, 1.4338645935058594, 0.13542096316814423, 0.19896745681762695, 0.6480310559272766, 0.1407575160264969, -0.732620120048523, 0.3241817057132721, ...
func (e WeightedEdgePair) ReversedEdge() Edge { e.EdgePair = e.EdgePair.ReversedEdge().(EdgePair) return e }
[ -0.15869265794754028, -0.09642487019300461, 0.5446078777313232, -0.09790892153978348, 0.5482875108718872, 0.6253455281257629, -0.6098708510398865, 1.3127187490463257, 0.007404130883514881, -0.020140672102570534, 0.807449996471405, -0.09149295836687088, -1.22215735912323, 0.1410260647535324...
func (e WeightedEdgePair) Weight() float64 { return e.W }
[ -0.6623870730400085, -0.15528613328933716, 0.5062565207481384, 0.2752130627632141, -0.22385559976100922, 0.73045414686203, 1.4232734441757202, 0.14250969886779785, 0.029531368985772133, 0.4542553126811981, 0.5632217526435852, -0.8150356411933899, -0.8842725157737732, 0.6694430708885193, ...
func HandlerIndex(res http.ResponseWriter, req *http.Request) { http.ServeFile(res, req, "./static/index.html") }
[ -0.0025112403091043234, -0.5088347792625427, 0.4976455569267273, 0.7385548949241638, 0.557121992111206, 1.3308231830596924, 1.20897376537323, 1.3459162712097168, -1.2178151607513428, -0.3382728099822998, 0.22798247635364532, -0.2296328842639923, 0.6961862444877625, -0.5094082951545715, -...
func NewRoutes(factory *api.HandlerFactory, config *config.Config, dal *dal.DAL, scanner *provider.Scanner, providers []provider.Provider) Routes { routes := make(map[string]http.HandlerFunc) routes["/subsonic/rest/ping"] = factory.PublishHandler(handler.NewPingHandler()) routes["/subsonic/rest/getlicense"] = facto...
[ -0.36519765853881836, -0.10007289052009583, 0.5669936537742615, 0.582130491733551, 0.09679574519395828, 0.20242732763290405, 0.3285468816757202, 0.28418436646461487, 0.24337773025035858, -0.9041484594345093, -0.14172852039337158, 0.24214573204517365, 0.5182325839996338, 0.07269278913736343...
func NewAPI(log logrus.FieldLogger, resources map[string]Resource) *grpc.Server { opts := []grpc.ServerOption{ // By default the Go grpc library defaults to a value of ~100 streams per // connection. This number is likely derived from the HTTP/2 spec: // https://http2.github.io/http2-spec/#SettingValues // We ...
[ 0.1751146912574768, 0.731949508190155, 0.653624415397644, -0.5826858878135681, 0.09308261424303055, 0.017459610477089882, 0.06929890811443329, -0.5591797232627869, 0.1848388910293579, 0.5132794976234436, 0.5241904854774475, 0.4709319472312927, -0.2858637869358063, -0.34645500779151917, -...
func NewMockInterface(ctrl *gomock.Controller) *MockInterface { mock := &MockInterface{ctrl: ctrl} mock.recorder = &MockInterfaceMockRecorder{mock} return mock }
[ 0.03624431788921356, 0.14010052382946014, 0.29358938336372375, 0.40011680126190186, 0.31651443243026733, 0.13172577321529388, 0.7229273915290833, -0.48795658349990845, 0.16990791261196136, 0.5501270890235901, -0.6712107062339783, -0.7452684044837952, -1.5212132930755615, 0.945088803768158,...
func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder { return m.recorder }
[ 0.10692603886127472, 0.40569788217544556, 0.42252954840660095, 0.2176692932844162, 0.22204992175102234, 0.4638596773147583, 0.7718325257301331, -0.4018505811691284, 0.25822633504867554, -0.16622744500637054, 0.756183385848999, 0.1652585119009018, -1.4024773836135864, 0.6500271558761597, ...
func (m *MockInterface) AppendRule(arg0 iptables.Protocol, arg1, arg2 string, arg3 []string) error { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "AppendRule", arg0, arg1, arg2, arg3) ret0, _ := ret[0].(error) return ret0 }
[ 0.33436617255210876, 0.7631499767303467, 0.5022292137145996, -0.5102121233940125, 1.2754566669464111, 0.8233235478401184, -0.10607873648405075, 0.5228392481803894, -1.3982197046279907, -0.6027796268463135, 0.30007731914520264, -1.1637487411499023, -1.695070505142212, 1.6599189043045044, ...
func (mr *MockInterfaceMockRecorder) AppendRule(arg0, arg1, arg2, arg3 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AppendRule", reflect.TypeOf((*MockInterface)(nil).AppendRule), arg0, arg1, arg2, arg3) }
[ 0.6745915412902832, 1.1156399250030518, 0.37253156304359436, -0.6064847111701965, 0.4660332202911377, 0.6347724795341492, -0.6806308627128601, -0.4060801565647125, -0.23943758010864258, -0.07393921166658401, 0.9730081558227539, -0.23492813110351562, -1.7241131067276, 1.4766379594802856, ...
func (m *MockInterface) ChainExists(arg0 iptables.Protocol, arg1, arg2 string) (bool, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "ChainExists", arg0, arg1, arg2) ret0, _ := ret[0].(bool) ret1, _ := ret[1].(error) return ret0, ret1 }
[ -1.2233790159225464, -0.42493462562561035, 0.5365812182426453, -0.14017179608345032, 1.3014326095581055, 0.3887042999267578, 0.1889449506998062, 0.018384505063295364, -1.7209246158599854, -0.25412610173225403, -0.9136515259742737, -0.124997079372406, -0.7721744775772095, 0.4992849230766296...
func (mr *MockInterfaceMockRecorder) ChainExists(arg0, arg1, arg2 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ChainExists", reflect.TypeOf((*MockInterface)(nil).ChainExists), arg0, arg1, arg2) }
[ -0.5748894810676575, -0.13625654578208923, 0.2528609037399292, -0.018946204334497452, 0.9173649549484253, 0.035541459918022156, -0.8796826004981995, -0.9271278381347656, -0.33841967582702637, 0.3525048494338989, 0.2991659641265869, 0.8509908318519592, -1.1971285343170166, 0.863655507564544...
func (m *MockInterface) DeleteChain(arg0 iptables.Protocol, arg1, arg2 string) error { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "DeleteChain", arg0, arg1, arg2) ret0, _ := ret[0].(error) return ret0 }
[ -0.9801770448684692, -0.16234345734119415, 0.3248460590839386, 0.3008340001106262, 1.124701738357544, 0.5632786750793457, 0.8569499254226685, -0.3113536536693573, -0.9915516972541809, -1.4293562173843384, -0.8615598082542419, 0.3349400460720062, -1.0969398021697998, 1.2773768901824951, 1...
func (mr *MockInterfaceMockRecorder) DeleteChain(arg0, arg1, arg2 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteChain", reflect.TypeOf((*MockInterface)(nil).DeleteChain), arg0, arg1, arg2) }
[ -0.3599681258201599, 0.42873385548591614, 0.22650448977947235, 0.09585960954427719, 0.16072919964790344, 0.1947041153907776, -0.4112778604030609, -0.7938148379325867, 0.2556649446487427, -0.6745086312294006, 0.38462403416633606, 1.2006282806396484, -1.1831532716751099, 1.3480896949768066, ...
func (m *MockInterface) DeleteRule(arg0 iptables.Protocol, arg1, arg2 string, arg3 []string) error { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "DeleteRule", arg0, arg1, arg2, arg3) ret0, _ := ret[0].(error) return ret0 }
[ -0.5374133586883545, 0.40111038088798523, 0.4225579500198364, -0.23291683197021484, 1.420143961906433, 0.9020533561706543, 0.455608606338501, 0.15686483681201935, -1.1325792074203491, -0.747316837310791, 0.01897129788994789, -0.15461431443691254, -1.5915871858596802, 1.0540982484817505, ...
func (mr *MockInterfaceMockRecorder) DeleteRule(arg0, arg1, arg2, arg3 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteRule", reflect.TypeOf((*MockInterface)(nil).DeleteRule), arg0, arg1, arg2, arg3) }
[ -0.26825541257858276, 0.9007022976875305, 0.4670480489730835, -0.15126940608024597, 0.41810065507888794, 0.6318755149841309, -0.3486214578151703, -0.6344700455665588, 0.0965561494231224, -0.10318934917449951, 0.9703976511955261, 0.5790702104568481, -1.7855429649353027, 1.0103615522384644, ...
func (m *MockInterface) EnsureChain(arg0 iptables.Protocol, arg1, arg2 string) error { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "EnsureChain", arg0, arg1, arg2) ret0, _ := ret[0].(error) return ret0 }
[ -0.748489260673523, -0.23555362224578857, 0.3994053900241852, 0.5752859711647034, 1.3071174621582031, 0.8395017385482788, 0.4321947991847992, -0.4412006735801697, -1.1392427682876587, -0.6538327932357788, -1.0231226682662964, -0.1410001665353775, -0.8724643588066101, 0.784052848815918, 0...
func (mr *MockInterfaceMockRecorder) EnsureChain(arg0, arg1, arg2 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "EnsureChain", reflect.TypeOf((*MockInterface)(nil).EnsureChain), arg0, arg1, arg2) }
[ 0.16430333256721497, 0.4449356198310852, 0.3529723882675171, 0.335379958152771, 0.5961499810218811, 0.7865608334541321, -0.5792081356048584, -0.9147064089775085, 0.13138778507709503, 0.23257708549499512, 0.13469886779785156, 0.4807545244693756, -0.9953354001045227, 0.9918462634086609, 0....
func (m *MockInterface) InsertRule(arg0 iptables.Protocol, arg1, arg2 string, arg3 []string) error { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "InsertRule", arg0, arg1, arg2, arg3) ret0, _ := ret[0].(error) return ret0 }
[ -0.03887839615345001, 1.0371220111846924, 0.46372199058532715, 0.022149479016661644, 1.981614112854004, 1.3950034379959106, 0.6641048789024353, 1.0316131114959717, -1.8032808303833008, -0.31534695625305176, -0.06683420389890671, -0.8242270946502686, -2.248769760131836, 1.2279270887374878, ...
func (mr *MockInterfaceMockRecorder) InsertRule(arg0, arg1, arg2, arg3 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "InsertRule", reflect.TypeOf((*MockInterface)(nil).InsertRule), arg0, arg1, arg2, arg3) }
[ 0.2686936557292938, 1.4414374828338623, 0.23041477799415588, -0.2580980956554413, 1.0880542993545532, 1.3041900396347046, -0.005026578903198242, 0.15579408407211304, -0.34332212805747986, 0.057847313582897186, 0.7932484149932861, -0.26796063780784607, -2.598961353302002, 1.2759556770324707...