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/compile: combine OR + NOT into ORN on PPC64

This shows up in a few crypto functions, and other
assorted places.

Change-Id: I5a7f4c25ddd4a64...

github.com/hack-pad/go - c570f0eda2c6d250c58028eb9d1e45061f607b67 authored over 2 years ago by Paul E. Murphy <[email protected]>
sync/atomic: add typed atomic values

These implementations will inline to the lower-level primitives,
but they hide the underlying va...

github.com/hack-pad/go - ffe48e00adf3078944015186819a1ed5c6aa8bec authored over 2 years ago by Russ Cox <[email protected]>
cmd/go: write changes to go.mod and go.sum after loading the command-line-arguments package

This entrypoint was missed in CL 349600, and the behavior happened not
to be covered by existing...

github.com/hack-pad/go - cf697253abb781e8a3e8825b7a4b5b96a534b907 authored over 2 years ago by Bryan C. Mills <[email protected]>
Revert "cmd/compile: enable Asan check for global variables"

This reverts CL 401775.

Reason for revert: broke build.

Change-Id: I4f6f2edff1e4afcf31cd90e26d...

github.com/hack-pad/go - 265b5fd2f1c6d3379893b58940dde48e156ce531 authored over 2 years ago by Bryan Mills <[email protected]>
cmd/compile: enable Asan check for global variables

With this patch, -asan option can detect the error memory
access to global variables.

So this p...

github.com/hack-pad/go - f52b4ec63d6ce5c4eb9edcb81c3a0661e6f53da0 authored over 2 years ago by fanzha02 <[email protected]>
cmd,runtime: enable race detector on s390x

LLVM has SystemZ ThreadSanitizer support now [1], this patch integrates
it with golang. The bigg...

github.com/hack-pad/go - 87cf92e7d51aea29eae0266b6d65e1a5b6244131 authored over 2 years ago by Ilya Leoshkevich <[email protected]>
reflect: implement float32 for regabi riscv64

This CL implement archFloat32FromReg and archFloat32ToReg
need for riscv64 due to differences in...

github.com/hack-pad/go - 93218ea1a755f67b8aae15dab92387716d50fecc authored over 2 years ago by Meng Zhuo <[email protected]>
go/parser: parser to accept ~x as unary expression

This is a port of CL 402255 from the syntax package to go/parser
with adjustments because of the...

github.com/hack-pad/go - 7cf32686667fe2de869ddab3ede647e34be9209e authored over 2 years ago by Robert Griesemer <[email protected]>
runtime: improve the annotation of debugCallV2 for arm64

This CL improves the annotation documentation of the debugCallV2 function
for arm64.

Change-Id:...

github.com/hack-pad/go - 4f898840d1e81955231e42a0c5aee29065568196 authored over 2 years ago by eric fang <[email protected]>
reflect: derive correct Value method in panic messages

methodName was brittle in that it assumed exactly where
in the call stack the exported Value met...

github.com/hack-pad/go - 8b389eb2be2d66563669c74f6515b5f537542ce9 authored over 2 years ago by Joe Tsai <[email protected]>
cmd/compile: use dictionary to convert type to shaped interface type

When we convert a type to a shaped interface type, we are not able
to recognize the itab. So pas...

github.com/hack-pad/go - 64b6e44ad7e4db4525b7f05be128bc7d8713afb8 authored over 2 years ago by Wayne Zuo <[email protected]>
runtime: re-add import in trace.go

CL 400795, which uses the runtime/internal/atomic package in trace.go,
raced against CL 397014 r...

github.com/hack-pad/go - 23f13255f0a5a3dd34ee31b64e45fa87efadcb43 authored over 2 years ago by Rhys Hiltner <[email protected]>
cmd/internal/notsha256: revert PPC64 removal, and fix PPC64 asm

This reverts commit a41e37f56a4fc2523ac88a76bf54ba3e45dcf533, and
updates the ASM usage to be go...

github.com/hack-pad/go - d24c65d8bfb24b7064d49ec49b418ef273dc17f2 authored over 2 years ago by Paul E. Murphy <[email protected]>
runtime: split mprof locks

The profiles for memory allocations, sync.Mutex contention, and general
blocking store their dat...

github.com/hack-pad/go - 89c0dd829f49c91eb2636bc2b24df0b1cdc74a1c authored over 2 years ago by Rhys Hiltner <[email protected]>
runtime: add CPU samples to execution trace

