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/amd64: more robust detection of GOAMD64=v1

Using build tool tags instead of relying on GOAMD64 env, which can be
overriden at make.bash tim...

github.com/hack-pad/go - 515040548c1ca97fb4c2208d3c602aa65d1ed941 authored about 2 years ago by Cuong Manh Le <[email protected]>
runtime: eliminate a few usages of named return values in functions to make it consistent

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

github.com/hack-pad/go - cc9584b54bcbe8f537805e8df36fada349602c59 authored about 2 years ago by Andy Pan <[email protected]>
cmd/link: fix trampolines breaking DWARF line info

When trampolines are needed (e.g. Darwin ARM64), the DWARF LPT (Line
Program Table - see DWARF s...

github.com/hack-pad/go - 2340d371796f95acdcc399e60f9ecefec2add8df authored about 2 years ago by Jeremy Quirke <[email protected]>
crypto/tls: change Conn.handshakeStatus type to atomic.Bool

Change the type of Conn.handshakeStatus from an atomically
accessed uint32 to an atomic.Bool. Ch...

github.com/hack-pad/go - a1337ef40cfa71625595b5b7f10b15341c1240f2 authored about 2 years ago by Ludi Rehak <[email protected]>
cmd/compile/internal/noder: explicit receiver expression handling

This CL adds a helper expression code for receiver addressing; i.e.,
the implicit addressing, de...

github.com/hack-pad/go - de95dca32fb196d5f09bf5db4a6ba592907559c3 authored about 2 years ago by Matthew Dempsky <[email protected]>
cmd/compile/internal/noder: prune unified IR's dictionary logic

Unified IR uses static dictionaries for some itabs and function/method
expressions, and they're ...

github.com/hack-pad/go - 29b07037b1066cae8ec9e35f87d461700b6de600 authored about 2 years ago by Matthew Dempsky <[email protected]>
cmd/compile/internal/noder: explicitly handle separate selectors

This CL separates out the handling of selector expressions for field
values, method values, and ...

github.com/hack-pad/go - 88635b3862502bce1676621546c75e549b008ed0 authored about 2 years ago by Matthew Dempsky <[email protected]>
cmd/compile/internal/noder: explicitly handle function instantiations

This CL changes unified IR to explicitly handle function
instantiations within expression handli...

github.com/hack-pad/go - 2e6ffd6c5d573d36e969ec8c21f70680493e58b9 authored about 2 years ago by Matthew Dempsky <[email protected]>
internal/pkgbits: fix performance of rawReloc

There was a TODO about quadratic performance, and indeed,
it can get bad. Added a map, made som...

github.com/hack-pad/go - 6b80b62fd1b5338e6ec8bc2ff521b94f2fefae9c authored about 2 years ago by David Chase <[email protected]>
test: relax live.go for GOEXPERIMENT=unified

This CL applies the same change to test/live.go that was previously
applied to test/live_regabi....

github.com/hack-pad/go - 8003efe1b5520476c62c7fa6798150a61d621cde authored about 2 years ago by Matthew Dempsky <[email protected]>
test: more robust detection of GOEXPERIMENT=unified

`go env GOEXPERIMENT` prints what experiments are enabled relative to
the baseline configuration...

github.com/hack-pad/go - d4280fda462e06819a416a2e298b7896bdc1654c authored about 2 years ago by Matthew Dempsky <[email protected]>
all: remove remaining UNREVIEWED files for Unified IR

Those ureader.go files have enough documents and in stable
developement/review as other parts of...

github.com/hack-pad/go - 9f8685f49e9e04e4734a4b1cec2505983af774a5 authored about 2 years ago by Cuong Manh Le <[email protected]>
cmd/compile: refactor GOSSAHASH debugging to make it usable outside ssa package.

I've needed this more than once in the past, I hack it in,
then throw it away, seems sensible to...

github.com/hack-pad/go - 522f0fc4251b4df23661f588eb9b0b40c4423bef authored about 2 years ago by David Chase <[email protected]>
runtime: fix gofmt error

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]>
net/http/cgi: remove port from the CGI environment of variable SERVER_NAME

