- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 878 for CFlags (0.15 sec)
-
src/cmd/go/testdata/script/test_ppc64_linker_funcs.txt
stdout success go build -buildmode=pie -o abitest.pie -ldflags='-linkmode=internal' exec ./abitest.pie stdout success -- go.mod -- module abitest -- abitest.go -- package main /* #cgo CFLAGS: -Os int foo_fpr() { asm volatile("":::"fr31","fr30","fr29","fr28"); } int foo_gpr0() { asm volatile("":::"r30","r29","r28"); } int foo_gpr1() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 19 20:54:08 UTC 2024 - 1K bytes - Viewed (0) -
src/runtime/testdata/testprogcgo/traceback.go
package main // This program will crash. // We want the stack trace to include the C functions. // We use a fake traceback, and a symbolizer that dumps a string we recognize. /* #cgo CFLAGS: -g -O0 // Defined in traceback_c.c. extern int crashInGo; int tracebackF1(void); void cgoTraceback(void* parg); void cgoSymbolizer(void* parg); */ import "C" import ( "runtime" "unsafe" )
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 24 21:47:44 UTC 2020 - 949 bytes - Viewed (0) -
src/cmd/go/testdata/script/cgo_flag_contains_space.txt
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 // #cgo CFLAGS: -I"c flags"
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/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) -
build/pause/Makefile
ALL_OSVERSIONS.windows := 1809 ltsc2022 ALL_OS_ARCH.windows = $(foreach arch, $(ALL_ARCH.windows), $(foreach osversion, ${ALL_OSVERSIONS.windows}, windows-$(arch)-${osversion})) ALL_OS_ARCH = $(foreach os, $(ALL_OS), ${ALL_OS_ARCH.${os}}) CFLAGS = -Os -Wall -Werror -static -DVERSION=v$(TAG)-$(REV) KUBE_CROSS_IMAGE ?= registry.k8s.io/build-image/kube-cross KUBE_CROSS_VERSION ?= $(shell cat ../build-image/cross/VERSION)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 23 19:31:40 UTC 2024 - 6.6K bytes - Viewed (0) -
src/runtime/msan/msan.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build msan && ((linux && (amd64 || arm64 || loong64)) || (freebsd && amd64)) package msan /* #cgo CFLAGS: -fsanitize=memory #cgo LDFLAGS: -fsanitize=memory #include <stdint.h> #include <sanitizer/msan_interface.h> void __msan_read_go(void *addr, uintptr_t sz) { __msan_check_mem_is_initialized(addr, sz); }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Aug 25 20:58:13 UTC 2023 - 729 bytes - Viewed (0) -
src/cmd/cgo/internal/test/issue20266.go
// 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/go/internal/work/exec.go
} return args } // CFlags returns the flags to use when invoking the C, C++ or Fortran compilers, or cgo. func (b *Builder) CFlags(p *load.Package) (cppflags, cflags, cxxflags, fflags, ldflags []string, err error) { if cppflags, err = buildFlags("CPPFLAGS", "", p.CgoCPPFLAGS, checkCompilerFlags); err != nil { return } if cflags, err = buildFlags("CFLAGS", DefaultCFlags, p.CgoCFLAGS, checkCompilerFlags); err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 14:46:37 UTC 2024 - 105.6K bytes - Viewed (0) -
src/os/user/cgo_lookup_cgo.go
// license that can be found in the LICENSE file. //go:build cgo && !osusergo && unix && !android && !darwin package user import ( "syscall" ) /* #cgo solaris CFLAGS: -D_POSIX_PTHREAD_SEMANTICS #cgo CFLAGS: -fno-stack-protector #include <unistd.h> #include <sys/types.h> #include <pwd.h> #include <grp.h> #include <stdlib.h> #include <string.h>
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Dec 16 17:45:51 UTC 2022 - 3.4K bytes - Viewed (0) -
src/cmd/cgo/internal/testsanitizers/testdata/tsan9.go
// TSAN library was not keeping track of whether signals should be // delivered on the alternate signal stack, and the Go signal handler // was not preserving callee-saved registers from C callers. /* #cgo CFLAGS: -g -fsanitize=thread #cgo LDFLAGS: -g -fsanitize=thread #include <stdlib.h> #include <sys/time.h> void spin() { size_t n; struct timeval tvstart, tvnow; int diff; void *prev = NULL, *cur;
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 1.3K bytes - Viewed (0)