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

reflect: fix stale Value.kind documentation

The lowests fives bits are the kind, and the next five bits are attributes,
not the other way ar...

cdb270cf0737a4752e5375b737eba83929f2b415 authored about 2 years ago by Joe Tsai <[email protected]>
debug/gosym: rename nameoff to nameOff to match runtime

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

027ff3f47d5d6557067324c342c8e14d7da1cf7a authored about 2 years ago by Michael Pratt <[email protected]>
cmd/link/internal/ld: update _func names to match runtime

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

3e758593905c1377b0db8d388839171159d0fea5 authored about 2 years ago by Michael Pratt <[email protected]>
.github: update issue label for pkgsite-removal

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

7033275e3742c31810bd2f8da13d0b3c90363837 authored about 2 years ago by Sean Liao <[email protected]>
runtime: rename _func.entryoff to entryOff

To match _func.nameOff.

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

7ebaa6587bb0d0454c87796fd894c751f91f2bff authored about 2 years ago by Michael Pratt <[email protected]>
cmd/vet: use strings.Builder

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

df9d53d93b7ae8fb4ba510fe259a58d873f06c70 authored about 2 years ago by cuiweixie <[email protected]>
runtime: rename _func.nameoff and friends to nameOff

Switch to the more Go-style name to match inlinedCall.nameOff.

Change-Id: I2115b27af8309e1ead7d...

196003f9fd8d754a926ea8bc3aa5207eaea87528 authored about 2 years ago by Michael Pratt <[email protected]>
runtime: rename inlinedCall.func_ to inlinedCall.nameOff

The meaning of this field is unchanged, this CL simply gives it a more
descriptive name, as func...

d81ed4d62192cd89dbf664c42e26c35a052dd9ce authored about 2 years ago by Michael Pratt <[email protected]>
database/sql: simplify retry logic when the connection is bad

Simplify retry logic when got bad connection

Change-Id: I92494c6c020576ec01bc4868334ee920ded7aa...

0752f4a12cfd212ed5a5fdfc8696811d89b12acf authored about 2 years ago by Jinzhu <[email protected]>
os: fix wrong error msg from TestReadClosed

If test would fail, the error message will have wrong error and its
type, because e is used afte...

88149ed43e50325f3200b580be400c91ed01aaac authored about 2 years ago by Kir Kolyshkin <[email protected]>
test: add regression test for issue 54911

It was fixed by CL 422196, and have been already worked in unified IR.

Fixes #54911

Change-Id:...

5a9638692298deb45e7b95f51d5dd5a1be724874 authored about 2 years ago by Cuong Manh Le <[email protected]>
go/parser: use strings.Builder

Change-Id: Ic8078543eb80470505a3cc2da8ea9fb8fb1369aa
GitHub-Last-Rev: 7b358c685aec10afcdb98eb7de...

2e1f98e3a17510c73d71bc4fc61a2bdbf20f92aa authored about 2 years ago by cui fliter <[email protected]>
reflect: use strings.Builder

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

c75d19732d59514a97d869b9cb9d006d1d403c05 authored about 2 years ago by cuiweixie <[email protected]>
net/textproto: use strings.Builder

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

82d1019c60af4a013f2ffbff87e0cad028a073d7 authored about 2 years ago by cuiweixie <[email protected]>
Revert "sync: convert Once.done to atomic type"

This reverts commit CL 427140.

Reason for revert: Comments say that done should be the first fi...

b53471a655f3928d2d0a851b1fb5f7ebb02adc76 authored about 2 years ago by Ian Lance Taylor <[email protected]>
testing: use strings.Builder

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

ed530dbd077c8dbf680fabb1fb10da5239099e25 authored about 2 years ago by cuiweixie <[email protected]>
runtime: use strings.Builder

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

f4bf9bceac20868fb692bacf02ee5b4ccd99b778 authored about 2 years ago by cuiweixie <[email protected]>
os: use strings.Builder

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

6375f508a861ba2591b4c2a2e9f1172cd3ae8257 authored about 2 years ago by cuiweixie <[email protected]>
net/smtp: use strings.Builder

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

e2d8ed2fd7bd033e755cd31ce7ce9b73e030df71 authored about 2 years ago by cuiweixie <[email protected]>
unicode/utf8: use strings.Builder

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

6a2ff105f169ac3b607621d6b8cd5bd0a7c800e6 authored about 2 years ago by cuiweixie <[email protected]>
cmd/compile: remove redundant SEQZ/SNEZ on riscv64

In particular, (SEQZ (SNEZ x)) can arise from (Not (IsNonNil x)).

