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
These tests execute commands using exec.Command.
Change-Id: I2708d6d24762fe2b2a902b1b221cc67392...
github.com/hack-pad/go - 17078f5860699e0d1e1f6f3ca328f92621ac49d0 authored about 2 years ago by Tobias Klauser <[email protected]>
PPC64 ELFv2 uses the st_other field of a symbol to specify an offset
from the global entry point...
String.prototype.substr is deprecated and usage is no longer
recommended so using String.prototy...
Change-Id: I3f2dae17496b5b4efbdc022802f941a616abd87a
Reviewed-on: https://go-review.googlesource...
In preparation for encoding it in a more efficient way.
Change-Id: I299dd2befc3d07107a1b7b49225...
github.com/hack-pad/go - b52783c1e9673793da85dc7a9fb433d033da2e10 authored about 2 years ago by Keith Randall <[email protected]>
When generating long strings or slices with Repeat we
currently reuse intermediate states as a w...
The spec https://refspecs.linuxfoundation.org/elf/gabi4+/ch4.eheader.html
states:
1. e_shnum: I...
github.com/hack-pad/go - 7d157fd0eb637a4c58f629421dd8d028022391d2 authored about 2 years ago by Zeke Lu <[email protected]>
Relocate cmd/go's search.MatchPattern helper routine to a new package
in cmd/internal from its c...
Extra Ms may lead to the "no consistent ordering of events possible" error when parsing trace fi...
github.com/hack-pad/go - fb6c210dc3c3f1f211b469214f0ec1c881fd088e authored about 2 years ago by doujiang24 <[email protected]>Updates #42537
Change-Id: I2d4c5e911c8a2ddfe9a976896b05d3cd8be61f6b
GitHub-Last-Rev: a87597d8a7...
For #46746
Change-Id: Ic7a31ddf7cd6bf6dd0db6b9eb3fee68fc180f72e
Reviewed-on: https://go-review....
No test case because the problem can only happen for invalid data. Let
the fuzzer find cases lik...
Fixes #55835
Change-Id: I6109bab2941b859e8cfef22f65a6a3a5f977a8d7
Reviewed-on: https://go-revie...
The image/gif.FuzzDecode takes an excessive amount of time to run on various
builders - skip the...
Change-Id: I63b2af955e2ada6d20e72c10797576d93bbc7e71
Reviewed-on: https://go-review.googlesource...
1. replace [0-9] with \d in regexps
2. replace [a-zA-Z0-9_] with \w in regexps
Change-Id: I9e26...
github.com/hack-pad/go - fac5338a6c788df948edafa055ed998c46ba545e authored about 2 years ago by TomCao New Macbook Pro <[email protected]>
Add an additional guard to ensure that we don't try to run the "-race"
variant of the exit hooks...
Use the newly defined time.Datetime constant instead of a string literal.
Updates #52746
Chang...
github.com/hack-pad/go - f6e1677428e3df28e936cb000b58fca377f67d72 authored about 2 years ago by cui fliter <[email protected]>
Adds a -coveragecfg=<configfile> command line option to the compiler
to help support a cooperati...
Add a new "coverage counter" classification for variables to be used
for storing code coverage c...
Updates #42537
Change-Id: Ice23d7d36bbede27551cbc086119694f6a3b5e4a
GitHub-Last-Rev: 0d65208313...
This matches the compiler's long-standing behavior.
For #55326.
Change-Id: Icd946b031b1b6e6549...
github.com/hack-pad/go - 17f83e347312ce3e7a0369f1db50d60e6104f4cf authored about 2 years ago by Robert Griesemer <[email protected]>This matches the compiler's long-standing behavior.
For #55326.
Change-Id: I90696a11f0b7d1f4be...
github.com/hack-pad/go - 2da95e0ec80cb7df1f89a7b7f147dde42ad17a19 authored about 2 years ago by Robert Griesemer <[email protected]>The previous wording was unclear and seemingly contradictory.
Change-Id: I0781dc4525948f4e8e569...
github.com/hack-pad/go - b8d8c9e79f24dedc3c01e4e26d5a885720c479f0 authored about 2 years ago by Isaiah Becker-Mayer <[email protected]>
Add a new API (not public/exported) for registering a function with
the runtime that should be c...
Add support to the runtime for registering coverage-instrumented
packages, using a new hook that...
Add utilities for reading and writing of counter data files as part of
the new code coverage imp...
follow the TODO to use StructOf, this cl can save the used memory.
for example, old code alloc [...
This matches long-standing compiler behavior.
For #55326.
Change-Id: Ic5aa0dfb08d035f2c33532cc...
github.com/hack-pad/go - 22f447159981a58508ac190f297798cdd5fd668b authored about 2 years ago by Robert Griesemer <[email protected]>
We need a better approach eventually, but this is ok for now.
In go/types, always use _Unsupport...
Add a coverage meta-data decoder, which provides APIs for reading
encoded coverage meta-data and...
Add a new package with APIs for encoding coverage meta-data. This
provides support for accumulat...
Add a new "coverageredesign" GOEXPERIMENT (currently off by default),
for gating the use of the ...
to is an optional pointer to sockaddr, as written in the doc:
https://learn.microsoft.com/en-us/...
Before the change, "SliceCap((*int64)(nil), 1<<62)" returns 1<<62.
That's because "uintptr(c)*si...
The pipes pumped by goroutines can be closed as soon as their
respective goroutines are done.
T...
github.com/hack-pad/go - bd8a5b00fcf71fb711ba8996a880b5b07f7b3634 authored about 2 years ago by Bryan C. Mills <[email protected]>
Change the childFiles field to a local variable, since it was
populated during Start and (as far...
Deduplicate code for parsing system registers - this matches what is done
in golang.org/x/sys/cp...
Change-Id: I1f21654b50d7b0cd8e1f854efe2724b72f067449
Reviewed-on: https://go-review.googlesource...
using Type.Comparable to simplify the Value.Comparable,
and return true directly when exit the f...
Even though there isn't much point in building cmd/go for js/wasm given
it relies on executing s...
Last use was removed by CL 240607.
Change-Id: Icfe9e477c6035823bd676a2ff28e1ac202dd991e
Reviewe...
Fixes #55845
Change-Id: If30263b7d34829c40e6606846115ec520f351f2c
Reviewed-on: https://go-revie...
Fix up the package test harness to avoid errors of the form
go_test.go:NNN: internal testsuit...
github.com/hack-pad/go - 1e91ffc897efb1ed298753c08f086fbc8f725025 authored about 2 years ago by Than McIntosh <[email protected]>This avoids allocating an overly large slice for corrupt input.
Change the saferio.SliceCap fun...
github.com/hack-pad/go - a0441c7ae3dea57a0553c9ea77e184c34b7da40f authored about 2 years ago by Ian Lance Taylor <[email protected]>For #55326
Change-Id: I3d0ff7f820f7b2009d1b226abf701b2337fe8cbc
Reviewed-on: https://go-review....
This reverts commit 3dcf6e2c29f533865aad58488b60ae8d819a566e.
Reason for revert: breaks the lon...
github.com/hack-pad/go - e5deb1556b230642d544c451a83cb79f641727a3 authored about 2 years ago by Tobias Klauser <[email protected]>
Query parameter smuggling occurs when a proxy's interpretation
of query parameters differs from ...
Use slice-to-array conversions in AddrFromSlice and
(*Addr).UnmarshalBinary. This allows allows ...
For #55326.
Change-Id: Ia3c1124305986dcd49ac769e700055b263cfbd59
Reviewed-on: https://go-review...
Currently, for version errors, types2 adds the helpful hint
(-lang was set to go1.xx; check go....
github.com/hack-pad/go - 5d213a3dc764624e3f01d7e957fedc63bfdcfa0f authored about 2 years ago by Robert Griesemer <[email protected]>
Updates vet to permit errors with an Unwrap method returning []error
and multiple %w verbs in fm...
CL 426257 changed ioutil.WriteFile to os.WriteFile but didn't add the
corresponding import for p...
Change-Id: I83a62b15c5946cfe61afc53c2c528aa3a62f815e
Reviewed-on: https://go-review.googlesource...
Fixes #52527.
Fixes #55336.
Change-Id: I8f5c521c693e74451a558788909e7e4ad1cc797a
Reviewed-on: h...
A linear search through a list of 22 strings takes ~80ns.
A quick check for 3-4 byte strings red...
Pprof's converter from legacy text format to protobuf format
assumes that if the alloc and inuse...
For PIE binaries, the .gopclntab section doesn't have the usual
name, but .data.rel.ro.gopclntab...
After CL 22425, there're two optimizations for slice expr which are
never applied during walk pa...
cmd/dist can't easily hard-code -buildvcs=false because not all
versions of cmd/go supported for...
Change-Id: Ic4df6a8e198b069a9f3a28710fa40f29bd658b06
GitHub-Last-Rev: 51040eb5e53f4cf0238cb0b787...
Change-Id: I5b063070a17bdeed57e73bfb76125b94268b3bc9
Reviewed-on: https://go-review.googlesource...
Change-Id: I7350a608a198073673fb9b7e9b91dae6f1c861b7
Reviewed-on: https://go-review.googlesource...
These tests are flaky; add some additional logging in hopes
it will aid in debugging.
For #5337...
github.com/hack-pad/go - 441223050335590875581275cd538034111f28d8 authored about 2 years ago by Damien Neil <[email protected]>
RFC 7231 permits HEAD requests to contain a body, although it does
state there are no defined se...
Pull in HTTP/2 fix needed for net/http test case.
f8f703f979 http2: accept HEAD requests with ...
github.com/hack-pad/go - 493ebc359029a066d039adf861ea33bec68422b8 authored about 2 years ago by Damien Neil <[email protected]>Fixes #51282
Change-Id: I5b0d68165b727a427bd4a42663b2fa0070ced22f
Reviewed-on: https://go-revie...
Change-Id: I8c0e2b37e7e8cb4db6ad0b456fde7eb908ffbd04
Reviewed-on: https://go-review.googlesource...
Converting from nil slice to zero element array is ok, so explicitly
describe the behavior in th...
This commit adds an ASCII fast path to bytes/strings EqualFold that
roughly doubles performance ...
This is both simpler and more performant.
The need for fmt.fmtC to manually check for utf8.MaxRu...
On Linux a signal sent using tgkill will have si_code == SI_TKILL,
not SI_USER. Treat the two ca...
This reverts commit 4c414c7673af6b2aedee276d2e62cb2910eb19f3.
Reason for revert: breaks ppc64 b...
github.com/hack-pad/go - fec83c8a7d1a3bb5f63366acd55f83ed8782bff0 authored about 2 years ago by Keith Randall <[email protected]>
When one has a []byte on hand, but desires to call the Parse function,
the conversion from []byt...
Fixes #54973
Change-Id: Ibad9dd124617a1bbc23abd17cbd6e9e9928e3ed9
GitHub-Last-Rev: 1c6affb967ef...
Change-Id: Idd8cee84215e61817a86915160c91242670798af
Reviewed-on: https://go-review.googlesource...
Say "//go:build" instead of "// +build" in the package level godoc
comment.
Change-Id: I4700227...
github.com/hack-pad/go - b5fcb35b3197bc4d444ee0b9ad4ae6c5998864cf authored about 2 years ago by Tobias Klauser <[email protected]>Replace custom append functions in the hash functions with the implementation of the encoding/bi...
github.com/hack-pad/go - 1eeb257b88e59f2f3ce3cbe0eb80a9f049765853 authored about 2 years ago by Erik Pellizzon <[email protected]>For #45557
Change-Id: I56824135d86452603dd4ed4bab0e24c201bb0683
Reviewed-on: https://go-review....
Use "%w" instead of "%v" as format verb for error value in the NextPart
method. This way it will...
This is a follow up of CL 393656 on arm64.
Benchmarks:
name ol...
This CL adds some optimizaion rules:
1, Converts CMP to CMN, or vice versa, when comparing with ...
Change-Id: I87526520b519554ea344288cc0f0940d7b182e21
Reviewed-on: https://go-review.googlesource...
get, at least, is called from typedmemclr which must not be interruptible.
These were previously...
Although I can't think of any reason to do this, it is possible for
a user-defined flag to imple...
The nounified frontend currently tries to construct dictionaries that
correspond to invalid inst...
Replace two immediate operations with one, where possible.
Change-Id: Idc00e868155c9ca1d872aaaf...
github.com/hack-pad/go - 7234c90352e5ea7769c02808017fb20043ea8210 authored about 2 years ago by Joel Sing <[email protected]>
The use of SEQZ/SNEZ and SUB allows for other optimisations to be utilised,
particularly absorpt...
On riscv64 we need 8 byte alignment for 8 byte loads - the existing check
was only ensuring 4 by...
The conversion T(x) is implemented as *(*T)(x). Accordingly, runtime
panic messages for (*T)(x) ...
In unified IR, local defined types are promoted to a global defined
type with a "vargen" suffix....
This test case already works with GOEXPERIMENT=unified, and it never
worked with Go 1.18 or Go 1...
Resend of CL 315281 which was partially reverted by CL 354249 after the
original CL was suspecte...
The type of the source and destination of a memmove call isn't
always accurate. It will always b...
Change-Id: If36e9fd7d6b1993ca2d0d382e7fa52212170c798
Reviewed-on: https://go-review.googlesource...
TestReadRequest_Bad's tests for leading whitespace in the first header
were also exercising the ...
Fixes #50770.
Change-Id: If0104883bb409ec85827fa5b570f68099ad4fd1d
Reviewed-on: https://go-revi...
Changes:
1. When e_shstrndx holds the value SHN_UNDEF (0), the file has no section
name string ...
In module mode, we shouldn't handle packages under GOPATH any
differently from other packages. C...
Change-Id: If09094e72161f2c5da9102706781524e32f87782
GitHub-Last-Rev: 89949bc6ee8622be31c4e4db45...