Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/hack-pad/go

The Go programming language
https://github.com/hack-pad/go

net/netip: add missing encoding.BinaryUnmarshaler to AddrPort and Prefix

The Addr type got an encoding.BinaryUnmarshaler implementation, but not
AddrPort and Prefix. Thi...

8f923a4e3c03829874b43291f2bdfd12e2d8189b authored almost 3 years ago by Jason A. Donenfeld <[email protected]>
net/netip: add Addr.AsSlice() method

We have AddrFrom4, AddrFrom6, AddrFromSlice and As4, As6, but we are
missing AsSlice, so this co...

d3a80c795e9368e9dfac4efb49e3ee041513d24a authored almost 3 years ago by Jason A. Donenfeld <[email protected]>
net: accept "." as a valid domain name

Fixes #45715

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

35a588109b2a6d8b610be08d32aaf99ef1549085 authored almost 3 years ago by Filippo Valsorda <[email protected]>
crypto/tls: set default minimum client version to TLS 1.2

Updates #45428

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

035963c7f5d82b5bf1501f407919031f815bd038 authored almost 3 years ago by Filippo Valsorda <[email protected]>
doc/go1.18: fill in Go 1.18 release note TODOs using relnote

For #47694.

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

f00b43f28c9c671637a67b412770acd8af133170 authored almost 3 years ago by Dmitri Shuralyov <[email protected]>
cmd/go: fix bugs in replacement path handling

These are tested in golang.org/cl/357169 and golang.org/cl/358540.

Change-Id: I5add3f202db71731...

755ede0c5b6a9398170e1da0dae94df1b98352aa authored almost 3 years ago by Michael Matloob <[email protected]>
crypto/x509: disable SHA-1 signature verification

Updates #41682

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

6b223e872a255b2722ea921c9d42adcbb5d1d4d5 authored almost 3 years ago by Filippo Valsorda <[email protected]>
net/http: adjust a substring which matches "uninteresting" goroutine

This change allows the check to pass unmodified under GopherJS, which
stack traces are formatted...

bb53fd740c599dd72c2abdab045ca34a9395ea13 authored almost 3 years ago by Nevkontakte <[email protected]>
unicode/utf8: add AppendRune Example

Also, correct TestAppendRune error message.

Change-Id: I3ca3ac7051af1ae6d449381b78efa86c2f6be8a...

75952abc6a8a8ad09e6bb1966c66b9a68b5d6c4e authored almost 3 years ago by jiahua wang <[email protected]>
errors: add errors.Unwrap example

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

fb8b1764d8e8afdaf5d8fd00af3720e42d96ad9c authored almost 3 years ago by jiahua wang <[email protected]>
time: fix looking for zone offset when date is close to a zone transition

The old implement passed start - 1 or end in func lookup to adjust the offset.But if the time is...

90462dfc3aa99649de90bb587af56a9cb0214665 authored almost 3 years ago by zhouguangyuan <[email protected]>
time: add some examples

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

ad6ce55a55ec445ac946e825532bde5784f8d72b authored almost 3 years ago by jiahua wang <[email protected]>
strings, bytes: deprecate Title

Title doesn't handle Unicode punctuation and language-specific
capitalization rules. Replace the...

7aed6dd7e18e2ad3ac0f4eb692188ed7a90b778b authored almost 3 years ago by smasher164 <[email protected]>
debug/plan9obj: export ErrNoSymbols

This allows callers of *File.Symbols to distinguish absence of symbols
from other errors as can ...

58ec92527041f88d427390a92619cd9a927b6aba authored almost 3 years ago by Dan Kortschak <[email protected]>
bytes: add example with (*Buffer).Cap, (*Buffer).Read, (*Buffer).ReadByte

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

3e9e02412e7770e46c7e725e17dee09a7d79f32c authored almost 3 years ago by jiahua wang <[email protected]>
net/http: distinguish between timeouts and client hangups in TimeoutHandler

