Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 610 for test1f (0.1 sec)

  1. test/fixedbugs/issue8048.go

    package main
    
    import "runtime"
    
    func main() {
    	test1()
    	test2()
    	test3()
    }
    
    func test1() {
    	// test1f will panic without its own defer.
    	// The runtime.GC checks that we can walk the stack
    	// at that point and not get confused.
    	// The recover lets test1 exit normally.
    	defer func() {
    		runtime.GC()
    		recover()
    	}()
    	test1f()
    }
    
    func test1f() {
    	// Because b == false, the if does not execute,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 2K bytes
    - Viewed (0)
  2. test/recover.go

    	test6WithClosures()
    	test7()
    	test8()
    	test9()
    	if !interp {
    		test9reflect1()
    		test9reflect2()
    	}
    	test10()
    	if !interp {
    		test10reflect1()
    		test10reflect2()
    	}
    	test11()
    	if !interp {
    		test11reflect1()
    		test11reflect2()
    	}
    	test111()
    	test12()
    	if !interp {
    		test12reflect1()
    		test12reflect2()
    	}
    	test13()
    	if !interp {
    		test13reflect1()
    		test13reflect2()
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 10.6K bytes
    - Viewed (0)
  3. test/fixedbugs/issue15002.go

    	if err != nil {
    		panic(err)
    	}
    	// Get a slice pointing to the last byte of the good page.
    	x := b[p-one : p]
    
    	test16(x)
    	test16i(x, 0)
    	test32(x)
    	test32i(x, 0)
    	test64(x)
    	test64i(x, 0)
    }
    
    func test16(x []byte) uint16 {
    	defer func() {
    		r := recover()
    		if r == nil {
    			panic("no fault or bounds check failure happened")
    		}
    		s := fmt.Sprintf("%s", r)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/vendor_complex.txt

    env GO111MODULE=off
    
    # smoke test for complex build configuration
    go build -o complex.exe complex
    [!cross] [exec:gccgo] go build -compiler=gccgo -o complex.exe complex
    
    -- complex/main.go --
    package main
    
    import (
    	_ "complex/nest/sub/test12"
    	_ "complex/nest/sub/test23"
    	"complex/w"
    	"v"
    )
    
    func main() {
    	println(v.Hello + " " + w.World)
    }
    
    -- complex/nest/sub/test12/p.go --
    package test12
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 18 14:52:30 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  5. platforms/jvm/testing-jvm/src/integTest/resources/org/gradle/testing/testng/TestNGJdkNavigationIntegrationTest/shouldNotNavigateToJdkClasses/src/test/java/org/gradle/Test1.java

    package org.gradle;
    
    import org.testng.annotations.Test;
    
    import static org.testng.Assert.assertEquals;
    
    public class Test1 extends AbstractTest {
    
        @Test
        public void shouldPass() {
            assertEquals(1, value);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 229 bytes
    - Viewed (0)
  6. src/cmd/go/testdata/vcstest/go/test1-svn-git.txt

    -- git-README-only/pkg/index.html --
    <!DOCTYPE html>
    <html>
    <meta name="go-import" content="vcs-test.golang.org/go/test1-svn-git/git-README-only git https://vcs-test.golang.org/git/README-only">
    -- index.html --
    <!DOCTYPE html>
    <html>
    <meta name="go-import" content="vcs-test.golang.org/go/test1-svn-git svn https://vcs-test.golang.org/svn/test1-svn-git">
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 25 13:22:22 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  7. test/fixedbugs/issue12577.go

    		println("BUG: got", f, "want 0.0")
    		return
    	}
    }
    
    func test64(f float64) {
    	if f != 0 || math.Signbit(f) {
    		println("BUG: got", f, "want 0.0")
    		return
    	}
    }
    
    func main() {
    	if f := -x0; f != 0 || !math.Signbit(float64(f)) {
    		println("BUG: got", f, "want -0.0")
    	}
    
    	test32(-0.0)
    	test32(x0)
    	test32(x1)
    	test32(x2)
    	test32(x3)
    
    	if f := -y0; f != 0 || !math.Signbit(f) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 20 22:11:11 UTC 2015
    - 1011 bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/snippets/testing/testng-preserveorder/groovy/src/test/java/org/gradle/testng/Test2.java

        public void test1() {
            System.out.println("Test2.test1()");
        }
    
        @Test(dependsOnMethods = {"test1"})
        public void test2() {
            System.out.println("Test2.test2()");
        }
    
        @AfterClass
        public void afterClass() {
            System.out.println("Test2.afterClass()");
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 736 bytes
    - Viewed (0)
  9. test/fixedbugs/issue14651.go

    )
    
    func main() {
    	test32(float32(m0000p149), f32(m0000p149))
    	test32(float32(m1000p149), f32(m1000p149))
    	test32(float32(m1001p149), f32(m1001p149))
    	test32(float32(m1011p149), f32(m1011p149))
    	test32(float32(m1100p149), f32(m1100p149))
    
    	test64(float64(m0000p1074), f64(m0000p1074))
    	test64(float64(m1000p1074), f64(m1000p1074))
    	test64(float64(m1001p1074), f64(m1001p1074))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 22 17:09:29 UTC 2016
    - 1.9K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/testing/testng-preserveorder/kotlin/src/test/java/org/gradle/testng/Test2.java

        public void test1() {
            System.out.println("Test2.test1()");
        }
    
        @Test(dependsOnMethods = {"test1"})
        public void test2() {
            System.out.println("Test2.test2()");
        }
    
        @AfterClass
        public void afterClass() {
            System.out.println("Test2.afterClass()");
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 736 bytes
    - Viewed (0)
Back to top