Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/hack-pad/go

The Go programming language
https://github.com/hack-pad/go

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...

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 ...

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...

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...

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...

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....

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...

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...

e7d203f494281a229a7d4ef769f14975e9b12e4e authored about 2 years ago by Zeke Lu <[email protected]>
all: use fmt.Appendf

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

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...

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 ...

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...

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...

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...

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...

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
...

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...

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...

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 ...

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, ...

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...

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...

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...

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...

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...

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...

5451ba3ac4f0a61e1fffdabac3d9b5daa5f04124 authored about 2 years ago by chanxuehong <[email protected]>
log/syslog: return nil directly

Reduce return complexity.

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

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...

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...

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...

4585bf96b4025f18682122bbd66d4f2a010b3ac9 authored about 2 years ago by hopehook <[email protected]>
syscall: remove redundant type conversion

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

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...

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...

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...

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...

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...

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, ...

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...

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...

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...

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...

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...

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...

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...

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...

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...

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...

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...

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...

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...

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
...

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...

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...

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...

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...

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...

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

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

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...

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...

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...

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...

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...

2cbcf36ede1092074b73924d2f4f12ddcf0fcc0a authored about 2 years ago by cuiweixie <[email protected]>
strconv: delete unused field

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

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...

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...

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...

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...

1a6af5f7a041c13568286c2eb82352d26057acd6 authored about 2 years ago by cuiweixie <[email protected]>
cmd/internal/dwarf: remove redundant break statement

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

1f1583839227ebe9adc5979e355bde7a20e00405 authored about 2 years ago by cuiweixie <[email protected]>
cmd/internal/cov: use io.SeekStart, io.SeekCurrent, and io.SeekEnd

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

d547ae2a8e2879aa330b9236e28873ddd714c1f8 authored about 2 years ago by cuiweixie <[email protected]>
cmd/go/internal/mvs: remove useless type assertion

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

fdcaae5734b44f1089a55c22a000d1b483ff2a91 authored about 2 years ago by cuiweixie <[email protected]>
cmd/go/internal/modindex: should omit comparison to bool constant

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

2fedd335f00bfc084f9008fa3b2ffbfcad240f04 authored about 2 years ago by cuiweixie <[email protected]>
cmd/go/internal/list: should omit comparison to bool constant

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

1896eac57f432478eb894ac5e10f91c4d08e4a3a authored about 2 years ago by cuiweixie <[email protected]>
cmd/go/internal/bug: use bytes.Contains

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

5613de9d47b518496b487804806db933b5ea375a authored about 2 years ago by cuiweixie <[email protected]>
cmd/cover: use io.SeekStart, io.SeekCurrent

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

679640aee8e0df8eaed8ac56226b8b7ed69d225e authored about 2 years ago by cuiweixie <[email protected]>
cmd/cover: remove unnecessary fmt.Sprintf

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

0582b7958e2acd9e47495f0f2ad9bef02afe50fe authored about 2 years ago by cuiweixie <[email protected]>
cmd/compile/internal/ppc64: delete useless break

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

19855072570ca6ec657c09b14fdeb1a5e5271fb7 authored about 2 years ago by cuiweixie <[email protected]>
internal: use io.SeekStart, io.SeekCurrent, and io.SeekEnd

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

1b5110268b5ff161fb2676023b4f9f942b8915bb authored about 2 years ago by cuiweixie <[email protected]>
internal: use time.Since instead of time.Now().Sub

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

daf1612dc7700477b97825308d03cd8e23520769 authored about 2 years ago by cuiweixie <[email protected]>
compress: remove useless break statement

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

b8ed88db8dbea46b868b6bc9b4b688666afe9dfa authored about 2 years ago by cuiweixie <[email protected]>
cmd/fix: use strings.Cut

Change-Id: Ibee86b4c5dc9a18df9bdc65b0ec8339ee1cac7a9
GitHub-Last-Rev: 336580707cd58f2c17ec4c686d...

1d65566148d0b214fcf9667535ecc1d43ed4f7ee authored about 2 years ago by cui fliter <[email protected]>
cmd: fix a few function names on comments

Change-Id: Ia0896bd1edf2558821244fecd1c297b599472f47
GitHub-Last-Rev: cfd1e1091a064cdc38469c02c6...

c69d6d8b3e787e6cd87e0a8a3c726720296462b1 authored about 2 years ago by cui fliter <[email protected]>
crypto: fix a few function names on comments

