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

go/types, types2: pointer base types cannot be type constraints

Pointer types may appear in expressions *P and we don't know if
we have an indirection (P is a p...

github.com/hack-pad/go - 3a5e3d8173df547d8360a609097fc80f01182db1 authored over 2 years ago by Robert Griesemer <[email protected]>
go/types, types2: clarify documentation with respect to generic types

Address several areas where documentation was inaccurate or unclear
regarding generic types. Als...

github.com/hack-pad/go - e189b5e06d4831025758c0b152838fa1a0375525 authored over 2 years ago by Robert Findley <[email protected]>
cmd/compile: require -p flag

The -p flag specifies the import path of the package being compiled.
This CL makes it required w...

github.com/hack-pad/go - a987aaf5f7a5f64215ff75ac93a2c1b39967a8c9 authored over 2 years ago by Russ Cox <[email protected]>
go/types, types2: disable field accesses through type parameters

This is a feature that is not understood well enough and may have
subtle repercussions impacting...

github.com/hack-pad/go - b8248fab897da9bee2211a98df1656883ccecd6d authored over 2 years ago by Robert Griesemer <[email protected]>
cmd/go: fix buildvcs when using older git versions

Git versions before v2.10.0 do not support --no-show-signature.
Using "-c" allows Git to ignore ...

github.com/hack-pad/go - 7026eeb8cfdc5801adddaaa678fb6495a998db0e authored over 2 years ago by Mark Pulford <[email protected]>
runtime/pprof: fix pcDeck's frame indexing

When building the inlining deck, correctly identify which is the last
frame in the deck. Otherwi...

github.com/hack-pad/go - 0d33a9967540fe06f5ce7b14790e9be8da576936 authored over 2 years ago by Rhys Hiltner <[email protected]>
cmd/compile: mark instantiated generic functions as DUPOK

Unified IR wasn't marking instantiated generic functions as DUPOK,
even though they can appear i...

github.com/hack-pad/go - 7160e3252991d9462ee3a155b5504c564a6cffe5 authored over 2 years ago by Matthew Dempsky <[email protected]>
cmd/internal/obj/arm64: optimize function prologue/epilogue with STP/LDP

In function prologue and epilogue, we save and restore FP and LR
registers, and adjust RSP. The ...

github.com/hack-pad/go - c6d9b38dd82fea8775f1dff9a4a70a017463035d authored over 2 years ago by eric fang <[email protected]>
cmd/compile/internal: add ABI register information for riscv64

This CL adds the defines for ABI registers on riscv64.

Updates #40724

Change-Id: I53a89d88b6fe...

github.com/hack-pad/go - 1045faa38c660b8a0ac3fbf5b0a01dde26a3cf75 authored over 2 years ago by Meng Zhuo <[email protected]>
cmd/go: for gccgo expect one fewer file in TestScript/list_swigcxx

One of the files in CompileGoFiles is actually _cgo_import.go, but
that file is only generated f...

github.com/hack-pad/go - 20d333b6f48545cd9900a39fb10f390584d4ba2c authored over 2 years ago by Ian Lance Taylor <[email protected]>
go/printer: don't print unnecesary commas for func type param lists

Type parameter lists are not ambiguous for function declarations in the
way that they are ambigu...

github.com/hack-pad/go - 0add0647d80f8ec794042b4608275830372fe298 authored over 2 years ago by Robert Findley <[email protected]>
net/http/pprof: skip TestDeltaProfile on all arm and arm64 architectures

Given that we have seen failures with the same failure mode on both
openbsd/arm and android/arm6...

github.com/hack-pad/go - 4469557974a95b1f4bc1c700aee6779a0f15d22e authored over 2 years ago by Bryan C. Mills <[email protected]>
cmd/dist: log OS version when testing

As a follow-up to https://golang.org/cl/371474, add the OS version to
the metadata printed for e...

github.com/hack-pad/go - dbbe4cca5d7069482983316694334bdf2fe6a7ec authored over 2 years ago by Michael Pratt <[email protected]>
cmd/dist: log CPU model when testing

Knowing whether test failures are correlated with specific CPU models on
has proven useful on se...

github.com/hack-pad/go - 67f1a436b9c4055e02d9d031c6c2e9d6c9456bf0 authored over 2 years ago by Michael Pratt <[email protected]>
runtime/pprof: check if PC is reused for inlining

When describing call stacks that include inlined function calls, the
runtime uses "fake" PCs to ...

github.com/hack-pad/go - bd77d6e24048e5a8b7b07d2d0b7cf552d21905f5 authored over 2 years ago by Rhys Hiltner <[email protected]>
runtime, syscall: implement syscall.Pipe using syscall.Pipe2 on solaris

All other platforms providing the pipe2 syscall already implement it
that way. Do so as well on ...

github.com/hack-pad/go - c3c74777bc5dcd351af6dc4811011241efe07d21 authored over 2 years ago by Tobias Klauser <[email protected]>
os, internal/syscall/unix: consolidate Pipe implementations

All platforms with the pipe2 syscall now provide syscall.Pipe2. Use it
to implement os.Pipe.

T...

github.com/hack-pad/go - 085ef537c4a2c57d373e72f4a110d9fae9a287be authored over 2 years ago by Tobias Klauser <[email protected]>
syscall: add Pipe2 on solaris and use it for forkExecPipe

Other platforms already define Pipe2, so add it for solaris as well.

Change-Id: If0d2dfc9a36134...

github.com/hack-pad/go - de8ddd97accb417450db014d1f45723515cb5d80 authored over 2 years ago by Tobias Klauser <[email protected]>
cmd/compile/internal/syntax: don't try to parse files in GOROOT/.git

This test was failing locally in my clone of the go repo due to a Git
branch ending in ".go", wh...

github.com/hack-pad/go - e030833880b4ed20a7c153e6e58190c5649284ac authored over 2 years ago by Bryan C. Mills <[email protected]>
internal/fuzz: fix encoding for out-of-range ints and runes

Also switch float64 NaN encoding to use hexadecimal, and accept
hexadecimal encoding for all oth...

github.com/hack-pad/go - 7419bb3ebb8ea2b9b3745cdcbaf747e4dffc52ae authored over 2 years ago by Bryan C. Mills <[email protected]>
cmd/compile/internal/types2: more consistently print "check go.mod" if language version < 1.18

If you attempt to instantiate a generic type or func and run 'go build'
with a language version ...

github.com/hack-pad/go - d3070a767bc0ddfdca1f84e2018de1c906b817ca authored over 2 years ago by thepudds <[email protected]>
internal/bytealg: optimise compare on riscv64

Implement compare using loops that process 32 bytes, 16 bytes, 4 bytes
or 1 byte depending on si...

github.com/hack-pad/go - 291bda80e551289e0b8ed3209782ccb2a98a124b authored over 2 years ago by Joel Sing <[email protected]>
internal/bytealg: optimise memequal on riscv64

Implement memequal using loops that process 32 bytes, 16 bytes, 4 bytes
or 1 byte depending on s...

github.com/hack-pad/go - 3c42ebf3e2dccbe228b78ca2e157010a7d3c5b9d authored over 2 years ago by Joel Sing <[email protected]>
cmd/compile: allow fieldtrack of unexported fields

The fieldtrack support is experimental and used mainly inside Google,
where we have included thi...

github.com/hack-pad/go - 7fd9564fcd3715a2aaf2bf4df1096f71ff40ef15 authored over 2 years ago by Russ Cox <[email protected]>
crypto/rand: simplify Prime to use only rejection sampling

The old code picks a random number n and then tests n, n+2, n+4, up to
n+(1<<20) for primality b...

github.com/hack-pad/go - 0b76afc75ca687fcd9a1a8e0b19670fb8f37fecb authored over 2 years ago by Russ Cox <[email protected]>
spec: document that type inference doesn't apply to generic types

Type inference for types was always a "nice to have" feature.
Given the under-appreciated comple...

github.com/hack-pad/go - 6e63be7b69aab25ac66029e7dfec47303d3b7505 authored over 2 years ago by Robert Griesemer <[email protected]>
cmd/internal/obj/arm64: optimize stacksplit prologue for small stack

When framesize <= objabi.StackSmall, 128B, the stacksplit prologue is:
MOVD 16(g), R16
MOVD ...

github.com/hack-pad/go - 31be6285a879af94c7283e6599e3f9b64266bc1a authored over 2 years ago by eric fang <[email protected]>
fmt: use tabs for indentation

Replace 24 spaces added in CL 389434 with 3 tabs,
so the new line is indented like other lines a...

github.com/hack-pad/go - 0043c1efbb53e72cbd1b41c32812ca3c78d8e169 authored over 2 years ago by Dmitri Shuralyov <[email protected]>
internal/cpu: set PPC64.IsPOWER8

This should always be true, but use the HWCAP2 bit anyways.

Change-Id: Ib164cf05b4c9f0c509f41b7...

github.com/hack-pad/go - d9d55724bd8ff10d8de5c13fd77122a37ac73719 authored over 2 years ago by Paul E. Murphy <[email protected]>
[dev.boringcrypto] all: merge master into dev.boringcrypto

Change-Id: I4e09d4f2cc77c4c2dc12f1ff40d8c36053ab7ab6

github.com/hack-pad/go - f49279383901af656e40f225eb67ff62f507e13d authored over 2 years ago by David Chase <[email protected]>
io: add WriterTo to MultiReader

This patch allows to zerocopy using MultiReader.
This is done by MultiReader implementing Writer...

github.com/hack-pad/go - 079a027d27a9eed18c99c0c6a6e2fc70f9dd07b7 authored over 2 years ago by Jorropo <[email protected]>
spec: clarifications based on feedback

This change includes several smaller changes based on feedback
received so far.

These changes w...

github.com/hack-pad/go - 3bb90a278a09c889fe936b2c5053116e48312ba2 authored over 2 years ago by Robert Griesemer <[email protected]>
go/build: use static maps rather than an init func

go/build is one of the packages that contributes the most towards
cmd/go's init cost, which adds...

github.com/hack-pad/go - 38174b3a3514629b84dcd76878b2f536b189dd7b authored over 2 years ago by Daniel Martí <[email protected]>
go/types, types2: disable inference for type instances

Inference for type instances has dependencies on type-checking order
that can lead to subtle bug...

github.com/hack-pad/go - 28fab5ef21d8aef72634f9c251fbeb4039dababa authored over 2 years ago by Robert Findley <[email protected]>
go/types: document that predicates are undefined on generic types

Fixes #50887

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

github.com/hack-pad/go - 20dd9a42fb80ed4919d79bfb4644c16ab9e09e72 authored over 2 years ago by Robert Findley <[email protected]>
go/types, types2: record all type instances, even duplicates

Due to instance de-duplication, we were failing to record some type
instances in types.Info.Inst...

github.com/hack-pad/go - 43b09c096a33b8a3cd3477546c445e2c41efcfdf authored over 2 years ago by Robert Findley <[email protected]>
go/types, types2: don't crash in selectors referring to the type being declared

In Checker.typInternal, the SelectorExpr case was the only case that
didn't either set or pass a...

github.com/hack-pad/go - 114d5deac2f513a7397ab4c2ee8d2d567a901266 authored over 2 years ago by Robert Griesemer <[email protected]>
[dev.boringcrypto] misc/boring: add new releases to RELEASES file

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

github.com/hack-pad/go - 768804dfdd81b04a1184c86e538634872b907149 authored over 2 years ago by Carlos Amedee <[email protected]>
go/types, types2: correctly include comparable in type set intersection

The comparable bit was handled incorrectly. This CL establishes
a clear invariant for a type set...

github.com/hack-pad/go - 7dc6c5ec34ca6780e8eac1760116ff69d0c27d7a authored over 2 years ago by Robert Griesemer <[email protected]>
cmd/compile: remove duplicate const logic from typecheck

Now that we always use types2 to validate user source code, we can
remove the constSet logic fro...

github.com/hack-pad/go - dcb6547b76c5818b55294e203e8f5057794b23cf authored over 2 years ago by Matthew Dempsky <[email protected]>
runtime: print goid when throwing in gentraceback

This makes it easier to figure out where the crash is occurring.

Change-Id: Ie1f78a360367090dcd...

github.com/hack-pad/go - cc9d3f548a0265124766dfdb45e77cf05579219d authored over 2 years ago by Michael Pratt <[email protected]>
internal/fuzz: fix TestUnmarshalMarshal on MIPS

Previous value used in the float32 roundtrip used float32(math.NaN())-1
which caused the quiet/s...

github.com/hack-pad/go - 63bd6f68e6cbb237b46a99775103758afaee370a authored over 2 years ago by Roland Shoemaker <[email protected]>
test: add test case for #51521

The test case is already working with unified IR, so add it to make
sure we don't regress while ...

github.com/hack-pad/go - d1820f748f8d63da8ef602e53d1db224f072be8f authored over 2 years ago by Matthew Dempsky <[email protected]>
cmd/compile: add itabs to unified IR dictionaries

This CL changes unified IR to include itabs in its serialized
dictionary format.

Change-Id: I33...

github.com/hack-pad/go - ac3ba9790762113bbc4ce1e8068654ce9579d3d6 authored over 2 years ago by Matthew Dempsky <[email protected]>
test: additional generic type switch test coverage

None of the current generic type switch test cases exercise type
switches where the instantiated...

github.com/hack-pad/go - d168c4f29682e032a14bb8f5ca23af08a6834635 authored over 2 years ago by Matthew Dempsky <[email protected]>
cmd/compile: represent derived types with ir.DynamicType in unified IR

This CL switches unified IR to using ir.DynamicType for derived
types. This has an immediate eff...

github.com/hack-pad/go - 0e2f1abf5b764a4a3928a2f4f050144063c46a93 authored over 2 years ago by Matthew Dempsky <[email protected]>
flag: make tests silent

A few of the tests were printing garbage to stderr,
since FlagSet's default Output is os.Stderr:...

github.com/hack-pad/go - 8893175c3b5267f1eb70c518b5de6f03037c4d03 authored over 2 years ago by Daniel Martí <[email protected]>
cmd/compile: remove unneeded type alias code in unified IR

Before #46477, the Go generics proposal allowed `type T = U` where `U`
was an uninstantiated gen...

github.com/hack-pad/go - 82a65299050cb1146583c72350f841684256bb3c authored over 2 years ago by Matthew Dempsky <[email protected]>
cmd/compile: fix reentrancy issue in unified IR function body reading

We shouldn't need to read in function bodies for new functions found
during inlining, but someth...

github.com/hack-pad/go - 7c292ddf1f883698b3a0bab7004368cff62a04a5 authored over 2 years ago by Matthew Dempsky <[email protected]>
all: fix some typos

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

github.com/hack-pad/go - da2773fe3e2f6106634673a38dc3a6eb875fe7d8 authored over 2 years ago by Dan Kortschak <[email protected]>
fmt: clarify right-padded strings use spaces

Fixes #51419

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

github.com/hack-pad/go - 45f45444b307cea7c8330b100b30382e642e010f authored over 2 years ago by Adam Shannon <[email protected]>
math: don't use integer division that truncates to zero

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

github.com/hack-pad/go - 2981fc7f1676ca79e487ba3c1df06e5e60723483 authored over 2 years ago by Dan Kortschak <[email protected]>
syscall: use dup3 in forkAndExecInChild on OpenBSD

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

github.com/hack-pad/go - 55a60cadc3f5d01f76ac9435da2ed941e194a29b authored over 2 years ago by Tobias Klauser <[email protected]>
cmd/go: clarify error from 'go install' when arguments have mismatched versions and paths

Fixes #51196.

Change-Id: I0ee4d8234f11e4f3b71b81546518647e07fafd7d
GitHub-Last-Rev: 8fd1a77adff...

github.com/hack-pad/go - bf97c99b62fe7d6652cc8c807dbc91998d488a01 authored over 2 years ago by uji <[email protected]>
encoding/xml: improve the test coverage, fix minor bugs

Improve the test coverage of encoding/xml package by adding
the test cases for the execution pat...

github.com/hack-pad/go - e79c39f004769fc55e60c2fb052155486295d533 authored over 2 years ago by Iskander Sharipov <[email protected]>
internal/fuzz: handle Inf/NaN float values

Fixes #51258

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

github.com/hack-pad/go - 2b8aa2b734721487bb718ee5fb6080f51b57efd9 authored over 2 years ago by Roland Shoemaker <[email protected]>
crypto/sha512: fix stack size for previous change

In a recent change CL 388654 a function was updated so it
no longer needed stack space, but the ...

github.com/hack-pad/go - 7d7b9bbc7a37d3b83936a8caea08e0be7240a125 authored over 2 years ago by Lynn Boger <[email protected]>
doc/go1.19: mention use of EDNS(0)

For #51153

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

github.com/hack-pad/go - 797e8890463671b96fb0af8ed151101950d76999 authored over 2 years ago by Ian Lance Taylor <[email protected]>
syscall: remove TestRlimit

It's more trouble than it's worth. New code should be using x/sys/unix
anyhow.

Fixes #40564
Fix...

github.com/hack-pad/go - 1e122e3894bd12407b0043ab25c2a5f665b3f6e5 authored over 2 years ago by Ian Lance Taylor <[email protected]>
cmd/go: avoid rebuilding itself in TestMain

An extra "go build" was happening, for the sake of -tags=testgo,
which would insert some extra b...

github.com/hack-pad/go - ca384f76296af68b874cf9305a78ca5269c20956 authored over 2 years ago by Daniel Martí <[email protected]>
crypto/rand: use fast key erasure RNG on plan9 instead of ANSI X9.31

This should be a bit faster and slicker than the very old ANSI X9.31,
which relied on the system...

github.com/hack-pad/go - 46afa893ebf85e23dd820a11e6007a9adb503419 authored over 2 years ago by Jason A. Donenfeld <[email protected]>
crypto/rand: separate out plan9 X9.31 /dev/random expander

The X9.31 expander is now only used for plan9. Perhaps once upon a time
there was a use for abst...

github.com/hack-pad/go - c9b60632ebb08a428a9bd15a89798a693667cb05 authored over 2 years ago by Jason A. Donenfeld <[email protected]>
crypto/ed25519/internal/edwards25519: sync with filippo.io/edwards25519

Import the following commits (and minor comment fixes):

* 17a0e59 - field: fix heap escape ...

github.com/hack-pad/go - 27ec2bf0dd67a11036626cef26899df7280b0000 authored over 2 years ago by Filippo Valsorda <[email protected]>
runtime: support cgo traceback on linux arm64

Code essentially mirrors AMD64 implementation.

Change-Id: Ie97627a3041d1858fb1a30d2fc500302ab40...

github.com/hack-pad/go - 81767e23c2f0e3edf0a329d9f00f5683c9851692 authored over 2 years ago by eric fang <[email protected]>
cmd/go: add links to workspaces reference and tutorial to go help work

For #45713

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

github.com/hack-pad/go - 1eb1f621da20d7c93ac0312e59c08afbde4d9f56 authored over 2 years ago by Michael Matloob <[email protected]>
cmd/go: error out of 'go work use' if no directories are given

Otherwise, the behavior of 'go work use -r' (without arguments)
may be surprising.

Change-Id: I...

github.com/hack-pad/go - 4f8094386c3c015f6b6f3efc3a002d188433d388 authored over 2 years ago by Bryan C. Mills <[email protected]>
cmd/go: make paths consistent between 'go work init' and 'go work use'

Fixes #51448

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

github.com/hack-pad/go - 87a345ca3849a68de13f29bdc7628f2943734946 authored over 2 years ago by Bryan C. Mills <[email protected]>
runtime: remove fallback to pipe on platforms with pipe2

On Linux, the minimum required kernel version for Go 1.18 was be changed
to 2.6.32, see #45964. ...

github.com/hack-pad/go - 9d34fc5108d91bfcce3c465069dbb2c563af4229 authored over 2 years ago by Tobias Klauser <[email protected]>
runtime: count spill slot for frame size at finalizer call

The finalizer is called using reflectcall. When register ABI is
used, the finalizer's argument i...

github.com/hack-pad/go - 58804ea67a28c1d8e37ed548b685bc0c09638886 authored over 2 years ago by Cherry Mui <[email protected]>
syscall, runtime/internal/syscall: always return 0 in r2 on ppc64{,le} linux syscalls

Both endians perform syscalls similarly. Only CR0S0 and R3 hold
the resultant status of a syscal...

github.com/hack-pad/go - 78070ec3d44fdd8e60271abf31f056aeac919cc3 authored over 2 years ago by Paul E. Murphy <[email protected]>
api: update next.txt for binary.AppendByteOrder interface

CL 386017 added new API for encoding/binary package.
This file was accidentally not updated in t...

github.com/hack-pad/go - ef92828bb9ffd77d6f08e402225557256b11cfad authored over 2 years ago by Joe Tsai <[email protected]>
go/types, types2: fix scoping for iteration variables declared by range clause

Also correct scope position for such variables.
Adjusted some comments.

Fixes #51437.

Change-I...

github.com/hack-pad/go - d3fe4e193e387f250ba53a80f669eac465b1641d authored over 2 years ago by Robert Griesemer <[email protected]>
cmd/asm,cmd/compile: generate preferred nop on PPC64

The preferred form of nop is ori 0,0,0. What was being generated was
or 0,0,0.

Fix a quirk in t...

github.com/hack-pad/go - 86371b0360302b68c29f5eb39b02b82a52e0e341 authored over 2 years ago by Paul E. Murphy <[email protected]>
crypto/sha256: adapt ppc64le asm to work on ppc64

Workaround the minor endian differences, and avoid needing to
stack a frame as extra VSRs can be...

github.com/hack-pad/go - 29c1355326c372ddb873b7d62d33140deda1681c authored over 2 years ago by Paul E. Murphy <[email protected]>
runtime: fix 32B backward copy on ppc64x

The test to enter the 32b copy loop always fails, and execution
falls back to a single 8B/iterat...

github.com/hack-pad/go - d82c294da778a789099f3b52cd9c34ef0d798465 authored over 2 years ago by Paul E. Murphy <[email protected]>
sort: use a different codegen strategy

The existing codegen strategy in sort.go relied on parsing the sort.go source
with go/ast and a ...

github.com/hack-pad/go - da6f9a54edb85365bb345b057cdc26e2527401c8 authored over 2 years ago by Eli Bendersky <[email protected]>
crypto/aes: improve performance for aes-cbc on ppc64le

This adds an asm implementation of aes-cbc for ppc64le to
improve performance. This is ported fr...

github.com/hack-pad/go - 2c6700739a6275b78a6af62707fd41783622061b authored over 2 years ago by Lynn Boger <[email protected]>
cmd/go: ignore the workspace when running a package at a specified version

For #51390

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

github.com/hack-pad/go - 86b5f6a7be707b9d84108df6f459c7e84bf9dbac authored over 2 years ago by Bryan C. Mills <[email protected]>
testing: include ERROR_SHARING_VIOLATION in Windows cleanup retries

Fixes #51442
Updates #50051

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

github.com/hack-pad/go - eeb9f095dc13a6beed41db0e734b6ae1e97f15d1 authored over 2 years ago by Bryan C. Mills <[email protected]>
runtime: use stp/ldp to save and restore all registers on arm64

Async preemption needs to save and restore almost all of the registers,
currently this is done b...

github.com/hack-pad/go - 2e9facbdd44883221fc90b8057d0443d1a8109e9 authored over 2 years ago by eric fang <[email protected]>
net: send EDNS(0) packet length in DNS query

Advertise to DNS resolvers that we are willing and able to accept up
to 1232 bytes in a DNS pack...

github.com/hack-pad/go - 301fd8ac8b6cd93708ad536eb054e1b081982a9b authored over 2 years ago by Ian Lance Taylor <[email protected]>
cmd/compile: don't include instantiating types in type hash

This CL is a bit overkill, but it is pretty safe for 1.18. We'll
want to revisit for 1.19 so we ...

github.com/hack-pad/go - d3672054fb58d5eaa241f15fa9d7fb9d61e9ac05 authored over 2 years ago by Keith Randall <[email protected]>
doc: start draft of go1.19 release notes, move go1.18 to x/website

This template is based on CL 342070 and previous ones like it.
Continue to eagerly include often...

github.com/hack-pad/go - bcb89fc17a0ff8b588a8d413fa120cc89e053561 authored over 2 years ago by Carlos Amedee <[email protected]>
doc/go1.18: warn about possible breakage of 1.18 generic code

The Go 1 compatibility guarantee permits us to break code if there is
a specification error or a...

github.com/hack-pad/go - 2cb9e116d39176bd8a93609c63b175ac09eacea9 authored over 2 years ago by Ian Lance Taylor <[email protected]>
doc: mention change in append behavior

Introduced in CL 347917.

Change-Id: I99b34341f787e779bd45b967110e70a035fa6558
Reviewed-on: http...

github.com/hack-pad/go - 9eb14f1b0e748c74f6a7da4cd195db860928cfbc authored over 2 years ago by Keith Randall <[email protected]>
crypto/sha512: add BE support to PPC64 asm implementation

This adds big endian support for the assembly implementation of
sha512. There was a recent reque...

github.com/hack-pad/go - fc5b64e19b8e9719b88fd1a8e3a9fa033c5bc1b4 authored over 2 years ago by Lynn Boger <[email protected]>
encoding/binary: add AppendByteOrder

AppendByteOrder specifies new methods for LittleEndian and BigEndian
for appending an unsigned i...

github.com/hack-pad/go - 986b04c0f12efa1c57293f147a9e734ec71f0363 authored over 2 years ago by Joe Tsai <[email protected]>
reflect: allow Value.Bytes on addressable byte arrays

Modify Value.Bytes to be callable addressable byte arrays.
While related, the behavior of Value....

github.com/hack-pad/go - a5b8b56d1d05d186999e4abf1e2147b6aa203ec9 authored over 2 years ago by Joe Tsai <[email protected]>
cmd/go: allow users to specify required fields in JSON output

For #29666

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

github.com/hack-pad/go - ec4687f337465b719efdeef72b357fa0b05879bb authored over 2 years ago by Michael Matloob <[email protected]>
syscall: remove accept on Linux

accept is no longer used on Linux since CL 346849 changed Accept to use
accept4 only.

For #4596...

github.com/hack-pad/go - 6c6a8fb702fcf3c2d23dc68976a831b2bdcad03e authored over 2 years ago by Tobias Klauser <[email protected]>
encoding/json: use reflect.Value.UnsafePointer over Pointer

The latter returns a uintptr, while the former returns a unsafe.Pointer.
A uintptr is unsafe if ...

github.com/hack-pad/go - 5a03cbd12a2fcaf85482f1f4d9570c064510da9b authored over 2 years ago by Joe Tsai <[email protected]>
compress/gzip: return unexpected EOF for certain truncated streams

For cases where RFC 1952 requires a field, the code returns the error
io.ErrUnexpectedEOF except...

github.com/hack-pad/go - 4a13f6f42ded127dc0d097f7d1f89916cbd9e729 authored over 2 years ago by Phil Bracikowski <[email protected]>
cmd/link: don't generate typedef DWARF entry for noalg.struct{...}

cmd/compile uses "noalg.struct {...}" as type name when hash and eq algorithm generation of this...

github.com/hack-pad/go - f79a983891123f57dd7d37d09a51a287ac6d4cad authored over 2 years ago by MoZhonghua <[email protected]>
regexp: fix typo in the overview

Correct the slice expression in the description of Index functions.

Change-Id: I97a1b670c4c7e60...

github.com/hack-pad/go - 40e24a942bce7b10e23a7282e673ac8a758ca378 authored over 2 years ago by Jinwook Jeong <[email protected]>
unicode/utf8: optimize Valid to parity with ValidString

The benchmarks added in this change revealed that ValidString
runs ~17% faster than Valid([]byte...

github.com/hack-pad/go - fd2e1e743a86a53a30427cf3606543ecc9bd60bd authored over 2 years ago by Alan Donovan <[email protected]>
go/token: slight performance improvement for IsIdentifier

If name is empty or a keyword, we can skip the loop entirely.
Otherwise, we do the same amount o...

github.com/hack-pad/go - bebe9aa42322f951fc3972c263648297bf9e04d4 authored over 2 years ago by chanxuehong <[email protected]>
math/big: produce valid JSON in Int.MarshalJSON when nil

Fixes #50940.

Change-Id: Ie2a0c4505ca9d7e448017d9d00a020a6b3996be3
GitHub-Last-Rev: afd8c6b5598...

github.com/hack-pad/go - 9f1239b90a7a48c5dc68a7eee08d8e1fba56db80 authored over 2 years ago by cuiweixie <[email protected]>
go/types, types2: clarify a comment and add an extra test

Confirm that the current implementation of core type unification
looks correct and update the re...

github.com/hack-pad/go - 6da16b6ad5787a043fc9978d2d009934e3b2e165 authored over 2 years ago by Robert Griesemer <[email protected]>
go/types, types2: correctly consider ~ (tilde) in constraint type inference

When doing constraint type inference, we must consider whether the
constraint's core type is pre...

github.com/hack-pad/go - 0807986fe6bf6040bafa9c415ab72e4cc8e519a4 authored over 2 years ago by Robert Griesemer <[email protected]>
cmd/compile: include all entries in map literal hint size

Currently we only include static entries in the hint for sizing
the map when allocating a map fo...

github.com/hack-pad/go - aaa3d39f270d7b9957f34f3d2a68decba63beffe authored over 2 years ago by Keith Randall <[email protected]>