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
On Mac OS X, the default stack size for non-main threads created by cgo is
fixed at 512KB and ca...
Indirect branches are much more expensive than direct. If the call is
known to be local, we can ...
Usually optimization rules have corresponding priorities, some need to
be run first, some run ne...
Also make error recovery slightly more robust in this case.
Fixes #56022.
Change-Id: I1c01c146...
c591d82ea99b70b251a51cefd11ddc42ff004ce6 authored over 2 years ago
Change-Id: I72fed206df1a4e36d5e519378599e8d952423d53
Reviewed-on: https://go-review.googlesource...
asn1 allocates due to reflect.TypeOf(new(big.Int)) in init time.
We could replace it with (*big....
Updates #52580.
For #50436.
Change-Id: I669f13863f1f85d576c3c94500b118e6989000eb
Reviewed-on: h...
Imagine that initFuncTypes is called with n=3, funcTypes will be
[nil, nil, nil, **reflect.rtype...
Change-Id: I45f941ba3db26a12b3f56d93bdcd7f9e1d490346
GitHub-Last-Rev: 22b51167b08a1770a63a8b768a...
This reverts CL 437176.
Reason for revert: broke programs that plumb StdoutPipe from one comman...
3380ee2520165187c3d1476c46d16bc76376d4d4 authored over 2 years ago
[Roll-forward of CL 436915 by Tobias Klauser, with builtin and gen
directories dropped now that ...
These two directories are full of //go:build ignore files.
We can ignore them more easily by put...
Use internal/syssup.RaceDetectorSupported in the exit hooks tests as a
better way to tell if the...
Read counters using atomic ops so as to avoid problems with the race
detector if a goroutine hap...
Separate out the functions from cmd/internal/sys/support.go and
migrate them to a new package in...
It was accidentally removed in CL 355451.
Change-Id: I818ea01b83e437c25829bf7e88c7180963e696f8
...
Update the minimum version required for asan to be gcc9.
This will ensure that go build -asan is...
SecCreatePolicySSL returns null when called from a binary that has a
strange path. This seems to...
CL 424034 introduced two new packages that trigger external
linking mode where internal linking ...
When decoding a struct, if a positive delta is large enough to overflow
when added to fieldnum, ...
CL 425314 made creating funcTypes using StructOf, and using a mutex to
protect read+write to fun...
Fixes #54181.
Change-Id: I47f5102ff2095a794b6fc6bcf75617ba5f85c24d
Reviewed-on: https://go-revi...
Change-Id: If78c6d3c6183494f71f2857e496e172a789da39f
GitHub-Last-Rev: 58e0b75052a92cb720371d2b3c...
Change-Id: I4686f36a8f718fea1a08d816bc14e24e3528bb07
Reviewed-on: https://go-review.googlesource...
In TestCoverageApis/emitToNonexistentDir there is a list of error
messages to match when a nonex...
The offset of the line info should be smaller than the file size.
Otherwise, it should be ignore...
Reduce return complexity.
Change-Id: I280a0fe1a49371e231e93e0d3e177730b6f28769
GitHub-Last-Rev:...
Change-Id: I192dd34c677e52e16f0ef78e1dae58a78f6d1aac
GitHub-Last-Rev: 1638a7468951df72f13fea3485...
Otherwise DirFS of a UNC path does not work.
Fixes #54694
Change-Id: I82c1c436f7c26b3935c2cc4f...
82e357d6d5944fc5b0293085a0305fe328c505ea authored over 2 years ago
Change-Id: Ifaa73b64e5b6a1d37c753e2440b642478d7dfbce
Reviewed-on: https://go-review.googlesource...
Change-Id: Iae290216687fd1ce8be720600157fb78cc2446d0
GitHub-Last-Rev: 4fba64ecb14a704d39f6ecc339...
For #53821
Change-Id: I1b5c62288eca20ff50f6d8d979cf82df24d4545b
GitHub-Last-Rev: 266148570a6465...
The flag is now removed from `go build` and `go test`.
It has been deprecated since Go 1.16, pri...
Updates #53466
Change-Id: I6643b4254dc707351d397018cee485bb508dde94
Reviewed-on: https://go-rev...
It's all local to a single file and responsible for 1.7% of total
space allocated summed over co...
This is the last failed test in Unified IR, since it can inline f5 and
f6 but the old frontend c...
The mismatch between Unified IR and the old frontend is not about how
they number the closures, ...
This CL optimizes the Hypot function by putting the Abs function in
front of the IsInf check. Th...
For #50436, I want to be able to close the pipes returned by
StdoutPipe and StderrPipe after the...
This change undoes CL 401894, because on further consideration
it turns out not to be needed.
T...
c9a62b7e711f5c1f1a73e0c3a5b6a2e5b67033e2 authored over 2 years ago
No test case because the problem can only happen for invalid data. Let
the fuzzer find cases lik...
Convert a few occurrences that were submitted after CL 389935.
For #20322
For #51572
Change-Id...
cc90e45f1da8879163ae4ed3b1f7a5045cfc0685 authored over 2 years ago
Change-Id: I17a311afb94a056b3d35bfa241f5d0d206db602d
GitHub-Last-Rev: 42129464c9e17fae9b61ea6094...
Updates #53058
Change-Id: Ieaa500bea11f26f9a039196592bea67405bdf0ad
Reviewed-on: https://go-rev...
When the first call to Do finished, it calls c.wg.Done() to signal
others that the call was done...
Change-Id: I4698d0fa78108d83ee91732e8d3878dbff7f9c90
Reviewed-on: https://go-review.googlesource...
Change-Id: Icd4062e570559f1d0c69d4bdb9e23412054cf2a6
GitHub-Last-Rev: fbbfbcb54dac88c9a8f5c5c6d2...
A key may be forgotten while the call is still in flight. So when the
call finished, it should o...
All inlined functions are Go functions, and thus should be capable of
having a FuncInfo. Missing...
The linker needs FuncInfo metadata for all inlined functions. This is
typically handled by gc.en...
This reverts CL 421994.
Reason for revert: breaks runtime.TestCheckPtr2
For #53824
For #51087
...
This change moves Linux epoll's syscalls implementation to the
"runtime/internal/syscall" packag...
This is predicted to reduce allocation, hence GC time.
(And it does.)
Change-Id: I30a46805b81e5...
9e0149da3c25c3a2399e0f578549f252c186491c authored over 2 years ago
Change-Id: I53169e386b8c789b092de348fa891fe50e11c2ef
GitHub-Last-Rev: 75232393b4ba415bddc731f155...
This reverts commit 66165739828b8326b625463beb51ae510b2ab8dd, corresponding to CL 436915.
Reaso...
902da52f7b5826c2083effc20b209f39d58d2919 authored over 2 years ago
Change-Id: I268033bfcda34b76ef1d3a3446d6d1d875fc33ea
Reviewed-on: https://go-review.googlesource...
Change-Id: Ie1e76d2e99bf2af7f064c9073c1fb866086962f6
Reviewed-on: https://go-review.googlesource...
Turn on the CoverageRedesign GOEXPERIMENT by default.
Updates #51430.
Change-Id: Id15c67ef0b6a...
9910f8a4034d1edf317966060336a569800d4663 authored over 2 years ago
The minimum bootstrap version for Go ≥ 1.20 is Go 1.17. That version
supports the new style //go...
already skips tests in case of the timestamp error, eg. #97757
Change-Id: Ia696e83cba2e3ed50181...
d7dbe0111ef2a6de80a20fef188db61d8fab5c96 authored over 2 years agoUpdates #53466
Change-Id: Ifa1b8fe79f952a08dbdf91ae5ab23e4431e66134
Reviewed-on: https://go-rev...
Change-Id: Ifa78c98bf919ea62136f19b2bad0a8ee33afc646
Reviewed-on: https://go-review.googlesource...
Change-Id: I1257270c55d69962988b6034e7341a9142a0c449
Reviewed-on: https://go-review.googlesource...
Change-Id: I51dd087e630bf433c30d0aaaf3715b62524eb432
Reviewed-on: https://go-review.googlesource...
Change-Id: I59b3e72382433a6dd82306f026171f3af4a6cba7
Reviewed-on: https://go-review.googlesource...
Change-Id: I4b596b252c1785b13c4a166e9ef5f4ae812cd1bc
Reviewed-on: https://go-review.googlesource...
Change-Id: I5350c6374cd39ce4512d29cd8a341c4996f3b601
Reviewed-on: https://go-review.googlesource...
Change-Id: I20956187e925ef6ab35d23b23c40bbb0ee55ef4a
Reviewed-on: https://go-review.googlesource...
Change-Id: Ibf7e33e42c649783eaa0e638babff22d96ab51c8
Reviewed-on: https://go-review.googlesource...
Change-Id: Ifdb351193cab1c0b905a1cde17993231f849644c
Reviewed-on: https://go-review.googlesource...
Change-Id: Iea75d0475e1cc8f794a7bae864c6ce0e6e33cb6c
Reviewed-on: https://go-review.googlesource...
Change-Id: Ieef05be39bad1263eacedb33c2043ee83080f629
Reviewed-on: https://go-review.googlesource...
Change-Id: I982835eb0d051e48964fc4a66018514c7203dd0a
Reviewed-on: https://go-review.googlesource...
Change-Id: Ie3b593f7f0c71334dc8c446d545bf441f2ae81f8
Reviewed-on: https://go-review.googlesource...
Change-Id: I892f17a8a6464d53dbf330a41439a81cb8873262
Reviewed-on: https://go-review.googlesource...
Change-Id: I32ab2f2dcc5e8357b8e832bc40f688a88550007f
Reviewed-on: https://go-review.googlesource...
Change-Id: I23ab738b73bc33d3b0b10013c3fadd95b5b24681
Reviewed-on: https://go-review.googlesource...
Change-Id: I536c7fad84a63e96658c6930a5a77fd70edca33c
Reviewed-on: https://go-review.googlesource...
Change-Id: Ia2b376d134d4fd273924de2e4cdee9eba5a15c57
Reviewed-on: https://go-review.googlesource...
Change-Id: Ibee86b4c5dc9a18df9bdc65b0ec8339ee1cac7a9
GitHub-Last-Rev: 336580707cd58f2c17ec4c686d...
Change-Id: Ia0896bd1edf2558821244fecd1c297b599472f47
GitHub-Last-Rev: cfd1e1091a064cdc38469c02c6...
Change-Id: I06f85f78c4c802142fc9207b100753decd568274
GitHub-Last-Rev: 4ad4c0f5e93df9ea83deb86b81...
Change-Id: I164d350ca480640996055dedf38d962921c474a6
Reviewed-on: https://go-review.googlesource...
Rename "ifaceWords" to "efaceWords", since we are defining
an empty interface.
Change-Id: I7151...
b78b84cd23f7d0f2a2d7a9574bb37c340cf28947 authored over 2 years agoUpdates #53466
Change-Id: I3c156400a105e711d6da0980854c08bf2f7e415a
Reviewed-on: https://go-rev...
Add the description of Setenv that it cannot use if the test have
parallel ancestors.
Fixes #55...
a14ac8635f673218c91e13c103cb2f3e29ff4b74 authored over 2 years ago
Change-Id: I4f7581d1f4cd8a305acc02454e032c0788d39283
Reviewed-on: https://go-review.googlesource...
Change-Id: I143d05c24a3e897d0f3ee78dd16954c32ceae091
Reviewed-on: https://go-review.googlesource...
Change-Id: I0b7b6e4e9d2539e4fcb5c08430ba5a74733fad3c
Reviewed-on: https://go-review.googlesource...
Saves on both space and cost of map operations. Saves about 3% in compile time.
name ...
59bc93535b3c5a3792df6837d8b28029e2952b84 authored over 2 years ago
Change-Id: Ia8d6cea75b32c8839837c1bb1e13cde9b236abdd
Reviewed-on: https://go-review.googlesource...
Change-Id: I2854b5e7b48c4c189df84cb7281b7b7de780eebd
Reviewed-on: https://go-review.googlesource...
Change-Id: Icfa3fd519df48f8d7d7aa3795535fd7e6aaa159f
Reviewed-on: https://go-review.googlesource...
Change-Id: Id4c3a140d9619796aee1ba3214f7d5fce040b4e3
Reviewed-on: https://go-review.googlesource...
Change-Id: I4730673130bdfbda9987dcb5869f421082f92150
Reviewed-on: https://go-review.googlesource...
The suffix should be 34 not 28. I misread the name because the
reloc listed before these two in ...
Fix a couple of places where we still use "parameterized".
Change-Id: I2c70356d4e363ee709c5ef19...
545adcfe89458c5df714c27992064733b07491f9 authored over 2 years agoFor #54219.
Change-Id: I9767f46a5b44beeee62a3d53c4de4f6acb6b6e73
Reviewed-on: https://go-review...
Updates #52580.
For #50436.
Change-Id: I0929055ffca1ca429f6ebec7d877f4268bd1fda2
Reviewed-on: h...
An error which implements an "Unwrap() []error" method wraps all the
non-nil errors in the retur...