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

runtime: convert p.statsSeq to internal atomic type

For #53821.

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

github.com/hack-pad/go - 2883af63c28d1a4398cd60745d3c0cb7f7fbdacf authored about 2 years ago by hopehook <[email protected]>
cmd/compile: align stack offset to alignment larger than PtrSize

In typebits.Set we check that the offset is a multiple of the
alignment, which makes perfect sen...

github.com/hack-pad/go - 1211a62bdcb0f070c5082255bcc90e1a14c16bb2 authored about 2 years ago by Cherry Mui <[email protected]>
reflect: FuncOf support more than 50 arguments

Fixes #54669

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

github.com/hack-pad/go - d7a3fa120db1f8ab9e02ea8fccd0cc8699bf9382 authored about 2 years ago by cuiweixie <[email protected]>
go/types: provide a better error message for [...] array types

This matches types2 behavior.

For #54511.

Change-Id: Iea906e9fec7e334b7aa7f481de87373fa93d1c7c...

github.com/hack-pad/go - 2eba2ff8a1572d7fcba65a5f9d54f73e307a0054 authored about 2 years ago by Robert Griesemer <[email protected]>
go/types: avoid declared but not used error for a couple of cases

The change in typexpr.go matches types2 behavior.

For #54511.

Change-Id: I79c922a94f2ee0440c18...

github.com/hack-pad/go - 27006657fad10d195dd0f5d5719e49a4e5811f4a authored about 2 years ago by Robert Griesemer <[email protected]>
runtime: convert netpollWaiters to internal atomic type

Updates #53821

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

github.com/hack-pad/go - aab8d2b448c4855a4e4a9c2d477671a75828f78b authored about 2 years ago by Andy Pan <[email protected]>
go/types: remove support for "ERROR HERE" error markers in tests

There are only two tests that rely on the "ERROR HERE" markers;
yet those tests are trivialy adj...

github.com/hack-pad/go - 73a55c17049a2c12e5368790e178c32363743dd8 authored about 2 years ago by Robert Griesemer <[email protected]>
cmd/trace: display goroutines (PC=0) with clearer description

This PR fixes: #54425 #49994

Change-Id: Id60a3ba6930f8e29b12b6d8f80945decd2ce31bc
GitHub-Last-R...

github.com/hack-pad/go - 04eb35998a3a999c830969f802744ab9274714a8 authored about 2 years ago by hitzhangjie <[email protected]>
runtime: update gctrace docs and print lastStackScan instead of max

This change updates the gctrace docs to include stacks and globals in
the format line, and print...

github.com/hack-pad/go - 56bdf7f7d91cc5fa40e9e6ec0e3da3733f0e2e4e authored about 2 years ago by Michael Anthony Knyszek <[email protected]>
crypto/x509: don't panic marshaling invalid ECDSA keys

MarshalPKIXPublicKey, CreateCertificate, CreateCertificateRequest,
MarshalECPrivateKey, and Mars...

github.com/hack-pad/go - f64f12f0b32eba7d49c259480e0fa0c79eb47600 authored about 2 years ago by Filippo Valsorda <[email protected]>
go/parser: match go/defer error message of syntax package

Adjust corresponding type checker tests accordingly.

For #54511.

Change-Id: Ieaf29f26c0877973f...

github.com/hack-pad/go - b9bf82465569397191a62c4e4fb9a7d1013a2e64 authored about 2 years ago by Robert Griesemer <[email protected]>
path/filepath, io/fs: add SkipAll

Fixes #47209

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

github.com/hack-pad/go - 95a786da1265d84290c1a0d1186352f71475ff9f authored about 2 years ago by Paschalis Tsilias <[email protected]>
cmd/compile/internal/noder: fix inlined function literal positions

When inlining function calls, we rewrite the position information on
all of the nodes to keep tr...

github.com/hack-pad/go - 6a801d3082c6ab28372c115d13ef0c238e3535ae authored about 2 years ago by Matthew Dempsky <[email protected]>
testing: add Elapsed method to testing.B

Elapsed returns the measured elapsed time of the benchmark,
but does not change the running stat...

github.com/hack-pad/go - 396b153ec454cd427f97be4d994a903e2c4b244f authored about 2 years ago by hopehook <[email protected]>
go/types: match types2 string when printing composite literals

