Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 3,773 for func4 (0.07 sec)

  1. 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)
  2. src/go/printer/testdata/expressions.golden

    // is non-ambiguous.
    func _() {
    	// these conversions should be rewritten to look
    	// the same as the parenthesized conversions below
    	_ = (func())(nil)
    	_ = (func(x int) float)(nil)
    	_ = (func() func() func())(nil)
    
    	_ = (func())(nil)
    	_ = (func(x int) float)(nil)
    	_ = (func() func() func())(nil)
    }
    
    func _() {
    	_ = f().
    		f(func() {
    			f()
    		}).
    		f(map[int]int{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 03 16:41:54 UTC 2017
    - 12.4K bytes
    - Viewed (0)
  3. src/go/printer/testdata/expressions.raw

    // is non-ambiguous.
    func _() {
    	// these conversions should be rewritten to look
    	// the same as the parenthesized conversions below
    	_ = (func())(nil)
    	_ = (func(x int) float)(nil)
    	_ = (func() func() func())(nil)
    
    	_ = (func())(nil)
    	_ = (func(x int) float)(nil)
    	_ = (func() func() func())(nil)
    }
    
    func _() {
    	_ = f().
    		f(func() {
    			f()
    		}).
    		f(map[int]int{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 03 16:41:54 UTC 2017
    - 12.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/graph-input-func-arg-name-collision.pbtxt

    # This check that we don't error out when importing GraphDef containing
    # functions with arg name that are the same as the graph input name
    
    # CHECK: func @main(%arg0: tensor<{{.*}}i32>) -> tensor<{{.*}}i32>
    # CHECK: func private @while_body
    # CHECK: func private @while_cond
    
    node {
      name: "input"
      op: "Placeholder"
      attr {
        key: "_user_specified_name"
        value {
          s: "input"
        }
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Nov 11 19:14:04 UTC 2020
    - 4.8K bytes
    - Viewed (0)
  5. src/go/types/subst.go

    		}
    	}
    	return
    }
    
    func (subst *subster) func_(f *Func) *Func {
    	if f != nil {
    		if typ := subst.typ(f.typ); typ != f.typ {
    			return substFunc(f, typ)
    		}
    	}
    	return f
    }
    
    func substFunc(f *Func, typ Type) *Func {
    	copy := *f
    	copy.typ = typ
    	copy.origin = f.Origin()
    	return &copy
    }
    
    func (subst *subster) funcList(in []*Func) (out []*Func, copied bool) {
    	out = in
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:04:07 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/tensorflow/debugging/mlir_dump_test.cc

      pm.addNestedPass<mlir::func::FuncOp>(mlir::createCanonicalizerPass());
      pm.addNestedPass<mlir::func::FuncOp>(mlir::createCanonicalizerPass());
    
      EnableIrPrinting(pm, "dump");
    
      constexpr absl::string_view program = R"mlir(
    module{
      func.func @main(%arg0: tensor<10xf32>) -> tensor<10xf32> {
        return %arg0 : tensor<10xf32>
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 14 03:17:14 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  7. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/sourceset/SourceSetLinkDependenciesIntegrationTest.groovy

            file("src/main/headers/funcs.h") << """
                int func1();
                int func2();
    """
            file("src/main/cpp/main.cpp") << """
                #include <iostream>
                #include "funcs.h"
                int main () {
                    std::cout << func1() << func2() << std::endl;
                    return 0;
                }
    """
            file("src/main/cpp1/func1.cpp") << """
                int getOne();
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 4K bytes
    - Viewed (0)
  8. src/net/http/main_test.go

    // (all.bash), but as a serial test otherwise. Using t.Parallel isn't
    // compatible with the afterTest func in non-short mode.
    func setParallel(t *testing.T) {
    	if strings.Contains(t.Name(), "HTTP2") {
    		http.CondSkipHTTP2(t)
    	}
    	if testing.Short() {
    		t.Parallel()
    	}
    }
    
    func runningBenchmarks() bool {
    	for i, arg := range os.Args {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 22:49:46 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/trampoline_reuse_test.txt

    # assembly 2^26 or so times.
    #
    # We build something which should be laid out as such:
    #
    # bar.Bar
    # main.Func1
    # bar.Bar+400-tramp0
    # main.BigAsm
    # main.Func2
    # bar.Bar+400-tramp1
    #
    # bar.Bar needs to be placed far enough away to generate relocations
    # from main package calls. and main.Func1 and main.Func2 are placed
    # a bit more than the direct call limit apart, but not more than 0x400
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 18 14:31:23 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  10. src/internal/trace/testdata/tests/go122-annotations-stress.test

    	pc=4803589 func=114 file=113 line=45
    Stack id=24 nframes=7
    	pc=4634510 func=146 file=116 line=223
    	pc=4634311 func=117 file=118 line=240
    	pc=4633765 func=119 file=118 line=216
    	pc=4633083 func=120 file=118 line=131
    	pc=4764601 func=121 file=122 line=152
    	pc=4765335 func=123 file=122 line=238
    	pc=4804612 func=124 file=113 line=70
    Stack id=43 nframes=2
    	pc=4804022 func=112 file=113 line=67
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 38.3K bytes
    - Viewed (0)
Back to top