- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 838 for ncgo (0.04 sec)
-
src/cmd/cgo/internal/test/issue52611.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build cgo // Issue 52611: inconsistent compiler behaviour when compiling a C.struct. // No runtime test; just make sure it compiles. package cgotest import ( _ "cmd/cgo/internal/test/issue52611a" _ "cmd/cgo/internal/test/issue52611b"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 12:00:02 UTC 2023 - 406 bytes - Viewed (0) -
src/cmd/cgo/internal/testerrors/testdata/notmatchedcfunction.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package main /* // TODO(#56378): change back to "#cgo noescape noMatchedCFunction: no matched C function" in Go 1.23 // ERROR MESSAGE: #cgo noescape disabled until Go 1.23 #cgo noescape noMatchedCFunction */ import "C" func main() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 02 16:43:23 UTC 2023 - 397 bytes - Viewed (0) -
test/fixedbugs/issue42076.go
// Copyright 2020 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 main import ( "reflect" "runtime/cgo" ) type NIH struct { _ cgo.Incomplete } var x, y NIH func main() { if reflect.DeepEqual(&x, &y) != true { panic("should report true") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 02 15:27:18 UTC 2022 - 379 bytes - Viewed (0) -
src/runtime/defs_openbsd.go
// license that can be found in the LICENSE file. //go:build ignore /* Input to cgo. GOARCH=amd64 go tool cgo -godefs defs_openbsd.go GOARCH=386 go tool cgo -godefs defs_openbsd.go GOARCH=arm go tool cgo -godefs defs_openbsd.go GOARCH=arm64 go tool cgo -godefs defs_openbsd.go GOARCH=mips64 go tool cgo -godefs defs_openbsd.go */ package runtime /* #include <sys/types.h> #include <sys/event.h>
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 23 17:31:23 UTC 2023 - 3.1K bytes - Viewed (0) -
src/cmd/go/testdata/script/cgo_flag_contains_space.txt
[short] skip [!cgo] skip env GOCACHE=$WORK/gocache # Looking for compile flags, so need a clean cache. go build -x -n main.go stderr '"-I[^"]+c flags"' # find quoted c flags ! stderr '"-I[^"]+c flags".*"-I[^"]+c flags"' # don't find too many quoted c flags per line stderr '"-L[^"]+ld flags"' # find quoted ld flags ! stderr '"-L[^"]+c flags".*"-L[^"]+c flags"' # don't find too many quoted ld flags per line -- main.go -- package main
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 12 17:46:03 UTC 2020 - 523 bytes - Viewed (0) -
src/cmd/cgo/internal/test/issue43639.go
// 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 // Issue 43639: No runtime test needed, make sure package cmd/cgo/internal/test/issue43639 compiles well.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 12:00:02 UTC 2023 - 344 bytes - Viewed (0) -
src/cmd/go/testdata/script/cgo_asm_error.txt
[!cgo] skip # Test that cgo package can't contain a go assembly file. # Ensure the build fails and reports that the package has a Go assembly file. ! go build cgoasm stderr 'package using cgo has Go assembly file' -- go.mod -- module cgoasm go 1.16 -- p.go -- package p /* // hi */ import "C" func F() {} -- p.s -- TEXT asm(SB),$0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 17 13:25:29 UTC 2020 - 343 bytes - Viewed (0) -
src/cmd/go/testdata/script/install_msan_and_race_and_asan_require_cgo.txt
[!GOOS:darwin] [race] stderr '-race requires cgo' [!GOOS:darwin] [race] ! stderr '-msan' [msan] ! go install -msan triv.go [msan] stderr '-msan requires cgo' [msan] ! stderr '-race' [asan] ! go install -asan triv.go [asan] stderr '(-asan: the version of $(go env CC) could not be parsed)|(-asan: C compiler is not gcc or clang)|(-asan is not supported with [A-Za-z]+ compiler (\d+)\.(\d+))|(-asan requires cgo)' [asan] ! stderr '-msan'
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 16 21:38:55 UTC 2022 - 626 bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeImpl.java
} ValidateNegotiateInfoResponse out = resp.getOutputData(ValidateNegotiateInfoResponse.class); if ( nego.getSecurityMode() != out.getSecurityMode() || nego.getCapabilities() != out.getCapabilities() || nego.getDialectRevision() != out.getDialect() || !Arrays.equals(nego.getServerGuid(), out.getServerGuid()) ) { log.debug("Secure negotiation failure");
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Thu Jan 05 13:06:39 UTC 2023 - 29.6K bytes - Viewed (0) -
test/fixedbugs/issue51733.go
// Copyright 2022 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 main import ( "log" "runtime/cgo" "unsafe" ) type S struct{ _ cgo.Incomplete } func main() { p := (*S)(unsafe.Pointer(uintptr(0x8000))) var v any = p p2 := v.(*S) if p != p2 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 02 15:27:18 UTC 2022 - 619 bytes - Viewed (0)