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

modload: provide a clearer error for standard library packages from newer releases

An older version of go compiling a main module that references a
standard library package from a...

github.com/hack-pad/go - 40c7e94cc5740496a0a47d6ef9863b2bbca44b0e authored about 2 years ago by Jeremy Brewer <[email protected]>
cmd/go/internal/modload: remove the needSum argument from the fetch function

With moduleHasRootPackage eliminated in the previous CL, needSum is
now invariantly true at all ...

github.com/hack-pad/go - 9be09916d9209a02308d553cfbbb7ff1dc6593dd authored about 2 years ago by Bryan C. Mills <[email protected]>
runtime: move epoll syscalls to runtime/internal/syscall

This change moves Linux epoll's syscalls implementation to the
"runtime/internal/syscall" packag...

github.com/hack-pad/go - c7cc2b94c63af610a29b1b48cfbfb87cb8abf05b authored about 2 years ago by Andrew Pogrebnoy <[email protected]>
cmd/go/internal/modload: remove unused moduleHasRootPackage function

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

github.com/hack-pad/go - 67cd77b88f2fdf620556cd698752aa2ed53fee1b authored about 2 years ago by Bryan C. Mills <[email protected]>
cmd/compile: intrinsify Sub64 on loong64

This is a follow up of CL 420095 on loong64.

file before ...

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

This is a follow up of CL 420094 on loong64.

Reduce go toolchain size slightly on linux/loong6...

github.com/hack-pad/go - 97760ed651f88341bcf15aa4980863c199b6f3dc authored about 2 years ago by Wayne Zuo <[email protected]>
net/netip: add test for AddrFromSlice

AddrFromSlice is not covered by any other test so far.

Change-Id: I91034c6cac95a023fc419c855873...

github.com/hack-pad/go - c4674e01343c0db9fad726401de114dac749382d authored about 2 years ago by Tobias Klauser <[email protected]>
net/netip: use IPv4Unspecified in TestIPProperties

Also inline the single-use unspecified{4,6} variables.

Change-Id: I5992273031e0b8db1bc6f5de8fce...

github.com/hack-pad/go - 77c0e99c192331d44ddab664c4b6442925410cdc authored about 2 years ago by Tobias Klauser <[email protected]>
testing: add an example showcasing B.RunParallel with B.ReportMetric

This commit was dedicated to adding an example of using B.ReportMetrics
with B.RunParallel calle...

github.com/hack-pad/go - cecaa25bd31622f5ae0df7fd5c8c7f02afde8715 authored about 2 years ago by Eddie Lopez <[email protected]>
net/http: refactor tests to run most in HTTP/1 and HTTP/2 modes

Replace the ad-hoc approach to running tests in HTTP/1 and HTTP/2
modes with a 'run' function th...

github.com/hack-pad/go - 747e1961e95c2eb3df62e045b90b111c2ceea337 authored about 2 years ago by Damien Neil <[email protected]>
internal/poll, internal/syscall/unix, syscall: move writev definition for solaris

Move the writev definition for solaris from package
internal/syscall/unix to package syscall. Th...

github.com/hack-pad/go - 5ca0cd3f1824f189b6c5edf59b669f22a393e2e1 authored about 2 years ago by Tobias Klauser <[email protected]>
internal/poll, net, syscall: enable writev on aix

aix supports iovec read/write, see
https://www.ibm.com/docs/en/aix/7.2?topic=w-write-writex-writ...

github.com/hack-pad/go - cabf9fe4f2d7e5adfa7007e11f508b111d07a2f6 authored about 2 years ago by Tobias Klauser <[email protected]>
cmd/compile: leverage cc ops in more cases on ppc64x

This updates some rules to use ops with CC variations to
set the condition code when the result ...

github.com/hack-pad/go - d0b0b10b5cbb28d53403c2bd6af343581327e946 authored about 2 years ago by Lynn Boger <[email protected]>
os/exec: document ProcessState available after a call to Wait or Run

Wait or Run will populate its ProcessState when the command completes.

Fixes #56002.

Change-Id...

github.com/hack-pad/go - fdea8e21708e9ed04498a7f7b68cbee43005d58d authored about 2 years ago by hopehook <[email protected]>
all: use grep -E/-F instead of fgrep/egrep

egrep and fgrep are obsolescent now.