The SERVER_NAME variable in the CGI environment should not
contain the port, according to the se...

github.com/hack-pad/go - 7ba458d7d8461835255b6353c773731f47c16215 authored about 2 years ago by hopehook <[email protected]>
hash/crc32: use LDP instead of LDR in crc32 computation

Since recent ARM CPUs support CRC late forwarding of results from a
producer to a consumer, the ...

github.com/hack-pad/go - c81dfdd47aa44bb1da0f60e36742cc0103da4837 authored about 2 years ago by ruinan <[email protected]>
plugin: enable plugin test on linux/arm64

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]>
cmd/compile/internal/ssa: optimize ARM64 code with TST

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]>
cmd/compile: do not use content addressable symbol for generic iface method names

When a generic interface method is used, we use a special
relocation R_USEGENERICIFACEMETHOD to ...

github.com/hack-pad/go - 8dc7710faeda33b03fe32d4e7c800f0dcf27c698 authored about 2 years ago by Cherry Mui <[email protected]>
runtime: gofmt

Add new line at the end of crash_test.go.

Change-Id: I73c77666066b105e563215f34e7ede6c1d92226b
...

github.com/hack-pad/go - 3c2a3ce6d924c4d936c6a9ece63aaaa42c80107c authored about 2 years ago by Cherry Mui <[email protected]>
runtime: ensure that we don't scan noscan objects

We claim to not maintain pointer bits for noscan objects. But in fact
we do, since whenever we s...

github.com/hack-pad/go - cb13022a244e6c311a3494696ddffe07cfe5edf1 authored about 2 years ago by Keith Randall <[email protected]>
encoding/gob: change typeInfo.encoder type to atomic.Pointer[T]

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]>
cmd: vendor github.com/google/pprof to fix mangled type parameter symbol names

Updates github.com/google/pprof to bring in the commit from
https://github.com/google/pprof/pull...

github.com/hack-pad/go - cd9cd925bb9ed79975f2531a6b84f69905e4fc31 authored about 2 years ago by Emmanuel T Odeke <[email protected]>
net/url: clarify RawPath documentation

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]>
encoding/xml: use bytes.Buffer.WriteString

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

github.com/hack-pad/go - beebd537ca1ae8ff29576477a88be7d8dff7d638 authored about 2 years ago by Daniel Martí <[email protected]>
net/http: remove unused method needsSniff

Change-Id: Ia8c67d148fc7e71cac8954ccce6fffb8a6f423df
GitHub-Last-Rev: 9441b8f0c510a3a03dc22816e2...

github.com/hack-pad/go - 469a87d7a57572148a176db1f43767aa90cdd10d authored about 2 years ago by Abirdcfly <[email protected]>
debug/gosym: fix missing symbol version for 1.2+ pclntab

Updates #37762

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

github.com/hack-pad/go - 9c5cae08928a885616f54d8df50a43713b95db7a authored about 2 years ago by Cuong Manh Le <[email protected]>
cmd/compile/internal/noder: shuffle defined type handling code

Per TODO, this CL just moves code around without behavioral
change. Part of a cleanup process so...

github.com/hack-pad/go - 7d70779db5893a4ac1c4746f463b5aa0b4d7e527 authored about 2 years ago by Matthew Dempsky <[email protected]>
test: test method expressions promoted to derived types

This CL adds a test that method expressions where the receiver type is
a derived type and embeds...

github.com/hack-pad/go - 60d3276a944c3a6a65a8e462bc432d1e9cb040ee authored about 2 years ago by Matthew Dempsky <[email protected]>
test: add test for package-scope method value GC

The Go 1.18 frontend handles package-scope generic method values by
spilling the receiver value ...

