- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 65 for CFLAGS (0.11 sec)
-
src/cmd/link/internal/ld/testdata/issue32233/lib/lib.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 lib /* #cgo darwin CFLAGS: -D__MAC_OS_X_VERSION_MAX_ALLOWED=101450 #cgo darwin LDFLAGS: -framework Foundation -framework AppKit #include "stdlib.h" int function(void); */ import "C" import "fmt" func DoC() { C.function() fmt.Println("called c function")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 19:51:40 UTC 2019 - 428 bytes - Viewed (0) -
src/cmd/cgo/internal/test/issue43639/a.go
// Copyright 2021 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 issue43639 // #cgo CFLAGS: -W -Wall -Werror
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 12:00:02 UTC 2023 - 224 bytes - Viewed (0) -
src/cmd/cgo/internal/testsanitizers/testdata/tsan.go
package main // This program produced false race reports when run under the C/C++ // ThreadSanitizer, as it did not understand the synchronization in // the Go code. /* #cgo CFLAGS: -fsanitize=thread #cgo LDFLAGS: -fsanitize=thread int val; int getVal() { return val; } void setVal(int i) { val = i; } */ import "C" import ( "runtime" )
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 700 bytes - Viewed (0) -
src/cmd/cgo/internal/test/issue24161e1/main.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 darwin package issue24161e1 /* #cgo CFLAGS: -x objective-c #cgo LDFLAGS: -framework CoreFoundation -framework Security #include <TargetConditionals.h> #include <CoreFoundation/CoreFoundation.h> #include <Security/Security.h>
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 12:00:02 UTC 2023 - 1K bytes - Viewed (0) -
tensorflow/c/generate-pc.sh
Name: TensorFlow Version: ${TF_VERSION} Description: Library for computation using data flow graphs for scalable machine learning Requires: Libs: -L\${libdir} -ltensorflow -ltensorflow_framework Cflags: -I\${includedir} EOF cat << EOF > tensorflow_cc.pc prefix=${TF_PREFIX} exec_prefix=\${prefix} libdir=\${exec_prefix}/${LIBDIR} includedir=\${prefix}/include/tensorflow Name: TensorFlow
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sun Aug 04 07:01:14 UTC 2019 - 2.7K bytes - Viewed (0) -
src/cmd/cgo/internal/testsanitizers/testdata/tsan4.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package main // Check that calls to C.malloc/C.free do not trigger TSAN false // positive reports. // #cgo CFLAGS: -fsanitize=thread // #cgo LDFLAGS: -fsanitize=thread // #include <stdlib.h> import "C" import ( "runtime" "sync" ) func main() { var wg sync.WaitGroup for i := 0; i < 10; i++ {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 634 bytes - Viewed (0) -
src/cmd/cgo/internal/testsanitizers/testdata/tsan10.go
// run for an arbitrarily long time without triggering the libc interceptors. // See https://golang.org/issue/18717. import ( "os" "os/signal" "syscall" ) /* #cgo CFLAGS: -g -fsanitize=thread #cgo LDFLAGS: -g -fsanitize=thread */ import "C" func main() { c := make(chan os.Signal, 1) signal.Notify(c, syscall.SIGUSR1) defer signal.Stop(c)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 798 bytes - Viewed (0) -
src/cmd/cgo/internal/testsanitizers/testdata/tsan3.go
// license that can be found in the LICENSE file. package main // The stubs for the C functions read and write the same slot on the // g0 stack when copying arguments in and out. /* #cgo CFLAGS: -fsanitize=thread #cgo LDFLAGS: -fsanitize=thread int Func1() { return 0; } void Func2(int x) { (void)x; } */ import "C" func main() { const N = 10000 done := make(chan bool, N)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 662 bytes - Viewed (0) -
src/cmd/go/testdata/mod/rsc.io_!c!g!o_v1.0.0.txt
module rsc.io/CGO -- cgo.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. package CGO // #cgo CFLAGS: -I${SRCDIR} import "C"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 01 19:54:32 UTC 2018 - 399 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)