Fixes #48948

Change-Id: I411e3be99c7979ae289fd937388aae63d81adb59
GitHub-Last-Rev: 14abd7e4d774...

4c7cafdd03426bc2b9fb1275d13d0abc755dde16 authored almost 3 years ago by Charlie Getzen <[email protected]>
time: make Ticker.Reset(0) panic

Fixes #49315

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

091948a55fb198be4202c21a5809ec68d77f70c4 authored almost 3 years ago by zhouguangyuan <[email protected]>
net/http: fix comment of writeRequest

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

dbd3cf884986c88f5b3350709c0f51fa02330805 authored almost 3 years ago by Keiichi Hirobe <[email protected]>
runtime: fix racy stackForceMove check

Currently, newstack loads gp.stackguard0 twice to check for different
poison values. The race wi...

71559a6ffd26031fe562b461d6472fdddbe617eb authored almost 3 years ago by Austin Clements <[email protected]>
[dev.boringcrypto] all: merge master into dev.boringcrypto

Change-Id: I1aa33cabd0c55fe64994b08f8a3f7b6bbfb3282c

ed07c49cb6198ac11e1cacd6b6602b813d75db9c authored almost 3 years ago by Roland Shoemaker <[email protected]>
cmd/go: don't assume case-insensitivity in TestScript/gcflags_patterns

For #30432

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

7be227ccd0213dd10d831f87c133bc8ac2cbdc73 authored almost 3 years ago by Bryan C. Mills <[email protected]>
crypt/aes: update formatting of ppc64le asm comments

This does not change any code, just reformats the comments in
the asm code.

Change-Id: I70fbfa7...

c353f1b41dc869210fda0cc0bd29d8587f1a5edf authored almost 3 years ago by Lynn Boger <[email protected]>
cmd/link: enable internal linking of PIE binaries on ppc64le

The amd64/arm64 relocation processing is used as a template
and updated for ppc64le.

This requi...

fa16efb8358e0cb23e285803075764abbdcffe5e authored almost 3 years ago by Paul E. Murphy <[email protected]>
crypto/elliptic: port P-224 and P-384 to fiat-crypto

Also, adopt addchain code generation for field inversion, and switch
P-521 to Montgomery multipl...

93bab8a2f918afa8417f7b46da69c21d643de880 authored almost 3 years ago by Filippo Valsorda <[email protected]>
runtime: skip TestNoShrinkStackWhileParking on netbsd/arm64

