Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of about 10,000 for FUNC (0.05 sec)

  1. src/runtime/os_openbsd_syscall2.go

    package runtime
    
    import (
    	"internal/runtime/atomic"
    	"unsafe"
    )
    
    //go:noescape
    func sigaction(sig uint32, new, old *sigactiont)
    
    func kqueue() int32
    
    //go:noescape
    func kevent(kq int32, ch *keventt, nch int32, ev *keventt, nev int32, ts *timespec) int32
    
    func raiseproc(sig uint32)
    
    func getthrid() int32
    func thrkill(tid int32, sig int)
    
    // read calls the read system call.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. src/go/printer/testdata/declarations.input

    // ellipsis parameters
    func _(...int)
    func _(...*int)
    func _(...[]int)
    func _(...struct{})
    func _(bool, ...interface{})
    func _(bool, ...func())
    func _(bool, ...func(...int))
    func _(bool, ...map[string]int)
    func _(bool, ...chan int)
    
    func _(b bool, x ...int)
    func _(b bool, x ...*int)
    func _(b bool, x ...[]int)
    func _(b bool, x ...struct{})
    func _(x ...interface{})
    func _(x ...func())
    func _(x ...func(...int))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 13 22:24:31 UTC 2021
    - 16.5K bytes
    - Viewed (0)
  3. src/runtime/race0.go

    func raceprocdestroy(ctx uintptr)                                           { throw("race") }
    func racemapshadow(addr unsafe.Pointer, size uintptr)                       { throw("race") }
    func racewritepc(addr unsafe.Pointer, callerpc, pc uintptr)                 { throw("race") }
    func racereadpc(addr unsafe.Pointer, callerpc, pc uintptr)                  { throw("race") }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 2.8K bytes
    - Viewed (0)
  4. test/escape_closure.go

    package escape
    
    var sink interface{}
    
    func ClosureCallArgs0() {
    	x := 0
    	func(p *int) { // ERROR "p does not escape" "func literal does not escape"
    		*p = 1
    	}(&x)
    }
    
    func ClosureCallArgs1() {
    	x := 0
    	for {
    		func(p *int) { // ERROR "p does not escape" "func literal does not escape"
    			*p = 1
    		}(&x)
    	}
    }
    
    func ClosureCallArgs2() {
    	for {
    		x := 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 17 16:36:09 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tfrt/tests/sink_in_invariant_ops.mlir

      %2 = "tf.Identity"(%1) {device = "/device:CPU:0"} : (tensor<1x3xf32>) -> tensor<1x3xf32>
      func.return %2 : tensor<1x3xf32>
    }
    
    // CHECK-LABEL: func @main
    func.func @main(%arg0: tensor<1x3xf32> {tf_saved_model.index_path = ["input"]}) -> (tensor<*xf32> {tf_saved_model.index_path = ["r"]})
      attributes {tf_saved_model.exported_names = ["main"]} {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 21K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/tests/executor_tpuv1_outline_island/case_op.mlir

    // RUN: tf-opt %s -tf-executor-tpu-v1-island-outlining | FileCheck %s
    
    // CHECK: func @control_input
    // CHECK-NOT: func @
    // CHECK-LABEL: module @_tpu_v1_compat_outlined
    // CHECK: @_tpu_v1_compat_outlined_func0
    // CHECK: func @branch_0
    // CHECK: func @branch_1
    // CHECK: func @branch_2
    // CHECK: func @branch_3
    // CHECK: func @branch_4
    module {
      func.func @control_input(%arg0: tensor<i1>) -> tensor<i32> {
        %0 = tf_executor.graph {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 27 16:14:17 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  7. test/inline.go

    // any re-assignment prevents closure inlining
    func m() int {
    	foo := func() int { return 1 } // ERROR "can inline m.func1" "func literal does not escape"
    	x := foo()
    	foo = func() int { return 2 } // ERROR "can inline m.func2" "func literal does not escape"
    	return x + foo()
    }
    
    // address taking prevents closure inlining
    func n() int {
    	foo := func() int { return 1 } // ERROR "can inline n.func1" "func literal does not escape"
    	bar := &foo
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 11.7K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/test/divconst_test.go

    	}
    }
    
    func BenchmarkDivisibleWDivconstI64(b *testing.B) {
    	for i := 0; i < b.N; i++ {
    		i64res = int64(i) / 7
    		boolres = int64(i)%7 == 0
    	}
    }
    
    var u64res uint64
    
    func TestDivmodConstU64(t *testing.T) {
    	// Test division by c. Function f must be func(n) { return n/c, n%c }
    	testdiv := func(c uint64, f func(uint64) (uint64, uint64)) func(*testing.T) {
    		return func(t *testing.T) {
    			x := uint64(12345)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 29 00:07:35 UTC 2020
    - 7.7K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/tests/tpu_sharding_identification.mlir

    // CHECK-LABEL: func @check_sharding_attrs_exists_for_empty_cluster_func
    func.func @check_sharding_attrs_exists_for_empty_cluster_func() {
      "tf_device.cluster_func"() {func = @empty_func, step_marker_location = "", num_cores_per_replica = 1 : i64} : () -> ()
      // CHECK: input_sharding_configuration = []
      // CHECK: output_sharding_configuration = []
      func.return
    }
    
    // CHECK-LABEL: func @empty_func() {
    func.func @empty_func() {
      func.return
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 20 19:07:52 UTC 2024
    - 47.5K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf-communication.mlir

    // CHECK: func @callee4()
    func.func @callee4() {
      // CHECK:      [[CALLEE4_INIT_TOKEN:%.*]] = mhlo.create_token
    
      // CHECK:      [[CALL_5:%.*]] = call @callee5([[CALLEE4_INIT_TOKEN]])
      func.call @callee5() : () -> ()
    
      // CHECK:      return
      func.return
    }
    
    // CHECK: func private @callee5([[CALLEE5_ARG0:%.*]]: !mhlo.token) -> !mhlo.token
    func.func private @callee5() {
      // CHECK-NOT:  mhlo.create_token
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 08 18:24:20 UTC 2024
    - 38.3K bytes
    - Viewed (0)
Back to top