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/trace: only include required frames in splits

Though we split traces into 100MB chunks, currently each chunk always
includes the entire stack ...

github.com/hack-pad/go - d2b5a6f332b011c75c17bfb99216cc51ac7a0b5f authored almost 2 years ago by Michael Pratt <[email protected]>
runtime: yield in goschedIfBusy if gp.preempt

runtime.bgsweep contains an infinite loop. With aggressive enough
inlining, it may not perform a...

github.com/hack-pad/go - 50664c236f9ab38cd57e0a36cf29527d4c513010 authored almost 2 years ago by Michael Pratt <[email protected]>
doc: add a release note for fewer pre-compiled GOROOT .a files

For #47257

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

github.com/hack-pad/go - 82c6967adad6319ac08fca4f3e84066a43083963 authored almost 2 years ago by Michael Matloob <[email protected]>
codegen: check for PPC64 ISEL in condmove tests

ISEL is roughly equivalent to CMOV on PPC64. Verify ISEL generation
in all reasonable cases.

No...

github.com/hack-pad/go - 390abbbbf1018f9bb814baf6ab38e31efaf58666 authored almost 2 years ago by Paul E. Murphy <[email protected]>
testing: Document RunParallel ns/op behavior

Updates #31884

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

github.com/hack-pad/go - 8ec1c9e2850c642e3ebd0ea3a9749dd13cd4545a authored almost 2 years ago by Felix Geisendörfer <[email protected]>
cmd/vet: remove unused const

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

github.com/hack-pad/go - a9767ea59d8b321bafc5e899889ff1d047a2b217 authored almost 2 years ago by Yasuhiro Matsumoto <[email protected]>
all: fix comment typos

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

github.com/hack-pad/go - 1c05968c9a5d6432fc6f30196528f8f37287dd3d authored almost 2 years ago by Dan Kortschak <[email protected]>
reflect: rewrite value.Equal to avoid allocations

For #46746

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

github.com/hack-pad/go - a343f4017b501358c202154f074f54d710df6698 authored almost 2 years ago by Ian Lance Taylor <[email protected]>
all: fix function names in comments

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

github.com/hack-pad/go - a74985092c14784db86fdf391b9cf939e1b06f2f authored almost 2 years ago by cui fliter <[email protected]>
cmd/compile/internal/pgo: use a slice for locations

Currently locations are stored in a map and looked up by ID from
the map. The IDs are usually sm...

github.com/hack-pad/go - d9cc39b25c8ebef5a976e34848dc3c5216108f07 authored almost 2 years ago by Cherry Mui <[email protected]>
cmd/go: use clean GOCACHE in TestNewReleaseRebuildsStalePackagesInGOPATH

Now that most GOROOT packages do not have install targets, their
staleness depends on whether th...

github.com/hack-pad/go - 6d58aea5d412d135ec08463db515ee9453c508b5 authored almost 2 years ago by Michael Matloob <[email protected]>
cmd/compile/internal/pgo: match on call line offsets

Rather than matching calls to edges in the profile based directly on
line number in the source f...

github.com/hack-pad/go - bdd1e283a914d4d161589adce4f2ad79767d029d authored almost 2 years ago by Michael Pratt <[email protected]>
cmd/compile/internal/pgo: check repeated edge only when node is seen

When adding weights for a call stack, for recursive calls, to
avoid double counting we check if ...

github.com/hack-pad/go - f187c6b08eac9dddd161bb2e7537def3bbf8ec9a authored almost 2 years ago by Cherry Mui <[email protected]>
cmd/dist: simplify cgo_test

Now that misc/cgo/test doesn't invoke any Go builds itself, we don't
need to use GOFLAGS to thre...

github.com/hack-pad/go - 9dcc873413aa390bd9392d1ed6ae4198593e4c5d authored almost 2 years ago by Austin Clements <[email protected]>
misc/cgo/test: simplify for module mode

When we were first introducing module mode, CL 163418 moved many of
the tests in misc/cgo/test i...

github.com/hack-pad/go - b079640404a1e83a23b95bd22ec67cedd38798a9 authored almost 2 years ago by Austin Clements <[email protected]>
cmd/compile/internal/pgo: use slices for in/out edges

Currently in the pprof Graph, a Node's in/out edges are
represented as maps, keyed by the source...

github.com/hack-pad/go - 7e88b866f9576d6f9ddfe0a054da7383bfff54fa authored almost 2 years ago by Cherry Mui <[email protected]>
cmd/compile/internal/pgo: remove some unused fields

