go/src
Alberto Donizetti 4102e6ff56 runtime/cgo: use size_t in sizeof result comparison
When a variable of type int is compared with sizeof's return
value, gcc warns:

  comparison between signed and unsigned integer expressions

Change the type of a couple loop indices that looped over sizeof from
int to size_t to silence the warnings.

Fixes #25411

Change-Id: I2c7858f84237e77945651c7b1b6a75b97edcef65
Reviewed-on: https://go-review.googlesource.com/113335
Run-TryBot: Alberto Donizetti <alb.donizetti@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
2018-05-16 12:01:16 +00:00
..
archive archive/zip: avoid data descriptor when writing directories 2018-05-02 23:34:50 +00:00
bufio
builtin
bytes bytes, strings: improve EqualFold fast version for ASCII 2018-05-01 18:52:19 +00:00
cmd cmd/compile: improve error message emitted by debug info generation 2018-05-15 17:48:30 +00:00
compress compress/flate: do not rename math/bits import 2018-05-07 15:42:46 +00:00
container container/heap: fix comments style 2018-04-11 20:11:09 +00:00
context context: avoid defer in the cancelCtx.Err method 2018-04-15 21:35:53 +00:00
crypto cmd/compile,test: combine byte loads and stores on ppc64le 2018-05-08 13:15:39 +00:00
database/sql database/sql: add note to Scanner that the database owns values 2018-05-11 20:28:02 +00:00
debug debug/elf: add machine and OSABI constants 2018-05-08 14:49:42 +00:00
encoding encoding/base32: handle NoPadding when using buffered encoding in Close 2018-05-09 22:10:32 +00:00
errors
expvar
flag
fmt fmt: make %v doc for compound objects consistent 2018-04-17 23:47:44 +00:00
go go/types: adopt spec terminology, use 'embedded' rather then 'anonyous' field 2018-05-10 20:54:21 +00:00
hash
html html/template: always write untyped nil as JS null 2018-05-09 04:09:29 +00:00
image
index/suffixarray
internal internal/bytealg: add wasm architecture 2018-05-08 13:28:18 +00:00
io io: calculate buffer size only when needed 2018-05-06 15:52:31 +00:00
log all: skip unsupported tests for js/wasm 2018-04-30 19:39:18 +00:00
math math/rand: clarify documentation for Seed example 2018-05-12 06:21:01 +00:00
mime mime: do a pre-allocation in encodeWord 2018-05-15 16:20:14 +00:00
net net: skip socket hungry test on iOS 2018-05-14 21:34:35 +00:00
os os: remove superfluous comments 2018-05-02 14:41:57 +00:00
path path/filepath: make Abs("") return working directory on Windows 2018-05-14 04:41:33 +00:00
plugin plugin: make stub lookup signature match dlopen version 2018-05-08 17:09:05 +00:00
reflect reflect: use 'defined' rather than 'named', use 'embedded' rather than 'anonymous' 2018-05-10 23:19:40 +00:00
regexp regexp: use sync.Pool to cache regexp.machine objects 2018-04-03 16:03:19 +00:00
runtime runtime/cgo: use size_t in sizeof result comparison 2018-05-16 12:01:16 +00:00
sort sort: fix typo in comment 2018-04-22 22:32:11 +00:00
strconv strconv: update Unquote example to be more concise 2018-05-07 20:39:37 +00:00
strings strings: fix encoding of \u0080 in map 2018-05-04 05:37:45 +00:00
sync sync: deflake TestWaitGroupMisuse2 2018-05-14 04:42:45 +00:00
syscall misc/wasm: fix passing large negative integers from JS to Go 2018-05-15 14:15:44 +00:00
testing testing: allow marking subtest and subbenchmark functions as Helpers 2018-05-14 17:59:59 +00:00
text text/scanner: return RawString token rather than String for raw string literals 2018-05-08 04:59:41 +00:00
time cmd/vet: better align print warnings with fmt 2018-05-04 02:57:37 +00:00
unicode cmd/compile: optimize len([]rune(string)) 2018-05-06 05:31:01 +00:00
unsafe
vendor/golang_org/x vendor/golang_org/x/crypto: revendor 2018-05-15 16:29:04 +00:00
Make.dist
all.bash
all.bat
all.rc
androidtest.bash
bootstrap.bash
buildall.bash
clean.bash
clean.bat
clean.rc
cmp.bash
iostest.bash
make.bash src/*.bash: remove some trailing whitespace 2018-05-04 14:47:49 +00:00
make.bat
make.rc
naclmake.bash
nacltest.bash
race.bash src/*.bash: remove some trailing whitespace 2018-05-04 14:47:49 +00:00
race.bat
run.bash
run.bat
run.rc