Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,721 for func4 (0.11 sec)

  1. src/cmd/compile/internal/typecheck/func.go

    // (Call typecheck.Func instead.)
    func tcFunc(n *ir.Func) {
    	if base.EnableTrace && base.Flag.LowerT {
    		defer tracePrint("tcFunc", n)(nil)
    	}
    
    	if name := n.Nname; name.Typecheck() == 0 {
    		base.AssertfAt(name.Type() != nil, n.Pos(), "missing type: %v", name)
    		name.SetTypecheck(1)
    	}
    }
    
    // tcCall typechecks an OCALL node.
    func tcCall(n *ir.CallExpr, top int) ir.Node {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 06 15:23:18 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/common/func.h

    #define TENSORFLOW_COMPILER_MLIR_QUANTIZATION_COMMON_FUNC_H_
    
    #include "mlir/Dialect/Func/IR/FuncOps.h"  // from @llvm-project
    #include "mlir/IR/BuiltinOps.h"  // from @llvm-project
    
    namespace mlir::quant {
    
    // Returns a public `func::FuncOp` in `module_op` whose name matches either
    // `main` or `serving_default`. If `func::FuncOps` with both names exist, the
    // function with name "main" takes precedence. Returns null if no such a
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Feb 19 06:55:11 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  3. src/runtime/runtime-seh_windows_test.go

    	sehf1pc := abi.FuncPCABIInternal(sehf1)
    	var fnwithframe func()
    	fnwithframe = func() {
    		fnwithframe()
    	}
    	fnwithoutframe := func() {}
    	tests := []struct {
    		name     string
    		pc       uintptr
    		hasframe bool
    	}{
    		{"no frame func", abi.FuncPCABIInternal(sehf2), false},
    		{"no func", sehf1pc - 1, false},
    		{"func at entry", sehf1pc, true},
    		{"func in prologue", sehf1pc + 1, true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jul 31 16:52:06 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  4. test/fixedbugs/issue20250.go

    // due to propagation of addrtaken to outer variables for
    // closure variables.
    
    package p
    
    type T struct {
    	s [2]string
    }
    
    func f(a T) { // ERROR "live at entry to f: a$"
    	var e interface{} // ERROR "stack object e interface \{\}$"
    	func() {          // ERROR "live at entry to f.func1: &e a$"
    		e = a.s // ERROR "live at call to convT: &e$" "stack object a T$"
    	}()
    	// Before the fix, both a and e were live at the previous line.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 727 bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/function-func-attr.pbtxt

    # CHECK-DAG: func private @custom_embedding_matmul{{[0-9]*}}(){{.+}}tf._implements = #tf_type.func<@tensorflow.embedding_matmul, {key1 = 2 : i64, key2 = false}>, tf._original_func_name = "custom_embedding_matmul"}...
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Aug 01 20:09:54 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  6. src/internal/trace/testdata/tests/go122-annotations.test

    	pc=4544740 func=44 file=42 line=868
    	pc=4538792 func=45 file=42 line=258
    	pc=4814277 func=37 file=36 line=125
    	pc=4815228 func=38 file=31 line=27
    Stack id=22 nframes=3
    	pc=4642148 func=46 file=47 line=81
    	pc=4816326 func=48 file=47 line=87
    	pc=4815941 func=34 file=31 line=50
    Stack id=11 nframes=1
    	pc=4815364 func=38 file=31 line=34
    Stack id=5 nframes=4
    	pc=4547349 func=49 file=50 line=42
    	pc=4538780 func=45 file=42 line=257
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  7. src/runtime/race/output_test.go

          .*/runtime/string\.go:.*
      main\.main\.func1\(\)
          .*/main.go:7`}},
    
    	// Test for https://golang.org/issue/33309
    	{"midstack_inlining_traceback", "run", "linux", "atexit_sleep_ms=0", `
    package main
    
    var x int
    var c chan int
    func main() {
    	c = make(chan int)
    	go f()
    	x = 1
    	<-c
    }
    
    func f() {
    	g(c)
    }
    
    func g(c chan int) {
    	h(c)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 25 20:44:25 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/tests/guarantee-all-funcs-one-use.mlir

    // CHECK-LABEL: func @f
    // 2 copies of @g
    // CHECK-DAG: func @g{{.*}}
    // CHECK-DAG: func private @g{{.*}}
    // 4 copies of @h
    // CHECK-DAG: func @h{{.*}}
    // CHECK-DAG: func private @h{{.*}}
    // CHECK-DAG: func private @h{{.*}}
    // CHECK-DAG: func private @h{{.*}}
    func.func @f() {
      func.call @g() : () -> ()
      func.call @g() : () -> ()
      func.return
    }
    
    func.func @g() {
      func.call @h() : () -> ()
      func.call @h() : () -> ()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/tests/tpu-multiple-while-body-func.mlir

      "func.func"() ({
      ^bb0(%arg0: tensor<i32>):
        "func.return"(%arg0) : (tensor<i32>) -> ()
      }) {sym_name = "main_while_body_4225150", sym_visibility = "private", tf._input_shapes = [#tf_type.shape<>], tf.signature.is_stateful, function_type = (tensor<i32>) -> (tensor<i32>)} : () -> ()
      "func.func"() ({
      ^bb0(%arg0: tensor<i32>):
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 13 21:23:47 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  10. test/inline.go

    		return x + func(y int) int { // ERROR "can inline r.func2.1" "can inline r.r.func2.func3"
    			return 2*y + x*z
    		}(x) // ERROR "inlining call to r.func2.1"
    	}
    	return foo(42) + bar(42) // ERROR "inlining call to r.func1" "inlining call to r.func2" "inlining call to r.r.func2.func3"
    }
    
    func s0(x int) int { // ERROR "can inline s0"
    	foo := func() { // ERROR "can inline s0.func1" "func literal does not escape"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 11.7K bytes
    - Viewed (0)
Back to top