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/internal/types2: print assignment operation for invalid operation errors

When invoking check.binary for assignment operation, the expression will
be nil, thus for printi...

github.com/hack-pad/go - b091189762980836527c4aa50e3693632aea5144 authored almost 3 years ago by Cuong Manh Le <[email protected]>
cmd/compile/internal/types2: implement generic conversions

Fixes #47150.

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

github.com/hack-pad/go - 4cc6a919077f27d9255536d6539118e65c1650a2 authored almost 3 years ago by Robert Griesemer <[email protected]>
cmd/compile: allow importing and exporting of ODYNAMICTYPE

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

github.com/hack-pad/go - 2be5b846650aa4674a4eca7c11f303673b69a35a authored almost 3 years ago by Keith Randall <[email protected]>
cmd/compile: substitute "". prefix with package in more import locations

The "" stand-in for the current package needs to be substituted
in more places when importing, b...

github.com/hack-pad/go - 9fa85518ff84420af644b1dd82ff311a39cd99c1 authored almost 3 years ago by Keith Randall <[email protected]>
go/types, types2: always accept type parameters when running Manual test

This makes it easier to run tests on existing generic code that is
not using the `.go2` ending c...

github.com/hack-pad/go - 1b24c9e42e527b93a39b6a6b16c20672dd2d9a03 authored almost 3 years ago by Robert Griesemer <[email protected]>
reflect: fix methodValueCall code pointer mismatch in Value.Pointer

This is the port of CL 356809 for Value.Pointer to fix the mismatch of
methodValueCall code poin...

github.com/hack-pad/go - 07e5527249cb0b152a3807d67ea83bafd71d2496 authored almost 3 years ago by Cuong Manh Le <[email protected]>
reflect: restore Value.Pointer implementation

CL 350691 added Value.UnsafePointer and make Value.Pointer call it
internally. It has a downside...

github.com/hack-pad/go - d7149e502dfb13fdc94439eebaf1823a6c6dd84f authored almost 3 years ago by Cuong Manh Le <[email protected]>
cmd/go: add GOWORK to go env command

GOWORK will be set to the go.work file's path, if in workspace mode
or will be empty otherwise.
...

github.com/hack-pad/go - d94498470bb09bb0606b0eff3248cb5b35e1a145 authored almost 3 years ago by Michael Matloob <[email protected]>
cmd/go: support replaces in the go.work file

Add support for replace directives in the go.work file. If there are
conflicting replaces in go....

github.com/hack-pad/go - 1d63052782a7535a3d4ce4557fd23fd97699b249 authored almost 3 years ago by Michael Matloob <[email protected]>
errors: mention Is methods should not call Unwrap

errors.Is internally unwraps the error until the error matches the
target. Because of this, a us...

github.com/hack-pad/go - 7999fd4710e7f987e86d7b32dd9af31ced4810ba authored almost 3 years ago by Matt T. Proud <[email protected]>
internal/bytealg: port bytes.Index and bytes.Count to reg ABI on ppc64x

This change adds support for the reg ABI to the Index and Count
functions for ppc64/ppc64le.

Mo...

github.com/hack-pad/go - 6c3cd5d2eb7149c9c1ced7d70c3f4157f27c1588 authored almost 3 years ago by Archana R <[email protected]>
sync: avoid a dynamic check in WaitGroup on 64-bit architectures

uint64 is guaranteed by the compiler to be aligned on 64-bit archs.
By using uint64+uint32 inste...

github.com/hack-pad/go - ad7db1f90fb66f00f5b020360aabd9f27d1c764f authored almost 3 years ago by Carlo Alberto Ferraris <[email protected]>
testing: don't allow f.Log/Logf or f.Skipped inside f.Fuzz

This change also does some refactors around how
we prevent many (*F) methods from being called
i...

github.com/hack-pad/go - 982060203c26b60fd74e4fa2fd967600c65ee7fc authored almost 3 years ago by Katie Hockman <[email protected]>
runtime: remove reference to crypto/tls GODEBUG usage

crypto/tls briefly used GODEBUG. That usage was removed in CL 191999.

Change-Id: I759b6f1b02db8...

github.com/hack-pad/go - 404f84d417ceed0f47e51d2c4f933a6dee96dca5 authored almost 3 years ago by Benjamin Peterson <[email protected]>
cmd/compile/internal/types2: delay expansion of underlying in typeDecl

