Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of about 10,000 for FUNC (0.04 sec)

  1. src/internal/types/testdata/examples/inference2.go

    }
    
    func _() (_, _ func(int)) { return f1, f1 }
    func _() (_, _ func(int)) { return f1, f2 /* ERROR "cannot infer P" */ }
    
    // Argument passing
    func g1(func(int))                           {}
    func g2(func(int, int))                      {}
    func g3(func(int) string)                    {}
    func g4[P any](func(P) string)               {}
    func g5[P, Q any](func(P) string, func(P) Q) {}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 12 18:44:59 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/utils/call_graph_util_test.cc

      func.return %0 : tensor<i1>
    }
    
    // CHECK-LABEL: func.func @while_body_func
    func.func @while_body_func(%arg0: tensor<i32>) -> (tensor<i32>) {
      %0 = "tf.StatefulPartitionedCall"(%arg0) {config = "", config_proto = "", device = "/device:CPU:0", executor_type = "", f = @outer_stateful_pcall_func} : (tensor<i32>) -> (tensor<i32>)
      func.return %0 : tensor<i32>
    }
    
    func.func @outer_stateful_pcall_func(%arg0: tensor<i32>) -> (tensor<i32>) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Dec 20 04:39:18 UTC 2023
    - 11.7K bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/test/cgo_test.go

    func Test4339(t *testing.T)                  { test4339(t) }
    func Test5227(t *testing.T)                  { test5227(t) }
    func Test5242(t *testing.T)                  { test5242(t) }
    func Test5337(t *testing.T)                  { test5337(t) }
    func Test5548(t *testing.T)                  { test5548(t) }
    func Test5603(t *testing.T)                  { test5603(t) }
    func Test5986(t *testing.T)                  { test5986(t) }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 17 21:53:11 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  4. src/cmd/cgo/internal/test/callback.go

    func stack24()   { var buf [24]byte; use(buf[:]); C.callGoStackCheck() }
    func stack28()   { var buf [28]byte; use(buf[:]); C.callGoStackCheck() }
    func stack32()   { var buf [32]byte; use(buf[:]); C.callGoStackCheck() }
    func stack36()   { var buf [36]byte; use(buf[:]); C.callGoStackCheck() }
    func stack40()   { var buf [40]byte; use(buf[:]); C.callGoStackCheck() }
    func stack44()   { var buf [44]byte; use(buf[:]); C.callGoStackCheck() }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 111.5K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/utils/tftext_utils.cc

      auto op = builder.create<CustomOp>(
          func.getLoc(), func.getFunctionType().getResults(), func.getArguments(),
          api, CustomOption(&builder, custom_option_buffer));
      builder.create<func::ReturnOp>(func.getLoc(), op.getResults());
      return success();
    }
    
    LogicalResult VerifySgnnProjection(func::FuncOp func, FuncAttr attr) {
      if (func.getFunctionType().getNumInputs() != 2 ||
          func.getFunctionType().getNumResults() != 1) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  6. pkg/bootstrap/platform/gcp_test.go

    			func() bool { return true },
    			func() (string, error) { return "pid", nil },
    			func() (string, error) { return "npid", nil },
    			func() (string, error) { return "location", nil },
    			func() (string, error) { return "cluster", nil },
    			func() (string, error) { return "instanceName", nil },
    			func() (string, error) { return "instance", nil },
    			func() (string, error) { return "", errors.New("error") },
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Dec 15 00:37:33 UTC 2023
    - 17.7K bytes
    - Viewed (0)
  7. src/internal/runtime/atomic/atomic_loong64.go

    func And8(ptr *uint8, val uint8)
    
    //go:noescape
    func And(ptr *uint32, val uint32)
    
    //go:noescape
    func Or8(ptr *uint8, val uint8)
    
    //go:noescape
    func Or(ptr *uint32, val uint32)
    
    //go:noescape
    func And32(ptr *uint32, val uint32) uint32
    
    //go:noescape
    func Or32(ptr *uint32, val uint32) uint32
    
    //go:noescape
    func And64(ptr *uint64, val uint64) uint64
    
    //go:noescape
    func Or64(ptr *uint64, val uint64) uint64
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf-binary-elementwise.mlir

      func.return %0 : tensor<4xi32>
    }
    
    // CHECK-LABEL: func @div_unranked
    func.func @div_unranked(%arg0: tensor<*xi32>, %arg1: tensor<?x?xi32>) -> tensor<?x?xi32> {
      // CHECK-NEXT: tf.Div
      %0 = "tf.Div"(%arg0, %arg1) : (tensor<*xi32>, tensor<?x?xi32>) -> tensor<?x?xi32>
      func.return %0: tensor<?x?xi32>
    }
    
    // CHECK-LABEL: func @maximum
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 06 15:32:52 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/tests/mark_input_output_aliases.mlir

    // CHECK-NOT: tf.aliasing_output
    func.func @device_func_2(%arg0: tensor<i32>) -> tensor<i32> {
      func.return %arg0 : tensor<i32>
    }
    
    // CHECK-LABEL: func @skip_multiple_assigns_to_resource
    func.func @skip_multiple_assigns_to_resource(%arg0: !tf_res_f32, %arg1: !tf_res_f32) {
      %0 = "tf.ReadVariableOp"(%arg0) : (!tf_res_f32) -> tensor<f32>
      %1 = "tf.ReadVariableOp"(%arg1) : (!tf_res_f32) -> tensor<f32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 04:14:26 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  10. test/escape2n.go

    		return x
    	}
    }
    
    func foo23a(x int) func() int {
    	f := func() int { // ERROR "func literal escapes to heap$"
    		return x
    	}
    	return f
    }
    
    func foo23b(x int) *(func() int) {
    	f := func() int { return x } // ERROR "func literal escapes to heap$" "moved to heap: f$"
    	return &f
    }
    
    func foo23c(x int) func() int { // ERROR "moved to heap: x$"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 35.1K bytes
    - Viewed (0)
Back to top