Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of about 10,000 for FUNC (0.1 sec)

  1. staging/src/k8s.io/apimachinery/pkg/util/wait/wait_test.go

    }
    
    func TestNonSlidingUntil(t *testing.T) {
    	ch := make(chan struct{})
    	close(ch)
    	NonSlidingUntil(func() {
    		t.Fatal("should not have been invoked")
    	}, 0, ch)
    
    	ch = make(chan struct{})
    	called := make(chan struct{})
    	go func() {
    		NonSlidingUntil(func() {
    			called <- struct{}{}
    		}, 0, ch)
    		close(called)
    	}()
    	<-called
    	close(ch)
    	<-called
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 26 16:28:45 UTC 2024
    - 41.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/tf-executor-to-functional.mlir

      }
      func.return
    }
    
    // CHECK-LABEL: func @empty_island
    // CHECK-NEXT: return
    func.func @empty_island() {
      tf_executor.graph {
        %control = tf_executor.island {
          tf_executor.yield
        }
        tf_executor.fetch
      }
      func.return
    }
    
    // CHECK-LABEL: func @island_forwarding_result
    // CHECK-SAME: ([[ARG_0:%.*]]: tensor<i32>)
    // CHECK-NEXT: return [[ARG_0]]
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 28 12:06:33 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  3. src/sync/map_bench_test.go

    	"reflect"
    	"sync"
    	"sync/atomic"
    	"testing"
    )
    
    type bench struct {
    	setup func(*testing.B, mapInterface)
    	perG  func(b *testing.B, pb *testing.PB, i int, m mapInterface)
    }
    
    func benchMap(b *testing.B, bench bench) {
    	for _, m := range [...]mapInterface{&DeepCopyMap{}, &RWMutexMap{}, &sync.Map{}} {
    		b.Run(fmt.Sprintf("%T", m), func(b *testing.B) {
    			m = reflect.New(reflect.TypeOf(m).Elem()).Interface().(mapInterface)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 01 15:34:22 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tfrt/tests/reconfig_batch_op.mlir

    // The num_batch_threads is lowered bound to 2 from the original attribute of 1
    
    // CHECK-LABEL: func private @batched_function
    func.func private @batched_function(%arg0: tensor<1x3xf32>) -> tensor<1x3xf32> {
      %2 = "tf.Identity"(%arg0) : (tensor<1x3xf32>) -> tensor<1x3xf32>
      func.return %2 : tensor<1x3xf32>
    }
    
    // CHECK-LABEL: func @main
    func.func @main(%arg0: tensor<1x3xf32>) -> tensor<*xf32> {
      // CHECK:  "tf.BatchFunction"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 17:38:34 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  5. src/runtime/signal_linux_386.go

    }
    
    //go:nosplit
    //go:nowritebarrierrec
    func (c *sigctxt) regs() *sigcontext { return &(*ucontext)(c.ctxt).uc_mcontext }
    
    func (c *sigctxt) eax() uint32 { return c.regs().eax }
    func (c *sigctxt) ebx() uint32 { return c.regs().ebx }
    func (c *sigctxt) ecx() uint32 { return c.regs().ecx }
    func (c *sigctxt) edx() uint32 { return c.regs().edx }
    func (c *sigctxt) edi() uint32 { return c.regs().edi }
    func (c *sigctxt) esi() uint32 { return c.regs().esi }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 17 18:54:48 UTC 2021
    - 1.6K bytes
    - Viewed (0)
  6. src/internal/types/testdata/check/stmt1.go

    // terminating statements
    
    package stmt1
    
    func _() {}
    
    func _() int {} /* ERROR "missing return" */
    
    func _() int { panic(0) }
    func _() int { (panic(0)) }
    
    // block statements
    func _(x, y int) (z int) {
    	{
    		return
    	}
    }
    
    func _(x, y int) (z int) {
    	{
    		return; ; ; // trailing empty statements are ok
    	}
    	; ; ;
    }
    
    func _(x, y int) (z int) {
    	{
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 02 02:58:32 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/tests/convert_launch_func_to_tf_call.mlir

          %3 = "tf_device.launch_func"(%2) {device = "/device:test_device:0", func = @_func} : (tensor<?xf32>) -> tensor<?xf32>
    
          // CHECK: tf_executor.yield %[[CALL_OUTPUT]]
          tf_executor.yield %3 : tensor<?xf32>
        }
        tf_executor.fetch %1#0 : tensor<?xf32>
      }
      func.return %0 : tensor<?xf32>
    }
    
    func.func @_func(%arg0: tensor<?xf32>) -> tensor<?xf32> {
      func.return %arg0 : tensor<?xf32>
    }
    
    // -----
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  8. src/runtime/os_netbsd.go

    func lwp_kill(tid int32, sig int)
    
    //go:noescape
    func getcontext(ctxt unsafe.Pointer)
    
    //go:noescape
    func lwp_create(ctxt unsafe.Pointer, flags uintptr, lwpid unsafe.Pointer) int32
    
    //go:noescape
    func lwp_park(clockid, flags int32, ts *timespec, unpark int32, hint, unparkhint unsafe.Pointer) int32
    
    //go:noescape
    func lwp_unpark(lwp int32, hint unsafe.Pointer) int32
    
    func lwp_self() int32
    
    func osyield()
    
    //go:nosplit
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  9. src/reflect/benchmark_test.go

    		v.Call(nil)
    	}
    }
    
    func BenchmarkCallArgCopy(b *testing.B) {
    	byteArray := func(n int) Value {
    		return Zero(ArrayOf(n, TypeOf(byte(0))))
    	}
    	sizes := [...]struct {
    		fv  Value
    		arg Value
    	}{
    		{ValueOf(func(a [128]byte) {}), byteArray(128)},
    		{ValueOf(func(a [256]byte) {}), byteArray(256)},
    		{ValueOf(func(a [1024]byte) {}), byteArray(1024)},
    		{ValueOf(func(a [4096]byte) {}), byteArray(4096)},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Nov 19 17:09:03 UTC 2023
    - 8.8K bytes
    - Viewed (0)
  10. src/syscall/syscall_js.go

    type WaitStatus uint32
    
    func (w WaitStatus) Exited() bool       { return false }
    func (w WaitStatus) ExitStatus() int    { return 0 }
    func (w WaitStatus) Signaled() bool     { return false }
    func (w WaitStatus) Signal() Signal     { return 0 }
    func (w WaitStatus) CoreDump() bool     { return false }
    func (w WaitStatus) Stopped() bool      { return false }
    func (w WaitStatus) Continued() bool    { return false }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 6.7K bytes
    - Viewed (0)
Back to top