MCPcopy Create free account

hub / github.com/OneOfOne/lfchan / functions

Functions51 in github.com/OneOfOne/lfchan

↓ 10 callersMethodRecv
(block bool)
typed/uint64Chan/uint64_lfchan.go:147
↓ 9 callersMethodSend
(v uint64, block bool)
typed/uint64Chan/uint64_lfchan.go:139
↓ 6 callersMethodLen
Len returns the number of elements queued
lfchan.go:111
↓ 5 callersMethodLen
()
typed/uint64Chan/uint64_lfchan.go:97
↓ 4 callersMethodClose
Close marks the channel as closed
lfchan.go:102
↓ 4 callersFunctionNewSize
NewSize creates a buffered channel, with minimum length of 1, may adjust the size to fit better in the internal queue.
lfchan.go:30
↓ 2 callersMethodClosed
Closed returns true if the channel have been closed
lfchan.go:105
↓ 2 callersMethodClosed
()
typed/uint64Chan/uint64_lfchan.go:93
↓ 2 callersFunctionNew
New returns a new channel with the buffer set to 1
lfchan.go:25
↓ 2 callersMethodlock
()
lfchan.go:195
↓ 2 callersMethodlock
()
typed/uint64Chan/uint64_lfchan.go:171
↓ 2 callersMethodunlock
()
lfchan.go:204
↓ 2 callersMethodunlock
()
typed/uint64Chan/uint64_lfchan.go:180
↓ 1 callersFunctionNewSize
(sz int)
typed/uint64Chan/uint64_lfchan.go:25
↓ 1 callersFunctionSelectRecv
SelectRecv returns the first available value from chans, if block is true, it blocks until a value is available. returns nil, false if all channels we
lfchan.go:138
↓ 1 callersFunctionSelectSend
SelectSend sends v to the first available channel, if block is true, it blocks until a channel a accepts the value. returns false if all channels were
lfchan.go:122
↓ 1 callersMethodget
()
lfchan.go:229
↓ 1 callersMethodget
()
typed/uint64Chan/uint64_lfchan.go:205
↓ 1 callersMethodstore
(newVal interface{})
lfchan.go:208
↓ 1 callersMethodstore
(newVal uint64)
typed/uint64Chan/uint64_lfchan.go:184
FunctionBenchmarkChan
(b *testing.B)
chan_test.go:165
FunctionBenchmarkLFChan
(b *testing.B)
chan_test.go:150
MethodCap
Cap returns the size of the internal queue
lfchan.go:108
MethodCap
()
typed/uint64Chan/uint64_lfchan.go:95
MethodClose
()
typed/uint64Chan/uint64_lfchan.go:91
FunctionNew
()
typed/uint64Chan/uint64_lfchan.go:21
MethodRecv
Recv blocks until a value is available and returns v, true, or if the channel is closed and the buffer is empty, it will return nil, false
lfchan.go:72
MethodRecv
Recv is an alias for Chan.Recv.
lfchan.go:167
MethodRecv
(block bool)
lfchan.go:171
MethodRecv
(block bool)
typed/uint64Chan/uint64_lfchan.go:64
MethodRecv
(block bool)
typed/uint64Chan/uint64_lfchan.go:144
MethodRecvOnly
RecvOnly returns a receive-only channel.
lfchan.go:99
MethodRecvOnly
()
typed/uint64Chan/uint64_lfchan.go:89
FunctionSelectRecv
(block bool, chans ...Receiver)
typed/uint64Chan/uint64_lfchan.go:120
FunctionSelectSend
(block bool, v uint64, chans ...Sender)
typed/uint64Chan/uint64_lfchan.go:106
MethodSend
Send adds v to the buffer of the channel and returns true, if the channel is closed it returns false
lfchan.go:44
MethodSend
Send is an alias for Chan.Send.
lfchan.go:156
MethodSend
(v interface{}, block bool)
lfchan.go:160
MethodSend
(v uint64, block bool)
typed/uint64Chan/uint64_lfchan.go:38
MethodSend
(v uint64, block bool)
typed/uint64Chan/uint64_lfchan.go:136
MethodSendOnly
SendOnly returns a send-only channel.
lfchan.go:96
MethodSendOnly
()
typed/uint64Chan/uint64_lfchan.go:87
FunctionTestFIFO
(t *testing.T)
chan_test.go:59
FunctionTestLFCPU
(t *testing.T)
chan_test.go:116
FunctionTestLFChan
(t *testing.T)
chan_test.go:15
FunctionTestLen
needs to run with -count 100 to trigger
chan_test.go:80
FunctionTestSelect
(t *testing.T)
chan_test.go:34
FunctionTestStdCPU
(t *testing.T)
chan_test.go:133
Functionarg
(idx int)
gen.go:159
Functioninit
()
gen.go:33
Functionmain
()
gen.go:49