github.com/fiatjaf/generic-ristretto@v0.0.1/contrib/demo/node_golang.go (about) 1 // +build !jemalloc 2 3 package main 4 5 func newNode(val int) *node { 6 return &node{val: val} 7 } 8 9 func freeNode(n *node) {}