github.com/hack-pad/go - f93b668842ae3d6e96d7348dbd05592811ce3990 authored about 2 years ago by Matthew Dempsky <[email protected]>
cmd/compile/internal/escape: support OITAB and OCHECKNIL

For interface method values, we nil check the receiver value at the
point of evaluating the meth...

github.com/hack-pad/go - 0c2f87f23d72841544e372fac0bcf5168324d8c9 authored about 2 years ago by Matthew Dempsky <[email protected]>
cmd/compile/internal/inline: fix latent CalleeEffects issue

ir.ClosureExpr implements ir.InitNode, so ir.InitExpr can prepend init
statements to it. However...

github.com/hack-pad/go - 25d74f324dde687e1bbf486ef444a1f73f48f4eb authored about 2 years ago by Matthew Dempsky <[email protected]>
cmd/compile/internal/ir: prevent NewClosureVar misuse

NewClosureVar should only be called to capture locally declared
variables in the enclosing funct...

github.com/hack-pad/go - bd901af30bcc8b92c5ce708b5b7d6352b17b54e8 authored about 2 years ago by Matthew Dempsky <[email protected]>
cmd/compile/internal/ir: better dump for OLINKSYMOFFSET

When debugging IR that uses OLINKSYMOFFSET, you really need to know
what linksym it actually ref...

github.com/hack-pad/go - b911771f129c599c4f5a6f9b866d300c4fa42159 authored about 2 years ago by Matthew Dempsky <[email protected]>
Revert "runtime: redo heap bitmap"

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]>
Revert "runtime: process ptr bitmaps one word at a time"

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]>
test: skip -buildmode=pie tests on alpine

Skip a collection of -buildmode=pie tests on alpine, which are
currently failing on the linux-am...

github.com/hack-pad/go - 0d9ed0638be1aa5c68c1bef0713c338e206a6656 authored about 2 years ago by Than McIntosh <[email protected]>
log: change isDiscard type to atomic.Bool

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

github.com/hack-pad/go - c7942f87a2587ee989f6e282d887b4652119133a authored about 2 years ago by Ludi Rehak <[email protected]>
time: add DateTime, DateOnly, and TimeOnly

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]>
runtime: disable gdb testpoints on alpine pending builder fix

Disable the TestGdb* testpoints until we can figure out why they are
failing and reconfigure the...

github.com/hack-pad/go - 662a729ded9cd9ae70c079a0b1c3ca0a81f94c32 authored about 2 years ago by Than McIntosh <[email protected]>
cmd/asm: add VTBX instruction on arm64

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

github.com/hack-pad/go - 9e8020b2d4a4730a7b2c75a0091473dc7583959b authored about 2 years ago by Nick Ripley <[email protected]>
runtime: refine code reducing indents in netpollBreak()

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

github.com/hack-pad/go - ffe5f085cd8b289a7853fcdb3c26adbebda09fd6 authored about 2 years ago by Andy Pan <[email protected]>
cmd/compile/internal/typecheck: simplify tcAppend

After CL 418514, Unified IR now always write concrete type of constant
expressions, thus we don'...

github.com/hack-pad/go - 13bd6ddbe7a4fb24448546545da5df999267eb4e authored about 2 years ago by Cuong Manh Le <[email protected]>
cmd/compile: do not write implicit conversion for append in Unified IR

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]>
internal/testenv: add and use OptimizationOff/SkipIfOptimizationOff

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]>
syscall: add Mmap and Munmap on solaris

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]>
syscall: wrap fstatat only once on linux/{arm64,riscv64}

Currently the linux/arm64 and linux/riscv64 ports wrap the fstatat
syscall twice, once in func f...

github.com/hack-pad/go - dcf354512a25c1aea3d20efb7c8e3977e70479b6 authored about 2 years ago by Tobias Klauser <[email protected]>
all: use ":" for compiler generated symbols

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]>
net/netip: fix method name in {AddrPort,Prefix}.IsValid godoc

In CL 339309 these were probably copied from the respective
godoc comments in package inet.af/ne...

