Function mmtk::util::metadata::side_metadata::sanity::verify_no_overlap_contiguous
source · fn verify_no_overlap_contiguous(
spec_1: &SideMetadataSpec,
spec_2: &SideMetadataSpec
) -> Result<()>
Expand description
(For contiguous metadata) Checks whether two input specifications overlap, considering their offsets and maximum size.
Returns Err
if overlap is detected.
Arguments:
spec_1
: first target specificationspec_2
: second target specification