Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 71 for test64i (0.13 sec)

  1. test/fixedbugs/issue15002.go

    	err = syscall.Mprotect(b[p:], syscall.PROT_NONE)
    	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)
  2. src/runtime/pprof/testdata/test64

    Russ Cox <******@****.***> 1488850797 -0500
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 08 01:09:18 UTC 2017
    - 760 bytes
    - Viewed (0)
  3. maven-core/src/test/java/org/apache/maven/internal/impl/TestApi.java

    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertNull;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    @PlexusTest
    class TestApi {
    
        Session session;
    
        @Inject
        RepositorySystem repositorySystem;
    
        @Inject
        org.apache.maven.project.ProjectBuilder projectBuilder;
    
        @Inject
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 14:13:36 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  4. src/runtime/pprof/testdata/README

    _start:
    $ as --32 -o empty.o empty.s && ld  --build-id -m elf_i386 -o test32 empty.o
    $ as --64 -o empty.o empty.s && ld --build-id -o test64 empty.o
    $ powerpc-linux-gnu-as -o empty.o empty.s && powerpc-linux-gnu-ld --build-id -o test32be empty.o
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 08 01:09:18 UTC 2017
    - 411 bytes
    - Viewed (0)
  5. src/runtime/pprof/testdata/test64be

    Russ Cox <******@****.***> 1488850797 -0500
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 08 01:09:18 UTC 2017
    - 856 bytes
    - Viewed (0)
  6. test/ken/embed.go

    		println("t5", 2)
    		panic("fail")
    	}
    	if i.test3() != s.test3() {
    		println("t5", 3)
    		panic("fail")
    	}
    	if i.test4() != s.test4() {
    		println("t5", 4)
    		panic("fail")
    	}
    	if i.test5() != s.test5() {
    		println("t5", 5)
    		panic("fail")
    	}
    	if i.test6() != s.test6() {
    		println("t5", 6)
    		panic("fail")
    	}
    	if i.test7() != s.test7() {
    		println("t5", 7)
    		panic("fail")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 03 17:03:15 UTC 2016
    - 4.3K bytes
    - Viewed (0)
  7. test/recover1.go

    // Test of recover during recursive panics.
    // Here be dragons.
    
    package main
    
    import "runtime"
    
    func main() {
    	test1()
    	test2()
    	test3()
    	test4()
    	test5()
    	test6()
    	test7()
    }
    
    func die() {
    	runtime.Breakpoint()	// can't depend on panic
    }
    
    func mustRecover(x interface{}) {
    	mustNotRecover()	// because it's not a defer call
    	v := recover()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 2.5K bytes
    - Viewed (0)
  8. test/recover.go

    	// - some lesser bugs in recover()
    	// - incomplete support for reflection
    	interp := os.Getenv("GOSSAINTERP") != ""
    
    	test1()
    	test1WithClosures()
    	test2()
    	test3()
    	if !interp {
    		test4()
    	}
    	test5()
    	test6()
    	test6WithClosures()
    	test7()
    	test8()
    	test9()
    	if !interp {
    		test9reflect1()
    		test9reflect2()
    	}
    	test10()
    	if !interp {
    		test10reflect1()
    		test10reflect2()
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 10.6K bytes
    - Viewed (0)
  9. test/recover2.go

    // TODO(rsc):
    //	null pointer accesses
    
    package main
    
    import "strings"
    
    var x = make([]byte, 10)
    
    func main() {
    	test1()
    	test2()
    	test3()
    	test4()
    	test5()
    	test6()
    	test7()
    }
    
    func mustRecover(s string) {
    	v := recover()
    	if v == nil {
    		panic("expected panic")
    	}
    	if e := v.(error).Error(); strings.Index(e, s) < 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 03 20:41:29 UTC 2019
    - 1.2K bytes
    - Viewed (0)
  10. test/fixedbugs/issue5755.dir/main.go

    // license that can be found in the LICENSE file.
    
    package main
    
    import "./a"
    
    func main() {
    	a.Test1("frumious")
    	a.Test2("frumious")
    	a.Test3("frumious")
    	a.Test4("frumious")
    
    	a.Test5(nil)
    	a.Test6(nil)
    	a.Test7(nil)
    	a.Test8(nil)
    	a.Test9(0)
    
    	a.TestBar()
    	a.IsBaz(nil)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 28 21:29:13 UTC 2013
    - 385 bytes
    - Viewed (0)
Back to top