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

all: update vendored golang.org/x dependencies for Go 1.20 release

The Go 1.20 code freeze has recently started. This is a time to update
all golang.org/x/... modu...

github.com/hack-pad/go - 28911b289103d6128c3364a3e3de4ed8eabe630f authored almost 2 years ago by Cherry Mui <[email protected]>
cmd/dist: skip -race w/ external linkage on windows 2008

Add a skip for the external-linkage part of the race detector test for
elderly versions of windo...

github.com/hack-pad/go - 9160e15494ed03967b86ddc1a601b659b3243fd0 authored almost 2 years ago by Than McIntosh <[email protected]>
cmd/go: remove special case for prebuilt cgo library cache keys

This was an oversight from CL 452457 that I noticed while
investigating #56889.

This change ess...

github.com/hack-pad/go - 5c9a506de17bdeb692e6e12d5ab56a06c11b042c authored almost 2 years ago by Bryan C. Mills <[email protected]>
cmd/dist: skip the staleness check for 'cmd' when testing on aix-ppc64

The gcc toolchain on the aix-ppc64 builder apparently does not achieve
reproducible builds for p...

github.com/hack-pad/go - 5b1b080ca5433c957aaee431d3e429558742cb10 authored almost 2 years ago by Bryan C. Mills <[email protected]>
cmd/go: in TestScript/mod_outside, run 'go build' before checking cmd/addr2line staleness

If the build cache is cleaned (using 'go clean -cache' or similar), or
if a toolchain is freshly...

github.com/hack-pad/go - 6ca3acc3709426bdc744ef9494314c33361f24bd authored almost 2 years ago by Bryan C. Mills <[email protected]>
doc/go1.20: document math/rand autoseed and deprecation of Seed

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

github.com/hack-pad/go - 86ede1727201c267497e984d623f6e859de8a3f2 authored almost 2 years ago by Russ Cox <[email protected]>
doc/go1.20: document bootstrap requirements (Go 1.20 needs Go 1.17.13)

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

github.com/hack-pad/go - 08c611b12751ca3901a8409ee0941fa30b70d894 authored almost 2 years ago by Russ Cox <[email protected]>
cmd/go: document new architecture feature build tags

Also mention in release notes.

Change-Id: Ifddfc6d2fdaae07c0774ad917838b0fdf9c0b0fe
Reviewed-on...

github.com/hack-pad/go - 9efc5a5237c12b382b0383bd9fa3944c700bc899 authored almost 2 years ago by Russ Cox <[email protected]>
crypto/internal/boring: tolerate empty ECDSA signatures

VerifyASN1 became directly reachable without encoding/decoding in
CL 353849, so it's now possibl...

github.com/hack-pad/go - 6a72514076f6e2be54af267959e3098693e02980 authored almost 2 years ago by Filippo Valsorda <[email protected]>
doc/go1.20: document changes to the loopclosure vet analysis

Address the release notes TODO regarding the loopclosure analyzer,
documenting the new warning f...

github.com/hack-pad/go - f41fdc126786ced31e58649d2a1f5ec8da13c439 authored almost 2 years ago by Robert Findley <[email protected]>
misc/cgo/testcshared: reapply CL 451816

I accidentally reverted its edits with a bad cherry-pick in CL 452457.

This should re-fix the w...

github.com/hack-pad/go - 14a41387acb6389a8f2f97d337b68c4bc2730eb4 authored almost 2 years ago by Bryan C. Mills <[email protected]>
cmd/compile: add -d=inlstaticinit debug flag

This CL adds -d=inlstaticinit to control whether static initialization
of inlined function calls...

github.com/hack-pad/go - 152119990f62e9a791493f52933b7a113aaa4234 authored almost 2 years ago by Matthew Dempsky <[email protected]>
cmd: update golang.org/x/tools to 3b9d20c52192

To pick up CL 452155.

Done by
go get -d golang.org/x/tools@master
go mod tidy
...

github.com/hack-pad/go - 1c9eba19d5b7d1bba5c6c86b4625fe37bb609096 authored almost 2 years ago by Tim King <[email protected]>
cmd/go: do not install .a files for packages in std

As of CL 450739, we do not need install targets for cgo files when a C
compiler is not present b...

github.com/hack-pad/go - 7656cba9ccec334bb4219489d4488234f42f5302 authored almost 2 years ago by Bryan C. Mills <[email protected]>
doc: document more cgo, go command changes

