- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,738 for func4 (0.04 sec)
-
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/closure3.dir/main.go
} y = func(x int) int { // ERROR "can inline main.func6" "func literal does not escape" return x + 1 } if y(40) != 41 { ppanic("y(40) != 41") } } { func() { // ERROR "func literal does not escape" y := func(x int) int { // ERROR "can inline main.func7.1" "func literal does not escape" return x + 2 } y = func(x int) int { // ERROR "can inline main.func7.2" "func literal does not escape"
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/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) -
src/crypto/sha1/sha1block_arm.s
SHUFFLE(Re) ; \ FUNC1(Ra, Rb, Rc, Rd, Re) ; \ MIX(Ra, Rb, Rc, Rd, Re) #define ROUND2(Ra, Rb, Rc, Rd, Re) \ SHUFFLE(Re) ; \ FUNC2(Ra, Rb, Rc, Rd, Re) ; \ MIX(Ra, Rb, Rc, Rd, Re) #define ROUND3(Ra, Rb, Rc, Rd, Re) \ SHUFFLE(Re) ; \ FUNC3(Ra, Rb, Rc, Rd, Re) ; \ MIX(Ra, Rb, Rc, Rd, Re) #define ROUND4(Ra, Rb, Rc, Rd, Re) \ SHUFFLE(Re) ; \ FUNC4(Ra, Rb, Rc, Rd, Re) ; \
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:29:44 UTC 2024 - 5.6K bytes - Viewed (0) -
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) -
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) -
test/range4.go
package main var gj int func yield4x(yield func() bool) { _ = yield() && yield() && yield() && yield() } func yield4(yield func(int) bool) { _ = yield(1) && yield(2) && yield(3) && yield(4) } func yield3(yield func(int) bool) { _ = yield(1) && yield(2) && yield(3) } func yield2(yield func(int) bool) { _ = yield(1) && yield(2) } func testfunc0() { j := 0 for range yield4x {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jan 08 16:00:53 UTC 2024 - 5.1K bytes - Viewed (0) -
tensorflow/c/c_api_function_test.cc
if (GetName(funcs[0]) == GetName(func0)) { AssertEqual(func0, funcs[0]); AssertEqual(func1, funcs[1]); } else { AssertEqual(func0, funcs[1]); AssertEqual(func1, funcs[0]); } TF_DeleteFunction(funcs[0]); TF_DeleteFunction(funcs[1]); TF_DeleteFunction(func0); TF_DeleteFunction(func1); } } // namespace
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jul 20 22:08:54 UTC 2023 - 63.6K bytes - Viewed (0) -
src/runtime/pprof/pprof_test.go
t.Fatalf("sample value changed: got [%d, %d], want [%d, %d]", newContentions, newDelay, contentions, delay) } } func func1(c chan int) { <-c } func func2(c chan int) { <-c } func func3(c chan int) { <-c } func func4(c chan int) { <-c } func TestGoroutineCounts(t *testing.T) { // Setting GOMAXPROCS to 1 ensures we can force all goroutines to the // desired blocking point.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 18:42:28 UTC 2024 - 68.8K 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)