Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of about 10,000 for FUNC (0.11 sec)

  1. src/runtime/signal_freebsd_riscv64.go

    func (c *sigctxt) t1() uint64  { return c.regs().mc_gpregs.gp_t[1] }
    func (c *sigctxt) t2() uint64  { return c.regs().mc_gpregs.gp_t[2] }
    func (c *sigctxt) s0() uint64  { return c.regs().mc_gpregs.gp_s[0] }
    func (c *sigctxt) s1() uint64  { return c.regs().mc_gpregs.gp_s[1] }
    func (c *sigctxt) a0() uint64  { return c.regs().mc_gpregs.gp_a[0] }
    func (c *sigctxt) a1() uint64  { return c.regs().mc_gpregs.gp_a[1] }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 28 03:17:13 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/xla_rewrite.mlir

      // CHECK-LABEL: func.func @convert_cluster_func
      func.func @convert_cluster_func(%arg0: tensor<i32>) -> tensor<i32> {
        // CHECK: "tf.XlaLaunch"(%arg0) <{function = @func, operandSegmentSizes = array<i32: 0, 1, 0>}> : (tensor<i32>) -> tensor<i32>
        %0 = "tf_device.cluster_func"(%arg0) {func = @func} : (tensor<i32>) -> tensor<i32>
        func.return %0 : tensor<i32>
      }
    
      func.func @func(%arg0: tensor<i32>) -> tensor<i32> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  3. src/sync/oncefunc_test.go

    		}
    	}()
    	f()
    }
    
    func onceFuncPanic() {
    	panic("x")
    }
    
    func TestOnceXGC(t *testing.T) {
    	fns := map[string]func([]byte) func(){
    		"OnceFunc": func(buf []byte) func() {
    			return sync.OnceFunc(func() { buf[0] = 1 })
    		},
    		"OnceValue": func(buf []byte) func() {
    			f := sync.OnceValue(func() any { buf[0] = 1; return nil })
    			return func() { f() }
    		},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 17:31:33 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  4. src/internal/types/testdata/fixedbugs/issue59956.go

    package p
    
    func f1(func(int))
    func f2(func(int), func(string))
    func f3(func(int), func(string), func(float32))
    
    func g1[P any](P) {}
    
    func _() {
    	f1(g1)
    	f2(g1, g1)
    	f3(g1, g1, g1)
    }
    
    // More complex examples
    
    func g2[P any](P, P)                                         {}
    func h3[P any](func(P), func(P), func() P)                   {}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 04 17:35:44 UTC 2023
    - 873 bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/tests/tf_device_ops.mlir

      func.return
    }
    
    // -----
    
    // CHECK-LABEL: func @empty_replicate
    func.func @empty_replicate() {
      tf_device.replicate {n = 2 : i32} {
      }
      func.return
    
    // CHECK:      tf_device.replicate
    // CHECK-SAME: n = 2
    // CHECK-NEXT:   tf_device.return
    }
    
    // -----
    
    // CHECK-LABEL: func @no_operand_replicate
    func.func @no_operand_replicate() {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 23 23:53:20 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  6. src/runtime/signal_aix_ppc64.go

    func (c *sigctxt) r6() uint64  { return c.regs().gpr[6] }
    func (c *sigctxt) r7() uint64  { return c.regs().gpr[7] }
    func (c *sigctxt) r8() uint64  { return c.regs().gpr[8] }
    func (c *sigctxt) r9() uint64  { return c.regs().gpr[9] }
    func (c *sigctxt) r10() uint64 { return c.regs().gpr[10] }
    func (c *sigctxt) r11() uint64 { return c.regs().gpr[11] }
    func (c *sigctxt) r12() uint64 { return c.regs().gpr[12] }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 15 21:57:36 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  7. src/runtime/stubs_amd64.go

    func retpolineAX()
    func retpolineCX()
    func retpolineDX()
    func retpolineBX()
    func retpolineBP()
    func retpolineSI()
    func retpolineDI()
    func retpolineR8()
    func retpolineR9()
    func retpolineR10()
    func retpolineR11()
    func retpolineR12()
    func retpolineR13()
    func retpolineR14()
    func retpolineR15()
    
    //go:noescape
    func asmcgocall_no_g(fn, arg unsafe.Pointer)
    
    //go:systemstack
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 05 08:26:52 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/tests/xla_cluster_formation.mlir

    // performance.
    // CHECK-LABEL: func.func @nested_calls
    func.func @nested_calls(%arg0: tensor<i32>) -> tensor<i32> attributes {tf.entry_function = {}} {
        %0 = "tf.While"(%arg0) {cond = @while_cond_func, body = @while_body_func, is_stateless = true} : (tensor<i32>) -> (tensor<i32>)
        func.return %0 : tensor<i32>
    }
    
    // CHECK-LABEL: func.func @while_cond_func
    func.func @while_cond_func(%arg0: tensor<i32>) -> tensor<i1> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 19 19:09:44 UTC 2023
    - 4K bytes
    - Viewed (0)
  9. src/runtime/race/testdata/chan_test.go

    	go func() {
    		v = 1
    		c <- 0
    	}()
    	<-c
    	v = 2
    }
    
    func TestRaceChanAsyncRev(t *testing.T) {
    	v := 0
    	_ = v
    	c := make(chan int, 10)
    	go func() {
    		c <- 0
    		v = 1
    	}()
    	v = 2
    	<-c
    }
    
    func TestNoRaceChanAsyncCloseRecv(t *testing.T) {
    	v := 0
    	_ = v
    	c := make(chan int, 10)
    	go func() {
    		v = 1
    		close(c)
    	}()
    	func() {
    		defer func() {
    			recover()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jul 18 19:55:29 UTC 2023
    - 11K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/tests/functional-control-flow-to-regions.mlir

      func.return %0 : tensor<2xf32>
    }
    
    // -----
    
    // If with no outputs, some inputs
    // CHECK: func private @testIf1Then{{.+}}
    // CHECK: func private @testIf1Else{{.+}}
    func.func private @testIf1Then(tensor<*xf32>) -> ()
    func.func private @testIf1Else(tensor<*xf32>) -> ()
    
    // CHECK-LABEL: func @testIfNoResult(%arg0: tensor<i1>, %arg1: tensor<2xf32>)
    func.func @testIfNoResult(%arg0: tensor<i1>, %arg1: tensor<2xf32>) -> () {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Nov 06 21:59:28 UTC 2023
    - 11.9K bytes
    - Viewed (0)
Back to top