solidcore

Units / geom

geom.hash_table green

Layer
3
Upstream lines
593
Functions
12
Rust module
geom::hash_table

Source: crates/solidcore/src/geom/hash_table.rs

Upstream: source/SMLib/inc/SmHashTable.h

Notes

GREEN: difftest 619 cases (19 fixture incl. SmHealData::Cache_CoinVertices replays on Points.pts/FitCrvPoints.pts/PointSet + 600 generated), 0 deferred, bit-identical; a 10,019-case run was also clean; upstream IncMaxItemCount use-after-free and FindCoincidentPairs head-only/aliasing quirks in findings.md. 12 fns; largest: SmObjsInVoxels::Add, SmObjsInVoxels::FindCoincidentPairs, SmObjsInVoxels::IncMaxItemCount, SmObjsInVoxels::MapPointToVoxel; unit-SCC #22 (220 units); 59 upstream test entry points reach this unit

Difftest

Cases
619
Passed
619
Deferred
0
Failed
0
Both errored
0
Max rel. error
0.0
Tolerance
1e-09 rel.
Seeds
16

Blocked by

Nothing: no deferred cases.

Report JSON (per-case results)

Dependencies

Depends on: geom.extent3d green geom.tol green geom.vector3d green

Soft dependencies: none

Dependents: none

Soft dependents: heal.heal_data_p1 partial heal.heal_data_p2 partial

Upstream functions

Upstream functionDefined atLinesRust (from the file header)
SmObjsInVoxels::SmObjsInVoxels<TYPE>SmHashTable.h:157710[ObjsInVoxels]
SmObjsInVoxels::~SmObjsInVoxels<TYPE>SmHashTable.h:16051
SmObjsInVoxels::MapIndicesToVoxelIndexSmHashTable.h:16132[ObjsInVoxels::map_indices_to_voxel_index]
SmObjsInVoxels::MapVoxelIndexToIndicesSmHashTable.h:16155[ObjsInVoxels::map_voxel_index_to_indices]
SmObjsInVoxels::SetSizeSmHashTable.h:169536[ObjsInVoxels::set_size]
SmObjsInVoxels::IncMaxItemCountSmHashTable.h:174680inc_max_item_count (private)
SmObjsInVoxels::FindPointItemsSmHashTable.h:190020[ObjsInVoxels::find_point_items]
SmObjsInVoxels::MapPointToVoxelSmHashTable.h:192968[ObjsInVoxels::map_point_to_voxel]
SmObjsInVoxels::MapVoxelIndexToBBoxSmHashTable.h:200634[ObjsInVoxels::map_voxel_index_to_bbox]
SmObjsInVoxels::AddSmHashTable.h:2073164[ObjsInVoxels::add]
SmObjsInVoxels::RemoveSmHashTable.h:225450[ObjsInVoxels::remove]
SmObjsInVoxels::FindCoincidentPairsSmHashTable.h:2359123[ObjsInVoxels::find_coincident_pairs]
Module file-header table (19 rows)
RustUpstream
[ObjsInVoxels]SmObjsInVoxels<TYPE>
[ObjsInVoxels::new]SmObjsInVoxels::SmObjsInVoxels
Drop (implicit)SmObjsInVoxels::~SmObjsInVoxels
[ObjsInVoxels::set_size]SmObjsInVoxels::SetSize
inc_max_item_count (private)SmObjsInVoxels::IncMaxItemCount
[ObjsInVoxels::map_indices_to_voxel_index]SmObjsInVoxels::MapIndicesToVoxelIndex
[ObjsInVoxels::map_voxel_index_to_indices]SmObjsInVoxels::MapVoxelIndexToIndices
[ObjsInVoxels::map_point_to_voxel]SmObjsInVoxels::MapPointToVoxel
[ObjsInVoxels::map_voxel_index_to_bbox]SmObjsInVoxels::MapVoxelIndexToBBox
[ObjsInVoxels::find_point_items]SmObjsInVoxels::FindPointItems
[ObjsInVoxels::add]SmObjsInVoxels::Add
[ObjsInVoxels::remove]SmObjsInVoxels::Remove
[ObjsInVoxels::find_coincident_pairs]SmObjsInVoxels::FindCoincidentPairs
[ObjsInVoxels::point_items], [ObjsInVoxels::hash_table], ...GetPointItems, m_sHashTable, ...
[PointItem]SmPointItem<TYPE>
[HashTable]SmHashTable<TYPE> (template bodies this unit needs)
[BucketItem]SmBucketItem<TYPE>
[gap_histogram_index]SM_HISTOGRAM_GAPSIZE_INDEX
ulong_from_f64 (private)the (ULONG)double conversions of MapPointToVoxel (x86-64 g++)

Upstream tests reaching this unit

prog_test:my_test_closed_sphere_properties, prog_test:my_test_squeeze_edge_tracks_removal, prog_test:my_test_missing_poles_refreshes_all_faces, SM_API_test:TestSmHealBrep, SM_API_test:TestSmHeal, prog_test:my_test_MakeFace, pt_TestFiles/MakeFace/ApproximateSphere.smp