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

go/doc: remove brackets from receiver in example identifier

When constructing a string for a method that will match an example
function's name, remove brack...

github.com/hack-pad/go - dd7d9b773f0c1319955eee0857e07dd411628e00 authored over 2 years ago by Jonathan Amsterdam <[email protected]>
go/doc: group play example imports

When synthesizing a program from a playable example, preserve
the grouping of imports. That is, ...

github.com/hack-pad/go - 59ef3a966b38cb2ac537d1be43f0b8fd2468ea70 authored over 2 years ago by Jonathan Amsterdam <[email protected]>
net/http: close accepted connection

Fixes #48642

Change-Id: I7bf00517bea43dcf38e15b778818a3a3f6ffe23e
GitHub-Last-Rev: a0e8b80f18dc...

github.com/hack-pad/go - 1ce7fcf139417d618c2730010ede2afb41664211 authored over 2 years ago by Alexander Yastrebov <[email protected]>
go/doc/comment: don't crash if there are no words to wrap

Fixes #52783

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

github.com/hack-pad/go - 3f43096f1549ea32229202618d9cd81a5761c697 authored over 2 years ago by Ian Lance Taylor <[email protected]>
cmd/go: don't fail in ToSymbolFunc when using -n

CL 214429, among other things, created gccgo_link_c.txt as a copy of a
test formerly in go_test....

github.com/hack-pad/go - a971499a6234d94b5be93b573de64d1b4f36654e authored over 2 years ago by Ian Lance Taylor <[email protected]>
go/types, types2: use a type lookup by identity in method lookup

Named type identity is no longer canonical. For correctness, named types
need to be compared wit...

github.com/hack-pad/go - f088f4962e628992833444df7486d392715ea73d authored over 2 years ago by Robert Findley <[email protected]>
cmd/compile/internal/typecheck: remove some un-used functions

CL 394576 removed FuncBody, which is the only caller of CheckUnused and
CheckReturn. CL 394556 r...

github.com/hack-pad/go - 6399b24539c78686e5eaf8402ac623f341c0350f authored over 2 years ago by Cuong Manh Le <[email protected]>
net: avoid racing on port reuse in TestListenConfigControl

Fixes #52798.
Fixes #51441 (until proven otherwise πŸ˜…).

Change-Id: Ic1eadebd0d41c5cbe37340190f8b...

github.com/hack-pad/go - 4861475c1a373f2004ef9f95862fb1b370577d91 authored over 2 years ago by Bryan C. Mills <[email protected]>
os, syscall: don't consider stderr output as part of hostname

A successful invocation of the hostname command prints the hostname
to stdout and exits with cod...

github.com/hack-pad/go - 0d410d676dde6cf5f2fc6f78ed7f2c39181d6720 authored over 2 years ago by Dmitri Shuralyov <[email protected]>
runtime: use ERMS in memclr_amd64

This patch adds support for REP STOSB in memclr(). The current
implementation uses REP STOSB whe...

github.com/hack-pad/go - dcfe57b8c2ff32e3dba99787a81a43657a115011 authored over 2 years ago by nimelehin <[email protected]>
cmd/compile: update comment/message that mention betypeinit

Since when CL 29244 did remove it.

Change-Id: I5f96d7404209cbc336b0541502943871461cb72e
Reviewe...

github.com/hack-pad/go - 12eedc00b810a20f5665ef51417812d26999e8e6 authored over 2 years ago by Cuong Manh Le <[email protected]>
cmd/compile: more fix on boolean ops on ARM64

Following CL 405114, the extension rule is also wrong. It is safe
to drop the extension if the v...

github.com/hack-pad/go - 90a11e921ba3b928706854655bd010f309a96458 authored over 2 years ago by Cherry Mui <[email protected]>
runtime: make racereadrange ABIinternal

CL 266638 marked racewriterange (and some other race functions) as
ABIinternal but missed racere...

github.com/hack-pad/go - f566fe3910593de96b6ab17abc906934de78d27c authored over 2 years ago by Keith Randall <[email protected]>
cmd/compile: fix If lowering on ARM64

On ARM64, an If block is lowered to (NZ cond yes no). This is
incorrect because cond is a boolea...

github.com/hack-pad/go - 9ae7dc304082cc36d0d587c5edcc899497f2d06f authored over 2 years ago by Cherry Mui <[email protected]>
internal/abi, internal/buildcfg: enable regabi on riscv64 by default

