Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/arthurprs/sucredb
/ functions
Functions
434 in github.com/arthurprs/sucredb
⨍
Functions
434
◇
Types & classes
100
Method
entry_with_timeout
(&mut self, key: K, expire: T)
src/inflightmap.rs:35
Method
eq
(&self, other: &Self)
src/version_vector.rs:382
Method
eq
(&self, other: &Pair<T, V>)
src/inflightmap.rs:102
Function
event
()
src/version_vector.rs:903
Method
exit_msg
()
src/database.rs:34
Method
expecting
(&self, formatter: &mut fmt::Formatter)
src/version_vector.rs:232
Method
fill_holes
(&mut self)
src/version_vector.rs:114
Method
fmt
(&self, f: &mut fmt::Formatter)
src/types.rs:26
Method
fmt
(&self, f: &mut fmt::Formatter)
src/resp.rs:83
Method
from
(result: Result<S, E>)
src/vnode_sync.rs:23
Method
from
(from: &'static str)
src/resp.rs:14
Method
from
(sb: StorageBatch<'a>)
src/storage.rs:74
Method
from_dot
(dot: (Id, Version))
src/version_vector.rs:638
Method
from_str
(s: &str)
src/types.rs:59
Method
from_version
(id: Id, bv: BitmappedVersion)
src/version_vector.rs:277
Method
from_vv
(vv: VersionVector)
src/version_vector.rs:401
Method
generate_id
(base: NodeId)
src/vnode.rs:908
Method
handler_dht_change
DHT Changes
src/vnode.rs:204
Method
handler_fabric_msg
(&self, from: NodeId, msg: FabricMsg)
src/dht.rs:833
Method
handler_get_remote
(&mut self, db: &Database, from: NodeId, msg: MsgRemoteGet)
src/vnode.rs:592
Method
handler_get_remote_ack
CRUD HANDLERS
src/vnode.rs:588
Method
handler_set_remote
(&mut self, db: &Database, from: NodeId, msg: MsgRemoteSet)
src/vnode.rs:622
Method
handler_set_remote_ack
(&mut self, db: &Database, _from: NodeId, msg: MsgRemoteSetAck)
src/vnode.rs:669
Method
handler_sync_ack
(&mut self, db: &Database, from: NodeId, msg: MsgSyncAck)
src/vnode.rs:723
Method
handler_sync_fin
(&mut self, db: &Database, from: NodeId, msg: MsgSyncFin)
src/vnode.rs:736
Method
handler_sync_send
(&mut self, db: &Database, from: NodeId, msg: MsgSyncSend)
src/vnode.rs:710
Method
handler_sync_start
SYNC
src/vnode.rs:674
Method
handler_tick
TICK
src/vnode.rs:265
Method
handshake
( socket: tokio::net::TcpStream, context: Arc<SharedContext>, )
src/fabric.rs:288
Method
in_domain
(&mut self, _key: &[u8])
src/storage.rs:16
Method
init
( fabric: Arc<Fabric>, config: &Config, meta: T, ring: RingDescription,
src/dht.rs:621
Method
init
( node: NodeId, config: Config, handle: tokio::reactor::Handle, )
src/fabric.rs:339
Method
init
( handle: tokio::reactor::Handle, addr: SocketAddr, meta: T, callback: Gossipe
src/gossip.rs:175
Method
inner
()
scripts/sanity.py:47
Method
insert
(&mut self, key: K, value: V, expire: T)
src/inflightmap.rs:44
Method
int_to_bitmap
(base: Version, bitmap: u32)
src/version_vector.rs:55
Method
into
(self)
src/fabric_msg.rs:149
Method
join_cluster
( fabric: Arc<Fabric>, config: &Config, meta: T, seeds: &[SocketAddr],
src/dht.rs:675
Method
listen
( listener: tokio::net::TcpListener, context: Arc<SharedContext>, handle: tokio::react
src/fabric.rs:218
Method
log_get_vec
(&self, log_key: (u64, u64))
src/storage.rs:263
Method
log_warn
(&self, msg: &str)
src/utils.rs:112
Function
main
()
src/main.rs:185
Function
merge
()
src/version_vector.rs:878
Function
message_response
()
src/resp.rs:360
Method
mix
(mut x: u64)
src/utils.rs:29
Method
new
(bvv: &BitmappedVersionVector)
src/cubes.rs:72
Method
new
(name: String, thread_count: usize)
src/workers.rs:39
Method
new
(base: Version, bitmap: u32)
src/version_vector.rs:67
Method
new
(a: u64, b: u64)
src/types.rs:20
Method
new
(replication_factor: u8, partitions: u16)
src/dht.rs:123
Method
new
()
src/inflightmap.rs:19
Method
new
( context: Rc<SharedContext>, token: Token, chan_tx: fmpsc::UnboundedSender<DbContext>
src/server.rs:71
Method
new
(context: Context, nodes: usize, consistency: ConsistencyLevel)
src/vnode.rs:125
Method
new
(dots_delta: BitmappedVersionVectorDelta)
src/vnode_sync.rs:109
Method
new
(context: Arc<SharedContext>, peer: NodeId)
src/fabric.rs:175
Method
new
(token: Token)
src/database.rs:86
Method
new
(status: NodeStatus, incarnation: Seq, meta: T)
src/gossip.rs:148
Method
new
(body: T)
src/resp.rs:106
Method
new
(path: P)
src/storage.rs:92
Method
new_bootstrap_receiver
( _db: &Database, _state: &mut VNodeState, peer: NodeId, cookie: Cookie, )
src/vnode_sync.rs:152
Method
new_bootstrap_sender
( _db: &Database, state: &mut VNodeState, peer: NodeId, msg: MsgSyncStart,
src/vnode_sync.rs:167
Method
new_empty
(num: u16, db: &Database, status: VNodeStatus)
src/vnode.rs:941
Method
new_sync_receiver
( _db: &Database, state: &mut VNodeState, peer: NodeId, cookie: Cookie, )
src/vnode_sync.rs:201
Method
new_sync_sender
( db: &Database, state: &mut VNodeState, peer: NodeId, msg: MsgSyncStart,
src/vnode_sync.rs:218
Method
node
(&self)
src/fabric.rs:361
Method
node_count
(&self)
src/gossip.rs:699
Function
norm
()
src/version_vector.rs:819
Method
on_connection
(inner: &Inner<T>, from: NodeId)
src/dht.rs:755
Method
on_message
(inner: &mut Inner<T>, from: NodeId, msg: FabricMsg)
src/dht.rs:764
Method
on_msg_ack
(&mut self, db: &Database, state: &mut VNodeState, msg: MsgSyncAck)
src/vnode_sync.rs:589
Method
on_msg_send
(&mut self, db: &Database, state: &mut VNodeState, msg: MsgSyncSend)
src/vnode_sync.rs:549
Function
parse_duration
(duration_text: &str)
src/config.rs:100
Function
parse_error
()
src/resp.rs:314
Function
parse_incomplete
()
src/resp.rs:308
Function
parse_size
(size_text: &str)
src/config.rs:112
Function
parse_valid_array
()
src/resp.rs:327
Function
parser_multiple2
()
src/resp.rs:340
Method
partial_cmp
(&self, other: &Pair<T, V>)
src/inflightmap.rs:110
Function
raw_hash
(key: &[u8])
src/hash.rs:23
Method
remove_node
(&self, peer: NodeId)
src/fabric.rs:129
Function
render_counter
(cube: Cube)
src/cubes.rs:357
Function
render_map
(cube: Cube)
src/cubes.rs:377
Function
render_set
(cube: Cube)
src/cubes.rs:392
Function
render_type
(cube: Cube)
src/cubes.rs:365
Function
render_value
(cube: Cube)
src/cubes.rs:337
Method
replication_factor
(&self)
src/dht.rs:861
Method
respond
(&mut self, response: RespValue)
src/database.rs:107
Method
respond_int
(&self, context: &mut Context, int: i64)
src/command.rs:513
Method
restore
( fabric: Arc<Fabric>, config: &Config, meta: T, serialized_ring: &[u8],
src/dht.rs:654
Method
running
(self)
scripts/sanity.py:85
Method
serialize
(ring: &Ring<T>)
src/dht.rs:132
Method
serialize
(item: FabricMsgRef)
src/fabric.rs:56
Function
serialize_bitmap
(value: &RoaringTreemap, serializer: S)
src/version_vector.rs:197
Method
speculate_buffer
Quickly speculate a buffer, checking whatever it has a complete resp objects or not. If succesfull returns the resp objects length in bytes.
src/resp.rs:116
Method
steady_connection
( socket: tokio::net::TcpStream, peer: NodeId, context: Arc<SharedContext>, )
src/fabric.rs:311
Method
strict_descends
(&self, other: &Self)
src/version_vector.rs:592
Method
syncs_inflight
(&self)
src/vnode.rs:185
Function
test
()
src/fabric.rs:518
Function
test_aae_converge_100
()
src/database.rs:1262
Function
test_aae_converge_50
()
src/database.rs:1267
← previous
next →
301–400 of 434, ranked by callers