text stringlengths 11 6.3k | embedding listlengths 768 768 |
|---|---|
func (s *State) PlayerDB() *sql.DB {
return s.playerDB
} | [
-0.03710354119539261,
-0.43958672881126404,
0.18306946754455566,
0.7848641276359558,
-0.4511169195175171,
0.11496637761592865,
0.5573487877845764,
-0.24453122913837433,
0.8260536193847656,
0.008235438726842403,
0.3327345550060272,
0.28100648522377014,
-0.8350337147712708,
0.206562221050262... |
func (s *State) EngineClient() engine.Client {
return s.engineClient
} | [
-0.3000963032245636,
-0.4347270429134369,
0.20650437474250793,
-0.7917895913124084,
-0.03800203651189804,
0.02666187286376953,
0.6201378107070923,
0.26119306683540344,
-0.11186464875936508,
0.17416994273662567,
0.185444176197052,
0.9138034582138062,
-0.734113872051239,
-1.1902503967285156,... |
func (s *State) Peers() []player.Client {
return s.peers
} | [
-0.8093575835227966,
-0.6040072441101074,
-0.027137160301208496,
-0.5224733948707581,
0.3846346139907837,
0.13128207623958588,
-0.3844332993030548,
-0.017667429521679878,
0.7133080959320068,
0.2346748262643814,
-0.4123961329460144,
0.9962461590766907,
-0.6681750416755676,
-0.10239680856466... |
func newProject(projectName string) (p *project, err error) {
matches := reGithubProject.FindStringSubmatch(projectName)
if len(matches) < 2 {
err = fmt.Errorf("bad project name: %s", projectName)
return
}
p = &project{
owner: matches[1],
repo: matches[2],
path: matches[4],
ref: matches[6],
}
//... | [
0.10890325903892517,
0.27795475721359253,
0.3932062089443207,
0.49823197722435,
-0.21802963316440582,
-0.20253121852874756,
0.22762450575828552,
-0.4590955376625061,
0.299332857131958,
-0.11270111799240112,
0.341134637594223,
0.002084367908537388,
-0.4573027789592743,
-0.6664076447486877,
... |
func GetImgProfileNameSet(context appengine.Context) ImgProfileNameSet {
key := datastore.NewKey(context, "ImgProfileNameSet", "ImgProfileNameSet", 0, nil)
allProfiles := ImgProfileNameSet{}
if err := datastore.Get(context, key, &allProfiles); err != nil {
(context).Infof("No profile could be retrieved")
retu... | [
-0.4374420642852783,
0.048525143414735794,
0.582654595375061,
-0.7118341326713562,
-0.1785900890827179,
-0.48453572392463684,
-0.6322875618934631,
-1.0324559211730957,
0.4636167883872986,
0.11635521054267883,
-0.21966125071048737,
0.3011585474014282,
-0.31064364314079285,
-0.00504206586629... |
func (m *PickList) UnmarshalJSON(raw []byte) error {
// AO0
var aO0 PickListMetadata
if err := swag.ReadJSON(raw, &aO0); err != nil {
return err
}
m.PickListMetadata = aO0
// now for regular properties
var propsPickList struct {
Items []string `json:"items"`
}
if err := swag.ReadJSON(raw, &propsPickList);... | [
-0.6867408752441406,
-0.3832504451274872,
0.490386039018631,
-1.4268985986709595,
-0.2882874011993408,
-0.09175723791122437,
0.5859614610671997,
0.9246598482131958,
0.10846437513828278,
0.8371389508247375,
-0.8493250608444214,
-0.6397578716278076,
0.7765163779258728,
0.023435238748788834,
... |
func (m PickList) MarshalJSON() ([]byte, error) {
_parts := make([][]byte, 0, 1)
aO0, err := swag.WriteJSON(m.PickListMetadata)
if err != nil {
return nil, err
}
_parts = append(_parts, aO0)
// now for regular properties
var propsPickList struct {
Items []string `json:"items"`
}
propsPickList.Items = m.I... | [
-0.4270917475223541,
-0.660888135433197,
0.43320032954216003,
-0.25090423226356506,
0.12440107762813568,
-0.18446053564548492,
0.2089100331068039,
0.9661726951599121,
0.24865145981311798,
0.7222196459770203,
-1.1253098249435425,
-0.07461442053318024,
0.4046500027179718,
0.1788504719734192,... |
func (m *PickList) Validate(formats strfmt.Registry) error {
var res []error
// validation for a type composition with PickListMetadata
if err := m.PickListMetadata.Validate(formats); err != nil {
res = append(res, err)
}
if len(res) > 0 {
return errors.CompositeValidationError(res...)
}
return nil
} | [
-0.4986622631549835,
-0.4493197798728943,
0.2392258197069168,
-0.06251612305641174,
1.1907618045806885,
0.3930189609527588,
0.5746665596961975,
-0.11014571040868759,
-0.5289849042892456,
0.8706158995628357,
-0.24740414321422577,
-0.7735933661460876,
-0.4381811022758484,
0.354540079832077,
... |
func (cmd CountCmd) Run(ctx context.Context) error {
s := stathat.New().Token(cmd.AccessToken)
list, err := s.StatListAll()
filter := cmd.Match.Filter()
var matched, total int
for _, stat := range list {
if err := ctx.Err(); err != nil {
return err
}
total++
if filter(stat) {
matched++
}
}
if cmd... | [
0.31456032395362854,
-0.3078705072402954,
1.0538322925567627,
-0.19456274807453156,
0.2889921963214874,
0.4983806610107422,
0.952112078666687,
0.5697586536407471,
-0.2264130413532257,
-0.6055382490158081,
-0.19255711138248444,
-0.13756808638572693,
0.11302383989095688,
0.4996967613697052,
... |
func (u *UnknownProvider) Login(ctx context.Context) (string, error) {
return "", errors.New("Cannot log in using unknown provider")
} | [
-0.9381999373435974,
-0.272334486246109,
0.3046838045120239,
0.15191936492919922,
-0.34673643112182617,
0.8044493794441223,
-0.35016122460365295,
-0.16366785764694214,
0.8245372176170349,
0.3968472480773926,
-0.6314255595207214,
1.2985366582870483,
0.10872168093919754,
-0.6127472519874573,... |
func (u *UnknownProvider) GetProviderString() string {
return "unknown"
} | [
-1.1140066385269165,
-0.015513732098042965,
0.28650733828544617,
0.3561197817325592,
-0.27433910965919495,
1.0861128568649292,
-0.6398918032646179,
0.011539661325514317,
0.8014315366744995,
-0.12607423961162567,
0.10400635749101639,
0.42767101526260376,
-0.4780484139919281,
-0.187222972512... |
func (u *UnknownProvider) GetAccessToken() string {
return ""
} | [
-0.271135538816452,
-0.0890941321849823,
0.38492995500564575,
-0.058548007160425186,
-0.23062847554683685,
0.42409950494766235,
0.48344114422798157,
0.44598978757858276,
0.9275923371315002,
-0.2480286806821823,
-0.08477457612752914,
1.305597186088562,
0.4702562689781189,
-0.225912466645240... |
func NewProvider(provider, username, password string) (Provider, error) {
switch provider {
case "ptc":
return ptc.NewProvider(username, password), nil
case "google":
return google.NewProvider(username, password), nil
default:
return &UnknownProvider{}, fmt.Errorf("Provider \"%s\" is not supported", provider)... | [
-0.2732929289340973,
-0.09188536554574966,
0.05059292912483215,
1.0468988418579102,
-1.0595676898956299,
0.40157586336135864,
-0.6312739253044128,
-0.1928502470254898,
0.31130197644233704,
0.707429826259613,
0.5562049150466919,
0.5426645874977112,
-0.6015082001686096,
0.07104245573282242,
... |
func (s *Server) remove(pkg string) string {
s.Lock()
defer s.Unlock()
deps := s.registry[pkg]
if deps != nil {
if len(deps.parent)>0 {
return FAIL
} else {
//remove pkg
delete(s.registry,pkg)
//clean its dependencies parent
for cn,_ := range deps.children {
c := s.registry[cn]
delete(c... | [
-0.8231925964355469,
0.5915656089782715,
0.6887754797935486,
-0.4118399918079376,
-0.9184891581535339,
0.03979428857564926,
0.38348785042762756,
0.5509032607078552,
0.844305157661438,
0.6003398895263672,
-0.9236301779747009,
-0.3448130786418915,
-0.7094601988792419,
0.7532195448875427,
-... |
func (s *Server) removePkgAndParent(pkg string) {
deps := s.registry[pkg]
if deps != nil {
delete(s.registry,pkg)
log.Println("remove ",pkg," because dependencies lost")
//clean its dependencies parent
for cn,_ := range deps.children {
c := s.registry[cn]
delete(c.parent,pkg)
}
//remove its parents,... | [
-0.7025856971740723,
-0.20495031774044037,
0.45914629101753235,
-0.8093858957290649,
-1.0706086158752441,
0.35983532667160034,
0.5236049294471741,
0.6244878172874451,
0.5252985954284668,
-0.0894978940486908,
-0.6960699558258057,
-0.5447462201118469,
-0.09877116233110428,
1.3883525133132935... |
func (s *Server) query(pkg string) string {
s.RLock()
defer s.RUnlock()
if s.registry[pkg] == nil {
return FAIL
}
return OK
} | [
-0.7951048016548157,
0.7470159530639648,
0.3135133981704712,
0.02052530273795128,
-0.06929827481508255,
-0.09968257695436478,
-0.3866167366504669,
-0.23611919581890106,
0.6526833176612854,
0.7271732687950134,
0.3554016053676605,
0.29745572805404663,
-0.9916399717330933,
0.3089390993118286,... |
func NewMFAManager(h database.MgoSession, r service.InternalRegistry) MFAManagerInterface {
m := &MFAManager{
r: r,
authLogService: service.NewAuthLogService(h, r.GeoIpService()),
mfaService: service.NewMfaService(h),
userService: service.NewUserService(h),
}
return m
} | [
-0.8334128260612488,
-0.15653228759765625,
0.31907179951667786,
0.5251927971839905,
-0.9258233308792114,
-0.14464052021503448,
-0.556915819644928,
-0.4680500328540802,
1.555761694908142,
-0.7508832812309265,
-0.9011225700378418,
0.1439545452594757,
-0.13142019510269165,
2.0504684448242188,... |
func (t *testResult) PrettyPrint() string {
out := t.PrettyPrintLines()
return strings.Join(out, "\n")
} | [
0.9773197174072266,
-0.38637620210647583,
0.4356950521469116,
-0.5136201977729797,
0.3121720850467682,
0.6138607263565063,
-0.1611841917037964,
-0.664011538028717,
-0.34838324785232544,
-0.35141366720199585,
0.8661542534828186,
-0.5800439715385437,
-0.8169477581977844,
-0.6959108710289001,... |
func (t *testResult) PrettyPrintLines() []string {
attrs := t.Attributes()
out := []string{}
out = append(out, fmt.Sprintf("request: %s %s", attrs.Method, attrs.Path))
if len(attrs.Headers) > 0 {
pairs := make([]string, 0, len(attrs.Headers))
for key, value := range attrs.Headers {
pairs = append(pairs, fmt.... | [
-0.1717349737882614,
-0.40128985047340393,
0.776517391204834,
-1.1052461862564087,
-0.13625657558441162,
-0.2619015574455261,
-0.7636350989341736,
-0.5773875713348389,
-0.17430739104747772,
0.34107592701911926,
0.7271254658699036,
-0.5649938583374023,
0.3506641983985901,
0.2751962840557098... |
func (t *testResult) prettyPrintRoute() string {
def := t.route.Print(eskip.PrettyPrintInfo{
Pretty: true,
IndentStr: " ",
})
return fmt.Sprintf("%s: %s\n", t.route.Id, def)
} | [
0.19446530938148499,
-0.31540724635124207,
0.5470672845840454,
-0.7179357409477234,
0.8996056318283081,
-0.012656756676733494,
-0.744473397731781,
0.0728534609079361,
-0.7776015400886536,
0.2566891610622406,
0.1717604398727417,
0.21355867385864258,
-0.6666988730430603,
0.1480989307165146,
... |
func New(o *Options) (Matcher, error) {
// creates data clients
dataClients, err := createDataClients(o.RoutesFile)
if err != nil {
return nil, err
}
routing := createRouting(dataClients, o)
return &matcher{
routing,
}, nil
} | [
0.18097472190856934,
-0.5300192832946777,
0.43810373544692993,
-0.6455439925193787,
0.07613220810890198,
0.11578752845525742,
0.27080193161964417,
0.46209025382995605,
-0.28276610374450684,
-0.3119819462299347,
-0.22517246007919312,
0.010456039570271969,
-0.043642282485961914,
0.3664914965... |
func (f *matcher) Test(attributes *RequestAttributes) TestResult {
req, _ := createHTTPRequest(attributes)
// find a match
route, _ := f.routing.Route(req)
var eroute eskip.Route
if route != nil {
eroute = route.Route
}
if eroute.Id == "" {
return &testResult{
nil,
req,
attributes,
}
}
resul... | [
-0.5492697358131409,
-0.2299552708864212,
0.652018666267395,
-0.7433501482009888,
0.1739342361688614,
-0.624906063079834,
0.34157758951187134,
-0.3479228615760803,
-0.06523221731185913,
-0.49308711290359497,
0.3261694014072418,
-0.5207247734069824,
-0.3911340534687042,
-0.4553164541721344,... |
func mockFilters(filterNames []string) []filters.Spec {
fs := make([]filters.Spec, len(filterNames))
for i, filterName := range filterNames {
fs[i] = &filtertest.Filter{
FilterName: filterName,
}
}
return fs
} | [
-1.453420639038086,
-0.42489656805992126,
0.5760349631309509,
-0.0939066931605339,
0.33076393604278564,
0.11972981691360474,
0.5628944039344788,
-0.16537612676620483,
0.24091964960098267,
0.3497510254383087,
-0.0768907442688942,
0.43912771344184875,
-0.656848132610321,
0.012306024320423603... |
func CanTransact(side gctorder.Side) bool {
return side.IsLong() || side.IsShort() || side == gctorder.ClosePosition
} | [
-0.111959308385849,
0.3151992857456207,
0.6558656692504883,
-0.3936057686805725,
-1.2312994003295898,
0.08241832256317139,
-0.3433246612548828,
-0.42837586998939514,
-0.26749080419540405,
0.7131898403167725,
-0.5627532005310059,
-0.2364957630634308,
0.09271754324436188,
0.01710443571209907... |
func DataTypeToInt(dataType string) (int64, error) {
switch dataType {
case CandleStr:
return DataCandle, nil
case TradeStr:
return DataTrade, nil
default:
return 0, fmt.Errorf("unrecognised dataType '%v'", dataType)
}
} | [
0.04516397416591644,
0.11643997579813004,
0.2327943742275238,
-0.9203353524208069,
-0.3027825355529785,
-0.9786894917488098,
-0.032332051545381546,
-0.28099870681762695,
0.21512667834758759,
0.6294145584106445,
-0.6756780743598938,
0.42921334505081177,
-0.13252870738506317,
-0.211302742362... |
func GenerateFileName(fileName, extension string) (string, error) {
if fileName == "" {
return "", fmt.Errorf("%w missing filename", errCannotGenerateFileName)
}
if extension == "" {
return "", fmt.Errorf("%w missing filename extension", errCannotGenerateFileName)
}
reg := regexp.MustCompile(`[\w-]`)
parsedF... | [
0.14046764373779297,
-0.8293127417564392,
1.1818000078201294,
0.5022526979446411,
0.24439583718776703,
0.12442992627620697,
-0.29014408588409424,
1.0608121156692505,
-0.17479582130908966,
0.5340377688407898,
0.23633801937103271,
0.1886058747768402,
-0.5456928014755249,
0.4022250771522522,
... |
func FitStringToLimit(str, spacer string, limit int, upper bool) string {
if limit < 0 {
return str
}
if limit == 0 {
return ""
}
limResp := limit - len(str)
if upper {
str = strings.ToUpper(str)
}
if limResp < 0 {
if limit-3 > 0 {
return str[0:limit-3] + "..."
}
return str[0:limit]
}
spacerLen... | [
0.18733756244182587,
-0.687293529510498,
0.7964726090431213,
0.31560659408569336,
-0.5876690745353699,
0.29220935702323914,
-0.6627265810966492,
0.10432139784097672,
0.34972918033599854,
0.1692097783088684,
1.2428967952728271,
1.0217950344085693,
-0.5510062575340271,
-1.0388456583023071,
... |
func RegisterBacktesterSubLoggers() error {
var err error
Backtester, err = log.NewSubLogger("Backtester")
if err != nil {
return err
}
LiveStrategy, err = log.NewSubLogger("LiveStrategy")
if err != nil {
return err
}
Setup, err = log.NewSubLogger("Setup")
if err != nil {
return err
}
Strategy, err = l... | [
0.7935678958892822,
-0.038280222564935684,
0.9449540376663208,
0.3356980085372925,
0.552118182182312,
-0.38037368655204773,
0.08029729127883911,
-0.43848076462745667,
-0.35855355858802795,
0.589005708694458,
-1.0873051881790161,
1.1600322723388672,
-0.645695686340332,
0.30031338334083557,
... |
func PurgeColours() {
CMDColours.Green = ""
CMDColours.White = ""
CMDColours.Grey = ""
CMDColours.Default = ""
CMDColours.H1 = ""
CMDColours.H2 = ""
CMDColours.H3 = ""
CMDColours.H4 = ""
CMDColours.Success = ""
CMDColours.Info = ""
CMDColours.Debug = ""
CMDColours.Warn = ""
CMDColours.DarkGrey = ""
CMDCol... | [
-0.35222578048706055,
0.06061679124832153,
0.575153112411499,
-1.1638153791427612,
0.7964257597923279,
-0.6137239933013916,
-0.6066889762878418,
-1.092815637588501,
-0.1162172332406044,
-0.28647395968437195,
-0.714030921459198,
0.1753484010696411,
-0.4301522374153137,
0.7837142944335938,
... |
func SetColours(colours *Colours) {
if colours.Default != "" && colours.Default != CMDColours.Default {
CMDColours.Default = colours.Default
}
if colours.Green != "" && colours.Green != CMDColours.Green {
CMDColours.Green = colours.Green
}
if colours.Error != "" && colours.Error != CMDColours.Error {
CMDColo... | [
-0.41884469985961914,
-0.30042263865470886,
0.7086891531944275,
-0.5175032615661621,
-0.10254888236522675,
-0.30227816104888916,
-0.40610718727111816,
-0.49591323733329773,
-0.19446487724781036,
-0.5983520746231079,
-0.38880157470703125,
-0.31678298115730286,
-0.7159058451652527,
1.3130239... |
func Logo() string {
sb := strings.Builder{}
sb.WriteString(" \n")
sb.WriteString(" " + CMDColours.White + "@@@@@@@@@@@@@@@@@ \n")
sb.WriteString(" "... | [
0.37580737471580505,
-0.2638951539993286,
1.345811128616333,
-0.8021588921546936,
-0.41004958748817444,
-0.6391046047210693,
-0.09068994224071503,
-0.32706889510154724,
-0.3328206539154053,
-0.05896095186471939,
-0.7025752663612366,
-0.18640325963497162,
0.8619489073753357,
0.3496979475021... |
func TryIfModifiedSinceQuery(tx *sqlx.Tx, h http.Header, queryValues map[string]interface{}, query string) (bool, time.Time) {
var maxTime time.Time
ims := []string{}
var imsDate time.Time
var ok bool
runSecond := true
dontRunSecond := false
if h == nil {
return runSecond, maxTime
}
ims = h[rfc.IfModifiedSin... | [
-0.2912488579750061,
0.27217546105384827,
0.7642089128494263,
0.08024270087480545,
-0.4054584801197052,
-0.6690477132797241,
-1.0887062549591064,
-0.3525366187095642,
0.4044826030731201,
-0.1982845962047577,
0.5539713501930237,
0.04499883949756622,
0.05328875035047531,
1.3084152936935425,
... |
func GetPipeline(email Email) Pipeline {
if email.From == "me@wildbit.com" {
return PipeA
}
return PipeB
} | [
0.4969528317451477,
0.35545614361763,
0.36630940437316895,
0.32733991742134094,
0.536974310874939,
-0.1420770287513733,
-0.20219892263412476,
0.09428054094314575,
-0.6258826851844788,
-0.09351979196071625,
0.5122467279434204,
1.2152186632156372,
-0.43264317512512207,
-0.637895405292511,
... |
func NewMockReaderStorage(ctrl *gomock.Controller) *MockReaderStorage {
mock := &MockReaderStorage{ctrl: ctrl}
mock.recorder = &MockReaderStorageMockRecorder{mock}
return mock
} | [
-0.016280097886919975,
-0.4265006184577942,
0.11560449749231339,
0.032450299710035324,
0.31123751401901245,
-0.5585666298866272,
0.1545565277338028,
-0.5063239932060242,
0.3105384111404419,
0.052171491086483,
0.29809141159057617,
-0.7102352976799011,
-0.45389848947525024,
0.660442352294921... |
func (m *MockReaderStorage) EXPECT() *MockReaderStorageMockRecorder {
return m.recorder
} | [
-0.03363388031721115,
-0.5273287892341614,
0.29476645588874817,
0.04912286251783371,
0.3974514305591583,
-0.2657678723335266,
-0.5518051981925964,
0.26335611939430237,
0.30126410722732544,
-0.4010423421859741,
1.0377092361450195,
0.5250097513198853,
-0.6320475339889526,
0.27660733461380005... |
func (m *MockReaderStorage) Distinct(ctx context.Context, field string, filter interface{}, opts *options.DistinctOptions) ([]interface{}, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "Distinct", ctx, field, filter, opts)
ret0, _ := ret[0].([]interface{})
ret1, _ := ret[1].(error)
return ret0, ret1
} | [
-0.951571524143219,
-0.15353864431381226,
0.3252514600753784,
0.3834635317325592,
1.2408944368362427,
0.7127010226249695,
1.0418510437011719,
0.043255358934402466,
-0.6389697194099426,
-0.74910968542099,
-0.6631885170936584,
-0.15122541785240173,
-0.4576026201248169,
0.36843809485435486,
... |
func (mr *MockReaderStorageMockRecorder) Distinct(ctx, field, filter, opts interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Distinct", reflect.TypeOf((*MockReaderStorage)(nil).Distinct), ctx, field, filter, opts)
} | [
-0.07522799074649811,
0.49349120259284973,
0.33101099729537964,
0.33809128403663635,
0.49075204133987427,
0.8677741289138794,
-0.15220685303211212,
-0.7486487627029419,
0.4112638831138611,
-0.2732575535774231,
0.3820119798183441,
0.5764961838722229,
-0.507803201675415,
0.8899138569831848,
... |
func (m *MockReaderStorage) Find(ctx context.Context, filter interface{}, opts *options.FindOptions) (*mongo.Cursor, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "Find", ctx, filter, opts)
ret0, _ := ret[0].(*mongo.Cursor)
ret1, _ := ret[1].(error)
return ret0, ret1
} | [
-0.5997990369796753,
-0.03789665549993515,
0.18928076326847076,
0.46503233909606934,
1.0505558252334595,
-0.042886681854724884,
1.1314088106155396,
-0.4079672694206238,
-0.8109346628189087,
0.21787190437316895,
-0.166601300239563,
-0.5981826782226562,
-0.7624933123588562,
0.906036019325256... |
func (mr *MockReaderStorageMockRecorder) Find(ctx, filter, opts interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Find", reflect.TypeOf((*MockReaderStorage)(nil).Find), ctx, filter, opts)
} | [
-0.11914604157209396,
0.44438350200653076,
0.13694846630096436,
0.06680674850940704,
0.09757822006940842,
-0.10771859437227249,
-0.14056415855884552,
-1.4563931226730347,
0.09344885498285294,
0.5559573769569397,
0.8490577340126038,
0.2394939810037613,
-1.179695963859558,
1.513431429862976,... |
func NewInformationProtection()(*InformationProtection) {
m := &InformationProtection{
Entity: *NewEntity(),
}
return m
} | [
-0.46488791704177856,
-0.07863950729370117,
-0.1804196536540985,
0.7746530175209045,
-0.09475935995578766,
-0.6584969162940979,
-0.1259010285139084,
-0.898012638092041,
-0.18609710037708282,
0.22393737733364105,
-0.7399441003799438,
-0.594168484210968,
-1.018716812133789,
0.189297318458557... |
func CreateInformationProtectionFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) {
return NewInformationProtection(), nil
} | [
0.4632371962070465,
-0.10786040872335434,
0.2397851198911667,
-0.0019199292873963714,
-0.3683103322982788,
0.5043821930885315,
0.057464610785245895,
-0.23530592024326324,
0.16834686696529388,
-0.40300893783569336,
-0.046297844499349594,
-0.058654092252254486,
-0.3835150897502899,
0.4157859... |
func (m *InformationProtection) GetBitlocker()(Bitlockerable) {
val, err := m.GetBackingStore().Get("bitlocker")
if err != nil {
panic(err)
}
if val != nil {
return val.(Bitlockerable)
}
return nil
} | [
-0.3938874304294586,
0.6027477979660034,
0.40073272585868835,
1.1712602376937866,
0.49699118733406067,
0.5108680725097656,
0.24961841106414795,
-1.0136568546295166,
-0.03907489776611328,
-0.6057195663452148,
0.2149706482887268,
-0.07004936039447784,
-0.921233594417572,
-0.00121535419020801... |
func (m *InformationProtection) GetDataLossPreventionPolicies()([]DataLossPreventionPolicyable) {
val, err := m.GetBackingStore().Get("dataLossPreventionPolicies")
if err != nil {
panic(err)
}
if val != nil {
return val.([]DataLossPreventionPolicyable)
}
return nil
} | [
0.019496984779834747,
0.45245128870010376,
0.36103343963623047,
0.30156055092811584,
0.1918867826461792,
0.3785327076911926,
-0.8814286589622498,
0.3434615433216095,
1.2392090559005737,
-0.5494197010993958,
0.07549936324357986,
1.0480669736862183,
-0.10552529990673065,
-0.5527685284614563,... |
func (m *InformationProtection) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) {
res := m.Entity.GetFieldDeserializers()
res["bitlocker"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error {
... | [
0.10873821377754211,
0.26006874442100525,
0.582586944103241,
-0.4456188976764679,
0.31509268283843994,
-0.05871381238102913,
0.2861268222332001,
-0.02645786851644516,
-0.3291512429714203,
-0.5412849187850952,
-0.5150466561317444,
0.3652000427246094,
-0.7228724360466003,
0.00675146328285336... |
func (m *InformationProtection) GetPolicy()(InformationProtectionPolicyable) {
val, err := m.GetBackingStore().Get("policy")
if err != nil {
panic(err)
}
if val != nil {
return val.(InformationProtectionPolicyable)
}
return nil
} | [
0.8601745963096619,
0.48537084460258484,
0.2248193323612213,
1.4143794775009155,
1.5317047834396362,
0.5112842917442322,
0.45055773854255676,
-0.46011167764663696,
0.3561438322067261,
-0.32628872990608215,
0.24053955078125,
-0.8445963263511658,
-0.7000715732574463,
-1.3297704458236694,
1... |
func (m *InformationProtection) GetSensitivityLabels()([]SensitivityLabelable) {
val, err := m.GetBackingStore().Get("sensitivityLabels")
if err != nil {
panic(err)
}
if val != nil {
return val.([]SensitivityLabelable)
}
return nil
} | [
0.416115939617157,
-0.06950431317090988,
-0.0032280918676406145,
1.4880337715148926,
0.7480454444885254,
0.4051622450351715,
0.22423680126667023,
-0.7460896968841553,
0.47708672285079956,
0.7450087070465088,
-0.755720317363739,
-0.8341879844665527,
-1.1204029321670532,
-0.8290511965751648,... |
func (m *InformationProtection) GetSensitivityPolicySettings()(SensitivityPolicySettingsable) {
val, err := m.GetBackingStore().Get("sensitivityPolicySettings")
if err != nil {
panic(err)
}
if val != nil {
return val.(SensitivityPolicySettingsable)
}
return nil
} | [
0.3969053030014038,
-0.375478595495224,
-0.2634274959564209,
0.8739123344421387,
0.28105390071868896,
0.3216196298599243,
-0.15616467595100403,
-1.1811169385910034,
0.10962344706058502,
0.24024659395217896,
-0.8908010721206665,
-0.8223344683647156,
-1.5960633754730225,
-1.0265852212905884,... |
func (m *InformationProtection) GetThreatAssessmentRequests()([]ThreatAssessmentRequestable) {
val, err := m.GetBackingStore().Get("threatAssessmentRequests")
if err != nil {
panic(err)
}
if val != nil {
return val.([]ThreatAssessmentRequestable)
}
return nil
} | [
-0.18295888602733612,
-0.6079323291778564,
0.11852730810642242,
0.404567152261734,
0.7363367080688477,
0.6032201051712036,
0.2434248924255371,
-0.8832839727401733,
0.6380477547645569,
0.6656796336174011,
-0.09882185608148575,
-0.5919215083122253,
-0.8247631192207336,
-0.38584449887275696,
... |
func (m *InformationProtection) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) {
err := m.Entity.Serialize(writer)
if err != nil {
return err
}
{
err = writer.WriteObjectValue("bitlocker", m.GetBitlocker())
if err !=... | [
0.02134048379957676,
-0.115165114402771,
0.6930593252182007,
0.041472531855106354,
0.7541000247001648,
0.13818448781967163,
0.86404949426651,
-0.39025524258613586,
0.03445926308631897,
0.47638967633247375,
-0.42924192547798157,
-0.13642056286334991,
-0.7250322103500366,
0.0215587317943573,... |
func (m *InformationProtection) SetBitlocker(value Bitlockerable)() {
err := m.GetBackingStore().Set("bitlocker", value)
if err != nil {
panic(err)
}
} | [
-0.7196608185768127,
0.34180501103401184,
0.1598728597164154,
0.9573134183883667,
0.1370503008365631,
0.9645493626594543,
0.5281007289886475,
-0.7154848575592041,
-0.5446264743804932,
-0.1723625659942627,
-0.3395518660545349,
-0.8354541659355164,
-0.8269520401954651,
0.7720146179199219,
... |
func (m *InformationProtection) SetDataLossPreventionPolicies(value []DataLossPreventionPolicyable)() {
err := m.GetBackingStore().Set("dataLossPreventionPolicies", value)
if err != nil {
panic(err)
}
} | [
-0.30036088824272156,
0.26599809527397156,
0.3883316218852997,
-0.15938787162303925,
-0.26380497217178345,
0.5518959760665894,
-0.7675506472587585,
0.5823283791542053,
1.0008920431137085,
-0.6328747868537903,
-0.18399079144001007,
0.4776107668876648,
-0.2006136178970337,
-0.658871591091156... |
func (m *InformationProtection) SetPolicy(value InformationProtectionPolicyable)() {
err := m.GetBackingStore().Set("policy", value)
if err != nil {
panic(err)
}
} | [
0.5716611742973328,
0.597364068031311,
-0.0036606076173484325,
1.4651652574539185,
1.1914960145950317,
1.1407289505004883,
0.6757951378822327,
-0.13130679726600647,
-0.10917884111404419,
-0.15075452625751495,
-0.39693546295166016,
-1.416945219039917,
-0.2657359540462494,
-0.575474858283996... |
func (m *InformationProtection) SetSensitivityLabels(value []SensitivityLabelable)() {
err := m.GetBackingStore().Set("sensitivityLabels", value)
if err != nil {
panic(err)
}
} | [
0.050555966794490814,
0.02458173967897892,
-0.2857618033885956,
0.877577006816864,
0.29757067561149597,
0.5424573421478271,
0.41030627489089966,
-0.7508794069290161,
0.2400313913822174,
0.6031760573387146,
-0.6436354517936707,
-1.669978141784668,
-1.1553913354873657,
-0.7316411733627319,
... |
func (m *InformationProtection) SetSensitivityPolicySettings(value SensitivityPolicySettingsable)() {
err := m.GetBackingStore().Set("sensitivityPolicySettings", value)
if err != nil {
panic(err)
}
} | [
0.2036328911781311,
-0.6860427260398865,
-0.4349936544895172,
0.5410770177841187,
0.0072553157806396484,
0.34456872940063477,
-0.4005436301231384,
-1.0560016632080078,
-0.15719696879386902,
0.43195849657058716,
-0.9947459101676941,
-1.431864619255066,
-1.1501566171646118,
-0.59907406568527... |
func (m *InformationProtection) SetThreatAssessmentRequests(value []ThreatAssessmentRequestable)() {
err := m.GetBackingStore().Set("threatAssessmentRequests", value)
if err != nil {
panic(err)
}
} | [
-0.4314831793308258,
-0.7562800049781799,
0.01843821443617344,
0.10379403829574585,
0.42520180344581604,
0.7970890998840332,
0.24644716084003448,
-0.7146934866905212,
0.2692275047302246,
0.7810519337654114,
-0.3495079278945923,
-1.1219000816345215,
-0.3925574719905853,
-0.30231910943984985... |
func WithAutoreleasePool(task func()) {
id := cgo.NewHandle(task)
C.Run_WithAutoreleasePool(C.uintptr_t(id))
} | [
0.5689802169799805,
-0.5965917110443115,
0.3674185574054718,
0.31570562720298767,
0.0560477115213871,
-0.13161613047122955,
1.3546996116638184,
0.19283264875411987,
-0.16164521872997284,
0.02622894011437893,
-0.7289832234382629,
0.6632788777351379,
0.6854942440986633,
-0.14412975311279297,... |
func AddDeallocHook(obj Object, hook func()) {
if obj.Ptr() == nil {
panic("cocoa pointer is nil")
}
h := cgo.NewHandle(hook)
C.Dealloc_AddHook(obj.Ptr(), C.uintptr_t(h))
} | [
1.2360410690307617,
0.15190941095352173,
0.8321556448936462,
0.147939532995224,
0.17250214517116547,
0.6858041286468506,
0.2443530112504959,
0.3545427620410919,
0.41853705048561096,
-0.24232935905456543,
-0.021232280880212784,
-0.036909446120262146,
0.11959286779165268,
0.4474833607673645,... |
func (in *ApplicationState) DeepCopyInto(out *ApplicationState) {
*out = *in
return
} | [
0.5294260382652283,
-0.17763766646385193,
0.5669776797294617,
0.09029968082904816,
-1.1451877355575562,
0.6515899300575256,
-0.39687687158584595,
0.6995517611503601,
-0.4773711562156677,
-0.5827316641807556,
-0.5966368317604065,
0.8625315427780151,
0.4697752296924591,
-0.37970447540283203,... |
func (in *ApplicationState) DeepCopy() *ApplicationState {
if in == nil {
return nil
}
out := new(ApplicationState)
in.DeepCopyInto(out)
return out
} | [
-0.27031210064888,
-0.025723552331328392,
0.24130910634994507,
0.6650192737579346,
-1.0583429336547852,
-0.05142493546009064,
-0.33931949734687805,
-0.2656395733356476,
0.6187267303466797,
-0.633450448513031,
-0.06249786168336868,
-0.17378799617290497,
-0.29250767827033997,
-0.677521347999... |
func (in *Dependencies) DeepCopyInto(out *Dependencies) {
*out = *in
if in.Jars != nil {
in, out := &in.Jars, &out.Jars
*out = make([]string, len(*in))
copy(*out, *in)
}
if in.Files != nil {
in, out := &in.Files, &out.Files
*out = make([]string, len(*in))
copy(*out, *in)
}
if in.PyFiles != nil {
in,... | [
0.18018049001693726,
-0.5315099954605103,
0.7579169869422913,
-0.6467428207397461,
-0.7629601955413818,
-0.11638480424880981,
0.48372071981430054,
-0.06692947447299957,
-0.27479714155197144,
-0.6917850375175476,
-0.5258448123931885,
0.14904186129570007,
0.18881256878376007,
0.3245012760162... |
func (in *Dependencies) DeepCopy() *Dependencies {
if in == nil {
return nil
}
out := new(Dependencies)
in.DeepCopyInto(out)
return out
} | [
-0.526679277420044,
-0.45418110489845276,
0.39235854148864746,
1.1367254257202148,
-0.12032782286405563,
-0.04526018351316452,
0.5500282049179077,
-0.17462484538555145,
0.4149939715862274,
-0.8928946256637573,
-0.5016379952430725,
-0.13433632254600525,
-0.5883026123046875,
-0.5512760877609... |
func (in *DriverInfo) DeepCopyInto(out *DriverInfo) {
*out = *in
return
} | [
0.17102846503257751,
-0.5271929502487183,
0.49899932742118835,
-0.1448274850845337,
-0.7396220564842224,
0.34934622049331665,
-0.2969411313533783,
0.9499039053916931,
-1.0993045568466187,
-0.7733833193778992,
-0.6699837446212769,
0.5065605044364929,
-0.11449435353279114,
-0.214869529008865... |
func (in *DriverInfo) DeepCopy() *DriverInfo {
if in == nil {
return nil
}
out := new(DriverInfo)
in.DeepCopyInto(out)
return out
} | [
-0.6061307191848755,
-0.7221906781196594,
0.1978543996810913,
0.23064199090003967,
0.04511670023202896,
0.02753423899412155,
0.06462918221950531,
-0.10620346665382385,
-0.36501526832580566,
-0.30464300513267517,
-0.5655578374862671,
-0.4545966386795044,
-0.5986399054527283,
-0.164695024490... |
func (in *DriverSpec) DeepCopyInto(out *DriverSpec) {
*out = *in
in.SparkPodSpec.DeepCopyInto(&out.SparkPodSpec)
if in.PodName != nil {
in, out := &in.PodName, &out.PodName
*out = new(string)
**out = **in
}
if in.ServiceAccount != nil {
in, out := &in.ServiceAccount, &out.ServiceAccount
*out = new(string... | [
0.28360715508461,
-0.3573931157588959,
0.6790316700935364,
-0.309231698513031,
-0.2154354751110077,
-0.2708488404750824,
-0.4322187900543213,
0.07619104534387589,
-1.233673334121704,
-0.3562508225440979,
-0.33848676085472107,
0.47645390033721924,
0.05473100021481514,
-0.32013896107673645,
... |
func (in *DriverSpec) DeepCopy() *DriverSpec {
if in == nil {
return nil
}
out := new(DriverSpec)
in.DeepCopyInto(out)
return out
} | [
-0.01053526345640421,
0.04475631192326546,
0.49599024653434753,
0.12802055478096008,
-0.061876777559518814,
0.08917683362960815,
0.0392940416932106,
0.05165126547217369,
-0.22094954550266266,
0.15900495648384094,
-0.25979939103126526,
-0.36956465244293213,
-0.16804173588752747,
-0.50486958... |
func (in *ExecutorSpec) DeepCopyInto(out *ExecutorSpec) {
*out = *in
in.SparkPodSpec.DeepCopyInto(&out.SparkPodSpec)
if in.Instances != nil {
in, out := &in.Instances, &out.Instances
*out = new(int32)
**out = **in
}
if in.CoreRequest != nil {
in, out := &in.CoreRequest, &out.CoreRequest
*out = new(string... | [
0.2848486602306366,
0.21220681071281433,
0.6356605291366577,
-0.6458481550216675,
-0.06849939376115799,
-0.3004077076911926,
0.1196785569190979,
0.3856179118156433,
-1.4591470956802368,
-0.3442353904247284,
-0.4394538104534149,
1.1710566282272339,
0.15722313523292542,
-0.059481289237737656... |
func (in *ExecutorSpec) DeepCopy() *ExecutorSpec {
if in == nil {
return nil
}
out := new(ExecutorSpec)
in.DeepCopyInto(out)
return out
} | [
-0.15581758320331573,
0.2755446434020996,
0.19707249104976654,
-0.6046165823936462,
0.0026808076072484255,
0.0737214982509613,
0.34470874071121216,
0.24956299364566803,
-0.2710632085800171,
0.2919411361217499,
-0.4420233964920044,
0.22893713414669037,
0.2577090859413147,
0.1350736469030380... |
func (in *GPUSpec) DeepCopyInto(out *GPUSpec) {
*out = *in
return
} | [
0.7824998497962952,
0.520465612411499,
0.538651168346405,
0.08404520153999329,
-0.6662853956222534,
0.6688367128372192,
0.30796095728874207,
0.6544610857963562,
-1.3192083835601807,
0.028371797874569893,
-0.3969591557979584,
1.1606751680374146,
0.6380205154418945,
-0.5822049379348755,
-0... |
func (in *GPUSpec) DeepCopy() *GPUSpec {
if in == nil {
return nil
}
out := new(GPUSpec)
in.DeepCopyInto(out)
return out
} | [
-0.028482113033533096,
0.881049394607544,
0.21390938758850098,
0.39150750637054443,
-0.4176589548587799,
0.31489235162734985,
0.2917754352092743,
0.006463850382715464,
-0.42895159125328064,
0.37425151467323303,
-0.25476643443107605,
0.17801588773727417,
0.4544718563556671,
-0.8225814700126... |
func (in *MonitoringSpec) DeepCopyInto(out *MonitoringSpec) {
*out = *in
if in.MetricsProperties != nil {
in, out := &in.MetricsProperties, &out.MetricsProperties
*out = new(string)
**out = **in
}
if in.Prometheus != nil {
in, out := &in.Prometheus, &out.Prometheus
*out = new(PrometheusSpec)
(*in).DeepC... | [
0.8928990960121155,
0.10127417743206024,
0.4907588064670563,
-0.0997932106256485,
-0.22867976129055023,
0.5848660469055176,
-0.3718577027320862,
0.2239242047071457,
-1.327093482017517,
0.04767259210348129,
-0.3999599516391754,
0.8098101019859314,
0.1180490180850029,
-0.2829100787639618,
... |
func (in *MonitoringSpec) DeepCopy() *MonitoringSpec {
if in == nil {
return nil
}
out := new(MonitoringSpec)
in.DeepCopyInto(out)
return out
} | [
0.25268658995628357,
0.4687248468399048,
0.2013384848833084,
0.480734646320343,
-0.24198155105113983,
0.9007163047790527,
-0.05800363048911095,
-0.29268738627433777,
-0.336426705121994,
0.5577714443206787,
-0.5135937929153442,
-0.20182588696479797,
0.0028591316659003496,
-0.675733029842376... |
func (in *NameKey) DeepCopyInto(out *NameKey) {
*out = *in
return
} | [
-0.18394437432289124,
0.42902395129203796,
0.6103076338768005,
-0.23846442997455597,
-1.6020843982696533,
0.7176672220230103,
-0.5709043741226196,
0.09063370525836945,
-1.0725500583648682,
0.1313406527042389,
-1.3330672979354858,
1.1874562501907349,
-0.21478016674518585,
0.1765664368867874... |
func (in *NameKey) DeepCopy() *NameKey {
if in == nil {
return nil
}
out := new(NameKey)
in.DeepCopyInto(out)
return out
} | [
-0.9881843328475952,
0.47983643412590027,
0.4366626739501953,
0.7690646052360535,
-0.8985620141029358,
0.3513270318508148,
-0.23089399933815002,
-1.3356035947799683,
0.12444181740283966,
0.6753122806549072,
-0.9214584827423096,
0.9260448217391968,
-1.2519949674606323,
0.27937576174736023,
... |
func (in *NamePath) DeepCopyInto(out *NamePath) {
*out = *in
return
} | [
0.38732507824897766,
0.2621590495109558,
0.5970157980918884,
-0.012544486671686172,
-1.4424115419387817,
1.0738824605941772,
-0.11620722711086273,
0.1658940464258194,
-0.5921282768249512,
-0.3703603148460388,
-1.4024709463119507,
0.8655036687850952,
-0.06201675534248352,
-0.326081097126007... |
func (in *NamePath) DeepCopy() *NamePath {
if in == nil {
return nil
}
out := new(NamePath)
in.DeepCopyInto(out)
return out
} | [
-0.4212535321712494,
0.36381444334983826,
0.38921689987182617,
1.1227997541427612,
-1.0942084789276123,
0.6004042625427246,
0.15850494801998138,
-1.1956002712249756,
0.6593033075332642,
0.4061489701271057,
-0.8612104058265686,
0.08419813960790634,
-1.3475801944732666,
-0.4440436065196991,
... |
func (in *PrometheusSpec) DeepCopyInto(out *PrometheusSpec) {
*out = *in
if in.Port != nil {
in, out := &in.Port, &out.Port
*out = new(int32)
**out = **in
}
if in.ConfigFile != nil {
in, out := &in.ConfigFile, &out.ConfigFile
*out = new(string)
**out = **in
}
if in.Configuration != nil {
in, out := ... | [
0.7119054794311523,
-0.13580696284770966,
0.6032353639602661,
-0.44014647603034973,
-0.4413760304450989,
0.3834289014339447,
-0.09261968731880188,
0.3577254116535187,
-1.4141685962677002,
-0.12063243985176086,
-0.8737266063690186,
0.9427253007888794,
-0.35186150670051575,
-0.27558732032775... |
func (in *PrometheusSpec) DeepCopy() *PrometheusSpec {
if in == nil {
return nil
}
out := new(PrometheusSpec)
in.DeepCopyInto(out)
return out
} | [
0.5265718102455139,
0.2256024181842804,
0.0842871218919754,
0.42554184794425964,
-0.5975943207740784,
0.5225415229797363,
0.004654592368751764,
-0.05353567376732826,
-0.3837016224861145,
-0.037076130509376526,
-0.841827929019928,
0.4300404191017151,
-0.5539093017578125,
-0.3547958731651306... |
func (in *RestartPolicy) DeepCopyInto(out *RestartPolicy) {
*out = *in
if in.OnSubmissionFailureRetries != nil {
in, out := &in.OnSubmissionFailureRetries, &out.OnSubmissionFailureRetries
*out = new(int32)
**out = **in
}
if in.OnFailureRetries != nil {
in, out := &in.OnFailureRetries, &out.OnFailureRetries
... | [
0.4330226480960846,
0.23846499621868134,
0.45409417152404785,
-0.32135897874832153,
-0.18626295030117035,
0.21612414717674255,
0.0037562905345112085,
0.2884317636489868,
-0.7031967639923096,
-0.29793837666511536,
-0.4074748754501343,
1.0379860401153564,
-0.9454271793365479,
-0.122149728238... |
func (in *RestartPolicy) DeepCopy() *RestartPolicy {
if in == nil {
return nil
}
out := new(RestartPolicy)
in.DeepCopyInto(out)
return out
} | [
0.24529899656772614,
0.15745419263839722,
-0.3016888499259949,
0.4904809296131134,
0.5233505964279175,
0.39651280641555786,
0.5488075017929077,
0.34357187151908875,
-0.36512377858161926,
0.31169751286506653,
-0.7908393144607544,
0.7880436182022095,
-0.3768044412136078,
-1.3249390125274658,... |
func (in *ScheduledSparkApplication) DeepCopyInto(out *ScheduledSparkApplication) {
*out = *in
out.TypeMeta = in.TypeMeta
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
in.Spec.DeepCopyInto(&out.Spec)
in.Status.DeepCopyInto(&out.Status)
return
} | [
0.9017802476882935,
-0.8262563943862915,
0.5277675986289978,
0.5013514757156372,
-0.8989189863204956,
0.6101199388504028,
0.37102898955345154,
0.7300328016281128,
-0.8806086778640747,
-0.29695364832878113,
-0.47407782077789307,
1.4732447862625122,
0.3645154535770416,
-0.8752424716949463,
... |
func (in *ScheduledSparkApplication) DeepCopy() *ScheduledSparkApplication {
if in == nil {
return nil
}
out := new(ScheduledSparkApplication)
in.DeepCopyInto(out)
return out
} | [
-0.08009032905101776,
-0.5365728139877319,
0.22244004905223846,
0.5402218103408813,
-0.3917189836502075,
0.623879075050354,
0.5254980325698853,
0.38178756833076477,
0.19444891810417175,
-0.3338702917098999,
-0.513118326663971,
0.5331417918205261,
0.16026070713996887,
-1.15528404712677,
-... |
func (in *ScheduledSparkApplication) DeepCopyObject() runtime.Object {
if c := in.DeepCopy(); c != nil {
return c
}
return nil
} | [
0.47035449743270874,
-0.5482516288757324,
0.6204822659492493,
0.6802221536636353,
-0.557681143283844,
0.9613134860992432,
0.9391635060310364,
0.5217507481575012,
-0.3368605673313141,
-0.5417930483818054,
-0.07150065898895264,
0.404493510723114,
0.289267361164093,
-0.7470357418060303,
-0.... |
func (in *ScheduledSparkApplicationList) DeepCopyInto(out *ScheduledSparkApplicationList) {
*out = *in
out.TypeMeta = in.TypeMeta
out.ListMeta = in.ListMeta
if in.Items != nil {
in, out := &in.Items, &out.Items
*out = make([]ScheduledSparkApplication, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(... | [
0.1559140980243683,
-0.03156407177448273,
0.5818620920181274,
0.8576033711433411,
-0.8264252543449402,
0.09892870485782623,
0.1148429587483406,
1.102899193763733,
-0.6002317667007446,
0.3555217981338501,
-0.6386657953262329,
0.8316226601600647,
-0.020064491778612137,
-0.5268047451972961,
... |
func (in *ScheduledSparkApplicationList) DeepCopy() *ScheduledSparkApplicationList {
if in == nil {
return nil
}
out := new(ScheduledSparkApplicationList)
in.DeepCopyInto(out)
return out
} | [
-0.5883907079696655,
-0.5466930866241455,
0.14801642298698425,
1.1291356086730957,
-0.48333680629730225,
0.08404896408319473,
0.2958114743232727,
0.9443594813346863,
0.2948809564113617,
0.09981094300746918,
-0.8608393669128418,
0.3136947751045227,
0.16625790297985077,
-0.35632452368736267,... |
func (in *ScheduledSparkApplicationList) DeepCopyObject() runtime.Object {
if c := in.DeepCopy(); c != nil {
return c
}
return nil
} | [
-0.2647671699523926,
-0.32408326864242554,
0.5439033508300781,
0.8397896885871887,
-0.6585115790367126,
0.5654873251914978,
0.732182502746582,
0.6781849265098572,
0.031724534928798676,
-0.141856387257576,
-0.6240936517715454,
0.17630860209465027,
0.20123916864395142,
-0.2694965898990631,
... |
func (in *ScheduledSparkApplicationSpec) DeepCopyInto(out *ScheduledSparkApplicationSpec) {
*out = *in
in.Template.DeepCopyInto(&out.Template)
if in.Suspend != nil {
in, out := &in.Suspend, &out.Suspend
*out = new(bool)
**out = **in
}
if in.SuccessfulRunHistoryLimit != nil {
in, out := &in.SuccessfulRunHis... | [
1.029882550239563,
-0.2325468212366104,
0.5799651741981506,
0.27985429763793945,
-0.9174458980560303,
-0.06691046804189682,
0.5728562474250793,
0.5996907949447632,
-1.0147278308868408,
-0.2587689459323883,
-0.06991519033908844,
1.3111717700958252,
0.1958962231874466,
-0.3088289499282837,
... |
func (in *ScheduledSparkApplicationSpec) DeepCopy() *ScheduledSparkApplicationSpec {
if in == nil {
return nil
}
out := new(ScheduledSparkApplicationSpec)
in.DeepCopyInto(out)
return out
} | [
0.2894541025161743,
-0.6834120154380798,
0.1847698837518692,
0.4476107656955719,
-0.3465181589126587,
0.3992367684841156,
0.8527868390083313,
0.5917876362800598,
0.07454880326986313,
0.00955937709659338,
0.4916091859340668,
1.110054612159729,
0.663001537322998,
-0.7088422179222107,
-0.02... |
func (in *ScheduledSparkApplicationStatus) DeepCopyInto(out *ScheduledSparkApplicationStatus) {
*out = *in
in.LastRun.DeepCopyInto(&out.LastRun)
in.NextRun.DeepCopyInto(&out.NextRun)
if in.PastSuccessfulRunNames != nil {
in, out := &in.PastSuccessfulRunNames, &out.PastSuccessfulRunNames
*out = make([]string, le... | [
0.7161378264427185,
-0.5290752053260803,
0.5422213077545166,
0.01500848587602377,
-0.9298835396766663,
0.11147056519985199,
-0.20860767364501953,
0.6232470870018005,
-0.9536296725273132,
-0.24203141033649445,
-0.1624525487422943,
1.1474790573120117,
0.12657354772090912,
-0.3898752927780151... |
func (in *ScheduledSparkApplicationStatus) DeepCopy() *ScheduledSparkApplicationStatus {
if in == nil {
return nil
}
out := new(ScheduledSparkApplicationStatus)
in.DeepCopyInto(out)
return out
} | [
0.11146768182516098,
-0.8652055263519287,
-0.016694672405719757,
0.3648397922515869,
-0.5812680125236511,
0.3005650043487549,
0.10601966828107834,
0.7381505966186523,
0.0023701367899775505,
-0.033865272998809814,
-0.6302301287651062,
0.7372551560401917,
0.4764218032360077,
-0.7391984462738... |
func (in *SecretInfo) DeepCopyInto(out *SecretInfo) {
*out = *in
return
} | [
0.7773352265357971,
-0.3901697099208832,
0.41712722182273865,
0.27639639377593994,
-1.0452872514724731,
1.2730952501296997,
-0.2546975910663605,
0.7602710127830505,
-1.4382219314575195,
-0.775229811668396,
-1.3420615196228027,
1.4664080142974854,
-0.08285673707723618,
-0.19930852949619293,... |
func (in *SecretInfo) DeepCopy() *SecretInfo {
if in == nil {
return nil
}
out := new(SecretInfo)
in.DeepCopyInto(out)
return out
} | [
0.4448726773262024,
-0.5688568353652954,
0.15418758988380432,
0.8359671831130981,
-0.5620561838150024,
1.1281386613845825,
0.28488123416900635,
-0.3478641211986542,
-0.7288585305213928,
-0.5609460473060608,
-1.1487997770309448,
0.8042576909065247,
-0.44785386323928833,
-0.03108551912009716... |
func (in *SparkApplication) DeepCopyInto(out *SparkApplication) {
*out = *in
out.TypeMeta = in.TypeMeta
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
in.Spec.DeepCopyInto(&out.Spec)
in.Status.DeepCopyInto(&out.Status)
return
} | [
0.3364095389842987,
-0.6538357138633728,
0.5880119800567627,
0.4794294834136963,
-0.2851105332374573,
0.7801108360290527,
0.08069497346878052,
0.7940689325332642,
-1.0456864833831787,
-0.3522894084453583,
-0.65715092420578,
1.264853835105896,
0.28705400228500366,
-0.10086899995803833,
-0... |
func (in *SparkApplication) DeepCopy() *SparkApplication {
if in == nil {
return nil
}
out := new(SparkApplication)
in.DeepCopyInto(out)
return out
} | [
-0.19485287368297577,
-0.1344662606716156,
0.37833109498023987,
1.0334043502807617,
-0.09855391085147858,
0.556649923324585,
0.44553855061531067,
0.45028987526893616,
0.23361802101135254,
-0.5034946203231812,
-0.4452053904533386,
-0.050629034638404846,
-0.472342312335968,
-0.45684638619422... |
func (in *SparkApplication) DeepCopyObject() runtime.Object {
if c := in.DeepCopy(); c != nil {
return c
}
return nil
} | [
0.1829976737499237,
-0.25297799706459045,
0.6915059685707092,
0.6784358024597168,
-0.2815353572368622,
0.8123342394828796,
0.726223886013031,
0.29495158791542053,
-0.4849497079849243,
-0.7789704203605652,
-0.06254161149263382,
-0.06528689712285995,
0.1950278878211975,
-0.42276808619499207,... |
func (in *SparkApplicationList) DeepCopyInto(out *SparkApplicationList) {
*out = *in
out.TypeMeta = in.TypeMeta
out.ListMeta = in.ListMeta
if in.Items != nil {
in, out := &in.Items, &out.Items
*out = make([]SparkApplication, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
return
} | [
-0.2420831024646759,
0.03570673614740372,
0.7291168570518494,
0.8554116487503052,
-0.37780341506004333,
0.2178376168012619,
-0.2888849973678589,
1.2595175504684448,
-0.5811246037483215,
0.24754463136196136,
-0.8442740440368652,
0.7025719285011292,
-0.20723722875118256,
0.11962240189313889,... |
func (in *SparkApplicationList) DeepCopy() *SparkApplicationList {
if in == nil {
return nil
}
out := new(SparkApplicationList)
in.DeepCopyInto(out)
return out
} | [
-0.6772363185882568,
-0.12271732836961746,
0.32234087586402893,
1.8115547895431519,
-0.2786581218242645,
0.1648676097393036,
-0.006478494498878717,
1.1130154132843018,
0.3850518465042114,
0.23664698004722595,
-1.0063164234161377,
-0.033982329070568085,
-0.1161353588104248,
0.25951150059700... |
func (in *SparkApplicationList) DeepCopyObject() runtime.Object {
if c := in.DeepCopy(); c != nil {
return c
}
return nil
} | [
-0.5375295877456665,
-0.14867860078811646,
0.6791410446166992,
0.860854983329773,
-0.4187546670436859,
0.49892061948776245,
0.5961642265319824,
0.5999712944030762,
-0.04633074998855591,
-0.36669987440109253,
-0.6207851767539978,
-0.07440347969532013,
-0.059413760900497437,
0.00165650993585... |
func (in *SparkApplicationSpec) DeepCopyInto(out *SparkApplicationSpec) {
*out = *in
if in.Image != nil {
in, out := &in.Image, &out.Image
*out = new(string)
**out = **in
}
if in.InitContainerImage != nil {
in, out := &in.InitContainerImage, &out.InitContainerImage
*out = new(string)
**out = **in
}
if... | [
0.22546936571598053,
-0.3832376003265381,
0.7986903190612793,
-0.007035269867628813,
-0.12572236359119415,
-0.042954303324222565,
-0.03812636807560921,
0.5109018683433533,
-0.789957582950592,
0.03968879207968712,
-0.2165263146162033,
0.6480554342269897,
0.27551934123039246,
0.6534290313720... |
func (in *SparkApplicationSpec) DeepCopy() *SparkApplicationSpec {
if in == nil {
return nil
}
out := new(SparkApplicationSpec)
in.DeepCopyInto(out)
return out
} | [
0.34023359417915344,
-0.1159636452794075,
0.18022304773330688,
0.8881347179412842,
0.08894617855548859,
0.38331174850463867,
0.3394600749015808,
0.5551295280456543,
-0.27781039476394653,
0.3467490077018738,
0.2886296808719635,
0.5860419273376465,
0.5879045724868774,
-0.06422742456197739,
... |
func (in *SparkApplicationStatus) DeepCopyInto(out *SparkApplicationStatus) {
*out = *in
in.LastSubmissionAttemptTime.DeepCopyInto(&out.LastSubmissionAttemptTime)
in.TerminationTime.DeepCopyInto(&out.TerminationTime)
out.DriverInfo = in.DriverInfo
out.AppState = in.AppState
if in.ExecutorState != nil {
in, out ... | [
0.43621793389320374,
-0.33502185344696045,
0.4485689699649811,
0.21411578357219696,
-0.58711838722229,
-0.1708366870880127,
-0.74815434217453,
1.2565195560455322,
-0.9046289324760437,
-0.2492772489786148,
-0.5777227282524109,
0.616483211517334,
0.38141828775405884,
-0.20972120761871338,
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.