text
stringlengths
11
6.3k
embedding
listlengths
768
768
func (i *Int64) Ptr() *int64 { if i.Present && i.Valid { return &i.Value } return nil }
[ -0.3041541278362274, 0.030506471171975136, 0.2815215289592743, 0.8006997108459473, -0.9902998805046082, 0.6188809275627136, -0.29011330008506775, -0.5682367086410522, 0.644774854183197, -0.09526203572750092, 1.8384677171707153, -0.032832447439432144, -0.994274377822876, 0.40903782844543457...
func (i *Int64) UnmarshalJSON(data []byte) error { i.Present = true if bytes.Equal(data, null) { return nil } if err := json.Unmarshal(data, &i.Value); err != nil { return err } i.Valid = true return nil }
[ -0.7268335223197937, 0.29484835267066956, 0.337970495223999, -0.45098409056663513, -0.31143718957901, 0.12206412106752396, 0.5107808709144592, 0.5303013324737549, -0.0672205314040184, 0.19178880751132965, -0.2576272487640381, -0.1772439181804657, -1.0481070280075073, 0.3659588098526001, ...
func (i *Int64) Validate(formats strfmt.Registry) error { return nil }
[ -0.39041370153427124, 0.03908581659197807, -0.02499477192759514, 0.3556670546531677, 0.5964471101760864, -0.01033906638622284, 0.7696554064750671, -0.1317315697669983, -0.5020332336425781, -0.432775616645813, 0.33053192496299744, 0.03536941111087799, -1.4588825702667236, 0.723896861076355,...
func (i *Int64) ContextValidate(ctx context.Context, formats strfmt.Registry) error { return nil }
[ 0.1508934646844864, 0.07611866295337677, 0.06069974601268768, 0.06197847053408623, -0.40431109070777893, 0.5629701018333435, -0.0348895899951458, -0.08253497630357742, 0.8193217515945435, 0.05156711861491203, 0.2500421404838562, 0.4950377941131592, -1.2425928115844727, 0.03291184827685356,...
func (i *Int64Slice) UnmarshalJSON(data []byte) error { i.Present = true if bytes.Equal(data, null) { return nil } if err := json.Unmarshal(data, &i.Value); err != nil { return err } i.Valid = true return nil }
[ -0.8671331405639648, 0.2864948511123657, 0.14259718358516693, -0.6759586334228516, -0.4504294693470001, -0.07018814980983734, 0.050835832953453064, 0.2499196082353592, 0.012639487162232399, 0.9529936909675598, -0.19147148728370667, 0.05900596082210541, -0.6995013356208801, 0.55466008186340...
func (i *Int64Slice) Ptr() *[]int64 { if i.Present && i.Valid { return &i.Value } return nil }
[ -0.5467851758003235, -0.18160000443458557, 0.16293112933635712, 0.9512786865234375, -0.5157775282859802, 0.2721079885959625, -0.6961403489112854, -0.5928269028663635, 0.7302049398422241, 0.718311071395874, 1.5014464855194092, 0.16529420018196106, -0.8549137115478516, 0.8362388014793396, ...
func (i *Int64Slice) Validate(formats strfmt.Registry) error { return nil }
[ -0.7436754107475281, 0.1265563666820526, -0.06069774180650711, -0.14026175439357758, 0.34375137090682983, 0.11712255328893661, 0.19624342024326324, -0.26502126455307007, -0.2572688162326813, 0.3606056571006775, 0.6115742921829224, 0.16922390460968018, -0.9282371997833252, 1.036890864372253...
func (i *Int64Slice) ContextValidate(ctx context.Context, formats strfmt.Registry) error { return nil }
[ -0.4041604995727539, -0.10623498260974884, 0.10536447167396545, -0.1812785416841507, -0.37711840867996216, 0.6074135899543762, -0.3983202576637268, -0.07782550156116486, 0.7329909801483154, 0.7413018941879272, 0.43453070521354675, 0.6899922490119934, -0.8238693475723267, 0.3994162976741791...
func countBlocks(output []int) int { count := 0 for i := 2; i < len(output); i += 3 { if output[i] == 2 { count += 1 } } return count }
[ 0.10692457109689713, -0.591428279876709, 0.6340746879577637, 1.243178129196167, -0.8035607933998108, -0.3985498547554016, 1.086120367050171, -0.5871968865394592, -0.450931191444397, 0.2281237095594406, -0.9846440553665161, -0.29371821880340576, 0.08375653624534607, 0.40980616211891174, 0...
func DrainClose(reader io.Reader) (*bytes.Buffer, error) { if reader == nil { return &bytes.Buffer{}, nil } // the reader might already be a Buffer, in which case return a new one // from its underlying byte array if buf, ok := reader.(*bytes.Buffer); ok { return bytes.NewBuffer(buf.Bytes()), nil } buf := ...
[ -0.21707512438297272, 0.048100244253873825, 0.7108094692230225, 0.39012718200683594, -0.5332242250442505, -0.2567414343357086, 0.4072478413581848, -0.9628814458847046, 1.327394962310791, -1.0278005599975586, 0.8543800115585327, -0.2123296856880188, -1.3828831911087036, 0.3117469251155853, ...
func TryClose(maybeClosers ...interface{}) { for _, maybeCloser := range maybeClosers { if closer, ok := maybeCloser.(io.Closer); ok { _ = closer.Close() } } }
[ -0.5536832213401794, 0.14334498345851898, 0.4646970331668854, 0.7279473543167114, 0.1501016616821289, 0.2130654752254486, -0.2488478422164917, -1.8153921365737915, -1.009962558746338, -0.35800299048423767, 0.4549897611141205, -0.7218217253684998, -1.0699578523635864, 1.0811173915863037, ...
func GetDB() *gorm.DB { if connection == nil { co, err := gorm.Open("postgres", Dbs) if err != nil { log.WithFields(logrus.Fields{ "error": err, }).Fatal("Failed to open database connection") } co.DB().SetMaxIdleConns(defaultMaxConnections / 5) co.DB().SetMaxOpenConns(defaultMaxConnections) conn...
[ -0.1737234741449356, 0.924269437789917, 0.676713764667511, 0.8992382884025574, 0.8037500977516174, 0.17890071868896484, 0.2986297309398651, 0.5326305031776428, -0.28311511874198914, -0.08911522477865219, 0.8140048384666443, 0.0034665449056774378, -1.0767333507537842, 0.05037840083241463, ...
func CreateSession(session *Session) error { db := GetDB() if err := db.Create(session).Error; err != nil { return err } return nil }
[ -0.020798824727535248, -0.19197134673595428, 0.1919299066066742, 0.029754389077425003, 1.511725902557373, 0.5212036967277527, 0.18573908507823944, -0.6749584674835205, 1.0881025791168213, 0.24167613685131073, -0.6879690885543823, -0.2628617584705353, -0.2284272164106369, 0.5916116833686829...
func UpdateSession(session *Session) error { db := GetDB() if err := db.Table("sessions").Where("user_id = ?", session.UserID).Updates(map[string]interface{}{"session_end_at": session.SessionEndAt, "state": session.State}).Error; err != nil { return err } return nil }
[ -1.024191975593567, -1.2129991054534912, 0.6004515290260315, 0.24172504246234894, 0.022200483828783035, 0.39391836524009705, 0.10786094516515732, -0.31076762080192566, 0.36675968766212463, 1.0852041244506836, -0.2162635326385498, 0.1812782883644104, 0.364082932472229, 0.478775292634964, ...
func CountActiveSession(activeSession *int) error { db := GetDB() if err := db.Table("sessions").Where("state = ?", "running").Count(&activeSession).Error; err != nil { return err } return nil }
[ 0.10266049206256866, -1.8127858638763428, 0.6950011253356934, -0.05213991552591324, -0.14498981833457947, -0.08476501703262329, 0.5813474059104919, -0.3414185345172882, 0.41774189472198486, 1.1278467178344727, -0.7578657865524292, -0.34010180830955505, 0.1429290920495987, 0.013924457132816...
func GetOutdatedSessions(sessions *[]Session) error { db := GetDB() if err := db.Debug().Unscoped().Where("(deleted_at != null OR session_end_at <= ?) AND state = ?", time.Now(), "running").Find(sessions).Error; err != nil { return err } return nil }
[ -0.7424699664115906, -0.9313010573387146, 0.7466033101081848, 0.07160982489585876, 0.050387900322675705, 0.5406399965286255, -0.524436354637146, -0.5658294558525085, 0.25995737314224243, 0.5097953081130981, 0.34208735823631287, 0.38351958990097046, 0.0687038004398346, 0.9181070327758789, ...
func DeleteOutdatedSession(session *Session) error { db := GetDB() if err := db.Where("server_id = ?", session.ServerID).Delete(session).Error; err != nil { return err } return nil }
[ -0.1293235421180725, -0.6993473172187805, 0.7361059784889221, -0.061775676906108856, -0.2766120433807373, 0.6368757486343384, 0.13540959358215332, -0.012193558737635612, 0.9366492033004761, 0.4192839562892914, -0.02462237887084484, 0.5462087988853455, 0.24511504173278809, 1.184006690979004...
func GetSessionByUserID(session *Session, userID int64) error { db := GetDB() if err := db.Where(Session{UserID: userID}).First(session).Error; err != nil { if err == gorm.ErrRecordNotFound { return err } log.WithFields(logrus.Fields{ "error": err, }).Warn("Failed get session associated to user ID") }...
[ 0.44567030668258667, -0.3744143843650818, 0.1769191324710846, 0.4856978952884674, 0.19135084748268127, -0.37363868951797485, 0.6731943488121033, -1.5757222175598145, -0.02065799944102764, 0.7507676482200623, 0.18607927858829498, 1.1648757457733154, 0.15979866683483124, 0.6738969683647156, ...
func LoadConfig(configFile *string, appConfig *AppConfig) { log.Info("Initialize configuration") stream, err := ioutil.ReadFile(*configFile) if err != nil { log.WithFields(logrus.Fields{ "error": err, }).Fatal("Failed to open configuration file") } if err := yaml.Unmarshal(stream, &appConfig); err != nil ...
[ 0.9968965649604797, -0.7799049019813538, 0.6559072732925415, 0.27453935146331787, -0.23271052539348602, 0.47047901153564453, -0.22537554800510406, 1.2490942478179932, -1.071785569190979, 0.7710420489311218, -0.27142685651779175, 0.3798637390136719, -0.12552593648433685, 1.1968656778335571,...
func SetupTwitter(appConfig *AppConfig) *twitter.Client { log.Info("Initialize twitter client") config := oauth1.NewConfig(appConfig.Twitter.ConsumerKey, appConfig.Twitter.ConsumerSecret) token := oauth1.NewToken(appConfig.Twitter.AccessToken, appConfig.Twitter.AccessTokenSecret) httpClient := config.Client(oaut...
[ 0.28063276410102844, -0.5022076964378357, 0.5170931816101074, -0.05492290109395981, 0.37997445464134216, -0.0934017077088356, -0.2454388439655304, 0.39137083292007446, -0.31284406781196594, 0.36231955885887146, -1.000960350036621, 0.9903672337532043, 0.014809847809374332, 0.815249502658844...
func Tweet(twitterClient *twitter.Client, message string, tweetRefID *int64) { statusParams := twitter.StatusUpdateParams{} if tweetRefID != nil { statusParams.InReplyToStatusID = *tweetRefID } if _, _, err := twitterClient.Statuses.Update(fmt.Sprintf("%s (%s)", message, time.Now().Format("2006-01-02 15:04:05"))...
[ 0.6435309052467346, 0.03405164182186127, 0.42511454224586487, -1.144877314567566, 1.049648404121399, -0.40397223830223083, 0.0420951247215271, 0.29058757424354553, -0.5873749852180481, 0.9467518925666809, -0.2820156216621399, 0.9058846831321716, -1.2829339504241943, 0.2776762843132019, -...
func DM(twitterClient *twitter.Client, userID int64, screenName string, message string) { params := &twitter.DirectMessageNewParams{ UserID: userID, ScreenName: screenName, Text: message, } if _, _, err := twitterClient.DirectMessages.New(params); err != nil { log.WithFields(logrus.Fields{ "erro...
[ -0.25604990124702454, 0.6660054922103882, 0.45781391859054565, -0.21595491468906403, -0.15199127793312073, 0.7407278418540955, 0.013418869115412235, -0.5349171757698059, -0.6505170464515686, 0.058917876332998276, 0.44741618633270264, 0.899761974811554, -0.31538668274879456, 0.7950376272201...
func CheckFollowMe(tweet *twitter.Tweet, twitterClient *twitter.Client, appConfig *AppConfig, tweetRefID *int64) bool { params := &twitter.FollowerIDParams{ ScreenName: appConfig.Twitter.Username, Count: 5000, } followerIDs, _, err := twitterClient.Followers.IDs(params) if err != nil { return true } ...
[ -0.13075798749923706, -0.37332114577293396, 0.5130174160003662, -0.1259414106607437, 0.19828931987285614, 0.21529896557331085, 0.7208874225616455, -0.32285743951797485, -0.3183129131793976, 1.1796592473983765, -0.448118656873703, -0.07936180382966995, -0.7437794804573059, 0.911204338073730...
func SpawnInstance(user *twitter.User, twitterClient *twitter.Client, appConfig *AppConfig, tweetRefID *int64) error { var count int if err := CountActiveSession(&count); err != nil { return err } if count > appConfig.Scw.Limit { return errors.New("Server limit reached") } s, _ := scw.NewScalewayAPI(appConf...
[ 0.055460039526224136, -1.0887937545776367, 0.9882296323776245, -0.6117954850196838, 0.23735016584396362, 0.48963993787765503, -0.033537689596414566, -0.20310825109481812, 0.7337486743927002, 1.0548696517944336, -0.9653452634811401, 0.6565362811088562, -0.4572584331035614, 0.622553646564483...
func CheckRunningSession(userID int64) bool { if err := GetSessionByUserID(&Session{}, userID); err != nil { return false } return true }
[ -0.5675823092460632, -0.9375686645507812, 0.4717423915863037, 0.9765601754188538, -0.2570720314979553, 0.2809202969074249, 0.4552980065345764, -0.5632684826850891, 0.23694419860839844, 0.4778275489807129, -0.30597853660583496, 0.5431179404258728, -0.30273115634918213, 0.4991261065006256, ...
func MonitorTwitterStream(twitterClient *twitter.Client, appConfig *AppConfig) { params := &twitter.StreamUserParams{ With: "followings", StallWarnings: twitter.Bool(true), } demux := twitter.NewSwitchDemux() demux.Event = func(event *twitter.Event) { go func(event *twitter.Event) { fmt.Printf("...
[ 0.413370281457901, -0.5975197553634644, 0.8324953317642212, 0.16004668176174164, 0.2775803804397583, -0.14503271877765656, 0.7078153491020203, -0.6127691864967346, 0.45367860794067383, 0.027098730206489563, -0.6441743969917297, 0.6126580834388733, -0.06500816345214844, 1.4023417234420776, ...
func InitDb(appConfig *AppConfig) { log.Info("Initialize database connection") Dbs = fmt.Sprintf("host=%s port=%s user=%s password=%s dbname=%s sslmode=%s", appConfig.Db.Host, appConfig.Db.Port, appConfig.Db.User, appConfig.Db.Password, appConfig.Db.DbName, appConfig.Db.SSLMode, ) log.Info("Successfully...
[ 0.3000189960002899, 0.6217405200004578, 1.0128132104873657, 1.7871590852737427, 0.36451250314712524, 0.37788712978363037, 0.3894325792789459, 0.43140652775764465, -0.42761659622192383, 0.47415024042129517, -0.23297199606895447, 0.4509373903274536, -0.06023506447672844, 0.8325517177581787, ...
func All(db *sql.DB) *AllRepositories { return &AllRepositories{ component: &Component{db}, pod: &Pod{db}, processor: &Processor{db}, processorInput: &ProcessorInput{db}, processorJoin: &ProcessorJoin{db}, processorLookup: &ProcessorLookup{db}, processorOutput: &ProcessorOutput...
[ 0.19818222522735596, 0.04861381649971008, 0.3516288995742798, -0.2500222325325012, -0.4215005338191986, -0.2148546576499939, -0.19289222359657288, 0.2421739101409912, 0.7560069561004639, -1.2506375312805176, 0.5133494138717651, 0.3380725085735321, 0.028652483597397804, 1.1856067180633545, ...
func (a *AllRepositories) Component() loaders.ComponentRepository { return a.component }
[ -0.47260528802871704, -0.7411113977432251, 0.18039974570274353, -0.6400322914123535, 0.7940160632133484, 0.23780502378940582, 0.14151862263679504, 1.095879077911377, 1.3764501810073853, -0.8150959610939026, 1.4397846460342407, -0.17080552875995636, 0.7346299290657043, 0.580896258354187, ...
func (a *AllRepositories) Pod() loaders.PodRepository { return a.pod }
[ -0.1697862297296524, -0.11568112671375275, 0.28384703397750854, -0.8868773579597473, -0.07099249213933945, 0.4919627904891968, 0.18259553611278534, 0.4395814836025238, 1.0934889316558838, -0.558163583278656, 1.5272520780563354, -0.19201771914958954, 0.6861118674278259, 0.04706280678510666,...
func (a *AllRepositories) Processor() loaders.ProcessorRepository { return a.processor }
[ -0.5795000195503235, -0.17204679548740387, 0.17661520838737488, -0.4936501085758209, -0.2285682111978531, -0.3054262697696686, -0.394429087638855, 1.2462501525878906, 1.2381467819213867, -0.29257649183273315, 0.5186912417411804, -0.37318742275238037, -0.11799276620149612, 0.775297045707702...
func (a *AllRepositories) ProcessorInput() loaders.ProcessorInputRepository { return a.processorInput }
[ -0.5908365845680237, 0.195245623588562, 0.27114561200141907, -0.9044684171676636, -0.7470102906227112, 0.3708481192588806, 0.5712928175926208, 1.4855999946594238, 0.6192290782928467, 0.12173007428646088, 0.5211160778999329, 0.16934874653816223, -0.7305281162261963, 0.13821974396705627, -...
func (a *AllRepositories) ProcessorJoin() loaders.ProcessorJoinRepository { return a.processorJoin }
[ 0.21348389983177185, 0.14722023904323578, 0.17016993463039398, -0.34199094772338867, -0.5610911846160889, 0.3399536907672882, -0.4209466874599457, 1.6574119329452515, -0.16842511296272278, 0.17243188619613647, 0.7127670645713806, 0.36231130361557007, -1.48954439163208, 0.4530186951160431, ...
func (a *AllRepositories) ProcessorLookup() loaders.ProcessorLookupRepository { return a.processorLookup }
[ -0.8132918477058411, 0.07633349299430847, 0.4308786392211914, -0.6304692625999451, -0.5883315801620483, -0.08298192173242569, 0.37265750765800476, 1.1470435857772827, 0.643470048904419, 0.5320591330528259, 0.8294158577919006, -0.17029879987239838, -0.5174285173416138, -0.07984304428100586,...
func (a *AllRepositories) ProcessorOutput() loaders.ProcessorOutputRepository { return a.processorOutput }
[ -0.020618664100766182, -0.03501041606068611, 0.19264711439609528, -0.9548838138580322, -0.29059961438179016, -0.9340692162513733, 0.3140241503715515, 1.207646131515503, 0.28954532742500305, 0.14629898965358734, 0.5643638372421265, -0.040419984608888626, -0.48528462648391724, 0.402758926153...
func (a *AllRepositories) Query() loaders.QueryRepository { return a.query }
[ 0.3214251697063446, -0.1677108258008957, 0.07764832675457001, -0.16197997331619263, -0.0213055070489645, -0.07758697867393494, -1.4651768207550049, 0.7854400277137756, 1.1387566328048706, -0.7711495161056519, 1.3236395120620728, -0.329763263463974, -0.26253336668014526, 0.8125154376029968,...
func (a *AllRepositories) Service() loaders.ServiceRepository { return a.service }
[ -0.24004580080509186, -0.7857881784439087, 0.025932632386684418, -0.3533281087875366, 0.01945437863469124, -0.09384290874004364, -0.7115561962127686, 0.44651973247528076, 0.6881035566329956, -0.6029532551765442, 0.3396724462509155, 0.18494513630867004, -0.140638530254364, 1.186037778854370...
func (a *AllRepositories) Sink() loaders.SinkRepository { return a.sink }
[ -0.6124796271324158, 0.24116496741771698, 0.18134626746177673, -0.006132956128567457, 0.25880807638168335, -0.4833572208881378, 0.1358053982257843, 0.387098103761673, 1.0245542526245117, -0.7600887417793274, 0.8860343098640442, 0.4299620985984802, -0.11445613950490952, 0.6597616076469421, ...
func (a *AllRepositories) Source() loaders.SourceRepository { return a.source }
[ -0.5057961344718933, 0.19842734932899475, 0.015735123306512833, 0.2850988805294037, -0.1273554265499115, -0.23535959422588348, -0.19998501241207123, 0.8542394042015076, 1.0091264247894287, -0.43072783946990967, 0.0033247345127165318, -0.23695644736289978, -0.0049302163533866405, 1.13743209...
func (a *AllRepositories) Topic() loaders.TopicRepository { return a.topic }
[ -0.04022460803389549, 0.357937216758728, 0.1292096972465515, 0.01593390479683876, 0.15834541618824005, 0.056049782782793045, -0.41949978470802307, 0.775576651096344, 0.5757734179496765, -0.4697369635105133, 1.6441149711608887, -0.6247274875640869, 0.19071613252162933, 0.2980966567993164, ...
func (a *AllRepositories) View() loaders.ViewRepository { return a.view }
[ 0.09465565532445908, 0.00845892634242773, 0.07874678075313568, -0.9901886582374573, -0.15328966081142426, -0.582826554775238, -0.30946576595306396, 0.6249305605888367, 0.6212838292121887, -1.4723206758499146, 1.2953599691390991, 0.3109363317489624, -0.1358257532119751, 0.5242130160331726, ...
func (a *AllRepositories) ViewSink() loaders.ViewSinkRepository { return a.viewSink }
[ -0.18496577441692352, 0.5973564982414246, 0.019622599706053734, -0.3290760815143585, -0.6205276846885681, -0.9071897864341736, 0.024198278784751892, 0.21794530749320984, 1.2513707876205444, -1.2111215591430664, 1.2328517436981201, 1.1292407512664795, 0.03577963262796402, 0.8458306789398193...
func (a *AllRepositories) ViewSource() loaders.ViewSourceRepository { return a.viewSource }
[ -0.04182444140315056, 0.7206381559371948, -0.12194579094648361, -0.5944491028785706, -0.7648004293441772, -1.040616512298584, -0.2865197956562042, 0.7275548577308655, 1.4173080921173096, -0.653548002243042, 0.44473570585250854, 0.130576491355896, -0.5002866983413696, 0.541567862033844, -...
func RadioPhoneConstruct(brand, model string, buttonsCount int) radioPhone { return radioPhone{brand: brand, model: model, phoneType: "station", buttonsCount: buttonsCount} }
[ -0.7857734560966492, -0.6074244379997253, 0.075102798640728, 0.05244262516498566, -0.5547032952308655, 0.6648617386817932, -0.4776470959186554, -0.3770994544029236, 0.1993492990732193, 0.05463225394487381, -0.7996037006378174, -0.7416815161705017, 0.08741448819637299, 0.19257956743240356, ...
func EvaluationRPC(id int) (res []byte, err error) { // Create connection // Kubernetes connection conn, err := amqp.Dial("amqp://admin:hola-mama@rabbitmq:5672/") // Local connection // conn, err := amqp.Dial("amqp://guest:guest@localhost:5672/") failOnError(err, "Failed to connect to RabbitMQ") defer conn.Close...
[ 0.027701083570718765, -0.5811043381690979, 0.9530313611030579, -0.8894169330596924, -0.026714088395237923, -0.5081828236579895, -0.272960364818573, -0.6516372561454773, -0.025989530608057976, 1.3125708103179932, 0.7087512612342834, 0.7425328493118286, -1.4866126775741577, 0.446511358022689...
func timeTrack(start time.Time, name string) { if ShellConfig.Bench { fmt.Fprintf(term, "%s Method %s took %s %s\n", au.Bold(au.Blue(string("Δ"))), au.Bold(au.Blue(name)), time.Since(start), au.Bold(au.Blue(string("Δ")))) } }
[ 0.4231186807155609, 0.3639289140701294, 0.916383683681488, -0.9146249890327454, -0.449762761592865, 0.5119590759277344, 0.2336612492799759, -0.8139849305152893, -1.3904973268508911, 0.6179443001747131, -0.4553728401660919, 0.8014569878578186, -0.08682190626859665, 1.116681694984436, -0.2...
func (z *E12) Equal(x *E12) bool { return z.C0.Equal(&x.C0) && z.C1.Equal(&x.C1) }
[ -0.17670637369155884, -0.5533357858657837, 0.27950626611709595, -0.4511232078075409, 0.6249203085899353, 0.8857098817825317, -0.10484739392995834, -0.21283374726772308, -0.3658701777458191, 0.5740400552749634, -1.0440596342086792, 0.20457537472248077, -0.07199074327945709, 0.68792670965194...
func (z *E12) String() string { return (z.C0.String() + "+(" + z.C1.String() + ")*w") }
[ 0.44680142402648926, -0.8187994956970215, 0.2984274625778198, -1.2034021615982056, -0.0037197743076831102, 0.8063923716545105, 1.0216113328933716, -0.7907505035400391, -0.14202724397182465, 0.4804667830467224, 0.1327858716249466, 0.6646210551261902, 0.03836250677704811, 0.7241323590278625,...
func (z *E12) SetString(s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11 string) *E12 { z.C0.SetString(s0, s1, s2, s3, s4, s5) z.C1.SetString(s6, s7, s8, s9, s10, s11) return z }
[ -0.17067851126194, -0.21660968661308289, 0.19931571185588837, -0.6036350131034851, 0.34645411372184753, 0.1328795999288559, 1.2676576375961304, 0.14067241549491882, -0.23737524449825287, 0.25558313727378845, -0.49747803807258606, 0.4973539412021637, 0.3716837167739868, 0.2997986078262329, ...
func (z *E12) Set(x *E12) *E12 { z.C0 = x.C0 z.C1 = x.C1 return z }
[ -0.03456208482384682, -0.4730944335460663, 0.09419035166501999, -1.0446723699569702, 0.2516157329082489, 1.052024483680725, 0.20667098462581635, -0.20229098200798035, -0.056321095675230026, -0.03276593238115311, -1.274544596672058, 0.7329073548316956, 0.5687088370323181, 0.56160968542099, ...
func (z *E12) SetOne() *E12 { z.C0.B0.A0.SetOne() z.C0.B0.A1.SetZero() z.C0.B1.A0.SetZero() z.C0.B1.A1.SetZero() z.C0.B2.A0.SetZero() z.C0.B2.A1.SetZero() z.C1.B0.A0.SetZero() z.C1.B0.A1.SetZero() z.C1.B1.A0.SetZero() z.C1.B1.A1.SetZero() z.C1.B2.A0.SetZero() z.C1.B2.A1.SetZero() return z }
[ 0.05699018016457558, 0.24752606451511383, 0.5669353604316711, -0.33719974756240845, 1.2202850580215454, -0.8135045170783997, 1.3918755054473877, 0.4587576687335968, -0.47955724596977234, 0.1949319839477539, -0.628309428691864, -0.25078338384628296, -0.06068427115678787, 0.596781849861145, ...
func (z *E12) ToMont() *E12 { z.C0.ToMont() z.C1.ToMont() return z }
[ 0.5555245280265808, -0.5683901906013489, 0.33743372559547424, -1.1859852075576782, 0.6570189595222473, 0.21727561950683594, 0.37721797823905945, -0.17299120128154755, 0.5267779231071472, -0.23897981643676758, -0.4243810772895813, -0.051756709814071655, 0.004110571462661028, 0.4780364632606...
func (z *E12) FromMont() *E12 { z.C0.FromMont() z.C1.FromMont() return z }
[ 1.585405707359314, -0.7260876893997192, 0.3822184205055237, 0.0930086150765419, -0.24774308502674103, 0.8925406336784363, 0.7352352142333984, -0.43236181139945984, 0.061236873269081116, -0.7437885403633118, 0.09773053228855133, 0.6891100406646729, -0.16547447443008423, 0.6377948522567749, ...
func (z *E12) Add(x, y *E12) *E12 { z.C0.Add(&x.C0, &y.C0) z.C1.Add(&x.C1, &y.C1) return z }
[ -0.48293593525886536, -1.0901998281478882, 0.40371567010879517, -0.7998980283737183, 0.5232253074645996, 0.900288462638855, -0.3569226562976837, -0.6154245734214783, 0.6134147047996521, 0.10967592149972916, 0.1384071558713913, 0.8133670091629028, 0.20062319934368134, 0.5562318563461304, ...
func (z *E12) Sub(x, y *E12) *E12 { z.C0.Sub(&x.C0, &y.C0) z.C1.Sub(&x.C1, &y.C1) return z }
[ 0.14193451404571533, -0.7438294887542725, 0.3764857351779938, -0.6447998881340027, -0.42866387963294983, 0.885219395160675, -0.155211940407753, -0.04744509235024452, -0.09854687005281448, -0.10815946757793427, -0.676406979560852, 0.558792769908905, 0.4012930393218994, 0.13963928818702698, ...
func (z *E12) Double(x *E12) *E12 { z.C0.Double(&x.C0) z.C1.Double(&x.C1) return z }
[ 0.017182225361466408, -0.49928897619247437, 0.25849026441574097, -0.1319008618593216, 0.37814533710479736, 1.1227824687957764, 0.047962989658117294, -0.12344969809055328, -0.0009220761130563915, 0.2167355716228485, -1.0102739334106445, 1.0189884901046753, 0.8423802852630615, 0.713456690311...
func (z *E12) SetRandom() *E12 { z.C0.B0.A0.SetRandom() z.C0.B0.A1.SetRandom() z.C0.B1.A0.SetRandom() z.C0.B1.A1.SetRandom() z.C0.B2.A0.SetRandom() z.C0.B2.A1.SetRandom() z.C1.B0.A0.SetRandom() z.C1.B0.A1.SetRandom() z.C1.B1.A0.SetRandom() z.C1.B1.A1.SetRandom() z.C1.B2.A0.SetRandom() z.C1.B2.A1.SetRandom()...
[ -0.24129876494407654, -0.49259084463119507, 0.7574377059936523, 0.0048732515424489975, 0.2772693634033203, 0.7386200428009033, 1.6838552951812744, 0.26415276527404785, 0.6540690660476685, -0.11560551822185516, -0.40682998299598694, 0.24948568642139435, 0.28621387481689453, 1.15622222423553...
func (z *E12) Mul(x, y *E12) *E12 { var a, b, c E6 a.Add(&x.C0, &x.C1) b.Add(&y.C0, &y.C1) a.Mul(&a, &b) b.Mul(&x.C0, &y.C0) c.Mul(&x.C1, &y.C1) z.C1.Sub(&a, &b).Sub(&z.C1, &c) z.C0.MulByNonResidue(&c).Add(&z.C0, &b) return z }
[ 0.6347970962524414, -0.34581464529037476, 0.5395283102989197, -0.8226420283317566, 0.3299526274204254, 0.5281404256820679, 0.1199599951505661, 0.14721281826496124, 1.0528000593185425, 0.12559592723846436, -0.3621889352798462, -0.21116282045841217, 0.5539982318878174, 0.0730716809630394, ...
func (z *E12) Square(x *E12) *E12 { //Algorithm 22 from https://eprint.iacr.org/2010/354.pdf var c0, c2, c3 E6 c0.Sub(&x.C0, &x.C1) c3.MulByNonResidue(&x.C1).Neg(&c3).Add(&x.C0, &c3) c2.Mul(&x.C0, &x.C1) c0.Mul(&c0, &c3).Add(&c0, &c2) z.C1.Double(&c2) c2.MulByNonResidue(&c2) z.C0.Add(&c0, &c2) return z }
[ -0.26757916808128357, -1.067827582359314, 0.5573468804359436, -0.9656025767326355, 0.2656724154949188, -0.04859111085534096, 0.3773176670074463, -0.13845694065093994, 1.1913917064666748, 0.047194842249155045, -0.6133076548576355, 0.35733136534690857, 0.1168423593044281, 0.2186615765094757,...
func fp4Square(a, b, c, d *E2) { var tmp E2 c.Square(a) tmp.Square(b).MulByNonResidue(&tmp) c.Add(c, &tmp) d.Mul(a, b).Double(d) }
[ 0.07470659166574478, -0.668714165687561, 0.4358626902103424, -0.23428310453891754, 0.24256710708141327, -0.884165346622467, -0.11423004418611526, -0.7270479798316956, 0.41213130950927734, 0.1519913673400879, -0.3662255108356476, -0.769223153591156, 0.2605789601802826, 0.027980895712971687,...
func (z *E12) Inverse(x *E12) *E12 { // Algorithm 23 from https://eprint.iacr.org/2010/354.pdf var t0, t1, tmp E6 t0.Square(&x.C0) t1.Square(&x.C1) tmp.MulByNonResidue(&t1) t0.Sub(&t0, &tmp) t1.Inverse(&t0) z.C0.Mul(&x.C0, &t1) z.C1.Mul(&x.C1, &t1).Neg(&z.C1) return z }
[ 0.06229226663708687, -0.4645637273788452, 0.31033653020858765, -0.9939557909965515, -0.7225050330162048, 0.8480964303016663, -0.1785305291414261, 0.9179818630218506, -0.39076417684555054, 0.45781317353248596, -0.5997625589370728, -0.21850958466529846, -0.455556720495224, -0.213653907179832...
func (z *E12) Exp(x *E12, e big.Int) *E12 { var res E12 res.SetOne() b := e.Bytes() for i := range b { w := b[i] mask := byte(0x80) for j := 7; j >= 0; j-- { res.Square(&res) if (w&mask)>>j != 0 { res.Mul(&res, x) } mask = mask >> 1 } } z.Set(&res) return z }
[ 0.37073448300361633, 0.4939015209674835, 0.430255264043808, -0.13962095975875854, -0.680370032787323, -0.13178521394729614, 0.36130252480506897, -0.013747752644121647, 1.1940463781356812, 0.6466950178146362, -0.6983218789100647, -0.26639077067375183, -0.18213652074337006, 0.377882272005081...
func (z *E12) InverseUnitary(x *E12) *E12 { return z.Conjugate(x) }
[ -0.5642910003662109, 0.09376773238182068, 0.3460688292980194, -0.5814753174781799, -0.4864569306373596, 0.5430057048797607, -0.46850696206092834, 0.5078122019767761, 0.25687623023986816, -0.32118064165115356, -0.7324416041374207, 0.5988747477531433, -0.8851267099380493, -0.1246389374136924...
func (z *E12) Conjugate(x *E12) *E12 { z.Set(x) z.C1.Neg(&z.C1) return z }
[ 0.07745497673749924, 0.07839668542146683, 0.4281092584133148, 0.0811382606625557, -0.2780998945236206, 0.6890905499458313, -0.7870717644691467, 0.318437397480011, 0.19701917469501495, -0.4699656367301941, 0.13185322284698486, 0.3725450336933136, -1.0730605125427246, 0.267214834690094, -0...
func main() { // method 1 x := []int{1, 2, 3} y := append(x, 4, 5, 6) fmt.Println(x) fmt.Println(y) // method 2 z := x[0:3] fmt.Println(z) a := append(z, 4, 5, 6) fmt.Println(a) //method 3 b := make([]int, 5) c := append(b, 1, 2, 3) fmt.Println(c) // method 4 slice1 := []int{1, 2, 3, 4} fmt.Println...
[ -0.0034088543616235256, -0.24620798230171204, 1.0923346281051636, 0.6700304746627808, -1.185850977897644, 0.16428126394748688, 0.8975746035575867, -0.8425263166427612, 0.36555975675582886, 0.704900860786438, -0.30679652094841003, 0.6179472208023071, -0.12941700220108032, 0.0773665457963943...
func NewMockTokensService(ctrl *gomock.Controller) *MockTokensService { mock := &MockTokensService{ctrl: ctrl} mock.recorder = &MockTokensServiceMockRecorder{mock} return mock }
[ 0.07713118195533752, -0.21501097083091736, 0.11575501412153244, -0.5189231038093567, -0.2785223722457886, -0.42983564734458923, -0.13539589941501617, -1.3738075494766235, 0.49558162689208984, 0.21711991727352142, -0.47309428453445435, 0.9394241571426392, -0.8159856200218201, 0.923417985439...
func (m *MockTokensService) EXPECT() *MockTokensServiceMockRecorder { return m.recorder }
[ 0.31275227665901184, 0.3103220462799072, 0.190775528550148, -0.5417884588241577, -0.11027365922927856, -0.09945039451122284, -0.6032502055168152, -0.07349391281604767, 0.27420395612716675, -0.8848804235458374, 0.7979830503463745, 1.4341390132904053, -0.8580494523048401, 0.7251201272010803,...
func (m *MockTokensService) TokenCreate(arg0 scalingo.TokenCreateParams) (scalingo.Token, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "TokenCreate", arg0) ret0, _ := ret[0].(scalingo.Token) ret1, _ := ret[1].(error) return ret0, ret1 }
[ -0.13747422397136688, 0.27779993414878845, 0.2792016863822937, 0.24226567149162292, 1.0867444276809692, 0.11187680810689926, 0.3139616549015045, -0.3403990864753723, -1.3031445741653442, -0.8853458166122437, -0.5615531802177429, -0.8203564882278442, -0.22405998408794403, 1.1703656911849976...
func (mr *MockTokensServiceMockRecorder) TokenCreate(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "TokenCreate", reflect.TypeOf((*MockTokensService)(nil).TokenCreate), arg0) }
[ 0.2938084006309509, 0.7887653112411499, 0.1592036634683609, 0.1051274761557579, 0.028984596952795982, 0.11425020545721054, -0.7013276815414429, -1.082442045211792, 0.08072683960199356, 0.07230187952518463, 0.38570675253868103, 0.16234226524829865, -0.4588882327079773, 1.1178478002548218, ...
func (m *MockTokensService) TokenExchange(arg0 string) (string, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "TokenExchange", arg0) ret0, _ := ret[0].(string) ret1, _ := ret[1].(error) return ret0, ret1 }
[ -0.6362699866294861, 0.17817041277885437, 0.28149494528770447, 0.14894792437553406, 1.1818358898162842, 0.2497386783361435, 0.2593722343444824, -0.20572444796562195, -1.233591079711914, -0.6257672309875488, -0.4743725061416626, -0.45964816212654114, -0.32691627740859985, 1.2695854902267456...
func (mr *MockTokensServiceMockRecorder) TokenExchange(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "TokenExchange", reflect.TypeOf((*MockTokensService)(nil).TokenExchange), arg0) }
[ -0.002879990730434656, 0.8652554154396057, -0.06729460507631302, 0.274789959192276, 0.09962010383605957, 0.2972221374511719, -0.8607401251792908, -0.8894411325454712, 0.24999740719795227, -0.10727265477180481, 0.467941015958786, 0.3551502525806427, -0.5414720773696899, 1.4475374221801758, ...
func (m *MockTokensService) TokenShow(arg0 int) (scalingo.Token, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "TokenShow", arg0) ret0, _ := ret[0].(scalingo.Token) ret1, _ := ret[1].(error) return ret0, ret1 }
[ 0.07820213586091995, 0.1941465139389038, 0.2584833800792694, -0.4706287086009979, 0.2705814242362976, 0.0722631961107254, 0.24766094982624054, 0.16859938204288483, -0.9058876037597656, -0.3728441298007965, -0.6443682909011841, 0.07310422509908676, 0.3769000172615051, 0.58726966381073, 0....
func (mr *MockTokensServiceMockRecorder) TokenShow(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "TokenShow", reflect.TypeOf((*MockTokensService)(nil).TokenShow), arg0) }
[ 0.6265854835510254, 0.4877021908760071, 0.017184140160679817, -0.6984729766845703, -0.7426989078521729, 0.012254069559276104, -0.6647766828536987, -0.35334256291389465, 0.5305467844009399, 0.351232647895813, 0.30704939365386963, 1.2732871770858765, 0.08053824305534363, 0.6629680395126343, ...
func (m *MockTokensService) TokensList() (scalingo.Tokens, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "TokensList") ret0, _ := ret[0].(scalingo.Tokens) ret1, _ := ret[1].(error) return ret0, ret1 }
[ -0.6946448683738708, -0.18879131972789764, 0.2965901494026184, 0.011802897788584232, 0.5888209342956543, -0.2787158489227295, 0.22081932425498962, -0.247282937169075, -0.407135009765625, 0.03856179490685463, -1.4663176536560059, -0.8056082129478455, -0.32231995463371277, 0.994403064250946,...
func (mr *MockTokensServiceMockRecorder) TokensList() *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "TokensList", reflect.TypeOf((*MockTokensService)(nil).TokensList)) }
[ -0.2723255753517151, 0.7288774251937866, -0.0695941150188446, -0.011570812202990055, -0.3167628347873688, -0.41916796565055847, -0.9464967846870422, -0.7922260761260986, 0.8940436244010925, 0.5437995195388794, -0.3992951810359955, 0.24988578259944916, -0.5113334059715271, 1.137622594833374...
func (lex *lexicon) LeastUsedPLS() DatastoreTag { var bestPls *PLSContainer var pls *PLSContainer for i := 0; i < len(lex.lru_cache); i++ { //iterate over in memory ones (from back for most recently used) if pls = lex.lru_cache[i]; pls.Size < lex.perPLSLoad { log.Debugf("Choosing existing PLS %s because its ...
[ 0.5537935495376587, -0.09893489629030228, 0.8284534215927124, -1.202446460723877, -0.8699746131896973, -0.36687153577804565, -0.12053326517343521, -0.729945719242096, 0.5251842141151428, -0.4326748251914978, -0.5066598653793335, 0.3403717875480652, -0.1576787233352661, 0.21110939979553223,...
func (lex *lexicon) RetrievePLS(term *persistent_term) *PostingListSet { log.Debugf("Received %s.", term) log.Tracef("PLS_cache: %v", lex.pl_set_cache) lex.stats[PLSFetches]++ StartAgain: pls, ok := lex.pl_set_cache[term.DataTag] switch { case !ok: //We've never seen this one. Make a new one log.Debugf("Cr...
[ -0.07593979686498642, 0.5407094955444336, 0.7927166223526001, -0.7358394861221313, -0.6115188002586365, -0.29843708872795105, -0.19497241079807281, -0.3822340667247772, 0.9480090141296387, -0.06407082080841064, -0.6683934926986694, 0.16278637945652008, -0.1490972638130188, -0.2904892563819...
func (lex *lexicon) SwappedWorker() { var pls, target *PLSContainer var i int for target = range lex.swapped_worker_q { lex.swapped_lock.Lock() switch target.PLS { case nil: //We're supposed to add it beause it's swapped /*log.Infof("asked to swap %p. Swap cache is %v, LRU is %v", target, lex.swapped_...
[ -0.9443160891532898, -0.3547671139240265, 0.6683523058891296, -0.23722615838050842, 0.2536938786506653, -0.17154434323310852, -0.28876855969429016, 0.7496063113212585, 0.3854605555534363, -0.24829286336898804, -1.2521222829818726, 0.5456436276435852, -0.7237505912780762, 0.3563913106918335...
func (lex *lexicon) RetrievePostingList(term *persistent_term) index.PostingList { pls := lex.RetrievePLS(term) return pls.Get(term.Text_) }
[ -0.33832094073295593, 0.625932514667511, 0.4754849076271057, -0.024096395820379257, -0.4269852638244629, -0.1559128761291504, -0.655148983001709, 0.7636661529541016, -0.1761154979467392, 0.2317408174276352, -0.8649071455001831, -0.6794136762619019, -0.9963107109069824, -0.16165035963058472...
func (lex *lexicon) evict() { var oldest *PLSContainer evicted := 0 for lex.load_factor() > 0.8 { /*log.Tracef("Evicting oldest from LRUSet %v", lex.lru_cache)*/ oldest = lex.lru_cache.LeastRecent() if oldest == nil { return } if oldest == nil { panic("Lies") } lex.dump_pls(oldest) if olde...
[ 0.1066485196352005, 0.533594012260437, 0.6315642595291138, -0.9744709134101868, 0.40692073106765747, -0.05836835503578186, 0.39661937952041626, -0.2349565327167511, -0.38583841919898987, -0.009286344051361084, -0.6729306578636169, 0.3883588910102844, 0.03914770856499672, 0.1754538118839264...
func (in *Cluster) DeepCopyInto(out *Cluster) { *out = *in out.TypeMeta = in.TypeMeta in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) in.Spec.DeepCopyInto(&out.Spec) in.Status.DeepCopyInto(&out.Status) return }
[ 0.1746627241373062, -0.518714427947998, 0.39273861050605774, 0.1313990354537964, -0.4374816119670868, 0.5475680828094482, 0.03490234166383743, 0.7153912782669067, -1.0429805517196655, -0.2458241730928421, -0.8308321237564087, 1.5462075471878052, 0.06371152400970459, -0.4996243715286255, ...
func (in *Cluster) DeepCopy() *Cluster { if in == nil { return nil } out := new(Cluster) in.DeepCopyInto(out) return out }
[ -0.25202396512031555, 0.3997211158275604, 0.08629641681909561, 1.1580429077148438, -0.2651738226413727, 0.4572402834892273, 0.4662085175514221, 0.44939565658569336, 0.8128021955490112, -0.6255388259887695, -0.2828070819377899, 0.9705671668052673, -0.3753623068332672, -1.106487512588501, ...
func (in *Cluster) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } return nil }
[ -0.2410326451063156, -0.10873707383871078, 0.47567498683929443, 0.5292945504188538, -0.33066242933273315, 0.5845321416854858, 0.7126195430755615, 0.07954143732786179, -0.46778446435928345, -0.38864660263061523, -0.37837767601013184, 0.27000927925109863, -0.1157790869474411, -0.764104604721...
func (in *ClusterConfig) DeepCopyInto(out *ClusterConfig) { *out = *in return }
[ 0.17717570066452026, 0.6664506196975708, 0.3732338845729828, 0.1746092140674591, -1.0212249755859375, 0.4515804052352905, -0.13510818779468536, 1.0023002624511719, -1.3320955038070679, 0.418605774641037, -1.2600311040878296, 1.1921381950378418, 0.000984487938694656, -0.7562846541404724, ...
func (in *ClusterConfig) DeepCopy() *ClusterConfig { if in == nil { return nil } out := new(ClusterConfig) in.DeepCopyInto(out) return out }
[ -0.1385621279478073, 0.757597029209137, 0.15185636281967163, 0.8661965131759644, -0.807159960269928, 0.13728377223014832, 0.052736930549144745, 0.3039698004722595, 0.032913658767938614, 0.7243555784225464, -0.7369577884674072, 1.0900646448135376, -0.44604262709617615, -0.6305707097053528, ...
func (in *ClusterConfigs) DeepCopyInto(out *ClusterConfigs) { *out = *in out.ClusterConfigs = in.ClusterConfigs return }
[ 0.14175289869308472, 0.6936975717544556, 0.5622636675834656, 0.686053454875946, -0.8461698293685913, 0.43338561058044434, -0.19082750380039215, 0.9187857508659363, -1.053971767425537, 0.7436692714691162, -0.6927446722984314, 0.9889020323753357, -0.34429672360420227, -0.9073935747146606, ...
func (in *ClusterConfigs) DeepCopy() *ClusterConfigs { if in == nil { return nil } out := new(ClusterConfigs) in.DeepCopyInto(out) return out }
[ -0.580390989780426, 1.185971975326538, 0.4507797062397003, 1.5734269618988037, -0.5064563155174255, 0.2418885976076126, 0.2663014531135559, -0.11644846946001053, 0.12448844313621521, 1.2756139039993286, -0.3570546507835388, 0.3155870735645294, -1.2689183950424194, -0.8802670836448669, 0....
func (in *ClusterList) DeepCopyInto(out *ClusterList) { *out = *in out.TypeMeta = in.TypeMeta in.ListMeta.DeepCopyInto(&out.ListMeta) if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]Cluster, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } return }
[ -0.48898452520370483, 0.3569170832633972, 0.6899791955947876, 0.5376201272010803, -0.3539680540561676, 0.3204955458641052, 0.10388773679733276, 0.113398477435112, -0.90985107421875, 0.5429398417472839, -0.655842661857605, 0.687782883644104, -0.5543526411056519, -0.647348940372467, -0.307...
func (in *ClusterList) DeepCopy() *ClusterList { if in == nil { return nil } out := new(ClusterList) in.DeepCopyInto(out) return out }
[ -1.0429280996322632, 0.4421217441558838, 0.4696168601512909, 1.602954387664795, -0.1471318155527115, 0.4865165948867798, 0.28490781784057617, -0.6784391403198242, 0.058798640966415405, 0.8645858764648438, -0.5325539708137512, 0.44758304953575134, -0.9584470987319946, -0.44857358932495117, ...
func (in *ClusterList) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } return nil }
[ -0.8375238180160522, 0.08271268755197525, 0.6530789732933044, 0.8621902465820312, -0.25538986921310425, 0.7661665081977844, 0.7908722758293152, -0.4703109562397003, -0.3418164551258087, 0.1533767580986023, -0.5142151713371277, 0.1604834794998169, -0.42776188254356384, -0.5432321429252625, ...
func (in *ClusterSpec) DeepCopyInto(out *ClusterSpec) { *out = *in in.KopsConfig.DeepCopyInto(&out.KopsConfig) return }
[ 0.2563784122467041, 0.36285829544067383, 0.41052353382110596, 0.10892543941736221, -0.6435994505882263, 0.44082966446876526, -0.12901408970355988, 0.23066875338554382, -1.1756788492202759, 0.4634583592414856, -0.2591165006160736, 0.9193168878555298, 0.49429357051849365, -0.9583351612091064...
func (in *ClusterSpec) DeepCopy() *ClusterSpec { if in == nil { return nil } out := new(ClusterSpec) in.DeepCopyInto(out) return out }
[ -0.06645207107067108, 0.5976161360740662, 0.03639649599790573, 0.5708239078521729, -0.3701285719871521, 0.5021224021911621, 0.19679611921310425, -0.4089455008506775, -0.5445109605789185, 0.46038681268692017, -0.1326286494731903, 0.5451910495758057, 0.20104347169399261, -0.8941701054573059,...
func (in *ClusterStatus) DeepCopyInto(out *ClusterStatus) { *out = *in in.KopsStatus.DeepCopyInto(&out.KopsStatus) in.KubeConfig.DeepCopyInto(&out.KubeConfig) return }
[ 0.415706068277359, -0.15042492747306824, 0.3657253384590149, 0.4705020785331726, -0.7734493017196655, 0.41200411319732666, -0.676679790019989, 0.3103841245174408, -0.6091539859771729, -0.20709699392318726, -1.097283959388733, 1.1021403074264526, 0.4060504734516144, -0.6408583521842957, 0...
func (in *ClusterStatus) DeepCopy() *ClusterStatus { if in == nil { return nil } out := new(ClusterStatus) in.DeepCopyInto(out) return out }
[ 0.10405761003494263, 0.3009042739868164, -0.18883521854877472, 0.4549735188484192, -0.4861762821674347, -0.11015450209379196, -0.24146606028079987, -0.3020201623439789, 0.12314038723707199, -0.37854838371276855, -0.749243974685669, 0.4680947959423065, -0.028485508635640144, -0.844765782356...
func (in *ContextConfig) DeepCopyInto(out *ContextConfig) { *out = *in return }
[ 0.6307908296585083, 0.15513764321804047, 0.355854332447052, 0.21643882989883423, -1.0529017448425293, 0.6298619508743286, -0.10683126747608185, 1.3459365367889404, -0.9885016083717346, 0.024356191977858543, -1.3704818487167358, 1.0451288223266602, -0.025529053062200546, -0.7728559374809265...
func (in *ContextConfig) DeepCopy() *ContextConfig { if in == nil { return nil } out := new(ContextConfig) in.DeepCopyInto(out) return out }
[ 0.19107620418071747, 0.35227274894714355, 0.08587467670440674, 1.1215420961380005, -0.4552185535430908, -0.09186287224292755, 0.17517118155956268, 0.6118373274803162, 0.36659932136535645, 0.3047691285610199, -0.8901673555374146, 0.27771177887916565, -0.6976131796836853, -0.8067536354064941...
func (in *ContextConfigs) DeepCopyInto(out *ContextConfigs) { *out = *in out.ContextConfigs = in.ContextConfigs return }
[ 0.604292094707489, 0.13242334127426147, 0.48265188932418823, 0.7916584014892578, -1.0897173881530762, 0.5304828882217407, -0.22387585043907166, 1.1225405931472778, -0.6986743211746216, 0.3188251256942749, -0.8027303218841553, 0.9430117607116699, -0.3160707354545593, -1.021653413772583, -...
func (in *ContextConfigs) DeepCopy() *ContextConfigs { if in == nil { return nil } out := new(ContextConfigs) in.DeepCopyInto(out) return out }
[ -0.3828001022338867, 0.6910753846168518, 0.37025338411331177, 1.910803198814392, -0.2912493646144867, 0.15214000642299652, 0.25390857458114624, 0.009382927790284157, 0.5119625926017761, 0.8906276822090149, -0.4364906847476959, -0.14091376960277557, -1.3420076370239258, -1.0278244018554688,...
func (in *KopsConfig) DeepCopyInto(out *KopsConfig) { *out = *in if in.Zones != nil { in, out := &in.Zones, &out.Zones *out = make([]string, len(*in)) copy(*out, *in) } return }
[ -0.2574053704738617, 0.009748398326337337, 0.6684849858283997, 0.1606854796409607, -1.084702730178833, 0.5157384872436523, -0.14568817615509033, 0.6377722024917603, -0.7566666007041931, 0.6159518361091614, -0.8047181963920593, 0.44508010149002075, -0.024986794218420982, -0.7762834429740906...
func (in *KopsConfig) DeepCopy() *KopsConfig { if in == nil { return nil } out := new(KopsConfig) in.DeepCopyInto(out) return out }
[ -1.11381995677948, 0.42739802598953247, 0.18901532888412476, 0.6649656891822815, -1.3372775316238403, -0.2634580731391907, -0.822410523891449, -0.06361803412437439, -0.21350431442260742, 0.48132413625717163, -0.7481604814529419, -0.9012670516967773, -0.17506085336208344, -0.587431430816650...