Change-Id: I06f85f78c4c802142fc9207b100753decd568274
GitHub-Last-Rev: 4ad4c0f5e93df9ea83deb86b81...

84c188008e4a2c772308e2b6c74d4c353303d308 authored about 2 years ago by cui fliter <[email protected]>
all: use strings.Builder where appropriate

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

972496ae6e63bc2985cc1b827389f3216a54d083 authored about 2 years ago by hopehook <[email protected]>
sync/atomic: rename "ifaceWords" to "efaceWords"

Rename "ifaceWords" to "efaceWords", since we are defining
an empty interface.

Change-Id: I7151...

b78b84cd23f7d0f2a2d7a9574bb37c340cf28947 authored about 2 years ago by hopehook <[email protected]>
syscall: add support for freebsd/riscv64

Updates #53466

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

bf0a1ffbe2218d70f5f2aa5a3d6c6e67fb23f4d4 authored about 2 years ago by Mikael Urankar <[email protected]>
testing: update description of Setenv

Add the description of Setenv that it cannot use if the test have
parallel ancestors.

Fixes #55...

a14ac8635f673218c91e13c103cb2f3e29ff4b74 authored about 2 years ago by Nobuki Fujii <[email protected]>
cmd/compile/internal/ir: delete unused code

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

e7a3d87ddae6aa720e104213bd2cf98e3e743c9a authored about 2 years ago by cuiweixie <[email protected]>
cmd/go: using strings.CutPrefix replace strings.HasPrefix and strings.TrimPrefix

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

32a52e039953889a3aaa6a3e7f0ad0f7dfcbeac3 authored about 2 years ago by cuiweixie <[email protected]>
net/http: using strings.CutPrefix replace strings.HasPrefix and strings.TrimPrefix

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

2b45aebe145d24686df152d77f82713592c47b91 authored about 2 years ago by cuiweixie <[email protected]>
cmd/compile: keep typecheck results in syntax tree

Saves on both space and cost of map operations. Saves about 3% in compile time.

name ...

59bc93535b3c5a3792df6837d8b28029e2952b84 authored about 2 years ago by Keith Randall <[email protected]>
bufio: use strings.Builder

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

e3ac2152f28f74c085d305d764a54d14d46eaaa9 authored about 2 years ago by cuiweixie <[email protected]>
archive/zip: use strings.TrimPrefix

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

45c2421dc643f9e0274cb8630459d65942838f2d authored about 2 years ago by cuiweixie <[email protected]>
net/http: remove deadstore statement

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

1371efcd69365d1cda87a2d9e450df0339720178 authored about 2 years ago by cuiweixie <[email protected]>
net: delete unused code

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

4973c16f3c041866fe80eea76983d0028f843a7b authored about 2 years ago by cuiweixie <[email protected]>
net/http: use time.Compare

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

879f595f7eacbd53d25fe21cac4b2b0cfde36449 authored about 2 years ago by cuiweixie <[email protected]>
debug/elf: fix typo in R_PPC64_TPREL34 and R_PPC64_DTPREL34

The suffix should be 34 not 28. I misread the name because the
reloc listed before these two in ...

27d4cdd1a6280e906c4f6bd89b5882a51ad64099 authored about 2 years ago by Paul E. Murphy <[email protected]>
go/types, types2: use "generic" rather than "parameterized" in error messages

Fix a couple of places where we still use "parameterized".

Change-Id: I2c70356d4e363ee709c5ef19...

545adcfe89458c5df714c27992064733b07491f9 authored about 2 years ago by Robert Griesemer <[email protected]>
cmd: add skips as needed to get tests to pass on js/wasm

For #54219.

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

dd42a84fb36ade570a7bfaf6fec5df44bbf71500 authored about 2 years ago by Bryan C. Mills <[email protected]>
os/exec: avoid leaking a process in TestDoubleStartLeavesPipesOpen

Updates #52580.
For #50436.

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

ce3a5c0d1036bea6d0abb9ff638f3a5382e428ee authored about 2 years ago by Bryan C. Mills <[email protected]>
errors, fmt: add support for wrapping multiple errors

An error which implements an "Unwrap() []error" method wraps all the
non-nil errors in the retur...

4a0a2b33dfa3c99250efa222439f2c27d6780e4a authored about 2 years ago by Damien Neil <[email protected]>