summaryrefslogtreecommitdiff
path: root/src/lib/net/timeout_test.go
AgeCommit message (Collapse)AuthorFilesLines
2009-06-09mv src/lib to src/pkgRob Pike1-42/+0
tests: all.bash passes, gobuild still works, godoc still works. R=rsc OCL=30096 CL=30102
2009-06-01update Go tree to use new syscall package.Russ Cox1-1/+1
R=r DELTA=713 (109 added, 386 deleted, 218 changed) OCL=29707 CL=29722
2009-04-16Convert go tree to hierarchical pkg directory:Russ Cox1-1/+1
import ( "vector" -> "container/vector" "ast" -> "go/ast" "sha1" -> "hash/sha1" etc. ) and update Makefiles. Because I did the conversion semi-automatically, I sorted all the import blocks as a post-processing. Some files have therefore changed that didn't strictly need to. Rename local packages to lower case. The upper/lower distinction doesn't work on OS X and complicates the "single-package directories with the same package name as directory name" heuristic used by gobuild and godoc to create the correlation between source and binary locations. Now that we have a plan to avoid globally unique names, the upper/lower is unnecessary. The renamings will cause trouble for a few users, but so will the change in import paths. This way, the two maintenance fixes are rolled into one inconvenience. R=r OCL=27573 CL=27575
2009-04-15code changes for array conversion.Russ Cox1-1/+1
as a reminder, the old conversion was that you could write var arr [10]byte; var slice []byte; slice = arr; but now you have to write slice = &arr; the change eliminates an implicit &, so that the only implicit &s left are in the . operator and in string(arr). also, removed utf8.EncodeRuneToString in favor of string(rune). R=r DELTA=83 (1 added, 23 deleted, 59 changed) OCL=27531 CL=27534
2009-03-06document Conn interface better, in preparationRuss Cox1-0/+42
for per-method interface documentation by mkdoc.pl. implement timeouts on network reads and use them in dns client. also added locks on i/o to ensure writes are not interlaced. R=r DELTA=340 (272 added, 25 deleted, 43 changed) OCL=25799 CL=25874