MCPcopy Create free account

hub / github.com/archeryue/godis / functions

Functions92 in github.com/archeryue/godis

↓ 18 callersFunctionCreateObject
(typ Gtype, ptr interface{})
obj.go:46
↓ 13 callersMethodisRehashing
()
dict.go:54
↓ 11 callersFunctionReadQuery
(client *GodisClient, query string)
godis_test.go:9
↓ 10 callersMethodLength
()
list.go:26
↓ 9 callersMethodAddReplyStr
(str string)
godis.go:146
↓ 9 callersMethodStrVal
()
obj.go:31
↓ 8 callersMethodDecrRefCount
()
obj.go:58
↓ 8 callersMethodFind
(key *Gobj)
dict.go:243
↓ 7 callersMethodDelete
(key *Gobj)
dict.go:209
↓ 7 callersFunctionGetMsTime
()
ae.go:117
↓ 6 callersMethodAddFileEvent
(fd int, mask FeType, proc FileProc, extra interface{})
ae.go:73
↓ 6 callersMethodDelNode
(n *Node)
list.go:77
↓ 6 callersMethodFirst
()
list.go:30
↓ 6 callersFunctiongetFeKey
(fd int, mask FeType)
ae.go:54
↓ 6 callersFunctionhandleBulkBuf
(client *GodisClient)
godis.go:235
↓ 5 callersMethodAdd
add a new key-val pair, return err if key exists
dict.go:184
↓ 5 callersMethodAppend
(val *Gobj)
list.go:49
↓ 5 callersMethodGet
(key *Gobj)
dict.go:268
↓ 5 callersFunctionRead
(fd int, buf []byte)
net.go:34
↓ 5 callersFunctionWrite
(fd int, buf []byte)
net.go:38
↓ 5 callersFunctionhandleInlineBuf
(client *GodisClient)
godis.go:218
↓ 4 callersFunctionCreateClient
(fd int)
godis.go:399
↓ 4 callersFunctionDictCreate
(dictType DictType)
dict.go:47
↓ 4 callersMethodIncrRefCount
()
obj.go:54
↓ 4 callersMethodRandomGet
()
dict.go:276
↓ 4 callersMethodRemoveFileEvent
(fd int, mask FeType)
ae.go:100
↓ 4 callersFunctionfreeClient
(client *GodisClient)
godis.go:187
↓ 4 callersMethodrehashStep
()
dict.go:58
↓ 4 callersFunctionresetClient
(client *GodisClient)
godis.go:196
↓ 3 callersFunctionAccept
(fd int)
net.go:11
↓ 3 callersMethodAddTimeEvent
(mask TeType, interval int64, proc TimeProc, extra interface{})
ae.go:121
↓ 3 callersMethodIntVal
()
obj.go:23
↓ 3 callersMethodLast
()
list.go:34
↓ 3 callersFunctionProcessQueryBuf
(client *GodisClient)
godis.go:293
↓ 3 callersMethodSet
(key, val *Gobj)
dict.go:194
↓ 3 callersFunctionTcpServer
(port int)
net.go:46
↓ 3 callersMethodfindLineInQuery
()
godis.go:203
↓ 2 callersFunctionAeLoopCreate
()
ae.go:154
↓ 2 callersMethodAeMain
()
ae.go:236
↓ 2 callersFunctionConnect
(host [4]byte, port int)
net.go:17
↓ 2 callersMethodLPush
(val *Gobj)
list.go:63
↓ 2 callersFunctionListCreate
(listType ListType)
list.go:20
↓ 2 callersMethodexpand
(size int64)
dict.go:101
↓ 2 callersFunctionfreeArgs
(client *GodisClient)
godis.go:173
↓ 2 callersMethodgetEpollMask
(fd int)
ae.go:62
↓ 2 callersMethodgetNumInQuery
(s, e int)
godis.go:211
↓ 2 callersFunctioninitServer
(config *Config)
godis.go:437
↓ 1 callersMethodAddRaw
(key *Gobj)
dict.go:159
↓ 1 callersMethodAddReply
(o *Gobj)
godis.go:140
↓ 1 callersMethodAeProcess
(tes []*AeTimeEvent, fes []*AeFileEvent)
ae.go:219
↓ 1 callersMethodAeWait
()
ae.go:179
↓ 1 callersFunctionClose
(fd int)
net.go:42
↓ 1 callersFunctionCreateFromInt
(val int64)
obj.go:38
↓ 1 callersFunctionEchoServer
(s, c, e chan struct{})
net_test.go:11
↓ 1 callersMethodFind
(val *Gobj)
list.go:38
↓ 1 callersFunctionLoadConfig
(path string)
conf.go:13
↓ 1 callersFunctionProcessCommand
(c *GodisClient)
godis.go:152
↓ 1 callersMethodRemoveTimeEvent
(id int)
ae.go:136
↓ 1 callersMethodexpandIfNeeded
()
dict.go:122
↓ 1 callersFunctionexpireIfNeeded
(key *Gobj)
godis.go:72
↓ 1 callersFunctionfindKeyRead
(key *Gobj)
godis.go:85
↓ 1 callersFunctionfreeEntry
(e *Entry)
dict.go:204
↓ 1 callersFunctionfreeReplyList
(client *GodisClient)
godis.go:179
↓ 1 callersMethodkeyIndex
return the index of a free slot, return -1 if the key is exists or err.
dict.go:136
↓ 1 callersFunctionlookupCommand
(cmdStr string)
godis.go:131
↓ 1 callersMethodnearestTime
()
ae.go:167
↓ 1 callersFunctionnextPower
(size int64)
dict.go:92
↓ 1 callersMethodrehash
(step int)
dict.go:63
FunctionAcceptHandler
(loop *AeLoop, fd int, extra interface{})
godis.go:408
FunctionAcceptProc
(loop *AeLoop, fd int, extra interface{})
ae_test.go:32
MethodDelete
(val *Gobj)
list.go:106
FunctionGStrEqual
(a, b *Gobj)
godis.go:383
FunctionGStrHash
(key *Gobj)
godis.go:390
FunctionNormalProc
(loop *AeLoop, id int, extra interface{})
ae_test.go:47
FunctionOnceProc
(loop *AeLoop, id int, extra interface{})
ae_test.go:41
FunctionReadProc
(loop *AeLoop, fd int, extra interface{})
ae_test.go:21
FunctionReadQueryFromClient
(loop *AeLoop, fd int, extra interface{})
godis.go:330
FunctionSendReplyToClient
(loop *AeLoop, fd int, extra interface{})
godis.go:352
FunctionServerCron
background job, runs every 100ms
godis.go:424
FunctionTestAe
(t *testing.T)
ae_test.go:53
FunctionTestBulkBuf
(t *testing.T)
godis_test.go:40
FunctionTestDict
(t *testing.T)
dict_test.go:10
FunctionTestInlineBuf
(t *testing.T)
godis_test.go:16
FunctionTestList
(t *testing.T)
list_test.go:9
FunctionTestProcessQueryBuf
(t *testing.T)
godis_test.go:71
FunctionTestRehash
(t *testing.T)
dict_test.go:45
FunctionWriteProc
(loop *AeLoop, fd int, extra interface{})
ae_test.go:10
FunctionexpireCommand
(c *GodisClient)
godis.go:117
FunctiongetCommand
(c *GodisClient)
godis.go:90
Functionmain
()
godis.go:452
FunctionsetCommand
(c *GodisClient)
godis.go:105
FunctionuseTestAeInstead
func TestNet(t *testing.T) {
net_test.go:39