ptwm_core
ptwm_core::index
EOF sentinel and tensor index.
ptwm_core::index
EOF sentinel and tensor index.
ptwm_core::index
crates/ptwm-core/src/index.rs:1mod indexEOF sentinel and tensor index.
ptwm_core::index::EOF_SENTINEL
crates/ptwm-core/src/index.rs:6pub const EOF_SENTINELptwm_core::index::IndexEntry
crates/ptwm-core/src/index.rs:9pub struct IndexEntryptwm_core::index::name_hash
crates/ptwm-core/src/index.rs:62pub fn name_hash(name: &str) -> u64ptwm_core::index::parse_index
crates/ptwm-core/src/index.rs:25pub fn parse_index(buf: &[u8]) -> Result<Vec<IndexEntry>, PtwmCoreError>ptwm_core::index::verify_eof_sentinel
crates/ptwm-core/src/index.rs:66pub fn verify_eof_sentinel(buf: &[u8]) -> Result<(), PtwmCoreError>ptwm_core::index::write_index
crates/ptwm-core/src/index.rs:15pub fn write_index(entries: &mut [IndexEntry], out: &mut Vec<u8>)