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

cmd/go: clarify errors for pseudo-version commit length

These error messages contain the expected shortened revision in braces,
but don't explicitly tel...

github.com/hack-pad/go - 2c32f29f2f88e56f329547467090e7315cd3c1e8 authored almost 3 years ago by Matthias Dötsch <[email protected]>
cmd/go: ensure that 'go test' prints the FAIL line for a package on a new line

Fixes #49317

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

github.com/hack-pad/go - 71fc881cff79d0f3b352c20b947f4911892864fa authored almost 3 years ago by Bryan C. Mills <[email protected]>
test: fix indentation for -shuffle help text

The help text for the go test -shuffle flag is not indented like the
other flags. This patch bri...

github.com/hack-pad/go - 82481525280e4d0c74cb3f6341ce2f4653a165b8 authored almost 3 years ago by Simon Law <[email protected]>
cmd/go: download fewer dependencies in 'go mod download'

In modules that specify 'go 1.17' or higher, the go.mod file
explicitly requires modules for all...

github.com/hack-pad/go - 1f9dce749db804a8cce767adde3701378db1461c authored almost 3 years ago by Bryan C. Mills <[email protected]>
crypto/elliptic: tolerate large inputs to IsOnCurve methods

The behavior of all Curve methods and package functions when provided an
off-curve point is unde...

github.com/hack-pad/go - 978e39e9e647d7359a41ac32992ef6ff5380be08 authored almost 3 years ago by Filippo Valsorda <[email protected]>
cmd/compile: fix TypeDefn to deal with node with no Ntype set

