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

text/template/parse: simplify I/O in lexing

The concurrent model for delivering tokens was fine for pedagogy,
but has caused a few problems ...

36760ca9fd3eaf2c79efef48e533b66da6c542bd authored about 2 years ago by Rob Pike <[email protected]>
cmd/internal/obj/ppc64: add ISA 3.1 instructions

Use ppc64map (from x/arch) to generate ISA 3.1 support for the
assembler. A new file asm9_gtable...

3a067b288ef235fdbc88220ea5bb384e0474f09b authored about 2 years ago by Paul E. Murphy <[email protected]>
cmd/asm, cmd/internal/obj/ppc64: increase asm test coverage for PPC64

This CL adds tests for some of the instructions that were
missing. A minor change was made to as...

c075c21ba532bd4d00158708e8c2981b8fdc19ca authored about 2 years ago by Archana R <[email protected]>
os: convert Process.isdone to atomic type

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

dedce99c06c85c25f5e999ee55691648486dd934 authored about 2 years ago by cuiweixie <[email protected]>
database: convert DB.{waitDuration,numClosed} to atomic type

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

e50dd0e974bdd621e48de2f64e02b4db5d12b393 authored about 2 years ago by cuiweixie <[email protected]>
cmd/link: support -fno-plt compiled gcc objects on ppc64le

This is the initial trivial implemenation. Further improvements can be
made for local calls.

A ...

7fda98a8d90139fed07d7f8ca80d248a5cbc1e93 authored about 2 years ago by Paul E. Murphy <[email protected]>
time: move RFC 3339 optimizations to separate file

The optimizations were added in CL 425197 and CL 421877.
Move this functionality to a separate f...

e7a2014fac885392e14205c93fff3fd8db84fa8d authored about 2 years ago by Joe Tsai <[email protected]>
syscall: use fcntl F_DUP2FD_CLOEXEC in forkAndExecInChild on dragonfly

Use fcntl(oldfd, F_DUP2FD_CLOEXEC, newfd) to duplicate the file
descriptor and mark is as close-...

f15582c477a4df03c4793db3c82547bd2956c1ab authored about 2 years ago by Tobias Klauser <[email protected]>
strconv: add a test case when base is illegal

Increase unit test coverage of strconv/itoa.go from 83.8% to 85%

Change-Id: I0abdfc70a3f0625110...

95ec579eb68fcc01975462a74676e3bacd9814b0 authored about 2 years ago by cui fliter <[email protected]>
hash/crc32: remove redundant code

Merge the CRC32 Update and Write functions using an unexported function, to avoid duplication of...

f6436c60e49f17f2ca723fdf76a0cb4323cbe02c authored about 2 years ago by Erik Pellizzon <[email protected]>
syscall: use fcntl F_DUP2FD_CLOEXEC in forkAndExecInChild on solaris

Use fcntl(oldfd, F_DUP2FD_CLOEXEC, newfd) to duplicate the file
descriptor and mark is as close-...

a7db14241cf59f9d3bf4e1a68cf9e503e1a05211 authored about 2 years ago by Tobias Klauser <[email protected]>
text/template: fixed typo in a nested template definition

The text was mistakenly quoted with backquotes.

Change-Id: I77ed4adac8c78b719bea61c08f1c377ed4a...

e0822b55ac2076112507016bc08d52999c25d728 authored about 2 years ago by kurochan <[email protected]>
cmd/compile: make encoding/binary appends cheaper to inline

Go 1.19 introduce new append-like APIs in package encoding/binary, this
change teaches the inlin...

629c0b3a6e3e2ff11c9c989a8dcd1a538cdd76f4 authored about 2 years ago by Wayne Zuo <[email protected]>
cmd/compile: avoid sign extension after word arithmetic on riscv64

These instructions already do sign extension on output, so we can get rid of it.

