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/compile: reorder rotate lowering rules in AMD64.rules

These rules should belong to lowering rules not optimizations.

Change-Id: I964d2c4b1d9bef0ede57...

github.com/hack-pad/go - af991a6d28949cd27a41a93b46abf42cbf07023d authored about 2 years ago by Wayne Zuo <[email protected]>
crypto/internal/boring/fipstls: convert required to atomic type

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

github.com/hack-pad/go - 1f8e94e9f65ed807abd934b863234ac7fb421a77 authored about 2 years ago by cuiweixie <[email protected]>
cmd/go: support long commands in asm and cgo

We have supported passing lists of arguments to the compiler and linker
for some time, since htt...

github.com/hack-pad/go - 5bc8fa74f5186dc7898126487c31283d0766a5b4 authored about 2 years ago by Daniel Martí <[email protected]>
go/types,types2: exclude tests that need cgo.Incomplete

Since when go/types,types2 do not know about build constraints, and
runtime/cgo.Incomplete is on...

github.com/hack-pad/go - b5b2cf519fe332891c165077f3723ee74932a647 authored about 2 years ago by Cuong Manh Le <[email protected]>
reflect: fix Value.SetIterXXX to check for the read-only bit

v.SetIterXXX(i) is semantically identical to v.Set(i.XXX()).
If the latter panics for unexported...

github.com/hack-pad/go - 91ef076562dfcf783074dbd84ad7c6db60fdd481 authored about 2 years ago by Joe Tsai <[email protected]>
test: use cgo.Incomplete instead of go:notinheap for "run" tests

Same as CL 421880, but for test directory.

Updates #46731

Change-Id: If8d18df013a6833adcbd40ac...

github.com/hack-pad/go - 64b260dbdefcd2205e74d236a7f33d0e6b8f48cb authored about 2 years ago by Cuong Manh Le <[email protected]>
cmd/compile: reject not-in-heap types as type arguments

After running the types2 type checker, walk info.Instances to reject
any not-in-heap type argume...

github.com/hack-pad/go - ca634fa2c550cd85a1a2cc03c208304ee38c6a82 authored about 2 years ago by Matthew Dempsky <[email protected]>
cmd/compile: use HaveInlineBody for unified IR

In go.dev/cl/419674 I added a mechanism to the inliner to allow
inlining to fail gracefully when...

github.com/hack-pad/go - e4b624eae5fa3c51b8ca808da29442d3e3aaef04 authored about 2 years ago by Matthew Dempsky <[email protected]>
cmd/compile: combine multiple rotate instructions

Rotating by c, then by d, is the same as rotating by c+d.

Change-Id: I36df82261460ff80f7c6d39bc...

github.com/hack-pad/go - 33a7e5a4b49fa04ce6f65b5b0645a44a0c93eaad authored about 2 years ago by Keith Randall <[email protected]>
cmd/compile: redo mknode.go

The current mknode has a few problems:
1) It tends not to run successfully if the tree is in a b...

github.com/hack-pad/go - 5f5c018ca46b6634da9372f5af759cb36fcaed5f authored about 2 years ago by Keith Randall <[email protected]>
cmd/compile: use better splitting condition for string binary search

Currently we use a full cmpstring to do the comparison for each
split in the binary search for a...

github.com/hack-pad/go - 69aed4712d73c9c1b70be3e2e222eb55391e2fb0 authored about 2 years ago by Keith Randall <[email protected]>
cmd/compile: tighten bounds for induction variables in strided loops

for i := 0; i < 9; i += 3

Currently we compute bounds of [0,8]. Really we know that it is [0,6]...

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

For #53821

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

github.com/hack-pad/go - 52d9e7f543f68a46d7a69443a1ad51283d2f0d4f authored about 2 years ago by cuiweixie <[email protected]>
cmd/dist: disable cgo when testing internal linking of PIE

Since when internal linking cgo on some platforms, like android, is not
fully supported.

Update...

github.com/hack-pad/go - ce77a4640561567ab59c481dd917b4f98b723b97 authored about 2 years ago by Cuong Manh Le <[email protected]>
cmd/compile: simplify bounded shift on riscv64

The prove pass will mark some shifts bounded, and then we can use that
information to generate b...

