github.com/outcaste-io/ristretto@v0.2.3/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) {}