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
Using build tool tags instead of relying on GOAMD64 env, which can be
overriden at make.bash tim...
Change-Id: Ia7d72b134a52627fd3c19a3c238fba8deb5e01c0
Reviewed-on: https://go-review.googlesource...
When trampolines are needed (e.g. Darwin ARM64), the DWARF LPT (Line
Program Table - see DWARF s...
Change the type of Conn.handshakeStatus from an atomically
accessed uint32 to an atomic.Bool. Ch...
This CL adds a helper expression code for receiver addressing; i.e.,
the implicit addressing, de...
Unified IR uses static dictionaries for some itabs and function/method
expressions, and they're ...
This CL separates out the handling of selector expressions for field
values, method values, and ...
This CL changes unified IR to explicitly handle function
instantiations within expression handli...
There was a TODO about quadratic performance, and indeed,
it can get bad. Added a map, made som...
This CL applies the same change to test/live.go that was previously
applied to test/live_regabi....
`go env GOEXPERIMENT` prints what experiments are enabled relative to
the baseline configuration...
Those ureader.go files have enough documents and in stable
developement/review as other parts of...
I've needed this more than once in the past, I hack it in,
then throw it away, seems sensible to...
Introduced in https://go-review.googlesource.com/c/go/+/419755
Change-Id: I7ca353d495dd7e833e46...
github.com/hack-pad/go - f19f6c79e48b0c7aeeeb26e07b626af11653dc99 authored about 2 years ago by Keith Randall <[email protected]>
The SERVER_NAME variable in the CGI environment should not
contain the port, according to the se...
Since recent ARM CPUs support CRC late forwarding of results from a
producer to a consumer, the ...
The test passed on linux/arm64, so re-enable it.
Change-Id: Ib5252d89b58f0de256993065e27b64c467...
github.com/hack-pad/go - 5531838c046eb1a94b142deeb89d7d8d9be3fc14 authored about 2 years ago by eric fang <[email protected]>For signed comparisons, the following four optimization rules hold:
(CMPconst [0] z:(AND x y)) ...
github.com/hack-pad/go - efe5929dbd23054395ea128325edba8d23b6d5fc authored about 2 years ago by eric fang <[email protected]>
When a generic interface method is used, we use a special
relocation R_USEGENERICIFACEMETHOD to ...
Add new line at the end of crash_test.go.
Change-Id: I73c77666066b105e563215f34e7ede6c1d92226b
...
We claim to not maintain pointer bits for noscan objects. But in fact
we do, since whenever we s...
Replace loading and storing an atomic.Value of type pointer with
atomic.Pointer.
Change-Id: I01...
github.com/hack-pad/go - d39b54171a2702d5fe6fc427b60ee03c9c45da5a authored about 2 years ago by Ludi Rehak <[email protected]>
Updates github.com/google/pprof to bring in the commit from
https://github.com/google/pprof/pull...
Consistently recommend using EscapedPath rather than RawPath directly.
For #33596.
Change-Id: ...
github.com/hack-pad/go - 51a23d6681aef3736e09fbc61fc9ae03305efc2c authored about 2 years ago by Damien Neil <[email protected]>
Change-Id: Icb0b917c48252ed8831e6c07109c1bc2d2438a42
Reviewed-on: https://go-review.googlesource...
Change-Id: Ia8c67d148fc7e71cac8954ccce6fffb8a6f423df
GitHub-Last-Rev: 9441b8f0c510a3a03dc22816e2...
Updates #37762
Change-Id: Ib587f472304a04ebd9794666228f81ae6cb5c2a3
Reviewed-on: https://go-rev...
Per TODO, this CL just moves code around without behavioral
change. Part of a cleanup process so...
This CL adds a test that method expressions where the receiver type is
a derived type and embeds...
The Go 1.18 frontend handles package-scope generic method values by
spilling the receiver value ...
For interface method values, we nil check the receiver value at the
point of evaluating the meth...
ir.ClosureExpr implements ir.InitNode, so ir.InitExpr can prepend init
statements to it. However...
NewClosureVar should only be called to capture locally declared
variables in the enclosing funct...
When debugging IR that uses OLINKSYMOFFSET, you really need to know
what linksym it actually ref...
This reverts commit b589208c8cc6e08239868f47e12c1449cd797bac.
Reason for revert: Bug somewhere ...
github.com/hack-pad/go - ad0287f4960610c01c12ea99da50d7138509c0b0 authored about 2 years ago by Keith Randall <[email protected]>This reverts commit c3833a55433f4b2981253f64444fe5c3d1bc910a.
Reason for revert: Bug somewhere ...
github.com/hack-pad/go - e1a8e0e05d4959d0b669cb968482a5dcfe0c95f8 authored about 2 years ago by Keith Randall <[email protected]>
Skip a collection of -buildmode=pie tests on alpine, which are
currently failing on the linux-am...
Change-Id: Iff881cc6cc2ec34c7cf8bbd5dd1b0a05a19e1c23
Reviewed-on: https://go-review.googlesource...
Add named constants for the 3rd, 4th, and 13th most popular formats.
Fixes #52746
Change-Id: I...
github.com/hack-pad/go - 0981d9fff1fa5601a2b7833473955252425bd923 authored about 2 years ago by Joe Tsai <[email protected]>
Disable the TestGdb* testpoints until we can figure out why they are
failing and reconfigure the...
Change-Id: Icd9eeb78bfc0c0bbe19dcb9841c9fdc0abc29cc9
Reviewed-on: https://go-review.googlesource...
Change-Id: I2d1528910cb3660344c7a664d6f32306defe75d3
Reviewed-on: https://go-review.googlesource...
After CL 418514, Unified IR now always write concrete type of constant
expressions, thus we don'...
Same as CL 418475, but for Unified IR.
Updates #53888
Fixes #54337
Change-Id: I31d5a7af04d8e39...
github.com/hack-pad/go - 269906548310445132bbf2f14233485e3875e730 authored about 2 years ago by Cuong Manh Le <[email protected]>
So we don't have to duplicate the logic to detect noopt builder in
multiple places.
Based on kh...
github.com/hack-pad/go - a292b3905c0976ed2ab7aae24fa96d506cb7b0a7 authored about 2 years ago by Cuong Manh Le <[email protected]>They exist on all other Unix ports, define them on GOOS=solaris as well.
Fixes #52875
Change-I...
github.com/hack-pad/go - 98277f30e4365f3b35d856fa9cdee2fe01ab862b authored about 2 years ago by Tobias Klauser <[email protected]>
Currently the linux/arm64 and linux/riscv64 ports wrap the fstatat
syscall twice, once in func f...
As it can't appear in user package paths.
There is a hack for handling "go:buildid" and "type:*...
github.com/hack-pad/go - 0f8dffd0aa71ed996d32e77701ac5ec0bc7cde01 authored about 2 years ago by Cuong Manh Le <[email protected]>
In CL 339309 these were probably copied from the respective
godoc comments in package inet.af/ne...
The new M1 cpu (Apple) comes with sha512 hardware
acceleration feature.
Change-Id: I823d1e9b09b...
github.com/hack-pad/go - 228f891c905af8c01743085a74b2189f58eecba1 authored about 2 years ago by Meng Zhuo <[email protected]>https://docs.microsoft.com/en-us/windows/win32/debug/pe-format
Fixes #54251
Change-Id: I024130...
github.com/hack-pad/go - 4884599a541a8134ce1f83135523b74e3a19900e authored about 2 years ago by Meng Zhuo <[email protected]>
Some compilers default to having -fstack-protector on, which breaks
when using internal linking ...
Doing the test at link time lets us distribute one Linux toolchain
that works on both glibc-base...
Arrange for tests that call setMimeInit to fully restore the old values,
by clearing the sync.On...
Split should only split strings and not perform mangling
of invalid UTF-8 into ut8.RuneError.
Th...
...to avoid conflicts with the predeclared close function.
Change-Id: If6a19a004c390f4e0795ec20...
github.com/hack-pad/go - ced4d6fd2d415d43c0f26e01fe332e4afa80114a authored about 2 years ago by Ian Lance Taylor <[email protected]>
Since when that test requires inlining, which is disabled on noopt
builder.
Updates #29951
Cha...
github.com/hack-pad/go - 7e5e4a7cef34727c8de2da218e76da23f826d608 authored about 2 years ago by Cuong Manh Le <[email protected]>
Currently there is a an ANDconst and an ANDCCconst op in PPC64,
which is confusing since they ma...
64-bit PE is set by the optional header magic number,
not by the machine field.
Fixes #54250
C...
github.com/hack-pad/go - d6ccb4ead9c995ee2bff10079118bf91d1b646e9 authored about 2 years ago by Ian Lance Taylor <[email protected]>Updates #53888
Change-Id: I34ef2c5bd23816e1991cfec2bef4cae72676b523
Reviewed-on: https://go-rev...
Duff's device was disabled on darwin/arm64 because the darwin
linker couldn't handle a branch re...
When types2 type checks a method expression or method value that
selects a type parameter method...
Mark the assembly routines as not escaping their arguments.
Add a special case to NewInt that, ...
github.com/hack-pad/go - d42b520b037311b406da9fcb564f3ef5f91470d7 authored about 2 years ago by Keith Randall <[email protected]>We don't need a multiply when the element type is size 0 or 1.
The panic functions don't return...
github.com/hack-pad/go - c2a9c55823b1ed14f84d8ce8880dbda3f5b01eb0 authored about 2 years ago by Keith Randall <[email protected]>
Calling TypeOf to initialize variables forces any import of "reflect"
to link in the declared ty...
Base on gri@'s suggestion in CL 308971. "Rnd" is a bit random.
Change-Id: I4aad8b7992b31dfd26d2...
github.com/hack-pad/go - 84be09104883b6cf5d53e32f85834d5e71e954fa authored about 2 years ago by Cuong Manh Le <[email protected]>Fixes #54139
Change-Id: Ifc73bd7f181b13970ee6a08968f9d8f6e55d7ff3
GitHub-Last-Rev: 1e0a79bd3eb3...
These are available since Go 1.7. The version used for bootstrap is Go
1.17 for Go 1.20.
For #4...
github.com/hack-pad/go - 0a86cd6857b9fb12a798b3dbcfb6974384aa07d6 authored about 2 years ago by Tobias Klauser <[email protected]>
There's no need for a and b to match types. The typechecker already
ensured that a and b are bot...
Read the bitmaps one uintptr at a time instead of one byte at a time.
Performance so far:
Allo...
Use just 1 bit per word to record the ptr/nonptr bitmap.
Use word-sized operations to manipulate...
Fixes #54120
Change-Id: I6915b6e8d459d9becfdef4fdcba95ee4dea6af05
GitHub-Last-Rev: 03f19942c7a6...
Fixes #54092
Change-Id: Ib917922ed36ee5410e5515f812737203c44f46ae
GitHub-Last-Rev: dfd0c3883cf8...
Fixes #54307
Change-Id: Idcbdb3b1cf7c7fd147cc079659f29a9b5d17e6e0
Reviewed-on: https://go-revie...
Since when any user errors about out-of-bounds constants should have
been already reported by ty...
This reverts commit 964f0c7a306998256f1c5a5fd78fc457a972f001.
Reason: cause increasing timeout ...
github.com/hack-pad/go - 487b3501a54e5479972a7982fe1eb154f0447b58 authored about 2 years ago by Cuong Manh Le <[email protected]>
Use the newly added atomic.Pointer[T] type for atomically
loading and storing type *T pointers. ...
Change-Id: If8fcb37f4a8fcc0668af0df12f1cb8c66f2d2eea
Reviewed-on: https://go-review.googlesource...
Fixes #53198
Change-Id: I0c35fb278543bd487d19ae15c8175e88c45e2c1e
GitHub-Last-Rev: a3e29d2332ad...
OpenBSD 7.1 onwards expose the aarch64 ISAR0 and ISAR1 registers via sysctl:
$ sysctl machdep...
github.com/hack-pad/go - cd54ef1f61945459486e9eea2f016d99ef1da925 authored about 2 years ago by Joel Sing <[email protected]>
Implement proposal #45454, providing build tags based on the
sub-architecture information in the...
Assumingly this appears to have been a bug in c2go, as this appeared in
https://go.dev/cl/172260...
In gcController.startCycle we just compute the initial value in a
local variable before assignin...
For #53821.
Change-Id: I2f2b462908096dacb97fba9973798036ea1d9b68
Reviewed-on: https://go-review...
For #53821.
Change-Id: Ic54bda422b87ee9365090fe6b42b82df7b25d2a1
Reviewed-on: https://go-review...
Same as CL 417555, but for cmd/compile.
Fixes #54220
Change-Id: I4cc6deaf0a87c952f636888b4ab73...
github.com/hack-pad/go - 3ea3d0e8a7f4e2bfa96535aafb6bd802d2907808 authored about 2 years ago by Cuong Manh Le <[email protected]>For #53821.
Change-Id: I772b58b21392855af95ee5b932cdd7a0b507e4e5
Reviewed-on: https://go-review...
For #53821.
Change-Id: I9ccce3eb0adf4300095743c24a411213428306b4
Reviewed-on: https://go-review...
For #53821.
Change-Id: I92bd33e355c868ae229395fd9c98fdb10768d03d
Reviewed-on: https://go-review...
For #53821.
Change-Id: I1bd23cdbc371011ec2331fb0a37482ecf99a063b
Reviewed-on: https://go-review...
For #53821.
Change-Id: I6a7dcc9b72683e977a2b8d90e521a53a8a508558
Reviewed-on: https://go-review...
For #53821.
Change-Id: I64d3f53c89a579d93056906304e4c05fc35cd9b3
Reviewed-on: https://go-review...
Atomic operations are used even during STW for consistency.
For #53821.
Change-Id: Ibe7afe5cf8...
github.com/hack-pad/go - 3a9281ff6181031adcc1d3991a1b1413db046430 authored about 2 years ago by Michael Pratt <[email protected]>
Change-Id: Ide465c4276424f2c437691d440dd100c4db2f091
Reviewed-on: https://go-review.googlesource...
So it is not necessary to use a mutex, speedup the code a bit:
name ...
github.com/hack-pad/go - 964f0c7a306998256f1c5a5fd78fc457a972f001 authored about 2 years ago by Cuong Manh Le <[email protected]>Current init() implementation in `encoding/gob/decode.go` checks int/uint/uintptr bit size with ...
github.com/hack-pad/go - 0f6ee42fe063a48d7825bc03097bbb714aafdb7d authored about 2 years ago by Tomasz Jezierski <[email protected]>
The RType field isn't needed when performing type assertions from
non-empty interface types, bec...
Sometimes when implementing a Formatter it's helpful to use the fmt
package without invoking the...
CL 421334 updated most of golang.org/x dependencies at the start of
the Go 1.20 development cycl...
Also don't run on all the other tiny slow boxes we have.
Should fix the remaining ppc64le broken...