This is a clean port of CL 356533 from go/types to types2.

Fixes #49043.

Change-Id: If389b94ec...

github.com/hack-pad/go - 99fad12e4788fdf67e49dadd16571238f935b408 authored almost 3 years ago by Robert Griesemer <[email protected]>
cmd/compile/internal/types2: ensure named types are expanded after type-checking

This is a clean port of CL 356490 from go/types to types2.

Fixes #48703.
Fixes #48974.

Change-...

github.com/hack-pad/go - a73c6cf762560b458eb938e4461cd8debc479fd9 authored almost 3 years ago by Robert Griesemer <[email protected]>
cmd/compile/internal/types2: add support for inferring type instances

This is an essentially clean port of CL 356489 from go/types to types2,
with minor adjustments d...

github.com/hack-pad/go - 3a07ab70a2d63e3ac1fc126529dde29852a972f5 authored almost 3 years ago by Robert Griesemer <[email protected]>
cmd/compile, types2: better error message for invalid type assertion

This CL addresses the 2nd part of the issue below.

- For types2, now use the same error message...

github.com/hack-pad/go - 254c497e5c5628be115b966808d6e76d335313a3 authored almost 3 years ago by Robert Griesemer <[email protected]>
reflect: fix methodValueCall code pointer mismatched

CL 322350 changed how to take address of assembly functions, using
abi.FuncPCABI0 intrinsic. But...

github.com/hack-pad/go - f92a3589fa04285dccab3ca7454eaaf2d0e7cde3 authored almost 3 years ago by Cuong Manh Le <[email protected]>
cmd/compile: use MOVBE instruction for GOAMD64>=v3

In CL 354670, I copied some existing rules for convenience but forgot
to update the last rule wh...

github.com/hack-pad/go - fe7df4c4d043fc65800bbec7f575c1ba50327aa9 authored almost 3 years ago by wdvxdr <[email protected]>
testing: write output to buffer when fuzzing

Fixes #48709

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

github.com/hack-pad/go - 067d796549242bec2d33226c9da1e67f092a7be2 authored almost 3 years ago by Katie Hockman <[email protected]>
cmd/go: skip flaky fuzz tests

(Temporarily, until they can be fixed.)

For #49046
For #49047

Change-Id: Ib580a5e45a0955aabdfc...

github.com/hack-pad/go - 6294207a1c79e318124850155c7b6c23997c8c13 authored almost 3 years ago by Bryan C. Mills <[email protected]>
cmd/internal/obj/riscv: fix trampoline calls from large functions

On riscv64, the JAL instruction is only capable of reaching +/-1MB. In the case where
a single f...

github.com/hack-pad/go - bde0463da3f31934791b0bb2ccacdf6206314073 authored almost 3 years ago by Joel Sing <[email protected]>
Revert "cmd/compile: use MOVBE instruction for GOAMD64>=v3"

This reverts CL 354670.

Reason for revert: broke make.bash with GOAMD64=v3.

Fixes #49061.

Cha...

github.com/hack-pad/go - b0351bfd7d5f0d367c27aa07789b2e6317442ece authored almost 3 years ago by Daniel Martí <[email protected]>
encoding/base64: add examples for Encode/Decode

Fixes #37595

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

github.com/hack-pad/go - 1e49210ccd8fa40273d0d32e5ae898a4bee69a6e authored almost 3 years ago by 180909 <[email protected]>
runtime: ensure at least 1 tick between events

ticks might be same after tick division, although the real cputicks
is linear growth

Fixes #467...

github.com/hack-pad/go - ee92daae25029882979eb694bd7246491e364d3c authored almost 3 years ago by Meng Zhuo <[email protected]>
cmd/internal/obj/riscv: fix and enable test in short mode

The branch test only takes a few seconds so enable it in short mode. Also fix a
typo that curren...

github.com/hack-pad/go - 8838a3b53fccc7b3aa83312326bfd38bcb8f2281 authored about 3 years ago by Joel Sing <[email protected]>
go/types: delay expansion of underlying in typeDecl

Even after type-checking the RHS of a type declaration, we may not yet
be able to expand, if the...

github.com/hack-pad/go - eba0e866fafe3f8223d654a29fb953e02c07364a authored about 3 years ago by Robert Findley <[email protected]>
go/types: ensure named types are expanded after type-checking

