Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 121 for newD (0.05 sec)

  1. .github/SECURITY.md

    Information about previous Istio vulnerabilities can be found on the
    [Security Bulletins] page.
    
    [Support Announcements]: https://istio.io/news/support/
    [Istio Security Vulnerabilities]: https://istio.io/about/security-vulnerabilities/
    [Security Bulletins]: https://istio.io/news/security/
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 12 15:17:53 UTC 2023
    - 905 bytes
    - Viewed (0)
  2. tests/update_belongs_to_test.go

    		t.Fatalf("errors happened when update: %v", err)
    	}
    
    	var user4 User
    	DB.Preload("Company").Preload("Manager").Find(&user4, "id = ?", user.ID)
    	CheckUser(t, user4, user)
    
    	user.Company.Name += "new2"
    	user.Manager.Name += "new2"
    	if err := DB.Session(&gorm.Session{FullSaveAssociations: true}).Select("`Company`").Save(&user).Error; err != nil {
    		t.Fatalf("errors happened when update: %v", err)
    	}
    
    	var user5 User
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Thu Jul 14 06:55:54 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/vcstest/git/modlegacy1-new.txt

    git init
    
    at 2018-04-25T11:00:57-04:00
    git add go.mod new.go p1 p2
    git commit -m 'initial commit'
    git branch -m master
    
    git log --oneline --decorate=short
    cmp stdout .git-log
    
    -- .git-log --
    36cc50a (HEAD -> master) initial commit
    -- go.mod --
    module "vcs-test.golang.org/git/modlegacy1-new.git/v2"
    -- new.go --
    package new
    
    import _ "vcs-test.golang.org/git/modlegacy1-new.git/v2/p2"
    -- p1/p1.go --
    package p1
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 25 15:36:24 UTC 2022
    - 770 bytes
    - Viewed (0)
  4. test/fixedbugs/issue59680.go

    // license that can be found in the LICENSE file.
    
    package main
    
    import (
    	"sync"
    	"time"
    )
    
    type B struct {
    	pid int
    	f   func() (uint64, error)
    	wg  sync.WaitGroup
    	v   uint64
    }
    
    func newB(pid int) *B {
    	return &B{
    		pid: pid,
    	}
    }
    
    //go:noinline
    func Sq(i int) uint64 {
    	S++
    	return uint64(i * i)
    }
    
    type RO func(*B)
    
    var ROSL = []RO{
    	Bad(),
    }
    
    func Bad() RO {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 05 21:04:38 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  5. test/fixedbugs/issue46234.go

    }
    
    type R struct {
    	cM *CM
    }
    
    type CM int
    
    type A string
    
    func (m *CM) NewA(ctx context.Context, cN string, nn *nAO, opts ...NAO) (*A, error) {
    	for _, o := range opts {
    		o(nn)
    	}
    	s := A("foo")
    	return &s, nil
    }
    
    func (r *R) CA(ctx context.Context, cN string, nn *nAO) (*int, error) {
    	cA, err := r.cM.NewA(ctx, cN, nn, WEA(), WEA())
    	if err == nil {
    		return nil, err
    	}
    	println(cA)
    	x := int(42)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  6. test/typeparam/sliceimp.dir/a.go

    func Append[T any](s []T, t ...T) []T {
    	lens := len(s)
    	tot := lens + len(t)
    	if tot <= cap(s) {
    		s = s[:tot]
    	} else {
    		news := make([]T, tot, tot+tot/2)
    		Copy(news, s)
    		s = news
    	}
    	Copy(s[lens:tot], t)
    	return s
    }
    
    // Copy copies values from t to s, stopping when either slice is full,
    // returning the number of values copied. This is like the predeclared
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 30 01:55:58 UTC 2021
    - 3.3K bytes
    - Viewed (0)
  7. src/internal/fuzz/encoding_test.go

    			}
    			if err != nil {
    				t.Fatalf("unmarshal unexpected error: %v", err)
    			}
    			newB := marshalCorpusFile(vals...)
    			if newB[len(newB)-1] != '\n' {
    				t.Error("didn't write final newline to corpus file")
    			}
    
    			want := test.want
    			if want == "" {
    				want = test.in
    			}
    			want += "\n"
    			got := string(newB)
    			if got != want {
    				t.Errorf("unexpected marshaled value\ngot:\n%s\nwant:\n%s", got, want)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 00:20:34 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  8. tests/embedded_struct_test.go

    		}
    	}
    
    	// save embedded struct
    	DB.Save(&HNPost{BasePost: BasePost{Title: "news"}})
    	DB.Save(&HNPost{BasePost: BasePost{Title: "hn_news"}})
    	var news HNPost
    	if err := DB.First(&news, "title = ?", "hn_news").Error; err != nil {
    		t.Errorf("no error should happen when query with embedded struct, but got %v", err)
    	} else if news.Title != "hn_news" {
    		t.Errorf("embedded struct's value should be scanned correctly")
    	}
    
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed May 08 04:07:58 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  9. pkg/test/framework/components/echo/config.go

    }
    
    // DeepCopy creates a clone of IstioEndpoint.
    func (c Config) DeepCopy() Config {
    	newc := c
    	newc.Cluster = nil
    	newc = copyInternal(newc).(Config)
    	newc.Cluster = c.Cluster
    	newc.Namespace = c.Namespace
    	return newc
    }
    
    func (c Config) IsExternal() bool {
    	return c.HostHeader() != c.ClusterLocalFQDN()
    }
    
    const (
    	defaultService   = "echo"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 12:26:52 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  10. test/typeparam/issue50598.dir/a2.go

    // Copyright 2022 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package a2
    
    import "./a0"
    
    func New() int {
    	return a0.Builder[int]{}.New1()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 24 02:14:15 UTC 2022
    - 239 bytes
    - Viewed (0)
Back to top