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

cmd/go: compile runtime/internal/syscall as a runtime package

runtime/internal/syscall is a runtime package, so it should be built
with -+.

Specifically, we ...

a861eee51ad897807df7968b32c823dbad37276e authored over 2 years ago by Michael Pratt <[email protected]>
crypto/internal/boring: factor Cache into crypto/internal/boring/bcache

Requested by the maintainers of the OpenSSL-based fork of Go+BoringCrypto,
to make maintaining t...

8f9bfa9b7b7739324e73b4f19280caa2011e6ae8 authored over 2 years ago by Russ Cox <[email protected]>
runtime: avoid fma in mkfastlog2table

This lets us generate identical copies of fastlog2table.go on all hosts.

Tested by regenerating...

351e0f4083779d8ac91c05afebded42a302a6893 authored over 2 years ago by Ian Lance Taylor <[email protected]>
test: add test that gofrontend gets wrong

For #52856

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

416c953960a475b7418b5c6aef0f46dd102b9129 authored over 2 years ago by Ian Lance Taylor <[email protected]>
cmd/compile: do branch/label checks only once

The previous change implemented the missing fallthrough checking
in the parser. Therefore we can...

666d736ecb8afbe1aeb1d15f3958b70af2173510 authored over 2 years ago by Robert Griesemer <[email protected]>
cmd/compile/internal/syntax: check fallthrough in CheckBranches mode

The parser CheckBranches mode checked correct use of break, continue,
and labels, but not of fal...

6b309be7ab7c17beb77c6e40b258278e7454d919 authored over 2 years ago by Robert Griesemer <[email protected]>
runtime: mark string comparison hooks as no split

These functions can be inserted by the compiler into the code to be
instrumented. This may resul...

1821639b57a643f9c3f6d3b3d329d2283d5d7a57 authored over 2 years ago by Khaled Yakdan <[email protected]>
io: clarify SeekEnd offset value

fixes #53474

Change-Id: I14c3dc800dc27233630a54592328bb0df1bbaa5d
GitHub-Last-Rev: 46f93cfbd41c...

3b594b9255b091b8c3b56fc9592f05ebe71e31b8 authored over 2 years ago by HowJMay <[email protected]>
cmd/go: prepend builtin prolog when checking for preamble errors

Fixes #50710

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

4f45ec5963a4b72e0c4ddbdfa84f9cb374692eea authored over 2 years ago by qmuntal <[email protected]>
strconv: avoid panic on invalid call to FormatFloat

Calling FormatFloat with an invalid value of fmt is expected
to return a string containing '%' a...

41e1d9075e428c2fc32d966b3752a3029b620e2c authored over 2 years ago by Rémy Oudompheng <[email protected]>
internal/trace: add Go 1.19 test data

Update instructions to match what seems to be the historical practice:
to generate canned traces...

bd4753905d15035fabbc4dda79573506090fe40b authored over 2 years ago by Rhys Hiltner <[email protected]>
cmd/internal/archive: don't rely on an erroneous install target in tests

Non-main packages in module mode should not be installed to
GOPATH/pkg, but due to #37015 they w...

6b6c64b1cc918633824e7a9165816c81f0c08b21 authored over 2 years ago by Bryan C. Mills <[email protected]>
[dev.unified] all: merge master (5a1c5b8) into dev.unified

Conflicts:

- test/run.go

Textual conflict adding to the known failures list for the nounifie...

e7100adbca33a654101a8fa5779f6d2f675e3675 authored over 2 years ago by Matthew Dempsky <[email protected]>
cmd/go: add per-package indexing for modules outside mod cache

Packages outside the module cache including the standard library will be
indexed individually ra...

5a1c5b8ae741df2d5c53f328c57a84d85ae6c44a authored over 2 years ago by Michael Matloob <[email protected]>
cmd/go/internal/list: update help info with Deprecated field

Also align Retracted documentation with actual type of []string

Fixes #51876

Change-Id: I3b34e...

b9c4d94fdbe0c9e11a1e604cf321614b90a1d882 authored over 2 years ago by Sean Liao <[email protected]>
go/types, types2: print qualified object names in cycle errors

Fixes #50788.

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

73475ef0350e84b35a6aa1b593448a9497b62440 authored over 2 years ago by Robert Griesemer <[email protected]>
go/types, types2: better errors for == when type sets are empty

For #51525.

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

3e58ef6cc7dfaf2cf3b593e728f7f62391030114 authored over 2 years ago by Robert Griesemer <[email protected]>
doc/go1.19: Linux race detector now requires glibc 2.17

