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

internal/testmath: add two-sample Welch's t-test for performance tests

This CL copies code from github.com/aclements/go-moremath/stats and
github.com/aclements/go-more...

6130461149020d2b4b91fb183afa388a211cadc5 authored over 2 years ago by Michael Anthony Knyszek <[email protected]>
doc/go1.19: prefer relative links to other parts of the Go website

The Go website can be served on more than one domain (for example,
go.dev, golang.google.cn, tip...

24b90391495094f1059cb7b09cf6bcfc790f7fe5 authored over 2 years ago by Dmitri Shuralyov <[email protected]>
cmd/cgo: remove -fsanitize=hwaddress hardware tags

No test because this isn't support on any of the builders.

Fixes #53285

Change-Id: If8d17bdcda...

fbc75dff2fa5bac474936e611ff1b7e778617be3 authored over 2 years ago by Ian Lance Taylor <[email protected]>
spec: clarify behavior of map size hint for make built-in

The spec already states that the precise behavior of the map size
hint provided to the make buil...

5ee939b8199266446d7ccc563751a9d3db26bf8b authored over 2 years ago by Robert Griesemer <[email protected]>
spec: add missing optional type arguments after TypeName in syntax

Types may be generic, so each occurrence of a TypeName may be
followed by optional type argument...

4703546a294b28e4e23043fe9cb745f27e55edab authored over 2 years ago by Robert Griesemer <[email protected]>
net: avoid darwin_arm64 bug in TestDialParallelSpuriousConnection

On darwin_arm64, reading from a socket at the same time as the other
end is closing it will occa...

2c52465cb3d327590755cfb9ef1ef0f7a167c4eb authored over 2 years ago by Damien Neil <[email protected]>
doc/go1.19: add a release note for module indexing

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

9228d7d7d523e6831933b79f768dfbb51f8ffb5b authored over 2 years ago by Michael Matloob <[email protected]>
cmd/compile: fix missing dict pass for type assertions

For type assertions, if either src or dst type has shape, we must
convert them to dynamic type a...

7eeec1f6e4b9359381e9aeffdb87c59308ecbb7e authored over 2 years ago by Cuong Manh Le <[email protected]>
doc/go1.19: fix crypto tags

Closes an unclosed <code> tag, and tags a type that was untagged.

Change-Id: I9a1efda07f783f0ca...

d27128b065010ac6bae8dd648f85302240417294 authored over 2 years ago by Roland Shoemaker <[email protected]>
net/http: doc: update RFC reference for appropriate HTTP codes

This documentation commit points to the latest RFC documenting HTTP codes

Change-Id: Ia76406646...

55590f3a2b89f001bcadf0df6eb2dde62618302b authored over 2 years ago by Louis PORTAY <[email protected]>
doc: fix typos in Go memory model

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

ff3db8d12d8e2eacde7eccd47ea4f3e3dd5a6807 authored over 2 years ago by Dominik Honnef <[email protected]>
[dev.unified] test: add regress tests for #53276 and #53328

These two tests fail with the 1.18 compiler frontend, because of
incomplete dictionary support. ...

f73ad3d24d1a6c4cf733a8d62e62b66f32eec59e authored over 2 years ago by Matthew Dempsky <[email protected]>
cmd/dist, cmd/internal/metadata: don't install metadata binary

It is only needed by cmd/dist, no need to build and install the
binary.

Change-Id: I6aba6b81496...

fb75c2da91b9cccf05ec6baad2636325c5d96751 authored over 2 years ago by Cherry Mui <[email protected]>
runtime: fix stack split at bad time when fuzzing

Fix #53190

Change-Id: I6c1f9c3ab58818d3a9f05ddaa02fc247e53677d3
GitHub-Last-Rev: 13b0749c135598...

386245b68ef4a24450a12d4f85d1835779dfef86 authored over 2 years ago by Khaled Yakdan <[email protected]>
[dev.unified] cmd/compile/internal/noder: stop handling type expressions as expressions

There are two places currently where we rely on type expressions as
generic expressions: the fir...

8ef8b60e1816e0624fc894df90c853772d5059bb authored over 2 years ago by Matthew Dempsky <[email protected]>
cmd/cgo: recognize clang 14 DWARF type names

Fixes #53013

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

2cfbef438049fd4c3f73d1562773ad1f93900897 authored over 2 years ago by Dmitri Goutnik <[email protected]>
runtime/cgo: retry _beginthread on EACCES

We occassionally see _beginthread failing with EACCES, meaning
"insufficient resources" accordin...

c7ccabf3fea67f002bef190a5ffc7417f4371a23 authored over 2 years ago by Michael Pratt <[email protected]>
runtime/cgo: merge bodies of cgo_sys_thread_start on windows

The bodies of cgo_sys_thread_start (and x_cgo_sys_thread_create) are
nearly identical on all of ...

91019cc13d9de72d5e43a0068311dc9e6012777a authored over 2 years ago by Michael Pratt <[email protected]>
api: promote next to go1.19

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

840e99ed742e55ddd00a57210a706e14234c8bc5 authored over 2 years ago by Cherry Mui <[email protected]>
[dev.unified] test: relax issue7921.go diagnostic message

For constants literal, iimport/iexport read/write them as basic literal
nodes. So they are print...

1a6c96bb9b0e1674048758d4c92e33fb03c4833e authored over 2 years ago by Cuong Manh Le <[email protected]>
[dev.unified] cmd/compile: set base.Pos when process assignDef in Unified IR

CL 410343 changes Unified IR to visit LHS before RHS/X in assign/for
statement. Thus, it needs t...

c50c6bbc030ea170320f438c3f328fa475e87e2b authored over 2 years ago by Cuong Manh Le <[email protected]>
[dev.unified] cmd/compile: fix unified IR don't report type size too large error

For error reported during type size calculation, base.Pos needs to be
set, otherwise, the compil...

d6df08693cd1639a7d9f0df292b4aa469b1cd748 authored over 2 years ago by Cuong Manh Le <[email protected]>
go/types, types2: only set instance context if packages match

In CL 404885, we avoid infinite expansion of type instances by sharing a
context between the exp...

1a2ca95ad2d0e6599ab8b9772c30afbb743abc89 authored over 2 years ago by Robert Findley <[email protected]>
cmd/go/testdata/script: fix skip on list_replace_absolute_windows

The test should skip if it's not on windows *or* it's a short test, but
instead is now skipping ...

b51d44c6dd9d6f3ac3e1d275bc118aae23a5a482 authored over 2 years ago by Michael Matloob <[email protected]>
api/next: minor reformat

Add newline endings to files without them. Delete empty lines. So
it is consistent and easier to...

80f86f706deff532cf3ee94a75dd1dc0db6795b2 authored over 2 years ago by Cherry Mui <[email protected]>
runtime: use pidleget for faketime jump

In faketime mode, checkdead is responsible for jumping time forward to
the next timer expiration...

13f6be28338c43d3aa22a4467b34a45c40f83593 authored over 2 years ago by Michael Pratt <[email protected]>
cmd/go: clean paths before using them form index functions

We use str.TrimFilePathPrefix to trim the module root prefix and get the
relative path of each p...

1292176bc98be4b7b9d24abec05e88b3dbd89e21 authored over 2 years ago by Michael Matloob <[email protected]>
syscall: remove unused setgroups on linux/loong64

Setgroups in syscall_linux.go already wraps the setgroups(2) syscall
with correct POSIX semantic...

1858ea5d857f3a874bef131b7e1bc162d05b3366 authored over 2 years ago by Tobias Klauser <[email protected]>
runtime: skip TestGdbBacktrace on gdb bug

Very rarely, GDB will successfully run the whole test and the inferior
will exit successfully, a...

bdde41e3ba4926b9c1143502f299286d5eca6490 authored over 2 years ago by Austin Clements <[email protected]>
net: fix testHookDialTCP race

CL 410754 introduces a race accessing the global testHookDialTCP hook.
Avoiding this race is dif...

432158b69a50e292b625d08dcfacd0604acbabd3 authored over 2 years ago by Damien Neil <[email protected]>
cmd/go: enable module index by default

This changes the module index to be enabled by default, rather than
disabled by default. The ind...

899f0a29c7be2bba3f8f0bc2987f7c2d70a6c4ec authored over 2 years ago by Michael Matloob <[email protected]>
cmd/go: properly call PackageModuleRoot to get modroot for index

PackageModuleRoot needs to be called with the package's path, not
its directory on disk.

Change...

f862280e30300017292b24a0fca088628d7b8065 authored over 2 years ago by Michael Matloob <[email protected]>
cmd/go: set Root and target fields for packages in GOPATH

This change replicates the behavior filed in issue #37015 for packages
imported from the module ...

d65166024f3969289be5c74fd8be7d06a93264f1 authored over 2 years ago by Michael Matloob <[email protected]>
doc/go1.19: delete remaining TODOs

The crypto ones were done in a separate CL and didn't merge well.
Same for runtime/debug.

The o...

4afb0b9e533767f788252816c4b79ee29a1952a7 authored over 2 years ago by Russ Cox <[email protected]>
runtime: gofmt

libfuzzerHookStrCmp is manually reformatted into a proper go doc list.

We don't always format t...

3426b7201da8140bb0fb433facd9e1fd3f267dfb authored over 2 years ago by Michael Pratt <[email protected]>
doc/go1.19: complete most remaining TODOs

The ones I left behind are almost entirely ones that I see pending CLs for.
Also make various fi...

f330a3a987aa980d6c1adfb4ed509b461d5c13cf authored over 2 years ago by Russ Cox <[email protected]>
[dev.unified] cmd/compile: restore Unified IR linkname pragma diagnostic

CL 333109 restore the diagnostic for irgen, now it's safe to restore for
Unified IR, too.

Updat...

e7ef58542c7f12842cdefdb1cd5e1b794996dc96 authored over 2 years ago by Cuong Manh Le <[email protected]>
runtime: remove unused pipe and setNonblock on linux/loong64

CL 389354 removed the fallback to pipe on all platforms with pipe2. This
is the case for linux. ...

2882786bf4cd779f166e9ced82a4da2ea0f8b1f9 authored over 2 years ago by Tobias Klauser <[email protected]>
doc/go1.19: mention riscv64 supported regabi

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

decdd87bea5ab380b6c2a656735db9b2eb08a202 authored over 2 years ago by Meng Zhuo <[email protected]>
os: document that Chdir affects fs.FS returned by DirFS with a relative path

Fixes #47214.

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

b72a6a7b868deb5b671020c08fbf8d61ad8803d4 authored over 2 years ago by Dan Kortschak <[email protected]>
syscall: remove unused accept on linux/loong64

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

This foll...

30b929b1efb470cb9b434cd47d6cbaa74c2baedf authored over 2 years ago by Tobias Klauser <[email protected]>
net: use synthetic network in TestDialParallel

TestDialParallel is testing the Happy Eyeballs algorithm implementation,
which dials IPv4 and IP...

a7551fe24524fb960fbe4cd74dae13afe9ca6a5c authored over 2 years ago by Damien Neil <[email protected]>
doc/go1.19: document that the assembler requires -p

For #51400.

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

19d71acd978891b201bc5ce79bdcd20b36d04a2e authored over 2 years ago by Cherry Mui <[email protected]>
doc/go1.19: document linker CL that switches DWARF compressed section format

For #51400.
Updates #50796.

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

d151134851554aa0a3f05206019b9b8c1e1ad70f authored over 2 years ago by Cherry Mui <[email protected]>
go/types, types2: better error message for invalid use of constraint type

Fixes #42881.

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

3507805bcdcd6674c842e25fdb5f07f5ce47ba87 authored over 2 years ago by Robert Griesemer <[email protected]>
go/types, types2: better error message if type is not in type set

Fixes #40350.

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

269bf7e855da04e664fe8d7ffb654c4d0b1439f5 authored over 2 years ago by Robert Griesemer <[email protected]>
go/types, types2: use | rather than ∪ when printing term lists

With this change, the termlist String() function prints termlists
in the usual Go notation and t...

d4fb93be87c38aaf0f68ad91852f9f83be726262 authored over 2 years ago by Robert Griesemer <[email protected]>
doc/go1.19: add release notes for net/http and net/url

For #51400

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

346698eea71139280e3b3380554371b5d332ce02 authored over 2 years ago by Damien Neil <[email protected]>
doc/go1.19: adjust runtime release notes

This addresses comments from CL 410356.

For #48409.
For #51400.

Change-Id: I03560e820a06c07457...

7a82c6859f14d97b741073083849bace7693f7e2 authored over 2 years ago by Michael Pratt <[email protected]>
runtime: document GOMEMLIMIT in environment variables section

For #48409.

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

f3e051a184ddd060f1e17200b0081648411fa073 authored over 2 years ago by Michael Pratt <[email protected]>
doc/go1.19: document loong64 port

Updates #46229
For #51400

Change-Id: Iedd5d3c4cd656b59ba2e1fe813851830849a8614
Reviewed-on: htt...

ef2567c7dd040f2cee87b8fd52885c6481deee35 authored over 2 years ago by David Chase <[email protected]>
sync/atomic: clarify that 8-byte alignment of variables is due to escape

For #53223.

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

69bb7c6ef540caa422e5d7fd1127dd71e3ca90fe authored over 2 years ago by Will Hawkins <[email protected]>
doc/go1.19: some platforms are still on TSAN v2

For #51400

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

81033fbd8e414447049e356af382fa6ecca072ea authored over 2 years ago by Austin Clements <[email protected]>
doc/go1.19: compiler section is complete, modulo TODOs

For #51400

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

0c3a0543c2e4322ff3dccf6e2b82a7fbafaaabea authored over 2 years ago by Austin Clements <[email protected]>
doc/go1.19: minor edits

For #51400

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

835a94613703bb856ea4d16f05c116399c4b2fc9 authored over 2 years ago by Austin Clements <[email protected]>
doc/go1.19: complete TODOs for go/types

Fill in the details of outstanding TODO items for go/types changes.

For #51400

Change-Id: Ib40...

429a4041eb2657fad8870cad5662202f3bd0eeb6 authored over 2 years ago by Robert Findley <[email protected]>
doc/go1.19: add various crypto release notes

For #51400

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

d2630aa4b20b6ebd2a5a37628c2f1b9d7158621f authored over 2 years ago by Roland Shoemaker <[email protected]>
runtime: fix inline assembly trampoline for arm64

Use the program counter to compute the address of the first instruction
of the ret sled. The ret...

77d9252ddfc6b3e2e48916240340ea5470b005a6 authored over 2 years ago by Khaled Yakdan <[email protected]>
cmd/link: specify -Wl,-z params as documented

Both GNU and LLVM linkers de facto accept `-zPARAM`, and Go sometimes
does it. Inconsistently: t...

38607c553878da21b5042e63997ecb3b7201e684 authored over 2 years ago by Motiejus Jakštys <[email protected]>
doc/go1.19: delete boringcrypto TODO

Boringcrypto has never been officially supported and it remains unsupported.
It need not be ment...

95b68e1e02fa713719f02f6c59fb1532bd05e824 authored over 2 years ago by Russ Cox <[email protected]>
doc/go1.19: add more TODOs from updated relnote

CL 410244 changes relnote to look for api file changes as well
as references to proposal issues,...

a79623b019b1ea3f4afb7e274c76c1e9936f0aa6 authored over 2 years ago by Russ Cox <[email protected]>
[dev.unified] cmd/compile: visit LHS before RHS/X in assign/for statement

Unified IR used to visit RHS/X before LHS in assign/for statements for
satisfying toolstash in q...

9e5c96802164c17df6667047932142eb6894e6d3 authored over 2 years ago by Cuong Manh Le <[email protected]>
doc/go1.19: add release notes for the soft memory limit and idle GC

This change resolves some TODOs in the release notes, and while we're
here, also clarifies how C...

acfff428029130654d44b56e80a5e9c7e825e951 authored over 2 years ago by Michael Anthony Knyszek <[email protected]>
runtime, sync, sync/atomic: document happens-before guarantees

A few of these are copied from the memory model doc.
Many are entirely new, following discussion...

a71ca3dfbd32faf351ff68bcc26a4d5abd9b06d7 authored over 2 years ago by Russ Cox <[email protected]>
go/doc/comment: add heuristics for common badly formatted comments

In a set of 55M Go doc comments drawn from the latest version of
all public Go modules known to ...

3651a6117e9a88576615c29c4faf7eeec55d7691 authored over 2 years ago by Russ Cox <[email protected]>
doc/go_mem: update revision date

CL 381315 added major revisions but neglected to update the date.

For #50859.

Change-Id: I086a...

4c08260c51c6ebe405a78a30f970014af763ca38 authored over 2 years ago by Russ Cox <[email protected]>
doc/go1.19: gc requires -p=importpath

For #51400

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

7271a0a287fdd765f29c193163b0f1305edb6205 authored over 2 years ago by Austin Clements <[email protected]>
doc/go1.19: document Resolver.PreferGo

Updates #51400

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

c1e2ecbaf93b360f3384a23c77a01c2280b9e58e authored over 2 years ago by Brad Fitzpatrick <[email protected]>
cmd/go: use index to match packages in dependency modules

If we're trying to search in a module in the module cache, instead
iterate over the packages in ...

11195c60e6197016c0d5d32b04d4cb0ca7594014 authored over 2 years ago by Michael Matloob <[email protected]>
[dev.unified] cmd/compile: export/import implicit attribute for conversion exprs

So they can be formatted more presicely, and make it easier in the
transition to Unified IR.

Up...

46ddf0873e48de0062fbc67d058ddb13147cb9fe authored over 2 years ago by Cuong Manh Le <[email protected]>
[dev.unified] cmd/compile: fix missing method value wrapper in unified IR

Unified IR uses to generate wrappers after the global inlining pass, so
it needs to apply inlini...

a8780f94c3eb19dda8aaa15ad83468b2d54a0e5a authored over 2 years ago by Cuong Manh Le <[email protected]>
[dev.unified] cmd/compile: remove package height

After CL 410654, symbols are now sorted by package path, package height
is not necessary anymore...

3a1f1e15757e4c2fd310e3659eefff577d87717b authored over 2 years ago by Cuong Manh Le <[email protected]>
[dev.unified] cmd/compile: only sort symbols by name and package path

Since CL 393715, the path of package being compiled is now always known,
so symbols can be sorte...

df7cb59de427dcfee9af0713ecf8b7033948303b authored over 2 years ago by Cuong Manh Le <[email protected]>
all: boringcrypto post-merge cleanup

This CL addresses the comments on CL 403154.

For #51940.

Change-Id: I99bb3530916d469077bfbd530...

ea5d7cbc2644643331bd675b1ebdf0aaac7419f1 authored over 2 years ago by Russ Cox <[email protected]>
go/doc/comment: do not turn ``` into “`

``` is Markdown, not Go doc comment, but some small fraction of users get confused.

In a set of...

6c7b223c2bfa700d9e1dc53d58c1c998493126e0 authored over 2 years ago by Russ Cox <[email protected]>
go/doc/comment: add doc comment

A CL in the website repo will add go.dev/doc/comment.

One of the final steps for #51082.

Chang...

ce757e94e028a3c4b490a460b7b8b8266ae38fe4 authored over 2 years ago by Russ Cox <[email protected]>
cmd/compile: cast riscv64 rewrite shifts to unsigned int

This appeases Go 1.4, making it possible to bootstrap GOARCH=riscv64 with
a Go 1.4 compiler.

Fi...

95547aee8c6377e73919d6f0b99484152fb3de04 authored over 2 years ago by Joel Sing <[email protected]>
[dev.unified] cmd/compile/internal/noder: push exprBlank up into assignment handling

Blanks can only appear on the LHS of an assignment. Instead of
handling them as an arbitrary exp...

b39ac808714add90df425298c1f1bdc9d47cfd45 authored over 2 years ago by Matthew Dempsky <[email protected]>
[dev.unified] cmd/compile/internal/noder: add optExpr for optional expressions

Previously, {writer,reader}.expr would allow for nil
expressions (i.e., no expression at all, no...

55fc07e16416bd3677c81bb6379ac8f9e881e5cf authored over 2 years ago by Matthew Dempsky <[email protected]>
strconv: fix typo in atof.go

strings for 'NaN' -> string for 'NaN'

Change-Id: Ia415644a1b651e6ef9996ad24dd9708a60e57dfc
GitH...

d43ddc1f3fb25b4338433435caae7e6f4b3138a9 authored over 2 years ago by [email protected] <[email protected]>
cmd/link/internal/loadpe: handle _main reference properly

When building CGO internal linking on windows 386, make sure to avoid
rewriting references to "_...

2fa45a4fcd57070967f081f3a5c33014c3f29fea authored over 2 years ago by Than McIntosh <[email protected]>
go/types, types2: simplify implementation of validType (fix TODO)

Now that validType is using the correct type nest (CL 409694),
the top entry of the type nest co...

fc9707594910452cce3fba794fa9ffe541e8cefa authored over 2 years ago by Robert Griesemer <[email protected]>
go/types, types2: use type nest to detect type cycles (fix validType)

validType was using a global type info map to detect invalid recursive
types, which was incorrec...

07eca49055f7ef0d73be2ca28dcc5d489db129b9 authored over 2 years ago by Robert Griesemer <[email protected]>
[dev.unified] cmd/compile/internal/noder: rename exprName to exprGlobal

More descriptive.

Change-Id: I70a07adbe1d395da797fe15b54d2a1106f5f36a9
Reviewed-on: https://go-...

6c33f1d52efd4f70fb8cdb1c3b4ea1c8c579af2a authored over 2 years ago by Matthew Dempsky <[email protected]>
doc/go1.19: add TODOs for changes to go/types

Add TODO items for significant changes to go/types: the inclusion of
Origin methods for Var and ...

770146d5a857e8606222276040c6712b48e27e0e authored over 2 years ago by Robert Findley <[email protected]>
[dev.unified] all: update codereview.cfg for dev.unified branch

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

4d28fcabb433a6588db4ab5f887062d9236f2397 authored over 2 years ago by Matthew Dempsky <[email protected]>
runtime: fix breakpoint in ppc64x

Currently runtime.Breakpoint generates a SIGSEGV in ppc64.
The solution is an unconditional trap...

1b8ca75eaaff2985709ad61cc33c77a673c75a8c authored over 2 years ago by Alejandro Sáez <[email protected]>
text/template/parse: fix data race on lexer initialization

Before this change, `startParse` would write `lex.breakOK` and `lex.continueOK` when the lexer g...

9ce28b518d9a792d2e3e741bcb38fa046891906e authored over 2 years ago by Eli Bendersky <[email protected]>
go/types, types2: ensure that named types never expand infinitely

During type-checking, newly created instances share a type checking
Context which de-duplicates ...

47e34ca533b118bd47061b15fc7918563f4837a7 authored over 2 years ago by Robert Findley <[email protected]>
go/types, types2: store Named instance information separately

Separate instance information into an instance struct, to reduce memory
footprint for non-instan...

02e69cfa9695f17902ff1806205c26a0d02a684f authored over 2 years ago by Robert Findley <[email protected]>
go/types, types2: eliminate methodList in favor of just using Named.mu

In order to clean up context after fully expanding a type (in subsequent
CLs), we must use a com...

1323b0e8f0c5afb72afe51d8ee3bd5f66c23e353 authored over 2 years ago by Robert Findley <[email protected]>
go/types, types2: remove Named.once in favor of monotonic state

Introduce a monotonic state variable to track the lifecycle of a named
type, replacing the exist...

846f971daa03fda149a3d66a3fda6eb6a2a7484e authored over 2 years ago by Robert Findley <[email protected]>
cmd/buildid: reject rewriting legacy buildids

This resolves legacy go binaries crashing the buildid tool when the -w flag is specified.

Fixes...

66cbf67345b1631adbee2109f5bb78fb4e321144 authored over 2 years ago by Stephen Eckels <[email protected]>
strconv: clarify ParseFloat accepts Go syntax for float literals

The documentation for strconv.ParseFloat mentions that it "accepts
decimal and hexadecimal float...

47f806ce81aac555946144f112b9f8733e2ed871 authored over 2 years ago by Ben Hoyt <[email protected]>
runtime: fix typo in libfuzzer_arm64.s

statment -> statement

Change-Id: Ia93a466fdc20157a7d6048903e359fe8717ecb8f
GitHub-Last-Rev: 0a9...

2730c6af9fb8a7dea9bf610699be0d543aed4da1 authored over 2 years ago by Ikko Ashimine <[email protected]>
database/sql/driver: fix typo in driver.go

ExecerContext -> ExecContext
QueryerContext -> QueryContext

Change-Id: Id3b1f44de5aa47372d59696...

a32a592c8c14927c20ac42808e1fb2e55b2e9470 authored over 2 years ago by mstmdev <[email protected]>
regexp: avoid copying each instruction executed

Inst is a 40-byte struct, so avoiding the copy gives a decent speedup:

name ...

0293c51bc5d8ca0728913c4b7f9f92339f8fd9a6 authored over 2 years ago by Bryan Boreham <[email protected]>
doc: update Go memory model

Following discussion on #47141, make the following changes:

- Document Go's overall approach.
-...

865911424d509184d95d3f9fc6a8301927117fdc authored over 2 years ago by Russ Cox <[email protected]>
doc/go1.19: remove TODO about LimitedReader

Rolled back in CL 410133.

For #51115.

Change-Id: I009c557acf98a98a9e5648fa82d998d41974ae60
Rev...

fc66cae490a0cd8b8cefefbc0ace7c3fb030f779 authored over 2 years ago by Russ Cox <[email protected]>
io: revert: add an Err field to LimitedReader

We are having a hard time deciding the exact semantics
of the Err field, and we need to ship the...

f8a53df314e4af8cd350eedb0dae77d4c4fc30d0 authored over 2 years ago by Russ Cox <[email protected]>