FAQ
Change 8df0b8f89db3 broke the linux-arm-panda build:
http://build.golang.org/log/5e2e6d95e5a2860f7da7f1e79d64045aa1e2851f

spec: clarify section on string types

Strings happen to be represented similarly to
byte slices internally, but they don't quite
behave like them: While strings can be indexed,
sliced, and have their len() taken like byte
slices, string elements are not addressable,
make() and cap() is not supported, range loops
operate differently, and they are immutable (and
thus behave like values rather then references).

Fixes issue 4018.

R=r, rsc, iant, ken
CC=golang-dev
http://codereview.appspot.com/650

http://code.google.com/p/go/source/detail?r=8df0b8f89db3

$ tail -200 < log
encoding/hex
exp/ebnf
exp/types
exp/ebnflint
exp/gotype
exp/html/atom
exp/html
exp/inotify
exp/norm
hash/fnv
exp/types/staging
exp/locale/collate
exp/utf8string
hash/crc64
image/color
image
image/draw
image/gif
image/jpeg
exp/locale/collate/build
image/png
log/syslog
math/cmplx
net/http/cgi
net/http/httptest
net/http/httputil
net/http/fcgi
net/mail
net/rpc
net/smtp
old/netchan
net/rpc/jsonrpc
os/signal
os/user
testing
testing/iotest
testing/quick

# Testing packages.
ok cmd/api 0.112s
? cmd/cgo [no test files]
ok cmd/fix 8.999s
ok cmd/go 0.112s
? cmd/godoc [no test files]
ok cmd/gofmt 0.289s
? cmd/vet [no test files]
? cmd/yacc [no test files]
ok archive/tar 0.062s
ok archive/zip 0.432s
ok bufio 1.542s
ok bytes 0.822s
ok compress/bzip2 0.539s
ok compress/flate 5.032s
ok compress/gzip 0.166s
ok compress/lzw 0.759s
ok compress/zlib 8.954s
ok container/heap 0.059s
ok container/list 0.052s
ok container/ring 0.125s
? crypto [no test files]
ok crypto/aes 0.155s
ok crypto/cipher 0.077s
ok crypto/des 0.275s
ok crypto/dsa 0.170s
ok crypto/ecdsa 0.255s
ok crypto/elliptic 0.133s
ok crypto/hmac 0.063s
ok crypto/md5 0.076s
ok crypto/rand 0.258s
ok crypto/rc4 0.052s
ok crypto/rsa 2.457s
ok crypto/sha1 0.073s
ok crypto/sha256 0.078s
ok crypto/sha512 0.090s
ok crypto/subtle 0.096s
ok crypto/tls 2.704s
ok crypto/x509 11.819s
? crypto/x509/pkix [no test files]
ok database/sql 0.126s
ok database/sql/driver 0.051s
ok debug/dwarf 0.121s
ok debug/elf 0.125s
ok debug/gosym 0.059s
ok debug/macho 0.068s
ok debug/pe 0.061s
ok encoding/ascii85 0.074s
ok encoding/asn1 0.068s
ok encoding/base32 0.077s
ok encoding/base64 0.075s
ok encoding/binary 0.077s
ok encoding/csv 0.078s
ok encoding/gob 0.297s
ok encoding/hex 0.065s
ok encoding/json 0.405s
ok encoding/pem 0.082s
ok encoding/xml 0.157s
ok errors 0.072s
ok exp/ebnf 0.055s
ok exp/ebnflint 0.115s
ok exp/gotype 3.973s
ok exp/html 1.903s
ok exp/html/atom 0.055s
ok exp/inotify 1.474s
ok exp/locale/collate 0.274s
ok exp/locale/collate/build 0.098s
ok exp/norm 10.341s
ok exp/types 2.869s
? exp/types/staging [no test files]
ok exp/utf8string 0.055s
ok expvar 0.090s
ok flag 0.078s
ok fmt 0.312s
ok go/ast 0.094s
ok go/build 1.333s
ok go/doc 0.490s
ok go/parser 0.325s
ok go/printer 3.364s
ok go/scanner 0.081s
ok go/token 0.386s
? hash [no test files]
ok hash/adler32 0.335s
ok hash/crc32 0.060s
ok hash/crc64 0.059s
ok hash/fnv 0.052s
ok html 0.060s
ok html/template 0.389s
ok image 0.808s
ok image/color 0.086s
ok image/draw 0.289s
? image/gif [no test files]
ok image/jpeg 0.518s
ok image/png 0.414s
ok index/suffixarray 0.147s
ok io 0.099s
ok io/ioutil 0.113s
ok log 0.079s
ok log/syslog 0.468s
ok math 0.067s
ok math/big 4.715s
ok math/cmplx 0.055s
ok math/rand 0.308s
ok mime 0.060s
ok mime/multipart 0.815s
ok net 1.784s
ok net/http 12.530s
ok net/http/cgi 1.284s
ok net/http/fcgi 0.108s
ok net/http/httptest 0.491s
ok net/http/httputil 0.157s
? net/http/pprof [no test files]
ok net/mail 0.084s
ok net/rpc 0.409s
ok net/rpc/jsonrpc 0.126s
ok net/smtp 0.079s
ok net/textproto 0.081s
ok net/url 0.082s
ok old/netchan 0.192s
ok os 0.182s
ok os/exec 2.877s
ok os/signal 0.058s
ok os/user 0.465s
ok path 0.094s
ok path/filepath 1.382s
ok reflect 0.090s
ok regexp 1.006s
ok regexp/syntax 11.959s
ok runtime 7.566s
? runtime/cgo [no test files]
ok runtime/debug 0.058s
ok runtime/pprof 1.852s
ok sort 0.550s
ok strconv 6.773s
ok strings 0.119s
ok sync 0.303s
ok sync/atomic 0.850s
ok syscall 0.130s
? testing [no test files]
? testing/iotest [no test files]
ok testing/quick 0.271s
ok text/scanner 0.094s
ok text/tabwriter 0.586s
ok text/template 0.185s
ok text/template/parse 0.093s
ok time 6.598s
ok unicode 0.060s
ok unicode/utf16 0.053s
ok unicode/utf8 0.108s
? unsafe [no test files]

real 5m47.010s
user 9m11.602s
sys 1m38.609s

# GOMAXPROCS=2 runtime -cpu=1,2,4
--- FAIL: TestGcSys-2 (0.55 seconds)
gc_test.go:36: used 17694720 extra bytes
gc_test.go:38: using too much memory: 17694720 bytes
FAIL
FAIL runtime 22.712s

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupgolang-dev @
categoriesgo
postedSep 14, '12 at 6:51p
activeSep 14, '12 at 6:51p
posts1
users1
websitegolang.org

1 user in discussion

Builder: 1 post

People

Translate

site design / logo © 2021 Grokbase