Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Kirov7/CouloyDB
/ functions
Functions
564 in github.com/Kirov7/CouloyDB
⨍
Functions
564
◇
Types & classes
103
↓ 1 callers
Method
IncrBy
(key []byte, delta int)
txn.go:514
↓ 1 callers
Method
IsEmpty
()
public/ds/timeHeap.go:57
↓ 1 callers
Method
IsMatch
IsMatch returns whether the given string matches pattern
public/utils/wildcard/wildcard.go:105
↓ 1 callers
Method
ListKeys
ListKeys get all the key and return
db.go:241
↓ 1 callers
Method
MSet
(args [][]byte)
txn.go:607
↓ 1 callers
Function
MakeClient
MakeClient creates a new client
server/resp/client/client.go:41
↓ 1 callers
Function
MakeOkReply
MakeOkReply returns a ok reply
server/resp/reply/consts.go:26
↓ 1 callers
Method
Merge
()
merge.go:15
↓ 1 callers
Function
NewAdaptiveRadixTree
()
meta/art.go:16
↓ 1 callers
Function
NewClusterDB
MakeClusterDatabase creates and starts a node of cluster
server/database/clusterdb.go:32
↓ 1 callers
Function
NewCouloyDict
NewCouloyDict makes a new map
server/database/datastruct/dict/couloyDict.go:14
↓ 1 callers
Function
NewEventQueue
()
public/ds/eventQueue.go:13
↓ 1 callers
Function
NewFileIOManager
(fileName string)
driver/fileIO.go:11
↓ 1 callers
Function
NewHashMap
()
meta/hmap.go:14
↓ 1 callers
Function
NewIOManager
NewIOManager Init IOManager instance attention! the IOManager is only support FileIO
driver/ioManager.go:25
↓ 1 callers
Function
NewMMap
(fileName string)
driver/mmap.go:13
↓ 1 callers
Function
NewMutilDB
NewDatabase creates a redis database,
server/database/mutildb.go:21
↓ 1 callers
Function
NewTimeHeap
()
public/ds/timeHeap.go:12
↓ 1 callers
Method
Persist
(key []byte)
db.go:716
↓ 1 callers
Method
Pop
Pop removes and returns the job with the earliest expiration time from the heap.
public/ds/timeHeap.go:86
↓ 1 callers
Method
Push
Push adds a job to the heap.
public/ds/timeHeap.go:79
↓ 1 callers
Method
Put
(key, value []byte)
db.go:121
↓ 1 callers
Method
PutIfExists
(key string, val []byte)
server/database/datastruct/dict/dict.go:12
↓ 1 callers
Method
Remove
(key string)
public/ds/timeHeap.go:43
↓ 1 callers
Method
Remove
Remove the given key from db
server/database/mutildb.go:162
↓ 1 callers
Method
SCard
(key []byte)
txnSet.go:119
↓ 1 callers
Method
SRem
(key []byte, members ...[]byte)
txnSet.go:50
↓ 1 callers
Method
Seek
(key []byte)
meta/memTable.go:48
↓ 1 callers
Method
Send
Send sends a request to redis server
server/resp/client/client.go:118
↓ 1 callers
Method
Serve
(l net.Listener)
server/server.go:78
↓ 1 callers
Method
Set
(key, val interface{})
server/sliceRouter.go:57
↓ 1 callers
Method
SetSelectedDB
(dbNum int)
server/conn.go:76
↓ 1 callers
Method
SetSyncWrites
(sync bool)
options.go:75
↓ 1 callers
Method
Start
Start starts asynchronous goroutines
server/resp/client/client.go:56
↓ 1 callers
Method
StrLen
(key []byte)
txn.go:498
↓ 1 callers
Method
Watch
(ctx context.Context, key string)
db.go:720
↓ 1 callers
Method
Write
(buf []byte)
data/dataFile.go:138
↓ 1 callers
Method
WriteHintRecord
WriteHintRecord write the index info to the hint file
data/dataFile.go:114
↓ 1 callers
Method
addActiveTxn
(startTs int64)
txn.go:130
↓ 1 callers
Method
allocPushSeq
(headSeq, tailSeq *big.Float, left bool)
txnList.go:235
↓ 1 callers
Function
byteToStringSlice
(input [][]byte)
server/database/datastruct/dict/couloyDict.go:118
↓ 1 callers
Function
castNumToByte
(num K)
public/utils/consistent/consistent.go:277
↓ 1 callers
Function
checkOptions
(opt *Options)
db.go:429
↓ 1 callers
Method
cleanupCommitTxn
Clears all transactions whose commitTs is less than the minimum startTs in all active transactions
txn.go:113
↓ 1 callers
Method
closeWatcherListener
(watcher *Watcher)
watch.go:39
↓ 1 callers
Method
contains
(c byte)
public/utils/wildcard/wildcard.go:19
↓ 1 callers
Function
deleteLessThan
(s []T, val T)
db.go:756
↓ 1 callers
Method
doHeartbeat
()
server/resp/client/client.go:138
↓ 1 callers
Method
doRequest
(req *request)
server/resp/client/client.go:151
↓ 1 callers
Function
encodeListKey
(seq, prevSeq, nextSeq *big.Float, key []byte)
txnList.go:296
↓ 1 callers
Method
exec
()
ttl.go:71
↓ 1 callers
Function
execSelect
(c *server.Conn, mdb *MutilDB, args [][]byte)
server/database/mutildb.go:63
↓ 1 callers
Method
finished
()
server/resp/parser/parser.go:35
↓ 1 callers
Method
getAsString
(key string)
server/database/string.go:15
↓ 1 callers
Method
getDoneChan
()
server/server.go:106
↓ 1 callers
Function
getIP
(addr string)
server/database/clusterdb.go:210
↓ 1 callers
Function
getIPs
(addrs ...string)
server/database/clusterdb.go:198
↓ 1 callers
Method
getLogPosByLeftOrRight
(key []byte, left, right *big.Float, isLeft bool)
txnList.go:245
↓ 1 callers
Method
getPeerClient
(peer string)
server/database/clusterdb.go:121
↓ 1 callers
Method
handleConnectionError
(err error)
server/resp/client/client.go:82
↓ 1 callers
Method
handleWrite
()
server/resp/client/client.go:111
↓ 1 callers
Method
hasConflict
(txn *Txn)
txn.go:48
↓ 1 callers
Method
hashKeyCRC32
(key string)
public/utils/consistent/consistent.go:236
↓ 1 callers
Method
hashKeyFnv
(key string)
public/utils/consistent/consistent.go:245
↓ 1 callers
Method
heartbeat
()
server/resp/client/client.go:105
↓ 1 callers
Method
initLuaInterpreter
()
eval.go:42
↓ 1 callers
Method
initOracle
()
txn.go:35
↓ 1 callers
Method
isExpired
(key string)
ttl.go:43
↓ 1 callers
Function
kuloyServerStart
(addr string)
cmd/standalone/standalone.go:105
↓ 1 callers
Function
kuloyServerStart
(addr string)
cmd/cluster/cluster.go:94
↓ 1 callers
Method
loadDataFile
()
db.go:442
↓ 1 callers
Method
loadIndex
(fids []int)
db.go:487
↓ 1 callers
Method
loadIndexFromHintFile
()
merge.go:257
↓ 1 callers
Method
loadMergeFiles
()
merge.go:182
↓ 1 callers
Method
lock
()
txn.go:622
↓ 1 callers
Method
merge
Merge Clear invalid data and generate the hint file
merge.go:21
↓ 1 callers
Method
mergeWorker
()
db.go:334
↓ 1 callers
Function
newArtIterator
(artree *AdaptiveRadixTree, reverse bool)
meta/art.go:70
↓ 1 callers
Method
newBegin
(txn *Txn)
txn.go:101
↓ 1 callers
Function
newBtreeIterator
(bt *BTree, reverse bool)
meta/btree.go:84
↓ 1 callers
Method
newCommit
(txn *Txn)
txn.go:87
↓ 1 callers
Method
newConn
(rwc net.Conn)
server/conn.go:20
↓ 1 callers
Function
newHashMapIterator
(m *HashMap, reverse bool)
meta/hmap.go:69
↓ 1 callers
Function
newTTL
(deleter func(key string) error)
ttl.go:19
↓ 1 callers
Function
newTcpSliceRouterContext
(conn net.Conn, r *TcpSliceRouter, ctx context.Context)
server/sliceRouter.go:30
↓ 1 callers
Function
newWatcherManager
()
watch.go:30
↓ 1 callers
Function
parse0
(reader io.Reader, ch chan<- *Payload)
server/resp/parser/parser.go:39
↓ 1 callers
Function
parseBulkHeader
(msg []byte, state *readState)
server/resp/parser/parser.go:192
↓ 1 callers
Function
parseMultiBulkHeader
(msg []byte, state *readState)
server/resp/parser/parser.go:170
↓ 1 callers
Function
parseSingleLineReply
(msg []byte)
server/resp/parser/parser.go:211
↓ 1 callers
Method
peek
peek returns the job with the earliest expiration time without removing it from the heap.
public/ds/timeHeap.go:99
↓ 1 callers
Method
peekActiveTxn
peek Find the active transaction with the smallest start timestamp
txn.go:136
↓ 1 callers
Function
readBody
read the non-first lines of multi bulk reply or bulk reply
server/resp/parser/parser.go:238
↓ 1 callers
Function
readLine
(bufReader *bufio.Reader, state *readState)
server/resp/parser/parser.go:143
↓ 1 callers
Method
removeActiveTxn
remove Removes the specified transaction from the active transaction heap
txn.go:145
↓ 1 callers
Method
returnPeerClient
(peer string, peerClient *client.Client)
server/database/clusterdb.go:141
↓ 1 callers
Method
sendResp
(event *watchEvent)
watch.go:138
↓ 1 callers
Method
serve
(ctx context.Context)
server/conn.go:48
↓ 1 callers
Method
shuttingDown
()
server/server.go:44
↓ 1 callers
Function
sliceContainsMember
(set []string, member string)
public/utils/consistent/consistent.go:264
← previous
next →
201–300 of 564, ranked by callers