- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 156 for cmdtest (0.11 sec)
-
src/cmd/cgo/internal/test/issue20266.go
// Copyright 2017 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Issue 20266: use -I with a relative path. package cgotest /* #cgo CFLAGS: -I issue20266 -Iissue20266 -Ddef20266 #include "issue20266.h" */ import "C" import "testing" func test20266(t *testing.T) { if got, want := C.issue20266, 20266; got != want {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 12:00:02 UTC 2023 - 463 bytes - Viewed (0) -
src/cmd/cgo/internal/test/setgid2_linux.go
// license that can be found in the LICENSE file. // Stress test setgid and thread creation. A thread // can get a SIGSETXID signal early on at thread // initialization, causing crash. See issue 53374. package cgotest /* #include <sys/types.h> #include <unistd.h> */ import "C" import ( "runtime" "testing" ) func testSetgidStress(t *testing.T) { const N = 50 ch := make(chan int, N)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 12:00:02 UTC 2023 - 681 bytes - Viewed (0) -
src/cmd/cgo/internal/test/issue23555.go
// license that can be found in the LICENSE file. //go:build cgo // Test that we can have two identical cgo packages in a single binary. // No runtime test; just make sure it compiles. package cgotest import ( _ "cmd/cgo/internal/test/issue23555a" _ "cmd/cgo/internal/test/issue23555b"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 12:00:02 UTC 2023 - 403 bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/CharSinkTester.java
suite.addTest(stringSuite); } return suite; } static TestSuite suiteForString( String name, CharSinkFactory factory, String string, String desc) { TestSuite stringSuite = new TestSuite(name + " [" + desc + "]"); for (final Method method : testMethods) { stringSuite.addTest(new CharSinkTester(factory, string, name, desc, method)); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Oct 10 19:45:10 UTC 2022 - 4K bytes - Viewed (0) -
guava-testlib/test/com/google/common/collect/testing/SafeTreeSetTest.java
import junit.framework.TestSuite; public class SafeTreeSetTest extends TestCase { public static Test suite() { TestSuite suite = new TestSuite(); suite.addTestSuite(SafeTreeSetTest.class); suite.addTest( NavigableSetTestSuiteBuilder.using( new TestStringSetGenerator() { @Override protected Set<String> create(String[] elements) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 4.4K bytes - Viewed (0) -
src/cmd/cgo/internal/test/sigprocmask.go
// Copyright 2015 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build !windows package cgotest /* #cgo CFLAGS: -pthread #cgo LDFLAGS: -pthread extern int RunSigThread(); extern int CheckBlocked(); */ import "C" import ( "os" "os/signal" "syscall" "testing" ) var blocked bool //export IntoGoAndBack
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 12:00:02 UTC 2023 - 808 bytes - Viewed (0) -
src/cmd/cgo/internal/test/issue8517_windows.go
// Copyright 2014 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package cgotest //void testHandleLeaks(); import "C" import ( "syscall" "testing" "unsafe" ) var issue8517counter int var ( kernel32 = syscall.MustLoadDLL("kernel32.dll") getProcessHandleCount = kernel32.MustFindProc("GetProcessHandleCount")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 12:00:02 UTC 2023 - 990 bytes - Viewed (0) -
src/cmd/cgo/internal/test/test_windows.go
// Copyright 2019 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package cgotest import "syscall"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 12:00:02 UTC 2023 - 234 bytes - Viewed (0) -
src/cmd/cgo/internal/test/issue8148.go
// license that can be found in the LICENSE file. // Issue 8148. A typedef of an unnamed struct didn't work when used // with an exported Go function. No runtime test; just make sure it // compiles. package cgotest /* typedef struct { int i; } T; int get8148(void); */ import "C" //export issue8148Callback func issue8148Callback(t *C.T) C.int { return t.i } func Issue8148() int {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 12:00:02 UTC 2023 - 526 bytes - Viewed (0) -
src/cmd/cgo/internal/test/test26213.go
// Copyright 2018 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build cgo package cgotest import ( "testing" "cmd/cgo/internal/test/issue26213" ) func test26213(t *testing.T) { issue26213.Test26213(t)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 12:00:02 UTC 2023 - 311 bytes - Viewed (0)