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
This is one step towards optimizing WriteMsgUDPAddrPort.
Further steps remain, namely to avoid t...
Instead of implementing ReadMsgUDPAddrPort in terms of ReadMsgUDP,
do it the other way around. T...
The main item of interest here is the allocs.
BenchmarkReadWriteMsgUDPAddrPort-8 195920 ...
github.com/hack-pad/go - b0472aa990dfa9fb4ffe49b5af6f3d744d81ba6e authored over 3 years ago
Change-Id: I63aac663da4ce7bdd198d385f87929c74f6a5cf8
Reviewed-on: https://go-review.googlesource...
golang.org/x/sys contains similar code and also needs updating.
Change-Id: Id00177397639075d479...
github.com/hack-pad/go - 926856542fd01ae2f8c05466338a139f2fdfee85 authored over 3 years ago
In case of reference to method call of an imported fully-instantiated
type, nameNode.Func will b...
Co-authored-by: Alex Willmer <[email protected]> (GitHub @moreati)
Co-authored-by: Alexander Y...
Previously, when resolving references of form
(https://golang.org/?hello).ResolveReference(?)
...
When type inference cannot infer type arguments it prints the list of
inferred type arguments (o...
This benchmark simulates object starvation in order to force Ps to steal
objects from other Ps. ...
Fixes #49234.
Change-Id: I64c1eab0dce2bbe990343b43a32858a6c9f3dcda
Reviewed-on: https://go-revi...
If a identical input is already present in the corpus, don't re-add it.
This may happen when the...
Fixes #49213
Change-Id: I2bfc151b74b0d14efbd00e5d28584f4180126c5d
Reviewed-on: https://go-revie...
This is a port of CL 359656 from go/types to types2.
For #49213.
Change-Id: Ib98f9a344c1397af9...
github.com/hack-pad/go - 0ae4c7ff4a6d24ab33a0deebba74609159291b8c authored over 3 years ago
This is a port of CL 357814 from go/types to types2 with minor
adjustments due to small differen...
When checking assignability, a value of a named type (incl. a type parameter)
can never be assig...
Add a comment how strings of length 0 are treated and
that they always will result in the return...
Updated multiple tests in test/codegen/arithmetic.go to verify
on ppc64/ppc64le as well
Change-...
github.com/hack-pad/go - 4056934e483c51fa046f9c2d1ee35f0385b84d91 authored over 3 years ago
This code is only generated when linking cgo internally with fixed
position code. This feature o...
This is heavily based on CL 341336 by Joe Tsai and CL 351452 by
Jay Conrod.
T.Run and T.Name us...
github.com/hack-pad/go - fde4cc2a3189e2c964a0ce49de3cbe79ebedf985 authored over 3 years ago
Use a pointer reciever to avoid copying the hiter struct when
checking if it is intialized.
Fou...
github.com/hack-pad/go - 89c527007f75884a78ffede5d493ec021e7dfcdc authored over 3 years ago
Change-Id: Ib6415bb09af02e9ebc0099f50bf0fd7b572f2516
GitHub-Last-Rev: ebaa849d66efa45bd8ca50a830...
Change-Id: Icafb2d9fd11b23d3acaf9df07e7f90d8bcd829fa
GitHub-Last-Rev: 2b766460554860510f3fec03a4...
Simplify the parsing of array or slice constraint types added in CL
359134, following the port i...
The intention is for BenchmarkFooBar functions to map 1:1 to drawFooBar
functions. Recent draw.g...
This is a port of the idea used in CL 359134 from go/parser to syntax,
with adjustments due to t...
There are multiple things preventing the -memprofilerate flag from
working right now:
- CmdFlag...
github.com/hack-pad/go - 6113dacf32db7a996bc53fa7ca0db314cd3e7378 authored over 3 years ago
Currently, the compiler will emit any const that doesn't fit in an
int64 to go_asm.h like
#...
github.com/hack-pad/go - f582778ee991e8a443e691f9a45c8f0600a748a0 authored over 3 years ago
This abstracts the clunky and not constant time math/big elliptic.Curve
compatibility layer away...
name old time/op new time/op delta
pkg:crypto/elliptic goos:darwin goar...
Complete formulas don't have exceptions for P = Q or P = 0, which makes
them significantly simpl...
Use types2.Structure() to get single underlying type of typeparams, to
handle some unusual cases...
Fix two defer bugs related to adding/removing open defer entries.
The bugs relate to the way tha...
This is a clean port of CL 357915 to go/types.
Change-Id: Idf5850a8bdcf3596c561c97bcd6053994513...
github.com/hack-pad/go - c812b97ec67ae2d674b5bb4e2fd29c7ab7fa08dc authored over 3 years ago
This is a port of CL 357779 to go/types. A test error message was
repositioned on the sliced ope...
This is a port of CL 357778 to go/types, adjusted to include error codes
and to use the differen...
This is a straightforward port of CL 357776 to go/types.
Change-Id: I64220840a01f57cd7955f7d956...
github.com/hack-pad/go - 3571ab58b8069fd945427ba49c4d8a702325bdb0 authored over 3 years ago
Improved readability, replaced constant time bit masked operations with
named functions, added c...
This change creates a formal exported interface for the GC pacer and
creates tests for it that s...
If register ABI is used, no need to store the arguments to stack.
I forgot them in CL 323937.
C...
github.com/hack-pad/go - 5ec139fa78ac6ba3f0f715b6aa9235d36346a4a4 authored over 3 years ago
Fixes #28386
Updates #48495
Change-Id: I76186077c7bbe3f8f608026ee1865de83fe169b4
Reviewed-on: h...
This fixes a rare test flake observed in
https://build.golang.org/log/18e531785e7f8b3e6a6d523178...
This is to facilitate testing of the pacer, since otherwise this is
accessing global state, whic...
For #44167.
Change-Id: I2cd13229d88f630451fabd113b0e5a04841e9e79
Reviewed-on: https://go-review...
This change adds two fields to gcControllerState: stackScan, used for
pacing decisions, and scan...
This change moves heapLive and heapScan updates on gcController into a
method for better testabi...
Currently GC pacer updates are applied somewhat haphazardly via direct
field access. To facilita...
CL 333389 erroneously moved traceGCSweepDone inside the sl.valid block
that it introduced in mce...
The sweeper's pacing state is global, so detangle it from the GC pacer's
state updates so that t...
This change provides ability to create dumps on Windows that can be used by
"dlv core" command. ...
Currently, the runtime zeroes allocations in several ways. First, small
object spans are always ...
This reverts CL 359096.
Updates #47788.
Reason for revert: -buildmode=shared may have actually...
github.com/hack-pad/go - a88575d662a7e8e4fbb31bf139bcffc063e2a734 authored over 3 years agoUse of these functions is almost (but not) always a bad idea.
Very rarely they are necessary, a...
github.com/hack-pad/go - 645d07819b2224ba4d759829443f7c6442162c69 authored over 3 years ago
Currently, there is a chance that the sweep termination condition could
flap, causing e.g. runti...
Proposal #37641 reserved the paths "example" and "test" for end users,
so no path beginning with...
RuneReader is fine with UTF16 or any other character encoding
Fixes #49178
Change-Id: I08a5ac2...
github.com/hack-pad/go - 2c7cdec2a762108ae9231b7861c3689f4d23b58c authored over 3 years agoto avoid a crash on a nil pointer as an embedded field.
Fixes #48215
Change-Id: I214faa6e3cf08...
github.com/hack-pad/go - d3d8852d8997a6429cbd498138908e537869a6ef authored over 3 years ago
This new function, although different in signature from other
reflect functions, allows the call...
Update many generators, also handle files that were not part of the
standard build during 'go fi...
The test currently uses only SIGKILL (which cannot be trapped by the
worker process) and SIGILL ...
Normally, when fuzzing identifies a failure it saves the failing input
to the package's testdata...
We had been repeating conditions for specific platforms and
architectures to gate fuzzing tests,...
The upstream cmd/bundle tool does not yet omit it,
and the longtest builders test that the gener...
There have a few updates to the Go object file in this cycle (e.g.
FuncInfo format change, some ...
This makes the latest Go 1.18 cmd/dist happier.
Change-Id: If1894ce4f60a0b604a2bd889974ddb16c40...
github.com/hack-pad/go - 69d5e469a4f457d3a7d8ca7a97478c2eca0ba35c authored over 3 years ago
When these packages are released as part of Go 1.18,
Go 1.16 will no longer be supported, so we ...
cmd/go has its own //go:build evaluator, which is needed for
patterns like 'all'. The code is a ...
Each gentraceback call uses a different set of flags. Combine these into
a common variable, only...
The net/http package has a documented contract that if DialContext, DialDLSContext, Dial or Dial...
github.com/hack-pad/go - 266626211e40d1f2c3a34fa4cd2023f5310cbd7d authored over 3 years ago
Now that Go 1.17 is out and Go 1.15 is unsupported,
removing // +build lines can be done safely:...
This was added in CL 339990.
Change-Id: I4b0f97bf1a3926e37a42f77e149dcab3b7b75a63
Reviewed-on: ...
CL 339990 made this test more strict, exposing pre-existing issues on
these OSes. Skip for now u...
This is a port of CL 357413 to go/types. Some test constraints are also
updated to remove 'inter...
Fail out when loading a file that contains a dynamic symbol table
command that indicates a large...
This is a port of 4 CLs from types2: CL 356010, CL 357333, CL 357410,
and CL 357249. These 4 CLs...
This is a port of CL 355871 to go/types.
Change-Id: I2dbc3c625c16b545a271a19606ef34ce04a4a6df
R...
This is a rough port of CL 354131 to go/* libraries, though in practice
I just tried to reconcil...
Now that we allow eliding 'interface' from constraint types, we need to
be a bit more careful ab...
CL 352057 added track argument stack slot liveness, and updated
TestTracebackArgs for argument l...
Updates #14768
Change-Id: I33831f616eae5eeb099033e2b9cf90fa70d6ca86
Reviewed-on: https://go-rev...
Fixes #48665
Change-Id: Id838f7508f6e93c4546a2aeefc2db194e647db77
Reviewed-on: https://go-revie...
Look for //go:build ignore, not // +build ignore, in deps_test.go.
For #41184.
Change-Id: Iba8...
github.com/hack-pad/go - b8f928b05264cbd75a0d0dbd02d979847ac237f9 authored over 3 years ago
The bootstrap directories are built with the Go 1.4 go command,
and they will retain the // +bui...
Fixes #49187
Change-Id: I4d8c87af8a709f1b909dd4fae3734d422eb36900
Reviewed-on: https://go-revie...
Change-Id: Id723ecc2480aea2d8acb4d3e05db4a6c8eef9cc8
Reviewed-on: https://go-review.googlesource...
For #48538.
Change-Id: I258b0c8af5801692ad238e47397dde0b4e3c44c1
Reviewed-on: https://go-review...
We may revisit this decision in a future release. By disallowing this
for Go 1.18 we are ensurin...
Now that we permit arbitrary types as constraints, we no longer need them.
For #48424
Change-I...
github.com/hack-pad/go - 79ff663754f4238bd1fe2e56f460c2f603c71b80 authored over 3 years ago
Change-Id: I032791a3cda1916099b0fd2955dcca4e69763660
Reviewed-on: https://go-review.googlesource...
For #37475
Change-Id: I728b7aeee5c38ec337e9a5b073050c3b0afc720d
Reviewed-on: https://go-review....
Fixes #49110
Change-Id: I32c2cb26cca067a4a676ce4bbc3e51f1e0cdb259
Reviewed-on: https://go-revie...
For #37475
Change-Id: I09fa1344051088ce37727176d9ec6b38891d1a9f
Reviewed-on: https://go-review....
Use ".fslckout" or "_FOSSIL_" files to correctly identify the root of
Fossil checkout directorie...
A cgo file with "//export" declarations is not permitted to have function
definitions in the cgo...
Currently, for stack traces (e.g. at panic or when runtime.Stack
is called), we print argument v...
Rename structuralType to singleType throughout. This reflects
more closely what the function doe...
The position computation was needed for type list support.
With that gone, we don't need this co...
isNamed(t) is easily confused with asNamed(t) != nil (e.g., we
have isPointer(t) that is defined...
This CL renames the toT converters back to their asT names.
Change-Id: If4bda5a78525f9722f044f5...
github.com/hack-pad/go - a155a307fbeda88fd44c5399d4fb7ea9e34db545 authored over 3 years ago
This CL changes the convenience converters asT to use under instead
of optype. To make sure the ...