text
stringlengths
11
6.3k
embedding
listlengths
768
768
func (ft *vpclogsFlowTransformer) setDirection(v *VpclogsFlow) { ipAddrList, _ := ft.TIDtoIP(v.Flow.NodeTID) for _, s := range ipAddrList { if s == v.InitiatorIp { v.Direction = VpcDirectionOutbound return } if s == v.TargetIp { v.Direction = VpcDirectionInbound return } } v.Direction = VpcDirec...
[ -0.76058030128479, -0.30837395787239075, 0.2502562999725342, -0.2701812982559204, 0.9282711148262024, 0.17455199360847473, 0.4896456301212311, 0.1922009289264679, 0.00547600956633687, -0.5481792092323303, -0.1305457204580307, 0.8742238283157349, -0.30289095640182495, 0.21820604801177979, ...
func (v *VpclogsFlow) SetAction(action string) { v.Action = action }
[ 0.8094543218612671, -0.10524890571832657, 0.013070492073893547, 0.4707861840724945, 0.8277078866958618, 0.6777684092521667, 0.42651593685150146, 0.22000747919082642, 0.7095426917076111, -0.09664463996887207, -0.8598832488059998, 0.9793186783790588, -0.35483691096305847, 0.4955788552761078,...
func (v *VpclogsFlow) DeriveExternalizedFields() { v.StartTime = time.Unix(v.LastUpdateMetric.Start/1000, 0).UTC().Format(time.RFC3339) v.EndTime = time.Unix(v.LastUpdateMetric.Last/1000, 0).UTC().Format(time.RFC3339) // In the meantime, EtherType is hard-coded v.EtherType = "IPv4" v.ConnectionStartTime = time.Uni...
[ 0.08157582581043243, 0.35125941038131714, 0.840636134147644, -1.0025222301483154, 0.24116457998752594, 0.4630003571510315, -0.01831439882516861, -0.5119185447692871, -0.2750457525253296, -0.17078427970409393, -1.1333166360855103, 0.22387227416038513, -0.5406720638275146, 0.0102321719750761...
func (ft *vpclogsFlowTransformer) Transform(f *flow.Flow) interface{} { // flows of type ARP are ignored if f.Transport == nil { return nil } v := &VpclogsFlow{ Flow: f, Protocol: f.Transport.Protocol.String(), LastUpdateMetric: f.LastUpdateMetric, Metric: f.Metric, Initia...
[ 0.11097871512174606, -0.21390172839164734, 0.587523877620697, -0.5333850979804993, 0.11815790832042694, -0.1679408997297287, 0.8763960003852844, -0.00009778199455467984, 0.06521064043045044, -0.6984512209892273, 0.15915484726428986, 0.36786413192749023, -0.10440193861722946, 0.270701318979...
func NewPostgresContainer( ctx context.Context, cfg PostgresConfig, dockerNetwork *DockerNetwork, ) (Container, error) { return NewGenericContainer(ctx, cfg.BaseContainerConfig, dockerNetwork) }
[ -1.1541023254394531, -0.3001616299152374, 0.47679731249809265, 0.20657555758953094, -0.982675313949585, -0.13380496203899384, -0.0035454242024570704, -0.5146659016609192, -0.9205642342567444, -0.1509069800376892, -0.08348274230957031, -0.39047080278396606, -0.3740558326244354, 0.9307590723...
func (o *GetClusterClusterIDBackupsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) { switch response.Code() { case 200: result := NewGetClusterClusterIDBackupsOK() if err := result.readResponse(response, consumer, o.formats); err != nil { return nil, err ...
[ 0.0029360635671764612, -0.16911323368549347, 0.7448896169662476, 0.7207788825035095, 0.5393088459968567, -1.238909125328064, 0.7455754280090332, -0.6236977577209473, 0.2444036453962326, 0.47695672512054443, 0.48229631781578064, -1.1233375072479248, -1.1657615900039673, -0.8616626858711243,...
func NewGetClusterClusterIDBackupsOK() *GetClusterClusterIDBackupsOK { return &GetClusterClusterIDBackupsOK{} }
[ 0.6086535453796387, 0.18527832627296448, 0.47076764702796936, 1.1362433433532715, -0.282637357711792, -0.8004851937294006, 0.3189131021499634, -0.09173817187547684, -0.31734222173690796, 0.35203778743743896, -1.0818965435028076, -0.7681633234024048, -0.5094648599624634, -1.2910962104797363...
func NewGetClusterClusterIDBackupsDefault(code int) *GetClusterClusterIDBackupsDefault { return &GetClusterClusterIDBackupsDefault{ _statusCode: code, } }
[ 1.0354539155960083, 0.7428229451179504, 0.5883926153182983, 1.1050008535385132, 1.2627732753753662, -0.5676946043968201, 0.24366922676563263, 0.46588411927223206, 0.1358451098203659, 0.16619707643985748, -0.680635392665863, -0.6899609565734863, -1.326320767402649, -1.2245620489120483, 0....
func (o *GetClusterClusterIDBackupsDefault) Code() int { return o._statusCode }
[ 0.5710643529891968, 1.0548661947250366, 0.37224724888801575, 1.2955043315887451, 1.2293506860733032, -0.605222225189209, 0.21558010578155518, 0.377797931432724, -0.42454084753990173, 0.4453555941581726, -0.3644348382949829, -0.7093984484672546, -1.0515918731689453, -0.5428483486175537, 0...
func (m MongoConfig) Connect(collectionName string) (*mongo.Client, *mongo.Collection, error) { // Set client options clientOptions := options. Client(). ApplyURI(fmt.Sprintf("mongodb://%s:%s@%s/%s", m.User, m.Pass, m.Host, m.Database)) client, err := mongo.NewClient(clientOptions) if err != nil { return ni...
[ -0.5379031300544739, -0.634903609752655, 0.7937942743301392, -0.1964792013168335, -0.4114325940608978, 0.7586722373962402, -0.6037964820861816, -0.5774157643318176, -0.9203404784202576, 1.1997007131576538, -0.5298123955726624, 0.33001232147216797, -0.7220141887664795, 0.693992555141449, ...
func (m MongoClient) FindOne(ctx context.Context, filter interface{}, data interface{}) error { return m.Conn.FindOne(ctx, filter).Decode(data) }
[ -0.2976960241794586, 0.670684814453125, 0.44497302174568176, 0.3485305905342102, -0.06548670679330826, -0.20387721061706543, -0.6450775861740112, -0.34285423159599304, -0.6755350232124329, 0.1518712192773819, -0.4272806644439697, 0.7381719350814819, -1.595333218574524, -0.05757473409175873...
func (m MongoClient) InsertOne(ctx context.Context, data interface{}) (interface{}, error) { res, err := m.Conn.InsertOne(ctx, data) return res.InsertedID, err }
[ -0.782500684261322, 0.8399914503097534, 0.5212392210960388, 0.11946456879377365, 0.4512549042701721, 0.3513568043708801, 0.3530704975128174, -0.25578299164772034, -0.2572583556175232, -0.0922052338719368, -0.9519395232200623, -0.3288440406322479, -2.1882832050323486, -0.10763593018054962, ...
func (api *API) QueryContacts(params *parameters.QueryContacts) (*types.Contacts, error) { return api.queryContacts("/contacts", params) }
[ -1.2273287773132324, -0.5876084566116333, 0.2528359591960907, 0.6031751036643982, 0.5770272612571716, -0.7239662408828735, -0.024504704400897026, -1.1590874195098877, 0.2839816212654114, -0.7053971290588379, 0.18373578786849976, -0.10790280997753143, -0.8482224941253662, 0.1974985450506210...
func (api *API) QueryContactsByIDs(ids parameters.ContactIDSet, params *parameters.QueryContacts) (*types.Contacts, error) { baseURL := fmt.Sprintf("/contacts/%s", strings.Join(ids.ToSlice(), ",")) return api.queryContacts(baseURL, params) }
[ -1.1741231679916382, -0.6026747226715088, 0.054528720676898956, -0.1245330274105072, 0.18158498406410217, -1.3486806154251099, -0.12885206937789917, -1.7602275609970093, 0.14875492453575134, -0.003958006855100393, 0.16595305502414703, -0.4621080160140991, -0.8683293461799622, -0.1322463154...
func (c *Client) GetFeature(ctx context.Context) error { var ( header metadata.MD point = randPoint() ) log.Printf("[GetFeature] (req) %+v\n", point) feature, err := c.GRPC.GetFeature(ctx, point, grpc.Header(&header)) if err != nil { return err } output(APIGetFeature, header, feature) return nil }
[ -0.5059624314308167, 0.29224851727485657, 0.6138821244239807, 0.9379453659057617, 1.3258919715881348, -0.26540452241897583, 0.10676752030849457, -0.4082745909690857, 0.04257978871464729, -0.20067645609378815, -0.1737447828054428, 1.6530088186264038, -1.1166925430297852, 0.10513638705015182...
func (c *Client) ListFeatures(ctx context.Context) error { rectangle := &pb.Rectangle{ Lo: randPoint(), Hi: randPoint(), } log.Printf("[ListFeatures] (req) %+v, %+v\n", rectangle.Lo, rectangle.Hi) stream, err := c.GRPC.ListFeatures(ctx, rectangle) if err != nil { return err } for { feature, err := stre...
[ -0.6731292009353638, -0.388191282749176, 0.5800773501396179, -0.09847637265920639, 0.8292267918586731, -0.26291003823280334, -0.11604561656713486, -0.5885369777679443, 0.1741834580898285, 0.04768103361129761, -0.655389666557312, 0.8297052383422852, -0.8508242964744568, 0.32815486192703247,...
func (c *Client) RecordRoute(ctx context.Context) error { stream, err := c.GRPC.RecordRoute(ctx) if err != nil { return err } for i := 0; i < 20; i++ { point := randPoint() log.Printf("[RecordRoute] (req) %+v\n", point) if err := stream.Send(point); err != nil { return nil } } summary, err := stre...
[ -0.3385438919067383, 0.5463728904724121, 0.7839757204055786, -0.8516345620155334, 1.2236453294754028, 0.0803232342004776, 0.4003704786300659, -0.43113240599632263, -0.5614787936210632, 0.47630932927131653, 0.1673833578824997, 0.9613615870475769, -0.5868016481399536, 0.8889389038085938, 0...
func (c *Client) RouteChat(ctx context.Context) error { stream, err := c.GRPC.RouteChat(ctx) if err != nil { return err } for i := 0; i < 20; i++ { var ( point = randPoint() msg = fmt.Sprintf("[%s] ack=0 msg='message #%d'", time.Now(), i) note = &pb.RouteNote{ Location: point, Message: msg...
[ -0.38621950149536133, -0.14136569201946259, 1.103236198425293, -1.0557401180267334, 0.5432389974594116, 0.4174378216266632, 0.9529496431350708, -0.9290294051170349, -0.8138284087181091, 0.4978669285774231, 0.45543786883354187, 0.6205441951751709, -0.17260505259037018, 0.2450408786535263, ...
func (c *Conn) LocalAddr() net.Addr { // return c.conn.LocalAddr() fmt.Println("getting lcoal addr") return nil }
[ 1.2436931133270264, -1.2979644536972046, 0.4598298966884613, -0.37915128469467163, -0.5008718371391296, 0.2969265580177307, -0.3550361692905426, 0.37898001074790955, 0.05509531497955322, -0.9803863167762756, 0.482037216424942, 0.456928014755249, -0.3702334463596344, 0.0011751388665288687, ...
func (c *Conn) RemoteAddr() net.Addr { // return c.conn.RemoteAddr() fmt.Println("getting remote addr") return nil }
[ 1.0072695016860962, -1.4791021347045898, 0.64180588722229, 0.012175500392913818, -0.8966655731201172, 0.6507396697998047, -0.22329625487327576, 0.5334757566452026, 0.5945114493370056, -0.8851579427719116, 0.04788416624069214, 1.0603835582733154, -1.0863027572631836, -0.06974983215332031, ...
func (c *Conn) SetDeadline(t time.Time) error { // return c.conn.SetDeadline(t) fmt.Println("set deadline", t) return nil }
[ -0.24825583398342133, -0.6354966759681702, 0.6292130351066589, 0.5866519212722778, 0.8370781540870667, 0.6974121332168579, -0.47836628556251526, 0.3300668001174927, -0.9467624425888062, 0.07629615813493729, -1.204790472984314, -0.14844924211502075, -0.6000502109527588, 0.6958578824996948, ...
func (c *Conn) SetReadDeadline(t time.Time) error { // return c.conn.SetReadDeadline(t) fmt.Println("set read deadline", t) return nil }
[ -0.3073817789554596, -1.0134460926055908, 0.7083047032356262, 0.023461531847715378, 0.11131025850772858, 1.1092040538787842, -0.23392219841480255, -0.010762535035610199, -0.6791847944259644, 0.10456955432891846, -0.6749845743179321, 0.0654660239815712, -0.1997155249118805, 0.15920312702655...
func (c *Conn) SetWriteDeadline(t time.Time) error { // return c.conn.SetWriteDeadline(t) fmt.Println("set write deadline", t) return nil }
[ -0.8237850069999695, -1.0368937253952026, 0.5496205687522888, -0.008520910516381264, 1.4615181684494019, 0.6885539889335632, 0.030641630291938782, 0.3584679961204529, -0.8294852375984192, 0.22693465650081635, -0.9008193016052246, -0.39071834087371826, -0.6885511875152588, 0.222393602132797...
func (r *ClearNet) Dial(network, address string) (net.Conn, error) { fmt.Println("dialing beeep boop", network, address) // fmt.Println("writing", b) done := make(chan int) callback := js.FuncOf(func(this js.Value, args []js.Value) interface{} { fmt.Println("finished dialing stuff") ...
[ 0.1389516144990921, -0.12430500239133835, 0.8355863094329834, 0.1655072122812271, 0.25944849848747253, -0.3298746645450592, 0.3371331989765167, -0.3260107934474945, 0.6675276160240173, -0.25339946150779724, 0.22430643439292908, 0.320528119802475, -0.3096809685230255, 0.4285949170589447, ...
func (r *ClearNet) LookupHost(host string) ([]string, error) { return net.LookupHost(host) }
[ -0.8860675692558289, 0.5672906637191772, 0.7339246273040771, -0.03792264685034752, -0.6094558835029602, 0.3031676411628723, -1.4158310890197754, -0.5342983603477478, 0.6899811625480652, 0.7710128426551819, -0.7434434294700623, -0.39473485946655273, 0.0797622799873352, 0.5048120617866516, ...
func (r *ClearNet) LookupSRV(service, proto, name string) (string, []*net.SRV, error) { return net.LookupSRV(service, proto, name) }
[ -1.4123547077178955, 0.013842098414897919, 0.3665737211704254, 0.020725131034851074, -1.0379658937454224, -0.544580340385437, -0.8263869881629944, -0.6933082342147827, 0.45317763090133667, 0.13468037545681, -0.8345286846160889, 0.48732274770736694, 0.06227777153253555, 0.3626759946346283, ...
func (r *ClearNet) ResolveTCPAddr(network, address string) (*net.TCPAddr, error) { return net.ResolveTCPAddr(network, address) }
[ -0.07269652932882309, 0.29806917905807495, 0.30612486600875854, -0.7202746272087097, -0.4702342450618744, -0.5713317394256592, -0.6923696994781494, -0.46415767073631287, 0.3062314987182617, 0.5004273653030396, 0.4229416847229004, -1.2522765398025513, -0.24345774948596954, 0.130140006542205...
func NewServer(kubeclientset kubernetes.Interface, namespace string) *ArgoCDRepoServer { return &ArgoCDRepoServer{ ns: namespace, kubeclientset: kubeclientset, log: log.NewEntry(log.New()), } }
[ -0.43328648805618286, -0.01573011465370655, 0.305277556180954, -1.664459466934204, 0.1506982296705246, -0.47345399856567383, -0.42444807291030884, 0.6536524891853333, 0.009278526529669762, 0.36631685495376587, 0.6648696064949036, 1.0517600774765015, 0.16996243596076965, -0.0826757699251174...
func (a *ArgoCDRepoServer) CreateGRPC(gitClient git.Client) *grpc.Server { server := grpc.NewServer( grpc.StreamInterceptor(grpc_middleware.ChainStreamServer( grpc_logrus.StreamServerInterceptor(a.log), grpc_util.PanicLoggerStreamServerInterceptor(a.log), )), grpc.UnaryInterceptor(grpc_middleware.ChainUnar...
[ -0.16638964414596558, 0.2871381342411041, 0.6484488248825073, -1.4630560874938965, 0.6203410625457764, -0.12494788318872452, -0.32878339290618896, -0.6439482569694519, 0.36460036039352417, 0.3904430866241455, 0.6638232469558716, 0.8433757424354553, -0.4293924868106842, 0.3253873288631439, ...
func NewRobotSnakePath(speed, sizeX, sizeY, robotSize int) *RobotSnakePath { return &RobotSnakePath{ speed: speed, sizeX: sizeX, sizeY: sizeY, robotSize: robotSize, robotCenter: robotSize / 2, goRight: true, goDown: true, } }
[ 0.0181154552847147, -0.28951090574264526, 0.2903052866458893, 0.22138471901416779, -0.5625677704811096, -0.43092793226242065, -0.15209512412548065, -0.23571422696113586, 0.23912008106708527, 0.4573485553264618, -0.41718778014183044, 0.30156466364860535, -0.5030099153518677, 0.7846909165382...
func (p *RobotSnakePath) NextPosition() (int, int) { if p.goRight { p.x += p.speed if p.x > (p.sizeX - p.robotCenter) { // Are we past the right wall? p.x = p.sizeX - p.robotCenter p.goRight = false // "Teleport" one row down or up. if p.goDown { p.y += p.robotSize if p.y > (p.sizeY - p.rob...
[ 0.11218951642513275, -0.23118332028388977, 0.9287161827087402, -0.7706522941589355, -0.36242249608039856, 0.0033677746541798115, 0.4886850416660309, -0.339423269033432, 0.23395808041095734, 0.11378955096006393, 0.05405353382229805, -0.9032210111618042, -0.5604993104934692, 0.43215608596801...
func (b *Balancer) RemoveSP(w *Worker) { w.Lock() w.spList.Pop() w.Unlock() w.currentSp = w.currentSp.parent }
[ 0.4175510108470917, -0.5659806132316589, 0.35961011052131653, 0.0738460123538971, -0.7828976511955261, 0.8639966249465942, 0.433772474527359, 0.10822352021932602, 1.0767983198165894, -0.0452699139714241, -0.9491332769393921, -0.3361496925354004, -1.5040029287338257, 0.26010826230049133, ...
func (h *clientHandler) runPeer(version uint, p *p2p.Peer, rw p2p.MsgReadWriter) error { trusted := false if h.ulc != nil { trusted = h.ulc.trusted(p.ID()) } peer := newPeer(int(version), h.backend.config.NetworkId, trusted, p, newMeteredMsgWriter(rw, int(version))) peer.poolEntry = h.backend.serverPool.connect(...
[ -0.6638814806938171, -0.7959908246994019, 0.6549054980278015, 0.05975712090730667, -0.24826131761074066, 0.8741947412490845, 0.45381972193717957, 0.07588421553373337, -0.5411128997802734, -0.600740909576416, -0.25370559096336365, -0.02695648744702339, -1.3109921216964722, 0.312267452478408...
func (h *clientHandler) handleMsg(p *peer) error { // Read the next message from the remote peer, and ensure it's fully consumed msg, err := p.rw.ReadMsg() if err != nil { return err } p.Log().Trace("Light Ethereum message arrived", "code", msg.Code, "bytes", msg.Size) if msg.Size > ProtocolMaxMsgSize { retu...
[ -0.11436673998832703, 0.23121187090873718, 0.9686607718467712, 0.09944484382867813, 0.21517063677310944, 0.4251909554004669, -0.2573590576648712, -0.02707666903734207, -0.3531217873096466, -0.06499997526407242, 0.7299206256866455, -0.30502721667289734, -0.359294593334198, 1.234212398529052...
func SetupTestConfig() { flag.Parse() // Now set the configuration file viper.SetEnvPrefix("CORE") viper.AutomaticEnv() replacer := strings.NewReplacer(".", "_") viper.SetEnvKeyReplacer(replacer) viper.SetConfigName("core") // name of config file (without extension) configtest.AddDevConfigPath(nil) err := vi...
[ 0.8789021968841553, -0.19235923886299133, 0.772625207901001, -0.14344066381454468, 0.2817031145095825, -0.27911725640296936, 0.9626627564430237, 0.7483789324760437, -0.05567837879061699, 0.6560220718383789, -0.5619313716888428, -0.2657164931297302, -0.8470306396484375, 0.5228307843208313, ...
func (bbox *Bbox) AsTuple() []float64 { return []float64{bbox.LonMin, bbox.LatMin, bbox.LonMax, bbox.LatMax} }
[ -0.9358471632003784, -0.5632760524749756, 0.6449507474899292, -0.3411193788051605, 1.3665902614593506, 0.17595838010311127, -1.1763166189193726, -0.8419246673583984, -0.28081876039505005, -0.015441596508026123, -0.4241076707839966, 0.25399574637413025, 0.24108755588531494, 0.42478543519973...
func (bbox *Bbox) AsPolygon() (*geojson.Geometry, error) { // alias for readability (same as in turfjs) west := bbox.LonMin south := bbox.LatMin east := bbox.LonMax north := bbox.LatMax lowLeft := []float64{west, south} topLeft := []float64{west, north} topRight := []float64{east, north} lowRight :=...
[ -0.2819424569606781, -0.7338672280311584, 0.6987414360046387, -1.3843340873718262, 0.20138677954673767, -0.4424603581428528, -0.41014641523361206, -0.20369955897331238, 0.6309590339660645, 0.07070302963256836, -0.16097000241279602, 0.11086894571781158, 1.0065102577209473, -0.02131395600736...
func NewBboxFromGeoJSON(thing interface{}) *Bbox { result := &Bbox{ LonMin: infPos, LatMin: infPos, LonMax: infNeg, LatMax: infNeg, } CoordEach(thing, func(p *Point, coordIndex, featureIndex, multiFeatureIndex, geometryIndex int) bool { result.LonMin = math.Min(result.LonMin, p.Lon()) result.L...
[ -0.5951558351516724, -1.1383768320083618, 0.7500348091125488, -0.08730718493461609, -0.455412358045578, 0.008568387478590012, -0.48918411135673523, -0.45979323983192444, -0.22437871992588043, -0.4156394898891449, -0.8566297888755798, 0.5170856714248657, 0.6702631115913391, 0.10842870175838...
func rangeStmt(i int) bool { mi := map[bool]int{} ms := map[bool]string{} mr := map[bool]rune{} // In a RangeStmt there is no visible condition, therefore nothing // is instrumented. It might be possible to distinguish the cases // for empty and nonempty sequences, but that would require type // analysis, to di...
[ -0.9757465720176697, -0.38979628682136536, 0.6498980522155762, -1.1640781164169312, -0.8025910258293152, -0.08041010797023773, 0.679438054561615, -0.2620755434036255, 0.42935624718666077, 0.8206053972244263, -1.0189580917358398, -0.541335940361023, -0.9080607891082764, -0.0172132458537817,...
func NewOcpTeamApi(repo repo.Repo, producer kafka.Producer) *api { return &api{ repo: repo, producer: producer, } }
[ -0.5045801997184753, -1.4865312576293945, 0.42480358481407166, -0.33872953057289124, -0.40017691254615784, 0.14999277889728546, -0.514034628868103, -0.3277008533477783, 0.7665895223617554, 1.1123409271240234, -0.0339229442179203, 0.38193967938423157, 0.11301113665103912, -0.122221656143665...
func (a *api) CreateTeamV1( ctx context.Context, req *desc.CreateTeamV1Request) (*desc.CreateTeamV1Response, error) { metrics.IncTotalRequestsCounter() if err := req.Validate(); err != nil { metrics.IncInvalidRequestsCounter() log.Error().Err(err).Msg("invalid argument") return nil, status.Error(codes.Invalid...
[ -0.6360616683959961, 0.14834649860858917, 0.699487030506134, 0.4925957918167114, 0.30187758803367615, 0.43555787205696106, -0.08386681973934174, -0.40648338198661804, -0.5771241784095764, 0.4654150605201721, -0.37092360854148865, 0.642724335193634, -0.40626010298728943, 0.00047093673492781...
func (a *api) MultiCreateTeamV1( ctx context.Context, req *desc.MultiCreateTeamV1Request) (*desc.MultiCreateTeamV1Response, error) { metrics.IncTotalRequestsCounter() if err := req.Validate(); err != nil { metrics.IncInvalidRequestsCounter() log.Error().Err(err).Msg("invalid argument") return nil, status.Erro...
[ -1.0910700559616089, 0.574085533618927, 0.9040816426277161, 0.547038197517395, 0.667680561542511, 0.5918111801147461, 0.28245043754577637, -0.7578728199005127, -0.24035291373729706, 0.20962849259376526, -0.6984935998916626, -0.07550891488790512, 0.39500200748443604, 0.5066734552383423, -...
func (a *api) GetTeamV1( ctx context.Context, req *desc.GetTeamV1Request) (*desc.GetTeamV1Response, error) { metrics.IncTotalRequestsCounter() if err := req.Validate(); err != nil { metrics.IncInvalidRequestsCounter() log.Error().Err(err).Msg("invalid argument") return nil, status.Error(codes.InvalidArgument,...
[ -0.9140439629554749, 0.30712103843688965, 0.6905614137649536, 0.36623549461364746, 0.34131017327308655, 0.03398275002837181, 0.35113242268562317, -0.5854761600494385, -0.15532509982585907, 0.2027674913406372, -0.12105441093444824, 1.4625933170318604, -0.10270561277866364, -0.21953427791595...
func (a *api) ListTeamsV1( ctx context.Context, req *desc.ListTeamsV1Request) (*desc.ListTeamsV1Response, error) { metrics.IncTotalRequestsCounter() if err := req.Validate(); err != nil { metrics.IncInvalidRequestsCounter() log.Error().Err(err).Msg("invalid argument") return nil, status.Error(codes.InvalidArg...
[ -0.9032154083251953, 0.3029439151287079, 0.9224851727485657, -0.501508891582489, -0.17913883924484253, 0.07307503372430801, 0.07458903640508652, -0.5133286714553833, 0.2851540744304657, 0.24747200310230255, -0.08905773609876633, 1.1014363765716553, 0.3366371691226959, -0.27478283643722534,...
func (a *api) RemoveTeamV1( ctx context.Context, req *desc.RemoveTeamV1Request) (*desc.RemoveTeamV1Response, error) { metrics.IncTotalRequestsCounter() if err := req.Validate(); err != nil { metrics.IncInvalidRequestsCounter() log.Error().Err(err).Msg("invalid argument") return nil, status.Error(codes.Invalid...
[ -1.2908155918121338, 0.013094723224639893, 0.6137593984603882, 0.6808671951293945, -0.11825035512447357, -0.10843983292579651, 0.6758401989936829, 0.10963299870491028, -0.33438754081726074, 0.7140358090400696, -0.1856764554977417, 0.7630407214164734, -0.46595242619514465, -0.04874565079808...
func (a *api) UpdateTeamV1( ctx context.Context, req *desc.UpdateTeamV1Request) (*desc.UpdateTeamV1Response, error) { metrics.IncTotalRequestsCounter() if err := req.Validate(); err != nil { metrics.IncInvalidRequestsCounter() log.Error().Err(err).Msg("invalid argument") return nil, status.Error(codes.Invalid...
[ -1.524881362915039, -0.2616662085056305, 0.7012026309967041, 0.29563114047050476, -0.3925480842590332, -0.09590251743793488, 0.49455025792121887, -0.3061946928501129, -0.409017950296402, 0.9305153489112854, -0.45043984055519104, 1.1217081546783447, -0.27876415848731995, -0.4354275166988373...
func (a *api) SearchTeamsV1( ctx context.Context, req *desc.SearchTeamV1Request) (*desc.SearchTeamV1Response, error) { metrics.IncTotalRequestsCounter() if err := req.Validate(); err != nil { metrics.IncInvalidRequestsCounter() log.Error().Err(err).Msg("invalid argument") return nil, status.Error(codes.Invali...
[ -1.0769307613372803, 0.5625654458999634, 0.6365872621536255, -0.012511230073869228, 0.20992228388786316, 0.14282743632793427, -0.4833306670188904, -0.9229870438575745, -0.3165120482444763, 0.3434373438358307, 0.5054941773414612, 0.6594960689544678, -0.1886843889951706, 0.045605819672346115...
func CyberghostServers() []models.CyberghostServer { return []models.CyberghostServer{ {Region: "Albania", Group: "Premium TCP Europe", Hostname: "97-1-al.cg-dialup.net", IPs: []net.IP{{31, 171, 155, 3}, {31, 171, 155, 4}, {31, 171, 155, 7}, {31, 171, 155, 8}, {31, 171, 155, 9}, {31, 171, 155, 10}, {31, 171, 155, 11...
[ -0.6713913083076477, 0.02883129194378853, 0.9569557905197144, -0.4765077531337738, 0.3872425854206085, 0.5100210309028625, 0.7590023875236511, 0.3198206126689911, 0.0769026055932045, 0.2724817097187042, -0.4118776321411133, 0.029919665306806564, -0.15124653279781342, -0.2774229645729065, ...
func GetOperationTypesEnumValues() []OperationTypesEnum { values := make([]OperationTypesEnum, 0) for _, v := range mappingOperationTypesEnum { values = append(values, v) } return values }
[ -1.450466275215149, 0.13362054526805878, 0.716111421585083, 1.1122398376464844, 0.8595662713050842, -0.1151488646864891, 0.8540188670158386, -0.2922704219818115, 0.7516176700592041, -0.3274396061897278, -0.5997248291969299, -0.46021491289138794, -0.06854534149169922, 0.3047069311141968, ...
func GetOperationTypesEnumStringValues() []string { return []string{ "CREATE_SOURCE", "UPDATE_SOURCE", "DELETE_SOURCE", "CREATE_MIGRATION", "UPDATE_MIGRATION", "DELETE_MIGRATION", "AUTHORIZE_SOURCE", "DISCOVER_APPLICATION", "MIGRATE_APPLICATION", "CHANGE_SOURCE_COMPARTMENT", "CHANGE_MIGRATION_COM...
[ -0.7261347770690918, 0.2756272554397583, 0.50270676612854, 0.4783746302127838, 0.47350776195526123, 0.07329487800598145, 0.4515798091888428, -0.9539358615875244, 0.47567692399024963, 0.17917683720588684, -0.4949283003807068, -0.39414188265800476, 0.38728323578834534, 0.3766166865825653, ...
func GetMappingOperationTypesEnum(val string) (OperationTypesEnum, bool) { enum, ok := mappingOperationTypesEnumLowerCase[strings.ToLower(val)] return enum, ok }
[ -2.1452128887176514, 0.17028474807739258, 0.6523610949516296, 0.6114248633384705, -0.3233967125415802, -0.215032160282135, 0.8566806316375732, -0.3119725286960602, 1.2232458591461182, 0.3213405907154083, -0.18509013950824738, -1.1776365041732788, -0.11862380057573318, -0.2615145444869995, ...
func TestIsArrayWithArray(t *testing.T) { list := []T{"name", "moe", "age", 30} asserts.True(t, "Testing IsArray", IsArray(list)) }
[ -0.03208393603563309, -0.6898788809776306, 0.21907386183738708, 0.8946657180786133, 0.7896262407302856, 0.1479976922273636, -0.45909807085990906, -0.005333407316356897, 0.8116734623908997, 0.2581416964530945, -1.0221459865570068, 0.49488091468811035, -0.48243027925491333, 0.792095363140106...
func TestTap(t *testing.T) { var intercepted T interceptor := func(args ...T) T { obj := args[0] intercepted = obj return nil } returned := Tap(1, interceptor) asserts.IntEquals(t, "passes tapped object to interceptor", intercepted.(int), 1) asserts.IntEquals(t, "returns tapped object", returned.(int), 1) ...
[ -0.5242905616760254, -0.14625224471092224, 0.9201420545578003, 0.34845128655433655, -0.2128758579492569, -0.18850526213645935, 0.8687277436256409, -0.8505375981330872, 0.3910740613937378, -1.2503383159637451, -0.5759332180023193, -0.4396495223045349, 1.0424803495407104, -0.187140554189682,...
func NewarithmeticParser(input antlr.TokenStream) *arithmeticParser { this := new(arithmeticParser) deserializer := antlr.NewATNDeserializer(nil) deserializedATN := deserializer.DeserializeFromUInt16(parserATN) decisionToDFA := make([]*antlr.DFA, len(deserializedATN.DecisionToState)) for index, ds := range deseria...
[ 0.32049864530563354, -0.7857748866081238, 0.4961460530757904, -0.771232545375824, -0.88835209608078, 0.019538510590791702, -1.0144246816635132, -0.541753888130188, -0.5986381769180298, -0.03499747812747955, -0.07886586338281631, -0.38625359535217285, 0.5854804515838623, 0.09033101052045822...
func defineRoutes(router *gin.Engine) { authMiddleware := JWT() router.GET("/", getHello) router.POST("/login", authMiddleware.LoginHandler) router.POST("/signup", userRegistration) user := router.Group("/dashboard/:id") //TODO: remove :id and check the api working { user.Use(authMiddleware.MiddlewareFunc()) ...
[ -0.7124694585800171, 0.30181798338890076, 0.5991135835647583, 0.8211121559143066, 0.18222472071647644, -0.4767991006374359, 0.26494383811950684, 0.6211411952972412, 0.08027242869138718, -0.6478060483932495, -0.30851519107818604, -0.20036949217319489, -0.03383262827992439, 0.688117742538452...
func setDefaults(opts *Options) error { if opts == nil { return errors.New("options can not be nil") } if err := defaults.Set(opts); err != nil { return errors.New("failed to set default configs") } return nil }
[ -0.38616853952407837, 0.865379273891449, 0.12632010877132416, 1.127140998840332, 0.5969026684761047, -0.0947786420583725, -0.5653219223022461, -0.5151697397232056, 0.3739033639431, 0.22531166672706604, -0.5496149063110352, 0.058350034058094025, -0.8783963322639465, 0.5233619809150696, -0...
func (c *clientConfig) Client() (*gate.GatewayClient, error) { c.once.Do(func() { c.client, c.err = gate.NewGateClient( output.NewUI(true, false, output.MarshalToJson, os.Stdout, os.Stderr), c.gateEndpoint, c.defaultHeaders, c.configLocation, c.ignoreCertErrors, ) }) return c.client, c.err }
[ 0.44748392701148987, -0.2645025849342346, 0.21307483315467834, -0.575583279132843, -0.8821787238121033, 0.26710245013237, 1.099727988243103, -0.8216405510902405, -0.9261261224746704, 0.17686043679714203, -0.35274559259414673, 0.7217159867286682, -0.48383498191833496, 0.24651484191417694, ...
func Example() { println(main.Simple()) // Output: // hello world }
[ 0.6102681159973145, -0.38339167833328247, 0.49994421005249023, 0.7075070142745972, -0.902722954750061, 1.081285834312439, 0.6812947988510132, 0.6966916918754578, -0.31538522243499756, -0.27484965324401855, -1.3746724128723145, 0.5015398263931274, -0.07230976223945618, 0.016847915947437286,...
func NewCreateBAR(ies ...*IE) *IE { return newGroupedIE(CreateBAR, 0, ies...) }
[ -1.0364114046096802, 0.31618717312812805, 0.3888521194458008, 0.9130450487136841, 0.05772901326417923, 0.5124309659004211, 0.5047243237495422, -0.8571087121963501, -0.5057165622711182, 0.26894834637641907, 0.5298815965652466, -1.489475131034851, -0.8069393634796143, 1.372637152671814, 0....
func (i *IE) CreateBAR() ([]*IE, error) { switch i.Type { case CreateBAR: return ParseMultiIEs(i.Payload) default: return nil, &InvalidTypeError{Type: i.Type} } }
[ -0.5966725945472717, 0.4071228802204132, 0.5176847577095032, 0.6310437917709351, 0.5805492997169495, 0.8344724178314209, -0.5505453944206238, -0.4264746606349945, -0.27442222833633423, 0.2515624761581421, 0.2817630171775818, -1.1473348140716553, -1.4454683065414429, 1.409562349319458, 0....
func (schedule *Schedule) scaleStage(position int, numToScale int, program string, masterAddress string) { numScaled := 0 fmt.Println(numScaled, "|", numToScale) for numScaled < numToScale { if position == -1 { return } // For now, only scale on free nodes var newWorker *types.Worker if schedul...
[ -0.7032067179679871, -0.44205865263938904, 0.7405124306678772, -0.5643168091773987, -0.40678277611732483, -0.08265353739261627, 0.258627325296402, 0.02687300741672516, -0.5695522427558899, 0.7377840876579285, -1.04352867603302, -0.02460929937660694, -0.2719053626060486, 1.25143301486969, ...
func (schedule *Schedule) waitForWorkerToSendInfo(worker *types.Worker) error { for worker.PID == -1 { time.Sleep(10 * time.Millisecond) } fmt.Println("PID has been updated") if worker.PID == -2 { return errors.New("ERROR: Worker could not be started") } for worker.Address == "" { time.Sleep(10 * t...
[ -0.2461998015642166, -1.0055903196334839, 0.40723711252212524, -0.8826465010643005, 0.24985262751579285, 0.5083706378936768, -0.15049782395362854, 0.3411732316017151, -0.7683623433113098, -0.21033911406993866, -0.6945254802703857, 0.037131551653146744, -0.4484892785549164, 0.92572528123855...
func (schedule *Schedule) setUpNewWorkerCommunication(newWorker *types.Worker) { if newWorker.Stage != schedule.StageList.MaxPosition { for _, worker := range schedule.StageList.FindByPosition(newWorker.Stage + 1).Workers { sendNextWorkerAddress(newWorker, worker) } } if newWorker.Stage != 0 { for _,...
[ -0.4417928457260132, -0.600706934928894, 0.6881920099258423, -0.10377635806798935, -0.2711752653121948, -0.20182262361049652, 1.0234345197677612, -0.3814655840396881, -0.25861266255378723, 0.824129581451416, -0.7227991819381714, -0.07513916492462158, -0.7199274301528931, 1.096228837966919,...
func (g Graph) tarjanSCC(state *sccState, v int) { min := func(a, b int) int { if a < b { return a } return b } // Set the depth index for v to the smallest unused index state.index++ state.indexTable[v] = state.index state.lowLink[v] = state.index state.stack = append(state.stack, v) state.onStack[v] ...
[ 0.5665475726127625, -0.3203525245189667, 0.6809740662574768, -0.4348217844963074, -0.43268609046936035, -0.8264767527580261, 1.0700197219848633, 0.19758173823356628, 0.28695255517959595, 0.09983482956886292, -0.23496107757091522, 0.6465756297111511, 0.8253272771835327, -0.1012260690331459,...
func (b *BigIP) TCPProfiles() (*TCPProfiles, error) { var serverTCPProfiles TCPProfiles err, _ := b.getForEntity(&serverTCPProfiles, uriLtm, uriProfile, uriProfileTCP) if err != nil { return nil, err } return &serverTCPProfiles, nil }
[ 0.11785595864057541, 0.7761819362640381, 0.3763551414012909, -0.41685396432876587, 0.38704949617385864, 0.03790474683046341, -0.5239644050598145, -0.2507619559764862, -0.06225396320223808, 0.894498348236084, -0.44347092509269714, -0.8204305768013, -1.5110834836959839, -0.36574211716651917,...
func (b *BigIP) GetTCPProfile(name string) (*TCPProfile, error) { var serverTCPProfile TCPProfile err, ok := b.getForEntity(&serverTCPProfile, uriLtm, uriProfile, uriProfileTCP, name) if err != nil { return nil, err } if !ok { return nil, nil } return &serverTCPProfile, nil }
[ 0.5394430160522461, 0.5538105368614197, 0.4719640016555786, -0.6400439143180847, -0.12256666272878647, -0.2389983832836151, -0.33878093957901, -1.0472921133041382, -0.3748481869697571, 0.9722909331321716, -0.4306298494338989, -0.7374352812767029, -1.2417540550231934, -0.2309207022190094, ...
func (b *BigIP) CreateTCPProfile(name string, parent string) error { config := &TCPProfile{ Name: name, DefaultsFrom: parent, } return b.post(config, uriLtm, uriProfile, uriProfileTCP) }
[ 0.5869162678718567, 0.4999586045742035, 0.2963501811027527, -0.4844110608100891, 0.03320646286010742, 0.22407536208629608, -0.5614897012710571, -0.6849088072776794, -0.670279324054718, 0.7408891320228577, -1.4860173463821411, -1.4455052614212036, -1.128974199295044, -0.253679096698761, 0...
func (b *BigIP) AddTCPProfile(config *TCPProfile) error { return b.post(config, uriLtm, uriProfile, uriProfileTCP) }
[ 0.11919660866260529, 0.5794026255607605, 0.4040622413158417, -0.20350216329097748, 0.2914656102657318, 0.5149500370025635, -0.15936800837516785, -0.22401916980743408, -0.10759158432483673, 0.33148255944252014, -1.025456190109253, -1.4457849264144897, -1.2568433284759521, -0.434374809265136...
func (b *BigIP) DeleteTCPProfile(name string) error { return b.delete(uriLtm, uriProfile, uriProfileTCP, name) }
[ 0.485280841588974, -0.03789911046624184, 0.19694827497005463, 0.01643763668835163, -0.36054784059524536, 0.16614627838134766, 0.35519853234291077, 0.05240776389837265, -0.647299587726593, 0.8808302283287048, -1.076322317123413, -1.582451343536377, -1.0314280986785889, -0.34753042459487915,...
func (b *BigIP) ModifyTCPProfile(name string, config *TCPProfile) error { return b.put(config, uriLtm, uriProfile, uriProfileTCP, name) }
[ -0.5416074991226196, 0.14417438209056854, 0.23004686832427979, -0.4516505300998688, -0.34416869282722473, 0.34346985816955566, 0.256075918674469, -0.0036644774954766035, -0.14483636617660522, 1.0869686603546143, -1.0174657106399536, -1.2679071426391602, -1.081836223602295, -0.2783512771129...
func TestNewWAV(t *testing.T) { wav := audio.NewWAV() require.Equal(t, audio.DefaultNumChannels, wav.NumChannels) require.Equal(t, audio.DefaultSampleRate, wav.SampleRate) require.Equal(t, audio.DefaultAudioFormat, wav.AudioFormat) require.Equal(t, audio.DefaultBitsPerSample, wav.BitsPerSample) audioData := wav....
[ -0.3036023676395416, -0.5518944263458252, 0.5363435745239258, -0.0463031642138958, 0.568263828754425, 0.633094310760498, 0.14729326963424683, -0.3378954827785492, 0.49177178740501404, -1.2848730087280273, -0.7236440777778625, 0.300699919462204, 0.27237558364868164, 1.1341215372085571, -0...
func TestNewWAVFromParamsCustom(t *testing.T) { emptyAudio := make([]byte, 0) wav := audio.NewWAVFromParams(&audio.WAVParams{1, 10000, 8, emptyAudio}) require.Equal(t, uint16(1), wav.NumChannels) require.Equal(t, uint32(10000), wav.SampleRate) require.Equal(t, uint16(8), wav.BitsPerSample) require.Equal(t, 0, len...
[ 0.19363486766815186, -0.13209258019924164, 0.6201382875442505, -0.2404422014951706, 0.47550496459007263, 0.36923158168792725, 0.225310280919075, -0.38234710693359375, 0.7299984693527222, -0.6335114240646362, -0.48713377118110657, 0.6679335236549377, 0.38009387254714966, 1.0643607378005981,...
func TestNewWAVFromParamsWithZero(t *testing.T) { emptyAudio := make([]byte, 0) wav := audio.NewWAVFromParams(&audio.WAVParams{0, 0, 0, emptyAudio}) require.Equal(t, audio.DefaultNumChannels, wav.NumChannels) require.Equal(t, audio.DefaultSampleRate, wav.SampleRate) require.Equal(t, audio.DefaultBitsPerSample, wav...
[ 0.181243434548378, -0.7246671319007874, 0.4995850622653961, 0.00866806972771883, 0.730625331401825, 0.7581220269203186, -0.1501837968826294, -0.17338529229164124, 0.17951202392578125, -0.8797701597213745, -0.3988012671470642, 0.29401034116744995, 0.039125412702560425, 1.3647972345352173, ...
func TestNewWAVFromData(t *testing.T) { emptyWAVFile := testutils.CreateEmptyWAVFile() wav, err := audio.NewWAVFromData(emptyWAVFile) require.Nil(t, err) require.Equal(t, uint16(1), wav.NumChannels) require.Equal(t, uint32(44100), wav.SampleRate) require.Equal(t, uint16(16), wav.BitsPerSample) require.Equal(t, ...
[ 0.3396507203578949, -0.09955727308988571, 0.5326045155525208, -0.23827071487903595, 0.45734119415283203, 1.0349913835525513, 0.2720266878604889, -0.5372776389122009, 0.5171107649803162, -1.4876060485839844, -0.6273868680000305, 0.16651487350463867, 0.21288469433784485, 0.6352210640907288, ...
func TestNewWAVFromDataWithNoise(t *testing.T) { buff := []byte{0x12, 0x34, 0x56, 0x78} emptyWAVFile := testutils.CreateEmptyWAVFile() wav, err := audio.NewWAVFromData(append(buff, emptyWAVFile...)) require.Nil(t, err) require.Equal(t, uint16(1), wav.NumChannels) require.Equal(t, uint32(44100), wav.SampleRate) ...
[ 0.8741348385810852, -0.030168786644935608, 0.7554179430007935, -0.3588239252567291, 0.644679844379425, 0.7582179307937622, -0.3033355176448822, -0.8651658892631531, 0.8835145235061646, -1.3948516845703125, -0.8448443412780762, 0.060932841151952744, -0.039932675659656525, 0.8151858448982239...
func TestNewWAVFromReader(t *testing.T) { emptyWAVFile := testutils.CreateEmptyWAVFile() r := bytes.NewReader(emptyWAVFile) wav, err := audio.NewWAVFromReader(r) require.Nil(t, err) require.Equal(t, uint16(1), wav.NumChannels) require.Equal(t, uint32(44100), wav.SampleRate) require.Equal(t, uint16(16), wav.Bits...
[ 0.16249039769172668, -0.6038222908973694, 0.48309463262557983, -0.12339715659618378, -0.07138898223638535, 0.9418124556541443, 0.35564765334129333, -0.4641556739807129, 0.5181239247322083, -1.2960875034332275, -0.23725199699401855, -0.1854485273361206, -0.07211141288280487, 0.7544024586677...
func TestAddAudioData(t *testing.T) { emptyWAVFile := testutils.CreateEmptyWAVFile() audioData := []byte{0xff, 0xfd, 0x00, 0x00} wav, err := audio.NewWAVFromData(emptyWAVFile) wav.AddAudioData(audioData) require.Nil(t, err) require.Equal(t, 4, len(wav.AudioData())) }
[ 0.18949511647224426, 0.37664735317230225, 0.5082385540008545, -0.3572487533092499, 0.8814526796340942, 1.5501787662506104, 0.020345933735370636, -0.1114831194281578, 0.6598086357116699, -1.2575054168701172, -0.6476125717163086, 0.19553257524967194, -0.2698585093021393, 0.2924564778804779, ...
func TestAddAudioDataEmpty(t *testing.T) { emptyWAVFile := testutils.CreateEmptyWAVFile() audioData := make([]byte, 0) wav, err := audio.NewWAVFromData(emptyWAVFile) wav.AddAudioData(audioData) require.Nil(t, err) require.Equal(t, 0, len(wav.AudioData())) }
[ 0.1436574012041092, 0.22968922555446625, 0.5017863512039185, -0.7731539607048035, 1.042968988418579, 1.9595612287521362, -0.08635310083627701, 0.015410495921969414, 0.4979698956012726, -1.216438889503479, -0.4171746075153351, 0.3062763512134552, -0.11605774611234665, 0.28048741817474365, ...
func TestMain(m *testing.M) { // set configuration from environment c = &config.Config{ AppID: os.Getenv("APP_ID"), AppToken: os.Getenv("APP_TOKEN"), DeviceID: os.Getenv("DEVICE_ID"), } if len(os.Getenv("API_HOST")) > 0 { c.Backend.SetBaseURL(os.Getenv("API_HOST")) } // run tests os.Exit(m.Run()) }
[ 0.15000879764556885, 0.054943956434726715, 0.6645863056182861, 0.48968037962913513, 0.7838602662086487, 0.721074104309082, 0.21656613051891327, 0.5116397738456726, -1.1577321290969849, 0.5248154997825623, 0.6012362837791443, 0.3790205121040344, -0.9221646785736084, 0.05961799621582031, 0...
func NewMockOptions(ctrl *gomock.Controller) *MockOptions { mock := &MockOptions{ctrl: ctrl} mock.recorder = &MockOptionsMockRecorder{mock} return mock }
[ -0.14203815162181854, 0.7734355330467224, 0.3796965777873993, 0.5661749839782715, 0.1763686090707779, -0.6022714376449585, 0.37679505348205566, -0.9906752109527588, 0.2536528408527374, 0.6287882924079895, -0.8490985035896301, -0.5278127193450928, -0.428541898727417, 1.26963472366333, -0....
func (m *MockOptions) EXPECT() *MockOptionsMockRecorder { return m.recorder }
[ 0.1362677812576294, 0.3339603543281555, 0.43505921959877014, 0.1347462385892868, 0.7005478143692017, 0.10882118344306946, 0.30909645557403564, -0.17029230296611786, 0.6149369478225708, 0.019040659070014954, 0.59300297498703, 0.27786314487457275, -0.7743616700172424, 0.844367504119873, -0...
func (m *MockOptions) BlockDataExpiry() bool { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "BlockDataExpiry") ret0, _ := ret[0].(bool) return ret0 }
[ 0.19639120995998383, 0.15121226012706757, 0.2338227927684784, 0.4572598934173584, 0.8190895915031433, 0.5228776335716248, 0.07388509064912796, 0.3112691342830658, -1.2763689756393433, 0.5099643468856812, -1.1437149047851562, 0.04269738867878914, -0.8817076086997986, 0.29161950945854187, ...
func (mr *MockOptionsMockRecorder) BlockDataExpiry() *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BlockDataExpiry", reflect.TypeOf((*MockOptions)(nil).BlockDataExpiry)) }
[ 0.3733028769493103, 0.6398134827613831, 0.05290403962135315, 0.20809230208396912, 0.18376824259757996, 0.47949090600013733, -0.9669884443283081, -0.4380941390991211, 0.47595149278640747, 0.6321023106575012, -0.17942054569721222, 0.9081888794898987, -1.0271180868148804, 0.8167061805725098, ...
func (m *MockOptions) BlockDataExpiryAfterNotAccessedPeriod() time.Duration { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "BlockDataExpiryAfterNotAccessedPeriod") ret0, _ := ret[0].(time.Duration) return ret0 }
[ 0.799777626991272, 0.22459100186824799, 0.1041470393538475, 0.03981059789657593, 0.13097436726093292, 0.7516664862632751, 0.3696439862251282, -0.4511769711971283, -0.8381490111351013, 0.14135779440402985, -0.3170602023601532, 0.038662951439619064, -1.1400099992752075, 0.8024383783340454, ...
func (mr *MockOptionsMockRecorder) BlockDataExpiryAfterNotAccessedPeriod() *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BlockDataExpiryAfterNotAccessedPeriod", reflect.TypeOf((*MockOptions)(nil).BlockDataExpiryAfterNotAccessedPeriod)) }
[ 1.0768024921417236, 0.6183032393455505, 0.0592360645532608, -0.1811383068561554, -0.6090103983879089, 0.7184306979179382, -0.6360765695571899, -0.8595151901245117, 0.3449171185493469, 0.17881783843040466, 0.4289722442626953, 0.6920709013938904, -0.7721553444862366, 0.9858502745628357, 0....
func (m *MockOptions) BlockSize() time.Duration { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "BlockSize") ret0, _ := ret[0].(time.Duration) return ret0 }
[ -0.19508692622184753, 0.5592249631881714, 0.5146453380584717, 1.0896494388580322, 0.768154501914978, 0.43776819109916687, 1.02931809425354, -0.800204336643219, -0.7788328528404236, 0.2072947770357132, -0.41712072491645813, -0.4602339565753937, -1.239319920539856, 1.2950222492218018, 0.83...
func (mr *MockOptionsMockRecorder) BlockSize() *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BlockSize", reflect.TypeOf((*MockOptions)(nil).BlockSize)) }
[ 0.2550122141838074, 1.1444605588912964, 0.3524583578109741, 0.5490695834159851, -0.11691375076770782, 0.2180561125278473, 0.2246837615966797, -0.989880383014679, 0.8694294691085815, 0.8611966371536255, 0.5829775929450989, 0.3500983417034149, -1.4124977588653564, 1.3838849067687988, 0.315...
func (m *MockOptions) BufferFuture() time.Duration { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "BufferFuture") ret0, _ := ret[0].(time.Duration) return ret0 }
[ 0.5097483396530151, -0.081895612180233, 0.3274995684623718, 0.2970446050167084, 0.5195145606994629, 0.592986524105072, 0.28207165002822876, -0.7988466620445251, -0.7243030071258545, -0.7906301617622375, -1.7755478620529175, 0.4506625235080719, -0.8987845778465271, 1.0078861713409424, -0....
func (mr *MockOptionsMockRecorder) BufferFuture() *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BufferFuture", reflect.TypeOf((*MockOptions)(nil).BufferFuture)) }
[ 0.6717338562011719, 0.5638711452484131, 0.02104644477367401, 0.050198107957839966, -0.016630731523036957, 0.21146529912948608, -0.45496368408203125, -0.8605170249938965, 0.45611825585365295, -0.22936652600765228, -0.9207070469856262, 1.1738189458847046, -0.8626757860183716, 0.9453744292259...
func (m *MockOptions) BufferPast() time.Duration { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "BufferPast") ret0, _ := ret[0].(time.Duration) return ret0 }
[ 0.26037415862083435, -0.401918888092041, 0.7177708148956299, -0.3360632658004761, 0.6631002426147461, 0.9461390376091003, 0.40946468710899353, -1.64971923828125, -0.6714840531349182, -0.4931846857070923, -0.9831730723381042, -0.02585912123322487, -1.3094189167022705, 0.8122566938400269, ...
func (mr *MockOptionsMockRecorder) BufferPast() *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BufferPast", reflect.TypeOf((*MockOptions)(nil).BufferPast)) }
[ 0.4603710174560547, 0.12879790365695953, 0.3761318624019623, -0.626627504825592, -0.13771577179431915, 0.730370819568634, -0.34283849596977234, -1.8850011825561523, 0.46485137939453125, -0.08144746720790863, -0.42796552181243896, 0.573579728603363, -1.3902031183242798, 0.8382124900817871, ...
func (m *MockOptions) Equal(value Options) bool { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "Equal", value) ret0, _ := ret[0].(bool) return ret0 }
[ -0.8638370633125305, 0.10605057328939438, 0.2571617364883423, 0.3457060754299164, 1.6993520259857178, 0.5436903238296509, 1.1334571838378906, -0.17681078612804413, -0.711937665939331, 0.7601844668388367, -0.6499353051185608, -1.0148595571517944, -0.6614644527435303, 1.00788414478302, 0.4...
func (mr *MockOptionsMockRecorder) Equal(value interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Equal", reflect.TypeOf((*MockOptions)(nil).Equal), value) }
[ -0.6647882461547852, 0.7343332171440125, 0.09684750437736511, 0.41648197174072266, 0.3165058195590973, 0.6120905876159668, 0.24408705532550812, -1.3398033380508423, 0.31307539343833923, 1.2738760709762573, 0.21982669830322266, 0.029792234301567078, -0.9787830114364624, 1.5877310037612915, ...
func (m *MockOptions) FutureRetentionPeriod() time.Duration { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "FutureRetentionPeriod") ret0, _ := ret[0].(time.Duration) return ret0 }
[ 0.4812628924846649, 0.5858055949211121, 0.15412473678588867, -0.0017647502245381474, 0.6061493158340454, 0.021454768255352974, 0.03073231875896454, -0.3126415014266968, -0.14253440499305725, 0.07570742815732956, -0.2780302166938782, -0.8950151801109314, -1.445098876953125, 0.60974806547164...
func (mr *MockOptionsMockRecorder) FutureRetentionPeriod() *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FutureRetentionPeriod", reflect.TypeOf((*MockOptions)(nil).FutureRetentionPeriod)) }
[ 0.7652543187141418, 0.9319134950637817, -0.12852679193019867, 0.33806487917900085, -0.06776730716228485, -0.07384877651929855, -0.7217828035354614, -0.6491708159446716, 0.6822999715805054, 0.2923232316970825, 0.6187243461608887, -0.17871835827827454, -1.2439528703689575, 0.4710503220558166...
func (m *MockOptions) RetentionPeriod() time.Duration { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "RetentionPeriod") ret0, _ := ret[0].(time.Duration) return ret0 }
[ 0.6798148155212402, -0.02933500148355961, 0.3171751797199249, -0.013929110951721668, 1.2622051239013672, 1.072522759437561, 0.23646670579910278, -0.5257595777511597, -0.07074491679668427, -0.03704553842544556, -0.5719951391220093, -0.9736447334289551, -1.068772554397583, 1.3232603073120117...
func (mr *MockOptionsMockRecorder) RetentionPeriod() *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RetentionPeriod", reflect.TypeOf((*MockOptions)(nil).RetentionPeriod)) }
[ 1.2131013870239258, 0.4407294988632202, 0.09070654213428497, 0.1573968380689621, 0.5323542356491089, 0.9033984541893005, -0.5362215638160706, -0.7788928747177124, 0.9346097111701965, 0.16423624753952026, 0.35254913568496704, 0.039524782449007034, -1.2674365043640137, 1.2915107011795044, ...
func (m *MockOptions) SetBlockDataExpiry(on bool) Options { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "SetBlockDataExpiry", on) ret0, _ := ret[0].(Options) return ret0 }
[ 0.19012735784053802, -0.0292340274900198, 0.28456005454063416, 0.17165373265743256, 1.1368212699890137, 0.20750866830348969, 0.09321554750204086, 0.33471807837486267, -1.4017271995544434, 0.3611193597316742, -1.1125437021255493, 0.11905153095722198, -0.9937313199043274, 0.6140614748001099,...
func (mr *MockOptionsMockRecorder) SetBlockDataExpiry(on interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetBlockDataExpiry", reflect.TypeOf((*MockOptions)(nil).SetBlockDataExpiry), on) }
[ 0.26171091198921204, 0.6769238710403442, 0.0579371452331543, 0.20497861504554749, 0.43258804082870483, 0.353556752204895, -1.0372276306152344, -0.18108563125133514, 0.11341474950313568, 0.6871797442436218, -0.45142149925231934, 0.850400984287262, -0.9655919671058655, 0.8617516160011292, ...
func (m *MockOptions) SetBlockDataExpiryAfterNotAccessedPeriod(period time.Duration) Options { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "SetBlockDataExpiryAfterNotAccessedPeriod", period) ret0, _ := ret[0].(Options) return ret0 }
[ 0.5392763614654541, 0.030453607439994812, 0.24580182135105133, -0.05731266736984253, 0.387512743473053, 0.615624725818634, 0.6152541637420654, -0.447656512260437, -0.8604998588562012, 0.0028253651689738035, -0.3476101756095886, 0.21023757755756378, -1.0634686946868896, 0.5995286107063293, ...