Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for newm1 (0.08 sec)

  1. src/runtime/proc.go

    	checkdead()
    	unlock(&sched.lock)
    
    	for {
    		lock(&newmHandoff.lock)
    		for newmHandoff.newm != 0 {
    			newm := newmHandoff.newm.ptr()
    			newmHandoff.newm = 0
    			unlock(&newmHandoff.lock)
    			for newm != nil {
    				next := newm.schedlink.ptr()
    				newm.schedlink = 0
    				newm1(newm)
    				newm = next
    			}
    			lock(&newmHandoff.lock)
    		}
    		newmHandoff.waiting = true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
  2. src/go/doc/doc_test.go

    	}
    }
    
    const funcsTestFile = `
    package funcs
    
    func F() {}
    
    type S1 struct {
    	S2  // embedded, exported
    	s3  // embedded, unexported
    }
    
    func NewS1()  S1 {return S1{} }
    func NewS1p() *S1 { return &S1{} }
    
    func (S1) M1() {}
    func (r S1) M2() {}
    func(S1) m3() {}		// unexported not shown
    func (*S1) P1() {}		// pointer receiver
    
    type S2 int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:31:52 UTC 2022
    - 6.7K bytes
    - Viewed (0)
  3. pkg/config/analysis/diag/messages.go

    func (ms *Messages) SortedDedupedCopy() Messages {
    	newMs := append((*ms)[:0:0], *ms...)
    	newMs.Sort()
    
    	// Take advantage of the fact that the list is already sorted to dedupe
    	// messages (any duplicates should be adjacent).
    	var deduped Messages
    	for _, m := range newMs {
    		// Two messages are duplicates if they have the same string representation.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 02:47:46 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  4. 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)
  5. pkg/test/framework/components/authz/kube.go

    	ist, err := istio.Get(ctx)
    	if err != nil {
    		return err
    	}
    
    	// Now parse the provider YAML.
    	newMC := &meshconfig.MeshConfig{}
    	if err := protomarshal.ApplyYAML(providerYAML, newMC); err != nil {
    		return err
    	}
    
    	providerNames := sets.New[string]()
    	for _, p := range newMC.GetExtensionProviders() {
    		providerNames.Insert(p.Name)
    	}
    
    	return ist.UpdateMeshConfig(ctx,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 10 20:33:28 UTC 2024
    - 7K bytes
    - Viewed (0)
  6. test/typeparam/issue50598.dir/a2.go

    // 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)
  7. src/runtime/sys_windows_386.s

    	POPL	SI
    	POPL	DI
    
    	// remove callback parameters before return (as per Windows spec)
    	POPL	DX
    	ADDL	CX, SP
    	PUSHL	DX
    
    	CLD
    
    	RET
    
    // void tstart(M *newm);
    TEXT tstart<>(SB),NOSPLIT,$8-4
    	MOVL	newm+0(FP), CX		// m
    	MOVL	m_g0(CX), DX		// g
    
    	// Layout new m scheduler stack on os stack.
    	MOVL	SP, AX
    	MOVL	AX, (g_stack+stack_hi)(DX)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 21 15:56:43 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/telemetry/internal/counter/file.go

    	if v, _, _, _ := current.lookup(name); v != nil {
    		return v, nop
    	}
    	v, newM, err := current.newCounter(name)
    	if err != nil {
    		debugPrintf("newCounter %s: %v\n", name, err)
    		return nil, nop
    	}
    
    	cleanup = nop
    	if newM != nil {
    		f.current.Store(newM)
    		cleanup = f.invalidateCounters
    	}
    	return v, cleanup
    }
    
    // Open associates counting with the defaultFile.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  9. test/typeparam/issue50598.dir/a0.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 a0
    
    type Builder[T any] struct{}
    
    func (r Builder[T]) New1() T {
    	var v T
    	return v
    }
    
    func (r Builder[T]) New2() T {
    	var v T
    	return v
    }
    
    type IntBuilder struct{}
    
    func (b IntBuilder) New() int {
    	return Builder[int]{}.New2()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 14 16:41:18 UTC 2022
    - 398 bytes
    - Viewed (0)
  10. maven-compat/src/main/java/org/apache/maven/repository/metadata/DefaultGraphConflictResolver.java

                        // fill in domain md with actual version data
                        ArtifactMetadata md = v.getMd();
                        ArtifactMetadata newMd = new ArtifactMetadata(
                                md.getGroupId(),
                                md.getArtifactId(),
                                edge.getVersion(),
                                md.getType(),
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 11:28:54 UTC 2023
    - 8.2K bytes
    - Viewed (0)
Back to top