Evan Shaw
69879f0414
runtime: Fix printing -Inf
...
R=rsc
CC=golang-dev
https://golang.org/cl/1258044
2010-06-01 14:08:15 -07:00
Vinu Rajashekhar
0d64fa19f8
Correct the regexp for finding unix signal names.
...
For example, earlier, the regexp would accept SIGQUEUE_MAX
as a unix signal with name SIGQUEUE. Now it is ignored.
R=iant
CC=golang-dev, golang-nuts, joel.sherrill
https://golang.org/cl/1452041
2010-06-01 12:02:00 -07:00
Nigel Tao
c3080418d6
Fix typo in gob docs. They were introduced in revision 3199778baf
...
"change the encoding of uints...".
R=r
CC=golang-dev
https://golang.org/cl/1436041
2010-05-31 17:35:59 -07:00
Fazlul Shahriar
eed5bb3bee
vector: undo changes to autogenerated files
...
Also, move Do() to vector.go, so that Do() for IntVector and StringVector
is autogenerated.
The only files edited are Makefile, defs.go, and vector.go. The rest are
autogenerated with "make generate".
R=r
CC=golang-dev, hoisie
https://golang.org/cl/1435041
2010-05-31 15:53:55 -07:00
Rob Pike
ce9da214b7
fmt: fix end-of-array error in parsenum.
...
Fixes #821 .
R=rsc
CC=golang-dev
https://golang.org/cl/1434041
2010-05-31 14:57:32 -07:00
Michael Hoisie
ebb1c8b912
IntVector.Do now takes an f(int), and StringVector.Do now takes an f(string).
...
R=r
CC=golang-dev
https://golang.org/cl/1433041
2010-05-31 14:55:30 -07:00
Rob Pike
8af4acf59d
fmt.Scan: refactor the implementation so format-driven and normal scanning use the same function.
...
simplifies the code significantly.
Still TODO:
- proper format handling
- strings
R=rsc
CC=golang-dev
https://golang.org/cl/1432041
2010-05-31 14:53:15 -07:00
Rob Pike
e6600ea17d
fmt.Scan:
...
- reimplement integer scanning to handle renamed basic integer types
- start implementation of Fscanf and Scanf; not yet ready for general use.
This intermediate CL is a useful checkpoint. A similar change needs to be
done for float and complex, but it seemed worth getting the approach
reviewed before making those changes.
R=rsc
CC=golang-dev
https://golang.org/cl/1418041
2010-05-31 10:56:58 -07:00
Alex Brainman
901976cfc3
implement os.FileInfo.*time_ns for windows
...
R=golang-dev, adg
CC=golang-dev
https://golang.org/cl/1145044
2010-05-31 13:43:40 +02:00
Ian Lance Taylor
1192c175fe
Correct _cgo_free when C ABI does not pass first arg on stack.
...
It turns out that _cgo_malloc is used, via cmalloc in
runtime/cgocall.c, which is called by code generated by out.go
for the ·_C_CString function. I can't find a call to
_cgo_free, but given _cgo_malloc we might as well keep
_cgo_free. This patch fixes it so that it should work on
amd64.
R=rsc
CC=golang-dev
https://golang.org/cl/1399041
2010-05-30 22:22:47 -07:00
Andrew Gerrand
a63f73c196
net: fix typo
...
Fixes #819 .
R=rsc
CC=golang-dev
https://golang.org/cl/1421041
2010-05-31 07:05:41 +02:00
Rob Pike
752b47cfc5
netchan: improve closing and shutdown. there's still more to do.
...
Fixes #805 .
R=rsc
CC=golang-dev
https://golang.org/cl/1400041
2010-05-28 22:32:29 -07:00
Nigel Tao
2bb59fd71a
Make image.Color.RGBA return 16 bit color instead of 32 bit color.
...
R=rsc
CC=golang-dev
https://golang.org/cl/1388041
2010-05-28 12:59:21 -07:00
Alex Brainman
d5a8647d80
syscall: windows SysAlloc should use stdcall_raw not syscall
...
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/1382041
2010-05-28 11:47:09 -07:00
Alex Brainman
12923e43f2
syscall: windows syscall trace to assist debugging
...
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/1383041
2010-05-28 11:46:10 -07:00
Rob Pike
0580deafaf
fmt.Scan: add Fscan and Fscanln and make Scan and Scanln
...
read from standard input. Add description of scanning to
the package comment.
R=rsc
CC=golang-dev
https://golang.org/cl/1390041
2010-05-28 11:29:27 -07:00
Roger Peppe
1fda1323d4
Add Rectangle.Eq and Point.In.
...
Fix Rectangle.Clip.
It could return a non-canonical rectangle if its arguments
did not overlap.
e.g. Rect(0, 0, 10, 10).Clip(Rect(0, 20, 10, 30)) -> Rect(0, 20, 10, 10)
R=rsc, r
CC=golang-dev, golang-dev
https://golang.org/cl/1290041
2010-05-27 17:19:47 -07:00
Russ Cox
bb84f4b5d2
changes &x -> x[0:] for array to slice conversion
...
R=gri
CC=golang-dev
https://golang.org/cl/1326042
2010-05-27 14:51:47 -07:00
Rob Pike
7ee6d44e4f
fmt.Scan: custom formatters
...
R=rsc
CC=golang-dev
https://golang.org/cl/1315042
2010-05-26 18:16:41 -07:00
Rob Pike
6965b407dd
fmt.Scan: custom formatters
...
R=rsc
CC=golang-dev
https://golang.org/cl/1315042
2010-05-26 18:15:09 -07:00
Robert Griesemer
a4129988a4
godoc: collect package comments from all package files, not just the first one found
...
R=r
CC=golang-dev
https://golang.org/cl/1331041
2010-05-26 13:44:27 -07:00
Adam Langley
f199f292e7
big: add ModInverse.
...
ModInverse is just a small wrapper around GcdInt, but it's nice to
have in order to be clear about what one is doing in other code.
R=gri, agl1
CC=golang-dev
https://golang.org/cl/1244045
2010-05-26 15:58:58 -04:00
Rob Pike
5b77928478
fmt: fix 386 build. error strings differ for overflow on 386.
...
R=gri
CC=golang-dev
https://golang.org/cl/1316042
2010-05-26 10:01:52 -07:00
Rob Pike
71f130f55c
fmt.Scan, fmt.Scanln: Start of a simple scanning API in the fmt package.
...
Still to do:
- composite types
- user-defined scanners
- format-driven scanning
The package comment will be updated when more of the functionality is in place.
R=rsc
CC=golang-dev
https://golang.org/cl/1252045
2010-05-25 21:02:35 -07:00
Nigel Tao
0c662f60a5
Optimize exp/draw/x11 flusher inner loop.
...
On my laptop, time to prepare and write 800x600 pixels over the
socket falls from 125-ish ms to 80-ish ms.
Thanks to Roger Peppe for the suggestion.
R=r
CC=golang-dev
https://golang.org/cl/1228044
2010-05-24 19:32:42 -07:00
Russ Cox
6a060200cc
8g: out of register bug
...
Fixes #806 .
R=ken2
CC=golang-dev
https://golang.org/cl/1281042
2010-05-24 17:22:51 -07:00
Russ Cox
ea941f09bf
gc: more accurate error description
...
R=ken2
CC=golang-dev
https://golang.org/cl/1284041
2010-05-24 17:07:51 -07:00
Russ Cox
566f598046
fix build - nacl stubs
...
TBR=nigeltao
CC=golang-dev
https://golang.org/cl/1259042
2010-05-24 17:00:21 -07:00
Russ Cox
8c2bc4419b
gc: fix shift/reduce conflict in go.y export syntax
...
Fixes #771 .
R=ken2
CC=golang-dev
https://golang.org/cl/1267042
2010-05-24 16:55:23 -07:00
Russ Cox
9fc9246bf3
gc: bug281 - bad overlap in stack copy
...
Fixes #807 .
R=ken2
CC=golang-dev
https://golang.org/cl/1283041
2010-05-24 16:54:24 -07:00
Christopher Wedgwood
5c19c4e5e3
net: udp, implement BindToDevice
...
R=rsc
CC=golang-dev, r
https://golang.org/cl/1271041
2010-05-24 16:53:23 -07:00
Evan Shaw
751fc425ee
big: Rat test improvements
...
R=gri
CC=golang-dev
https://golang.org/cl/1270041
2010-05-24 16:38:41 -07:00
Russ Cox
d14baee96e
6g: avoid unnecessary conversion in shift bounds check
...
R=ken2
CC=golang-dev
https://golang.org/cl/1278042
2010-05-24 15:30:53 -07:00
Russ Cox
2e9b67afa6
gc: bug277 - new conversion syntax
...
R=ken2
CC=golang-dev
https://golang.org/cl/1220046
2010-05-24 15:25:30 -07:00
Russ Cox
43c0a46ac6
gc: bug280
...
Fixes #808 .
R=ken2
CC=golang-dev
https://golang.org/cl/1273042
2010-05-24 15:25:09 -07:00
Nigel Tao
c95e11db56
Fix typo in exp/draw/x11.
...
R=rsc
CC=golang-dev
https://golang.org/cl/1282041
2010-05-24 15:07:47 -07:00
Russ Cox
21518ea2af
runtime: free old hashmap pieces during resizing
...
R=r
CC=golang-dev
https://golang.org/cl/1254044
2010-05-24 14:31:10 -07:00
Russ Cox
84edc2e980
libmach: skip __nl_symbol_ptr section on OS X
...
R=r
CC=golang-dev
https://golang.org/cl/1275042
2010-05-24 14:30:51 -07:00
Russ Cox
5e253645d2
gc: bug278
...
Fixes #804 .
R=ken2
CC=golang-dev
https://golang.org/cl/1224045
2010-05-24 14:22:54 -07:00
Russ Cox
80ac15ec12
gc: fix unsafe.Sizeof on ideal constants
...
R=ken2
CC=golang-dev
https://golang.org/cl/1280041
2010-05-24 14:18:15 -07:00
Alex Brainman
2a1ee42e2b
fix windows build
...
R=golang-dev, adg
CC=golang-dev
https://golang.org/cl/1209048
2010-05-24 11:48:14 -07:00
Nigel Tao
2d8aee45b8
Make draw/x11 treat $DISPLAY the same way x-go-bindings does.
...
This ought to make draw/x11 work on a Mac.
R=rsc
CC=golang-dev
https://golang.org/cl/1265042
2010-05-24 11:44:09 -07:00
Adam Langley
eadebba36f
big: prevent errors in Exp in the face of aliasing
...
R=gri
CC=golang-dev, golang-dev
https://golang.org/cl/1244044
2010-05-24 14:32:55 -04:00
Andrew Gerrand
977475fd49
syscall: update freebsd_amd64
...
R=rsc, r
CC=golang-dev
https://golang.org/cl/1268041
2010-05-24 09:58:59 -07:00
Nigel Tao
e974fb949e
When making images, allocate one big buffer instead of many small ones.
...
R=rsc, r
CC=golang-dev
https://golang.org/cl/1267041
2010-05-23 11:12:00 -07:00
Robert Griesemer
72fd5c80f8
go/printer, gofmt: fix printing of labels,
...
apply gofmt to src, misc
Fixes #752 .
R=rsc
CC=golang-dev
https://golang.org/cl/1240044
2010-05-21 20:25:08 -07:00
Robert Griesemer
38b2d10bb2
test/hilbert.go: convert to test case and benchmark for big.Rat
...
R=rsc
CC=golang-dev
https://golang.org/cl/1231044
2010-05-21 20:20:17 -07:00
Russ Cox
88b308a265
roll back 1193046 - fix build
...
R=dho
CC=golang-dev
https://golang.org/cl/1257043
2010-05-21 18:29:18 -07:00
Devon H. O'Dell
b94f341bac
cgo: better error for no C symbols
...
R=rsc, iant
CC=golang-dev, graeme.perrow
https://golang.org/cl/1193046
2010-05-21 17:31:18 -07:00
Christopher Wedgwood
13d5a19a98
net: implement raw sockets
...
R=rsc
CC=golang-dev
https://golang.org/cl/684041
2010-05-21 17:30:40 -07:00
Evan Shaw
5ac88f4a8b
big: Add Rat type
...
Implementations are pretty rough and simple at this point, but it's a start.
R=gri
CC=golang-dev
https://golang.org/cl/1250043
2010-05-21 16:14:55 -07:00
Russ Cox
f58ba18a08
runtime: correct tracebacks for nascent goroutines, even closures
...
Fixes #780 .
R=r
CC=golang-dev
https://golang.org/cl/1221042
2010-05-21 14:40:21 -07:00
Russ Cox
48673d2745
syscall: add Utimes, Futimes stubs for NaCl - fix build
...
TBR=nigeltao
CC=golang-dev
https://golang.org/cl/1262042
2010-05-21 14:39:10 -07:00
Russ Cox
1d076a6e61
syscall: regenerate zsyscall_linux_arm.go - fix build
...
R=kaib
CC=golang-dev
https://golang.org/cl/1209047
2010-05-21 14:33:17 -07:00
Robert Griesemer
e8dec0dc05
big: fix Int.SetString comment, simplify implementation,
...
always return z for nat.scan
R=rsc
CC=golang-dev
https://golang.org/cl/1236043
2010-05-21 14:28:34 -07:00
Robert Griesemer
638ef0794f
bignum: deprecate by moving into exp directory
...
R=rsc
CC=golang-dev
https://golang.org/cl/1211047
2010-05-21 14:14:22 -07:00
Robert Griesemer
e3bfeec474
big: implemented Int.Binomial (to be used in test/hilbert.go with the
...
forthcoming implementation of big.Rat)
R=rsc
CC=golang-dev
https://golang.org/cl/1229047
2010-05-20 23:10:51 -07:00
Russ Cox
709c5b2481
gc: handle use of builtin function outside function call
...
tweaks & tests of last bug fix too.
R=ken2
CC=golang-dev
https://golang.org/cl/1207044
2010-05-20 22:57:08 -07:00
Russ Cox
b03d7f4d8f
gc: line number bug fix
...
R=ken2
CC=golang-dev
https://golang.org/cl/1243044
2010-05-20 22:19:50 -07:00
Ken Thompson
09b2de77b5
fix bug 275
...
R=rsc
CC=golang-dev
https://golang.org/cl/1198046
2010-05-20 20:56:28 -07:00
Russ Cox
9e497c3656
gc: disallow · in Go programs
...
Fixes #793 .
R=ken2
CC=golang-dev
https://golang.org/cl/1249043
2010-05-20 17:34:22 -07:00
Ken Thompson
b0283611e4
fix issue 798
...
cannot allocate an audomatic temp
while real registers are allocated.
there is a chance that the automatic
will be allocated to one of the
allocated registers. the fix is to
not registerize such variables.
R=rsc
CC=golang-dev
https://golang.org/cl/1202042
2010-05-20 17:31:28 -07:00
Michael Hoisie
9192ec2ea1
netFD: fix race between Close and Read/Write
...
Fixes #783 .
R=rsc, cw
CC=golang-dev
https://golang.org/cl/1207043
2010-05-20 17:13:50 -07:00
Roger Peppe
798140693e
Fix Rectangle.Canon()
...
R=rsc, r, gri
CC=golang-dev
https://golang.org/cl/1239043
2010-05-20 14:33:50 -07:00
Nigel Tao
efda3aba10
Fast-ish path for drawing onto an image.RGBA destination.
...
Time to draw.Draw a 200x200 image fell from 18.4ms (and 1 malloc) to
5.6ms (and 0 mallocs). It's still relatively slow since it assumes
nothing about the src or mask images, but it does remove the malloc.
There are existing faster, more specialized paths for copies, fills
and image glyph masks.
Also added a "compare to a slow but obviously correct implementation"
check to draw_test.go.
R=rsc, r
CC=golang-dev
https://golang.org/cl/1223044
2010-05-20 13:57:18 -07:00
Christopher Wedgwood
37a6adf1d3
syscall: linux, implement BindToDevice
...
R=rsc
CC=adg, golang-dev, r
https://golang.org/cl/1253043
2010-05-20 09:43:13 -07:00
Christopher Wedgwood
5265857ac4
syscall: bsd, stub BindToDevice
...
R=rsc
CC=adg, golang-dev, r
https://golang.org/cl/1257041
2010-05-20 09:39:35 -07:00
Russ Cox
4843b130bb
runtime: avoid allocation for fixed strings
...
R=r
CC=golang-dev
https://golang.org/cl/1083041
2010-05-19 21:33:31 -07:00
Brad Fitzpatrick
1afa2a1b2d
os: add Chtimes function
...
R=rsc, r
CC=golang-dev
https://golang.org/cl/1103041
2010-05-19 17:48:53 -07:00
Russ Cox
cbc01a3e76
syscall: add Utimes on Darwin/FreeBSD, add Futimes everywhere
...
Needed for CL 1103041 and beyond.
R=adg, bradfitzpatrick
CC=bradfitz, golang-dev
https://golang.org/cl/1172042
2010-05-19 17:47:57 -07:00
Russ Cox
b198c8612e
runtime: allow large map values
...
Fixes #772 .
R=ken2
CC=golang-dev
https://golang.org/cl/1206043
2010-05-19 12:57:47 -07:00
Robert Griesemer
a688eb6ee4
big: potential bug fix, cleanups
...
- implemented setWord, use it where setUint64 is wrong
- divLarge: use fast mulWW, divWW; implemented mulWW, divWW
- better assembly code for addMulVVW
R=rsc
CC=golang-dev
https://golang.org/cl/1258042
2010-05-19 09:36:50 -07:00
Russ Cox
b629687f79
fix build - no netchan tests under NaCl
...
TBR=r
CC=golang-dev
https://golang.org/cl/1230042
2010-05-18 23:25:07 -07:00
Michael Hoisie
4a3cb1ad2f
bytes: add Trim, TrimLeft, TrimRight, and generic functions
...
R=rsc, r
CC=golang-dev
https://golang.org/cl/946045
2010-05-18 23:01:05 -07:00
Evan Shaw
d2aa74118c
gc: Better error when computing remainder of non-int
...
Previously the compiler would just emit "internal compiler error" when
trying to compute the remainder of floats or complex types.
R=rsc
CC=golang-dev
https://golang.org/cl/1243041
2010-05-18 22:41:12 -07:00
Charles L. Dorian
809479740f
math: amd64 versions of fdim, fmax, fmin
...
Uses the SSE2 max, min instructions. Also shorter sqrt_amd64.s
R=rsc
CC=golang-dev
https://golang.org/cl/1216042
2010-05-18 22:33:50 -07:00
Charles L. Dorian
879241d819
math: signed zero Sqrt special case
...
IEEE 754 says: sqrt(-0) = -0
R=rsc
CC=golang-dev
https://golang.org/cl/1098041
2010-05-18 22:16:01 -07:00
Robert Griesemer
90d0c3316c
big: bug fix for division
...
Fixes #784 .
R=rsc
CC=golang-dev
https://golang.org/cl/1196043
2010-05-18 16:31:49 -07:00
Kyle Consalus
2db47c9083
Trivial optimization.
...
Cached string indexing in inner loop of Btoui64.
Before:
strconv_test.BenchmarkAtoi 5000000 309 ns/op
strconv_test.BenchmarkAtoiNeg 5000000 325 ns/op
strconv_test.BenchmarkAtoi64 5000000 465 ns/op
strconv_test.BenchmarkAtoi64Neg 5000000 469 ns/op
After:
strconv_test.BenchmarkAtoi 10000000 182 ns/op
strconv_test.BenchmarkAtoiNeg 10000000 193 ns/op
strconv_test.BenchmarkAtoi64 10000000 251 ns/op
strconv_test.BenchmarkAtoi64Neg 10000000 258 ns/op
R=golang-dev, gri
CC=golang-dev
https://golang.org/cl/1227042
2010-05-18 16:29:24 -07:00
Roger Peppe
bcdcf395e5
Add Error member to yyLexer type (yyError
...
has no access to yylex)
R=ken2, ken3
CC=golang-dev
https://golang.org/cl/813047
2010-05-17 12:23:48 -07:00
Robert Griesemer
dbb6232724
big: implemented format support for fmt library, MulRange
...
- support for binary prefix 0b (to match fmt.Format)
- renamed nat.new -> nat.setUint64 for consistency
- more tests
R=r
CC=golang-dev
https://golang.org/cl/1233041
2010-05-15 10:23:41 -07:00
Christopher Wedgwood
cffdb1e830
build; allow MAKEFLAGS to be set outside the build scripts
...
R=rsc, r
CC=golang-dev
https://golang.org/cl/1231041
2010-05-15 10:08:29 -07:00
Charles L. Dorian
1d4e2d1adc
cmath: add package description
...
Also update range of Phase and Polar due to signed zero.
[Phase(cmplx(-1, +0)) = pi and Phase(cmplx(-1, -0)) = -pi]
R=rsc, r
CC=golang-dev
https://golang.org/cl/1235041
2010-05-15 10:06:54 -07:00
Robert Griesemer
31f79690f7
gofmt: exclude test w/ illegal syntax from test cases
...
R=adg
CC=golang-dev
https://golang.org/cl/1228041
2010-05-14 15:45:53 -07:00
Robert Griesemer
650cc32739
go/printer (gofmt): don't lose mandatory semicolons
...
Fixes #779 .
R=r
CC=golang-dev
https://golang.org/cl/1218042
2010-05-14 15:38:25 -07:00
Roger Peppe
14e04f4d40
Prevent Printf crashing when giving an extra nil argument.
...
R=rsc, r
CC=golang-dev
https://golang.org/cl/1195041
2010-05-13 12:49:48 -07:00
Robert Griesemer
d6acc0646b
http: prevent crash if remote server is not responding with "HTTP/"
...
Fixes #775 .
R=rsc
CC=golang-dev
https://golang.org/cl/1180042
2010-05-11 16:50:20 -07:00
Russ Cox
75dbbd2137
netchan: be less chatty during gotest
...
R=r
CC=golang-dev
https://golang.org/cl/1186041
2010-05-11 14:57:08 -07:00
Russ Cox
4e5bc6a8fe
json: fix array -> non-array decoding
...
Fixes #773 .
R=adg
CC=golang-dev
https://golang.org/cl/1120042
2010-05-11 14:38:55 -07:00
Nigel Tao
916426ea76
drawGlyphOver optimization.
...
Timings (as for change 1122043) go from 49ms to 48ms ish. It's
mostly lost in the noise, but it probably doesn't hurt.
R=r
CC=golang-dev
https://golang.org/cl/1179041
2010-05-11 13:35:16 +10:00
Nigel Tao
d7a6d22852
exp/draw fast path for glyph images.
...
To draw.Draw a 32x32 image.Alpha 10000 times,
Before: 633ms with 10000 mallocs
After: 49ms with 0 mallocs
These times are just blitting an image.Alpha, and do not include
rasterizing a glyph's vector contours to an image.Alpha.
The "generic" test case in draw_test.go tests this fast path.
R=rsc
CC=golang-dev
https://golang.org/cl/1122043
2010-05-10 10:32:08 +10:00
Rob Pike
b717768b94
template: regularize the handling of interfaces, pointers, and
...
methods when looking up names.
Fixes #764 .
R=rsc
CC=golang-dev
https://golang.org/cl/1170041
2010-05-09 16:40:38 -07:00
Michael Hoisie
834abb8068
json: accept escaped slash in string scanner
...
R=rsc
CC=golang-dev
https://golang.org/cl/1173041
2010-05-08 17:34:05 -07:00
Robert Griesemer
52cc058172
big: cleanups and performance tuning
...
- removed last argument (n) from all core arithmetic routines;
instead, use the length of the result
- simplified nat.make implementation and chose a better capacity
for new values, removed a TODO in the process
Changing the constant e from 1 (old) to 4 (new) improved
pidigits -s -n 10000 by ~9% (on a 3.06GHz Intel Core 2 Duo):
user 0m3.882s (old)
user 0m3.549s (new)
R=rsc
CC=golang-dev
https://golang.org/cl/1133043
2010-05-08 13:52:36 -07:00
Robert Griesemer
61eb0e71f2
big: more cleanup
...
- pass []Word instead of *Word to core arithmetic functions
- remove dead code
R=rsc
CC=golang-dev
https://golang.org/cl/1154042
2010-05-07 18:26:31 -07:00
Rob Pike
f023e859cf
compress: renamings.
...
NewDeflater -> NewWriter
NewInflater -> NewReader
Deflater -> Compressor
Inflater -> Decompressor
R=rsc
CC=golang-dev
https://golang.org/cl/1166041
2010-05-07 14:32:34 -07:00
Rob Pike
b541921b66
gob: bug fix: errors encoding the payload were not
...
returned to caller.
R=rsc
CC=golang-dev
https://golang.org/cl/1164041
2010-05-07 13:30:13 -07:00
Rob Pike
56c5710b38
gob: add an internal commentary example showing how the
...
values are encoded for transmission.
R=rsc
CC=golang-dev
https://golang.org/cl/1146041
2010-05-07 11:44:41 -07:00
Ian Lance Taylor
e1b47159ab
Save the scheduling state even predawn.
...
This permits cgo callbacks to work when run in init code.
Otherwise cgocallback switches to the wrong stack address.
R=rsc
CC=golang-dev
https://golang.org/cl/1123043
2010-05-06 22:07:03 -07:00
Robert Griesemer
6d7583d5fd
fix build (typo in arith_386.s)
...
R=rsc
CC=golang-dev
https://golang.org/cl/1139042
2010-05-06 19:16:26 -07:00