We intentionally don't use file path so it is resilient to code
moving. OrigName and Objfile are...

github.com/hack-pad/go - a72e133422d3eb2f24ca6f5d834c622137f0ccd2 authored almost 2 years ago by Cherry Mui <[email protected]>
cmd/compile/internal/pgo: remove label handling

We don't use it. Make graph building a little faster.

Change-Id: I4a6f516f8e68bf338be8350f91c51...

github.com/hack-pad/go - 1a4cc091a9a0d5729db5f276ed1ad6f3aa768023 authored almost 2 years ago by Cherry Mui <[email protected]>
cmd/compile: tweak compiler concurrency

Default concurrency is now GOMAXPROCS, though this is normally
reduced to 4 by the go build comm...

github.com/hack-pad/go - b725622ceb3d537334e1a3bb1723b1e939a40823 authored almost 2 years ago by David Chase <[email protected]>
cmd/compile: change the multiple (gossa)hash separator from ; to /

Semicolon has bad copy-paste ergonomics; it requires quoting.
Slash is okay, and won't be a sepa...

github.com/hack-pad/go - 1bcfdc777ad38bbb4faec8e1db2eaa92873f4e10 authored almost 2 years ago by David Chase <[email protected]>
cmd/compile: fix PGO cross-package inlining

With CL 447015, we identify hot callees from edge weights, but
the code only traverses edges for...

github.com/hack-pad/go - ada9385a5fd3908243dbb514040c07a41e4806bb authored almost 2 years ago by Cherry Mui <[email protected]>
runtime: eliminate arbitrary timeouts in runBuiltTestProg and TestGdbBacktrace

This may fix the TestEINTR failures that have been frequent on the
riscv64 builders since CL 445...

github.com/hack-pad/go - 0758a7d82da03d38fff8619a245f5fcb05721cf9 authored almost 2 years ago by Bryan C. Mills <[email protected]>
net/http: ignore ranges if the content is empty in serveContent

Fixes #54794

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

github.com/hack-pad/go - edfe07834905809d687b30632ccb849b84ebd4f2 authored almost 2 years ago by Jorropo <[email protected]>
api: add newline to 55301.txt

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

github.com/hack-pad/go - 7ddbadb397b18ffadd308fea84884ae363e87b58 authored almost 2 years ago by cuiweixie <[email protected]>
text/template/parse: fix interaction of break/continue keywords and functions

Fixes a bug that was introduced in CL 410414; in that CL, to avoid
a race condition in the initi...

github.com/hack-pad/go - d65c0593c4f1dd4a9b381cf654668aa27166b24e authored almost 2 years ago by Eli Bendersky <[email protected]>
net: add ControlContext to Dialer

Fixes #55301

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

github.com/hack-pad/go - 90b40c0496440fbd57538eb4ba303164ed923d93 authored almost 2 years ago by cuiweixie <[email protected]>
os/exec: allow NUL in environment variables on Plan 9

Plan 9 uses NUL as os.PathListSeparator, so it's almost always going
to appear in the environmen...

github.com/hack-pad/go - bc2dc2384619d871000f9627b5d4e2bdc1dd38dc authored almost 2 years ago by Matthew Dempsky <[email protected]>
cmd/compile: remove the resultInArg0 register checks on linux/loong64

The automatic resultInArg0 register check has been implemented by CL 296010.

Change-Id: Id0e085...

github.com/hack-pad/go - c1c6b0ca79233c8b7612957291c2d47d337cc2de authored almost 2 years ago by Guoqi Chen <[email protected]>
testing: add Get method for -test.v option

There is existing code that calls flag.Lookup("test.v") and inspects
the value. That stopped wor...

github.com/hack-pad/go - 3615eb16af57b832a3b6d957d86b84b656865a14 authored almost 2 years ago by Ian Lance Taylor <[email protected]>
cmd/link: support PPC64 prefixed relocations for power10

Handle emitting (to ld) or resolving commonly used ELFv2 1.5
relocations. The new ISA provides P...

github.com/hack-pad/go - 69abfab979a22307bbd1b3f5f02a64349d16d3d5 authored almost 2 years ago by Paul E. Murphy <[email protected]>
cmd/compile: allow ineffectual //go:linkname in -lang=go1.17 and older

