Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 117 for cfunc (0.09 sec)

  1. pkg/controlplane/reconcilers/lease_test.go

    	t.Cleanup(func() { server.Terminate(t) })
    
    	newFunc := func() runtime.Object { return &corev1.Endpoints{} }
    	newListFunc := func() runtime.Object { return &corev1.EndpointsList{} }
    	sc.Codec = apitesting.TestStorageCodec(codecs, corev1.SchemeGroupVersion)
    
    	s, dFunc, err := factory.Create(*sc.ForResource(schema.GroupResource{Resource: "endpoints"}), newFunc, newListFunc, "")
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 24 09:23:05 UTC 2023
    - 28.7K bytes
    - Viewed (0)
  2. src/runtime/start_line_test.go

    }
    
    //go:noinline
    func multilineDeclarationFunc1(
    	a, b, c int) int {
    	return callerStartLine(false)
    }
    
    func blankLinesFunc() int {
    
    	// Some
    	// lines
    	// without
    	// code
    
    	return callerStartLine(false)
    }
    
    func inlineFunc() int {
    	return inlineFunc1()
    }
    
    func inlineFunc1() int {
    	return callerStartLine(true)
    }
    
    var closureFn func() int
    
    func normalClosure() int {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 20 22:54:22 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/preserve-entry-func-names.mlir

    // RUN: tf-mlir-translate -mlir-to-graphdef %s -o - | FileCheck %s
    
    func.func @main(%arg0: tensor<10xi32>, %arg1: tensor<10xi32>) -> tensor<10xi32>
    attributes {tf.entry_function = {inputs = "foo,bar", outputs = "Add"}} {
      %graph = tf_executor.graph {
        // This node would be renamed to bar1 [note: if imported from TF graphdef this would not be possible]
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 17 22:54:55 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/tests/tpu_space_to_depth_pass.mlir

        func.return
      }
      // CHECK-LABEL: func @while_body_2710
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 37.4K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/walk/closure.go

    //
    // For illustration, the following call:
    //
    //	func(a int) {
    //		println(byval)
    //		byref++
    //	}(42)
    //
    // becomes:
    //
    //	func(byval int, &byref *int, a int) {
    //		println(byval)
    //		(*&byref)++
    //	}(byval, &byref, 42)
    func directClosureCall(n *ir.CallExpr) {
    	clo := n.Fun.(*ir.ClosureExpr)
    	clofn := clo.Func
    
    	if ir.IsTrivialClosure(clo) {
    		return // leave for walkClosure to handle
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 15:56:08 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  6. src/cmd/link/elf_test.go

    	if out, err := cmd.CombinedOutput(); err != nil {
    		t.Logf("%s", out)
    		t.Fatal(err)
    	}
    }
    
    var cSources35779 = []string{`
    static int blah() { return 42; }
    int Cfunc1() { return blah(); }
    `, `
    static int blah() { return 42; }
    int Cfunc2() { return blah(); }
    `,
    }
    
    // TestMinusRSymsWithSameName tests a corner case in the new
    // loader. Prior to the fix this failed with the error 'loadelf:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 16:34:01 UTC 2023
    - 13.7K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/tests/tpu_bridge_v1/end_to_end.mlir

      func.func @main() {
    // CHECK: arith.constant
    // CHECK: TPUCompile
    // CHECK: TPUExecute
    // CHECK-NOT: func @_func
        tf_executor.graph {
          %outputs, %control = tf_executor.island wraps "arith.constant"() {value = dense<2.000000e+00> : tensor<f32>} : () -> tensor<f32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 13 21:23:47 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/syntax/tokens.go

    	_Chan        // chan
    	_Const       // const
    	_Continue    // continue
    	_Default     // default
    	_Defer       // defer
    	_Else        // else
    	_Fallthrough // fallthrough
    	_For         // for
    	_Func        // func
    	_Go          // go
    	_Goto        // goto
    	_If          // if
    	_Import      // import
    	_Interface   // interface
    	_Map         // map
    	_Package     // package
    	_Range       // range
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 14:52:38 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/syntax/printer.go

    func groupFor(d Decl) (token, *Group) {
    	switch d := d.(type) {
    	case *ImportDecl:
    		return _Import, d.Group
    	case *ConstDecl:
    		return _Const, d.Group
    	case *TypeDecl:
    		return _Type, d.Group
    	case *VarDecl:
    		return _Var, d.Group
    	case *FuncDecl:
    		return _Func, nil
    	default:
    		panic("unreachable")
    	}
    }
    
    type printGroup struct {
    	node
    	Tok   token
    	Decls []Decl
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 24 07:17:27 UTC 2023
    - 21.5K bytes
    - Viewed (0)
  10. src/go/doc/example_test.go

    func (Type1) Func1_foo() {}
    func (Type1) func2() {}
    
    func (type2) Func1() {}
    
    type (
    	Conflict          int
    	Conflict_Conflict int
    	Conflict_conflict int
    )
    
    func (Conflict) Conflict() {}
    
    func GFunc[T any]() {}
    
    type GType[T any] int
    
    func (GType[T]) M() {}
    `
    	const test = `
    package p_test
    
    func ExampleConst1() {} // invalid - no support for consts and vars
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 10 16:17:51 UTC 2022
    - 9.6K bytes
    - Viewed (0)
Back to top