Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 133 for newD (0.11 sec)

  1. test/typeparam/issue50552.dir/a.go

    package a
    
    type Builder[T any] struct{}
    
    func (r Builder[T]) New() T {
    	var v T
    	return v
    }
    
    func (r Builder[T]) New2() T {
    	return r.New()
    }
    
    func BuildInt() int {
    	return Builder[int]{}.New()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 11 21:51:51 UTC 2022
    - 196 bytes
    - Viewed (0)
  2. test/fixedbugs/issue56778.dir/b.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 b
    
    import "./a"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 17 18:31:28 UTC 2022
    - 203 bytes
    - Viewed (0)
  3. pkg/config/mesh/watcher_test.go

    	assert.Equal(t, w.Mesh(), m)
    
    	doneCh := make(chan struct{}, 1)
    
    	var newM *meshconfig.MeshConfig
    	w.AddMeshHandler(func() {
    		newM = w.Mesh()
    		close(doneCh)
    	})
    
    	// Change the file to trigger the update.
    	m.IngressClass = "foo"
    	writeMessage(t, path, m)
    
    	select {
    	case <-doneCh:
    		assert.Equal(t, newM, m)
    		assert.Equal(t, w.Mesh(), newM)
    		break
    	case <-time.After(time.Second * 5):
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 31 14:48:28 UTC 2023
    - 3K bytes
    - Viewed (0)
  4. test/fixedbugs/issue28390.go

    package main
    
    import "fmt"
    
    type A struct {
    	K int
    	S string
    	M map[string]string
    }
    
    func newA(k int, s string) (a A) {
    	a.K = k
    	a.S = s
    	a.M = make(map[string]string)
    	a.M[s] = s
    	return
    }
    
    func proxy() (x int, a A) {
    	return 1, newA(2, "3")
    }
    
    func consume(x int, a interface{}) {
    	fmt.Println(x)
    	fmt.Println(a) // used to panic here
    }
    
    func main() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Oct 28 18:22:36 UTC 2018
    - 648 bytes
    - Viewed (0)
  5. .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)
  6. 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)
  7. test/fixedbugs/issue4326.dir/z.go

    package z
    
    import "./p2"
    
    func main() {
    	p2.NewO().RemoveOption("hello", "world")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 02 20:31:49 UTC 2013
    - 84 bytes
    - Viewed (0)
  8. test/fixedbugs/issue4326.dir/p2.go

    package p2
    
    import "./p1"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 07 14:59:19 UTC 2012
    - 59 bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top