Change-Id: Ie249cd1934d71087e...

77da976419ebef9beec480e86202db7a32ebd181 authored about 2 years ago by Joel Sing <[email protected]>
cmd/compile: avoid zero extension after properly typed atomic operation on riscv64

LoweredAtomicLoad8 is implemented using MOVBU, hence it is already zero
extended. LoweredAtomicC...

b6a6847b2f33dc8fb231c78cc4d807eaf10a133a authored about 2 years ago by Joel Sing <[email protected]>
cmd/compile: improve Slicemask on riscv64

Implement Slicemask the same way every other architecture does - negate
then arithmetic right sh...

c011270fa56303c0f16a8cfa9b37f37f470a45bb authored about 2 years ago by Joel Sing <[email protected]>
syscall: simplify code using unsafe.Slice

Updates #54854

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

ba1ef54c1ee0e5ed8fd572dbb4ec67548cd5a55e authored about 2 years ago by cuiweixie <[email protected]>
runtime: simplify code using unsafe.{Slice,String}

Updates #54854

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

4fe4601d37179facbf7e79627ef9d6a236364505 authored about 2 years ago by cuiweixie <[email protected]>
strings: simplify code using unsafe.StringData

Updates #54854

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

2ee075dc47ec686b48746fd261212b044705fcdc authored about 2 years ago by cuiweixie <[email protected]>
internal/fuzz: simplify code using unsafe.{SliceData,Slice}

Updates #54854

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

92b8f4e293421b3b61e868d593a89315c788c327 authored about 2 years ago by cuiweixie <[email protected]>
bytes: simplify code using unsafe.SliceData

Updates #54854

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

2a627afe139b9e7b079da14b30beeb0bb8f5d09e authored about 2 years ago by cuiweixie <[email protected]>
cmd/compile/internal/ssagen: use strings.Builder

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

502504f433fa03fc8400b23c3fd10d5eb6e2b620 authored about 2 years ago by cuiweixie <[email protected]>
cmd/compile/internal/ssa: use strings.Builder

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

095b6f050f9690bc5fa29fac3cc12bf86d6fffbf authored about 2 years ago by cuiweixie <[email protected]>
cmd/compile/internal/pkginit: use strings.Builder

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

431446d0a02f13f08579c8116d7bd3b1ebca9f4f authored about 2 years ago by cuiweixie <[email protected]>
cmd/compile/internal/ir: use strings.Builder

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

1429a97520ea526dc0ced275789694aa9566c81f authored about 2 years ago by cuiweixie <[email protected]>
crypto/x509/internal/macos: simplify code using unsafe.{SliceData,StringData}

Updates #54854

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

db9e549fd2a97b5a812ad088266f09654efa267f authored about 2 years ago by cuiweixie <[email protected]>
net: fix a typo in BenchmarkSendFile

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

ccf82d53233234e563c0d394cb5a3b6da888e3d6 authored about 2 years ago by Andy Pan <[email protected]>
net/rpc/jsonrpc: use strings.Builder

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

bfadd789860871741e0a86154e02998f879f29f3 authored about 2 years ago by cuiweixie <[email protected]>
os/exec: LookPath: use eaccess for exec check on linux

Having an executable bit set for a binary is not enough for it to be
executable -- there might b...

2b8f21409480931b45c983853a78dc7984ed634e authored about 2 years ago by Kir Kolyshkin <[email protected]>
net/http: use strings.Builder

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

403e5f1cb174185a763745276e12156e8d70ba6a authored about 2 years ago by cuiweixie <[email protected]>
net: use strings.Builder

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

8fd2073694412c0670fef582ec940f4f86416fd6 authored about 2 years ago by cuiweixie <[email protected]>
all: update vendored golang.org/x/net

Pull in security fix:

f3363e06e7 http2: handle server errors after sending GOAWAY

Fixes CV...

29af494fca8a25d7d46276f6d4835c4dcd09e47d authored about 2 years ago by Damien Neil <[email protected]>
cmd/link,runtime: remove unused fields from inlinedCall

The parent, file, and line fields are no longer used now that we have
parentPc to find the paren...

c83e1b6d5bd5378689a6485775a9a4f80c9c66ed authored about 2 years ago by Michael Pratt <[email protected]>
cmd/compile: do not devirtualize defer/go calls

For defer/go calls, the function/method value are evaluated immediately.
So after devirtualizing...

c82304b7129d7e675ff010d54f58d039235e4802 authored about 2 years ago by Cuong Manh Le <[email protected]>
cmd/compile: gofmt comments

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

