Ecosyste.ms: OpenCollective

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

Hackpad

We strive for making code editing in the browser a powerful, streamlined experience.
Collective - Host: opensource - https://opencollective.com/hackpad - Website: https://hackpad.org - Code: https://github.com/hack-pad

net/http: drop mimesniff for audio/basic

The WHATWG Mime Sniffing Standard we follow dropped support for
.snd / audio/basic.
https://gith...

github.com/hack-pad/go - 8b364451e2e2f2f816ed877a4639d9342279f299 authored over 2 years ago by Sean Liao <[email protected]>
cmd/compile/internal/syntax: correct an error string

When we have an error in a function type used in an expression
we don't know until we see an ope...

github.com/hack-pad/go - e49b80a754c3df1a82d089a16a46ea8946d5a00b authored over 2 years ago by Robert Griesemer <[email protected]>
cmd/go: don't compute Deps fields if they're not needed

If the user provides the -json flag to explicitly specify fields, but
doesn't specify the Deps o...

github.com/hack-pad/go - c75befeec2a8ef2fea3c41da589ca0ffddda506f authored over 2 years ago by Michael Matloob <[email protected]>
cmd/link: fix StackCheckOutput on AIX

This test forces GOARCH to amd64, but currently uses the default GOOS.
This works on every OS th...

github.com/hack-pad/go - 58340240576a9ad254d90da4570e5e6afb913959 authored over 2 years ago by Austin Clements <[email protected]>
net/http: deflake TestTransportConnectionCloseOnRequest

Fixes #52450 (hopefully)

Change-Id: Ib723f8efb4a13af1b98c25cd02935425172d01e6
Reviewed-on: http...

github.com/hack-pad/go - a2f7d9d95a84dedb6909bf1907d6857c2c4a2ef5 authored over 2 years ago by Brad Fitzpatrick <[email protected]>
crypto/rand: apply the same max read size on Illumos as on Solaris

This case was missed in CL 370894, and masked by the lack of an
Illumos TryBot.

Fixes #52452.

...

github.com/hack-pad/go - 338a81741a9aecba1a80014eced5cb2d3852d8eb authored over 2 years ago by Bryan C. Mills <[email protected]>
go/internal/srcimporter: add context to cgo errors

An error message like "could not import os/user (exit status 1)"
(observed in https://go.dev/iss...

github.com/hack-pad/go - 17f8d98a4adf8386e63a0d2902ff42ca5e80996e authored over 2 years ago by Bryan C. Mills <[email protected]>
[dev.boringcrypto] all: merge master into dev.boringcrypto

Change-Id: I52009bf809dda4fbcff03aa82d0ea8aa2a978fa2

github.com/hack-pad/go - e07d63964b6db13c5439f6d0a5d136e43da74016 authored over 2 years ago by Chressie Himpel <[email protected]>
cmd/go/internal/base: in AppendPWD, check that PWD is absolute

The POSIX standard requires the PWD variable to be an absolute path.

Fixes #46832

Change-Id: I...

github.com/hack-pad/go - cbc9e589053e7339c1e3c4d6e88c6c015792efce authored over 2 years ago by Bryan C. Mills <[email protected]>
spec: clarify rules for type set construction of an interface

Be explicit that we always mean non-interface types when we
talk about sets of types.

Also, cla...

github.com/hack-pad/go - 0e08b02ac54c9232759704812f41a5836f920cff authored over 2 years ago by Robert Griesemer <[email protected]>
cmd/compile/internal/types2: use correct value of iota

Fixes #52438.

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

github.com/hack-pad/go - 104742fddae061b52c38e221697cf20ebd09bf10 authored over 2 years ago by Robert Griesemer <[email protected]>
cmd/compile/internal/types2: don't crash in overflow check

Be careful before accessing an operand's expr field (which may
be nil in some rare cases).

Whil...

github.com/hack-pad/go - 302f5ed21dad2cb99f3f63fd99228dc3ab480772 authored over 2 years ago by Robert Griesemer <[email protected]>
cmd/compile/internal/types2: permit parentheses around types in interfaces

Before Go 1.18, an embedded type name in an interface could not be
parenthesized. With generaliz...

github.com/hack-pad/go - 86fa2551fb12338405721089d6db1b9d78e4f05e authored over 2 years ago by Robert Griesemer <[email protected]>
crypto/rand: remove all buffering

The kernel's RNG is fast enough, and buffering means taking locks, which
we don't want to do. So...

github.com/hack-pad/go - 3ae414c31e59c9ee210fa3606f36cf0ea36b9906 authored over 2 years ago by Jason A. Donenfeld <[email protected]>
crypto/rand: batch and buffer calls to getrandom/getentropy

We're using bufio to batch reads of /dev/urandom to 4k, but we weren't
doing the same on newer p...

github.com/hack-pad/go - d68a8d0f27bb3599b49cacd119d7ac3202248050 authored over 2 years ago by Jason A. Donenfeld <[email protected]>
cmd/compile: more negation related generic SSA rewrite rules

The x + (-y) => x - y rule is hitted 75 times while building stage 3 and tools
and make the linu...

github.com/hack-pad/go - e858c14f916d424b33ad7e2450895b3117a5f727 authored over 2 years ago by Jorropo <[email protected]>
reflect: adjust MapRange allocation test for noopt builder, take 2

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

github.com/hack-pad/go - aa8262d800f0cba2e4d4472a7e344eb60481b0ff authored over 2 years ago by Keith Randall <[email protected]>
reflect: adjust MapRange allocation test for noopt builder

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

github.com/hack-pad/go - 689dc17793991746eb27ba4520d45af19a661f98 authored over 2 years ago by Keith Randall <[email protected]>
doc/go1.19: move the description of the runtime.GOROOT change from 'cmd/go' to 'runtime'

Even though the change in the behavior of 'runtime.GOROOT' was
not actually due to a change in t...

github.com/hack-pad/go - 0670afa1b3aaed740816c5ffc9825d154c47d188 authored over 2 years ago by Bryan C. Mills <[email protected]>
io/ioutil: provide an equivalent for the deprecated ReadDir

All APIs in the now-deprecated io/ioutil package have a direct
replacement in either the io or o...

github.com/hack-pad/go - e04280838f34669458d55d6aab812a8c304c40a0 authored over 2 years ago by Daniel Martí <[email protected]>
cmd/link: faster algorithm for nosplit stack checking, better errors

The linker performs a global analysis of all nosplit call chains to
check they fit in the stack ...

github.com/hack-pad/go - e25f46e59621caf02f8ac1acc8d1dbe028859e47 authored over 2 years ago by Austin Clements <[email protected]>
test/nosplit: add more complicated recursion tests

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

github.com/hack-pad/go - 7a062432059e0a7f6217424733d3a01030897741 authored over 2 years ago by Austin Clements <[email protected]>
test/nosplit: apply stack limit adjustment in the right place

The nosplit test was originally written when the stack limit was a
mere 128 bytes. Now it's much...

github.com/hack-pad/go - 120f445495a573f80b1f0c0acc326c281c01b13e authored over 2 years ago by Austin Clements <[email protected]>
cmd/compile,cmd/internal/obj: replace Ctxt.FixedFrameSize method with Arch field

And delete now-unused FixedFrameSize methods.

Change-Id: Id257e1647dbeb4eb4ab866c53744010c4efeb...

github.com/hack-pad/go - 5f625de4d09843ba1c996019abaddd1f85840f56 authored over 2 years ago by Austin Clements <[email protected]>
internal/sys: add LR and fixed frame size to sys.Arch

Storing this information in the Arch eliminates some code duplication
between the compiler and l...

github.com/hack-pad/go - 8af7fac5a1d2b3881f8f435d77adfcef6a07bedc authored over 2 years ago by Austin Clements <[email protected]>
cmd/link: use TOC-relative trampolines on PPC64 when needed

When linking a PIE binary with the internal linker, TOC relative
relocations need to be generate...

github.com/hack-pad/go - caa46312eeca1275ce22ecf8985ca31ef8de7883 authored over 2 years ago by Paul E. Murphy <[email protected]>
crypto/x509: move sha1 removal to unspecified future release

Updates #41682

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

github.com/hack-pad/go - e8d9fd707f4914bdd298f5dcdd14d3b6035e278b authored over 2 years ago by Jordan Liggitt <[email protected]>
crypto/x509: reject duplicate extensions

