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 function | Defined at | Lines | Rust (from the file header) |
|---|---|---|---|
SmObjsInVoxels::SmObjsInVoxels<TYPE> | SmHashTable.h:1577 | 10 | [ObjsInVoxels] |
SmObjsInVoxels::~SmObjsInVoxels<TYPE> | SmHashTable.h:1605 | 1 | |
SmObjsInVoxels::MapIndicesToVoxelIndex | SmHashTable.h:1613 | 2 | [ObjsInVoxels::map_indices_to_voxel_index] |
SmObjsInVoxels::MapVoxelIndexToIndices | SmHashTable.h:1615 | 5 | [ObjsInVoxels::map_voxel_index_to_indices] |
SmObjsInVoxels::SetSize | SmHashTable.h:1695 | 36 | [ObjsInVoxels::set_size] |
SmObjsInVoxels::IncMaxItemCount | SmHashTable.h:1746 | 80 | inc_max_item_count (private) |
SmObjsInVoxels::FindPointItems | SmHashTable.h:1900 | 20 | [ObjsInVoxels::find_point_items] |
SmObjsInVoxels::MapPointToVoxel | SmHashTable.h:1929 | 68 | [ObjsInVoxels::map_point_to_voxel] |
SmObjsInVoxels::MapVoxelIndexToBBox | SmHashTable.h:2006 | 34 | [ObjsInVoxels::map_voxel_index_to_bbox] |
SmObjsInVoxels::Add | SmHashTable.h:2073 | 164 | [ObjsInVoxels::add] |
SmObjsInVoxels::Remove | SmHashTable.h:2254 | 50 | [ObjsInVoxels::remove] |
SmObjsInVoxels::FindCoincidentPairs | SmHashTable.h:2359 | 123 | [ObjsInVoxels::find_coincident_pairs] |
Module file-header table (19 rows)
| Rust | Upstream |
|---|---|
[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