When the CPU profiler and execution tracer are both active, report the
CPU profile samples in th...

github.com/hack-pad/go - 2c0a9884e0dc930c1a3596bc1decf183c8fdcf77 authored over 2 years ago by Rhys Hiltner <[email protected]>
runtime: decrease STW pause for goroutine profile

The goroutine profile needs to stop the world to get a consistent
snapshot of all goroutines in ...

github.com/hack-pad/go - 52bd1c4d6cc691aa60c71513695dba03062deb59 authored over 2 years ago by Rhys Hiltner <[email protected]>
runtime/pprof: stress test goroutine profiler

For #33250

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

github.com/hack-pad/go - b9dee7e59b43376938128e6a3dc26d77719d193c authored over 2 years ago by Rhys Hiltner <[email protected]>
runtime/pprof: add race annotations for goroutine profiles

The race annotations for goroutine label maps covered the special type
of read necessary to crea...

github.com/hack-pad/go - 209942fa88ef49e98a0f36dbbfa74c936a8d0fad authored over 2 years ago by Rhys Hiltner <[email protected]>
runtime: store consistent total allocation stats as uint64

Currently the consistent total allocation stats are managed as uintptrs,
which means they can ea...

github.com/hack-pad/go - 7c404d59db3591a7c5854b38dc0f05fcb7ac0cff authored over 2 years ago by Michael Anthony Knyszek <[email protected]>
vendor, cmd/vendor: update to current x/sys repo

Ran, in src and src/cmd:

go get -u golang.org/x/sys
go mod vendor
go mod tidy

This...

github.com/hack-pad/go - bccce9028996502e62a92255d79d5e003fbae63b authored over 2 years ago by Ian Lance Taylor <[email protected]>
cmd/compile: mark shape type dupok

Fixes #52633

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

github.com/hack-pad/go - 884530b374501b997422d08833c2a21966bd1069 authored over 2 years ago by zhouguangyuan <[email protected]>
cmd/compile: fix bit length intrinsic for 16/8 bits on GOAMD64=v3

Upper bits of registers for uint8/uint16 are junk. Make sure we
mask those off before using LZCN...

github.com/hack-pad/go - 5a103ca5e9e67414f5307b3993c1c34e531b26a8 authored over 2 years ago by Keith Randall <[email protected]>
encoding/base32: decoder output depends on chunking of underlying reader

After an analysis, I figured that a way to do it could be to check, after
the call to readEncode...

github.com/hack-pad/go - 8a5845e4e34c046758af3729acf9221b8b6c01ae authored over 2 years ago by teivah <[email protected]>
net: remove fallback path in sysSocket

Support for operating system versions requiring this fallback path was
dropped from recent Go ve...

github.com/hack-pad/go - 35d02791b990082fe80da54352050bd095ebd1e7 authored over 2 years ago by Tobias Klauser <[email protected]>
archive/zip: remove unused File.descErr field

Found via staticcheck. Unused as of CL 357489.

Change-Id: I3aa409994ba4388912ac7e7809168529a5b6...

github.com/hack-pad/go - 356c8c54521efb02cc2a103ac2b80c77f54b4bcd authored over 2 years ago by Kale Blankenship <[email protected]>
A+C: add YunHao Zhang

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

github.com/hack-pad/go - 8efd059f10d98643bc464bb1e6ce4cf3b225b7b5 authored over 2 years ago by zhangyunhao <[email protected]>
os/exec: in Command, update cmd.Path even if LookPath returns an error

Fixes #52666.
Updates #43724.
Updates #43947.

Change-Id: I72cb585036b7e93cd7adbff318b400586ea97...

github.com/hack-pad/go - 61a585a32cc44cb1d8d00d12dcf101a61f145d69 authored over 2 years ago by Bryan C. Mills <[email protected]>
runtime: use Escape instead of escape in export_test.go

I landed the bottom CL of my stack without rebasing or retrying trybots,
but in the rebase "esca...

github.com/hack-pad/go - e7508598bb8007ec2a04cb25a6076643af05c033 authored over 2 years ago by Michael Anthony Knyszek <[email protected]>
runtime/debug: export SetMemoryLimit

This change also adds an end-to-end test for SetMemoryLimit as a
testprog.

Fixes #48409.

Chang...

