Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
Hackpad
We strive for making code editing in the browser a powerful, streamlined experience.
Collective -
Host: opensource -
https://opencollective.com/hackpad
- Website: https://hackpad.org
- Code: https://github.com/hack-pad
For #45557
Change-Id: I25be5b437fa1c9b0e0c46802a9b37efc2d47bca0
Reviewed-on: https://go-review....
Since os.SEEK_SET was deprecated, use io.SeekStart instead.
Change-Id: I11ae496b071ab35412403ff...
github.com/hack-pad/go - 351037d16c16602388709b846420094eabb5ce16 authored about 2 years ago by hopehook <[email protected]>
Change-Id: I517e75faca18bf0fdcd4e6c837f50f824aa6348c
Reviewed-on: https://go-review.googlesource...
This reverts CL 431255.
Reason for revert: breaks darwin-arm and linux-noopt builders.
Change-...
github.com/hack-pad/go - fc1cddcfe916eff82b7c6a0e82765e9b9fe29980 authored about 2 years ago by Cuong Manh Le <[email protected]>
Now we have 8-byte alignment types on 32-bit system, so in some rare
case, e.g, generated wrappe...
Accessing the address of something often needs the same (or even less)
number of instructions as...
Change-Id: Ic3c1c972bec39e14ea1af50ab2b5d887dac29eab
Reviewed-on: https://go-review.googlesource...
When SLTI/SLTIU is used with ANDI/ORI, it may be possible to determine the
outcome based on the ...
CL 427615 causes failures when Len64 can't be inlined. It's unclear to
me why this wasn't a prob...
If one (accidentally) uses Go 1.16 as bootstrap toolchain, we
want it to print the error
found ...
github.com/hack-pad/go - 1c19c5602bc5d5f54463b1a0133965fa25ebcd56 authored about 2 years ago by Cherry Mui <[email protected]>
On Linux a signal sent using tgkill will have si_code == SI_TKILL,
not SI_USER. Treat the two ca...
Return errors instead of calling t.Fatalf for timing-sensitive failure
modes. Scale the Sleep ca...
Use the delta for computing min and max values. This elides a few bounds checks:
compilecmp lin...
github.com/hack-pad/go - 2addbf3f2a91e2caa0903c79a44d722e9bcd913d authored about 2 years ago by Jakub Ciolek <[email protected]>Fixes #51152
Change-Id: Ib366e733434b4bb60ac93e6e622d9ba50bfe4e26
GitHub-Last-Rev: e98220d62fc4...
Remove a harmless but redundant section of code introduced
in CL 407214.
Change-Id: Id6522e6ff1...
github.com/hack-pad/go - a84f46a28a1a9ffc0183fed394b6969c10fad502 authored about 2 years ago by Damien Neil <[email protected]>
Currently bgsweep attempts to be a low-priority background goroutine
that runs mainly when the a...
This change adds a metric to the runtime/metrics package which tracks
total mutex wait time for ...
Currently, wait reasons are set somewhat inconsistently. In a follow-up
CL, we're going to want ...
This change adds 3 new waitReasons that correspond to sync.Mutex.Lock,
sync.RWMutex.RLock, and s...
This changes adds a breakdown for estimated CPU usage by time. These
estimates are not based on ...
There are lots of useless buckets with too much precision. Introduce a
minimum level of precisio...
This should fix the ssacheck builder.
Change-Id: I4b6172df33d6447f7ec8fd8e301c6380efb92588
Revi...
Includes cases where the core type of the variadic parameter is
a slice or bytestring. Permits a...
Apparently the new darwin linker starts to emit a warning about
-no_pie deprecation. Maybe we wa...
When running on Go 1.19, we can further simplify some of the exec.Cmd
helpers due to API improve...
Now that the required Go bootstrap version is 1.17, we can simplify
some of the logic for workin...
function "ExampleFprint" will be rewritten to function "main"
when displayed on the godoc pages,...
The correct spelling is asyncpreemptoff=1,
but clearly this test doesn't need it.
Change-Id: Ic...
github.com/hack-pad/go - b35b4a31e167a170a5ee481ed525272bc44dcc33 authored about 2 years ago by Russ Cox <[email protected]>
For proposal #41583, add a new 'go test -skip' flag to make it easy
to disable specific tests, b...
The object header string is meant to record the relevant toolchain
configuration, so that we don...
Update #53280
Change-Id: I1c8d4510fbe8bdfe9a41575bde54ea2fbf6b67e9
Reviewed-on: https://go-revi...
Update #53280
Change-Id: Iaa7c0cf5dbefaa8e14c2de499f99755911c17672
Reviewed-on: https://go-revi...
Updates #46505
Change-Id: Ib8f52d6ae199338f278731267c966da85dd0acdd
Reviewed-on: https://go-rev...
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 ...
github.com/hack-pad/go - 7fda98a8d90139fed07d7f8ca80d248a5cbc1e93 authored about 2 years ago by Paul E. Murphy <[email protected]>
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...
github.com/hack-pad/go - 95ec579eb68fcc01975462a74676e3bacd9814b0 authored about 2 years ago by cui fliter <[email protected]>Merge the CRC32 Update and Write functions using an unexported function, to avoid duplication of...
github.com/hack-pad/go - f6436c60e49f17f2ca723fdf76a0cb4323cbe02c authored about 2 years ago by Erik Pellizzon <[email protected]>
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...
github.com/hack-pad/go - e0822b55ac2076112507016bc08d52999c25d728 authored about 2 years ago by kurochan <[email protected]>
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...
github.com/hack-pad/go - 5760fde4df4f1e9303de122ae3b5ac80b7ef681d authored about 2 years ago by Wayne Zuo <[email protected]>
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...
github.com/hack-pad/go - e665de28611fd2cbf7789065e7a26ca12c4b9c00 authored about 2 years ago by Keith Randall <[email protected]>
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...
github.com/hack-pad/go - 972870da11bb4ddd3df393473c494bd2b546cc56 authored about 2 years ago by Kévin Dunglas <[email protected]>Noticed in a manual audit from a customer codebase that the pattern
w.WriteString(fmt.Sprin...
github.com/hack-pad/go - 4baa486983204fdff64f80809627f79a538d8d82 authored about 2 years ago by Emmanuel T Odeke <[email protected]>Remove an unnecessary 'an' from errorcodes.go.
Change-Id: Iabe8ce479077cbfff936d57c788a9b39d7e5...
github.com/hack-pad/go - a7e9a379e970f0c48aae47da1778213f646b5f45 authored about 2 years ago by Ali Yousefi Sabzevar <[email protected]>
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...
github.com/hack-pad/go - d60e51e3539986fcca331cc27f4730a4fe266149 authored about 2 years ago by Ian Lance Taylor <[email protected]>
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...
github.com/hack-pad/go - 5bbee7a095435e52322b3a7c1e028b19c22e86e5 authored about 2 years ago by Cuong Manh Le <[email protected]>Fixes #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...
github.com/hack-pad/go - 7ffbcd19876b9fbf117b09475411b8de9fa2c9dd authored about 2 years ago by Cuong Manh Le <[email protected]>
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-...
github.com/hack-pad/go - e2f602003bb81dc3385c488a6635e2504d0abfbd authored about 2 years ago by Tobias Klauser <[email protected]>
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...
github.com/hack-pad/go - 4f3246c6e97225d43775090f272a4d5c34ffb5a8 authored about 2 years ago by Andy Pan <[email protected]>
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...