Given a composite literal type S, rather than always printing
(S literal) for a composite litera...

github.com/hack-pad/go - 83b5fe63514411f425061967fd8c1d506f2ac40f authored about 2 years ago by Robert Griesemer <[email protected]>
crypto/tls: support ECDHE when ec_point_formats is missing

Fixes #49126

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

github.com/hack-pad/go - 1df2a03b17b4496bddfb482ec45b2a29c20e5249 authored about 2 years ago by Filippo Valsorda <[email protected]>
runtime: mark morestack_noctxt SPWRITE on LR architectures

On LR architectures, morestack (and morestack_noctxt) are called
with a special calling conventi...

github.com/hack-pad/go - e4be2ac79f3cc7219ae1cf8334463d11cae24e01 authored about 2 years ago by Cherry Mui <[email protected]>
misc/cgo/testsanitizers: determine compiler version for tsan tests on ppc64le

Some tests in misc/cgo/testsanitizers had been disabled on ppc64le
until recently, due to an int...

github.com/hack-pad/go - d4ff25ac69c90bb0e6a92aff7650d0bf3d41d29e authored about 2 years ago by Lynn Boger <[email protected]>
go/types, types2: add more tests for unsafe.Slice/SliceData/String/StringData

Also:
- fine-tune the implementation for some of the new builtin functions
- make sure the go/ty...

github.com/hack-pad/go - 8c8429fe4113b399355c11203e60e6b37bc823ba authored about 2 years ago by Robert Griesemer <[email protected]>
go/types,types2: add support for unsafe.{String,StringData,SliceData}

For #53003
Change-Id: Id3125268523fed855ffac20cde6128010e3513f0
Reviewed-on: https://go-review.g...

github.com/hack-pad/go - ba5deb408f50f31a872f114c5ef7b52090e4b753 authored about 2 years ago by cuiweixie <[email protected]>
go/internal/gcimporter: call Complete on cloned Interfaces too

For "type T interface{ M() }", go/types users expect T's underlying
interface type to specify T ...

github.com/hack-pad/go - e4bed415ead32ece0acb396f025d3338fab5029d authored about 2 years ago by Matthew Dempsky <[email protected]>
go/internal/gcimporter: call Interface.Complete in unified importer

To support concurrent use of the go/types API, importers need to call
Interface.Complete on cons...

github.com/hack-pad/go - bdf2db7255565db3d7ca1ffb721203e6d9460ccc authored about 2 years ago by Matthew Dempsky <[email protected]>
doc/go1.20: populate initial TODOs via relnote

Add content generated by 'relnote -html'. This covers all of known
TODOs available by 2022-08-24...

github.com/hack-pad/go - 8188bf69f0815f7fdbf6db4b08eb54daec0d006a authored about 2 years ago by Dmitri Shuralyov <[email protected]>
cmd/compile: deadcode for LoweredMuluhilo on riscv64

This is a follow up of CL 425101 on RISCV64.

According to RISCV Volume 1, Unprivileged Spec v. ...

github.com/hack-pad/go - b60432df143475b575a9da1f2a179ac35c399ed0 authored about 2 years ago by Wayne Zuo <[email protected]>
doc: start draft Go 1.20 release notes

This initial release notes template is based on previous releases.
CL 425354 adds initial conten...

github.com/hack-pad/go - cfae70ccb141ffc3c087bc0b5f927acbdb934c6f authored about 2 years ago by Dmitri Shuralyov <[email protected]>
net/http: remove unused doneChan

The https://golang.org/cl/43230 removed use of `getDoneChan`.

Change-Id: I33390c0e3aea6d9836736...

github.com/hack-pad/go - 8a86b94aefd33bd720a337a645da8b23047b1381 authored about 2 years ago by Alexander Yastrebov <[email protected]>
cmd/go: skip link_syso tests in short mode

These tests invoke the system C compiler and linker.
Skipping them saves a little over half a se...

github.com/hack-pad/go - 2fc21b50e4c19d60ad7c91bcfe6488e0f13abde3 authored about 2 years ago by Bryan C. Mills <[email protected]>
cmd/go/internal/work: make NewBuilder safe for concurrent and repeated use

Ever since 'go build' was added (in CL 5483069), it has used an atexit
handler to clean up worki...

