- 29 Mar, 2011 10 commits
-
-
Evan Shaw authored
R=gri, rsc CC=golang-dev https://golang.org/cl/4300044
-
Evan Shaw authored
R=rsc CC=golang-dev https://golang.org/cl/4325041
-
Alexey Borzenkov authored
Refactored bind/connect from sock.go into netFD.connect(), as a consequence newFD() doesn't accept laddr/raddr anymore, and expects an (optional) call to netFD.connect() followed by a call to netFD.setAddr(). Windows code is updated, but still uses blocking connect, since otherwise it needs support for ConnectEx syscall. R=brainman, rsc CC=golang-dev https://golang.org/cl/4303060
-
Russ Cox authored
TBR=adg CC=golang-dev https://golang.org/cl/4322041
-
Russ Cox authored
R=adg CC=golang-dev https://golang.org/cl/4278053
-
Russ Cox authored
Converted with gofix. R=adg CC=golang-dev https://golang.org/cl/4284049
-
Russ Cox authored
Drop laddr argument from Dial. Drop cname return from LookupHost. Add LookupIP, LookupCNAME, ParseCIDR, IP.Equal. Export SplitHostPort, JoinHostPort. Add AAAA (IPv6) support to host lookups. Preparations for implementing some of the lookups using cgo. ParseCIDR and IP.Equal are logically new in this CL but accidentally snuck into an earlier CL about unused labels that was in the same client. In crypto/tls, drop laddr from Dial to match net. R=golang-dev, dsymonds, adg, rh CC=golang-dev https://golang.org/cl/4244055
-
Andrew Gerrand authored
R=rsc CC=golang-dev https://golang.org/cl/4321041
-
Andrew Gerrand authored
R=r, rsc CC=golang-dev https://golang.org/cl/4272072
-
Robert Griesemer authored
No impact on existing sources. Fixes #1632. R=rsc CC=golang-dev https://golang.org/cl/4271083
-
- 28 Mar, 2011 11 commits
-
-
Robert Griesemer authored
Removed many string conversions in dependent code. Runs all tests. No change to gofmt output. R=r CC=golang-dev https://golang.org/cl/4291070
-
Robert Griesemer authored
R=r, r2 CC=golang-dev https://golang.org/cl/4289079
-
Ian Lance Taylor authored
R=gri CC=golang-dev https://golang.org/cl/4314047
-
Robert Griesemer authored
R=rsc CC=golang-dev https://golang.org/cl/4284070
-
Ian Lance Taylor authored
With gccgo some operating systems require using select rather than epoll or kevent. Using select means that we have to wake up the polling thread each time we add a new file descriptor. This implements that in the generic code rather than adding another wakeup channel, even though nothing in the current net package uses the capability. R=rsc, iant2 CC=golang-dev https://golang.org/cl/4284069
-
Robert Griesemer authored
NewPackage creates an ast.Package node from a set of package files and resolves unresolved identifiers. Also: - Changed semantics of Scope.Insert: If an object is inserted w/o errors, the result is nil (before it was obj). - Fixed an identifier resolution bug in the parser: map keys must not be resolved. gotype runs through several go/* packages and successfully resolves all (non-field/method) identifiers. R=rog, rsc CC=golang-dev https://golang.org/cl/4298044
-
Brad Fitzpatrick authored
This speeds up strings.ToLower, etc. before/after: strings_test.BenchmarkMapNoChanges 1000000 1013 ns/op strings_test.BenchmarkMapNoChanges 5000000 442 ns/op R=r, rog, eh, rsc CC=golang-dev https://golang.org/cl/4306056
-
Luuk van Dijk authored
in gdb, 'info goroutines' and 'goroutine <n> <cmd> were crashing because the 'g' and 'm' structures had changed a bit. R=rsc CC=golang-dev https://golang.org/cl/4289077
-
Russ Cox authored
R=r CC=golang-dev https://golang.org/cl/4313051
-
Ian Lance Taylor authored
bug323.go:18:3: error: reference to undefined field or method ‘Meth’ bug323.go:19:3: error: reference to undefined field or method ‘Meth2’ R=golang-dev, rsc1 CC=golang-dev https://golang.org/cl/4280072
-
Russ Cox authored
R=adg CC=golang-dev https://golang.org/cl/4289076
-
- 27 Mar, 2011 3 commits
-
-
Alexey Borzenkov authored
On darwin amd64 it was impossible to create more that ~132 threads. While investigating I noticed that go consumes almost 1TB of virtual memory per OS thread and the reason for such a small limit of OS thread was because process was running out of virtual memory. While looking at bsdthread_create I noticed that on amd64 it wasn't using PTHREAD_START_CUSTOM. If you look at http://fxr.watson.org/fxr/source/bsd/kern/pthread_synch.c?v=xnu-1228 you will see that in that case darwin will use stack pointer as stack size, allocating huge amounts of memory for stack. This change fixes the issue and allows for creation of up to 2560 OS threads (which appears to be some Mac OS X limit) with relatively small virtual memory consumption. R=rsc CC=golang-dev https://golang.org/cl/4289075
-
Russ Cox authored
R=golang-dev, gri CC=golang-dev https://golang.org/cl/4316042
-
Ian Lance Taylor authored
bug325.go:13:10: error: invalid indirect of ‘unsafe.Pointer’ bug325.go:14:31: error: reference to field ‘foo’ in object which has no fields or methods R=golang-dev, r CC=golang-dev https://golang.org/cl/4313050
-
- 26 Mar, 2011 6 commits
-
-
Rob Pike authored
R=rsc CC=golang-dev https://golang.org/cl/4314044
-
Ian Lance Taylor authored
init.go:16:10: error: invalid reference to unexported identifier ‘runtime.init’ init.go:15:2: error: reference to undefined name ‘init’ init.go:17:10: error: reference to undefined name ‘init’ R=golang-dev, rsc1 CC=golang-dev https://golang.org/cl/4289074
-
Robert Hencke authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/4279074
-
Ian Lance Taylor authored
It's been six months. R=rsc CC=golang-dev https://golang.org/cl/4289073
-
Andrew Gerrand authored
R=rsc CC=golang-dev https://golang.org/cl/4275076
-
Ian Lance Taylor authored
cmp6.go:28:9: error: incompatible types in binary expression cmp6.go:29:9: error: incompatible types in binary expression cmp6.go:40:9: error: incompatible types in binary expression cmp6.go:41:9: error: incompatible types in binary expression cmp6.go:48:9: error: expected integer, floating, complex, string, pointer, boolean, interface, slice, map, channel, or function type R=rsc, r2 CC=golang-dev https://golang.org/cl/4281071
-
- 25 Mar, 2011 10 commits
-
-
Rob Pike authored
These are the top runners. More to come. Also print two digits of timing info under -test.v. R=rsc CC=golang-dev https://golang.org/cl/4317044
-
Ian Lance Taylor authored
bug081.go:9:9: error: expected type R=rsc CC=golang-dev https://golang.org/cl/4280071
-
Dave Cheney authored
R=adg, rsc, ality CC=golang-dev https://golang.org/cl/4281069
-
Rob Pike authored
New make target "testshort" runs "gotest -test.short" and is invoked by run.bash, which is invoked by all.bash. Use -test.short to make one package (crypto ecdsa) run much faster. More changes to come. Once this is in, I will update the long-running tests to use the new flag. R=rsc CC=golang-dev https://golang.org/cl/4317043
-
Ian Lance Taylor authored
bug016.go:11:8: error: negative shift count R=rsc, gri CC=golang-dev https://golang.org/cl/4312055
-
Peter Mundy authored
R=rsc CC=golang-dev https://golang.org/cl/4314042
-
Albert Strasheim authored
R=rsc CC=golang-dev https://golang.org/cl/4298060
-
Albert Strasheim authored
R=iant, rsc, brainman CC=golang-dev https://golang.org/cl/4306042
-
Rob Pike authored
R=rsc CC=golang-dev https://golang.org/cl/4312054
-
Ian Lance Taylor authored
bug274.go:23:3: error: missing statement after label bug274.go:25:3: error: missing statement after label bug274.go:28:3: error: label ‘L2’ defined and not used R=rsc CC=golang-dev https://golang.org/cl/4273114
-