Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 53 for newD (0.1 sec)

  1. src/runtime/debugcall.go

    		gp.schedlink.set(newg)
    	})
    
    	// Switch to the new goroutine.
    	mcall(func(gp *g) {
    		// Get newg.
    		newg := gp.schedlink.ptr()
    		gp.schedlink = 0
    
    		// Park the calling goroutine.
    		trace := traceAcquire()
    		if trace.ok() {
    			// Trace the event before the transition. It may take a
    			// stack trace, but we won't own the stack after the
    			// transition anymore.
    			trace.GoPark(traceBlockDebugCall, 1)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 20:50:21 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  2. src/internal/types/testdata/fixedbugs/issue40056.go

    // Copyright 2020 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 p
    
    func _() {
    	NewS /* ERROR "cannot infer T" */ ().M()
    }
    
    type S struct {}
    
    func NewS[T any]() *S { panic(0) }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:25 UTC 2023
    - 339 bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. .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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top