Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

Hackpad

We strive for making code editing in the browser a powerful, streamlined experience.
Collective - Host: opensource - https://opencollective.com/hackpad - Website: https://hackpad.org - Code: https://github.com/hack-pad

cmd/internal/dwarf: remove redundant break statement

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

github.com/hack-pad/go - 1f1583839227ebe9adc5979e355bde7a20e00405 authored about 2 years ago by cuiweixie <[email protected]>
cmd/internal/cov: use io.SeekStart, io.SeekCurrent, and io.SeekEnd

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

github.com/hack-pad/go - d547ae2a8e2879aa330b9236e28873ddd714c1f8 authored about 2 years ago by cuiweixie <[email protected]>
cmd/go/internal/mvs: remove useless type assertion

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

github.com/hack-pad/go - fdcaae5734b44f1089a55c22a000d1b483ff2a91 authored about 2 years ago by cuiweixie <[email protected]>
cmd/go/internal/modindex: should omit comparison to bool constant

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

github.com/hack-pad/go - 2fedd335f00bfc084f9008fa3b2ffbfcad240f04 authored about 2 years ago by cuiweixie <[email protected]>
cmd/go/internal/list: should omit comparison to bool constant

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

github.com/hack-pad/go - 1896eac57f432478eb894ac5e10f91c4d08e4a3a authored about 2 years ago by cuiweixie <[email protected]>
cmd/go/internal/bug: use bytes.Contains

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

github.com/hack-pad/go - 5613de9d47b518496b487804806db933b5ea375a authored about 2 years ago by cuiweixie <[email protected]>
cmd/cover: use io.SeekStart, io.SeekCurrent

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

github.com/hack-pad/go - 679640aee8e0df8eaed8ac56226b8b7ed69d225e authored about 2 years ago by cuiweixie <[email protected]>
cmd/cover: remove unnecessary fmt.Sprintf

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

github.com/hack-pad/go - 0582b7958e2acd9e47495f0f2ad9bef02afe50fe authored about 2 years ago by cuiweixie <[email protected]>
cmd/compile/internal/ppc64: delete useless break

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

github.com/hack-pad/go - 19855072570ca6ec657c09b14fdeb1a5e5271fb7 authored about 2 years ago by cuiweixie <[email protected]>
internal: use io.SeekStart, io.SeekCurrent, and io.SeekEnd

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

github.com/hack-pad/go - 1b5110268b5ff161fb2676023b4f9f942b8915bb authored about 2 years ago by cuiweixie <[email protected]>
internal: use time.Since instead of time.Now().Sub

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

github.com/hack-pad/go - daf1612dc7700477b97825308d03cd8e23520769 authored about 2 years ago by cuiweixie <[email protected]>
compress: remove useless break statement

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

github.com/hack-pad/go - b8ed88db8dbea46b868b6bc9b4b688666afe9dfa authored about 2 years ago by cuiweixie <[email protected]>
cmd/fix: use strings.Cut

Change-Id: Ibee86b4c5dc9a18df9bdc65b0ec8339ee1cac7a9
GitHub-Last-Rev: 336580707cd58f2c17ec4c686d...

github.com/hack-pad/go - 1d65566148d0b214fcf9667535ecc1d43ed4f7ee authored about 2 years ago by cui fliter <[email protected]>
cmd: fix a few function names on comments

Change-Id: Ia0896bd1edf2558821244fecd1c297b599472f47
GitHub-Last-Rev: cfd1e1091a064cdc38469c02c6...

github.com/hack-pad/go - c69d6d8b3e787e6cd87e0a8a3c726720296462b1 authored about 2 years ago by cui fliter <[email protected]>
crypto: fix a few function names on comments

Change-Id: I06f85f78c4c802142fc9207b100753decd568274
GitHub-Last-Rev: 4ad4c0f5e93df9ea83deb86b81...

github.com/hack-pad/go - 84c188008e4a2c772308e2b6c74d4c353303d308 authored about 2 years ago by cui fliter <[email protected]>
all: use strings.Builder where appropriate

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