github.com/hack-pad/go - 55d96f98ef139daa8d5f362668271751cf59f8e1 authored about 2 years ago by Bryan C. Mills <[email protected]>
cmd/go: avoid overwriting cached Origin metadata

Fixes #54631.

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

github.com/hack-pad/go - 308352936712476f450aaeac13166f2de019de65 authored about 2 years ago by Bryan C. Mills <[email protected]>
cmd/go: avoid registering AtExit handlers in tests

Ever since 'go build' was added (in CL 5483069), it has used an atexit
handler to clean up worki...

github.com/hack-pad/go - d5aa088d822bc8ef3ceb80c20184f40fcb9b8d2e authored about 2 years ago by Bryan C. Mills <[email protected]>
cmd/compile: defer transitive inlining until after AST is edited

This CL changes the inliner to process transitive inlining iteratively
after the AST has actuall...

github.com/hack-pad/go - f983a9340d5660a9655b63a371966b5df69be8c5 authored about 2 years ago by Matthew Dempsky <[email protected]>
image/png: have DecodeConfig read tRNS chunks

Fixes #54325

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

github.com/hack-pad/go - b5a9459cd08ec2a74ee4fdabfa4bc1eba0e87e49 authored about 2 years ago by Nigel Tao <[email protected]>
reflect: optimize Value.IsZero

If a struct or array is comparable, then we can leverage rtype.equal,
which is almost always fas...

github.com/hack-pad/go - 1ab6b790be3de2364edc3c15741afe3705f7c358 authored about 2 years ago by Joe Tsai <[email protected]>
encoding/json: move some misplaced benchmark tests to bench_test.go

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

github.com/hack-pad/go - 1a8dfadbfe26978cba0d6ce57bf437a93f796da6 authored about 2 years ago by Andy Pan <[email protected]>
internal/singleflight: make DoChan only return Result channel

So next CL can delete "internal/singleflight" and vendor
"golang.org/x/sync/singleflight" instea...

github.com/hack-pad/go - 75cdd2c75dfa3f8095f9e9304513445d461580d4 authored about 2 years ago by Cuong Manh Le <[email protected]>
net: avoid relying on singleflight.Group.DoChan to detect hook called

So next CLs can revert changes to "internal/singleflight" in CL #82795,
then replace it with "go...

github.com/hack-pad/go - 7ee220c56768021179b7c4be19631be82773b9da authored about 2 years ago by Cuong Manh Le <[email protected]>
cmd/internal/obj/loong64: add MASKEQZ and MASKNEZ instructions support

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

github.com/hack-pad/go - 1dcef7b3bdcea4a829ea22c821e6a9484c325d61 authored about 2 years ago by Wayne Zuo <[email protected]>
runtime/pprof: remove round-to-file-start adjustment

This causes a problem in the test sometimes. With a mapping like:

00400000-00411000 r--p 000000...

github.com/hack-pad/go - aa4299735b78189eeac1e2c4edafb9d014cc62d7 authored about 2 years ago by Keith Randall <[email protected]>
cmd/compile: generic constant folding: Floor Ceil Trunc RoundToEven

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

github.com/hack-pad/go - ab8a2c5e4467f55417f4ade4f8e3f9a867946e40 authored about 2 years ago by Jorropo <[email protected]>
net/url: consistently remove ../ elements in JoinPath

JoinPath would fail to remove relative elements from the start of
the path when the first path e...

github.com/hack-pad/go - 0765da5884adcc8b744979303a36a27092d8fc51 authored about 2 years ago by Damien Neil <[email protected]>
cmd/compile: move SSA rotate instruction detection to arch-independent rules

Detect rotate instructions while still in architecture-independent form.
It's easier to do here,...

github.com/hack-pad/go - 60ad3c48f59c35981dd872ed5dfe74e4d6becab2 authored about 2 years ago by Keith Randall <[email protected]>
cmd/compile: fix error message formatting in decomposeBuiltInPhi

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

github.com/hack-pad/go - a36a0c440e7b3cfd6ede8f1ab1981101e6db8d95 authored about 2 years ago by Jorropo <[email protected]>
all: append(bytes, str...) works out of the box

From the append docs in the builtin package:

As a special case, it is legal to append a string...

github.com/hack-pad/go - 790d60537e0888464a1c8a6f98c20baf2eeacdf2 authored about 2 years ago by Daniel Martí <[email protected]>
net/http/httputil: do not duplicate 'Connection: close' headers