This test appears to deadlock frequently on the only netbsd-arm64
builder we have (netbsd-arm64-...

53bab198d93153f0123cb806ebb2b5c9ebbe8dc7 authored almost 3 years ago by Bryan C. Mills <[email protected]>
runtime: make consistentHeapStats acquire/release nosplit

consistentHeapStats is updated during a stack allocation, so a stack
growth during an acquire or...

df1837799d418eed6b4921cd1252dd8eae76cd98 authored almost 3 years ago by Michael Anthony Knyszek <[email protected]>
runtime: pace the scavenger according to 1% of overall CPU time

Currently the scavenger is paced to 1% of 1 CPU because it had
scalability problems. As of the l...

6f32d2050d7f0a9d0c529a1a7a21aa8c1d63fa20 authored almost 3 years ago by Michael Anthony Knyszek <[email protected]>
runtime: use a controller to control the scavenge rate

Currently the scavenge rate is determined by a bunch of ad-hoc
mechanisms. Just use a controller...

e48e4b4cbbe270bc43e4209dce10c9225254aa64 authored almost 3 years ago by Michael Anthony Knyszek <[email protected]>
runtime: add harddecommit GODEBUG flag

This change adds a new debug flag that makes the runtime map pages
PROT_NONE in sysUnused on Lin...

f063e0da28d441065d36f7d676f86d478f67db1f authored almost 3 years ago by Michael Anthony Knyszek <[email protected]>
runtime: don't hold the heap lock while scavenging

This change modifies the scavenger to no longer hold the heap lock while
actively scavenging pag...

4f543b59c5618abccf0e78a17a2aeb173c085a91 authored almost 3 years ago by Michael Anthony Knyszek <[email protected]>
syscall: fix mkall.sh for openbsd/386

CL 287654 converted the syscall package on openbsd/386 to use libc.
However, the mksyscall.pl in...

0bc98b3e9b3b6b55489bb9ffed54377e678eba28 authored almost 3 years ago by Tobias Klauser <[email protected]>
net/netip: optimize As4 and As16

name old time/op new time/op delta
As16-8 2.88ns ± 3% 2.16ns ± 3% -25.19% (p=0.000 n=15...

37951d888152c6f3a2e4c11c609bfb0fbad6b15d authored almost 3 years ago by Josh Bleecher Snyder <[email protected]>
runtime: fix a lock rank ordering and some edges.

The first stack-trace in #49361 shows that traceBuf must precede fin in
lockrank ordering, since...

62c6ff4296fa5919a208552c57b44e4710b4e5e1 authored almost 3 years ago by Dan Scales <[email protected]>
[dev.boringcrypto] misc/boring: add new releases to RELEASES file

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

dc2658558d2fe31e1bd5068a8ea43689da4cf900 authored almost 3 years ago by Heschi Kreinick <[email protected]>
net/netip: don't accept ParseAddr with leading zeros

Fixes #49365
Updates #30999

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

3796df1b13c6be62ca28244dcd6121544770e371 authored almost 3 years ago by Brad Fitzpatrick <[email protected]>
runtime: mark TestTracebackArgs test functions nosplit

The argument liveness tests expect outputs where a dead stack slot
has a poisoned value. If the ...

c58417b97f2b8d16176ddd294ae4471f834ab4d6 authored almost 3 years ago by Cherry Mui <[email protected]>
cmd/compile: only update source type when processing struct/array

CL 360057 fixed missing update source type in storeArgOrLoad. However,
we should only update the...

f249fa27a9117dd5986f35463fc6a1467ecc72bb authored almost 3 years ago by Cuong Manh Le <[email protected]>
net: skip new alloc test on some builders

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

a0d661ab0ff896abe45d6d4e79cb71df233c5319 authored almost 3 years ago by Brad Fitzpatrick <[email protected]>
cmd/compile: gracefully fallback when inline bodies are missing

Currently, we rely on a "crawling" step during export to identify
function and method bodies tha...

6fefb7f9f3b632bdd0c3997ecc5b1096a5077cdf authored almost 3 years ago by Matthew Dempsky <[email protected]>
internal/poll: fix the wrong function names in comments

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

b68c02e2919aec347438a7ec6512b0d2accd163f authored almost 3 years ago by Andy Pan <[email protected]>
bufio: fix typo in comment

Change-Id: I6074334bc73ee1773fc83d049142ad764e39e5a9
GitHub-Last-Rev: 6a8789318ab132a169a89be807...

3b5add5d683572a81ed57007612bc2c712aa7789 authored almost 3 years ago by lgbgbl <[email protected]>
crypto/ecdsa: draw a fixed amount of entropy while signing

The current code, introduced in CL 2422, mixes K bits of entropy with
the private key and messag...

0a5ca2422f14f9c17a017207feb9f83f94ce0e89 authored almost 3 years ago by Filippo Valsorda <[email protected]>
runtime: add a maymorestack hook that moves the stack

This adds a maymorestack hook that moves the stack at every
cooperative preemption point.

For #...

bd580a0d10729553a7905481d17eed0436198866 authored almost 3 years ago by Austin Clements <[email protected]>
runtime: add always-preempt maymorestack hook

This adds a maymorestack hook that forces a preemption at every
possible cooperative preemption ...

35c7234601c409a1d1595e4eb9fe72e8ba4e6464 authored almost 3 years ago by Austin Clements <[email protected]>
cmd/{asm,compile,internal/obj}: add "maymorestack" support

This adds a debugging hook for optionally calling a "maymorestack"
function in the prologue of a...

3839b6001470f7bc73c9a80f6458f7111ae3d9cc authored almost 3 years ago by Austin Clements <[email protected]>
cmd/compile,cmd/internal/objabi: move -d flag parser to objabi

This moves and slightly generalizes the -d debug flag parser from
cmd/compile/internal/base to c...

1c4cfd80109da81a2c6cf49b4d3ff49c45af8e03 authored almost 3 years ago by Austin Clements <[email protected]>
runtime: use correct constant when computing nsec remainder

A code comment on amd64 for windows and plan9 contained a snippet for
splitting apart the sec an...

0e5f287fde7b2cf11c8cffb7839f970a8f3e2f9b authored almost 3 years ago by Jason A. Donenfeld <[email protected]>
sync/atomic: disable GC during TestHammerStoreLoad

TestHammerStoreLoad involves a stress test of StorePointer, which has a
write barrier. The "poin...

256a8fc6ef297f2a2cec0cb7c918f61706b6f9a3 authored almost 3 years ago by Michael Anthony Knyszek <[email protected]>
net: add UDP allocs test

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

76c48e9346bba98689e059aaee5952c17d45a48c authored almost 3 years ago by Josh Bleecher Snyder <[email protected]>
internal/poll: re-use RawSockaddrAny buffers across requests on windows

We were re-allocating a new RawSockaddrAny on every UDP read/write.
We can re-use them instead.
...

1e0c3b28777420e5af73f40d4cad691ad8c43513 authored almost 3 years ago by Josh Bleecher Snyder <[email protected]>
net: pass around pointers to SockaddrInetN

...instead of the structs themselves.
Escape analysis can handle this,
and it'll avoid a bunch o...

8ad0a7e7853ffea6140e942ea5f553061d3423c2 authored almost 3 years ago by Josh Bleecher Snyder <[email protected]>
net: remove the alloc from ReadMsgUDPAddrPort

name old time/op new time/op delta
ReadWriteMsgUDPAddrPort-8 ...

37634eeff9b7510d2eb224397c2bc8c806da83e1 authored almost 3 years ago by Josh Bleecher Snyder <[email protected]>
net: remove the alloc from WriteMsgUDPAddrPort

name old time/op new time/op delta
ReadWriteMsgUDPAddrPort-8 5.12...

bfd74fd4228009bb9243c1836f9886ba1ad56e15 authored almost 3 years ago by Josh Bleecher Snyder <[email protected]>
runtime: fix hard goal calculation

The new GC pacer has a bug where the hard goal isn't set in relation to
the original heap goal, ...

156abe51221c5723c3ff524ea0fcbe65d8272bfa authored almost 3 years ago by Michael Anthony Knyszek <[email protected]>
cmd/go: clarify errors for pseudo-version commit length

These error messages contain the expected shortened revision in braces,
but don't explicitly tel...

2c32f29f2f88e56f329547467090e7315cd3c1e8 authored almost 3 years ago by Matthias Dötsch <[email protected]>
cmd/go: ensure that 'go test' prints the FAIL line for a package on a new line

Fixes #49317

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

71fc881cff79d0f3b352c20b947f4911892864fa authored almost 3 years ago by Bryan C. Mills <[email protected]>
test: fix indentation for -shuffle help text

The help text for the go test -shuffle flag is not indented like the
other flags. This patch bri...

82481525280e4d0c74cb3f6341ce2f4653a165b8 authored almost 3 years ago by Simon Law <[email protected]>
cmd/go: download fewer dependencies in 'go mod download'

In modules that specify 'go 1.17' or higher, the go.mod file
explicitly requires modules for all...

1f9dce749db804a8cce767adde3701378db1461c authored almost 3 years ago by Bryan C. Mills <[email protected]>
crypto/elliptic: tolerate large inputs to IsOnCurve methods

The behavior of all Curve methods and package functions when provided an
off-curve point is unde...

978e39e9e647d7359a41ac32992ef6ff5380be08 authored almost 3 years ago by Filippo Valsorda <[email protected]>
cmd/compile: fix TypeDefn to deal with node with no Ntype set

Adjust TypeDefn(), which is used by reportTypeLoop(), to work for nodes
with no Ntype set (which...

99699d14fe538f6886948ee6d3cc57f7f2a9bff7 authored almost 3 years ago by Dan Scales <[email protected]>
runtime: set and clear only the relevant bits in allocToCache

Currently allocToCache ham-handedly calls pageAlloc.allocRange on the
full size of the cache. Th...

6d1fffac6388d965616520eb23f36885760d5b66 authored almost 3 years ago by Michael Anthony Knyszek <[email protected]>
runtime: update and access scavengeGoal atomically

The first step toward acquiring the heap lock less frequently in the
scavenger.

Change-Id: Idc6...

fc5e8cd6c9de00f8d7da645343934c548e62223e authored almost 3 years ago by Michael Anthony Knyszek <[email protected]>
internal/fuzz: fix internal error handling

This doesn't handle every possible scenario,
but improves the one we can control. For example,
i...

9b2dd1f7714b38f1bfe25676357b62c1bb4cad64 authored almost 3 years ago by Katie Hockman <[email protected]>
internal/buildcfg: enable the pacer redesign by default

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

961aab26bffece299f1528b44d260ea0a921ac56 authored almost 3 years ago by Michael Anthony Knyszek <[email protected]>
runtime: implement GC pacer redesign

This change implements the GC pacer redesign outlined in #44167 and the
accompanying design docu...

a108b280bc724779ebaa6656d35f0fb307fb2a9b authored almost 3 years ago by Michael Anthony Knyszek <[email protected]>
cmd/link: don't use label symbol for absolute address relocations on ARM64 PE

On ARM64 PE, when external linking, the PE relocation does not
have an explicit addend, and inst...

988efd58197205060ace508d29984fbab6eb3840 authored almost 3 years ago by Cherry Mui <[email protected]>
internal/fuzz: improve minimizing message

In order to know the actual number of bytes
of the entire corpus entry, the coordinator
would li...

5af93a2d1556226656f003f65ac1de034b8fb55f authored almost 3 years ago by Katie Hockman <[email protected]>
net/netip: fix various typos in comment

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

b2149ac336987940b3f14c50c064a43bf9a761de authored almost 3 years ago by jiahua wang <[email protected]>
runtime: clear upper half of sec in ARM walltime

https://golang.org/cl/246763 accidentally changed this to assign the old
value of vdsoPC to the ...

577287728a8e8abbcbc6c96fdd49feb5a99ced0c authored almost 3 years ago by Michael Pratt <[email protected]>
cmd/pprof: update vendored github.com/google/pprof

Pull in the latest published version of github.com/google/pprof
as part of #36905.

This adds th...

6e7b82a4bbd08e5724a29e204faf97342a0b6a15 authored almost 3 years ago by Dmitri Shuralyov <[email protected]>
cmd/compile/internal/types2: check non-generic conversions first

This enables the elimination of convertibleToImpl again,
with the code structure close to the or...

f934b8326f18c4be2cb26ed1e87621d926ba209b authored almost 3 years ago by Robert Griesemer <[email protected]>
cmd/compile: don't inline fn with no shape params, but passed a shape arg

Don't inline a function fn that has no shape parameters, but is passed
at least one shape arg. T...

6ba68a0581d537edfd6eb2e5675c408f18eb4eed authored almost 3 years ago by Dan Scales <[email protected]>
cmd/doc, go/doc: add basic support for generic code

Update cmd/doc and go/doc for the generics, by adding handling for type
parameters and the new e...

00d6d2037ee1bf4b6959219120b79b7c01244b02 authored almost 3 years ago by Robert Findley <[email protected]>
runtime: allow builtin write function to be redirected with function pointer

The x/sys/windows package currently uses go:linkname for other facilities
inside of runtime that...

901bf291bc90819cb6dad76064475cf9ecbc9651 authored almost 3 years ago by Jason A. Donenfeld <[email protected]>
net/http: reduce TestClientTimeout_h{1,2} latency

The test had been setting an arbitrary 200ms timeout to allow the
server's handler to set up bef...

a3f7be9b8cee00aa281a0bedeae22b4cd4bc64dd authored almost 3 years ago by Bryan C. Mills <[email protected]>
runtime: do not generate crash dump on Windows 7

It appears Windows 7 ignores WER_FAULT_REPORTING_NO_UI WerSetFlags
API flag.

And now after CL 3...

2622235a99800d1d7add47c5c138f5efbe51361c authored almost 3 years ago by Alex Brainman <[email protected]>
cmd/compile/internal/types2: implement compiler helper functions without using under

These functions are exported for the compiler and are used after
type checking is finished. Ther...

2cf85b1fb8b3b6629b834016735ddeaaf7b96fda authored almost 3 years ago by Robert Griesemer <[email protected]>
cmd/compile/internal/types2: minor cleanups in predicates.go

- reordered some functions for better organization
- renamed single arguments typ to t for consi...

5fd0c49a4d8cd3bfff3c06e17a0fd9c41bc2f64a authored almost 3 years ago by Robert Griesemer <[email protected]>
cmd/compile/internal/types2: rename is_X predicates back to isX (step 2 of 2)

This is s/is_/is/ throughout. No other changes.

Change-Id: I1be77a209133edc68a6dec0677a4991a768...

ad2044a498cbbb211fe14fd4eeb0a63709363cfc authored almost 3 years ago by Robert Griesemer <[email protected]>
cmd/compile/internal/types2: rename isX predicates to allX, add simple is_X (step 1 of 2)

Rename the isX predicates to allX to clearly identify that these
predicates are looking inside t...

9e4e23c724bc2145c5aee6edf3ec60cc322047cc authored almost 3 years ago by Robert Griesemer <[email protected]>
cmd/compile/internal/types2: remove qualification from type parameter strings

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

For #49215.

Change-Id: If20779c862b...

747e4afe0756cefd4281ba77855c6666e07beabf authored almost 3 years ago by Robert Griesemer <[email protected]>
cmd/compile: fix missing update source type in storeArgOrLoad

After removing trivial wrapper types, the source needs to be updated
with new type, otherwise, i...

bd49a998bf68609259c155cd7b9f4ed76d948a0d authored almost 3 years ago by Cuong Manh Le <[email protected]>
syscall: fix and document uses of RegEnumKeyEx

RegEnumKeyEx has an undocumented requirement that subsequent calls need
to be made from the same...

d9bb5f6f109a4342c52958f30acfc3f3d633ee4f authored almost 3 years ago by Michael Anthony Knyszek <[email protected]>
cmd/compile: add extra test for the non-mono pass

Just add a test for another function that is not monomorphisable, which
comes from the Featherwe...

240df188d67edc3df498a77bf99d3152244c14ab authored almost 3 years ago by Dan Scales <[email protected]>
go/types: remove qualification from type parameter strings

Type parameters only exist within the scope of a type or function
declaration, so there is reall...

e72d7150cb7f62edf6768ac5f33194d7f96443a1 authored almost 3 years ago by Robert Findley <[email protected]>
cmd/trace: use fmt.Print for newline-ending fixed string

This redundancy is now caught by the improved printf vet checker.

Updates #49322

Change-Id: Ic...

1292e212416f5bca1f32d3ec0679b7dae97f6f1b authored almost 3 years ago by Zvonimir Pavlinovic <[email protected]>
cmd/compile/internal/syntax: better error message when type parameters are not permitted

Fixes #48382.

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

a419f2f5c364031e2f65a9f031e8bb52e9c22fc9 authored almost 3 years ago by Robert Griesemer <[email protected]>
cmd/cover: use fmt.Print for newline-ending fixed string

This redundancy is now caught by the improved printf vet checker
(golang/go#30436).

Updates #49...

9cf671106721451af4a556dc0bf56c133836d008 authored almost 3 years ago by Zvonimir Pavlinovic <[email protected]>
syscall: unify unix Recvmsg epilogues

These were identical. This is a preliminary step
towards remove allocs per UDP receive.

Change-...

91962dfde1a754a0ccdc514c9a2acfae25fc1f5e authored almost 3 years ago by Josh Bleecher Snyder <[email protected]>
syscall: unify unix Sendmsg prologues

These were identical. This is a preliminary step
towards remove allocs per UDP send.

Change-Id:...

be0cd9e5ec01141def07412b0ef3fa0d3f8cba9d authored almost 3 years ago by Josh Bleecher Snyder <[email protected]>
internal/poll: remove alloc sending IPv6 UDP on Windows

This was an oversight in CL 331511.

Change-Id: Ibc20bf6ea80a8675d43d9691ed551dffab1d9215
Review...

604963052072d7895138c78751c477cf25625e7d authored almost 3 years ago by Josh Bleecher Snyder <[email protected]>
net/netip: fix various typos in comments

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

fa19146038e0e94480c93d43e2a8306c419d5119 authored almost 3 years ago by Jason A. Donenfeld <[email protected]>
database/sql: fix tx.Prepare documentation

Fixes: #45978
Change-Id: I3d5ccd621d670f97bb1a642b4e84b6629347a315
Reviewed-on: https://go-revie...

283373d124b39be62fb4dc0349ddf0cb1c99aeb7 authored almost 3 years ago by Mostafa Solati <[email protected]>
database/sql: use errors.Is when checking ErrBadConn

When drivers return driver.ErrBadConn, no meaningful
information about what the cause of the pro...

1f368d5b860b178bcbd55dfeb64474295263516b authored almost 3 years ago by Daniel Theophanes <[email protected]>
syscall: migrate new UDP send/recv API to internal/syscall/unix

CL 331490 and friends added new API to package syscall.
This was a mistake that we need to fix b...

d3f5dd57811ca6c55654e67c58cf594fc2e5091e authored almost 3 years ago by Josh Bleecher Snyder <[email protected]>
cmd/compile: fix up shape type package

Use go.shape instead of .shape as the package the compiler uses
to store shape types.

Prevent p...

7f2463cc363fe8dbcbb89d521d1ede650de86c9b authored almost 3 years ago by Keith Randall <[email protected]>
database/sql: Fix idle connection reuse

Fix idle connection reuse so that ConnMaxIdleTime clears down excessive
idle connections.

This ...

74f99d0933d5c201fc17d90ab612cd1a9c7d425f authored almost 3 years ago by Steven Hartland <[email protected]>
runtime: on windows, read nanotime with one instruction or issue barrier

On 64-bit, this is more efficient, and on ARM64, this prevents the time
from moving backwards du...

cfd016df1fba2a2a104f4cca705aa4357777986b authored almost 3 years ago by Jason A. Donenfeld <[email protected]>
cmd/compile: make pointers to arrays their own shape

Pointers to arrays can be used to cast from a slice. We need
the shape of such type params to be...

d4e0e8e4a41e5e1e7d0359287a1015791ce778ed authored almost 3 years ago by Keith Randall <[email protected]>
internal/fuzz: improve error for mismatched types

Fixes #48635

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

e0e6e4d23fe840c2c9b4caed30930cad6788b797 authored almost 3 years ago by Katie Hockman <[email protected]>