Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 371 for testp4 (0.13 sec)

  1. 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)
  2. 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)
  3. 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)
  4. maven-core/src/test/java/org/apache/maven/execution/DefaultBuildResumptionAnalyzerTest.java

            assertThat(result.isPresent(), is(true));
            assertThat(result.get().getRemainingProjects(), is(asList("test:B", "test:C")));
        }
    
        @Test
        void projectsFailingAfterAnotherFailedProjectAreNotExcluded() {
            MavenProject projectA = createSucceededMavenProject("A");
            MavenProject projectB = createFailedMavenProject("B");
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sat Apr 15 17:24:20 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  5. 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)
  6. src/runtime/pprof/testdata/README

    These binaries were generated by:
    
    $ cat empty.s
    .global _start
    _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)
  7. 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)
  8. test/fixedbugs/issue24449.go

    		atomic.AddInt64(&cnt64, 8)
    	}
    	if len(a) <= len(b) {
    		atomic.AddInt64(&cnt64, 16)
    	}
    	return atomic.LoadInt64(&cnt64) == 31
    }
    
    func main() {
    	if !test32([]int{}, []int{}) {
    		panic("test32")
    	}
    	if !test64([]int{}, []int{}) {
    		panic("test64")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 20 09:44:50 UTC 2018
    - 1.2K bytes
    - Viewed (0)
  9. test/ken/embed.go

    // license that can be found in the LICENSE file.
    
    // Test embedded fields of structs, including methods.
    
    package main
    
    
    type I interface {
    	test1() int
    	test2() int
    	test3() int
    	test4() int
    	test5() int
    	test6() int
    	test7() int
    }
    
    /******
     ******
     ******/
    
    type SubpSubp struct {
    	a7 int
    	a  int
    }
    
    func (p *SubpSubp) test7() int {
    	if p.a != p.a7 {
    		println("SubpSubp", p, p.a7)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 03 17:03:15 UTC 2016
    - 4.3K bytes
    - Viewed (0)
  10. test/recover1.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // 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{}) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 2.5K bytes
    - Viewed (0)
Back to top