Sun, 22 Dec 2024 22:10:04 +0100
don't trust that size_t always has word width
it should be the case on all platforms supported by UCX, but it's not strictly defined in POSIX that it must be the case
<!-- begin header --> <div id="page-header"> <span>UAP Common Extensions</span> <img src="uaplogo.png" alt="UAP Core"> </div> <!-- end header --> <!-- begin navigation --> <div id="sidebar"> <div class="nav"> <h3>Getting Started</h3> <ul> <li><a href="index.html">Overview</a></li> <li><a href="install.html">Build Instructions</a></li> <li><a href="license.html">License</a></li> </ul> </div> <div class="nav"> <h3>Documentation</h3> <ul> <li><a href="features.html">UCX 3</a> <li><a href="modules-ucx2.html">Modules</a> <ul> <li><a href="modules-ucx2.html#allocator">Allocator</a></li> <li><a href="modules-ucx2.html#array">Array</a></li> <li><a href="modules-ucx2.html#avl-tree">AVL Tree</a></li> <li><a href="modules-ucx2.html#buffer">Buffer</a></li> <li><a href="modules-ucx2.html#list">List</a></li> <li><a href="modules-ucx2.html#logging">Logging</a></li> <li><a href="modules-ucx2.html#map">Map</a></li> <li><a href="modules-ucx2.html#memory-pool">Memory Pool</a></li> <li><a href="modules-ucx2.html#properties">Properties</a></li> <li><a href="modules-ucx2.html#stack">Stack</a></li> <li><a href="modules-ucx2.html#string">String</a></li> <li><a href="modules-ucx2.html#testing">Testing</a></li> <li><a href="modules-ucx2.html#utilities">Utilities</a></li> </ul> </li> <li><a target="_blank" href="api-2.1/index.html">API Reference</a></li> </ul> </div> <div class="nav"> <h3>Repositories</h3> <ul> <li><a target="_blank" href="https://develop.uap-core.de/hg/ucx/">UAP Core Repository</a></li> <li><a target="_blank" href="https://sourceforge.net/p/ucx/">Source Forge</a></li> </ul> </div> <div class="nav"> <h3>Partners</h3> <ul> <li><a target="_blank" href="https://www.unixwork.de">UNIXwork</a></li> </ul> </div> </div> <!-- end navigation --> <!-- begin content --> <div id="content">