]> Cypherpunks repositories - gostls13.git/commitdiff
all: update old comments referencing *.goc files
authorBrad Fitzpatrick <bradfitz@golang.org>
Thu, 15 Jan 2015 16:26:01 +0000 (08:26 -0800)
committerBrad Fitzpatrick <bradfitz@golang.org>
Thu, 15 Jan 2015 16:31:52 +0000 (16:31 +0000)
Change-Id: Ibf05e55ffe3bb454809cd3450b790e44061511c7
Reviewed-on: https://go-review.googlesource.com/2890
Reviewed-by: Alan Donovan <adonovan@google.com>
src/bytes/bytes_decl.go
src/runtime/malloc2.go
src/runtime/noasm.go
src/syscall/exec_solaris.go

index 617d7489a6a835124748b5820a1fd6dcd2fdc6ca..b453f21aa4352d33e8e32443e221e22fb2fee613 100644 (file)
@@ -21,4 +21,4 @@ func Equal(a, b []byte) bool // ../runtime/asm_$GOARCH.s
 // Compare returns an integer comparing two byte slices lexicographically.
 // The result will be 0 if a==b, -1 if a < b, and +1 if a > b.
 // A nil argument is equivalent to an empty slice.
-func Compare(a, b []byte) int // ../runtime/noasm_arm.goc or ../runtime/asm_{386,amd64}.s
+func Compare(a, b []byte) int // ../runtime/noasm.go or ../runtime/asm_{386,amd64}.s
index 91309fd849d8f8e5a4bfea5b714cfaac84b08f5e..eb1c759c0be9bfa118bf959553d45f8620ce6333 100644 (file)
@@ -104,7 +104,7 @@ const (
        // Tunable constants.
        _MaxSmallSize = 32 << 10
 
-       // Tiny allocator parameters, see "Tiny allocator" comment in malloc.goc.
+       // Tiny allocator parameters, see "Tiny allocator" comment in malloc.go.
        _TinySize      = 16
        _TinySizeClass = 2
 
@@ -322,7 +322,7 @@ type mcache struct {
        next_sample      int32  // trigger heap sample after allocating this many bytes
        local_cachealloc intptr // bytes allocated (or freed) from cache since last lock of heap
        // Allocator cache for tiny objects w/o pointers.
-       // See "Tiny allocator" comment in malloc.goc.
+       // See "Tiny allocator" comment in malloc.go.
        tiny             unsafe.Pointer
        tinyoffset       uintptr
        local_tinyallocs uintptr // number of tiny allocs not counted in other stats
index c5ef67243206432c51894f858b631bbe4c717ace..7ffde379921ab044915b9a6b5c4305c37453873a 100644 (file)
@@ -3,7 +3,6 @@
 // license that can be found in the LICENSE file.
 
 // Routines that are implemented in assembly in asm_{amd64,386}.s
-// but are implemented in Go for arm.
 
 // +build arm ppc64 ppc64le
 
index 97de6ca003a412fcd8f4ec03bec9af2e8b69bac1..2052a66528b43cb0e7e7773ba2c4dd74a3015cb3 100644 (file)
@@ -44,7 +44,7 @@ func write1(fd uintptr, buf uintptr, nbyte uintptr) (n uintptr, err Errno)
 // no rescheduling, no malloc calls, and no new stack segments.
 //
 // We call hand-crafted syscalls, implemented in
-// ../runtime/syscall_solaris.goc, rather than generated libc wrappers
+// ../runtime/syscall_solaris.go, rather than generated libc wrappers
 // because we need to avoid lazy-loading the functions (might malloc,
 // split the stack, or acquire mutexes). We can't call RawSyscall
 // because it's not safe even for BSD-subsystem calls.