github.com/hack-pad/go - da6556968f3545aa6c4e5a3c3aef151bb9b1d439 authored about 2 years ago by Wayne Zuo <[email protected]>
cmd/compile: remove NEG when used with SEQZ/SNEZ on riscv64

The negation does not change the comparison to zero.

Also remove unnecessary x.Uses == 1 condit...

github.com/hack-pad/go - 971373f56a5e47e523c7ac7f097349b83f5d31b5 authored about 2 years ago by Joel Sing <[email protected]>
cmd/compile: avoid extending floating point comparision on riscv64

The result of these operations are already extended.

Change-Id: Ifc8ba362dda7035d8fd0d40046a96f...

github.com/hack-pad/go - 239115c3efcc54fb4f3f306032af40e03f5c66a8 authored about 2 years ago by Joel Sing <[email protected]>
cmd/compile: avoid extending when already sufficiently masked on riscv64

Removes more than 2000 instructions from the Go binary on linux/risv64.

Change-Id: I6db3e3b1c93...

github.com/hack-pad/go - 9085ff585933d49261372b5a5fdf0686abc163c2 authored about 2 years ago by Joel Sing <[email protected]>
runtime: convert rwmutex.{readerCount,readerWait} to atomic type

For #53821

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

github.com/hack-pad/go - 3f65ddbfd36af7aa0b1e28aebe9eb054462f7d8a authored about 2 years ago by cuiweixie <[email protected]>
cmd/compile: add support for unsafe.{String,StringData,SliceData}

For #53003

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

github.com/hack-pad/go - c7085329367e14f0aa828a3793cf66d9f82f05c2 authored about 2 years ago by cuiweixie <[email protected]>
runtime: convert worldIsStopped to atomic type

For #53821

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

github.com/hack-pad/go - 301ca7513f427f6511fb67cc0385151403cd1729 authored about 2 years ago by cuiweixie <[email protected]>
internal/poll, internal/syscall/unix, net, runtime: convert openbsd (except mips64) to direct libc calls

Call libc wrappers directly rather than calling using syscall(2).

Updates golang/go#36435

Chan...

github.com/hack-pad/go - 0d6a7f9d2eb2e5e9b96cd1b144d122f6eb5aac81 authored about 2 years ago by Tobias Klauser <[email protected]>
cmd/asm: fix condition check to work on ppc64

A condition check was added to parse.go in CL 405542 to prevent
usage of scaled operands on ppc6...

github.com/hack-pad/go - 59b15726d113324d0c91d8aae559e9fb7cb04495 authored about 2 years ago by Archana R <[email protected]>
cmd/internal/obj/arm64: allow transition from $0 to ZR for MSR

Previously the first operand of MSR could be $0, which would be
converted to the ZR register. Th...

github.com/hack-pad/go - ebc75ac1c6f056d5911286368d11022204e55947 authored about 2 years ago by eric fang <[email protected]>
runtime: fix comment typo in mpagealloc.go

leve --> level

Change-Id: Ia5ff46c79c4dda2df426ec75d69e8fcede909b47
GitHub-Last-Rev: e57cad22d9...

github.com/hack-pad/go - bc0a033266eeaed189a5c77becd45b861fd245f5 authored about 2 years ago by bqyang <[email protected]>
runtime: convert semaRoot.nwait to atomic type

For #53821

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

github.com/hack-pad/go - fa0e3bffb494fb9f97c241d6579daa443fbcbb06 authored about 2 years ago by cuiweixie <[email protected]>
runtime: convert p.numTimers and p.deletedTimers to internal atomic types

Note that this changes the non-atomic operations in p.destroy() to atomic operations.

For #5382...

github.com/hack-pad/go - 6e74c4116ae2825efab69cb8c60d078d76572a78 authored about 2 years ago by Andy Pan <[email protected]>
runtime: convert sig.{state,delivering} to atomic type

For #53821

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

github.com/hack-pad/go - d01200e772902ef8178af767a62a059bf340df31 authored about 2 years ago by cuiweixie <[email protected]>
runtime: convert mcache.flushGen to atomic type

For #53821

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

github.com/hack-pad/go - a25a34abe986bd78ab9a543d2a96cbce427a4f3c authored about 2 years ago by cuiweixie <[email protected]>
runtime: convert mOS.profileTimerValid to internal atomic type