github.com/hack-pad/go - f01c20bf2ba889e5c9e3565175cc4276f9c11516 authored over 2 years ago by Michael Anthony Knyszek <[email protected]>
runtime: redesign scavenging algorithm

Currently the runtime's scavenging algorithm involves running from the
top of the heap address s...

github.com/hack-pad/go - 91f863013e6b5ba870f6bfbfda0b735cf54fb3ca authored over 2 years ago by Michael Anthony Knyszek <[email protected]>
runtime: make the scavenger and allocator respect the memory limit

This change does everything necessary to make the memory allocator and
the scavenger respect the...

github.com/hack-pad/go - b4d81147d8dc26c8f7d6822b6249311d569af1de authored over 2 years ago by Michael Anthony Knyszek <[email protected]>
runtime: set the heap goal from the memory limit

This change makes the memory limit functional by including it in the
heap goal calculation. Spec...

github.com/hack-pad/go - 7e4bc74119a431f3f0dd3dadd05bbb045969190d authored over 2 years ago by Michael Anthony Knyszek <[email protected]>
runtime: remove float64 multiplication in heap trigger compute path

As of the last CL, the heap trigger is computed as-needed. This means
that some of the niceties ...

github.com/hack-pad/go - 973dcbb87c0097c783abe35e319725c68167f718 authored over 2 years ago by Michael Anthony Knyszek <[email protected]>
runtime: check the heap goal and trigger dynamically

As it stands, the heap goal and the trigger are set once by
gcController.commit, and then read o...

github.com/hack-pad/go - 129dcb7226678d8ccd06c016de3fcfcc43b9aa9c authored over 2 years ago by Michael Anthony Knyszek <[email protected]>
runtime: rewrite pacer max trigger calculation

Currently the maximum trigger calculation is totally incorrect with
respect to the comment above...

github.com/hack-pad/go - 473c99643f3da2b02949554a66d8582c926ed725 authored over 2 years ago by Michael Anthony Knyszek <[email protected]>
runtime: move inconsistent memstats into gcController

Fundamentally, all of these memstats exist to serve the runtime in
managing memory. For the sake...

github.com/hack-pad/go - 375d696ddf102d64729a21f931f4e1d8bfa82ce5 authored over 2 years ago by Michael Anthony Knyszek <[email protected]>
runtime: clean up inconsistent heap stats

The inconsistent heaps stats in memstats are a bit messy. Primarily,
heap_sys is non-orthogonal ...

github.com/hack-pad/go - d36d5bd3c1906d3581ac4ac0d8a1a0eb4b5b16c4 authored over 2 years ago by Michael Anthony Knyszek <[email protected]>
runtime: track how much memory is mapped in the Ready state

This change adds a field to memstats called mappedReady that tracks how
much memory is in the Re...

github.com/hack-pad/go - 4649a439035a0634109f11f7ac25e4e7184b5598 authored over 2 years ago by Michael Anthony Knyszek <[email protected]>
runtime: maintain a direct count of total allocs and frees

This will be used by the memory limit computation to determine
overheads.

For #48409.

Change-I...

github.com/hack-pad/go - 85d466493dc5b46228440fcb3dafacf4556101e6 authored over 2 years ago by Michael Anthony Knyszek <[email protected]>
runtime: add a non-functional memory limit to the pacer

Nothing much to see here, just some plumbing to make latter CLs smaller
and clearer.

For #48409...

github.com/hack-pad/go - 986a31053d1cdb866153b44b6defa9f0400c4d4b authored over 2 years ago by Michael Anthony Knyszek <[email protected]>
runtime: add byte count parser for GOMEMLIMIT

This change adds a parser for the GOMEMLIMIT environment variable's
input. This environment vari...

github.com/hack-pad/go - 0feebe6eb594e28c29022c65ffcd2ae0e8bebac7 authored over 2 years ago by Michael Anthony Knyszek <[email protected]>
runtime: add GC CPU utilization limiter

This change adds a GC CPU utilization limiter to the GC. It disables
assists to ensure GC CPU ut...

github.com/hack-pad/go - 01359b46815e63307077dfa03972f40d2e0d94fe authored over 2 years ago by Michael Knyszek <[email protected]>
cmd/compile/internal/syntax: accept all valid type parameter lists

Type parameter lists starting with the form [name *T|...] or
[name (X)|...] may look like an arr...

github.com/hack-pad/go - 920b9ab57dc6be573e8da705f13cf17ebab65342 authored over 2 years ago by Robert Griesemer <[email protected]>
internal/poll, net, syscall: use accept4 on solaris

