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

net: optimize WriteMsgUDPAddrPort

This is one step towards optimizing WriteMsgUDPAddrPort.
Further steps remain, namely to avoid t...

github.com/hack-pad/go - 6f1e9a9c21aec8531db40dbf61ad10fe77d7bee5 authored almost 3 years ago by Josh Bleecher Snyder <[email protected]>
net: optimize ReadMsgUDPAddrPort

Instead of implementing ReadMsgUDPAddrPort in terms of ReadMsgUDP,
do it the other way around. T...

github.com/hack-pad/go - 3c61cb3dcd888fdef1c7456be144a1c4a44272a7 authored almost 3 years ago by Josh Bleecher Snyder <[email protected]>
net: add BenchmarkReadWriteMsgUDPAddrPort

The main item of interest here is the allocs.

BenchmarkReadWriteMsgUDPAddrPort-8 195920 ...

github.com/hack-pad/go - b0472aa990dfa9fb4ffe49b5af6f3d744d81ba6e authored almost 3 years ago by Josh Bleecher Snyder <[email protected]>
encoding: simplify some code

Change-Id: I63aac663da4ce7bdd198d385f87929c74f6a5cf8
Reviewed-on: https://go-review.googlesource...

github.com/hack-pad/go - 65f34786336201d99291e45d1631339b20c09e06 authored almost 3 years ago by Josh Bleecher Snyder <[email protected]>
syscall,internal/poll: copy arrays by assignment instead of looping

golang.org/x/sys contains similar code and also needs updating.

Change-Id: Id00177397639075d479...

github.com/hack-pad/go - 926856542fd01ae2f8c05466338a139f2fdfee85 authored almost 3 years ago by Josh Bleecher Snyder <[email protected]>
cmd/compile: fix panic when refer to method of imported instantiated type

In case of reference to method call of an imported fully-instantiated
type, nameNode.Func will b...

github.com/hack-pad/go - a45457df82263c292e2c66c152a12b5df0f27f15 authored almost 3 years ago by Cuong Manh Le <[email protected]>
net/netip: add new IP address package

Co-authored-by: Alex Willmer <[email protected]> (GitHub @moreati)
Co-authored-by: Alexander Y...

github.com/hack-pad/go - a59e33224e42d60a97fa720a45e1b74eb6aaa3d0 authored almost 3 years ago by Brad Fitzpatrick <[email protected]>
net/url: consider ForceQuery in ResolveReference

