Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 663 for func4 (0.18 sec)

  1. src/internal/trace/trace_test.go

    			t.Fatal("did not see a goroutine in a the region 'special'")
    		}
    	})
    }
    
    func TestTraceGCStress(t *testing.T) {
    	testTraceProg(t, "gc-stress.go", nil)
    }
    
    func TestTraceGOMAXPROCS(t *testing.T) {
    	testTraceProg(t, "gomaxprocs.go", nil)
    }
    
    func TestTraceStacks(t *testing.T) {
    	testTraceProg(t, "stacks.go", func(t *testing.T, tb, _ []byte, stress bool) {
    		type frame struct {
    			fn   string
    			line int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  2. src/crypto/sha1/sha1block_amd64.s

    	MOVL	R10, (((index)&0xf)*4)(SP)
    
    #define FUNC1(a, b, c, d, e) \
    	MOVL	d, R9; \
    	XORL	c, R9; \
    	ANDL	b, R9; \
    	XORL	d, R9
    
    #define FUNC2(a, b, c, d, e) \
    	MOVL	b, R9; \
    	XORL	c, R9; \
    	XORL	d, R9
    
    #define FUNC3(a, b, c, d, e) \
    	MOVL	b, R8; \
    	ORL	c, R8; \
    	ANDL	d, R8; \
    	MOVL	b, R9; \
    	ANDL	c, R9; \
    	ORL	R8, R9
    
    #define FUNC4 FUNC2
    
    #define MIX(a, b, c, d, e, const) \
    	ROLL	$30, b; \
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 31.5K bytes
    - Viewed (0)
  3. test/newinline.go

    		return x + z
    	}
    	bar := func(x int) int { // ERROR "func literal does not escape" "can inline r.func2"
    		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"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 16 20:15:25 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/experimental/tac/tests/fold-constants-to-subgraph.mlir

      %3 = func.call @arg_reuse_test_2(%arg0, %0, %1) {tac.interface_name = "func2"} : (tensor<4x384x32xf32>, tensor<3xi32>, tensor<3xi32>) -> tensor<1x384x32xf32>
      func.return %2, %3 : tensor<1x384x32xf32>, tensor<1x384x32xf32>
    }
    
    // PARTIAL-LABEL: @arg_reuse_test_1
    func.func @arg_reuse_test_1(%arg0: tensor<4x384x32xf32>, %arg1: tensor<3xi32>, %arg2: tensor<3xi32>) -> tensor<1x384x32xf32> attributes {tac.interface_name = "func1"} {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  5. platforms/native/language-native/src/test/groovy/org/gradle/language/nativeplatform/internal/incremental/SourceParseAndResolutionTest.groovy

            given:
            sourceFile << """
                #define FUNC1(X) X
                #define FUNC2(X) (X)
                #define ARGS ("hello.h")
    
                #define HEADER_(X) X
                #define HEADER(X) HEADER_(FUNC1 FUNC2 X)
    
                #include HEADER(ARGS) // replaced by FUNC1 FUNC2 ("hello.h") then FUNC1 ("hello.h")
            """
    
            expect:
            resolve() == [header]
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 21.5K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ir/func.go

    func (n *Func) editChildren(edit func(Node) Node)           { editNodes(n.Body, edit) }
    func (n *Func) editChildrenWithHidden(edit func(Node) Node) { editNodes(n.Body, edit) }
    
    func (f *Func) Type() *types.Type                { return f.Nname.Type() }
    func (f *Func) Sym() *types.Sym                  { return f.Nname.Sym() }
    func (f *Func) Linksym() *obj.LSym               { return f.Nname.Linksym() }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:05:44 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/stablehlo/cc/saved_model_export_test.cc

          /*saver_def=*/std::nullopt,
          /*function_aliases=*/{{"func1", "alias1"}, {"func2", "alias2"}},
          /*asset_file_defs=*/{});
      ASSERT_THAT(exported_model.function_aliases(), SizeIs(2));
      EXPECT_TRUE(exported_model.function_aliases().contains("func1"));
      EXPECT_THAT(exported_model.function_aliases().at("func1"), StrEq("alias1"));
      EXPECT_TRUE(exported_model.function_aliases().contains("func2"));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 20 11:11:25 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  8. src/text/template/funcs.go

    	return m
    }
    
    // addValueFuncs adds to values the functions in funcs, converting them to reflect.Values.
    func addValueFuncs(out map[string]reflect.Value, in FuncMap) {
    	for name, fn := range in {
    		if !goodName(name) {
    			panic(fmt.Errorf("function name %q is not a valid identifier", name))
    		}
    		v := reflect.ValueOf(fn)
    		if v.Kind() != reflect.Func {
    			panic("value for " + name + " not a function")
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 22:23:55 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/func.go

    }
    func (f *Func) ConstInt32(t *types.Type, c int32) *Value {
    	return f.constVal(OpConst32, t, int64(c), true)
    }
    func (f *Func) ConstInt64(t *types.Type, c int64) *Value {
    	return f.constVal(OpConst64, t, c, true)
    }
    func (f *Func) ConstFloat32(t *types.Type, c float64) *Value {
    	return f.constVal(OpConst32F, t, int64(math.Float64bits(float64(float32(c)))), true)
    }
    func (f *Func) ConstFloat64(t *types.Type, c float64) *Value {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  10. 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)
Back to top