This CL we turn regabi on by default.
Later CLs will clean up fallback code.

name ...

github.com/hack-pad/go - 53f13128a7a4c7d16af5ea9ca5f25b56ff9881fe authored over 2 years ago by Meng Zhuo <[email protected]>
path/filepath: simplify EvalSymlinks for plan9

Plan 9 doesn't have symbolic links, so EvalSymlinks can be simplified
just to check validity of ...

github.com/hack-pad/go - 50203976777808f03b01974076ddeb26f24be311 authored over 2 years ago by miller <[email protected]>
internal/cpu: revise test to make it work properly with -cover

Fix up a test to insure that it does the right thing when
"go test -cover" is in effect.

Fixes ...

github.com/hack-pad/go - c4311a47a0cb97f85e045a6d8f7c284cb6866da9 authored over 2 years ago by Than McIntosh <[email protected]>
internal/bytealg: optimize index function for ppc64le/power9

Optimized index2to16 loop by unrolling the loop by 4.
Multiple benchmark tests show performance ...

github.com/hack-pad/go - 7ca1e2aa56f23b1766e8f5f65c431d18abd58985 authored over 2 years ago by Archana R <[email protected]>
cmd/compile: schedule carry chain arithmetic disjointly

This results in a 1.7-2.4x improvement in native go crypto/elliptic
multiplication operations on...

github.com/hack-pad/go - c386269ed8746304b219d5be7d673539ae1e2643 authored over 2 years ago by Paul E. Murphy <[email protected]>
cmd/compile: teach prove about and operation

For this code:
z &= 63
_ = x<<z | x>>(64-z)
Now can prove 'x<<z' in bound. In ppc64 lowering pas...

github.com/hack-pad/go - 1efe38750a1f29c946fde694738c4ba2ed48ff98 authored over 2 years ago by Wayne Zuo <[email protected]>
cmd/compile: don't crash in size computation for invalid type

An invalid program may produce invalid types. If the program
calls unsafe.Sizeof on such a type,...

github.com/hack-pad/go - 3391517c0e4695a87cdb806cbf7b9760e7c9fa73 authored over 2 years ago by Robert Griesemer <[email protected]>
A+C: add Jinzhu Zhang

Change-Id: I655095874a90fc3e390df5609e68f0e48a042fea
GitHub-Last-Rev: 6d3199b4cfedf744f1485b119c...

github.com/hack-pad/go - 1b86ef47de13622f48f76765403f065222d8f584 authored over 2 years ago by Jinzhu <[email protected]>
all: fix some lint issues

Make some code more simple.

Change-Id: I801adf0dba5f6c515681345c732dbb907f945419
GitHub-Last-Re...

github.com/hack-pad/go - dd8d425fedd88970a7ee79e908eb47f6d1fcdcad authored over 2 years ago by Ryan Leung <[email protected]>
archive/zip: permit zip files to have prefixes

A Java jar file is a zip file, but it can have a prefix that is a bash
script that unpacks the z...

github.com/hack-pad/go - df57592276bc26e2eb4e4ca5e77e4e2e422c7c6b authored over 2 years ago by Ian Lance Taylor <[email protected]>
sync: remove the redundant logic on sync.(*Pool).Put

When the procUnpin is placed after shared.pushHead, there is
no need for x as a flag to indicate...

github.com/hack-pad/go - 507a44dc228a3817e7007f292a404fe6c9f66315 authored over 2 years ago by Jason7602 <[email protected]>
time: return ENOENT instead of ERROR_PATH_NOT_FOUND in windows

When using windows some users got a weird error (File not found) when the timezone database is n...

github.com/hack-pad/go - 4c565a5561e33e1d488116ea45c35d3ce408cf93 authored over 2 years ago by rlanhellas <[email protected]>
cmd/cgo: add line info for return statements

When calling a C function, line information will be
incorrect if the function call's closing par...

github.com/hack-pad/go - 0ad74fd1dcb278b7d9348e9c8a46152bdab4c376 authored over 2 years ago by Patrick Pokatilo <[email protected]>
math/big: don't force second arg to Jacobi and Int.ModSqrt to escape

This CL updates big.Jacobi to avoid forcing its y argument to escape
to the heap. The argument w...

github.com/hack-pad/go - 831f1168289e65a7ef49942ad8d16cf14af2ef43 authored over 2 years ago by Nathan VanBenschoten <[email protected]>
compress/flate: cancel redundant operations

