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

time: fix zoneinfo.zip locating logic when built with -trimpath

When the test binary is built with the -trimpath flag,
runtime.GOROOT() is invalid, and must not...

github.com/hack-pad/go - 9465878114232d4a9cd755fee9241fff1d63bbea authored over 2 years ago by Bryan C. Mills <[email protected]>
sort: generate generic variants with E rather than Elem

For #51698

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

github.com/hack-pad/go - a682a5c711097378a72e6cf3d498832e813a14e8 authored over 2 years ago by Ian Lance Taylor <[email protected]>
cmd/compile: pointers to notinheap types need their own shape

They should not share a shape with regular pointers. We could coalesce
multiple pointer-to-not-i...

github.com/hack-pad/go - fcf6afb82dc1e9f80a6260467026adc11d5c9529 authored over 2 years ago by Keith Randall <[email protected]>
cmd: update vendored pprof

go get github.com/google/pprof@latest
go mod vendor

Plus a tiny change to the pprof command...

github.com/hack-pad/go - 7e5804cb7014bf3154542a3d2afc68c3a61b7452 authored over 2 years ago by Heschi Kreinick <[email protected]>
all: delete ARM64 non-register ABI fallback path

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

github.com/hack-pad/go - 9f252a0462bd8c279beec56d1538e8a6c26c44c5 authored over 2 years ago by Cherry Mui <[email protected]>
cmd/go: run 'go help documentation' through gofmt in TestDocsUpToDate

mkalldocs.sh runs gofmt on the output, but the test does not.
If go help documentation and gofmt...

github.com/hack-pad/go - 0a49f706e172443d817cfb3d44e5b366da1cc72a authored over 2 years ago by Russ Cox <[email protected]>
internal/diff: add, replacing cmd/internal/diff

