Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/hack-pad/go

The Go programming language
https://github.com/hack-pad/go

syscall: check if to is nil to prevent panic from WSASendto

to is an optional pointer to sockaddr, as written in the doc:
https://learn.microsoft.com/en-us/...

52f9c6fdb0e5748406134e093e9fb791af14d300 authored about 2 years ago by cuiweixie <[email protected]>
internal/saferio: handle potential total size overflow in SliceCap

Before the change, "SliceCap((*int64)(nil), 1<<62)" returns 1<<62.
That's because "uintptr(c)*si...

4da2bc2eebb480f1c2a726de05f4e085e97d3b6c authored about 2 years ago by Zeke Lu <[email protected]>
os/exec: split parent I/O pipes by whether they are pumped by user code or internal goroutines

The pipes pumped by goroutines can be closed as soon as their
respective goroutines are done.

T...

bd8a5b00fcf71fb711ba8996a880b5b07f7b3634 authored about 2 years ago by Bryan C. Mills <[email protected]>
os/exec: clean up pipe-closing logic

Change the childFiles field to a local variable, since it was
populated during Start and (as far...

b8d4a14a660827ea0331eb6cad99860bf5fdf66f authored about 2 years ago by Bryan C. Mills <[email protected]>
internal/cpu: deduplicate arm64 ISAR parsing code

Deduplicate code for parsing system registers - this matches what is done
in golang.org/x/sys/cp...

1163acf3eaedf870d069058b540bfef5c470f520 authored about 2 years ago by Joel Sing <[email protected]>
internal/cpu: enable arm64 SHA512 detection for freebsd/openbsd

Change-Id: I1f21654b50d7b0cd8e1f854efe2724b72f067449
Reviewed-on: https://go-review.googlesource...

95a5e20d8f7a6f7863eb3281e3a198a577e773fe authored about 2 years ago by Joel Sing <[email protected]>
reflect: simplify Value.Comparable

using Type.Comparable to simplify the Value.Comparable,
and return true directly when exit the f...

c3728b75024667927f690373cea324dd26777414 authored about 2 years ago by cuiweixie <[email protected]>
cmd/go/internal/mmap: fix build for js/wasm

Even though there isn't much point in building cmd/go for js/wasm given
it relies on executing s...

deaec39323aced382a12ed0360fad03ad1dbb906 authored about 2 years ago by Tobias Klauser <[email protected]>
cmd/go/internal, go/build: remove unused errGoBuildWithoutBuild

Last use was removed by CL 240607.

Change-Id: Icfe9e477c6035823bd676a2ff28e1ac202dd991e
Reviewe...

eab78849fc24f890836d00c04b495e64d4fe4187 authored about 2 years ago by Tobias Klauser <[email protected]>
syscall: check if to is nil to prevent panic from Sendto

Fixes #55845

Change-Id: If30263b7d34829c40e6606846115ec520f351f2c
Reviewed-on: https://go-revie...

5036ed26bd241cb8eadf4d0f00de6b9d3449bf87 authored about 2 years ago by Andy Pan <[email protected]>
cmd/go: avoid internal errors on "go test -testwork"

Fix up the package test harness to avoid errors of the form

go_test.go:NNN: internal testsuit...

1e91ffc897efb1ed298753c08f086fbc8f725025 authored about 2 years ago by Than McIntosh <[email protected]>
encoding/gob: use saferio.SliceCap when decoding a slice

This avoids allocating an overly large slice for corrupt input.

Change the saferio.SliceCap fun...

a0441c7ae3dea57a0553c9ea77e184c34b7da40f authored about 2 years ago by Ian Lance Taylor <[email protected]>
cmd/compile: use "missing method m" instead of "missing m method"

For #55326

Change-Id: I3d0ff7f820f7b2009d1b226abf701b2337fe8cbc
Reviewed-on: https://go-review....

336ce966e439a269fe5088cc7564181c5b866b61 authored about 2 years ago by cuiweixie <[email protected]>
Revert "net/netip: use slice-to-array conversions"

This reverts commit 3dcf6e2c29f533865aad58488b60ae8d819a566e.

Reason for revert: breaks the lon...

e5deb1556b230642d544c451a83cb79f641727a3 authored about 2 years ago by Tobias Klauser <[email protected]>
net/http/httputil: avoid query parameter smuggling

Query parameter smuggling occurs when a proxy's interpretation
of query parameters differs from ...

7c84234142149bd24a4096c6cab691d3593f3431 authored about 2 years ago by Damien Neil <[email protected]>
net/netip: use slice-to-array conversions

Use slice-to-array conversions in AddrFromSlice and
(*Addr).UnmarshalBinary. This allows allows ...

3dcf6e2c29f533865aad58488b60ae8d819a566e authored about 2 years ago by Tobias Klauser <[email protected]>
cmd/compile: use "init... cycle" instead of "init... loop" in error messages

For #55326.

Change-Id: Ia3c1124305986dcd49ac769e700055b263cfbd59
Reviewed-on: https://go-review...

c58bfeeb045895f080fff9c76fdbf3d9d8ab683b authored about 2 years ago by Robert Griesemer <[email protected]>
cmd/compile: handle go.mod error msg reference in noder, not type checker

Currently, for version errors, types2 adds the helpful hint

(-lang was set to go1.xx; check go....

5d213a3dc764624e3f01d7e957fedc63bfdcfa0f authored about 2 years ago by Robert Griesemer <[email protected]>
cmd: update vendored golang.org/x/tools for multiple error wrapping

Updates vet to permit errors with an Unwrap method returning []error
and multiple %w verbs in fm...

2f3008386fbfbc62544e3799d14db40cbe703218 authored about 2 years ago by Damien Neil <[email protected]>
cmd/compile/internal/ir: add missing import to mknode.go

CL 426257 changed ioutil.WriteFile to os.WriteFile but didn't add the
corresponding import for p...

68fa3696b6131082243273e57957ee22fe60eaa3 authored about 2 years ago by Tobias Klauser <[email protected]>
cmd/compile: update bottomUpVisitor.visit comments

Change-Id: I83a62b15c5946cfe61afc53c2c528aa3a62f815e
Reviewed-on: https://go-review.googlesource...

7ed6073da0bb62b65984ffd2bba320334d928bd5 authored about 2 years ago by Cuong Manh Le <[email protected]>
text/template/parse: fix confusion about markers near right delims

Fixes #52527.
Fixes #55336.

Change-Id: I8f5c521c693e74451a558788909e7e4ad1cc797a
Reviewed-on: h...

65deb9c3cea2a57b2cba892bc3dc4344ff0783c8 authored about 2 years ago by Russ Cox <[email protected]>
path/filepath: optimize isReservedName

A linear search through a list of 22 strings takes ~80ns.
A quick check for 3-4 byte strings red...

2551324cd01b295915c10c6d3d06625676401610 authored about 2 years ago by Joe Tsai <[email protected]>
runtime/pprof: force use of 4-column profiles in pprof memprofile output

Pprof's converter from legacy text format to protobuf format
assumes that if the alloc and inuse...

c2ede92a0d461cca8ab5fba8840e15670710fbd9 authored about 2 years ago by Russ Cox <[email protected]>
cmd/internal/objfile: read file/line information for ELF PIE binaries

For PIE binaries, the .gopclntab section doesn't have the usual
name, but .data.rel.ro.gopclntab...

ddaf68200a485ae9605a397372b5d59f4dfba759 authored about 2 years ago by Cherry Mui <[email protected]>
cmd/compile/internal/walk: remove reduceSlice

After CL 22425, there're two optimizations for slice expr which are
never applied during walk pa...

533cd80315904661e3d644a140bdf52c8ac7aad6 authored about 2 years ago by Cuong Manh Le <[email protected]>
cmd/go: omit VCS stamping during bootstrap

cmd/dist can't easily hard-code -buildvcs=false because not all
versions of cmd/go supported for...

42a46206b97ca7cf4246d3c1230a70cf42ad5bb0 authored about 2 years ago by Bryan C. Mills <[email protected]>
cmd/compile/internal/syntax: remove TypeList syntax in comment

Change-Id: Ic4df6a8e198b069a9f3a28710fa40f29bd658b06
GitHub-Last-Rev: 51040eb5e53f4cf0238cb0b787...

88a6a4d1ba75c01fcc7ab8b2b5c6108c36eb92b9 authored about 2 years ago by Kevin Chen <[email protected]>
crypto/tls: convert Conn.activeCall to atomic type

Change-Id: I5b063070a17bdeed57e73bfb76125b94268b3bc9
Reviewed-on: https://go-review.googlesource...

ebaa5ff39ee4046f7f94bf34a6e05702286b08d2 authored about 2 years ago by cuiweixie <[email protected]>
all: tidy std module

Change-Id: I7350a608a198073673fb9b7e9b91dae6f1c861b7
Reviewed-on: https://go-review.googlesource...

d7df872267f9071e678732f9469824d629cac595 authored about 2 years ago by Damien Neil <[email protected]>
net/http: add tracing to TestTransportReuseConnection_Gzip_*

These tests are flaky; add some additional logging in hopes
it will aid in debugging.

For #5337...

441223050335590875581275cd538034111f28d8 authored about 2 years ago by Damien Neil <[email protected]>
net/http: accept HEAD requests with a body

RFC 7231 permits HEAD requests to contain a body, although it does
state there are no defined se...

e246cf626d1768ab56fa9eeafe4d23266e956ef6 authored about 2 years ago by Damien Neil <[email protected]>
all: update vendored golang.org/x/net

Pull in HTTP/2 fix needed for net/http test case.

f8f703f979 http2: accept HEAD requests with ...

493ebc359029a066d039adf861ea33bec68422b8 authored about 2 years ago by Damien Neil <[email protected]>
math: show value of integer constants in comments

Fixes #51282

Change-Id: I5b0d68165b727a427bd4a42663b2fa0070ced22f
Reviewed-on: https://go-revie...

68370187fafe9c355e489d6976c35cd908f37a00 authored about 2 years ago by Shulhan <[email protected]>
spec: describe an edge case for slice expression of nil slice

Change-Id: I8c0e2b37e7e8cb4db6ad0b456fde7eb908ffbd04
Reviewed-on: https://go-review.googlesource...

334984a92a33cd11a12071c03374916162188e2f authored about 2 years ago by Cuong Manh Le <[email protected]>
spec: describe an edge case of slice-to-array conversions

Converting from nil slice to zero element array is ok, so explicitly
describe the behavior in th...

4b58b3077801b83c7ebc8eca23c7f63913d0778f authored about 2 years ago by Cuong Manh Le <[email protected]>
bytes, strings: add ASCII fast path to EqualFold

This commit adds an ASCII fast path to bytes/strings EqualFold that
roughly doubles performance ...

c70fd4b30aba5db2df7b5f6b0833c62b909f50eb authored about 2 years ago by Charlie Vieth <[email protected]>
fmt: rely on utf8.AppendRune

This is both simpler and more performant.
The need for fmt.fmtC to manually check for utf8.MaxRu...

9c916c79011f3af98b5670eb2ba55349ba904522 authored about 2 years ago by Joe Tsai <[email protected]>
runtime: treat SI_TKILL like SI_USER on Linux

On Linux a signal sent using tgkill will have si_code == SI_TKILL,
not SI_USER. Treat the two ca...

d11c58eedbee29b4912dd50508b36ad15ebb739e authored about 2 years ago by Ian Lance Taylor <[email protected]>
Revert "cmd/compile: enable carry chain scheduling for arm64"

This reverts commit 4c414c7673af6b2aedee276d2e62cb2910eb19f3.

Reason for revert: breaks ppc64 b...

fec83c8a7d1a3bb5f63366acd55f83ed8782bff0 authored about 2 years ago by Keith Randall <[email protected]>
time: optimize Parse for []byte arguments

When one has a []byte on hand, but desires to call the Parse function,
the conversion from []byt...

bcd44b61d3154b22ffce10302ea9c34ba639a98e authored about 2 years ago by Joe Tsai <[email protected]>
spec: fix typo in a type parameter example

Fixes #54973

Change-Id: Ibad9dd124617a1bbc23abd17cbd6e9e9928e3ed9
GitHub-Last-Rev: 1c6affb967ef...

0bfa9f0435e03176b04ad202320be441d03ee25f authored about 2 years ago by VRDighe <[email protected]>
syscall: drop compatibility for FreeBSD < 10.0

Change-Id: Idd8cee84215e61817a86915160c91242670798af
Reviewed-on: https://go-review.googlesource...

1e96f42c2a80ca99c202409683ba5bd755bf3d85 authored about 2 years ago by Tobias Klauser <[email protected]>
cmd/cgo: mention //go:build line in godoc

Say "//go:build" instead of "// +build" in the package level godoc
comment.

Change-Id: I4700227...

b5fcb35b3197bc4d444ee0b9ad4ae6c5998864cf authored about 2 years ago by Tobias Klauser <[email protected]>
crypto: use encoding append functions

Replace custom append functions in the hash functions with the implementation of the encoding/bi...

1eeb257b88e59f2f3ce3cbe0eb80a9f049765853 authored about 2 years ago by Erik Pellizzon <[email protected]>
all: replace package ioutil with os and io in src

For #45557

Change-Id: I56824135d86452603dd4ed4bab0e24c201bb0683
Reviewed-on: https://go-review....

f8c659b62ff43e8455ebc675e577b9adc67b3f9f authored about 2 years ago by Andy Pan <[email protected]>
mime/multipart: use %w when wrapping error in NextPart

Use "%w" instead of "%v" as format verb for error value in the NextPart
method. This way it will...

1e7e160d070443147ee38d4de530ce904637a4f3 authored about 2 years ago by thinkofher <[email protected]>
cmd/compile: enable carry chain scheduling for arm64

This is a follow up of CL 393656 on arm64.

Benchmarks:
name ol...

4c414c7673af6b2aedee276d2e62cb2910eb19f3 authored about 2 years ago by eric fang <[email protected]>
cmd/compile: Add some CMP and CMN optimization rules on arm64

This CL adds some optimizaion rules:
1, Converts CMP to CMN, or vice versa, when comparing with ...

cf53990b18750e77963e5cf075c5a921d384b33b authored about 2 years ago by eric fang <[email protected]>
net/http: convert Server.disableKeepAlives to atomic type

Change-Id: I87526520b519554ea344288cc0f0940d7b182e21
Reviewed-on: https://go-review.googlesource...

7db923fe565465f292d3e62d6c7ded86e724062d authored about 2 years ago by cuiweixie <[email protected]>
runtime: make mSpanStateBox accessors nosplit

get, at least, is called from typedmemclr which must not be interruptible.
These were previously...

f1b7b2fc52947711b8e78f7078c9e0bda35320d3 authored about 2 years ago by Keith Randall <[email protected]>
flag: test IsBoolFlag when creating the usage message

Although I can't think of any reason to do this, it is possible for
a user-defined flag to imple...

2d741947d8931325576427b3699d1af20e7be7cf authored about 2 years ago by Rob Pike <[email protected]>
cmd/compile: skip emitting dictionaries with missing method expressions

The nounified frontend currently tries to construct dictionaries that
correspond to invalid inst...

d31f85009cb81604c23e3e471fc4f7d62b9089ff authored about 2 years ago by Matthew Dempsky <[email protected]>
cmd/compile: combine operations with immediate on riscv64

Replace two immediate operations with one, where possible.

Change-Id: Idc00e868155c9ca1d872aaaf...

7234c90352e5ea7769c02808017fb20043ea8210 authored about 2 years ago by Joel Sing <[email protected]>
cmd/compile: avoid the use of XOR for boolean equality on riscv64

The use of SEQZ/SNEZ and SUB allows for other optimisations to be utilised,
particularly absorpt...

83d94daec2636badf02ecda18f7a7c1f4eb1fd74 authored about 2 years ago by Joel Sing <[email protected]>
internal/bytealg: correct alignment checks for compare/memequal on riscv64

On riscv64 we need 8 byte alignment for 8 byte loads - the existing check
was only ensuring 4 by...

fd82718e06a7b8a32becb1751592854d49904075 authored about 2 years ago by Joel Sing <[email protected]>
cmd/compile: implement slice-to-array conversions

The conversion T(x) is implemented as *(*T)(x). Accordingly, runtime
panic messages for (*T)(x) ...

ceffdc8545c3155b030de9e91d399dc34bd3c678 authored about 2 years ago by Matthew Dempsky <[email protected]>
go/internal/gcimporter: fix ureader.go handling of local defined types

In unified IR, local defined types are promoted to a global defined
type with a "vargen" suffix....

29153be75763b7cbf9395d732f454336e3df0286 authored about 2 years ago by Matthew Dempsky <[email protected]>
test: add regress test for issue 55101

This test case already works with GOEXPERIMENT=unified, and it never
worked with Go 1.18 or Go 1...

38cecb22903415b34991ce76efe725f47aaf21a3 authored about 2 years ago by Matthew Dempsky <[email protected]>
os: use wait6 to avoid wait/kill race on netbsd

Resend of CL 315281 which was partially reverted by CL 354249 after the
original CL was suspecte...

d74bf73be052851e83fb59a40f47d49f4b890ca3 authored about 2 years ago by Tobias Klauser <[email protected]>
cmd/compile: avoid using destination pointer base type in memmove optimization

The type of the source and destination of a memmove call isn't
always accurate. It will always b...

e283473ebbebf4a80db166e7e852d03c5cff1a61 authored about 2 years ago by Keith Randall <[email protected]>
reflect: rtype.MethodByName using binary search

Change-Id: If36e9fd7d6b1993ca2d0d382e7fa52212170c798
Reviewed-on: https://go-review.googlesource...

0053ec452db5bd973c7ac9f4faa5041884e460e8 authored about 2 years ago by cuiweixie <[email protected]>
net/http: correctly test for leading header spaces in TestReadRequest_Bad

TestReadRequest_Bad's tests for leading whitespace in the first header
were also exercising the ...

e7312b1005e77633a4fbd3a5cbb371aef45b0867 authored about 2 years ago by Damien Neil <[email protected]>
time: implement Compare method

Fixes #50770.

Change-Id: If0104883bb409ec85827fa5b570f68099ad4fd1d
Reviewed-on: https://go-revi...

d8e6ed32622b692c79a4db42e878921e1d3f16a8 authored about 2 years ago by Roger Peppe <[email protected]>
debug/elf: validate shstrndx

Changes:

1. When e_shstrndx holds the value SHN_UNDEF (0), the file has no section
name string ...

b6d5831caa219aa00574fbacb1026585cf11d6b4 authored about 2 years ago by Zeke Lu <[email protected]>
cmd/go: clear GOPATH from build context when importing from module

In module mode, we shouldn't handle packages under GOPATH any
differently from other packages. C...

73c38f226e15e218411d87a05c878f087ad89455 authored about 2 years ago by Michael Matloob <[email protected]>
runtime/pprof: set labelMap length

Change-Id: If09094e72161f2c5da9102706781524e32f87782
GitHub-Last-Rev: 89949bc6ee8622be31c4e4db45...

0857633f8b4ca4b28aad160d1dd1dbb1fe5a4d7d authored about 2 years ago by Sasha Melentyev <[email protected]>
misc/cgo: replace ioutil.ReadFile with os.ReadFile

For #45557

Change-Id: I25be5b437fa1c9b0e0c46802a9b37efc2d47bca0
Reviewed-on: https://go-review....

c91b1009d52d91eb3a949945789ff235246c0075 authored about 2 years ago by hopehook <[email protected]>
misc/cgo: replace os.SEEK_SET with io.SeekStart

Since os.SEEK_SET was deprecated, use io.SeekStart instead.

Change-Id: I11ae496b071ab35412403ff...

351037d16c16602388709b846420094eabb5ce16 authored about 2 years ago by hopehook <[email protected]>
internal/syscall/unix: reuse existing {Fstat,Open,Unlink}at on freebsd

Change-Id: I517e75faca18bf0fdcd4e6c837f50f824aa6348c
Reviewed-on: https://go-review.googlesource...

f4becf15bdbcb098ec6cfb5373ad113b3d991d43 authored about 2 years ago by Tobias Klauser <[email protected]>
Revert "runtime: treat SI_TKILL like SI_USER on Linux"

This reverts CL 431255.

Reason for revert: breaks darwin-arm and linux-noopt builders.

Change-...

fc1cddcfe916eff82b7c6a0e82765e9b9fe29980 authored about 2 years ago by Cuong Manh Le <[email protected]>
cmd/compile/internal/typebits: relax alignment check

Now we have 8-byte alignment types on 32-bit system, so in some rare
case, e.g, generated wrappe...

00bee6d9a4c3ed6168350fc6551043ff7a1895f2 authored about 2 years ago by Cuong Manh Le <[email protected]>
cmd/compile,sync: make accessing address of zero offset struct field inline cost 0

Accessing the address of something often needs the same (or even less)
number of instructions as...

638c9aad5f88f96d9aa525bbe403c8a5d3b743e8 authored about 2 years ago by Cuong Manh Le <[email protected]>
debug/pe: be careful to avoid potential uint32 overflow

Change-Id: Ic3c1c972bec39e14ea1af50ab2b5d887dac29eab
Reviewed-on: https://go-review.googlesource...

63d05642d48ec81637481518df962f2b3be435a3 authored about 2 years ago by Dan Kortschak <[email protected]>
cmd/compile: resolve known outcomes for SLTI/SLTIU on riscv64

When SLTI/SLTIU is used with ANDI/ORI, it may be possible to determine the
outcome based on the ...

a7bcc94719a5a79241aa3ce35c1e2dbb83b94af7 authored about 2 years ago by Joel Sing <[email protected]>
runtime/internal/sys: make Len64 nosplit

CL 427615 causes failures when Len64 can't be inlined. It's unclear to
me why this wasn't a prob...

cc1b20e8adf83865a1dbffa259c7a04ef0699b43 authored about 2 years ago by Michael Anthony Knyszek <[email protected]>
cmd/dist: add old style build tags

If one (accidentally) uses Go 1.16 as bootstrap toolchain, we
want it to print the error

found ...

1c19c5602bc5d5f54463b1a0133965fa25ebcd56 authored about 2 years ago by Cherry Mui <[email protected]>
runtime: treat SI_TKILL like SI_USER on Linux

On Linux a signal sent using tgkill will have si_code == SI_TKILL,
not SI_USER. Treat the two ca...

7c87012f041948af55d323fc5447230c930e79aa authored about 2 years ago by Ian Lance Taylor <[email protected]>
net/http: deflake TestServerCancelsReadHeaderTimeoutWhenIdle

Return errors instead of calling t.Fatalf for timing-sensitive failure
modes. Scale the Sleep ca...

a9ca741d311772efb828c4b4f45e737783a89ca3 authored about 2 years ago by Bryan C. Mills <[email protected]>
cmd/compile: make isConstDelta compute delta for 8 and 16 bit arithmetic

Use the delta for computing min and max values. This elides a few bounds checks:

compilecmp lin...

2addbf3f2a91e2caa0903c79a44d722e9bcd913d authored about 2 years ago by Jakub Ciolek <[email protected]>
net: set AD bit in DNS queries when trust-ad in resolv.conf

Fixes #51152

Change-Id: Ib366e733434b4bb60ac93e6e622d9ba50bfe4e26
GitHub-Last-Rev: e98220d62fc4...

2d89bec2de0ee9d340346dea6b1506457f5f7722 authored about 2 years ago by Mateusz Poliwczak <[email protected]>
net/http/httputil: remove duplicated code block

Remove a harmless but redundant section of code introduced
in CL 407214.

Change-Id: Id6522e6ff1...

a84f46a28a1a9ffc0183fed394b6969c10fad502 authored about 2 years ago by Damien Neil <[email protected]>
runtime: tweak bgsweep "low-priority" heuristic

Currently bgsweep attempts to be a low-priority background goroutine
that runs mainly when the a...

8451529e9ab26901f952976f9dcadd498d808c32 authored about 2 years ago by Michael Anthony Knyszek <[email protected]>
runtime/metrics: add /sync/mutex/wait/total:seconds metric

This change adds a metric to the runtime/metrics package which tracks
total mutex wait time for ...

63ceff95fa7cc93dd848b503dedcef53b918cdc3 authored about 2 years ago by Michael Anthony Knyszek <[email protected]>
runtime: set G wait reason more consistently

Currently, wait reasons are set somewhat inconsistently. In a follow-up
CL, we're going to want ...

686b38b5b27fe14318adfee57aac780c452fddd6 authored about 2 years ago by Michael Anthony Knyszek <[email protected]>
runtime: make the wait reason for a g blocked on a mutex more specific

This change adds 3 new waitReasons that correspond to sync.Mutex.Lock,
sync.RWMutex.RLock, and s...

a2c396ce00df96f66246aab7a63f3ce5b7ad8753 authored about 2 years ago by Michael Anthony Knyszek <[email protected]>
runtime/metrics: add CPU stats

This changes adds a breakdown for estimated CPU usage by time. These
estimates are not based on ...

b7c28f484ddbc8267273c997e1bcc83a1391b5f7 authored about 2 years ago by Michael Anthony Knyszek <[email protected]>
runtime: shrink time histogram buckets

There are lots of useless buckets with too much precision. Introduce a
minimum level of precisio...

87eda2a782db9b7ad2ec1fd335ed6c7472aa66bc authored about 2 years ago by Michael Anthony Knyszek <[email protected]>
testing: allow go test -run=^$ testing

This should fix the ssacheck builder.

Change-Id: I4b6172df33d6447f7ec8fd8e301c6380efb92588
Revi...

1fc83690e68de1ce252975c5fd3a232629d6a3d6 authored about 2 years ago by Russ Cox <[email protected]>
go/types, types2: allow (string...) signature with NewSignatureType

Includes cases where the core type of the variadic parameter is
a slice or bytestring. Permits a...

0a1118b8a172e64247ce44fcaa7483f24d834c18 authored about 2 years ago by Robert Griesemer <[email protected]>
cmd/link: suppress -no_pie deprecation warning on darwin

Apparently the new darwin linker starts to emit a warning about
-no_pie deprecation. Maybe we wa...

706d84fca2b36fdf670a0d921e6a8a3b481eaa05 authored about 2 years ago by Cherry Mui <[email protected]>
cmd/dist: simplify exec.Cmd helpers for Go 1.19

When running on Go 1.19, we can further simplify some of the exec.Cmd
helpers due to API improve...

5abf200d6528a67032d67d3f50ffd7ce8b536dfa authored about 2 years ago by Austin Clements <[email protected]>
cmd/dist: simplify exec.Cmd helpers

Now that the required Go bootstrap version is 1.17, we can simplify
some of the logic for workin...

d9f90df2b488b2fb7ca8c24d99f82878befb68f8 authored about 2 years ago by Austin Clements <[email protected]>
go/printer: make ExampleFprint correctly run as online example

function "ExampleFprint" will be rewritten to function "main"
when displayed on the godoc pages,...

88b51d2e630738f9396e3825eafd90d03727ec0d authored about 2 years ago by Shengyu Zhang <[email protected]>
cmd/go: delete useless env var setting in test

The correct spelling is asyncpreemptoff=1,
but clearly this test doesn't need it.

Change-Id: Ic...

b35b4a31e167a170a5ee481ed525272bc44dcc33 authored about 2 years ago by Russ Cox <[email protected]>
cmd/go, testing: add go test -skip flag

For proposal #41583, add a new 'go test -skip' flag to make it easy
to disable specific tests, b...

e4a2c38af5bdae12591004c3d35762d23da7a9bd authored about 2 years ago by Russ Cox <[email protected]>
cmd/internal/objabi: record GO$GOARCH setting in object header

The object header string is meant to record the relevant toolchain
configuration, so that we don...

819e3394c90e27483f1f6eabfb02d22c927a139d authored about 2 years ago by Russ Cox <[email protected]>
runtime: switch FreeBSD to use the non-COMPAT_FREEBSD11 version of the kevent syscall

Update #53280

Change-Id: I1c8d4510fbe8bdfe9a41575bde54ea2fbf6b67e9
Reviewed-on: https://go-revi...

e0e1ce9888f5483f834e435d53f5c6c42b9b12a1 authored about 2 years ago by Yuval Pavel Zholkover <[email protected]>
syscall: remove FreeBSD 11 and below 64bit inode compatibility shims

Update #53280

Change-Id: Iaa7c0cf5dbefaa8e14c2de499f99755911c17672
Reviewed-on: https://go-revi...

d8220ac32fc73e69aa6d58890b6b5277d277825f authored about 2 years ago by Yuval Pavel Zholkover <[email protected]>
reflect: allow conversion from slice to array

Updates #46505

Change-Id: Ib8f52d6ae199338f278731267c966da85dd0acdd
Reviewed-on: https://go-rev...

805f174e5c948b4ba5d044fc816be0c23b1015c5 authored about 2 years ago by Cuong Manh Le <[email protected]>