Also document new cgo changes and reorder go command
section to put most important notes first.
...

github.com/hack-pad/go - d58f2e741c742aafe5d3247bd184e182da71408d authored almost 2 years ago by Russ Cox <[email protected]>
crypto/{sha512,sha256,sha1}: reduce Write calls in Sum

crypto/sha512:

name old time/op new time/op delta
Hash8Bytes/New...

github.com/hack-pad/go - 995c0f310c087c9cbc49112ecc48459a96310451 authored almost 2 years ago by Egon Elbre <[email protected]>
cmd/dist: add serial/small build option for GOMAXPROCS=1

If GOMAXPROCS=1, force serial execution, which is better for
debugging build problems and also m...

github.com/hack-pad/go - 089dcd7b07f047e29d8a2f6e3a68aba00ec78de6 authored almost 2 years ago by David Chase <[email protected]>
archive/tar, archive/zip: disable insecure file name checks with GODEBUG

Add GODEBUG=tarinsecurepath=1 and GODEBUG=zipinsecurepath=1 settings
to disable file name valida...

github.com/hack-pad/go - 85a2c19b328081c3fbcd1fa3db9a56d708a25c68 authored almost 2 years ago by Damien Neil <[email protected]>
go/types, types2: report empty type sets in operand descriptions

This leads to better error messages where operations are not
permitted because of empty type set...

github.com/hack-pad/go - f60c77026bb47db984c5da7e6f0590010e7e1a6f authored almost 2 years ago by Robert Griesemer <[email protected]>
cmd/compile: reject anonymous interface cycles

This CL changes cmd/compile to reject anonymous interface cycles like:

type I interface { m() ...

github.com/hack-pad/go - 840b346c5d24a4a8ab5182b6f0711e3c5e65bafc authored almost 2 years ago by Matthew Dempsky <[email protected]>
cmd/dist: stop trying to access runtime/internal/sys.a in debug mode

Now that we don't install the .a files, the installed
runtime/internal/sys.a no longer exists. S...

github.com/hack-pad/go - 199d77aff0372daac2db39d7fb2da16269e4ffd4 authored almost 2 years ago by Cherry Mui <[email protected]>
go/types, types2: better variable names, cleanups in test

For #54258.

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

github.com/hack-pad/go - 1fdae32407191af004252d5fadb0bfaf92202ce6 authored almost 2 years ago by Robert Griesemer <[email protected]>
go/types, cmd/compile: skip crypto/internal/bigmod/_asm in TestStdlib

Similar to CL 317869, apply to a newly added directory.

Maybe we should skip all directories st...

github.com/hack-pad/go - 60be2b465603a56807a8a1a8016c4c8f947579b5 authored almost 2 years ago by Cherry Mui <[email protected]>
cmd/dist: update to assume Go 1.17.13 as minimal Go bootstrap version

Replace explicit Go version names where possible with generic reference
to Go bootstrap version....

github.com/hack-pad/go - 998949c09b8925e1f6bab78cb046c6921c5327a1 authored almost 2 years ago by Martin Möhrmann <[email protected]>
testing: skip TestVectoredHandlerExceptionInNonGoThread on windows-amd64-2012-*

Modify skip rule for TestVectoredHandlerExceptionInNonGoThread to
trigger on both the base build...

github.com/hack-pad/go - d6859465e5e9049dd38929881da6eedb9a16dee5 authored almost 2 years ago by Than McIntosh <[email protected]>
cmd/go,internal/platform: enable pie buildmode for windows/arm64

This CL adds windows/arm64 to the list of ports that supports PIE
build mode. It is probably an ...

github.com/hack-pad/go - 3732a178061f44fbde277def693368ce43e5e779 authored almost 2 years ago by qmuntal <[email protected]>
testing: skip flaky TestRaiseException on windows-amd64-2012-*

Modify skip rule for TestRaiseException to trigger on both the base
builder (windows-amd64-2012)...

github.com/hack-pad/go - f0331c524e0d8d32c3918d3515ab8413f38dbd56 authored almost 2 years ago by Than McIntosh <[email protected]>
crypto/internal/bigmod: add amd64 assembly core

With this change, we are down to 1.2x the running time of the previous
variable time implementat...

github.com/hack-pad/go - 335e7647f53293eb320c1f069eaf0ff641810d6d authored almost 2 years ago by Filippo Valsorda <[email protected]>
crypto/ecdsa: use bigmod and nistec instead of math/big and crypto/elliptic

Ignoring custom curves, this makes the whole package constant-time.
There is a slight loss in pe...

github.com/hack-pad/go - 08f2091ce0817346458d2ae984ccea77817cd516 authored almost 2 years ago by Filippo Valsorda <[email protected]>
crypto/internal/bigmod: move nat implementation out of crypto/rsa

This will let us reuse it in crypto/ecdsa for the NIST scalar fields.

The main change in API is...

github.com/hack-pad/go - d7812ab38031ae524a731b4d2f19adcecd22c2f4 authored almost 2 years ago by Filippo Valsorda <[email protected]>
crypto/ed25519: implement Ed25519ctx and Ed25519ph with context

This is missing a test for Ed25519ph with context, since the RFC doesn't
provide one.

Fixes #31...

github.com/hack-pad/go - 831c6509ccddfc55c7f2121c5158f5f40916e6ad authored almost 2 years ago by Filippo Valsorda <[email protected]>
crypto/aes: On ppc64le, use better instructions when available

Several operations emulate instructions available on power9. Use
the GOPPC64_power9 macro provid...

github.com/hack-pad/go - 8614c525b301b2b993bf99269a01975ea072b086 authored almost 2 years ago by Paul E. Murphy <[email protected]>
Add fallback recursive delete on `RemoveAll()` (#26)

github.com/hack-pad/hackpadfs - 66241a0cfede621118ca6133c047f76f3825ac7a authored almost 2 years ago by John Starich <[email protected]>
Add `hackpadfs.WriteFullFile()` to call an optimized `fs.WriteFile()` (#25)

github.com/hack-pad/hackpadfs - c26cb40e2d8612e402a51fc13b0d88c00d5e0696 authored almost 2 years ago by John Starich <[email protected]>
cmd/link: revise DLL import symbol handling

This patch reworks the handling of DLL import symbols in the PE host
object loader to ensure tha...

github.com/hack-pad/go - cf93b25366aa418dea3eea49a7b85447631c2a1d authored almost 2 years ago by Than McIntosh <[email protected]>
misc/cgo/testcshared: handle unsuffixed dlltool path

Adapt the testcshared tests to handle the case where the path output
by invoking

gcc -print-p...

github.com/hack-pad/go - 771a98d6b19c9ca4bbd3fbeba03d7d512f77c166 authored almost 2 years ago by Than McIntosh <[email protected]>
cmd/link: add capturehostobjs debugging flag

Add a new debugging flag "-capturehostobjs" that instructs the linker
to capture copies of all o...

github.com/hack-pad/go - bda0235466a9e2e26332f9a2646678ccdc5edaa9 authored almost 2 years ago by Than McIntosh <[email protected]>
cmd/link: improved host archive debug trace output

When ctxt.Debugvlog > 1, produce additional trace output to describe
which object files are bein...

github.com/hack-pad/go - 8205d83fe29e315eeb8f64f095a4d2594c9cd1c6 authored almost 2 years ago by Than McIntosh <[email protected]>
crypto/rsa: allocate nats on the stack for RSA 2048

With a small tweak and the help of the inliner, we preallocate enough
nat backing space to do RS...

github.com/hack-pad/go - 58a2db181b7cb2d51e462b6ea9c0026bba520055 authored almost 2 years ago by Filippo Valsorda <[email protected]>
crypto/rsa: use R*R multiplication to get into the Montgomery domain

This is faster than the current code because computing RR involves
one more shiftIn and using it...

github.com/hack-pad/go - 72d2c4c635db1751f44a01ee1775fe832471b3cf authored almost 2 years ago by Filippo Valsorda <[email protected]>
crypto/rsa: precompute moduli

This change adds some private fields to PrecomputedValues.

If applications were for some reason...

github.com/hack-pad/go - 5aa6313e587d7fa7caba9a76d23dd4d246cb6d1f authored almost 2 years ago by Filippo Valsorda <[email protected]>
crypto/rsa: deprecate and de-optimize multi-prime RSA

I have never encountered multi-prime RSA in the wild. A GitHub-wide
search reveals exactly two e...

github.com/hack-pad/go - ee5ccc9d4a41df1a1c6d339fa2624b0ee8e26045 authored almost 2 years ago by Filippo Valsorda <[email protected]>
crypto/rsa: replace big.Int for encryption and decryption

Infamously, big.Int does not provide constant-time arithmetic, making
its use in cryptographic c...

github.com/hack-pad/go - 8a81fdf165facdcefa06531de5af98a4db343035 authored almost 2 years ago by Lúcás Meier <[email protected]>
crypto/ecdsa,crypto/x509: add encoding paths for NIST crypto/ecdh keys

Fixes #56088
Updates #52221

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

github.com/hack-pad/go - 5f60f844beb0581a19cb425a3338d79d322a7db2 authored almost 2 years ago by Filippo Valsorda <[email protected]>
runtime: change tfork behaviour to unbreak openbsd/mips64

Currently, tfork on openbsd/mips64 returns the thread ID on success and
a negative error number ...

github.com/hack-pad/go - e84ce0802dac6d5a780acc2f54113b55f49f4b07 authored almost 2 years ago by Joel Sing <[email protected]>
net/http: deflake TestIssue4191_InfiniteGetTimeout

This test exercises the case where a net.Conn error occurs while
writing a response body. It inj...

github.com/hack-pad/go - f4f8397fed02b612c36c425fc9c5dce32408e21b authored almost 2 years ago by Damien Neil <[email protected]>
net/http: direct server logs to test output in tests

Set a logger in newClientServerTest that directs the server
log output to the testing.T's log, s...

github.com/hack-pad/go - c6cdfd88c762ee746cd9579ae57e528f56f5dd00 authored almost 2 years ago by Damien Neil <[email protected]>
net/http: regenerate h2_bundle.go

Done with:

go generate -run=bundle std

After CL 452096 updated the x/net version.

Change-Id:...

github.com/hack-pad/go - 4f0d3bcd6d2d6bc726044153bf6875d195203b32 authored almost 2 years ago by Dmitri Shuralyov <[email protected]>
crypto/x509: implement SetFallbackRoots

Adds a method which allows users to set a fallback certificate pool for
usage during verificatio...

github.com/hack-pad/go - 04d6aa6514617d5284f0657928eccb579a0f42e2 authored almost 2 years ago by Roland Shoemaker <[email protected]>
all: update golang.org/x/crypto to 2c476679df9a

To pick up CL 451515.

This CL also updates x/net because x/crypto's dependency was bumped
while...

github.com/hack-pad/go - c8244489cc4d4b8786b09ee9e84954c38cd52275 authored almost 2 years ago by Filippo Valsorda <[email protected]>
cmd/compile: package-annotate structs when error would be ambiguous

Before emitting a "wanted Foo but got Bar" message for an interface
type match failure, check th...

github.com/hack-pad/go - ea2c27fe8204225b4d76ed4a541c6b92afec8dde authored almost 2 years ago by David Chase <[email protected]>
cmd/go: don't report non-go files in CompiledGoFiles

We save non-go files in the cached srcfiles file because we want the
non-go files for vet, but w...

github.com/hack-pad/go - dccc58e1b9d3fbc88c6a86c02f77ed0f26d07a4a authored almost 2 years ago by Michael Matloob <[email protected]>
cmd/go/internal/script: check lack of error for non-waiting cmds

In the script engine, if a command does not return a Wait function and
it succeeds, we won't cal...

github.com/hack-pad/go - 7161fc737dab823f94d77810953493a0f458284f authored almost 2 years ago by Michael Matloob <[email protected]>
doc/go1.20: add release notes for net package

For #50101
For #51152
For #53482
For #55301
For #56515

Change-Id: I11edeb4be0a7f80fb72fd7680a34...

github.com/hack-pad/go - 6fc1f4f906d6d886f324250eebcb44fb4cc39f6c authored almost 2 years ago by Damien Neil <[email protected]>
net: fix typo in ControlContext parameter names

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

github.com/hack-pad/go - f263d9cd93bd713b44b54a3c943b23be0e2c73b9 authored almost 2 years ago by Damien Neil <[email protected]>
crypto/tls: add CertificateVerificationError to tls handshake

Fixes #48152

Change-Id: I503f088edeb5574fd5eb5905bff7c3c23b2bc8fc
GitHub-Last-Rev: 2b0e982f3f6b...

github.com/hack-pad/go - f64c2a2ce5dc859315047184e310879dcf747d53 authored almost 2 years ago by Gabor Tanz <[email protected]>
cmd/go: replace 'directory .' with 'current directory' in some errors

To make the error clearer

Fixes #56697

Change-Id: Idfb5e8704d1bfc64bd0a09d5b553086d9ba5ac33
Re...

github.com/hack-pad/go - fd00c14bf1b7057ae301ec82b82efa0ec5ccc9b4 authored almost 2 years ago by Michael Matloob <[email protected]>
all: add missing periods in comments

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

github.com/hack-pad/go - b2faff18ce28edad98303d2c3134dec1331fd7b5 authored almost 2 years ago by cui fliter <[email protected]>
runtime,cmd/link: increase stack guard space when building with -race

More stuff to do = more stack needed. Bump up the guard space when
building with the race detect...

github.com/hack-pad/go - 893964b9727a3dfcadab75c0f6b3c6b683b9bae0 authored almost 2 years ago by Keith Randall <[email protected]>
runtime: optimise memmove on riscv64

Implement a more optimised memmove on riscv64, where up to 64 bytes are moved
per loop after ach...

github.com/hack-pad/go - e18d07ddc5c9005738c3063130f0f5ccf127849e authored almost 2 years ago by Joel Sing <[email protected]>
io/fs: clean up test helper functions

Inline the only use of checkMarks which also allows to drop the
always-true report argument. Thi...

github.com/hack-pad/go - c13ce2985c35b4c6a4b65779c7b30648c6a6e3b8 authored almost 2 years ago by Tobias Klauser <[email protected]>
cmd/link/internal/ppc64: fix trampoline reuse distance calculation

If a compatible trampoline has been inserted by a previously laid
function in the same section, ...

github.com/hack-pad/go - 1ed636dc97556e12fd9788d13de6de2f06aa3868 authored almost 2 years ago by Paul E. Murphy <[email protected]>
cmd/compile/internal/base, cmd/internal/bio: use syscall.Mmap on aix

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

github.com/hack-pad/go - 349d398ea3d2f12b09791a1946e3d8d5baecd0c4 authored almost 2 years ago by Tobias Klauser <[email protected]>
cmd/compile: fix wrong optimization for eliding Not in Phi

The previous rule may move the phi value into a wrong block.
This CL make it only rewrite the ph...

github.com/hack-pad/go - 8893da7c724cf5df859a3c4ef6f32d94f0b39a00 authored almost 2 years ago by Wayne Zuo <[email protected]>
cmd/internal/obj/arm64: tidy literal pool

This CL cleans up the literal pool implementation and inserts an UNDEF
instruction before the li...

github.com/hack-pad/go - 205f636e0ab491b7a06e7b7879abb897cdaaf1b4 authored almost 2 years ago by eric fang <[email protected]>
runtime: add page tracer

This change adds a new GODEBUG flag called pagetrace that writes a
low-overhead trace of how pag...

github.com/hack-pad/go - e4435cb8448514d2413f9d9aa3ee40738d26fd67 authored almost 2 years ago by Michael Knyszek <[email protected]>
cmd/internal/obj/arm64: mark branch instructions in optab

Currently, we judge whether we need to fix up the branch instruction
based on Optab.type_ field,...

github.com/hack-pad/go - 0613418c9865bb3fb04e26822f3d4f4a317a2540 authored almost 2 years ago by eric fang <[email protected]>
go/types, types2: ensure signatures are instantiated if all type args

are provided

Improve the accuracy of recorded types and instances for function calls,
by instant...

github.com/hack-pad/go - 0789ca4951f9c72e0a09051783276e3730d6db06 authored almost 2 years ago by Robert Findley <[email protected]>
go/types, types2: replace some Errorf calls with Error calls (cleanup)

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

github.com/hack-pad/go - 7f75b72904e9d7ac512307514c29043ff604bacb authored almost 2 years ago by Robert Griesemer <[email protected]>
go/types, types2: replace (internal) writePackage with packagePrefix

This makes it easier to use the package string prefix in some cases
(cleanup).

Change-Id: I0ae7...

github.com/hack-pad/go - a8f9d3f0afa793b5496a5881c74fcd218c130dbc authored almost 2 years ago by Robert Griesemer <[email protected]>
crypto/ecdsa: improve benchmarks

While at it, drop P-224 benchmarks. Nobody cares about P-224.

Change-Id: I31db6fedde6026deff36d...

github.com/hack-pad/go - 45711645378b7566b4d423b407f7c5c26028819e authored almost 2 years ago by Filippo Valsorda <[email protected]>
runtime: fix conflict between lfstack and checkptr

lfstack does very unsafe things. In particular, it will not
work with nodes that live on the hea...

github.com/hack-pad/go - d6171c9be2a4bd2801841aa006702886c476f217 authored almost 2 years ago by Keith Randall <[email protected]>
net: return errNoSuchHost when no entry found in /etc/hosts and order is hostLookupFiles

When /etc/nsswitch.conf lists: "hosts: files" then LookupHost returns two nils when no entry ins...

github.com/hack-pad/go - 3e5c2c155645ebaed62e4481430c455045b0fff5 authored almost 2 years ago by Mateusz Poliwczak <[email protected]>
runtime: work around Apple libc bugs to make exec stop hanging

For a while now, we've had intermittent reports about problems with
os/exec on macOS, but no cle...

github.com/hack-pad/go - 1f4394a0c92697896735a5c0135dfde1be9f42bd authored almost 2 years ago by Russ Cox <[email protected]>
cmd/compile/internal/pgo: count only the last two frames as a call edge

Currently for every CPU profile sample, we apply its weight to all
call edges of the entire call...

github.com/hack-pad/go - 6e0e492e1229b22acdc8161efd12500a0e09e67e authored almost 2 years ago by Cherry Mui <[email protected]>
cmd/compile: simplify PGO hot caller/callee computation

Currently, we use CDF to compute a weight threshold and then use
the weight threshold to determi...

github.com/hack-pad/go - 3f1bcc58b32dbbf7f27fbe0984b95036ddb249b9 authored almost 2 years ago by Cherry Mui <[email protected]>
cmd/compile: fix broken IR for iface -> eface

For implementing interface to empty interface conversion, the compiler
generate code like:

var...

github.com/hack-pad/go - 81c9b1d65f3e416e134a30484c4bd6563aa825b5 authored almost 2 years ago by Cuong Manh Le <[email protected]>
sync/atomic: hint users of old API to use new type-based API instead

Fixes #56495

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

github.com/hack-pad/go - 0bd4710ca61463716d1f88d33cc4f6e92b9b8255 authored almost 2 years ago by Keith Randall <[email protected]>
net/http: deflake TestResponseControllerSetFutureWriteDeadline

Don't set the server's write deadline until after the client has
read the response headers, avoi...

github.com/hack-pad/go - b74aaa1427916368c5a1e0ba156f461b2a0f411a authored almost 2 years ago by Damien Neil <[email protected]>
cmd/compile: teach regalloc about temporary registers

Temporary registers are sometimes needed for an architecture backend
which needs to use several ...

github.com/hack-pad/go - 5f7abeca5a584a847033bbd1bc1123872bb0925e authored almost 2 years ago by Keith Randall <[email protected]>
cmd/compile: fix static init for inlined calls

CL 450136 made the compiler to be able to handle simple inlined calls in
staticinit. However, it...

github.com/hack-pad/go - 249e51e5d9aac5124628d524499ea9c067bc37d5 authored almost 2 years ago by Cuong Manh Le <[email protected]>
path/filepath: detect Windows CONIN$ and CONOUT$ paths in IsLocal

CreateFile creates a handle to the console input or screen buffer
when opening a file named CONI...

github.com/hack-pad/go - 217ed955887bd59780313bb468862a697b75decd authored almost 2 years ago by Damien Neil <[email protected]>
crypto/x509: reduce boring test key size

Generating 8192 bit keys times out on builders relatively frequently. We
just need something tha...

github.com/hack-pad/go - 38b9ff60071fc40d197e7002db1320539e74a678 authored almost 2 years ago by Roland Shoemaker <[email protected]>
go/types, types2: implement type checking of "clear" built-in

Will become available with Go 1.21.

Recognizing the `clear` built-in early is not causing any p...

github.com/hack-pad/go - 5c834a2eb051a0227814b5ea31437aac3ade100c authored almost 2 years ago by Robert Griesemer <[email protected]>
go/parser: allow trailing commas in embedded instantiated types

go/parser can correctly parse interfaces that instantiate and embed
generic interfaces, but not ...

github.com/hack-pad/go - cafb49ac731f862f386862d64b27b8314eeb2909 authored almost 2 years ago by cia-rana <[email protected]>
os: use testenv.Command instead of exec.Command in tests

testenv.Command sets a default timeout based on the test's deadline
and sends SIGQUIT (where sup...

github.com/hack-pad/go - f3ae7ac9d90a26e9bba1589ae934e62bf0ac17e0 authored almost 2 years ago by cui fliter <[email protected]>
internal/profile: remove unused encodeStringOpt

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

github.com/hack-pad/go - 86713ea31116ca295db98713d24c2cea41dcb5be authored almost 2 years ago by Tobias Klauser <[email protected]>
test: remove optimizationOff

Cl 426334 removed its only usage, and now we have gcflags_noopt.

Change-Id: I3b33a8c868669deea0...

github.com/hack-pad/go - 1daa8e2d5226e0645d9748c32e031d93f485e740 authored almost 2 years ago by Cuong Manh Le <[email protected]>
time: avoid creating a parse error from the next chunk of the value

When it reports a parse error, it uses the "value" variable as the
value element of the parse er...

github.com/hack-pad/go - 42d975e5fe91fbe7719422248ad320c04dda5414 authored almost 2 years ago by Zeke Lu <[email protected]>
cmd/compile: handle integer conversions in static init inliner

Given code like

func itou(i int) uint { return uint(i) }
var x = itou(-1)

the static inliner...

github.com/hack-pad/go - bed970b3ffa81cd43ce520bdc75113dd069f41ef authored almost 2 years ago by Russ Cox <[email protected]>
go/types: mention FakeImportC in Package.Import doc comment

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

github.com/hack-pad/go - fee0ab8b5ecab3c1170a80300c8c41f09486ca66 authored almost 2 years ago by Alan Donovan <[email protected]>
cmd/dist: skip non-race tests

In -race mode, the dist test command only registers the std, race,
osusergo, and amd64ios tests ...

github.com/hack-pad/go - 44edc5d78740ab702bb782b5e4533f6dee07ad78 authored almost 2 years ago by Austin Clements <[email protected]>
cmd/fix: allow cgo commands in tests to fail if 'go build' is not supported

testenv.HasCgo reports whether the test binary may have been built
with cgo enabled, but having ...

github.com/hack-pad/go - 3f5b02d09f0d345c2d6bef83eddbd518e9327276 authored almost 2 years ago by Bryan C. Mills <[email protected]>
path/filepath: remove IsLocal tests dependent on Windows version

Don't test IsLocal("nul.txt"), since whether this name is reserved
or not is version-dependent.
...

github.com/hack-pad/go - b138e71e5b90c75e6e5239fb8f4536c6dcc31c36 authored almost 2 years ago by Damien Neil <[email protected]>
cmd/go: disable cgo by default if DefaultCC is absolute and doesn't exist

Also fix the autocgo test from CL 450739 when DefaultCC is absolute.

Change-Id: Ie282a42a133466...

github.com/hack-pad/go - fdd8f0219d055f16647c8dfcd11e79cce222d200 authored almost 2 years ago by Bryan C. Mills <[email protected]>
net: change resolverConfig.dnsConfig to an atomic.Pointer

We were using a RWMutex RLock around a single memory load,
which is not a good use of a RWMutex-...

github.com/hack-pad/go - b7662047aedc5f2c512911eb59d514ce75b16e18 authored almost 2 years ago by Ian Lance Taylor <[email protected]>
archive/tar, archive/zip: return ErrInsecurePath for unsafe paths

Return a distinguishable error when reading an archive file
with a path that is:

- absolute
-...

github.com/hack-pad/go - a2d8157a7ecc8c7a91c93182ae4778aef505677e authored almost 2 years ago by Damien Neil <[email protected]>
path/filepath: add IsLocal

IsLocal reports whether a path lexically refers to a location
contained within the directory in ...

github.com/hack-pad/go - 6d0bf438e302afcb0db5422ea2da59d1995e08c1 authored almost 2 years ago by Damien Neil <[email protected]>
cmd/compile: elide unnecessary Not in Phi block controls

For a BlockIf, we can change the order of the successors if all OpPhi args are an OpNot and this...

github.com/hack-pad/go - fd59c6cf8cb600f2911864948303016581abf016 authored almost 2 years ago by Jakub Ciolek <[email protected]>
cmd/go: add PGO auto mode

Add "auto" mode for the -pgo build flag. When -pgo=auto is
specified, if there is a default.pgo ...

github.com/hack-pad/go - 32851587d1adeb07503c2b6168ab11f008972606 authored almost 2 years ago by Cherry Mui <[email protected]>