MCPcopy Create free account

hub / github.com/dawnzzz/simple-redis / functions

Functions569 in github.com/dawnzzz/simple-redis

MethodGet
(key string)
datastruct/dict/simple_dict.go:19
MethodGetAllNodes
()
interface/cluster/cluster.go:8
MethodGetAllNodes
()
lib/consistenthash/consistenthash.go:79
MethodGetDBIndex
()
redis/connection/conn.go:102
MethodGetDBSize
(dbIndex int)
database/server.go:278
MethodGetDBSize
()
database/engine/db.go:165
MethodGetEnqueuedCmdLine
GetEnqueuedCmdLine 获取multi中的命令
redis/connection/transaction.go:20
MethodGetMultiStatus
GetMultiStatus 获取是否在multi中
redis/connection/transaction.go:6
MethodGetPassword
()
redis/connection/conn.go:98
MethodGetSubscribeNum
()
redis/connection/publish.go:19
MethodGetSubscribes
()
redis/connection/publish.go:23
MethodGetSyntaxErrQueue
()
redis/connection/transaction.go:34
MethodGetTxID
()
redis/connection/transaction.go:57
MethodGetWatching
()
redis/connection/transaction.go:42
MethodHandle
(ctx context.Context, conn net.Conn)
redis/server/handler.go:61
MethodInsert
(index int, val interface{})
datastruct/list/quick_list.go:67
MethodIntersect
Intersect 返回交集
datastruct/set/simple_set.go:58
MethodKeys
()
datastruct/dict/simple_dict.go:80
MethodLen
()
datastruct/dict/dict.go:9
MethodLocks
(keys ...string)
datastruct/lock/lock_map.go:105
FunctionMakeAuxiliaryServer
MakeAuxiliaryServer create a Server only with basic capabilities for aof rewrite and other usages
database/persistence.go:12
FunctionMakeQuickList
()
datastruct/list/quick_list.go:17
MethodName
()
redis/connection/conn.go:110
FunctionNewCluster
(self string)
database/cluster/cluster.go:29
FunctionNewClusterServer
NewClusterServer 创建一个集群服务器
database/server.go:43
FunctionNewStandaloneServer
NewStandaloneServer creates a standalone redis server
database/server.go:36
FunctionNewTxGetter
(addr string, dbIndex int)
database/cluster/getter.go:76
MethodPickNode
PickNode 计算key对应的节点
lib/consistenthash/consistenthash.go:58
MethodPopMin
(count int)
datastruct/sortedset/sortedset.go:205
MethodPut
(x interface{})
lib/pool/pool.go:102
MethodPut
Put 返回新增kv的数量
datastruct/dict/concurrent_dict.go:120
MethodPut
(key string, val interface{})
datastruct/dict/simple_dict.go:31
MethodPutIfAbsent
PutIfAbsent put a DataEntity into DB if key not exists
database/engine/op_data.go:38
MethodPutIfAbsent
PutIfAbsent 如果不存在就新增,不做更新操作,返回新增的数量
datastruct/dict/concurrent_dict.go:147
MethodPutIfAbsent
(key string, val interface{})
datastruct/dict/simple_dict.go:36
MethodPutIfExists
PutIfExists put a DataEntity into DB if key exists (update)
database/engine/op_data.go:33
MethodPutIfExists
PutIfExists 只做更新操作,返回更新的数量
datastruct/dict/concurrent_dict.go:173
MethodPutIfExists
(key string, val interface{})
datastruct/dict/simple_dict.go:47
MethodRLocks
(keys ...string)
datastruct/lock/lock_map.go:119
MethodRUnlocks
(keys ...string)
datastruct/lock/lock_map.go:126
MethodRWLocks
(writeKeys []string, readKeys []string)
datastruct/lock/lock_map.go:133
MethodRandomDistinctKeys
RandomDistinctKeys 随机返回最多 limit 个 key,不包含重复的key
datastruct/dict/concurrent_dict.go:296
MethodRandomDistinctKeys
(limit int)
datastruct/dict/simple_dict.go:101
MethodRandomDistinctMembers
(limit int)
datastruct/set/simple_set.go:119
MethodRandomKeys
RandomKeys 随机返回最多 limit 个 key,可能包含重复的key
datastruct/dict/concurrent_dict.go:266
MethodRandomKeys
(limit int)
datastruct/dict/simple_dict.go:89
MethodRandomMembers
(limit int)
datastruct/set/set.go:13
MethodRandomMembers
(limit int)
datastruct/set/simple_set.go:115
MethodRange
Range returns members which rank within [start, stop), sort by ascending order, rank starts from 0
datastruct/sortedset/sortedset.go:108
MethodRange
(start int, stop int)
datastruct/list/quick_list.go:230
MethodRead
Read reads data from buffer
redis/connection/fake_conn.go:64
MethodRemoteExec
(dbIndex int, args [][]byte)
database/cluster/getter.go:131
MethodRemove
(member string)
datastruct/sortedset/sortedset.go:47
MethodRemove
(index int)
datastruct/list/quick_list.go:111
MethodRemove
(val string)
datastruct/set/simple_set.go:25
MethodRemove
Remove 删除,返回删除的数量
datastruct/dict/concurrent_dict.go:197
MethodRemove
(key string)
datastruct/dict/simple_dict.go:58
MethodRemove
(key string)
datastruct/dict/dict.go:13
MethodRemoveAllByVal
(expected Expected)
datastruct/list/quick_list.go:131
MethodRemoveByVal
(expected Expected, count int)
datastruct/list/quick_list.go:150
MethodRemoveLast
()
datastruct/list/quick_list.go:121
MethodRemoves
Removes the given keys from db
database/engine/op_data.go:52
MethodReverseRemoveByVal
(expected Expected, count int)
datastruct/list/quick_list.go:171
MethodSelectDB
(i int)
redis/connection/conn.go:106
MethodSet
Set writes the value atomically
lib/sync/atomic/bool.go:13
MethodSet
(index int, val interface{})
datastruct/list/quick_list.go:58
MethodSetMultiStatus
SetMultiStatus 设置是否在multi中
redis/connection/transaction.go:11
MethodSetPassword
(password string)
redis/connection/conn.go:94
MethodSetTxID
(id string)
redis/connection/transaction.go:53
FunctionTestConcurrentDict
(t *testing.T)
datastruct/dict/concurrent_dict_test.go:8
FunctionTestDB
(t *testing.T)
database/engine/db_test.go:19
FunctionTestParseStream
(t *testing.T)
redis/parser/parse_test.go:5
FunctionTestPool
(t *testing.T)
lib/pool/pool_test.go:5
FunctionTestTimeWheel
(t *testing.T)
lib/timewheel/timewheel_test.go:8
MethodToBytes
()
redis/protocol/reply/bulk_string_reply.go:15
MethodToBytes
()
redis/protocol/reply/bulk_string_reply.go:35
MethodToBytes
()
redis/protocol/reply/err_reply.go:24
MethodToBytes
ToBytes marshals redis.Reply
redis/protocol/reply/err_reply.go:43
MethodToBytes
ToBytes marshals redis.Reply
redis/protocol/reply/err_reply.go:74
MethodToBytes
ToBytes marshals redis.Reply
redis/protocol/reply/err_reply.go:92
MethodToBytes
()
redis/protocol/reply/multi_bulk_string_reply.go:19
MethodToBytes
()
redis/protocol/reply/multi_bulk_string_reply.go:55
MethodToBytes
ToBytes marshal redis.Reply
redis/protocol/reply/int_reply.go:18
MethodToBytes
()
redis/protocol/reply/status_reply.go:15
MethodToBytes
ToBytes marshal redis.Reply
redis/protocol/reply/status_reply.go:38
MethodToBytes
()
redis/protocol/reply/status_reply.go:60
MethodToBytes
ToBytes marshal redis.Reply
redis/protocol/reply/status_reply.go:78
MethodToSlice
()
datastruct/set/set.go:8
MethodToSlice
()
datastruct/set/simple_set.go:39
MethodUnion
Union 合并两个集合
datastruct/set/simple_set.go:76
MethodUnlocks
(keys ...string)
datastruct/lock/lock_map.go:112
MethodWrite
Write sends response to client over tcp connection
redis/connection/conn.go:64
MethodWrite
Write writes data to buffer
redis/connection/fake_conn.go:25
FunctionexecAppend
(db *engine.DB, args [][]byte)
database/commands/string.go:104
FunctionexecDecr
(db *engine.DB, args [][]byte)
database/commands/string.go:156
FunctionexecDecrBy
(db *engine.DB, args [][]byte)
database/commands/string.go:174
FunctionexecDel
(db *engine.DB, args [][]byte)
database/commands/keys.go:11
FunctionexecExist
(db *engine.DB, args [][]byte)
database/commands/keys.go:87
FunctionexecExpire
(db *engine.DB, args [][]byte)
database/commands/keys.go:55
FunctionexecExpireAt
(db *engine.DB, args [][]byte)
database/commands/keys.go:34
← previousnext →401–500 of 569, ranked by callers