Rather than using Checker.later in newNamed, add a Checker.defTypes
field to track named types t...

github.com/hack-pad/go - 323e009c757229bdf58f68fde1c5bf07e9e65b61 authored about 3 years ago by Robert Findley <[email protected]>
go/types: add support for inferring type instances

Add constraint type inference for type instances, to be consistent with
inference of function va...

github.com/hack-pad/go - 73971784dc586a5db3b81dfdd41954f650d493ac authored about 3 years ago by Robert Findley <[email protected]>
net/url: fix stale RFC 3986 links

The URLs for RFC 3986 have been changed from:
http://tools.ietf.org/html/rfc3986
to:
https:/...

github.com/hack-pad/go - 3befaf0cdb18420f45acfa7cee725297aa550faf authored about 3 years ago by jiahua wang <[email protected]>
bufio: use underlying ReadFrom even when data is buffered

When (*bufio.Writer).ReadFrom is called with a partially filled buffer,
fill out and flush the b...

github.com/hack-pad/go - 425db64811285fd0b35ed12eaed7568ec547da78 authored about 3 years ago by Damien Neil <[email protected]>
cmd/compile/internal/ssagen: set BitLen32 as intrinsic on PPC64

It was noticed through some other investigation that BitLen32
was not generating the best code a...

github.com/hack-pad/go - 33b3260c1e765ef66500ce155c6d5a526d8852e9 authored about 3 years ago by Lynn Boger <[email protected]>
syscall/js: remove Wrapper interface

This change removes the js.Wrapper interface for performance reasons.
See proposal #44006 for de...

github.com/hack-pad/go - 6c0daa733192031eab23d09ed6515c4cd959aa92 authored about 3 years ago by Richard Musiol <[email protected]>
html/template: remove unused `mode` field on `Tree` struct

This changes Go, to remove this unused field on the `Tree` struct. Which seems to replaced by th...

github.com/hack-pad/go - 267abbe3ba9dda96a8694e8aad8892e3ba2be60e authored about 3 years ago by Gusted <[email protected]>
cmd/compile: allow importing and exporting of ODYANMICDOTTYPE[2]

Fixes #49027

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

github.com/hack-pad/go - 394a1ad2956f0397e83b5f0234ea7e972a307848 authored about 3 years ago by Keith Randall <[email protected]>
reflect: add Value.UnsafePointer

Allowing eliminates a class of possible misuse of unsafe.Pointer, and
allow callers to migrate f...

github.com/hack-pad/go - 4d550727f8b85e9f8866f22c8a02b8f56fa64159 authored about 3 years ago by Cuong Manh Le <[email protected]>
reflect: add test that method values have the same code pointers

Updates #40592

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

github.com/hack-pad/go - 543a513304c35d42b162790a6e70191aac68225c authored about 3 years ago by Cuong Manh Le <[email protected]>
reflect: correct documentation of Value.UnsafeAddr

The doc mentions that "UnsafeAddr returns a _pointer_ to v's data", but
it returns a uintptr ins...

github.com/hack-pad/go - 42515418a99f2540427a5d32189f6d44fb06939e authored about 3 years ago by Cuong Manh Le <[email protected]>
cmd/go: fix broken fuzz test

Fixes test breakage caused by CL 355691.

Change-Id: I85fcb1491dc39c45342f4cae91fdfda6aedecd1a
R...

github.com/hack-pad/go - 417100ec1b08bb1046e207fd08de105944668d27 authored about 3 years ago by Katie Hockman <[email protected]>
cmd/compile: use MOVBE instruction for GOAMD64>=v3

encoding/binary benchmark on my laptop:
name old time/op new time/op ...

github.com/hack-pad/go - 3e5cc4d6f6befb284d7b2a5142a8b576bf5970ea authored about 3 years ago by wdvxdr <[email protected]>
cmd/asm: report an error when trying to do spectre on 386

The compiler refuses to do spectre mitigation on 386, but the
assembler doesn't. Fix that.

Fixe...

github.com/hack-pad/go - c091767d87b7a6ef6016286bc0fae8add59b92de authored about 3 years ago by Keith Randall <[email protected]>
cmd/compile: allow inlining labeled for-statement and switch-statement

After CL 349012 and CL 350911, we can fully handle these
labeled statements, so we can allow the...