Adjust TypeDefn(), which is used by reportTypeLoop(), to work for nodes
with no Ntype set (which...

github.com/hack-pad/go - 99699d14fe538f6886948ee6d3cc57f7f2a9bff7 authored almost 3 years ago by Dan Scales <[email protected]>
runtime: set and clear only the relevant bits in allocToCache

Currently allocToCache ham-handedly calls pageAlloc.allocRange on the
full size of the cache. Th...

github.com/hack-pad/go - 6d1fffac6388d965616520eb23f36885760d5b66 authored almost 3 years ago by Michael Anthony Knyszek <[email protected]>
runtime: update and access scavengeGoal atomically

The first step toward acquiring the heap lock less frequently in the
scavenger.

Change-Id: Idc6...

github.com/hack-pad/go - fc5e8cd6c9de00f8d7da645343934c548e62223e authored almost 3 years ago by Michael Anthony Knyszek <[email protected]>
internal/fuzz: fix internal error handling

This doesn't handle every possible scenario,
but improves the one we can control. For example,
i...

github.com/hack-pad/go - 9b2dd1f7714b38f1bfe25676357b62c1bb4cad64 authored almost 3 years ago by Katie Hockman <[email protected]>
internal/buildcfg: enable the pacer redesign by default

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

github.com/hack-pad/go - 961aab26bffece299f1528b44d260ea0a921ac56 authored almost 3 years ago by Michael Anthony Knyszek <[email protected]>
runtime: implement GC pacer redesign

This change implements the GC pacer redesign outlined in #44167 and the
accompanying design docu...

github.com/hack-pad/go - a108b280bc724779ebaa6656d35f0fb307fb2a9b authored almost 3 years ago by Michael Anthony Knyszek <[email protected]>
cmd/link: don't use label symbol for absolute address relocations on ARM64 PE

On ARM64 PE, when external linking, the PE relocation does not
have an explicit addend, and inst...

github.com/hack-pad/go - 988efd58197205060ace508d29984fbab6eb3840 authored almost 3 years ago by Cherry Mui <[email protected]>
internal/fuzz: improve minimizing message

In order to know the actual number of bytes
of the entire corpus entry, the coordinator
would li...

github.com/hack-pad/go - 5af93a2d1556226656f003f65ac1de034b8fb55f authored almost 3 years ago by Katie Hockman <[email protected]>
net/netip: fix various typos in comment

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

github.com/hack-pad/go - b2149ac336987940b3f14c50c064a43bf9a761de authored almost 3 years ago by jiahua wang <[email protected]>
runtime: clear upper half of sec in ARM walltime

https://golang.org/cl/246763 accidentally changed this to assign the old
value of vdsoPC to the ...

github.com/hack-pad/go - 577287728a8e8abbcbc6c96fdd49feb5a99ced0c authored almost 3 years ago by Michael Pratt <[email protected]>
cmd/pprof: update vendored github.com/google/pprof

Pull in the latest published version of github.com/google/pprof
as part of #36905.

This adds th...

github.com/hack-pad/go - 6e7b82a4bbd08e5724a29e204faf97342a0b6a15 authored almost 3 years ago by Dmitri Shuralyov <[email protected]>
cmd/compile/internal/types2: check non-generic conversions first

This enables the elimination of convertibleToImpl again,
with the code structure close to the or...

github.com/hack-pad/go - f934b8326f18c4be2cb26ed1e87621d926ba209b authored almost 3 years ago by Robert Griesemer <[email protected]>
cmd/compile: don't inline fn with no shape params, but passed a shape arg

Don't inline a function fn that has no shape parameters, but is passed
at least one shape arg. T...

github.com/hack-pad/go - 6ba68a0581d537edfd6eb2e5675c408f18eb4eed authored almost 3 years ago by Dan Scales <[email protected]>
cmd/doc, go/doc: add basic support for generic code

Update cmd/doc and go/doc for the generics, by adding handling for type
parameters and the new e...

github.com/hack-pad/go - 00d6d2037ee1bf4b6959219120b79b7c01244b02 authored almost 3 years ago by Robert Findley <[email protected]>
runtime: allow builtin write function to be redirected with function pointer

The x/sys/windows package currently uses go:linkname for other facilities
inside of runtime that...

github.com/hack-pad/go - 901bf291bc90819cb6dad76064475cf9ecbc9651 authored almost 3 years ago by Jason A. Donenfeld <[email protected]>
net/http: reduce TestClientTimeout_h{1,2} latency

The test had been setting an arbitrary 200ms timeout to allow the
server's handler to set up bef...

github.com/hack-pad/go - a3f7be9b8cee00aa281a0bedeae22b4cd4bc64dd authored almost 3 years ago by Bryan C. Mills <[email protected]>
runtime: do not generate crash dump on Windows 7

It appears Windows 7 ignores WER_FAULT_REPORTING_NO_UI WerSetFlags
API flag.

And now after CL 3...

github.com/hack-pad/go - 2622235a99800d1d7add47c5c138f5efbe51361c authored almost 3 years ago by Alex Brainman <[email protected]>
cmd/compile/internal/types2: implement compiler helper functions without using under

These functions are exported for the compiler and are used after
type checking is finished. Ther...

github.com/hack-pad/go - 2cf85b1fb8b3b6629b834016735ddeaaf7b96fda authored almost 3 years ago by Robert Griesemer <[email protected]>
cmd/compile/internal/types2: minor cleanups in predicates.go

- reordered some functions for better organization
- renamed single arguments typ to t for consi...

github.com/hack-pad/go - 5fd0c49a4d8cd3bfff3c06e17a0fd9c41bc2f64a authored almost 3 years ago by Robert Griesemer <[email protected]>
cmd/compile/internal/types2: rename is_X predicates back to isX (step 2 of 2)

This is s/is_/is/ throughout. No other changes.

Change-Id: I1be77a209133edc68a6dec0677a4991a768...

github.com/hack-pad/go - ad2044a498cbbb211fe14fd4eeb0a63709363cfc authored almost 3 years ago by Robert Griesemer <[email protected]>
cmd/compile/internal/types2: rename isX predicates to allX, add simple is_X (step 1 of 2)

Rename the isX predicates to allX to clearly identify that these
predicates are looking inside t...

github.com/hack-pad/go - 9e4e23c724bc2145c5aee6edf3ec60cc322047cc authored almost 3 years ago by Robert Griesemer <[email protected]>
cmd/compile/internal/types2: remove qualification from type parameter strings

This is a clean port of CL 360938 from go/types to types2.

For #49215.

Change-Id: If20779c862b...

github.com/hack-pad/go - 747e4afe0756cefd4281ba77855c6666e07beabf authored almost 3 years ago by Robert Griesemer <[email protected]>
cmd/compile: fix missing update source type in storeArgOrLoad

After removing trivial wrapper types, the source needs to be updated
with new type, otherwise, i...

github.com/hack-pad/go - bd49a998bf68609259c155cd7b9f4ed76d948a0d authored almost 3 years ago by Cuong Manh Le <[email protected]>
syscall: fix and document uses of RegEnumKeyEx

RegEnumKeyEx has an undocumented requirement that subsequent calls need
to be made from the same...

github.com/hack-pad/go - d9bb5f6f109a4342c52958f30acfc3f3d633ee4f authored almost 3 years ago by Michael Anthony Knyszek <[email protected]>
cmd/compile: add extra test for the non-mono pass

Just add a test for another function that is not monomorphisable, which
comes from the Featherwe...

github.com/hack-pad/go - 240df188d67edc3df498a77bf99d3152244c14ab authored almost 3 years ago by Dan Scales <[email protected]>
go/types: remove qualification from type parameter strings

Type parameters only exist within the scope of a type or function
declaration, so there is reall...

github.com/hack-pad/go - e72d7150cb7f62edf6768ac5f33194d7f96443a1 authored almost 3 years ago by Robert Findley <[email protected]>
cmd/trace: use fmt.Print for newline-ending fixed string

This redundancy is now caught by the improved printf vet checker.

Updates #49322

Change-Id: Ic...

github.com/hack-pad/go - 1292e212416f5bca1f32d3ec0679b7dae97f6f1b authored almost 3 years ago by Zvonimir Pavlinovic <[email protected]>
cmd/compile/internal/syntax: better error message when type parameters are not permitted

Fixes #48382.

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

github.com/hack-pad/go - a419f2f5c364031e2f65a9f031e8bb52e9c22fc9 authored almost 3 years ago by Robert Griesemer <[email protected]>
cmd/cover: use fmt.Print for newline-ending fixed string

This redundancy is now caught by the improved printf vet checker
(golang/go#30436).

Updates #49...

github.com/hack-pad/go - 9cf671106721451af4a556dc0bf56c133836d008 authored almost 3 years ago by Zvonimir Pavlinovic <[email protected]>
syscall: unify unix Recvmsg epilogues

These were identical. This is a preliminary step
towards remove allocs per UDP receive.

Change-...

github.com/hack-pad/go - 91962dfde1a754a0ccdc514c9a2acfae25fc1f5e authored almost 3 years ago by Josh Bleecher Snyder <[email protected]>
syscall: unify unix Sendmsg prologues

These were identical. This is a preliminary step
towards remove allocs per UDP send.

Change-Id:...

github.com/hack-pad/go - be0cd9e5ec01141def07412b0ef3fa0d3f8cba9d authored almost 3 years ago by Josh Bleecher Snyder <[email protected]>
internal/poll: remove alloc sending IPv6 UDP on Windows

This was an oversight in CL 331511.

Change-Id: Ibc20bf6ea80a8675d43d9691ed551dffab1d9215
Review...

github.com/hack-pad/go - 604963052072d7895138c78751c477cf25625e7d authored almost 3 years ago by Josh Bleecher Snyder <[email protected]>
net/netip: fix various typos in comments

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

github.com/hack-pad/go - fa19146038e0e94480c93d43e2a8306c419d5119 authored almost 3 years ago by Jason A. Donenfeld <[email protected]>
database/sql: fix tx.Prepare documentation

Fixes: #45978
Change-Id: I3d5ccd621d670f97bb1a642b4e84b6629347a315
Reviewed-on: https://go-revie...

github.com/hack-pad/go - 283373d124b39be62fb4dc0349ddf0cb1c99aeb7 authored almost 3 years ago by Mostafa Solati <[email protected]>
database/sql: use errors.Is when checking ErrBadConn

When drivers return driver.ErrBadConn, no meaningful
information about what the cause of the pro...

github.com/hack-pad/go - 1f368d5b860b178bcbd55dfeb64474295263516b authored almost 3 years ago by Daniel Theophanes <[email protected]>
syscall: migrate new UDP send/recv API to internal/syscall/unix

CL 331490 and friends added new API to package syscall.
This was a mistake that we need to fix b...

github.com/hack-pad/go - d3f5dd57811ca6c55654e67c58cf594fc2e5091e authored almost 3 years ago by Josh Bleecher Snyder <[email protected]>
cmd/compile: fix up shape type package

Use go.shape instead of .shape as the package the compiler uses
to store shape types.

Prevent p...

github.com/hack-pad/go - 7f2463cc363fe8dbcbb89d521d1ede650de86c9b authored almost 3 years ago by Keith Randall <[email protected]>
database/sql: Fix idle connection reuse

Fix idle connection reuse so that ConnMaxIdleTime clears down excessive
idle connections.

This ...

github.com/hack-pad/go - 74f99d0933d5c201fc17d90ab612cd1a9c7d425f authored almost 3 years ago by Steven Hartland <[email protected]>
runtime: on windows, read nanotime with one instruction or issue barrier

On 64-bit, this is more efficient, and on ARM64, this prevents the time
from moving backwards du...

github.com/hack-pad/go - cfd016df1fba2a2a104f4cca705aa4357777986b authored almost 3 years ago by Jason A. Donenfeld <[email protected]>
cmd/compile: make pointers to arrays their own shape

Pointers to arrays can be used to cast from a slice. We need
the shape of such type params to be...

github.com/hack-pad/go - d4e0e8e4a41e5e1e7d0359287a1015791ce778ed authored almost 3 years ago by Keith Randall <[email protected]>
internal/fuzz: improve error for mismatched types

Fixes #48635

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

github.com/hack-pad/go - e0e6e4d23fe840c2c9b4caed30930cad6788b797 authored almost 3 years ago by Katie Hockman <[email protected]>
runtime/pprof: disable GC during calibration test

TestCPUProfileMultithreadMagnitude compares Go's CPU profile against the
OS's accounting of the ...

github.com/hack-pad/go - 5f0e5d21bb1f2c1baf15bfd90ad5b090b88e6292 authored almost 3 years ago by Rhys Hiltner <[email protected]>
test/typeparam: add test for indexing on typeparams with various constraints

Add test for indexing on variables whose types are constrained to
various kinds of types.

Chang...

github.com/hack-pad/go - c143661568dc23badd4ba04f4193658fc1fd9c33 authored almost 3 years ago by Dan Scales <[email protected]>
all: add support for c-archive and c-shared on linux/riscv64

This provides the runtime glue (_rt0_riscv64_linux_lib) for c-archive and c-shared
support, alon...

github.com/hack-pad/go - 6458b2e8db7c4529248934f7e491df02d1e89318 authored almost 3 years ago by Joel Sing <[email protected]>
cmd/asm,cmd/compile,runtime: stop using X3 (aka GP) on riscv64

The X3 (aka GP) register will potentially be loaded with the __global_pointer$ symbol
during pro...

github.com/hack-pad/go - 5b213178e72b6031c9ec790bf9fe784c66b397e3 authored almost 3 years ago by Joel Sing <[email protected]>
cmd/compile/internal/types2: port nomono check from go/types

Same logic as CL 357449 (including CL 360815), just ported to types2.

Updates #48098.

Change-I...

github.com/hack-pad/go - 519c0a2323700934cbec97b75df92917108548be authored almost 3 years ago by Matthew Dempsky <[email protected]>
runtime: install sigPreempt signal handler for c-archive/c-shared

Fixes #49288

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

github.com/hack-pad/go - a4b2c579e92c001287fd7b549bc9f67bcf2bfe7b authored almost 3 years ago by Ian Lance Taylor <[email protected]>
cmd/compile/internal/types2: report cause for failing const conversions

Follow-up on CL 360396.

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

github.com/hack-pad/go - 8f0ca7dc720b7197c91e02c8cef6e19ad95978d0 authored almost 3 years ago by Robert Griesemer <[email protected]>
go/types: report cause for failing const conversions

This is a port of CL 360795 to go/types. Error messages were adjusted
accordingly, with a TODO t...

github.com/hack-pad/go - 49a00631b118834010e4d0124ccc04eeaf2cd7ac authored almost 3 years ago by Robert Findley <[email protected]>
go/types: fix indexing of generic types

This is a clean port of CL 360603 to go/types.

Change-Id: Iadb312f07e509ff83339d5525765b7b7987b...

github.com/hack-pad/go - 2b81b863a258decaaca26ab4c01bfd070cc01ebe authored almost 3 years ago by Robert Findley <[email protected]>
go/types: adjust printing of type parameter in error

This is a clean port of CL 360514 to go/types.

Change-Id: Ia13638b3758b3b8017867934d09136ac5f9a...

github.com/hack-pad/go - d6f7203a3c63276680457b9794191a366a1a4401 authored almost 3 years ago by Robert Findley <[email protected]>
go/types: fix conversions of constants to type parameter

This is a port of both CL 360396 and CL 360796 to go/types. The latter
is added to avoid introdu...

github.com/hack-pad/go - 32d27527a6dfb45a98d47a4a9ac5341028d79aa1 authored almost 3 years ago by Robert Findley <[email protected]>
runtime/asan: declare asan reporting functions in C

Fixes #49287

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

github.com/hack-pad/go - a0f373ca08b05eb97e4bff7e8710c023d94231c3 authored almost 3 years ago by Ian Lance Taylor <[email protected]>
cmd/compile: remove TODO that is no longer relevant

types2 methods are now sorted in the same way as types1, so this TODO is
no longer needed. (Com...

github.com/hack-pad/go - eb63cbd2950e703ff2a6bd04330e97dc76c7923d authored almost 3 years ago by Dan Scales <[email protected]>
doc/go1.18: remove some redundancy from netip docs

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

github.com/hack-pad/go - 2157498dfee125e43cc37cad622fb7d2115dd3a8 authored almost 3 years ago by Brad Fitzpatrick <[email protected]>
go/types: differently named types are not assignable

This is a clean port of CL 360274 to go/types.

Change-Id: Idfa584fab95f7226e10b1a7c5b06d56a0bf9...

github.com/hack-pad/go - 42e6b5bce2d027d4fcc4a7358b97a468494855d8 authored almost 3 years ago by Robert Findley <[email protected]>
go/types: disallow lone type parameter on RHS of type declaration

This is a clean port of CL 359177 to go/types.

Change-Id: I6c1574e3a1c23ea326eb8d4aacea0e784157...

github.com/hack-pad/go - ea403bc237657e160e628e2670bbbb62016bf2b2 authored almost 3 years ago by Robert Findley <[email protected]>
go/types: implement singleType and structure (type)

This is a clean port of CL 359015 to go/types.

Change-Id: Iea4e3bfe0a4ae0e5a9052cb6e66c01405bd5...

github.com/hack-pad/go - 80065cf2f6cdf56616c87036af91afa7f2fb2913 authored almost 3 years ago by Robert Findley <[email protected]>
go/types: rename isNamed predicate to hasName

This is a clean port of CL 358621 to go/types.

Change-Id: I4e858b1b70cff69b6e0e76bb8a58a70ff549...

github.com/hack-pad/go - 60fd3ed2b167e4bb823600ea6862758a222a48c2 authored almost 3 years ago by Robert Findley <[email protected]>
go/types: clean up asT converters (step 2 of 2)

This is a clean port of CL 358774 to go/types.

Change-Id: Icba54336de2b8de7c2002d2a44cac8569071...

github.com/hack-pad/go - 1012bc810fcd3076015edf947785e54ec6b1d766 authored almost 3 years ago by Robert Findley <[email protected]>
errors: improve wording in As doc comment

"so" didn't have an antecedent.

Change-Id: I27f7b334decea7bc34bfa3f3f2d3a79874c6fe90
Reviewed-o...

github.com/hack-pad/go - 79024cf33d0cea53a0c75f428d79a9f971f12b5b authored almost 3 years ago by Josh Bleecher Snyder <[email protected]>
archive/zip: don't panic on (*Reader).Open

Previously, opening a zip with (*Reader).Open could result in a panic if
the zip contained a fil...

github.com/hack-pad/go - b24687394b55a93449e2be4e6892ead58ea9a10f authored almost 3 years ago by Jason7602 <[email protected]>
go/types: clean up asT converters (step 1 of 2)

This is a port of CL 358597 to go/types. A comment was missing in the
base of applyTypeFunc, whi...

github.com/hack-pad/go - b29182b54ac343bbc58a30357d9df908f1c3b727 authored almost 3 years ago by Robert Findley <[email protected]>
syscall: fix finalizer fd close bugs in TestFcntlFlock and TestPassFD

Currently, the syscall test suite takes very little time to run. It
stands to reason that pretty...

github.com/hack-pad/go - 7c9510ef3ec4b1008b599c9c8a0ec9adaba4b663 authored almost 3 years ago by Michael Anthony Knyszek <[email protected]>
go/types: avoid closure allocations in mono check

This CL replaces monoEdge's "report" field with fields "pos" and
"typ", and pushes the logic for...

github.com/hack-pad/go - c45c32b1cd6ba635fda3add12f48766fd6aef5d8 authored almost 3 years ago by Matthew Dempsky <[email protected]>
net/http: deflake TestServerKeepAlivesEnabled_h{1,2}

This test assumes that two successive TCP connections will use different
source ports. This does...

github.com/hack-pad/go - 1011e26b9cec8b5e7b0b827805b2fe079904521a authored almost 3 years ago by Damien Neil <[email protected]>
cmd/compile/internal/abi: fix some typos in comments

Fix a few types in the header comment for 'ComputePadding'.

Change-Id: If38911e6dcbec571845ae44...

github.com/hack-pad/go - 80a7968842895a5c05efa6464ce49b62413436c1 authored almost 3 years ago by Than McIntosh <[email protected]>
net: add ReadFromUDPAddrPort

It is now possible to do completely allocation-free UDP.

This is implemented completely separat...

github.com/hack-pad/go - c702f91b38f98c98a12b9933dce42dbd500e21fd authored almost 3 years ago by Josh Bleecher Snyder <[email protected]>
net: optimize WriteToUDPAddrPort

See the recent change optimizing WriteMsgUDPAddrPort
for an explanation of why this change inclu...

github.com/hack-pad/go - 433ba582f7c72636066ec92679a325b7ee15297c authored almost 3 years ago by Josh Bleecher Snyder <[email protected]>
net: add BenchmarkWriteToReadFromUDPAddrPort

The main item of interest is the allocs.

BenchmarkWriteToReadFromUDPAddrPort-8 237735 ...

github.com/hack-pad/go - 0b37bd9b3f7556d31061c6007afca59ffe2642d3 authored almost 3 years ago by Josh Bleecher Snyder <[email protected]>
cmd/compile: mark type descriptors as always dupok

The types of the two interfaces should be equal, but they aren't.
We end up with multiple descri...

github.com/hack-pad/go - 79c5240799e02feeacfdde3472f22b4b0401f3c7 authored almost 3 years ago by Keith Randall <[email protected]>
debug/gosym: bulk allocate Syms

name old time/op new time/op delta
115/NewLineTable-8 80.7ns ± 1% 81....

github.com/hack-pad/go - f7a95d2c17c2b2506034d519b68a267c944f6450 authored almost 3 years ago by Josh Bleecher Snyder <[email protected]>
cmd/go: disallow profile flags when using -fuzz

Disallow the usage of coverprofile, blockprofile, cpuprofile, memprofile,
mutexprofile, and trac...

github.com/hack-pad/go - 629ffebd451613b32e6b9578ff4c807791197b38 authored almost 3 years ago by Roland Shoemaker <[email protected]>
go/types: add check that code is monomorphizable

This CL adds a check to ensure that generic Go code doesn't involve
any unbounded recursive inst...

github.com/hack-pad/go - 4ec52e363e93baa859cbdec23f997a489cfeca11 authored almost 3 years ago by Matthew Dempsky <[email protected]>
comd/compile/internal/types2: add missing nil check in const conversion

Follow-up on CL 360396.

Fixes #49296.

Change-Id: Ie08f86ae884da4cfd5db557cbf4f721a237dc39f
Rev...

github.com/hack-pad/go - 7548327374844719bf90cce199e7fa4b43b94e2b authored almost 3 years ago by Robert Griesemer <[email protected]>
bytes: test for page boundary crosses on sep of Index

Improve TestIndexNearPageBoundary to verify needles
ending on a page boundary don't cause a segf...

github.com/hack-pad/go - 4e7dd9fc08fb5aa86773b65d865719d96f67f49d authored almost 3 years ago by Paul E. Murphy <[email protected]>
go/types: generalize assignability to generic types

This is a port of CL 357917 to go/types. Some error messages in
assignability.go2 had to be adju...

github.com/hack-pad/go - 62b29b035948c08041e4218d0b176d057c8a6f6f authored almost 3 years ago by Robert Findley <[email protected]>
go/types: clarify is/underIs semantics and implementation

This is a port of CL 358594 to go/types. Some code in conversions.go had
to be trivially reorgan...

github.com/hack-pad/go - af8aafd570bca4f78b434e7633bf33b6e186931c authored almost 3 years ago by Robert Findley <[email protected]>
go/types: better error messages for empty type sets

This is a clean port of CL 358175 to go/types.

Change-Id: If1b4e51d1579fd168e651d79d031335ff09c...

github.com/hack-pad/go - c406380fa984d14a1f104fd2502d832565b45eb2 authored almost 3 years ago by Robert Findley <[email protected]>
runtime: check amd64 microarchitecture level at startup

Make Go runtime throw if it's been compiled to assume instruction
set extensions that aren't ava...

github.com/hack-pad/go - 8c8baad927b2fd0bca589bacab658fe0f7eb5dac authored almost 3 years ago by vpachkov <[email protected]>
cmd/compile: explain special treatment when rewrite slice literal args

Followup discussion in CL 360055.

Change-Id: I36212c2a497b152d01ed86d244d5f57bd34a64a6
Reviewed...

github.com/hack-pad/go - 58fb05a24a756a9a4386faff977e6495cdccb12f authored almost 3 years ago by Cuong Manh Le <[email protected]>
cmd/compile: fix rewriting slice literal call argument

When seeing Key:Value expression in slice literal, the compiler only
needs to emit tmp var for t...

github.com/hack-pad/go - f2ff1c6074b1591c231f8f6b3394f9700cac7fad authored almost 3 years ago by Cuong Manh Le <[email protected]>
Revert "runtime: fix missing pprof labels"

This reverts CL 351751.

Reason for revert: new test is failing on many builders.

Change-Id: I0...

github.com/hack-pad/go - c6a0b6f2de9a778b03a29c656531617a606761f0 authored almost 3 years ago by Bryan C. Mills <[email protected]>
cmd/compile/internal/types2: fix indexing of generic types

Correctly track if the index expression is addressable.
Rewrote code slightly.

Fixes #49275.

C...

github.com/hack-pad/go - f801da7855d3a82cc415279262e6b1ca7df39e5f authored almost 3 years ago by Robert Griesemer <[email protected]>
cmd/compile/internal/types2: adjust printing of type parameter in error

For constraint type inference failures where the type parameter doesn't
match the constraint, pr...

github.com/hack-pad/go - 599de4b2c348738a5d6d2f5d475c74ac835e091a authored almost 3 years ago by Robert Griesemer <[email protected]>
cmd/compile/internal/types2: fix conversions of constants to type parameter

When converting a constant to a type parameter, the result is never
constant (type parameters ar...

github.com/hack-pad/go - d39c8739662835b2f92894a8550bbcd59f83557f authored almost 3 years ago by Robert Griesemer <[email protected]>
internal/fuzz: minimize bytes to be human readable

Try to replace every byte with one of the following printable
characters: "012789ABCXYZabcxyz !\...

github.com/hack-pad/go - c3cb1ecc36512a00492f27fa3ba19e5dad6194f1 authored almost 3 years ago by Amelia Downs <[email protected]>
runtime: fix missing pprof labels

Use gp.m.curg instead of the gp when recording cpu profiler stack
traces. This ensures profiler ...

github.com/hack-pad/go - da7173a2ed637c803b8ff59d0c948e7c7d056c50 authored almost 3 years ago by Felix Geisendörfer <[email protected]>
syscall: remove GOMAXPROCS change in TestExecHelper

TestExec and TestExecHelper check for a workaround of a particular OS
bug on darwin that's trigg...

github.com/hack-pad/go - 4d7bf41bebc7ad4f71150b8b57fca12aff6da144 authored almost 3 years ago by Michael Anthony Knyszek <[email protected]>
A+C: add Leonard Wang (individual CLA)

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

github.com/hack-pad/go - 088bb4bf4ad851a7f9a0d409e2f64c483cb7121a authored almost 3 years ago by Leonard Wang <[email protected]>
cmd/dist: add asan tests in misc/cgo/testsanitizers package

Add asan tests to check the use of Go with -asan option.

Currenly, the address sanitizer in Go ...

github.com/hack-pad/go - 3ee426aefa519b0b2f814a834f5026481c187946 authored almost 3 years ago by fanzha02 <[email protected]>
doc/go1.18: add net/netip

Updates #46518

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

github.com/hack-pad/go - c1ea3395a6fdb2b66e6f445358ca40b78882adce authored almost 3 years ago by Brad Fitzpatrick <[email protected]>
cmd/go, internal/cpu: use internal/godebug in tests

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

github.com/hack-pad/go - 4633b2db4bec605d7920295322d19f895ae89964 authored almost 3 years ago by Brad Fitzpatrick <[email protected]>
runtime: add padding to Linux kernel structures

Go exchanges siginfo and sigevent structures with the kernel. They
contain unions, but Go's use ...

github.com/hack-pad/go - a97c527ac491cc13f6778010a2a81c84642ea1ca authored almost 3 years ago by Rhys Hiltner <[email protected]>
runtime, syscall: add calls to asan functions

Add explicit address sanitizer instrumentation to the runtime and
syscall packages. The compiler...

github.com/hack-pad/go - 6f327f7b889b81549d551ce6963067267578bd70 authored almost 3 years ago by fanzha02 <[email protected]>