Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for Test6997 (0.14 sec)

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

    }
    
    func TestSetgidStress(t *testing.T) {
    	if runtime.GOOS == "android" {
    		t.Skip("unsupported on Android")
    	}
    	testSetgidStress(t)
    }
    
    func Test1435(t *testing.T) { test1435(t) }
    func Test6997(t *testing.T) { test6997(t) }
    func Test9400(t *testing.T) { test9400(t) }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 23 16:49:01 UTC 2024
    - 662 bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/test/cgo_stubs_android_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package cgotest
    
    import "testing"
    
    // Stubs for tests that fails to build on Android
    func test6997(t *testing.T)        {}
    func test8694(t *testing.T)        {}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 359 bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/test/issue6997_linux.go

    package cgotest
    
    /*
    #cgo CFLAGS: -pthread
    #cgo LDFLAGS: -pthread
    extern int StartThread();
    extern int CancelThread();
    */
    import "C"
    
    import (
    	"testing"
    	"time"
    )
    
    func test6997(t *testing.T) {
    	r := C.StartThread()
    	if r != 0 {
    		t.Error("pthread_create failed")
    	}
    	c := make(chan C.int)
    	go func() {
    		time.Sleep(500 * time.Millisecond)
    		c <- C.CancelThread()
    	}()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 879 bytes
    - Viewed (0)
  4. src/cmd/cgo/internal/test/cgo_test.go

    func Test5986(t *testing.T)                  { test5986(t) }
    func Test6390(t *testing.T)                  { test6390(t) }
    func Test6833(t *testing.T)                  { test6833(t) }
    func Test6907(t *testing.T)                  { test6907(t) }
    func Test6907Go(t *testing.T)                { test6907Go(t) }
    func Test7560(t *testing.T)                  { test7560(t) }
    func Test7665(t *testing.T)                  { test7665(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)
  5. src/cmd/cgo/internal/test/test.go

    			t.Errorf("C.myint as const = %v, want 1.5", c)
    		}
    	}
    
    	if s := C.mystring_def; s != "hello" {
    		t.Errorf("C.mystring_def = %q, want %q", s, "hello")
    	}
    }
    
    // issue 6907
    
    func test6907(t *testing.T) {
    	want := "yarn"
    	if got := C.GoString(C.Issue6907CopyString(want)); got != want {
    		t.Errorf("C.GoString(C.Issue6907CopyString(%q)) == %q, want %q", want, got, want)
    	}
    }
    
    // issue 7560
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 48.5K bytes
    - Viewed (0)
Back to top