- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 23 for cgosotest (0.36 sec)
-
src/cmd/cgo/internal/test/cgo_linux_test.go
// Copyright 2012 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 ( "os" "runtime" "testing" ) func TestSetgid(t *testing.T) { if runtime.GOOS == "android" { t.Skip("unsupported on Android") } if _, err := os.Stat("/etc/alpine-release"); err == nil {
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri May 12 12:00:02 GMT 2023 - 1K bytes - Viewed (0) -
src/cmd/cgo/internal/test/backdoor.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 import _ "unsafe" //go:linkname lockedOSThread runtime.lockedOSThread //extern runtime_lockedOSThread
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri May 12 12:00:02 GMT 2023 - 307 bytes - Viewed (0) -
src/cmd/cgo/internal/test/issue29563.go
// license that can be found in the LICENSE file. //go:build cgo && !windows // Issue 29563: internal linker fails on duplicate weak symbols. // No runtime test; just make sure it compiles. package cgotest
Go - Registered: Tue Mar 26 11:13:08 GMT 2024 - Last Modified: Fri May 12 12:00:02 GMT 2023 - 363 bytes - Viewed (0) -
src/cmd/cgo/internal/test/callback_windows.go
// Copyright 2023 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 /* #include <windows.h> USHORT backtrace(ULONG FramesToCapture, PVOID *BackTrace) { #ifdef _AMD64_ CONTEXT context; RtlCaptureContext(&context); ULONG64 ControlPc; ControlPc = context.Rip; int i; for (i = 0; i < FramesToCapture; i++) {
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Wed Nov 29 16:01:37 GMT 2023 - 2.6K bytes - Viewed (0) -
src/cmd/cgo/internal/test/issue27340.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build cgo // Failed to resolve typedefs consistently. // No runtime test; just make sure it compiles. package cgotest import "cmd/cgo/internal/test/issue27340"
Go - Registered: Tue Mar 26 11:13:08 GMT 2024 - Last Modified: Fri May 12 12:00:02 GMT 2023 - 377 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"
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri May 12 12:00:02 GMT 2023 - 403 bytes - Viewed (0) -
src/cmd/cgo/internal/test/callstub_linux_ppc64le.go
// Copyright 2023 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 // extern int notoc_func(void); // int TestPPC64Stubs(void) { // return notoc_func(); // } import "C" import "testing" func testPPC64CallStubs(t *testing.T) { // Verify the trampolines run on the testing machine. If they
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri Sep 22 15:06:17 GMT 2023 - 540 bytes - Viewed (0) -
src/cmd/cgo/internal/test/cgo_stubs_android_test.go
// Copyright 2012 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 "testing" // Stubs for tests that fails to build on Android func test6997(t *testing.T) {} func test8694(t *testing.T) {}
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri May 12 12:00:02 GMT 2023 - 359 bytes - Viewed (0) -
src/cmd/cgo/internal/test/cgo_unix_test.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 cgo && !windows package cgotest import "testing" func TestSigaltstack(t *testing.T) { testSigaltstack(t) } func TestSigprocmask(t *testing.T) { testSigprocmask(t) }
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri May 12 12:00:02 GMT 2023 - 391 bytes - Viewed (0) -
src/cmd/cgo/internal/test/cgo_stubs_ppc64x_internal_linking_test.go
// Copyright 2024 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 (ppc64 || ppc64le) && internal package cgotest import "testing" // If gcc is used, and linking internally, __mulsc3 and __muldc3 // will be linked in from libgcc which make several R_PPC64_TOC16_DS // relocations which may not be resolvable with the internal linker.
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Tue Feb 20 15:35:35 GMT 2024 - 631 bytes - Viewed (0)