github.com/hack-pad/go - 5639fcae7fee2cf04c1b87e9a81155ee3bb6ed71 authored about 2 years ago by Tobias Klauser <[email protected]>
internal/cpu: add sha512 for arm64

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]>
debug/pe: add IMAGE_FILE_MACHINE_RISCV{32,64,128}

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]>
runtime/cgo: add -fno-stack-protector to CFLAGS

Some compilers default to having -fstack-protector on, which breaks
when using internal linking ...

github.com/hack-pad/go - 365ca6947287d2b8fd9ca49fef74a1297786e8b1 authored about 2 years ago by Ian Lance Taylor <[email protected]>
cmd/link: detect glibc vs musl ldso at link time

Doing the test at link time lets us distribute one Linux toolchain
that works on both glibc-base...

github.com/hack-pad/go - 3315066f46d5dce3e4474bdcde0997d688c79436 authored about 2 years ago by Russ Cox <[email protected]>
mime: remove test ordering dependency

Arrange for tests that call setMimeInit to fully restore the old values,
by clearing the sync.On...

github.com/hack-pad/go - 52dfdc5e1e6f4f8ddd99f238e37b6c255f5ab6bd authored about 2 years ago by Ian Lance Taylor <[email protected]>
strings: avoid utf8.RuneError mangling in Split

Split should only split strings and not perform mangling
of invalid UTF-8 into ut8.RuneError.
Th...

github.com/hack-pad/go - 9a4685f22036b4e2577bb79dbfabd7c4e48146e3 authored about 2 years ago by Joe Tsai <[email protected]>
syscall: rename close to closeFD

...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]>
math/big: disable TestNewIntAllocs on noopt builder

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]>
cmd/compile: fix confusion with ANDCCconst in PPC64 rules

Currently there is a an ANDconst and an ANDCCconst op in PPC64,
which is confusing since they ma...

github.com/hack-pad/go - c1bfefe9d16f64ba038711796dc6445965bb257c authored about 2 years ago by Lynn Boger <[email protected]>
debug/pe: use correct pe64 test in ImportedSymbols

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]>
cmd/compile: disable append of make test on noopt builder

Updates #53888

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

github.com/hack-pad/go - a34a97d88d9aac5f0ca8422243ea15c89fa8d880 authored about 2 years ago by Cuong Manh Le <[email protected]>
cmd/compile, cmd/link: enable Duff's device on darwin/arm64

Duff's device was disabled on darwin/arm64 because the darwin
linker couldn't handle a branch re...

github.com/hack-pad/go - 4bcc138bc6a4791163c9f2604a9fa44ed4ec8421 authored about 2 years ago by Cherry Mui <[email protected]>
test: add test case for type parameter method indexing

When types2 type checks a method expression or method value that
selects a type parameter method...

github.com/hack-pad/go - d02d5fda653f9e7ca2bb6036ccddc61a869abad5 authored about 2 years ago by Matthew Dempsky <[email protected]>
math/big: make NewInt inlineable and zero allocation

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]>
cmd/compile: optimize unsafe.Slice generated code

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]>
reflect: avoid TypeOf in init

Calling TypeOf to initialize variables forces any import of "reflect"
to link in the declared ty...

github.com/hack-pad/go - ebf182c82de21858a1a167cc8d252ae85de806a7 authored about 2 years ago by Joe Tsai <[email protected]>
cmd/compile: rename types.Rnd -> types.RoundUp

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]>
encoding/binary: ReadUvarint return io.ErrUnexpectedEOF when read at least 1 byte

Fixes #54139

Change-Id: Ifc73bd7f181b13970ee6a08968f9d8f6e55d7ff3
GitHub-Last-Rev: 1e0a79bd3eb3...

github.com/hack-pad/go - 9903ab546938639c93a616c00b80cd94683e2779 authored about 2 years ago by cuiweixie <[email protected]>
all: use io.Seek* instead of deprecated os.SEEK_*

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]>
cmd/compile: avoid assignment conversion in append(a, b...)

