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
The concurrent model for delivering tokens was fine for pedagogy,
but has caused a few problems ...
Use ppc64map (from x/arch) to generate ISA 3.1 support for the
assembler. A new file asm9_gtable...
This CL adds tests for some of the instructions that were
missing. A minor change was made to as...
Change-Id: Ia3213d22678be0d56bf4f34dfe458441f7f5da97
Reviewed-on: https://go-review.googlesource...
Change-Id: I4a67a5e51a98938c07b3c38442f8d852db97cb2a
Reviewed-on: https://go-review.googlesource...
This is the initial trivial implemenation. Further improvements can be
made for local calls.
A ...
7fda98a8d90139fed07d7f8ca80d248a5cbc1e93 authored over 2 years ago
The optimizations were added in CL 425197 and CL 421877.
Move this functionality to a separate f...
Use fcntl(oldfd, F_DUP2FD_CLOEXEC, newfd) to duplicate the file
descriptor and mark is as close-...
Increase unit test coverage of strconv/itoa.go from 83.8% to 85%
Change-Id: I0abdfc70a3f0625110...
95ec579eb68fcc01975462a74676e3bacd9814b0 authored over 2 years agoMerge the CRC32 Update and Write functions using an unexported function, to avoid duplication of...
f6436c60e49f17f2ca723fdf76a0cb4323cbe02c authored over 2 years ago
Use fcntl(oldfd, F_DUP2FD_CLOEXEC, newfd) to duplicate the file
descriptor and mark is as close-...
The text was mistakenly quoted with backquotes.
Change-Id: I77ed4adac8c78b719bea61c08f1c377ed4a...
e0822b55ac2076112507016bc08d52999c25d728 authored over 2 years ago
Go 1.19 introduce new append-like APIs in package encoding/binary, this
change teaches the inlin...
These instructions already do sign extension on output, so we can get rid of it.
Note: (MOVWreg...
5760fde4df4f1e9303de122ae3b5ac80b7ef681d authored over 2 years ago
Change-Id: I0db93b7bdcd622ce9e23df183de4737744e6d6ea
Reviewed-on: https://go-review.googlesource...
Change-Id: Id58e3aebf325433768675523bf34c0b7e0e34aea
Reviewed-on: https://go-review.googlesource...
Calling close is no longer necessary.
It was was originally necessary to cleanup goroutines
spaw...
Implement a more optimised memclrNoHeapPointers on riscv64, where up
to 64 bytes are zeroed per ...
We added -pagezero_size in CL 72730, where it was intented for iOS.
The current code passes it o...
Allow us to select a race .syso file based on subarch values.
Note that this doesn't actually c...
e665de28611fd2cbf7789065e7a26ca12c4b9c00 authored over 2 years ago
CL 413374 added syscall.Mmap on solaris. Use it in cmd/compile and
cmd/link if the bootstrap too...
Support for 1xx responses has recently been merged in
net/http (CL 269997).
As discussed in thi...
972870da11bb4ddd3df393473c494bd2b546cc56 authored over 2 years agoNoticed in a manual audit from a customer codebase that the pattern
w.WriteString(fmt.Sprin...
4baa486983204fdff64f80809627f79a538d8d82 authored over 2 years agoRemove an unnecessary 'an' from errorcodes.go.
Change-Id: Iabe8ce479077cbfff936d57c788a9b39d7e5...
a7e9a379e970f0c48aae47da1778213f646b5f45 authored over 2 years ago
The existing implementation allocates a new string even when the
count is 1, where we know the o...
These variables never change, we don't need second copies of them.
Also rename bPlusBuild to pl...
d60e51e3539986fcca331cc27f4730a4fe266149 authored over 2 years ago
The issue referenced in work_prune.txt was fixed in CL 362754, but we
forgot to update the TODO ...
Fixes #52812
Change-Id: Idb70d0540bbf9ecdc64293c62a23f07ee3be883c
Reviewed-on: https://go-revie...
Change-Id: Ib6196f01b1927ea8a84c095f445320f03a514dd1
Reviewed-on: https://go-review.googlesource...
Change-Id: Ibcc7dbb528585b019ff1b743792a52f43a4c2233
GitHub-Last-Rev: e907fb00e3202ce39475054208...
The rule uses R25 as a scratch register. If the input is R25 it
will be clobbered on the way, ca...
For #53821
Change-Id: I7cb6a16626964d5023b96609d9921bfe4a679d8f
GitHub-Last-Rev: ddfce125be4aa5...
The changes improve the documentation for DefaultTransport, making
the style with how the HTTP p...
all_test.go is quite big, so let it contain tests only.
Change-Id: I5003db4a8b1e2384ea8470f5e89...
5bbee7a095435e52322b3a7c1e028b19c22e86e5 authored over 2 years agoFixes #52515
Change-Id: If10068a97733daf61aba72da5ed3935db8eed8b9
Reviewed-on: https://go-revie...
Same as CL 429915.
Change-Id: I83f4d3bd980294d5bae387d875368b069be2d91a
Reviewed-on: https://go...
objabi.HeadType is typically used as a non-pointer type, however the String function
is declared...
Before committing, the test coverage of strings/builder.go is 97.4%
After committing, the test...
If the entry symbol cannot be found (for example, a new port is being brought
up and no rt0 code...
RFC 3339 is the most common time representation,
being used in an overwhelming 57.3% of all spec...
Simplify the code a bit, no significant performance changes.
name o...
7ffbcd19876b9fbf117b09475411b8de9fa2c9dd authored over 2 years ago
Direct syscalls should no longer be used on darwin. Instead, directly
call libc's msync when usi...
Go 1.17 is the minimum required version for bootstrap as of Go 1.20.
Also, the package no longer...
Add a new flag 'paramNames' to typeWriter struct to control whether
function parameter names are...
Change-Id: Ie880871bb855e1c1f6e543508bdc7dd415451ba3
Reviewed-on: https://go-review.googlesource...
This CL adds a suitable error code to every error reporting,
matching what go/types already does...
CL 428780 used unsafe.Slice instead of unsafeheader for simplifiying the
code. However, it can b...
Fixes #53856
Change-Id: Ib533e9fbe063b74c81f6512464a4dac5e2af0ccc
GitHub-Last-Rev: c2ae8d6f75ba...
For #53821
Change-Id: I135783bd5472011f6a74d2f5ee34ce96ff49ad2b
GitHub-Last-Rev: 4da2d67ff3d194...
Change-Id: I7fd9c0636cd00891f5cdf36c0f68f897772042f2
Reviewed-on: https://go-review.googlesource...
The "&x.v" cost us 2 inline cost budget, causing extra inline cost for
the caller. By taking the...
Add and use a writev libc wrapper instead of using syscall(2).
Updates golang/go#36435
Change-...
e2f602003bb81dc3385c488a6635e2504d0abfbd authored over 2 years ago
Change-Id: I7ea150e4896fc9b2e3a6dbdd9a1c2b651e74b844
Reviewed-on: https://go-review.googlesource...
Change-Id: I9c4c3ada3a8f5d8d198cc42a4afc06972ee00c61
GitHub-Last-Rev: 4ed80119e3aef2e5bcfdb58a2d...
Update CL 425881 and CL 428396
I browsed the source code related to copy_file_range in the kern...
4f3246c6e97225d43775090f272a4d5c34ffb5a8 authored over 2 years ago
Change-Id: Ib9746cb4f27625cb22620271b280d2da242b2fba
Reviewed-on: https://go-review.googlesource...
Implement CLONE_INTO_CGROUP feature, allowing to put a child in a
specified cgroup in a clean an...
Change-Id: I9de5aafb36d05bdc90bbdba516367eb2b200a7e0
Reviewed-on: https://go-review.googlesource...
Change-Id: Ie543e1b1df667cfaf3aafa4be727881461ee8b7d
GitHub-Last-Rev: ed993dbe2445c4797303138b62...
First, we know that Go source files almost always weigh at least a few
kilobytes, so we can kick...
Follow CL 428777.
Change-Id: I5ce49322e92c5d6539bb08248e3366187c30dcd8
Reviewed-on: https://go-...
After we deprecated reflect.{SliceHeader, StringHeader}, it is recommended
to use unsafe.{Slice,...
As discussed in CL 401434 there are substantial misuses of these in the
wild, and they are a pot...
It's set but the output is never used.
Change-Id: I36ecb9c5f087a85289529907ede9f9bfc295d739
Rev...
Change-Id: I25c8e8b701d6489f360fea30d09090826276b950
GitHub-Last-Rev: c2c8319dd5fa2a53fe82b10ecb...
When the type assertion fails, the test mistakenly prints the expected
(rather than the actual) ...
Change-Id: I213b078effa4b7049c44498d651de5b938e5404b
Reviewed-on: https://go-review.googlesource...
FixedZone is transitively called by Time.UnmarshalJSON or Time.UnmarshalText
for any RFC 3339 ti...
Because most of these APIs are recently supported, we can only do some
advancement work as much ...
For #46505.
Change-Id: I1a30fd895496befd16626afb48717ac837ed5778
Reviewed-on: https://go-review...
This was left over from the old pacer, and never removed when the old
pacer was removed in Go 1....
This is an optimization that prevents N^2 behavior within a chunk, but
was accidentally skipped....
This change fixes an old TODO that made it a uint64 because it would
make alignment within mheap...
All subfields use atomic types to ensure alignment, so there's no more
need for these fields.
C...
e28cc362a825b297fa8a10dc95d7c0d2e2b21dfc authored over 2 years ago
pageAlloc.chunks used to require an atomic store when growing the heap
because the scavenger wou...
For #46505.
Change-Id: I9bc9da5dd4b76cb2d8ff41390e1567678e72d88d
Reviewed-on: https://go-review...
Change-Id: I9ec725009376f5865adedca6c159b14140dde097
Reviewed-on: https://go-review.googlesource...
Right now, span sets use a lot of unsafe.Pointer and naked atomics
operations. This change modif...
This uses rulegen syntax which allows similar rules
to be combined, saving lines in the rules fi...
Change-Id: I0407d96e2ba1376cc33fe91b52b6a8d7e81f59ae
Reviewed-on: https://go-review.googlesource...
Change-Id: I690dc517c08be4cd66439baad8b91f16622ff0d2
Reviewed-on: https://go-review.googlesource...
Change-Id: I1c9f91e983fb26b3e46c65513a4f14508774e543
Reviewed-on: https://go-review.googlesource...
Change-Id: I5780c3f26302fd5cf21e4a1f0bc1777abb658c82
Reviewed-on: https://go-review.googlesource...
Change-Id: I761766e147202970f82ce804dbaf5d491508995c
Reviewed-on: https://go-review.googlesource...
Change-Id: I56bd5d6b1333a96339340e5af5e6470cc7fb11a2
Reviewed-on: https://go-review.googlesource...
Change-Id: Ifb51cb4ed98a93742ce4b221137a0ad73b939b06
Reviewed-on: https://go-review.googlesource...
Change-Id: I427776e5b2d9c7279932548c86c8faded0eed041
Reviewed-on: https://go-review.googlesource...
Change-Id: I2ec419f475f9c5d5ef1d4557cb5862a55a699d9c
Reviewed-on: https://go-review.googlesource...
Change-Id: I4e05b892373713365f60258f64b3de94382ad983
Reviewed-on: https://go-review.googlesource...
The PPC64 ELFv2 supplement version 1.5 defines a handful of
new relocation types, similarly some...
Change-Id: I644f696d00b5bce448e0a00835b3162f5203f346
Reviewed-on: https://go-review.googlesource...
Change-Id: I559986b5408d3967c58c9abc6e8f4b04b25496a6
Reviewed-on: https://go-review.googlesource...
For #53821
Change-Id: Iee8ccea714726bbb6a4b384887bb107c29b823a9
GitHub-Last-Rev: 119aad36245800...
These can be simplified with the knowledge of how arguments are
assigned to obj.Prog objects on ...
Allow the assembler frontend to match MMA register arguments added by
ISA 3.1. The prefix "A" (f...
This CL adds shiftIsBounded checks for the Lsh* and Rsh* rules in arm64.
There is no need to che...
Apparently, some testing environments do not allow root to mount tmpfs
(due to e.g. AppArmor pro...
When naming case variables, the unified frontend was using
typecheck.Lookup, which uses the curr...
The unified frontend ICEs when inlining a function that contains a
function literal, which captu...
The toStringData test was meant to test reflect.StringHeader, not
reflect.SliceHeader. It's not ...