github.com/hack-pad/go - 74acbaf94ab3c7aaa7e22fda4f90920e90f11ead authored about 3 years ago by wdvxdr <[email protected]>
cmd/compile, types2: avoid confusing follow-on error in invalid type assertion

This CL avoids a useless follow-on error (that gets reported before the
actual error due to sour...

github.com/hack-pad/go - cf51fb5d680a9a1ca98af3361e65722d07bff111 authored about 3 years ago by Robert Griesemer <[email protected]>
go/types, types2: add test case for missing return

The respective issue was fixed in types2 with CL 356189;
and the problem didn't exist in go/type...

github.com/hack-pad/go - fa7d11a0e9c0ed469111ba5fdd86f7462a48ef49 authored about 3 years ago by Robert Griesemer <[email protected]>
Add docs (#7)

Add more info and guides to the README

github.com/hack-pad/hackpadfs - dbf2b5b4d05d760132fca33f93c132cdc5f75fb7 authored about 3 years ago by John Starich <[email protected]>
Lint on native system and js,wasm and fix issues

* Remove linter build tags constraint, fix errcheck
* Upgrade linters to latest
* Run linters wi...

github.com/hack-pad/hackpadfs - 6dbc366a2a2fcced704df7b41b828153355532be authored about 3 years ago by John Starich <[email protected]>
test: add a test for parameterized embedded field

Make sure that an embedded field like "MyStruct[T]" works and can be
referenced via the name MyS...

github.com/hack-pad/go - 640a49b8d45760b7c965fc1529dffc8e000cc846 authored about 3 years ago by Dan Scales <[email protected]>
misc/wasm: expect environment to provide polyfills

The list of environments to support with wasm_exec.js was becoming too
large to maintain. With t...

github.com/hack-pad/go - 680caf15355057ca84857a2a291b6f5c44e73329 authored about 3 years ago by Richard Musiol <[email protected]>
cmd/compile: cleanup code in getInstInfo to use switch statement

Simple cleanup: convert a bunch of if's to a switch statement in
getInstInfo. Also, use a few ex...

github.com/hack-pad/go - ed1c8db308029bd82e6de4d547196f7f841236bb authored about 3 years ago by Dan Scales <[email protected]>
cmd/compile: convert to using a map in getInstInfo, rather than SetImplicit()

SetImplicit() has an explicit meaning and really shouldn't be used in
this way - its use is left...

github.com/hack-pad/go - 4a7975e73a2815b93caf6697fec4f4e777e729a1 authored about 3 years ago by Dan Scales <[email protected]>
runtime: consistently access pollDesc r/w Gs with atomics

Both netpollblock and netpollunblock read gpp using a non-atomic load.
When consuming a ready ev...

github.com/hack-pad/go - 1b072b3ed56c18619587354f499fcda5279718a2 authored about 3 years ago by Michael Pratt <[email protected]>
doc/go1.18: add release notes for build and VCS info

Fixes #37475
For #39301

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

github.com/hack-pad/go - 85cbdda5a6d8525973580776c835e725452db898 authored about 3 years ago by Jay Conrod <[email protected]>
cmd/go: allow nested VCS repositories when preparing build stamp

The go command no longer reports an error when invoked in a repository
nested inside another. Th...

github.com/hack-pad/go - a17b2e865551ebdeccd6aafcdc23c1b63932b258 authored about 3 years ago by Jay Conrod <[email protected]>
cmd/compile: make for loops with range statements not terminating

Fixes #49003

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

github.com/hack-pad/go - 22951fbc89a1bc3c5cc38f4e71b4a682f5149361 authored about 3 years ago by Keith Randall <[email protected]>
internal/fuzz: fix bugs with minimization

This pulls in some code and tests from CL 353355.

This change makes some refactors for when we ...

github.com/hack-pad/go - cfe6763783615233ec7ae863784b898718d14c40 authored about 3 years ago by Katie Hockman <[email protected]>
reflect: make Elem panic on bad notinheap pointers

This CL fixes the subtle issue that Elem can promote a
not-in-heap pointer, which could be any b...

github.com/hack-pad/go - 8331f25e96d6120bb0ec212bd03abcae53282769 authored about 3 years ago by Keith Randall <[email protected]>
cmd/compile/internal/types2: add debugging support for delayed actions

Add a simple mechanism to provide formatted descriptions for
delayed actions. The comment string...

github.com/hack-pad/go - 8c99421f01aca303240a8f809bc65fa0c56db861 authored about 3 years ago by Robert Griesemer <[email protected]>
cmd/compile: support new fully-inst types referenced during inlining

Modify the phase for creating needed function/method instantiations and
modifying functions to u...

github.com/hack-pad/go - a80e53ec43d6ab925bb34d62dd8597a4227af363 authored about 3 years ago by Dan Scales <[email protected]>
cmd/go: use portable flags in TestScript/version_build_settings

This fixes a test failure on the 386-longtest builder.

For #37475

Change-Id: Icd1d3474968fcf85...

github.com/hack-pad/go - fad4a16fd43f6a72b6917eff656be27522809074 authored about 3 years ago by Bryan C. Mills <[email protected]>
reflect: fix SetIter test

Missed one review comment in CL 356049

Change-Id: I05be585d15e77afc1aa57b737cdc8ba7204bab98
Rev...

github.com/hack-pad/go - 1cbec685124b7a40fe899286db697a85da7be28a authored about 3 years ago by Keith Randall <[email protected]>
doc: document new reflect.SetIter{Key,Value} functions

Update #48294
Update #47694

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

github.com/hack-pad/go - 81484cf6263461057251bbda825f2c3dc4cdcd09 authored about 3 years ago by Keith Randall <[email protected]>
reflect: rename Mapiter.SetKey to Value.SetIterKey

Same for Value.

Add a bigger test. Include some shouldPanic checks.

Fix a bug in assignment co...

github.com/hack-pad/go - 8dab959a8e3c631e3166eb08ba450bfdbbf56e03 authored about 3 years ago by Keith Randall <[email protected]>
cmd/go: don't stamp build or vcs info for GOROOT binaries

Fixes a test failure in cmd/go TestScript/mod_outside.

make.bash (cmd/dist) builds everything w...

github.com/hack-pad/go - 3da0ff8e3b05333c378efe17585609598692791e authored about 3 years ago by Jay Conrod <[email protected]>
cmd/compile: fix irgen reports wrong error message for misuse of //go:embed

Fixes #48230

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

github.com/hack-pad/go - 0c45ed05612bb315c949229f7b484b4b573af4b0 authored about 3 years ago by Cuong Manh Le <[email protected]>
debug/buildinfo: fix test for build settings

This CL fixes the debug/buildinfo test, which did not expect build settings.

For #37475

Change...

github.com/hack-pad/go - 9e8ed86813dd49c4160dd4813901e2ac03de5abd authored about 3 years ago by Jay Conrod <[email protected]>
net/http: also use Server.ReadHeaderTimeout for TLS handshake deadline

Fixes #48120

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

github.com/hack-pad/go - b59467e0365776761c3787a4d541b5e74fe24b24 authored about 3 years ago by Brad Fitzpatrick <[email protected]>
go/types, types2: add a test case to ConvertibleTo

string(int) conversions are somewhat special and deserve an entry.

Change-Id: Ia68d047cfdb2f98e...

github.com/hack-pad/go - 0400d536e4f349c8f30777c975af78b6a19e73b4 authored about 3 years ago by Robert Griesemer <[email protected]>
cmd/compile/internal/types2: remove Config.AllowTypeLists (cleanup)

This flag is not used anymore.

Change-Id: Id083ffa4f0a3051d3f1905a211db8acaaf525cf4
Reviewed-on...

github.com/hack-pad/go - 440b63bd6f29ad1efd747db9d137a844a3621bdc authored about 3 years ago by Robert Griesemer <[email protected]>
cmd/go: produce a better error for generic test functions

Test functions with type parameters cannot be invoked without type
arguments, so cmd/go would pr...

github.com/hack-pad/go - 4cbc0a555474f59b8600e7e8ecba5c70d619ba0b authored about 3 years ago by Robert Findley <[email protected]>
cmd/go: stamp tags and flags in build info

Toolchain flags (like -gcflags), build tags (including race and msan),
and cgo variables (includ...

github.com/hack-pad/go - 0fd0639e4c429e147d33bfc42654fcd651f4449f authored about 3 years ago by Jay Conrod <[email protected]>
cmd/go: stamp VCS revision and uncommitted status into binaries

When the go command builds a binary, it will now stamp the current
revision from the local Git o...

github.com/hack-pad/go - a37bebc042672d20837ea348d45e39740568cb77 authored about 3 years ago by Jay Conrod <[email protected]>
cmd/go: migrate 'go version' to use buildinfo.ReadFile

The same code was copied into debug/buildinfo. 'go version' doesn't
need its own copy.

For #374...

github.com/hack-pad/go - a8c5a994d62cc920c134426f7eae892b013ee32d authored about 3 years ago by Jay Conrod <[email protected]>
runtime/debug: add GoVersion to BuildInfo

BuildInfo now includes the version of Go used to build a binary, as
reported by runtime.Version(...

github.com/hack-pad/go - 85a068fdf21bd2e4475a87ee049af4fbe797bcbe authored about 3 years ago by Jay Conrod <[email protected]>
debug/buildinfo: new package with Read and ReadFile

These functions provide access to module information stamped into Go
binaries. In the future, th...

github.com/hack-pad/go - 434cdd0337b9e6c7e0c369c9293cc14fd38dc80d authored about 3 years ago by Jay Conrod <[email protected]>
cmd/go: move module build info formatting into runtime/debug

Previously, modload.PackageBuildInfo returned a string containing
information about modules used...

github.com/hack-pad/go - 765c9116be44641854f580c19e3589d7b86a3d28 authored about 3 years ago by Jay Conrod <[email protected]>
sync: remove TestWaitGroupMisuse2 and TestWaitGroupMisuse3

These tests are inherently nondeterministic: They exercise a racy
code path for up to one millio...

github.com/hack-pad/go - 011fd002457da0823da5f06b099fcf6e21444b00 authored about 3 years ago by Damien Neil <[email protected]>
go/types: avoid infinite expansion for invalid recursive generic types

This is a clean port of CL 355732 from types2 to go/types.

Fixes #48951.

Change-Id: I9f8cc0655...

github.com/hack-pad/go - fbdf83072c413943ccbd3b556654276126117463 authored about 3 years ago by Robert Griesemer <[email protected]>
cmd/compile/internal/types2: avoid infinite expansion for invalid recursive generic types

The algorithm for detecting invalid recursive types that
expand indefinitely suffered from the e...

github.com/hack-pad/go - ad99d8840edc655a757570d3d4ec62ad8f4df8a7 authored about 3 years ago by Robert Griesemer <[email protected]>
syscall: use fcntl with F_DUP2FD_CLOEXEC in forkAndExecInChild on FreeBSD

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

github.com/hack-pad/go - 24e798e2876f05d628f1e9a32ce8c7f4a3ed3268 authored about 3 years ago by Tobias Klauser <[email protected]>
syscall: add support for SysProcAttr.Pdeathsig on FreeBSD

Fixes #46258

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

github.com/hack-pad/go - 2feb2cc450e1925b9359957c90bae27e01662171 authored about 3 years ago by Tobias Klauser <[email protected]>
syscall: separate ProcSysAttr and forkAndExecInChild for FreeBSD

To allow adding fields to ProcSysAttr which are supported on FreeBSD but
not on other BSDs.

For...

github.com/hack-pad/go - 1349c6eb1e3faf8b83db9a1ea30764d56b40c7dc authored about 3 years ago by Tobias Klauser <[email protected]>
cmd/link/internal/ld: don't use linkname before 1.12

Before the 1.12 release the use of linkname did not prevent a compiler
error for an empty functi...

github.com/hack-pad/go - 9e4dc6f37f75840d1193accae697a0e9283f5384 authored about 3 years ago by Ian Lance Taylor <[email protected]>
cmd/compile/internal/syntax: remove AllowTypeSets mode

The respective issue has been accepted, so we can always
accept constraint literals with omitted...

github.com/hack-pad/go - 276fb279d1703451e5b962350727f84e4e8e9814 authored about 3 years ago by Robert Griesemer <[email protected]>
cmd/compile: fix inst_test.go for riscv5

On riscv5, apparently extra wrappers (trampolines) are created for some
functions with the suffi...

github.com/hack-pad/go - b90d258b18e2fe728a3d7c856ad08c7fa6845fc2 authored about 3 years ago by Dan Scales <[email protected]>
unsafe: optimize Slice bounds checking

This reduces the number of branches to bounds check non-empty slices
from 5 to 3. It does also i...

github.com/hack-pad/go - 40f82f8a092ac1f23eb3af86f34b7436a6fc19e0 authored about 3 years ago by Matthew Dempsky <[email protected]>
unsafe: allow unsafe.Slice up to end of address space

Allow the user to construct slices that are larger than the Go heap as
long as they don't overfl...

github.com/hack-pad/go - 4efa216c9d753c0853aa96a8c54ed5014fbc12e6 authored about 3 years ago by Matthew Dempsky <[email protected]>
net/http/httputil: allow MIME parameters when detecting SSE in ReverseProxy

This change allows httputil.ReverseProxy to detect SSE (server-sent events)
content when the res...

github.com/hack-pad/go - 4a3daeee636751a262eb9f77d8e90c59955ee6bb authored about 3 years ago by James Harris <[email protected]>
net: remove timeout in TestDialTimeoutMaxDuration

This test seems only to be testing that Dial does not time out
immediately as a result of intege...

github.com/hack-pad/go - b5904f3de0937aac72acd40d6c26494ebb9d7909 authored about 3 years ago by Tamir Duberstein <[email protected]>
internal/poll,net: support poll.Sendfile for darwin

darwin already supports syscall.Sendfile.

Change-Id: Id3db06591ffad0550b4173bacddeb0acfe355f9e
...

github.com/hack-pad/go - aded1679ef6a33ef6fe6c0b466ecf59186706d23 authored about 3 years ago by Koichi Shiraishi <[email protected]>
bytes: fix Cut godoc typo

If sep does not appear in s, we return nil here
rather than the empty string. Presumably the doc...

github.com/hack-pad/go - 3986e5c8e7df958cc1412ad06afc011022da76e1 authored about 3 years ago by kjgorman <[email protected]>
net: add examples for remaining IP functions

Fixes #48848

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

github.com/hack-pad/go - 69041c79dc2767c220519cbcb9538c39fadec59c authored about 3 years ago by Amelia Downs <[email protected]>
os: explain ProccessState.Exited() SIGKILL interaction

When a process is forcefully killed (for example, with SIGKILL on unix), its ProccessState.Exite...

github.com/hack-pad/go - 53260943eac49dde51e0ce28e50e9b4bc90661b8 authored about 3 years ago by Forest Johnson <[email protected]>
cmd/pprof: update vendored github.com/google/pprof

Pull in the latest published version of github.com/google/pprof

This adds the tagroot and tagle...

github.com/hack-pad/go - b8e4df01dd1aa61b3de978e4874c81b0d23349d5 authored about 3 years ago by Mark Hansen <[email protected]>
cmd/link: disable weak reference in itab if build with "-linkshared"

When build with "-linkshared", we can't tell if the interface method will be used or not. It can...

github.com/hack-pad/go - f687831e4cfa06d19533d47ae93c0451bd1ca688 authored about 3 years ago by zhouguangyuan <[email protected]>
embed: add example

Change-Id: I4e50e469047ac7efbf4ed464e238000dbdf53d6b
GitHub-Last-Rev: 8d29b73d1160b4498a38aa3ef6...

github.com/hack-pad/go - 0454d7346f4ca89261356d3f17da11ab5bc643c5 authored about 3 years ago by helbing <[email protected]>
all: fix spelling mistakes

Corrections were only made to comments and can be reproduced with the
following sed.

sed -i 's/...

github.com/hack-pad/go - e8f99da8ed6180732ace00f8fc6b17f636515bc4 authored about 3 years ago by nicksherron <[email protected]>
cmd/compile: allow spaces in types.(*Type).LinkString()

Go back to allowing spaces in types.(*Type).LinkSring().

Delve folks prefer that there are spac...

github.com/hack-pad/go - 4fb2e1cb86a1f15a69ebf97a80503e865287642c authored about 3 years ago by Dan Scales <[email protected]>
cmd/api: use placeholder names for type parameters

Changing type parameter names is not a breaking API change, so we should
not include these names...

github.com/hack-pad/go - 78d01be00b68d1f5c3f5eb493f053ba97adc92df authored about 3 years ago by Robert Findley <[email protected]>
cmd/compile: use ANDL for small immediates

We can rewrite ANDQ with an immediate fitting in 32bit with an ANDL, which is shorter to encode....

github.com/hack-pad/go - 732f6fa9d552c643b6225dd56689eb653ad61473 authored about 3 years ago by Jake Ciolek <[email protected]>