This is an in-process (non-exec'ing) replacement for cmd/internal/diff.
It uses an O(n log n) al...

github.com/hack-pad/go - 7747c33a41491be74da65b116718f4df7a2f8337 authored over 2 years ago by Russ Cox <[email protected]>
internal/abi, internal/buildcfg: always enable register ABI on ARM64

In last cycle we developed register ABI for ARM64, enabled by
default as a GOEXPERIMENT. This cy...

github.com/hack-pad/go - 8ff42d1bb1919b38e0d852618168f18d33db866b authored over 2 years ago by Cherry Mui <[email protected]>
internal/buildcfg: extract logic specific to cmd/go

cmd/go/internal/cfg duplicates many of the fields of
internal/buildcfg, but initializes them fro...

github.com/hack-pad/go - 2c92b2349a0b735a447b07e6209f311ece8de91c authored over 2 years ago by Bryan C. Mills <[email protected]>
reflect, runtime: drop RegabiArgs conditions

With the previous CL, internal/abi.IntArgRegs and FloatArgRegs
is controlled by RegabiArgs (or a...

github.com/hack-pad/go - d8bee94be2fc2afa6418f0bf2d474c103d38c094 authored over 2 years ago by Cherry Mui <[email protected]>
all: delete regabireflect goexperiment

regabireflect goexperiment was helpful in the register ABI
development, to control code paths fo...

github.com/hack-pad/go - 3684abbf6c82d7f151a30cce6f435ee203908b2c authored over 2 years ago by Cherry Mui <[email protected]>
syscall: use bytealg.IndexByte in clen

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

github.com/hack-pad/go - 12eca21f1c1c0f048b985a2a8545fb304b4383f6 authored over 2 years ago by Tobias Klauser <[email protected]>
A+C: update Changkun Ou's email

Add my current public email in both A+C, but keep old one too.
Add my @changkun.de email to CONT...

github.com/hack-pad/go - 44320594855185b00af3abe038e52f7a00751d51 authored over 2 years ago by Changkun Ou <[email protected]>
runtime: allow TestCtrlHandler to run in ConPTY

Fixes #51602. Previous test would not run in a pseudo-console (ConPTY).

New test avoids taskkil...

github.com/hack-pad/go - f02108636c3b098b3153e90b6478e292628ac4f9 authored over 2 years ago by Nuno Cruces <[email protected]>
syscall: unskip TestDirentRepeat on freebsd

TestDirentRepeat fails on FreeBSD 11, but seems to pass on newer
versions. Go 1.18 is the last r...

github.com/hack-pad/go - 3d19e8da7997eaf4ba18bfdf489c3bdb373a0c4d authored over 2 years ago by Tobias Klauser <[email protected]>
runtime/cgo: remove memset in _cgo_sys_thread_start on freebsd/arm

pthread_attr_init on freebsd properly initializes the pthread_attr,
there is no need to zero it ...

github.com/hack-pad/go - adfee1e1e7b3236770c19d255e945613a53a34cc authored over 2 years ago by Tobias Klauser <[email protected]>
syscall: optimize UTF16{,Ptr}FromString

Use bytealg.IndexByteString in UTF16FromString instead of an open-coded
loop.

Change-Id: I36644...

github.com/hack-pad/go - 489102de18cff38d1b12d09eeb7e60af42492d63 authored over 2 years ago by Tobias Klauser <[email protected]>
crypto/x509: return err ans1.Marshal gives an error

Fixes #50663

Change-Id: I18754922bf139049443c0395eaa1606049df1331
GitHub-Last-Rev: 57ff5ddfe39c...

github.com/hack-pad/go - 3ea22cf3c4b32e6473ad1358a3cbfccc11abc5be authored over 2 years ago by cuiweixie <[email protected]>
A+C: add PlanetScale, Inc.

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

github.com/hack-pad/go - 485d67bd38c94617921f55b99e89be0e9cbda39d authored over 2 years ago by Matt Layher <[email protected]>
runtime: call testenv.MustHaveCGO in a couple of tests

Fixes #51695

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

github.com/hack-pad/go - 2d32594396b231b39d09ec21d34b22b0270268b5 authored over 2 years ago by Ian Lance Taylor <[email protected]>
net/rpc: reduce the execution of reflect and decode

Change-Id: Ief4b5e1c2d1002392901124c0694afe58c271573
GitHub-Last-Rev: e3b8a60377becfc9c30178d7ae...

github.com/hack-pad/go - 3d7392a08f00a7328af45c877dc0b3a431780c5b authored over 2 years ago by fangguizhen <[email protected]>
all: update vendored x dependencies for Go 1.19 development cycle

Generated with x/build/cmd/updatestd.

Updates #36905.

Change-Id: I5d12dfc3b49c1476ce4b8d4cbeb3...

github.com/hack-pad/go - 79861be2059e014ca0647de3be22e7c341e61e20 authored over 2 years ago by Heschi Kreinick <[email protected]>
cmd/doc: use the 'go' command from buildCtx.GOROOT, not whatever is in $PATH

For #51483.

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

github.com/hack-pad/go - 3046ae927d7664a63bb8c3a2fb3b9ca95bcf93de authored over 2 years ago by Bryan C. Mills <[email protected]>
cmd/doc: use 'go env' to identify GOROOT if it isn't otherwise known

Updates #51483.

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

github.com/hack-pad/go - 2b0ac284cf4b81badb1c29e4fa299ea25cb9318f authored over 2 years ago by Bryan C. Mills <[email protected]>
runtime/debug: do not require a GOROOT/src prefix in TestStack

When paths are trimmed, the reported file locations begin with the
package import path (not GORO...

github.com/hack-pad/go - c6244b59095a74b77c977d250708ba1858ae2388 authored over 2 years ago by Bryan C. Mills <[email protected]>
crypto/x509: fix Certificate.Verify crash

(Primarily from Josh)

Fixes #51759

Co-authored-by: Josh Bleecher Snyder <[email protected]>
...

github.com/hack-pad/go - 0fca8a8f25cf4636fd980e72ba0bded4230922de authored over 2 years ago by Brad Fitzpatrick <[email protected]>
cmd/compile: set conversions to unsafe.Pointer as an escaping operation when -asan is enabled

When ASan is enabled, treat conversions to unsafe.Pointer as
an escaping operation. In this way,...

github.com/hack-pad/go - c379c3d58d5482f4c8fe97466a99ce70e630ad44 authored over 2 years ago by fanzha02 <[email protected]>
Revert "cmd/compile: set conversions to unsafe.Pointer as an escaping operation when -asan is enabled"

This reverts commit 5fd0ed7aaf39f783ea6f505a3f2ac7d9da7cb03b.

Reason for revert: <The internal ...

github.com/hack-pad/go - 599d5395ebb41eb17bbe77e75d12ed0d13294767 authored over 2 years ago by Fannie Zhang <[email protected]>
text/scanner: guard against installed IsIdentRune that accepts EOF

IsIdentRune may be installed by a client of the scanner. If the
installed function accepts EOF a...

github.com/hack-pad/go - 9956a5423e40bab92c572489eae26ba80ed803ab authored over 2 years ago by Robert Griesemer <[email protected]>
os: raise open file rlimit at startup

Some systems set an artificially low soft limit on open file count,
for compatibility with code ...

github.com/hack-pad/go - 8427429c592588af8c49522c76b3e0e0e335d270 authored over 2 years ago by Russ Cox <[email protected]>
syscall: allow EINVAL in TestSCMCredentials

This can occur on NixOS.

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

github.com/hack-pad/go - f839aaa22b66bc556fac72f7396082212d2ef45d authored over 2 years ago by Josh Bleecher Snyder <[email protected]>
syscall: call ABI0 exitsyscall on Plan 9/AMD64

CL 376356 changes syscall.Syscall to call ABIInternal entersyscall
and exitsyscall. As mentioned...

github.com/hack-pad/go - 66865363f017a8d4cb0b07d84a3a6117fcf1cd30 authored over 2 years ago by Cherry Mui <[email protected]>
cmd/compile: remove typecheckdef and Name.Walkdef

The only remaining use for typecheckdef after CL 393256 is to
typecheck the ONAME node that repr...

github.com/hack-pad/go - 1cfe1007cdf17ee381443cd0d8ae31962805f96e authored over 2 years ago by Matthew Dempsky <[email protected]>
all: update vendored golang.org/x/tools

Update the vendored golang.org/x/tools to pick up the fix for #51717.

This also picks up some c...

github.com/hack-pad/go - 8d4da2c7b582783f30f9c93c2bcb0641748103e2 authored over 2 years ago by Robert Findley <[email protected]>
cmd/compile: allow noop conversions when comparing expressions

Allows mapclear optimization to trigger in more cases, including
some generic instantiations.

F...

github.com/hack-pad/go - e5e638e512e1ec27673d5e01e99eb870899be7f7 authored over 2 years ago by Keith Randall <[email protected]>
cmd/api: remove debug print

Left over from CL 392414.

Change-Id: I32ff1d660ba03d6c2005ad247e2129daf83aac04
Reviewed-on: htt...

github.com/hack-pad/go - ed4db861182456a63b7d837780c146d4e58e63d8 authored over 2 years ago by Russ Cox <[email protected]>
cmd/link: mark unexported methods for plugins

When plugin is used, we already mark all exported methods
reachable. However, when the plugin an...

github.com/hack-pad/go - 91631bc7e0131367eb051b581cf34573399ac592 authored over 2 years ago by Cherry Mui <[email protected]>
cmd/compile: remove unused code from typecheckdef

typecheckdef used to be used to handle references to package-level
declarations that hadn't yet ...

github.com/hack-pad/go - 81d3c25c6cf39a76b17ab4eda97e8ad7b92a21e9 authored over 2 years ago by Matthew Dempsky <[email protected]>
cmd/compile: remove OIOTA

OIOTA used to be used to represent "iota" in the pre-typechecked IR,
before we knew whether it w...

github.com/hack-pad/go - d661bdeabf479c39fe98c6fc598a6d8114047914 authored over 2 years ago by Matthew Dempsky <[email protected]>
cmd/compile: Fatalf in Type.SetBroke(true) and Node.SetDiag(true)

Type.Broke and Node.Diag were used in the legacy typechecker to allow
reporting of multiple erro...

github.com/hack-pad/go - 1024503f84b2ddcd59104ec5db36d10a8adaae99 authored over 2 years ago by Matthew Dempsky <[email protected]>
cmd/compile: detect invalid NIH conversions within unified IR

Unified IR currently relies on typecheck to diagnose invalid
//go:notinheap conversions, which p...

github.com/hack-pad/go - a1bf50eefe35087ac7151116558f4c19095b8473 authored over 2 years ago by Matthew Dempsky <[email protected]>
go/internal/srcimporter: use the 'go' command from the Importer's GOROOT

We have no guarantee in general that there is any 'go' command in
$PATH at all, let alone the co...

github.com/hack-pad/go - c0158b6a00eaecbd28ded0f66e65b9985f6db078 authored over 2 years ago by Bryan C. Mills <[email protected]>
fmt, strconv: document use of Unicode replacement character in %q

Fixes #51526.

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

github.com/hack-pad/go - 3efc7215cbf6c7842cba0f5ebe90f72f0b6de9e1 authored over 2 years ago by Russ Cox <[email protected]>
syscall: ensure that Getwd returns absolute path

Since Linux kernel 2.6.36, the pathname returned by the getcwd() system
call can be prefixed wit...

github.com/hack-pad/go - 33e752edd3f5fa5b738730513a7c1283d8e98fa2 authored over 2 years ago by Kir Kolyshkin <[email protected]>
internal/txtar: bring back to main repo, for tests in std

This used to be cmd/go/internal/txtar,
and then it was moved to golang.org/x/tools/txtar
and rev...

github.com/hack-pad/go - a3fcc755db54b89855519a5b3e3fb66ed9912497 authored over 2 years ago by Russ Cox <[email protected]>
syscall: call ABIInternal entersyscall on register ABI platforms

Currently, when register ABI is used, syscall.Syscall calls
entersyscall via a wrapper, so the a...

github.com/hack-pad/go - 95395fdbe3e76778a9035d9478f52513fc34a97b authored over 2 years ago by Cherry Mui <[email protected]>
runtime/pprof: do not require a GOROOT/src prefix in tests

When paths are trimmed, the reported file locations begin with the
package import path (not GORO...

github.com/hack-pad/go - 1a2f72619510f944289587d41fcb86cad9026f7d authored over 2 years ago by Bryan C. Mills <[email protected]>
cmd/compile: set conversions to unsafe.Pointer as an escaping operation when -asan is enabled

When ASan is enabled, treat conversions to unsafe.Pointer as
an escaping operation. In this way,...

github.com/hack-pad/go - 5fd0ed7aaf39f783ea6f505a3f2ac7d9da7cb03b authored over 2 years ago by fanzha02 <[email protected]>
cmd/link: default generic ABI compression for ELF

This CL change all debug dwarf headers to generic ABI
"Compression header" for ELF
(http://www.s...

github.com/hack-pad/go - d34287a4f68de5b8a796ec50b8c6b0582a4afc40 authored over 2 years ago by Meng Zhuo <[email protected]>
go/types: return Universe for (*Package)(nil).Scope()

Port of go.dev/cl/325469.

Fixes #46594.

Change-Id: I4bcdafecaa86885360599c204678871646bb221b
R...

github.com/hack-pad/go - 6e49c592de91fd7ea7d47aa50360a1c4f49172f8 authored over 2 years ago by Matthew Dempsky <[email protected]>
go/types, cmd/compile: remove unused Interface.obj field

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

github.com/hack-pad/go - 1cb34fbb26a406faa64f696242841ddff64517c9 authored over 2 years ago by Matthew Dempsky <[email protected]>
[dev.boringcrypto] misc/boring: add new releases to RELEASES file

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

github.com/hack-pad/go - 0af0e193680d4688e1f09c5ca315740571b03eea authored over 2 years ago by Heschi Kreinick <[email protected]>
reflect: avoid panic in reflect.Kind.String for negative Kind

Kind(-1).String() used to panic; let's not.

Change-Id: I1dfc0e3298beb37d77713d8327579bbde90dd15...

github.com/hack-pad/go - 0d71234ee4cfcac4a6664d8fef4be575cca1d7c7 authored over 2 years ago by Russ Cox <[email protected]>
cmd/asm: support -d=pctab flag

To debug PC data generation.

Change-Id: Id7ac8d607cc27ad52db490bd758c3a768c3e1df2
Reviewed-on: ...

github.com/hack-pad/go - db3045b4be5b91cd42c3387dc550c89bbc2f7fb4 authored over 2 years ago by Cherry Mui <[email protected]>
Revert "os: raise open file rlimit at startup"

This reverts CL 392415.

Reason for revert: new test is failing on at least darwin-amd64-10_14, ...

github.com/hack-pad/go - b4428325e266d8ffdd1131d71862f0767c616e27 authored over 2 years ago by Bryan Mills <[email protected]>
compress/gzip: add example of compressing reader

For #51092

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

github.com/hack-pad/go - 201a2e9c2f82dd2c57c8e79bbe2c028d7c13b8ea authored over 2 years ago by Ian Lance Taylor <[email protected]>
cmd/go: document that 'go run' strips debug info

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

github.com/hack-pad/go - 4e26ab0ed891530cd07174813b89cea04b0fa559 authored over 2 years ago by Ian Lance Taylor <[email protected]>
all: untab /* */ doc comments

A long time ago, gofmt insisted on inserting tabs in /* */ comments
at the top level of the file...

github.com/hack-pad/go - 1178255f8596ea503daf30c84c7c1039f755e7f0 authored over 2 years ago by Russ Cox <[email protected]>
internal/cpu: don't run SSE3 disable test if GOAMD64>1

That feature can't be disabled if the microarchitectural version
requires it.

Change-Id: Iad8aa...

github.com/hack-pad/go - 9b112cec8363c0c574750d92cffe8682e80aacbe authored over 2 years ago by Keith Randall <[email protected]>
os: raise open file rlimit at startup

Some systems set an artificially low soft limit on open file count,
for compatibility with code ...

github.com/hack-pad/go - b054c7dc1738c810e74756ae0ac4797ce5d31cf6 authored over 2 years ago by Russ Cox <[email protected]>
cmd/compile: fix PrefetchStreamed builtin implementation on PPC64

This CL fixes encoding of PrefetchStreamed on PPC64 to be consistent
with what is implemented on...

github.com/hack-pad/go - 7b15e297a26842f1f3408ee9d7942f8cfab2e5ea authored over 2 years ago by Archana R <[email protected]>
syscall: add race annotations to Windows ReadFile and WriteFile

For #51618
Fixes #51673

Change-Id: Ie63408d62303293d80afed8d5cf1cb164a8abecc
Reviewed-on: https...

github.com/hack-pad/go - e475cf2e705d4eda8647426e060898ab3f643610 authored over 2 years ago by Ian Lance Taylor <[email protected]>
cmd/internal/obj/arm64: add TRN1 and TRN2 instructions support

Add test cases.

Fixes #51628

Change-Id: I433367d87e6bb5da5579c4be540079b92701c1fa
Reviewed-on:...

github.com/hack-pad/go - 49f16625c82483ab26929a2761031c93dd5d2c83 authored over 2 years ago by fanzha02 <[email protected]>
cmd/internal/obj/arm64: refactor the handling of shifted RSP

Some arithmetic operation instructions such as ADD and SUB support two
formats of left shift (<<...

github.com/hack-pad/go - 44a0da4ff11a5447dcfe2b62ac46bca134736d81 authored over 2 years ago by eric fang <[email protected]>
text/template/parse: allow space after continue or break

Trivial fix: We must skip space after either of these keywords
before we expect a closing delimi...

github.com/hack-pad/go - 41a82aa9c36bffab2593d50aa55a462fef4e5bd4 authored over 2 years ago by Rob Pike <[email protected]>
cmd/compile: disable rewrite loop detector for deadcode-only changes

We're guaranteed we won't infinite loop on deadcode-only changes,
because each change converts v...

github.com/hack-pad/go - 15728ce950eea43d6f1b9fb29819d006071e843a authored over 2 years ago by Keith Randall <[email protected]>
cmd/api: require proposal # for new API features

Having the proposal numbers recorded in the API files
should help significantly when it comes ti...

github.com/hack-pad/go - b7041c7ad1c9d42078cfc376320e5b307e617a80 authored over 2 years ago by Russ Cox <[email protected]>
internal/cpu: disallow disabling options that are required for microarch

e.g., if GOAMD64=v3, don't allow GODEBUG=cpu.XXX=off for XXX which
are required for v3.

Change-...

github.com/hack-pad/go - 5ccd8e5133a43e574be8d66aae3a230c39b4b67a authored over 2 years ago by Keith Randall <[email protected]>
go/types, types2: use correct underlying type in union set computation

Fixes #51658.

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

github.com/hack-pad/go - 41fe746857104d8775a23dc8f69494240d683e54 authored over 2 years ago by Robert Griesemer <[email protected]>
cmd/compile: fix wrong dict param when getting dict type

CL 338129 added getDictionaryType to get the dictionary type from the
specified dict param, but ...

github.com/hack-pad/go - 8419ec295cd86a3d26cd360ef5f919a51fe33ebb authored over 2 years ago by Cuong Manh Le <[email protected]>
cmd/go: use testGOROOT in TestListTemplateContextFunction

This test uses testgo to run 'go list', so it should use the correct
GOROOT for testgo. (This ma...

github.com/hack-pad/go - 676858f3d4786054e1b27b999b5e73190f25288c authored over 2 years ago by Bryan C. Mills <[email protected]>
go/build: set PWD for go subcommands

Since these commands already include an explicit Env field,
they will not be fixed automatically...

github.com/hack-pad/go - d99ff0382116bb472b9f92ddf23cb22bf145bbcd authored over 2 years ago by Bryan C. Mills <[email protected]>
debug/buildinfo: use testenv.GoToolPath in tests instead of resolving "go" from $PATH

Updates #37475.

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

github.com/hack-pad/go - 471d319fb2497aa7239943eb1a6d5cfbad503a2a authored over 2 years ago by Bryan C. Mills <[email protected]>
cmd/compile: remove unified IR stmtTypeDeclHack

After CL 385998, unified IR quirks mode was gone, it's time to remove
stmtTypeDeclHack, too.

Ch...

github.com/hack-pad/go - 7900576bac4630bbeec7f4f1aa4b1cb0d51bd8a1 authored over 2 years ago by Cuong Manh Le <[email protected]>
net/url: add OmitHost bool to url.URL

Previously, myscheme:/path and myscheme:///path were treated as the same URL
although materially...

github.com/hack-pad/go - ab0f7611d739fe10d0265dbc6bdc17684423bfc8 authored over 2 years ago by Uzondu Enudeme <[email protected]>
runtime/pprof: use syscall.RUSAGE_SELF

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

github.com/hack-pad/go - 3c2e73c8c3323887e6b95f72adb6242b8727ba8b authored over 2 years ago by Tobias Klauser <[email protected]>
syscall: add race annotations to Pread and Pwrite

Fixes #51618

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

github.com/hack-pad/go - 842d37ee5f86f12aa096b750adbd2debd9129fcb authored over 2 years ago by Ian Lance Taylor <[email protected]>
encoding/hex: implement Decode with a lookup table

Implement hex decode using a 256 byte lookup table instead of branching logic.

In happy flow, u...

github.com/hack-pad/go - baf61e4a67789e20f019507287a324cca06bed42 authored over 2 years ago by eh-steve <[email protected]>
cmd/asm: add support for bdnz/bdz extended mnemonics on PPC64

Support BDNZ and BDZ mnemonics, they are commonly used
POWER instructions. The raw BC mnemonic i...

github.com/hack-pad/go - 7b1ba972dc5687f6746b2299b047f44e38bc6686 authored over 2 years ago by Paul E. Murphy <[email protected]>
runtime/pprof, syscall: report MaxRSS on all unix platforms

All unix platforms currently supported by Go provide the getrusage
syscall. On aix and solaris t...

github.com/hack-pad/go - c1f22134f22158ebeebf450357f711eb22fab202 authored over 2 years ago by Tobias Klauser <[email protected]>
spec: various minor clarifications

- Allow for a type parameter as length/capacity to make.
- Be slightly more precise in prose for...

github.com/hack-pad/go - fe75fe3c7ae99713ed4e452ea8a4fcb589517dd9 authored over 2 years ago by Robert Griesemer <[email protected]>
spec: clean up intro and replace bolded text with prose

- Remove "Draft" disclaimer. We're not done but the spec
is in usable shape with respect to ge...

github.com/hack-pad/go - 59d80227effa3027a37b1aa85eef88d1df7b1e81 authored over 2 years ago by Robert Griesemer <[email protected]>
cmd/compile/internal/amd64: fix "missing objdump" skip in TestGoAMD64v1

The skip was erroneously applied to errors from the call to StdoutPipe
instead of Start, and eve...

github.com/hack-pad/go - 751b8798dd3a0b099ec403bafae0d48d5c5fae8c authored over 2 years ago by Bryan C. Mills <[email protected]>
cmd/go: use the correct gofmt binary in TestScript/fmt_load_errors

Otherwise, this test may fail when GOROOT/bin is not in $PATH.

Change-Id: Id744f365f66047162071...

github.com/hack-pad/go - ef7d0413c204f69f8179b50de869acf7bd1e1731 authored over 2 years ago by Bryan C. Mills <[email protected]>
cmd/compile: fix re-export closure

For hidden closure built during stenciling to implement a function
instantiation, the function m...

github.com/hack-pad/go - 9743e9b6d8e150639f509fc64e4bc5f24ecce562 authored over 2 years ago by Cuong Manh Le <[email protected]>
internal/fuzz: minimization should not reduce coverage

Minimization should result in a fuzz input which
includes the same coverage bits as the original...

github.com/hack-pad/go - 5003ed884a67ee26b4cedbe6f5b1c02bd5eb6630 authored over 2 years ago by Steven Johnstone <[email protected]>
internal/fuzz: don't use dirty coverage maps during minimization

When minimizing a value, if the value cannot be minimized (i.e. it is
the final value is the sam...

github.com/hack-pad/go - bd71dee2b4c0a44f9c32e9eb23d990b54ce06bae authored over 2 years ago by Roland Shoemaker <[email protected]>
go/types, types2: remove incorrect assertion (don't crash)

The removed assertion was never incorrect, as signatures may
be from methods in interfaces, and ...

github.com/hack-pad/go - 914195c132cbec651aa43c409e8aac2614b53b38 authored over 2 years ago by Robert Griesemer <[email protected]>
cmd/compile: fix expression switches using type parameters

Both the thing we're switching on, as well as the cases we're switching for.
Convert anything co...

github.com/hack-pad/go - 2e46a0a99768408c90cf4eeda3690831693fd8b2 authored over 2 years ago by Keith Randall <[email protected]>
cmd/compile: fix transform of OEQ/ONE when one arg is a type param

At this point in stenciling, we have shape types, not raw type parameters.
The code was correct ...

github.com/hack-pad/go - 8cf11694abbfbdbd4fe0b2c08511f81b8bfe5017 authored over 2 years ago by Keith Randall <[email protected]>
flag: add TextVar function

The TextVar function makes it easier to integrate the flag package
with any Go type that impleme...

github.com/hack-pad/go - 91daaabd56964d0cffae99825e4696f3f70a3857 authored over 2 years ago by Joe Tsai <[email protected]>
bytes: rely on runtime.growslice for growing

Rather than naively making a slice of capacity 2*c+n,
rely on the append(..., make(...)) pattern...

github.com/hack-pad/go - 2d026a4ea5b28680c1ed7660f720c4cb028c5b35 authored over 2 years ago by Joe Tsai <[email protected]>
runtime: fix SegvInCgo skip check

CL 390034 changed this throw message to add the goid, breaking the
match.

For #50979.

Change-I...

github.com/hack-pad/go - 1cf67709beb2d7e317cb6e6b983f3fc6304ebc1a authored over 2 years ago by Michael Pratt <[email protected]>
go/token: allocate fewer times at init time

go/token has had a global "keywords" map filled at init time for years.
Overall, the package's i...

github.com/hack-pad/go - 5a040c5a3678857f03e77822956c916e8274b2c3 authored over 2 years ago by Daniel Martí <[email protected]>
runtime,cmd/compile: change reg duff{zero,copy} for regabi riscv64

As CL 356519 require, X8-X23 will be argument register, however X10, X11
is used by duff device....

github.com/hack-pad/go - 29b968e76638c22368f775a4347a544a096d9380 authored over 2 years ago by Meng Zhuo <[email protected]>
spec: remove note re: field accesses on type literals

For #51576.

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

github.com/hack-pad/go - 00535b839841227ba60c2de78fbf767088f865bc authored over 2 years ago by Robert Griesemer <[email protected]>
spec: more adjustments/corrections

- Change section title from "Type parameters lists" to
"Type parameter declarations" as the en...

github.com/hack-pad/go - 6fb07317e5e7997a1e44ccb6984229c77dc186a3 authored over 2 years ago by Robert Griesemer <[email protected]>
spec: remove notion of specific types

Specific types were introduced to explain rules for operands of
type parameter type. Specific ty...

github.com/hack-pad/go - 46f352de2dc80657664431ebb04f89a2fad579c5 authored over 2 years ago by Robert Griesemer <[email protected]>
net/url: add JoinPath, URL.JoinPath

Builds on CL 332209.

Fixes #47005

Change-Id: I82708dede05d79a196ca63f5a4e7cb5ac9a041ea
GitHub-...

github.com/hack-pad/go - 604140d93111f89911e17cb147dcf6a02d2700d0 authored over 2 years ago by Carl Johnson <[email protected]>
cmd/compile,bytealg: change context register on riscv64

The register ABI will use X8-X23 (CL 356519),
this CL changes context register from X20(S4) to X...

github.com/hack-pad/go - 9faef5a6540f56af0129610db8a55b443229075f authored over 2 years ago by Meng Zhuo <[email protected]>