File: malloc_heap.go

package info (click to toggle)
golang-github-victoriametrics-fastcache 1.12.0%2Bds1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 192 kB
  • sloc: makefile: 2
file content (12 lines) | stat: -rw-r--r-- 183 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
//go:build appengine || windows
// +build appengine windows

package fastcache

func getChunk() []byte {
	return make([]byte, chunkSize)
}

func putChunk(chunk []byte) {
	// No-op.
}