For #53821

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

github.com/hack-pad/go - d3b35a42429cec6d57d0d1e167d9443d0fbd6e97 authored about 2 years ago by Andy Pan <[email protected]>
runtime: convert workType.cycles to internal atomic types

Note that this changes a non-atomic operation to atomic operation in gcStart().

For #53821

Cha...

github.com/hack-pad/go - 28e388589b48063047dbe7738bc1dfd4ed8e36bd authored about 2 years ago by Andy Pan <[email protected]>
runtime: convert extram and extraMWaiters to internal atomic type

Updates #53821

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

github.com/hack-pad/go - 5634629f0b3e59115f2a2158f228c292d484622e authored about 2 years ago by Andy Pan <[email protected]>
net/http/pprof: link docs to runtime/pprof

And add some documentation for the debug query param.

Fixes #27737
Fixes #53971

Change-Id: I62...

github.com/hack-pad/go - 3486735bf2ca08dcd84bb820fdcb0dea8102cf82 authored about 2 years ago by Sean Liao <[email protected]>
cmd/compile: teach prove about bitwise OR operation

Fixes #45928.

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

github.com/hack-pad/go - 3680b5e9c4f42fcf9155aa42b3b344d1fbe19571 authored about 2 years ago by Wayne Zuo <[email protected]>
cmd/compile: derive relation between x+delta and x in prove

If x+delta cannot overflow/underflow, we can derive:
x+delta < x if delta<0 (this CL included)...

github.com/hack-pad/go - d2e0587f77e1cbbd5c7966242c85edba83b37157 authored about 2 years ago by Wayne Zuo <[email protected]>
cmd/compile: avoid excessive libfuzzer instrumentation of int compares

Do not intercept integer compares that are used to increment libFuzzer's
8-bit counters. This is...

github.com/hack-pad/go - 6b113c0fecd62b57ee88757c3ca80e9bdd11150d authored about 2 years ago by Khaled Yakdan <[email protected]>
cmd/compile/internal/noder: reuse package scope's names

Change-Id: I2cc62efb7bb3b47f1ee3ed0bb77e35c47e2df9a1
GitHub-Last-Rev: 106cb494de6fb08302018bff55...

github.com/hack-pad/go - 2f103873c5081c7013cadfecb9b1c051d7c5520a authored about 2 years ago by shaoliming <[email protected]>
reflect: use cgo.Incomplete instead of go:notinheap in tests

go:notinheap will be replaced by runtime/internal/sys.NotInHeap, and for
longer term, we want to...

github.com/hack-pad/go - ee0e40aaef3dc5c6fb8612dd80622e02fc4b574f authored about 2 years ago by Cuong Manh Le <[email protected]>
cmd/compile: regenerate node_gen.go

Looks like CL 413361 which added CaseClause.RTypes missed the need
to regenerate this file.

Als...

github.com/hack-pad/go - bd56cb90a72e6725eddb9622e93a0806c1d1f105 authored about 2 years ago by Keith Randall <[email protected]>
testing: increment tempDirSeq non-atomically

It's unnecessary to to call atomic.AddInt32 since there is a mutex lock.

Change-Id: I31fcece17c...

github.com/hack-pad/go - 8a3d167f5b4b482a230cd9800df9969af60561af authored about 2 years ago by cuiweixie <[email protected]>
cmd/go/internal/imports: recognize "unix" build tag

For #20322
For #51572
Fixes #54712

Change-Id: I22fcfa820e83323bfdf1a40deee7286240f02b3e
GitHub-...

github.com/hack-pad/go - 3c6a5cdb9a29c0e3b12cdaa8ab81ba22d989e3b0 authored about 2 years ago by Zeke Lu <[email protected]>
cmd/compile: only inline method wrapper if method don't contain closures

CL 327871 changes methodWrapper to always perform inlining after global
escape analysis. However...

github.com/hack-pad/go - f21514c7f8c972ce2291d41cf5b6263f0eb350c7 authored about 2 years ago by Cuong Manh Le <[email protected]>
cmd/compile: fix unified IR shapifying recursive instantiated types

Shape-based stenciling in unified IR is done by converting type argument
to its underlying type....

