go/src
Junyang Shao d6564ed088 [dev.simd] simd, cmd/compile: add int -> fp conversions
Change-Id: Iadfa2dd982d7156d60fb6977ed9afb7894d6e8a0
Reviewed-on: https://go-review.googlesource.com/c/go/+/724321
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: David Chase <drchase@google.com>
2025-11-25 15:19:12 -08:00
..
archive all: remove unnecessary loop variable copies in tests 2025-10-17 13:10:27 -07:00
arena
bufio unicode/utf8: make DecodeRune{,InString} inlineable 2025-09-03 07:04:47 -07:00
builtin builtin: use list instead of indentation for comments in cap, len, and make 2024-12-30 15:59:23 -08:00
bytes bytes: fix panic in bytes.Buffer.Peek 2025-11-14 11:01:17 -08:00
cmd [dev.simd] simd, cmd/compile: add int -> fp conversions 2025-11-25 15:19:12 -08:00
cmp cmp: add examples for Compare and Less 2025-03-11 15:22:39 -07:00
compress all: replace Split in loops with more efficient SplitSeq 2025-10-23 07:34:31 -07:00
container
context all: remove unnecessary loop variable copies in tests 2025-10-17 13:10:27 -07:00
crypto crypto/tls: use inner hello for earlyData when using QUIC and ECH 2025-11-21 17:50:12 -08:00
database/sql database/sql: don't ignore ColumnConverter for unknown input count 2025-11-21 13:25:48 -08:00
debug debug/elf: sync new loong64 relocation types up to LoongArch ELF psABI v20250521 2025-11-17 17:00:42 -08:00
embed embed: document exclusions more explicitly 2024-12-05 17:20:19 +00:00
encoding encoding/json: remove linknames 2025-11-20 14:04:37 -08:00
errors errors: add examples for custom Is/As matching 2025-11-21 12:40:11 -08:00
expvar
flag flag: replace interface{} -> any for textValue.Get method 2025-02-28 08:43:46 -08:00
fmt std: fix printf("%q", int) mistakes 2025-11-14 14:05:53 -08:00
go [dev.simd] all: merge master (e704b09) into dev.simd 2025-11-24 15:48:07 -05:00
hash runtime: use 32-bit hash for maps on Wasm 2025-10-24 12:40:49 -07:00
html html/template: document comment stripping 2025-03-17 08:52:14 -07:00
image cmd/internal/obj/arm64, image/gif, runtime, sort: use math/bits to calculate log2 2025-11-23 03:49:34 -08:00
index/suffixarray
internal [dev.simd] internal/buildcfg: turn GOEXPERIMENT=simd back on 2025-11-24 14:13:57 -08:00
io all: replace calls to errors.As with errors.AsType 2025-10-13 10:12:48 -07:00
iter iter: fix a tiny doc comment bug 2025-11-06 09:34:49 -08:00
log all: replace Split in loops with more efficient SplitSeq 2025-10-23 07:34:31 -07:00
maps all: fix some function names and typos in comment 2024-11-21 22:16:20 +00:00
math math: switch s390x math.Pow to generic implementation 2025-11-19 13:32:20 -08:00
mime mime: add missing path for mime types in godoc 2025-11-20 13:02:54 -08:00
net net: remove unused linknames 2025-11-21 12:48:05 -08:00
os os/signal: make NotifyContext cancel the context with a cause 2025-11-20 13:01:32 -08:00
path path/filepath: reword documentation for Rel 2025-10-21 14:24:23 -07:00
plugin
reflect reflect, runtime: add reflect support for regabi on s390x 2025-11-24 10:22:03 -08:00
regexp unicode/utf8: make DecodeRune{,InString} inlineable 2025-09-03 07:04:47 -07:00
runtime [dev.simd] all: merge master (02d1f3a) into dev.simd 2025-11-24 15:29:37 -05:00
simd [dev.simd] simd, cmd/compile: add int -> fp conversions 2025-11-25 15:19:12 -08:00
slices slices: fix incorrect comment in slices.Insert function documentation 2025-11-23 03:35:46 -08:00
sort cmd/internal/obj/arm64, image/gif, runtime, sort: use math/bits to calculate log2 2025-11-23 03:49:34 -08:00
strconv strconv: move all but Quote to internal/strconv 2025-10-29 11:00:02 -07:00
strings all: remove extra space in the comments 2025-11-03 10:05:39 -08:00
structs
sync [dev.simd] all: merge master (57362e9) into dev.simd 2025-11-13 16:54:07 -05:00
syscall os: ignore O_TRUNC errors on named pipes and terminal devices on Windows 2025-11-04 23:31:35 -08:00
testdata
testing cmd/compile: change testing.B.Loop keep alive semantic 2025-11-21 12:49:20 -08:00
text all: correct name for comments 2025-10-17 09:52:21 -07:00
time internal/itoa, internal/runtime/strconv: delete 2025-10-29 11:00:09 -07:00
unicode unicode/utf8: make DecodeRune{,InString} inlineable 2025-09-03 07:04:47 -07:00
unique unique: fix inconsistent panic prefix in canonmap cleanup path 2025-10-23 13:42:09 -07:00
unsafe
vendor cmd: update x/tools to 59ff18c 2025-11-14 15:08:26 -08:00
weak runtime: ensure weak handles end up in their own allocation 2025-11-14 11:15:44 -08:00
all.bash all.{bash,rc}: use "../bin/go tool dist" instead of "%GOTOOLDIR%/dist" print build info 2025-06-10 06:00:41 -07:00
all.bat {all,clean,make,race,run}.bat: simplify error handling 2025-02-11 09:45:10 -08:00
all.rc all.{bash,rc}: use "../bin/go tool dist" instead of "%GOTOOLDIR%/dist" print build info 2025-06-10 06:00:41 -07:00
bootstrap.bash
buildall.bash
clean.bash
clean.bat {all,clean,make,race,run}.bat: simplify error handling 2025-02-11 09:45:10 -08:00
clean.rc
cmp.bash
go.mod cmd: update x/tools to 59ff18c 2025-11-14 15:08:26 -08:00
go.sum cmd: update x/tools to 59ff18c 2025-11-14 15:08:26 -08:00
make.bash cmd/dist: require Go 1.24.6 as minimum bootstrap toolchain 2025-08-11 14:25:55 -07:00
make.bat cmd/dist: require Go 1.24.6 as minimum bootstrap toolchain 2025-08-11 14:25:55 -07:00
Make.dist
make.rc cmd/dist: require Go 1.24.6 as minimum bootstrap toolchain 2025-08-11 14:25:55 -07:00
race.bash runtime/race: add race detector support for linux/riscv64 2025-08-29 23:57:12 -07:00
race.bat make.bat,race.bat: simplify --dist-tool handling 2025-02-11 23:09:26 -08:00
README.vendor
run.bash
run.bat {all,clean,make,race,run}.bat: simplify error handling 2025-02-11 09:45:10 -08:00
run.rc