This PR updates all egrep and fgrep commands to grep -E an...

github.com/hack-pad/go - 2837ffe8d8a48cb321842721a8531ed870ace1d3 authored about 2 years ago by kxxt <[email protected]>
os/exec: parallelize more tests

This cuts the wall duration for 'go test os/exec' and
'go test -race os/exec' roughly in half on...

github.com/hack-pad/go - 515e3de2999b23da28e6d15ac485bfdd299ec83a authored about 2 years ago by Bryan C. Mills <[email protected]>
os/exec: delete TestExtraFilesFDShuffle

This test has been disabled for over nine years (since CL 12869049).
Although it still compiles,...

github.com/hack-pad/go - 274d3a06f7331740b849e20cff1d1c1ab84dd0e0 authored about 2 years ago by Bryan C. Mills <[email protected]>
cmd/go: fix incorrect determination of import path is DirImportPath

In practice this only shows up when a vendored package, imported on the
command line, imports an...

github.com/hack-pad/go - fda5dcd9bba38bcdbe9ac473985e108e125c34a5 authored about 2 years ago by Michael Matloob <[email protected]>
debug/buildinfo: correct a typo in calculating next align index

When it calculates the smallest n such that:
n >= i && n % buildInfoAlign == 0
the expression ...

github.com/hack-pad/go - 9dfadf911d2dcb093c3a37c79869bead0f9f6349 authored about 2 years ago by Zeke Lu <[email protected]>
cmd/compile: fold constant shift with extension on riscv64

For example:

movb a0, a0
srai $1, a0, a0

the assembler will expand to:

slli $56, a0, a0...

github.com/hack-pad/go - af668c689c66588f8adb9f5cd6db812706536338 authored about 2 years ago by Wayne Zuo <[email protected]>
all: remove redundant type conversion

Change-Id: I375233dc700adbc58a6d4af995d07b352bf85b11
GitHub-Last-Rev: ef129205231b892f61b0135c87...

github.com/hack-pad/go - b314eea4cdba0755caedc9a3e683d3f7e1e2be6f authored about 2 years ago by cui fliter <[email protected]>
os: if dirFS.Open fails, undo use of backslashes in error message

This fixes a bug introduced by CL 426094 that caused the
golang.org/x/website/internal/web tests...

github.com/hack-pad/go - 755a2927d8f5bb79952db8fd17bbdec1aed91518 authored about 2 years ago by Ian Lance Taylor <[email protected]>
all: fix some typos

Change-Id: I6be77e7b7c919f26bed7b6690cce6741888ba78a
GitHub-Last-Rev: 4ef4a7b425d0b89adf398a1bee...

github.com/hack-pad/go - c433cf189354f0b3a5e50716df57a94af5f22718 authored about 2 years ago by kijimaD <[email protected]>
cmd/go/internal: use strings.Cut

Change-Id: Icbe2af4f2abf22b6a8c9cec33f0f88018f3bd1c7
GitHub-Last-Rev: 81392a6e88d5297f9581160319...

github.com/hack-pad/go - 2e054128bf72c328ed565cfde1ceb7c9a470dc51 authored about 2 years ago by cui fliter <[email protected]>
archive/tar: limit size of headers

Set a 1MiB limit on special file blocks (PAX headers, GNU long names,
GNU link names), to avoid ...

github.com/hack-pad/go - 0bf7ee9977c0218562c50a0b0f0d9cbdf33f65e6 authored about 2 years ago by Damien Neil <[email protected]>
regexp: limit size of parsed regexps

Set a 128 MB limit on the amount of space used by []syntax.Inst
in the compiled form correspondi...

github.com/hack-pad/go - c3c4aea55b404c2e6ef109ec6a345f4ccb877381 authored about 2 years ago by Russ Cox <[email protected]>
cmd/go/internal/modindex: ignore non-source files for index

We were saving non-go file information in the module index files,
leading in an unnecessary incr...

github.com/hack-pad/go - 881a16542e357fd85ac492424021ff380175675a authored about 2 years ago by Michael Matloob <[email protected]>
cmd/go: add @latest suffix for go install

Fixes #56014.

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

github.com/hack-pad/go - 3a37b112816d0002ed29804401560e0419b11a92 authored about 2 years ago by hopehook <[email protected]>
runtime: avoid initializing MemProfileRate in init function