github.com/hack-pad/go - 972496ae6e63bc2985cc1b827389f3216a54d083 authored about 2 years ago by hopehook <[email protected]>
sync/atomic: rename "ifaceWords" to "efaceWords"

Rename "ifaceWords" to "efaceWords", since we are defining
an empty interface.

Change-Id: I7151...

github.com/hack-pad/go - b78b84cd23f7d0f2a2d7a9574bb37c340cf28947 authored about 2 years ago by hopehook <[email protected]>
syscall: add support for freebsd/riscv64

Updates #53466

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

github.com/hack-pad/go - bf0a1ffbe2218d70f5f2aa5a3d6c6e67fb23f4d4 authored about 2 years ago by Mikael Urankar <[email protected]>
testing: update description of Setenv

Add the description of Setenv that it cannot use if the test have
parallel ancestors.

Fixes #55...

github.com/hack-pad/go - a14ac8635f673218c91e13c103cb2f3e29ff4b74 authored about 2 years ago by Nobuki Fujii <[email protected]>
cmd/compile/internal/ir: delete unused code

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

github.com/hack-pad/go - e7a3d87ddae6aa720e104213bd2cf98e3e743c9a authored about 2 years ago by cuiweixie <[email protected]>
cmd/go: using strings.CutPrefix replace strings.HasPrefix and strings.TrimPrefix

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

github.com/hack-pad/go - 32a52e039953889a3aaa6a3e7f0ad0f7dfcbeac3 authored about 2 years ago by cuiweixie <[email protected]>
net/http: using strings.CutPrefix replace strings.HasPrefix and strings.TrimPrefix

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

github.com/hack-pad/go - 2b45aebe145d24686df152d77f82713592c47b91 authored about 2 years ago by cuiweixie <[email protected]>
cmd/compile: keep typecheck results in syntax tree

Saves on both space and cost of map operations. Saves about 3% in compile time.

name ...

github.com/hack-pad/go - 59bc93535b3c5a3792df6837d8b28029e2952b84 authored about 2 years ago by Keith Randall <[email protected]>
bufio: use strings.Builder

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

github.com/hack-pad/go - e3ac2152f28f74c085d305d764a54d14d46eaaa9 authored about 2 years ago by cuiweixie <[email protected]>
archive/zip: use strings.TrimPrefix

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

github.com/hack-pad/go - 45c2421dc643f9e0274cb8630459d65942838f2d authored about 2 years ago by cuiweixie <[email protected]>
net/http: remove deadstore statement

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

github.com/hack-pad/go - 1371efcd69365d1cda87a2d9e450df0339720178 authored about 2 years ago by cuiweixie <[email protected]>
net: delete unused code

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

github.com/hack-pad/go - 4973c16f3c041866fe80eea76983d0028f843a7b authored about 2 years ago by cuiweixie <[email protected]>
net/http: use time.Compare

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

github.com/hack-pad/go - 879f595f7eacbd53d25fe21cac4b2b0cfde36449 authored about 2 years ago by cuiweixie <[email protected]>
debug/elf: fix typo in R_PPC64_TPREL34 and R_PPC64_DTPREL34

The suffix should be 34 not 28. I misread the name because the
reloc listed before these two in ...

github.com/hack-pad/go - 27d4cdd1a6280e906c4f6bd89b5882a51ad64099 authored about 2 years ago by Paul E. Murphy <[email protected]>
go/types, types2: use "generic" rather than "parameterized" in error messages

Fix a couple of places where we still use "parameterized".

Change-Id: I2c70356d4e363ee709c5ef19...

github.com/hack-pad/go - 545adcfe89458c5df714c27992064733b07491f9 authored about 2 years ago by Robert Griesemer <[email protected]>
cmd: add skips as needed to get tests to pass on js/wasm

For #54219.

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