Prior to Go 1.18, ineffectual //go:linkname directives (i.e.,
directives referring to an undecla...

github.com/hack-pad/go - aa6240a445d2478f29add6218b19147f5bf2204f authored almost 2 years ago by Matthew Dempsky <[email protected]>
cmd/go: fix a bug printing error output from c compiler

fmt.Sprint should be called instead of fmt.Sprintf as is done
elsewhere in exec.go

Change-Id: I...

github.com/hack-pad/go - 48ff5c1042af780dade9f539368e8bc2259d2679 authored almost 2 years ago by Michael Matloob <[email protected]>
cmd/compile/internal/ssa: re-adjust CarryChainTail scheduling priority

This needs to be as low as possible while not breaking priority
assumptions of other scores to c...

github.com/hack-pad/go - d031e9e07a07afef8d16576fd7079a739a7e4394 authored almost 2 years ago by Paul E. Murphy <[email protected]>
Revert "cmd/go: update TestScripts/svn to not depend on TZ database"

This reverts CL 447335.

Reason for revert: broke test on solaris-amd64-oraclerel, which does ha...

github.com/hack-pad/go - c065bc70ef45003216271ba42bdd4a4c321ac38a authored almost 2 years ago by Bryan Mills <[email protected]>
go/build: don't add unparsable non-Go files to InvalidGoFiles

go/build attempts to parse comments at the beginning of non-Go files
looking for //go:build or /...

github.com/hack-pad/go - 3511c822f766fdf16817c1a1949971806c4eeb7e authored almost 2 years ago by Michael Matloob <[email protected]>
cmd/compile: if GOGC is not set, temporarily boost it for rapid starting heap growth

Benchmarking suggests about a 14-17% reduction in user build time,
about 3.5-7.8% reduction for ...

github.com/hack-pad/go - 44cabb802af220388aa1d74776e076e75c53aeb0 authored almost 2 years ago by David Chase <[email protected]>
net: do not modify shared test variable in TestDNSReadConfig

Fixes #56542

Change-Id: I294856f8fb4d49393310ec92ab40fb7d841b6570
GitHub-Last-Rev: a4563400af81...

github.com/hack-pad/go - 0b76e326bb15ec828aeb1470902a71c7416b64b9 authored almost 2 years ago by Mateusz Poliwczak <[email protected]>
runtime: support control flow guard on windows/amd64

The stack pointer must lie within system stack limits
when Control Flow Guard (CFG) is enabled o...

github.com/hack-pad/go - 5c0d314adcc605e0198b2bb45a34db701c9e072c authored almost 2 years ago by qmuntal <[email protected]>
crypto/x509: switch test to ParseRevocationList

In following with Roland's TODO, switch TestDisableSHA1ForCertOnly to ParseRevocationList(...) o...

github.com/hack-pad/go - 7abc8a2e3370bd013d9aa12b5d443e21537dfb26 authored almost 2 years ago by Alexander Scheel <[email protected]>
cmd/compile: add debug-hash flag for fused-multiply-add

This adds a -d debug flag "fmahash" for hashcode search for
floating point architecture-dependen...

github.com/hack-pad/go - 667c53e1599fbc61b48e3ddc95e2361b8c8fb8a5 authored almost 2 years ago by David Chase <[email protected]>
cmd/objdump: skip PIE test when cgo is disabled and PIE needs external linking

On some platforms, building PIE needs external linking, which
cannot run if cgo is not available...

github.com/hack-pad/go - 1f65c399befa37e6727bb1a1a40aca65c4b6bcc4 authored almost 2 years ago by Cherry Mui <[email protected]>
cmd/compile: use CDF to determine PGO inline threshold

Currently in PGO we use a percentage threshold to determine if a
callsite is hot. This CL uses a...

github.com/hack-pad/go - b07e845e764806fa888cb4e99c8ace4625f0472f authored almost 2 years ago by Cherry Mui <[email protected]>
math/big: add PCALIGN to addMulVVW asm on ppc64x

Adding PCALIGN to addMulVVW assembler implementation
provides the following improvement on power...

github.com/hack-pad/go - 932330fdbf669e28748227148f3f633620a5a300 authored almost 2 years ago by Lynn Boger <[email protected]>
cmd/go: update TestScripts/svn to not depend on TZ database

`TestScripts/svn` test suite fails if the host does not have a TZ
database installed.

This CL u...

