mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-08-22 22:33:58 -07:00
layout tweak
This commit is contained in:
parent
6f9a57740f
commit
df39130082
1 changed files with 1 additions and 1 deletions
|
@ -108,8 +108,8 @@ struct Entry<K: Eq + PartialEq + Hash + Clone, V> {
|
||||||
/// buckets in the hash table. The maximum for both these parameters is 65535. This could be
|
/// buckets in the hash table. The maximum for both these parameters is 65535. This could be
|
||||||
/// increased by making the index variables larger (e.g. u32 instead of u16).
|
/// increased by making the index variables larger (e.g. u32 instead of u16).
|
||||||
pub struct RingBufferMap<K: Eq + PartialEq + Hash + Clone, V, const C: usize, const B: usize> {
|
pub struct RingBufferMap<K: Eq + PartialEq + Hash + Clone, V, const C: usize, const B: usize> {
|
||||||
salt: u32,
|
|
||||||
entries: [Entry<K, V>; C],
|
entries: [Entry<K, V>; C],
|
||||||
|
salt: u32,
|
||||||
buckets: [u16; B],
|
buckets: [u16; B],
|
||||||
entry_ptr: u16,
|
entry_ptr: u16,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue