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

Revert "cmd/go: update TestScripts/svn to not depend on TZ database"

This reverts CL 447335.

Reason for revert: broke test on solaris-amd64-oraclerel, which does ha...

c065bc70ef45003216271ba42bdd4a4c321ac38a authored almost 2 years ago by Bryan Mills <[email protected]>
go/build: don't add unparsable non-Go files to InvalidGoFiles

go/build attempts to parse comments at the beginning of non-Go files
looking for //go:build or /...

3511c822f766fdf16817c1a1949971806c4eeb7e authored almost 2 years ago by Michael Matloob <[email protected]>
cmd/compile: if GOGC is not set, temporarily boost it for rapid starting heap growth

Benchmarking suggests about a 14-17% reduction in user build time,
about 3.5-7.8% reduction for ...

44cabb802af220388aa1d74776e076e75c53aeb0 authored almost 2 years ago by David Chase <[email protected]>
net: do not modify shared test variable in TestDNSReadConfig

Fixes #56542

Change-Id: I294856f8fb4d49393310ec92ab40fb7d841b6570
GitHub-Last-Rev: a4563400af81...

0b76e326bb15ec828aeb1470902a71c7416b64b9 authored almost 2 years ago by Mateusz Poliwczak <[email protected]>
runtime: support control flow guard on windows/amd64

The stack pointer must lie within system stack limits
when Control Flow Guard (CFG) is enabled o...

5c0d314adcc605e0198b2bb45a34db701c9e072c authored almost 2 years ago by qmuntal <[email protected]>
crypto/x509: switch test to ParseRevocationList

In following with Roland's TODO, switch TestDisableSHA1ForCertOnly to ParseRevocationList(...) o...

7abc8a2e3370bd013d9aa12b5d443e21537dfb26 authored almost 2 years ago by Alexander Scheel <[email protected]>
cmd/compile: add debug-hash flag for fused-multiply-add

This adds a -d debug flag "fmahash" for hashcode search for
floating point architecture-dependen...

667c53e1599fbc61b48e3ddc95e2361b8c8fb8a5 authored almost 2 years ago by David Chase <[email protected]>
cmd/objdump: skip PIE test when cgo is disabled and PIE needs external linking

On some platforms, building PIE needs external linking, which
cannot run if cgo is not available...

1f65c399befa37e6727bb1a1a40aca65c4b6bcc4 authored almost 2 years ago by Cherry Mui <[email protected]>
cmd/compile: use CDF to determine PGO inline threshold

Currently in PGO we use a percentage threshold to determine if a
callsite is hot. This CL uses a...

b07e845e764806fa888cb4e99c8ace4625f0472f authored almost 2 years ago by Cherry Mui <[email protected]>
math/big: add PCALIGN to addMulVVW asm on ppc64x

Adding PCALIGN to addMulVVW assembler implementation
provides the following improvement on power...

932330fdbf669e28748227148f3f633620a5a300 authored almost 2 years ago by Lynn Boger <[email protected]>
cmd/go: update TestScripts/svn to not depend on TZ database

`TestScripts/svn` test suite fails if the host does not have a TZ
database installed.

This CL u...

ebb71ad681ec5711c004537e5800a10e5a3ab533 authored almost 2 years ago by qmuntal <[email protected]>
cmd/go/internal/vcs: also check file mode when identifying VCS root

Currently, FromDir identifies a VCS checkout directory just by checking
whether it contains a sp...

bb3965695d3bc3586fba55c7b8d5e8a56cd4c0c9 authored almost 2 years ago by Zeke Lu <[email protected]>
cmd/go/internal/script: Cmp() should not perform environment substitutions

This is an oversight from https://go-review.googlesource.com/c/go/+/419875,
where script command...

3e3a8fe5bed87845e7c93da50378403564ad9e69 authored almost 2 years ago by qmuntal <[email protected]>
cmd/compile: remove issueSpill

Remove the useless issueSpill and continue directly.

Change-Id: I085e566be6f7200235e1bfe1f56a8e...

e81263c79153e98c553c17f7c0417364bea827f5 authored almost 2 years ago by liu-xuewen <[email protected]>
crypto/x509: create CRLs with Issuer.RawSubject

Per discussion with Roland Shoemaker, this updates
x509.CreateRevocationList to mirror the behav...

a367981b4c8e3ae955eca9cc597d9622201155f3 authored almost 2 years ago by Alexander Scheel <[email protected]>
all: fix a few function names on comments

Change-Id: Ida7e756f01a2c115ac58bf10aa13b2f8fd57b6a1
GitHub-Last-Rev: 4694d397bd3ad488fd05ed2cc6...

1bfb51f8f79acc13ff1c79576bf0a340d4d6706e authored almost 2 years ago by cui fliter <[email protected]>
crypto/ecdh: update ECDH docs and add tests for edge cases

Two edge cases that were mentioned in the docs are actually impossible:

* For NIST curves, EC...

582a6c2db4dfb617e709b7c8d859ff548aee1b1a authored almost 2 years ago by Filippo Valsorda <[email protected]>
os/exec: allow open descriptors to be closed during TestPipeLookPathLeak

In https://build.golang.org/log/d2eb315305bf3d513c490e7f85d56e9a016aacd2,
we observe a failure i...

56ad133512b4f05c071ec79bc4cf9ccb227567c1 authored almost 2 years ago by Bryan C. Mills <[email protected]>
cmd/go: add -C flag

The -C flag is like tar -C or make -C: it changes to the named directory
early in command startu...

2af48cbb7d85e5fdc635e75b99f949010c607786 authored almost 2 years ago by Russ Cox <[email protected]>
cmd/compile: use edge weights to decide inlineability in PGO

Currently, with PGO, the inliner uses node weights to decide if a
function is inlineable (with a...

fb4f7fdb26da9ed0fee6beab280c84b399edaa42 authored almost 2 years ago by Cherry Mui <[email protected]>
README: update from CC-BY-3.0 to CC-BY-4.0

CC-BY-3.0 was shiny and new back in 2009, but CC-BY-4.0 is
generally preferred now. Update our C...

a5b4283dfd90687d4263b38001e06bd3acf8b752 authored almost 2 years ago by Russ Cox <[email protected]>
cmd/api: make check pickier about api/*.txt

We don't have a formatter for these files, so check here that
they are in the right form to allo...

ca8b31920a23541dda56bc76d3ddcaef3c3c0866 authored almost 2 years ago by Russ Cox <[email protected]>
text/template: correct assignment, not declaration, in range

We were mishandling {{range $i = .}}, treating it as though it were
{{range $i := .}}. That happ...

be7068fb0804f661515c678bee9224b90b32869a authored almost 2 years ago by Ian Lance Taylor <[email protected]>
net: store IPv4 returned from cgo resolver as 4-byte slice net.IP

net.IP states that a 16-byte slice can still be an IPv4 address.
But after netip.Addr is introdu...

c53390b078b4d3b18e3aca8970d4b31d4d82cce1 authored almost 2 years ago by Zeke Lu <[email protected]>
go/parser: add missing parenthesis in a comment

Change-Id: I30783aa6a13ad8348fa24b27672d542a868f96de
GitHub-Last-Rev: c4584ad9dab9736275c2f2554a...

07a70bcabb3c81a2f97e894a6910d95b19d6b074 authored almost 2 years ago by ishwargowda <[email protected]>
regexp: add ErrLarge error

For #56041

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

581a822a9ed8fcae4afbc93daa6a74db7d9ea9a2 authored almost 2 years ago by cuiweixie <[email protected]>
cmd/compile: renovate GOSSAHASH

Randomized feature enable/disable might be something we use to
help users debug any problems wit...

03f6d81fc7d52ec53deb94cff69b63d04e689c24 authored almost 2 years ago by David Chase <[email protected]>
math/big: use Montgomery for z.Exp(x, y, m) even for even m

Montgomery multiplication can be used for Exp mod even m
by splitting it into two steps - Exp mo...

3ba3b4893f3630b2bd78ec6f4f366d60e16bd636 authored almost 2 years ago by Russ Cox <[email protected]>
math/big: add benchmark of Exp with large modulus

Setting up for improving even modulus.

name time/op
ExpMont/Odd-16 2...

d8541aa8d5d09042cff39ba064b2e09b772f0ae0 authored almost 2 years ago by Russ Cox <[email protected]>
cmd/link: remove unnecessary use of sync.Once alongside sync.Mutex

There does not seem to be any point to this sync.Once.
I noticed because I was surveying uses of...

0aeda5afe5972c1b5f76d5ee78cbc5c96474ca89 authored almost 2 years ago by Russ Cox <[email protected]>
testing: implement -cpu and -count for fuzz tests

Fuzz tests are meant to be run just like ordinary tests,
so copy the same loop cpu and count loo...

30b240b102652a7cf6b7df0748b4bc69f496e0bc authored almost 2 years ago by Russ Cox <[email protected]>
net: support no-reload option for unix go resolver

It adds support for no-reload option, as specified in resolv.conf(5):
no-reload (since glibc 2....

81efd7b347dd6d7f12fd49c6eee0274005734c71 authored almost 2 years ago by Mateusz Poliwczak <[email protected]>
net: drop unused _C_ai_addrlen function

Fixes AIX build.

Change-Id: Icbb33896017bbcc488a8baff20e10eb0e14ea4b9
Reviewed-on: https://go-r...

e23876a3835a67dfab936da273fb050dabe765d1 authored almost 2 years ago by Ian Lance Taylor <[email protected]>
cmd/compile/internal/pgo: remove ListOfHotCallSites

The global ListOfHotCallSites set is used to communicate between
CanInline and InlineCalls the s...

d73885588ac0a7520ac3e848112e44f5dbe97006 authored almost 2 years ago by Michael Pratt <[email protected]>
cmd/go/internal/vcweb: increase script WaitDelay by 30x

This should reduce spurious VCS failures on slow builders, like the
one observed in
https://buil...

1ae93e4c201af78b000dccef0c2489bf7fb879ca authored almost 2 years ago by Bryan C. Mills <[email protected]>
runtime: check for ErrWaitDelay in runBuiltTestProg

ErrWaitDelay is not expected to occur in this test, but if it does
it indicates a failure mode v...

1587c3658349643ae76acf3d3fc3f0ea5cafe61d authored almost 2 years ago by Bryan C. Mills <[email protected]>
internal/testenv: adjust timeout calculations in CommandContext

I noticed some test failures in the build dashboard after CL 445597
that made me realize the gra...

082afccebfc068207328fcaeb4b01e540784ff24 authored almost 2 years ago by Bryan C. Mills <[email protected]>
cmd/dist: fix a variable scope bug:

We reused p so we were deleting the same directory twice instead of two
different directories. F...

50c59194758999487f577030ca11d91c65530559 authored almost 2 years ago by Michael Matloob <[email protected]>
go/build: ignore files by extension before matching on name

Otherwise given a file like defs_nacl_amd64p32.go.~1~ we will add
"nacl" and "amd64p32" to AllTa...

49bbece44c93b4de62ff360268c420e45f27ad63 authored almost 2 years ago by Ian Lance Taylor <[email protected]>
test/bench/go1: eliminate start-up time

The go1 benchmark suite does a lot of work at package init time, which
makes it take quite a whi...

6a44a3aa9f250cbe0b329b60eeb555c7dde83f10 authored almost 2 years ago by Austin Clements <[email protected]>
runtime: fix missing error print in TestCgoSigfwd

The result of the call to fmt.Errorf was unused. It was clearly
intending to print the message, ...

767df51b4dc4d952fd3f3ff14dffdf5fd8cffb4e authored almost 2 years ago by Austin Clements <[email protected]>
runtime: skip TestArenaCollision on failed reservation

If TestArenaCollision cannot reserve the address range it expects to
reserve, it currently fails...

e72da1c15dc273b39dcb5dd87c56d5713dbc1b37 authored almost 2 years ago by Austin Clements <[email protected]>
syscall, os/exec: reject environment variables containing NULs

Check for and reject environment variables containing NULs.

The conventions for passing environ...

61ae0a37a8c96e2b1745594e477244100f1a7046 authored almost 2 years ago by Damien Neil <[email protected]>
testing: print names of running tests on test timeout

Track the running tests and when they started,
so that we can report the running tests on a test...

ad5d2f64fbb90dd13c4587aa5bf2ed3c86a6dec2 authored almost 2 years ago by Russ Cox <[email protected]>
cmd/cover: fix buglet causing differences in -m output

Use a slightly different line number pragma when emitting instrumented
code, so as to ensure tha...

02cffcde177bf3fbb36e75d749d0cb338b4f7566 authored almost 2 years ago by Than McIntosh <[email protected]>
cmd/go: revamp and simplify logic in PrepareForCoverageBuild

Change the 'PrepareForCoverageBuild' helper function to provide more
sensible defaults in the ca...

99dc2a1859f15fafc5950ad7ef6026dfbde826c6 authored almost 2 years ago by Than McIntosh <[email protected]>
cmd/compile: revise inliner coverage tweaks (again)

This patch fixes a typo/bug introduced in CL 441858 where when pattern
matching a coverage count...

317f2a7df63df89455ee4fd2721620a853c7fda1 authored almost 2 years ago by Than McIntosh <[email protected]>
cmd/{go,cover}: fix for -coverprofile path capture with local pkg

When coverage testing a local package (defined by a relative import
path such as "./foo/bar") th...

2730170f633811ca42aa4086aab6396c58449535 authored almost 2 years ago by Than McIntosh <[email protected]>
net: use libc (not cgo) for DNS on macOS

Change the macOS implementation to use libc calls.
Using libc calls directly is what we do for a...

a3559f3301b54468c14d4997af0d617db60f4915 authored almost 2 years ago by Russ Cox <[email protected]>
internal/testenv: move helpers related to os/exec to a separate file

(Suggested by Austin in CL 445596.)

Change-Id: Ic774d551e8085d15435ef2b3c78d0169a365ce41
Review...

661e931dd120484cc1318792bc93ace00bbde088 authored almost 2 years ago by Bryan C. Mills <[email protected]>
cmd/compile: add ability to indicate 'concurrentOk' for debug flags

Also removes no-longer-needed "Any" field from compiler's DebugFlags.
Test/use case for this is ...

c81c0279827545b20f81797bb263ae696d9c235f authored almost 2 years ago by David Chase <[email protected]>
cmd/go: add move test for goroot

This an end-to-end test that sets GOROOT to a symlink
to the distribution, approximating copyin...

5619dd08493c08f06b47cec9f9553bbda6d2cbbd authored almost 2 years ago by Michael Matloob <[email protected]>
cmd/compile: add cache of sizeable objects so they can be reused

We kind of have this mechanism already, just normalizing it and
using it in a bunch of places. P...

68bd383368b5958f8f02c49bc75134a0ef61daec authored almost 2 years ago by Keith Randall <[email protected]>
cmd/compile: separate out sparsemaps that need position

Make them a separate type, so the normal sparse maps don't
need the extra storage.

Change-Id: I...

7ddc45263c739db254a07bb04848e3e5da4982ed authored almost 2 years ago by Keith Randall <[email protected]>
cmd/compile: add rule for post-decomposed growslice optimization

The recently added rule only works before decomposing slices.
Add a rule that works after decomp...

9ce27feaeb91b2f30ff8cbe3be1ece3071f3f6b2 authored almost 2 years ago by Keith Randall <[email protected]>
cmd/compile/internal/pgo: remove most global state

Since pgo is a new package, it is reasonably straightforward to
encapsulate its state into a non...

204be97d24e4d6bbe2d5b8e85feb456e88fe0f6d authored almost 2 years ago by Michael Pratt <[email protected]>
os: in TestDirFS only check returned path for unexpected string

The test added in CL 446115 was failing on Plan 9, on which the error
returned by a failed open ...

3848b44c754229125195e2f95bb71868d1a36f56 authored almost 2 years ago by Ian Lance Taylor <[email protected]>
cmd/compile/internal/pgo: remove ConvertLine2Int

Parts of package pgo fetch the line number of a node by parsing the
number out of the string ret...

ec0b540293a9a0e2c376721b48a208e1fbef5e29 authored almost 2 years ago by Michael Pratt <[email protected]>
internal/testenv: remove RunWithTimout

For most tests, the test's deadline itself is more appropriate than an
arbitrary timeout layered...

e8ec68edfac4f50f57dd7faf039bb5c0f8eaba88 authored almost 2 years ago by Bryan C. Mills <[email protected]>
internal/testenv: add CommandContext and Command

This adds a testenv.CommandContext function, with timeout behavior
based on the existing logic i...

84cd7ab3c388fb3280cf426a35045d85cda99ff8 authored almost 2 years ago by Bryan C. Mills <[email protected]>
cmd/internal/obj: cleanup linkgetlineFromPos

Make linkgetlineFromPos and getFileIndexAndLine methods on Link, and
give the former a more desc...

76940b3e5749a9936cbc32631e068065c2003267 authored almost 2 years ago by Michael Pratt <[email protected]>
cmd/compile/internal/test: clean up TestPGOIntendedInlining

The most important change here is to log output from the child, making
it easier to diagnose pro...

1999f256e4d478251290dfa007c62364810b7bf7 authored almost 2 years ago by Michael Pratt <[email protected]>
net/http: deflake TestCancelRequestWhenSharingConnection

The test sleeps for 1 millisecond to give the cancellation a moment
to take effect. This is flak...

e943dc5a8ccab90286d3882e5d13e9fa9516f243 authored almost 2 years ago by Zeke Lu <[email protected]>
encoding/xml: reduce depth limit on wasm

Wasm can't handle the recusion for XML nested to depth 10,000.
Cut it off at 5,000 instead. This...

6695cebeec02c62bd440eec8e982028225984dfb authored almost 2 years ago by Russ Cox <[email protected]>
go/types: avoid formatting unneeded causes

This one slipped through a previous cleanup
and showed up in an allocation profile.

Change-Id: ...

4b993bffb83394105d13b426dae12afe0ab05804 authored almost 2 years ago by Alan Donovan <[email protected]>
sync: use atomic.Pointer for entry

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

7366b199c52f1c6ac6590bf126357bd2762ebc5b authored almost 2 years ago by Changkun Ou <[email protected]>
cmd/api: skip tests when 'os/exec' is supported but 'go build' is not

This may fix the android-.*-emu builders, which are currently broken.

For #47257.

Change-Id: I...

3aebf682e4928ab490b64b3ba6729c78c9d066ba authored almost 2 years ago by Bryan C. Mills <[email protected]>
cmd/compile/internal/types2: fix tests on js/wasm

The js/wasm builder started failing as of CL 432535 due to needing
'go build' to import standard...

0a6c4c87404ecb018faf002919e5d5db04c69ee2 authored almost 2 years ago by Bryan C. Mills <[email protected]>
internal/bytealg: fix bug in index function for ppc64le/power9

The index function was not handling certain corner cases where there
were two more bytes to be e...

6774ddfec758ecf2cc64d58392c438dd64660a00 authored almost 2 years ago by Archana R <[email protected]>
cmd/compile: enable address folding for global symbols of shared library

Address folding is disabled in CL42172, the commit message of which
said that "In shared library...

e09bbaec69a8ff960110e13eabb3bef5331ecb0c authored almost 2 years ago by erifan01 <[email protected]>
cmd/compile: add missing tail calls flag for linux/loong64

Set the value of the variable tailCall to true and prevent
allocating or clobber the linker regi...

8a9e2d9d49a9d5234b52a0360ed6a0f91753c291 authored almost 2 years ago by Guoqi Chen <[email protected]>
runtime/internal/atomic: enable atomic 64bit types for all functions on linux/loong64

ref. CL 356169

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

c87e69c2b49e27d0e68709eb9623f2f03eb15267 authored almost 2 years ago by Guoqi Chen <[email protected]>
cmd/go, cmd/cgo: support older versions of gccgo that lack cgo.Incomplete

Test whether gccgo/GoLLVM supports cgo.Incomplete. If it doesn't, use a
local definition rather ...

3c17053bba406545a87af265f5e4fc8bbdecdcfe authored almost 2 years ago by Ian Lance Taylor <[email protected]>
math/big: improve performance of Binomial

This change improves the performance of Binomial by implementing an
algorithm that produces smal...

91a1f0d918f54e3b3425248288085db4d5619075 authored almost 2 years ago by Riccardo Gerosa <[email protected]>
cmd/go: don't install most GOROOT .a files in pkg

Packages in GOROOT that don't use cgo will not be installed in
GOROOT/pkg, and will instead be c...

b726b0cadb5102bb718f879bede0e76d1e5f5c34 authored almost 2 years ago by Michael Matloob <[email protected]>
testing: change Error to Errorf in comment

Fixes #56479

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

4c69d0eeb869cdc987e35d09a052a0e0320c0c96 authored almost 2 years ago by Ian Lance Taylor <[email protected]>
os: don't include DirFS argument in DirFS errors

Otherwise we wind up mixing GOOS paths with slash separated paths.

Change-Id: I63dd733cbdb0668e...

42f334d677d5d50ba7ddca08a30451b33e78e61b authored almost 2 years ago by Ian Lance Taylor <[email protected]>
cmd/compile: emit DIEs for zero sized variables

Fixes the compiler to emit DIEs for zero sized variables.

Fixes #54615

Change-Id: I1e0c86a97f1...

e59d873ff906550ace73b86bdb74b68ebe482a10 authored almost 2 years ago by Alessandro Arzilli <[email protected]>
cmd/go: don't substitute '$WORK' for work directory in -x heredocs

When writing the set of commands excuted for go build -x, $WORK is
substituted for the work dire...

77296e36457b070bc811a605c4c4bd6c36d972ae authored almost 2 years ago by Michael Matloob <[email protected]>
cmd/compile: Enables PGO in Go and performs profile-guided inlining

For #55022

Change-Id: I51f1ba166d5a66dcaf4b280756be4a6bf9545c5e
Reviewed-on: https://go-review.g...

99862cd57dd9406180f238e8fa2fcc1d435fb163 authored almost 2 years ago by Raj Barik <[email protected]>
cmd/internal/obj/arm64: optimize ADRP+ADD+LD/ST to ADRP+LD/ST(offset)

This CL optimizes the sequence of instructions ADRP+ADD+LD/ST to the
sequence of ADRP+LD/ST(offs...

537c4354cb9fdf8812c0448bd8f8a3b9f9ab1736 authored almost 2 years ago by eric fang <[email protected]>
cmd/dist: produce intermedate .a files in a temporary location

Before this change, the .a files for the intermediate go toolchains
were produced in the same lo...

7f255ba065ee7bd41da806b297cd643e3ead3fee authored almost 2 years ago by Michael Matloob <[email protected]>
cmd/compile: recognize when the result of append has a constant length

Fixes a performance regression due to CL 418554.

Fixes #56440

Change-Id: I6ff152e9b83084756363...

0156b797e6f0d1a116a19cd852f569ec2c2eec11 authored almost 2 years ago by Keith Randall <[email protected]>
hash/crc64: use slicing by 8 when the size is greater or equal than 2k

In the previous, we will only use the slicing by 8 look up table when
the data size is greater t...

da0913f814dd4dcd28698dc5b85a3347b77b5550 authored almost 2 years ago by ruinan <[email protected]>
runtime: add wasm bulk memory operations

The existing implementation uses loops to implement bulk memory
operations such as memcpy and me...

50557edf10161b1aedd3654d84a94b49bae05c43 authored almost 2 years ago by Garet Halliday <[email protected]>
math/rand: deprecate Read

For #20661.

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

599a1e40c6dc4d02e2d0ae5a22659b49dc327e40 authored almost 2 years ago by hopehook <[email protected]>
cmd/internal/obj/arm64: remove AMOVBU from optab

The instruction format of MOVBU is the same with MOVB, this CL deletes
MOVBU from optab for simp...

612bb34af5299a33b0b5bdebc92a775153d72ebb authored almost 2 years ago by erifan01 <[email protected]>
debug/elf: guard access to File.gnuVersym

The size of gnuVersym should be multiples of 2. If not, the input is
invalid. No Library and Ver...

264753c0432c728989970786398c2bcf241a43dd authored almost 2 years ago by Zeke Lu <[email protected]>
runtime: add missing closing curly brace in runtime corruption error message

(Fixing the most important part of this bug.)

Updates #56426

Change-Id: If657ae47a5fe7dacc31d2...

ed24b37fd2b0c242525eb2203d90627c4be1b149 authored almost 2 years ago by Brad Fitzpatrick <[email protected]>
testing: fix many test2json inaccuracies

Test2json is parsing the output stream from the test, which includes
package testing's own frami...

1c72ee7f13831b215b8744f6b35bc4fd53aba5e2 authored almost 2 years ago by Russ Cox <[email protected]>
cmd/internal/obj/ppc64: generate big uint32 values in register

When using "MOVD $const, Rx", any 32b constant can be generated in
register quickly. Avoid trans...

4e6f90fecd377777b08a151e1712b6d9180630de authored almost 2 years ago by Paul E. Murphy <[email protected]>
cmd/compile: print readable function name in error message

i.e.
from "function %!s(*Node=0xc0003b48c0) cannot have ABI wrappers", to "function xxFunctionNa...

f9ee56145bd8aa802b91db9465564cae5596966b authored almost 2 years ago by doujiang24 <[email protected]>
flag: clarify that the main func at pkg.go.dev is part of a testing suite

flag.Example() has this comment:

... one must execute, typically at the start of main (not ...

29674d87e697e10b658d5676a2f547d555c2c534 authored almost 2 years ago by Zeke Lu <[email protected]>
crypto/x509: respect GODEBUG changes for allowing SHA1 certificates

This allows programs that want SHA1 support to call os.Setenv at startup
instead of insisting th...

2a2b163bb9125389c5f70e65aec21816e2ea09c5 authored almost 2 years ago by Russ Cox <[email protected]>
all: remove uses of rand.Seed

As of CL 443058, rand.Seed is not necessary to call,
nor is it a particular good idea.

For #548...

3afba3124df90f1b2f56d3324793f16649a2d93a authored almost 2 years ago by Russ Cox <[email protected]>
go/types, types2: use correct shift value when typechecking constant shift

Fixes #56425.

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

51af90445696772703ed88d967e8c23c8e9e992d authored almost 2 years ago by Robert Griesemer <[email protected]>
cmd/go/internal/script: use the Cancel and WaitDelay fields for subprocesses

The Cancel and WaitDelay fields recently added to exec.Cmd are
intended to support exactly the s...

49abdbccde5de042997d6aabe7819212b88f2ef5 authored almost 2 years ago by Bryan C. Mills <[email protected]>
runtime/internal/syscall: use ABIInternal for Syscall6 on riscv64

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

939f9fd64a740ef770a0ca3588f8c193dceebe83 authored almost 2 years ago by Wayne Zuo <[email protected]>
cmd: remove redundant _

Change-Id: Ia7e1e3679e03d125feb9708cb05bbd32c4954edb
GitHub-Last-Rev: a62b72ea3edcf2b4f9f378cd03...

d2901205c15d5d839c95988497c190b652c5cf3a authored almost 2 years ago by cui fliter <[email protected]>
crypto/x509: delete trailing spaces

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

f7f37b9399c418ff54b57eb70e7eb5120a2248e2 authored almost 2 years ago by Russ Cox <[email protected]>