Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
27
func
(q *Queue) Empty() bool {
return
q.head == nil }
28
29
func
(q *Queue) newBlock() *Block {
30
return
&Block{}
31
}
32
33
func
(q *Queue) tailBlock() *Block {
34
if
q.tail != nil {
Callers
2
tailBlock
Method · 0.95
Push
Method · 0.95
Implementers
15
LCFifo
queues/list_chan.go
LCLifo
queues/list_chan.go
RmLifo
queues/ring_mutex.go
RmFifo
queues/ring_mutex.go
PcLifo
queues/link_chan.go
PcFifo
queues/link_chan.go
ScLifo
queues/slice_chan.go
ScFifo
queues/slice_chan.go
CFifo
queues/chan.go
LFifo
queues/list_mutex.go
LLifo
queues/list_mutex.go
ZFifoFreechan
queues/zfifo_freechan.go
Calls
no outgoing calls
Tested by
no test coverage detected