812fd2fe70112209557c4f6392ab8eaee6f68dda authored about 2 years ago by zhangyunhao <[email protected]>
net/http: clarify proxy selection from environment

For #40909
Fixes #54890

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

90f04dd4618339ffba8a46f46e8ab10a4e7de5c6 authored about 2 years ago by Sean Liao <[email protected]>
cmd/compile/internal/syntax: use strings.Builder

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

86f8b8d3f20129dce7a220d4ce32d13e766ba86a authored about 2 years ago by cuiweixie <[email protected]>
net/http: using strings.Builder

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

50bb42a46f177d117acd2050e5b498ea15f06332 authored about 2 years ago by cuiweixie <[email protected]>
go/doc: using strings.Builder

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

11c5bf521e676a379fbf17d956c61acd3d33eb31 authored about 2 years ago by cuiweixie <[email protected]>
go/ast: using strings.Builder

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

a8237ba61a6014060c5b28b19f7d084000f06fb2 authored about 2 years ago by cuiweixie <[email protected]>
all: make sure *Pointer[T]'s methods are inlined as intended

Updates #50860

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

ef69718dd7c000cb0ee6d2db5be881ed7deee9bf authored about 2 years ago by Cuong Manh Le <[email protected]>
internal/poll, internal/syscall/unix, net: enable writev on solaris

The writev syscall is available since at least Solaris 11.3.

Reuse the existing illumos writev ...

00234b052e969a5c84e6ad9f07414beb3bfb6377 authored about 2 years ago by Tobias Klauser <[email protected]>
mime: use strings.Builder

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

e0e0c8fe9881bbbfe689ad94ca5dddbb252e4233 authored about 2 years ago by cuiweixie <[email protected]>
net/http/cgi: use strings.Builder

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

3b044e9c7e135f241973068ec1ec67452da855c0 authored about 2 years ago by cuiweixie <[email protected]>
net/http/httptrace: use strings.Builder

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

8f14a4602dba2e681c1308cd680de8455521189b authored about 2 years ago by cuiweixie <[email protected]>
net/http/httputil: use strings.Builder

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

ce8dcd9879652975d83e0843b1d3d3f593a8a4ff authored about 2 years ago by cuiweixie <[email protected]>
cmd/doc: use strings.Builder

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

1207ee896c193fbd629f9d9bf746f69a60e15b96 authored about 2 years ago by cuiweixie <[email protected]>
runtime: remove unused parameter on runOpenDeferFrame

Found via unparam.

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

fbf452a89fe95b3a26069c6c5a43240798db2408 authored about 2 years ago by Daniel Martí <[email protected]>
net/http: make triv.go example less insecure

The triv.go example serves the entire contents of $HOME by default.
That seems bad, let's not do...

dc629ec939c006aca7a8d60a176253057b28e10c authored about 2 years ago by Damien Neil <[email protected]>
net: mark withTCPConnPair as test helper

Noticed while analyzing test failures on go.dev/cl/427714 that were
pointing to withTCPConnPair ...

e1e88d636badf57a66a573dd9f8c990df3573950 authored about 2 years ago by Tobias Klauser <[email protected]>
debug/buildinfo: remove redundant type conversion

Change-Id: Ia8ffc9a17646ad2c74f633610aaf34fef006c023
GitHub-Last-Rev: 6ab0d107393c9bdfeaed5c539e...

b71ca76065823af0908ff469f603c0b38a7c4177 authored about 2 years ago by Sasha Melentyev <[email protected]>
net: add benchmark test for SendFile

BenchmarkSendFile/1024-4 716760 1582 ns/op 647.31 MB/s ...

efa357ce3c1a8ef0ce94347fef533c87673a598a authored about 2 years ago by Andy Pan <[email protected]>
os: delete unused errClosed

errClosed was introduced by CL 163058 and was supposed to be removed by CL 243906,
but somehow i...

979956a7321e74f1441ae2a05c9dc6560d7fe84c authored about 2 years ago by Andy Pan <[email protected]>
runtime: add missing copyright header to signal_windows_test.go

The file was added in CL 181839 which was submitted in 2019.

Also delete the superfluous //go:b...

dc029f286e1860eca810b1c087ce09e0933ed746 authored about 2 years ago by Tobias Klauser <[email protected]>
sync: convert Once.done to atomic type

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

1110222bee07ba6f8786f7a5fafb2449e441495e authored about 2 years ago by cuiweixie <[email protected]>
math/big: replace dead link in a comment with link to an archive.org copy

Happy to use another service if web.archive.org isn't suitable.