The assignment operation in the program seems to be redundant, the first judgment will continue ...

github.com/hack-pad/go - b8d55a7604aaffb9645ba1fcff9ea2c84697f7d6 authored over 2 years ago by Heisenberg <[email protected]>
cmd/compile: trying to linkname a method is not an ICE, just an error

Fixes #52774

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

github.com/hack-pad/go - eed77574d029e8c8426195bc9e7267462f568a8a authored over 2 years ago by Keith Randall <[email protected]>
crypto/aes: enable asm block ciphers for ppc64

This does not enable GCM or CBC variants for ppc64, they
require more work to support bi-endian....

github.com/hack-pad/go - a131fd1313e0056ad094d234c67648409d081b8c authored over 2 years ago by Paul E. Murphy <[email protected]>
net: improve error handling in dnsclient_unix.go

In the file net/dnsclient_unix.go in the function newRequest
error handling is missing after cal...

github.com/hack-pad/go - 130775cd16d74401a2206218e2dc0f32d1c59898 authored over 2 years ago by michael <[email protected]>
os/exec: refactor goroutine communication in Wait

This provides clearer synchronization invariants: if it occurs at all,
the call to c.Process.Kil...

github.com/hack-pad/go - 4e79f06dac712d35d67d72777dae6df6d8c97888 authored over 2 years ago by Bryan C. Mills <[email protected]>
cmd/go: mod tidy returns proper error with /tmp/go.mod

`go mod tidy` results in panic due to nil pointer dereference with the
current implementation. T...

github.com/hack-pad/go - d7a03da8edf37ee4fa9c1200040db001c6c3e56a authored over 2 years ago by tenkoh <[email protected]>
cmd/compile: allow exporting `.rcvr` ident