Fixes #54616.

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

github.com/hack-pad/go - 44d057d5818e11982b679a83d54e9a4eac4f823f authored about 2 years ago by Miguel Ángel Jimeno <[email protected]>
syscall: rely on utf16.AppendRune

Using utf16.AppendRune instead of utf16.Encode safe a bunch
of allocations across the board, as ...

github.com/hack-pad/go - d88560afd32d18d8c9c3b31c41ae9877ca292e1d authored about 2 years ago by qmuntal <[email protected]>
debug/plan9obj: don't crash on EOF before symbol type

No debug/plan9obj test case because the problem can only happen for
invalid data. Let the fuzzer...

github.com/hack-pad/go - fc0d423789e3a2e1f84801be14ac657d41c115e4 authored about 2 years ago by Ian Lance Taylor <[email protected]>
debug/macho: don't use narch for seenArches map size

If narch is very large we would allocate a lot of memory for seenArches.
In practice we aren't g...

github.com/hack-pad/go - b72521ee505f5f71002d6e9114d32075c2a3b847 authored about 2 years ago by Ian Lance Taylor <[email protected]>
strconv: optimize Parse for []byte arguments

When one has a []byte on hand, but desires to call the Parse functions,
the conversion from []by...

github.com/hack-pad/go - cf26fbb1f6d9644f447342f42d2dddcbe9ceda61 authored about 2 years ago by Joe Tsai <[email protected]>
bytes: rely on utf8.AppendRune

This is both simpler and more performant.

WriteRune 23.9µs ± 1%...

github.com/hack-pad/go - 70de482d17863e501be44450f8e60500a6f1b459 authored about 2 years ago by Joe Tsai <[email protected]>
runtime: name nil semaphore of pollDesc

Use explicit name pdNil for nil semaphore of a pollDesc to make it self-explanatory like pdReady...

github.com/hack-pad/go - 556c978400245b29c3150ba3a53da489d67f3f7e authored about 2 years ago by Andy Pan <[email protected]>
strings: rely on utf8.AppendRune

This is both simpler and more performant.

Change-Id: I66ef8e49c059a722932392ee3ecfb951d9b8e121
...

github.com/hack-pad/go - 723a27994ddc926a2078bcc23ccbc33857577b4c authored about 2 years ago by Joe Tsai <[email protected]>
encoding/json: give it a chance to put encodeState back in pool when error occurs

name old time/op new time/op delta
CodeEncoderError-10 688...

github.com/hack-pad/go - e7f2e5697ac8b9b6ebfb3e0d059a8c318b4709eb authored about 2 years ago by Andy Pan <[email protected]>
runtime: initialize pointer bits of noscan spans

Some code paths in the runtime (cgo, heapdump) request heap bits
without first checking that the...

github.com/hack-pad/go - a6e6b11e3a443ef532bc9b710e893e111f8ea2a3 authored about 2 years ago by Keith Randall <[email protected]>
runtime: convert ticksType.val to atomic type

Updates #53821

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

github.com/hack-pad/go - e1114fdf883de7484c49343d966fd9759ce48c40 authored about 2 years ago by Cuong Manh Le <[email protected]>
cmd/compile: handle partially overlapping assignments

Normally, when moving Go values of type T from one location to another,
we don't need to worry a...

github.com/hack-pad/go - 332a5981d0ae3f21f668f94755f43ecd8ee9a9eb authored about 2 years ago by Keith Randall <[email protected]>
Revert "cmd/compile: restore test/nested.go test cases"

This reverts CL 424854.

Reason for revert: broke misc/cgo/stdio.TestTestRun on several builders...

github.com/hack-pad/go - 503de697cbb77581bb13dd6e596ac20a9a0d03e5 authored about 2 years ago by Matthew Dempsky <[email protected]>
runtime: fix ppc64 startup on newer linux kernels

R0 needs to be cleared at startup as it may not always be cleared
by the kernel on newer kernels...

github.com/hack-pad/go - 7d1cab12c77a5fed788829b0566db9dfd7866ac9 authored about 2 years ago by Paul E. Murphy <[email protected]>
all: use go/parser.SkipObjectResolution in more places

None of cgo, "go test", nor srcimporter make use of go/ast's object
resolution via go/ast.Object...

