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

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...

github.com/hack-pad/go - 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 ...

github.com/hack-pad/go - 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...

github.com/hack-pad/go - 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....

github.com/hack-pad/go - 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....

github.com/hack-pad/go - 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...

github.com/hack-pad/go - 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...

github.com/hack-pad/go - 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...

github.com/hack-pad/go - 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...

github.com/hack-pad/go - 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...

github.com/hack-pad/go - 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...

github.com/hack-pad/go - 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...

github.com/hack-pad/go - 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...

github.com/hack-pad/go - 530a2369746555ce099870e88714a54c4f4473d1 authored about 2 years ago by cuiweixie <[email protected]>
cmd/trace: use strings.Builder

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

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

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

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

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

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

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

github.com/hack-pad/go - 9c147cc617ed8d9b22ee2637a7c7f7a28e1ee21c authored about 2 years ago by cuiweixie <[email protected]>
cmd/dist: use strings.Builder

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

github.com/hack-pad/go - 866fbb67d0285240c3cf0c430ff018d20f99379c authored about 2 years ago by cuiweixie <[email protected]>
cmd/cover: use strings.Builder

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

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

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

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

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

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

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

github.com/hack-pad/go - 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...

github.com/hack-pad/go - 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...

github.com/hack-pad/go - 51fdfeb1ce89c61332e28ef97a3e72a1d327c2df authored about 2 years ago by cuiweixie <[email protected]>
text/template: use strings.Builder

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

github.com/hack-pad/go - 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...

github.com/hack-pad/go - 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 ...

github.com/hack-pad/go - 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...

github.com/hack-pad/go - 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...

github.com/hack-pad/go - 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...

github.com/hack-pad/go - 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...

github.com/hack-pad/go - 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...

github.com/hack-pad/go - 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 ...

github.com/hack-pad/go - 2c45feb4d7b8d214d10ca7a34f0986b4e3d00ca1 authored about 2 years ago by Matthew Dempsky <[email protected]>
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...

github.com/hack-pad/go - 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...

github.com/hack-pad/go - 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...

github.com/hack-pad/go - 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...

github.com/hack-pad/go - 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...

github.com/hack-pad/go - 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...

github.com/hack-pad/go - 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...

github.com/hack-pad/go - 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...

github.com/hack-pad/go - 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...

github.com/hack-pad/go - 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...

github.com/hack-pad/go - 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:...

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

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

github.com/hack-pad/go - 2e1f98e3a17510c73d71bc4fc61a2bdbf20f92aa authored about 2 years ago by cui fliter <[email protected]>
reflect: use strings.Builder

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

github.com/hack-pad/go - c75d19732d59514a97d869b9cb9d006d1d403c05 authored about 2 years ago by cuiweixie <[email protected]>
net/textproto: use strings.Builder

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

github.com/hack-pad/go - 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...

github.com/hack-pad/go - 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...

github.com/hack-pad/go - ed530dbd077c8dbf680fabb1fb10da5239099e25 authored about 2 years ago by cuiweixie <[email protected]>
runtime: use strings.Builder

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

github.com/hack-pad/go - f4bf9bceac20868fb692bacf02ee5b4ccd99b778 authored about 2 years ago by cuiweixie <[email protected]>
os: use strings.Builder

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

github.com/hack-pad/go - 6375f508a861ba2591b4c2a2e9f1172cd3ae8257 authored about 2 years ago by cuiweixie <[email protected]>
net/smtp: use strings.Builder

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

github.com/hack-pad/go - e2d8ed2fd7bd033e755cd31ce7ce9b73e030df71 authored about 2 years ago by cuiweixie <[email protected]>
unicode/utf8: use strings.Builder

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

github.com/hack-pad/go - 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...

github.com/hack-pad/go - 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...

github.com/hack-pad/go - 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...

github.com/hack-pad/go - 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...

github.com/hack-pad/go - 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...

github.com/hack-pad/go - 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...

github.com/hack-pad/go - 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...

github.com/hack-pad/go - 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...

github.com/hack-pad/go - 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...

github.com/hack-pad/go - 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...

github.com/hack-pad/go - 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...

github.com/hack-pad/go - 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...

github.com/hack-pad/go - 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...

github.com/hack-pad/go - 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...

github.com/hack-pad/go - 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...

github.com/hack-pad/go - 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...

github.com/hack-pad/go - 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...

github.com/hack-pad/go - 403e5f1cb174185a763745276e12156e8d70ba6a authored about 2 years ago by cuiweixie <[email protected]>
net: use strings.Builder

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

github.com/hack-pad/go - 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...

github.com/hack-pad/go - 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...

github.com/hack-pad/go - 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...

github.com/hack-pad/go - 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...

github.com/hack-pad/go - 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...

github.com/hack-pad/go - 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...

github.com/hack-pad/go - 86f8b8d3f20129dce7a220d4ce32d13e766ba86a authored about 2 years ago by cuiweixie <[email protected]>
net/http: using strings.Builder

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

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

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

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

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

github.com/hack-pad/go - 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...

github.com/hack-pad/go - 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 ...

github.com/hack-pad/go - 00234b052e969a5c84e6ad9f07414beb3bfb6377 authored about 2 years ago by Tobias Klauser <[email protected]>
mime: use strings.Builder

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

github.com/hack-pad/go - 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...

github.com/hack-pad/go - 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...

github.com/hack-pad/go - 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...

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

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

github.com/hack-pad/go - 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...

github.com/hack-pad/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...

github.com/hack-pad/go - 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 ...

github.com/hack-pad/go - e1e88d636badf57a66a573dd9f8c990df3573950 authored about 2 years ago by Tobias Klauser <[email protected]>
debug/buildinfo: remove redundant type conversion

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

github.com/hack-pad/go - 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 ...

github.com/hack-pad/go - 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...

github.com/hack-pad/go - 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...

github.com/hack-pad/go - 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...

github.com/hack-pad/go - 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...

github.com/hack-pad/go - 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...

github.com/hack-pad/go - 60ef4b2c1e931069d81f053358a4023e09359e7f authored about 2 years ago by Austin Clements <[email protected]>
log: use strings.Builder

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

github.com/hack-pad/go - e3885c4ee5f35a7012fa11d8fc84a27c3c1177a0 authored about 2 years ago by cuiweixie <[email protected]>
io: use strings.Builder

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

github.com/hack-pad/go - 7c47c9773cc3847f8851a04753f7f008b2add3b1 authored about 2 years ago by cuiweixie <[email protected]>
image/jpeg: use strings.Builder

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

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