Ecosyste.ms: OpenCollective

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

github.com/hack-pad/go

The Go programming language
https://github.com/hack-pad/go

cmd/compile/internal/types2: use go/types/testdata/spec tests

Since the spec tests are now identical between the two type checkers,
remove the local copy of t...

0a4a57de4d0764a4291e4d8654e88b44e65d8059 authored about 2 years ago by Robert Griesemer <[email protected]>
go/types, types2: consolidate testdata/spec test files

Besides applying gofmt (which doesn't damage the tests in this case),
this removes a TODO for a ...

17211c355f015862b635f8cbd48ffc65a1081b92 authored about 2 years ago by Robert Griesemer <[email protected]>
go/types, types2: consolidate testdata/examples test files

Besides applying gofmt (which doesn't damage the tests in this case),
the ERROR comments in the ...

9ad772033f04ea9b3082440d306e17802a08b4b4 authored about 2 years ago by Robert Griesemer <[email protected]>
cmd/compile/internal/syntax: handle missing index like in go/parser

Instead of simply reporting an error but otherwise dropping the
index expression from the parse ...

9485d4c1bd871be792d03c29b7902f6ac284ed27 authored about 2 years ago by Robert Griesemer <[email protected]>
crypto/internal/boring: update to newer boringcrypto, add arm64

Update the version of BoringCrypto to boringssl tag
fips-20210429, for which FIPS approval is "i...

39ec97da15e9167e7a17746c643f264baae6ce7b authored about 2 years ago by Russ Cox <[email protected]>
go/types: match types2 error msg formatting for conversion errors

This resolves a TODO. Also, it allows go/types and types2 to use
identical test files in testdat...

5fcddf3997a89c1f82935cf65d919b7ef03df2c5 authored about 2 years ago by Robert Griesemer <[email protected]>
internal/buildcfg: support GOPPC64=power10

This does not enable any new functionality. It should
behave identically to GOPPC64=power9.

Upd...

0eb56ca4688caed10c422f1d2d3b364d75970b8c authored about 2 years ago by Paul E. Murphy <[email protected]>
runtime: remove p padding field for atomic fields alignment

CL 424396 and CL 424397 changed timer0When/timerModifiedEarliest to
atomic.Uint64, just they're ...

1aa5730f4940b9e11c4461817493e47de1874d77 authored about 2 years ago by Cuong Manh Le <[email protected]>
cmd/compile: remove OFORUNTIL

Not used any more.

Fixes #53860

Change-Id: Id0b1c3ed30b576d6c5f08f064d1262de337262b3
Reviewed-...

a5370d038e56ced398c982f6a610a2ddde1703ff authored about 2 years ago by Keith Randall <[email protected]>
cmd/compile: rip out support for OpVarKill from ssa backend

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

6dc7b060cd725aa61421e627ec233e9a936600fc authored about 2 years ago by Keith Randall <[email protected]>
cmd/compile: stop using VARKILL

With the introduction of stack objects, VARKILL information is
no longer needed.

With stack obj...

908499adec185a672b337c84ca4cea0755f0d5cf authored about 2 years ago by Keith Randall <[email protected]>
cmd/compile: don't use OFORUNTIL when implementing range loops

We don't need this special loop construct anymore now that we do
conservative GC scanning of the...

661146bc0bb0fad22d561eef2c0b48974aca32b6 authored about 2 years ago by Keith Randall <[email protected]>
cmd/compile: enable more inlining for unified IR

The non-unified frontend had repeated issues with inlining and
generics (#49309, #51909, #52907)...

52016be3f4e6deba54020ad8c969f1e2dba1eee3 authored about 2 years ago by Matthew Dempsky <[email protected]>
cmd/compile: fix devirtualization bug with unified IR

As a consistency check in devirtualization, when we determine `i` (of
interface type `I`) always...

d6294e00f029d93b8552827bce1f24f67458d3f2 authored about 2 years ago by Matthew Dempsky <[email protected]>
cmd/compile/internal/noder: set ir.Name.DictIndex for unified IR

For local variables of derived type, Delve relies on ir.Name.DictIndex
being set to the type's r...

07cf24bdfe55dd3493e580c67b5437a114df7658 authored about 2 years ago by Matthew Dempsky <[email protected]>
cmd/compile/internal/noder: pointer shaping for unified IR

This CL implements pointer shaping in unified IR, corresponding to the
existing pointer shaping ...

b23d469e854f36e5ba8c0de9b7406a81e82d15c1 authored about 2 years ago by Matthew Dempsky <[email protected]>
runtime: remove dead code and unnecessary checks for amd64

Use amd64 assembly header to remove unnecessary cpu flags checks
and dead code that is guarantee...

330cffb86951414da5ef2fde912167f6b4d1d91e authored about 2 years ago by vpachkov <[email protected]>
runtime: convert timer0When/timerModifiedEarliest to atomic.Int64

So they match with when/nextwhen fields of timer struct.

Updates #53821

Change-Id: Iad0cceb129...

c82bbc0e8edbbebe47e92729e8f3f1b60d380b5b authored about 2 years ago by Cuong Manh Le <[email protected]>
cmd/dist: enable testsanitizer test on ppc64le

Even though the -race option works for ppc64le, some of the
testsanitizer test have failed in th...

03e1870b635dbfa54b6ee3624c435daf2a6b3b1f authored about 2 years ago by Lynn Boger <[email protected]>
go/printer: avoid allocating for every position printed

printer.print is an overloaded method for multiple purposes.
When fed a position, it updates the...

b2c0417c429891b9c965abe1d09606b0dba00403 authored about 2 years ago by Daniel Martí <[email protected]>
hash/crc32: remove single-use {castagnoli,ieee}ArchImpl bools

These are only used once right after being set in castagnoliInit and
ieeeInit, respectively.

Ch...

b6149224499108d4ea6e562fd9fd7eac35f50a6d authored about 2 years ago by Tobias Klauser <[email protected]>
cmd/internal/osinfo: use unix.ByteSliceToString

The golang.org/x/sys/unix package is already imported for Utsname and
Uname. Use ByteSliceToStri...

c7c78f1a3a4c94043c140962f2916a69e466d255 authored about 2 years ago by Tobias Klauser <[email protected]>
debug/pe: use saferio to set symbol slice capacity

No test case because the problem can only happen for invalid data.
Let the fuzzer find cases lik...

760c180d3bb2464b1e91402630c8f0d1e79180b3 authored about 2 years ago by Ian Lance Taylor <[email protected]>
time: fix LoadLocation documentation formatting

The documentation for LoadLocation contains an enumerated list,
but does not render as such beca...

924f526277c4deecfeb3ff3b48095126d1bb520e authored about 2 years ago by Abhinav Gupta <[email protected]>
internal/poll: remove fallback path in accept

Support for operating system versions requiring the fallback to
CloseOnExec/SetNonblock was drop...

b8b9e83ec7a92498c2c69a1a963c31983d303e21 authored about 2 years ago by Tobias Klauser <[email protected]>
syscall: implement EpollCreate using EpollCreate1 on all linux platforms

Most newer architectures (e.g. arm64, riscv64, loong64) don't provide the
epoll_create syscall. ...

021fd86ce12ac694db778f6998d12c1e8d8c63ca authored about 2 years ago by Tobias Klauser <[email protected]>
cmd/go: avoid passing testing.T to isCaseSensitive and goVersion

The previous implementation of isCaseSensitive called t.Fatalf in the
wrong place, causing tests...

741ab7e819538ef84ce7a2e560730c6212e95161 authored about 2 years ago by Bryan C. Mills <[email protected]>
cmd/go: run tests when cmd/go is cross-compiled

When the GOOS or GOARCH of the cmd/go test binary does not match the
GOOS or GOARCH of the insta...

e64c87157d1e8fbc512a670b8c0af8abc3afa7c1 authored about 2 years ago by Bryan C. Mills <[email protected]>
all: remove duplicate "the" words in comments

Following CL 424454, using command

rg --multiline " the\s{1,}the " *
rg --multiline " the...

d8f90ce0f8119bf593efb6fb91825de5b61fcda7 authored about 2 years ago by Abirdcfly <[email protected]>
cmd/compile/internal/noder: shape-based stenciling for unified IR

This CL switches unified IR to use shape-based stenciling with runtime
dictionaries, like the ex...

38edd9bd8da9d7fc7beeba5fd4fd9d605457b04e authored about 2 years ago by Matthew Dempsky <[email protected]>
internal/poll: remove detection of buggy splice on old Linux versions

The splice syscall is buggy prior to Linux 2.6.29. CL 113999 added a
workaround to detect buggy ...

a2c2f06cad8aa722120cb73e965d168bfcb4d977 authored about 2 years ago by Tobias Klauser <[email protected]>
os: only add file descriptors which are set to non-blocking mode to the netpoller

Either ones where kind == kindNonBlock or those we've successfully called syscall.SetNonblock() ...

b15c399a36a38509ae56dd69670974566f7b0d52 authored about 2 years ago by Yuval Pavel Zholkover <[email protected]>
debug/buildinfo: implement for Plan 9 a.out

Plan 9 a.out was not implemented for debug/buildinfo, which
was causing test failures on Plan 9....

0816d3871376f8fe029db1a6d00b1f6882106043 authored about 2 years ago by Ori Bernstein <[email protected]>
runtime: convert profbuf.eof to atomic type

Updates #53821

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

5b1658d6912759e91e404e8c728d08439a15fea9 authored about 2 years ago by Cuong Manh Le <[email protected]>
runtime: convert profbuf.overflowTime to atomic type

Updates #53821

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

04d3d6bf48229942b7475e3964b3c097fe5a8c69 authored about 2 years ago by Cuong Manh Le <[email protected]>
runtime: convert profbuf.overflow to atomic type

Updates #53821

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

c3c10f5d6748b25c13f475de427e2f17806ce5bb authored about 2 years ago by Cuong Manh Le <[email protected]>
runtime: convert m.cgoCallersUse to atomic type

Updates #53821

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

f6efcf1fbb8e86b235a9398660593b7c83b69aff authored about 2 years ago by Cuong Manh Le <[email protected]>
runtime: delete repeated word

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

83b223ec3a4ddbcac0ba38692661ea0b76a79d2c authored about 2 years ago by Dan Kortschak <[email protected]>
runtime: convert p.timerModifiedEarliest to atomic type

Updates #53821

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

bb5d656a3ac78575d9e2c9bed026cc1756fab179 authored about 2 years ago by Cuong Manh Le <[email protected]>
crypto/internal/boring/bcache: make Cache type-safe using generics

Generics lets us write Cache[K, V] instead of using unsafe.Pointer,
which lets us remove all the...

b30ba3df9ff8969f934bec5016cfce4b91f6ea5b authored about 2 years ago by Russ Cox <[email protected]>
runtime: gofmt -w -s

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

9709d92bfaab7a9fb5350c102f46c8c9758e615d authored about 2 years ago by hopehook <[email protected]>
cmd/compile: gofmt -w -s

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

87d6a9ff920e55b72ac7f35a85fcf6e448e2cbd7 authored about 2 years ago by hopehook <[email protected]>
run: set GOENV=off when running 'go tool dist env'

'go tool' sets environment variables, including the GOAMD64 value
from the user's go.env file.

...

9c2b481b57aea1ee69b2131c09af1e0dc0ea84d8 authored about 2 years ago by Bryan C. Mills <[email protected]>
runtime: refactor ARM VDSO call setup to helper

We have a very complex process to make VDSO calls on ARM. Create a
wrapper helper function which...

876d477b0e3b27ae136a7e8dfceaf0ec72bddea6 authored about 2 years ago by Michael Pratt <[email protected]>
cmd/go: skip test cases that depend on gopkg.in

Updates #54503.

Change-Id: Ie13d028b09260d2d316c343b3ea812bb9cce4e6d
Reviewed-on: https://go-re...

c7f870ebc41029e07e7ffd8ff2d96b91fd83cd40 authored about 2 years ago by Bryan C. Mills <[email protected]>
crypto/subtle: add XORBytes

Export cipher.xorBytes as subtle.XORBytes, for proposal #53021,
to provide fast XOR to cryptogra...

57d05512feebed4fbe1e7a19305c8722a4ac627f authored about 2 years ago by Russ Cox <[email protected]>
crypto/internal/subtle: rename to crypto/internal/alias

This avoids an import conflict with crypto/subtle.
CL 424175 does the same for x/crypto.

Change...

90466e1ddf0e4305bc56f6eac61a690704e6fab8 authored about 2 years ago by Russ Cox <[email protected]>
net: revert "reenable TestLookupLongTXT"

Test is still flaky.

For #22857

Change-Id: Ic0d979778eb4c2d3779b18a983e7077789ae08a4
Reviewed-...

ebda5a73fa0a96f6f1a1d468f86284e5654f5ee8 authored about 2 years ago by Damien Neil <[email protected]>
runtime: convert p.timer0When to atomic type

Updates #53821

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

e1fd51e0765a5d7b2dd72b2f82b9c3eed2764035 authored about 2 years ago by Cuong Manh Le <[email protected]>
runtime: convert m.preemptGen to atomic type

Updates #53821

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

bc805795bd28ae4cd1a70b3053a3a71668bfef87 authored about 2 years ago by Cuong Manh Le <[email protected]>
runtime: convert freezing to atomic type

Updates #53821

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

7e7ecf5cbbd5c0b61e693a65c865bf372fc2ea80 authored about 2 years ago by Cuong Manh Le <[email protected]>
runtime/trace: convert tracing.enabled to atomic type

Updates #53821

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

5e20f2e4dfdfea7deb9ad9e2a9909a32588334a0 authored about 2 years ago by Cuong Manh Le <[email protected]>
runtime: convert netpoll netpollInited to atomic type

Updates #53821

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

dea67a9b342ff5205e780b2d4e7d7671df301ba2 authored about 2 years ago by Cuong Manh Le <[email protected]>
runtime: convert kqueue netpollWakeSig to atomic type

Updates #53821

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

04d8c2327d5a2788757f22fd0e23198f7045c20f authored about 2 years ago by Cuong Manh Le <[email protected]>
runtime: convert windows netpollWakeSig to atomic type

Updates #53821

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

9b988c9094df18a75537f5c4ae12449062550290 authored about 2 years ago by Cuong Manh Le <[email protected]>
runtime: convert solaris netpollWakeSig to atomic type

Updates #53821

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

ec8ed5bd026a79d661cc9f9c42dc044fd1c440ad authored about 2 years ago by Cuong Manh Le <[email protected]>
runtime: convert aix netpollWakeSig to atomic type

Updates #53821

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

ce7aae5095c9f0c5ed2e4daddeac25a415cc370c authored about 2 years ago by Cuong Manh Le <[email protected]>
runtime: convert linux netpollWakeSig to atomic type

Updates #53821

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

901b9233e6eadc7b5235d4bb492c6b04f75cab9a authored about 2 years ago by Cuong Manh Le <[email protected]>
net/http: return ErrNoCookie from Request.Cookie when name is ""

Request.Cookie(name string) will return the first cookie
when cookie name is "". Since readCooki...

edfeea01be331b8737697d4d74737d7888d7dd6f authored about 2 years ago by muyizixiu <[email protected]>
net: reenable TestLookupLongTXT

This test was disabled for flakiness.
The underlying code has been rewritten.
Reenabling the tes...

2a0327b8fd2771ca6e8caf8f17307606046270fe authored about 2 years ago by Damien Neil <[email protected]>
runtime: convert m.signalPending to atomic type

Updates #53821

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

b11b4b4de3e54372dfdf867003b544cadd189931 authored about 2 years ago by Cuong Manh Le <[email protected]>
runtime: convert mSpanStateBox.s to atomic type

Updates #53821

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

014f0e8205aa5d88a0dc1be75ec09a18132b216c authored about 2 years ago by Cuong Manh Le <[email protected]>
runtime: convert g.parkingOnChan to atomic type

Updates #53821

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

5b0ce94c07524f910278de1d90e31c5bc0805bbd authored about 2 years ago by Cuong Manh Le <[email protected]>
cmd/go: propagate match errors in 'go run'

Fixes #51604.

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

ea6cb02ae54fcf89026a2178720396f1277dd105 authored about 2 years ago by Bryan C. Mills <[email protected]>
internal/testenv: add a test for the GoTool function

GoTool was added in CL 20967, and revised in CL 21292, for #14901.

I don't fully understand wha...

bd1bff4e7aa1e417aaa617a7f10b1cff88a6e243 authored about 2 years ago by Bryan C. Mills <[email protected]>
test/codegen: updated multiple tests to verify on ppc64,ppc64le

Updated multiple tests in test/codegen: math.go, mathbits.go, shift.go
and slices.go to verify o...

d09c6ac41769cc782ec982ffc8f20fbd796791f8 authored about 2 years ago by Archana R <[email protected]>
time: optimize GoString

Optimize Time.GoString by avoiding multiple calls to absDate.

name old time/op new t...

2c46cc8b8997f4f5cdb7766e4e2bdf8e57f67c76 authored about 2 years ago by Amarjeet Anand <[email protected]>
all: use "noopt" build tag for checking optimization disabled

Fixes #49390

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

c411886c753dc85c23d06953b9a2e20e4ec1731f authored about 2 years ago by Cuong Manh Le <[email protected]>
runtime: add symbolic constants for freebsd/amd64 syscalls

Brings freebsd/amd64 on par with other OSes/archs.

Updates #53479

Change-Id: I05164c887d776dd4...

c04977fa76f43a6aee2ce73d5f6ba8e4b5ba77ea authored about 2 years ago by Dmitri Goutnik <[email protected]>
cmd/go: add go generate -skip flag

Following proposal discussion in #38687, add go generate -skip
to allow easier skipping of speci...

c6be7103a5ab8cd45e08d822efa24da4fd88b9c5 authored about 2 years ago by Russ Cox <[email protected]>
runtime: add symbolic constants for freebsd/386 syscalls

Brings freebsd/386 on par with other OSes/archs.

Updates #53479

Change-Id: I16a7d051233e06e589...

848febdcec2caacde4b66f2ff1260865c7233422 authored about 2 years ago by Dmitri Goutnik <[email protected]>
encoding/base64: optimize decodemap memory set

The existing implementation has an execution time higher in the benchmark than this one.
This is...

e1b62efaf33988a5153510898d37309cee78f26e authored about 2 years ago by ErikPelli <[email protected]>
internal/xcoff: use saferio to read string table

No test case because the problem can only happen for invalid data.
Let the fuzzer find cases lik...

0d8efa6e842169e61cbe343441092b6f7c9b886c authored about 2 years ago by Ian Lance Taylor <[email protected]>
debug/macho, internal/saferio: limit slice allocation

Don't allocate slices that are too large; choose a smaller capacity
and build the slice using ap...

7adfa82726280371bb4dfc710dc4168dfd9de703 authored about 2 years ago by Ian Lance Taylor <[email protected]>
archive/tar: delete unreachable continue code

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

71424806fa76d5b5d1b2492741d2564664af136c authored about 2 years ago by Abirdcfly <[email protected]>
debug/pe, internal/saferio: use saferio to read PE section data

For #47653
Fixes #53189

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

cdb3789772a7e7c02d2ac7290b3a16fb542b48dd authored about 2 years ago by Ian Lance Taylor <[email protected]>
all: clean up unreachable Continue after Fatal

As CL 422214 did, this CL intends to clean up the rest
unreachable "Continue" after Fatal.

Chan...

9e6cd3985dbcdcfe0ed2075be6dbe8c5d6de59cb authored about 2 years ago by hopehook <[email protected]>
runtime: process ptr bitmaps one word at a time

[This is a retry of CL 407036 + its revert CL 422394. The only
content change is the 1-line chan...

e49e8764553bf510b5d9f6fb38aeec0850ec6672 authored about 2 years ago by Keith Randall <[email protected]>
runtime: redo heap bitmap

[this is a retry of CL 407035 + its revert CL 422395. The content is unchanged]

Use just 1 bit ...

6a9c674a09b057a641527ac847cbdf1a3824b753 authored about 2 years ago by Keith Randall <[email protected]>
net/http/httputil: add ReverseProxy.Rewrite

Add a new Rewrite hook to ReverseProxy, superseding the Director hook.

Director does not distin...

a55793835f16d0242be18aff4ec0bd13494175bd authored about 2 years ago by Damien Neil <[email protected]>
strings, bytes: add CutPrefix and CutSuffix

Fixes #42537

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

68005592b38027490a08972f13269406b2556a07 authored about 2 years ago by Changkun Ou <[email protected]>
all: fix some typos

Change-Id: I147622770587cff1551a0be189003666463f34e3
GitHub-Last-Rev: 71b5375983820445a331c46481...

0df7ad2e79ac5ca5197509596446dd83380aaf90 authored about 2 years ago by cui fliter <[email protected]>
cmd/go: stamp VCS information in test binaries when -buildvcs=true

(But still not when -buildvcs=auto, the default.)

Fixes #52648.

Change-Id: I87a87d4ea84e8bf963...

805305e24f762887a10eb5c410683aa541d1b3c3 authored about 2 years ago by Bryan C. Mills <[email protected]>
go/token: add (*FileSet).RemoveFile(*File) method

The design of FileSet encourages it to be used as a global variable.
Each call to AddFile consum...

a45bbeae339cd51b60fc59f13da02111f3fc8851 authored about 2 years ago by Alan Donovan <[email protected]>
cmd/go: restore TestLegacyMod as a script test

This test was apparently mistakenly removed without a replacement in
CL 213223, but its testdata...

98f3eb2d3edc00ac3c39f23db157b42d14fe6726 authored about 2 years ago by Bryan C. Mills <[email protected]>
cmd/go: convert TestAccidentalGitCheckout to a script test

As far as I can determine, this is the only existing non-script test
that relies on vcs-test.gol...

a135f8e251120e89520bb2c226266b8256f81de0 authored about 2 years ago by Bryan C. Mills <[email protected]>
testing: do not print 'root' benchName during test of package testing

$ cd $GOROOT/src/testing
$ go test
root
root
root
root
PASS
$

The root prints have been...

bd3c35e732ba3f4b6cbdf5d661120d11b59794bc authored about 2 years ago by Russ Cox <[email protected]>
cmd/go/internal/mmap: use syscall.Mmap on solaris

Now that syscall.Mmap is defined on solaris (see CL 413374), use it in
mmapFile like on other Un...

b565476e2c812f65385595717fff191ac174cab7 authored about 2 years ago by Tobias Klauser <[email protected]>
test: add regression test for issue 43942

CL 356011 fixed this issue too.

Fixes #43942

Change-Id: I35ad397e78eeb80eff3a4217c4d40f15d40bd...

5e7697b6275bb28bcfd18b2f21de9905164926dd authored about 2 years ago by Cuong Manh Le <[email protected]>
go/types, types2: check integer constant literal overflow

Fixes #54280.

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

f80b12667c69c72e170862ef50f085ff9d35f354 authored about 2 years ago by Robert Griesemer <[email protected]>
go/types, types2: skip comparison for operands with invalid types

Fixes #54405.

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

7ec0ec3645a481155728020c07685992444a9e4f authored about 2 years ago by Robert Griesemer <[email protected]>
net/http: make Request.WithContext documentation less prescriptive

WithContext makes a shallow copy of a Request, and Clone makes a
deep copy. Both set the context...

e3c2e4cb7dc006d4282e6d5c85222006d380d701 authored about 2 years ago by Damien Neil <[email protected]>
go/types, types2: don't build unnecessary error strings in implements

When accessing (*Checker).implements from types.AssignableTo or
types.ComparableTo, we don't nee...

de0f4d190fc98c9dcc3d3537ae889be2c5eb7bd5 authored about 2 years ago by Robert Findley <[email protected]>
bytes: add Clone function

The new Clone function returns a copy of b[:len(b)]
for the input byte slice b.
The result may h...

7b45edb45016307151266731ccd158e14504598f authored about 2 years ago by Martin Möhrmann <[email protected]>
runtime: document GODEBUG=cpu.* in runtime package

So far was only documented in doc/diagnostics.

Fixes: #54183

Change-Id: Iab67a1500547f30325453...

69a8954282dc4500bb645e67fb912d53a7f78a5c authored about 2 years ago by Martin Möhrmann <[email protected]>
net/http: allow zero-valued Expires in Cookie.Valid

The value of Expires is only checked when a value is set.

This fixes the bug that a cookie with...

95c125a44ad1a0c3e441c3214160cd7b4483e79c authored about 2 years ago by Amit Saha <[email protected]>
net/http: add Server.DisableOptionsHandler for custom handling of OPTIONS *

Fixes #41773

Change-Id: I432ad5410d5e3bb0aff3a6e0eea6906ab1b214e2
GitHub-Last-Rev: 57d1ee249dcd...

05ff045dfeab582503a15c4233161aa8b6be179d authored about 2 years ago by Alexander Yastrebov <[email protected]>
cmd/internal/obj: remove redundant code in genFuncInfoSyms

The length of slice hashedsyms is always 0, because it's not used after defined

Change-Id: Iba8...

f7e6986d6b9f230a6807383fc0e37d9042baa5bf authored about 2 years ago by xiongwy12 <[email protected]>
net: use testenv.SkipIfOptimizationOff in TestAllocs

Use the helper added by CL 422038 instead of manually detecting the
noopt builder.

Change-Id: I...

8ec1aa889f4ee2b0569c573b23efd21fa2c4329b authored about 2 years ago by Tobias Klauser <[email protected]>
build: update comments about Go 1.4 in make.bash, make.bat, make.rc

A few lingering references to Go 1.4 remain.
Fix them, and document the ones that should stay.

...

1d66144bfd4b6aad915a8b62e43e3cab5460e9bc authored about 2 years ago by Russ Cox <[email protected]>