Fixes #53522

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

d38f1d13fa413436d38d86fe86d6a146be44bb84 authored over 2 years ago by Ian Lance Taylor <[email protected]>
[dev.unified] cmd/compile: rename haveRType and implicitExpr

This CL renames:

1. "haveRType" to "hasRType", suggested by drchase@ during review of
CL 413358...

09a838ad86880150f4e297f7b2dec7c7d116623b authored over 2 years ago by Matthew Dempsky <[email protected]>
[dev.unified] cmd/compile: implicit conversions for return statements

This CL inserts implicit conversions for simple N:N return
statements. A subsequent CL will hand...

421e9e9db21363a196f9c5d736749a6754803bff authored over 2 years ago by Matthew Dempsky <[email protected]>
[dev.unified] cmd/compile/internal/noder: implicit conversions for writer.assignStmt

This CL inserts implicit conversions for simple N:N assignment
statements within Unified IR. A s...

a3fea7796aed2437b222708e73299dc57bd409df authored over 2 years ago by Matthew Dempsky <[email protected]>
[dev.unified] cmd/compile/internal/noder: refactor stmtAssign generation

Eliminate some code duplication between assignment statements and
variable declarations, so they...

82a958a661660fed6f126e41884a8c75fb983902 authored over 2 years ago by Matthew Dempsky <[email protected]>
[dev.unified] cmd/compile/internal/noder: implicit conversion of call arguments

Function call arguments need to be implicitly converted to their
respective parameter types. Thi...

711dacd8cf52d0c06624c4af3563d3b728c50b57 authored over 2 years ago by Matthew Dempsky <[email protected]>
[dev.unified] cmd/compile/internal/noder: remove needType logic

This logic is a holdover from very early on when it wasn't as clear
how we would handle dictiona...

46b01ec667c05fb8eb8f382b173e126282acd80c authored over 2 years ago by Matthew Dempsky <[email protected]>
[dev.unified] cmd/compile/internal/noder: implicit conversions for complits

Operands within a composite literal must be implicitly converted to
their respective key/element...

a3e474f86746924022c92f66bfb465f7ad6ea8a5 authored over 2 years ago by Matthew Dempsky <[email protected]>
[dev.unified] cmd/compile/internal/noder: start writing implicit conversions

This CL adds support for implicit conversions to the unified IR export
data format, and starts i...

5f5422a2ddcfcec8282bc2fde0729083eeeb2926 authored over 2 years ago by Matthew Dempsky <[email protected]>
[dev.unified] cmd/compile/internal/noder: add pkgWriter.typeOf helper

Getting the type of a value expression is already a very common
operation during writing, and it...

9cb784ac6926a8b91c1a0dce99612e713150b30c authored over 2 years ago by Matthew Dempsky <[email protected]>
[dev.unified] cmd/compile/internal/typecheck: replace unreachable code with assert

Since the removal of -G=0 mode, IR is always well-typed. And in
well-typed IR, convlit will alwa...

c70e93ff3d1855b0d0a0508ab83dd751ee65f5b3 authored over 2 years ago by Matthew Dempsky <[email protected]>
[dev.unified] cmd/compile: special case f(g()) calls in Unified IR

For f(g()) calls where g() is multi-valued, we may need to insert
implicit conversions to conver...

20e1d5ac8cc269c8fc40d08e0b9e14ffe99d19d3 authored over 2 years ago by Matthew Dempsky <[email protected]>
[dev.unified] cmd/compile: plumb rtype through OSWITCH/OCASE clauses

For (value) switch statements, we may generate OEQ comparisons between
values of interface and c...

61ae2b734cdbc0db342036a2a026fe1fccdccde3 authored over 2 years ago by Matthew Dempsky <[email protected]>
[dev.unified] cmd/compile: plumb rtype through for OMAPLIT

OMAPLIT gets lowered into a bunch of OINDEXMAP operations, which in
general may require a *runti...

3d432b6c4b86a5fcd1ccce0f914193b8e0e9e79e authored over 2 years ago by Matthew Dempsky <[email protected]>
[dev.unified] cmd/compile: start setting RType fields for Unified IR

This CL switches the GOEXPERIMENT=unified frontend to set RType fields
in the simpler cases, and...

7368647ac6eecd57a476616ff1f3ac1aa7f445b6 authored over 2 years ago by Matthew Dempsky <[email protected]>
[dev.unified] cmd/compile: add RType fields

This CL adds RType/ITab fields to IR nodes that (may) ultimately
become runtime calls that requi...

5960f4ec10e175714145d5ffa1b37d282b7a2157 authored over 2 years ago by Matthew Dempsky <[email protected]>
debug/dwarf: handle malformed line table with bad program offset

Touch up the line table reader to ensure that it can detect and reject
an invalid program offset...

de5329f1de4cd4a938323012910310e548b2d936 authored over 2 years ago by Than McIntosh <[email protected]>
embed: document additional file name restrictions

For #44486

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

15605ca827723d568f780402d03b29842fd20eec authored over 2 years ago by tulip <[email protected]>
test: add test that causes gofrontend crash

For #52846

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

2e773a3894fba7af744090d7d42968f4993018e2 authored over 2 years ago by Ian Lance Taylor <[email protected]>
cmd/compile: don't use dictionary convert to shaped empty interface

Fixes: #53254

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

ff17b7d0d42af12ca1ad766a135d9951029027ea authored over 2 years ago by Wayne Zuo <[email protected]>
cmd/go: make module .zip files group/world readable

os.CreateTemp in downloadZip leaves downloaded .zip files readable only
by the owner. Make them ...

2a3b467d5f8de04a3493b7ab8cd886e109bd9283 authored over 2 years ago by Dmitri Goutnik <[email protected]>
cmd/go, cmd/link: support failure to create _cgo_import.go

For a package that uses cgo, the file _cgo_import.go is created to
record information required f...

bdab4cf47a47b69caacad6fd7ff6ab27bb22ab1c authored over 2 years ago by Ian Lance Taylor <[email protected]>
cmd/go: avoid indexing modules in GOROOT

Scanning GOROOT modules for changes appears to be causing Windows
builders to time out in x/tool...

aca37d16a5a5c1d24e374245f0e5b6404379db96 authored over 2 years ago by Bryan C. Mills <[email protected]>
all: update to current golang.org/x/sys revision

go get -d golang.org/x/sys@6c1b26c55098eae66ce95ab7c3712ab6cbfff2b7
go mod tidy
go mod vendor

T...

111cdb58487f1a3d2bd82be14a90837f31a3e320 authored over 2 years ago by Guoqi Chen <[email protected]>
cmd/compile: fix assert condition in generic method call

Fixes #53406.

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

4045b1bc3f97a47274ef1da2bf6d29f5ce1c7b88 authored over 2 years ago by Wayne Zuo <[email protected]>
compress/gzip: always close bodyReader in Example_compressingReader

For #53362
Fixes #53414

Change-Id: I352164e70c136eed210c7ee4ceba5dc631f81f94
Reviewed-on: https...

6bad7e82430bb1eb927a2901f44f9664637db27d authored over 2 years ago by Ian Lance Taylor <[email protected]>
encoding/xml: check nil pointer in DecodeElement

Fixes #53350

Change-Id: Id5e1f4016db5f1d4349ee1a76a9dfe3aeae83cee
GitHub-Last-Rev: 45add121612a...

606c6c371ad3d089d59d15393f7c49b063fc0eca authored over 2 years ago by shaoliming <[email protected]>
cmd/cgo: dont override declared struct type

Fixes #52611

Change-Id: I835df8d6a98a37482446ec00af768c96fd8ee4fe
GitHub-Last-Rev: ea54dd69eef9...

f5715181392c68d928c3152f8cf90fa9d4ee9e4e authored over 2 years ago by kkHAIKE <[email protected]>
net: don't set netGo = true on Windows with no cgo

Windows can call the C DNS lookup routines even without cgo,
so don't force it to use the Go rou...

92c9b81447649d5a8ed38ca79b71640c099e0243 authored over 2 years ago by Ian Lance Taylor <[email protected]>
cmd/trace: add basic documentation to main page

This change adds rudimentary explanation of the various
visualizations to main page of the trace...

be0b2a393a5a7297a3c8f42ca7d5ad3e4b15dcbe authored over 2 years ago by Alan Donovan <[email protected]>
go/types, types2: fix parameter order dependence in type inference

If we have more than two function arguments to a generic function,
we may have arguments with na...

b004c739b525d354ea62f5caadd962de4569d96e authored over 2 years ago by Robert Griesemer <[email protected]>
[dev.unified] cmd/compile: avoid reflectType in ssagen

This CL adds alternate code paths for the frontend to plumb through
rtypes to package ssagen, so...

5e0258c700cba33db1a41806ff328a9c3f42d4da authored over 2 years ago by Matthew Dempsky <[email protected]>
[dev.unified] cmd/compile: extract rtype code from walk

This CL removes (almost*) all reflectdata.{TypePtr,ITabAddr} calls
from package walk. This will ...

93833cd5d8c8b35cd94f743c73cd18712531de4b authored over 2 years ago by Matthew Dempsky <[email protected]>
[dev.unified] cmd/compile: refactor reflectdata.{TypePtr,ITabAddr}

Minor refactoring to decouple from base.Pos and deduplicate some
common code paths.

Passes tool...

f70775ff22f4658d6ee65d9ec314687cffe57a84 authored over 2 years ago by Matthew Dempsky <[email protected]>
spec: document operations which accept []byte|string constrained types

Pre-1.18, as special cases, the built-in operations append and copy
accepted strings as second a...

f2c7e78592973436a55cdfc4bca2fc3bce526cad authored over 2 years ago by Robert Griesemer <[email protected]>
runtime/trace: ignore fallback stacks in test

When runtime.sigprof encounters a stack that gentraceback is unable to
process, it synthesizes a...

ab422f2749bc21514cb22d444bae460f5fa22376 authored over 2 years ago by Rhys Hiltner <[email protected]>
doc/go1.19: use correct link to sync/atomic docs

For #51400
Fixes #53453

Change-Id: Ie11182a16299cf26d03970d6aa9bfe03caa56ea4
Reviewed-on: https...

66685fb7dd72531aed6f1b3f4de43799bb26c052 authored over 2 years ago by Ian Lance Taylor <[email protected]>
runtime: convert flaky semaphore linearity test into benchmark

Also, add a benchmark for another case that was originally tested.

Also also, remove all the de...

4b236b45d0bb659a447dcfc02ebd431587b52e2b authored over 2 years ago by Michael Anthony Knyszek <[email protected]>
[dev.unified] cmd/compile/internal/walk: minor prep refactoring

Two small refactorings that will make it easier to thread through
RType parameters later. Behavi...

fc5dad6646b165d0de75bf94956b18e22d00fa0a authored over 2 years ago by Matthew Dempsky <[email protected]>
cmd/go/internal/modindex: avoid walking modules when not needed

Due to a missed condition in CL 412394, we were walking all modules
(instead of just the ones co...

530511bacccdea0bb8a0fec644887c2613535c50 authored over 2 years ago by Bryan C. Mills <[email protected]>
cmd/compile: allow 128-bit values to be spilled

We sometimes use 16-byte load+store to move values around in memory.
In rare circumstances, the ...

c2d373d5d1802d7479f3c81dcf01d41bef3646dd authored over 2 years ago by Keith Randall <[email protected]>
test: add regress test for #53477

This test already passes for GOEXPERIMENT=unified; add regress test to
ensure it stays that way....

19ed442807499080cf9c31ac883d4195db5415c9 authored over 2 years ago by Matthew Dempsky <[email protected]>
doc/go1.19: fix HTML validation issues

Avoid duplicating tag ID runtime and remove a superflous </dd> tag.

Found by https://validator....

3fcbfb07a82c5332e6b50cddba333af6e6e3e488 authored over 2 years ago by Tobias Klauser <[email protected]>
cmd/compile: skip substituting closures in unsafe builtins arguments

For unsafe.{Alignof,Offsetof,Sizeof}, subster will transform them them
to OLITERAL nodes, and di...

527ace0ffa81d59698d3a78ac3545de7295ea76b authored over 2 years ago by Cuong Manh Le <[email protected]>
test: add regress test for #53419

This currently works with GOEXPERIMENT=unified. Add a regress test to
make sure it stays that wa...

ec58e3f3271de385cf976a805e611d3da09c3a0e authored over 2 years ago by Matthew Dempsky <[email protected]>
cmd/go/internal/modfetch: prevent duplicate hashes in go.sum

To write go.sum, each module and then each hash is looped through. The
hashes are kept in a slic...

103cc661f1906837d02133e9c65d0475ac49799c authored over 2 years ago by Josh Powers <[email protected]>
sync: add more notes about Cond behavior

Cond is difficult to use correctly (I was just bitten by it in
a production app that I inherited...

d42a48828f3cff4e57cefaf72bc88cef7d355fd6 authored over 2 years ago by Kevin Burke <[email protected]>
cmd/go/internal/work: log clearer detail for subprocess errors in (*Builder).toolID

For #52647.

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

9e2f2897546c51863bf860c30622fbe9e3359391 authored over 2 years ago by Bryan C. Mills <[email protected]>
net: fix flaky *TimeoutMustNotReturn tests

The tester goroutine doesn't always gets a chance to run before the
timeout expires. Wait for th...

dd2d00f9d57ba6aafb084d83ffc7fb35f97b8c84 authored over 2 years ago by Dmitri Goutnik <[email protected]>
go/token: delete unused File.set field

This field is only used for a sanity check in a test.

Change-Id: I868ed10131ec33994ebb1b1d88f67...

6c25ba624fd032a20dcfa94f9f9f0ae32c57c54b authored over 2 years ago by Alan Donovan <[email protected]>
cmd/dist: add package . to 'go test' commands

This suppresses verbose output if the test passes,
eliminating some "hello from C" noise for the...

9068c6844dc0f0100bd810ad73dbf877bb92507b authored over 2 years ago by Bryan C. Mills <[email protected]>
runtime: write much more direct test for semaphore waiter scalability

This test originally existed as two tests in test/locklinear.go, but
this checked against actual...

7bad61554ec6da4ba4cbad443074360408890603 authored over 2 years ago by Michael Anthony Knyszek <[email protected]>
cmd/go: add more tracing

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

f38a580a51cd2fc072aabc9dd45b9e0a85064c81 authored over 2 years ago by Michael Matloob <[email protected]>
[dev.unified] all: merge master (635b124) into dev.unified

Merge List:

+ 2022-06-16 635b1244aa cmd/go: pass GOEXPERIMENT through to subtests
+ 2022-06-16 ...

1f4e8afafee02b69231ac31bfff7c7211bb41336 authored over 2 years ago by Matthew Dempsky <[email protected]>
cmd/go: pass GOEXPERIMENT through to subtests

This fixes:

export GOEXPERIMENT=unified
go install cmd
go install std cmd
go install std cm...

635b1244aa7671bcd665613680f527452cac7555 authored over 2 years ago by Russ Cox <[email protected]>
expvar: don't crash if map value set to nil

Fixes #52719

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

ef808ae1d446700aeeb19d5aa041ca14db44c951 authored over 2 years ago by Ian Lance Taylor <[email protected]>
go/parser: remove unused method checkBinaryExpr

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

32510eea742162bc8048e8eaa68c2c5b1d8712d2 authored over 2 years ago by Robert Griesemer <[email protected]>
cmd/go: parallelize matchPackages work in each module

In each module matchPackages looks in, when doing the walk, do the
scanDir call in a par.Queue s...

74f1fa6ecbf79c778fc18d2a6b563fbb94f4b740 authored over 2 years ago by Michael Matloob <[email protected]>
cmd/link: consider alignment in carrier symbol size calculation

Currently, when we calculate the size of a carrier symbol, we use
the previous symbol's end addr...

1d9d99b7ce279f2af928f79cbc5906d99f29bb67 authored over 2 years ago by Cherry Mui <[email protected]>
spec: adjust incorrect sentence in section on rune literals

Add an additional example.

Fixes #53217.

Change-Id: I899376b9c1fa8dc5d475d8d3d6c8788ab79b0847
...

bcce8ef4982cf29715895277ad84aaf16991e06b authored over 2 years ago by Robert Griesemer <[email protected]>
test: add test that gofrontend fails

For #52870

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

ecc268aa26b81cb53f2f6f62ea9d074a610771fe authored over 2 years ago by Ian Lance Taylor <[email protected]>
internal/goarch, internal/goos: update generators for syslist.go

Update the generator programs for the changes to syslist.go in CL
390274 and the changes to the ...

b6c16068897c370661f03af91e8ba46860408e61 authored over 2 years ago by Ian Lance Taylor <[email protected]>
reflect: fix reference comment to runtime/map.go

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

91baf5ceccc363c21925aee8611c2c279806238b authored over 2 years ago by Koichi Shiraishi <[email protected]>
[dev.unified] test: extract different inline test between unified and non-unified

Unified IR records the inline nodes position right at the position of
the inline call, while the...

8a9485c023543ba688b6b316223e243fdf36b074 authored over 2 years ago by Cuong Manh Le <[email protected]>
syscall: clarify Pdeathsig documentation on Linux

This is a rather large footgun, so let's mention that it sends the signal on thread termination ...

0e3d0c9581d1d31a94f5c70a528ff0bdba5c523d authored over 2 years ago by Vojtěch Boček <[email protected]>
go/types, types2: add test case for issue for coverage

The specific error doesn't occur anymore.
Add a test to prevent regressions.

For #50729.

Chang...

74bf90c779b3d4a4babd3e3de38e3d3e5d9dd7de authored over 2 years ago by Robert Griesemer <[email protected]>
doc/go1.19: use matching closing tag in unix build constraint heading

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

0cd0c12f576a3be39f44d20145eba334adce0bba authored over 2 years ago by Tobias Klauser <[email protected]>
syscall, runtime/internal/syscall: always zero the higher bits of return value on linux/loong64

All loong64 syscalls return values only via R4/A0, and R5/A1 may contain unrelated
content. Alwa...

97bfc77f3897d6268cf4f9bb6756b97ff5e7cc03 authored over 2 years ago by Guoqi Chen <[email protected]>
net/netip: add missing ) in ParsePrefix errors

The existing error messages didn't add right parenthesis ')' properly
leading to improper format...

937fa5000a7bb07ed62d35a1aea9ea0819659084 authored over 2 years ago by subham sarkar <[email protected]>
cmd/link: set alignment for carrier symbols

For carrier symbols like type.*, currently we don't set its
alignment. Normally it doesn't actua...

c2c76c6f198480f3c9aece4aa5d9b8de044d8457 authored over 2 years ago by Cherry Mui <[email protected]>
cmd/go/internal/modindex: disable indexing for modules outside GOROOT and the module cache

Since CL 410821 we were indexing these modules with a cache key based
on the mtimes of the files...

36147dd1e8d8e21affbf5d8a758608e63304e4a7 authored over 2 years ago by Bryan C. Mills <[email protected]>
test: add tests for string/[]byte/[]rune conversions

Matches examples in spec section on string conversions.

For #23814.

Change-Id: I08099c27bfdb98...

2a78e8afc0994f5b292bc9a5a7258c749e43032f authored over 2 years ago by Robert Griesemer <[email protected]>
net: avoid infinite recursion in Windows Resolver.lookupTXT

For #33097

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

f9c0264107a9a36832d70781fe100cff16917855 authored over 2 years ago by Ian Lance Taylor <[email protected]>
spec: clarify "slice of bytes" and "slice of runes" through examples

The spec section on conversions uses the terms "slice of bytes" and
"slice of runes". While not ...

0dffda13834545317569052a9de7dfbf27b62c5d authored over 2 years ago by Robert Griesemer <[email protected]>
reflect: when StructOf overflows computing size/offset, panic

Fixes #52740

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

c22a6c3b906cd37616d76da5f504c4c3e5677d94 authored over 2 years ago by Keith Randall <[email protected]>
cmd/compile,runtime,reflect: move embedded bit from offset to name

Previously we stole a bit from the field offset to encode whether
a struct field was embedded.

...

e1e66a03a6bb3210034b640923fa253d7def1a26 authored over 2 years ago by Keith Randall <[email protected]>
[dev.unified] cmd/compile: more Unified IR docs and review

This adds more documentation throughout the core Unified IR logic and
removes their UNREVIEWED n...

394ea70cc925ab59b6c1a3d41accbc5613c71e3b authored over 2 years ago by Matthew Dempsky <[email protected]>
cmd/go: quote package directory when calling glob

Fixes #53314

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

cb9bf93078c54187f5be9d8a65c81c249d12d3c5 authored over 2 years ago by Ian Lance Taylor <[email protected]>
cpu: fix typos in test case

Change-Id: Id6a27d0b3f3fc4181a00569bacc578e72b04ce09
GitHub-Last-Rev: 85c063d1a2d62181d16044592a...

cad477c922b8b6f71e3f0968822841430516c639 authored over 2 years ago by ag9920 <[email protected]>
runtime: add HACKING section on nosplit functions

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

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

For #51400

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

c5be77b687369783ed8a109482452c7811f7803c authored over 2 years ago by Austin Clements <[email protected]>
sync: improve linearity test robustness

This change improves the robustness of the locklinear test in the
following ways:

* It removes ...

56bc3098f4ed42b272a45c246dcd42d28d89a69a authored over 2 years ago by Michael Anthony Knyszek <[email protected]>
sync: move lock linearity test and treat it like a performance test

This change moves test/locklinear.go into the sync package tests, and
adds a bit of infrastructu...

1fe2810f9ca0dcd34e473f852102e2a49d45d7d8 authored over 2 years ago by Michael Anthony Knyszek <[email protected]>