github.com/hack-pad/go - ebb71ad681ec5711c004537e5800a10e5a3ab533 authored almost 2 years ago by qmuntal <[email protected]>
cmd/go/internal/vcs: also check file mode when identifying VCS root

Currently, FromDir identifies a VCS checkout directory just by checking
whether it contains a sp...

github.com/hack-pad/go - bb3965695d3bc3586fba55c7b8d5e8a56cd4c0c9 authored almost 2 years ago by Zeke Lu <[email protected]>
cmd/go/internal/script: Cmp() should not perform environment substitutions

This is an oversight from https://go-review.googlesource.com/c/go/+/419875,
where script command...

github.com/hack-pad/go - 3e3a8fe5bed87845e7c93da50378403564ad9e69 authored almost 2 years ago by qmuntal <[email protected]>
cmd/compile: remove issueSpill

Remove the useless issueSpill and continue directly.

Change-Id: I085e566be6f7200235e1bfe1f56a8e...

github.com/hack-pad/go - e81263c79153e98c553c17f7c0417364bea827f5 authored almost 2 years ago by liu-xuewen <[email protected]>
crypto/x509: create CRLs with Issuer.RawSubject

Per discussion with Roland Shoemaker, this updates
x509.CreateRevocationList to mirror the behav...

github.com/hack-pad/go - a367981b4c8e3ae955eca9cc597d9622201155f3 authored almost 2 years ago by Alexander Scheel <[email protected]>
all: fix a few function names on comments

Change-Id: Ida7e756f01a2c115ac58bf10aa13b2f8fd57b6a1
GitHub-Last-Rev: 4694d397bd3ad488fd05ed2cc6...

github.com/hack-pad/go - 1bfb51f8f79acc13ff1c79576bf0a340d4d6706e authored almost 2 years ago by cui fliter <[email protected]>
crypto/ecdh: update ECDH docs and add tests for edge cases

Two edge cases that were mentioned in the docs are actually impossible:

* For NIST curves, EC...

github.com/hack-pad/go - 582a6c2db4dfb617e709b7c8d859ff548aee1b1a authored almost 2 years ago by Filippo Valsorda <[email protected]>
os/exec: allow open descriptors to be closed during TestPipeLookPathLeak

In https://build.golang.org/log/d2eb315305bf3d513c490e7f85d56e9a016aacd2,
we observe a failure i...

github.com/hack-pad/go - 56ad133512b4f05c071ec79bc4cf9ccb227567c1 authored almost 2 years ago by Bryan C. Mills <[email protected]>
cmd/go: add -C flag

The -C flag is like tar -C or make -C: it changes to the named directory
early in command startu...

github.com/hack-pad/go - 2af48cbb7d85e5fdc635e75b99f949010c607786 authored almost 2 years ago by Russ Cox <[email protected]>
cmd/compile: use edge weights to decide inlineability in PGO