github.com/hack-pad/go - ddc93a536faf4576d182cd3197b116d61d05c484 authored about 2 years ago by Cuong Manh Le <[email protected]>
cmd/go: go clean should not accept flags like -modcache with packages

For #53725

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

github.com/hack-pad/go - c22865fcfa1ec434e5655c652c6376fa2d0eb821 authored about 2 years ago by cuiweixie <[email protected]>
cmd/asm: add new classification for index memory operands on PPC64

When a base+displacement kind of operand is given in an index-mode
instruction, the assembler do...

github.com/hack-pad/go - 67d85ad00f9d9be0cc2bb1bb96d01c3d40dcb376 authored about 2 years ago by Archana R <[email protected]>
crypto/sha512: optimize ARM64 sha512 implemention

This CL enable sha512 for arm64 and ~390% performance
improvement.

Contributed under the Go Lic...

github.com/hack-pad/go - 4381c61c58315dbdb8004bf56e54a5d2aa5d0498 authored about 2 years ago by Meng Zhuo <[email protected]>
cmd/compile: intrinsify RotateLeft{32,64} on loong64

Benchmark on crypto/sha256 (provided by Xiaodong Liu):
name old time/op new tim...

github.com/hack-pad/go - e8f0340fa483c6deb0bf7bba9788a2dd0f2f8a59 authored about 2 years ago by Wayne Zuo <[email protected]>
cmd/internal/obj/loong64: add ROTR, ROTRV instructions support

Reference: https://loongson.github.io/LoongArch-Documentation/LoongArch-Vol1-EN.html

Change-Id:...

github.com/hack-pad/go - 7d574466a9bd001feea4717933adb6ab78acd05f authored about 2 years ago by Wayne Zuo <[email protected]>
cmd/compile: fix wrong position when rewriting to OpArg/OpArgXXX

When spilling arg to stack or register, if it's a newly created value,
the arg position should b...

github.com/hack-pad/go - 629ae1cee673c66dd540b424c9e86a4ce3aaf9e3 authored about 2 years ago by Cuong Manh Le <[email protected]>
reflect: clarify Value.Equal behavior for non-comparable values

The current implementation always returns false for non-comparable
values, update the doc to ref...

github.com/hack-pad/go - 47f8db368cbb1971f386717ae7c76a1891a6130c authored about 2 years ago by Cuong Manh Le <[email protected]>
cmd/go: skip gccgo cgo tests in TestScript/build_overlay

cgo builds with -compiler=gccgo are broken as of CL 421879.

For #54761.
Updates #46731.

Change...

github.com/hack-pad/go - 65535581aaf5441b68d8d31d3f338df4042f1972 authored about 2 years ago by Bryan C. Mills <[email protected]>
cmd/go/internal/modfetch: distinguish "unsupported" errors from RecentTag

CL 426079 started checking errors from RecentTag.
Unfortunately, we forgot to run "-longtest" Sl...

github.com/hack-pad/go - 7b689dcbefbe5442b8b59a56efc1eced4fce233c authored about 2 years ago by Bryan C. Mills <[email protected]>
context: convert goroutines to atomic type

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

github.com/hack-pad/go - 2113fefe7d4ac5634a5b0597ef1b465684c73076 authored about 2 years ago by cuiweixie <[email protected]>
testing: convert common.hasSub to atomic type

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

github.com/hack-pad/go - fd2ac5ef968545e8283e32160fe69a9de1e98842 authored about 2 years ago by cuiweixie <[email protected]>
sync: switch Map to use atomic.Pointer

There was no noticeable change in performance.

Change-Id: I9c57bf836c8b6066e0620afb3d536ce99e4b...

github.com/hack-pad/go - b0144b384318e17b7b4facdbbd2fff3712085eab authored about 2 years ago by Joe Tsai <[email protected]>
debug/macho: use saferio to allocate Load and Symbol slices

Avoid allocating large amounts of memory for corrupt input.

No test case because the problem ca...

github.com/hack-pad/go - 36d1f236610a436bcbceca11e040a65593f1f253 authored about 2 years ago by Dan Kortschak <[email protected]>
testing: explain using a _test package

The existing documentation did not explain the difference between
placing a _test.go file in the...

