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

cmd/compile/internal/types2: generalize assignability to generic types

Similar to conversions, handle ordinary cases first, followed by
type-by-type assignability test...

github.com/hack-pad/go - 56dcf976561ff6c666d9d1fe6231557ac2072883 authored almost 3 years ago by Robert Griesemer <[email protected]>
cmd/compile/internal/types2: clarify is/underIs semantics and implementation

The behavior of is/underIs was murky with the presence of a top type term
(corresponding to a ty...

github.com/hack-pad/go - 3f1b0ce6bb4f2e7d44791c5532728f86e24f1f1f authored almost 3 years ago by Robert Griesemer <[email protected]>
cmd/go: remove support for -buildmode=shared

It never worked in module mode (or with a read-only GOROOT).
A proposal to drop it was filed (an...

github.com/hack-pad/go - 68bd5121ee8954cfd7e3f7edb5d035f0e8b1bccc authored almost 3 years ago by Bryan C. Mills <[email protected]>
cmd/go: fix testdata/script/mod_vendor_goversion for new compiler output

The message is now a single line, but I couldn't get '\n?' to work.

(This test does not run in ...

github.com/hack-pad/go - ffd2284db06d433d60aa75ea413f407b90e583b6 authored almost 3 years ago by Russ Cox <[email protected]>
internal/fuzz: don't deflake coverage found while fuzzing

Previously, the worker would attempt to deflake
an input that was reported to have caused new
co...

github.com/hack-pad/go - 514ebaec358488d1dcf7253b9d05b4ad8c76c390 authored almost 3 years ago by Katie Hockman <[email protected]>
cmd/compile: enable branchelim pass on ppc64

and fix/cleanup lowering of the SSA operator created by the pass.

Change-Id: I7e6153194fd16013e...

github.com/hack-pad/go - 259735f97a2dfd33849eacef15047f5a0964498e authored almost 3 years ago by Paul E. Murphy <[email protected]>
cmd/compile/internal/syntax: fix constraint literal parsing for generic functions

Fixes #49174.

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

github.com/hack-pad/go - bb49eb3e6a464fbbebd425c4b84c32609b27ecf2 authored almost 3 years ago by Robert Griesemer <[email protected]>
go/types: remove a stale comment

Clean up a comment that was deleted in types2 in CL 353135.

Change-Id: If339efa133e2a3d1eaa3b1e...

github.com/hack-pad/go - c0ac39c70eeeaadbebe13efb407a1a272a926d30 authored almost 3 years ago by Robert Findley <[email protected]>
cmd: move internal/str back to cmd/go

cmd/go is not subject to all the same restrictions as most of cmd.
In particular it need not be ...

github.com/hack-pad/go - 4f73fd05a91a9b8ceced6b7f89d35f363c414ec8 authored almost 3 years ago by Russ Cox <[email protected]>
cmd/go: add darwin/arm64 in the list of supported systems in help message

Fixes #49173.

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

github.com/hack-pad/go - cfb532158fc5b5cd6b9c35bbc2ff7c203fe5f09b authored almost 3 years ago by Cholerae Hu <[email protected]>
internal/poll: improve the padding calculation inside struct splicePipe

Updates #48968 and CL 358114

Change-Id: Ic68b4c5420c1c32f78b56874b53d717fa9af1f74
Reviewed-on: ...

github.com/hack-pad/go - bdefb77309fdc6e47102a8d6272fd2293aefa1d9 authored almost 3 years ago by Andy Pan <[email protected]>
syscall: use dup3 in forkAndExecInChild on NetBSD

Use dup3(oldfd, newfd, O_CLOEXEC) to atomically duplicate the file
descriptor and mark is as clo...

github.com/hack-pad/go - 5786a54cfe34069c865fead1b6d9c9e3485a40a5 authored almost 3 years ago by Tobias Klauser <[email protected]>
cmd/compile: fix generic type handling when crawling inline body

For base generic type that is written to export file, we need to mark
all of its methods, includ...

github.com/hack-pad/go - ca5f65d771bc24b9717dca615fa4ad25dcd94fad authored almost 3 years ago by Cuong Manh Le <[email protected]>
embed/internal/embedtest: use parenthesized vars for one test

The gofrontend code mishandled this case, so add it to the test.

Change-Id: I183b8fab57552320b0...

github.com/hack-pad/go - 13eccaa9902f3bb17999f1f7f14b7da39d60e0ea authored almost 3 years ago by Ian Lance Taylor <[email protected]>
crypto/elliptic: use a const string for precomputed P256 table

Const strings can be marked readonly. This is particularly
important for this relatively large t...

github.com/hack-pad/go - e5c512520bd0a51d59b39556795a47db888d69b5 authored almost 3 years ago by Josh Bleecher Snyder <[email protected]>
crypto/x509: generate new-style build tags for iOS

Make the input match gofmt's output,
to make our lives easier as we phase out
old style build ta...

github.com/hack-pad/go - 80be4a4f90836a33ab5b3d09c6f529de8ee628ea authored almost 3 years ago by Josh Bleecher Snyder <[email protected]>
runtime: handle async fatal signals in VDSO

If we receive an async signal while running in the VDSO, such as a
SIGABRT or SIGSEGV sent from ...

github.com/hack-pad/go - 86f6bf18b013d570e89f57c2decaddca5ce2a847 authored almost 3 years ago by Michael Pratt <[email protected]>
runtime: fix cgo signals detection

CL 64070 removed lockOSThread from the cgocall path, but didn't update
the signal-in-cgo detecti...

github.com/hack-pad/go - 091db6392da5913e4bd4806215102e461dc5649c authored almost 3 years ago by Michael Pratt <[email protected]>
sync/atomic: use a better first-store-in-progress marker

Unlike what the comment says, the GC can see this pointer.
Might as well make it a real pointer,...

github.com/hack-pad/go - 3a0cd1121413ad02172784114318ac6b0c2801c1 authored almost 3 years ago by Keith Randall <[email protected]>
runtime: rename _m_ to mp [generated]

_g_, _p_, and _m_ are primarily vestiges of the C version of the
runtime, while today we prefer ...

github.com/hack-pad/go - f8779b9e757e38810bec2284e06fea20bbf09bf4 authored almost 3 years ago by Michael Pratt <[email protected]>
cmd/compile: clean up the switch statements in (*genInst).node()

There were two main outer switch statements in node() that can just be
combined. Also, for simpl...

github.com/hack-pad/go - b54bdd281e62a4658ea4edb5e0a6139006938c9a authored almost 3 years ago by Dan Scales <[email protected]>
internal/fuzz: tiny refactor+fix

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

github.com/hack-pad/go - 1dc77a38d293763b9de50110dd72edd755ce72b7 authored almost 3 years ago by Katie Hockman <[email protected]>
cmd/go: stamp VCS commit time into binaries

Only Git and Mercurial are supported for now.

This CL also:
- Skips tagging "revision" and "com...

github.com/hack-pad/go - 76cef81bcff371c88d277f17c712ecf22b8c83e7 authored almost 3 years ago by Mark Pulford <[email protected]>
cmd/compile/internal/typecheck: update doc for the 1.18 export format

Update the documentation in iexport.go to use the word 'Constraint'
rather than 'Bound', and to ...

github.com/hack-pad/go - 1b2362bb83de47188e7c60a69f46950de542f017 authored almost 3 years ago by Robert Findley <[email protected]>
all: use reflect.{Pointer,PointerTo}

Updates #47651
Updates #48665

Change-Id: I69a87b45a5cad7a07fbd855040cd9935cf874554
Reviewed-on:...

github.com/hack-pad/go - 283d8a3d53ac1c7e1d7e297497480bf0071b6300 authored almost 3 years ago by Cuong Manh Le <[email protected]>
all: update vendored golang.org/x/tools

Pull in CL 358034 (and some more changes with passing tests) with:

go get -d golang.org/x/tool...

github.com/hack-pad/go - a2b8c186f616db92f9812e09fb2c44b0e753f8a7 authored almost 3 years ago by Dmitri Shuralyov <[email protected]>
cmd/internal/obj/ppc64: fix usage of CR bit arguments

CR bits and CR fields should be treated separately. Some instructions
modify an entire CR, a CR ...

github.com/hack-pad/go - 1e2820a6d72b606eb4070eda6cc626bde122f9c8 authored almost 3 years ago by Paul E. Murphy <[email protected]>
syscall: add utimensat libc wrapper on darwin

Add utimensat as a wrapper around the libc function of the same name.
utimensat was added in mac...

github.com/hack-pad/go - 23fdd7f0f75bca03a092faeeef60d8b0b804bf8d authored almost 3 years ago by Tobias Klauser <[email protected]>
syscall: use fcntl F_DUP2FD_CLOEXEC in forkAndExecInChild on illumos

Use fcntl(oldfd, F_DUP2FD_CLOEXEC, newfd) to duplicate the file
descriptor and mark is as close-...

github.com/hack-pad/go - ec6c00418c83aa4f68a5afc9803831f43f8d794f authored almost 3 years ago by Tobias Klauser <[email protected]>
runtime, runtime/asan: add asan runtime support

These are the runtime support functions for letting Go code interoperate
with the C/C++ address ...

github.com/hack-pad/go - adfb85b3150d5ebe36440f82d83be88403951319 authored almost 3 years ago by fanzha02 <[email protected]>
cmd/go: add -asan option

The -asan option compiles Go code to use the address sanitizer. This is
intended for use when l...

github.com/hack-pad/go - 49fda9e4f5cd3a05fd5fa0b3a2047a9d24873bd6 authored almost 3 years ago by Fannie Zhang <[email protected]>
cmd/internal/obj/arm64: add a restriction on move constant instructions

For MOVK/MOVN/MOVZ instructions, the assembler does not accept zero
shifts, and the CL 275812 ad...

github.com/hack-pad/go - 41f74079a982dae05da1860a5f195ac08d067bdd authored almost 3 years ago by fanzha02 <[email protected]>
doc/go1.18.html: fix a typo

gofmt -> <code>gofmt</code>

Change-Id: Idc01b01d8eb185f5e378000d11d622935b14db6e
GitHub-Last-Re...

github.com/hack-pad/go - 0ec1b62ee28c633265036664c21a5cb22086f231 authored almost 3 years ago by gosoon <[email protected]>
container/list: remove unnecessary code

Remove a unnecessary statement in the test function, the variables
aren't checked afterwards. Al...

github.com/hack-pad/go - b36b001ff13768fd1f9664b34c6d2b7948f66d4d authored almost 3 years ago by Gusted <[email protected]>
cmd/internal/obj/riscv: don't split ADD to SP to two adds

When adding a large constant to a register we generate two adds,
we may generate two ADD instruc...

github.com/hack-pad/go - e9eb66da307ec2da922a05b890b13363ea4e830e authored almost 3 years ago by Cherry Mui <[email protected]>
cmd/compile: update the export version for generics

Bump the export version to a new value iexportVersionGo1_18 (2). This
will give a better error m...

github.com/hack-pad/go - fd2f4b58b34effdbdacba41e0c36fa701c6dfa27 authored almost 3 years ago by Dan Scales <[email protected]>
cmd/compile: add -asan option

The -asan option causes the compiler to add instrumentation for the
C/C++ address sanitizer. Ev...

github.com/hack-pad/go - 85b3b4ee036e7460bf7621f64c6781e5dd0eed98 authored almost 3 years ago by fanzha02 <[email protected]>
internal/poll: avoid tiny allocator for splicePipe

We want to set a finalizer on splicePipe, so make it large enough to
not use the tiny allocator....

github.com/hack-pad/go - 60c3069dd82eee30c00f2a8d829ba74b11bcf07e authored almost 3 years ago by Ian Lance Taylor <[email protected]>
cmd/compile: fix typo in comment in CL 358435

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

github.com/hack-pad/go - e35b5b25d976efb7c00b871cac452b84193e6179 authored almost 3 years ago by Cherry Mui <[email protected]>
cmd/link: escape % characters in symbols when reporting errors

Generic function symbols sometimes have % in them, like:

main.B2[%2eshape.string_0].m2·f

W...

github.com/hack-pad/go - f92c8f07ace7ae67b95e59bbb6ae6928dd6e4773 authored almost 3 years ago by Keith Randall <[email protected]>
cmd/compile: revert most of CL 349169

The method of using references to dictionaries to hold methods
live during linker deadcode elimi...

github.com/hack-pad/go - 72b6a89ca5cd3c3bfd13b9b17be976e8feb91ecc authored almost 3 years ago by Keith Randall <[email protected]>
cmd/compile: remove MarkUsedIfaceMethodIndex mechanism

We don't need it any more, after CL 357835.

Change-Id: I1ff5f24b5540c3e80c4b35be8215a1c37895227...

github.com/hack-pad/go - 0ae0d5c62eae1a4043d1d9cb41acc563a5e75daa authored almost 3 years ago by Keith Randall <[email protected]>
cmd/compile,cmd/link: introduce generic interface call relocations

To capture the fact that a method was called on a generic interface,
so we can make sure the lin...

github.com/hack-pad/go - c26a32a5004afd4598f844ab49332c25d7613133 authored almost 3 years ago by Keith Randall <[email protected]>
cmd/link: increase reserved space for passing env on wasm

On wasm, the wasm_exec.js helper passes the command line arguments and
environment variables via...

github.com/hack-pad/go - 252324e879e32f948d885f787decf8af06f82be9 authored almost 3 years ago by Richard Musiol <[email protected]>
cmd/go/testdata/script: fix flaky test_fuzz_fuzztime test

Previously, the test would panic if the short timeout
was reached before fuzzing began. Increasi...

github.com/hack-pad/go - 8c94aa40e6f5e61e8a570e9d20b7d0d4ad8c382d authored almost 3 years ago by Katie Hockman <[email protected]>
crypto/tls: add Conn.NetConn method

NetConn method gives us access to the underlying net.Conn
value.

Fixes #29257

Change-Id: I68b2...

github.com/hack-pad/go - f47335e653ac37f68ada2b265ce4a2c869a27cae authored almost 3 years ago by Agniva De Sarker <[email protected]>
cmd/compile: don't clobber LR for tail calls

When doing a tail call the link register is live as the callee
will directly return to the calle...

github.com/hack-pad/go - 9012996a9a127fd566c72baac5e7d8ba45b4865e authored almost 3 years ago by Cherry Mui <[email protected]>
cmd/compile: use SetInit instead of *PtrInit

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

github.com/hack-pad/go - 95372efc4d300c54738406fb81d84a72bd8149cc authored almost 3 years ago by wdvxdr <[email protected]>
cmd/compile/internal/typecheck: record whether an interface is implicit

In preparation for capturing the implicit interface bit in export data,
thread through the IsImp...

github.com/hack-pad/go - bc0eb5789e01817823fd9707d2d4857691f898ad authored almost 3 years ago by Robert Findley <[email protected]>
go/types: remove subscripts from type parameter names

Now that we've removed the necessity for subscripts in importers, we can
effectively eliminate t...

github.com/hack-pad/go - 70ffd852cc85f1c782f4f2e70518d4861939cd1b authored almost 3 years ago by Robert Findley <[email protected]>
net/http: correct Content-Length parsing for js/wasm

The Content-Length was incorrectly set to 0 for ill-formed and invalid
values. In these cases, r...

github.com/hack-pad/go - 52b10ab79451df78797b87e40eb9371127bad260 authored almost 3 years ago by Charlotte Brandhorst-Satzkorn <[email protected]>
cmd/compile: fix inlining labeled switch statements

CL 357649 fixes inlining labeled FOR/RANGE loops,
we should do same translation for inlined SWIT...

github.com/hack-pad/go - c6e82e5808f4fb6da0fcc9754e29a220451a0dfd authored almost 3 years ago by wdvxdr <[email protected]>
testing: skip extra -count iterations if there are no tests

When running benchmarks with high -count and no tests (either at all or
filtered with -run), the...

github.com/hack-pad/go - 2c66cab8a7b569b2dc5a7ab112ba4579f39c5dbb authored almost 3 years ago by Michael Pratt <[email protected]>
cmd/compile/internal/types2: better error messages for empty type sets

- change _TypeSet.hasTerms() to report if a type set has actual types
(excluding a "universe" ...

github.com/hack-pad/go - 89cc528e430c18c6c36b8e8bbfb1bab26ed110e3 authored almost 3 years ago by Robert Griesemer <[email protected]>
testing: reference benchmark format spec

This updates the testing package documentation to reference the
specification for the benchmark ...

github.com/hack-pad/go - 1ed060cf87ec887ad76c51e3f7a2148cc2a7bf9b authored almost 3 years ago by Austin Clements <[email protected]>
image/draw: improve performances if mask is *image.Alpha

The existing DrawMask method is generic and is therefore calling the At().RGBA() method for ever...

github.com/hack-pad/go - fcd2d9cd75e6307b5b72fed2201044e231bef40a authored almost 3 years ago by Olivier Wulveryck <[email protected]>
cmd/compile: factor out code to remove phi argument

CL 358117 fixed a bug that Phi's argument wasn't updated correctly after
removing a predecessor ...

github.com/hack-pad/go - 7b554575e46d1df9b68f71e051c8133aaf953fb7 authored almost 3 years ago by Cuong Manh Le <[email protected]>
cmd/compile: remove Value.RemoveArg

It's only used in two places:

- The one in regalloc.go can be replaced with v.resetArgs()
- T...

github.com/hack-pad/go - f686f6a963cdfa66b6087993663f53a10272d262 authored almost 3 years ago by Cuong Manh Le <[email protected]>
cmd/compile: fix fuse pass to do CFG surgery correctly

removePred and removeArg do different things. removePred moves the last
predecessor to index k, ...

github.com/hack-pad/go - 8dbf3e9393400d72d313e5616c88873e07692c70 authored almost 3 years ago by Keith Randall <[email protected]>
cmd/compile/internal/types2: comp literals to accept type sets with single underlying types

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

github.com/hack-pad/go - 16318df4a225928c2f24874f6fcd11c3e13a112e authored almost 3 years ago by Robert Griesemer <[email protected]>
cmd/compile/internal/types2: slice exprs to accept type sets with single underlying types

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

github.com/hack-pad/go - 12e4404a0a0f03cee4fd29a6eb80379824d4aeb6 authored almost 3 years ago by Robert Griesemer <[email protected]>
cmd/compile/internal/types2: range clause to accept type sets with single underlying types

This generalizes range clauses. Removed some dead code and cleaned
up the surrounding bits.

Cha...

github.com/hack-pad/go - c526cf8c1ea535de6a30fc8c553c377bda4d6781 authored almost 3 years ago by Robert Griesemer <[email protected]>
cmd/compile/internal/types2: make built-in to accept type sets with single underlying types

This generalizes make the same way copy was generalized and eliminates
a use of optype.

Change-...

github.com/hack-pad/go - 2d205ebb96460b500480d144b99d2d5f5d4c06ed authored almost 3 years ago by Robert Griesemer <[email protected]>
cmd/compile/internal/types2: factor out slice elem computation for copy built-in

Implement singleUnder[String] which determines a single underlying type
for a given type: either...

github.com/hack-pad/go - 3cd28baffd2c97d53cbc703a8787365e68050466 authored almost 3 years ago by Robert Griesemer <[email protected]>
cmd/go: update test script for reformatted error message (fix long builds)

TBR=iant

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

github.com/hack-pad/go - b0f7eb6c0dee68c91d622cc5fcba1074626753b3 authored almost 3 years ago by Robert Griesemer <[email protected]>
cmd/compile: prevent compiling closures more than once

Since CL 282892, functions are always compiled before closures. To do
that, when walking the clo...

github.com/hack-pad/go - 85d2751d2ea38b10127df0b27d04b1a26f54bcfa authored almost 3 years ago by Cuong Manh Le <[email protected]>
doc: document new reflect.UnsafePointer function

Updates #40592

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

github.com/hack-pad/go - 6c200017bf0ad9987453d5c265e5a3063ad72dc5 authored almost 3 years ago by Cuong Manh Le <[email protected]>
cmd/link: add -asan option

The -asan option causes the linker to link against the runtime/asan
package in order to use the ...

github.com/hack-pad/go - ae4d67c89dfef1cf9f30921e8f717ed5f56b6866 authored almost 3 years ago by fanzha02 <[email protected]>
cmd/compile/internal/types2: more detailed error messages for generic conversions

- slightly refactor convertibleTo and convertibleToImpl
- provide ability to return a conversion...

github.com/hack-pad/go - 5d414d180bfb631d3835f819f7f524ec271f11eb authored almost 3 years ago by Robert Griesemer <[email protected]>
cmd/compile/internal/types2: reduce output when describing type parameters

There's no need to say "type parameter" for a type parameter. The
name is sufficient (they are a...

github.com/hack-pad/go - 76dd01f45786757a08f1e070245d174cd64559be authored almost 3 years ago by Robert Griesemer <[email protected]>
internal/poll: fix a few function names on comments

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

github.com/hack-pad/go - ff8115d1a1b3bcaadfea10f6913e9fe083013799 authored almost 3 years ago by Andy Pan <[email protected]>
cmd/compile: only look for struct type when crawling inline body

CL 356254 fixed crawling of embeddable types during inline. However, we
are too agressive, since...

github.com/hack-pad/go - 9ff91b90988945c7bbe85fdef4a16d5f1af6b2c2 authored almost 3 years ago by Cuong Manh Le <[email protected]>
reflect: make Value.Pointer panic on bad notinheap pointers

Same as CL 350153 did for Value.Elem to panic on bad notinheap pointers.
While at it, also add m...

github.com/hack-pad/go - 23e57e59556f42d6935b65be63b59a8b0fc0e6ad authored almost 3 years ago by Cuong Manh Le <[email protected]>
go/types, types2: add the Interface.MarkImplicit method

Add a new interface method, MarkImplicit, to allow marking interfaces as
implicit from outside t...

github.com/hack-pad/go - 3beab0cd71e9e4fedba13d762ed35db04851f1be authored almost 3 years ago by Robert Findley <[email protected]>
cmd/internal/obj/ppc64: rework argument classifications

This introduces a number of new classifications which will make it
easier to generate functions ...

github.com/hack-pad/go - 5a3d0f5a6361a2a1ccba19ad8d8da8b4367ea2c9 authored almost 3 years ago by Paul E. Murphy <[email protected]>
cmd/compile: fix inlining of labeled for loops

There is already a mechanism using inlgen to rename labels insided
inlined functions so that the...

github.com/hack-pad/go - b8da7e4c4c9e97b3d1ebfb07506acdd61277b988 authored almost 3 years ago by Dan Scales <[email protected]>
runtime: detangle gcPaceScavenger from the pacer

Currently gcPaceScavenger is called by gcControllerState.commit, but it
manipulates global state...

github.com/hack-pad/go - f99e40aac023d818e8c2594e5b8c075786087132 authored almost 3 years ago by Michael Anthony Knyszek <[email protected]>
runtime: formalize and fix gcPercent synchronization

Currently gcController.gcPercent is read non-atomically by
gcControllerState.revise and gcTrigge...

github.com/hack-pad/go - 6508fdad9d83d6792314639c9819a15894728682 authored almost 3 years ago by Michael Anthony Knyszek <[email protected]>
go/types, types2: always return an underlying type from optype

Optype should never return a defined type.

Change-Id: I37b29e0c958e127e75e834e71d6392ea80827773...

github.com/hack-pad/go - 8151b56c5d1de8f654a6e6789a0e607b55845c1e authored almost 3 years ago by Robert Findley <[email protected]>
net/url: add testable examples for Values funcs

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

github.com/hack-pad/go - 392bb0677cfe6e6058d4f11953de80cdc20c52a8 authored almost 3 years ago by Amelia Downs <[email protected]>
net/url: add testable examples for url pkg funcs

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

github.com/hack-pad/go - 24999c3a8a811807ce096c5a39c5e2f2f213d2e3 authored almost 3 years ago by Amelia Downs <[email protected]>
runtime: fix typo of pushBackAll

Fixes: #49081
Change-Id: Ie6742f1e7a60c2d92ce1283bcfaa3eac521440a1
Reviewed-on: https://go-revie...

github.com/hack-pad/go - 02a36668aa13c3182d29da678764c8f4f5a9499b authored almost 3 years ago by emahiro <[email protected]>
internal/bytealg: fix Separator length check for Index/ppc64le

Modified condition in the ASM implementation of indexbody to
determine if separator length cross...

github.com/hack-pad/go - 6ec9a1da2d48fdc94093feb0ea3465129e11fc24 authored almost 3 years ago by Archana R <[email protected]>
cmd/compile/internal/ssa/gen: eliminate unnecessary neg and xori on PPC64

This adds a few rules to PPC64 to eliminate some instructions:
- when an isel is used to generat...

github.com/hack-pad/go - 8b0bea993d452ef7861642a9c04bae213246ded1 authored almost 3 years ago by Lynn Boger <[email protected]>
test/codegen: updated comparison test to verify on ppc64,ppc64le

Updated test/codegen/comparison.go to verify memequal is inlined
as implemented in CL 328291.

C...

github.com/hack-pad/go - 8b9c0d1a79251969e46731e46e72e4e8f8998817 authored almost 3 years ago by Archana R <[email protected]>
go/types: print assignment operation for invalid operation errors

This is port of CL 357229 for types2 to go/types.

Change-Id: I35ed6b784969210a00ea5b36238df7d6b...

github.com/hack-pad/go - fca46d0b36c10250713ec0f4c9bf13d626f358d1 authored almost 3 years ago by Cuong Manh Le <[email protected]>
cmd/compile: use `else if` for mutually exclusive `if` statements

Change-Id: I43e5bb778fbba1398c8006b1644524a9885157db
GitHub-Last-Rev: fa76473ab8b207b8cfc350ca8a...

github.com/hack-pad/go - 73652af80d9f33de946fc3a91c6900a81247df18 authored almost 3 years ago by hkhere <[email protected]>
runtime: retype mheap.reclaimCredit as atomic.Uintptr

[git-generate]
cd src/runtime
mv export_test.go export.go
GOROOT=$(dirname $(dirname $PWD)) rf '...

github.com/hack-pad/go - 016d5eea118445f5b3ca46f85b65c6afd180c946 authored almost 3 years ago by Michael Anthony Knyszek <[email protected]>
runtime: retype mheap.reclaimIndex as atomic.Uint64

[git-generate]
cd src/runtime
mv export_test.go export.go
GOROOT=$(dirname $(dirname $PWD)) rf '...

github.com/hack-pad/go - a91e976fd2cc6f1c156877eae40262d7e47c745c authored almost 3 years ago by Michael Anthony Knyszek <[email protected]>
runtime: retype mheap.pagesSweptBasis as atomic.Uint64

[git-generate]
cd src/runtime
mv export_test.go export.go
GOROOT=$(dirname $(dirname $PWD)) rf '...

github.com/hack-pad/go - 1dff8f0a056517f0a8adfda663402ffb2e089281 authored almost 3 years ago by Michael Anthony Knyszek <[email protected]>
runtime: retype mheap.pagesSwept as atomic.Uint64

[git-generate]
cd src/runtime
mv export_test.go export.go
GOROOT=$(dirname $(dirname $PWD)) rf '...

github.com/hack-pad/go - e90492882a7fd580b7dac88675a1c907a7441b40 authored almost 3 years ago by Michael Anthony Knyszek <[email protected]>
runtime: retype mheap.pagesInUse as atomic.Uint64

[git-generate]
cd src/runtime
mv export_test.go export.go
GOROOT=$(dirname $(dirname $PWD)) rf '...

github.com/hack-pad/go - d419a80bc76cf18d321f9bf37c2deb2b8c0a1415 authored almost 3 years ago by Michael Anthony Knyszek <[email protected]>
runtime: use atomic.Float64 for assist ratio

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

github.com/hack-pad/go - 75b73d68b332a90e05cf45fa2c850667b3a0f777 authored almost 3 years ago by Michael Anthony Knyszek <[email protected]>
runtime/internal/atomic: add atomic types for all functions

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

github.com/hack-pad/go - 3ec8d4b5ed5db74f84f8d493e4160e97481e436d authored almost 3 years ago by Michael Anthony Knyszek <[email protected]>
cmd/compile/internal/types2: use correct types when checking generic conversions

Iterate through the actual, possibly defined types of constraints
when type-checking generic con...

github.com/hack-pad/go - 3ff39c5eda6aa869cbc3a19237750fa7cf495832 authored almost 3 years ago by Robert Griesemer <[email protected]>
go/internal/gcimporter: avoid setting unnecessary lines in fakeFileSet

This is a clean port of CL 357291 from x/tools.

For #46586

Change-Id: Ib22087ae7fe8477d368acd2...

github.com/hack-pad/go - 4320949f36f5f523a08ce8da6bdcd35ef51b8941 authored almost 3 years ago by Robert Findley <[email protected]>
cmd/compile: fix crawling of embeddable types during inline

In CL 327872, there's a fix for crawling of embeddable types directly
reached by the user, so al...

github.com/hack-pad/go - 4e565f7372494c9c46e33a35e84f0fe4fc7d2774 authored almost 3 years ago by Cuong Manh Le <[email protected]>
cmd/internal/goobj: minor dead code cleanup

Remove a bit of dead code from the Go object file reader (io.ReaderAt
no longer needed in goobj....

github.com/hack-pad/go - 27a1454ee09b1923ddcf0cdc5e17b4dd7de8ea2a authored almost 3 years ago by Than McIntosh <[email protected]>
math/big: remove stray whitespace in addMulVVW on amd64

Minor leftover from CL 74851.

Change-Id: I1b56afcde3c505ba77a0f79e8ae9b01000362298
GitHub-Last-...

github.com/hack-pad/go - d2ec73c1bfb556c5736f900a8e4a07e281450eb2 authored almost 3 years ago by andig <[email protected]>
net/http/internal: return unexpected EOF on incomplete chunk read

Fixes #48861

Change-Id: I3f55bfbdc4f2cf5b33d1ab2d76e01335bb497c6f
GitHub-Last-Rev: 0ecd790b87dd...

github.com/hack-pad/go - d9421cec00a5e171699b00966bebc85a36593bf2 authored almost 3 years ago by Alexander Yastrebov <[email protected]>