Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 121 for newD (0.44 sec)

  1. staging/src/k8s.io/apimachinery/pkg/util/strategicpatch/patch.go

    		newM = append(newM, vt)
    	}
    
    	return newM
    }
    
    func sliceFromMapSlice(s []map[string]interface{}) []interface{} {
    	newS := []interface{}{}
    	for _, v := range s {
    		newS = append(newS, v)
    	}
    
    	return newS
    }
    
    type SortableSliceOfMaps struct {
    	s []map[string]interface{}
    	k string // key to sort on
    }
    
    func (ss SortableSliceOfMaps) Len() int {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 23:34:23 UTC 2023
    - 75.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/guarantee-all-funcs-one-use.mlir

    // -----
    // Basic test.
    // CHECK-LABEL: func @f
    func.func @f() {
      // CHECK: call @g() : () -> ()
      // CHECK: call @[[NEWG:.+]]() : () -> ()
      func.call @g() : () -> ()
      func.call @g() : () -> ()
      func.return
    }
    
    // CHECK: func @g()
    // CHECK: func private @[[NEWG]]()
    func.func @g() {
      func.return
    }
    
    // -----
    // Transitive callees.
    // CHECK-LABEL: func @f
    // 2 copies of @g
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  3. 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)
  4. src/encoding/xml/typeinfo.go

    			if oldf.parents[p] != newf.parents[p] {
    				continue Loop
    			}
    		}
    		if len(oldf.parents) > len(newf.parents) {
    			if oldf.parents[len(newf.parents)] == newf.name {
    				conflicts = append(conflicts, i)
    			}
    		} else if len(oldf.parents) < len(newf.parents) {
    			if newf.parents[len(oldf.parents)] == oldf.name {
    				conflicts = append(conflicts, i)
    			}
    		} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 07 00:23:29 UTC 2023
    - 9.6K bytes
    - Viewed (0)
  5. pkg/config/mesh/networks_watcher_test.go

    	doneCh := make(chan struct{}, 1)
    
    	var newN *meshconfig.MeshNetworks
    	w.AddNetworksHandler(func() {
    		newN = w.Networks()
    		close(doneCh)
    	})
    
    	// Change the file to trigger the update.
    	n.Networks["test"] = &meshconfig.Network{}
    	writeMessage(t, path, &n)
    
    	select {
    	case <-doneCh:
    		g.Expect(newN).To(Equal(&n))
    		g.Expect(w.Networks()).To(Equal(newN))
    		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
    - 1.9K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top