MCPcopy Create free account

hub / github.com/DenzelPenzel/nyx / functions

Functions397 in github.com/DenzelPenzel/nyx

MethodQuit
(_ common.QuitRequest)
internal/server/server_test.go:136
MethodQuit
(req common.QuitRequest)
internal/server/server_test.go:280
MethodRelease
()
internal/nyx/nyx.go:80
MethodRemove
(addr string)
internal/nyx/nyx.go:182
MethodRemove
(addr string)
internal/server/server_test.go:72
MethodRemove
(_ string)
internal/server/server_test.go:320
MethodRemove
Remove deletes a key from the store
internal/db/store/store.go:255
MethodRemoveNode
(n *Node)
e2e/cluster.go:72
MethodReplace
(opaque uint32, quiet bool)
internal/proto/proto.go:16
MethodReplace
(_ uint32, _ bool)
internal/proto/textprot/respond.go:29
MethodReplace
(req common.SetRequest)
internal/nyx/kvs.go:66
MethodReplace
(_ common.SetRequest)
internal/server/server_test.go:100
MethodReplace
(req common.SetRequest)
internal/server/server_test.go:248
MethodReplace
(cmd common.SetRequest)
internal/db/db.go:99
MethodRestore
Restore restores the node to a previous state
internal/nyx/nyx.go:432
MethodRestore
(name string)
internal/db/db.go:36
MethodRestore
(_ string)
internal/db/db.go:266
MethodRestore
Restore restores the store from a backup TODO: implement restore logic.
internal/db/store/store.go:346
FunctionRunFastCache
RunFastCache ... Application entry point
cmd/nyx/main.go:143
MethodSet
(opaque uint32, quiet bool)
internal/proto/proto.go:14
MethodSet
(_ uint32, _ bool)
internal/proto/textprot/respond.go:21
MethodSet
(req common.SetRequest)
internal/nyx/kvs.go:25
MethodSet
(_ common.SetRequest)
internal/server/server_test.go:92
MethodSet
(_ common.SetRequest)
internal/server/server_test.go:300
MethodSet
(cmd common.SetRequest)
internal/db/db.go:75
MethodSet
(key, value []byte, hash, expire uint32)
internal/db/store/shard/shard.go:291
MethodSetResponder
(resp proto.Responder)
internal/nyx/nyx.go:313
MethodSetResponder
(resp proto.Responder)
internal/server/server_test.go:62
MethodSetResponder
(resp proto.Responder)
internal/server/server_test.go:239
MethodShutdown
Shutdown ... Shutdown each Node in Cluster
e2e/cluster.go:83
MethodSnapshot
Snapshot returns a snapshot of the database. The caller must ensure that no transaction is taking place during this call. Hashicorp Raft guarantees th
internal/nyx/nyx.go:412
MethodStats
Stats ... Returns info about the storage
internal/nyx/nyx.go:132
MethodStats
()
internal/nyx/nyx.go:187
MethodStats
()
internal/server/server_test.go:82
MethodStats
()
internal/server/server_test.go:304
MethodStats
()
internal/db/db.go:34
MethodStats
()
internal/db/db.go:249
MethodStatus
()
e2e/node.go:57
FunctionTestBackup
(t *testing.T)
internal/db/store/shard/shard_test.go:127
FunctionTestBackupStream
(t *testing.T)
internal/db/store/shard/shard_test.go:198
FunctionTestConcurrentAccess
(t *testing.T)
internal/db/store/shard/shard_test.go:160
FunctionTestCounterOperations
(t *testing.T)
internal/db/store/shard/shard_test.go:87
FunctionTestDelete
(t *testing.T)
internal/db/store/shard/shard_test.go:69
FunctionTestEncodeDecodeRecordMeta
TestEncodeDecodeRecordMeta verifies that the Encode and Decode functions work as expected. Note that the expiration encoding is lossy: the decoded exp
internal/db/store/record_meta/record_meta_test.go:16
FunctionTestExpireKeys
(t *testing.T)
internal/db/store/shard/shard_test.go:107
FunctionTestFileSize
(t *testing.T)
internal/db/store/shard/shard_test.go:151
FunctionTestNewMarshalUnmarshalRecord
(t *testing.T)
internal/db/store/record_header/record_header_test.go:9
FunctionTestOpenAndWriteRead
(t *testing.T)
internal/db/store/shard/shard_test.go:32
FunctionTestReadFileVersion
(t *testing.T)
internal/db/store/record_meta/record_meta_test.go:56
FunctionTestSync
(t *testing.T)
internal/db/store/shard/shard_test.go:183
FunctionTestUpdateExpiry
(t *testing.T)
internal/db/store/shard/shard_test.go:49
FunctionTest_Add
(t *testing.T)
internal/db/db_test.go:128
FunctionTest_AddExistingKey
(t *testing.T)
internal/db/db_test.go:153
FunctionTest_Append
(t *testing.T)
internal/db/db_test.go:216
FunctionTest_BucketEmptyKey
(t *testing.T)
internal/db/store/store_test.go:264
FunctionTest_BucketOperations
(t *testing.T)
internal/db/store/store_test.go:282
FunctionTest_ConcurrentAccess
(t *testing.T)
internal/db/store/store_test.go:324
FunctionTest_ExpireKeys
(t *testing.T)
internal/db/store/store_test.go:306
FunctionTest_HTTPServer
(t *testing.T)
internal/server/server_test.go:372
FunctionTest_HashCollision
(t *testing.T)
internal/db/store/store_test.go:126
FunctionTest_ManyKeysOp
(t *testing.T)
internal/db/store/store_test.go:141
FunctionTest_MultiBucketStore
(t *testing.T)
internal/db/store/bucket_test.go:87
FunctionTest_MultiNodes
(t *testing.T)
e2e/cluster_test.go:9
FunctionTest_MultiOp
(t *testing.T)
internal/db/db_test.go:41
FunctionTest_Network
(t *testing.T)
internal/network/network_test.go:10
FunctionTest_Operations
(t *testing.T)
internal/db/store/store_test.go:31
FunctionTest_Prepend
(t *testing.T)
internal/db/db_test.go:256
FunctionTest_ReadAfterClose
(t *testing.T)
internal/db/store/store_test.go:96
FunctionTest_Replace
(t *testing.T)
internal/db/db_test.go:177
FunctionTest_Server
(t *testing.T)
internal/server/server_test.go:161
FunctionTest_SingleBucketStore
Test_SingleBucketStore verifies that keys added via BucketPut are stored with a composite key (bucket name + key) and retrievable
internal/db/store/bucket_test.go:16
FunctionTest_SingleShard
(t *testing.T)
internal/db/store/store_test.go:240
MethodTouch
(opaque uint32)
internal/proto/proto.go:24
MethodTouch
(_ uint32)
internal/proto/textprot/respond.go:93
MethodTouch
(req common.TouchRequest)
internal/nyx/kvs.go:98
MethodTouch
(_ common.TouchRequest)
internal/server/server_test.go:116
MethodTouch
(req common.TouchRequest)
internal/server/server_test.go:264
MethodTouch
(cmd common.TouchRequest)
internal/db/db.go:232
MethodTouch
Touch updates the expiration time of a key
internal/db/store/store.go:222
MethodTouch
Touch updates the expiration time of an existing record
internal/db/store/shard/shard.go:352
MethodUnknown
(req common.Request)
internal/nyx/nyx.go:117
MethodUnknown
(_ common.Request)
internal/nyx/kvs.go:195
MethodUnknown
(_ common.Request)
internal/server/server_test.go:144
MethodUnknown
(req common.Request)
internal/server/server_test.go:288
MethodVersion
(opaque uint32)
internal/proto/proto.go:27
MethodVersion
(_ uint32)
internal/proto/textprot/respond.go:108
MethodVersion
(req common.VersionRequest)
internal/nyx/kvs.go:191
MethodVersion
(_ common.VersionRequest)
internal/server/server_test.go:140
MethodVersion
(req common.VersionRequest)
internal/server/server_test.go:284
MethodWaitForNewLeader
(oldLeader *Node)
e2e/cluster.go:30
FunctionWithSyncInterval
WithSyncInterval sets up a background interval to fsync shards. If interval > 0, a background task will periodically flush shard data.
internal/db/store/store.go:83
MethodgetAPIURL
(suffix string)
e2e/node.go:80
MethodleaderID
()
internal/server/http.go:156
Functionmain
()
cmd/client/rand/main.go:46
Functionmain
()
cmd/nyx/main.go:14
MethodpostRequest
(u *url.URL, j string)
e2e/node.go:89
Functionrun
(c *cli.Context)
cmd/client/rand/main.go:83
← previous301–397 of 397, ranked by callers