Note: the original page redirec...

9363f356bd5a4fb7a45861ceac79033473f4c068 authored about 2 years ago by Alok Menghrajani <[email protected]>
runtime: in traceback, only jump stack if M doesn't change

CL 424257 modified gentraceback to switch gp when jumping from a
system stack to a user stack to...

60ef4b2c1e931069d81f053358a4023e09359e7f authored about 2 years ago by Austin Clements <[email protected]>
log: use strings.Builder

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

e3885c4ee5f35a7012fa11d8fc84a27c3c1177a0 authored about 2 years ago by cuiweixie <[email protected]>
io: use strings.Builder

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

7c47c9773cc3847f8851a04753f7f008b2add3b1 authored about 2 years ago by cuiweixie <[email protected]>
image/jpeg: use strings.Builder

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

c35bc69c97ddde490e640c2b608941c82de65949 authored about 2 years ago by cuiweixie <[email protected]>
html/template: use strings.Builder

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

07b19bf5ab1160814ffedd448ce65c0eb6e9643a authored about 2 years ago by cuiweixie <[email protected]>
flag: use strings.Builder

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

91a1b55489dfdc720ee4043390777e903c69222a authored about 2 years ago by cuiweixie <[email protected]>
encoding: use strings.Builder

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

ab87db8b46fcd987f0d42ecdd03c149288bc9383 authored about 2 years ago by cuiweixie <[email protected]>
debug: use strings.Builder

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

a89c3d76ba3c8f75663ebb83ebdbe8432582e9d2 authored about 2 years ago by cuiweixie <[email protected]>
bufio: use strings.Builder

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

32f68b5ab7b4f2a5a87497816260d9b671f6c74e authored about 2 years ago by cuiweixie <[email protected]>
archive: use strings.Builder

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

6fcd9b42e7c6f7e8be75b9d8af01181096b3f752 authored about 2 years ago by cuiweixie <[email protected]>
misc: use strings.Builder

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

c761409e01307592fc3f4e4a73dc82fe1a39c807 authored about 2 years ago by cuiweixie <[email protected]>
Revert "runtime: convert local var stop,ready at TestDebugCallUnsafePoint to atomic type"

This reverts https://go.dev/cl/427135.

Reason for revert: broke the test it modified on linux-a...

a60a3dc5bc0336bd6b499bc7e1feb459b1e4a4bc authored about 2 years ago by Daniel Martí <[email protected]>
internal/trace: use strings.Builder

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

8a323542190ec3ba8f0ff0ec057e75e25ad1f408 authored about 2 years ago by cuiweixie <[email protected]>
Revert "internal/poll: drop redundant ENOSYS and EXDEV error checks in CopyFileRange()"

This reverts https://go.dev/cl/425881.

Reason for revert: broke make.bash on linux/amd64 with L...

1c50484335ff8c752f872cf730f262b66280b5be authored about 2 years ago by Daniel Martí <[email protected]>
internal/syscall/unix: KernelVersion nitpicks

A few minor improvements for KernelVersion for the sake of readability.

Change-Id: I06d2df60ece...

4c1ca42aa295d68b6172b7f49e4fb4fd14d86475 authored about 2 years ago by Kir Kolyshkin <[email protected]>
internal/syscall/unix: simplify KernelVersion

Since values[2] elements are initialized with 0, the switch statement
doesn't do anything. Remov...

e2e69ec82a7360fa8e803c0e98964e223335fe4b authored about 2 years ago by Kir Kolyshkin <[email protected]>
runtime: refactor finalizer goroutine status

Use an atomic.Uint32 to represent the state of finalizer goroutine.
fingStatus will only be chan...

bd5595d7fa4eb3e234aabeac554f2ba8f2a95790 authored about 2 years ago by Leonard Wang <[email protected]>
go/ast: add Range token.Pos to RangeStmt

For #50429

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

67e6542467321099c0ffcf77ee660e28ec211588 authored about 2 years ago by cuiweixie <[email protected]>
internal/poll: drop redundant ENOSYS and EXDEV error checks in CopyFileRange()

The initial CL 229101 didn't limit the kernel version, but relies on error checking to
ensure th...

40ced0c00b04a5b9832bb5b47c995c82854f26ae authored about 2 years ago by Andy Pan <[email protected]>
runtime: convert local var stop at TestAfterStress to atomic type

For #53821

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

af7f417665fb1612eb9865c7ab4992bf095148e2 authored about 2 years ago by cuiweixie <[email protected]>
runtime: convert local var started,progress at TestStackGrowth to atomic type

For #53821

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