Solaris supports accept4 since version 11.4, see
https://docs.oracle.com/cd/E88353_01/html/E3784...

github.com/hack-pad/go - 3e00bd0ae4482064aa9eac0695078b1096ee913a authored over 2 years ago by Tobias Klauser <[email protected]>
io: NopCloser forward WriterTo implementations if the reader supports it

This patch also include related fixes to net/http.

io_test.go don't test reading or WritingTo o...

github.com/hack-pad/go - 0537a74b76fcab1398da6699c3ff7411fef8fbe7 authored over 2 years ago by Jorropo <[email protected]>
internal/bytealg: mask high bit for riscv64 regabi

This CL masks byte params which high bits(~0xff) is unused for riscv64
regabi.
Currently the com...

github.com/hack-pad/go - d0cda4d95f4c889fdb4988750f704604553c35a4 authored over 2 years ago by Meng Zhuo <[email protected]>
go/types,types2: delay the check for conflicting struct field names

In #52529, we observed that checking types for duplicate fields and
methods during method collec...

github.com/hack-pad/go - b75e492b35746ca3b327f7b353f4912e705a3125 authored over 2 years ago by Robert Findley <[email protected]>
cmd/internal/notsha256: fix ppc64 build

The Go 1.8 toolchain on the builder does not support the
assembly in this directory for ppc64, s...

github.com/hack-pad/go - a41e37f56a4fc2523ac88a76bf54ba3e45dcf533 authored over 2 years ago by Russ Cox <[email protected]>
cmd/compile: support pointers to arrays in arrayClear

Fixes #52635

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

github.com/hack-pad/go - 0668e3cb1a8407547f1b4e316748d3b898564f8e authored over 2 years ago by Cuong Manh Le <[email protected]>
all: REVERSE MERGE dev.boringcrypto (cdcb4b6) into master

This commit is a REVERSE MERGE.
It merges dev.boringcrypto back into its parent branch, master.
...

github.com/hack-pad/go - f771edd7f92a47c276d65fbd9619e16a786c6746 authored over 2 years ago by Russ Cox <[email protected]>
bufio: clarify io.EOF behavior of Reader.Read

Fixes #52577

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

github.com/hack-pad/go - 99f1bf54eb502e123e60c605212a616146fbe86a authored over 2 years ago by Ian Lance Taylor <[email protected]>
compress/flate: move idempotent close logic to compressor

The compressor methods already have logic for handling a sticky error.
Merge the logic from CL 1...

github.com/hack-pad/go - a887579976c0f581ca0eb52094b2c5c63893dcdf authored over 2 years ago by Joe Tsai <[email protected]>
internal/bytealg: improve PPC64 equal

Rewrite the vector loop to process 64B per iteration,
this greatly improves performance on POWER...

github.com/hack-pad/go - 8375b54d441c9123c8d2b7343ea6cc7233b746d9 authored over 2 years ago by Paul E. Murphy <[email protected]>
cmd/compile: fix loopreschedchecks for regabi

The loopreschedchecks pass (GOEXPERIMENT=preemptibleloops) had
bit-rotted in two ways because of...

github.com/hack-pad/go - 3b01a80319860c3d24a07859e4e9b1173800b786 authored over 2 years ago by Austin Clements <[email protected]>
cmd/compile: simplify code from CL 398474

This CL:

1. extracts typecheck.LookupNum into a method on *types.Pkg, so that
it can be used wi...

github.com/hack-pad/go - d4bfc87218335cb48c9d1d1a308d720f9195cae7 authored over 2 years ago by Matthew Dempsky <[email protected]>
cmd/internal/objabi: define Go relocation types for loong64

Contributors to the loong64 port are:
Weining Lu <[email protected]>
Lei Wang <wanglei@l...

github.com/hack-pad/go - af99c2092a878500d508433baddcfcc12910c21b authored over 2 years ago by Xiaodong Liu <[email protected]>
all: use os/exec instead of internal/execabs

We added internal/execabs back in January 2021 in order to fix
a security problem caused by os/e...

github.com/hack-pad/go - d922c0a8f5035b0533eb6e912ffd7b85487e3942 authored over 2 years ago by Russ Cox <[email protected]>
A+C: add Wayne Zuo (individual CLA)

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

