Age | Commit message (Collapse) | Author | Files | Lines |
|
R=ken2
CC=golang-dev
http://codereview.appspot.com/207106
|
|
Try to avoid infinite recursion if String fails due to
printing a bad type.
Add test for String method with named basic types.
R=r
CC=golang-dev
http://codereview.appspot.com/207102
|
|
R=adg
CC=golang-dev
http://codereview.appspot.com/207088
|
|
Fixes issue 580.
R=adg
CC=golang-dev
http://codereview.appspot.com/207086
|
|
Fixes issue 587.
R=ken2
CC=golang-dev
http://codereview.appspot.com/207085
|
|
Fixes issue 598.
R=adg
CC=golang-dev
http://codereview.appspot.com/206089
|
|
(implementation was swapped)
R=adg
CC=golang-dev, rsc
http://codereview.appspot.com/207069
|
|
The Mapping object implements a flexible
mapping of relative to absolute paths and
vice versa.
R=rsc
CC=golang-dev
http://codereview.appspot.com/206067
|
|
R=rsc, ken2
CC=golang-dev
http://codereview.appspot.com/204064
|
|
because free needs to mark the block as freed to
coordinate with the garbage collector.
(in C++ free can blindly put the block on the free list,
no questions asked, so the cache saves some work.)
R=iant
CC=golang-dev
http://codereview.appspot.com/206069
|
|
R=rsc
CC=golang-dev
http://codereview.appspot.com/203062
|
|
R=rsc
CC=golang-dev
http://codereview.appspot.com/199070
Committer: Russ Cox <rsc@golang.org>
|
|
not trying to be secure, just not repetitive
(sending with the same id repeatedly makes
some resolvers stop replying.)
eventually we'll replace this with linking against
the system's native resolver.
R=p
CC=golang-dev
http://codereview.appspot.com/207051
|
|
R=kaib
CC=golang-dev
http://codereview.appspot.com/206059
|
|
* specialize sweepspan as sweepspan0 and sweepspan1.
* in sweepspan1, inline "free" to avoid expensive mlookup.
R=iant
CC=golang-dev
http://codereview.appspot.com/206060
|
|
R=iant
CC=golang-dev
http://codereview.appspot.com/207054
|
|
kernel32.dll functions
Fixes issue 586.
R=rsc
CC=golang-dev
http://codereview.appspot.com/203060
Committer: Russ Cox <rsc@golang.org>
|
|
Fixes issue 406.
R=adg
CC=golang-dev
http://codereview.appspot.com/207053
|
|
R=adg
CC=golang-dev
http://codereview.appspot.com/207050
|
|
Added tests and benchmarks for Exp2 (special cases same
as Exp). Log1p also enhances speed of inverse hyperbolics.
R=rsc
CC=golang-dev
http://codereview.appspot.com/206058
Committer: Russ Cox <rsc@golang.org>
|
|
* add bit tracking finalizer status, avoiding getfinalizer lookup
* add ability to allocate uncleared memory
R=iant
CC=golang-dev
http://codereview.appspot.com/207044
|
|
R=rsc
CC=golang-dev
http://codereview.appspot.com/186160
Committer: Russ Cox <rsc@golang.org>
|
|
since they were causing a silent program exit (too many EPIPE's).
R=rsc
CC=golang-dev
http://codereview.appspot.com/204062
Committer: Russ Cox <rsc@golang.org>
|
|
function arguments.
R=rsc
CC=golang-dev
http://codereview.appspot.com/206054
|
|
R=iant
CC=golang-dev
http://codereview.appspot.com/206052
|
|
stab in the dark but plausible: the kernel does try to
return time zone information.
http://fxr.watson.org/fxr/source/kern/kern_time.c?v=FREEBSD8#L421
R=iant
CC=golang-dev
http://codereview.appspot.com/206053
|
|
Add functions, tests and benchmarks. Fix typos in comments
in expm1 and hypot_386. Fix Acosh domain error in benchmark
test.
R=rsc
CC=golang-dev
http://codereview.appspot.com/204069
Committer: Russ Cox <rsc@golang.org>
|
|
R=rsc
CC=golang-dev
http://codereview.appspot.com/204067
Committer: Russ Cox <rsc@golang.org>
|
|
R=agl1
CC=golang-dev
http://codereview.appspot.com/207043
|
|
R=golang-dev, rsc
CC=golang-dev
http://codereview.appspot.com/206044
Committer: Russ Cox <rsc@golang.org>
|
|
finalize chan, to free OS X semaphore inside Lock.
os: finalize File, to close fd.
Fixes issue 503.
R=ken2
CC=golang-dev
http://codereview.appspot.com/204065
|
|
R=ken2
CC=golang-dev
http://codereview.appspot.com/206043
|
|
add simple garbage collection benchmark.
R=iant
CC=golang-dev
http://codereview.appspot.com/204053
|
|
R=rsc
CC=golang-dev
http://codereview.appspot.com/204044
|
|
R=iant, rsc
CC=golang-dev
http://codereview.appspot.com/204068
Committer: Ian Lance Taylor <iant@golang.org>
|
|
R=rsc
CC=golang-dev
http://codereview.appspot.com/203043
|
|
R=ken2
CC=golang-dev
http://codereview.appspot.com/204061
|
|
R=rsc
CC=golang-dev
http://codereview.appspot.com/203053
|
|
Averaged times (in microseconds) for drawing an 800x600 rectangle
are listed below. The summary is: around a 100x improvement.
draw.Draw call times were typically linear in the number of pixels
touched (i.e. drawing an 800x600 rectangle took 100x as much time as
drawing an 80x60 rectangle).
Before this change, there was only the general-but-slow code path.
When drawing any src with a 50%-opaque mask: 237300 us
When drawing any src with a nil mask: 50100 us
After this change, the 50%-opaque mask case is unchanged.
For an *image.RGBA dst and nil mask and...
...a uniform color (i.e. an image.ColorImage) src: 282 us
...another *image.RGBA src: 615 us.
For the curious, an intermediate implementation detected the special
cases but used simple nested for loops instead of the built-in copy
function. The respective times (compared to 282 and 615 for the
final implementation, or 50100 for the original) were 3110 and 3573.
Times were measured with 8g/8l on my laptop. I haven't tried gccgo
or other architectures.
R=r, rsc
CC=golang-dev
http://codereview.appspot.com/201048
|
|
R=rsc
CC=golang-dev
http://codereview.appspot.com/203050
Committer: Russ Cox <rsc@golang.org>
|
|
R=rsc
CC=golang-dev
http://codereview.appspot.com/204042
|
|
Added special cases, tests and benchmarks for Atan2;
added 386 FPU version of Atan2.
R=rsc
CC=golang-dev
http://codereview.appspot.com/201068
Committer: Russ Cox <rsc@golang.org>
|
|
Go source outside $GOROOT.
If the argument is a path starting with / or ., disregard $GOROOT.
Also, disable the check for package name matching the directory,
which is counterproductive in this case.
Apologies for the violence to the code but we need some help documenting
Go code outside the standard repository.
R=gri
CC=golang-dev
http://codereview.appspot.com/201064
Committer: Rob Pike <r@golang.org>
|
|
Marshalling:
* Fixes several silly bugs.
* Support the RawContents type.
* Support the RawValue type.
* Recurse into nested interface{}.
Both directions:
* Better handling of SETs. You can now tag an element in a
structure with "set" to get the correct tag for serialisation.
* For types that aren't in a structure, you can now name them
with "SET" on the end.
* SETs are no longer implicitly treated as SEQUENCEs.
R=rsc
CC=golang-dev
http://codereview.appspot.com/201049
|
|
R=rsc
CC=golang-dev
http://codereview.appspot.com/201047
|
|
R=rsc, r
CC=golang-dev
http://codereview.appspot.com/198049
Committer: Russ Cox <rsc@golang.org>
|
|
R=rsc
CC=golang-dev
http://codereview.appspot.com/198044
Committer: Russ Cox <rsc@golang.org>
|
|
Also moved Modf from bits.go into modf.go and added timing tests.
R=rsc
CC=golang-dev
http://codereview.appspot.com/202042
Committer: Russ Cox <rsc@golang.org>
|
|
add some tests for erroneous formats.
R=rsc
CC=golang-dev
http://codereview.appspot.com/201058
|
|
R=rsc
CC=golang-dev
http://codereview.appspot.com/198071
Committer: Russ Cox <rsc@golang.org>
|