text stringlengths 11 6.3k | embedding listlengths 768 768 |
|---|---|
func TestDBFree(test_db *Sqlite) {
test_db.CloseDB()
} | [
0.40837612748146057,
0.9286085963249207,
0.24808257818222046,
0.2727809548377991,
-0.16284582018852234,
0.6870759129524231,
0.7953207492828369,
-1.0557299852371216,
0.840820848941803,
-0.5065151453018188,
-0.024281376972794533,
0.030246330425143242,
-1.4318866729736328,
0.8381574749946594,... |
func GetDB() *gorm.DB {
return DB
} | [
0.947883129119873,
0.8640834093093872,
0.27543777227401733,
1.610025405883789,
0.6131483912467957,
0.7660830020904541,
0.525865912437439,
-0.01970646157860756,
0.23541103303432465,
-0.8583602905273438,
0.8238605856895447,
0.6490500569343567,
-0.7148340940475464,
0.433868944644928,
0.1510... |
func NewIOHarness() IOHarness {
in := make(chan int64, 10)
out := make(chan int64, 10)
return IOHarness{in, out}
} | [
-0.37325477600097656,
-0.9125632643699646,
0.47662273049354553,
-0.3768063187599182,
0.4172998070716858,
-0.7816729545593262,
0.24685195088386536,
-0.3094862699508667,
-0.2625328004360199,
-0.6007652282714844,
-0.38573241233825684,
0.7427871227264404,
-0.13701939582824707,
-0.0376211591064... |
func (io IOHarness) Close() {
close(io.in)
close(io.out)
} | [
0.41496896743774414,
-0.9391515851020813,
0.4487450420856476,
-0.23118464648723602,
0.35364553332328796,
0.43571212887763977,
-0.08231041580438614,
-0.33102279901504517,
-1.0851372480392456,
-1.04620361328125,
-0.03597521781921387,
0.24913597106933594,
0.0011865519918501377,
0.353171557188... |
func (io IOHarness) SendInput(i int64) {
io.in <- i
} | [
-0.8987060785293579,
0.1432994306087494,
0.5177968740463257,
0.44326138496398926,
0.12564630806446075,
1.2960178852081299,
0.8402993083000183,
-0.07454986870288849,
-0.7273820638656616,
-0.7496805191040039,
-0.8355705142021179,
0.2649120092391968,
-0.42270955443382263,
-0.27010583877563477... |
func (io IOHarness) Poll() (int64, bool) {
select {
case i := <-io.in:
return i, true
default:
return 0, false
}
} | [
-1.0827248096466064,
-0.16663768887519836,
0.652700662612915,
0.25920569896698,
0.14470849931240082,
-0.028421590104699135,
-0.21093805134296417,
0.03775622695684433,
-0.4289408028125763,
-0.16112181544303894,
-0.19728384912014008,
-0.0015111080138012767,
-0.13371309638023376,
-0.319884866... |
func (io IOHarness) GetOutput(errc chan error) (int64, bool, error) {
select {
case value, ok := <-io.out:
if !ok {
err := fmt.Errorf("output closed unexpectedly")
return -1, false, err
}
return value, true, nil
case err, ok := <-errc:
if !ok {
err = fmt.Errorf("errc closed unexpectedly")
}
retu... | [
-0.7634541988372803,
0.10574688017368317,
0.8474571704864502,
0.009077695198357105,
0.23567038774490356,
-1.0523432493209839,
0.556952953338623,
0.0000840564607642591,
-0.5842748880386353,
-0.29367944598197937,
-0.17159390449523926,
0.32594454288482666,
-0.5993308424949646,
-0.205014437437... |
func (il Illuminance) Unit() *Unit {
return New(float64(il), Dimensions{
LuminousIntensityDim: 1,
LengthDim: -2,
})
} | [
-0.5030454397201538,
-0.16969498991966248,
0.397076278924942,
-0.2899639308452606,
0.05973052978515625,
0.59099942445755,
0.17174935340881348,
0.3740123510360718,
1.052392601966858,
-0.6125092506408691,
-0.17870309948921204,
1.2335894107818604,
-0.40448814630508423,
-0.20695509016513824,
... |
func (il Illuminance) Illuminance() Illuminance {
return il
} | [
-0.06763532757759094,
-0.8233718872070312,
0.2931276559829712,
1.003279209136963,
-0.8293102383613586,
0.527091920375824,
-0.051265791058540344,
0.01780097186565399,
1.1863038539886475,
-0.7687905430793762,
-0.2970033884048462,
0.26681700348854065,
-0.8932437300682068,
0.13764747977256775,... |
func (il *Illuminance) From(u Uniter) error {
if !DimensionsMatch(u, Lux) {
*il = Illuminance(math.NaN())
return errors.New("Dimension mismatch")
}
*il = Illuminance(u.Unit().Value())
return nil
} | [
-0.041286591440439224,
0.06959665566682816,
0.42559248208999634,
0.7637951374053955,
-0.5694050788879395,
0.9456666707992554,
0.1432674080133438,
0.23901912569999695,
0.5664549469947815,
-0.995151698589325,
0.37043440341949463,
0.8691275119781494,
0.32711607217788696,
0.22936458885669708,
... |
func (cdc AddressCodec) Decode(b []byte) (v interface{}, s string, err error) {
ip := net.IP(b)
return ip, ip.String(), nil
} | [
-0.5004484057426453,
-0.02219139039516449,
0.4141460955142975,
0.1554015576839447,
-0.6912586092948914,
-0.6535895466804504,
-0.2651890516281128,
0.3352068364620209,
1.1076594591140747,
-0.05928972736001015,
-0.2517363429069519,
0.2225789874792099,
-0.044252313673496246,
-0.245987281203269... |
func (cdc AddressCodec) Encode(v interface{}) (b []byte, err error) {
ipVal, ok := v.(net.IP)
if !ok {
err = errors.New("cannot cast to net.IP")
return
}
ipVal = ipVal.To4()
if ipVal == nil {
err = errors.New("cannot enforce IPv4")
return
}
return []byte(ipVal), nil
} | [
-1.2625614404678345,
0.9571394920349121,
0.5846377611160278,
0.5628215074539185,
-0.46538957953453064,
-0.4182681739330292,
0.2980436384677887,
-0.5690599679946899,
0.7220520377159119,
0.0776929035782814,
0.35432004928588867,
-0.087750144302845,
-0.40347540378570557,
0.03176486864686012,
... |
func (cdc AddressCodec) EncodeString(s string) (b []byte, err error) {
return cdc.Encode(net.ParseIP(s))
} | [
-0.7704185843467712,
0.41407111287117004,
0.21607953310012817,
-0.18980474770069122,
-0.7056898474693298,
0.04338526725769043,
0.25365370512008667,
-0.09270907938480377,
1.1797611713409424,
-0.07456108927726746,
0.03832477331161499,
-0.18289242684841156,
0.045278437435626984,
-0.8623567819... |
func (lump *Generic) Unmarshall(data []byte) (err error) {
lump.length = len(data)
lump.data = data
return err
} | [
0.26034051179885864,
-0.0003943204937968403,
0.5321876406669617,
-1.2227543592453003,
0.015210211277008057,
0.17965982854366302,
-0.11088349670171738,
1.468021273612976,
0.48979631066322327,
0.11970281600952148,
-0.28311845660209656,
1.3130632638931274,
-0.12102404981851578,
0.237142130732... |
func (lump *Generic) Marshall() ([]byte, error) {
return lump.data, nil
} | [
-0.12311754375696182,
-0.3185601830482483,
0.3032074272632599,
-0.3055627942085266,
-0.1452740728855133,
1.0034540891647339,
-1.0570920705795288,
0.14503729343414307,
0.17151950299739838,
-0.4133463203907013,
0.4116278290748596,
2.2864181995391846,
-0.16093577444553375,
0.10040930658578873... |
func (info *Metadata) Length() int {
return info.length
} | [
0.27071017026901245,
-0.09202849864959717,
-0.0042860847897827625,
-0.1827457696199417,
0.7586265802383423,
1.2617312669754028,
0.2786161005496979,
0.9080929756164551,
-0.42502540349960327,
0.19447270035743713,
-0.3756287395954132,
0.7242914438247681,
0.35003164410591125,
0.532794952392578... |
func (info *Metadata) SetLength(length int) {
info.length = length
} | [
0.3217904567718506,
0.3141973912715912,
-0.004199975170195103,
-0.266387939453125,
1.0196155309677124,
1.5609846115112305,
-0.03407077491283417,
1.1541874408721924,
-0.3505198061466217,
0.008664277382194996,
-0.9388998746871948,
0.6555154919624329,
0.15825428068637848,
1.0300123691558838,
... |
func (info *Metadata) Version() int32 {
return info.version
} | [
-0.6324630379676819,
-0.34906986355781555,
0.3794672191143036,
0.31905123591423035,
0.4623812735080719,
1.2243260145187378,
1.0343891382217407,
0.08982693403959274,
-1.4293415546417236,
-0.15106834471225739,
-0.547949492931366,
-0.025564219802618027,
-0.2972985804080963,
0.5446164011955261... |
func (info *Metadata) SetVersion(version int32) {
info.version = version
} | [
-0.3791387975215912,
0.023648807778954506,
0.33860939741134644,
0.9040534496307373,
0.6022109389305115,
1.4116729497909546,
0.40341150760650635,
0.49598759412765503,
-1.0027785301208496,
0.38833728432655334,
-1.4797154664993286,
-0.23034489154815674,
-0.06105136498808861,
0.924131214618682... |
func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) {
scopesOption := option.WithScopes(
"https://www.googleapis.com/auth/androidpublisher",
)
// NOTE: prepend, so we don't override user-specified scopes.
opts = append([]option.ClientOption{scopesOption}, opts...)
opts = append(op... | [
0.5445054173469543,
-0.6831678748130798,
0.32445499300956726,
0.21440759301185608,
-0.07902573049068451,
-0.45956355333328247,
-0.31667327880859375,
-0.3336658775806427,
0.00021412437490653247,
0.5597197413444519,
0.5442506074905396,
0.33531448245048523,
-0.23914116621017456,
0.25611463189... |
func New(client *http.Client) (*Service, error) {
if client == nil {
return nil, errors.New("client is nil")
}
s := &Service{client: client, BasePath: basePath}
s.Purchases = NewPurchasesService(s)
return s, nil
} | [
0.3220152258872986,
-0.16957440972328186,
0.30044037103652954,
0.2770565450191498,
-0.08873302489519119,
-0.03591510280966759,
0.4800297021865845,
-0.5474418997764587,
-0.29689204692840576,
-0.0682453066110611,
0.19453449547290802,
0.2433810979127884,
0.35476481914520264,
0.732659518718719... |
func (r *PurchasesProductsService) Get(packageName string, productId string, token string) *PurchasesProductsGetCall {
c := &PurchasesProductsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.packageName = packageName
c.productId = productId
c.token = token
return c
} | [
-0.6453258395195007,
0.8375343084335327,
0.5119174122810364,
0.23013591766357422,
1.1116867065429688,
-0.0764659196138382,
-0.8803191781044006,
-0.4794347584247589,
0.028418388217687607,
-0.37542417645454407,
-0.368303120136261,
0.7527223825454712,
0.10813704878091812,
-1.4718296527862549,... |
func (c *PurchasesProductsGetCall) Fields(s ...googleapi.Field) *PurchasesProductsGetCall {
c.urlParams_.Set("fields", googleapi.CombineFields(s))
return c
} | [
-0.8898250460624695,
0.9649919271469116,
0.35320693254470825,
-0.3641579747200012,
1.67617666721344,
1.0096635818481445,
-0.15124358236789703,
-0.39978915452957153,
0.5884087681770325,
-0.6939613223075867,
-0.12405454367399216,
0.03823848441243172,
0.10695738345384598,
-0.594278872013092,
... |
func (c *PurchasesProductsGetCall) IfNoneMatch(entityTag string) *PurchasesProductsGetCall {
c.ifNoneMatch_ = entityTag
return c
} | [
0.15650415420532227,
0.723027229309082,
0.39962372183799744,
-0.19023974239826202,
1.0824352502822876,
-0.23260849714279175,
0.21965573728084564,
-0.16834759712219238,
0.5916679501533508,
0.08056633919477463,
-0.16444092988967896,
-0.291877806186676,
0.33653467893600464,
0.4276599884033203... |
func (c *PurchasesProductsGetCall) Context(ctx context.Context) *PurchasesProductsGetCall {
c.ctx_ = ctx
return c
} | [
-0.09549695998430252,
0.4516627788543701,
0.4240599572658539,
0.059837233275175095,
0.876396894454956,
1.1993001699447632,
0.06308889389038086,
-0.48826563358306885,
1.5510380268096924,
-0.6134267449378967,
-0.3970907926559448,
0.7979689240455627,
1.1133065223693848,
-0.8802212476730347,
... |
func (c *PurchasesProductsGetCall) Header() http.Header {
if c.header_ == nil {
c.header_ = make(http.Header)
}
return c.header_
} | [
-0.18472504615783691,
0.33795154094696045,
0.5280870199203491,
0.5363063812255859,
0.16303229331970215,
0.632983922958374,
0.4313410222530365,
-0.14682328701019287,
1.1422150135040283,
-0.8962246775627136,
0.2693653106689453,
0.4395337700843811,
-0.12459307909011841,
-0.8407506942749023,
... |
func (r *PurchasesVoidedpurchasesService) List(packageName string) *PurchasesVoidedpurchasesListCall {
c := &PurchasesVoidedpurchasesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.packageName = packageName
return c
} | [
-0.26756227016448975,
0.7925082445144653,
0.6044321060180664,
0.61541348695755,
0.7768872976303101,
-0.3767067492008209,
0.031196480616927147,
0.5688101649284363,
0.625335693359375,
0.3225880563259125,
-0.5778504610061646,
-0.20039549469947815,
0.12189286202192307,
-0.27947694063186646,
... |
func (c *PurchasesVoidedpurchasesListCall) EndTime(endTime int64) *PurchasesVoidedpurchasesListCall {
c.urlParams_.Set("endTime", fmt.Sprint(endTime))
return c
} | [
-0.5911049842834473,
0.6221576929092407,
0.4419172704219818,
0.40159472823143005,
0.7118653655052185,
0.42879602313041687,
-0.5996110439300537,
0.6038112640380859,
0.4011920392513275,
0.8884550929069519,
-0.4665873050689697,
-0.4164361357688904,
-0.4876273572444916,
0.6236802339553833,
-... |
func (c *PurchasesVoidedpurchasesListCall) MaxResults(maxResults int64) *PurchasesVoidedpurchasesListCall {
c.urlParams_.Set("maxResults", fmt.Sprint(maxResults))
return c
} | [
-0.26446881890296936,
0.951130747795105,
0.4140775501728058,
0.636711061000824,
0.8548039197921753,
0.13426466286182404,
-0.38527679443359375,
0.09037251770496368,
1.1790013313293457,
-0.03946731612086296,
-0.07937966287136078,
-0.31943264603614807,
-0.26235106587409973,
0.1318647116422653... |
func (c *PurchasesVoidedpurchasesListCall) StartIndex(startIndex int64) *PurchasesVoidedpurchasesListCall {
c.urlParams_.Set("startIndex", fmt.Sprint(startIndex))
return c
} | [
-0.47143834829330444,
0.31139591336250305,
0.3367913067340851,
0.7355114221572876,
0.7532204389572144,
0.3384656608104706,
0.7864206433296204,
0.7519111037254333,
0.8285378217697144,
0.1787116974592209,
-0.6939681768417358,
0.7874820828437805,
0.14341706037521362,
-0.09433720260858536,
-... |
func (c *PurchasesVoidedpurchasesListCall) StartTime(startTime int64) *PurchasesVoidedpurchasesListCall {
c.urlParams_.Set("startTime", fmt.Sprint(startTime))
return c
} | [
-0.12900696694850922,
0.44391947984695435,
0.41421744227409363,
0.8527657985687256,
0.7036827206611633,
0.03845770284533501,
-0.11580248922109604,
0.6150203347206116,
0.6380829215049744,
0.6814135909080505,
-0.29152023792266846,
-0.0406825989484787,
-0.19119000434875488,
0.7907583117485046... |
func (c *PurchasesVoidedpurchasesListCall) Token(token string) *PurchasesVoidedpurchasesListCall {
c.urlParams_.Set("token", token)
return c
} | [
-0.5116679072380066,
0.5679057836532593,
0.1987350434064865,
0.4589952230453491,
0.782986581325531,
0.15408971905708313,
0.37967345118522644,
0.9359638690948486,
0.5571419596672058,
-0.5447404384613037,
-1.2363396883010864,
0.2124565690755844,
0.8575387597084045,
0.03186145797371864,
-0.... |
func (c *PurchasesVoidedpurchasesListCall) Fields(s ...googleapi.Field) *PurchasesVoidedpurchasesListCall {
c.urlParams_.Set("fields", googleapi.CombineFields(s))
return c
} | [
-0.7893036007881165,
1.0376107692718506,
0.2782742977142334,
-0.2567805349826813,
1.310815453529358,
0.7215095162391663,
-0.25496906042099,
0.21281889081001282,
0.5386795997619629,
-0.2664879262447357,
-0.330087274312973,
-0.2868942618370056,
-0.08695359528064728,
0.07685399055480957,
-1... |
func (c *PurchasesVoidedpurchasesListCall) IfNoneMatch(entityTag string) *PurchasesVoidedpurchasesListCall {
c.ifNoneMatch_ = entityTag
return c
} | [
0.3744860291481018,
0.9231445789337158,
0.3934592604637146,
0.08808791637420654,
0.8305621147155762,
-0.24490617215633392,
0.051958274096250534,
0.4972231388092041,
0.3018188178539276,
0.4209805428981781,
-0.49544912576675415,
-0.5238765478134155,
0.09732522815465927,
1.2274527549743652,
... |
func (c *PurchasesVoidedpurchasesListCall) Context(ctx context.Context) *PurchasesVoidedpurchasesListCall {
c.ctx_ = ctx
return c
} | [
-0.16346509754657745,
0.6285831928253174,
0.4117608070373535,
0.3686976134777069,
0.46234506368637085,
1.021156668663025,
-0.031125705689191818,
0.12504206597805023,
1.4688891172409058,
0.02360205352306366,
-0.836894154548645,
0.5179812908172607,
0.951470136642456,
-0.005976783111691475,
... |
func (c *PurchasesVoidedpurchasesListCall) Header() http.Header {
if c.header_ == nil {
c.header_ = make(http.Header)
}
return c.header_
} | [
-0.1289604753255844,
0.42604750394821167,
0.45093265175819397,
0.6497699022293091,
0.08778335154056549,
0.3952476680278778,
0.11120866239070892,
0.3581809997558594,
1.0478407144546509,
-0.568687379360199,
-0.03216487914323807,
0.02471381425857544,
-0.25558650493621826,
-0.2851182520389557,... |
func StringifyCookies(siteCookies []*http.Cookie) string {
cookies := ""
for _, cookie := range siteCookies {
cookies += cookie.String() + ";"
}
return cookies
} | [
-0.2662659287452698,
0.17853043973445892,
0.19387347996234894,
0.3050696849822998,
0.20265085995197296,
-0.1805316060781479,
-0.21161259710788727,
-0.2827951908111572,
0.35045185685157776,
1.280517578125,
-0.06847896426916122,
0.7529433369636536,
-0.6217429637908936,
0.6125032901763916,
... |
func Getenv(key, defaultValue string) string {
value := os.Getenv(key)
if len(value) == 0 {
return defaultValue
}
return value
} | [
0.0021029850468039513,
0.630009651184082,
0.28367748856544495,
0.7403002977371216,
0.47362884879112244,
0.3988001048564911,
-0.7634945511817932,
0.45560991764068604,
-1.0385901927947998,
0.8967533707618713,
0.35026517510414124,
0.46832576394081116,
-0.502964437007904,
-0.11744547635316849,... |
func FormatRequest(r *http.Request) string {
// Create return string
var request []string
// Add the request string
url := fmt.Sprintf("%v %v %v", r.Method, r.URL, r.Proto)
request = append(request, url)
// Add the host
request = append(request, fmt.Sprintf("Host: %v", r.Host))
// Loop through headers
for name... | [
-0.5820984840393066,
-0.653074324131012,
0.6403955817222595,
-0.16492637991905212,
0.010193122550845146,
0.010829978622496128,
-0.9368956089019775,
-0.6645394563674927,
-0.266971617937088,
-0.8018487691879272,
1.589420199394226,
0.19528678059577942,
-0.054695941507816315,
1.002362012863159... |
func (c *Config) Save(filename string) {
configFile, err := os.Create(filename)
if err != nil {
logrus.Error("creating config file", err.Error())
}
logrus.Info("Save config: ", c)
var out bytes.Buffer
b, err := json.MarshalIndent(c, "", "\t")
if err != nil {
logrus.Error("error marshal json", err)
}
json.... | [
-0.5768111944198608,
-0.11597848683595657,
0.35267025232315063,
-1.0047141313552856,
0.608830451965332,
0.36553800106048584,
-0.10264773666858673,
0.15332965552806854,
-1.8534541130065918,
1.0732917785644531,
-1.6002860069274902,
-0.10318458080291748,
0.34443560242652893,
0.684013128280639... |
func (c *Config) MustLoad() {
m := c.createMultiConfig()
m.MustLoad(c)
if c.UUID == "" {
c.UUID = uuid.New().String()
}
} | [
-1.1754390001296997,
0.7284678220748901,
0.3387470245361328,
0.0845307931303978,
0.01157910656183958,
0.5004892349243164,
-0.6826511025428772,
0.49694570899009705,
-0.12330140173435211,
0.8898648619651794,
-1.1374002695083618,
-0.14679501950740814,
0.2645808160305023,
0.06465964019298553,
... |
func (c *Config) Load() error {
m := c.createMultiConfig()
err := m.Load(c)
if c.UUID == "" {
c.UUID = uuid.New().String()
}
return err
} | [
-1.010208249092102,
0.2727912366390228,
0.2416093647480011,
-0.1509028673171997,
-0.29127299785614014,
-0.14276954531669617,
-0.09803967922925949,
1.1921759843826294,
-0.5923299789428711,
0.7408161163330078,
-1.585894227027893,
-0.6445218920707703,
-0.450712114572525,
-0.13493435084819794,... |
func PathExists(path string) bool {
// note: the err is either IsNotExist or something else
// if it's something else, you have bigger issues...
_, err := os.Stat(path)
if err == nil {
return true
}
return false
} | [
-0.23989225924015045,
-0.283074289560318,
0.6974847912788391,
0.5317862629890442,
0.6690380573272705,
0.5946822762489319,
-0.19541339576244354,
0.1977243721485138,
0.19686247408390045,
-0.0671117752790451,
-0.33154886960983276,
-0.8219953775405884,
-0.47361451387405396,
0.17954136431217194... |
func (in *BuildTagParams) DeepCopyInto(out *BuildTagParams) {
*out = *in
if in.Additional != nil {
in, out := &in.Additional, &out.Additional
*out = make(Tags, len(*in))
copy(*out, *in)
}
} | [
0.5118604302406311,
0.2676074504852295,
0.36973142623901367,
-0.17918024957180023,
-0.3704143762588501,
0.2132015824317932,
-0.3388553559780121,
0.5720780491828918,
-1.8614457845687866,
-0.023079637438058853,
-0.7137566208839417,
0.8430899381637573,
0.2762349843978882,
0.24115201830863953,... |
func (in *BuildTagParams) DeepCopy() *BuildTagParams {
if in == nil {
return nil
}
out := new(BuildTagParams)
in.DeepCopyInto(out)
return out
} | [
-0.4561465084552765,
0.18869397044181824,
0.023555738851428032,
0.8625878691673279,
0.39439454674720764,
0.564675509929657,
-0.04457888379693031,
0.4794365465641022,
-1.3676321506500244,
0.3608434796333313,
-0.8590421676635742,
0.23776568472385406,
-0.7464638352394104,
0.12570887804031372,... |
func (in *DOCluster) DeepCopyInto(out *DOCluster) {
*out = *in
out.TypeMeta = in.TypeMeta
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
in.Spec.DeepCopyInto(&out.Spec)
out.Status = in.Status
} | [
0.15337546169757843,
-0.5262020826339722,
0.491781622171402,
0.09439770132303238,
-0.42349138855934143,
0.5798571705818176,
0.30442723631858826,
0.37935978174209595,
-1.0883750915527344,
-0.3069247901439667,
-0.4593362808227539,
1.3758097887039185,
-0.19406406581401825,
-0.2027085870504379... |
func (in *DOCluster) DeepCopy() *DOCluster {
if in == nil {
return nil
}
out := new(DOCluster)
in.DeepCopyInto(out)
return out
} | [
-0.7100908160209656,
0.5281060338020325,
0.3036961853504181,
0.5654591917991638,
-0.7082747220993042,
0.5237255692481995,
0.5029886364936829,
-0.6288299560546875,
0.5512230396270752,
-0.4184552729129791,
-0.04936142638325691,
0.352882444858551,
-1.1669855117797852,
0.08156494051218033,
0... |
func (in *DOCluster) DeepCopyObject() runtime.Object {
if c := in.DeepCopy(); c != nil {
return c
}
return nil
} | [
-0.1684281826019287,
-0.08177711069583893,
0.5490303039550781,
0.5941186547279358,
-0.41829973459243774,
0.6258267164230347,
1.116978645324707,
-0.40393465757369995,
-0.4890590012073517,
-0.5760877132415771,
-0.16110865771770477,
0.15117740631103516,
-0.37156030535697937,
-0.51509147882461... |
func (in *DOClusterList) DeepCopyInto(out *DOClusterList) {
*out = *in
out.TypeMeta = in.TypeMeta
in.ListMeta.DeepCopyInto(&out.ListMeta)
if in.Items != nil {
in, out := &in.Items, &out.Items
*out = make([]DOCluster, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
} | [
-0.319594144821167,
0.16831812262535095,
0.7071805000305176,
0.6142690777778625,
-0.18107876181602478,
0.19551250338554382,
0.31255531311035156,
0.009895634837448597,
-0.8558841347694397,
0.2357446700334549,
-0.5033958554267883,
0.6247380375862122,
-0.5275421142578125,
-0.497321754693985,
... |
func (in *DOClusterList) DeepCopy() *DOClusterList {
if in == nil {
return nil
}
out := new(DOClusterList)
in.DeepCopyInto(out)
return out
} | [
-1.1778603792190552,
0.4944484233856201,
0.382730633020401,
1.355029582977295,
-0.16942228376865387,
0.35220813751220703,
0.5600458979606628,
-0.59003746509552,
-0.22133666276931763,
0.41930583119392395,
-0.6632217168807983,
-0.029275784268975258,
-0.4465010464191437,
-0.4678095877170563,
... |
func (in *DOClusterList) DeepCopyObject() runtime.Object {
if c := in.DeepCopy(); c != nil {
return c
}
return nil
} | [
-0.6111094355583191,
-0.0030179833993315697,
0.5697224736213684,
0.8959214091300964,
-0.13188104331493378,
0.5557366609573364,
1.059513807296753,
-0.5034200549125671,
-0.42333975434303284,
-0.24888455867767334,
-0.6115182042121887,
0.022230884060263634,
-0.351687490940094,
-0.3853761255741... |
func (in *DOClusterSpec) DeepCopyInto(out *DOClusterSpec) {
*out = *in
out.Network = in.Network
out.ControlPlaneEndpoint = in.ControlPlaneEndpoint
if in.ControlPlaneDNS != nil {
in, out := &in.ControlPlaneDNS, &out.ControlPlaneDNS
*out = new(DOControlPlaneDNS)
**out = **in
}
} | [
0.7291669845581055,
0.27221542596817017,
0.5247234106063843,
-0.030039852485060692,
-0.29518923163414,
0.5013779401779175,
0.19257643818855286,
0.16054534912109375,
-0.8312596678733826,
-0.2909003794193268,
-0.23038004338741302,
0.9207605719566345,
0.02668881043791771,
-0.5635443329811096,... |
func (in *DOClusterSpec) DeepCopy() *DOClusterSpec {
if in == nil {
return nil
}
out := new(DOClusterSpec)
in.DeepCopyInto(out)
return out
} | [
-0.33667266368865967,
0.8742088675498962,
0.03643672168254852,
0.4786033630371094,
-0.5080918073654175,
0.44754448533058167,
0.5594691634178162,
-0.7967090010643005,
-0.6855456829071045,
0.380607008934021,
-0.18626685440540314,
0.15293295681476593,
0.30791303515434265,
-0.4767552614212036,... |
func (in *DOClusterStatus) DeepCopyInto(out *DOClusterStatus) {
*out = *in
out.Network = in.Network
} | [
0.7160971164703369,
-0.08947562426328659,
0.3162328004837036,
-0.10153278708457947,
-0.5468261241912842,
0.38805797696113586,
0.04248865321278572,
0.36933860182762146,
-0.8084954619407654,
-0.5410410761833191,
-0.7065527439117432,
0.8188889026641846,
0.10616757720708847,
-0.868423640727996... |
func (in *DOClusterStatus) DeepCopy() *DOClusterStatus {
if in == nil {
return nil
}
out := new(DOClusterStatus)
in.DeepCopyInto(out)
return out
} | [
-0.5374837517738342,
0.4164314866065979,
-0.0958905890583992,
0.19613006711006165,
-0.6845662593841553,
-0.018803751096129417,
0.25942137837409973,
-0.5059133768081665,
-0.2536866068840027,
-0.35358941555023193,
-0.8759462833404541,
0.05033597722649574,
-0.16729137301445007,
-0.54930859804... |
func (in *DOControlPlaneDNS) DeepCopyInto(out *DOControlPlaneDNS) {
*out = *in
} | [
0.3649456799030304,
1.108405590057373,
0.4880477786064148,
0.02013959176838398,
-0.661882221698761,
0.9769431948661804,
-0.3947441875934601,
-0.04939065873622894,
-0.45756736397743225,
-0.8859341740608215,
-0.630544900894165,
1.1007530689239502,
0.13548339903354645,
-0.459817498922348,
0... |
func (in *DOControlPlaneDNS) DeepCopy() *DOControlPlaneDNS {
if in == nil {
return nil
}
out := new(DOControlPlaneDNS)
in.DeepCopyInto(out)
return out
} | [
-0.4158496856689453,
1.1750324964523315,
0.4607444107532501,
0.5420897603034973,
-0.4174005389213562,
0.9550998210906982,
-0.2783101797103882,
-1.0256315469741821,
0.661435067653656,
-0.546487033367157,
-0.7639893889427185,
0.42736396193504333,
-0.5713282823562622,
-0.4840677082538605,
0... |
func (in *DOLoadBalancer) DeepCopyInto(out *DOLoadBalancer) {
*out = *in
out.HealthCheck = in.HealthCheck
} | [
0.6554952263832092,
-0.3722076416015625,
0.6106417179107666,
0.0635022222995758,
-0.15856578946113586,
1.262045979499817,
-0.12102875858545303,
0.03770357742905617,
-0.9274684190750122,
-0.4226994216442108,
-0.21609482169151306,
1.3585789203643799,
0.26100656390190125,
0.016341468319296837... |
func (in *DOLoadBalancer) DeepCopy() *DOLoadBalancer {
if in == nil {
return nil
}
out := new(DOLoadBalancer)
in.DeepCopyInto(out)
return out
} | [
-0.7089531421661377,
0.09520891308784485,
0.3116339147090912,
0.6159985661506653,
0.11293231695890427,
1.0886062383651733,
-0.25057053565979004,
-0.8564247488975525,
-0.27548670768737793,
0.4147602319717407,
-0.5327711701393127,
0.5459052920341492,
-0.7441781163215637,
0.4578760266304016,
... |
func (in *DOLoadBalancerHealthCheck) DeepCopyInto(out *DOLoadBalancerHealthCheck) {
*out = *in
} | [
1.1020857095718384,
-0.28075799345970154,
0.5886029005050659,
0.19647401571273804,
-0.2977917790412903,
1.307181715965271,
-0.12478937953710556,
0.025237178429961205,
-0.7644703388214111,
-0.48385855555534363,
0.040394656360149384,
1.634264349937439,
-0.13741129636764526,
-0.20765289664268... |
func (in *DOLoadBalancerHealthCheck) DeepCopy() *DOLoadBalancerHealthCheck {
if in == nil {
return nil
}
out := new(DOLoadBalancerHealthCheck)
in.DeepCopyInto(out)
return out
} | [
-0.007759691681712866,
-0.3350200951099396,
0.4336194694042206,
0.581169605255127,
0.34959375858306885,
1.3164483308792114,
0.09735214710235596,
-0.5843902826309204,
0.017200278118252754,
0.042414989322423935,
-0.07534565776586533,
0.9564340710639954,
-0.25471290946006775,
0.11764346063137... |
func (in *DOMachine) DeepCopyInto(out *DOMachine) {
*out = *in
out.TypeMeta = in.TypeMeta
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
in.Spec.DeepCopyInto(&out.Spec)
in.Status.DeepCopyInto(&out.Status)
} | [
0.4638468325138092,
-0.4673669636249542,
0.4520314931869507,
0.034646060317754745,
-0.690390944480896,
0.5802255868911743,
0.12400265783071518,
0.6138538122177124,
-1.370997428894043,
-0.5346952676773071,
-0.9229410886764526,
1.0972652435302734,
0.47356095910072327,
0.05610912665724754,
... |
func (in *DOMachine) DeepCopy() *DOMachine {
if in == nil {
return nil
}
out := new(DOMachine)
in.DeepCopyInto(out)
return out
} | [
-0.15155267715454102,
0.3866147994995117,
0.32821232080459595,
0.8410684466362,
-0.6566209197044373,
0.3178442120552063,
-0.010055094957351685,
0.1799645870923996,
-0.1628333181142807,
-0.6626575589179993,
-0.7017763257026672,
-0.29397904872894287,
-0.5642054677009583,
-0.36401790380477905... |
func (in *DOMachine) DeepCopyObject() runtime.Object {
if c := in.DeepCopy(); c != nil {
return c
}
return nil
} | [
0.15204590559005737,
0.1157008707523346,
0.5455754399299622,
0.4955933392047882,
-0.7598943710327148,
0.5473669171333313,
0.7422657012939453,
0.22635050117969513,
-0.7283087968826294,
-0.7613829970359802,
-0.5177732110023499,
-0.26605454087257385,
0.2381349503993988,
-0.25127580761909485,
... |
func (in *DOMachineList) DeepCopyInto(out *DOMachineList) {
*out = *in
out.TypeMeta = in.TypeMeta
in.ListMeta.DeepCopyInto(&out.ListMeta)
if in.Items != nil {
in, out := &in.Items, &out.Items
*out = make([]DOMachine, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
} | [
-0.1896083801984787,
0.191807821393013,
0.5479535460472107,
0.380896657705307,
-0.7165310978889465,
0.3396950662136078,
-0.2979833483695984,
0.6894517540931702,
-0.9872365593910217,
0.031292837113142014,
-1.309767246246338,
0.6384852528572083,
0.33239850401878357,
-0.18226583302021027,
-... |
func (in *DOMachineList) DeepCopy() *DOMachineList {
if in == nil {
return nil
}
out := new(DOMachineList)
in.DeepCopyInto(out)
return out
} | [
-1.5437848567962646,
0.3659944534301758,
0.31189200282096863,
1.3036199808120728,
-0.7084741592407227,
0.27924102544784546,
-0.37653639912605286,
0.15041638910770416,
-0.103122778236866,
-0.01045522652566433,
-1.2433946132659912,
0.22245433926582336,
0.5236350893974304,
-0.400211364030838,... |
func (in *DOMachineList) DeepCopyObject() runtime.Object {
if c := in.DeepCopy(); c != nil {
return c
}
return nil
} | [
-0.5314634442329407,
0.02701673097908497,
0.5957954525947571,
0.7657133340835571,
-0.6788739562034607,
0.5906634330749512,
0.6261541843414307,
0.20063716173171997,
-0.3665878474712372,
-0.5049375891685486,
-0.9149332046508789,
-0.06649100035429001,
0.3711406886577606,
-0.23233047127723694,... |
func (in *DOMachineSpec) DeepCopyInto(out *DOMachineSpec) {
*out = *in
if in.ProviderID != nil {
in, out := &in.ProviderID, &out.ProviderID
*out = new(string)
**out = **in
}
out.Image = in.Image
if in.DataDisks != nil {
in, out := &in.DataDisks, &out.DataDisks
*out = make([]DataDisk, len(*in))
copy(*ou... | [
0.16741842031478882,
-0.06755363941192627,
0.5967851281166077,
-0.48353081941604614,
-0.48956266045570374,
0.08697234094142914,
-0.4297453761100769,
0.32016095519065857,
-1.1482117176055908,
0.00483118137344718,
-0.8140579462051392,
1.1140199899673462,
0.6633517742156982,
0.027441147714853... |
func (in *DOMachineSpec) DeepCopy() *DOMachineSpec {
if in == nil {
return nil
}
out := new(DOMachineSpec)
in.DeepCopyInto(out)
return out
} | [
-0.04810422286391258,
0.6505404114723206,
0.1573277860879898,
0.29558244347572327,
-0.5911628603935242,
0.4674313962459564,
-0.25272947549819946,
-0.25227296352386475,
-0.7773062586784363,
0.3450576066970825,
-0.5414063334465027,
0.5478413105010986,
0.6354296803474426,
-0.2957070767879486,... |
func (in *DOMachineStatus) DeepCopyInto(out *DOMachineStatus) {
*out = *in
if in.Addresses != nil {
in, out := &in.Addresses, &out.Addresses
*out = make([]v1.NodeAddress, len(*in))
copy(*out, *in)
}
if in.Volumes != nil {
in, out := &in.Volumes, &out.Volumes
*out = make([]DOVolume, len(*in))
copy(*out, ... | [
0.2107282429933548,
-0.41084131598472595,
0.43739354610443115,
-0.414899617433548,
-0.5285661816596985,
0.2398560345172882,
-0.5191188454627991,
0.18365201354026794,
-1.0800217390060425,
-0.43292999267578125,
-0.8430407047271729,
0.710415244102478,
0.5961126089096069,
-0.03719138354063034,... |
func (in *DOMachineStatus) DeepCopy() *DOMachineStatus {
if in == nil {
return nil
}
out := new(DOMachineStatus)
in.DeepCopyInto(out)
return out
} | [
-0.2433149814605713,
0.026461461558938026,
-0.14001432061195374,
-0.02651197649538517,
-0.6110953092575073,
0.2532273530960083,
-0.6674695014953613,
-0.3835236728191376,
-0.6589305996894836,
-0.372598260641098,
-1.1733437776565552,
-0.010398272424936295,
0.34697532653808594,
-0.04366210848... |
func (in *DOMachineTemplate) DeepCopyInto(out *DOMachineTemplate) {
*out = *in
out.TypeMeta = in.TypeMeta
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
in.Spec.DeepCopyInto(&out.Spec)
} | [
0.3367024064064026,
-0.45379161834716797,
0.4901757538318634,
0.16163815557956696,
-0.5086931586265564,
0.3523334264755249,
0.20235943794250488,
0.35509437322616577,
-1.442615032196045,
-0.4506901204586029,
-0.9729143381118774,
0.6640602946281433,
0.5068538784980774,
0.051035452634096146,
... |
func (in *DOMachineTemplate) DeepCopy() *DOMachineTemplate {
if in == nil {
return nil
}
out := new(DOMachineTemplate)
in.DeepCopyInto(out)
return out
} | [
-0.40733665227890015,
0.2628916800022125,
0.21352286636829376,
1.052366852760315,
-0.759416401386261,
0.1586589813232422,
-0.314452201128006,
-0.30488353967666626,
-0.5798007845878601,
-0.15428729355335236,
-1.141526222229004,
-0.5567762851715088,
-0.2897301912307739,
0.07798737287521362,
... |
func (in *DOMachineTemplate) DeepCopyObject() runtime.Object {
if c := in.DeepCopy(); c != nil {
return c
}
return nil
} | [
-0.10987108200788498,
-0.15329815447330475,
0.5749463438987732,
0.5216284990310669,
-0.7480447292327881,
0.2518008053302765,
0.6275252103805542,
0.1304420828819275,
-0.581393837928772,
-0.8481874465942383,
-0.7921940088272095,
-0.4629203677177429,
0.3488745093345642,
-0.1155010387301445,
... |
func (in *DOMachineTemplateList) DeepCopyInto(out *DOMachineTemplateList) {
*out = *in
out.TypeMeta = in.TypeMeta
in.ListMeta.DeepCopyInto(&out.ListMeta)
if in.Items != nil {
in, out := &in.Items, &out.Items
*out = make([]DOMachineTemplate, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
... | [
-0.11658140271902084,
-0.021508384495973587,
0.6618676781654358,
0.5733051896095276,
-0.6200825572013855,
0.047224391251802444,
-0.40356123447418213,
0.7633916139602661,
-0.7448826432228088,
0.20562106370925903,
-1.4450299739837646,
0.10567900538444519,
0.46574342250823975,
0.2983378469944... |
func (in *DOMachineTemplateList) DeepCopy() *DOMachineTemplateList {
if in == nil {
return nil
}
out := new(DOMachineTemplateList)
in.DeepCopyInto(out)
return out
} | [
-0.866982102394104,
0.011150246486067772,
0.2520706355571747,
0.8313327431678772,
-0.4029455780982971,
0.17615586519241333,
-0.44149622321128845,
0.15750575065612793,
-0.059374164789915085,
0.49985507130622864,
-1.2765792608261108,
-0.6471407413482666,
0.903428316116333,
0.7471209764480591... |
func (in *DOMachineTemplateList) DeepCopyObject() runtime.Object {
if c := in.DeepCopy(); c != nil {
return c
}
return nil
} | [
-0.4891062378883362,
-0.13083431124687195,
0.5283003449440002,
0.5941518545150757,
-0.7036351561546326,
0.25883710384368896,
0.33483660221099854,
0.406333327293396,
-0.16666847467422485,
-0.3767450749874115,
-1.3193573951721191,
-0.5932357907295227,
0.5485082864761353,
0.45258432626724243,... |
func (in *DOMachineTemplateResource) DeepCopyInto(out *DOMachineTemplateResource) {
*out = *in
in.Spec.DeepCopyInto(&out.Spec)
} | [
0.5007919073104858,
-0.07777968049049377,
0.20905998349189758,
0.0227486714720726,
-1.2691259384155273,
-0.21326592564582825,
-0.2546018362045288,
0.7581155300140381,
-1.363423466682434,
-0.15086223185062408,
-0.7202053070068359,
0.2113027125597,
0.5300917625427246,
0.4089955687522888,
0... |
func (in *DOMachineTemplateResource) DeepCopy() *DOMachineTemplateResource {
if in == nil {
return nil
}
out := new(DOMachineTemplateResource)
in.DeepCopyInto(out)
return out
} | [
-0.5555402040481567,
0.10747259110212326,
-0.17967291176319122,
0.8108217716217041,
-1.4049992561340332,
-0.3685452938079834,
-0.5962206721305847,
0.279965877532959,
-0.2353345900774002,
0.27492591738700867,
-0.4821629822254181,
-0.43707963824272156,
0.3936135470867157,
0.7232376337051392,... |
func (in *DOMachineTemplateSpec) DeepCopyInto(out *DOMachineTemplateSpec) {
*out = *in
in.Template.DeepCopyInto(&out.Template)
} | [
0.9888895153999329,
0.08635035157203674,
0.24731887876987457,
-0.13192306458950043,
-0.8879966139793396,
0.08439522236585617,
-0.24010112881660461,
0.7357825040817261,
-1.257943868637085,
-0.04234705865383148,
-1.0530081987380981,
0.5393489003181458,
0.9236191511154175,
-0.0203893147408962... |
func (in *DOMachineTemplateSpec) DeepCopy() *DOMachineTemplateSpec {
if in == nil {
return nil
}
out := new(DOMachineTemplateSpec)
in.DeepCopyInto(out)
return out
} | [
0.30528074502944946,
-0.1579628884792328,
0.06451401114463806,
0.24150246381759644,
-0.48246529698371887,
0.27259355783462524,
-0.16496235132217407,
-0.18518784642219543,
-0.34649795293807983,
0.9392930269241333,
-0.8204668760299683,
-0.1602657586336136,
0.8116979598999023,
0.1488081812858... |
func (in *DONetwork) DeepCopyInto(out *DONetwork) {
*out = *in
out.APIServerLoadbalancers = in.APIServerLoadbalancers
out.VPC = in.VPC
} | [
0.07372218370437622,
0.1714886873960495,
0.6022792458534241,
-0.49598565697669983,
-0.022122273221611977,
1.3693549633026123,
0.22893765568733215,
-0.2808980345726013,
-0.5226373076438904,
-0.15195712447166443,
-0.9489191174507141,
0.4087250232696533,
-0.2495543509721756,
-0.38253536820411... |
func (in *DONetwork) DeepCopy() *DONetwork {
if in == nil {
return nil
}
out := new(DONetwork)
in.DeepCopyInto(out)
return out
} | [
-1.4522594213485718,
0.5261404514312744,
0.32047224044799805,
0.6198132038116455,
-0.11251411586999893,
1.0634154081344604,
0.8716866970062256,
-0.8205877542495728,
0.07209271937608719,
0.045645713806152344,
-1.2661004066467285,
-0.5656788349151611,
-0.8459648489952087,
-0.3914308249950409... |
func (in *DONetworkResource) DeepCopyInto(out *DONetworkResource) {
*out = *in
out.APIServerLoadbalancersRef = in.APIServerLoadbalancersRef
} | [
0.3259686827659607,
-0.04443194344639778,
0.47644686698913574,
-0.8877739310264587,
-0.25879967212677,
0.9936423301696777,
0.4985570013523102,
-0.4657285809516907,
-0.788232147693634,
0.05136170610785484,
-0.5518118739128113,
0.23741063475608826,
-0.5333365201950073,
-0.1407461315393448,
... |
func (in *DONetworkResource) DeepCopy() *DONetworkResource {
if in == nil {
return nil
}
out := new(DONetworkResource)
in.DeepCopyInto(out)
return out
} | [
-1.3507403135299683,
0.48866432905197144,
0.012612850405275822,
0.3421187102794647,
-0.2693493664264679,
0.7161673903465271,
0.6644526720046997,
-0.7663716077804565,
-0.2650301456451416,
0.5912102460861206,
-0.7386364936828613,
-0.9390759468078613,
-0.7947690486907959,
-0.19424425065517426... |
func (in *DOResourceReference) DeepCopyInto(out *DOResourceReference) {
*out = *in
} | [
0.34236371517181396,
-0.5181283950805664,
0.607961893081665,
-0.35769009590148926,
-0.6563266515731812,
0.6617931723594666,
0.45788145065307617,
0.2240920066833496,
-1.3342735767364502,
-0.1977912187576294,
-0.2571660876274109,
1.2554740905761719,
-0.07201331853866577,
-0.3508264422416687,... |
func (in *DOResourceReference) DeepCopy() *DOResourceReference {
if in == nil {
return nil
}
out := new(DOResourceReference)
in.DeepCopyInto(out)
return out
} | [
-1.169797658920288,
-0.5064698457717896,
0.32920360565185547,
0.2304791510105133,
0.3217155933380127,
0.47219040989875793,
0.7650508880615234,
-0.5939653515815735,
-0.4375828504562378,
0.3920537531375885,
0.03327236697077751,
0.4597133994102478,
-0.5219280123710632,
-0.16719600558280945,
... |
func (in *DOVPC) DeepCopyInto(out *DOVPC) {
*out = *in
} | [
0.07128957659006119,
0.0015308090951293707,
0.6585645079612732,
-0.044606469571590424,
-0.2808958888053894,
0.7271549105644226,
0.22436729073524475,
0.154313862323761,
-0.7954674363136292,
0.11278439313173294,
-0.5504464507102966,
1.230718970298767,
-0.022379029542207718,
-0.55768007040023... |
func (in *DOVPC) DeepCopy() *DOVPC {
if in == nil {
return nil
}
out := new(DOVPC)
in.DeepCopyInto(out)
return out
} | [
-0.6927110552787781,
0.13577929139137268,
0.5256280899047852,
0.6279772520065308,
0.4856981337070465,
0.5685944557189941,
0.6228643655776978,
-1.0757005214691162,
0.4789417088031769,
1.0099210739135742,
0.04041330888867378,
-0.06721518933773041,
-0.6249280571937561,
-0.8455448746681213,
... |
func (in *DOVolume) DeepCopyInto(out *DOVolume) {
*out = *in
} | [
0.37937960028648376,
-0.41256365180015564,
0.5737030506134033,
0.12908713519573212,
-0.41223567724227905,
0.5754786729812622,
-0.13942748308181763,
0.5209059119224548,
-1.4463233947753906,
-0.2573370039463043,
-0.4249393045902252,
0.9635066390037537,
0.317164808511734,
-0.33981427550315857... |
func (in *DOVolume) DeepCopy() *DOVolume {
if in == nil {
return nil
}
out := new(DOVolume)
in.DeepCopyInto(out)
return out
} | [
-0.622826874256134,
-0.014559184201061726,
0.3010694086551666,
0.9997982978820801,
0.4654812812805176,
0.5138527750968933,
0.06240592524409294,
-0.5494503378868103,
-0.40993431210517883,
0.21654236316680908,
0.07297337055206299,
0.14174512028694153,
-0.3992249071598053,
-0.1957956701517105... |
func (in *DataDisk) DeepCopyInto(out *DataDisk) {
*out = *in
} | [
0.37465745210647583,
0.42648541927337646,
0.4757012128829956,
-0.28027456998825073,
-0.8734902143478394,
0.782966673374176,
-0.09193895757198334,
1.087580919265747,
-1.5972636938095093,
-1.4686988592147827,
-1.0842649936676025,
1.3648903369903564,
0.5673590898513794,
-0.19358223676681519,
... |
func (in *DataDisk) DeepCopy() *DataDisk {
if in == nil {
return nil
}
out := new(DataDisk)
in.DeepCopyInto(out)
return out
} | [
-0.09620426595211029,
1.0217262506484985,
0.3121741712093353,
0.3539339601993561,
-0.43327707052230835,
0.6279789209365845,
0.4340234100818634,
0.023961065337061882,
-0.21604491770267487,
-1.6920469999313354,
-0.8454719185829163,
1.0777504444122314,
-0.23212873935699463,
-0.186529502272605... |
func (in Tags) DeepCopyInto(out *Tags) {
{
in := &in
*out = make(Tags, len(*in))
copy(*out, *in)
}
} | [
0.5192616581916809,
0.40866488218307495,
0.5050143599510193,
-0.021584849804639816,
-0.6565803289413452,
0.07482574880123138,
-0.6678202748298645,
0.48835986852645874,
-1.478670597076416,
-0.2606314420700073,
-1.3372924327850342,
0.8584383130073547,
0.2557215094566345,
-0.1558942198753357,... |
func (in Tags) DeepCopy() Tags {
if in == nil {
return nil
}
out := new(Tags)
in.DeepCopyInto(out)
return *out
} | [
0.13322943449020386,
0.7723773717880249,
0.40589380264282227,
1.2509956359863281,
-0.025196116417646408,
-0.29495155811309814,
-0.07853095233440399,
-0.10084562748670578,
-0.4767494201660156,
-0.2764527201652527,
-0.8176662921905518,
0.23428773880004883,
-0.8317602276802063,
-0.36022412776... |
func CreateBlockchain() *Blockchain {
// TODO(student)
return nil
} | [
0.32400834560394287,
-0.34355777502059937,
0.6231364011764526,
0.5084311962127686,
0.9913398623466492,
0.03952658921480179,
0.03865157812833786,
-0.4359048306941986,
0.24517616629600525,
-0.353252112865448,
-1.1761267185211182,
0.06930381059646606,
-1.1669909954071045,
0.3136717677116394,
... |
func NewBlockchain() *Blockchain {
return CreateBlockchain()
} | [
0.22067885100841522,
-0.6914183497428894,
0.29336583614349365,
0.8424237966537476,
0.19094817340373993,
-0.35920944809913635,
-0.3772834539413452,
-0.7575449347496033,
-0.42875880002975464,
-0.48546528816223145,
-1.0996657609939575,
0.7211779356002808,
-0.7337973713874817,
0.54489690065383... |
func (bc *Blockchain) AddBlock(transactions []*Transaction) *Block {
// TODO(student)
return nil
} | [
-0.21974283456802368,
0.9301271438598633,
0.909916341304779,
1.1082509756088257,
0.41243019700050354,
-0.2677754759788513,
0.15226271748542786,
-0.29304614663124084,
1.0519367456436157,
-0.8269180059432983,
-0.019012536853551865,
-0.34330374002456665,
-1.3072600364685059,
0.084632508456707... |
func (bc *Blockchain) GetGenesisBlock() *Block {
// TODO(student)
return nil
} | [
-0.40243953466415405,
0.7041779160499573,
0.854375422000885,
0.962529182434082,
0.2616519629955292,
0.33256763219833374,
-0.03800265118479729,
-0.4400361180305481,
-0.7108777761459351,
-0.9409233331680298,
-0.7173203229904175,
0.8599721789360046,
-0.874594509601593,
0.14053772389888763,
... |
func (bc *Blockchain) CurrentBlock() *Block {
// TODO(student)
return nil
} | [
-0.0401904471218586,
-0.6745845675468445,
0.6613678932189941,
0.6801407337188721,
-0.13307976722717285,
-0.15698078274726868,
0.6423970460891724,
-0.2990317642688751,
0.4780607521533966,
-0.4418996274471283,
0.028990427032113075,
0.9576218128204346,
-1.3287769556045532,
0.02784210629761219... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.