github.com/hack-pad/go - f3a1f9220a8a5265842f5cb877c4dc6d08f75c68 authored about 2 years ago by byarbrough <[email protected]>
internal/poll: use sync.Once instead to guard CopyFileRange() with kernel 5.3

The existing implementation creates more branches with more states: -1, 0, 1,
which makes it not...

github.com/hack-pad/go - c108a682ff4571d1fd45e9c05cfad7b9a6c86a3d authored about 2 years ago by Andy Pan <[email protected]>
time: use internal/itoa

In initLocal for GOOS=js, use internal/itoa introduced in CL 301549
instead of a local implement...

github.com/hack-pad/go - 9da49a7d2e47919ecbf54e75bfc15ffb022cf1d6 authored about 2 years ago by Tobias Klauser <[email protected]>
debug/elf: validate offset and file size ranges

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

github.com/hack-pad/go - dbd0ce84d7c1da2e788c516c72fef44d5b760337 authored about 2 years ago by Dan Kortschak <[email protected]>
net: add the missing OS Darwin in the comment of sendFile

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

github.com/hack-pad/go - 59bdbb3effe3e61f85e336a52323024bafaf44bd authored about 2 years ago by Andy Pan <[email protected]>
cmd/go/internal/modfetch: report error on failing to derive pseudo version from recent tag

The current implementation ignores the error when it tries to get
the recent tag on revisions, w...

github.com/hack-pad/go - 5cfeaed4dec52c8edb3f33bb9cf8ec98d846c50b authored about 2 years ago by Zeke Lu <[email protected]>
time: add fuzz test for Time.appendFormatRFC3339

Time.appendFormatRFC3339 is a specialized implementation of
Time.appendFormat. We expect the two...

github.com/hack-pad/go - 4029124cf4e79ed6f1c6d4cc0a19331eeddd58a6 authored about 2 years ago by Joe Tsai <[email protected]>
internal/trace: fix typo in goroutines.go

assosciated -> associated

Change-Id: Id1cbbdea12f0239a9e173ece934c18cc9ffcf0f4
GitHub-Last-Rev:...

github.com/hack-pad/go - 68b10c2bb8ab95397c70b32ce7c3373eaa6ae9ce authored about 2 years ago by Ikko Ashimine <[email protected]>
net/http: FileServer method check + minimal OPTIONS implementation

FileServer provides a read-only service. Methods other than GET or HEAD should
be denied with an...

github.com/hack-pad/go - 0e16d67a560f22ac1fcbc1fa12d25add8bf649d6 authored about 2 years ago by Pascal S. de Kloe <[email protected]>
cmd/compile/obj/arm64: fix encoding error of FMOVD/FMOVS $0|ZR

Previously the first operand of FMOVD and FMOVS could be $0, which
would be converted to the ZR ...

github.com/hack-pad/go - eeb1ba7a89975beb1993242d8f2db05a6237e01c authored about 2 years ago by eric fang <[email protected]>
reflect: simplify array value comparable check

If array element is not interface, array or struct, we just need to
check whether the array elem...

github.com/hack-pad/go - 739304978086143a5d8c3b9bfa4f9f25aef23e90 authored about 2 years ago by Cuong Manh Le <[email protected]>
image/png: allow both PLTE and tRNS chunks for TrueColor

Prior to this commit, png.Decode would allow TrueColor PNG images that
have one but not both of ...

github.com/hack-pad/go - 63e129ba1c458db23f0752d106ed088a2cf38360 authored about 2 years ago by Nigel Tao <[email protected]>
testing: convert numFailed to atomic type

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

github.com/hack-pad/go - a1c9783ca1a98eef0fbfa46f8027e711b471b600 authored about 2 years ago by cuiweixie <[email protected]>
cmd/go/internal/modload: return error when duplicate module paths among modules in go.work

Fixes #54048

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

github.com/hack-pad/go - 863d57cc7df5b1604d501892b7293efe0fa7e690 authored about 2 years ago by ianwoolf <[email protected]>
debug/pe: check size in uint64 to avoid overflow

uint32(sz) != n*uint32(ddSz) can go wrong if
the RHS overflows, so do it in wider precision.

Fi...

github.com/hack-pad/go - 7f92ccea5ca5832a1dc63c02fc71db2d698f7915 authored about 2 years ago by David Chase <[email protected]>
cmd/cgo: add and use runtime/cgo.Incomplete instead of //go:notinheap