Vendoring in std and cmd
========================

The Go command maintains copies of external packages needed by the
standard library in the src/vendor and src/cmd/vendor directories.

There are two modules, std and cmd, defined in src/go.mod and
src/cmd/go.mod. When a package outside std or cmd is imported
by a package inside std or cmd, the import path is interpreted
as if it had a "vendor/" prefix. For example, within "crypto/tls",
an import of "golang.org/x/crypto/cryptobyte" resolves to
"vendor/golang.org/x/crypto/cryptobyte". When a package with the
same path is imported from a package outside std or cmd, it will
be resolved normally. Consequently, a binary may be built with two
copies of a package at different versions if the package is
imported normally and vendored by the standard library.

Vendored packages are internally renamed with a "vendor/" prefix
to preserve the invariant that all packages have distinct paths.
This is necessary to avoid compiler and linker conflicts. Adding
a "vendor/" prefix also maintains the invariant that standard
library packages begin with a dotless path element.

The module requirements of std and cmd do not influence version
selection in other modules. They are only considered when running
module commands like 'go get' and 'go mod vendor' from a directory
in GOROOT/src.

Maintaining vendor directories
==============================

Before updating vendor directories, ensure that module mode is enabled.
Make sure that GO111MODULE is not set in the environment, or that it is
set to 'on' or 'auto', and if you use a go.work file, set GOWORK=off.

Also, ensure that 'go env GOROOT' shows the root of this Go source
tree. Otherwise, the results are undefined. It's recommended to build
Go from source and use that 'go' binary to update its source tree.

Requirements may be added, updated, and removed with 'go get'.
The vendor directory may be updated with 'go mod vendor'.
A typical sequence might be:

    cd src  # or src/cmd
    go get golang.org/x/net@master
    go mod tidy
    go mod vendor

Use caution when passing '-u' to 'go get'. The '-u' flag updates
modules providing all transitively imported packages, not only
the module providing the target package.

Note that 'go mod vendor' only copies packages that are transitively
imported by packages in the current module. If a new package is needed,
it should be imported before running 'go mod vendor'.