text stringlengths 11 6.3k | embedding listlengths 768 768 |
|---|---|
func CmdConfig(ctx *system.Context) {
ctx.ReplyNotify(help)
} | [
1.3766878843307495,
-0.13575708866119385,
0.5069749355316162,
0.0655561164021492,
0.12025658786296844,
0.41079479455947876,
0.10493331402540207,
0.35423609614372253,
-0.18488679826259613,
0.29158690571784973,
-0.0249169934540987,
0.47970443964004517,
0.7477682828903198,
1.2010310888290405,... |
func SetString(ctx *system.Context, gconfig *models.Guild, name, defaultVal string, value *string) {
if ctx.Args.After() != "" {
if ctx.Args.After() == flagDefault {
*value = defaultVal
} else {
*value = ctx.Args.After()
}
err := ctx.System.DB.SaveGuild(ctx.Msg.GuildID, gconfig)
if err != nil {
ctx... | [
-0.1449565440416336,
0.7288256883621216,
0.5217032432556152,
0.188117116689682,
0.3879227638244629,
0.449285089969635,
-0.08927982300519943,
-0.2556353807449341,
-0.7397801876068115,
0.9802359938621521,
-1.134568691253662,
0.3541324734687805,
-1.0392866134643555,
0.7299280762672424,
-0.1... |
func SetStrings(ctx *system.Context, gconfig *models.Guild, name string, defaultVal []string, value *[]string) {
if ctx.Args.After() != "" {
if ctx.Args.After() == flagDefault {
*value = defaultVal
} else {
*value = strings.Split(ctx.Args.After(), ",")
}
err := ctx.System.DB.SaveGuild(ctx.Msg.GuildID, g... | [
-0.4489254057407379,
0.9077869653701782,
0.46453016996383667,
-0.30354005098342896,
0.37119752168655396,
0.06561854481697083,
-0.6480937004089355,
-0.3952963650226593,
-0.6867547631263733,
0.8483278155326843,
-0.955428421497345,
0.5493908524513245,
-1.397634506225586,
0.9810807108879089,
... |
func CmdPrefix(ctx *system.Context) {
gconfig := ctx.Get("gconfig").(*models.Guild)
SetString(ctx, gconfig, "Prefix", "", &gconfig.Prefix)
} | [
0.35217446088790894,
-0.01069185882806778,
0.6671081781387329,
-0.3918722867965698,
1.0201562643051147,
0.31883588433265686,
-0.20428012311458588,
-0.39965543150901794,
0.07125025987625122,
0.9331846833229065,
-0.010805523954331875,
1.2159242630004883,
-0.40017685294151306,
0.9331033825874... |
func CmdAdmins(ctx *system.Context) {
gconfig := ctx.Get("gconfig").(*models.Guild)
SetStrings(ctx, gconfig, "Admins", []string{}, &gconfig.Admins)
} | [
0.10227901488542557,
0.6059421300888062,
0.37679770588874817,
-0.7678104639053345,
0.5284443497657776,
0.3298948109149933,
-0.7510384917259216,
-0.5910623669624329,
-0.02381582371890545,
0.880267858505249,
-0.5211154818534851,
1.9418715238571167,
-0.5131871104240417,
0.9668301939964294,
... |
func Auth(fn func(ctx *system.Context)) func(ctx *system.Context) {
return func(ctx *system.Context) {
gconfig, err := ctx.System.DB.CreateGuildIfNotExists(ctx.Msg.GuildID)
if err != nil {
ctx.ReplyError("Error getting guild configuration: ", err)
return
}
isAdmin, err := ctx.IsAdmin()
if err != nil {... | [
-0.04018695279955864,
0.8039705157279968,
0.6833003759384155,
0.19807758927345276,
0.2941654622554779,
0.23261131346225739,
0.8462522029876709,
-0.7181084156036377,
0.2675040364265442,
0.31443727016448975,
0.25889086723327637,
1.0090824365615845,
0.5442990660667419,
0.7085497975349426,
0... |
func OpenDB(dbPath string, readOnly bool) (dbName string, code int, err error) {
// Check if db was opened
if _, ok := allDB[dbPath]; ok {
return "", http.StatusBadRequest, errors.New("This DB was already opened")
}
newDB, err := db.Open(dbPath, db.Options{ReadOnly: readOnly})
if err != nil {
return "", http.... | [
-1.2605254650115967,
0.3538660407066345,
0.7848542928695679,
0.22456511855125427,
-0.6777552962303162,
0.10130700469017029,
0.06219446659088135,
0.6499068737030029,
1.239871859550476,
0.4483579099178314,
0.4572869539260864,
0.1567855328321457,
-0.6643535494804382,
1.1601355075836182,
0.8... |
func CreateDB(path string) (dbName, dbPath string, code int, err error) {
newDB, err := db.Create(path)
if err != nil {
return "", "", http.StatusInternalServerError, err
}
allDB[newDB.DBPath] = newDB
log.Infof("DB \"%s\" (%s) was created\n", dbName, dbPath)
return newDB.Name, newDB.DBPath, http.StatusCreated... | [
-0.12325967103242874,
-0.13186176121234894,
0.8084313869476318,
1.060534954071045,
0.26426589488983154,
0.5892382860183716,
0.2207862138748169,
0.309704065322876,
0.3111855387687683,
-0.17153801023960114,
-0.34863972663879395,
-0.6198805570602417,
-0.17404288053512573,
1.0464223623275757,
... |
func CloseDB(dbPath string) (code int, err error) {
if _, ok := allDB[dbPath]; !ok {
return http.StatusBadRequest, errors.New("There's no any db with such path (" + dbPath + ")")
}
dbName := allDB[dbPath].Name
allDB[dbPath].Close()
delete(allDB, dbPath)
log.Infof("DB \"%s\" (%s) was closed\n", dbName, dbPath)... | [
-0.5955817699432373,
-0.06521951407194138,
0.783645510673523,
0.7874089479446411,
-0.29182979464530945,
0.008312785997986794,
0.20761652290821075,
0.26594942808151245,
1.214081883430481,
0.2828313410282135,
0.6565078496932983,
-0.27016907930374146,
-0.7900562286376953,
1.0841834545135498,
... |
func NextBucket(dbPath, bucket string) (data db.Data, code int, err error) {
if _, ok := allDB[dbPath]; !ok {
return data, http.StatusBadRequest, errors.New("There's no any db with such path (" + dbPath + ")")
}
data, err = allDB[dbPath].Next(bucket)
if err != nil {
return data, http.StatusInternalServerError,... | [
-0.5753375291824341,
0.5051133036613464,
0.6159258484840393,
0.34100404381752014,
-0.4121527373790741,
-0.05756282061338425,
0.1719515025615692,
-0.8662979602813721,
-0.2427990883588791,
-0.6338734030723572,
0.15540531277656555,
0.5284445881843567,
-0.19294889271259308,
0.799500048160553,
... |
func PrevBucket(dbPath string) (data db.Data, code int, err error) {
if _, ok := allDB[dbPath]; !ok {
return data, http.StatusBadRequest, errors.New("There's no any db with such path (" + dbPath + ")")
}
data, err = allDB[dbPath].Back()
if err != nil {
return data, http.StatusInternalServerError, err
}
retu... | [
-0.1961299031972885,
0.4166955351829529,
0.9855978488922119,
-0.24705198407173157,
-0.07599073648452759,
-0.21109254658222198,
0.5979470014572144,
-0.694760799407959,
-0.20941062271595,
0.1964561939239502,
-0.022210730239748955,
-0.019687792286276817,
-0.5818811058998108,
0.428374469280242... |
func GetRoot(dbPath string) (data db.Data, code int, err error) {
if _, ok := allDB[dbPath]; !ok {
return data, http.StatusBadRequest, errors.New("There's no any db with such path (" + dbPath + ")")
}
data, err = allDB[dbPath].GetRoot()
if err != nil {
return data, http.StatusInternalServerError, err
}
retu... | [
-0.16220100224018097,
0.4374794065952301,
0.7547856569290161,
0.7620135545730591,
-0.08840177953243256,
0.03896629437804222,
-0.18662822246551514,
-0.5069202780723572,
0.7102673649787903,
0.32015371322631836,
-0.17330758273601532,
1.1416676044464111,
-0.806533694267273,
0.9187376499176025,... |
func GetDBsList() (list []DBInfo) {
for _, v := range allDB {
info := DBInfo{Name: v.Name, DBPath: v.DBPath, Size: v.Size}
list = append(list, info)
}
return list
} | [
-0.03285698592662811,
0.10828008502721786,
0.488210529088974,
-0.2953680157661438,
0.3825640082359314,
0.3604627251625061,
-0.8220751881599426,
0.00008836966298986226,
0.2589813470840454,
-0.41007161140441895,
-1.1039092540740967,
-0.1792294830083847,
-0.326427161693573,
1.065535545349121,... |
func GetCurrent(dbPath string) (info DBInfo, data db.Data, code int, err error) {
if _, ok := allDB[dbPath]; !ok {
return info, data, http.StatusBadRequest, errors.New("There's no any db with such path (" + dbPath + ")")
}
info.DBPath = dbPath
info.Name = allDB[dbPath].Name
info.Size = allDB[dbPath].Size
info.... | [
-0.7654619812965393,
-0.4474242925643921,
0.6380068063735962,
0.004677658434957266,
-0.32579147815704346,
0.17103931307792664,
0.2187015861272812,
-0.03577201068401337,
-0.24866732954978943,
0.4016036093235016,
-0.3498412072658539,
0.32373934984207153,
-0.38913068175315857,
0.6160966157913... |
func GetNextRecords(dbPath string) (data db.Data, code int, err error) {
if _, ok := allDB[dbPath]; !ok {
return data, http.StatusBadRequest, errors.New("There's no any db with such path (" + dbPath + ")")
}
data, err = allDB[dbPath].NextRecords()
if err != nil {
return data, http.StatusInternalServerError, er... | [
-0.7500975728034973,
0.8094521760940552,
0.7680137157440186,
0.3408690392971039,
-0.11718713492155075,
0.042838264256715775,
-0.25660598278045654,
-0.27500227093696594,
0.29806721210479736,
0.3072614073753357,
-0.39387187361717224,
0.35343438386917114,
-1.3121296167373657,
1.09155428409576... |
func GetPrevRecrods(dbPath string) (data db.Data, code int, err error) {
if _, ok := allDB[dbPath]; !ok {
return data, http.StatusBadRequest, errors.New("There's no any db with such path (" + dbPath + ")")
}
data, err = allDB[dbPath].PrevRecords()
if err != nil {
return data, http.StatusInternalServerError, er... | [
-0.2625834047794342,
0.9546657800674438,
0.9604523181915283,
-0.2961537539958954,
0.1966690719127655,
-0.5106742978096008,
0.22861872613430023,
-0.4197545647621155,
0.4462953209877014,
0.9267064332962036,
-0.47973984479904175,
0.6421047449111938,
-1.1436794996261597,
0.6065500974655151,
... |
func Search(dbPath, mode, text string) (records []db.Record, path string, recordsAmount int, code int, err error) {
if _, ok := allDB[dbPath]; !ok {
return records, "", 0, http.StatusBadRequest, errors.New("There's no any db with such path (" + dbPath + ")")
}
if mode == "regex" {
records, path, recordsAmount, ... | [
-0.27050358057022095,
0.1079496517777443,
0.7204980254173279,
0.10779283195734024,
0.04136498272418976,
-0.02214765176177025,
-0.04598283767700195,
0.6879200339317322,
-0.18496853113174438,
0.5598642230033875,
-0.247321218252182,
-0.4789253771305084,
-1.1638752222061157,
0.5017822980880737... |
func AddBucket(dbPath, bucketName string) (code int, err error) {
if _, ok := allDB[dbPath]; !ok {
return http.StatusBadRequest, errors.New("There's no any db with such path (" + dbPath + ")")
}
err = allDB[dbPath].AddBucket(bucketName)
if err != nil {
if err == db.ErrNeedWriteMode {
return http.StatusForbi... | [
-0.7776042819023132,
0.7375613451004028,
1.0491832494735718,
0.7131465673446655,
0.4319496750831604,
0.15411922335624695,
0.3927149772644043,
-0.10973569750785828,
-0.04536965861916542,
-0.4964166283607483,
0.386404424905777,
-0.13216525316238403,
-0.5806035995483398,
0.5811511278152466,
... |
func EditBucketName(dbPath, oldName, newName string) (code int, err error) {
if _, ok := allDB[dbPath]; !ok {
return http.StatusBadRequest, errors.New("There's no any db with such path (" + dbPath + ")")
}
err = allDB[dbPath].EditBucketName(oldName, newName)
if err != nil {
if err == db.ErrNeedWriteMode {
r... | [
-0.9640820026397705,
-0.24087445437908173,
0.9765318036079407,
-0.2214464247226715,
-0.009798841550946236,
-0.43814805150032043,
0.43111899495124817,
-0.1355580985546112,
-0.5536034107208252,
1.0456068515777588,
-0.6818054914474487,
0.15303359925746918,
0.05709851533174515,
0.1147522255778... |
func DeleteBucket(dbPath, bucketName string) (code int, err error) {
if _, ok := allDB[dbPath]; !ok {
return http.StatusBadRequest, errors.New("There's no any db with such path (" + dbPath + ")")
}
err = allDB[dbPath].DeleteBucket(bucketName)
if err != nil {
if err == db.ErrNeedWriteMode {
return http.Statu... | [
-0.4582281708717346,
0.486049085855484,
0.9391047358512878,
0.2940674424171448,
0.3384811282157898,
-0.21325872838497162,
0.7537310719490051,
-0.11402622610330582,
0.1297696828842163,
-0.14800164103507996,
0.35186630487442017,
0.39678478240966797,
-0.5822370052337646,
0.6654035449028015,
... |
func AddRecord(dbPath, key, value string) (code int, err error) {
if _, ok := allDB[dbPath]; !ok {
return http.StatusBadRequest, errors.New("There's no any db with such path (" + dbPath + ")")
}
err = allDB[dbPath].AddRecord(key, value)
if err != nil {
if err == db.ErrNeedWriteMode {
return http.StatusForbi... | [
-0.2518126666545868,
0.6140886545181274,
0.9775466918945312,
0.4003596901893616,
-0.11733546108007431,
0.7722576260566711,
-0.17833489179611206,
0.3388529121875763,
-0.14101125299930573,
-0.0988936498761177,
0.36311787366867065,
-0.28503015637397766,
-0.9073926210403442,
1.0099388360977173... |
func EditRecord(dbPath, oldKey, newKey, newValue string) (code int, err error) {
if _, ok := allDB[dbPath]; !ok {
return http.StatusBadRequest, errors.New("There's no any db with such path (" + dbPath + ")")
}
err = allDB[dbPath].EditRecord(oldKey, newKey, newValue)
if err != nil {
if err == db.ErrNeedWriteMod... | [
-0.410001665353775,
0.1420939713716507,
0.7450685501098633,
-0.08544372022151947,
-0.22728250920772552,
-0.07494739443063736,
0.3942149877548218,
0.6505627632141113,
-0.46296748518943787,
0.9640785455703735,
0.1289195716381073,
0.3346101641654968,
-0.9100263118743896,
0.7888215780258179,
... |
func DeleteRecord(dbPath, key string) (code int, err error) {
if _, ok := allDB[dbPath]; !ok {
return http.StatusBadRequest, errors.New("There's no any db with such path (" + dbPath + ")")
}
err = allDB[dbPath].DeleteRecord(key)
if err != nil {
if err == db.ErrNeedWriteMode {
return http.StatusForbidden, er... | [
-0.11757007241249084,
0.4429636001586914,
0.8914316892623901,
0.2408646196126938,
-0.32384636998176575,
0.10567092895507812,
-0.038091447204351425,
0.34573954343795776,
-0.009017078205943108,
0.5229271650314331,
-0.08012892305850983,
0.04071861505508423,
-0.9402600526809692,
1.166469693183... |
func CloseDBs() {
for k := range allDB {
allDB[k].Close()
delete(allDB, k)
}
log.Infoln("All databases were closed")
} | [
0.2539001703262329,
0.043195147067308426,
0.4109773337841034,
0.3787502646446228,
-0.3070858418941498,
1.60061514377594,
-0.15840090811252594,
0.16397300362586975,
0.4327217638492584,
-0.045505866408348083,
0.35924413800239563,
0.7458646893501282,
-0.599341869354248,
1.7797483205795288,
... |
func main() {
var haystack = "a"
var needle = "a"
fmt.Println(strStr(haystack, needle))
} | [
0.6119756102561951,
-0.9328691363334656,
0.45838335156440735,
-0.3539792597293854,
-0.009843452833592892,
-0.2615843415260315,
0.12615351378917694,
-0.25770097970962524,
-0.20240284502506256,
-0.16128824651241302,
0.35728055238723755,
1.520108699798584,
-0.04257674142718315,
-0.05104012414... |
func ParseString(s string, options ...ParseOption) (Token, error) {
return parseBytes([]byte(s), options...)
} | [
0.3563610017299652,
-0.27570733428001404,
0.1706184595823288,
0.0981612578034401,
-0.5565707683563232,
-0.7487834692001343,
-0.06310369819402695,
0.022931305691599846,
0.30877116322517395,
-0.6979340314865112,
-0.7444818615913391,
0.32161641120910645,
-0.17068266868591309,
-0.8792500495910... |
func Parse(s []byte, options ...ParseOption) (Token, error) {
return parseBytes(s, options...)
} | [
0.43536514043807983,
-0.008360261097550392,
0.20846927165985107,
0.757752537727356,
-0.6969926953315735,
-1.0584485530853271,
-0.29362237453460693,
-0.020719043910503387,
0.741062343120575,
-1.1359062194824219,
-0.7382921576499939,
0.3091058135032654,
-0.432969868183136,
-0.463580906391143... |
func ParseReader(src io.Reader, options ...ParseOption) (Token, error) {
// We're going to need the raw bytes regardless. Read it.
data, err := ioutil.ReadAll(src)
if err != nil {
return nil, errors.Wrap(err, `failed to read from token data source`)
}
return parseBytes(data, options...)
} | [
-0.011058620177209377,
0.05917055532336235,
0.3125320076942444,
-0.7546551823616028,
-1.2241328954696655,
-0.5256441831588745,
-0.3222936689853668,
0.02716674841940403,
0.7197532653808594,
-0.8722498416900635,
-0.09602957218885422,
0.3065999448299408,
0.5524974465370178,
-0.211592316627502... |
func parse(token Token, data []byte, verify bool, alg jwa.SignatureAlgorithm, key interface{}, validate bool, options ...ParseOption) (Token, error) {
var payload []byte
if verify {
// If verify is true, the data MUST be a valid jws message
v, err := jws.Verify(data, alg, key)
if err != nil {
return nil, err... | [
0.8461199998855591,
0.21839766204357147,
0.720184862613678,
0.3370770215988159,
-0.8458120226860046,
-0.6309120655059814,
-0.3964080512523651,
-0.5497444868087769,
0.3390149176120758,
-0.27976441383361816,
0.26119059324264526,
0.3354778587818146,
-0.15017715096473694,
0.2191341370344162,
... |
func Sign(t Token, alg jwa.SignatureAlgorithm, key interface{}, options ...Option) ([]byte, error) {
var hdr jws.Headers
for _, o := range options {
switch o.Ident() {
case identHeaders{}:
hdr = o.Value().(jws.Headers)
}
}
buf, err := json.Marshal(t)
if err != nil {
return nil, errors.Wrap(err, `failed... | [
-0.5967808365821838,
0.07151641696691513,
0.754851758480072,
-0.4376579821109772,
-0.9239861965179443,
-0.154693603515625,
-1.1273773908615112,
-1.2726505994796753,
-0.0610184483230114,
1.123751163482666,
-0.36876189708709717,
-0.08349695056676865,
0.604502260684967,
0.2151368260383606,
... |
func Equal(t1, t2 Token) bool {
ctx, cancel := context.WithCancel(context.Background())
defer cancel()
if t1 == nil && t2 == nil {
return true
}
// we already checked for t1 == t2 == nil, so safe to do this
if t1 == nil || t2 == nil {
return false
}
m1, err := t1.AsMap(ctx)
if err != nil {
return fals... | [
-0.5207506418228149,
-0.07463113963603973,
0.8541421294212341,
-0.5264694690704346,
-0.2112719565629959,
-0.20333705842494965,
-0.7168014645576477,
-0.16503116488456726,
-1.1509387493133545,
1.5178630352020264,
-0.7690830826759338,
0.22390682995319366,
-0.3710588812828064,
0.58647251129150... |
func NewSupervisor(ff FixtureFactory) *Supervisor {
return &Supervisor{
fixtureFactory: ff,
fixtures: map[string]*Runner{},
}
} | [
-0.0033499551936984062,
-0.19177669286727905,
0.018132712692022324,
0.12402110546827316,
-1.4039535522460938,
-0.7875406742095947,
0.3728645443916321,
0.184107705950737,
0.6511552333831787,
-0.7038849592208862,
-1.2573127746582031,
0.03330439701676369,
-0.18121516704559326,
1.0338712930679... |
func (pfs *Supervisor) NewRunner(t *testing.T, m Matrix) *Runner {
if Flags.PrintMatrix {
matrix := m.scenarios()
for _, m := range matrix {
fmt.Printf("%s/%s\n", t.Name(), m)
}
t.Skip("Just printing test matrix (-ls-matrix flag set)")
}
t.Helper()
t.Parallel()
pf := &Runner{
t: t,
ma... | [
0.41104429960250854,
0.010694296099245548,
0.38323450088500977,
-0.008510656654834747,
-0.8949733972549438,
0.13934510946273804,
0.4954206049442291,
0.13662557303905487,
-0.3451152443885803,
0.03494468331336975,
-0.03797169402241707,
0.18623869121074677,
-0.4361168146133423,
-0.04153759405... |
func (pfs *Supervisor) TestCount() int {
pfs.mu.Lock()
defer pfs.mu.Unlock()
return len(pfs.fixtures)
} | [
0.73163902759552,
0.667869508266449,
0.37708789110183716,
-0.47892290353775024,
0.27694109082221985,
-0.3554956316947937,
0.9377063512802124,
0.46690478920936584,
-0.21094563603401184,
-1.0528473854064941,
0.05533752217888832,
-0.19588357210159302,
-1.0080513954162598,
0.26238173246383667,... |
func (pfs *Supervisor) PrintSummary() {
//pfs.wg.Wait()
pfs.mu.Lock()
defer pfs.mu.Unlock()
var total, passed, skipped, failed, missing []string
for _, pf := range pfs.fixtures {
t, p, s, f, m := pf.printSummary()
total = append(total, t...)
passed = append(passed, p...)
skipped = append(skipped, s...)
f... | [
0.014183633029460907,
0.17944137752056122,
1.0598357915878296,
-0.24692079424858093,
0.29267287254333496,
0.2571132183074951,
0.7435440421104431,
0.13524585962295532,
-0.33757948875427246,
-0.010750497691333294,
0.31748783588409424,
0.4638579487800598,
-0.0004552935715764761,
0.65881109237... |
func NewView(name string) *View {
v := new(View)
v.name = name
return v
} | [
0.40468335151672363,
-0.5837499499320984,
0.08100396394729614,
0.0564330592751503,
-1.7970865964889526,
-0.523131251335144,
-0.5522581338882446,
0.028163347393274307,
0.081436388194561,
-1.2189966440200806,
-0.6635398864746094,
0.3942616581916809,
-0.12341073155403137,
-0.4750308394432068,... |
func (v *View) IsSymbolTable() bool {
return true
} | [
0.03318386524915695,
0.19936659932136536,
0.4970730245113373,
0.42594125866889954,
-0.314700186252594,
-0.17887692153453827,
1.1973158121109009,
0.04819606617093086,
0.5032961964607239,
-0.48485586047172546,
-0.8591300845146179,
0.37525275349617004,
-0.37938785552978516,
0.4955744445323944... |
func (v *View) Format(f format.Formatter) {
f.WriteString(0, "VIEW")
f.WriteHex(5, v.handle)
if v.owner != nil {
f.WriteHex(330, v.owner.Handle())
}
f.WriteString(100, "AcDbSymbolTableRecord")
f.WriteString(100, "AcDbViewTableRecord")
f.WriteString(2, v.name)
} | [
0.06991894543170929,
0.02423645555973053,
0.3722635507583618,
-0.638918399810791,
-0.2206134796142578,
-0.019670305773615837,
0.291280061006546,
-0.31916409730911255,
0.29571545124053955,
-1.0442360639572144,
0.8415219783782959,
0.34715232253074646,
0.8120492100715637,
1.2363674640655518,
... |
func (v *View) String() string {
f := format.NewASCII()
return v.FormatString(f)
} | [
0.5590858459472656,
-0.9825687408447266,
-0.1237286701798439,
-0.646246612071991,
-0.4143986701965332,
0.05795155465602875,
0.3522571623325348,
-1.1213295459747314,
0.1185351237654686,
-0.8274377584457397,
0.3426533341407776,
0.8142142295837402,
0.1441386640071869,
-0.24022513628005981,
... |
func (v *View) FormatString(f format.Formatter) string {
v.Format(f)
return f.Output()
} | [
-0.5765842199325562,
-0.48453038930892944,
0.37010428309440613,
0.23662017285823822,
-0.8001302480697632,
-0.18703271448612213,
0.6823540925979614,
-1.014303207397461,
0.20687779784202576,
-1.157566785812378,
1.535264492034912,
-0.2694126069545746,
0.9884006977081299,
0.5607819557189941,
... |
func (v *View) Handle() int {
return v.handle
} | [
-0.25222304463386536,
0.6647763252258301,
0.6899607181549072,
0.2604452669620514,
0.3067648112773895,
0.426725834608078,
1.445186734199524,
-0.13415148854255676,
0.26933425664901733,
-2.279096841812134,
0.18613456189632416,
0.06857109814882278,
-0.6444904208183289,
-0.24629093706607819,
... |
func (v *View) SetHandle(h *int) {
v.handle = *h
(*h)++
} | [
0.02222650870680809,
0.8751353621482849,
0.2714661657810211,
0.22972948849201202,
0.41287761926651,
0.267659991979599,
0.8664830923080444,
-0.18615096807479858,
-0.24424144625663757,
-1.6465306282043457,
-0.40495210886001587,
0.07332494109869003,
-0.3231646716594696,
0.059313006699085236,
... |
func (v *View) SetOwner(h handle.Handler) {
v.owner = h
} | [
0.24046413600444794,
0.10947099328041077,
0.21372152864933014,
1.7536805868148804,
-0.46017980575561523,
0.7640690207481384,
1.6086727380752563,
0.009239871054887772,
0.11666180193424225,
-1.3773646354675293,
-0.7475317120552063,
0.05801241844892502,
0.6100375056266785,
0.8326895236968994,... |
func (v *View) Name() string {
return v.name
} | [
-0.4506944417953491,
-0.6898344159126282,
0.0862472802400589,
0.033011436462402344,
-1.5708690881729126,
-0.14793971180915833,
0.2600158751010895,
-0.35942068696022034,
0.2179330736398697,
-0.2734799087047577,
-0.1959778070449829,
0.12401342391967773,
0.4300220310688019,
0.0487271398305892... |
func init() {
builtin[Key{0, 1}] = InformationElementEntry{FieldID: 1, Name: "octetDeltaCount", Type: FieldTypes["unsigned64"]}
builtin[Key{0, 2}] = InformationElementEntry{FieldID: 2, Name: "packetDeltaCount", Type: FieldTypes["unsigned64"]}
builtin[Key{0, 3}] = InformationElementEntry{FieldID: 3, Name: "deltaFlowC... | [
-0.22056850790977478,
0.3248043954372406,
0.6650264263153076,
-0.7032915949821472,
0.7675596475601196,
0.5728910565376282,
0.47534865140914917,
0.0193953737616539,
-0.2178380936384201,
-0.027811648324131966,
-1.113999366760254,
0.11743246018886566,
0.08484558016061783,
-0.19024641811847687... |
func GenerateBucketPolicyInstance(in v1alpha1.BucketPolicyParameters, sp *storage.Policy) {
sp.Bindings = make([]*storage.PolicyBindings, len(in.Policy.Bindings))
for i, v := range in.Policy.Bindings {
sp.Bindings[i] = &storage.PolicyBindings{}
if v.Condition != nil {
sp.Bindings[i].Condition = &storage.Expr{
... | [
-0.7585082054138184,
-0.6842333078384399,
0.38071948289871216,
-0.979486346244812,
-0.45683544874191284,
1.5843777656555176,
-0.6373552680015564,
0.8013830780982971,
-0.2529652416706085,
0.26157495379447937,
-1.1227478981018066,
0.26193562150001526,
-0.20406405627727509,
0.0580194145441055... |
func IsUpToDate(in *v1alpha1.BucketPolicyParameters, observed *storage.Policy) (bool, error) {
generated, err := copystructure.Copy(observed)
if err != nil {
return true, errors.Wrap(err, errCheckUpToDate)
}
desired, ok := generated.(*storage.Policy)
if !ok {
return true, errors.New(errCheckUpToDate)
}
Gener... | [
-0.6815046668052673,
-0.1134660467505455,
0.7643671631813049,
0.2017466276884079,
0.34395650029182434,
0.6673014760017395,
-0.48598575592041016,
-0.5612388849258423,
-0.012768063694238663,
1.0303024053573608,
-0.28037700057029724,
0.6669487357139587,
-0.3239147365093231,
-0.286247760057449... |
func ArePoliciesSame(p1, p2 *storage.Policy) bool {
return cmp.Equal(p1, p2, cmpopts.EquateEmpty(),
cmpopts.IgnoreFields(storage.Policy{}, "Version"),
cmpopts.SortSlices(func(i, j *storage.PolicyBindings) bool { return i.Role > j.Role }),
cmpopts.SortSlices(func(i, j string) bool { return i > j }))
} | [
-0.3231850862503052,
-0.9685443639755249,
0.4947406053543091,
0.2465210109949112,
0.30467692017555237,
1.1845582723617554,
-0.46068665385246277,
-1.0131762027740479,
0.5422797799110413,
1.4743773937225342,
-0.5726229548454285,
0.34019312262535095,
-0.7505122423171997,
-0.3993721008300781,
... |
func IsEmpty(in *storage.Policy) bool {
return in.Bindings == nil
} | [
-1.1859228610992432,
-0.10340362042188644,
0.41273432970046997,
0.3703664541244507,
0.6400663256645203,
0.7844414710998535,
-0.32359981536865234,
0.33232176303863525,
0.8682752251625061,
0.2235022783279419,
-0.5152575373649597,
0.13958340883255005,
-0.4324379563331604,
0.06409576535224915,... |
func BindRoleToMember(in v1alpha1.BucketPolicyMemberParameters, sp *storage.Policy) bool {
sp.Version = iamv1alpha1.PolicyVersion
for _, b := range sp.Bindings {
if b.Role == in.Role {
for _, m := range b.Members {
if m == gcp.StringValue(in.Member) {
// role already bound to member, no change
retu... | [
-0.24978657066822052,
-1.1661770343780518,
0.8194337487220764,
-0.7036766409873962,
0.1808062344789505,
0.6041526198387146,
-0.26165780425071716,
-0.4950239956378937,
0.15036822855472565,
0.6228824853897095,
-0.33267897367477417,
0.08851978927850723,
-0.8105831742286682,
0.2457771003246307... |
func UnbindRoleFromMember(in v1alpha1.BucketPolicyMemberParameters, sp *storage.Policy) bool {
for _, b := range sp.Bindings {
if b.Role == in.Role {
ix := -1
for i, m := range b.Members {
if m == gcp.StringValue(in.Member) {
// found member binding in role
ix = i
break
}
}
if ix >... | [
0.3248339593410492,
-0.7327925562858582,
0.8232499361038208,
-0.307470440864563,
-0.8491216897964478,
0.5240010619163513,
0.43281811475753784,
0.0061092558316886425,
-0.7392431497573853,
0.5245375037193298,
-0.04320279508829117,
-0.10089468955993652,
-1.7751761674880981,
-0.131905481219291... |
func (o *CheckDeletionStatusReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) {
switch response.Code() {
case 200:
result := NewCheckDeletionStatusOK()
if err := result.readResponse(response, consumer, o.formats); err != nil {
return nil, err
}
return res... | [
0.39965614676475525,
-0.8790980577468872,
0.7787948250770569,
0.58722984790802,
0.22447265684604645,
-0.9970952868461609,
-0.024612316861748695,
-0.06425990909337997,
0.5662114024162292,
0.06074189022183418,
0.743471622467041,
-0.48270943760871887,
-0.6501220464706421,
0.11812693625688553,... |
func NewCheckDeletionStatusOK() *CheckDeletionStatusOK {
return &CheckDeletionStatusOK{}
} | [
0.4448543190956116,
0.24527524411678314,
0.06742334365844727,
1.5560165643692017,
0.00035851143184117973,
0.041110605001449585,
0.7929507493972778,
0.554450273513794,
-0.5009284615516663,
0.1438623070716858,
-0.4813676178455353,
0.38301536440849304,
1.1835589408874512,
0.4602091908454895,
... |
func NewCheckDeletionStatusBadRequest() *CheckDeletionStatusBadRequest {
return &CheckDeletionStatusBadRequest{}
} | [
0.10616958141326904,
0.1543044000864029,
0.2858388125896454,
1.4638869762420654,
0.03206967934966087,
0.1722627878189087,
-0.24729004502296448,
1.0643686056137085,
-0.45036277174949646,
0.36919400095939636,
0.14752011001110077,
0.9827567934989929,
0.47918954491615295,
1.083459734916687,
... |
func NewCheckDeletionStatusUnauthorized() *CheckDeletionStatusUnauthorized {
return &CheckDeletionStatusUnauthorized{}
} | [
0.2821764051914215,
-0.2780434787273407,
0.5555804967880249,
1.0861111879348755,
-0.2729698121547699,
0.03447006642818451,
0.24579167366027832,
0.8598938584327698,
-0.2610182762145996,
-0.4540973901748657,
-0.026284467428922653,
1.3416156768798828,
0.735464870929718,
0.14422771334648132,
... |
func NewCheckDeletionStatusNotFound() *CheckDeletionStatusNotFound {
return &CheckDeletionStatusNotFound{}
} | [
1.1637380123138428,
-0.6365302801132202,
0.05084851384162903,
0.5516284704208374,
0.21363036334514618,
0.6254761815071106,
0.6624490022659302,
0.5575534105300903,
-0.36824262142181396,
0.38969606161117554,
-0.32276254892349243,
0.7550155520439148,
0.7727367281913757,
0.6816961169242859,
... |
func NewCheckDeletionStatusRequestURITooLong() *CheckDeletionStatusRequestURITooLong {
return &CheckDeletionStatusRequestURITooLong{}
} | [
0.004123456310480833,
0.1035933569073677,
0.42479005455970764,
1.2054188251495361,
0.30580228567123413,
0.12810319662094116,
-0.8232641816139221,
0.24874961376190186,
0.05440439283847809,
-0.3990176320075989,
0.608309268951416,
0.5860551595687866,
0.8408548831939697,
0.2333289086818695,
... |
func (o *CheckDeletionStatusOKBody) Validate(formats strfmt.Registry) error {
var res []error
if err := o.validateStatus(formats); err != nil {
res = append(res, err)
}
if len(res) > 0 {
return errors.CompositeValidationError(res...)
}
return nil
} | [
0.7174299359321594,
0.5193875432014465,
0.3452592194080353,
0.7319717407226562,
0.46119001507759094,
-0.3121805489063263,
0.28353092074394226,
0.2464725226163864,
-0.25792911648750305,
0.6779166460037231,
0.5979263186454773,
0.01620190590620041,
-0.14703726768493652,
1.14543879032135,
-0... |
func (in *AuthConfig) DeepCopyInto(out *AuthConfig) {
*out = *in
if in.Idp != nil {
in, out := &in.Idp, &out.Idp
*out = new(string)
**out = **in
}
} | [
0.3045879006385803,
0.2938789427280426,
0.5697436332702637,
-0.374906063079834,
-1.4140822887420654,
0.8177158832550049,
-0.4895777106285095,
0.7945613265037537,
-0.41324809193611145,
0.16583003103733063,
-0.9183763265609741,
1.3463722467422485,
0.00015193795843515545,
-0.5208683013916016,... |
func (in *AuthConfig) DeepCopy() *AuthConfig {
if in == nil {
return nil
}
out := new(AuthConfig)
in.DeepCopyInto(out)
return out
} | [
-0.21062083542346954,
0.45063847303390503,
0.06904231011867523,
0.9695862531661987,
-1.0881599187850952,
0.17647264897823334,
0.3134811520576477,
0.22400908172130585,
0.0999884158372879,
-0.07606114447116852,
-0.8119423985481262,
0.8243526816368103,
-0.027991196140646935,
0.263991534709930... |
func (in *AutomaticApprovalConfig) DeepCopyInto(out *AutomaticApprovalConfig) {
*out = *in
if in.Enabled != nil {
in, out := &in.Enabled, &out.Enabled
*out = new(bool)
**out = **in
}
} | [
0.7236286401748657,
0.32268795371055603,
0.5060724020004272,
-0.1200677677989006,
-1.3049250841140747,
0.5133017897605896,
-0.8029921054840088,
1.7021150588989258,
-1.300832986831665,
0.955341637134552,
-0.5346696376800537,
1.8322062492370605,
-0.2916911244392395,
0.11691345274448395,
0.... |
func (in *AutomaticApprovalConfig) DeepCopy() *AutomaticApprovalConfig {
if in == nil {
return nil
}
out := new(AutomaticApprovalConfig)
in.DeepCopyInto(out)
return out
} | [
-0.0842386931180954,
-0.08251649886369705,
0.1993122696876526,
0.5001964569091797,
-1.1610209941864014,
0.48605990409851074,
-0.689153790473938,
1.121034860610962,
-0.33236655592918396,
1.1447601318359375,
-0.26194360852241516,
1.3251498937606812,
-0.08093197643756866,
0.5696122050285339,
... |
func (in *AutoscalerConfig) DeepCopyInto(out *AutoscalerConfig) {
*out = *in
if in.Deploy != nil {
in, out := &in.Deploy, &out.Deploy
*out = new(bool)
**out = **in
}
if in.BufferMemory != nil {
in, out := &in.BufferMemory, &out.BufferMemory
*out = new(string)
**out = **in
}
if in.BufferReplicas != nil... | [
0.22990261018276215,
-0.026773735880851746,
0.4264160096645355,
-0.6770272850990295,
-0.5292965769767761,
-0.15110480785369873,
-0.23705460131168365,
0.4364520013332367,
-1.4857841730117798,
0.24659334123134613,
-1.2496826648712158,
1.2347866296768188,
-0.12303534150123596,
0.3366791307926... |
func (in *AutoscalerConfig) DeepCopy() *AutoscalerConfig {
if in == nil {
return nil
}
out := new(AutoscalerConfig)
in.DeepCopyInto(out)
return out
} | [
-0.5660249590873718,
-0.0911901518702507,
-0.10976389050483704,
0.2162698656320572,
-0.23655568063259125,
-0.09416896849870682,
-0.17850834131240845,
0.526499330997467,
-0.9114179015159607,
0.3157085180282593,
-1.5966438055038452,
0.5920053124427795,
-0.05626906827092171,
0.381031334400177... |
func (in *BannedUser) DeepCopyInto(out *BannedUser) {
*out = *in
out.TypeMeta = in.TypeMeta
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
out.Spec = in.Spec
} | [
1.1447306871414185,
-0.10418537259101868,
0.6175174117088318,
1.128732681274414,
-1.0863419771194458,
1.1688426733016968,
0.5880377292633057,
0.3074840307235718,
-1.3554356098175049,
-0.39521488547325134,
-0.3397134244441986,
1.695518970489502,
-0.2822548449039459,
-0.9717549085617065,
0... |
func (in *BannedUser) DeepCopy() *BannedUser {
if in == nil {
return nil
}
out := new(BannedUser)
in.DeepCopyInto(out)
return out
} | [
0.42357659339904785,
0.2732384204864502,
0.31758058071136475,
2.5356335639953613,
-1.017317771911621,
0.9600160121917725,
0.7483802437782288,
-0.06919962167739868,
-0.1804945319890976,
-0.5628589391708374,
-0.152093306183815,
0.6549984812736511,
-1.6455327272415161,
-1.1694238185882568,
... |
func (in *BannedUser) DeepCopyObject() runtime.Object {
if c := in.DeepCopy(); c != nil {
return c
}
return nil
} | [
0.4335947036743164,
-0.008988812565803528,
0.6663839221000671,
1.4137107133865356,
-1.1645104885101318,
1.1661049127578735,
1.4559677839279175,
0.05848954617977142,
-0.6632144451141357,
-0.36248457431793213,
-0.3837321400642395,
0.36477720737457275,
-0.4937078058719635,
-0.8112576007843018... |
func (in *BannedUserList) DeepCopyInto(out *BannedUserList) {
*out = *in
out.TypeMeta = in.TypeMeta
in.ListMeta.DeepCopyInto(&out.ListMeta)
if in.Items != nil {
in, out := &in.Items, &out.Items
*out = make([]BannedUser, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
} | [
0.6711592674255371,
0.2043474167585373,
0.5438753366470337,
1.1193509101867676,
-0.8297208547592163,
0.7439441680908203,
0.28715625405311584,
0.7938041687011719,
-1.0058088302612305,
0.5544248223304749,
-0.7063871026039124,
0.9626660346984863,
-0.7357795238494873,
-0.6187694668769836,
0.... |
func (in *BannedUserList) DeepCopy() *BannedUserList {
if in == nil {
return nil
}
out := new(BannedUserList)
in.DeepCopyInto(out)
return out
} | [
-0.12194286286830902,
0.28119096159935,
0.057612694799900055,
2.215593099594116,
-0.9089982509613037,
0.8911982774734497,
0.6858134865760803,
0.3877744674682617,
-0.1077527329325676,
0.7166299819946289,
-0.7048152089118958,
0.39835572242736816,
-1.390757441520691,
-0.4366746246814728,
0.... |
func (in *BannedUserList) DeepCopyObject() runtime.Object {
if c := in.DeepCopy(); c != nil {
return c
}
return nil
} | [
0.13154979050159454,
-0.037957776337862015,
0.575237512588501,
1.2961926460266113,
-0.955215334892273,
1.24526047706604,
1.2754268646240234,
0.3034014105796814,
-0.5148678421974182,
0.1865241825580597,
-0.7228429913520813,
0.213208869099617,
-0.6696967482566833,
-0.24054887890815735,
0.1... |
func (in *BannedUserSpec) DeepCopyInto(out *BannedUserSpec) {
*out = *in
} | [
1.2708452939987183,
-0.03319420665502548,
0.3569241464138031,
0.39566347002983093,
-1.0264923572540283,
1.5806617736816406,
0.5121025443077087,
1.0178711414337158,
-1.4798210859298706,
-0.0877523198723793,
-0.6361501216888428,
1.550722599029541,
-0.0440707802772522,
-0.9290832281112671,
... |
func (in *BannedUserSpec) DeepCopy() *BannedUserSpec {
if in == nil {
return nil
}
out := new(BannedUserSpec)
in.DeepCopyInto(out)
return out
} | [
0.7426304221153259,
-0.02854844182729721,
0.2020484209060669,
0.9923608899116516,
-0.8703517317771912,
1.547139286994934,
0.7013491988182068,
0.4625571668148041,
-0.6151975393295288,
0.3279232382774353,
-0.15354374051094055,
0.9166985154151917,
-0.5440987944602966,
-0.8746541738510132,
0... |
func (in *CapacityThresholds) DeepCopyInto(out *CapacityThresholds) {
*out = *in
in.ResourceCapacityThreshold.DeepCopyInto(&out.ResourceCapacityThreshold)
if in.MaxNumberOfSpacesPerMemberCluster != nil {
in, out := &in.MaxNumberOfSpacesPerMemberCluster, &out.MaxNumberOfSpacesPerMemberCluster
*out = make(map[stri... | [
0.9527392983436584,
-0.1561833918094635,
0.3489020764827728,
0.32271090149879456,
-0.5861116647720337,
0.10397844016551971,
0.19714118540287018,
0.014174290001392365,
-1.4716323614120483,
-0.6407812833786011,
-0.73328697681427,
0.6552525758743286,
-0.22365295886993408,
-0.7903890013694763,... |
func (in *CapacityThresholds) DeepCopy() *CapacityThresholds {
if in == nil {
return nil
}
out := new(CapacityThresholds)
in.DeepCopyInto(out)
return out
} | [
0.33331915736198425,
-0.28514033555984497,
0.07786273956298828,
1.334394931793213,
-0.3643854856491089,
0.14385542273521423,
0.44764432311058044,
-0.8783009052276611,
-0.46757256984710693,
-0.42999836802482605,
-0.5827949643135071,
0.04286060482263565,
-0.8492812514305115,
-1.0388643741607... |
func (in *CaptchaConfig) DeepCopyInto(out *CaptchaConfig) {
*out = *in
if in.Enabled != nil {
in, out := &in.Enabled, &out.Enabled
*out = new(bool)
**out = **in
}
if in.ScoreThreshold != nil {
in, out := &in.ScoreThreshold, &out.ScoreThreshold
*out = new(string)
**out = **in
}
if in.SiteKey != nil {
... | [
0.13900050520896912,
0.0013594167539849877,
0.529924750328064,
-0.35279157757759094,
-1.1688629388809204,
0.29894280433654785,
-0.022753924131393433,
0.9503458142280579,
-1.2448149919509888,
-0.08075277507305145,
-1.907101035118103,
0.6772226691246033,
-0.0063789174892008305,
0.04852281510... |
func (in *CaptchaConfig) DeepCopy() *CaptchaConfig {
if in == nil {
return nil
}
out := new(CaptchaConfig)
in.DeepCopyInto(out)
return out
} | [
-0.2936352789402008,
0.292548269033432,
0.024656858295202255,
0.6131383776664734,
-1.221572995185852,
0.25570982694625854,
-0.04289209470152855,
0.8665934801101685,
-0.4499683380126953,
0.21390719711780548,
-1.8161799907684326,
0.047385189682245255,
0.5455418825149536,
-0.05750741064548492... |
func (in *CheConfig) DeepCopyInto(out *CheConfig) {
*out = *in
if in.KeycloakRouteName != nil {
in, out := &in.KeycloakRouteName, &out.KeycloakRouteName
*out = new(string)
**out = **in
}
if in.RouteName != nil {
in, out := &in.RouteName, &out.RouteName
*out = new(string)
**out = **in
}
if in.Namespace... | [
0.34893324971199036,
-0.023811744526028633,
0.72014981508255,
0.08164878934621811,
-0.6978882551193237,
0.3389599621295929,
-0.6276708245277405,
0.8203105330467224,
-0.8633186221122742,
0.12877050042152405,
-1.3653233051300049,
0.803500235080719,
-0.20027117431163788,
0.516348123550415,
... |
func (in *CheConfig) DeepCopy() *CheConfig {
if in == nil {
return nil
}
out := new(CheConfig)
in.DeepCopyInto(out)
return out
} | [
0.011404392309486866,
0.25292396545410156,
0.17676152288913727,
0.7722598314285278,
0.15326224267482758,
0.2367309182882309,
-0.539060115814209,
1.2215520143508911,
-0.6154655814170837,
0.549370288848877,
-1.2941073179244995,
-0.13769474625587463,
-0.7245626449584961,
0.44104546308517456,
... |
func (in *CheSecret) DeepCopyInto(out *CheSecret) {
*out = *in
in.ToolchainSecret.DeepCopyInto(&out.ToolchainSecret)
if in.CheAdminUsernameKey != nil {
in, out := &in.CheAdminUsernameKey, &out.CheAdminUsernameKey
*out = new(string)
**out = **in
}
if in.CheAdminPasswordKey != nil {
in, out := &in.CheAdminPa... | [
0.5335310697555542,
0.2656208276748657,
0.3272577226161957,
-0.2017512172460556,
-0.20048363506793976,
0.3941675126552582,
-0.7086281180381775,
-0.37658172845840454,
-1.2744503021240234,
-0.2072240114212036,
-1.4896337985992432,
0.754698634147644,
0.169745534658432,
0.617527961730957,
0.... |
func (in *CheSecret) DeepCopy() *CheSecret {
if in == nil {
return nil
}
out := new(CheSecret)
in.DeepCopyInto(out)
return out
} | [
0.14054355025291443,
0.2533893585205078,
0.21599696576595306,
0.27736565470695496,
0.1439632922410965,
0.5038415193557739,
-0.5123977065086365,
-0.6961634755134583,
-0.5749779939651489,
-0.5030496716499329,
-1.5433285236358643,
0.040015995502471924,
-0.5983157157897949,
0.02574389986693859... |
func (in *CheStatus) DeepCopyInto(out *CheStatus) {
*out = *in
if in.Conditions != nil {
in, out := &in.Conditions, &out.Conditions
*out = make([]Condition, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
} | [
0.12120325118303299,
-0.13510513305664062,
0.5857157707214355,
0.32286372780799866,
-0.4762365520000458,
0.42158427834510803,
0.06325963139533997,
1.0518165826797485,
-1.3683260679244995,
-0.039148129522800446,
-0.856586217880249,
1.0194212198257446,
-0.23593705892562866,
-0.33012050390243... |
func (in *CheStatus) DeepCopy() *CheStatus {
if in == nil {
return nil
}
out := new(CheStatus)
in.DeepCopyInto(out)
return out
} | [
-0.42794743180274963,
-0.053850769996643066,
0.0440993458032608,
0.6639510989189148,
-0.1501067578792572,
1.0801342725753784,
-0.18591870367527008,
-0.11507925391197205,
-0.8112124800682068,
-1.0060620307922363,
-1.6181310415267944,
0.8702256679534912,
-0.14287038147449493,
-0.424780637025... |
func (in *Cluster) DeepCopyInto(out *Cluster) {
*out = *in
} | [
0.22543865442276,
-0.0644272044301033,
0.45493483543395996,
0.20836538076400757,
-0.7317274808883667,
0.7739555239677429,
0.10296431183815002,
0.8735511302947998,
-0.9198269844055176,
-0.4937450885772705,
-0.9240716695785522,
1.5409387350082397,
0.053687646985054016,
-0.7181198000907898,
... |
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 *Condition) DeepCopyInto(out *Condition) {
*out = *in
in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
if in.LastUpdatedTime != nil {
in, out := &in.LastUpdatedTime, &out.LastUpdatedTime
*out = (*in).DeepCopy()
}
} | [
0.4400612711906433,
-0.06667517870664597,
0.5958842039108276,
-0.3071993291378021,
-1.1863396167755127,
0.22108660638332367,
0.24796044826507568,
1.0066542625427246,
-0.9840031862258911,
0.36146801710128784,
-0.20395849645137787,
0.6150377988815308,
-0.1391473412513733,
-0.1244440823793411... |
func (in *Condition) DeepCopy() *Condition {
if in == nil {
return nil
}
out := new(Condition)
in.DeepCopyInto(out)
return out
} | [
0.301680326461792,
-0.15301963686943054,
0.30453255772590637,
1.0888190269470215,
-0.8622695207595825,
0.2912931442260742,
1.1533203125,
0.48108094930648804,
0.3109358847141266,
-0.06928292661905289,
0.22574810683727264,
-0.12403234094381332,
-0.7235293984413147,
-0.5456617474555969,
-0.... |
func (in *ConsoleConfig) DeepCopyInto(out *ConsoleConfig) {
*out = *in
if in.Namespace != nil {
in, out := &in.Namespace, &out.Namespace
*out = new(string)
**out = **in
}
if in.RouteName != nil {
in, out := &in.RouteName, &out.RouteName
*out = new(string)
**out = **in
}
} | [
-0.06530597805976868,
-0.19436898827552795,
0.7221620678901672,
-0.4848836064338684,
-0.8494389057159424,
0.011829142458736897,
-0.4510148763656616,
0.5674270391464233,
-0.9715740084648132,
-0.08848783373832703,
-1.0021346807479858,
1.0398273468017578,
-0.20302340388298035,
-0.164414003491... |
func (in *ConsoleConfig) DeepCopy() *ConsoleConfig {
if in == nil {
return nil
}
out := new(ConsoleConfig)
in.DeepCopyInto(out)
return out
} | [
-0.4325691759586334,
0.23848290741443634,
0.285630464553833,
0.594074010848999,
-0.33207201957702637,
-0.25934985280036926,
0.012098199687898159,
0.062293387949466705,
-0.5211548209190369,
0.27484074234962463,
-0.9233134388923645,
0.29425132274627686,
-1.0450360774993896,
-0.74107414484024... |
func (in *DeactivationConfig) DeepCopyInto(out *DeactivationConfig) {
*out = *in
if in.DeactivatingNotificationDays != nil {
in, out := &in.DeactivatingNotificationDays, &out.DeactivatingNotificationDays
*out = new(int)
**out = **in
}
if in.DeactivationDomainsExcluded != nil {
in, out := &in.DeactivationDom... | [
-0.04742000252008438,
0.6627212762832642,
0.4090408384799957,
-0.135200634598732,
-0.7231934666633606,
0.14349137246608734,
0.3168947398662567,
0.9263190031051636,
-0.6744250059127808,
-0.16982439160346985,
-0.6618305444717407,
0.7674378752708435,
0.09206104278564453,
0.10765847563743591,
... |
func (in *DeactivationConfig) DeepCopy() *DeactivationConfig {
if in == nil {
return nil
}
out := new(DeactivationConfig)
in.DeepCopyInto(out)
return out
} | [
-0.5387275218963623,
0.8123113512992859,
-0.3467373251914978,
0.6150423288345337,
-0.4731754660606384,
0.10004763305187225,
0.4347791075706482,
1.2154549360275269,
-0.7465318441390991,
0.724395215511322,
-1.0075818300247192,
0.0059235552325844765,
0.23859411478042603,
-0.4058254659175873,
... |
func (in *DevSpaces) DeepCopyInto(out *DevSpaces) {
*out = *in
if in.SegmentWriteKey != nil {
in, out := &in.SegmentWriteKey, &out.SegmentWriteKey
*out = new(string)
**out = **in
}
} | [
-0.25563549995422363,
0.21388886868953705,
0.5468423962593079,
-0.16582290828227997,
-0.6345511078834534,
0.4342857301235199,
0.2472972422838211,
0.0610245056450367,
-0.7767181396484375,
-0.18589307367801666,
-0.40922123193740845,
0.7993911504745483,
0.15981122851371765,
-0.056931681931018... |
func (in *DevSpaces) DeepCopy() *DevSpaces {
if in == nil {
return nil
}
out := new(DevSpaces)
in.DeepCopyInto(out)
return out
} | [
-0.5652999877929688,
0.8275408148765564,
0.23365652561187744,
0.9347854256629944,
-0.8939533829689026,
0.8346102833747864,
0.486271470785141,
-1.264772891998291,
0.6904410123825073,
-0.6454666256904602,
-0.0535285584628582,
-0.181197851896286,
-0.9810254573822021,
0.21822243928909302,
0.... |
func (in *GitHubSecret) DeepCopyInto(out *GitHubSecret) {
*out = *in
in.ToolchainSecret.DeepCopyInto(&out.ToolchainSecret)
if in.AccessTokenKey != nil {
in, out := &in.AccessTokenKey, &out.AccessTokenKey
*out = new(string)
**out = **in
}
} | [
0.9173182249069214,
0.16287203133106232,
0.22897671163082123,
-0.17898015677928925,
-0.0008913473575375974,
0.1799945831298828,
-0.7280771136283875,
-0.3623969256877899,
-0.886110782623291,
-0.04518265277147293,
-0.9513444304466248,
1.2441999912261963,
0.4058443307876587,
-0.42061221599578... |
func (in *GitHubSecret) DeepCopy() *GitHubSecret {
if in == nil {
return nil
}
out := new(GitHubSecret)
in.DeepCopyInto(out)
return out
} | [
0.2825150489807129,
0.38082587718963623,
-0.08017949014902115,
0.2546297013759613,
0.3865606188774109,
0.47570666670799255,
-0.379215270280838,
-0.9163910746574402,
-0.06383097171783447,
-0.0598493255674839,
-1.2854276895523071,
0.2930487096309662,
-0.7925650477409363,
-0.4102592170238495,... |
func (in *HostConfig) DeepCopyInto(out *HostConfig) {
*out = *in
if in.Environment != nil {
in, out := &in.Environment, &out.Environment
*out = new(string)
**out = **in
}
in.AutomaticApproval.DeepCopyInto(&out.AutomaticApproval)
in.Deactivation.DeepCopyInto(&out.Deactivation)
in.Metrics.DeepCopyInto(&out.Me... | [
0.5528087019920349,
-0.0600479319691658,
0.5458562970161438,
0.2096939980983734,
-1.1879419088363647,
0.5073851346969604,
0.024511121213436127,
0.85979825258255,
-1.653395414352417,
-0.06736552715301514,
-1.5160040855407715,
0.8367970585823059,
-0.14552049338817596,
0.018926378339529037,
... |
func (in *HostConfig) DeepCopy() *HostConfig {
if in == nil {
return nil
}
out := new(HostConfig)
in.DeepCopyInto(out)
return out
} | [
0.33977368474006653,
0.0188268031924963,
0.25674882531166077,
1.1099917888641357,
-0.7099306583404541,
0.5103367567062378,
0.28856417536735535,
1.449281096458435,
-0.7067102193832397,
0.0032126144506037235,
-1.1052180528640747,
-0.12535196542739868,
-0.4357529282569885,
-0.4988476634025574... |
func (in *HostOperatorStatus) DeepCopyInto(out *HostOperatorStatus) {
*out = *in
if in.Conditions != nil {
in, out := &in.Conditions, &out.Conditions
*out = make([]Condition, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
in.RevisionCheck.DeepCopyInto(&out.RevisionCheck)
} | [
0.14579616487026215,
0.333550363779068,
0.3708633482456207,
0.38942259550094604,
-0.8370023369789124,
0.27717286348342896,
0.27937209606170654,
1.4803035259246826,
-1.4435768127441406,
-0.02834157645702362,
-0.42197859287261963,
0.2526518404483795,
0.002153411041945219,
-0.5030664205551147... |
func (in *HostOperatorStatus) DeepCopy() *HostOperatorStatus {
if in == nil {
return nil
}
out := new(HostOperatorStatus)
in.DeepCopyInto(out)
return out
} | [
-0.6687619686126709,
0.21632301807403564,
-0.32067909836769104,
0.48558247089385986,
-0.7069712281227112,
0.18847478926181793,
0.16603198647499084,
1.0063014030456543,
-0.7510344386100769,
0.025059912353754044,
-0.7035298347473145,
-0.7458359003067017,
-0.20331712067127228,
-0.390325367450... |
func (in *HostRegistrationServiceStatus) DeepCopyInto(out *HostRegistrationServiceStatus) {
*out = *in
in.Deployment.DeepCopyInto(&out.Deployment)
in.RegistrationServiceResources.DeepCopyInto(&out.RegistrationServiceResources)
in.Health.DeepCopyInto(&out.Health)
in.RevisionCheck.DeepCopyInto(&out.RevisionCheck)
} | [
0.036049485206604004,
0.5558293461799622,
0.15359647572040558,
-0.2463018000125885,
-0.29777011275291443,
0.18276232481002808,
0.0900455042719841,
0.9722711443901062,
-1.617369294166565,
-0.14702807366847992,
-1.193377137184143,
0.7531775236129761,
-0.16745434701442719,
0.0755833089351654,... |
func (in *HostRegistrationServiceStatus) DeepCopy() *HostRegistrationServiceStatus {
if in == nil {
return nil
}
out := new(HostRegistrationServiceStatus)
in.DeepCopyInto(out)
return out
} | [
-0.48766791820526123,
1.0164377689361572,
-0.2993052899837494,
0.11806055903434753,
0.04391353577375412,
0.06917720288038254,
0.22603504359722137,
0.6343157887458801,
-1.3608715534210205,
0.10520702600479126,
-0.8621297478675842,
-0.28773441910743713,
0.009742059744894505,
0.20835414528846... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.