Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for test3729 (0.14 sec)

  1. src/cmd/cgo/internal/test/cgo_test.go

    func Test1635(t *testing.T)                  { test1635(t) }
    func Test3250(t *testing.T)                  { test3250(t) }
    func Test3729(t *testing.T)                  { test3729(t) }
    func Test3775(t *testing.T)                  { test3775(t) }
    func Test4029(t *testing.T)                  { test4029(t) }
    func Test4339(t *testing.T)                  { test4339(t) }
    func Test5227(t *testing.T)                  { test5227(t) }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 17 21:53:11 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/test/test.go

    	}
    	for _, v := range table {
    		if o := C.vabs(v.in); o != v.out {
    			t.Fatalf("abs(%d) got %d, should be %d", v.in, o, v.out)
    			return
    		}
    	}
    }
    
    // issue 3729
    
    func test3729(t *testing.T) {
    	if runtime.GOOS == "windows" {
    		t.Skip("skipping on windows")
    	}
    
    	_, e := C.g()
    	if e != syscall.E2BIG {
    		t.Errorf("got %q, expect %q", e, syscall.E2BIG)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 48.5K bytes
    - Viewed (0)
  3. 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")
    		}
    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/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)
  5. test/fixedbugs/issue12577.go

    	}
    }
    
    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) {
    		println("BUG: got", f, "want -0.0")
    	}
    
    	test64(-0.0)
    	test64(y0)
    	test64(y1)
    	test64(y2)
    	test64(y3)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 20 22:11:11 UTC 2015
    - 1011 bytes
    - Viewed (0)
  6. test/fixedbugs/issue24449.go

    	if len(a) >= len(b) {
    		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)
  7. test/fixedbugs/issue14651.go

    	m1011p1074 = 0xb / 16.0 * p1074 // = 0.1011p-1074
    	m1100p1074 = 0xc / 16.0 * p1074 // = 0.1100p-1074
    )
    
    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))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 22 17:09:29 UTC 2016
    - 1.9K bytes
    - Viewed (0)
  8. src/cmd/cgo/internal/test/issue4029w.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build windows || static || (darwin && internal)
    
    package cgotest
    
    import "testing"
    
    func test4029(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 04 15:41:19 UTC 2023
    - 281 bytes
    - Viewed (0)
  9. src/cmd/cgo/internal/test/issue4029.go

    func IMPInitWithFrame() {
    	callbacks++
    }
    
    //export IMPDrawRect
    func IMPDrawRect() {
    	callbacks++
    }
    
    //export IMPWindowResize
    func IMPWindowResize() {
    	callbacks++
    }
    
    func test4029(t *testing.T) {
    	loadThySelf(t, "IMPWindowResize")
    	loadThySelf(t, "IMPDrawRect")
    	loadThySelf(t, "IMPInitWithFrame")
    	loadThySelf(t, "IMPIsOpaque")
    	if callbacks != 4 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 04 15:41:19 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  10. 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)
Back to top