text
stringlengths
11
6.3k
embedding
listlengths
768
768
func NewImage(name string, project string) *Image { return &Image{ &compute.Image{Name: name, Labels: make(map[string]string)}, project, } }
[ -0.1216922253370285, -0.4731001853942871, 0.15725357830524445, -0.0009236024343408644, -0.8724610209465027, 0.8680133819580078, -1.5206304788589478, 0.3273807168006897, -1.147301197052002, 0.5989536046981812, 0.6673347353935242, 0.45145106315612793, -0.21883806586265564, -0.212017461657524...
func (i *Image) URL() string { return fmt.Sprintf("projects/%s/global/images/%s", i.Project, i.Name) }
[ -0.24084526300430298, 0.4249367415904999, -0.01912970095872879, -0.5526015758514404, 0.20465469360351562, 1.0965889692306519, 0.2665066719055176, 1.1295857429504395, -0.49380236864089966, 1.2774897813796997, -0.12865962088108063, 0.6890802383422852, -0.7384578585624695, 0.1539454609155655,...
func (i *Image) MarshalJSON() ([]byte, error) { computeImData, err := json.Marshal(i.Image) if err != nil { return nil, err } computeIm := make(map[string]interface{}) if err := json.Unmarshal(computeImData, &computeIm); err != nil { return nil, err } computeIm["Project"] = i.Project return json.Marshal(com...
[ -0.5455384850502014, 0.39713484048843384, 0.2812441885471344, -0.27802789211273193, -0.3869907557964325, -0.02378358505666256, 0.2394900918006897, 0.8271158933639526, 0.10755932331085205, 0.9345611333847046, -0.27519136667251587, 0.8894348740577698, -0.07544358819723129, 0.7683029770851135...
func SaveConfigToFile(configFile *os.File, v interface{}) error { if _, err := configFile.Seek(0, 0); err != nil { return fmt.Errorf("cannot seek config file, error msg:(%v)", err) } if err := configFile.Truncate(0); err != nil { return fmt.Errorf("cannot truncate config file, error msg:(%v)", err) } if err :=...
[ -0.37648653984069824, 0.1517890989780426, 0.5553376078605652, -0.48781079053878784, 0.7244123220443726, 0.1951664686203003, 0.6311506628990173, -0.40608105063438416, -1.1457828283309937, 1.3509695529937744, -0.9137963652610779, -0.6495823264122009, 0.001469509326852858, 0.7588709592819214,...
func SaveConfigToPath(configPath string, config interface{}) (err error) { configFile, err := os.OpenFile(configPath, os.O_RDWR, 0666) if err != nil { return err } defer utils.CheckClose(configFile, "error writing to "+configPath, &err) return SaveConfigToFile(configFile, config) }
[ -0.4100712239742279, -0.6900935769081116, 0.4091685712337494, 0.1073436290025711, 0.39153116941452026, 0.4371005594730377, 0.940574049949646, -0.08190733194351196, -0.7852537035942078, 1.0957634449005127, -1.3323394060134888, -1.1286274194717407, -0.6615028977394104, 0.361794114112854, 0...
func Save(w io.Writer, v interface{}) error { data, err := json.Marshal(v) if err != nil { return err } _, err = io.WriteString(w, string(data)) return err }
[ -0.6239781975746155, -0.5325467586517334, 0.5421878695487976, -0.9258767366409302, -0.31456300616264343, -0.4224124550819397, -0.2286314070224762, -0.688996434211731, -0.11341177672147751, 1.0206953287124634, -0.9576687812805176, 0.19857683777809143, 0.11334963142871857, -0.101324357092380...
func Load(r io.Reader, v interface{}) error { data, err := ioutil.ReadAll(r) if err != nil { return err } return json.Unmarshal(data, v) }
[ -0.9832813739776611, -0.7177760601043701, 0.794128954410553, -1.369072675704956, -1.0765767097473145, -0.3414052128791809, -0.9673088788986206, -0.3930194675922394, -0.35644105076789856, 0.720107913017273, -0.10960150510072708, -0.0091269975528121, -0.42547640204429626, -1.0196810960769653...
func LoadFromFile(path string, v interface{}) (err error) { r, err := os.Open(path) if err != nil { return err } defer utils.CheckClose(r, fmt.Sprintf("error closing %q", path), &err) return Load(r, v) }
[ 0.24714305996894836, 0.1840319186449051, 0.5276496410369873, -0.5275705456733704, -1.1651816368103027, 0.544845461845398, -0.2546670436859131, -0.7928736209869385, -0.8445816040039062, 0.1597777009010315, 0.22928005456924438, -0.08661317080259323, -0.8583009839057922, -0.25787243247032166,...
func NewEffectedAction(kit kit.Kit, viper *viper.Viper, dataMgrCli pbdatamanager.DataManagerClient, req *pb.QueryEffectedAppInstancesReq, resp *pb.QueryEffectedAppInstancesResp) *EffectedAction { action := &EffectedAction{kit: kit, viper: viper, dataMgrCli: dataMgrCli, req: req, resp: resp} action.resp.Result = tru...
[ -0.088046133518219, -1.1175625324249268, 0.3400615155696869, -0.4989135265350342, -0.3196936249732971, 0.42549312114715576, 0.3018479347229004, 0.08509809523820877, 0.3483911156654358, 0.5341816544532776, 0.11714314669370651, 0.9575672149658203, -1.1955515146255493, 1.0411449670791626, 0...
func (act *EffectedAction) Err(errCode pbcommon.ErrCode, errMsg string) error { if errCode != pbcommon.ErrCode_E_OK { act.resp.Result = false } act.resp.Code = errCode act.resp.Message = errMsg return errors.New(errMsg) }
[ -0.07350423187017441, -0.6106150150299072, 0.17464323341846466, -0.43476417660713196, -0.12331979721784592, 0.2996880114078522, 0.6480143070220947, -0.0046107154339551926, 0.4730978310108185, 0.385125070810318, 1.1374553442001343, 0.5537504553794861, -0.5871499180793762, 0.6777858734130859...
func (act *EffectedAction) Input() error { if err := act.verify(); err != nil { return act.Err(pbcommon.ErrCode_E_CS_PARAMS_INVALID, err.Error()) } return nil }
[ 0.5100352168083191, -0.03236584737896919, 0.371058851480484, 0.3493095338344574, 0.3982873558998108, 1.3995763063430786, 1.7252273559570312, 0.36364343762397766, 0.48986613750457764, 0.2498411238193512, 0.5012065768241882, 1.437818169593811, -0.7761504650115967, 0.9197693467140198, 0.554...
func (act *EffectedAction) Output() error { // do nothing. return nil }
[ 0.1808468997478485, -0.6673671007156372, 0.10713700950145721, -0.11558303982019424, 0.21586182713508606, 0.379659503698349, 1.8158596754074097, -0.2577205300331116, 0.5677667856216431, -0.1807948797941208, 0.3866012990474701, 1.3768436908721924, -0.6679496169090271, 0.3592683970928192, -...
func (act *EffectedAction) Do() error { // query release info. if errCode, errMsg := act.queryRelease(); errCode != pbcommon.ErrCode_E_OK { return act.Err(errCode, errMsg) } // check release effect timeout. if errCode, errMsg := act.checkEffectTimeout(); errCode != pbcommon.ErrCode_E_OK { return act.Err(errCo...
[ -0.5678669214248657, -0.4712292551994324, 0.8712617754936218, -0.7552493810653687, 0.2218359410762787, 0.3006385564804077, 0.7772088050842285, -0.32416775822639465, 0.07168961316347122, 0.5322822332382202, -0.06644855439662933, 0.9256703853607178, -0.5641140937805176, 0.3964824676513672, ...
func NewNetworkPolicy(ctx *pulumi.Context, name string, args *NetworkPolicyArgs, opts ...pulumi.ResourceOption) (*NetworkPolicy, error) { if args == nil { args = &NetworkPolicyArgs{} } args.ApiVersion = pulumi.StringPtr("extensions/v1beta1") args.Kind = pulumi.StringPtr("NetworkPolicy") aliases := pulumi.Alias...
[ -0.2806544899940491, 0.5804343223571777, 0.4419325888156891, -0.31878912448883057, 0.43364590406417847, 0.8535731434822083, -0.7641408443450928, -0.11685565114021301, 0.4285432696342468, 0.3433871269226074, -0.9014720320701599, -0.5947346091270447, -0.1947353184223175, -0.06958109885454178...
func GetNetworkPolicy(ctx *pulumi.Context, name string, id pulumi.IDInput, state *NetworkPolicyState, opts ...pulumi.ResourceOption) (*NetworkPolicy, error) { var resource NetworkPolicy err := ctx.ReadResource("kubernetes:extensions/v1beta1:NetworkPolicy", name, id, state, &resource, opts...) if err != nil { retu...
[ 0.2501097619533539, 0.35009095072746277, 0.15285852551460266, -0.2569178640842438, 0.32184267044067383, 0.5719638466835022, -0.8234245777130127, -0.5309134125709534, 1.1335597038269043, -0.02337150275707245, -0.21048370003700256, 0.06317926943302155, -0.308236300945282, -0.824077844619751,...
func (o NetworkPolicyOutput) ApiVersion() pulumi.StringOutput { return o.ApplyT(func(v *NetworkPolicy) pulumi.StringOutput { return v.ApiVersion }).(pulumi.StringOutput) }
[ 0.4073063135147095, -0.7767590880393982, 0.04593436419963837, -1.0083426237106323, 0.4348282516002655, 1.6173350811004639, -0.5820988416671753, 0.12218695878982544, 0.6491838693618774, 0.2634684145450592, -0.8128517866134644, -0.4430682063102722, -0.17476750910282135, -1.216290831565857, ...
func (o NetworkPolicyOutput) Kind() pulumi.StringOutput { return o.ApplyT(func(v *NetworkPolicy) pulumi.StringOutput { return v.Kind }).(pulumi.StringOutput) }
[ 0.9330097436904907, 0.12639427185058594, 0.3193123936653137, -0.6164398193359375, 0.6956174373626709, 1.767683982849121, -0.3173938989639282, -0.32474902272224426, 0.7020074129104614, 0.2036822885274887, 0.1744064837694168, 0.3720093071460724, -0.1109502762556076, -0.6766918301582336, -0...
func (o NetworkPolicyOutput) Metadata() metav1.ObjectMetaOutput { return o.ApplyT(func(v *NetworkPolicy) metav1.ObjectMetaOutput { return v.Metadata }).(metav1.ObjectMetaOutput) }
[ 0.2176450937986374, -0.7166317701339722, 0.41849085688591003, -0.5209925174713135, 0.7264478802680969, 1.0814545154571533, -0.34728360176086426, -0.21943672001361847, 0.6243426203727722, 0.34987005591392517, -0.517806351184845, -0.014164273627102375, 0.9045844674110413, -0.9141620397567749...
func (o NetworkPolicyOutput) Spec() NetworkPolicySpecOutput { return o.ApplyT(func(v *NetworkPolicy) NetworkPolicySpecOutput { return v.Spec }).(NetworkPolicySpecOutput) }
[ 0.6299523115158081, -0.23359674215316772, 0.25131863355636597, -0.9153749942779541, 0.023031707853078842, 0.8506168723106384, 0.13627927005290985, -0.11436887830495834, 0.7147325277328491, -0.13461388647556305, 0.3157271444797516, -0.33255264163017273, 0.9982832074165344, -0.44063395261764...
func main() { //Trace code ---------------------------- //trace.Start(os.Stderr) //defer trace.Stop() //--------------------------------------- var istream string //Pprof variables ----------------------- //var cpuprofile = flag.String("cpuprofile", "", "write cpu profile to `file`") //var memprofile = flag.Str...
[ 1.4006221294403076, 0.21839015185832977, 1.296725869178772, 0.8859556317329407, -0.31187769770622253, -0.1979168802499771, 0.9015059471130371, 0.32872411608695984, -0.7873297333717346, 0.4835599958896637, -0.7469246983528137, -0.21174809336662292, -1.3282948732376099, -0.10885090380907059,...
func getProfilesDirectory() (string, error) { n := uint32(100) for { b := make([]uint16, n) e := windows.GetProfilesDirectory(&b[0], &n) if e == nil { return syscall.UTF16ToString(b), nil } if e != syscall.ERROR_INSUFFICIENT_BUFFER { return "", e } if n <= uint32(len(b)) { return "", e } } }
[ 0.5406718850135803, 0.22230853140354156, 0.9013880491256714, -0.007698542438447475, 0.4908754825592041, -0.443305641412735, 0.5660625100135803, -1.2764747142791748, 0.4609701931476593, 0.004687364678829908, 0.3834681212902069, 0.27806463837623596, -0.724045991897583, 0.8841325640678406, ...
func lookupUsernameAndDomain(usid *syscall.SID) (username, domain string, e error) { username, domain, t, e := usid.LookupAccount("") if e != nil { return "", "", e } if t != syscall.SidTypeUser { return "", "", fmt.Errorf("user: should be user account type, not %d", t) } return username, domain, nil }
[ 0.24111731350421906, 0.06955437362194061, 0.43235084414482117, 0.2157326191663742, -0.4372069835662842, -0.15304403007030487, 0.6744959950447083, -0.23240697383880615, 1.399775505065918, 0.05893755704164505, -0.3247576057910919, 0.7220837473869324, 0.19761502742767334, 0.5287763476371765, ...
func findHomeDirInRegistry(uid string) (dir string, e error) { k, e := registry.OpenKey(registry.LOCAL_MACHINE, `SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\`+uid, registry.QUERY_VALUE) if e != nil { return "", e } defer k.Close() dir, _, e = k.GetStringValue("ProfileImagePath") if e != nil { ret...
[ -0.1639249175786972, -0.12502552568912506, 0.6946296691894531, 0.429291695356369, -0.09939377754926682, -0.24410505592823029, 1.4747986793518066, 0.19579781591892242, 0.49477913975715637, 0.5466340780258179, -0.24107402563095093, 0.3686230480670929, -1.4338383674621582, 1.324590802192688, ...
func lookupGroupName(groupname string) (string, error) { sid, _, t, e := syscall.LookupSID("", groupname) if e != nil { return "", e } // https://msdn.microsoft.com/en-us/library/cc245478.aspx#gt_0387e636-5654-4910-9519-1f8326cf5ec0 // SidTypeAlias should also be treated as a group type next to SidTypeGroup // ...
[ 0.09352777898311615, 0.19853311777114868, 0.3150908946990967, -0.5121638774871826, -0.915042519569397, -0.38278061151504517, 0.3544698655605316, -0.666170060634613, 1.2497920989990234, 0.5256781578063965, 0.5718671679496765, 0.15490223467350006, -0.45517706871032715, 0.7987892627716064, ...
func listGroupsForUsernameAndDomain(username, domain string) ([]string, error) { // Check if both the domain name and user should be used. var query string joined, err := isDomainJoined() if err == nil && joined && len(domain) != 0 { query = domain + `\` + username } else { query = username } q, err := sysca...
[ 0.16724424064159393, -0.2972373962402344, 0.4049777388572693, -0.14400458335876465, -0.7507239580154419, -0.4112051725387573, -0.23016875982284546, -0.6897456645965576, 0.20923735201358795, -0.31782692670822144, -0.0048170690424740314, 0.6414079666137695, -0.8523068428039551, 0.84930992126...
func lookupUserPrimaryGroup(username, domain string) (string, error) { // get the domain RID sid, _, t, e := syscall.LookupSID("", domain) if e != nil { return "", e } if t != syscall.SidTypeDomain { return "", fmt.Errorf("lookupUserPrimaryGroup: should be domain account type, not %d", t) } domainRID, e := s...
[ 0.2803654372692108, 0.2850816547870636, 0.5444223880767822, -0.3048965334892273, -1.404302954673767, -0.30370867252349854, 0.3010590970516205, -0.5422457456588745, 0.576477587223053, -0.3542446196079254, 0.6088780164718628, 0.3529217839241028, -0.7499786019325256, 0.9122042059898376, 0.4...
func (d *driver) ReadConfig(unmarshal func(interface{}) error) error { return nil }
[ -0.9325342178344727, 0.3386854827404022, 0.4838750958442688, 0.16840247809886932, 0.31771013140678406, -0.14061252772808075, 0.201862633228302, 1.1358256340026855, -0.5593779683113098, -0.2312617152929306, 0.73464435338974, -0.5762072801589966, 0.6689240336418152, 0.74919593334198, 0.819...
func (d *driver) DoHTTPRequest(account keppel.Account, r *http.Request) (*http.Response, error) { resultChan := make(chan uint16, 1) d.getPortRequestChan <- getPortRequest{ Account: account, Result: resultChan, } r.URL.Scheme = "http" r.URL.Host = fmt.Sprintf("localhost:%d", <-resultChan) return http.Defaul...
[ 0.1320129632949829, 0.2794736325740814, 0.8235934376716614, -0.11257213354110718, 0.9840017557144165, -0.23008933663368225, 0.45959094166755676, -0.6914145350456238, -0.3031421899795532, 0.5931807160377502, 0.49659478664398193, 0.23663222789764404, 0.07353799045085907, -0.1768534928560257,...
func (d *driver) Run(ctx context.Context) (ok bool) { prepareBaseConfig() prepareCertBundle() go d.ensureAllRegistriesAreRunning() innerCtx, cancel := context.WithCancel(ctx) processExitChan := make(chan processExitMessage) pc := processContext{ Context: innerCtx, ProcessExitChan: processExitChan, }...
[ -0.05731520056724548, 0.11972521245479584, 1.0076115131378174, 0.3537125587463379, 0.1281113624572754, 0.2732374668121338, 0.43419575691223145, -0.05925861373543739, 0.2045639306306839, -0.07035114616155624, -0.05229748412966728, -0.3159613609313965, -0.6295785903930664, -0.134080305695533...
func (c *Camera) String() string { return fmt.Sprintf( "T: %.1f, R: %d, S: %d", c.Position, c.Rotation, c.ZoomFactor, ) }
[ -0.11047589778900146, -1.066070318222046, 0.055362965911626816, 0.2021152675151825, -0.028505006805062294, 0.08608634769916534, 0.26920396089553833, -1.2185341119766235, -0.49473127722740173, 0.5467730164527893, -0.757401168346405, -0.02368457056581974, 0.11107664555311203, -0.191681370139...
func (c *Camera) Render(world, screen *ebiten.Image) error { return screen.DrawImage(world, &ebiten.DrawImageOptions{ GeoM: c.worldMatrix(), }) }
[ 0.08229712396860123, 0.2995910346508026, 0.1717432141304016, 0.7154863476753235, 0.3050040304660797, 1.1539565324783325, -0.2447381615638733, -1.1946630477905273, 0.12408722937107086, 1.198176622390747, 0.7239816784858704, -0.1816742718219757, -0.23392190039157867, 0.8654647469520569, -0...
func (c *Camera) ScreenToWorld(posX, posY int) (float64, float64) { inverseMatrix := c.worldMatrix() if inverseMatrix.IsInvertible() { inverseMatrix.Invert() return inverseMatrix.Apply(float64(posX), float64(posY)) } // When scaling it can happend that matrix is not invertable return math.NaN(), math.NaN() }
[ -0.25264036655426025, 0.04251651093363762, 0.8295266032218933, 0.2680348753929138, -0.44128933548927307, 0.21187670528888702, -0.7179344892501831, -0.6791842579841614, 0.0902552604675293, 1.0058925151824951, -0.36857447028160095, 0.16735395789146423, -0.15775789320468903, 0.629054427146911...
func (data TestData) Grade() ([]WorkerResult, error) { results := make(chan WorkerResult, len(data.Tests)) for id, test := range data.Tests { fmt.Printf("Creating Worker [%d], Test:\n(%+v)\n", id, test) go Worker(id, test, results) } testResults := make([]WorkerResult, len(data.Tests)) for range data.Tests {...
[ -0.853557288646698, -0.2870980203151703, 0.6188441514968872, -0.3441909849643707, 0.3763877749443054, 0.17688462138175964, -0.08266159147024155, -0.609391987323761, -0.9578191041946411, 0.2535388767719269, -0.4767095446586609, -0.2544642984867096, -1.177241563796997, 0.9863977432250977, ...
func (data TestData) Build() (map[string]string, error) { cmds := strings.Split(data.TestBuildCMD, "\n") totalOutput := make(map[string]string) for _, cmd := range cmds { args := strings.Fields(cmd) if args[0][0] != '#' { buildCmd := exec.Command(args[0], args[1:]...) buildOut, err := buildCmd.Output() ...
[ -0.7356931567192078, -1.1300498247146606, 0.7775894999504089, -0.01796664111316204, 0.06764338165521622, -0.7697901129722595, 1.001321792602539, -0.1913544237613678, -0.3694090247154236, -0.5935242772102356, -0.2253149002790451, -0.1554087996482849, -0.15894800424575806, 0.5081120729446411...
func NewInitCommand(io ui.IO, newClientWithCredentials func(credentials.Provider) (secrethub.ClientInterface, error), credentialStore CredentialConfig) *InitCommand { return &InitCommand{ io: io, newClientWithCredentials: newClientWithCredentials, credentialStore: credentialStore, ...
[ 0.5017688870429993, -0.9417006969451904, 0.29779288172721863, 0.3521672487258911, -0.2431640625, 0.05862260237336159, 0.22459685802459717, -0.05779564008116722, 0.06962430477142334, -0.6701564192771912, -0.6468598246574402, 1.2251473665237427, -0.5430782437324524, 0.8465282917022705, -0....
func (cmd *InitCommand) Register(r cli.Registerer) { clause := r.Command("init", "Initialize the SecretHub client for first use on this device.") clause.Flags().StringVar(&cmd.backupCode, "backup-code", "", "The backup code used to restore an existing account to this device.") clause.Flags().StringVar(&cmd.setupCode...
[ -0.23003847897052765, 0.42016658186912537, 0.7124812602996826, 0.9467728734016418, 1.2610185146331787, -0.05802726373076439, 0.3325040638446808, 0.7241488695144653, -0.5707093477249146, -0.6982860565185547, -0.9777860045433044, 0.7575297355651855, -0.5359420776367188, 1.1408617496490479, ...
func (cmd *InitCommand) Run() error { if cmd.setupCode != "" && cmd.backupCode != "" { return ErrFlagsConflict("--backup-code and --setup-code") } credentialPath := cmd.credentialStore.ConfigDir().Credential().Path() if cmd.credentialStore.ConfigDir().Credential().Exists() && !cmd.force { confirmed, err := ui...
[ 0.02696968801319599, -0.7387033700942993, 0.9942449331283569, 0.9989507794380188, 0.4940158426761627, -0.00868353620171547, 1.0685956478118896, 0.37908637523651123, -0.047817789018154144, -0.2985479235649109, -0.7627642750740051, 0.7093595266342163, -0.6370426416397095, 0.4975763261318207,...
func createStartRepo(client secrethub.ClientInterface, username string, fullName string) (string, error) { repoPath := secretpath.Join(username, "start") _, err := client.Repos().Create(secretpath.Join(repoPath)) if err != nil { return "", err } secretPath := secretpath.Join(repoPath, "hello") message := fmt.S...
[ 0.6054997444152832, -0.3367784023284912, 0.6501656174659729, 0.16838088631629944, -0.13724149763584137, 0.11073958873748779, 0.0582750029861927, 0.5097678303718567, -0.24017901718616486, -0.04093268886208534, -1.2170848846435547, 0.026089468970894814, -0.6004425883293152, -0.20014587044715...
func createWorkspace(client secrethub.ClientInterface, io ui.IO, org string, orgDescription string, progressPrinter progress.Printer) error { if org == "" { createWorkspace, err := ui.AskYesNo(io, "Do you want to create a shared workspace for your team?", ui.DefaultYes) if err != nil { return err } fmt.Fpri...
[ 0.40652114152908325, 0.333196759223938, 0.9150434136390686, 0.4660530090332031, 0.3041543662548065, 0.40551745891571045, 0.858068585395813, -0.18536359071731567, 0.16014637053012848, -0.08198676258325577, -0.28748810291290283, 0.7744007706642151, -1.6310361623764038, 1.029699683189392, 1...
func writeNewCredential(credential *credentials.KeyCreator, passphrase string, credentialFile *configdir.CredentialFile) error { exportKey := credential.Key if passphrase != "" { exportKey = exportKey.Passphrase(credentials.FromString(passphrase)) } encodedCredential, err := exportKey.Export() if err != nil { ...
[ -0.09694215655326843, -0.7697329521179199, 0.430070161819458, 0.3326879143714905, 0.0031986217945814133, 0.8968697786331177, 0.19873997569084167, 0.8306986093521118, -0.1849534958600998, 0.9805922508239746, -0.7092953324317932, 0.044947925955057144, -0.5949689149856567, 0.01986035332083702...
func askCredentialPassphrase(io ui.IO) (string, error) { return ui.AskPassphrase(io, "Please enter a passphrase to protect your local credential (leave empty for no passphrase): ", "Enter the same passphrase again: ", 3) }
[ 0.04830670729279518, -0.27305275201797485, 0.3820270895957947, 0.06626870483160019, -0.639091968536377, 0.11069835722446442, 0.25494518876075745, 0.22648297250270844, 0.21101374924182892, 0.024058250710368156, -0.027815140783786774, 0.27597013115882874, -1.1421020030975342, 0.2634410560131...
func (o DeleteOptions) Validate(c *cobra.Command, args []string) error { return nil }
[ 0.7837420701980591, 0.33309146761894226, 0.490989625453949, 0.40107306838035583, 1.5107996463775635, 0.22825326025485992, 0.6093904376029968, -0.2679418623447418, 0.3057076930999756, -0.5982661247253418, 0.7593774199485779, 0.004175188485532999, -0.9627231359481812, 0.9819273948669434, 0...
func NewDeleteOptions(streams genericclioptions.IOStreams) CommandOptions { return &DeleteOptions{ IOStreams: streams, } }
[ 0.5518251061439514, -0.6940062642097473, 0.3486182689666748, 0.1293400675058365, -0.196144238114357, -0.7812271118164062, -0.32682710886001587, -1.1433595418930054, 0.5785690546035767, 0.3452174961566925, 0.3343203067779541, 0.67071533203125, -0.5773981809616089, 0.8787564635276794, -0.5...
func Delete(streams genericclioptions.IOStreams, f factory.Factory) *cobra.Command { // o := NewDeleteOptions(streams).(*DeleteOptions) cmd := &cobra.Command{ Use: "delete", DisableFlagsInUseLine: true, Short: "Delete a component wih falcoctl", Long: `Delete...
[ 1.3287194967269897, 0.11408058553934097, 0.5571855902671814, 0.4768839180469513, 1.1221883296966553, -0.2019607275724411, 0.42513030767440796, -0.0490017831325531, 0.4756927192211151, -0.7902867794036865, 0.39641615748405457, 0.07977066189050674, -0.31729939579963684, 0.36612606048583984, ...
func (g *Graphite) Write(_ context.Context, vl *api.ValueList) error { for i, v := range vl.Values { dsName := "" if g.AlwaysAppendDS || len(vl.Values) != 1 { dsName = vl.DSName(i) } name := g.formatName(vl.Identifier, dsName) val, err := g.formatValue(v) if err != nil { return err } t := vl.T...
[ -1.0847829580307007, 0.31582149863243103, 0.49997618794441223, -0.3963039517402649, 0.655683159828186, -0.08370032161474228, -0.26118189096450806, -0.27991095185279846, -0.388406366109848, 0.6148355007171631, -0.38315290212631226, -0.022686036303639412, 0.5287624001502991, 1.12549686431884...
func NewMetaProduk(limit, offset int, total int64) *MetaProduk { return &MetaProduk{ Limit: limit, Offset: offset, Total: total, } }
[ -0.6293570399284363, 0.3412625193595886, 0.5528607368469238, 0.3862830698490143, -1.3218283653259277, -0.05870048701763153, -0.400527685880661, 0.33935463428497314, 0.014290708117187023, -0.09297225624322891, 0.21279078722000122, 0.20068444311618805, 0.46226412057876587, -0.426371723413467...
func NewProdukHandler(service service.ProdukUseCase) *ProdukHandler { return &ProdukHandler{ service: service, } }
[ -0.2519630491733551, -0.6238136291503906, -0.12004220485687256, 1.312831997871399, -1.84127676486969, -0.7167763710021973, -0.15291288495063782, -0.5644248723983765, 0.6361169219017029, 0.19968323409557343, -0.08786291629076004, 0.4082900881767273, -0.39945653080940247, -0.2748341858386993...
func (handler *ProdukHandler) CreateProduk(echoCtx echo.Context) error { var form CreateProdukBodyRequest if err := echoCtx.Bind(&form); err != nil { errorResponse := buildErrorResponse(err, entity.ErrInvalidInput) return echoCtx.JSON(nethttp.StatusBadRequest, errorResponse) } produkEntity := entity.NewProduk(...
[ -1.5883709192276, 0.08070319890975952, 0.9112000465393066, 0.770233154296875, -0.11570672690868378, 0.4636879563331604, 0.5762640237808228, -0.5703312158584595, 0.0700656846165657, -0.04883957654237747, -0.05677575618028641, -0.36949026584625244, -0.008116189390420914, 0.825510561466217, ...
func Constructor() HitCounter { return HitCounter{&Node{0,0,nil,nil}} }
[ 0.6075844764709473, -0.4671748876571655, 0.18013381958007812, -0.016083702445030212, 0.17001208662986755, 0.18470777571201324, 1.1599279642105103, 0.808271586894989, -0.5134316086769104, -0.6883641481399536, -0.09123367816209793, -0.25374090671539307, 0.337300181388855, 0.3157469630241394,...
func (this *HitCounter) GetHits(timestamp int) int { if this.tail == nil { return 0 } start := this.tail count := 0 for start != nil && (timestamp - start.Key) < 300{ if start.Key <= timestamp{ count += start.Count } start = start.Prev } return count }
[ -0.05813797935843468, 0.9364916086196899, 0.678625226020813, -0.6131762862205505, -0.2941913604736328, -0.43081018328666687, 0.4055005609989166, -0.5976799726486206, 0.24780960381031036, -0.22620269656181335, -0.36586982011795044, 0.9492817521095276, -0.1960245817899704, -0.436221480369567...
func WaitForAPI(collectorName string) (string, error) { bp, err := common.New() if err != nil { return "", errors.Wrap(err, "Not attempting to import collector, failed to run sdk.bindplane.New()") } startTime := time.Now().Unix() for { collectors, err := bp.GetCollectors() if err != nil { return "", err...
[ 0.2350863814353943, -0.46439364552497864, 0.7534960508346558, -0.6952263116836548, -0.2028668075799942, 0.33424997329711914, -0.031114405021071434, -1.3004751205444336, -0.3704243004322052, -0.0560896210372448, -0.20712324976921082, -0.4790870249271393, -0.7696610689163208, 0.7065545916557...
func Read(id string) error { bp, err := common.New() if err != nil { return err } _, err = bp.GetCollector(id) return err }
[ -0.05963021144270897, -0.6540996432304382, 0.7266526818275452, -0.39781564474105835, 0.43688690662384033, 0.44602081179618835, 0.3232300877571106, -1.111769199371338, 0.008612561039626598, -0.758427083492279, 0.3346560597419739, 0.4358733892440796, -1.1360245943069458, 0.15547919273376465,...
func Delete(id string) error { bp, err := common.New() if err != nil { return err } return bp.DeleteCollector(id) }
[ 0.6372816562652588, 0.17346589267253876, 0.5747233033180237, 0.3996361792087555, 0.9962922930717468, 0.35805562138557434, 0.40656009316444397, -0.6592650413513184, 0.48973414301872253, -0.18229463696479797, -0.20116324722766876, -0.10407514125108719, -1.632521390914917, 0.18213064968585968...
func (o *AccountSigninReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) { switch response.Code() { case 200: result := NewAccountSigninOK() if err := result.readResponse(response, consumer, o.formats); err != nil { return nil, err } return result, nil ...
[ -0.5441561937332153, -0.9837945103645325, 0.6920097470283508, 0.8234386444091797, -0.03306737542152405, -0.9301289319992065, -0.06533527374267578, -0.06472642719745636, 0.5321553945541382, 0.2609879672527313, 0.24689799547195435, -0.8492223620414734, -0.7597119808197021, -0.195492148399353...
func NewAccountSigninOK() *AccountSigninOK { return &AccountSigninOK{} }
[ 0.25228309631347656, -0.8737924695014954, 0.17099474370479584, 0.9605860114097595, -1.4419242143630981, -0.9179965257644653, 0.43426328897476196, 0.9681010842323303, -0.03773217648267746, -0.6535093784332275, -1.0913423299789429, -0.7158669233322144, 0.6079344749450684, -0.2567634880542755...
func NewAccountSigninBadRequest() *AccountSigninBadRequest { return &AccountSigninBadRequest{} }
[ -0.5764680504798889, -0.7686289548873901, 0.39358365535736084, 0.6212160587310791, -0.8025241494178772, -0.31638818979263306, -0.6299998760223389, 0.25187087059020996, -0.18281549215316772, -0.5383365154266357, -0.27563321590423584, 0.055301349610090256, -0.3832152485847473, 0.651977777481...
func (m *DecodeCalldataBytecode) Validate(formats strfmt.Registry) error { var res []error if err := m.validateBackend(formats); err != nil { res = append(res, err) } if err := m.validateBytecode(formats); err != nil { res = append(res, err) } if err := m.validateCalldata(formats); err != nil { res = app...
[ 0.3336922824382782, 0.7493802309036255, 0.640842080116272, -0.8396860361099243, -0.07849674671888351, 0.10058827698230743, -0.16152863204479218, -0.5443322062492371, -0.08832056820392609, -0.3111877143383026, 0.056882020086050034, 0.34382206201553345, -0.8458490371704102, 0.903467476367950...
func (m *DecodeCalldataBytecode) ContextValidate(ctx context.Context, formats strfmt.Registry) error { var res []error if err := m.contextValidateBytecode(ctx, formats); err != nil { res = append(res, err) } if err := m.contextValidateCalldata(ctx, formats); err != nil { res = append(res, err) } if len(res...
[ 0.23115645349025726, 0.34897059202194214, 0.6792129278182983, -0.8595090508460999, -0.41313090920448303, 0.4129263460636139, -0.45014604926109314, -0.21178656816482544, 0.9043740034103394, -0.13576728105545044, 0.038946107029914856, 0.8700168132781982, -0.8223145008087158, 0.30330047011375...
func ConvertKeyToNotation(key string, notation KeyNotation) (string, error) { idx := getKeyIndex(key) if idx == -1 { return "", errors.New("invalid key") } return notationToKeys[notation][idx], nil }
[ -1.315910816192627, -0.254973441362381, 0.3482632040977478, -0.04559590294957161, -0.756801426410675, -0.6453602910041809, -0.34022486209869385, 0.4714377820491791, -0.4440069794654846, 1.3842536211013794, -0.28072109818458557, -0.3356710970401764, -0.015732934698462486, -0.223300710320472...
func RegisterDeepCopies(scheme *runtime.Scheme) error { return scheme.AddGeneratedDeepCopyFuncs( conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_project_Project, InType: reflect.TypeOf(&Project{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_project_ProjectList, InType: reflect.TypeOf(&ProjectList{})}, conversi...
[ -1.7729151248931885, 0.987265408039093, 0.535500705242157, -0.06956259906291962, -0.15043982863426208, 0.36890077590942383, 0.690470278263092, -0.9357239007949829, -0.0687108188867569, -0.21829891204833984, -1.005118489265442, -0.02997206337749958, -0.32764291763305664, 0.5639886260032654,...
func stoneGame(piles []int) bool { }
[ -0.8793520927429199, 0.5476971864700317, 0.41726154088974, 0.9884132146835327, 0.04009182006120682, 0.20860572159290314, 0.08277706801891327, -0.28737103939056396, 0.36306196451187134, 1.240952730178833, -0.5939955115318298, -1.521334171295166, -0.9867026209831238, 0.42267194390296936, -...
func NewCalendar() Calendar { return Calendar{ Events: []Event{}, } }
[ 0.2701268196105957, -1.124117136001587, 0.13601571321487427, 0.2829347252845764, -0.9290423393249512, 0.16989751160144806, -0.13892537355422974, 0.36644089221954346, 0.7718262076377869, -0.8948548436164856, -0.11903340369462967, 0.7564014196395874, -0.5007417798042297, 0.3589669167995453, ...
func Build() error { Building = true defer build.Benchmark(time.Now(), "Total build", true) build.CheckVerboseFlag(VerboseFlag) build.CheckBenchmarkFlag(BenchmarkFlag) build.CheckMinifyFlag(MinifyFlag) var err error // Handle panic when someone tries building outside of a valid Plenti site. defer func() { ...
[ -0.3601182699203491, 0.2128559947013855, 0.6226847171783447, 0.2981468439102173, 1.0116446018218994, 1.0349795818328857, 0.8565812110900879, -0.557198166847229, -0.20736031234264374, -0.3438822031021118, -0.22345955669879913, 0.26547494530677795, -0.09553951025009155, 0.20972895622253418, ...
func selectCnt(d *sql.DB, sql string) (int, error) { rows, err := d.Query(sql) defer func() { if rows != nil { rows.Close() } }() if err != nil { //if strings.Contains(err.Error(), "newer than query schema version") return 0, err } var cnt int for rows.Next() { if rows.Err() != nil { return 0, er...
[ 0.32892730832099915, -0.045256439596414566, 0.8465469479560852, -0.01590997911989689, -0.6905550956726074, -0.7741690874099731, 0.44692420959472656, -0.44859790802001953, 0.32438531517982483, -0.14470191299915314, 0.14496850967407227, -0.2548050284385681, 0.23145782947540283, 0.50214612483...
func NewMockMachineClient(ctrl *gomock.Controller) *MockMachineClient { mock := &MockMachineClient{ctrl: ctrl} mock.recorder = &MockMachineClientMockRecorder{mock} return mock }
[ 0.08804180473089218, -0.04856295511126518, 0.13361415266990662, 0.12475798279047012, -0.44888919591903687, 0.039627593010663986, 0.43053194880485535, -0.3527560234069824, -0.6180452704429626, 0.19876696169376373, -0.6043379306793213, 0.40029239654541016, -0.6401410102844238, 1.193275570869...
func (m *MockMachineClient) EXPECT() *MockMachineClientMockRecorder { return m.recorder }
[ 0.4194789230823517, 0.32091811299324036, 0.2014308124780655, -0.2607310116291046, -0.3003711700439453, 0.40916702151298523, -0.05713890865445137, 0.03542592003941536, -0.39796775579452515, -0.403328537940979, 0.692043662071228, 1.1091886758804321, -1.1441164016723633, 1.1082810163497925, ...
func (m *MockMachineClient) Execute(arg0 context.Context, arg1 ...grpc.CallOption) (machine.Machine_ExecuteClient, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0} for _, a := range arg1 { varargs = append(varargs, a) } ret := m.ctrl.Call(m, "Execute", varargs...) ret0, _ := ret[0].(machine.Machine_Exe...
[ -0.34936755895614624, -0.19316864013671875, 0.5339111685752869, 0.8742848038673401, 1.150294542312622, 0.7034359574317932, 0.04161594808101654, -0.4556203782558441, -1.247315764427185, 0.2890695333480835, -0.22800695896148682, -1.0870850086212158, -0.8581051826477051, 0.4494950771331787, ...
func (mr *MockMachineClientMockRecorder) Execute(arg0 interface{}, arg1 ...interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() varargs := append([]interface{}{arg0}, arg1...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Execute", reflect.TypeOf((*MockMachineClient)(nil).Execute), varargs...) }
[ -0.02826625108718872, 0.2921534776687622, 0.5441855788230896, 0.7793008089065552, 0.27886462211608887, 0.3106935918331146, -1.0000404119491577, -0.6806586980819702, -0.0739264190196991, 0.8695169687271118, 0.4841412603855133, 0.04121655970811844, -1.0271949768066406, 0.914688766002655, -...
func NewMockMachine_ExecuteServer(ctrl *gomock.Controller) *MockMachine_ExecuteServer { mock := &MockMachine_ExecuteServer{ctrl: ctrl} mock.recorder = &MockMachine_ExecuteServerMockRecorder{mock} return mock }
[ -1.074632167816162, -0.09021076560020447, 0.11130110174417496, -0.11992985010147095, 0.6980770826339722, 0.5045115351676941, -0.11061201989650726, 0.03010311909019947, -0.1669669896364212, -0.24183912575244904, -0.6377050876617432, 0.019788945093750954, -0.5763572454452515, 1.0251847505569...
func (m *MockMachine_ExecuteServer) EXPECT() *MockMachine_ExecuteServerMockRecorder { return m.recorder }
[ -0.45517393946647644, 0.23667390644550323, 0.24875633418560028, 0.2764161229133606, 0.22977782785892487, 0.6040220856666565, -0.2260562777519226, 0.26657071709632874, -0.047085803002119064, -0.37960994243621826, 0.4372849464416504, 1.1773841381072998, -0.9790988564491272, 0.990208864212036...
func (m *MockMachine_ExecuteServer) Context() context.Context { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "Context") ret0, _ := ret[0].(context.Context) return ret0 }
[ -0.38343557715415955, 0.14813944697380066, 0.13277752697467804, 0.4590061902999878, 1.1871694326400757, 0.9031391143798828, 0.7743945717811584, -0.1900840848684311, -0.09389651566743851, -0.41042840480804443, -0.527942955493927, -0.15849408507347107, -1.0744051933288574, 0.8789875507354736...
func (mr *MockMachine_ExecuteServerMockRecorder) Context() *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Context", reflect.TypeOf((*MockMachine_ExecuteServer)(nil).Context)) }
[ -0.30452924966812134, 1.137560248374939, 0.019427983090281487, 0.24117030203342438, 0.4328244626522064, 0.7819619178771973, -0.2809015214443207, -0.8712113499641418, 0.9120197296142578, 0.2891562283039093, 0.3445413112640381, 0.9978217482566833, -1.06369948387146, 1.4260705709457397, -0....
func (m *MockMachine_ExecuteServer) Recv() (*machine.Instruction, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "Recv") ret0, _ := ret[0].(*machine.Instruction) ret1, _ := ret[1].(error) return ret0, ret1 }
[ -0.6721080541610718, -0.07613347470760345, 0.44328901171684265, 0.8804931640625, 1.0326075553894043, 0.32438984513282776, 1.2302820682525635, 0.11377720534801483, -0.7399260997772217, -0.27825307846069336, -0.7905247211456299, 0.26679345965385437, 0.27660083770751953, 0.571963369846344, ...
func (mr *MockMachine_ExecuteServerMockRecorder) Recv() *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Recv", reflect.TypeOf((*MockMachine_ExecuteServer)(nil).Recv)) }
[ -0.11934228241443634, 0.5285007357597351, 0.3761831820011139, 0.7569099068641663, 0.05700172856450081, 0.25502124428749084, 0.12752839922904968, -0.36072713136672974, 0.39829885959625244, 0.3176385760307312, 0.11535859853029251, 1.2111270427703857, -0.19629646837711334, 0.9953312873840332,...
func (m *MockMachine_ExecuteServer) RecvMsg(arg0 interface{}) error { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "RecvMsg", arg0) ret0, _ := ret[0].(error) return ret0 }
[ -0.15619437396526337, 0.5953574776649475, 0.1065204069018364, 0.22689850628376007, 0.6207221746444702, 0.05457707867026329, 0.43540018796920776, 0.121460922062397, -0.938606858253479, 0.24251730740070343, -0.6325567364692688, -0.5395761132240295, -0.25314855575561523, 1.8747096061706543, ...
func (mr *MockMachine_ExecuteServerMockRecorder) RecvMsg(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RecvMsg", reflect.TypeOf((*MockMachine_ExecuteServer)(nil).RecvMsg), arg0) }
[ -0.0875951498746872, 1.109385371208191, 0.17115867137908936, 0.0603838711977005, -0.10066861659288406, 0.16619469225406647, -0.45255032181739807, -0.25259608030319214, 0.06362049281597137, 0.8625491261482239, 0.0624474361538887, 0.3847097158432007, -0.1535499542951584, 1.8681575059890747, ...
func (m *MockMachine_ExecuteServer) Send(arg0 *machine.Result) error { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "Send", arg0) ret0, _ := ret[0].(error) return ret0 }
[ -0.598594069480896, 0.06073075160384178, 0.1877436339855194, 0.5829826593399048, 1.1192361116409302, 0.4418833255767822, 0.5840857625007629, -0.6757932901382446, -1.0504369735717773, 0.2135177105665207, -0.5699986815452576, -0.31595197319984436, -0.9141942858695984, 1.3388646841049194, 0...
func (mr *MockMachine_ExecuteServerMockRecorder) Send(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Send", reflect.TypeOf((*MockMachine_ExecuteServer)(nil).Send), arg0) }
[ -0.4146575927734375, 0.5216107964515686, 0.18361228704452515, 0.5204226970672607, 0.1493675261735916, 0.27417808771133423, -0.2898600399494171, -1.0691988468170166, 0.1183663159608841, 0.9630188345909119, 0.3124900758266449, 0.6004647016525269, -0.8781085014343262, 1.8829416036605835, -0...
func (m *MockMachine_ExecuteServer) SendHeader(arg0 metadata.MD) error { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "SendHeader", arg0) ret0, _ := ret[0].(error) return ret0 }
[ -0.5303328037261963, -0.2789630889892578, 0.4185699224472046, 0.6856662034988403, 0.8262426257133484, 0.54444420337677, 1.3294622898101807, -0.17977549135684967, -0.7944929599761963, -0.19344894587993622, -0.02562427520751953, -0.5000368356704712, -1.1989659070968628, 1.6920889616012573, ...
func (mr *MockMachine_ExecuteServerMockRecorder) SendHeader(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SendHeader", reflect.TypeOf((*MockMachine_ExecuteServer)(nil).SendHeader), arg0) }
[ -0.48925867676734924, 0.5981971025466919, 0.363935649394989, 0.635247528553009, -0.228138729929924, 0.5918319225311279, 0.3720623552799225, -0.6722501516342163, 0.6700215935707092, 0.4019920825958252, 0.6541578769683838, 0.42785343527793884, -1.281453013420105, 1.712557077407837, 0.55397...
func (m *MockMachine_ExecuteServer) SendMsg(arg0 interface{}) error { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "SendMsg", arg0) ret0, _ := ret[0].(error) return ret0 }
[ -0.458097904920578, 0.4184548258781433, 0.025767061859369278, 0.5658189058303833, 0.8868909478187561, 0.29004791378974915, 0.8640584945678711, 0.4970019459724426, -0.7744309902191162, -0.05675627291202545, 0.1068558320403099, -0.5480734705924988, -0.7229709625244141, 2.0332746505737305, ...
func (mr *MockMachine_ExecuteServerMockRecorder) SendMsg(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SendMsg", reflect.TypeOf((*MockMachine_ExecuteServer)(nil).SendMsg), arg0) }
[ -0.43696659803390503, 1.0808016061782837, 0.08716803789138794, 0.324529767036438, -0.08331490308046341, 0.41835397481918335, -0.04509778320789337, -0.061125677078962326, 0.4567035436630249, 0.5841813087463379, 0.661112368106842, 0.43284356594085693, -0.6995377540588379, 2.093339681625366, ...
func (m *MockMachine_ExecuteServer) SetHeader(arg0 metadata.MD) error { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "SetHeader", arg0) ret0, _ := ret[0].(error) return ret0 }
[ -0.6055620908737183, 0.06704068183898926, 0.3086352050304413, 0.7595754861831665, 0.8804352283477783, 0.4252660274505615, 1.2508544921875, -0.0811891257762909, -1.0197347402572632, -0.46064019203186035, -0.1320452243089676, -0.48373040556907654, -0.7131468057632446, 1.4019449949264526, 1...
func (mr *MockMachine_ExecuteServerMockRecorder) SetHeader(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetHeader", reflect.TypeOf((*MockMachine_ExecuteServer)(nil).SetHeader), arg0) }
[ -0.5190075039863586, 0.8102988600730896, 0.38404056429862976, 0.8012875318527222, -0.2142324596643448, 0.5420035123825073, 0.02005178853869438, -0.29997655749320984, 0.3806028664112091, 0.16450569033622742, 0.4794958531856537, 0.3430297374725342, -0.7802528738975525, 1.5664416551589966, ...
func (m *MockMachine_ExecuteServer) SetTrailer(arg0 metadata.MD) { m.ctrl.T.Helper() m.ctrl.Call(m, "SetTrailer", arg0) }
[ -0.2664739787578583, 0.17495542764663696, 0.24008698761463165, 0.13221049308776855, 0.7781743407249451, 0.3175782859325409, 1.1761114597320557, -0.05007094889879227, -1.4164973497390747, -0.473558247089386, -0.7497121691703796, -0.3948207199573517, -0.715461254119873, 2.212175130844116, ...
func (mr *MockMachine_ExecuteServerMockRecorder) SetTrailer(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetTrailer", reflect.TypeOf((*MockMachine_ExecuteServer)(nil).SetTrailer), arg0) }
[ -0.19227482378482819, 0.7646355032920837, 0.08869944512844086, -0.05106178671121597, -0.11593851447105408, 0.2949143350124359, 0.29967203736305237, -0.5334841012954712, -0.25201281905174255, 0.18385952711105347, -0.21009352803230286, 0.06088068336248398, -1.034401535987854, 2.1713185310363...
func NewMockMachine_ExecuteClient(ctrl *gomock.Controller) *MockMachine_ExecuteClient { mock := &MockMachine_ExecuteClient{ctrl: ctrl} mock.recorder = &MockMachine_ExecuteClientMockRecorder{mock} return mock }
[ -0.04361856356263161, -0.14634695649147034, 0.02695918083190918, -0.6336808800697327, 0.43498694896698, 0.4249977171421051, 0.0473155677318573, -0.09281555563211441, -0.6424162983894348, -0.17534874379634857, -0.1733822524547577, -0.04508405178785324, -0.3441436290740967, 0.503260016441345...
func (m *MockMachine_ExecuteClient) EXPECT() *MockMachine_ExecuteClientMockRecorder { return m.recorder }
[ 0.34446612000465393, 0.28626519441604614, 0.2132403403520584, -0.20593146979808807, 0.2689651548862457, 0.6471109986305237, -0.04864230006933212, 0.11030955612659454, -0.4293723702430725, -0.13875555992126465, 0.6468157172203064, 0.9077031016349792, -0.9842272400856018, 0.6835463047027588,...
func (m *MockMachine_ExecuteClient) CloseSend() error { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "CloseSend") ret0, _ := ret[0].(error) return ret0 }
[ -0.5298628807067871, -0.28023967146873474, 0.20793533325195312, 0.8322775363922119, 0.5467821359634399, 0.37343642115592957, 0.14680784940719604, -0.37030139565467834, -1.0766681432724, -0.3035925626754761, -0.4788210988044739, -0.3367224633693695, -1.40639328956604, 1.3575947284698486, ...
func (mr *MockMachine_ExecuteClientMockRecorder) CloseSend() *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CloseSend", reflect.TypeOf((*MockMachine_ExecuteClient)(nil).CloseSend)) }
[ -0.21732057631015778, 0.3886028826236725, -0.004230933263897896, 0.5320398211479187, -0.3139663338661194, 0.4374333918094635, -0.7620906233787537, -0.2868407666683197, -0.03962546959519386, 0.5335327982902527, 0.4528372287750244, 0.7170490622520447, -1.217164397239685, 1.426451325416565, ...
func (m *MockMachine_ExecuteClient) Context() context.Context { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "Context") ret0, _ := ret[0].(context.Context) return ret0 }
[ -0.16377151012420654, 0.1357121467590332, 0.08944880962371826, 0.3154734969139099, 1.250679612159729, 0.9473051428794861, 0.798037588596344, -0.19336183369159698, -0.19230224192142487, -0.3917236626148224, -0.419833779335022, -0.19783295691013336, -1.0853970050811768, 0.7779616117477417, ...
func (mr *MockMachine_ExecuteClientMockRecorder) Context() *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Context", reflect.TypeOf((*MockMachine_ExecuteClient)(nil).Context)) }
[ -0.09267923980951309, 1.17112398147583, -0.04873410612344742, 0.08150198310613632, 0.4427991211414337, 0.870594322681427, -0.2412615567445755, -0.8494681119918823, 0.7962248921394348, 0.39747706055641174, 0.4410823881626129, 0.9015699625015259, -1.0673041343688965, 1.270666241645813, -0....
func (m *MockMachine_ExecuteClient) Header() (metadata.MD, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "Header") ret0, _ := ret[0].(metadata.MD) ret1, _ := ret[1].(error) return ret0, ret1 }
[ -0.9393411874771118, 0.08455480635166168, 0.32215452194213867, 1.051131010055542, 0.977647066116333, 0.8395376205444336, 0.8290061950683594, -0.26307421922683716, -1.0132949352264404, -0.36835014820098877, -0.21733589470386505, -0.31624355912208557, -1.0778021812438965, 0.47788116335868835...
func (mr *MockMachine_ExecuteClientMockRecorder) Header() *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Header", reflect.TypeOf((*MockMachine_ExecuteClient)(nil).Header)) }
[ -0.24604950845241547, 0.7998303771018982, 0.266032874584198, 0.6873006224632263, -0.1010274887084961, 0.9165743589401245, -0.3352491557598114, -0.5512375831604004, 0.6162312030792236, 0.11135765165090561, 0.6643478274345398, 0.6451207399368286, -1.3958696126937866, 0.9856576323509216, 0....
func (m *MockMachine_ExecuteClient) Recv() (*machine.Result, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "Recv") ret0, _ := ret[0].(*machine.Result) ret1, _ := ret[1].(error) return ret0, ret1 }
[ -0.47346141934394836, -0.10320193320512772, 0.4822637438774109, 0.63294517993927, 1.1122567653656006, 0.29171162843704224, 1.0745545625686646, -0.013247865252196789, -0.9224029183387756, -0.34125787019729614, -0.8037652969360352, 0.07523319870233536, 0.1573518067598343, 0.5675093531608582,...
func (mr *MockMachine_ExecuteClientMockRecorder) Recv() *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Recv", reflect.TypeOf((*MockMachine_ExecuteClient)(nil).Recv)) }
[ 0.04327692091464996, 0.5624635815620422, 0.3349815011024475, 0.67867511510849, 0.03500834107398987, 0.31295400857925415, 0.16855372488498688, -0.37126290798187256, 0.3404165208339691, 0.3880504071712494, 0.17890708148479462, 1.1894314289093018, -0.21427063643932343, 0.8942958116531372, 0...
func (m *MockMachine_ExecuteClient) RecvMsg(arg0 interface{}) error { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "RecvMsg", arg0) ret0, _ := ret[0].(error) return ret0 }
[ -0.09761501848697662, 0.616621732711792, 0.07817110419273376, 0.17132340371608734, 0.6625312566757202, 0.06400655955076218, 0.421600878238678, 0.09567233920097351, -0.9356684684753418, 0.2362491339445114, -0.5913571715354919, -0.5759630799293518, -0.2635861039161682, 1.7745949029922485, ...
func (mr *MockMachine_ExecuteClientMockRecorder) RecvMsg(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RecvMsg", reflect.TypeOf((*MockMachine_ExecuteClient)(nil).RecvMsg), arg0) }
[ 0.016771849244832993, 1.1468993425369263, 0.12965047359466553, -0.002389616798609495, -0.0783388614654541, 0.23201638460159302, -0.4102765619754791, -0.26211366057395935, 0.03436567261815071, 0.9391044974327087, 0.1343306601047516, 0.34261587262153625, -0.16393274068832397, 1.7311264276504...
func (m *MockMachine_ExecuteClient) Send(arg0 *machine.Instruction) error { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "Send", arg0) ret0, _ := ret[0].(error) return ret0 }
[ -0.44782620668411255, 0.09245612472295761, 0.10467585921287537, 0.4922841489315033, 1.2342523336410522, 0.42823174595832825, 0.7182487845420837, -0.577667772769928, -1.100671648979187, 0.3841311037540436, -0.40564942359924316, -0.18499161303043365, -0.8005929589271545, 1.2048044204711914, ...
func (mr *MockMachine_ExecuteClientMockRecorder) Send(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Send", reflect.TypeOf((*MockMachine_ExecuteClient)(nil).Send), arg0) }
[ -0.2591392397880554, 0.5443887114524841, 0.13473080098628998, 0.4350939989089966, 0.19198821485042572, 0.34007683396339417, -0.24349455535411835, -1.0229530334472656, 0.08521179854869843, 1.0416439771652222, 0.37695640325546265, 0.5399566292762756, -0.8671615123748779, 1.7588274478912354, ...