mirror of
https://github.com/golang/go.git
synced 2025-05-15 20:34:38 +00:00
can run peano 10 in 100 MB (instead of 1+ GB) of memory when linking against this. can run peano 11 in 1 GB of memory now. R=r DELTA=100 (44 added, 44 deleted, 12 changed) OCL=20504 CL=20553
14 lines
377 B
Go
14 lines
377 B
Go
// Copyright 2009 The Go Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style
|
|
// license that can be found in the LICENSE file.
|
|
|
|
package allocator
|
|
|
|
export func free(*byte)
|
|
export func malloc(int) *byte
|
|
export func memset(*byte, int, int)
|
|
export var footprint int64
|
|
export var frozen bool
|
|
export func testsizetoclass()
|
|
export var allocated int64
|