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

runtime: add ABIInternal to strhash and memhash on riscv64

This CL fixes regression of strhash and memhash on riscv64

Change-Id: Icc10431a8199c8b1eb7b440c...

96c8cc7fea94dca8c9e23d9653157e960f2ff472 authored over 2 years ago by Meng Zhuo <[email protected]>
os: use a lower file count for TestOpenFileLimit on openbsd

OpenBSD has a default soft limit of 512 and hard limit of 1024 - as such,
attempting to open 120...

e6dfdbd11d5dcc9f918150552f50ca6cd524b89b authored over 2 years ago by Joel Sing <[email protected]>
runtime: support for debugger function calls on linux/arm64

This CL adds support for debugger function calls on linux arm64
platform. The protocol is basica...

9717e8f80f973e747a6c6e4a938c7f2a091a9b50 authored over 2 years ago by eric fang <[email protected]>
runtime/race: add s390x .syso file

Built using racebuild.

Note that racebuild fails when trying to test the .syso, because the
Go ...

7c680974c66ca23f837cb4bee5587df8b05418c7 authored over 2 years ago by Keith Randall <[email protected]>
regexp/syntax: rename ErrInvalidDepth to ErrNestingDepth

The proposal accepted the name ErrNestingDepth.

For #51684

Change-Id: I702365f19e5e1889dbcc3c9...

0bf545e51f5303ddedb0ea60f02ff221ac088fc7 authored over 2 years ago by Ian Lance Taylor <[email protected]>
net: eliminate a deadlock on the failure path in TestNotTemporaryRead

This fixes a deadlock-on-failure that I probably introduced in
CL 385314.

This doesn't explain ...

8e1a9c34ab7ae73f6c7d6fad10a37f1738a1e86a authored over 2 years ago by Bryan C. Mills <[email protected]>
[dev.boringcrypto] misc/boring: skip long tests during build.release

In CL 397477 I merged long tests into the built-in cmd/release flow.
Skip them during the boring...

ca6fd39cf6498d4507fc7cdaced55620c283a503 authored over 2 years ago by Heschi Kreinick <[email protected]>
runtime/internal/syscall: use ABIInternal for Syscall6 on amd64

This is an exact copy of CL 401096 after fixing #52472 in CL 401654.

For #51087
For #52472

Cha...

3e732411e5e0679af5375a3cbd84c41ef5cd2430 authored over 2 years ago by Michael Pratt <[email protected]>
syscall: define Syscall6 in terms of RawSyscall6 on linux

This is an exact copy of CL 388478 after fixing #52472 in CL 401654.

For #51087
For #52472

Cha...

808d40d7809a46703f43fc2d6911957135f4563c authored over 2 years ago by Michael Pratt <[email protected]>
runtime: skip TestNoShrinkStackWhileParking on openbsd

The test has proven to be flaky on OpenBSD since March, and there
hasn't been progress on resolv...

534a911338a05b74b5c419080d563c6ae06d6dc8 authored over 2 years ago by Dmitri Shuralyov <[email protected]>
go/types: use error_.errorf for reporting related error information

Use error_.errorf for reporting related error information rather than
inlining the "\n\t". This ...

32275013645aa3d5dc0fa9f2ed529bc201b79759 authored over 2 years ago by Robert Findley <[email protected]>
go/types: introduce the error_ type to match types2

To begin aligning with types2 error reporting, use an error_ type to
hold unevaluated error info...

65d7345e8ba77bea9dd3d694d0015308416e3280 authored over 2 years ago by Robert Findley <[email protected]>
go/types: remove unnecessary indirection when reporting errors

Checker.err was only called to report errors created with
Checker.newError or Checker.newErrorf....

1899472647513e6a63a95481493c45c579ec0cd8 authored over 2 years ago by Robert Findley <[email protected]>
Revert "cmd/compile: enable Asan check for global variables"

This reverts CL 321715.

Reason for revert: broke cmd/go.TestScript/install_msan_and_race_requir...

507b70d1e879ed51830d1f64f534c685b8ee1b13 authored over 2 years ago by Bryan Mills <[email protected]>
Revert "net: permit use of Resolver.PreferGo, netgo on Windows and Plan 9"

This reverts CL 400654.

Reason for revert: broke net.TestGoLookupIP on the darwin-amd64-nocgo b...

440c9312c821d1c116746d46cf05655cb2c1bc39 authored over 2 years ago by Bryan Mills <[email protected]>
internal/bytealg: optimize cmpbody for ppc64le/ppc64

Vectorize the cmpbody loop for bytes of size greater than or equal
to 32 on both POWER8(LE and B...

78fb1d03d39e8357e4790a9f0788ef0a8e7d8ae1 authored over 2 years ago by Archana R <[email protected]>
cmd/compile: enable Asan check for global variables

With this patch, -asan option can detect the error memory
access to global variables.

So this p...

1e5987635cc8bf99e8a20d240da80bd6f0f793f7 authored over 2 years ago by fanzha02 <[email protected]>
internal/bytealg: port bytealg functions to reg ABI on riscv64

This CL adds support for the reg ABI to the bytes functions for
riscv64. These are initially und...

be1d7388b349e86bc2fc1b8769902875e732918f authored over 2 years ago by Meng Zhuo <[email protected]>
runtime/cgo: remove stdlib.h warning workaround on darwin

CL 205457 added the flag -Wno-nullability-completeness to work
around a user-reported build brea...

bf19163a545c3117ab3c309a691f32a42cf29efd authored over 2 years ago by Bryan C. Mills <[email protected]>
net/netip: fix Addr.Unmap reference in Addr.Is4 godoc comment

In CL 339309 this was probably copied from the respective godoc comment
in package inet.af/netad...

c9031a44b2cf734e6d1f64c31d6ee3a34ca1a9cc authored over 2 years ago by Tobias Klauser <[email protected]>
regexp: change ErrInvalidDepth message to match proposal

Also update the file in $GOROOT/api/next to use proposal number.

For #51684

Change-Id: I28bfa6...

575fd8817ae9817303a69065def80c574718169e authored over 2 years ago by Ian Lance Taylor <[email protected]>
net: permit use of Resolver.PreferGo, netgo on Windows and Plan 9

Fixes #33097

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

c510cd92cf69df3cdc224b930490274ce1b6e2ac authored over 2 years ago by Brad Fitzpatrick <[email protected]>
reflect: make more Value methods inlineable

The following Value methods are now inlineable:

Bool for ~bool
String for ~string (but...

67d6be139c77b63395d8c1fa29cdae8d34635f3e authored over 2 years ago by Joe Tsai <[email protected]>
cmd/compile: Unify & improve struct comparisons

Partially fixes https://github.com/golang/go/issues/38674

The first commit has the actual unifi...

3c29aca43630da1604c3378d2351050f23655268 authored over 2 years ago by Derek Parker <[email protected]>
test/typeparam: fix copyright message

Change-Id: Ia0a4be56d4e1fbfc73e6ce24f01a658c89a74adb
GitHub-Last-Rev: dd95e50c4b37a031d3ee852bbb...

555bed939d878db4c6fd60f2fef0577273dd05a7 authored over 2 years ago by mkontani <[email protected]>
bufio: implement large write forwarding in Writer.WriteString

Currently bufio.Writer implements forwarding to the underlying Writer
for large writes via Write...

21e1ffe7bc7793a8f1c1fca4dfa32f1f3f70681c authored over 2 years ago by Carlo Alberto Ferraris <[email protected]>
reflect: in assignTo only allocate target if needed

Also correct parameter name in comment.

Change-Id: Ic9486e08c2eea184faccf181cda7da808793def6
Re...

01837ca7eb7d83dcbf760c032e1b25320f200510 authored over 2 years ago by Ian Lance Taylor <[email protected]>
syscall: define Syscall in terms of RawSyscall on linux

This is a re-do of CL 388477, fixing #52472.

It is unsafe to call syscall.RawSyscall from sysca...

bb004a179a034c799809f42d525801ec4a791987 authored over 2 years ago by Michael Pratt <[email protected]>
cmd/trace: embed static content

cmd/trace is currently somewhat painful to use in odd environments since
it depends on the prese...

889a902d215c57fe2032181370a9a2c30c531c99 authored over 2 years ago by Michael Pratt <[email protected]>
go/format: skip go/ast's object resolution

Just like https://golang.org/cl/401454 removed the work from gofmt for a
nice ~5% speed-up in th...

430ae97a2599e840bdeb934d5be171efb4a41272 authored over 2 years ago by Daniel Martí <[email protected]>
cmd/gofmt: only resolve go/ast objects when needed

go/parser will by default resolve objects as per the go/ast.Object type,
which is then used by g...

f5af1e83a526146a12af48df9d5c9851e24569d7 authored over 2 years ago by Daniel Martí <[email protected]>
crypto/x509: revert serial length restriction

This reverts CL400377, which restricted serials passed to
x509.CreateCertificate to <= 20 octets...

4d96c3cdadb7de81ced18eceaa906f35730523f4 authored over 2 years ago by Roland Shoemaker <[email protected]>
Revert "syscall: define Syscall in terms of RawSyscall on linux"

This reverts CL 388477, which breaks cmd/go
TestScript/cover_pkgall_runtime.

For #51087.
For #5...

aac1d3a1b12a290805ca35ff268738fb334b1ca4 authored over 2 years ago by Michael Pratt <[email protected]>
Revert "syscall: define Syscall6 in terms of RawSyscall6 on linux"

This reverts CL 388478. Parent CL 388477 breaks cmd/go
TestScript/cover_pkgall_runtime.

For #51...

d35ec0b899fe1013af49adb92ef789e25797c2eb authored over 2 years ago by Michael Pratt <[email protected]>
Revert "runtime/internal/syscall: use ABIInternal for Syscall6 on amd64"

This reverts CL 401096. Grandparent CL 388477 breaks cmd/go
TestScript/cover_pkgall_runtime.

Fo...

347534343b114d9183efeefcb1d49458e1e8e34f authored over 2 years ago by Michael Pratt <[email protected]>
misc/cgo/test: remove timing dependency from TestParallelSleep

Rename it TestIssue1560 since it no longer sleeps.

For #1560
Fixes #45586

Change-Id: I338eee9d...

a4ded4b5ff90a58d1ecf55914af941c468a502f1 authored over 2 years ago by Ian Lance Taylor <[email protected]>
cmd/go: add a better error message when in a module outside workspace

When the user is trying to list or build a package in a module that's
outside of the workspace p...

f95db21332118134973ba046c4f5d0e890e36066 authored over 2 years ago by Michael Matloob <[email protected]>
runtime/internal/syscall: use ABIInternal for Syscall6 on amd64

For #51087.

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

5b32a6f1793bbac820bc70066cb8f569edcaa982 authored over 2 years ago by Michael Pratt <[email protected]>
syscall: define Syscall6 in terms of RawSyscall6 on linux

For #51087

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

a56e2f672bda459b95cc9b2f287f895424643102 authored over 2 years ago by Michael Pratt <[email protected]>
syscall: define Syscall in terms of RawSyscall on linux

For #51087

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

64e69d3925e2d1f3fb903a2b4f422cf1cbc49ec1 authored over 2 years ago by Michael Pratt <[email protected]>
syscall: define RawSyscall in terms of RawSyscall6 on linux

For #51087

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

f7b12ff6fbad25ea30ae9f16dd1443eb9b76766d authored over 2 years ago by Michael Pratt <[email protected]>
runtime/internal/syscall, syscall: replace RawSyscall6 with runtime implementation on linux

For #51087

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

15602e88658a9dd43cec4220e01ef408d273f028 authored over 2 years ago by Michael Pratt <[email protected]>
syscall: move Syscall declarations to OS files

Future CLs will be changing the provenance of these functions. Move the
declarations to the indi...

1de1c0d10df18f4fda46aff82aadd9edfba2b751 authored over 2 years ago by Michael Pratt <[email protected]>
cmd/compile: add //go:uintptrkeepalive

This CL exports the existing ir.UintptrKeepAlive via the new directive
//go:uintptrkeepalive. Th...

342b495301bbd8b75c2721212a08ce41e3f82265 authored over 2 years ago by Michael Pratt <[email protected]>
test: rename live_syscall.go to live_uintptrkeepalive.go

CL 388095 will change this file significantly. Move it preemptively to
ensure git tracks the mov...

e25a5ce120673835a7e6c92bf0d88f44a61e9079 authored over 2 years ago by Michael Pratt <[email protected]>
go/build: replace a call to os.Environ with (*exec.Cmd).Environ

This is a code simplification using the new API added in #50599.

Change-Id: Icb9628bcd0daa3dc2d...

9de57244e1708cbdac5b8d53e5cf7eea788f3f33 authored over 2 years ago by Bryan C. Mills <[email protected]>
cmd/go: replace some calls to base.AppendPWD with cmd.Environ

With #50599 implemented, base.AppendPWD is redundant if cmd.Env would
otherwise be nil, and call...

824b0a34b7b4fbda1de9f5dbb39c3b33458bc541 authored over 2 years ago by Bryan C. Mills <[email protected]>
net: use fastrand64 in randInt

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

a4bbcd4b1fc9dd40e0f86416d37bdd9e6d430f3f authored over 2 years ago by zhangyunhao <[email protected]>
runtime: use fastrand64 in mapiterinit

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

01b8f5e8821eac0e3456d6200b351629fd3752f4 authored over 2 years ago by zhangyunhao <[email protected]>
hash/maphash: use fastrand64 in MakeSeed

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

c2d436dcfad64d5cc301cf05d446f7a93c19133e authored over 2 years ago by zhangyunhao <[email protected]>
os/exec: set PWD implicitly if Dir is non-empty and Env is nil

Fixes #50599.

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

b34838913da606087b0f3141891f7d0fb2254eef authored over 2 years ago by Bryan C. Mills <[email protected]>
Revert "cmd/go/internal/test: wrap os.Stdout always"

This reverts CL 400877.

Reason for revert: broke TestScript/test_output_wait and the
regression...

115852077f45141b293727558e61c0804661d328 authored over 2 years ago by Bryan Mills <[email protected]>
crypto/x509: use SAN when comparing certs during path building

Per RFC 4158 Section 2.4.2, when we are discarding candidate
certificates during path building, ...

b941a10e384e6772792bc9e05e7ebe58e98bc20e authored over 2 years ago by Roland Shoemaker <[email protected]>
crypto/tls: reject duplicate extensions

Does what it says on the tin.

Fixes #51088

Change-Id: I12c0fa6bba1c1ce96c1ad31ba387c77a93f801c...

1715a86721164bee98d95b16c78529cdd7dacc9c authored over 2 years ago by Roland Shoemaker <[email protected]>
[dev.boringcrypto] all: merge master into dev.boringcrypto

Change-Id: I30dbbe508a6252d50b4154cb9a8299cf0a054449

19e4b10f2fcad0a43adcd3e59877e9f638330f44 authored over 2 years ago by Chressie Himpel <[email protected]>
os/exec: preserve original order of entries in dedupEnv

Once #50599 is implemented, the entries will be observable via the
Environ method. I find it con...

aa242555412c29f8af3da7d92067577c6b089c3a authored over 2 years ago by Bryan C. Mills <[email protected]>
cmd/go/internal/test: wrap os.Stdout always

There is an issue where 'go test' will hang after the tests complete if
a test starts a sub-proc...

ab9d31da9e088a271e656120a3d99cd3b1103ab6 authored over 2 years ago by Andrew Gerrand <[email protected]>
runtime: add fastrand64

Support fastrand64 in the runtime, although fastrand uses wyrand to generate 64-bit random numbe...

ebe1435fbb50bb82bfca53063e8daba4f870ec8d authored over 2 years ago by zhangyunhao <[email protected]>
reflect: remove unused overflowPad variable

overflowPad variable in bucketOf function is a holdover from a NaCl port
and never used now.

Ch...

6de00888e4720b7fa23ef2ce294bc3e81b866b0f authored over 2 years ago by Phil Kulin <[email protected]>
net/http: drop mimesniff for audio/basic

The WHATWG Mime Sniffing Standard we follow dropped support for
.snd / audio/basic.
https://gith...

8b364451e2e2f2f816ed877a4639d9342279f299 authored over 2 years ago by Sean Liao <[email protected]>
cmd/compile/internal/syntax: correct an error string

When we have an error in a function type used in an expression
we don't know until we see an ope...

e49b80a754c3df1a82d089a16a46ea8946d5a00b authored over 2 years ago by Robert Griesemer <[email protected]>
cmd/go: don't compute Deps fields if they're not needed

If the user provides the -json flag to explicitly specify fields, but
doesn't specify the Deps o...

c75befeec2a8ef2fea3c41da589ca0ffddda506f authored over 2 years ago by Michael Matloob <[email protected]>
cmd/link: fix StackCheckOutput on AIX

This test forces GOARCH to amd64, but currently uses the default GOOS.
This works on every OS th...

58340240576a9ad254d90da4570e5e6afb913959 authored over 2 years ago by Austin Clements <[email protected]>
net/http: deflake TestTransportConnectionCloseOnRequest

Fixes #52450 (hopefully)

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

a2f7d9d95a84dedb6909bf1907d6857c2c4a2ef5 authored over 2 years ago by Brad Fitzpatrick <[email protected]>
crypto/rand: apply the same max read size on Illumos as on Solaris

This case was missed in CL 370894, and masked by the lack of an
Illumos TryBot.

Fixes #52452.

...

338a81741a9aecba1a80014eced5cb2d3852d8eb authored over 2 years ago by Bryan C. Mills <[email protected]>
go/internal/srcimporter: add context to cgo errors

An error message like "could not import os/user (exit status 1)"
(observed in https://go.dev/iss...

17f8d98a4adf8386e63a0d2902ff42ca5e80996e authored over 2 years ago by Bryan C. Mills <[email protected]>
[dev.boringcrypto] all: merge master into dev.boringcrypto

Change-Id: I52009bf809dda4fbcff03aa82d0ea8aa2a978fa2

e07d63964b6db13c5439f6d0a5d136e43da74016 authored over 2 years ago by Chressie Himpel <[email protected]>
cmd/go/internal/base: in AppendPWD, check that PWD is absolute

The POSIX standard requires the PWD variable to be an absolute path.

Fixes #46832

Change-Id: I...

cbc9e589053e7339c1e3c4d6e88c6c015792efce authored over 2 years ago by Bryan C. Mills <[email protected]>
spec: clarify rules for type set construction of an interface

Be explicit that we always mean non-interface types when we
talk about sets of types.

Also, cla...

0e08b02ac54c9232759704812f41a5836f920cff authored over 2 years ago by Robert Griesemer <[email protected]>
cmd/compile/internal/types2: use correct value of iota

Fixes #52438.

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

104742fddae061b52c38e221697cf20ebd09bf10 authored over 2 years ago by Robert Griesemer <[email protected]>
cmd/compile/internal/types2: don't crash in overflow check

Be careful before accessing an operand's expr field (which may
be nil in some rare cases).

Whil...

302f5ed21dad2cb99f3f63fd99228dc3ab480772 authored over 2 years ago by Robert Griesemer <[email protected]>
cmd/compile/internal/types2: permit parentheses around types in interfaces

Before Go 1.18, an embedded type name in an interface could not be
parenthesized. With generaliz...

86fa2551fb12338405721089d6db1b9d78e4f05e authored over 2 years ago by Robert Griesemer <[email protected]>
crypto/rand: remove all buffering

The kernel's RNG is fast enough, and buffering means taking locks, which
we don't want to do. So...

3ae414c31e59c9ee210fa3606f36cf0ea36b9906 authored over 2 years ago by Jason A. Donenfeld <[email protected]>
crypto/rand: batch and buffer calls to getrandom/getentropy

We're using bufio to batch reads of /dev/urandom to 4k, but we weren't
doing the same on newer p...

d68a8d0f27bb3599b49cacd119d7ac3202248050 authored over 2 years ago by Jason A. Donenfeld <[email protected]>
cmd/compile: more negation related generic SSA rewrite rules

The x + (-y) => x - y rule is hitted 75 times while building stage 3 and tools
and make the linu...

e858c14f916d424b33ad7e2450895b3117a5f727 authored over 2 years ago by Jorropo <[email protected]>
reflect: adjust MapRange allocation test for noopt builder, take 2

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

aa8262d800f0cba2e4d4472a7e344eb60481b0ff authored over 2 years ago by Keith Randall <[email protected]>
reflect: adjust MapRange allocation test for noopt builder

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

689dc17793991746eb27ba4520d45af19a661f98 authored over 2 years ago by Keith Randall <[email protected]>
doc/go1.19: move the description of the runtime.GOROOT change from 'cmd/go' to 'runtime'

Even though the change in the behavior of 'runtime.GOROOT' was
not actually due to a change in t...

0670afa1b3aaed740816c5ffc9825d154c47d188 authored over 2 years ago by Bryan C. Mills <[email protected]>
io/ioutil: provide an equivalent for the deprecated ReadDir

All APIs in the now-deprecated io/ioutil package have a direct
replacement in either the io or o...

e04280838f34669458d55d6aab812a8c304c40a0 authored over 2 years ago by Daniel Martí <[email protected]>
cmd/link: faster algorithm for nosplit stack checking, better errors

The linker performs a global analysis of all nosplit call chains to
check they fit in the stack ...

e25f46e59621caf02f8ac1acc8d1dbe028859e47 authored over 2 years ago by Austin Clements <[email protected]>
test/nosplit: add more complicated recursion tests

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

7a062432059e0a7f6217424733d3a01030897741 authored over 2 years ago by Austin Clements <[email protected]>
test/nosplit: apply stack limit adjustment in the right place

The nosplit test was originally written when the stack limit was a
mere 128 bytes. Now it's much...

120f445495a573f80b1f0c0acc326c281c01b13e authored over 2 years ago by Austin Clements <[email protected]>
cmd/compile,cmd/internal/obj: replace Ctxt.FixedFrameSize method with Arch field

And delete now-unused FixedFrameSize methods.

Change-Id: Id257e1647dbeb4eb4ab866c53744010c4efeb...

5f625de4d09843ba1c996019abaddd1f85840f56 authored over 2 years ago by Austin Clements <[email protected]>
internal/sys: add LR and fixed frame size to sys.Arch

Storing this information in the Arch eliminates some code duplication
between the compiler and l...

8af7fac5a1d2b3881f8f435d77adfcef6a07bedc authored over 2 years ago by Austin Clements <[email protected]>
cmd/link: use TOC-relative trampolines on PPC64 when needed

When linking a PIE binary with the internal linker, TOC relative
relocations need to be generate...

caa46312eeca1275ce22ecf8985ca31ef8de7883 authored over 2 years ago by Paul E. Murphy <[email protected]>
crypto/x509: move sha1 removal to unspecified future release

Updates #41682

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

e8d9fd707f4914bdd298f5dcdd14d3b6035e278b authored over 2 years ago by Jordan Liggitt <[email protected]>
crypto/x509: reject duplicate extensions

When parsing certificates and CSRs, reject duplicate extensions (and
additionally duplicate requ...

a11a885cb567b3797e33733e883c2ba3bdc0e898 authored over 2 years ago by Roland Shoemaker <[email protected]>
reflect: make Value.MapRange inlineable

This allows the caller to decide whether MapIter should be
stack allocated or heap allocated bas...

c5edd5f616b4ee4bbaefdb1579c6078e7ed7e84e authored over 2 years ago by Joe Tsai <[email protected]>
net/http: eliminate arbitrary timeouts in TestServerRequestContextCancel_ConnClose

These timeouts are empirically sometimes (but rarely) too short on
slower builders, and at any r...

f49e802892a225c7fd14a3a8bb8c0e83875d888d authored over 2 years ago by Bryan C. Mills <[email protected]>
cmd/compile: fix missing source information in ssa view

Endlineno is lost when we call "genericSubst" to create the new
instantiation of the generic fun...

3df9df8d6a1a140239e4cba0d0595bdab2ba9c60 authored over 2 years ago by hopehook <[email protected]>
runtime: improve memclr on ppc64x

This improves performance for memclr for sizes >= 64 and < 512 by
unrolling the loop to clear 64...

91b9915d3f6f8cd2e9e9fda63f67772803adfa03 authored over 2 years ago by Lynn Boger <[email protected]>
net/http: correctly show error types in transfer test

actualReader and tc.expectedReader are reflect.Type instances,
not the actual objects.

Change-I...

740a490f71d026bb7d2d13cb8fa2d6d6e0572b70 authored over 2 years ago by Jorropo <[email protected]>
reflect: make Value.Type inlineable

This allows the result of Type to be computed much faster.

Performance:

old new delta...

e948c3394ee137bae45e85cfa7c8ec0bb0e16dc8 authored over 2 years ago by Joe Tsai <[email protected]>
bytes: explode checks for n too large

As is already done in strings package.

Change-Id: Ia45e6443ddf6beac5e70a1cc493119030e173139
Git...

5e4543c29ff930084f79cd982d6eee0f13f52565 authored over 2 years ago by Philippe Antoine <[email protected]>
go/doc: fix incorrect identifier parsing in comments

This code was trying to iterate codepoints, but didn't reslice the string,
so it was reading the...

e704ef2b8529119a11694b4cb15215d3dd6b0a9f authored over 2 years ago by Jorropo <[email protected]>
runtime: don't block preemption signal in new M's or ensureSigM

No test because we already have a test in the syscall package.
The issue reports 1 failure per 1...

e3982660a73b04a87c08215cb5aaa16d816ea573 authored over 2 years ago by Ian Lance Taylor <[email protected]>
cmd/link: preserve symbol attributes when cloning to external

There are some symbol attributes that are encoded in the object
file. Currently, they are lost w...

df08c9a82152fd6f2b2811db03b40fea8b6e5e9e authored over 2 years ago by Cherry Mui <[email protected]>
debug/pe: read string table in 10M chunks

No separate test because this makes no difference for valid PE files.

Fixes #52350

Change-Id: ...

0c6d8bb109adfa188190b2e6de59b88853ded378 authored over 2 years ago by Ian Lance Taylor <[email protected]>
mime: ignore non-extension globs2 entries

Change-Id: Ic2315b593dca5648c02f793b7650b5936a997bff
GitHub-Last-Rev: ee55edcf087416c6f0d50d5dd5...

df2421de60215cfc314fe6772ff6c2c6201f7abb authored over 2 years ago by Ville Skyttä <[email protected]>
net/http: optimize StatusText implementation

The current implementation, although more succinct, relies on a runtime
lookup to a "constant" u...

ac01de5446ec92544768dabee3b0d1faf5f596d9 authored over 2 years ago by João Penteado <[email protected]>