github.com/hack-pad/go - ef22285f31ab16ff6751418705b8a7df8e0d661f authored about 2 years ago by Daniel Martí <[email protected]>
encoding/xml: add (*Encoder).Close

Flush can not check for unclosed elements, as more data might be encoded
after Flush is called. ...

github.com/hack-pad/go - 7f632f76db65f28038b8797fbfe5e15a9f63e387 authored about 2 years ago by Axel Wagner <[email protected]>
cmd/go/internal/modload: remove ImportMap and PackageDir

These two functions together duplicated much of the functionality of
modload.Lookup. Use that in...

github.com/hack-pad/go - be9e2440a766f4cd1069945ebd2e527cb7fd7594 authored about 2 years ago by Bryan C. Mills <[email protected]>
cmd/compile: mark booleans as registerizable

Boolean values fit in registers, mark them accordingly. Improves codegen a bit.

compilecmp for ...

github.com/hack-pad/go - de561dc7664c9792964d8fa74a3aa02263ee36b9 authored about 2 years ago by Jakub Ciolek <[email protected]>
cmd/compile: fix unified IR's pointer-shaping

In CL 424734, I implemented pointer shaping for unified IR. Evidently
though, we didn't have any...

github.com/hack-pad/go - 6985ab27dfd10de6d9e119a51c541a2bc1cbcdf7 authored about 2 years ago by Matthew Dempsky <[email protected]>
cmd/compile: fix "expression has untyped type" ICE in generic code

During walk, we sometimes desugar OEQ nodes into multiple "untyped
bool" expressions, and then u...

github.com/hack-pad/go - 0a6e1fa986e04add090afa50b8e566dca40df760 authored about 2 years ago by Matthew Dempsky <[email protected]>
cmd/compile: fix reflect naming of local generic types

To disambiguate local types, we append a "·N" suffix to their name and
then trim it off again wh...

github.com/hack-pad/go - aa6a7fa775d8f38225ad74a622187bbe891eaf1c authored about 2 years ago by Matthew Dempsky <[email protected]>
cmd/compile: restore test/nested.go test cases

When handling a type declaration like:

```
type B A
```

unified IR has been writing out that B...

github.com/hack-pad/go - 72a76ca1f9c195ed39e929cf768d5df5421eada1 authored about 2 years ago by Matthew Dempsky <[email protected]>
time: fix Parse for time zones

The hours, minutes, and seconds fields for time zones
should not have any plus or minus signs.
U...

github.com/hack-pad/go - c94633d2f89119e0f6788db09bd3df5153243f37 authored about 2 years ago by Joe Tsai <[email protected]>
time: fix Parse for empty seconds

The error return value of the seconds field is overwritten
and not checked in the presence of a ...

github.com/hack-pad/go - f9cdc09497af299ef6a4d4d745aa0df4ebfdce52 authored about 2 years ago by Joe Tsai <[email protected]>
time: fix Parse to ignore extra sub-nanosecond digits

This modifies the code to match the comment such that
the behavior truly is identical to stdSeco...

github.com/hack-pad/go - 4e9183cb14bf58011389c8a8c8ccaecd3ef50451 authored about 2 years ago by Joe Tsai <[email protected]>
runtime: move traceStackTable.lock to the system stack

This lock is acquired under trace.lock, which as of CL 418956
(6c2e327e35b) must be acquired on ...

github.com/hack-pad/go - 42794f3871c35d1b3837f78f29d781b6ab1c1a64 authored about 2 years ago by Austin Clements <[email protected]>
cmd/internal/obj/arm64: remove the transition from $0 to ZR

Previously we convert $0 to the ZR register for some reasons, which causes
two problems:
1. Conf...

github.com/hack-pad/go - 9f0f87c806b7a11b2cb3ebcd02eac57ee389c43a authored about 2 years ago by eric fang <[email protected]>
cmd/compile/internal/ssa: optimize memory moving on arm64

This CL optimizes memory moving with LDP and STP on arm64.

Benchmarks:
name old ti...

github.com/hack-pad/go - 0a52d80666ddaa557cec17ad9166e2514b0bb6d4 authored about 2 years ago by eric fang <[email protected]>
encoding/json: rely on utf8.AppendRune

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

