github.com/dgraph-io/ristretto@v0.1.2-0.20240116140435-c67e07994f91/contrib/demo/node_golang.go (about)

     1  //go:build !jemalloc
     2  // +build !jemalloc
     3  
     4  package main
     5  
     6  func newNode(val int) *node {
     7  	return &node{val: val}
     8  }
     9  
    10  func freeNode(n *node) {}