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
The WHATWG Mime Sniffing Standard we follow dropped support for
.snd / audio/basic.
https://gith...
When we have an error in a function type used in an expression
we don't know until we see an ope...
If the user provides the -json flag to explicitly specify fields, but
doesn't specify the Deps o...
This test forces GOARCH to amd64, but currently uses the default GOOS.
This works on every OS th...
Fixes #52450 (hopefully)
Change-Id: Ib723f8efb4a13af1b98c25cd02935425172d01e6
Reviewed-on: http...
This case was missed in CL 370894, and masked by the lack of an
Illumos TryBot.
Fixes #52452.
...
github.com/hack-pad/go - 338a81741a9aecba1a80014eced5cb2d3852d8eb authored over 2 years ago by Bryan C. Mills <[email protected]>
An error message like "could not import os/user (exit status 1)"
(observed in https://go.dev/iss...
Change-Id: I52009bf809dda4fbcff03aa82d0ea8aa2a978fa2
github.com/hack-pad/go - e07d63964b6db13c5439f6d0a5d136e43da74016 authored over 2 years ago by Chressie Himpel <[email protected]>The POSIX standard requires the PWD variable to be an absolute path.
Fixes #46832
Change-Id: I...
github.com/hack-pad/go - cbc9e589053e7339c1e3c4d6e88c6c015792efce authored over 2 years ago by Bryan C. Mills <[email protected]>
Be explicit that we always mean non-interface types when we
talk about sets of types.
Also, cla...
github.com/hack-pad/go - 0e08b02ac54c9232759704812f41a5836f920cff authored over 2 years ago by Robert Griesemer <[email protected]>Fixes #52438.
Change-Id: I5cbf8c448dba037e9e0c5fe8f209401d6bf7d43f
Reviewed-on: https://go-revi...
Be careful before accessing an operand's expr field (which may
be nil in some rare cases).
Whil...
github.com/hack-pad/go - 302f5ed21dad2cb99f3f63fd99228dc3ab480772 authored over 2 years ago by Robert Griesemer <[email protected]>
Before Go 1.18, an embedded type name in an interface could not be
parenthesized. With generaliz...
The kernel's RNG is fast enough, and buffering means taking locks, which
we don't want to do. So...
We're using bufio to batch reads of /dev/urandom to 4k, but we weren't
doing the same on newer p...
The x + (-y) => x - y rule is hitted 75 times while building stage 3 and tools
and make the linu...
Change-Id: If2887f84b3d14fac3c059fc5bad4186ec9d69d0f
Reviewed-on: https://go-review.googlesource...
Change-Id: I55899ff0ed2c3c01f24ab1ccf133ce4236049e39
Reviewed-on: https://go-review.googlesource...
Even though the change in the behavior of 'runtime.GOROOT' was
not actually due to a change in t...
All APIs in the now-deprecated io/ioutil package have a direct
replacement in either the io or o...
The linker performs a global analysis of all nosplit call chains to
check they fit in the stack ...
Change-Id: I301ed8bcc93f31147d247e60a7aab8ed42421bbd
Reviewed-on: https://go-review.googlesource...
The nosplit test was originally written when the stack limit was a
mere 128 bytes. Now it's much...
And delete now-unused FixedFrameSize methods.
Change-Id: Id257e1647dbeb4eb4ab866c53744010c4efeb...
github.com/hack-pad/go - 5f625de4d09843ba1c996019abaddd1f85840f56 authored over 2 years ago by Austin Clements <[email protected]>
Storing this information in the Arch eliminates some code duplication
between the compiler and l...
When linking a PIE binary with the internal linker, TOC relative
relocations need to be generate...
Updates #41682
Change-Id: I3a2d6eedf4030cdc7308001aef549eb20eeb11c1
Reviewed-on: https://go-rev...
When parsing certificates and CSRs, reject duplicate extensions (and
additionally duplicate requ...
This allows the caller to decide whether MapIter should be
stack allocated or heap allocated bas...
These timeouts are empirically sometimes (but rarely) too short on
slower builders, and at any r...
Endlineno is lost when we call "genericSubst" to create the new
instantiation of the generic fun...
This improves performance for memclr for sizes >= 64 and < 512 by
unrolling the loop to clear 64...
actualReader and tc.expectedReader are reflect.Type instances,
not the actual objects.
Change-I...
github.com/hack-pad/go - 740a490f71d026bb7d2d13cb8fa2d6d6e0572b70 authored over 2 years ago by Jorropo <[email protected]>This allows the result of Type to be computed much faster.
Performance:
old new delta...
github.com/hack-pad/go - e948c3394ee137bae45e85cfa7c8ec0bb0e16dc8 authored over 2 years ago by Joe Tsai <[email protected]>As is already done in strings package.
Change-Id: Ia45e6443ddf6beac5e70a1cc493119030e173139
Git...
This code was trying to iterate codepoints, but didn't reslice the string,
so it was reading the...
No test because we already have a test in the syscall package.
The issue reports 1 failure per 1...
There are some symbol attributes that are encoded in the object
file. Currently, they are lost w...
No separate test because this makes no difference for valid PE files.
Fixes #52350
Change-Id: ...
github.com/hack-pad/go - 0c6d8bb109adfa188190b2e6de59b88853ded378 authored over 2 years ago by Ian Lance Taylor <[email protected]>
Change-Id: Ic2315b593dca5648c02f793b7650b5936a997bff
GitHub-Last-Rev: ee55edcf087416c6f0d50d5dd5...
The current implementation, although more succinct, relies on a runtime
lookup to a "constant" u...
Refuse to create certificates with negative serial numbers, as they
are explicitly disallowed by...
Added specific code For POWER9 that does not need prealignment prior
to load vector. Optimized v...
Fixes #52239
Change-Id: I08b75e613e3c976855e39d01a6757d94e4207bf8
Reviewed-on: https://go-revie...
This adds a straight-forward implementation of the functionality.
A more performant version coul...
In issue #17671, there are a endless loop if printing
the panic value panics, CL 30358 has fixed...
The noopt builder is broken, because with -N we get two OpSB opcodes
(one for the function as a ...
Don't create certificates that have serial numbers that are longer
than 20 octets (when encoded)...
Change-Id: Ic67f676f5ebe146166a0d3c1d78a802881320e49
Reviewed-on: https://go-review.googlesource...
Reorganize the way we rewrite expression switches on strings, so that
jump tables are naturally ...
So that the inliner knows all the other cases are dead and doesn't
accumulate any cost for them....
Performance is kind of hard to exactly quantify.
One big difference between jump tables and the...
github.com/hack-pad/go - 1ba96d8c0909eca59e28c048150c3834982f79fb authored over 2 years ago by Keith Randall <[email protected]>
Check for insane statement list attribute values when
constructing LineReader's for a compilatio...
Name the arguments in a way that is more self-describing.
Many code editor tools show a snippet ...
We should prefer a constant shift op to a X shift op.
That way we don't have to materialize the ...
This offR accumulation isn't used and some really similar code is done
later in the Load results...
- Across all benchmarks, pdqsort is never significantly slower than the previous algorithm.
- In...
Export the previously private method copy as Clone.
Fixes #35044
Change-Id: I5403d6a3b9f344c98...
github.com/hack-pad/go - 9298f604f474ef6dcd5fdfb73877d63b1972c29f authored over 2 years ago by Roland Shoemaker <[email protected]>
Change-Id: I5d2d64acd501bae90e2027f55ac6398f71dafca3
Reviewed-on: https://go-review.googlesource...
Otherwise we panic if either pool is nil.
Change-Id: I8598e3c0f3a5294135f1c330e319128d552ebb67
...
In CreateCertificate, if there are no extensions, don't include the
extensions SEQUENCE in the e...
Change-Id: I79eb5e7d6bcb23f26d3a100e915efff6dae70391
Reviewed-on: https://go-review.googlesource...
Change-Id: I4e8dc5009a5b8af37d71b62f1322f94806d3e9d9
Reviewed-on: https://go-review.googlesource...
The -trust flag has become obsolete.
A list of individual reviewers may become out of date, and...
github.com/hack-pad/go - bc3e5d0ab75ee8051a6fb28196575c1c4556b765 authored over 2 years ago by Dmitri Shuralyov <[email protected]>
This allows memmove and memclr to be invoked using the new
register ABI on riscv64.
Change-Id: ...
github.com/hack-pad/go - b55a2fb3b0d67b346bac871737b862f16e5a6447 authored over 2 years ago by Meng Zhuo <[email protected]>Updates #44505
Change-Id: I400110c33e69decf133fe9c4b582a450b7258b39
Reviewed-on: https://go-rev...
The ABI mangling code skips symbols that are not loaded from Go
objects. Usually that is fine, a...
They are already in a good order. The sort here does nothing, as
all the SymValues are 0. Sortin...
check_testdata/check_testdata.go used the encoding of the corpus entry
file, rather than the inp...
Currently the shift left and shift right functions are coded in .go
on PPC64. Implementing them ...
Updates #51461.
Change-Id: Ie878a9f630062d62027de895750a070b50428a9f
Reviewed-on: https://go-re...
The Faccessat call checks the user, group, or other permission bits of a
file to see if the call...
When we added VCS stamping in the Go 1.18 release, we defaulted to
-buildvcs=true, on the theory...
runtime.getitab need filled fun[0] to identify whether
implemented the interface.
Fixes #51700
...
The existing implementation of `load.resolveEmbed`
uses an expression like `path[len(pkgdir)+1:]...
syscall.Access is supported and used on aix since CL 263540.
Change-Id: Ie50cc3da68b49b22d622d9...
github.com/hack-pad/go - 8f1d5d0a41840c1e6b36c94d493af8aae1302fd0 authored over 2 years ago by Tobias Klauser <[email protected]>
Previously, Decode called decodeError, a recursive function that was
prone to stack overflows wh...
This improves performance of memmove for larger moves by
unrolling the main loop from 32 byte to...
name old time/op new time/op delta
ShiftArithmeticRight-8 0.68ns ± 5% 0.3...
gofmt is rewriting +build comments into //go:build anyway, so update
the test script to support ...
Code generators may reasonably expect to find the GOROOT for which the
code is being generated.
...
Fixes #52236.
Updates #51461.
Change-Id: Ie91e0256afd45e9bbd60fd8cdc696363027ab696
Reviewed-on:...
This reverts CL 367043.
Reason for revert: auto-submitted prematurely, breaking tests on most b...
github.com/hack-pad/go - d4dbad53ca080d767798ee4267999868d7f2c22d authored over 2 years ago by Bryan Mills <[email protected]>
For TestLogOpt test case, add loong64 support to test the host
architecture and os.
The Ctz64 i...
github.com/hack-pad/go - ace7672526692f8290bd98e339169c6eca76ba07 authored over 2 years ago by Xiaodong Liu <[email protected]>Use this benchmark ut:
```go
func BenchmarkReceiveDataFromClosedChan(b *testing.B) {
count := ...
No test because I'm too lazy to figure out how to create such files.
Fixes #52259
Change-Id: I...
github.com/hack-pad/go - a362d5461483190cbaf995e6cb7aaa47c32ebe36 authored over 2 years ago by Ian Lance Taylor <[email protected]>
After CL 398014 fixed a compiler deadlock on syntax errors,
this CL adds a test case and more de...
Fixes #52278
Change-Id: Ibf67c7b019feec277d316e04d93b458efea133fb
Reviewed-on: https://go-revie...
CL 372774 is for reflect, this CL is for _type in runtime.
Add a test case to ensure the name me...
Fixes #51761
Change-Id: Ibaa17076ba51b666e25333e78180b8c7c4c940ec
Reviewed-on: https://go-revie...
https://go-review.googlesource.com/c/go/+/383434 started using
atomic Load64 on this field, whic...
Change-Id: Iaac18d78b4a11698d0b5f70b1d5143c0da8a6943
Reviewed-on: https://go-review.googlesource...
Now that gofmt is reformatting these, we can't get away with
not knowing about directives such a...
[This CL is part of a sequence implementing the proposal #51082.
The design doc is at https://go...
[This CL is part of a sequence implementing the proposal #51082.
The design doc is at https://go...
[This CL is part of a sequence implementing the proposal #51082.
The design doc is at https://go...
[This CL is part of a sequence implementing the proposal #51082.
The design doc is at https://go...
[This CL is part of a sequence implementing the proposal #51082.
The design doc is at https://go...
[This CL is part of a sequence implementing the proposal #51082.
The design doc is at https://go...
[This CL is part of a sequence implementing the proposal #51082.
The design doc is at https://go...