Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 682 for test32 (0.12 sec)

  1. src/runtime/pprof/testdata/test32

    Russ Cox <******@****.***> 1488850797 -0500
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 08 01:09:18 UTC 2017
    - 528 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/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)
  4. 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)
  5. 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)
  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. test/armimm.go

    func bic64(x uint64) uint64 {
    	return x &^ c64a
    }
    
    // Note: x-c gets rewritten to x+(-c), so SUB and SBC are not directly testable.
    // I disabled that rewrite rule before running this test.
    
    func main() {
    	test32()
    	test64()
    }
    
    func test32() {
    	var a uint32 = 0x11111111
    	var want, got uint32
    	if want, got = a+c32a, add32a(a); got != want {
    		panic(fmt.Sprintf("add32a(%x) = %x, want %x", a, got, want))
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 11 13:53:54 UTC 2017
    - 3.9K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top