There's no need for a and b to match types. The typechecker already
ensured that a and b are bot...

github.com/hack-pad/go - 2493072db68a8f8b545bb2a6faebac0da0f01336 authored about 2 years ago by Keith Randall <[email protected]>
runtime: process ptr bitmaps one word at a time

Read the bitmaps one uintptr at a time instead of one byte at a time.

Performance so far:
Allo...

github.com/hack-pad/go - c3833a55433f4b2981253f64444fe5c3d1bc910a authored about 2 years ago by Keith Randall <[email protected]>
runtime: redo heap bitmap

Use just 1 bit per word to record the ptr/nonptr bitmap.
Use word-sized operations to manipulate...

github.com/hack-pad/go - b589208c8cc6e08239868f47e12c1449cd797bac authored about 2 years ago by Keith Randall <[email protected]>
cmd/compile: store combine on amd64

Fixes #54120

Change-Id: I6915b6e8d459d9becfdef4fdcba95ee4dea6af05
GitHub-Last-Rev: 03f19942c7a6...

github.com/hack-pad/go - e7307034ccdd3c3e482f80b9ea6d4a69bb04d7b6 authored about 2 years ago by cuiweixie <[email protected]>
cmd/compile,runtime: panic when unsafe.Slice param is nil and > 0

Fixes #54092

Change-Id: Ib917922ed36ee5410e5515f812737203c44f46ae
GitHub-Last-Rev: dfd0c3883cf8...

github.com/hack-pad/go - 52d0667e6ba69059422a138dd6589f3f697fc0db authored about 2 years ago by cuiweixie <[email protected]>
cmd/compile: treat constants to type parameter conversion as non-constant in Unified IR

Fixes #54307

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

github.com/hack-pad/go - 1519729c6a1f05735fdc7a6db38dc83838783eee authored about 2 years ago by Cuong Manh Le <[email protected]>
cmd/compile: remove index out of bounds check in walkIndex

Since when any user errors about out-of-bounds constants should have
been already reported by ty...

github.com/hack-pad/go - 98f5152368b4afd31eac1df2b3c172052d9b062a authored about 2 years ago by Cuong Manh Le <[email protected]>
context: Revert "context: use CompareAndSwap in cancelCtx.Done"

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]>
net/http: change conn.curReq type to atomic.Pointer[response]

Use the newly added atomic.Pointer[T] type for atomically
loading and storing type *T pointers. ...

github.com/hack-pad/go - adac8acf881ac48c558a4873b4cc7551c7e592b1 authored about 2 years ago by Ludi Rehak <[email protected]>
runtime/internal/atomic: add Pointer[T] type

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

github.com/hack-pad/go - 0581d69dc6e67734293ba0c10b63df640a457aab authored about 2 years ago by Austin Clements <[email protected]>
crypto/tls: delete unnecessary line of return

Fixes #53198

Change-Id: I0c35fb278543bd487d19ae15c8175e88c45e2c1e
GitHub-Last-Rev: a3e29d2332ad...

github.com/hack-pad/go - dd59088193cc040aa16165dc29b907c6f0d9fe31 authored about 2 years ago by cuiweixie <[email protected]>
internal/cpu: implement CPU feature detection for openbsd/arm64

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]>
go/build: add GO$GOARCH-based ToolTags

Implement proposal #45454, providing build tags based on the
sub-architecture information in the...

github.com/hack-pad/go - fefac44a62fe0cfda73ab4abf15bf35b58faa6ac authored about 2 years ago by Russ Cox <[email protected]>
runtime: remove useless empty string literal

Assumingly this appears to have been a bug in c2go, as this appeared in
https://go.dev/cl/172260...

github.com/hack-pad/go - 0063b9b036f1bdf5c548530a4f93e0b4a111ae14 authored about 2 years ago by Michael Pratt <[email protected]>
runtime: convert gcController.dedicatedMarkWorkersNeeded to atomic type