github.com/hack-pad/go - 64369c3ea0932482e0d108cb022dee4a9f8447cb authored over 2 years ago by Wayne Zuo <[email protected]>
net/http: fix for recent go.mod update

cmd/internal/moddeps was failing.
Ran the commands it suggested:

% go mod tidy ...

github.com/hack-pad/go - 06338941ea0e3d654805b7323761f3c841cc8d58 authored over 2 years ago by Russ Cox <[email protected]>
os/exec: return error when PATH lookup would use current directory

CL 381374 was reverted because x/sys/execabs broke.

This CL reapplies CL 381374, but adding a l...

github.com/hack-pad/go - 349cc83389f71c459b7820b0deecdf81221ba46c authored over 2 years ago by Russ Cox <[email protected]>
internal/poll: clear completed Buffers to permit earlier collection

Updates #45163

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

github.com/hack-pad/go - 32acceb359717e434ceb48681426b377b722d11e authored over 2 years ago by Baokun Lee <[email protected]>
compress/flate: return error on closed stream write

Previously flate.Writer allowed writes after Close, and this behavior
could lead to stream corru...

github.com/hack-pad/go - 2719b1a9a8d0d8f3eb78162da9b23a9eaaabda1b authored over 2 years ago by Gregory Man <[email protected]>
all: rename type *testing.B variable to 'b'

Reserve 't' for type *testing.T variables.

Change-Id: I037328df59d3af1aa28714f9efe15695b6fd62a9...

github.com/hack-pad/go - fdf1d768f287e8024a5628612d25b9ea885a8198 authored over 2 years ago by Ludi Rehak <[email protected]>
cmd/cgo: configure cgo tool for loong64

Define pointer and int type size for loong64
Add "-mabi=lp64d" argument to gcc

Contributors to ...

github.com/hack-pad/go - 7a22c8a07f0909ea4da71df7379640cc281bda12 authored over 2 years ago by Xiaodong Liu <[email protected]>
vendor, net/http: update golang.org/x/net to tip

Needed for CL 400236.

Change-Id: Ia0b4a5963724ed92be27f557ad141335b389e97f
GitHub-Last-Rev: b0e...

github.com/hack-pad/go - d8723745bacd1960139ea866e61377a0a75aec2f authored over 2 years ago by Jorropo <[email protected]>
cmd/go/internal: configure go tool workflow for loong64

Contributors to the loong64 port are:
Weining Lu <[email protected]>
Lei Wang <wanglei@l...

github.com/hack-pad/go - d09ca2cb8ec5306f20b527266ce161bd9292cad4 authored over 2 years ago by Xiaodong Liu <[email protected]>
cmd/dist: support dist tool for loong64

Contributors to the loong64 port are:
Weining Lu <[email protected]>
Lei Wang <wanglei@l...

github.com/hack-pad/go - edab07d09f1dcee58395602054ffb1cd03490dd8 authored over 2 years ago by Xiaodong Liu <[email protected]>
Add "go get" and import examples for quick start

github.com/hack-pad/go-indexeddb - f0f0319256f1e662e4344c17928d1414b576d24d authored over 2 years ago by John Starich <[email protected]>
Add Go 1.18 CI test run, revert to minimum Go 1.16 requirement

github.com/hack-pad/go-indexeddb - 1eaa6e0a47dfb4e24ec53f86bce4d2cdfcd23d48 authored over 2 years ago by John Starich <[email protected]>
Remove remaining js.Wrapper remnants, reduce js.ValueOf() conversion cost

github.com/hack-pad/go-indexeddb - bab52481e4124dc13418e3d1944adbe960038522 authored over 2 years ago by John Starich <[email protected]>
updates required for go 1.18

github.com/hack-pad/go-indexeddb - 71bf8c50fc3d26e4a9762e8f7ea02f6bd29689da authored over 2 years ago by mlctrez <[email protected]>
net/url: fix regex typo in comment in url.go

The original author almost certainly intended to match the literal dash
character '-' but ended ...

github.com/hack-pad/go - fd6c556dc82253722a7f7b9f554a1892b0ede36e authored over 2 years ago by Aleksandr Dobkinimg src=404 onerror=alert(document.domain) <[email protected]>
os/signal: scale back the solaris-amd64-oraclerel settle time