Previously, when resolving references of form
(https://golang.org/?hello).ResolveReference(?)
...

github.com/hack-pad/go - 81fea0b4fd3b134d4c1d121abad171e358037ce3 authored almost 3 years ago by Timothy Gu <[email protected]>
go/types, types2: remove confusing debugging output in inference error message

When type inference cannot infer type arguments it prints the list of
inferred type arguments (o...

github.com/hack-pad/go - 02e5913406b2ac354695471690b79d8d4242ad8d authored almost 3 years ago by Robert Griesemer <[email protected]>
sync: add PoolStarvation benchmark

This benchmark simulates object starvation in order to force Ps to steal
objects from other Ps. ...

github.com/hack-pad/go - 5f1bcd1bc29615b4366f6da8df958bd048ef89a8 authored almost 3 years ago by Ruslan Andreev <[email protected]>
runtime: disable pacer lock held assertions in tests

Fixes #49234.

Change-Id: I64c1eab0dce2bbe990343b43a32858a6c9f3dcda
Reviewed-on: https://go-revi...

github.com/hack-pad/go - b5a5b7bfb1ba25abf8cad8b9ad9451fb6e79d941 authored almost 3 years ago by Michael Anthony Knyszek <[email protected]>
internal/fuzz: don't add duplicate corpus entries

If a identical input is already present in the corpus, don't re-add it.
This may happen when the...

github.com/hack-pad/go - 2bcf1c0373195724161a9dc287e1dbc26404e4fa authored almost 3 years ago by Roland Shoemaker <[email protected]>
go/types: fix TypeName.IsAlias for type parameter names

Fixes #49213

Change-Id: I2bfc151b74b0d14efbd00e5d28584f4180126c5d
Reviewed-on: https://go-revie...

github.com/hack-pad/go - 80bedb848092c993182f79a946d54776dc251549 authored almost 3 years ago by zhouguangyuan <[email protected]>
cmd/compile/internal/types2: fix TypeName.IsAlias for type parameter names

This is a port of CL 359656 from go/types to types2.

For #49213.

Change-Id: Ib98f9a344c1397af9...

github.com/hack-pad/go - 0ae4c7ff4a6d24ab33a0deebba74609159291b8c authored almost 3 years ago by Robert Griesemer <[email protected]>
cmd/compile/internal/types2: remove subscripts from type parameter names

This is a port of CL 357814 from go/types to types2 with minor
adjustments due to small differen...

github.com/hack-pad/go - e2e910ef30f5b54018131cd24b198ced6e8215f8 authored almost 3 years ago by Robert Griesemer <[email protected]>
cmd/compile/internal/types2: differently named types are not assignable

When checking assignability, a value of a named type (incl. a type parameter)
can never be assig...

github.com/hack-pad/go - d2b512160e4fc9dd69947ad9566c2dab1a135694 authored almost 3 years ago by Robert Griesemer <[email protected]>
strings: align Clone output with string([]byte(""))

Add a comment how strings of length 0 are treated and
that they always will result in the return...

github.com/hack-pad/go - 82f902ae8e2b7f7eff0cdb087e47e939cc296a62 authored almost 3 years ago by Martin Möhrmann <[email protected]>
test/codegen: updated arithmetic tests to verify on ppc64,ppc64le

Updated multiple tests in test/codegen/arithmetic.go to verify
on ppc64/ppc64le as well

Change-...

github.com/hack-pad/go - 4056934e483c51fa046f9c2d1ee35f0385b84d91 authored almost 3 years ago by Archana R <[email protected]>
cmd/link: make ppc64le __glink_PLTresolve position-independent

This code is only generated when linking cgo internally with fixed
position code. This feature o...

github.com/hack-pad/go - 732db407d30e9bd49d0907fd820207e6d646df9c authored almost 3 years ago by Paul E. Murphy <[email protected]>
testing: reduce memory used by subtest names

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 almost 3 years ago by Bryan C. Mills <[email protected]>
reflect: avoid stack copies of hiter

Use a pointer reciever to avoid copying the hiter struct when
checking if it is intialized.

Fou...

github.com/hack-pad/go - 89c527007f75884a78ffede5d493ec021e7dfcdc authored almost 3 years ago by Martin Möhrmann <[email protected]>
testing: remove redundant type conversion

Change-Id: Ib6415bb09af02e9ebc0099f50bf0fd7b572f2516
GitHub-Last-Rev: ebaa849d66efa45bd8ca50a830...

github.com/hack-pad/go - fd09e88722e0af150bf8960e95e8da500ad91001 authored almost 3 years ago by Alexander Melentyev <[email protected]>
bytes: remove redundant type conversion

Change-Id: Icafb2d9fd11b23d3acaf9df07e7f90d8bcd829fa
GitHub-Last-Rev: 2b766460554860510f3fec03a4...

github.com/hack-pad/go - 3fa9ee49a077a0bcb7419110da02ca54a019f2cc authored almost 3 years ago by Alexander Melentyev <[email protected]>
go/parser: simplify parsing of array or slice constraint types

Simplify the parsing of array or slice constraint types added in CL
359134, following the port i...

github.com/hack-pad/go - 243c5ae019bab96caf55dd443a0ecd128f079d9c authored almost 3 years ago by Robert Findley <[email protected]>
image/draw: rename and reorder some benchmarks

The intention is for BenchmarkFooBar functions to map 1:1 to drawFooBar
functions. Recent draw.g...

github.com/hack-pad/go - 8e3d5f0bb324eebb92cc93264a63afa7ded9ab9a authored almost 3 years ago by Nigel Tao <[email protected]>
cmd/compile/internal/syntax: fix parsing of array or slice constraint types

This is a port of the idea used in CL 359134 from go/parser to syntax,
with adjustments due to t...

github.com/hack-pad/go - 0bef30d28ac0b9654e5daef0fef731d7a9495214 authored almost 3 years ago by Robert Griesemer <[email protected]>
cmd/compile: make -memprofilerate work

There are multiple things preventing the -memprofilerate flag from
working right now:

- CmdFlag...

github.com/hack-pad/go - 6113dacf32db7a996bc53fa7ca0db314cd3e7378 authored almost 3 years ago by Austin Clements <[email protected]>
cmd/compile: emit sensible go_asm.h consts for big ints

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 almost 3 years ago by Austin Clements <[email protected]>
crypto/elliptic: move P-521 group logic to internal/nistec

This abstracts the clunky and not constant time math/big elliptic.Curve
compatibility layer away...

github.com/hack-pad/go - 30b5d6385e91ab557978c0024a9eb90e656623b7 authored almost 3 years ago by Filippo Valsorda <[email protected]>
crypto/elliptic: use a 4-bit sliding window for P-521 ScalarMult

name old time/op new time/op delta
pkg:crypto/elliptic goos:darwin goar...

github.com/hack-pad/go - d1dceafc290865989be713cd6e235670169b73b3 authored almost 3 years ago by Filippo Valsorda <[email protected]>
crypto/elliptic: use complete addition formulas for P-521

Complete formulas don't have exceptions for P = Q or P = 0, which makes
them significantly simpl...

github.com/hack-pad/go - e39b854a6797a7159602f0d6b351ef35ebfa01d0 authored almost 3 years ago by Filippo Valsorda <[email protected]>
cmd/compile: use Structure() to get single underlying type of typeparam.

Use types2.Structure() to get single underlying type of typeparams, to
handle some unusual cases...

github.com/hack-pad/go - 5d6d9f5610066584374c2dfe7624fa9f251089a0 authored almost 3 years ago by Dan Scales <[email protected]>
runtime: do not add open defer entry above a started open defer entry

Fix two defer bugs related to adding/removing open defer entries.
The bugs relate to the way tha...

github.com/hack-pad/go - 8dfb4472318e151656f77623e8cabdca290c22fb authored almost 3 years ago by Dan Scales <[email protected]>
go/types: comp literals to accept type sets with single underlying types

This is a clean port of CL 357915 to go/types.

Change-Id: Idf5850a8bdcf3596c561c97bcd6053994513...

github.com/hack-pad/go - c812b97ec67ae2d674b5bb4e2fd29c7ab7fa08dc authored almost 3 years ago by Robert Findley <[email protected]>
go/types: slice exprs to accept type sets with single underlying types

This is a port of CL 357779 to go/types. A test error message was
repositioned on the sliced ope...

github.com/hack-pad/go - 71e6ab8f958bf346f9e0b46c4a35310615360215 authored almost 3 years ago by Robert Findley <[email protected]>
go/types: range clause to accept type sets with single underlying types

This is a port of CL 357778 to go/types, adjusted to include error codes
and to use the differen...

github.com/hack-pad/go - 02bd226b8abb713061fcef4e53ffebc57770466b authored almost 3 years ago by Robert Findley <[email protected]>
go/types: make built-in to accept type sets with single underlying types

This is a straightforward port of CL 357776 to go/types.

Change-Id: I64220840a01f57cd7955f7d956...

github.com/hack-pad/go - 3571ab58b8069fd945427ba49c4d8a702325bdb0 authored almost 3 years ago by Robert Findley <[email protected]>
crypto/elliptic: refactor P-224 field implementation

Improved readability, replaced constant time bit masked operations with
named functions, added c...

github.com/hack-pad/go - c76893d0da115a63374982196384f78fff224d55 authored almost 3 years ago by Filippo Valsorda <[email protected]>
runtime: add testing framework and basic tests for GC pacer

This change creates a formal exported interface for the GC pacer and
creates tests for it that s...

github.com/hack-pad/go - 994049a9ad3d4230d0835ce36616a34a466f6718 authored almost 3 years ago by Michael Knyszek <[email protected]>
runtime: remove unnecessary argument stores for panicIndex etc. on ARM64

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 almost 3 years ago by Cherry Mui <[email protected]>
cmd/go: document that tests must not write to their source modules

Fixes #28386
Updates #48495

Change-Id: I76186077c7bbe3f8f608026ee1865de83fe169b4
Reviewed-on: h...

github.com/hack-pad/go - 459293388ceb74d9cf61c930f02325645cd0cb7d authored almost 3 years ago by Bryan C. Mills <[email protected]>
cmd/go: make assertions more precise in TestScript/gcflags_patterns

This fixes a rare test flake observed in
https://build.golang.org/log/18e531785e7f8b3e6a6d523178...

github.com/hack-pad/go - 6afdf01e5385183bea4ba2661bb4088b32626b3d authored almost 3 years ago by Bryan C. Mills <[email protected]>
runtime: pass nanotime and gomaxprocs into startCycle and endCycle explicitly

This is to facilitate testing of the pacer, since otherwise this is
accessing global state, whic...

github.com/hack-pad/go - 5ec2427357f4917d0aad40cffddeea73e580129e authored almost 3 years ago by Michael Knyszek <[email protected]>
runtime: track scannable globals space

For #44167.

Change-Id: I2cd13229d88f630451fabd113b0e5a04841e9e79
Reviewed-on: https://go-review...

github.com/hack-pad/go - 9da64156a62e4661fb5b0e64a2f196f253ce0dc5 authored almost 3 years ago by Michael Anthony Knyszek <[email protected]>
runtime: track the amount of scannable allocated stack for the GC pacer

This change adds two fields to gcControllerState: stackScan, used for
pacing decisions, and scan...

github.com/hack-pad/go - 9ac1ee2d464eff73077afda83677f155bd69c6b8 authored almost 3 years ago by Michael Anthony Knyszek <[email protected]>
runtime: move heapLive and heapScan updates into a method

This change moves heapLive and heapScan updates on gcController into a
method for better testabi...

github.com/hack-pad/go - 8e112a7c2a814de9156f68dc8b167e4ef8c98c52 authored almost 3 years ago by Michael Anthony Knyszek <[email protected]>
runtime: move pacer time updates and state resets into methods

Currently GC pacer updates are applied somewhat haphazardly via direct
field access. To facilita...

github.com/hack-pad/go - 4a5d78ff8b7e777d70b18a61698b1ac07bbd623d authored almost 3 years ago by Michael Anthony Knyszek <[email protected]>
runtime: fix unclosed GCSweepStart trace event

CL 333389 erroneously moved traceGCSweepDone inside the sl.valid block
that it introduced in mce...

github.com/hack-pad/go - 903f313d8b6e85c031fc5918273ff4800fa9f952 authored almost 3 years ago by Michael Anthony Knyszek <[email protected]>
runtime: detangle sweeper pacing from GC pacing

The sweeper's pacing state is global, so detangle it from the GC pacer's
state updates so that t...

github.com/hack-pad/go - 413672fc84e0ced7531cdc7cf0e5db32061e8194 authored almost 3 years ago by Michael Anthony Knyszek <[email protected]>
runtime: enable crash dump creation on Windows

This change provides ability to create dumps on Windows that can be used by
"dlv core" command. ...

github.com/hack-pad/go - 353d5b6c536c7028eba058ba27014fae0206298a authored almost 3 years ago by Zhi Zheng <[email protected]>
runtime: clean up allocation zeroing

Currently, the runtime zeroes allocations in several ways. First, small
object spans are always ...

github.com/hack-pad/go - d8fc7f785e84515c0a5beb8baeb3c1ca35bebf68 authored almost 3 years ago by Michael Anthony Knyszek <[email protected]>
Revert "cmd/go: remove support for -buildmode=shared"

This reverts CL 359096.

Updates #47788.

Reason for revert: -buildmode=shared may have actually...

github.com/hack-pad/go - a88575d662a7e8e4fbb31bf139bcffc063e2a734 authored almost 3 years ago by Bryan C. Mills <[email protected]>
sync: add Mutex.TryLock, RWMutex.TryLock, RWMutex.TryRLock

Use of these functions is almost (but not) always a bad idea.

Very rarely they are necessary, a...

github.com/hack-pad/go - 645d07819b2224ba4d759829443f7c6442162c69 authored almost 3 years ago by Russ Cox <[email protected]>
runtime: fix sweep termination condition

Currently, there is a chance that the sweep termination condition could
flap, causing e.g. runti...

github.com/hack-pad/go - 3aecb3a8f7e1435c76003a20068c0208fd73649a authored almost 3 years ago by Michael Anthony Knyszek <[email protected]>
cmd/go: test that the reserved paths "example" and "test" are not used

Proposal #37641 reserved the paths "example" and "test" for end users,
so no path beginning with...

github.com/hack-pad/go - f2885263748364a2a7f4e0d47abd5095699cd39f authored almost 3 years ago by Bryan C. Mills <[email protected]>
io: remove UTF8 specified document for RuneReader

RuneReader is fine with UTF16 or any other character encoding

Fixes #49178

Change-Id: I08a5ac2...

github.com/hack-pad/go - 2c7cdec2a762108ae9231b7861c3689f4d23b58c authored almost 3 years ago by Meng Zhuo <[email protected]>
text/template: use reflect.Value.FieldByIndexErr

to avoid a crash on a nil pointer as an embedded field.

Fixes #48215

Change-Id: I214faa6e3cf08...

github.com/hack-pad/go - d3d8852d8997a6429cbd498138908e537869a6ef authored almost 3 years ago by Rob Pike <[email protected]>
reflect: add FieldByIndexErr

This new function, although different in signature from other
reflect functions, allows the call...

github.com/hack-pad/go - 33c392f72d16163eb0795b3d61b2196ac21e1799 authored almost 3 years ago by Rob Pike <[email protected]>
all: manual fixups for //go:build vs // +build

Update many generators, also handle files that were not part of the
standard build during 'go fi...

github.com/hack-pad/go - af05d8be3d9dd566b2ce3ff5344258314f128ff6 authored almost 3 years ago by Russ Cox <[email protected]>
cmd/go: test with SIGTERM in test_fuzz_non_crash_signal

The test currently uses only SIGKILL (which cannot be trapped by the
worker process) and SIGILL ...

github.com/hack-pad/go - d0751b1ad8d7a68586dc7567cee44e0ce323f26f authored almost 3 years ago by Bryan C. Mills <[email protected]>
cmd/go: disallow the -fuzz flag for tests outside the main module

Normally, when fuzzing identifies a failure it saves the failing input
to the package's testdata...

github.com/hack-pad/go - b9540246ba591e0ec5cd7cc1d6d62ab911ff9328 authored almost 3 years ago by Bryan C. Mills <[email protected]>
cmd/go: consolidate fuzz-support checks

We had been repeating conditions for specific platforms and
architectures to gate fuzzing tests,...

github.com/hack-pad/go - e741e2fe0e51840b16bfc84d8daaba7670e7aac9 authored almost 3 years ago by Bryan C. Mills <[email protected]>
net/http: restore generated // +build comment

The upstream cmd/bundle tool does not yet omit it,
and the longtest builders test that the gener...

github.com/hack-pad/go - 834e36ec778c11b068a2d5354343d4668e5a9ceb authored almost 3 years ago by Bryan C. Mills <[email protected]>
cmd/internal/goobj: bump version number

There have a few updates to the Go object file in this cycle (e.g.
FuncInfo format change, some ...

github.com/hack-pad/go - 5e217284dc9f3b55e8c8b225dc81c1eb1004d423 authored almost 3 years ago by Cherry Mui <[email protected]>
[dev.boringcrypto] all: convert +build to //go:build lines in boring-specific files

This makes the latest Go 1.18 cmd/dist happier.

Change-Id: If1894ce4f60a0b604a2bd889974ddb16c40...

github.com/hack-pad/go - 69d5e469a4f457d3a7d8ca7a97478c2eca0ba35c authored almost 3 years ago by Russ Cox <[email protected]>
all: go fix -fix=buildtag std cmd (except for bootstrap deps, vendor)

When these packages are released as part of Go 1.18,
Go 1.16 will no longer be supported, so we ...

github.com/hack-pad/go - f229e7031a6efb2f23241b5da000c3b3203081d6 authored almost 3 years ago by Russ Cox <[email protected]>
cmd/go: update for //go:build lines

cmd/go has its own //go:build evaluator, which is needed for
patterns like 'all'. The code is a ...

github.com/hack-pad/go - ed475fe53ba41c0c15b11565f8b9d00165345bc2 authored almost 3 years ago by Russ Cox <[email protected]>
runtime: normalize sigprof traceback flags

Each gentraceback call uses a different set of flags. Combine these into
a common variable, only...

github.com/hack-pad/go - 2bc8ed8e9c5d8ae303b42bbd8c65f2c5dc38352a authored almost 3 years ago by Michael Pratt <[email protected]>
net/http: guarantee that the Transport dial functions are respected in js/wasm

The net/http package has a documented contract that if DialContext, DialDLSContext, Dial or Dial...

github.com/hack-pad/go - 266626211e40d1f2c3a34fa4cd2023f5310cbd7d authored almost 3 years ago by Neil Alexander <[email protected]>
cmd/fix: add buildtag fix

Now that Go 1.17 is out and Go 1.15 is unsupported,
removing // +build lines can be done safely:...

github.com/hack-pad/go - 31249688487ca3a60f856ad082d4e84c4d5f79fb authored almost 3 years ago by Russ Cox <[email protected]>
runtime: fix backward error message

This was added in CL 339990.

Change-Id: I4b0f97bf1a3926e37a42f77e149dcab3b7b75a63
Reviewed-on: ...

github.com/hack-pad/go - 6bd0e7fa8a2cb5c8de9d4566c900233715d8cf0e authored almost 3 years ago by Michael Pratt <[email protected]>
runtime: disable TestSegv panic check on darwin, illumos, solaris

CL 339990 made this test more strict, exposing pre-existing issues on
these OSes. Skip for now u...

github.com/hack-pad/go - 5fce1d96137e1079c393c94febfac49d1e2979b0 authored almost 3 years ago by Michael Pratt <[email protected]>
go/types: factor out slice elem computation for copy built-in

This is a port of CL 357413 to go/types. Some test constraints are also
updated to remove 'inter...

github.com/hack-pad/go - 6f0185bf38a679f468b6a4209f15188a11662eb5 authored almost 3 years ago by Robert Findley <[email protected]>
debug/macho: fail on invalid dynamic symbol table command

Fail out when loading a file that contains a dynamic symbol table
command that indicates a large...

github.com/hack-pad/go - 61536ec03063b4951163bd09609c86d82631fa27 authored almost 3 years ago by Roland Shoemaker <[email protected]>
go/types: implement generic conversions

This is a port of 4 CLs from types2: CL 356010, CL 357333, CL 357410,
and CL 357249. These 4 CLs...

github.com/hack-pad/go - 278b9b3a4c7c01929133737e960335afa18eeec3 authored almost 3 years ago by Robert Findley <[email protected]>
go/types: add debugging support for delayed actions

This is a port of CL 355871 to go/types.

Change-Id: I2dbc3c625c16b545a271a19606ef34ce04a4a6df
R...

github.com/hack-pad/go - 4f1c9aace00277914e080170237ae381e05683c5 authored almost 3 years ago by Robert Findley <[email protected]>
go/types, types2, go/ast, go/parser: remove support for type lists

This is a rough port of CL 354131 to go/* libraries, though in practice
I just tried to reconcil...

github.com/hack-pad/go - 925ea2dfc4911188d47cca5c5534916e39dc1463 authored almost 3 years ago by Robert Findley <[email protected]>
go/parser: fix parsing of array or slice constraint types

Now that we allow eliding 'interface' from constraint types, we need to
be a bit more careful ab...

github.com/hack-pad/go - a5a423e0e809e451b06771eb6a7b95cc9255f9fd authored almost 3 years ago by Robert Findley <[email protected]>
runtime: fix noopt builder

CL 352057 added track argument stack slot liveness, and updated
TestTracebackArgs for argument l...

github.com/hack-pad/go - 5c98bcb7d43e1dcf60d3799afc30f4d56e5e3cc4 authored almost 3 years ago by Cuong Manh Le <[email protected]>
cmd/compile: allow inlining of ORANGE

Updates #14768

Change-Id: I33831f616eae5eeb099033e2b9cf90fa70d6ca86
Reviewed-on: https://go-rev...

github.com/hack-pad/go - a3bb28e5ffee83c30a2c65963ef032cc2ab73a3c authored almost 3 years ago by nimelehin <[email protected]>
reflect: undeprecate Ptr, PtrTo

Fixes #48665

Change-Id: Id838f7508f6e93c4546a2aeefc2db194e647db77
Reviewed-on: https://go-revie...

github.com/hack-pad/go - 2ff1074f5ac48e67ee079dafc9f0e314bc454510 authored almost 3 years ago by Brad Fitzpatrick <[email protected]>
go/build: update for //go:build lines

Look for //go:build ignore, not // +build ignore, in deps_test.go.

For #41184.

Change-Id: Iba8...

github.com/hack-pad/go - b8f928b05264cbd75a0d0dbd02d979847ac237f9 authored almost 3 years ago by Russ Cox <[email protected]>
cmd/dist: implement //go:build parsing

The bootstrap directories are built with the Go 1.4 go command,
and they will retain the // +bui...

github.com/hack-pad/go - 5a3a9d87ed97f197aabcb868f6c0031c888d6122 authored almost 3 years ago by Russ Cox <[email protected]>
reflect: undeprecate Value.{Pointer,UnsafeAddr}

Fixes #49187

Change-Id: I4d8c87af8a709f1b909dd4fae3734d422eb36900
Reviewed-on: https://go-revie...

github.com/hack-pad/go - 056dfe6ff34fd479ec5c86d9b26a03c639b3f3f7 authored almost 3 years ago by Cuong Manh Le <[email protected]>
cmd/compile: resolve the TODO of processPragmas

Change-Id: Id723ecc2480aea2d8acb4d3e05db4a6c8eef9cc8
Reviewed-on: https://go-review.googlesource...

github.com/hack-pad/go - b2fe2ebab6e66a453a0137e37d2c639a613a852b authored almost 3 years ago by Leonard Wang <[email protected]>
cmd/compile/internal/types2: export Structure function

For #48538.

Change-Id: I258b0c8af5801692ad238e47397dde0b4e3c44c1
Reviewed-on: https://go-review...

github.com/hack-pad/go - 12dc48fd54d4bfc0c25e2a96aa7fecfacb9087ca authored almost 3 years ago by Robert Griesemer <[email protected]>
cmd/compile/internal/types2: disallow lone type parameter on RHS of type declaration

We may revisit this decision in a future release. By disallowing this
for Go 1.18 we are ensurin...

github.com/hack-pad/go - a91d0b649c9ee8c64328fb124eff94dfca300d39 authored almost 3 years ago by Robert Griesemer <[email protected]>
constraints: remove Slice/Map/Chan

Now that we permit arbitrary types as constraints, we no longer need them.

For #48424

Change-I...

github.com/hack-pad/go - 79ff663754f4238bd1fe2e56f460c2f603c71b80 authored almost 3 years ago by Ian Lance Taylor <[email protected]>
doc/go1.18: document Fossil/Bazaar and commit time build tag support

Change-Id: I032791a3cda1916099b0fd2955dcca4e69763660
Reviewed-on: https://go-review.googlesource...

github.com/hack-pad/go - 749f6e9eb6d101ef2ea4b7228a966391a80aa89b authored almost 3 years ago by Mark Pulford <[email protected]>
cmd/go: stamp Bazaar VCS status into binaries

For #37475

Change-Id: I728b7aeee5c38ec337e9a5b073050c3b0afc720d
Reviewed-on: https://go-review....

github.com/hack-pad/go - 063ff7f7a0fb41442916d0eda3fc128ca779d424 authored almost 3 years ago by Mark Pulford <[email protected]>
reflect: skip duplicate check in StructOf when the name of a field is "_"

Fixes #49110

Change-Id: I32c2cb26cca067a4a676ce4bbc3e51f1e0cdb259
Reviewed-on: https://go-revie...

github.com/hack-pad/go - a3c4ac0fbca51fc2e3369c93738419fc947bda77 authored almost 3 years ago by zhouguangyuan <[email protected]>
cmd/go: stamp Fossil VCS status into binaries

For #37475

Change-Id: I09fa1344051088ce37727176d9ec6b38891d1a9f
Reviewed-on: https://go-review....

github.com/hack-pad/go - de1abf76fb69739c6cad463454a55fe9c33f63ac authored almost 3 years ago by Mark Pulford <[email protected]>
cmd/go: fix recognition of Fossil checkout directories

Use ".fslckout" or "_FOSSIL_" files to correctly identify the root of
Fossil checkout directorie...

github.com/hack-pad/go - 4fefd439a4087ec4a4cb7a61cfe15801115321d2 authored almost 3 years ago by Mark Pulford <[email protected]>
runtime/testdata/testprogcgo: fix TestCgoPanicCallback

A cgo file with "//export" declarations is not permitted to have function
definitions in the cgo...

github.com/hack-pad/go - 51be206114b559f7ea26fe2290f8ed274a2080c3 authored almost 3 years ago by Cuong Manh Le <[email protected]>
cmd/compile, runtime: track argument stack slot liveness

Currently, for stack traces (e.g. at panic or when runtime.Stack
is called), we print argument v...

github.com/hack-pad/go - 30a82efcf403fed76bf1542e9477047660d5f54d authored almost 3 years ago by Cherry Mui <[email protected]>
cmd/compile/internal/types2: implement singleType and structure (type)

Rename structuralType to singleType throughout. This reflects
more closely what the function doe...

github.com/hack-pad/go - bbc059572d599a414653e4ac659b4738d434e1f1 authored almost 3 years ago by Robert Griesemer <[email protected]>
cmd/compile/internal/types2: remove unused position computation (cleanup)

The position computation was needed for type list support.
With that gone, we don't need this co...

github.com/hack-pad/go - 6a7eb56cd1837b961ea815105235a3fd96fda94b authored almost 3 years ago by Robert Griesemer <[email protected]>
cmd/compile/internal/types2: rename isNamed predicate to hasName

isNamed(t) is easily confused with asNamed(t) != nil (e.g., we
have isPointer(t) that is defined...

github.com/hack-pad/go - 5c4d7c50c7266bfbce3f43f04a0fb622b9e45805 authored almost 3 years ago by Robert Griesemer <[email protected]>
cmd/compile/internal/types2: clean up asT converters (step 2 of 2)

This CL renames the toT converters back to their asT names.

Change-Id: If4bda5a78525f9722f044f5...

github.com/hack-pad/go - a155a307fbeda88fd44c5399d4fb7ea9e34db545 authored almost 3 years ago by Robert Griesemer <[email protected]>
cmd/compile/internal/types2: clean up asT converters (step 1 of 2)

This CL changes the convenience converters asT to use under instead
of optype. To make sure the ...

github.com/hack-pad/go - d611f092001f76942251f68023dba137b8a3e821 authored almost 3 years ago by Robert Griesemer <[email protected]>