summaryrefslogtreecommitdiff
path: root/src/pkg/net/dialgoogle_test.go
AgeCommit message (Collapse)AuthorFilesLines
2014-06-19Imported Upstream version 1.3upstream/1.3Michael Stapelberg1-25/+1
2013-12-03Imported Upstream version 1.2upstream/1.2Michael Stapelberg1-0/+77
2013-03-04Imported Upstream version 1.1~hg20130304upstream/1.1_hg20130304Michael Stapelberg1-17/+7
2012-04-06Imported Upstream version 1upstream/1Ondřej Surý1-12/+9
2011-09-13Imported Upstream version 60upstream/60Ondřej Surý1-0/+169
2011-09-13Imported Upstream version 60Ondřej Surý1-169/+0
2011-06-30Imported Upstream version 58upstream/58Ondřej Surý1-31/+71
2011-04-28Imported Upstream version 2011.04.27upstream/2011.04.27Ondřej Surý1-7/+22
2011-04-26Imported Upstream version 2011.04.13upstream/2011.04.13Ondřej Surý1-3/+10
2011-02-14Imported Upstream version 2011-02-01.1upstream/2011-02-01.1Ondřej Surý1-9/+29
2011-01-17Imported Upstream version 2011.01.12upstream/2011.01.12Ondřej Surý1-1/+1
2010-02-25strings: delete Runes, BytesRuss Cox1-2/+1
gofmt -w -r 'strings.Bytes(a) -> []byte(a)' src/cmd src/pkg test/bench gofmt -w -r 'strings.Runes(a) -> []int(a)' src/cmd src/pkg test/bench delete unused imports R=r CC=golang-dev http://codereview.appspot.com/224062
2009-12-151) Change default gofmt default settings forRobert Griesemer1-26/+26
parsing and printing to new syntax. Use -oldparser to parse the old syntax, use -oldprinter to print the old syntax. 2) Change default gofmt formatting settings to use tabs for indentation only and to use spaces for alignment. This will make the code alignment insensitive to an editor's tabwidth. Use -spaces=false to use tabs for alignment. 3) Manually changed src/exp/parser/parser_test.go so that it doesn't try to parse the parser's source files using the old syntax (they have new syntax now). 4) gofmt -w src misc test/bench 3rd set of files. R=rsc CC=golang-dev http://codereview.appspot.com/180048
2009-12-09minor manual format correctionsRobert Griesemer1-2/+1
R=rsc http://codereview.appspot.com/172042
2009-11-10net: disable ipv6 test if we know kernel won't take it.Russ Cox1-1/+5
R=agl, agl1 CC=golang-dev http://codereview.appspot.com/153048
2009-11-09remove semis after statements in one-statement statement listsRobert Griesemer1-2/+2
R=rsc, r http://go/go-review/1025029
2009-11-04gofmt-ify netRobert Griesemer1-7/+8
R=rsc http://go/go-review/1017045
2009-11-02package net cleanupRuss Cox1-14/+0
added ReadFrom/WriteTo for packet protocols like UDP. simplified the net.Conn interface. added new net.PacketConn interface for packet protocols. implemented proper UDP listener. cleaned up LocalAddr/RemoteAddr methods - cache in netFD. threw away various unused methods. an interface change: introduced net.Addr as a network address interface, to avoid conversion of UDP host:port to string and back for every ReadFrom/WriteTo sequence. another interface change: since signature of Listener.Accept was changing anyway, dropped the middle return value, because it is available as c.RemoteAddr(). (the Accept signature predates the existence of that method.) Dial and Listen still accept strings, but the proto-specific versions DialTCP, ListenUDP, etc. take net.Addr instead. because the generic Dial didn't change and because no one calls Accept directly (only indirectly via the http server), very little code will be affected by these interface changes. design comments welcome. R=p CC=go-dev, r http://go/go-review/1018017
2009-09-17unused importsRuss Cox1-1/+0
R=r OCL=34731 CL=34731
2009-08-12convert non-low-level non-google pkg codeRuss Cox1-6/+5
to whole-package compilation. R=r OCL=33070 CL=33101
2009-06-29io.StringBytes -> strings.BytesRuss Cox1-1/+2
io.ByteBuffer -> bytes.Buffer left io.ByteBuffer stub around for now, for protocol compiler. R=r OCL=30861 CL=30872
2009-06-25Change os.Error convention:Russ Cox1-1/+0
echo back context of call in error if likely to be useful. For example, if os.Open("/etc/passwd", os.O_RDONLY) fails with syscall.EPERM, it returns as the os.Error &PathError{ Op: "open", Path: "/etc/passwd" Error: os.EPERM } which formats as open /etc/passwd: permission denied Not converted: datafmt go/... google/... regexp tabwriter template R=r DELTA=1153 (561 added, 156 deleted, 436 changed) OCL=30738 CL=30781
2009-06-22introduce os.EOF and io.ErrUnexpectedEOF.Russ Cox1-1/+1
remove io.ErrEOF. rename io.FullRead to io.ReadFull, to match ReadAtLeast and ReadAll. remove io.FullReader, because it is now unused. R=r DELTA=295 (88 added, 105 deleted, 102 changed) OCL=30544 CL=30588
2009-06-09mv src/lib to src/pkgRob Pike1-0/+100
tests: all.bash passes, gobuild still works, godoc still works. R=rsc OCL=30096 CL=30102