- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 135 for Cfunc2 (0.23 sec)
-
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) -
test/closure3.dir/main.go
}; z(1) != 43 { // ERROR "inlining call to main.func23" "inlining call to main.main.func23.func31" ppanic("z(1) != 43") } } { a := 1 func() { // ERROR "can inline main.func24" func() { // ERROR "can inline main.func24" "can inline main.main.func24.func32" a = 2 }() // ERROR "inlining call to main.func24" }() // ERROR "inlining call to main.func24" "inlining call to main.main.func24.func32"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 17 19:36:29 UTC 2023 - 8.3K bytes - Viewed (0) -
src/cmd/go/testdata/script/cover_coverpkg_partial.txt
func TestB(t *testing.T) { if BFunc() == 1010101 { t.Fatalf("bad!") } } -- c/c.go -- package c var G int func CFunc(x, y int) int { G += x G -= y return x + y } -- c/c_test.go -- package c import "testing" func TestC(t *testing.T) { if CFunc(10, 10) == 1010101 { t.Fatalf("bad!") } } -- d/d.go -- package d const FortyTwo = 42
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 20:12:49 UTC 2024 - 3.3K bytes - Viewed (0) -
test/fixedbugs/issue4167.go
package main type pa []int type p int func (this *pa) func1() (v *p, c int) { for _ = range *this { c++ } v = (*p)(&c) return } func (this *pa) func2() p { return (*p).func3(this.func1()) } func (this *p) func3(f int) p { return *this } func (this *pa) func2dots() p { return (*p).func3(this.func1()) } func (this *p) func3dots(f ...int) p { return *this }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 876 bytes - Viewed (0) -
src/crypto/sha1/sha1block_386.s
ADDL DI, e #define FUNC1(a, b, c, d, e) \ MOVL d, DI; \ XORL c, DI; \ ANDL b, DI; \ XORL d, DI #define FUNC2(a, b, c, d, e) \ MOVL b, DI; \ XORL c, DI; \ XORL d, DI #define FUNC3(a, b, c, d, e) \ MOVL b, SI; \ ORL c, SI; \ ANDL d, SI; \ MOVL b, DI; \ ANDL c, DI; \ ORL SI, DI #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 - 6K bytes - Viewed (0) -
test/codegen/issue60324.go
return g(x) } func g(x int) func() { // amd64:"LEAQ\tcommand-line-arguments\\.g\\.h\\.func1" return h(x) } func h(x int) func() { // amd64:"LEAQ\tcommand-line-arguments\\.h\\.func1" return func() { recover() }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 22 22:47:15 UTC 2023 - 805 bytes - Viewed (0) -
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) -
src/internal/trace/testdata/testprog/stacks.go
// the rest of the test, they will block. go func() { // func1 select {} }() go func() { // func2 var c chan int c <- 0 }() go func() { // func3 var c chan int <-c }() done1 := make(chan bool) go func() { // func4 <-done1 }() done2 := make(chan bool) go func() { // func5 done2 <- true }() c1 := make(chan int) c2 := make(chan int)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 2.4K bytes - Viewed (0) -
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) -
tensorflow/compiler/mlir/tensorflow/tests/executor_tpuv1_outline_island/executor_tpuv1_outline_tpu_island.mlir
%2:2 = tf_executor.island(%1#1) { %4 = "tf.opB"() : () -> tensor<f32> tf_executor.yield %4 : tensor<f32> } tf_executor.fetch %2#0 : tensor<f32> } func.return %0 : tensor<f32> } // CHECK-LABEL: @func2 func.func @func2(%arg0 : tensor<i1>) -> tensor<i1> { %0 = tf_executor.graph { %1:2 = tf_executor.island { %4 = "tf.opB"() : () -> tensor<f32> tf_executor.yield %4 : tensor<f32> }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Jun 04 03:54:58 UTC 2022 - 4.9K bytes - Viewed (0)