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
Fixes #51589
Change-Id: Ie9c56110754f4a435b22e2d7a86ae34b0bd28909
Reviewed-on: https://go-revie...
The existing version of this test contains several races it tries to
control with sleeps. Unfort...
Change-Id: Ic4b2b8ff5c7d7e4d9850e0b5a5b52b09b45816f5
Reviewed-on: https://go-review.googlesource...
Change-Id: I50152fa251e599e2c95f68148aee3c16b222da60
Reviewed-on: https://go-review.googlesource...
Now that we plumb the start line to the runtime, we can include in pprof
files. Since runtime.Fr...
This adds the function "start line number" to runtime._func and
runtime.inlinedCall objects. The...
Adjust os/arch checks to enable msan tests on freebsd/amd64.
R=go1.20
For #53298
Change-Id: I...
a4b4717f23334547f40f90f1457f3dc086259fa3 authored over 2 years ago
Enable -msan flag on freebsd/amd64 and amend PIE comment in
internal/work/init.go to indicate th...
Adjust build constraints and change the runtime to call the C mmap function
when using cgo.
R=g...
5fde02e312796012b5ddacd79cbaafb91d329c72 authored over 2 years agoOptimised RGBA image encoding to PNG. Improved test coverage. Reworked benchmark.
Performance i...
76e4833b7a3f1ab2d8f30e497d00809b1f6cf1e6 authored over 2 years ago
There are getting to be enough special cases in this wrapper that
the increase in clarity from h...
Write .note signature section when targeting FreeBSD, similar to NetBSD
and OpenBSD. This allows...
Workspaces with a single module would enter mod=vendor mode even when
in workspace mode. Fix tha...
If we use the "pipetest" helper command instead of "sleep",
we can use its stdout pipe to determ...
This will dump more goroutines if the test happens to fail.
For #50138.
Change-Id: Ifae30b5ba8...
379a49c593ce3c2e8e57039e05e90aa466363092 authored over 2 years ago
The linker's -X flag allows setting/changing a string variable's
content at link time. Currently...
And add a link. Resolves a comment left on http://go.dev/cl/436096
after it was submitted.
Chan...
36ca37f3a04aac4b67aa7fe3cfe480c891d0d53f authored over 2 years ago
Adds a package level doc comment to the debug/dwarf, debug/elf,
debug/macho, debug/pe, and debug...
The package doc included the copying header by mistake.
Change-Id: I37ac2d14b1b8a389e6b603fbb1c...
f2acc607f8a6f2837ed302cedd70676d8ea1f463 authored over 2 years ago
This mode is now always 0. Remove the unnecessary argument to better
align with types2.
Change-...
4a0ce46917ea51a677fffe203458af4a3224f67c authored over 2 years ago
LookupFieldOrMethod appears as a hotspot when benchmarking gopls'
auto-completion. In particular...
Using importcfg instead of depending on the existence of .a files for
standard library packages ...
No test case because the problem can only happen for invalid data. Let
the fuzzer find cases lik...
Fixes #51025.
Change-Id: I469a705e7da059e7ac0b12b05beb9ed5d3617396
Reviewed-on: https://go-revi...
Since we already provide the error code, the prefix can be deduced
automatically.
Except for th...
19095e109d0ae037828c519dda0af307b8a01813 authored over 2 years agoFixes #56150
Change-Id: Id990783562950ba8be7ce9526b7a811625f2190a
Reviewed-on: https://go-revie...
While we're here, replace a couple uses of os.Environ with cmd.Environ.
For #51317.
Change-Id:...
6a2a11fc2836f2b4f5be1f035822ad18856f848a authored over 2 years ago
This change adds the arenas package and a function to reflect for
allocating from an arena via r...
This change adds an API to the runtime for arenas. A later CL can
potentially export it as an ex...
This change makes (*mheap).sysAlloc take an explicit list of hints and a
boolean as to whether o...
No-op change in preparation for arenas.
For #51317.
Change-Id: I0777f21763fcd34957b7e709580cf2...
987f94fa038d4a66fa174ddc4267d8718a029581 authored over 2 years ago
This change refactors span heap initialization. This change should just
be a no-op and just prep...
Dragonfly and FreeBSD both used numerical values for these constants
chosen to be the same as on...
Initializes the R3 register with an available address in the stack. The addressed location is us...
4a4de1416654ec0c3cd6100fddb90a228657216a authored over 2 years ago
Skip TestTransportPersistConnLeakShortBody in HTTP/2 mode;
it's flaky and was previously HTTP/1-...
Updates #38714
Change-Id: Ie5c7761ec003f84e649fa4c90be184a5ff6a0879
Reviewed-on: https://go-rev...
Delete some unused code, and fix a few warnings from staticcheck.
Change-Id: I3d3a6f13dccffda06...
0394cbed2e169ab71975109bd6a2309cc8c91b7e authored over 2 years ago
fakePC uses hash.Sum32, which returns an uint32. However, libfuzzer
trace/hook functions declare...
The errorcalls_test makes sure that we use error instead of errorf
where possible. Copied from t...
Checker.errorf calls now have an error code and thus require at
least 4 arguments.
Change-Id: I...
140bc24445f3c86b61bfb4d924e1e26f477574a2 authored over 2 years agoThis brings go/types error reporting closer to types2.
Except for removing the error functions ...
2dbc5736b269cba7c0fcd10a6f60fb49fe927d38 authored over 2 years ago
When running go install --mod=readonly module@version. modfetch.GoSumFile
was not set, so the ch...
Fixes #56156
Change-Id: Ib85ff45f0b0d0eac83c39606ee20b3a312e6e919
Reviewed-on: https://go-revie...
go list -e -export puts errors running build actions on the load.Package
corresponding to the fa...
Change-Id: I0c8823b9c3c12f0f581b24db6a7aa5a0cd913224
Reviewed-on: https://go-review.googlesource...
As of CL 438347, multiple concurrents calls to Close should be safe.
This removes some indirect...
0f64a49460974fa65292d8d5bf6c8a9ceca4b780 authored over 2 years agoDelete some unused code, various cleanups to fix staticcheck warnings.
Change-Id: Ie475d57735a8...
1b316e3571190964d960c6a7af3e17e887c70d45 authored over 2 years agoFold negation into subtraction and avoid double negation.
This removes around 500 instructions ...
4274ffd4b8bcef4e07cfdef9405a2e33f935d079 authored over 2 years ago
Convert SLT/SLTU with a suitably valued constant into a SLTI/SLTIU instruction.
This can reduce ...
Combine masking with a negative value and zero extension into a single
AND operation.
Change-Id...
0ca355318f6c407edb4a82a0bb0c249ffd31840b authored over 2 years agoFor #56109
Change-Id: I999763e463fac57732a92f5e396f8fa8c35bd2e1
Reviewed-on: https://go-review....
CL 403995 fixed static init of literal contains dynamic exprs, by
ensuring their init are ordere...
Mark the "l1" and "l2" methods on "arenaIdx" with //go:nosplit, since
these methods are called f...
This patch fixes up a bug in the inliner's special case code for
coverage counter updates, which...
This change modifies 'go version' to support shared windows libraries.
Updates #48187
Change-I...
742e0a9720c04b6be694ad8ea8f7831ffa606e40 authored over 2 years ago
Use InvalidSyntaxError where the zero error code was used before.
Fix a couple of places that di...
Type checkers should use InvalidSyntaxTree as error code
for invalid syntax tree errors instead ...
Change-Id: If9b5c2c5d1b89146250bcd19965797baab315876
Reviewed-on: https://go-review.googlesource...
This change adds a new dependency to go/types.
Change-Id: I7e40b95c8c1e1356b638fc1aa2ef16ce91e9...
9770b8be687278eaf80730a6bb2ddef991c3d87a authored over 2 years ago
This avoids a conflict when dot-importing this package in
go/types and types2.
Change-Id: Ia6fc...
470d1462765a88ce90802eaf2898924ab0e6f123 authored over 2 years agoAdjust self-test accordingly.
Change-Id: I69987a306760da9eaf832275af0e9a8b6131a349
Reviewed-on:...
The internal/types/errors package defines all error codes used by
the type checkers. This is the...
If a generic type declaration is missing a constraint, syntactically
it is an array type declara...
Add "-O2" to all compiler/linker tests. This makes compiler/linker
feature probing better resemb...
Run "go build ./x" in this workspace:
-- go.work --
use ./y
-- x/go.mod --
module x
...
28a05f541dd218c40cc221db4e97898cc5a3b902 authored over 2 years ago
This permits us to safely support concurrent access to files on Plan 9.
Concurrent access was al...
This is a follow up of CL 393656 on arm64.
This CL puts ScoreCarryChainTail before ScoreMemory ...
669ec549b554ef7fe957bf284271ed3b7db82da1 authored over 2 years ago
An older version of go compiling a main module that references a
standard library package from a...
With moduleHasRootPackage eliminated in the previous CL, needSum is
now invariantly true at all ...
This change moves Linux epoll's syscalls implementation to the
"runtime/internal/syscall" packag...
Change-Id: Iaf118150b8cf48aa42db3477bffdb92bd39f632a
Reviewed-on: https://go-review.googlesource...
This is a follow up of CL 420095 on loong64.
file before ...
90a352742754cd8731302f23bfa4a47f0b3f5f40 authored over 2 years agoThis is a follow up of CL 420094 on loong64.
Reduce go toolchain size slightly on linux/loong6...
97760ed651f88341bcf15aa4980863c199b6f3dc authored over 2 years agoAddrFromSlice is not covered by any other test so far.
Change-Id: I91034c6cac95a023fc419c855873...
c4674e01343c0db9fad726401de114dac749382d authored over 2 years agoAlso inline the single-use unspecified{4,6} variables.
Change-Id: I5992273031e0b8db1bc6f5de8fce...
77c0e99c192331d44ddab664c4b6442925410cdc authored over 2 years ago
This commit was dedicated to adding an example of using B.ReportMetrics
with B.RunParallel calle...
Replace the ad-hoc approach to running tests in HTTP/1 and HTTP/2
modes with a 'run' function th...
Move the writev definition for solaris from package
internal/syscall/unix to package syscall. Th...
aix supports iovec read/write, see
https://www.ibm.com/docs/en/aix/7.2?topic=w-write-writex-writ...
This updates some rules to use ops with CC variations to
set the condition code when the result ...
Wait or Run will populate its ProcessState when the command completes.
Fixes #56002.
Change-Id...
fdea8e21708e9ed04498a7f7b68cbee43005d58d authored over 2 years agoegrep and fgrep are obsolescent now.
This PR updates all egrep and fgrep commands to grep -E an...
2837ffe8d8a48cb321842721a8531ed870ace1d3 authored over 2 years ago
This cuts the wall duration for 'go test os/exec' and
'go test -race os/exec' roughly in half on...
This test has been disabled for over nine years (since CL 12869049).
Although it still compiles,...
In practice this only shows up when a vendored package, imported on the
command line, imports an...
When it calculates the smallest n such that:
n >= i && n % buildInfoAlign == 0
the expression ...
For example:
movb a0, a0
srai $1, a0, a0
the assembler will expand to:
slli $56, a0, a0...
af668c689c66588f8adb9f5cd6db812706536338 authored over 2 years ago
Change-Id: I375233dc700adbc58a6d4af995d07b352bf85b11
GitHub-Last-Rev: ef129205231b892f61b0135c87...
This fixes a bug introduced by CL 426094 that caused the
golang.org/x/website/internal/web tests...
Change-Id: I6be77e7b7c919f26bed7b6690cce6741888ba78a
GitHub-Last-Rev: 4ef4a7b425d0b89adf398a1bee...
Change-Id: Icbe2af4f2abf22b6a8c9cec33f0f88018f3bd1c7
GitHub-Last-Rev: 81392a6e88d5297f9581160319...
Set a 1MiB limit on special file blocks (PAX headers, GNU long names,
GNU link names), to avoid ...
Set a 128 MB limit on the amount of space used by []syntax.Inst
in the compiled form correspondi...
We were saving non-go file information in the module index files,
leading in an unnecessary incr...
Fixes #56014.
Change-Id: I75a3960e092459531de43868750f1684ed2ccb70
Reviewed-on: https://go-revi...
Fixes #55100
Change-Id: Ibbff921e74c3a416fd8bb019d20410273961c015
Reviewed-on: https://go-revie...
Fixes #51879.
Change-Id: Ic7ac892b82a0fe4ad6f95ff8ae84e6d30c52c111
Reviewed-on: https://go-revi...
Use shorter more Go-like names for the new APIs being added in the
runtime/coverage package for ...
Fixes #55832
Change-Id: Ib20279d47c1ca9a383a3c85bb41ca4f550bb0a33
GitHub-Last-Rev: 10af77a2f213...
The traceback code has special "jump stack" logic, to trace back
stack switches through systemst...