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
Currently GC pacer updates are applied somewhat haphazardly via direct
field access. To facilita...
CL 333389 erroneously moved traceGCSweepDone inside the sl.valid block
that it introduced in mce...
The sweeper's pacing state is global, so detangle it from the GC pacer's
state updates so that t...
This change provides ability to create dumps on Windows that can be used by
"dlv core" command. ...
Currently, the runtime zeroes allocations in several ways. First, small
object spans are always ...
This reverts CL 359096.
Updates #47788.
Reason for revert: -buildmode=shared may have actually...
a88575d662a7e8e4fbb31bf139bcffc063e2a734 authored about 3 years ago by Bryan C. Mills <[email protected]>Use of these functions is almost (but not) always a bad idea.
Very rarely they are necessary, a...
645d07819b2224ba4d759829443f7c6442162c69 authored about 3 years ago by Russ Cox <[email protected]>
Currently, there is a chance that the sweep termination condition could
flap, causing e.g. runti...
Proposal #37641 reserved the paths "example" and "test" for end users,
so no path beginning with...
RuneReader is fine with UTF16 or any other character encoding
Fixes #49178
Change-Id: I08a5ac2...
2c7cdec2a762108ae9231b7861c3689f4d23b58c authored about 3 years ago by Meng Zhuo <[email protected]>to avoid a crash on a nil pointer as an embedded field.
Fixes #48215
Change-Id: I214faa6e3cf08...
d3d8852d8997a6429cbd498138908e537869a6ef authored about 3 years ago by Rob Pike <[email protected]>
This new function, although different in signature from other
reflect functions, allows the call...
Update many generators, also handle files that were not part of the
standard build during 'go fi...
The test currently uses only SIGKILL (which cannot be trapped by the
worker process) and SIGILL ...
Normally, when fuzzing identifies a failure it saves the failing input
to the package's testdata...
We had been repeating conditions for specific platforms and
architectures to gate fuzzing tests,...
The upstream cmd/bundle tool does not yet omit it,
and the longtest builders test that the gener...
There have a few updates to the Go object file in this cycle (e.g.
FuncInfo format change, some ...
This makes the latest Go 1.18 cmd/dist happier.
Change-Id: If1894ce4f60a0b604a2bd889974ddb16c40...
69d5e469a4f457d3a7d8ca7a97478c2eca0ba35c authored about 3 years ago by Russ Cox <[email protected]>
When these packages are released as part of Go 1.18,
Go 1.16 will no longer be supported, so we ...
cmd/go has its own //go:build evaluator, which is needed for
patterns like 'all'. The code is a ...
Each gentraceback call uses a different set of flags. Combine these into
a common variable, only...
The net/http package has a documented contract that if DialContext, DialDLSContext, Dial or Dial...
266626211e40d1f2c3a34fa4cd2023f5310cbd7d authored about 3 years ago by Neil Alexander <[email protected]>
Now that Go 1.17 is out and Go 1.15 is unsupported,
removing // +build lines can be done safely:...
This was added in CL 339990.
Change-Id: I4b0f97bf1a3926e37a42f77e149dcab3b7b75a63
Reviewed-on: ...
CL 339990 made this test more strict, exposing pre-existing issues on
these OSes. Skip for now u...
This is a port of CL 357413 to go/types. Some test constraints are also
updated to remove 'inter...
Fail out when loading a file that contains a dynamic symbol table
command that indicates a large...
This is a port of 4 CLs from types2: CL 356010, CL 357333, CL 357410,
and CL 357249. These 4 CLs...
This is a port of CL 355871 to go/types.
Change-Id: I2dbc3c625c16b545a271a19606ef34ce04a4a6df
R...
This is a rough port of CL 354131 to go/* libraries, though in practice
I just tried to reconcil...
Now that we allow eliding 'interface' from constraint types, we need to
be a bit more careful ab...
CL 352057 added track argument stack slot liveness, and updated
TestTracebackArgs for argument l...
Updates #14768
Change-Id: I33831f616eae5eeb099033e2b9cf90fa70d6ca86
Reviewed-on: https://go-rev...
Fixes #48665
Change-Id: Id838f7508f6e93c4546a2aeefc2db194e647db77
Reviewed-on: https://go-revie...
Look for //go:build ignore, not // +build ignore, in deps_test.go.
For #41184.
Change-Id: Iba8...
b8f928b05264cbd75a0d0dbd02d979847ac237f9 authored about 3 years ago by Russ Cox <[email protected]>
The bootstrap directories are built with the Go 1.4 go command,
and they will retain the // +bui...
Fixes #49187
Change-Id: I4d8c87af8a709f1b909dd4fae3734d422eb36900
Reviewed-on: https://go-revie...
Change-Id: Id723ecc2480aea2d8acb4d3e05db4a6c8eef9cc8
Reviewed-on: https://go-review.googlesource...
For #48538.
Change-Id: I258b0c8af5801692ad238e47397dde0b4e3c44c1
Reviewed-on: https://go-review...
We may revisit this decision in a future release. By disallowing this
for Go 1.18 we are ensurin...
Now that we permit arbitrary types as constraints, we no longer need them.
For #48424
Change-I...
79ff663754f4238bd1fe2e56f460c2f603c71b80 authored about 3 years ago by Ian Lance Taylor <[email protected]>
Change-Id: I032791a3cda1916099b0fd2955dcca4e69763660
Reviewed-on: https://go-review.googlesource...
For #37475
Change-Id: I728b7aeee5c38ec337e9a5b073050c3b0afc720d
Reviewed-on: https://go-review....
Fixes #49110
Change-Id: I32c2cb26cca067a4a676ce4bbc3e51f1e0cdb259
Reviewed-on: https://go-revie...
For #37475
Change-Id: I09fa1344051088ce37727176d9ec6b38891d1a9f
Reviewed-on: https://go-review....
Use ".fslckout" or "_FOSSIL_" files to correctly identify the root of
Fossil checkout directorie...
A cgo file with "//export" declarations is not permitted to have function
definitions in the cgo...
Currently, for stack traces (e.g. at panic or when runtime.Stack
is called), we print argument v...
Rename structuralType to singleType throughout. This reflects
more closely what the function doe...
The position computation was needed for type list support.
With that gone, we don't need this co...
isNamed(t) is easily confused with asNamed(t) != nil (e.g., we
have isPointer(t) that is defined...
This CL renames the toT converters back to their asT names.
Change-Id: If4bda5a78525f9722f044f5...
a155a307fbeda88fd44c5399d4fb7ea9e34db545 authored about 3 years ago by Robert Griesemer <[email protected]>
This CL changes the convenience converters asT to use under instead
of optype. To make sure the ...
Similar to conversions, handle ordinary cases first, followed by
type-by-type assignability test...
The behavior of is/underIs was murky with the presence of a top type term
(corresponding to a ty...
It never worked in module mode (or with a read-only GOROOT).
A proposal to drop it was filed (an...
The message is now a single line, but I couldn't get '\n?' to work.
(This test does not run in ...
ffd2284db06d433d60aa75ea413f407b90e583b6 authored about 3 years ago by Russ Cox <[email protected]>
Previously, the worker would attempt to deflake
an input that was reported to have caused new
co...
and fix/cleanup lowering of the SSA operator created by the pass.
Change-Id: I7e6153194fd16013e...
259735f97a2dfd33849eacef15047f5a0964498e authored about 3 years ago by Paul E. Murphy <[email protected]>Fixes #49174.
Change-Id: I943c370f7abd5f50a541e682f130b3526c3b5bdb
Reviewed-on: https://go-revi...
Clean up a comment that was deleted in types2 in CL 353135.
Change-Id: If339efa133e2a3d1eaa3b1e...
c0ac39c70eeeaadbebe13efb407a1a272a926d30 authored about 3 years ago by Robert Findley <[email protected]>
cmd/go is not subject to all the same restrictions as most of cmd.
In particular it need not be ...
Fixes #49173.
Change-Id: I71270b4ff7e9ede3cdfa5946b73142a731752adf
Reviewed-on: https://go-revi...
Updates #48968 and CL 358114
Change-Id: Ic68b4c5420c1c32f78b56874b53d717fa9af1f74
Reviewed-on: ...
Use dup3(oldfd, newfd, O_CLOEXEC) to atomically duplicate the file
descriptor and mark is as clo...
For base generic type that is written to export file, we need to mark
all of its methods, includ...
The gofrontend code mishandled this case, so add it to the test.
Change-Id: I183b8fab57552320b0...
13eccaa9902f3bb17999f1f7f14b7da39d60e0ea authored about 3 years ago by Ian Lance Taylor <[email protected]>
Const strings can be marked readonly. This is particularly
important for this relatively large t...
Make the input match gofmt's output,
to make our lives easier as we phase out
old style build ta...
If we receive an async signal while running in the VDSO, such as a
SIGABRT or SIGSEGV sent from ...
CL 64070 removed lockOSThread from the cgocall path, but didn't update
the signal-in-cgo detecti...
Unlike what the comment says, the GC can see this pointer.
Might as well make it a real pointer,...
_g_, _p_, and _m_ are primarily vestiges of the C version of the
runtime, while today we prefer ...
There were two main outer switch statements in node() that can just be
combined. Also, for simpl...
Change-Id: I8db9c31ead3e5905b7f9d1faed36555e8aaa00cd
Reviewed-on: https://go-review.googlesource...
Only Git and Mercurial are supported for now.
This CL also:
- Skips tagging "revision" and "com...
Update the documentation in iexport.go to use the word 'Constraint'
rather than 'Bound', and to ...
Updates #47651
Updates #48665
Change-Id: I69a87b45a5cad7a07fbd855040cd9935cf874554
Reviewed-on:...
Pull in CL 358034 (and some more changes with passing tests) with:
go get -d golang.org/x/tool...
a2b8c186f616db92f9812e09fb2c44b0e753f8a7 authored about 3 years ago by Dmitri Shuralyov <[email protected]>
CR bits and CR fields should be treated separately. Some instructions
modify an entire CR, a CR ...
Add utimensat as a wrapper around the libc function of the same name.
utimensat was added in mac...
Use fcntl(oldfd, F_DUP2FD_CLOEXEC, newfd) to duplicate the file
descriptor and mark is as close-...
These are the runtime support functions for letting Go code interoperate
with the C/C++ address ...
The -asan option compiles Go code to use the address sanitizer. This is
intended for use when l...
For MOVK/MOVN/MOVZ instructions, the assembler does not accept zero
shifts, and the CL 275812 ad...
gofmt -> <code>gofmt</code>
Change-Id: Idc01b01d8eb185f5e378000d11d622935b14db6e
GitHub-Last-Re...
Remove a unnecessary statement in the test function, the variables
aren't checked afterwards. Al...
When adding a large constant to a register we generate two adds,
we may generate two ADD instruc...
Bump the export version to a new value iexportVersionGo1_18 (2). This
will give a better error m...
The -asan option causes the compiler to add instrumentation for the
C/C++ address sanitizer. Ev...
We want to set a finalizer on splicePipe, so make it large enough to
not use the tiny allocator....
Change-Id: I0d8128668fc7a80b29aabc58dbc9a2929b889ec9
Reviewed-on: https://go-review.googlesource...
Generic function symbols sometimes have % in them, like:
main.B2[%2eshape.string_0].m2·f
W...
f92c8f07ace7ae67b95e59bbb6ae6928dd6e4773 authored about 3 years ago by Keith Randall <[email protected]>
The method of using references to dictionaries to hold methods
live during linker deadcode elimi...
We don't need it any more, after CL 357835.
Change-Id: I1ff5f24b5540c3e80c4b35be8215a1c37895227...
0ae0d5c62eae1a4043d1d9cb41acc563a5e75daa authored about 3 years ago by Keith Randall <[email protected]>
To capture the fact that a method was called on a generic interface,
so we can make sure the lin...
On wasm, the wasm_exec.js helper passes the command line arguments and
environment variables via...
Previously, the test would panic if the short timeout
was reached before fuzzing began. Increasi...
NetConn method gives us access to the underlying net.Conn
value.
Fixes #29257
Change-Id: I68b2...
f47335e653ac37f68ada2b265ce4a2c869a27cae authored about 3 years ago by Agniva De Sarker <[email protected]>