- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 318 for CFlags (0.81 sec)
-
src/net/cgo_unix_cgo.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build cgo && !netgo && unix && !darwin package net /* #define _GNU_SOURCE 1 #cgo CFLAGS: -fno-stack-protector #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> #include <netdb.h> #include <unistd.h> #include <string.h> #include <stdlib.h> #ifndef EAI_NODATA
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 15 17:49:28 UTC 2024 - 2.2K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/project/taskfactory/AnnotationProcessingTaskFactoryTest.groovy
then: def e = thrown WorkValidationException validateException(task, e, missingValueMessage { property('cCompiler').includeLink() }, missingValueMessage { property('CFlags').includeLink() }, missingValueMessage { property('dns').includeLink() }, missingValueMessage { property('URL').includeLink() }) } def propertyValidationJavaBeanSpecSingleChar() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 20:42:35 UTC 2024 - 38.8K bytes - Viewed (0) -
src/cmd/cgo/internal/test/test.go
return c; } // issue 4857 #cgo CFLAGS: -Werror const struct { int a; } *issue4857() { return (void *)0; } // issue 5224 // Test that the #cgo CFLAGS directive works, // with and without platform filters. #cgo CFLAGS: -DCOMMON_VALUE=123 #cgo windows CFLAGS: -DIS_WINDOWS=1 #cgo !windows CFLAGS: -DIS_WINDOWS=0 int common = COMMON_VALUE; int is_windows = IS_WINDOWS;
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 15:50:06 UTC 2024 - 48.5K bytes - Viewed (0) -
src/runtime/runtime-gdb_unix_test.go
if found := re.Find(rest) != nil; !found { t.Fatalf("could not find runtime symbol in backtrace after signal handler:\n%s", rest) } } const coreCrashThreadSource = ` package main /* #cgo CFLAGS: -g -O0 #include <stdio.h> #include <stddef.h> void trigger_crash() { int* ptr = NULL; *ptr = 1024; } */ import "C" import ( "flag" "fmt" "os" "runtime/debug"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 17 19:05:30 UTC 2024 - 9.4K bytes - Viewed (0) -
src/cmd/cgo/doc.go
CGO_LDFLAGS environment variables are added to the flags derived from these directives. Package-specific flags should be set using the directives, not the environment variables, so that builds work in unmodified environments. Flags obtained from environment variables are not subject to the security limitations described above. All the cgo CPPFLAGS and CFLAGS directives in a package are concatenated and
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 17:12:16 UTC 2024 - 42.2K bytes - Viewed (0) -
src/go/build/build.go
} args[i] = arg } switch verb { case "CFLAGS", "CPPFLAGS", "CXXFLAGS", "FFLAGS", "LDFLAGS": // Change relative paths to absolute. ctxt.makePathsAbsolute(args, di.Dir) } switch verb { case "CFLAGS": di.CgoCFLAGS = append(di.CgoCFLAGS, args...) case "CPPFLAGS": di.CgoCPPFLAGS = append(di.CgoCPPFLAGS, args...)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 16:25:21 UTC 2024 - 62.3K bytes - Viewed (0) -
src/cmd/go/internal/help/helpdoc.go
CGO_CFLAGS Flags that cgo will pass to the compiler when compiling C code. CGO_CFLAGS_ALLOW A regular expression specifying additional flags to allow to appear in #cgo CFLAGS source code directives. Does not apply to the CGO_CFLAGS environment variable. CGO_CFLAGS_DISALLOW A regular expression specifying flags that must be disallowed
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 16:54:28 UTC 2024 - 36.3K bytes - Viewed (0) -
src/cmd/link/link_test.go
TEXT ·x(SB),0,$0 CALL foo(SB) RET `) write("x.c", ` void undefined(); void foo() { undefined(); } `) cc := strings.TrimSpace(runGo("env", "CC")) cflags := strings.Fields(runGo("env", "GOGCCFLAGS")) importcfgfile := filepath.Join(tmpdir, "importcfg") testenv.WriteImportcfg(t, importcfgfile, nil, "runtime") // Compile, assemble and pack the Go and C code.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 20:26:02 UTC 2024 - 43.5K bytes - Viewed (0) -
src/cmd/go/go_test.go
} case "darwin", "ios": f, err := macho.Open(obj) if err != nil { t.Fatal(err) } defer f.Close() if f.Flags&macho.FlagDyldLink == 0 { t.Error("PIE must have DyldLink flag, but not") } if f.Flags&macho.FlagPIE == 0 { t.Error("PIE must have PIE flag, but not") } case "windows": f, err := pe.Open(obj) if err != nil { t.Fatal(err)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 81.1K bytes - Viewed (0) -
src/cmd/cgo/gcc.go
} if strings.HasPrefix(s, "sizeof_") { return "sizeof(" + cname(s[len("sizeof_"):]) + ")" } return s } // ProcessCgoDirectives processes the import C preamble: // 1. discards all #cgo CFLAGS, LDFLAGS, nocallback and noescape directives, // so they don't make their way into _cgo_export.h. // 2. parse the nocallback and noescape directives. func (f *File) ProcessCgoDirectives() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 15:50:06 UTC 2024 - 97K bytes - Viewed (0)