github.com/hack-pad/go - 0f42e35feeef606977859039b876773ae5fb4de9 authored about 2 years ago by Joe Tsai <[email protected]>
internal/poll: rely on utf8.AppendRune

This is both simpler and more performant.

Change-Id: I398de29230e578fb7caf1765df7b8fe84d4e8876
...

github.com/hack-pad/go - e0388c92d048fc31b39e133441bd4f6d85959ec4 authored about 2 years ago by Joe Tsai <[email protected]>
net: turn off dns compression for go resolver queries

We don't need compression enabled here, because we only set one question in the dns message. So ...

github.com/hack-pad/go - cd52818487fade395c4d9189ce6e70cc03aeecb2 authored about 2 years ago by Mateusz Poliwczak <[email protected]>
cmd/compile: fix missing typecheck when rewriting abi.FuncPCABIxxx

Discover when running "go test -run=TestNewOSProc0 -gcflags=-d=checkptr"

Change-Id: I988da56fd3...

github.com/hack-pad/go - ae303ff282feed715de0374890737ccdaee1e053 authored about 2 years ago by Cuong Manh Le <[email protected]>
cmd/compile: split Muluhilo op on ARM64

On ARM64 we use two separate instructions to compute the hi and lo
results of a 64x64->128 multi...

github.com/hack-pad/go - 8bf9e014736064de436c411a95467b583f430dea authored about 2 years ago by Cherry Mui <[email protected]>
net/http/cookiejar: remove duplicate words from comments

Change-Id: Id44f587199683fd8018865af1c2442f9f74e0dad
GitHub-Last-Rev: 35b1ab88677586c79918d363f2...

github.com/hack-pad/go - 48da729e8468b630ee003ac51cbaac595d53bec8 authored about 2 years ago by Abirdcfly <[email protected]>
net/http: skip Get flakes in TestClientTimeout tests on windows/arm4

There is already a skip in case of a later failure in the same test on
these platforms. Skip the...

github.com/hack-pad/go - 7f1037c717858439a9d75d6f62c98c835fc72a74 authored about 2 years ago by Bryan C. Mills <[email protected]>
cmd/compile: issue VarDef only for pointer-ful types

Use OpVarDef only when the variable being defined has pointers in it.
VarDef markers are only us...

github.com/hack-pad/go - a74e5f584e96cc89a8f6a1bb1a8cd9fc6ed6e72d authored about 2 years ago by Keith Randall <[email protected]>
cmd/compile: remove OVARDEF and OVARLIVE