Currently, with PGO, the inliner uses node weights to decide if a
function is inlineable (with a...

github.com/hack-pad/go - fb4f7fdb26da9ed0fee6beab280c84b399edaa42 authored almost 2 years ago by Cherry Mui <[email protected]>
README: update from CC-BY-3.0 to CC-BY-4.0

CC-BY-3.0 was shiny and new back in 2009, but CC-BY-4.0 is
generally preferred now. Update our C...

github.com/hack-pad/go - a5b4283dfd90687d4263b38001e06bd3acf8b752 authored almost 2 years ago by Russ Cox <[email protected]>
cmd/api: make check pickier about api/*.txt

We don't have a formatter for these files, so check here that
they are in the right form to allo...

github.com/hack-pad/go - ca8b31920a23541dda56bc76d3ddcaef3c3c0866 authored almost 2 years ago by Russ Cox <[email protected]>
text/template: correct assignment, not declaration, in range

We were mishandling {{range $i = .}}, treating it as though it were
{{range $i := .}}. That happ...

github.com/hack-pad/go - be7068fb0804f661515c678bee9224b90b32869a authored almost 2 years ago by Ian Lance Taylor <[email protected]>
net: store IPv4 returned from cgo resolver as 4-byte slice net.IP

net.IP states that a 16-byte slice can still be an IPv4 address.
But after netip.Addr is introdu...

github.com/hack-pad/go - c53390b078b4d3b18e3aca8970d4b31d4d82cce1 authored almost 2 years ago by Zeke Lu <[email protected]>
go/parser: add missing parenthesis in a comment

Change-Id: I30783aa6a13ad8348fa24b27672d542a868f96de
GitHub-Last-Rev: c4584ad9dab9736275c2f2554a...

github.com/hack-pad/go - 07a70bcabb3c81a2f97e894a6910d95b19d6b074 authored almost 2 years ago by ishwargowda <[email protected]>
regexp: add ErrLarge error

For #56041

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

github.com/hack-pad/go - 581a822a9ed8fcae4afbc93daa6a74db7d9ea9a2 authored almost 2 years ago by cuiweixie <[email protected]>
cmd/compile: renovate GOSSAHASH

Randomized feature enable/disable might be something we use to
help users debug any problems wit...

github.com/hack-pad/go - 03f6d81fc7d52ec53deb94cff69b63d04e689c24 authored almost 2 years ago by David Chase <[email protected]>
math/big: use Montgomery for z.Exp(x, y, m) even for even m

Montgomery multiplication can be used for Exp mod even m
by splitting it into two steps - Exp mo...

github.com/hack-pad/go - 3ba3b4893f3630b2bd78ec6f4f366d60e16bd636 authored almost 2 years ago by Russ Cox <[email protected]>
math/big: add benchmark of Exp with large modulus

Setting up for improving even modulus.

name time/op
ExpMont/Odd-16 2...

github.com/hack-pad/go - d8541aa8d5d09042cff39ba064b2e09b772f0ae0 authored almost 2 years ago by Russ Cox <[email protected]>
cmd/link: remove unnecessary use of sync.Once alongside sync.Mutex

There does not seem to be any point to this sync.Once.
I noticed because I was surveying uses of...

github.com/hack-pad/go - 0aeda5afe5972c1b5f76d5ee78cbc5c96474ca89 authored almost 2 years ago by Russ Cox <[email protected]>
testing: implement -cpu and -count for fuzz tests

Fuzz tests are meant to be run just like ordinary tests,
so copy the same loop cpu and count loo...

github.com/hack-pad/go - 30b240b102652a7cf6b7df0748b4bc69f496e0bc authored almost 2 years ago by Russ Cox <[email protected]>
net: support no-reload option for unix go resolver

It adds support for no-reload option, as specified in resolv.conf(5):
no-reload (since glibc 2....

github.com/hack-pad/go - 81efd7b347dd6d7f12fd49c6eee0274005734c71 authored almost 2 years ago by Mateusz Poliwczak <[email protected]>
net: drop unused _C_ai_addrlen function

Fixes AIX build.

Change-Id: Icbb33896017bbcc488a8baff20e10eb0e14ea4b9
Reviewed-on: https://go-r...

github.com/hack-pad/go - e23876a3835a67dfab936da273fb050dabe765d1 authored almost 2 years ago by Ian Lance Taylor <[email protected]>
cmd/compile/internal/pgo: remove ListOfHotCallSites

The global ListOfHotCallSites set is used to communicate between
CanInline and InlineCalls the s...

github.com/hack-pad/go - d73885588ac0a7520ac3e848112e44f5dbe97006 authored almost 2 years ago by Michael Pratt <[email protected]>
cmd/go/internal/vcweb: increase script WaitDelay by 30x

This should reduce spurious VCS failures on slow builders, like the
one observed in
https://buil...

github.com/hack-pad/go - 1ae93e4c201af78b000dccef0c2489bf7fb879ca authored almost 2 years ago by Bryan C. Mills <[email protected]>
runtime: check for ErrWaitDelay in runBuiltTestProg

ErrWaitDelay is not expected to occur in this test, but if it does
it indicates a failure mode v...

github.com/hack-pad/go - 1587c3658349643ae76acf3d3fc3f0ea5cafe61d authored almost 2 years ago by Bryan C. Mills <[email protected]>
internal/testenv: adjust timeout calculations in CommandContext

I noticed some test failures in the build dashboard after CL 445597
that made me realize the gra...

github.com/hack-pad/go - 082afccebfc068207328fcaeb4b01e540784ff24 authored almost 2 years ago by Bryan C. Mills <[email protected]>
cmd/dist: fix a variable scope bug:

We reused p so we were deleting the same directory twice instead of two
different directories. F...

github.com/hack-pad/go - 50c59194758999487f577030ca11d91c65530559 authored almost 2 years ago by Michael Matloob <[email protected]>
go/build: ignore files by extension before matching on name

Otherwise given a file like defs_nacl_amd64p32.go.~1~ we will add
"nacl" and "amd64p32" to AllTa...

github.com/hack-pad/go - 49bbece44c93b4de62ff360268c420e45f27ad63 authored almost 2 years ago by Ian Lance Taylor <[email protected]>
test/bench/go1: eliminate start-up time

The go1 benchmark suite does a lot of work at package init time, which
makes it take quite a whi...

github.com/hack-pad/go - 6a44a3aa9f250cbe0b329b60eeb555c7dde83f10 authored almost 2 years ago by Austin Clements <[email protected]>
runtime: fix missing error print in TestCgoSigfwd

The result of the call to fmt.Errorf was unused. It was clearly
intending to print the message, ...

github.com/hack-pad/go - 767df51b4dc4d952fd3f3ff14dffdf5fd8cffb4e authored almost 2 years ago by Austin Clements <[email protected]>
runtime: skip TestArenaCollision on failed reservation

If TestArenaCollision cannot reserve the address range it expects to
reserve, it currently fails...

github.com/hack-pad/go - e72da1c15dc273b39dcb5dd87c56d5713dbc1b37 authored almost 2 years ago by Austin Clements <[email protected]>
syscall, os/exec: reject environment variables containing NULs

Check for and reject environment variables containing NULs.

The conventions for passing environ...

github.com/hack-pad/go - 61ae0a37a8c96e2b1745594e477244100f1a7046 authored almost 2 years ago by Damien Neil <[email protected]>
testing: print names of running tests on test timeout

Track the running tests and when they started,
so that we can report the running tests on a test...

github.com/hack-pad/go - ad5d2f64fbb90dd13c4587aa5bf2ed3c86a6dec2 authored almost 2 years ago by Russ Cox <[email protected]>
cmd/cover: fix buglet causing differences in -m output

Use a slightly different line number pragma when emitting instrumented
code, so as to ensure tha...

github.com/hack-pad/go - 02cffcde177bf3fbb36e75d749d0cb338b4f7566 authored almost 2 years ago by Than McIntosh <[email protected]>
cmd/go: revamp and simplify logic in PrepareForCoverageBuild

Change the 'PrepareForCoverageBuild' helper function to provide more
sensible defaults in the ca...

github.com/hack-pad/go - 99dc2a1859f15fafc5950ad7ef6026dfbde826c6 authored almost 2 years ago by Than McIntosh <[email protected]>
cmd/compile: revise inliner coverage tweaks (again)

This patch fixes a typo/bug introduced in CL 441858 where when pattern
matching a coverage count...

github.com/hack-pad/go - 317f2a7df63df89455ee4fd2721620a853c7fda1 authored almost 2 years ago by Than McIntosh <[email protected]>
cmd/{go,cover}: fix for -coverprofile path capture with local pkg

When coverage testing a local package (defined by a relative import
path such as "./foo/bar") th...

github.com/hack-pad/go - 2730170f633811ca42aa4086aab6396c58449535 authored almost 2 years ago by Than McIntosh <[email protected]>
net: use libc (not cgo) for DNS on macOS

Change the macOS implementation to use libc calls.
Using libc calls directly is what we do for a...

github.com/hack-pad/go - a3559f3301b54468c14d4997af0d617db60f4915 authored almost 2 years ago by Russ Cox <[email protected]>
internal/testenv: move helpers related to os/exec to a separate file

(Suggested by Austin in CL 445596.)

Change-Id: Ic774d551e8085d15435ef2b3c78d0169a365ce41
Review...

github.com/hack-pad/go - 661e931dd120484cc1318792bc93ace00bbde088 authored almost 2 years ago by Bryan C. Mills <[email protected]>
cmd/compile: add ability to indicate 'concurrentOk' for debug flags

Also removes no-longer-needed "Any" field from compiler's DebugFlags.
Test/use case for this is ...

github.com/hack-pad/go - c81c0279827545b20f81797bb263ae696d9c235f authored almost 2 years ago by David Chase <[email protected]>
cmd/go: add move test for goroot

This an end-to-end test that sets GOROOT to a symlink
to the distribution, approximating copyin...

github.com/hack-pad/go - 5619dd08493c08f06b47cec9f9553bbda6d2cbbd authored almost 2 years ago by Michael Matloob <[email protected]>
cmd/compile: add cache of sizeable objects so they can be reused

We kind of have this mechanism already, just normalizing it and
using it in a bunch of places. P...

github.com/hack-pad/go - 68bd383368b5958f8f02c49bc75134a0ef61daec authored almost 2 years ago by Keith Randall <[email protected]>
cmd/compile: separate out sparsemaps that need position

Make them a separate type, so the normal sparse maps don't
need the extra storage.

Change-Id: I...

github.com/hack-pad/go - 7ddc45263c739db254a07bb04848e3e5da4982ed authored almost 2 years ago by Keith Randall <[email protected]>
cmd/compile: add rule for post-decomposed growslice optimization

The recently added rule only works before decomposing slices.
Add a rule that works after decomp...

github.com/hack-pad/go - 9ce27feaeb91b2f30ff8cbe3be1ece3071f3f6b2 authored almost 2 years ago by Keith Randall <[email protected]>
cmd/compile/internal/pgo: remove most global state

Since pgo is a new package, it is reasonably straightforward to
encapsulate its state into a non...

github.com/hack-pad/go - 204be97d24e4d6bbe2d5b8e85feb456e88fe0f6d authored almost 2 years ago by Michael Pratt <[email protected]>
os: in TestDirFS only check returned path for unexpected string

The test added in CL 446115 was failing on Plan 9, on which the error
returned by a failed open ...

github.com/hack-pad/go - 3848b44c754229125195e2f95bb71868d1a36f56 authored almost 2 years ago by Ian Lance Taylor <[email protected]>
cmd/compile/internal/pgo: remove ConvertLine2Int

Parts of package pgo fetch the line number of a node by parsing the
number out of the string ret...

github.com/hack-pad/go - ec0b540293a9a0e2c376721b48a208e1fbef5e29 authored almost 2 years ago by Michael Pratt <[email protected]>
internal/testenv: remove RunWithTimout

For most tests, the test's deadline itself is more appropriate than an
arbitrary timeout layered...

github.com/hack-pad/go - e8ec68edfac4f50f57dd7faf039bb5c0f8eaba88 authored almost 2 years ago by Bryan C. Mills <[email protected]>
internal/testenv: add CommandContext and Command

This adds a testenv.CommandContext function, with timeout behavior
based on the existing logic i...

github.com/hack-pad/go - 84cd7ab3c388fb3280cf426a35045d85cda99ff8 authored almost 2 years ago by Bryan C. Mills <[email protected]>
cmd/internal/obj: cleanup linkgetlineFromPos

Make linkgetlineFromPos and getFileIndexAndLine methods on Link, and
give the former a more desc...

github.com/hack-pad/go - 76940b3e5749a9936cbc32631e068065c2003267 authored almost 2 years ago by Michael Pratt <[email protected]>
cmd/compile/internal/test: clean up TestPGOIntendedInlining

The most important change here is to log output from the child, making
it easier to diagnose pro...

github.com/hack-pad/go - 1999f256e4d478251290dfa007c62364810b7bf7 authored almost 2 years ago by Michael Pratt <[email protected]>
net/http: deflake TestCancelRequestWhenSharingConnection

The test sleeps for 1 millisecond to give the cancellation a moment
to take effect. This is flak...

github.com/hack-pad/go - e943dc5a8ccab90286d3882e5d13e9fa9516f243 authored almost 2 years ago by Zeke Lu <[email protected]>
encoding/xml: reduce depth limit on wasm

Wasm can't handle the recusion for XML nested to depth 10,000.
Cut it off at 5,000 instead. This...

github.com/hack-pad/go - 6695cebeec02c62bd440eec8e982028225984dfb authored almost 2 years ago by Russ Cox <[email protected]>
go/types: avoid formatting unneeded causes

This one slipped through a previous cleanup
and showed up in an allocation profile.

Change-Id: ...

github.com/hack-pad/go - 4b993bffb83394105d13b426dae12afe0ab05804 authored almost 2 years ago by Alan Donovan <[email protected]>
sync: use atomic.Pointer for entry

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

github.com/hack-pad/go - 7366b199c52f1c6ac6590bf126357bd2762ebc5b authored almost 2 years ago by Changkun Ou <[email protected]>
cmd/api: skip tests when 'os/exec' is supported but 'go build' is not

This may fix the android-.*-emu builders, which are currently broken.

For #47257.

Change-Id: I...

github.com/hack-pad/go - 3aebf682e4928ab490b64b3ba6729c78c9d066ba authored almost 2 years ago by Bryan C. Mills <[email protected]>