MCPcopy Create free account
hub / github.com/LASzip/LASzip / search_chunk_table

Method search_chunk_table

src/lasreadpoint.cpp:788–796  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

786}
787
788U32 LASreadPoint::search_chunk_table(const U32 index, const U32 lower, const U32 upper)
789{
790 if (lower + 1 == upper) return lower;
791 U32 mid = (lower+upper)/2;
792 if (index >= chunk_totals[mid])
793 return search_chunk_table(index, mid, upper);
794 else
795 return search_chunk_table(index, lower, mid);
796}
797
798LASreadPoint::~LASreadPoint()
799{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected