- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 80 for cgoexp (0.5 sec)
-
src/cmd/link/internal/ld/elf.go
st := ldr.SymType(s) cgoeStatic := ldr.AttrCgoExportStatic(s) cgoeDynamic := ldr.AttrCgoExportDynamic(s) cgoexp := (cgoeStatic || cgoeDynamic) d.AddUint32(target.Arch, uint32(dstru.Addstring(name))) if elf64 { /* type */ var t uint8 if cgoexp && st == sym.STEXT { t = elf.ST_INFO(elf.STB_GLOBAL, elf.STT_FUNC) } else {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 22 13:29:54 UTC 2024 - 63.6K bytes - Viewed (0) -
src/internal/zstd/fuzz_test.go
// So we just check the prefix. c := len(goExp) if c > len(zstdExp) { c = len(zstdExp) } goExp = goExp[:c] zstdExp = zstdExp[:c] if !bytes.Equal(goExp, zstdExp) { t.Error("byte mismatch after error") t.Logf("Go error: %v\n", goErr) t.Logf("zstd error: %v\n", zstdErr) showDiffs(t, zstdExp, goExp) } } })
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 30 04:10:45 UTC 2024 - 4.5K bytes - Viewed (0) -
src/cmd/cgo/internal/testgodefs/testgodefs_test.go
hasGeneratedByComment := false for _, line := range strings.Split(strings.TrimSpace(string(out)), "\n") { cgoExe := "cgo" if runtime.GOOS == "windows" { cgoExe = "cgo.exe" } if !strings.HasPrefix(line, "// "+cgoExe+" -godefs") { continue } if want := "// " + cgoExe + " " + strings.Join(cmd.Args[3:], " "); line != want { t.Errorf("%s: got generated comment %q, want %q", fn, line, want) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 19 01:37:31 UTC 2023 - 2.9K bytes - Viewed (0) -
src/internal/buildcfg/exp.go
// configuration tuple and returns the enabled and baseline experiment // flag sets. // // TODO(mdempsky): Move to internal/goexperiment. func ParseGOEXPERIMENT(goos, goarch, goexp string) (*ExperimentFlags, error) { // regabiSupported is set to true on platforms where register ABI is // supported and enabled by default. // regabiAlwaysOn is set to true on platforms where register ABI is // always on.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 15 17:38:52 UTC 2024 - 5.5K bytes - Viewed (0) -
src/cmd/go/testdata/script/clean_binary.txt
env GO111MODULE=on ! exists main$GOEXE go build main.go exists -exec main$GOEXE go clean ! exists main$GOEXE # case2: test module-named executable 'a.b.c' ! exists a.b.c$GOEXE go build exists -exec a.b.c$GOEXE go clean ! exists a.b.c$GOEXE # case3: directory-named executable 'src' env GO111MODULE=off ! exists src$GOEXE go build exists -exec src$GOEXE go clean ! exists src$GOEXE
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 22 13:36:17 UTC 2020 - 1.3K bytes - Viewed (0) -
src/cmd/go/testdata/script/goroot_executable.txt
mkdir $WORK/new/pkg/tool exec $WORK/bin/check$GOEXE $WORK/new/bin/go$GOEXE $WORK/new [!symlink] stop 'The rest of the test cases require symlinks' # Symlinked Executable: # With a symlink into go tree, we should still find the go tree. mkdir $WORK/other/bin symlink $WORK/other/bin/go$GOEXE -> $WORK/new/bin/go$GOEXE exec $WORK/bin/check$GOEXE $WORK/new/bin/go$GOEXE $WORK/new rm $WORK/new/pkg # Runtime GOROOT:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 22:16:54 UTC 2024 - 2.6K bytes - Viewed (0) -
src/cmd/go/testdata/script/version_build_settings.txt
go version -m m$GOEXE stdout '^\tbuild\t-gcflags=example\.com/m=-N$' go build -ldflags=example.com/m=-w go version -m m$GOEXE stdout '^\tbuild\t-ldflags=example\.com/m=-w$' go build -trimpath go version -m m$GOEXE stdout '\tbuild\t-trimpath=true$' # gccgoflags are not added when gc is used, and vice versa. # TODO: test gccgo. go build -gccgoflags=all=UNUSED go version -m m$GOEXE ! stdout gccgoflags
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 24 21:26:10 UTC 2022 - 2.7K bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_build_versioned.txt
env GO111MODULE=on [short] skip go get rsc.io/fortune/v2 # The default executable name shouldn't be v2$GOEXE go build rsc.io/fortune/v2 ! exists v2$GOEXE exists fortune$GOEXE # The default test binary name shouldn't be v2.test$GOEXE go test -c rsc.io/fortune/v2 ! exists v2.test$GOEXE exists fortune.test$GOEXE -- go.mod --
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 28 17:19:14 UTC 2021 - 343 bytes - Viewed (0) -
src/cmd/go/testdata/script/version_buildvcs_fossil.txt
stdout '^\tbuild\tvcs.modified=false$' rm $GOBIN/a$GOEXE # Building with -buildvcs=false suppresses the info. go install -buildvcs=false go version -m $GOBIN/a$GOEXE ! stdout vcs.revision rm $GOBIN/a$GOEXE # An untracked file is shown as modified, even if it isn't part of the build. cp ../../outside/empty.txt . go install go version -m $GOBIN/a$GOEXE stdout '^\tbuild\tvcs=fossil\n' stdout '^\tbuild\tvcs.modified=true$'
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 03 15:33:59 UTC 2022 - 2.4K bytes - Viewed (0) -
src/cmd/go/testdata/script/toolexec.txt
go build -toolexec=$PWD/mytool [GOARCH:amd64] stderr -count=2 '^asm'${GOEXE}' TOOLEXEC_IMPORTPATH="test/main/withasm"$' stderr -count=1 '^compile'${GOEXE}' TOOLEXEC_IMPORTPATH="test/main/withasm"$' [cgo] stderr -count=2 '^cgo'${GOEXE}' TOOLEXEC_IMPORTPATH="test/main/withcgo"$' [cgo] stderr -count=1 '^compile'${GOEXE}' TOOLEXEC_IMPORTPATH="test/main/withcgo"$' stderr -count=1 '^compile'${GOEXE}' TOOLEXEC_IMPORTPATH="test/main"$'
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 24 21:26:10 UTC 2022 - 3.8K bytes - Viewed (0)