Updates #46731

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

github.com/hack-pad/go - 846c378b8c0cebd2d8522a5693b45ca95b018a78 authored about 2 years ago by Cuong Manh Le <[email protected]>
cmd/compile: intrinsify Sub64 on riscv64

After this CL, the performance difference in crypto/elliptic
benchmarks on linux/riscv64 are:

n...

github.com/hack-pad/go - a6219737e3eb062282e6483a915c395affb30c69 authored about 2 years ago by Wayne Zuo <[email protected]>
cmd/compile: intrinsify Add64 on riscv64

According to RISCV instruction set manual v2.2 Sec 2.4, we can
implement overflowing check for u...

github.com/hack-pad/go - 969f48a3a24032c3dd1ec351302b5b62407dfb88 authored about 2 years ago by Wayne Zuo <[email protected]>
net: add FlagRunning to exactly reflect the states of an interface.

Correctly set this flag while parsing the syscall result.

The FlagUp flag can not distinguish t...

github.com/hack-pad/go - a2d2e6e7cb12c57cd8f5af64909882bab1dbca19 authored about 2 years ago by Jianwei Mao <[email protected]>
debug/elf: fix reloc number of R_PPC64_SECTOFF_LO_DS

R_PPC64_SECTOFF_LO_DS is defined as reloc 62 on all PPC64 ELF ABIs.

Fixes #53356

Change-Id: I5...

github.com/hack-pad/go - a0948493ac693b46b4124a4380fd044c6a05f1b3 authored about 2 years ago by Paul E. Murphy <[email protected]>
net: Resolver.LookupIP return error for empty string

Fixes #53995

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

github.com/hack-pad/go - 333681d6a8cc6f352d42d04bcf26b39a1ea7ef83 authored about 2 years ago by ianwoolf <[email protected]>
reflect: add Value.{Comparable,Equal}

For #46746

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

github.com/hack-pad/go - acabf87127fab93513df46811d5f473ef72905b1 authored about 2 years ago by cuiweixie <[email protected]>
cmd/compile: fix score for Select{0,1} with type flags

A recent change was made for ppc64x to treat ANDCCconst as
a tuple, allowing ANDconst to be remo...

github.com/hack-pad/go - 897ad2fe907b98eae4cf60d78b7a262a221931fc authored about 2 years ago by Lynn Boger <[email protected]>
net/http: don't panic on very large MaxBytesReaderLimit

Fixes #54408

Change-Id: I454199ae5bcd087b8fc4169b7622412105e71113
GitHub-Last-Rev: a33fe7e206d0...

github.com/hack-pad/go - 3d6ba27f4ffef372d9a41bc488ca329c2786187f authored about 2 years ago by cuiweixie <[email protected]>
runtime: add address sanitizer support for ppc64le

updates #44853

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

github.com/hack-pad/go - 9e810997c02c9c062a25e922a91e7824baef8e4d authored about 2 years ago by Archana R <[email protected]>
cmd/compile: remove branch in atomicCas{32,64} sequence on ppc64x.

This removes one of the branches in the atomicCas sequences for
ppc64/ppc64le.

Change-Id: Ibb46...

github.com/hack-pad/go - 62125c9b790c9dc62ab6b638286150a16024d40e authored about 2 years ago by Lynn Boger <[email protected]>
net/http: mention io.Seeker requirement in FS documentation

Both FileServer and NewFileTransport can try to seek a file, specifically
when MIME type sniffin...

github.com/hack-pad/go - afd792feb567f0848ddc05f6a90a7b7672fe4974 authored about 2 years ago by Alex Studer <[email protected]>
net/http: add errors.As support for x/net/http2.StreamError

To make it easier to extract the HTTP/2 error code (if any) from
net/http errors, implement an A...

github.com/hack-pad/go - 4d13aabdf62a15d19a6f41a781aa7e85f02f3f26 authored about 2 years ago by Akshay Shah <[email protected]>
runtime: drop padding alignment field for timeHistogram

After CL 419449, timeHistogram always have 8-byte alignment.

Change-Id: I93145502bcafa1712b811b...

github.com/hack-pad/go - bcd1ac7120e04cc60491005771aee5f27abac220 authored about 2 years ago by Cuong Manh Le <[email protected]>
mime: allow duplicate media type parameters with equivalent values

