PTWM
ptwm_core

ptwm_core::index

EOF sentinel and tensor index.

ptwm_core::index

EOF sentinel and tensor index.

rsmod

ptwm_core::index

crates/ptwm-core/src/index.rs:1
mod index

EOF sentinel and tensor index.

rsconst

ptwm_core::index::EOF_SENTINEL

crates/ptwm-core/src/index.rs:6
pub const EOF_SENTINEL
rstype

ptwm_core::index::IndexEntry

crates/ptwm-core/src/index.rs:9
pub struct IndexEntry
rsfn

ptwm_core::index::name_hash

crates/ptwm-core/src/index.rs:62
pub fn name_hash(name: &str) -> u64
rsfn

ptwm_core::index::parse_index

crates/ptwm-core/src/index.rs:25
pub fn parse_index(buf: &[u8]) -> Result<Vec<IndexEntry>, PtwmCoreError>
rsfn

ptwm_core::index::verify_eof_sentinel

crates/ptwm-core/src/index.rs:66
pub fn verify_eof_sentinel(buf: &[u8]) -> Result<(), PtwmCoreError>
rsfn

ptwm_core::index::write_index

crates/ptwm-core/src/index.rs:15
pub fn write_index(entries: &mut [IndexEntry], out: &mut Vec<u8>)