4ad55cd93f212eb90324ccafe5b492e404bd5e48 authored about 2 years ago by cuiweixie <[email protected]>
runtime: convert local var cunlock at doTestParallelReaders to atomic type

For #53821

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

02700e55a57647c837618d713102c8f8214657d8 authored about 2 years ago by cuiweixie <[email protected]>
runtime: convert local var ready at TestMemmoveAtomicity to atomic type

For #53821

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

7d83d320c0c290a259fa9dcf9ecfb3e0402be30c authored about 2 years ago by cuiweixie <[email protected]>
runtime: convert local var stop,ready at TestDebugCallUnsafePoint to atomic type

For #53821

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

357b9225174fa227b47246e57f61a1bf66c1354c authored about 2 years ago by cuiweixie <[email protected]>
net/http: don't time out idle server connections after ReadHeaderTimeout

Consistently wait for idle connections to become readable before
starting the ReadHeaderTimeout ...

4e7e7ae1406c70d9cc0809ec11105a55a60a0b70 authored about 2 years ago by Eliza Weisman <[email protected]>
net: precompute rfc6724policyTable in addrselect

As net package has one of the biggest init time in standard library, I have tried to improve per...

a295890c5c8ebae9cba8f01ddcee2bded7dad404 authored about 2 years ago by Tomasz Jezierski <[email protected]>
runtime: convert g.atomicstatus to internal atomic type

Note that this changes some unsynchronized operations of g.atomicstatus to synchronized operatio...

3fbcf05d40ed870d8b7a08c7fff9623a201c1567 authored about 2 years ago by Andy Pan <[email protected]>
cmd/go: make cfg.BuildContext.ToolTags same order with build.Default.ToolTags

So it's consistent when running "go list -f '{{context.ToolTags}}'" and
printing the content of ...

be26aa70d432572599d185492f5e2b095d75cc4d authored about 2 years ago by Cuong Manh Le <[email protected]>
runtime: fast clock_gettime on FreeBSD, use physical/virtual ARM timer

as setup by the kernel on GOARCH=arm64.

Update #50947

Change-Id: I2f44be9b36e9ce8d264eccc0aa3d...

535fe2b226096a3547321a51b36f464ab443b5cb authored about 2 years ago by Yuval Pavel Zholkover <[email protected]>
internal/syscall/unix: consolidate kernelVersion implementations

Currently, there are 3 functions returning Linux kernel version numbers.

Two of them are identi...

a73506cff560c4d95ac604f4f76d58386ca29ed9 authored about 2 years ago by Kir Kolyshkin <[email protected]>
go/types, types2: use strings.Builder instead of bytes.Buffer where possible

Also, consistently use declaration: var buf strings.Builder.
We don't change exported signatures...

2392b7061cfc71dcdaefeb027dcce0951f697658 authored about 2 years ago by Robert Griesemer <[email protected]>
all: use strings.Builder instead of bytes.Buffer

Change-Id: I6d7213d29ade591b8366d5640833bd5a20474165
GitHub-Last-Rev: 94195832873fe6764d45ffdd6e...

7a86ef2ad88af19642d7feaebacffd0260114d2a authored about 2 years ago by Sasha Melentyev <[email protected]>
syscall: fix skipping some tests on Linux

The kernel knob /proc/sys/kernel/unprivileged_userns_clone is
only available in Debian (and Ubun...

a0f05823e4953d137310de164b2544e41dd767d2 authored about 2 years ago by Kir Kolyshkin <[email protected]>
net: skip TestLookupPTR when LookupAddr fails with "DNS server failure"

For #38111.

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

32964f9dce9615f7c1072e5ead9e11e6db5d2237 authored about 2 years ago by Bryan C. Mills <[email protected]>
fmt: recycle printers with large buffers

Previously when a printer had a large buffer we dropped both
the buffer and the printer. There i...

f798dc682539df0bc60b30bedce9d6f5d5192d47 authored about 2 years ago by Carlo Alberto Ferraris <[email protected]>
cmd/compile/internal/noder: optimize itabs section of runtime dicts

Currently, the itabs section for runtime dictionaries includes its own
redundant *runtime._type ...

9fc09d2ffb4384579998b5046a1d4aee32c5ca17 authored about 2 years ago by Matthew Dempsky <[email protected]>
cmd/compile: optimise subtraction with const on riscv64

Convert subtraction from const to a negated ADDI with negative const
value, where possible. At w...

3e11e61f3ced03d48e7d27ff6e51a3b1c0425db7 authored about 2 years ago by Joel Sing <[email protected]>