github.com/hack-pad/go - dd42a84fb36ade570a7bfaf6fec5df44bbf71500 authored about 2 years ago by Bryan C. Mills <[email protected]>
os/exec: avoid leaking a process in TestDoubleStartLeavesPipesOpen

Updates #52580.
For #50436.

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

github.com/hack-pad/go - ce3a5c0d1036bea6d0abb9ff638f3a5382e428ee authored about 2 years ago by Bryan C. Mills <[email protected]>
errors, fmt: add support for wrapping multiple errors

An error which implements an "Unwrap() []error" method wraps all the
non-nil errors in the retur...

github.com/hack-pad/go - 4a0a2b33dfa3c99250efa222439f2c27d6780e4a authored about 2 years ago by Damien Neil <[email protected]>
cmd/go/internal/lockedfile/internal/filelock: remove unused type token

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

github.com/hack-pad/go - 36f046d934c66fb6eb47d568e04665708c096ad7 authored about 2 years ago by Tobias Klauser <[email protected]>
cmd/compile: limit goroutine count to parallelism

When the compiler crashes, it is not uncommon to see many hundreds
of goroutines all blocked wai...

github.com/hack-pad/go - 2ff5fbfbd4539d321043e6b84691ecb131402030 authored about 2 years ago by Russ Cox <[email protected]>
cmd/{cover,go}: avoid use of os.PathListSeparator in cmd/cover flag

Rework the mechanism for passing a list of output files from cmd/go to
cmd/cover when running ne...

github.com/hack-pad/go - 9861e8b2fd83dec24a6ced44998dca52abd6ccff authored about 2 years ago by Than McIntosh <[email protected]>
go/types, types2: more concise error messages for cycle errors

If a cycle has length 1, don't enumerate the single cycle entry;
instead just mention "refers to...

github.com/hack-pad/go - e22af33b48447338abf6f788b3eb5b87577f95db authored about 2 years ago by Robert Griesemer <[email protected]>
runtime/coverage: apis to emit counter data under user control