Neither are currently used. These concepts only need to exist
in the ssa backend (as ssa.OpVarDe...

github.com/hack-pad/go - a726c9f6620a3fa34d1549706c1151754d385182 authored about 2 years ago by Keith Randall <[email protected]>
cmd/compile: rip out support for OVARKILL from compiler frontend

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

github.com/hack-pad/go - e21c1f789664c11a0f704c87a775e03d705ef9b4 authored about 2 years ago by Keith Randall <[email protected]>
runtime: don't race cmd.Wait and cmd.StdoutPipe read

os/exec.Cmd.Wait closes the read end of os/exec.Cmd.StdoutPipe, meaning
that io.ReadAll can retu...

github.com/hack-pad/go - a10da772a68d692c2c8805b11aba9b6cb9920b15 authored about 2 years ago by Michael Pratt <[email protected]>
image/gif: avoid decoding past the first frame in decode()

The existing decode() method offers the ability to keep just one
frame of the GIF image, however...

github.com/hack-pad/go - b4c124af1e2953e010200fe50651f5ffc967a346 authored about 2 years ago by Chris Gillis <[email protected]>
internal/xcoff: better handling of malformed symbol tables

Check for malformed data when reading the number of aux
symbols associated with a symbol table e...

github.com/hack-pad/go - db3e915af2f5053c96ad1f33502a752768965676 authored about 2 years ago by Than McIntosh <[email protected]>
go/token: make mutex locking in unpack cheaper

I was profiling the cpu usage of go/printer's only benchmark,
and found that token.File.Unpack w...

github.com/hack-pad/go - bdecfcb5fcc8705df7d2130310cf6b395f24e4c8 authored about 2 years ago by Daniel Martí <[email protected]>
internal/saferio: avoid returning io.EOF from ReadData if data was read

ReadData follows the error semantics of io.ReadFull for small sizes,
it should do so as well for...

github.com/hack-pad/go - fc34fdb4154ac40711209e9234639285e071daa9 authored about 2 years ago by Joe Tsai <[email protected]>
misc/cgo/test: disable setgid tests with musl

We don't have a good musl detection mechanism, so we detect Alpine (the
most common user of musl...

github.com/hack-pad/go - 6bdca82030779e3b9032324e68a3feacb85bc9bc authored about 2 years ago by Michael Pratt <[email protected]>
debug/buildinfo: add regression tests for different buildmodes

Updates #48187

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

github.com/hack-pad/go - 761db3e7f07ec358323589eab72b153339036086 authored about 2 years ago by qmuntal <[email protected]>
text/template: compare reflect.Value instances differently

To avoid false positives from the reflectvaluecompare checker #43993

Use v.IsValid() instead of...

github.com/hack-pad/go - 9a9aad449fddb1d3f66e6200d2c6c63a0eed63a4 authored about 2 years ago by Keith Randall <[email protected]>
cmd/pprof: fix addr calculation for Windows

This makes it possible to use `disasm` with ASLR windows binaries.

For #46639

Change-Id: I08af...

github.com/hack-pad/go - 8d57f4dcef5d69a0a3f807afaa9625018569010b authored about 2 years ago by Egon Elbre <[email protected]>
runtime/pprof: add memory mapping info for Windows

Fixes #43296

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

github.com/hack-pad/go - 28afa5b1761ba6bb51a4c831e9ee0b9812de8bc5 authored about 2 years ago by Egon Elbre <[email protected]>
misc/cgo/testcarchive: permit SIGQUIT for TestSignalForwardingExternal

Occasionally the signal will be sent to a Go thread, which will cause
the program to exit with S...

github.com/hack-pad/go - d05ce23756573c6dc2c5026d936f2ef6ac140ee2 authored about 2 years ago by Ian Lance Taylor <[email protected]>
debug/pe: fetch section size directly in (*Section).Data

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

github.com/hack-pad/go - f3563bc55c7029473aeaf228171ecd06f1317532 authored about 2 years ago by Ian Lance Taylor <[email protected]>
go/internal/gcimporter: use saferio to read indexed data

Avoid allocating large amounts of memory for corrupt input.

No test case because the problem ca...

github.com/hack-pad/go - 375a80c9ef521404f1d972ad82719f90bc3a019f authored about 2 years ago by Ian Lance Taylor <[email protected]>
debug/plan9obj: use saferio to read section data

Avoid allocating large amounts of memory for corrupt input.

No test case because the problem ca...

github.com/hack-pad/go - 1c4a80377580a05b9c3f1cccb66baefc01383352 authored about 2 years ago by Ian Lance Taylor <[email protected]>
bytes, strings: s/after/before/ in CutSuffix

This follows on CL 407176 which added this function (in both
packages). This CL makes it consist...

github.com/hack-pad/go - 5f0170f9a529c7113ac12f1270e00e5bdc444803 authored about 2 years ago by Michal Bohuslávek <[email protected]>
runtime/pprof: check Getrusage return value in addMaxRSS

Depending on the implementation of the getrusage syscall/function, the
value of rusage.Maxrss ma...

github.com/hack-pad/go - 2e06019dcd82c1c525c805af687063875d4b223b authored about 2 years ago by Tobias Klauser <[email protected]>
runtime/pprof: report MaxRSS on windows

Use GetProcessMemoryInfo to report MaxRSS in memory profiles on windows.

Change-Id: I4ac5fe5896...

github.com/hack-pad/go - 2cc6983a2103d64cd33a0fb67dc7ea2adcac3ba8 authored about 2 years ago by Tobias Klauser <[email protected]>
go/types: match types2 errors for incorrect method receiver count

Use "method has no receiver" and "method has multiple receivers"
in error messages for invalid r...

github.com/hack-pad/go - dbc3b44f85e638c2247af02548d8b386996f4d37 authored about 2 years ago by Robert Griesemer <[email protected]>
go/types: match types2 errors for missing index expressions

Use "middle" and "final" rather than "2nd" and "3rd" in error messages
for invalid slice express...

github.com/hack-pad/go - 84232b0b89a60d5f66156ddf5cbe9ab64dac4375 authored about 2 years ago by Robert Griesemer <[email protected]>