Fixes #55100

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

github.com/hack-pad/go - f63b268b9a1dd6457405ed24dd4831b6ebfb8df8 authored about 2 years ago by Wang Deyu <[email protected]>
go/types, types2: use consistent error messages for invalid struct literals

Fixes #51879.

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

github.com/hack-pad/go - 97d38f300273a3eb7af100d3943decaa433fd28f authored about 2 years ago by Robert Griesemer <[email protected]>
runtime/coverage: revise/shorten function names

Use shorter more Go-like names for the new APIs being added in the
runtime/coverage package for ...

github.com/hack-pad/go - 47a538842bf05c7ea4b376447789d0906ba49bd8 authored about 2 years ago by Than McIntosh <[email protected]>
cmd/internal/obj/arm64: add missing operand register in GNU assembly

Fixes #55832

Change-Id: Ib20279d47c1ca9a383a3c85bb41ca4f550bb0a33
GitHub-Last-Rev: 10af77a2f213...

github.com/hack-pad/go - 9f78c3cb0400c2df143bd0ae124a911f911eaf36 authored about 2 years ago by shaoliming <[email protected]>
runtime: don't jump stack if at entry of systemstack

The traceback code has special "jump stack" logic, to trace back
stack switches through systemst...

github.com/hack-pad/go - 500bc6b8056ee2eaf7640610a48ffa00bdd896a5 authored about 2 years ago by Cherry Mui <[email protected]>
runtime/cgo: let darwin pthread stacksize follow rlimit

On Mac OS X, the default stack size for non-main threads created by cgo is
fixed at 512KB and ca...

github.com/hack-pad/go - 7d3a5a501c9f30ff6db3016dbfffcb70dacb9f55 authored about 2 years ago by Youlin Feng <[email protected]>
cmd/link: optimize PPC64 inline plt sequences if local

Indirect branches are much more expensive than direct. If the call is
known to be local, we can ...

github.com/hack-pad/go - c318f191e45e3496f8afe0a456337e9f76d7f7b4 authored about 2 years ago by Paul E. Murphy <[email protected]>
cmd/compile: add late lower pass for last rules to run

Usually optimization rules have corresponding priorities, some need to
be run first, some run ne...

github.com/hack-pad/go - ddc7d2a80cdac50cbbfb9108b443142f44a5ef1d authored about 2 years ago by eric fang <[email protected]>
cmd/compile/internal/syntax: better error message for erroneous method declaration

Also make error recovery slightly more robust in this case.

Fixes #56022.

Change-Id: I1c01c146...

github.com/hack-pad/go - c591d82ea99b70b251a51cefd11ddc42ff004ce6 authored about 2 years ago by Robert Griesemer <[email protected]>
cmd/compile/internal/types2: remove "unimplemented" function (cleanup)

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

github.com/hack-pad/go - d1187438694d68d1d761355cd1268057a6521619 authored about 2 years ago by Robert Griesemer <[email protected]>
encoding/asn1: remove allocation from init