In gcController.startCycle we just compute the initial value in a
local variable before assignin...

github.com/hack-pad/go - e76155614af824f9e8be88292884799c8d4b1f3d authored about 2 years ago by Michael Pratt <[email protected]>
runtime: convert gcController.idleMarkTime to atomic type

For #53821.

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

github.com/hack-pad/go - dcd10375bc48d0389919b573485d2730445650fd authored about 2 years ago by Michael Pratt <[email protected]>
runtime: convert gcController.fractionalMarkTime to atomic type

For #53821.

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

github.com/hack-pad/go - fe406c8b11aa6e94c91f2d1fe05c170e3af2dc1e authored about 2 years ago by Michael Pratt <[email protected]>
cmd/compile: correct alignment of atomic.Int64

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]>
runtime: convert gcController.dedicatedMarkTime to atomic type

For #53821.

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

github.com/hack-pad/go - 9463638ca883f07467ad8e294cf3ba7f7b175eb2 authored about 2 years ago by Michael Pratt <[email protected]>
runtime: convert gcController.bgScanCredit to atomic type

For #53821.

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

github.com/hack-pad/go - ba89d59a3a0fe483c43cd789dbe1f5cbe863f491 authored about 2 years ago by Michael Pratt <[email protected]>
runtime: convert gcController.globalsScan to atomic type

For #53821.

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

github.com/hack-pad/go - b8f4847d6f175d71e0738e944db8e2394846fa36 authored about 2 years ago by Michael Pratt <[email protected]>
runtime: convert gcController.maxStackScan to atomic type

For #53821.

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

github.com/hack-pad/go - 02fb9b8ca90874085173d6bd900038573ef4a4c3 authored about 2 years ago by Michael Pratt <[email protected]>
runtime: convert gcController.lastStackScan to atomic type

For #53821.

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

github.com/hack-pad/go - e1b0da61449ef1bbe2da8afb2840c05a587e7635 authored about 2 years ago by Michael Pratt <[email protected]>
runtime: convert gcController.heapScan to atomic type

For #53821.

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

github.com/hack-pad/go - 6e9925c4f71fd862685859e9116f165cff5118c1 authored about 2 years ago by Michael Pratt <[email protected]>
runtime: convert gcController.heapLive to atomic type

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]>
reflect: use doc links to refer to package "unsafe"

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

github.com/hack-pad/go - 5405df09afff46d065da1d73d56347f7c859ab6f authored about 2 years ago by Cuong Manh Le <[email protected]>
context: use CompareAndSwap in cancelCtx.Done

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]>
encoding/gob: replace runtime values with constants in init()

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]>
cmd/compile: fix import/export of ODYNAMICDOTTYPE

The RType field isn't needed when performing type assertions from
non-empty interface types, bec...

github.com/hack-pad/go - 0c4db1e347dc51589e5289388305b02108ca0aa1 authored about 2 years ago by Matthew Dempsky <[email protected]>
fmt: add a function to recover the original format string given a State

Sometimes when implementing a Formatter it's helpful to use the fmt
package without invoking the...

github.com/hack-pad/go - d75e186e2c013d04548940eae913824bae9d7c48 authored about 2 years ago by Rob Pike <[email protected]>
all: update vendored golang.org/x/{net,tools} for Go 1.20 development

CL 421334 updated most of golang.org/x dependencies at the start of
the Go 1.20 development cycl...

github.com/hack-pad/go - 27f1246b85426ead27f7a695b97d4e042840014b authored about 2 years ago by Dmitri Shuralyov <[email protected]>
cmd/dist: do not run on ppc64le

Also don't run on all the other tiny slow boxes we have.
Should fix the remaining ppc64le broken...

github.com/hack-pad/go - 4fb7e22adece7e12f7e0b443e1b1a1272e1b84c8 authored about 2 years ago by Russ Cox <[email protected]>