Lines Matching full:1024
20 var a1k *[1024]byte
21 var a64k *[64 * 1024]byte
30 checkAllocations(getMemProfileRecords(), "main.allocInterleaved", countInterleaved, []int64{256 * 1024, 1024, 256 * 1024, 512, 256 * 1024, 256})
34 checkAllocations(getMemProfileRecords(), "main.alloc", count, []int64{1024, 512, 256})
42 a64k = new([64 * 1024]byte)
43 a1k = new([1024]byte)
44 a64k = new([64 * 1024]byte)
46 a64k = new([64 * 1024]byte)
55 a1k = new([1024]byte)
81 if totalwant := count * int64(len(size)); totalcount <= 0 || totalcount > totalwant*1024 {
82 panic(fmt.Sprintf("%s want total count > 0 && <= %d, got %d", fname, totalwant*1024, totalcount))
88 if got < 0 || got > 1024*want {
89 panic(fmt.Sprintf("%s:%d want %s >= 0 && <= %d, got %d", fname, ln, name, 1024*want, got))