Noder pass will build a closure to implement generic function
instantiation which may produce `....

github.com/hack-pad/go - ac39dbdf58e50a2575b891675e7d2e1400b20cfe authored over 2 years ago by Wayne Zuo <[email protected]>
cmd/link: resolve relocations to .TOC. symbol

CL 404296 breaks the PPC64LE build because the .TOC. symbol is
visibility hidden and was skipped...

github.com/hack-pad/go - 12420f9c01d6966c2994dbcc506a9d783a30ebdb authored over 2 years ago by Cherry Mui <[email protected]>
crypto/tls: avoid extra allocations in steady-state Handshake calls

The Read and Write methods of *tls.Conn call Handshake
unconditionally, every time they are call...

github.com/hack-pad/go - a4af35607536b2b0d73be94df188b9f5a157480c authored over 2 years ago by David Taylor <[email protected]>
debug/pe: rework reading of aux symbols to fix endianity problems

This patch reworks CL 394534 to fix things so that reading auxiliary
symbol info works properly ...

github.com/hack-pad/go - 054323d809cb15d47ca72d0deeadb5cfc2737780 authored over 2 years ago by Than McIntosh <[email protected]>
crypto/aes: rewrite ppc64le block crypting

This unrolls the counter loop and simplifies the load/storing
of text/ciphertext and keys by usi...

github.com/hack-pad/go - f495b36ccdfe93629cb83f8be79dca662ef68a64 authored over 2 years ago by Paul E. Murphy <[email protected]>
cmd/link: generate PPC64 ABI register save/restore functions if needed

They are usually needed when internally linking gcc code
compiled with -Os. These are typically ...

github.com/hack-pad/go - 9c9090eb1da540c7d757df0c60423319a28759d3 authored over 2 years ago by Paul E. Murphy <[email protected]>
cmd/compile,cmd/asm: fix ppc64 usage of BI argument of BC opcode

Avoid coercing the CR bit into a GPR register type argument, and
move the existing usage to CRx_...

github.com/hack-pad/go - 4a5711c3cf944b3ff51af261166ef34b2ed22b8a authored over 2 years ago by Paul E. Murphy <[email protected]>
crypto/rand: fix race on r.used

This race is benign, but it still trips up the race detector, so turn
this into an atomic read.
...

github.com/hack-pad/go - 091e913414794d9176861b1ffcdbcfdc2d742af3 authored over 2 years ago by Jason A. Donenfeld <[email protected]>
cmd/link: fix handling of visibility hidden symbols

There is a TODO comment that checking hidden visibility is
probably not the right thing to do. I...

github.com/hack-pad/go - 2049649e8bf582bd1ee19d2e565e4e3bc3f466ea authored over 2 years ago by Cherry Mui <[email protected]>
test: add test that crashed gofrontend

For #52535

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

github.com/hack-pad/go - 280e6402240e4e9c40853600186bfffd56dec954 authored over 2 years ago by Ian Lance Taylor <[email protected]>
crypto/x509: fix EKU nesting enforcement

The path building rework broke the enforcement of EKU nesting, this
change goes back to using th...

github.com/hack-pad/go - 0aee59736f53ca1ef29d53163f26c2fc21a4c415 authored over 2 years ago by Roland Shoemaker <[email protected]>
go/printer: fix printing for possibly ambiguous type constraints

This is a port of the printer changes from CLs 402256 and 404397
in the syntax package to go/pri...

github.com/hack-pad/go - 5fcd1badf724db853784243b29711df209976873 authored over 2 years ago by Robert Griesemer <[email protected]>
cmd/compile/internal/syntax: fix printing of ambiguous constraint literals

Without this change, the type parameter list "[P T | T]" is printed
as "[P T | T,]" in an attemp...

github.com/hack-pad/go - ea6c82845589a40c35f01122ce4e2931694ffc7f authored over 2 years ago by Robert Griesemer <[email protected]>
runtime/cgo: remove memset in _cgo_sys_thread_start on linux

pthread_attr_init in glibc and musl libc already explicitly clear the
pthread_attr argument befo...

github.com/hack-pad/go - 7f71e1fc28f03afe987881c679a925a6f7e99cac authored over 2 years ago by Tobias Klauser <[email protected]>
debug/buildinfo: avoid nil defererence for invalid XCOFF

I've made it return 0 following what the other DataStart implementation
do when they do not foun...

github.com/hack-pad/go - 119da6358bf8cc01bb8bc7556d616bd0fe723ad4 authored over 2 years ago by Jorropo <[email protected]>
A: add ByteDance Ltd. (Corporate CLA)

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

github.com/hack-pad/go - f87e28d1b9ab33491b32255f333f1f1d83eeb6fc authored over 2 years ago by zhangyunhao <[email protected]>
cmd/compile: update TestStmtLines threshold for riscv64

CL402374 default regabi for riscv64 but TestStmtLines
keep fail trybot within a tiny overlimit (...

github.com/hack-pad/go - 3ea3bc0e9636228dda88b823e42a45227297f43b authored over 2 years ago by Meng Zhuo <[email protected]>
sync/atomic: don't run 64-bit uintptr tests on 32-bit systems

The tests don't work on big-endian systems. This change handles more
of the tests added in CL 38...

github.com/hack-pad/go - 7dd988456247c66f2ae62a82e8d8fa0d843710d1 authored over 2 years ago by Ian Lance Taylor <[email protected]>
crypto/internal/nistec: re-enable ppc64le asm for P-256

Add support for ppc64le assembler to p256. Most of the changes
are due to the change in nistec i...

github.com/hack-pad/go - f99511d59ba6c363d5dea1e015753a17c05c5c01 authored over 2 years ago by Lynn Boger <[email protected]>
go/types,cmd/compile/internal/types2: fix TestStdlib

CL 402556 moved a special-cased package and broke the longtests.

Change-Id: I10b48e0912c1cee0ea...

github.com/hack-pad/go - 86536b934a6a5d074f1539b3103d7bc86a97e869 authored over 2 years ago by Filippo Valsorda <[email protected]>
crypto/rand: properly handle large Read on windows

Use the batched reader to chunk large Read calls on windows to a max of
1 << 31 - 1 bytes. This ...

github.com/hack-pad/go - bb1f4416180511231de6d17a1f2f55c82aafc863 authored over 2 years ago by Roland Shoemaker <[email protected]>
crypto/ed25519/internal/edwards25519: move to crypto/internal/edwards25519

This will allow us to use crypto/internal/edwards25519/field from
crypto/ecdh to implement X2551...

github.com/hack-pad/go - 7c74b0db8a27188d0ca3bb2f4bd46d00c0dc8eea authored over 2 years ago by Filippo Valsorda <[email protected]>
crypto/elliptic/internal/nistec: move to crypto/internal/nistec

So it's reachable from crypto/ecdsa and the upcoming crypto/ecdh.

No code changes.

For #52182
...

github.com/hack-pad/go - 52de40120d2efdaf39e881b53a14ad38e948cbd7 authored over 2 years ago by Filippo Valsorda <[email protected]>
crypto/elliptic: panic when operating on invalid points

Fixes #50975
For #52182

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

github.com/hack-pad/go - a218b3520a500254cc82b996b79ad6f5a355021c authored over 2 years ago by Filippo Valsorda <[email protected]>
crypto/elliptic: implement UnmarshalCompressed in nistec

For #52182

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

github.com/hack-pad/go - 52e24b492dc9295f2833f32e4f3601e716e5c1ed authored over 2 years ago by Filippo Valsorda <[email protected]>
crypto/elliptic: precompute ScalarBaseMult doublings

name old time/op new time/op delta
pkg:crypto/ecdsa goos:darwin goarch:...

github.com/hack-pad/go - 50b1add5a73f05b0142adf783b6825c0c149882b authored over 2 years ago by Filippo Valsorda <[email protected]>
crypto/elliptic: clean up and document P-256 assembly interface

For #52182

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

github.com/hack-pad/go - 0b4f2416a22aadb0e6df2be1a5cef34680e472de authored over 2 years ago by Filippo Valsorda <[email protected]>
crypto/elliptic: move P-256 amd64/arm64 assembly to nistec

The goal of this CL is to move the implementation to the new interface
with the least amount of ...

github.com/hack-pad/go - 10d1189464dfd232265efc48a6b5bce56f72fe3c authored over 2 years ago by Filippo Valsorda <[email protected]>
crypto/elliptic: replace generic P-256 with fiat-crypto

For #52182

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

github.com/hack-pad/go - 68c2e9eedeaa2ad9d9528fbb58adffb0a48365c9 authored over 2 years ago by Filippo Valsorda <[email protected]>
crypto/elliptic: generate nistec group implementations from template

For #52182

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

github.com/hack-pad/go - 2515a4214e2a70413392b4ce3767498ee26da10d authored over 2 years ago by Filippo Valsorda <[email protected]>
cmd/compile/internal: intrinsify publicationBarrier on ppc64x

This enables publicationBarrier to be used as an intrinsic
on ppc64le/ppc64.

A call to this app...

github.com/hack-pad/go - c9f67c289faba2d3876bc166dbcc3b325d3c5ecc authored over 2 years ago by Lynn Boger <[email protected]>
crypto/aes: move ppc64le to cipher_asm.go

Move the aesCipherGCM struct definition into cipher_asm.go, it is
needed to compile this file, b...

github.com/hack-pad/go - 6269dc29a04c4f430a851551d85aa956fb10cc94 authored over 2 years ago by Paul E. Murphy <[email protected]>
crypto/internal/boring: avoid false positive in cgo pointer check in SHA calls

Discovered running recent changes against Google internal tests.

Change-Id: Ief51eae82c9f27d2a2...

github.com/hack-pad/go - fa603aaa4e7ac460aee2e2de509842b89152a418 authored over 2 years ago by Russ Cox <[email protected]>
cmd/compile/internal/pkginit: fix typecheck.DeclFunc call

CL 403935 changed the API for typecheck.DeclFunc, while CL 403851 was
submitted in the mean time...

github.com/hack-pad/go - 72d1cb092e0008419676be353703298cadccf3a2 authored over 2 years ago by Matthew Dempsky <[email protected]>
cmd/compile/internal/ir: remove FuncType and OTFUNC

No longer needed. We now always directly construct TFUNC types when
needed.

Change-Id: I1bb286c...

github.com/hack-pad/go - 983906fa6db6df56e3912ba5c6be8fada00b232b authored over 2 years ago by Matthew Dempsky <[email protected]>
cmd/compile/internal/typecheck: simplify DeclFunc

This CL reworks DeclFunc so that we no longer need to internally
create an ir.FuncType. The next...

github.com/hack-pad/go - a7ab208cbb9f6906f0873254c63b5cc92e316dbd authored over 2 years ago by Matthew Dempsky <[email protected]>
cmd/compile: construct ir.FuncType within typecheck.DeclFunc

Currently all typecheck.DeclFunc callers already construct a fresh new
ir.FuncType, which is the...

github.com/hack-pad/go - 5073c1c7407ad5f23e54cc0a6410ffbde23758bb authored over 2 years ago by Matthew Dempsky <[email protected]>
cmd/compile/internal/typecheck: trim unused code

Unused since CL 403839.

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

github.com/hack-pad/go - cce00643992995ce3ca4eca301bac77a72e10d8e authored over 2 years ago by Matthew Dempsky <[email protected]>
cmd/compile/internal/ir: prune down possible Ntype nodes

Ident, ParenExpr, SelectorExpr, and StarExpr used to need to be
allowed as Ntypes for the old -G...

github.com/hack-pad/go - cf66a82b0bc8fd8925db8ba7d90df67d21feaf55 authored over 2 years ago by Matthew Dempsky <[email protected]>
cmd/compile: change ir.InstExpr.Targs from Node to Ntype

Type arguments are always type expressions, which are semantically
represented by Ntype.

In fac...

github.com/hack-pad/go - 3abe8fe00bdc9ae35b54c36e5e73632346051315 authored over 2 years ago by Matthew Dempsky <[email protected]>
cmd/compile: remove ir.TypeAssertExpr.Ntype

As with ir.CompLitExpr.Ntype, there's no need for
ir.TypeAssertExpr.Ntype in a pure-types2 world...

github.com/hack-pad/go - 025a9c343880f9dc98c7c7479ab481a061e60950 authored over 2 years ago by Matthew Dempsky <[email protected]>
cmd/compile: remove ir.CompLitExpr.Ntype field

It's no longer needed, since type expressions are all evaluated by
types2. We can just use Node....

github.com/hack-pad/go - 27b844f767d4930e6a0f3bf6f793eb89cf43e817 authored over 2 years ago by Matthew Dempsky <[email protected]>
cmd/compile: change ir.NewCompLitExpr from Ntype to *types.Type

All callers were already using TypeNode to get an Ntype anyway, so
just push the TypeNode constr...

github.com/hack-pad/go - 3ffc230a9fb6f2a2326cf64017eaa7cc4582a8d3 authored over 2 years ago by Matthew Dempsky <[email protected]>
cmd/compile: remove ir.Name.Ntype

No longer needed now that IR construction uses types2.

Change-Id: If8b7aff80cd8472be7d87fd3a36d...

github.com/hack-pad/go - a6a49d128bbd67051c2246fbb9abae85c8601a5d authored over 2 years ago by Matthew Dempsky <[email protected]>
cmd/compile: remove ir.Name.TypeDefn

This method used to be needed so the legacy typechecker could report
type declaration loops, but...

github.com/hack-pad/go - e94fe09c33f9608ced0e7abcabba9fb697844a6c authored over 2 years ago by Matthew Dempsky <[email protected]>
cmd/compile/internal/typecheck: avoid use of Name.Ntype for assignments

Prep refactoring for the next CL, which removes Name.Ntype
entirely. Pulled out separately becau...

github.com/hack-pad/go - 115c3bfad55809a27009f9ea6f95970ff94164f0 authored over 2 years ago by Matthew Dempsky <[email protected]>
cmd/compile: remove ir.TypeNodeAt

It's deprecated and no longer needed.

Simplify underlying code while here.

Change-Id: I2a68108...

github.com/hack-pad/go - 53647a1994184e471988b53f1a98c02bd6c609df authored over 2 years ago by Matthew Dempsky <[email protected]>
cmd/compile: remove ir.Field.Ntype

It's never assigned/initialized, so replace all uses with nil.

Change-Id: If224075aab925536114d...

github.com/hack-pad/go - 14fed2c8f13b036472c024b185f00b1f8578a6a2 authored over 2 years ago by Matthew Dempsky <[email protected]>
cmd/compile: remove ir.NewField's ntyp parameter

ir.NewField is always called with ntyp as nil.

Change-Id: Iccab4ce20ae70d056370a6469278e68774e6...

github.com/hack-pad/go - 73fb829f5969c8370ca81bbbf67ad1ffa4c46b98 authored over 2 years ago by Matthew Dempsky <[email protected]>
runtime: prefer curg for execution trace profile

The CPU profiler adds goroutine labels to its samples based on
getg().m.curg. That allows the pr...

github.com/hack-pad/go - 7b1f8b62be5f4901404071ddc7160217a60c9810 authored over 2 years ago by Rhys Hiltner <[email protected]>
crypto/x509: disable signing with MD5WithRSA

MD5 is hopelessly broken, we already don't allow verification of
MD5 signatures, we shouldn't su...

github.com/hack-pad/go - fdb640b7a1324c2a4fc579389c4bc287ea90f1db authored over 2 years ago by Roland Shoemaker <[email protected]>
cmd: use 128-bit SHA256 & encode in base64 for content hashes

We used to use SHA1 for content hashes, but CL 402595 changed
all the β€œdon't care” hashes to cmd...

github.com/hack-pad/go - 485a572243568530721009829393ba2c0deb7bd0 authored over 2 years ago by Russ Cox <[email protected]>
runtime: use profile data before advancing index

Fixes #52704

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

github.com/hack-pad/go - 1926fa5f84b87a7a6cb9f153337424baf367937a authored over 2 years ago by Rhys Hiltner <[email protected]>
cmd/compile: fix constructing expr side-effects when comparing 0-size types

In walkCompare, any ir.OCONVNOP was removed from both operands. So when
constructing assignments...

github.com/hack-pad/go - 0e90ba933565ab6e719d6981d8d6195e06625f47 authored over 2 years ago by Cuong Manh Le <[email protected]>
cmd/dist: add asan tests for global objects in testsanitizers package

Add tests to test that -asan in Go can detect the error memory access
to the global objects.

Up...

github.com/hack-pad/go - d544591d72ade40d34d7a8ee70e7239ae63b4116 authored over 2 years ago by fanzha02 <[email protected]>
cmd/compile: fix static init of literal contains dynamic exprs

Fixes #52673

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

github.com/hack-pad/go - 0bd7408f901f33c6f0a5a542f8de6bf17c901e79 authored over 2 years ago by Cuong Manh Le <[email protected]>
cmd/compile: use appendWalkStmt when possible

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

github.com/hack-pad/go - ed462a66a5e4b57402b509aa27c90342075231f0 authored over 2 years ago by Cuong Manh Le <[email protected]>
cmd/compile/internal/walk: remove litas

Since when its only usage is in maplit, and its body is simple enough to
be inlined directly at ...

github.com/hack-pad/go - b922055572d8fb4428d9d3482229e1c32c2f40a4 authored over 2 years ago by Cuong Manh Le <[email protected]>
cmd/go: skip computing BuildInfo in go list unless it's needed

The only fields of the go list output that require BuildInfo to be
computed are the Stale and St...

github.com/hack-pad/go - aeb933d3ffa1cba614baf21849715bed4145dcd4 authored over 2 years ago by Michael Matloob <[email protected]>
cmd/asm: on PPC64, allow ISEL to accept a CR bit arg

Using the CR bit register arguments makes it more easy to
understand which condition and CR fiel...

github.com/hack-pad/go - 2f23364340750fc96afc38cd28c71117f916f23b authored over 2 years ago by Paul E. Murphy <[email protected]>
cmd/compile: fold constants found by prove

It is hit ~70k times building go.
This make the go binary, 0.04% smaller.
I didn't included benc...

github.com/hack-pad/go - e1e056fa6a2f788a15e17d55b7953712053fd760 authored over 2 years ago by Jorropo <[email protected]>
cmd/compile/internal/syntax: minor cleanups in extractName

Backport the recommended changes suggested in CL 403937.

Change-Id: I3ac29c90977e33899881838825...

github.com/hack-pad/go - fbb47e81c1f24a8b9cb84430e9561ace60580af1 authored over 2 years ago by Robert Griesemer <[email protected]>
go/parser: accept all valid type parameter lists

This is a port of CL 402256 from the syntax package to go/parser
with adjustments because of the...

github.com/hack-pad/go - ab0bb52f2fdf454a2cbf20e95f5ecd2bd68b5ada authored over 2 years ago by Robert Griesemer <[email protected]>
io: add an Err field to LimitedReader

Fixes #51115

Change-Id: I3c5296e4adc71c1c1b1808a45abd4801ae43465a
GitHub-Last-Rev: 4c197acd51e1...

github.com/hack-pad/go - fd6ef06296b55a234d4fd5ebf5dd3e5bfd8f4e25 authored over 2 years ago by Carl Johnson <[email protected]>
net/netip: use strconv.AppendUint in AddrPort.AppendTo

This is already used in AddrPort.String.

name old time/op new ...

github.com/hack-pad/go - 037b209ae3e0453004a4d57e152aa522c56f79e4 authored over 2 years ago by Tobias Klauser <[email protected]>
cmd/compile: enable Asan check for global variables

With this patch, -asan option can detect the error memory
access to global variables.

So this p...

github.com/hack-pad/go - 1b0f9fbb67ad3708665675c9f600608dc9b375fa authored over 2 years ago by fanzha02 <[email protected]>