- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 36 for cgoexp (0.33 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/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/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/goroot_executable_trimpath.txt
# so it should find the new tree. mkdir $WORK/new/pkg/tool exec $WORK/bin/check$GOEXE $WORK/new/bin/go$GOEXE $WORK/new exec $WORK/bin/check$GOEXE $WORK/new/bin/${GOOS}_${GOARCH}/go$GOEXE $WORK/new ! stderr 'GOPATH set to GOROOT' -- check.go -- package main import ( "fmt" "os" "os/exec" "path/filepath" "strings" ) func main() { exe := os.Args[1]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 22:16:54 UTC 2024 - 3K bytes - Viewed (0) -
src/cmd/go/testdata/script/version_buildvcs_git.txt
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 uncommitted, even if it isn't part of the build. cp ../../outside/empty.txt . go install go version -m $GOBIN/a$GOEXE stdout '^\tbuild\tvcs.modified=true$' rm empty.txt rm $GOBIN/a$GOEXE
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:30:18 UTC 2024 - 4.6K bytes - Viewed (0) -
src/cmd/go/testdata/script/test_compile_multi_pkg.txt
# run on Unix platforms. go test -c -o $WORK/some/nonexisting/directory/ ./pkg/... exists -exec $WORK/some/nonexisting/directory/pkg1.test$GOEXE exists -exec $WORK/some/nonexisting/directory/pkg2.test$GOEXE go test -c ./pkg/... exists -exec pkg1.test$GOEXE exists -exec pkg2.test$GOEXE ! go test -c -o $WORK/bin/test/bin.test.exe ./pkg/... stderr '^with multiple packages, -o must refer to a directory or '$devnull
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 22 22:09:34 UTC 2023 - 1.5K bytes - Viewed (0) -
src/cmd/go/testdata/script/test_cache_inputs.txt
# We're testing cache behavior, so start with a clean GOCACHE. env GOCACHE=$WORK/cache # Build a helper binary to invoke os.Chtimes. go build -o mkold$GOEXE mkold.go # Make test input files appear to be a minute old. exec ./mkold$GOEXE 1m testcache/file.txt exec ./mkold$GOEXE 1m testcache/script.sh # If the test reads an environment variable, changes to that variable # should invalidate cached test results. env TESTKEY=x
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Mar 09 22:23:53 UTC 2024 - 6.3K bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_install_pkg_version.txt
stderr '^go: example.com/cmd@v1.1.0-doesnotexist: missing go.sum entry for go.mod file; to add it:\n\tgo mod download example.com/cmd$' go install example.com/cmd/a@latest cmp go.mod go.mod.orig exists $GOPATH/bin/a$GOEXE go version -m $GOPATH/bin/a$GOEXE stdout '^\tmod\texample.com/cmd\tv1.0.0\t' # "latest", not from go.mod rm $GOPATH/bin/a cd .. # 'go install -modfile=x.mod pkg@version' reports an error, but only if
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 21 17:25:54 UTC 2024 - 8.6K bytes - Viewed (0) -
src/cmd/go/scriptconds_test.go
} return false, nil } func hasGoexperiment(s *script.State, value string) (bool, error) { GOOS, _ := s.LookupEnv("GOOS") GOARCH, _ := s.LookupEnv("GOARCH") goexp, _ := s.LookupEnv("GOEXPERIMENT") flags, err := buildcfg.ParseGOEXPERIMENT(GOOS, GOARCH, goexp) if err != nil { return false, err } for _, exp := range flags.All() { if value == exp { return true, nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 22:16:54 UTC 2024 - 7.4K bytes - Viewed (0)