- 25 Mar, 2013 18 commits
-
-
Adam Langley authored
At some point in the past, I believe the GCD algorithm was setting d to be negative. The RSA code has been correcting that ever since but, now, it appears to have changed and the correction isn't needed. Having d be too large is harmless, it's just a little odd and I happened to notice. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/7948044
-
Ian Lance Taylor authored
Fixes SWIG callbacks. Previously crosscall2 was only cgo_export_static, despite the use of two #pragma declarations in runtime/cgo/callbacks.c. R=golang-dev, bradfitz, rsc CC=golang-dev https://golang.org/cl/7817048
-
Brad Fitzpatrick authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/7812050
-
Russ Cox authored
This keeps the logic about how to set the thread-local variables m and g in code compiled and linked by the gc toolchain, an important property for upcoming cgo changes. It's also just a nice cleanup: one less place to update when these details change. R=golang-dev, r CC=golang-dev https://golang.org/cl/7560048
-
Russ Cox authored
This functionality moved into cmd/dist for Go 1.0. Changes to this script have no effect. R=golang-dev, r CC=golang-dev https://golang.org/cl/8020043
-
Rémy Oudompheng authored
The right operand of a && and || is only executed conditionnally, so the instrumentation must be more careful. In particular it should not turn nodes assumed to be cheap after walk into expensive ones. Update #4228 R=dvyukov, golang-dev CC=golang-dev https://golang.org/cl/7986043
-
Carl Shapiro authored
The ARM implementation of runtime.cgocallback_gofunc diverged from the calling convention by leaving a word of garbage at the top of the stack and storing the return PC above the locals. This change stores the return PC at the top of the stack and removes the save area above the locals. Update #5124 This CL fixes first part of the ARM issues and added the unwind test. R=golang-dev, bradfitz, minux.ma, cshapiro, rsc CC=golang-dev https://golang.org/cl/7728045
-
Rémy Oudompheng authored
Fixes #5105. R=golang-dev, dave, daniel.morsing, rsc CC=golang-dev https://golang.org/cl/7965043
-
Russ Cox authored
The edit makes Hypot's description match the form used in the other routines in this package. R=golang-dev, iant CC=golang-dev https://golang.org/cl/8003046
-
Jan Ziak authored
Adds the new debugging constant 'checkgc'. If its value is non-zero all calls to mallocgc() from hashmap.c will start a garbage collection. Fixes #5074. R=golang-dev, khr CC=golang-dev, rsc https://golang.org/cl/7663051
-
Brad Fitzpatrick authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/7725048
-
Dmitriy Vyukov authored
Fixes performance of the current windows network poller with the new scheduler. Gives runtime a hint when GetQueuedCompletionStatus() will block. Fixes #5068. benchmark old ns/op new ns/op delta BenchmarkTCP4Persistent 4004000 33906 -99.15% BenchmarkTCP4Persistent-2 21790 17513 -19.63% BenchmarkTCP4Persistent-4 44760 34270 -23.44% BenchmarkTCP4Persistent-6 45280 43000 -5.04% R=golang-dev, alex.brainman, coocood, rsc CC=golang-dev https://golang.org/cl/7612045
-
Dominik Honnef authored
R=golang-dev, bradfitz CC=adonovan, cw, golang-dev, patrick.allen.higgins https://golang.org/cl/7956044
-
Oling Cat authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/8012043
-
Rémy Oudompheng authored
R=golang-dev, dave, minux.ma CC=golang-dev https://golang.org/cl/7876044
-
Rémy Oudompheng authored
Fixes #5121. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/7814046
-
Mikio Hara authored
Perhaps it would make FreeBSD 10-CURRENT/ARM on Raspberry Pi builders happy. R=golang-dev, dave CC=golang-dev https://golang.org/cl/8008043
-
Alex Brainman authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/7510048
-
- 24 Mar, 2013 4 commits
-
-
Shenghou Ma authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/7938046
-
Rémy Oudompheng authored
Detected by GCC static analysis. Fixes #5117. R=golang-dev, ality, minux.ma CC=golang-dev https://golang.org/cl/7665047
-
Shenghou Ma authored
in an effort to make builder freebsd-arm-pi and netbsd-arm-qemu pass again. R=golang-dev, r CC=golang-dev https://golang.org/cl/7621050
-
Rémy Oudompheng authored
R=golang-dev, minux.ma CC=golang-dev https://golang.org/cl/7985043
-
- 23 Mar, 2013 6 commits
-
-
Oling Cat authored
From VisualFC. Fixes #4862. R=golang-dev, minux.ma, r CC=golang-dev https://golang.org/cl/7568043
-
Rob Pike authored
An overview is all that's required. R=golang-dev, remyoudompheng, bradfitz, adg CC=golang-dev https://golang.org/cl/7577050
-
Mikio Hara authored
This CL updates CL 7511043; - adds new test cases for both UDPConn and UnixConn, - makes sure unnamed UnixAddr handling, - replaces t.Errorf with t.Fatalf in sockname related test cases. Fixes #3721 (again). Fixes #3838 (again). R=golang-dev, rsc CC=golang-dev https://golang.org/cl/7627048
-
Mikio Hara authored
This CL provides IPv6 scoped addressing zone support as defined in RFC 4007 for internet protocol family connection setups. Follwoing types and functions allow a literal IPv6 address with zone identifer as theirs parameter. pkg net, func Dial(string, string) (Conn, error) pkg net, func DialOpt(string, ...DialOption) (Conn, error) pkg net, func DialTimeout(string, string, time.Duration) (Conn, error) pkg net, func Listen(string, string) (Listener, error) pkg net, func ListenPacket(string, string) (PacketConn, error) pkg net, func ResolveIPAddr(string, string) (*IPAddr, error) pkg net, func ResolveTCPAddr(string, string) (*TCPAddr, error) pkg net, func ResolveUDPAddr(string, string) (*UDPAddr, error) pkg net, type IPAddr struct, Zone string pkg net, type TCPAddr struct, Zone string pkg net, type UDPAddr struct, Zone string Also follwoing methods return a literal IPv6 address with zone identifier string if possible. pkg net, method (*IPAddr) String() string pkg net, method (*TCPAddr) String() string pkg net, method (*UDPAddr) String() string Fixes #4234. Fixes #4501. Update #5081. R=rsc, iant CC=golang-dev https://golang.org/cl/6816116
-
Ian Lance Taylor authored
R=golang-dev, gri CC=golang-dev https://golang.org/cl/7577049
-
Ian Lance Taylor authored
I'm not sure how to write a test for this. The change in behaviour is that if you somehow get a SIGBUS signal for an address >= 0x1000, the program will now crash rather than calling panic. As far as I know, on x86 GNU/Linux, the only way to get a SIGBUS (rather than a SIGSEGV) is to set the stack pointer to an invalid value. R=golang-dev, r CC=golang-dev https://golang.org/cl/7906045
-
- 22 Mar, 2013 12 commits
-
-
Robert Griesemer authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/7834049
-
Rob Pike authored
R=golang-dev, gri CC=golang-dev https://golang.org/cl/7496051
-
Mikio Hara authored
Also simplifies ResolveUnixAddr. R=golang-dev, dave, rsc, bradfitz CC=golang-dev https://golang.org/cl/7510047
-
Robert Griesemer authored
Also: - more consistenly use "xxx" statement rather than <code>xxx</code> statement - fix/remove unnecessary links R=golang-dev, r CC=golang-dev https://golang.org/cl/7821050
-
Rob Pike authored
R=golang-dev, rsc, jeremyjackins, gri CC=golang-dev https://golang.org/cl/7838045
-
Russ Cox authored
R=ken2 CC=golang-dev https://golang.org/cl/7838048
-
Russ Cox authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/7493048
-
Russ Cox authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/7877045
-
Rob Pike authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/7834047
-
Shenghou Ma authored
R=dave, rsc CC=golang-dev https://golang.org/cl/7970043
-
Julien Schmidt authored
E.g conversions from numeric types to RawBytes are missing, what makes RawBytes unusable in some cases. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/7783046
-
Russ Cox authored
Fixes #5036. R=golang-dev, r CC=golang-dev https://golang.org/cl/7531045
-