text
stringlengths
11
6.3k
embedding
listlengths
768
768
func NewUpdateAddonParamsWithContext(ctx context.Context) *UpdateAddonParams { var () return &UpdateAddonParams{ Context: ctx, } }
[ 0.2641160488128662, -1.0932440757751465, 0.5376416444778442, -0.05756394565105438, -1.3502545356750488, 1.6407890319824219, -1.4867082834243774, -0.3373676836490631, 0.24572360515594482, 1.0446627140045166, -0.20697931945323944, 0.2831713557243347, -0.5230156183242798, 0.4897956848144531, ...
func NewUpdateAddonParamsWithHTTPClient(client *http.Client) *UpdateAddonParams { var () return &UpdateAddonParams{ HTTPClient: client, } }
[ 0.2714843451976776, -1.3770592212677002, 0.5019648671150208, -0.05835318937897682, -1.1504428386688232, 1.6175408363342285, -0.6967086791992188, 0.039779964834451675, -0.4730096161365509, 0.5598570704460144, -0.307757705450058, 0.20460473001003265, -0.5406522154808044, 0.4792127311229706, ...
func (o *UpdateAddonParams) WithTimeout(timeout time.Duration) *UpdateAddonParams { o.SetTimeout(timeout) return o }
[ 0.47810623049736023, -0.37264594435691833, 0.4790816307067871, -0.0007819369784556329, -1.2239058017730713, 0.7902916669845581, -1.0891543626785278, 0.4735184609889984, 0.34739452600479126, 1.4491907358169556, 0.08064665645360947, 0.6381858587265015, -0.1613767296075821, 0.8034661412239075...
func (o *UpdateAddonParams) SetTimeout(timeout time.Duration) { o.timeout = timeout }
[ 0.037955429404973984, -0.22488994896411896, 0.44202813506126404, 0.13741332292556763, -0.8227949142456055, 1.3215886354446411, -0.8861487507820129, 0.7731190323829651, 0.03914319723844528, 1.4401131868362427, -0.19222892820835114, 0.5096955299377441, -0.7026623487472534, 0.9275216460227966...
func (o *UpdateAddonParams) WithContext(ctx context.Context) *UpdateAddonParams { o.SetContext(ctx) return o }
[ -0.48391562700271606, -0.3506097197532654, 0.5117489099502563, -0.1744432896375656, -1.2546148300170898, 0.8449422717094421, -1.2572320699691772, -0.45403701066970825, 0.8768583536148071, 0.9360936284065247, -0.2840287685394287, 0.590505063533783, -0.7256633043289185, 0.2738981544971466, ...
func (o *UpdateAddonParams) SetContext(ctx context.Context) { o.Context = ctx }
[ -0.5775821208953857, -0.21164174377918243, 0.3225051462650299, 0.1863490492105484, -0.687076985836029, 1.1098062992095947, -0.9825127720832825, -0.066143698990345, 1.1282858848571777, 0.9194394946098328, -0.5712065100669861, 0.5780282020568848, -0.9662652015686035, 0.5360849499702454, -1...
func (o *UpdateAddonParams) WithHTTPClient(client *http.Client) *UpdateAddonParams { o.SetHTTPClient(client) return o }
[ -0.17607352137565613, -1.338800072669983, 0.5348993539810181, -0.4192206859588623, -1.0852785110473633, 0.6372036337852478, -0.44086331129074097, -0.22612625360488892, -0.025457320734858513, 0.45156463980674744, -0.21281787753105164, 0.494094580411911, -0.1675499528646469, 0.26060420274734...
func (o *UpdateAddonParams) SetHTTPClient(client *http.Client) { o.HTTPClient = client }
[ 0.2746847867965698, -0.9158304929733276, 0.5152463912963867, -0.6935145258903503, -1.1565799713134766, 0.6522512435913086, -0.2347729206085205, -0.07706233859062195, -0.22816616296768188, 0.6292945146560669, -0.7300438284873962, 0.8070633411407471, -0.8617889285087585, 0.061095014214515686...
func (o *UpdateAddonParams) WithAddon(addon *models.UpdateAddonParamsBody) *UpdateAddonParams { o.SetAddon(addon) return o }
[ -0.5669876933097839, -1.7221636772155762, 0.56208735704422, -0.10375988483428955, -1.5133132934570312, 0.505977213382721, -0.9481443762779236, 0.4699849784374237, 0.2765197455883026, 0.8475449085235596, -0.5175238251686096, 0.4947208762168884, -0.11556855589151382, 0.7436654567718506, -0...
func (o *UpdateAddonParams) SetAddon(addon *models.UpdateAddonParamsBody) { o.Addon = addon }
[ -0.97090744972229, -1.550646424293518, 0.3490806221961975, 0.3425077795982361, -1.2195028066635132, 0.9562106728553772, -0.8261600136756897, 0.5523489117622375, 0.3285718560218811, 0.9326197504997253, -1.3377691507339478, 0.9721910953521729, -0.5949156284332275, 1.1106942892074585, -0.12...
func (o *UpdateAddonParams) WithID(id string) *UpdateAddonParams { o.SetID(id) return o }
[ -0.0041526746936142445, -1.2295305728912354, 0.3642018139362335, 0.48491013050079346, -1.306837558746338, 0.8946211338043213, -0.7718609571456909, 0.3654734194278717, 1.3594856262207031, 1.0573697090148926, -0.37594592571258545, 0.32630667090415955, -0.8101640343666077, 1.054965853691101, ...
func (o *UpdateAddonParams) SetID(id string) { o.ID = id }
[ -0.3355339467525482, -1.1340174674987793, 0.2462463229894638, 0.5539772510528564, -0.8716341853141785, 1.2696679830551147, -0.7032289505004883, 0.43150684237480164, 1.0352567434310913, 0.7828309535980225, -0.8533512353897095, 0.40522536635398865, -1.0576887130737305, 1.4275214672088623, ...
func (o *UpdateAddonParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error { if err := r.SetTimeout(o.timeout); err != nil { return err } var res []error if o.Addon != nil { if err := r.SetBodyParam(o.Addon); err != nil { return err } } // path param id if err := r.SetPathParam("i...
[ -0.9904691576957703, -0.8272575736045837, 0.9518280029296875, -0.3159136474132538, 0.3361765444278717, 0.2965531051158905, 0.2945081293582916, 0.13425736129283905, -0.15667346119880676, 0.8981127142906189, -0.13575583696365356, 0.6378496885299683, -0.8993536829948425, 0.36943405866622925, ...
func NewBaseClient(url string, opts ...grpc.DialOption) (*BaseClient, error) { conn, err := grpc.Dial(url, opts...) if err != nil { return nil, err } grpcClient := access.NewAccessAPIClient(conn) return &BaseClient{ rpcClient: grpcClient, close: func() error { return conn.Close() }, jsonOptions: ...
[ -0.9085033535957336, -1.2111139297485352, 0.7450284361839294, 0.13168099522590637, -0.5196840167045593, 0.14191487431526184, 0.43070340156555176, -0.5024352073669434, -0.09136529266834259, 0.30267149209976196, -0.06416995823383331, 0.7220557332038879, -0.7584100961685181, -0.70139390230178...
func NewFromRPCClient(rpcClient RPCClient) *BaseClient { return &BaseClient{ rpcClient: rpcClient, close: func() error { return nil }, } }
[ 0.5152416229248047, -1.7645052671432495, 0.12176114320755005, -0.4129619896411896, -0.9673272967338562, 0.7255991697311401, -0.28340792655944824, -1.103469967842102, -0.4452129006385803, -0.3309624195098877, -0.38192233443260193, 0.0973682552576065, -1.4269403219223022, -0.3552542924880981...
func (c *BaseClient) Close() error { return c.close() }
[ -0.16333425045013428, -0.5383826494216919, 0.30015820264816284, -0.20352604985237122, -0.2630922198295593, 0.6688662767410278, 0.18543116748332977, -0.9059151411056519, -1.1430473327636719, -0.6274352669715881, 0.4240192174911499, 0.2506033480167389, -1.5267788171768188, 0.4757913947105407...
func (b *Bot) parseData(data map[string]interface{}) *eventPayload { return data["payload"].(*eventPayload) }
[ 0.4459322392940521, 0.2736377716064453, 0.5783323645591736, -0.35741662979125977, -0.39101696014404297, 0.3372906446456909, -0.9994117021560669, 0.006069714669138193, 0.5212423205375671, -0.9935036897659302, 0.2564850151538849, -0.1919896900653839, -0.148747518658638, 0.5779473185539246, ...
func CreatePeerWithClear(host string, port uint) Peer { ins, err := NewBuilder().Create().IsClear().WithHost(host).WithPort(port).Now() if err != nil { panic(err) } return ins }
[ 0.07950671762228012, -0.2568042278289795, 0.5902356505393982, 0.1778152883052826, -0.42486223578453064, 0.9206991791725159, -1.7775787115097046, -0.6125670671463013, -0.46261516213417053, 0.6403784155845642, 0.2568037509918213, -0.058445610105991364, -0.9640112519264221, 0.4031936526298523...
func CreatePeerWithOnion(host string, port uint) Peer { ins, err := NewBuilder().Create().IsOnion().WithHost(host).WithPort(port).Now() if err != nil { panic(err) } return ins }
[ 0.5281620025634766, -0.957084059715271, 0.6124044060707092, 0.2930830717086792, -0.01593383215367794, 0.9786766767501831, -1.4447752237319946, 0.13810235261917114, -0.8908179402351379, 0.42124807834625244, -0.45228520035743713, -0.5012938380241394, -1.1309971809387207, 0.20650608837604523,...
func HashPassword(password string) (string, error) { bytes, err := bcrypt.GenerateFromPassword([]byte(password), 14) return string(bytes), err }
[ 1.4430688619613647, 0.8012304306030273, 0.684738039970398, 0.35238832235336304, -0.2213127166032791, 0.04980183392763138, -0.33942875266075134, 0.4131050407886505, 0.5566167831420898, 0.2730632722377777, -0.9211812019348145, 0.3289012014865875, -0.5098209381103516, -0.3668804168701172, 0...
func CheckPasswordHash(password, hash string) bool { err := bcrypt.CompareHashAndPassword([]byte(hash), []byte(password)) return err == nil }
[ 1.4680734872817993, -0.2759840786457062, 0.7701563835144043, 0.8426914811134338, -0.10086017847061157, 0.37645620107650757, -0.9116308093070984, 0.25125473737716675, -0.34252816438674927, 0.46869203448295593, -0.33648887276649475, 0.6874673962593079, -1.0030791759490967, 0.4724424481391907...
func (w Wrapper) SubscribeUser(username string, chn chan messenger.Message) (*nats.Subscription, error) { usr, err := w.AdminOperator().ReadUser(username) if err != nil { return nil, err } return w.SubscribeUserByID(usr.UserID, chn) }
[ -0.259080171585083, 0.09081169217824936, 0.4156908690929413, 0.9106059074401855, -0.6530845165252686, -0.24952742457389832, -0.37696751952171326, -0.39049020409584045, -0.2170991748571396, -0.4371684789657593, -0.3975221514701843, 0.8283910751342773, 0.3164907991886139, 0.31828612089157104...
func (w Wrapper) SubscribeDevice(devpath string, chn chan messenger.Message) (*nats.Subscription, error) { dev, err := w.AdminOperator().ReadDevice(devpath) if err != nil { return nil, err } return w.SubscribeDeviceByID(dev.DeviceID, chn) }
[ 0.0575549490749836, 0.8676720261573792, 0.4489161968231201, 0.6802351474761963, -0.32507234811782837, 0.009363384917378426, -0.3884434998035431, -1.1436092853546143, 0.13929732143878937, -0.2023114413022995, 0.1439201533794403, 1.0945104360580444, 0.233673095703125, 0.5660958290100098, 0...
func (w Wrapper) SubscribeStream(streampath string, chn chan messenger.Message) (*nats.Subscription, error) { _, _, streampath, _, substream, err := util.SplitStreamPath(streampath) if err != nil { return nil, err } strm, err := w.AdminOperator().ReadStream(streampath) if err != nil { return nil, err } retur...
[ 0.42361170053482056, 0.06902331858873367, 0.5512422919273376, 0.6361207962036133, -0.6461751461029053, -0.5910570621490479, -0.3101106882095337, -0.7905523777008057, 0.3170951008796692, -0.11224997043609619, -0.1508062332868576, 0.8173799514770508, 0.07344750314950943, 0.47292450070381165,...
func (w Wrapper) Subscribe(path string, chn chan messenger.Message) (*nats.Subscription, error) { switch strings.Count(path, "/") { default: return w.SubscribeStream(path, chn) case 0: return w.SubscribeUser(path, chn) case 1: return w.SubscribeDevice(path, chn) } }
[ -0.05631650611758232, 0.19959452748298645, 0.41449108719825745, 1.0736501216888428, -0.20341573655605316, -0.457393616437912, -0.4185434579849243, -1.1583596467971802, -0.585198163986206, -0.8223565220832825, 0.03778180107474327, 0.17140744626522064, 0.1575068086385727, 0.4653739631175995,...
func ParseRecordFlags(str string) (RecordFlags, error) { var res RecordFlags scan := bufio.NewScanner(strings.NewReader((str))) scan.Split(bufio.ScanWords) for scan.Scan() { vs := strings.SplitN(scan.Text(), "=", 2) k := vs[0] v := "" if len(vs) == 2 { v = vs[1] } if res == nil { res = make(Recor...
[ 0.044559068977832794, 0.608485758304596, 0.38697412610054016, -0.1369558870792389, -0.6422907114028931, -0.5383424758911133, 0.2765616774559021, -0.5351061224937439, -1.020397663116455, 0.30452093482017517, -1.4484283924102783, 0.8264867663383484, -0.9536644816398621, 0.444048672914505, ...
func (rf RecordFlags) String() string { strs := []string{} ks := []string{} for k := range rf { ks = append(ks, k) } sort.Strings(ks) for _, k := range ks { str := k if len(rf[k]) > 0 { str += fmt.Sprintf("=%s", rf[k]) } strs = append(strs, str) } return strings.Join(strs, " ") }
[ 0.27264633774757385, -0.21151575446128845, 0.4503350555896759, -0.7370686531066895, 0.5106661915779114, 0.41285887360572815, 0.1174079105257988, -0.8400349020957947, -1.1400344371795654, 0.3511902391910553, -0.19660305976867676, 1.0121283531188965, -0.7721332311630249, 0.7440681457519531, ...
func (rf RecordFlags) Compare(rf2 RecordFlags) int { if c := len(rf) - len(rf2); c != 0 { return c } return strings.Compare(rf.String(), rf2.String()) }
[ 0.027544917538762093, 0.40081071853637695, 0.43948787450790405, -0.5106823444366455, 0.345676064491272, -0.5826889872550964, -0.21632662415504456, -0.19047468900680542, -1.3049728870391846, -0.29515713453292847, -0.40707826614379883, 0.4930572211742401, -1.244879961013794, 1.28775131702423...
func (r *Record) String() string { if r == nil { return "" } str := r.RR.String() if len(r.Flags) != 0 { str += " ; " + r.Flags.String() } return str }
[ 1.362149953842163, -0.4508152902126312, 0.45012742280960083, 0.08723731338977814, -0.19934193789958954, 0.853032112121582, 0.45321953296661377, -0.2919924557209015, -0.12382706999778748, -0.1964113563299179, 0.2704790532588959, 0.6806662082672119, -0.9094448685646057, 0.15048478543758392, ...
func (z Zone) String() string { strs := make([]string, len(z)) for i := range z { strs[i] = z[i].String() } return strings.Join(strs, "\n") }
[ 0.20946474373340607, -1.2194799184799194, 0.17204028367996216, -0.10197687894105911, -0.21822792291641235, 0.11655266582965851, 0.5912562608718872, -1.0873066186904907, 0.36613401770591736, 0.3734273314476013, 0.07714371383190155, 0.6480225324630737, -0.31185781955718994, 0.113199301064014...
func (z ByRR) Len() int { return len(z) }
[ 0.005058222450315952, -0.3687373995780945, 0.12206395715475082, 0.11335192620754242, 0.7127307057380676, -0.8247402310371399, 2.1631715297698975, 0.7673711776733398, 0.6375427842140198, -0.39372095465660095, -1.0778465270996094, 0.8227030634880066, 0.2514651417732239, 0.05727454647421837, ...
func (z ByRR) Swap(i, j int) { z[i], z[j] = z[j], z[i] }
[ -1.4318269491195679, -0.4002136290073395, 0.07387743145227432, 0.014143170788884163, 0.3198738098144531, -0.07474727928638458, 1.336371660232544, 0.20408453047275543, -0.05391818657517433, -0.1189640611410141, -0.6293595433235168, 0.7599416375160217, -0.36951932311058044, -0.52778643369674...
func (z ByRR) Less(i, j int) bool { return z.Compare(i, j) < 0 }
[ -0.04806951433420181, -0.46034470200538635, 0.1889493316411972, 0.03496544808149338, -0.2511008381843567, -0.2998775541782379, 0.7834756970405579, -1.1974819898605347, -0.07842586934566498, -0.5799979567527771, -0.5377227663993835, -0.41986507177352905, -1.0949101448059082, 0.3710892796516...
func (z ByRR) Compare(i, j int) int { return z[i].Compare(z[j]) }
[ -0.9948831796646118, -0.16468408703804016, 0.31785959005355835, 0.39513927698135376, -0.33314815163612366, -0.785919725894928, 1.256807565689087, -0.6743769645690918, -0.15685485303401947, 0.42905718088150024, -0.42306292057037354, 0.20410963892936707, -1.0210318565368652, 0.46087279915809...
func (z ByRR) Dedupe() ByRR { if len(z) <= 1 { return z } j := 0 for i := 1; i < len(z); i++ { if z.Compare(j, i) == 0 { continue } j++ z[j] = z[i] } return z[:j+1] }
[ -0.41527819633483887, 0.4052606225013733, 0.7920761108398438, 0.7417476177215576, 0.07120870053768158, -1.0734649896621704, 1.3577563762664795, -0.3508027195930481, 1.0097874402999878, 0.6458445191383362, -0.5048511624336243, 0.45493587851524353, -1.370418906211853, 0.15265050530433655, ...
func ParseZoneData(r io.Reader) (Zone, error) { var errs []error var z Zone zp := dns.NewZoneParser(r, ".", "") for { rr, ok := zp.Next() if !ok { break } if rr == nil { continue } var flags RecordFlags if cmnt := zp.Comment(); len(cmnt) > 1 { var err error flags, err = ParseRecordFlags(c...
[ 0.018558591604232788, -0.241346076130867, 0.5146293044090271, 0.0019154840847477317, -0.3609688878059387, 0.2347804307937622, 1.2369599342346191, -0.18649081885814667, 0.41524389386177063, -0.028438137844204903, -0.22943906486034393, 0.39439448714256287, -0.6929038763046265, 0.252285063266...
func (z Zone) Partition(domains []string) map[string]Zone { res := map[string]Zone{} sort.Sort(sort.Reverse(bySuffix(domains))) for _, r := range z { for _, d := range domains { if strings.HasSuffix(r.RR.Header().Name, d) { res[d] = append(res[d], r) break } } } return res }
[ 0.01768987439572811, -0.7533302307128906, 0.44846391677856445, -0.3052988052368164, -1.0758707523345947, -0.4049350321292877, 0.1836496740579605, -0.3355237543582916, 0.23028267920017242, 0.14613109827041626, 0.14829613268375397, 0.010752817615866661, -0.831627607345581, 0.4412741363048553...
func (z Zone) Diff(z2 Zone) (Zone, Zone, Zone) { var lz, cz, rz Zone cz = lcsZone(z, z2) j := 0 for i := 0; i < len(z); i++ { if j < len(cz) && z[i].Compare(cz[j]) == 0 { j++ continue } lz = append(lz, z[i]) } j = 0 for i := 0; i < len(z2); i++ { if j < len(cz) && z2[i].Compare(cz[j]) == 0 { ...
[ -0.08131089061498642, -1.03663170337677, 0.6008023023605347, 0.19198009371757507, -0.06131017580628395, 0.8066906332969666, 0.883951723575592, 0.2505059540271759, -0.0714799165725708, 0.15473812818527222, -1.0588631629943848, 0.2850763201713562, -0.8011916279792786, 0.7263718843460083, 0...
func (z Zone) FindSet(name string, class uint16, rrtype uint16) Zone { var nz Zone for _, rr := range z { if rr.Header().Name == name && rr.Header().Class == class && rr.Header().Rrtype == rrtype { nz = append(nz, rr) } } return nz }
[ -0.42716193199157715, -0.5519915223121643, 0.29282233119010925, 0.052947189658880234, -0.31026288866996765, -0.944542646408081, -0.11096684634685516, -1.7497029304504395, 0.055892184376716614, 0.6901585459709167, 0.04287700355052948, 0.4719333052635193, -1.0393434762954712, 0.4477719962596...
func (z Zone) Group(groupFlags []string) map[RecordSetKey]Zone { res := map[RecordSetKey]Zone{} for _, rr := range z { var flags []string for _, f := range groupFlags { if v, ok := rr.Flags[f]; ok { flags = append(flags, fmt.Sprintf("%s=%s", f, v)) } } k := RecordSetKey{ Name: rr.Header()....
[ -0.42842423915863037, -0.15437111258506775, 0.37501293420791626, 0.12586230039596558, -0.13441608846187592, 0.11853484809398651, 1.2127447128295898, -0.8244559168815613, -0.7712526321411133, 0.11689121276140213, -0.1106501892209053, 0.48078128695487976, -0.582592248916626, 0.83101654052734...
func (d *identityManager) Sign(message []byte) ([]byte, error) { return Sign(d.key.PrivateKey, message) }
[ -1.1905637979507446, 0.2615024447441101, 0.28392869234085083, 0.0805530697107315, 0.15757253766059875, -0.2828025817871094, -0.7295441627502441, -0.5166483521461487, 0.02719705179333687, 0.3609113097190857, -0.8063449263572693, 0.1459062546491623, -1.731598138809204, 1.0774835348129272, ...
func (d *identityManager) Verify(message, sig []byte) error { return Verify(d.key.PublicKey, message, sig) }
[ 0.16624802350997925, 0.6360724568367004, -0.05832784250378609, 0.8899144530296326, 0.3309301435947418, 0.293357253074646, -0.8031510710716248, -0.4686259925365448, -0.6143708229064941, -0.1437673419713974, -1.3512972593307495, 1.1057275533676147, -0.8289238214492798, 1.687788724899292, -...
func (d *identityManager) Encrypt(message []byte) ([]byte, error) { return Encrypt(message, d.key.PublicKey) }
[ 0.014979830943048, 1.7789008617401123, 0.21541018784046173, 0.28167593479156494, 0.5588974356651306, 0.11207900196313858, -0.4431014955043793, -1.1241179704666138, 0.0602075457572937, 0.2785862684249878, -0.1576683521270752, 0.4073769450187683, -1.472062349319458, 1.1368714570999146, -0....
func (d *identityManager) Decrypt(message []byte) ([]byte, error) { return Decrypt(message, d.key.PrivateKey) }
[ -0.36562737822532654, 1.498629093170166, 0.23551014065742493, 0.38168346881866455, 0.47255662083625793, -0.498380184173584, -0.23967736959457397, -1.0105494260787964, 0.5750479102134705, 0.42385056614875793, -0.15006497502326965, 0.5551720261573792, -1.444197654724121, 0.6987714171409607, ...
func (d *identityManager) EncryptECDH(msg []byte, pk []byte) ([]byte, error) { return EncryptECDH(msg, d.key.PrivateKey, pk) }
[ 0.4421145021915436, 0.8247277736663818, 0.16256162524223328, 0.2553577721118927, 0.17940329015254974, 0.757220447063446, 0.08582120388746262, -0.4817124307155609, 0.2713733911514282, 0.4764600992202759, -0.4044210612773895, 0.49939125776290894, -0.49331632256507874, 0.41801366209983826, ...
func (d *identityManager) DecryptECDH(msg []byte, pk []byte) ([]byte, error) { return DecryptECDH(msg, d.key.PrivateKey, pk) }
[ 0.2604392468929291, 1.0585707426071167, 0.34733572602272034, -0.417662113904953, 0.17369887232780457, 0.2593976855278015, -0.007870969362556934, -0.4468214511871338, -0.518761157989502, 0.8719560503959656, -0.49906352162361145, 0.35470983386039734, -0.9464826583862305, 0.8176450133323669, ...
func (d *identityManager) PrivateKey() []byte { return d.key.PrivateKey }
[ -0.39954763650894165, 0.3507002890110016, 0.22990527749061584, 0.44654592871665955, 1.2856695652008057, 0.5042623281478882, -0.6062556505203247, -1.0490672588348389, 0.9681416749954224, 0.384221613407135, -0.2725999653339386, 0.7278280258178711, -1.0509023666381836, 0.7701749801635742, 0...
func Reader(filenames <-chan string, itemsToHash chan<- ItemToHash, bufMan *bpipe.BufMan) { for file := range filenames { doRead(file, itemsToHash, bufMan) } }
[ -0.6996210217475891, -0.7313079237937927, 0.18062569200992584, -0.3474045991897583, 0.7090765237808228, 0.7438815832138062, 0.5368301272392273, 0.4182024300098419, -0.611922562122345, -0.3910350799560547, -0.13633392751216888, -0.14096124470233917, 0.10015550255775452, -0.43437397480010986...
func TestAdd(t *testing.T) { messages = make(chan int) input := 10 output := 11 wg.Add(1) go add_one(&wg, input) var msg int msg = <-messages if msg != output { t.Errorf("Double %d == %d, want %d", input, msg, output) } }
[ -0.24554309248924255, 0.8451747894287109, 0.5115938186645508, -0.2975670099258423, 0.6711603403091431, 0.5488821864128113, 1.0320340394973755, -1.1961606740951538, 0.011783705092966557, -0.6771398782730103, 0.05657012760639191, 0.5928432941436768, -1.1966203451156616, 1.327432632446289, ...
func NewVirtualNetworkGatewaysServerTransport(srv *VirtualNetworkGatewaysServer) *VirtualNetworkGatewaysServerTransport { return &VirtualNetworkGatewaysServerTransport{ srv: srv, beginCreateOrUpdate: newTracker[azfake.PollerResponder[armnetwork.VirtualNetworkGatewaysClientCreateOrUpdateResponse]]()...
[ 0.2581212818622589, -0.5817334651947021, 0.23789462447166443, -0.3212469518184662, -0.25148046016693115, -0.21119828522205353, 0.2169984132051468, -0.9773527979850769, 0.3189678192138672, 0.5017364621162415, -1.04708731174469, 0.622281551361084, -0.6473932266235352, 1.2460846900939941, 0...
func (v *VirtualNetworkGatewaysServerTransport) Do(req *http.Request) (*http.Response, error) { rawMethod := req.Context().Value(runtime.CtxAPINameKey{}) method, ok := rawMethod.(string) if !ok { return nil, nonRetriableError{errors.New("unable to dispatch request, missing value for CtxAPINameKey")} } var resp ...
[ 0.07933979481458664, -0.17673492431640625, 0.6488867402076721, 0.04771822318434715, 0.04137769341468811, 0.1816035956144333, 0.19769737124443054, -1.0581614971160889, 0.49549904465675354, 0.9956656098365784, -0.6774874329566956, 0.3981243371963501, -0.25462469458580017, 0.7933211922645569,...
func NewService(repo Repository, app model.App) Service { return &ServiceImpl{ repo: repo, hasher: app.Hasher, signer: app.JWTSigner, } }
[ 0.9718165993690491, -0.13850471377372742, 0.10606323182582855, 0.7185163497924805, -0.4074646532535553, 0.18171317875385284, -0.9142422080039978, -0.6391556859016418, -0.10296764224767685, 0.4476936459541321, -0.2462933361530304, 0.018338216468691826, 0.37661272287368774, 0.527457773685455...
func (s *ServiceImpl) Signup(ctx echo.Context, req SignupReq) (string, error) { conform.Strings(&req) hashedPassword, err := s.hasher.Hash(req.Password) if err != nil { return "", err } newUser := model.User{ Email: req.Email, HashedPassword: hashedPassword, Role: model.UserRole(req.Ro...
[ -0.7635304927825928, -0.12149228155612946, 0.94411301612854, -0.14119476079940796, -0.5387642979621887, 0.37656062841415405, -0.03785429149866104, 0.3325393795967102, 0.11192367225885391, 0.4204418957233429, 0.6964662075042725, 0.4465315639972687, 0.35344788432121277, -0.46609264612197876,...
func (s *ServiceImpl) Login(ctx echo.Context, req LoginRequest) (string, error) { conform.Strings(&req) user, err := s.repo.GetUserByEmail(req.Email) if err != nil { return "", err } // Must be admin or owner, and must be verified. if _, existing := model.Roles[user.Role]; !existing { return "", errors.New(...
[ -0.17289820313453674, -0.0789535790681839, 0.7445414066314697, 0.24307259917259216, -0.6732244491577148, 0.11841708421707153, -0.26072531938552856, 0.2771618366241455, 0.09320943802595139, -0.04417528212070465, 0.5111551880836487, 0.7109289765357971, 0.3416045904159546, -0.1659961342811584...
func (s *ServiceImpl) Delete(id int) error { return s.repo.SoftDeleteUser(id) }
[ -0.040405191481113434, 0.951500415802002, 0.04708922654390335, 0.7285122871398926, -0.48109495639801025, 0.42901918292045593, 0.2231019139289856, 0.11498243361711502, 0.450980007648468, -0.2965993583202362, -0.4104832410812378, 0.15382245182991028, -0.4988095164299011, 0.5488111972808838, ...
func (ps PeerState) Diagnostics() map[graphsync.RequestID][]string { matchedActiveQueue := make(map[graphsync.RequestID]struct{}, len(ps.RequestStates)) matchedPendingQueue := make(map[graphsync.RequestID]struct{}, len(ps.RequestStates)) diagnostics := make(map[graphsync.RequestID][]string) for _, id := range ps.Ta...
[ -0.7611193060874939, -1.0503309965133667, 0.7432682514190674, -0.7227385640144348, -0.14022906124591827, 0.47444549202919006, 0.01557085383683443, -0.5080060362815857, -0.5425938367843628, -0.3907614052295685, 0.8725274205207825, 0.2863822877407074, 0.43644604086875916, 0.3130488991737366,...
func (b fileInputBuilder) Build(ctx context.Context, cfg task.ExecutorInputBuilderConfig, deps task.ExecutorInputBuilderDependencies, target *task.ExecutorInputBuilderTarget) error { uri := cfg.AnnotatedValue.GetData() deps.Log.Debug(). Int("sequence-index", cfg.AnnotatedValueIndex). Str("uri", uri). Str("input...
[ -0.5089548230171204, -0.7198858261108398, 0.7846529483795166, 0.245459645986557, 0.18471761047840118, 0.2578223943710327, 0.16394811868667603, 0.45903754234313965, -0.2730880379676819, -0.1798543930053711, 0.8474400043487549, 0.07451514899730682, 0.19722291827201843, 0.340089350938797, 0...
func AttachToAccountTwitterOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.TwitterController) http.ResponseWriter { // Setup service var ( logBuf bytes.Buffer respSetter goatest.ResponseSetterFunc = func(r interface{}) {} ) if service == nil { service = goatest.Service(&logBuf, r...
[ 0.24407006800174713, -0.6928842663764954, 0.6536223292350769, -0.5622959733009338, 0.16783401370048523, 0.29544222354888916, 1.4978636503219604, -0.14326024055480957, 0.2447488009929657, 0.37407436966896057, 0.11168160289525986, 0.9797136187553406, -0.241787850856781, 0.5657791495323181, ...
func DetachFromAccountTwitterForbidden(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.TwitterController) (http.ResponseWriter, error) { // Setup service var ( logBuf bytes.Buffer resp interface{} respSetter goatest.ResponseSetterFunc = func(r interface{}) { resp = r } ) if servic...
[ 0.8676124215126038, 0.04066959768533707, 0.7764852643013, -0.5099002122879028, -0.1514977365732193, -0.13311749696731567, 1.1094117164611816, -0.6519898176193237, 0.45959532260894775, 0.11858498305082321, 0.32340556383132935, 0.8103013634681702, -0.48480671644210815, 0.018855750560760498, ...
func DetachFromAccountTwitterNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.TwitterController) (http.ResponseWriter, error) { // Setup service var ( logBuf bytes.Buffer resp interface{} respSetter goatest.ResponseSetterFunc = func(r interface{}) { resp = r } ) if service...
[ 0.720841646194458, -0.4580059349536896, 0.6479188203811646, -0.8132506608963013, 0.26883503794670105, -0.1753050982952118, 1.102018117904663, -0.5071194171905518, 0.46417051553726196, 0.260463684797287, 0.09179137647151947, 0.4517778754234314, -0.4764600396156311, 0.26197752356529236, 0....
func DetachFromAccountTwitterOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.TwitterController) http.ResponseWriter { // Setup service var ( logBuf bytes.Buffer respSetter goatest.ResponseSetterFunc = func(r interface{}) {} ) if service == nil { service = goatest.Service(&logBuf,...
[ 0.6500173211097717, -0.5024785399436951, 0.5936984419822693, -0.5473530292510986, -0.345633327960968, 0.10706653445959091, 1.151383399963379, -0.195766419172287, 0.17877931892871857, 0.4901304244995117, -0.1683167666196823, 0.3986569941043854, -0.3209586441516876, 0.3619164824485779, -0....
func LoginTwitterOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.TwitterController, token *uuid.UUID) http.ResponseWriter { // Setup service var ( logBuf bytes.Buffer respSetter goatest.ResponseSetterFunc = func(r interface{}) {} ) if service == nil { service = goatest.Service(&l...
[ 0.424795925617218, -0.3618629276752472, 0.7761720418930054, -0.696871817111969, -0.18787582218647003, -0.12933678925037384, 0.022326726466417313, -0.22127237915992737, 0.14378634095191956, 0.08104697614908218, -0.5890048146247864, 0.6152888536453247, -0.4077084958553314, 0.1420169919729232...
func ReceiveTwitterBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.TwitterController, oauthToken string, oauthVerifier string, state string) (http.ResponseWriter, error) { // Setup service var ( logBuf bytes.Buffer resp interface{} respSetter goatest.ResponseSetterFunc = ...
[ 0.09573298692703247, -0.4673456847667694, 0.6739063262939453, -1.174155354499817, 0.46398717164993286, -0.899237334728241, -0.5159904956817627, 0.13103920221328735, 0.16866707801818848, -0.12401789426803589, -0.21767598390579224, 1.2488173246383667, 0.011421125382184982, 0.6095892786979675...
func ReceiveTwitterOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.TwitterController, oauthToken string, oauthVerifier string, state string) http.ResponseWriter { // Setup service var ( logBuf bytes.Buffer respSetter goatest.ResponseSetterFunc = func(r interface{}) {} ) if service ...
[ 0.4713057279586792, -0.22034823894500732, 0.573813796043396, -0.920195996761322, 0.15577878057956696, -0.5669040083885193, 0.21723179519176483, 0.4392845332622528, -0.06084251031279564, 0.2109169363975525, -0.8745670318603516, 0.9800070524215698, 0.2432367503643036, 0.5775483250617981, 0...
func ReceiveTwitterUnauthorized(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.TwitterController, oauthToken string, oauthVerifier string, state string) (http.ResponseWriter, error) { // Setup service var ( logBuf bytes.Buffer resp interface{} respSetter goatest.ResponseSetterFunc ...
[ 0.294502317905426, -0.03659220412373543, 0.6318809986114502, -0.9992167949676514, 0.29851728677749634, -0.8321139812469482, 0.00608027633279562, 0.22729037702083588, 0.36340874433517456, -0.1401522159576416, -0.5679482817649841, 1.3706790208816528, -0.031342215836048126, 0.3266516327857971...
func RegisterTwitterBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.TwitterController, payload *app.TwitterRegisterParams) (http.ResponseWriter, error) { // Setup service var ( logBuf bytes.Buffer resp interface{} respSetter goatest.ResponseSetterFunc = func(r interface{}...
[ -0.005135008133947849, -0.05839671939611435, 0.8069417476654053, -0.5216922760009766, 0.6683064699172974, -0.6707006692886353, -0.2583353817462921, -0.3073680102825165, 0.03991493210196495, -0.16989508271217346, -0.10278231650590897, 1.1086750030517578, -0.5078162550926208, 0.9142963886260...
func RegisterTwitterForbidden(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.TwitterController, payload *app.TwitterRegisterParams) (http.ResponseWriter, error) { // Setup service var ( logBuf bytes.Buffer resp interface{} respSetter goatest.ResponseSetterFunc = func(r interface{})...
[ 0.4814356863498688, 0.6040477752685547, 0.8160579204559326, -0.3429378867149353, 0.48029279708862305, -0.4357537627220154, 0.31120073795318604, -0.6310044527053833, 0.23144535720348358, -0.16328702867031097, -0.3508461117744446, 1.2522826194763184, -0.5997220277786255, 0.6008120179176331, ...
func RegisterTwitterNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.TwitterController, payload *app.TwitterRegisterParams) (http.ResponseWriter, error) { // Setup service var ( logBuf bytes.Buffer resp interface{} respSetter goatest.ResponseSetterFunc = func(r interface{}) ...
[ 0.20413550734519958, 0.08446614444255829, 0.6893430352210999, -0.6591616272926331, 0.8824016451835632, -0.3886048197746277, 0.37740853428840637, -0.49276208877563477, 0.17339839041233063, 0.016332710161805153, -0.552687406539917, 1.0041133165359497, -0.4736197292804718, 0.7399650812149048,...
func RegisterTwitterOKAdmin(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.TwitterController, payload *app.TwitterRegisterParams) (http.ResponseWriter, *app.UserAdmin) { // Setup service var ( logBuf bytes.Buffer resp interface{} respSetter goatest.ResponseSetterFunc = func(r inter...
[ 0.41463395953178406, 0.3754110038280487, 0.6421003937721252, -0.5084785223007202, 0.324867308139801, -0.6287645697593689, 0.038484033197164536, -0.7023611664772034, 0.09669076651334763, 0.18376457691192627, -0.6137349605560303, 1.2437301874160767, -0.4857417345046997, 0.7957802414894104, ...
func RegisterTwitterOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.TwitterController, payload *app.TwitterRegisterParams) (http.ResponseWriter, *app.User) { // Setup service var ( logBuf bytes.Buffer resp interface{} respSetter goatest.ResponseSetterFunc = func(r interface{}) { ...
[ 0.3924139440059662, 0.30421334505081177, 0.7310174107551575, -0.33180561661720276, 0.37476420402526855, -0.2667089104652405, 0.6088776588439941, -0.06451841443777084, -0.17398126423358917, 0.15987733006477356, -0.7594695687294006, 0.7265090346336365, -0.31919288635253906, 0.925117790699005...
func RegisterTwitterOKOwner(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.TwitterController, payload *app.TwitterRegisterParams) (http.ResponseWriter, *app.UserOwner) { // Setup service var ( logBuf bytes.Buffer resp interface{} respSetter goatest.ResponseSetterFunc = func(r inter...
[ 0.3439587652683258, 0.48322594165802, 0.7509151101112366, -0.02786303125321865, 0.3837848901748657, -0.7528391480445862, 0.48447564244270325, -0.330844908952713, -0.2123299539089203, -0.26212507486343384, -0.6140838265419006, 0.7183685302734375, -0.36498522758483887, 0.7201574444770813, ...
func RegisterURLTwitterOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.TwitterController) http.ResponseWriter { // Setup service var ( logBuf bytes.Buffer respSetter goatest.ResponseSetterFunc = func(r interface{}) {} ) if service == nil { service = goatest.Service(&logBuf, respS...
[ 0.21566738188266754, -0.12805204093456268, 0.7571340799331665, -0.3685711622238159, 0.7380943298339844, -0.18370068073272705, 0.489001601934433, 0.18304064869880676, -0.2663879692554474, 0.0127120865508914, -0.6158231496810913, 1.026868462562561, -0.3385976552963257, 0.9340336918830872, ...
func NewControlPacketWithHeader(fh FixedHeader) (ControlPacket, error) { switch fh.MessageType { case Connect: return &ConnectPacket{FixedHeader: fh}, nil case Connack: return &ConnackPacket{FixedHeader: fh}, nil case Disconnect: return &DisconnectPacket{FixedHeader: fh}, nil case Publish: return &PublishP...
[ 0.7343726754188538, -0.6509058475494385, 0.8357914686203003, 0.278169184923172, -0.7417964935302734, -0.0922103002667427, -0.7014690637588501, -0.6875939965248108, 0.41024649143218994, -0.5247508883476257, 0.15098027884960175, 0.10136745125055313, -1.0798639059066772, 0.48490601778030396, ...
func UnmarshalJSON(b []byte, discriminator string, f Factory) (interface{}, error) { m := make(map[string]interface{}) err := json.Unmarshal(b, &m) if err != nil { return nil, err } return Decode(m, discriminator, f) }
[ -0.574362576007843, -0.029744645580649376, 0.5916724801063538, -0.41176217794418335, -1.0057016611099243, -0.7232562899589539, 0.14245770871639252, 1.1540954113006592, -0.04083448275923729, -0.060435932129621506, -0.5926942229270935, 0.5929061770439148, 0.34733453392982483, 0.1304169446229...
func UnmarshalJSONInto(b []byte, o interface{}, pf PathFactory) (interface{}, error) { return UnmarshalJSONIntoWithDefaults(b, o, pf, false) }
[ -0.1330273300409317, 0.22040987014770508, 0.6269431710243225, 0.6045290231704712, -0.49687230587005615, -1.2333812713623047, -0.16064926981925964, 0.22785872220993042, -0.34161376953125, -0.33606773614883423, -0.7472718358039856, -0.08037737756967545, 0.6548788547515869, -0.325200080871582...
func UnmarshalJSONIntoWithDefaults(b []byte, o interface{}, pf PathFactory, applyDefaults bool) (interface{}, error) { m := make(map[string]interface{}) err := json.Unmarshal(b, &m) if err != nil { return nil, err } return decodeInto(m, o, pf, applyDefaults) }
[ -0.2234058678150177, 0.38696232438087463, 0.7711560130119324, 0.012164399959146976, 0.11496126651763916, -1.1654365062713623, -0.8719910383224487, -0.06534644961357117, -0.21187812089920044, -0.2651118040084839, -0.6514491438865662, -0.5063542127609253, 0.23069138824939728, -0.364201873540...
func Decode(m map[string]interface{}, discriminator string, f Factory) (interface{}, error) { kind, ok := m[discriminator].(string) if !ok { return nil, fmt.Errorf("could not find value for discriminator %s in map %#v", discriminator, m) } r, err := f(kind) if err != nil { return nil, err } for k, v := range...
[ -0.15823489427566528, -0.3661985695362091, 0.8637637495994568, 0.1339895874261856, -0.8832953572273254, -0.4874737858772278, 0.38044247031211853, 0.6958167552947998, -0.5341531038284302, 0.32377487421035767, -0.6719315648078918, 0.16082970798015594, 0.5850471258163452, 0.4205382764339447, ...
func decodeInto(m map[string]interface{}, o interface{}, pf PathFactory, applyDefaults bool) (interface{}, error) { vo := reflect.ValueOf(o) to := vo.Type() fm := map[string]reflect.StructField{} // bail if the passed in object is not a struct if to.Kind() != reflect.Ptr || (to.Elem().Kind() != reflect.Struct && ...
[ -0.5051196813583374, -0.13706070184707642, 0.8128675818443298, -0.10008503496646881, -0.7678462266921997, -0.7466979622840881, 0.15611395239830017, -0.0658397376537323, -0.1046934425830841, -0.23058265447616577, -0.2982982099056244, 0.31755200028419495, -0.4191228151321411, -0.002198192290...
func (m *Model) Unpack(data []byte) error { if err := proto.Unmarshal(data, m.cur); err != nil { return err } if m.cur.GetChatfriends() == nil { m.cur.Chatfriends = make(map[string]bool, 0) } return nil }
[ -0.9097724556922913, 0.3298170268535614, 0.3748140037059784, -0.25874149799346924, -0.1400398463010788, -0.14754536747932434, 0.6068322062492371, 0.45760852098464966, -0.27964550256729126, -0.3300846517086029, -0.30261433124542236, -0.4911172688007355, -0.27228471636772156, 0.0003040847659...
func (s *tcpServerBase) ListenAndServe() error { logCtx := log.WithFields(log.Fields{"name": s.name, "listen-address": s.address}) addr, err := net.ResolveTCPAddr("tcp", s.address) if err != nil { logCtx.WithError(err).Fatal("failed to resolve tcp addr") return err } s.listener, err = net.ListenTCP("tcp", ad...
[ 0.16038909554481506, -0.875688910484314, 0.7874894738197327, -0.5940494537353516, 0.05736211687326431, -0.17203384637832642, -0.24861042201519012, 0.5562435388565063, -0.35241585969924927, 0.05448804050683975, -0.24590913951396942, -0.13074912130832672, -0.2139558345079422, 0.9552360177040...
func (s *tcpServerBase) Shutdown() { log.WithField("name", s.name).Debug("shutting down") close(s.quit) _ = s.listener.Close() }
[ 0.06032082065939903, -0.9353388547897339, 0.3856109380722046, -0.5767581462860107, 0.2727700173854828, 1.1074612140655518, 0.2303563505411148, -0.08769860118627548, 0.16860555112361908, -0.008367891423404217, 0.07202810794115067, 0.5361745357513428, -0.31702935695648193, 0.8273596167564392...
func (*ResourceMonitor) XXX_OneofWrappers() []interface{} { return []interface{}{ (*ResourceMonitor_Config)(nil), (*ResourceMonitor_TypedConfig)(nil), } }
[ -1.4387497901916504, 0.12026605010032654, 0.2590230703353882, -0.12750229239463806, 0.8305034637451172, -0.06987115740776062, 0.277626097202301, -0.8347010612487793, 0.9785273671150208, -0.07590854912996292, -0.6586491465568542, -0.28540217876434326, -0.2734068036079407, 1.4005529880523682...
func (*Trigger) XXX_OneofWrappers() []interface{} { return []interface{}{ (*Trigger_Threshold)(nil), } }
[ -0.8582456111907959, 0.15678878128528595, 0.3582209348678589, 0.5271751284599304, 0.4517054855823517, -1.0003235340118408, -0.20486201345920563, -0.2803322672843933, 0.9458418488502502, -0.03945063054561615, -1.0217633247375488, 0.03150124102830887, 0.1658567488193512, 0.45167434215545654,...
func readLines(path string) ([]string, error) { content, err := ioutil.ReadFile(path) if err != nil { return nil, err } lines := strings.Split(string(content), "\n\n") for i, line := range lines { lines[i] = strings.ReplaceAll(line, "\n", " ") lines[i] = strings.Trim(lines[i], " ") } return lines, nil }
[ 0.15199017524719238, -0.6087673902511597, 0.6021708250045776, -0.8355587720870972, 0.1059156060218811, 0.14318910241127014, -1.2890440225601196, 0.24452798068523407, 0.08522573113441467, 0.6581195592880249, 0.044213030487298965, 0.15242646634578705, -0.22436808049678802, 0.0551546104252338...
func (r *ProjectsCollectdTimeSeriesService) Create(name string, createcollectdtimeseriesrequest *CreateCollectdTimeSeriesRequest) *ProjectsCollectdTimeSeriesCreateCall { c := &ProjectsCollectdTimeSeriesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name c.createcollectdtimeseriesrequest = create...
[ -0.42413103580474854, 0.6853573322296143, 0.3696383833885193, -0.20372743904590607, 0.10270324349403381, 1.111680507659912, -0.31351810693740845, -1.3596124649047852, -0.3276432752609253, 0.5264177322387695, -0.3908955454826355, -0.13729064166545868, 0.24133992195129395, -0.186742216348648...
func (c *ProjectsCollectdTimeSeriesCreateCall) Fields(s ...googleapi.Field) *ProjectsCollectdTimeSeriesCreateCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c }
[ -0.9453384876251221, 1.3203544616699219, 0.23077213764190674, -0.8526808023452759, 1.2262814044952393, 1.377245545387268, -0.23445682227611542, -0.9092024564743042, -0.12986589968204498, -0.4332028925418854, -0.31123316287994385, -0.44784557819366455, 0.23186221718788147, 0.024584705010056...
func (c *ProjectsCollectdTimeSeriesCreateCall) Context(ctx context.Context) *ProjectsCollectdTimeSeriesCreateCall { c.ctx_ = ctx return c }
[ -0.17736822366714478, 1.1814838647842407, 0.19909606873989105, -0.6041578054428101, 0.7427818179130554, 1.6442023515701294, 0.19277626276016235, -1.3454785346984863, 0.7884156703948975, -0.592379629611969, -0.49477869272232056, 0.17351247370243073, 1.2002086639404297, -0.48068249225616455,...
func (r *ProjectsGroupsService) Create(name string, group *Group) *ProjectsGroupsCreateCall { c := &ProjectsGroupsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name c.group = group return c }
[ -0.8886091709136963, 1.1155058145523071, 0.25117483735084534, 0.057512469589710236, -0.49176982045173645, 0.274585098028183, -0.4514824151992798, -0.9932655096054077, -1.1146405935287476, 0.4149582087993622, -0.6413593292236328, -0.015483628958463669, -1.0794624090194702, 0.528561770915985...
func (c *ProjectsGroupsCreateCall) ValidateOnly(validateOnly bool) *ProjectsGroupsCreateCall { c.urlParams_.Set("validateOnly", fmt.Sprint(validateOnly)) return c }
[ -0.48290732502937317, 1.4235458374023438, 0.19315829873085022, 0.4949517250061035, 0.32630547881126404, 1.3627910614013672, 0.15083464980125427, -0.11629720032215118, -0.9278094172477722, -0.6214186549186707, -0.15867359936237335, 0.19462080299854279, -0.4241420328617096, 1.034933924674987...
func (c *ProjectsGroupsCreateCall) Fields(s ...googleapi.Field) *ProjectsGroupsCreateCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c }
[ -0.954237163066864, 1.3301047086715698, 0.12574292719364166, -0.6440301537513733, 1.308788776397705, 1.3747589588165283, 0.0405663400888443, -0.503217339515686, -0.7814277410507202, -0.5041803121566772, -0.22219198942184448, -0.3392857015132904, -0.5030200481414795, 0.3496088981628418, -...
func (c *ProjectsGroupsCreateCall) Context(ctx context.Context) *ProjectsGroupsCreateCall { c.ctx_ = ctx return c }
[ -0.06026000156998634, 1.1506983041763306, 0.13036875426769257, -0.40592148900032043, 0.6130308508872986, 1.5442568063735962, 0.15657518804073334, -0.8566181659698486, 0.0082878852263093, -0.7677598595619202, -0.5518931746482849, 0.5681455731391907, 0.36045193672180176, 0.008351512253284454...
func (r *ProjectsGroupsService) Delete(name string) *ProjectsGroupsDeleteCall { c := &ProjectsGroupsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name return c }
[ -0.06072162836790085, 1.0954525470733643, 0.4014035761356354, -0.0831027701497078, -0.31988853216171265, 0.22509007155895233, 0.3897417187690735, -0.37634938955307007, -0.1745237410068512, 0.2530859410762787, -0.5769596099853516, 0.15259850025177002, -1.037240743637085, -0.3130091428756714...
func (c *ProjectsGroupsDeleteCall) Fields(s ...googleapi.Field) *ProjectsGroupsDeleteCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c }
[ -0.28480064868927, 0.8687316179275513, 0.1474337875843048, -0.6226845979690552, 1.0837634801864624, 1.1434087753295898, 0.11142034828662872, 0.17654862999916077, -0.4020794928073883, -0.5777109265327454, 0.2852816879749298, -0.41250482201576233, -0.27543798089027405, 0.02980060875415802, ...
func (c *ProjectsGroupsDeleteCall) Context(ctx context.Context) *ProjectsGroupsDeleteCall { c.ctx_ = ctx return c }
[ 0.539874255657196, 0.5074308514595032, 0.22499901056289673, -0.30337250232696533, 0.2667519748210907, 1.3130213022232056, 0.16030925512313843, -0.3339105248451233, 0.6412758827209473, -0.7631559371948242, -0.05366966873407364, 0.756739616394043, 0.6970856785774231, -0.6056057810783386, -...
func (r *ProjectsGroupsService) Get(name string) *ProjectsGroupsGetCall { c := &ProjectsGroupsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name return c }
[ -1.127640962600708, 1.165454387664795, 0.28569820523262024, -0.7102569937705994, -0.20384474098682404, -0.24950700998306274, -0.556317150592804, -1.0006299018859863, -0.8829023241996765, 0.2624613344669342, -0.6025528907775879, 0.6569941639900208, -0.8175384402275085, -0.021759215742349625...
func (c *ProjectsGroupsGetCall) Fields(s ...googleapi.Field) *ProjectsGroupsGetCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c }
[ -0.9236908555030823, 1.3330681324005127, 0.14067967236042023, -0.7613590955734253, 1.041063904762268, 0.9988982677459717, -0.14844822883605957, -0.6236088871955872, -0.5878133773803711, -0.4369125962257385, 0.27337950468063354, -0.12662173807621002, -0.6163139343261719, 0.2510428726673126,...
func (c *ProjectsGroupsGetCall) IfNoneMatch(entityTag string) *ProjectsGroupsGetCall { c.ifNoneMatch_ = entityTag return c }
[ -0.05972409248352051, 1.0263530015945435, 0.21262028813362122, -0.7315952181816101, 0.3176911175251007, -0.3656965494155884, 0.22485004365444183, -0.5094037055969238, -0.4451635181903839, 0.16950498521327972, 0.0021912853699177504, -0.231987863779068, -0.49695852398872375, 1.08999013900756...
func (c *ProjectsGroupsGetCall) Context(ctx context.Context) *ProjectsGroupsGetCall { c.ctx_ = ctx return c }
[ -0.09109393507242203, 1.0606601238250732, 0.31473585963249207, -0.6406064033508301, 0.28434625267982483, 1.1276606321334839, -0.04434944689273834, -0.8476684093475342, 0.20643626153469086, -0.46687552332878113, -0.25317418575286865, 0.9809728860855103, 0.34502941370010376, -0.0654217302799...
func (r *ProjectsGroupsService) List(name string) *ProjectsGroupsListCall { c := &ProjectsGroupsListCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name return c }
[ -0.8423015475273132, 0.7588512301445007, 0.4314580261707306, -0.13663746416568756, -0.03843183442950249, -0.2804606258869171, -0.5011701583862305, -0.6572284698486328, -0.3231363594532013, 0.26850977540016174, -1.3800491094589233, 0.34926965832710266, -0.758053183555603, 0.171759694814682,...
func (c *ProjectsGroupsListCall) PageSize(pageSize int64) *ProjectsGroupsListCall { c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) return c }
[ -1.0704368352890015, 1.1977883577346802, 0.29015254974365234, -0.228931725025177, 0.37614914774894714, 0.25300055742263794, -0.04151385650038719, -0.1336931437253952, -0.03403778374195099, 0.0775083601474762, 0.11063273996114731, 0.15564975142478943, -0.7245791554450989, 0.3245217800140381...