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
Change-Id: I5987eed00ee825421abe62699a06e9b66499f35f
Reviewed-on: https://go-review.googlesource...
So next CL can delete "internal/singleflight" and vendor
"golang.org/x/sync/singleflight" instea...
So next CLs can revert changes to "internal/singleflight" in CL #82795,
then replace it with "go...
Change-Id: Ied16c3be47c863a94d46bd568191057ded4b7d0a
Reviewed-on: https://go-review.googlesource...
This causes a problem in the test sometimes. With a mapping like:
00400000-00411000 r--p 000000...
aa4299735b78189eeac1e2c4edafb9d014cc62d7 authored about 2 years ago by Keith Randall <[email protected]>
Change-Id: I553a6d0bd3ae45e5bf62191411e71102b3f44cd8
Reviewed-on: https://go-review.googlesource...
JoinPath would fail to remove relative elements from the start of
the path when the first path e...
Detect rotate instructions while still in architecture-independent form.
It's easier to do here,...
Change-Id: Ib2b2eb6bebb59134f671a79739ee1acaf32ed443
Reviewed-on: https://go-review.googlesource...
From the append docs in the builtin package:
As a special case, it is legal to append a string...
790d60537e0888464a1c8a6f98c20baf2eeacdf2 authored about 2 years ago by Daniel Martí <[email protected]>Fixes #54616.
Change-Id: I46f41bbccff7b49f26f60c1edf65acfd1701aed5
Reviewed-on: https://go-revi...
Using utf16.AppendRune instead of utf16.Encode safe a bunch
of allocations across the board, as ...
No debug/plan9obj test case because the problem can only happen for
invalid data. Let the fuzzer...
If narch is very large we would allocate a lot of memory for seenArches.
In practice we aren't g...
When one has a []byte on hand, but desires to call the Parse functions,
the conversion from []by...
This is both simpler and more performant.
WriteRune 23.9µs ± 1%...
70de482d17863e501be44450f8e60500a6f1b459 authored about 2 years ago by Joe Tsai <[email protected]>Use explicit name pdNil for nil semaphore of a pollDesc to make it self-explanatory like pdReady...
556c978400245b29c3150ba3a53da489d67f3f7e authored about 2 years ago by Andy Pan <[email protected]>This is both simpler and more performant.
Change-Id: I66ef8e49c059a722932392ee3ecfb951d9b8e121
...
name old time/op new time/op delta
CodeEncoderError-10 688...
Some code paths in the runtime (cgo, heapdump) request heap bits
without first checking that the...
Updates #53821
Change-Id: Ia0c58d7e7e11a1b52bbb7c19ebbb131e3eea5314
Reviewed-on: https://go-rev...
Normally, when moving Go values of type T from one location to another,
we don't need to worry a...
This reverts CL 424854.
Reason for revert: broke misc/cgo/stdio.TestTestRun on several builders...
503de697cbb77581bb13dd6e596ac20a9a0d03e5 authored about 2 years ago by Matthew Dempsky <[email protected]>
R0 needs to be cleared at startup as it may not always be cleared
by the kernel on newer kernels...
None of cgo, "go test", nor srcimporter make use of go/ast's object
resolution via go/ast.Object...
Flush can not check for unclosed elements, as more data might be encoded
after Flush is called. ...
These two functions together duplicated much of the functionality of
modload.Lookup. Use that in...
Boolean values fit in registers, mark them accordingly. Improves codegen a bit.
compilecmp for ...
de561dc7664c9792964d8fa74a3aa02263ee36b9 authored about 2 years ago by Jakub Ciolek <[email protected]>
In CL 424734, I implemented pointer shaping for unified IR. Evidently
though, we didn't have any...
During walk, we sometimes desugar OEQ nodes into multiple "untyped
bool" expressions, and then u...
To disambiguate local types, we append a "·N" suffix to their name and
then trim it off again wh...
When handling a type declaration like:
```
type B A
```
unified IR has been writing out that B...
72a76ca1f9c195ed39e929cf768d5df5421eada1 authored about 2 years ago by Matthew Dempsky <[email protected]>
The hours, minutes, and seconds fields for time zones
should not have any plus or minus signs.
U...
The error return value of the seconds field is overwritten
and not checked in the presence of a ...
This modifies the code to match the comment such that
the behavior truly is identical to stdSeco...
This lock is acquired under trace.lock, which as of CL 418956
(6c2e327e35b) must be acquired on ...
Previously we convert $0 to the ZR register for some reasons, which causes
two problems:
1. Conf...
This CL optimizes memory moving with LDP and STP on arm64.
Benchmarks:
name old ti...
Change-Id: I50e5609ff9c5f2b216b93cec7fb5214d196cae90
Reviewed-on: https://go-review.googlesource...
This is both simpler and more performant.
Change-Id: I398de29230e578fb7caf1765df7b8fe84d4e8876
...
We don't need compression enabled here, because we only set one question in the dns message. So ...
cd52818487fade395c4d9189ce6e70cc03aeecb2 authored about 2 years ago by Mateusz Poliwczak <[email protected]>Discover when running "go test -run=TestNewOSProc0 -gcflags=-d=checkptr"
Change-Id: I988da56fd3...
ae303ff282feed715de0374890737ccdaee1e053 authored about 2 years ago by Cuong Manh Le <[email protected]>
On ARM64 we use two separate instructions to compute the hi and lo
results of a 64x64->128 multi...
Change-Id: Id44f587199683fd8018865af1c2442f9f74e0dad
GitHub-Last-Rev: 35b1ab88677586c79918d363f2...
There is already a skip in case of a later failure in the same test on
these platforms. Skip the...
Use OpVarDef only when the variable being defined has pointers in it.
VarDef markers are only us...
Neither are currently used. These concepts only need to exist
in the ssa backend (as ssa.OpVarDe...
Change-Id: I2c5b1064084bade68aaa065cf74dca6886fb752f
Reviewed-on: https://go-review.googlesource...
os/exec.Cmd.Wait closes the read end of os/exec.Cmd.StdoutPipe, meaning
that io.ReadAll can retu...
The existing decode() method offers the ability to keep just one
frame of the GIF image, however...
Check for malformed data when reading the number of aux
symbols associated with a symbol table e...
I was profiling the cpu usage of go/printer's only benchmark,
and found that token.File.Unpack w...
ReadData follows the error semantics of io.ReadFull for small sizes,
it should do so as well for...
We don't have a good musl detection mechanism, so we detect Alpine (the
most common user of musl...
Updates #48187
Change-Id: I2364f248520e77c2e3a4832b9769b52e7aa62f73
Reviewed-on: https://go-rev...
To avoid false positives from the reflectvaluecompare checker #43993
Use v.IsValid() instead of...
9a9aad449fddb1d3f66e6200d2c6c63a0eed63a4 authored about 2 years ago by Keith Randall <[email protected]>This makes it possible to use `disasm` with ASLR windows binaries.
For #46639
Change-Id: I08af...
8d57f4dcef5d69a0a3f807afaa9625018569010b authored about 2 years ago by Egon Elbre <[email protected]>Fixes #43296
Change-Id: Ib277c2e82c95f71a7a9b7fe1b22215ead7a54a88
Reviewed-on: https://go-revie...
Occasionally the signal will be sent to a Go thread, which will cause
the program to exit with S...
Change-Id: Idc1f8b3fb6b4b2fdcc6dade048cc14c53715319f
Reviewed-on: https://go-review.googlesource...
Avoid allocating large amounts of memory for corrupt input.
No test case because the problem ca...
375a80c9ef521404f1d972ad82719f90bc3a019f authored about 2 years ago by Ian Lance Taylor <[email protected]>Avoid allocating large amounts of memory for corrupt input.
No test case because the problem ca...
1c4a80377580a05b9c3f1cccb66baefc01383352 authored about 2 years ago by Ian Lance Taylor <[email protected]>
This follows on CL 407176 which added this function (in both
packages). This CL makes it consist...
Depending on the implementation of the getrusage syscall/function, the
value of rusage.Maxrss ma...
Use GetProcessMemoryInfo to report MaxRSS in memory profiles on windows.
Change-Id: I4ac5fe5896...
2cc6983a2103d64cd33a0fb67dc7ea2adcac3ba8 authored about 2 years ago by Tobias Klauser <[email protected]>
Use "method has no receiver" and "method has multiple receivers"
in error messages for invalid r...
Use "middle" and "final" rather than "2nd" and "3rd" in error messages
for invalid slice express...
Use "invalid" rather than "incomparable" in error message for map key
types that are not compara...
Use same approach to parsing const and var declarations
as the syntax package. Specifically, don...
This reverts CL 419014.
Reason for revert: broke darwin-amd64 builders
Change-Id: I77838e696a5...
bc69ad3a77129cd4cf4d3bdaa592dfc95ff8c769 authored about 2 years ago by Cuong Manh Le <[email protected]>
Change-Id: Ia00acf248f3498d75e2451548f82d3c57cfed06f
Reviewed-on: https://go-review.googlesource...
Make spelling consistent with uses in other error messages.
Change-Id: I584cd22413842fb8bae1632...
a73808e1e06dfca15a51743ced1fab038b5a2392 authored about 2 years ago by Robert Griesemer <[email protected]>
All code may be generic. Remove machinery to select parsing
mode (generic vs non-generic) since ...
Generics are part of the language now; there's no need anymore
to switch back to a syntax withou...
The validity of an import path string is checked by the type checker
(and possibly other tools);...
For #54511.
Change-Id: I571680dfc25d7b7198e84e11bd311ab8b24d72d9
Reviewed-on: https://go-review...
Since the examples tests are now identical between the two type checkers,
remove the local copy ...
Follow-up on CL 424674. With this change, the files in
testdata/examples are identical to the co...
This was never permitted in Go but the flexibility to do so
was introduced through the generics ...
Older kernels which require the double check of the __kuser_cmpxchg
result are no longer support...
Offsetwriter refers to the design of SectionReader and removes
the section parameter n.
Since t...
dc8e2a6a8ec94f2c98ba20edd57932eba284efb1 authored about 2 years ago by hopehook <[email protected]>
Change-Id: Ia8bdd7909e94f3ab7248e88f0947db85ac744d79
Reviewed-on: https://go-review.googlesource...
AppendRune appends the UTF-16 encoding of a rune to a []uint16.
BenchmarkEncodeValidASCII-1...
48297f1fb15206cd13e0f31647e909292fb21975 authored about 2 years ago by qmuntal <[email protected]>Follow-up on feedback in CL 412557.
Change-Id: I5a693efccade97a62ab880c6e1b9e50cb597c293
Review...
Though it increases the execution time, the function is already quite
fast for most users, the a...
Support for Linux kernel versions requiring the fallback to CloseOnExec
was dropped from recent ...
Updates #52371
Updates CL 423874
name ...
572941942026e705a685860a170a60ce371b050e authored about 2 years ago by Andy Pan <[email protected]>
The constants for these were auto-generated from the C includes
into zerrors_linux* files quite ...
This CL adds intrinsic for runtime/internal/math.MulUintptr on arm64
Benchmark master ...
d654117075d1dd0686aa6833b22f28275623c759 authored about 2 years ago by ruinan <[email protected]>
In order to prevent false sharing of cache lines, structs are
padded with some number of bytes. ...
Avoid allocating large amounts of memory for corrupt input.
No test case because the problem ca...
dee9adc0f73d361d00a4d9230bb3517f2448b3b0 authored about 2 years ago by Ian Lance Taylor <[email protected]>CL 404096 makes atomic.Int64 8 bytes aligned everywhere.
Change-Id: I5a676f646260d6391bb071f937...
f324355d1f482362b87ec4f95ceac00d4b4de797 authored about 2 years ago by Cuong Manh Le <[email protected]>For #23870
Change-Id: I3bbe0f751254d1354a59a88b45e6f944c7a2fb4d
Reviewed-on: https://go-review....
For #23868
Change-Id: I07b001836e8d1411609ab84786398a5b575bf8d5
Reviewed-on: https://go-review....
Occasionally the signal will be sent to a Go thread, which will cause
the program to exit with S...
A single dot in a search statement doesn't affect DNS lookup, so just ignore it and a syntax err...
55ecc3a88670c14bbbfc9d6c96cf65891cc608f5 authored about 2 years ago by Andy Pan <[email protected]>
So it's guaranteed to have 64-bit alignment, simplify the code without
losing any performance:
...
ee833ed72e8ccfdd2193b0e6c0223ee8eb99b380 authored about 2 years ago by Cuong Manh Le <[email protected]>
Call only initHPETTimecounter on the system stack.
Use O_CLOEXEC flag when opening the HPET devi...
Updates #46731
Change-Id: Ic2208c8bb639aa1e390be0d62e2bd799ecf20654
Reviewed-on: https://go-rev...
Unified IR is now at feature parity with the non-unified frontend.
Change-Id: I2a8cd41267a66f5e...
833367e98af838a2511ee7e4e19dc8f1da7b8ed7 authored about 2 years ago by Matthew Dempsky <[email protected]>