Fixes #48866

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

github.com/hack-pad/go - dba9323f764e1ded627a0e3a459377026e9e0ce3 authored about 2 years ago by Paschalis Tsilias <[email protected]>
runtime: mark all methods of atomic types with go:nosplit

Atomic types may be used anywhere in the runtime,
so they must omit its usual stack overflow che...

github.com/hack-pad/go - 296c40dbbe91db993e4c756f3b2b383d6995edbc authored about 2 years ago by Andy Pan <[email protected]>
internal/poll: optimize the maximum amount of bytes that can be transferred by one splice(2) call

Fixes #40222

name old time/op new time/op delta
Splice/tcp-to-tc...

github.com/hack-pad/go - c8bb3cff9ee24f310f4d5dd7b39422c346411a53 authored about 2 years ago by Andy Pan <[email protected]>
runtime: remove gcCPULimiterState padding for atomic fields alignment

assistTimePool and lastUpdate are now atomic.Int64, so they are
guaranteed to have 64-bit alignm...

github.com/hack-pad/go - a52f4952cbc03538cacea78a663ac5bf61af165e authored about 2 years ago by Cuong Manh Le <[email protected]>
cmd/go/internal/modload: convert atomicLoadPkgFlags.bits to atomic type

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

github.com/hack-pad/go - 78aef56062e00cb45e69ee040fe35de6e08938d3 authored about 2 years ago by hopehook <[email protected]>
cmd/go/internal/trace: convert traceStarted to atomic type

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

github.com/hack-pad/go - 48ecc152e47db19255a3501d272b7ea3ed28915a authored about 2 years ago by hopehook <[email protected]>
debug/macho: use saferio to read segment and section data

Avoid allocating large amounts of memory for corrupt input.

No test case because the problem ca...

github.com/hack-pad/go - 297e3de7a1416d2ccdadcf3bdc6c9d3776e2abd8 authored about 2 years ago by Dan Kortschak <[email protected]>
cmd/go/internal/imports: include ToolTags in the Tags map

This fixes a regression introduced when the "race" mode tag was moved to
the ToolTags field in C...

github.com/hack-pad/go - 6ba2674ddc5373f261211ba5ebc38496dc660604 authored about 2 years ago by Zeke Lu <[email protected]>
cmd/go/internal/par: change cacheEntry.done type to atomic.Bool

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

github.com/hack-pad/go - f50e47308d60d2a043aa3f806069d49e1b7ad0c1 authored about 2 years ago by Ludi Rehak <[email protected]>
cmd/test2json: add signal handler

Updates #53563

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

github.com/hack-pad/go - f1f9e45143bd01a55ff81313fb3dfde72c448cc9 authored about 2 years ago by ianwoolf <[email protected]>
reflect: add Value.SetZero

The v.SetZero method is a faster equivalent of v.Set(Zero(v.Type())).

Performance:

...

github.com/hack-pad/go - bc1d0d8eb1fb5efb36fc2324fa7eb818b084b016 authored about 2 years ago by Joe Tsai <[email protected]>
runtime: convert forcegcstate.idle to internal atomic type

Note that this changes a few unsynchronized operations of forcegcstate.idle to synchronized oper...

github.com/hack-pad/go - e0ec1d6770879518af726b6cd8693dab3390db24 authored about 2 years ago by Andy Pan <[email protected]>
runtime: convert g.selectDone to atomic type

On the write side, g.selectDone has been converted
from non-atomic to atomic access.

For #53821...

github.com/hack-pad/go - 951d2c657da75d5aad09719e89987e1e1a43bbb4 authored about 2 years ago by hopehook <[email protected]>
runtime: convert notifyList.wait to atomic type

For #53821

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

github.com/hack-pad/go - 7a1ae605ebc0a30c1ec83f967d9a0a20a0bbb02b authored about 2 years ago by hopehook <[email protected]>
runtime: convert dlogger.owned to atomic type

Note that this changes a non-atomic operation to atomic operation.

For #53821

Change-Id: I7989...

github.com/hack-pad/go - 2af9ee072788e91332ab7c2baa0fb568fd1e8545 authored about 2 years ago by hopehook <[email protected]>