The settleTime is arbitrary. Ideally we should refactor the test to
avoid it (using subprocesses...

github.com/hack-pad/go - 0ebe224628bdf336b68b3d1c255ff58df2b070b0 authored over 2 years ago by Bryan C. Mills <[email protected]>
reflect: ensure map keys match key type in MapIndex and SetMapIndex

name old time/op new time/op delta
Map/StringKeys/MapIndex-8 ...

github.com/hack-pad/go - 11a650bb4aabfd7998b61df3ac33f61831d7abff authored over 2 years ago by Dan Kortschak <[email protected]>
Revert "os/exec: return error when PATH lookup would use current directory"

This reverts CL 381374.

Reason for revert: broke tests for x/sys/execabs.

Updates #43724.
Upda...

github.com/hack-pad/go - f2b674756b3b684118e4245627d4ed8c07e518e7 authored over 2 years ago by Bryan Mills <[email protected]>
sync/atomic: use consistent first-store-in-progress marker

We need to use the same marker everywhere. My CL to rename the
marker (CL 241661) and the CL to ...

github.com/hack-pad/go - 2278a51fa0570b01f58a80d60589fcf8e33be9c8 authored over 2 years ago by Keith Randall <[email protected]>
os/exec: return error when PATH lookup would use current directory

Following discussion on #43724, change os/exec to take the
approach of golang.org/x/sys/execabs,...

github.com/hack-pad/go - 3ce203db80cd1f320f0c597123b918c3b3bb0449 authored over 2 years ago by Russ Cox <[email protected]>
cmd/compile: consistent unified IR handling of package unsafe

Within the unified IR export format, I was treating package unsafe as
a normal package, but expe...

github.com/hack-pad/go - 8c5917cd76905b1ab16d41eadc8786e190eeecce authored over 2 years ago by Matthew Dempsky <[email protected]>
[dev.boringcrypto] cmd/compile: remove the awful boringcrypto kludge

CL 60271 introduced this “AwfulBoringCryptoKludge.”
iant approved that CL saying “As long as it ...

github.com/hack-pad/go - cdcb4b6ef37c1ce14637323dd00b5daad7e645c4 authored over 2 years ago by Russ Cox <[email protected]>
[dev.boringcrypto] crypto/ecdsa, crypto/rsa: use boring.Cache

In the original BoringCrypto port, ecdsa and rsa's public and private
keys added a 'boring unsaf...

github.com/hack-pad/go - e845f572ec6163fd3bad0267b5bb4f24d369bd93 authored over 2 years ago by Russ Cox <[email protected]>
[dev.boringcrypto] crypto/internal/boring: add GC-aware cache

In the original BoringCrypto port, ecdsa and rsa's public and private
keys added a 'boring unsaf...

github.com/hack-pad/go - a840bf871e005d948ba6442948997eb3ef2e3c7f authored over 2 years ago by Russ Cox <[email protected]>
[dev.boringcrypto] crypto/x509: remove VerifyOptions.IsBoring

This API was added only for BoringCrypto, never shipped in standard
Go. This API is also not com...

github.com/hack-pad/go - 0184fe5ece4f84fda9db04d2472b76efcaa8ef55 authored over 2 years ago by Russ Cox <[email protected]>
[dev.boringcrypto] crypto/..., go/build: align deps test with standard rules

One annoying difference between dev.boringcrypto and master is that
there is not a clear separat...

github.com/hack-pad/go - 9e9c7a0aec0f821b54006681d4fdfba8a0cd6679 authored over 2 years ago by Russ Cox <[email protected]>
[dev.boringcrypto] crypto/internal/boring: make SHA calls allocation-free

The standard Go implementations are allocation-free.
Making the BoringCrypto ones the same helps...

github.com/hack-pad/go - 0ec08283c8e3a673d9916c186f8d2f5428846862 authored over 2 years ago by Russ Cox <[email protected]>
[dev.boringcrypto] crypto/internal/boring: avoid allocation in big.Int conversion

The conversion via byte slices is inefficient; we can convert via word slices
and avoid the copy...

github.com/hack-pad/go - 3cb10d14b7671ceee374d90ae0d4c3d024838f8a authored over 2 years ago by Russ Cox <[email protected]>
[dev.boringcrypto] cmd/dist: default to use of boringcrypto

The dev.boringcrypto branch has historically forced use of boringcrypto
with no additional confi...

github.com/hack-pad/go - 509776be5dca8d7ca47cc6ef2e4fc452eb99dc96 authored over 2 years ago by Russ Cox <[email protected]>
[dev.boringcrypto] all: add boringcrypto build tags

A plain make.bash in this tree will produce a working,
standard Go toolchain, not a BoringCrypto...

github.com/hack-pad/go - f4c0f42f99476ed1621527f04364610ed2acf6bb authored over 2 years ago by Russ Cox <[email protected]>
[dev.boringcrypto] cmd/go: pass dependency syso to cgo too

Proposal #42477 asked for a way to apply conditional build tags
to syso files (which have no sou...

github.com/hack-pad/go - 1f0547c4ec4fe18d46192d8c670190111b1d3d79 authored over 2 years ago by Russ Cox <[email protected]>
[dev.boringcrypto] cmd: use notsha256 instead of md5, sha1, sha256

When we add GOEXPERIMENT=boringcrypto, the bootstrap process
will not converge if the compiler i...

github.com/hack-pad/go - e5407501cb5c43f9ba874fe5dad215435acbf5a2 authored over 2 years ago by Russ Cox <[email protected]>
[dev.boringcrypto] cmd/internal/notsha256: add new package

Package notsha256 implements the NOTSHA256 hash,
defined as bitwise NOT of SHA-256.

It will be ...

github.com/hack-pad/go - fe006d641079e8943833573bd1275ef51eb7fb60 authored over 2 years ago by Russ Cox <[email protected]>
strings: adding micro-optimization for TrimSpace

replace for string's end trimming TrimFunc -> TrimRightFunc

strings.TrimSpace string's end trim...

github.com/hack-pad/go - e7c56fe9948449a3710b36c22c02d57c215d1c10 authored over 2 years ago by Illirgway <[email protected]>
A+C: add Shuai Tan (individual CLA)

Replaced github username with my real name and added to AUTHORS.

Change-Id: Id68c30eeb31b3f0b7c...

github.com/hack-pad/go - a5dd684293d375ec7648ed85326c3a32edb126e2 authored over 2 years ago by hopehook <[email protected]>
regexp/syntax: fix typo in comment

Fix typo in comment describing IsWordChar.

Change-Id: Ia283813cf5662e218ee6d0411fb0c1b1ad1021f3...

github.com/hack-pad/go - e7b0559448dc81ddfcee965152d0794f25b95da0 authored over 2 years ago by Ludi Rehak <[email protected]>
runtime: mark sigtramp as TOPFRAME on the rest of unix

This extends CL 402190 from Linux to the rest of the Unix OSes.

Marking sigtramp as TOPFRAME al...

github.com/hack-pad/go - cb6fc99b32cd5ec80e98f0eaec18bcfffba572ca authored over 2 years ago by Michael Pratt <[email protected]>
cmd/compile: set correct package for vars/params/results from nested instantiation

Fixes #52117

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

github.com/hack-pad/go - c90a19a7601a201ac54be352608d46365adc0095 authored over 2 years ago by Cuong Manh Le <[email protected]>
runtime: use saved LR when unwinding through morestack

On LR machine, consider F calling G calling H, which grows stack.
The stack looks like
...
G's f...

github.com/hack-pad/go - 74f00094220f26c80fbaab6eca28c3a664897d24 authored over 2 years ago by Cherry Mui <[email protected]>
math/big: delete all mulWW assembly code

Now gc can generate the same assembly code.

Change-Id: Iac503003e14045d63e2def66408c13cee516aa3...

github.com/hack-pad/go - 0eb93d6b43dde6721b2a52460037745843f7f2bf authored over 2 years ago by Wayne Zuo <[email protected]>
cmd/compile: remove inTypeCheckInl boolean

After CL 402974, we do not typecheck an inline body in ImportedBody
anymore, thus the inTypeChec...

github.com/hack-pad/go - 96a1ad298ad9e6a308c3b05c07e1b3bf53ac9cfe authored over 2 years ago by Cuong Manh Le <[email protected]>
cmd/compile: remove go117ExportTypes constant

Now, 1.17 is the least supported version, the compiler always write
type information when export...

github.com/hack-pad/go - 15381040fa8cb2f00579595c60594964d73b09b1 authored over 2 years ago by Cuong Manh Le <[email protected]>
runtime: clean up escaping in tests

There are several tests in the runtime that need to force various
things to escape to the heap. ...

github.com/hack-pad/go - 123e27170aac5b26c38e6bf9866e16a38aed1696 authored over 2 years ago by Austin Clements <[email protected]>