asn1 allocates due to reflect.TypeOf(new(big.Int)) in init time.
We could replace it with (*big....

github.com/hack-pad/go - 9c2fd81ee11c1c49e55f1c59a96e170f2d53e6c8 authored about 2 years ago by Tomasz Jezierski <[email protected]>
os/exec: add a GODEBUG setting to diagnose leaked processes

Updates #52580.
For #50436.

Change-Id: I669f13863f1f85d576c3c94500b118e6989000eb
Reviewed-on: h...

github.com/hack-pad/go - 0fec65d281af8932ce8da946faa55884f2427cfc authored about 2 years ago by Bryan C. Mills <[email protected]>
reflect: avoid unnecessary copy of funcTypes

Imagine that initFuncTypes is called with n=3, funcTypes will be
[nil, nil, nil, **reflect.rtype...

github.com/hack-pad/go - e7d203f494281a229a7d4ef769f14975e9b12e4e authored about 2 years ago by Zeke Lu <[email protected]>
all: use fmt.Appendf

Change-Id: I45f941ba3db26a12b3f56d93bdcd7f9e1d490346
GitHub-Last-Rev: 22b51167b08a1770a63a8b768a...

github.com/hack-pad/go - 58158e990f272774e615c9abd8662bf0198c29aa authored about 2 years ago by cui fliter <[email protected]>
Revert "os/exec: make StdoutPipe and StderrPipe safe to Close concurrently"

This reverts CL 437176.

Reason for revert: broke programs that plumb StdoutPipe from one comman...

github.com/hack-pad/go - 3380ee2520165187c3d1476c46d16bc76376d4d4 authored about 2 years ago by Bryan Mills <[email protected]>
cmd/cgo, cmd/compile, cmd/link: remove old style build tags

[Roll-forward of CL 436915 by Tobias Klauser, with builtin and gen
directories dropped now that ...

github.com/hack-pad/go - 058f019e45fc1f18842e0339d7d56d804936263b authored about 2 years ago by Russ Cox <[email protected]>
cmd/compile: rename gen and builtin to _gen and _builtin

These two directories are full of //go:build ignore files.
We can ignore them more easily by put...

github.com/hack-pad/go - 164406ad931cd74c1541a71f2817312ec82882ed authored about 2 years ago by Russ Cox <[email protected]>
runtime: change exit hooks test to use RaceDetectorSupported

Use internal/syssup.RaceDetectorSupported in the exit hooks tests as a
better way to tell if the...

github.com/hack-pad/go - 841873f27c4d08d266779a9ef719a7f0d1a0e74d authored about 2 years ago by Than McIntosh <[email protected]>
runtime/coverage: use atomic access for counter reads

Read counters using atomic ops so as to avoid problems with the race
detector if a goroutine hap...

github.com/hack-pad/go - cddf792428be5f750a0be397c7c534870c682e52 authored about 2 years ago by Than McIntosh <[email protected]>
cmd/internal/sys: migrate support.go functions to new internal pkg

Separate out the functions from cmd/internal/sys/support.go and
migrate them to a new package in...

github.com/hack-pad/go - 8bd803fd4ea3a549a9124f5a4e18af9596ef35df authored about 2 years ago by Than McIntosh <[email protected]>
cmd/compile: add "runtime/internal/syscall" back to runtimePackages

It was accidentally removed in CL 355451.

Change-Id: I818ea01b83e437c25829bf7e88c7180963e696f8
...

github.com/hack-pad/go - dfd8aa461be982533e01867ab002fb83ba3cc943 authored about 2 years ago by Andrew Pogrebnoy <[email protected]>
cmd/go: update gcc version check for asan support on ppc64le

Update the minimum version required for asan to be gcc9.
This will ensure that go build -asan is...

github.com/hack-pad/go - feed072b6ed002a0085f3c6152c039b84134d38e authored about 2 years ago by Archana R <[email protected]>
crypto/x509/internal/macos: handle unexpected null returns

SecCreatePolicySSL returns null when called from a binary that has a
strange path. This seems to...

github.com/hack-pad/go - fa463cc96d797c218be4e218723f83be47e814c8 authored about 2 years ago by Roland Shoemaker <[email protected]>
runtime/race: use internal linking mode for amd64 subarch packages

CL 424034 introduced two new packages that trigger external
linking mode where internal linking ...

github.com/hack-pad/go - 6a9aaf1f0218d61aa44c3a0ae0bce03cbac93328 authored about 2 years ago by Florian Zenker <[email protected]>
encoding/gob: prevent a decoder state overflow

When decoding a struct, if a positive delta is large enough to overflow
when added to fieldnum, ...

github.com/hack-pad/go - cbd931c9c2705e0e3a44c3b299ac2bd3369f5eb5 authored about 2 years ago by Daniel Martí <[email protected]>
reflect: fix race condition on funcTypes

CL 425314 made creating funcTypes using StructOf, and using a mutex to
protect read+write to fun...

github.com/hack-pad/go - 6d8ec893039a39f495c8139012e47754e4518b70 authored about 2 years ago by Cuong Manh Le <[email protected]>
go/build: replace +build with go:build in documentation

Fixes #54181.

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

github.com/hack-pad/go - 12daabb9156adb73fda453cae939ab4e3cb8e52f authored about 2 years ago by hopehook <[email protected]>
cmd/compile/internal: fix a few function names on comments

Change-Id: If78c6d3c6183494f71f2857e496e172a789da39f
GitHub-Last-Rev: 58e0b75052a92cb720371d2b3c...

github.com/hack-pad/go - 78f7d0f001c26873f2e29fe2cdd6071763c3e723 authored about 2 years ago by cui fliter <[email protected]>
cmd/trace: replace loop with append(slice, slice2...)

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

github.com/hack-pad/go - a8d180409d071ad327afeaf6f64fef635d8f6053 authored about 2 years ago by cuiweixie <[email protected]>
runtime/coverage: recognise Plan 9 error message in emitToNonexistentDir

In TestCoverageApis/emitToNonexistentDir there is a list of error
messages to match when a nonex...

github.com/hack-pad/go - 17622b891a478a68fba9001db4be901689611351 authored about 2 years ago by miller <[email protected]>
go/token: fix File.AddLineColumnInfo logic

The offset of the line info should be smaller than the file size.
Otherwise, it should be ignore...

github.com/hack-pad/go - 5451ba3ac4f0a61e1fffdabac3d9b5daa5f04124 authored about 2 years ago by chanxuehong <[email protected]>
log/syslog: return nil directly

Reduce return complexity.

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

github.com/hack-pad/go - e7e554e546af2038e6395ecee30241c230a77349 authored about 2 years ago by Félix Dorn <[email protected]>
regexp: fix a few function names on comments

Change-Id: I192dd34c677e52e16f0ef78e1dae58a78f6d1aac
GitHub-Last-Rev: 1638a7468951df72f13fea3485...

github.com/hack-pad/go - 18888751828c329ddf5efdd7ec1b39adf0b6ea00 authored about 2 years ago by cui fliter <[email protected]>
os: use backslashes for DirFS on Windows

Otherwise DirFS of a UNC path does not work.

Fixes #54694

Change-Id: I82c1c436f7c26b3935c2cc4f...

github.com/hack-pad/go - 82e357d6d5944fc5b0293085a0305fe328c505ea authored about 2 years ago by Ian Lance Taylor <[email protected]>
all: use time.Since instead of time.Now().Sub

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

github.com/hack-pad/go - 4585bf96b4025f18682122bbd66d4f2a010b3ac9 authored about 2 years ago by hopehook <[email protected]>
syscall: remove redundant type conversion

Change-Id: Iae290216687fd1ce8be720600157fb78cc2446d0
GitHub-Last-Rev: 4fba64ecb14a704d39f6ecc339...

github.com/hack-pad/go - 51297dd6df713b988b5c587e448b27d18ca1bd8a authored about 2 years ago by cui fliter <[email protected]>
crypto/rand: convert r.used to atomic type

For #53821

Change-Id: I1b5c62288eca20ff50f6d8d979cf82df24d4545b
GitHub-Last-Rev: 266148570a6465...

github.com/hack-pad/go - 5f566d35bf7d590c95f4d1b685b995deeb9ba957 authored about 2 years ago by cui fliter <[email protected]>
cmd/go: remove the -i build flag

The flag is now removed from `go build` and `go test`.
It has been deprecated since Go 1.16, pri...

github.com/hack-pad/go - ef1c70fbde3acb3d0865b8c12e75e6dcb65653d3 authored about 2 years ago by Daniel Martí <[email protected]>
cmd/dist: add support for freebsd/riscv64

Updates #53466

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

github.com/hack-pad/go - 738a2caf089a195724041df58778a7e94fc7b80b authored about 2 years ago by Mikael Urankar <[email protected]>
cmd/internal/obj: hoist constant slice out of function called in loop

It's all local to a single file and responsible for 1.7% of total
space allocated summed over co...

github.com/hack-pad/go - 2b1c414fa8d409000a40305cd3d461be34d9a6a9 authored about 2 years ago by David Chase <[email protected]>
test: skip inlining check in escape4.go

This is the last failed test in Unified IR, since it can inline f5 and
f6 but the old frontend c...

github.com/hack-pad/go - 1baea0ddb32dbcce37d7d8e5863dbf7063439a74 authored about 2 years ago by Cuong Manh Le <[email protected]>
test: relax closure name matching in closure3.go

The mismatch between Unified IR and the old frontend is not about how
they number the closures, ...

github.com/hack-pad/go - 0cbe30467ad2b4823bc07a8784ca66aff7cdb20a authored about 2 years ago by Cuong Manh Le <[email protected]>
math: optimize Hypot function

This CL optimizes the Hypot function by putting the Abs function in
front of the IsInf check. Th...

github.com/hack-pad/go - dd7ce26abf7cf431e7cecf6153fbb8730b1da686 authored about 2 years ago by eric fang <[email protected]>
os/exec: make StdoutPipe and StderrPipe safe to Close concurrently

For #50436, I want to be able to close the pipes returned by
StdoutPipe and StderrPipe after the...

github.com/hack-pad/go - 9a029a69157788d072147732fe2665c58bbbc02c authored about 2 years ago by Bryan C. Mills <[email protected]>
os/exec: recombine goroutinePipes and userPipes

This change undoes CL 401894, because on further consideration
it turns out not to be needed.

T...

github.com/hack-pad/go - c9a62b7e711f5c1f1a73e0c3a5b6a2e5b67033e2 authored about 2 years ago by Bryan C. Mills <[email protected]>
debug/dwarf: don't crash on negative range/rnglist offset

No test case because the problem can only happen for invalid data. Let
the fuzzer find cases lik...

github.com/hack-pad/go - 20da893e8392c5008f7583400accf2a2b9a2f8ff authored about 2 years ago by Ian Lance Taylor <[email protected]>
all: use "unix" build tag where appropriate

Convert a few occurrences that were submitted after CL 389935.

For #20322
For #51572

Change-Id...

github.com/hack-pad/go - cc90e45f1da8879163ae4ed3b1f7a5045cfc0685 authored about 2 years ago by Tobias Klauser <[email protected]>
encoding: fix a few function names on comments

Change-Id: I17a311afb94a056b3d35bfa241f5d0d206db602d
GitHub-Last-Rev: 42129464c9e17fae9b61ea6094...

github.com/hack-pad/go - aeab76f0befcd6ab1257eae9adb27ac2cb2b7ff8 authored about 2 years ago by cui fliter <[email protected]>
test: enable issue47631.go for Unified IR

Updates #53058

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

github.com/hack-pad/go - 76c1a501a5bb1e511655d89195b3b94b7a621cf9 authored about 2 years ago by Cuong Manh Le <[email protected]>
internal/singleflight: avoid race between multiple Do calls

When the first call to Do finished, it calls c.wg.Done() to signal
others that the call was done...

github.com/hack-pad/go - aeedb5ab13a677367be8e526cc43aeecc3734c86 authored about 2 years ago by Cuong Manh Le <[email protected]>
encoding/json: return comparison directly

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

github.com/hack-pad/go - 1e65fa58c11b78bd0b026583e9ba7f724a84d628 authored about 2 years ago by cuiweixie <[email protected]>
all: omit comparison bool constant to simplify code

Change-Id: Icd4062e570559f1d0c69d4bdb9e23412054cf2a6
GitHub-Last-Rev: fbbfbcb54dac88c9a8f5c5c6d2...

github.com/hack-pad/go - 4444f850b73324bc830d14d199371cc60d5608c7 authored about 2 years ago by cui fliter <[email protected]>
internal/singleflight: fix duplicate deleting key when ForgetUnshared called

A key may be forgotten while the call is still in flight. So when the
call finished, it should o...

github.com/hack-pad/go - 826efd7f25f789ab06f257eee19f02b1dc6c8a09 authored about 2 years ago by Cuong Manh Le <[email protected]>
cmd/link/internal/ld: panic if inlined functions missing FuncInfo

All inlined functions are Go functions, and thus should be capable of
having a FuncInfo. Missing...

github.com/hack-pad/go - 8a0cf719a626ebd1ec11531ebaeacccbd19178ec authored about 2 years ago by Michael Pratt <[email protected]>
cmd/compile: eagerly create LSym for closures

The linker needs FuncInfo metadata for all inlined functions. This is
typically handled by gc.en...

github.com/hack-pad/go - 33738ddd0a99991459d3bf215004e4327c2f8af2 authored about 2 years ago by Michael Pratt <[email protected]>
Revert "runtime: move epoll syscalls to runtime/internal/syscall"

This reverts CL 421994.

Reason for revert: breaks runtime.TestCheckPtr2

For #53824
For #51087
...

github.com/hack-pad/go - 4a49af5755564b5412acea2cfc3ac8556a7af453 authored about 2 years ago by Michael Pratt <[email protected]>
runtime: move epoll syscalls to runtime/internal/syscall

This change moves Linux epoll's syscalls implementation to the
"runtime/internal/syscall" packag...

github.com/hack-pad/go - 4e6f963469d8f489586b2bf277af30e0fbfa1679 authored about 2 years ago by Andrew Pogrebnoy <[email protected]>
cmd/compile: fuse largest possible runs of plain blocks

This is predicted to reduce allocation, hence GC time.
(And it does.)

Change-Id: I30a46805b81e5...

github.com/hack-pad/go - 9e0149da3c25c3a2399e0f578549f252c186491c authored about 2 years ago by David Chase <[email protected]>
internal: fix a few function names on comments

Change-Id: I53169e386b8c789b092de348fa891fe50e11c2ef
GitHub-Last-Rev: 75232393b4ba415bddc731f155...

github.com/hack-pad/go - 73e14a302682df64bffae789802bafc0dec85a2e authored about 2 years ago by cui fliter <[email protected]>
Revert "cmd/cgo, cmd/compile, cmd/link: remove old style build tags"

This reverts commit 66165739828b8326b625463beb51ae510b2ab8dd, corresponding to CL 436915.

Reaso...

github.com/hack-pad/go - 902da52f7b5826c2083effc20b209f39d58d2919 authored about 2 years ago by Than McIntosh <[email protected]>
go: replace bytes.Compare with bytes.Equal

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

github.com/hack-pad/go - 13159fef0423fe908aac676d7c4f377c2ae41f49 authored about 2 years ago by cuiweixie <[email protected]>
go/doc: use strings.TrimPrefix

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

github.com/hack-pad/go - 7aa4905bb4fd70a5b32552fd8db23a3550d3df83 authored about 2 years ago by cuiweixie <[email protected]>
internal/buildcfg: enabled CoverageRedesign GOEXPERIMENT by default

Turn on the CoverageRedesign GOEXPERIMENT by default.

Updates #51430.

Change-Id: Id15c67ef0b6a...

github.com/hack-pad/go - 9910f8a4034d1edf317966060336a569800d4663 authored about 2 years ago by Than McIntosh <[email protected]>
cmd/cgo, cmd/compile, cmd/link: remove old style build tags

The minimum bootstrap version for Go ≥ 1.20 is Go 1.17. That version
supports the new style //go...

github.com/hack-pad/go - 66165739828b8326b625463beb51ae510b2ab8dd authored about 2 years ago by Tobias Klauser <[email protected]>
runtime/trace: skip tests if parsing fails with timestamp error

already skips tests in case of the timestamp error, eg. #97757

Change-Id: Ia696e83cba2e3ed50181...

github.com/hack-pad/go - d7dbe0111ef2a6de80a20fef188db61d8fab5c96 authored about 2 years ago by doujiang24 <[email protected]>
cmd/link/internal/riscv64: add support for freebsd/riscv64

Updates #53466

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

github.com/hack-pad/go - 9faf6b79297810f6c9418201c6a9fe7fe5a3695c authored about 2 years ago by Mikael Urankar <[email protected]>
cmd/internal: use fmt.Fprintf

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

github.com/hack-pad/go - 2cbcf36ede1092074b73924d2f4f12ddcf0fcc0a authored about 2 years ago by cuiweixie <[email protected]>
strconv: delete unused field

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

github.com/hack-pad/go - f1f85f4ab549f9bbdf449ac272622d3ba133f4bc authored about 2 years ago by cuiweixie <[email protected]>
cmd/compile/internal/noder: remove unnecessary assignment to the blank identifier

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

github.com/hack-pad/go - 157e018fc3497994f4e51548310e8a84ea60c27e authored about 2 years ago by cuiweixie <[email protected]>
internal/profile: omit comparison tool bool constant

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

github.com/hack-pad/go - dc53738f58a5db038c052256a7da2b0c07ec9fcb authored about 2 years ago by cuiweixie <[email protected]>
cmd/internal/obj/x86: return comparison directly

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

github.com/hack-pad/go - 574b5decf239f5dad1f25a71d2853a08e237821d authored about 2 years ago by cuiweixie <[email protected]>
cmd/internal/obj: call delete directly without check exist

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

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