Note: (MOVWreg...

5760fde4df4f1e9303de122ae3b5ac80b7ef681d authored about 2 years ago by Wayne Zuo <[email protected]>
cmd/go: use strings.Builder

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

501df45199e82cfbd2eb7422c8bfe35688712402 authored about 2 years ago by cuiweixie <[email protected]>
internal/syscall/unix: remove superfluous var declarations in {Unlink,Open}at

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

7722b3c86d4e254ecee4fe290f81a44ba7cc1a42 authored about 2 years ago by Tobias Klauser <[email protected]>
compress/flate: update NewReader documentation

Calling close is no longer necessary.
It was was originally necessary to cleanup goroutines
spaw...

a29739145d8a46786d503bfc8a8ecf47a7381710 authored about 2 years ago by Joe Tsai <[email protected]>
runtime: optimise memclrNoHeapPointers on riscv64

Implement a more optimised memclrNoHeapPointers on riscv64, where up
to 64 bytes are zeroed per ...

44ad662a49e0490af0be12652f64aeab6fe1a5ee authored about 2 years ago by Joel Sing <[email protected]>
cmd/link: stop passing -pagezero_size to darwin linker

We added -pagezero_size in CL 72730, where it was intented for iOS.
The current code passes it o...

5231ba2f054f2ecb1387bad00b8745d6fe532ea4 authored about 2 years ago by Cherry Mui <[email protected]>
runtime/race: introduce subarch versioning of race syso

Allow us to select a race .syso file based on subarch values.

Note that this doesn't actually c...

e665de28611fd2cbf7789065e7a26ca12c4b9c00 authored about 2 years ago by Keith Randall <[email protected]>
cmd, syscall: use syscall.Mmap on solaris for Go ≥ 1.20

CL 413374 added syscall.Mmap on solaris. Use it in cmd/compile and
cmd/link if the bootstrap too...

7c3284401fcd3c6cb4cb747e3332217105d007c0 authored about 2 years ago by Tobias Klauser <[email protected]>
net/http/httputil: forward 1xx responses in ReverseProxy

Support for 1xx responses has recently been merged in
net/http (CL 269997).

As discussed in thi...

972870da11bb4ddd3df393473c494bd2b546cc56 authored about 2 years ago by Kévin Dunglas <[email protected]>
all: remove unnecessary allocations from w.WriteString(fmt.Sprint*(...)) by fmt.Fprint*(w, ...)

Noticed in a manual audit from a customer codebase that the pattern

w.WriteString(fmt.Sprin...

4baa486983204fdff64f80809627f79a538d8d82 authored about 2 years ago by Emmanuel T Odeke <[email protected]>
go/types, types2: improve readability of _InvalidUntypedConversion docs

Remove an unnecessary 'an' from errorcodes.go.

Change-Id: Iabe8ce479077cbfff936d57c788a9b39d7e5...

a7e9a379e970f0c48aae47da1778213f646b5f45 authored about 2 years ago by Ali Yousefi Sabzevar <[email protected]>
strings: reuse the input string for Repeat count of 1

The existing implementation allocates a new string even when the
count is 1, where we know the o...

9503bcae2b20d290332d00d78672881b7fcfedf0 authored about 2 years ago by Anuraag Agrawal <[email protected]>
go/build: remove unnecessary copies of package variables

These variables never change, we don't need second copies of them.

Also rename bPlusBuild to pl...

d60e51e3539986fcca331cc27f4730a4fe266149 authored about 2 years ago by Ian Lance Taylor <[email protected]>
cmd/go/testdata/script: remove reference to fixed issue

The issue referenced in work_prune.txt was fixed in CL 362754, but we
forgot to update the TODO ...

72e07dbee086659833ef560ecce517a183d95b23 authored about 2 years ago by Bryan C. Mills <[email protected]>
path/filepath: document that WalkDir uses OS paths

Fixes #52812

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

ebbaba281393de259b751779185855001876090a authored about 2 years ago by Ian Lance Taylor <[email protected]>
all: move //go:build lines below copyright notice

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

244127e4b40f3170317ebdb93fa8a92143a54c18 authored about 2 years ago by Tobias Klauser <[email protected]>
cmd/go/internal/vcs: replace [A-Za-z0-9_] with \w in regexps

Change-Id: Ibcc7dbb528585b019ff1b743792a52f43a4c2233
GitHub-Last-Rev: e907fb00e3202ce39475054208...

585c438615cf1e840afc270d7632ee836ced1de8 authored about 2 years ago by jiepeng <[email protected]>
cmd/compile: don't use R25 as input for LoweredMove on ARM64

The rule uses R25 as a scratch register. If the input is R25 it
will be clobbered on the way, ca...

a813be86df74bf2a9c5b272c0b0934d196ac665d authored about 2 years ago by Cherry Mui <[email protected]>
runtime: convert timer.status to atomic type

For #53821

Change-Id: I7cb6a16626964d5023b96609d9921bfe4a679d8f
GitHub-Last-Rev: ddfce125be4aa5...

f78efc0178d51c02beff8a8203910dc0a9c6e953 authored about 2 years ago by cui fliter <[email protected]>
net/http: make DefaultTransport docs about HTTP proxy consistent

The changes improve the documentation for DefaultTransport, making
the style with how the HTTP p...

39b31a3eb25e925cfbb57777e23d24e2a2af4d7a authored about 2 years ago by Vladimir Varankin <[email protected]>
reflect: move benchmarks to its own file

all_test.go is quite big, so let it contain tests only.

Change-Id: I5003db4a8b1e2384ea8470f5e89...

5bbee7a095435e52322b3a7c1e028b19c22e86e5 authored about 2 years ago by Cuong Manh Le <[email protected]>
runtime: set userForced while holding gcsema

Fixes #52515

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

6f7c9ea855b1ae97871837abf33b85aaa6731eae authored about 2 years ago by Leonard Wang <[email protected]>
syscall: simplify unsafe.Slice usage

Same as CL 429915.

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

242adb784cd64265ce803f6b0c59dbf126bcda9c authored about 2 years ago by Cuong Manh Le <[email protected]>
cmd/internal/objabi: declare HeadType String on a non-pointer receiver

objabi.HeadType is typically used as a non-pointer type, however the String function
is declared...

e084d844208621d0d9c060f8322d242adb26e845 authored about 2 years ago by Joel Sing <[email protected]>
strings: add a test case of growLen is negative

Before committing, the test coverage of strings/builder.go is 97.4%
After committing, the test...

09f3ff174c6487bebc4a9a6adea6d74baf6a92cc authored about 2 years ago by cui fliter <[email protected]>
cmd/link: generate an error if the entry symbol cannot be found

If the entry symbol cannot be found (for example, a new port is being brought
up and no rt0 code...

77420fa119643163f820be7752668a69100487d7 authored about 2 years ago by Joel Sing <[email protected]>
time: optimize Parse for RFC3339 and RFC3339Nano

RFC 3339 is the most common time representation,
being used in an overwhelming 57.3% of all spec...

f7396aaea0297a2e95b502a4075b0aed6efda89f authored about 2 years ago by Joe Tsai <[email protected]>
runtime: replace stringStruct with unsafe.String where appropriate

Simplify the code a bit, no significant performance changes.

name o...

7ffbcd19876b9fbf117b09475411b8de9fa2c9dd authored about 2 years ago by Cuong Manh Le <[email protected]>
cmd/link/internal/ld, syscall: use libc based msync on darwin for Go ≥ 1.20

Direct syscalls should no longer be used on darwin. Instead, directly
call libc's msync when usi...

d36466fe2aaf51c4b38c3a2ea3164cb3a56b8059 authored about 2 years ago by Tobias Klauser <[email protected]>
cmd/link/internal/ld: drop Go 1.12 compatibility on darwin

Go 1.17 is the minimum required version for bootstrap as of Go 1.20.
Also, the package no longer...

8df21a78027d54faa8014ce9040bd8007d1b23e0 authored about 2 years ago by Tobias Klauser <[email protected]>
go/types, types2: don't print function parameter names when showing type differences

Add a new flag 'paramNames' to typeWriter struct to control whether
function parameter names are...

dad2966a83c1597786a96a8ef407ed412575ec94 authored about 2 years ago by Robert Griesemer <[email protected]>
go/types, types2: consistently use _UnsupportedFeature error code

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

c7a0b156592ca15612315fc71f4e287268643bfd authored about 2 years ago by Robert Griesemer <[email protected]>
types2: provide error codes to error reporting

This CL adds a suitable error code to every error reporting,
matching what go/types already does...

f4a587ba6e5c5195152f47afee2700664524c11e authored about 2 years ago by Robert Griesemer <[email protected]>
internal/syscall/windows: simplify unsafe.Slice usage

CL 428780 used unsafe.Slice instead of unsafeheader for simplifiying the
code. However, it can b...

54182ff54a687272dd7632c3a963e036ce03cb7c authored about 2 years ago by Cuong Manh Le <[email protected]>
cmd/go: record the -buildmode flag in debug.BuildInfo

Fixes #53856

Change-Id: Ib533e9fbe063b74c81f6512464a4dac5e2af0ccc
GitHub-Last-Rev: c2ae8d6f75ba...

59ba97bf3bc9926ace19f5e6b3be277b801b1fde authored about 2 years ago by cuiweixie <[email protected]>
net/http: convert allowQuerySemicolonsInUse to atomic type

For #53821

Change-Id: I135783bd5472011f6a74d2f5ee34ce96ff49ad2b
GitHub-Last-Rev: 4da2d67ff3d194...

b244b89d560051f8d4c4c2b90680477ec05f76c3 authored about 2 years ago by cui fliter <[email protected]>
sync: convert RWMutex.{readerCount,readerWait} to atomic type

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

e509452727b469d89a3fc4a7d1cbf9d3f110efee authored about 2 years ago by Cuong Manh Le <[email protected]>
sync/atomic: reduce inlining cost for atomic types methods

The "&x.v" cost us 2 inline cost budget, causing extra inline cost for
the caller. By taking the...

9dd9174fa55b8078892f8a6d1863715f313d6880 authored about 2 years ago by Cuong Manh Le <[email protected]>
internal/poll, syscall: convert writev to direct libc call on openbsd (except mips64)

Add and use a writev libc wrapper instead of using syscall(2).

Updates golang/go#36435

Change-...

e2f602003bb81dc3385c488a6635e2504d0abfbd authored about 2 years ago by Tobias Klauser <[email protected]>
runtime/race: also unmap memory if TestNonGoMemory fails

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

600db8a514600df0d3a11edc220ed7e2f51ca158 authored about 2 years ago by Tobias Klauser <[email protected]>
go/ast: use strings.Builder

Change-Id: I9c4c3ada3a8f5d8d198cc42a4afc06972ee00c61
GitHub-Last-Rev: 4ed80119e3aef2e5bcfdb58a2d...

861885841de7b073130c04bee4eace896b0b050f authored about 2 years ago by cui fliter <[email protected]>
internal/poll: drop redundant ENOSYS in CopyFileRange

Update CL 425881 and CL 428396

I browsed the source code related to copy_file_range in the kern...

4f3246c6e97225d43775090f272a4d5c34ffb5a8 authored about 2 years ago by Andy Pan <[email protected]>
os: add a test case of copying a file itself via io.Copy

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

86477e507fce38128b6696bcb036da026966c9d5 authored about 2 years ago by Andy Pan <[email protected]>
syscall: add CgroupFD support for ForkExec on Linux

Implement CLONE_INTO_CGROUP feature, allowing to put a child in a
specified cgroup in a clean an...

bca17d16ca0dabbe1b533bb78f367d64e076fe73 authored about 2 years ago by Kir Kolyshkin <[email protected]>
syscall: use unsafe.Slice instead of unsafeheader package

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

f53b2111e489e61461837737cf69371a043d4fd9 authored about 2 years ago by Tobias Klauser <[email protected]>
cmd/go/internal/modload: use atomic.Pointer for Requirements.graph

Change-Id: Ie543e1b1df667cfaf3aafa4be727881461ee8b7d
GitHub-Last-Rev: ed993dbe2445c4797303138b62...

1b196988d49401d41c20d3445d141ce0e2857979 authored about 2 years ago by Abirdcfly <[email protected]>
go/printer: reduce allocations to improve performance

First, we know that Go source files almost always weigh at least a few
kilobytes, so we can kick...

9a5574afe62b52836145fdf1423e1ac5bdad69d2 authored about 2 years ago by Daniel Martí <[email protected]>
internal/syscall/windows: use unsafe.Slice instead of unsafeheader package

Follow CL 428777.

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

218294f11ee4d988112263e1f2660acf443afdd9 authored about 2 years ago by Tobias Klauser <[email protected]>
all: transfer reflect.{SliceHeader, StringHeader} to unsafeheader.{Slice, String}

After we deprecated reflect.{SliceHeader, StringHeader}, it is recommended
to use unsafe.{Slice,...

41089704ddafa736e73ebd54f837706e979ecb49 authored about 2 years ago by hopehook <[email protected]>
reflect: deprecate SliceHeader and StringHeader

As discussed in CL 401434 there are substantial misuses of these in the
wild, and they are a pot...

d734203e393745626d2c705aaf433b210d86c241 authored about 2 years ago by hopehook <[email protected]>
cmd/asm/internal/asm: don't set testOut in testErrors

It's set but the output is never used.

Change-Id: I36ecb9c5f087a85289529907ede9f9bfc295d739
Rev...

76c94eb7064c9f84e41a2329efb0986cad1fb306 authored about 2 years ago by Ian Lance Taylor <[email protected]>
strconv: remove redundant type conversion

Change-Id: I25c8e8b701d6489f360fea30d09090826276b950
GitHub-Last-Rev: c2c8319dd5fa2a53fe82b10ecb...

3c33c3b327c0ba9e756e5fa6882642acf2fd4012 authored about 2 years ago by cui fliter <[email protected]>
os: fix wrong error msg from TestDoubleCloseError

When the type assertion fails, the test mistakenly prints the expected
(rather than the actual) ...

3585e9be670fc76e1bc4d4bfa452ee8798a127f2 authored about 2 years ago by Kir Kolyshkin <[email protected]>
os: use unsafe.{Slice,StringData} instead of unsafeheader package

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

d75e91740a2048bba4c70e878a4cd3551e7b2273 authored about 2 years ago by Tobias Klauser <[email protected]>
time: optimize FixedZone by caching unnamed zones by the hour

FixedZone is transitively called by Time.UnmarshalJSON or Time.UnmarshalText
for any RFC 3339 ti...

e20106ac001a58e273738cb24ea61096384dc2f8 authored about 2 years ago by Joe Tsai <[email protected]>
all: use unsafe.{Slice, SliceData, String, StringData} to simplify code

Because most of these APIs are recently supported, we can only do some
advancement work as much ...

a9a398220ff387fe4924aee08365ffc374767a3a authored about 2 years ago by hopehook <[email protected]>
spec: describe slice-to-array conversions

For #46505.

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

2c3187cd4295605033740ff0522b1457a702d84d authored about 2 years ago by Robert Griesemer <[email protected]>
runtime: remove unused scanSize parameter to gcmarknewobject

This was left over from the old pacer, and never removed when the old
pacer was removed in Go 1....

51c34e2f0b51e62ba195a90fa1c1a8d5be83e2dd authored about 2 years ago by Michael Anthony Knyszek <[email protected]>
runtime: use searchIdx in scavengeOne

This is an optimization that prevents N^2 behavior within a chunk, but
was accidentally skipped....

2caaad942e15c148bfce33e06baa03d3a1557fcd authored about 2 years ago by Michael Anthony Knyszek <[email protected]>
runtime: make mheap.pagesInUse an atomic.Uintptr

This change fixes an old TODO that made it a uint64 because it would
make alignment within mheap...

5a379654952f8103d801cbccb5112c3e9976b104 authored about 2 years ago by Michael Anthony Knyszek <[email protected]>
runtime: remove alignment padding in mheap and pageAlloc

All subfields use atomic types to ensure alignment, so there's no more
need for these fields.

C...

e28cc362a825b297fa8a10dc95d7c0d2e2b21dfc authored about 2 years ago by Michael Anthony Knyszek <[email protected]>
runtime: remove atomic store requirement on pageAlloc.chunks

pageAlloc.chunks used to require an atomic store when growing the heap
because the scavenger wou...

1c59199c919419293075ac9c93b27b033e2733f9 authored about 2 years ago by Michael Anthony Knyszek <[email protected]>
go/types, types2: implement slice-to-array conversions

For #46505.

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

cd8aa4014947dda0eb822452d3c423b561c13eeb authored about 2 years ago by Robert Griesemer <[email protected]>
database: convert Tx.done to atomic type

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

0e50bf0e404e65385c597b9bb3339764a444b7f0 authored about 2 years ago by cuiweixie <[email protected]>
runtime: use atomic types in mspanset.go for alignment and type safety

Right now, span sets use a lot of unsafe.Pointer and naked atomics
operations. This change modif...

d61ffe8b6c2125cb3110753351405136b837c97d authored about 2 years ago by Michael Anthony Knyszek <[email protected]>
cmd/compile/internal: merge rules in PPC64.rules

This uses rulegen syntax which allows similar rules
to be combined, saving lines in the rules fi...

403f91c24430213b6a8efb3d143b6eae08b02ec2 authored about 2 years ago by Lynn Boger <[email protected]>
runtime/pprof: use strings.Builder

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

596b0d0410ea4040de2a6d7149496e7bd255091b authored about 2 years ago by cuiweixie <[email protected]>
debug/elf: define additional PPC64 ELFv2 relocations

The PPC64 ELFv2 supplement version 1.5 defines a handful of
new relocation types, similarly some...

2b6ff90851b08d4595a55602e25265f596ac3b5b authored about 2 years ago by Paul E. Murphy <[email protected]>
runtime/race: use strings.Builder

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

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

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

29604312784cfbf530fcf54837b7cf42c0500d0b authored about 2 years ago by cuiweixie <[email protected]>
internal: convert calls to atomic type

For #53821

Change-Id: Iee8ccea714726bbb6a4b384887bb107c29b823a9
GitHub-Last-Rev: 119aad36245800...

cdc6aeb6730d9bf5ec8bdf1fa155834e6db11e95 authored about 2 years ago by cui fliter <[email protected]>
cmd/asm: improve argument to obj.Prog assignment on PPC64

These can be simplified with the knowledge of how arguments are
assigned to obj.Prog objects on ...

a50c434308d474212557b7fa73583d68d09bd60d authored about 2 years ago by Paul E. Murphy <[email protected]>
cmd/asm,cmd/internal/obj/ppc64: recognize ppc64 ISA 3.1 MMA registers

Allow the assembler frontend to match MMA register arguments added by
ISA 3.1. The prefix "A" (f...

85c0d26c6a107b532ce0298c494456dac8d3b97c authored about 2 years ago by Paul E. Murphy <[email protected]>
cmd/compile: Add shiftIsBounded check for logic shifts of arm64

This CL adds shiftIsBounded checks for the Lsh* and Rsh* rules in arm64.
There is no need to che...

454a058ffcd90dc8db311c08747506186af1f952 authored about 2 years ago by ruinan <[email protected]>
os/exec: skip TestFindExecutableVsNoexec if mount failed

Apparently, some testing environments do not allow root to mount tmpfs
(due to e.g. AppArmor pro...

e828fbdffe3318b976aa12d2aee27d4a53bc9f12 authored about 2 years ago by Kir Kolyshkin <[email protected]>
cmd/compile/internal/noder: fix type switch case vars package

When naming case variables, the unified frontend was using
typecheck.Lookup, which uses the curr...

dfdf55158dcfc3ef1bd436b3b9ed6daa20801fdb authored about 2 years ago by Matthew Dempsky <[email protected]>
test: add failing test case for inlined type switches

The unified frontend ICEs when inlining a function that contains a
function literal, which captu...

10ffb27528af47c28ee55683421056e3de5bee17 authored about 2 years ago by Matthew Dempsky <[email protected]>
test: fix typo in escape_unsafe.go

The toStringData test was meant to test reflect.StringHeader, not
reflect.SliceHeader. It's not ...

2c45feb4d7b8d214d10ca7a34f0986b4e3d00ca1 authored about 2 years ago by Matthew Dempsky <[email protected]>