Add hooks/apis to support writing of coverage counter data and
meta-data under user control (fro...

github.com/hack-pad/go - ecd112c0d1c90a12d3c87172cf969cdd1f6cbeca authored about 2 years ago by Than McIntosh <[email protected]>
cmd{cover,covdata,go}: better coverage for tests that build tools

Some of the unit tests in Go's "cmd" tree wind up building a separate
copy of the tool being tes...

github.com/hack-pad/go - f2ee3414689add84c6e6d2d3f44dacde5129b18d authored about 2 years ago by Than McIntosh <[email protected]>
runtime/coverage: improve unit tests

Add a testpoint to cover support routines used to help
implement "go test -cover".

Change-Id: I...

github.com/hack-pad/go - 9d6dc32edd03f24a3ecacfcf4cdf54f561834c33 authored about 2 years ago by Than McIntosh <[email protected]>
crypto: use fmt.Appendf

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

github.com/hack-pad/go - 690851ee3e48b85088698a9dbcc7dd112cef9eb5 authored about 2 years ago by cuiweixie <[email protected]>
cmd/nm: use print-style not printf-style

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

github.com/hack-pad/go - 8d3631fcef414a2fae9177c9916977490252a86e authored about 2 years ago by cuiweixie <[email protected]>
cmd/cgo: use strings.TrimSuffix

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

github.com/hack-pad/go - a57639a2b2cc0d0cd5e8cec3b042156cf5bab178 authored about 2 years ago by cuiweixie <[email protected]>
cmd/cgo: delete unused code

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

github.com/hack-pad/go - ea2a2c0c2233a3aad73c4ba53cec315fb28d7a48 authored about 2 years ago by cuiweixie <[email protected]>
cmd/cgo: use strings.Contains instead of strings.Index

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

github.com/hack-pad/go - 50cc2238fb4393901e5b62af3bef972c14c79a27 authored about 2 years ago by cuiweixie <[email protected]>
cmd/asm: use strings.TrimSuffix

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

github.com/hack-pad/go - 09daf313b255b84e1a8e5323a4b40c1099b7ceb0 authored about 2 years ago by cuiweixie <[email protected]>
cmd/asm: delete unused func newAddr

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

github.com/hack-pad/go - 090ec611dffeb896f767e6e4f20624a796c0e826 authored about 2 years ago by cuiweixie <[email protected]>
cmd/asm: optimize if statement to return directly

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

github.com/hack-pad/go - 58093e8e2b5e22cf861c387d76333bccd1595065 authored about 2 years ago by cuiweixie <[email protected]>
cmd/asm: use opd.String() instead of fmt.Sprintf

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

github.com/hack-pad/go - c4a3fae27e33a5334a8f900147ae313c14694c5b authored about 2 years ago by cuiweixie <[email protected]>
os/exec: refactor goroutine error reporting

Use a separate channel to report the final error of the copying
goroutines, receiving a value on...

github.com/hack-pad/go - 223a563f58f3b6f9b5d874b7e1e33d6f36992caa authored about 2 years ago by Bryan C. Mills <[email protected]>
os/exec: do not close pipes on a double-Start error

This fixes a bug introduced in CL 401834 in which calling Start twice
with pipes attached to a c...

github.com/hack-pad/go - 4d6ca68a85e42c75683bc96aa540207566f54e26 authored about 2 years ago by Bryan C. Mills <[email protected]>
encoding/gob: add top level security doc

Add a slightly expanded version of the Decoder type comment to the top
level package doc, which ...

github.com/hack-pad/go - 13d48bb6a1ad3787c10fbbe4265ad11672d90a37 authored about 2 years ago by Roland Shoemaker <[email protected]>
go/types, types2: consistently use "cause" instead of "reason" for error details (cleanup)

There were many more uses of the variable name "cause" than "reason"
to hold error message detai...

github.com/hack-pad/go - ffdfa9ff41a83fe1265c48b93381a8fa302cf480 authored about 2 years ago by Robert Griesemer <[email protected]>
go/types, types2: remove (C/c)ompilerErrorMessages flag - not needed anymore

Fixes #55326.

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

github.com/hack-pad/go - 5612215d32643f2a5b729730c3bfdefda78e75d1 authored about 2 years ago by Robert Griesemer <[email protected]>
cmd/compile: use "shifted operand %s (type %s) must be integer" for some shift errors

This matches what go/types and types2 report and it also matches
the compiler errors reported fo...

github.com/hack-pad/go - 8c29881dd189bac1a3f34750c1c3fc071626b660 authored about 2 years ago by Robert Griesemer <[email protected]>
cmd/compile: use "cannot use %s as %s value in %s: %s" error message

This is close to what the compiler used to say, except now we say
"as T value" rather than "as t...

github.com/hack-pad/go - 7997e5f2540deb03a88a2f68f83bb5e5b7d6f77e authored about 2 years ago by Robert Griesemer <[email protected]>
go/types, types2: use "assignment mismatch: x variables but y values" error message

This matches current compiler behavior.

For #55326.

Change-Id: I7197cf4ce21e614291a1a2e1048dd7...

github.com/hack-pad/go - 435652b468f0b71266f760490896ac3e9cf46eba authored about 2 years ago by Robert Griesemer <[email protected]>
go/ast: record start and end of file in File.File{Start,End}

This change causes the parser to record the positions of the first
and last character in the fil...

github.com/hack-pad/go - f1d281fe4d6177349032776c22ab6dfb8533f0eb authored about 2 years ago by Alan Donovan <[email protected]>
cmd/dist: test cmd module on js/wasm

Most tests will be skipped anyway because 'go build' is not available,
but this ensures cmd will...

github.com/hack-pad/go - dbf174d4b9dd96b225a1f10089478f8257a54f80 authored about 2 years ago by Tobias Klauser <[email protected]>
cmd/compile/internal/base: replace io/ioutil with os package

Change-Id: Ide7618b65fcff7947809051d51b993d330e35717
GitHub-Last-Rev: 298853a82006655fe4f226cc5b...

github.com/hack-pad/go - ae3abf16e451238a25379f721613e540252e4f30 authored about 2 years ago by cui fliter <[email protected]>
testing: fail if T.Setenv is called via T.Run in a parallel test

The existing implementation can call to T.Setenv in T.Run even after
calling to T.Parallel, so I...

github.com/hack-pad/go - d6ca24477afa85a3ab559935faa4fed917911e4f authored about 2 years ago by Nobuki Fujii <[email protected]>
cmd/go: using strings.CutSuffix replace strings.HasSuffix and strings.TrimSuffix

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

github.com/hack-pad/go - 7f7f27f992850a06551c2798a3b874f5d5356ae9 authored about 2 years ago by cuiweixie <[email protected]>
cmd/link/internal/loadelf: add additional relocations for riscv64

These relocations are produced by clang/llvm.

Change-Id: I4820e7ed805d1b7341023b263c167a285ca32...

github.com/hack-pad/go - bc73996facc45a2846ce6ffefad437314d554dcf authored about 2 years ago by Joel Sing <[email protected]>
os/signal: disable GNU readline to deflake TestTerminalSignal

Fixes #55903.

Change-Id: I992865277fb6526929d6c7db2b3b8d22ca0760f2
GitHub-Last-Rev: fc6f28e17c3...

github.com/hack-pad/go - d7e663d909693492e18b5d031e9ddd7e19642621 authored about 2 years ago by Zeke Lu <[email protected]>
cmd/internal/obj/ppc64: remove unnecessary opcodes

This CL removes some opcode placeholders that do not correspond
to any existing instructions and...

github.com/hack-pad/go - 4350c4a13196fabd7cef04eab2f8783f6c518804 authored about 2 years ago by Archana R <[email protected]>
all: fix some typos

Change-Id: I8b28aebbb9494b2c877139a4584a5a42253e3bea
GitHub-Last-Rev: e3703fd3a50b811785df757514...

github.com/hack-pad/go - 190973eb603614eef33e0a22f420217fc13a2e0a authored about 2 years ago by cui fliter <[email protected]>
cmd/compile: remove some lines from PPC64.rules

In CL 429035 Keith suggested removing some
rules that were covered by generic rules. This
follow...

github.com/hack-pad/go - 6e1b769377245f706c9c1471fa95276762e8edbf authored about 2 years ago by Lynn Boger <[email protected]>
cmd/go: support new hybrid coverage instrumentation

If GOEXPERIMENT=coverageredesign is in effect, introduce a new
top-level '-cover' option to "go ...

github.com/hack-pad/go - 53773a5d0892be4489b4d5e91bbc8ae61000ada7 authored about 2 years ago by Than McIntosh <[email protected]>
cmd/go: refactor package references in Builder.build

Refactor references to "a.Package" in Builder.build to be consistent,
e.g. all via the "p" helpe...

github.com/hack-pad/go - b32689f6c3156da19d469f35cc68fc155d401ef9 authored about 2 years ago by Than McIntosh <[email protected]>
cmd/go: add hook to check for GOEXPERIMENT in script tests

Add a new hook to allow script tests to check whether a specific
GOEXPERIMENT is enabled.

Updat...

github.com/hack-pad/go - 06e8022ed43ea83d0d7d76366f4930903220bc25 authored about 2 years ago by Than McIntosh <[email protected]>
cmd/cover: add hybrid instrumentation mode

Add a new mode of coverage instrumentation that works as a hybrid
between purely tool-based and ...

github.com/hack-pad/go - 5f18e4632897769f2abf80332c39b526697d1a1c authored about 2 years ago by Than McIntosh <[email protected]>
runtime/coverage: runtime routines to emit coverage data

This patch fleshes out the runtime support for emitting coverage data
at the end of a run of an ...

github.com/hack-pad/go - 87db4ffadac291bc878cb892e05601610ca68ef5 authored about 2 years ago by Than McIntosh <[email protected]>
cmd/covdata: add tools to read/manipulate coverage data files

Add a set of helper packages for reading collections of related
meta-data and counter-data files...

github.com/hack-pad/go - 7a74829858bbc2fdf8b2d8902f7df46935cf6be9 authored about 2 years ago by Than McIntosh <[email protected]>
go/types, types2: use "invalid operation: x rel y (cause)" for comparison error messages

Matches compiler behavior and is consistent with what we do with other
binary operations.

While...

github.com/hack-pad/go - dbe56ff6c7a0162f318ed2dd7331c9de82e11d6d authored about 2 years ago by Robert Griesemer <[email protected]>
time: add comment explaining >>33 in Now

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

github.com/hack-pad/go - 2c4c2a5106e16a2ef51e3fc1d846e5d75d7ee6cc authored about 2 years ago by Ian Lance Taylor <[email protected]>
cmd/nm, runtime/cgo: add cgo support for freebsd/riscv64

Updates #53466

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

github.com/hack-pad/go - d268504fd90063328f484152585189db8374930d authored about 2 years ago by Mikael Urankar <[email protected]>
cmd/dist: enable cgo tests on freebsd/riscv64

Updates #53466

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

github.com/hack-pad/go - a48fc816e703989b54845c5ce557c54a45cbfe9c authored about 2 years ago by Mikael Urankar <[email protected]>
crypto: use bytes.Clone

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

github.com/hack-pad/go - 56fb2cff9f127a2a7dad0b44bb5522785aa06ddf authored about 2 years ago by cuiweixie <[email protected]>
net/textproto: use bytes.Clone

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

github.com/hack-pad/go - acc5e3a0c20432199181fef2bc6204fbd11d21d0 authored about 2 years ago by cuiweixie <[email protected]>
internal: use bytes.Clone

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

github.com/hack-pad/go - a59e614aa147da1bba2616b972f26e4a0db61e4d authored about 2 years ago by cuiweixie <[email protected]>
encoding/xml: use bytes.Clone

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

github.com/hack-pad/go - 09919ac3396f1de63dd5556758ac2dd10ecb9b9f authored about 2 years ago by cuiweixie <[email protected]>
runtime: add support for freebsd/riscv64

Updates #53466

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

github.com/hack-pad/go - 9aa7107cb58417db4b19ea5f8773875a418270f3 authored about 2 years ago by Mikael Urankar <[email protected]>
database: use bytes.Clone

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

github.com/hack-pad/go - 12bf9ff8dc7ba9d37234b5013e6541381d6cd005 authored about 2 years ago by cuiweixie <[email protected]>
crypto/rsa,crypto/internal/boring: fix PSS salt handling

Fix the coversion between our sentinel salt length variables and the
BoringSSL versions in SignR...

github.com/hack-pad/go - 61ed6d5c3341f73af9529b4808dd0997c6c86ed4 authored about 2 years ago by Roland Shoemaker <[email protected]>
go/types, types2: use 2nd operand position for comparison type mismatch errors

When a comparison is invalid due to mismatched types, we only know
when we see the 2nd operand; ...

github.com/hack-pad/go - b2137e7dad4fce1f366ad432faed4f78f29ac3fa authored about 2 years ago by Robert Griesemer <[email protected]>
debug/elf: return error on reading from SHT_NOBITS sections

An SHT_NOBITS section contains no bytes and occupies no space in the
file. This change makes it ...

github.com/hack-pad/go - fa13731a45049eca149bdfd807c35d18ece6a85a authored about 2 years ago by Zeke Lu <[email protected]>
crypto/x509: use unsafe.Slice

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

github.com/hack-pad/go - a45171328635484cf9d7039ca7273bbb7984dbcc authored about 2 years ago by Ian Lance Taylor <[email protected]>
cmd/compile: use "method T.m already declared" for method redeclaration errors

Compromise between old compiler error "T.m redeclared in this block"
(where the "in this block" ...

github.com/hack-pad/go - 7398c3c0c6d66a95d0c29c8fa59322e675ce7c86 authored about 2 years ago by Robert Griesemer <[email protected]>
go/types, types2: use "unknown field f in struct literal of type S" in error messages

This is a compromise of the error reported by the compiler (quotes
around field name removed) an...

github.com/hack-pad/go - b16501c08b37235a67e2fc5b506f169152db57ae authored about 2 years ago by Robert Griesemer <[email protected]>
go/types, types2: use "multiple-value" instead "n-valued" in error messages

This matches current compiler behavior.

For #55326.

Change-Id: I9ebe2914323072b5454fb9af2d15c9...

github.com/hack-pad/go - 3b5188ed2c38ba29aa586db7af243c3f3be27944 authored about 2 years ago by Robert Griesemer <[email protected]>
go/types, types2: uniformly use "cannot convert X to type T"

This matches current compiler behavior.

For #55326.

Change-Id: I660bd15f13a8d9eb00fafa937f8261...

github.com/hack-pad/go - 605148c0fbf68b6942d62813bdaac9fb35f6159b authored about 2 years ago by Robert Griesemer <[email protected]>
go/types, types2: use "and not used" instead of "but not used" in error messages

This matches longstanding compiler behavior.

Also, for unused packages, report:

`"pkg" importe...

github.com/hack-pad/go - 4360fd8d6fc6cd23f56b694a91ccf751896eb712 authored about 2 years ago by Robert Griesemer <[email protected]>
cmd/compile: rework PPC64 Mul64uhilo lowering rules

Remove OpPPC64LoweredMuluhilo as this operation can be done
more efficiently with MULHDU and MUL...

github.com/hack-pad/go - 871a3a409ac55fdcaf329596023e56be279b1950 authored about 2 years ago by Paul E. Murphy <[email protected]>
cmd/compile: make a type-specialized copy of encoding/binary.ReadUvarint

This is to get better escape analysis for a frequently-allocated object.

Change-Id: I1942a4e1c3...

github.com/hack-pad/go - caa8e1f97788d4276276d68610fadc6179a022ee authored about 2 years ago by David Chase <[email protected]>
cmd/compile: introduce "temporary" readers for more storage reuse

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

github.com/hack-pad/go - e8afb2911125ad65ddc02f7b83ab78a3e2f573b7 authored about 2 years ago by David Chase <[email protected]>
cmd/compile: use stricter rule for possible partial overlap

Partial overlaps can only happen for strict sub-pieces of larger arrays.
That's a much stronger ...

github.com/hack-pad/go - 6485e8f50334f4ff369984759c22fba327a5d064 authored about 2 years ago by Keith Randall <[email protected]>
go/scanner: emit implicit semicolon tokens in correct order

Prior to this change, the scanner, in ScanComments mode, would emit
the implicit SEMICOLON token...

github.com/hack-pad/go - 92a94a702469e1e57662fa2a7e6b4dc3d7161bd1 authored about 2 years ago by Alan Donovan <[email protected]>
bufio: use bytes.Clone

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

github.com/hack-pad/go - 86ca550f407827f620e6c8314ec503fdb48dd898 authored about 2 years ago by cuiweixie <[email protected]>
cmd/link: fix coverage counter issue on AIX

Update the linker's XCOFF writer to handle coverage counter sections
properly; they need to be t...

github.com/hack-pad/go - bf5805eae436a1ddbad593ec0671c9a7e8c67a9a authored about 2 years ago by Than McIntosh <[email protected]>
cmd/internal/pkgpath: use MustHaveExec in TestToSymbolFunc

ToSymbolFunc executes a command using exec.Command.

Change-Id: Ic6c274bdc23050d021ec98ba6774833...

github.com/hack-pad/go - f15b81a80fc7250b436e5866d0a73c60f7b47712 authored about 2 years ago by Tobias Klauser <[email protected]>