MCPcopy Create free account
hub / github.com/egonelbre/exp / newBlock

Method newBlock

queue/blockqueue/queue.go:29–31  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

27func (q *Queue) Empty() bool { return q.head == nil }
28
29func (q *Queue) newBlock() *Block {
30 return &Block{}
31}
32
33func (q *Queue) tailBlock() *Block {
34 if q.tail != nil {

Callers 2

tailBlockMethod · 0.95
PushMethod · 0.95

Implementers 15

LCFifoqueues/list_chan.go
LCLifoqueues/list_chan.go
RmLifoqueues/ring_mutex.go
RmFifoqueues/ring_mutex.go
PcLifoqueues/link_chan.go
PcFifoqueues/link_chan.go
ScLifoqueues/slice_chan.go
ScFifoqueues/slice_chan.go
CFifoqueues/chan.go
LFifoqueues/list_mutex.go
LLifoqueues/list_mutex.go
ZFifoFreechanqueues/zfifo_freechan.go

Calls

no outgoing calls

Tested by

no test coverage detected