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
TestCPUProfileMultithreadMagnitude compares Go's CPU profile against the
OS's accounting of the ...
Add test for indexing on variables whose types are constrained to
various kinds of types.
Chang...
c143661568dc23badd4ba04f4193658fc1fd9c33 authored about 3 years ago by Dan Scales <[email protected]>
This provides the runtime glue (_rt0_riscv64_linux_lib) for c-archive and c-shared
support, alon...
The X3 (aka GP) register will potentially be loaded with the __global_pointer$ symbol
during pro...
Same logic as CL 357449 (including CL 360815), just ported to types2.
Updates #48098.
Change-I...
519c0a2323700934cbec97b75df92917108548be authored about 3 years ago by Matthew Dempsky <[email protected]>Fixes #49288
Change-Id: I7bfcbecbefa68871a3e556935a73f241fff44c0e
Reviewed-on: https://go-revie...
Follow-up on CL 360396.
Change-Id: Icd802baffb1fef91f8fef0070b6167a438ceda1a
Reviewed-on: https...
This is a port of CL 360795 to go/types. Error messages were adjusted
accordingly, with a TODO t...
This is a clean port of CL 360603 to go/types.
Change-Id: Iadb312f07e509ff83339d5525765b7b7987b...
2b81b863a258decaaca26ab4c01bfd070cc01ebe authored about 3 years ago by Robert Findley <[email protected]>This is a clean port of CL 360514 to go/types.
Change-Id: Ia13638b3758b3b8017867934d09136ac5f9a...
d6f7203a3c63276680457b9794191a366a1a4401 authored about 3 years ago by Robert Findley <[email protected]>
This is a port of both CL 360396 and CL 360796 to go/types. The latter
is added to avoid introdu...
Fixes #49287
Change-Id: I3f970d6db0b1dee886df2f7bb6cbeb56a37c42c2
Reviewed-on: https://go-revie...
types2 methods are now sorted in the same way as types1, so this TODO is
no longer needed. (Com...
Change-Id: I593862331add3366f6b337844588568301746b80
Reviewed-on: https://go-review.googlesource...
This is a clean port of CL 360274 to go/types.
Change-Id: Idfa584fab95f7226e10b1a7c5b06d56a0bf9...
42e6b5bce2d027d4fcc4a7358b97a468494855d8 authored about 3 years ago by Robert Findley <[email protected]>This is a clean port of CL 359177 to go/types.
Change-Id: I6c1574e3a1c23ea326eb8d4aacea0e784157...
ea403bc237657e160e628e2670bbbb62016bf2b2 authored about 3 years ago by Robert Findley <[email protected]>This is a clean port of CL 359015 to go/types.
Change-Id: Iea4e3bfe0a4ae0e5a9052cb6e66c01405bd5...
80065cf2f6cdf56616c87036af91afa7f2fb2913 authored about 3 years ago by Robert Findley <[email protected]>This is a clean port of CL 358621 to go/types.
Change-Id: I4e858b1b70cff69b6e0e76bb8a58a70ff549...
60fd3ed2b167e4bb823600ea6862758a222a48c2 authored about 3 years ago by Robert Findley <[email protected]>This is a clean port of CL 358774 to go/types.
Change-Id: Icba54336de2b8de7c2002d2a44cac8569071...
1012bc810fcd3076015edf947785e54ec6b1d766 authored about 3 years ago by Robert Findley <[email protected]>"so" didn't have an antecedent.
Change-Id: I27f7b334decea7bc34bfa3f3f2d3a79874c6fe90
Reviewed-o...
Previously, opening a zip with (*Reader).Open could result in a panic if
the zip contained a fil...
This is a port of CL 358597 to go/types. A comment was missing in the
base of applyTypeFunc, whi...
Currently, the syscall test suite takes very little time to run. It
stands to reason that pretty...
This CL replaces monoEdge's "report" field with fields "pos" and
"typ", and pushes the logic for...
This test assumes that two successive TCP connections will use different
source ports. This does...
Fix a few types in the header comment for 'ComputePadding'.
Change-Id: If38911e6dcbec571845ae44...
80a7968842895a5c05efa6464ce49b62413436c1 authored about 3 years ago by Than McIntosh <[email protected]>It is now possible to do completely allocation-free UDP.
This is implemented completely separat...
c702f91b38f98c98a12b9933dce42dbd500e21fd authored about 3 years ago by Josh Bleecher Snyder <[email protected]>
See the recent change optimizing WriteMsgUDPAddrPort
for an explanation of why this change inclu...
The main item of interest is the allocs.
BenchmarkWriteToReadFromUDPAddrPort-8 237735 ...
0b37bd9b3f7556d31061c6007afca59ffe2642d3 authored about 3 years ago by Josh Bleecher Snyder <[email protected]>
The types of the two interfaces should be equal, but they aren't.
We end up with multiple descri...
name old time/op new time/op delta
115/NewLineTable-8 80.7ns ± 1% 81....
Disallow the usage of coverprofile, blockprofile, cpuprofile, memprofile,
mutexprofile, and trac...
This CL adds a check to ensure that generic Go code doesn't involve
any unbounded recursive inst...
Follow-up on CL 360396.
Fixes #49296.
Change-Id: Ie08f86ae884da4cfd5db557cbf4f721a237dc39f
Rev...
Improve TestIndexNearPageBoundary to verify needles
ending on a page boundary don't cause a segf...
This is a port of CL 357917 to go/types. Some error messages in
assignability.go2 had to be adju...
This is a port of CL 358594 to go/types. Some code in conversions.go had
to be trivially reorgan...
This is a clean port of CL 358175 to go/types.
Change-Id: If1b4e51d1579fd168e651d79d031335ff09c...
c406380fa984d14a1f104fd2502d832565b45eb2 authored about 3 years ago by Robert Findley <[email protected]>
Make Go runtime throw if it's been compiled to assume instruction
set extensions that aren't ava...
Followup discussion in CL 360055.
Change-Id: I36212c2a497b152d01ed86d244d5f57bd34a64a6
Reviewed...
When seeing Key:Value expression in slice literal, the compiler only
needs to emit tmp var for t...
This reverts CL 351751.
Reason for revert: new test is failing on many builders.
Change-Id: I0...
c6a0b6f2de9a778b03a29c656531617a606761f0 authored about 3 years ago by Bryan C. Mills <[email protected]>
Correctly track if the index expression is addressable.
Rewrote code slightly.
Fixes #49275.
C...
f801da7855d3a82cc415279262e6b1ca7df39e5f authored about 3 years ago by Robert Griesemer <[email protected]>
For constraint type inference failures where the type parameter doesn't
match the constraint, pr...
When converting a constant to a type parameter, the result is never
constant (type parameters ar...
Try to replace every byte with one of the following printable
characters: "012789ABCXYZabcxyz !\...
Use gp.m.curg instead of the gp when recording cpu profiler stack
traces. This ensures profiler ...
TestExec and TestExecHelper check for a workaround of a particular OS
bug on darwin that's trigg...
Change-Id: I9fa687804c7f0f1d5a987b95ab1c3110468d1b65
Reviewed-on: https://go-review.googlesource...
Add asan tests to check the use of Go with -asan option.
Currenly, the address sanitizer in Go ...
3ee426aefa519b0b2f814a834f5026481c187946 authored about 3 years ago by fanzha02 <[email protected]>Updates #46518
Change-Id: Iefc2fec93becc7b36ba2b933ae79f7c9424317fc
Reviewed-on: https://go-rev...
Change-Id: Ifdf67e778e88ee70780428aa5479d2e091752a3a
Reviewed-on: https://go-review.googlesource...
Go exchanges siginfo and sigevent structures with the kernel. They
contain unions, but Go's use ...
Add explicit address sanitizer instrumentation to the runtime and
syscall packages. The compiler...
This is one step towards optimizing WriteMsgUDPAddrPort.
Further steps remain, namely to avoid t...
Instead of implementing ReadMsgUDPAddrPort in terms of ReadMsgUDP,
do it the other way around. T...
The main item of interest here is the allocs.
BenchmarkReadWriteMsgUDPAddrPort-8 195920 ...
b0472aa990dfa9fb4ffe49b5af6f3d744d81ba6e authored about 3 years ago by Josh Bleecher Snyder <[email protected]>
Change-Id: I63aac663da4ce7bdd198d385f87929c74f6a5cf8
Reviewed-on: https://go-review.googlesource...
golang.org/x/sys contains similar code and also needs updating.
Change-Id: Id00177397639075d479...
926856542fd01ae2f8c05466338a139f2fdfee85 authored about 3 years ago by Josh Bleecher Snyder <[email protected]>
In case of reference to method call of an imported fully-instantiated
type, nameNode.Func will b...
Co-authored-by: Alex Willmer <[email protected]> (GitHub @moreati)
Co-authored-by: Alexander Y...
Previously, when resolving references of form
(https://golang.org/?hello).ResolveReference(?)
...
When type inference cannot infer type arguments it prints the list of
inferred type arguments (o...
This benchmark simulates object starvation in order to force Ps to steal
objects from other Ps. ...
Fixes #49234.
Change-Id: I64c1eab0dce2bbe990343b43a32858a6c9f3dcda
Reviewed-on: https://go-revi...
If a identical input is already present in the corpus, don't re-add it.
This may happen when the...
Fixes #49213
Change-Id: I2bfc151b74b0d14efbd00e5d28584f4180126c5d
Reviewed-on: https://go-revie...
This is a port of CL 359656 from go/types to types2.
For #49213.
Change-Id: Ib98f9a344c1397af9...
0ae4c7ff4a6d24ab33a0deebba74609159291b8c authored about 3 years ago by Robert Griesemer <[email protected]>
This is a port of CL 357814 from go/types to types2 with minor
adjustments due to small differen...
When checking assignability, a value of a named type (incl. a type parameter)
can never be assig...
Add a comment how strings of length 0 are treated and
that they always will result in the return...
Updated multiple tests in test/codegen/arithmetic.go to verify
on ppc64/ppc64le as well
Change-...
4056934e483c51fa046f9c2d1ee35f0385b84d91 authored about 3 years ago by Archana R <[email protected]>
This code is only generated when linking cgo internally with fixed
position code. This feature o...
This is heavily based on CL 341336 by Joe Tsai and CL 351452 by
Jay Conrod.
T.Run and T.Name us...
fde4cc2a3189e2c964a0ce49de3cbe79ebedf985 authored about 3 years ago by Bryan C. Mills <[email protected]>
Use a pointer reciever to avoid copying the hiter struct when
checking if it is intialized.
Fou...
89c527007f75884a78ffede5d493ec021e7dfcdc authored about 3 years ago by Martin Möhrmann <[email protected]>
Change-Id: Ib6415bb09af02e9ebc0099f50bf0fd7b572f2516
GitHub-Last-Rev: ebaa849d66efa45bd8ca50a830...
Change-Id: Icafb2d9fd11b23d3acaf9df07e7f90d8bcd829fa
GitHub-Last-Rev: 2b766460554860510f3fec03a4...
Simplify the parsing of array or slice constraint types added in CL
359134, following the port i...
The intention is for BenchmarkFooBar functions to map 1:1 to drawFooBar
functions. Recent draw.g...
This is a port of the idea used in CL 359134 from go/parser to syntax,
with adjustments due to t...
There are multiple things preventing the -memprofilerate flag from
working right now:
- CmdFlag...
6113dacf32db7a996bc53fa7ca0db314cd3e7378 authored about 3 years ago by Austin Clements <[email protected]>
Currently, the compiler will emit any const that doesn't fit in an
int64 to go_asm.h like
#...
f582778ee991e8a443e691f9a45c8f0600a748a0 authored about 3 years ago by Austin Clements <[email protected]>
This abstracts the clunky and not constant time math/big elliptic.Curve
compatibility layer away...
name old time/op new time/op delta
pkg:crypto/elliptic goos:darwin goar...
Complete formulas don't have exceptions for P = Q or P = 0, which makes
them significantly simpl...
Use types2.Structure() to get single underlying type of typeparams, to
handle some unusual cases...
Fix two defer bugs related to adding/removing open defer entries.
The bugs relate to the way tha...
This is a clean port of CL 357915 to go/types.
Change-Id: Idf5850a8bdcf3596c561c97bcd6053994513...
c812b97ec67ae2d674b5bb4e2fd29c7ab7fa08dc authored about 3 years ago by Robert Findley <[email protected]>
This is a port of CL 357779 to go/types. A test error message was
repositioned on the sliced ope...
This is a port of CL 357778 to go/types, adjusted to include error codes
and to use the differen...
This is a straightforward port of CL 357776 to go/types.
Change-Id: I64220840a01f57cd7955f7d956...
3571ab58b8069fd945427ba49c4d8a702325bdb0 authored about 3 years ago by Robert Findley <[email protected]>
Improved readability, replaced constant time bit masked operations with
named functions, added c...
This change creates a formal exported interface for the GC pacer and
creates tests for it that s...
If register ABI is used, no need to store the arguments to stack.
I forgot them in CL 323937.
C...
5ec139fa78ac6ba3f0f715b6aa9235d36346a4a4 authored about 3 years ago by Cherry Mui <[email protected]>
Fixes #28386
Updates #48495
Change-Id: I76186077c7bbe3f8f608026ee1865de83fe169b4
Reviewed-on: h...
This fixes a rare test flake observed in
https://build.golang.org/log/18e531785e7f8b3e6a6d523178...
This is to facilitate testing of the pacer, since otherwise this is
accessing global state, whic...
For #44167.
Change-Id: I2cd13229d88f630451fabd113b0e5a04841e9e79
Reviewed-on: https://go-review...
This change adds two fields to gcControllerState: stackScan, used for
pacing decisions, and scan...
This change moves heapLive and heapScan updates on gcController into a
method for better testabi...