When parsing certificates and CSRs, reject duplicate extensions (and
additionally duplicate requ...

github.com/hack-pad/go - a11a885cb567b3797e33733e883c2ba3bdc0e898 authored over 2 years ago by Roland Shoemaker <[email protected]>
reflect: make Value.MapRange inlineable

This allows the caller to decide whether MapIter should be
stack allocated or heap allocated bas...

github.com/hack-pad/go - c5edd5f616b4ee4bbaefdb1579c6078e7ed7e84e authored over 2 years ago by Joe Tsai <[email protected]>
net/http: eliminate arbitrary timeouts in TestServerRequestContextCancel_ConnClose

These timeouts are empirically sometimes (but rarely) too short on
slower builders, and at any r...

github.com/hack-pad/go - f49e802892a225c7fd14a3a8bb8c0e83875d888d authored over 2 years ago by Bryan C. Mills <[email protected]>
cmd/compile: fix missing source information in ssa view

Endlineno is lost when we call "genericSubst" to create the new
instantiation of the generic fun...

github.com/hack-pad/go - 3df9df8d6a1a140239e4cba0d0595bdab2ba9c60 authored over 2 years ago by hopehook <[email protected]>
runtime: improve memclr on ppc64x

This improves performance for memclr for sizes >= 64 and < 512 by
unrolling the loop to clear 64...

github.com/hack-pad/go - 91b9915d3f6f8cd2e9e9fda63f67772803adfa03 authored over 2 years ago by Lynn Boger <[email protected]>
net/http: correctly show error types in transfer test

actualReader and tc.expectedReader are reflect.Type instances,
not the actual objects.

Change-I...

github.com/hack-pad/go - 740a490f71d026bb7d2d13cb8fa2d6d6e0572b70 authored over 2 years ago by Jorropo <[email protected]>
reflect: make Value.Type inlineable

This allows the result of Type to be computed much faster.

Performance:

old new delta...

github.com/hack-pad/go - e948c3394ee137bae45e85cfa7c8ec0bb0e16dc8 authored over 2 years ago by Joe Tsai <[email protected]>
bytes: explode checks for n too large

As is already done in strings package.

Change-Id: Ia45e6443ddf6beac5e70a1cc493119030e173139
Git...

github.com/hack-pad/go - 5e4543c29ff930084f79cd982d6eee0f13f52565 authored over 2 years ago by Philippe Antoine <[email protected]>
go/doc: fix incorrect identifier parsing in comments

This code was trying to iterate codepoints, but didn't reslice the string,
so it was reading the...

github.com/hack-pad/go - e704ef2b8529119a11694b4cb15215d3dd6b0a9f authored over 2 years ago by Jorropo <[email protected]>
runtime: don't block preemption signal in new M's or ensureSigM

No test because we already have a test in the syscall package.
The issue reports 1 failure per 1...

github.com/hack-pad/go - e3982660a73b04a87c08215cb5aaa16d816ea573 authored over 2 years ago by Ian Lance Taylor <[email protected]>
cmd/link: preserve symbol attributes when cloning to external

There are some symbol attributes that are encoded in the object
file. Currently, they are lost w...

github.com/hack-pad/go - df08c9a82152fd6f2b2811db03b40fea8b6e5e9e authored over 2 years ago by Cherry Mui <[email protected]>
debug/pe: read string table in 10M chunks

No separate test because this makes no difference for valid PE files.

Fixes #52350

Change-Id: ...

github.com/hack-pad/go - 0c6d8bb109adfa188190b2e6de59b88853ded378 authored over 2 years ago by Ian Lance Taylor <[email protected]>
mime: ignore non-extension globs2 entries

Change-Id: Ic2315b593dca5648c02f793b7650b5936a997bff
GitHub-Last-Rev: ee55edcf087416c6f0d50d5dd5...

github.com/hack-pad/go - df2421de60215cfc314fe6772ff6c2c6201f7abb authored over 2 years ago by Ville Skyttä <[email protected]>
net/http: optimize StatusText implementation

The current implementation, although more succinct, relies on a runtime
lookup to a "constant" u...

github.com/hack-pad/go - ac01de5446ec92544768dabee3b0d1faf5f596d9 authored over 2 years ago by João Penteado <[email protected]>
crypto/x509: don't create certs with negative serials

Refuse to create certificates with negative serial numbers, as they
are explicitly disallowed by...

github.com/hack-pad/go - 082cfabf126d63e952e1ac29d47c2a47f1c64bee authored over 2 years ago by Roland Shoemaker <[email protected]>
internal/bytealg: optimize indexbyte function for ppc64le/power9

Added specific code For POWER9 that does not need prealignment prior
to load vector. Optimized v...

github.com/hack-pad/go - 5c707f5f3ace728f08997960ec67d9f55cdbf1a3 authored over 2 years ago by Archana R <[email protected]>
net/http: remove cloneURL call in WithContext

Fixes #52239

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

github.com/hack-pad/go - 2c73f5f32fceb31b5da7f9a820c0c637f57a9ab5 authored over 2 years ago by Bobby Powers <[email protected]>
encoding/binary: add AppendVarint AppendUvarint

This adds a straight-forward implementation of the functionality.
A more performant version coul...

github.com/hack-pad/go - 35a92f92bd0ce15c658dd6794238ca90b71e4422 authored over 2 years ago by Joe Tsai <[email protected]>
runtime: don't discard value from panic while panicking

In issue #17671, there are a endless loop if printing
the panic value panics, CL 30358 has fixed...

github.com/hack-pad/go - 5a4f0b6f1e6d3c022ee30884590526ab7d3f580b authored over 2 years ago by hopehook <[email protected]>
cmd/compile: turn jump tables off with -N

The noopt builder is broken, because with -N we get two OpSB opcodes
(one for the function as a ...

github.com/hack-pad/go - 78bea702cd38ac5004a97f110e7f659336a04d57 authored over 2 years ago by Keith Randall <[email protected]>
crypto/x509: don't allow too long serials

Don't create certificates that have serial numbers that are longer
than 20 octets (when encoded)...

github.com/hack-pad/go - cc43e191ce562cd879a9baaf7a2e4fb1a7216d31 authored over 2 years ago by Roland Shoemaker <[email protected]>
cmd/compile: add jump table codegen test

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

github.com/hack-pad/go - c4b2288755d07b9505ef498819bb540b7b0fa215 authored over 2 years ago by Keith Randall <[email protected]>
cmd/compile: modify switches of strings to use jump table for lengths

Reorganize the way we rewrite expression switches on strings, so that
jump tables are naturally ...

github.com/hack-pad/go - 3d8cb26504f9e3f5b45b4ea97b55714a25e016c1 authored over 2 years ago by Keith Randall <[email protected]>
cmd/compile: constant-fold switches early in compilation

So that the inliner knows all the other cases are dead and doesn't
accumulate any cost for them....

github.com/hack-pad/go - 01b9ae22ed3c0f9c9ea29adbcd23bd97de6d18dd authored over 2 years ago by Keith Randall <[email protected]>
cmd/compile: implement jump tables

Performance is kind of hard to exactly quantify.

One big difference between jump tables and the...

github.com/hack-pad/go - 1ba96d8c0909eca59e28c048150c3834982f79fb authored over 2 years ago by Keith Randall <[email protected]>
debug/dwarf: better stmt list attr checking in LineReader

Check for insane statement list attribute values when
constructing LineReader's for a compilatio...

github.com/hack-pad/go - dd97871282c28f1572f7cfe67395f848f69abb4b authored over 2 years ago by Than McIntosh <[email protected]>
math: improve documentation of Copysign

Name the arguments in a way that is more self-describing.
Many code editor tools show a snippet ...

github.com/hack-pad/go - 62b8ec744b8e10b80f9271fed93116387c9128ef authored over 2 years ago by Joe Tsai <[email protected]>
cmd/compile: fold constant shifts into (SHL|SHR|SAR)Xload ops

We should prefer a constant shift op to a X shift op.
That way we don't have to materialize the ...

github.com/hack-pad/go - cb702a2a5670d4fa599f573b37b1a01abc9f995a authored over 2 years ago by Keith Randall <[email protected]>
cmd/compile: remove unused offset calculation in ssagen#rtcall

This offR accumulation isn't used and some really similar code is done
later in the Load results...

github.com/hack-pad/go - d2552037426fe5a190c74172562d897d921fe311 authored over 2 years ago by Jorropo <[email protected]>
sort: use pdqsort

- Across all benchmarks, pdqsort is never significantly slower than the previous algorithm.
- In...

github.com/hack-pad/go - 72e77a7f41bbf45d466119444307fd3ae996e257 authored over 2 years ago by zhangyunhao <[email protected]>
crypto/x509: add CertPool.Clone

Export the previously private method copy as Clone.

Fixes #35044

Change-Id: I5403d6a3b9f344c98...

github.com/hack-pad/go - 9298f604f474ef6dcd5fdfb73877d63b1972c29f authored over 2 years ago by Roland Shoemaker <[email protected]>
[dev.boringcrypto] misc/boring: add new releases to RELEASES file

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

github.com/hack-pad/go - 1f11660f54db8674223127be6ef9c1081ad55437 authored over 2 years ago by Dmitri Shuralyov <[email protected]>
crypto/x509: support nil pools in CertPool.Equal

Otherwise we panic if either pool is nil.

Change-Id: I8598e3c0f3a5294135f1c330e319128d552ebb67
...

github.com/hack-pad/go - d65a41329ee87f46f35719129d1d4b03d4a07cc8 authored over 2 years ago by Roland Shoemaker <[email protected]>
crypto/x509: omit empty extensions SEQUENCE

In CreateCertificate, if there are no extensions, don't include the
extensions SEQUENCE in the e...

github.com/hack-pad/go - a78db879b31b072c37c6d46cc404d8e131d54349 authored over 2 years ago by Roland Shoemaker <[email protected]>
cmd/compile: add SHLX&SHRX without load

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

github.com/hack-pad/go - 66f03f79dadc6005d30a6edf4419b8f6c0fa6398 authored over 2 years ago by Wayne Zuo <[email protected]>
cmd/compile: add SARXQload and SARXLload

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

github.com/hack-pad/go - 517781b39181e26cff880b656787fac65a63092c authored over 2 years ago by Wayne Zuo <[email protected]>
[dev.boringcrypto] misc/boring: remove -trust and individual reviewers

The -trust flag has become obsolete.

A list of individual reviewers may become out of date, and...

github.com/hack-pad/go - bc3e5d0ab75ee8051a6fb28196575c1c4556b765 authored over 2 years ago by Dmitri Shuralyov <[email protected]>
runtime: port memmove, memclr to register ABI on riscv64

This allows memmove and memclr to be invoked using the new
register ABI on riscv64.

Change-Id: ...

github.com/hack-pad/go - b55a2fb3b0d67b346bac871737b862f16e5a6447 authored over 2 years ago by Meng Zhuo <[email protected]>
cmd/asm: update comment to refer to #44505

Updates #44505

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

github.com/hack-pad/go - 65558a4f3da02fd7ad3d7ea93821c2a1be5508d7 authored over 2 years ago by hopehook <[email protected]>
cmd/link: mangle symbol ABI name for linker-generated symbols

The ABI mangling code skips symbols that are not loaded from Go
objects. Usually that is fine, a...

github.com/hack-pad/go - 9c7f0b1ccd37b6f41a5326c451c633c92e93870c authored over 2 years ago by Cherry Mui <[email protected]>
cmd/link: don't sort pclntab entries

They are already in a good order. The sort here does nothing, as
all the SymValues are 0. Sortin...

github.com/hack-pad/go - 1f97f960e76d1b722b7c4a0dd61e9b20ec6c2a37 authored over 2 years ago by Keith Randall <[email protected]>
cmd/go: fix TestScript/test_fuzz_minimize_interesting flake

check_testdata/check_testdata.go used the encoding of the corpus entry
file, rather than the inp...

github.com/hack-pad/go - fc1d4c11dfff3cad0389b32e9fa698a389807e3a authored over 2 years ago by Roland Shoemaker <[email protected]>
math/big: Implement shlVU and shrVU in ASM for PPC64

Currently the shift left and shift right functions are coded in .go
on PPC64. Implementing them ...

github.com/hack-pad/go - 6183920a33c21725ad21d67bee8c1eebb5d30a90 authored over 2 years ago by Archana R <[email protected]>
doc/go1.19: document cmd/go changes involving -trimpath

Updates #51461.

Change-Id: Ie878a9f630062d62027de895750a070b50428a9f
Reviewed-on: https://go-re...

github.com/hack-pad/go - d85694ab4fdf1d8f99d6cb96878bfb7acab8df13 authored over 2 years ago by Bryan C. Mills <[email protected]>
syscall: check correct group in Faccessat

The Faccessat call checks the user, group, or other permission bits of a
file to see if the call...

github.com/hack-pad/go - f66925e854e71e0c54b581885380a490d7afa30c authored over 2 years ago by Damien Neil <[email protected]>
cmd/go: allow '-buildvcs=auto' and treat it as the default

When we added VCS stamping in the Go 1.18 release, we defaulted to
-buildvcs=true, on the theory...

github.com/hack-pad/go - 4569fe64101c2209e3429bd1c953b5f4021fc43d authored over 2 years ago by Bryan C. Mills <[email protected]>
cmd/compile: always write fun[0] in incomplete itab

runtime.getitab need filled fun[0] to identify whether
implemented the interface.

Fixes #51700
...

github.com/hack-pad/go - 6f5590edf6883583a801ceb9309f074c0cd7c1cd authored over 2 years ago by Wayne Zuo <[email protected]>
cmd/go: open correct path when loading embeds from root directory

The existing implementation of `load.resolveEmbed`
uses an expression like `path[len(pkgdir)+1:]...

github.com/hack-pad/go - 5bf6c97e76c721242a9b064950cd901c33f6f0b9 authored over 2 years ago by tenkoh <[email protected]>
cmd/go/internal/modload: remove aix from stat_openfile.go comment

syscall.Access is supported and used on aix since CL 263540.

Change-Id: Ie50cc3da68b49b22d622d9...

github.com/hack-pad/go - 8f1d5d0a41840c1e6b36c94d493af8aae1302fd0 authored over 2 years ago by Tobias Klauser <[email protected]>
encoding/pem: fix stack overflow in Decode

Previously, Decode called decodeError, a recursive function that was
prone to stack overflows wh...

github.com/hack-pad/go - 45c3387d777caf28f4b992ad9a6216e3085bb8fe authored over 2 years ago by Julie Qiu <[email protected]>
runtime: improve memmove for ppc64x

This improves performance of memmove for larger moves by
unrolling the main loop from 32 byte to...

github.com/hack-pad/go - 9ccf5b8e86ce98494a2127196fbc47d72b0a71a5 authored over 2 years ago by Lynn Boger <[email protected]>
cmd/compile: add SARX instruction for GOAMD64>=3

name old time/op new time/op delta
ShiftArithmeticRight-8 0.68ns ± 5% 0.3...

github.com/hack-pad/go - d6320f1a58f1f7820daee06a086c83a0274a777f authored over 2 years ago by Wayne Zuo <[email protected]>
test: add //go:build support to run.go

gofmt is rewriting +build comments into //go:build anyway, so update
the test script to support ...

github.com/hack-pad/go - 2b31abc5286e4f29f934c4123101feabf0f4aaca authored over 2 years ago by Matthew Dempsky <[email protected]>
cmd/go: set GOROOT explicitly for 'go generate' subprocesses

Code generators may reasonably expect to find the GOROOT for which the
code is being generated.
...

github.com/hack-pad/go - f2d9ab263b8c62a81d314feb1e7a7fb424bb9c43 authored over 2 years ago by Bryan C. Mills <[email protected]>
cmd/go: fix TestScript/build_trimpath_goroot when built with a mismatched GOROOT_FINAL

Fixes #52236.
Updates #51461.

Change-Id: Ie91e0256afd45e9bbd60fd8cdc696363027ab696
Reviewed-on:...

github.com/hack-pad/go - e299381cd1b4b7efecf7642ebfcd5e76ffa65e6d authored over 2 years ago by Bryan C. Mills <[email protected]>
Revert "cmd/compile/internal: fix test error on loong64"

This reverts CL 367043.

Reason for revert: auto-submitted prematurely, breaking tests on most b...

github.com/hack-pad/go - d4dbad53ca080d767798ee4267999868d7f2c22d authored over 2 years ago by Bryan Mills <[email protected]>
cmd/compile/internal: fix test error on loong64

For TestLogOpt test case, add loong64 support to test the host
architecture and os.

The Ctz64 i...

github.com/hack-pad/go - ace7672526692f8290bd98e339169c6eca76ba07 authored over 2 years ago by Xiaodong Liu <[email protected]>
runtime/chan.go: improve closed channel receive performance

Use this benchmark ut:

```go
func BenchmarkReceiveDataFromClosedChan(b *testing.B) {
count := ...

github.com/hack-pad/go - ca7c6ef33d9eca2dbc7eb46601a051dc7dc4e411 authored over 2 years ago by champly <[email protected]>
os: mark Solaris nam/door/port files as irregular

No test because I'm too lazy to figure out how to create such files.

Fixes #52259

Change-Id: I...

github.com/hack-pad/go - a362d5461483190cbaf995e6cb7aaa47c32ebe36 authored over 2 years ago by Ian Lance Taylor <[email protected]>
cmd/compile: add a test case and some comments for deadlock on syntax error

After CL 398014 fixed a compiler deadlock on syntax errors,
this CL adds a test case and more de...

github.com/hack-pad/go - 370cadd0e43ddfcfd494eefefc5bd4e85d7efcf8 authored over 2 years ago by hopehook <[email protected]>
cmd/compile: fix compilation crash with several blank labels

Fixes #52278

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

github.com/hack-pad/go - be0262a1279ab37ff2cae562de37afd333f5ada4 authored over 2 years ago by nimelehin <[email protected]>
runtime: fix name of type parameter

CL 372774 is for reflect, this CL is for _type in runtime.
Add a test case to ensure the name me...

github.com/hack-pad/go - ec5e5dba6fbc4549f167c6db509a800e163296c8 authored over 2 years ago by zhouguangyuan <[email protected]>
net/http/httptest: allow multiple fields be present in one Trailer field

Fixes #51761

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

github.com/hack-pad/go - ff14e844d26090e09aa335d836f737c09a7a0402 authored over 2 years ago by Maxime Soulé <[email protected]>
runtime: align m.procid to 8 bytes on 32-bit systems

https://go-review.googlesource.com/c/go/+/383434 started using
atomic Load64 on this field, whic...

github.com/hack-pad/go - ea7e3e3c0f561d1115d647e3e24ca61d0382e1ac authored over 2 years ago by Keith Randall <[email protected]>
A+C: add Wen Yang (individual CLA)

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

github.com/hack-pad/go - 11c450fa58b1aa712d7202d71285ae1b0612d201 authored over 2 years ago by yangwenmai <[email protected]>
go/ast, go/printer: recognize export and extern line directives

Now that gofmt is reformatting these, we can't get away with
not knowing about directives such a...

github.com/hack-pad/go - 0605bf6052807e71e52fc3864b18b221ce61b047 authored over 2 years ago by Russ Cox <[email protected]>
all: gofmt main repo

[This CL is part of a sequence implementing the proposal #51082.
The design doc is at https://go...

github.com/hack-pad/go - 19309779ac5e2f5a2fd3cbb34421dafb2855ac21 authored over 2 years ago by Russ Cox <[email protected]>
cmd/doc: use new go/doc APIs

[This CL is part of a sequence implementing the proposal #51082.
The design doc is at https://go...

github.com/hack-pad/go - 017933163ab6a2b254f0310c61b57db65cded92e authored over 2 years ago by Russ Cox <[email protected]>
go/doc: use go/doc/comment

[This CL is part of a sequence implementing the proposal #51082.
The design doc is at https://go...

github.com/hack-pad/go - 27b7b1fa19b5d8c8855859ca64b52f960a446ce7 authored over 2 years ago by Russ Cox <[email protected]>
cmd/go: gofmt alldocs.go

[This CL is part of a sequence implementing the proposal #51082.
The design doc is at https://go...

github.com/hack-pad/go - 8b4ded3ef379c721fbd7bff76cf8dd4504b4738c authored over 2 years ago by Russ Cox <[email protected]>
go/printer: format doc comments

[This CL is part of a sequence implementing the proposal #51082.
The design doc is at https://go...

github.com/hack-pad/go - 078cc6a04f1dc0ef46f1bd5c27dc20a6fcfbabcf authored over 2 years ago by Russ Cox <[email protected]>
go/doc/comment: parse and print lists

[This CL is part of a sequence implementing the proposal #51082.
The design doc is at https://go...

github.com/hack-pad/go - e1b0862925c8ed97bdaf9277f4a2ba38e0b58cbe authored over 2 years ago by Russ Cox <[email protected]>
go/doc/comment: parse and print code

[This CL is part of a sequence implementing the proposal #51082.
The design doc is at https://go...

github.com/hack-pad/go - 3f5d099663fab4a59133bbe7643f40deb5460509 authored over 2 years ago by Russ Cox <[email protected]>