Changeset 09ab0a9a in mainline for kernel/generic/src/adt/cht.c
- Timestamp:
- 2018-09-13T12:05:53Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- cc74cb5
- Parents:
- b2aaaa0
- git-author:
- Jiri Svoboda <jiri@…> (2018-09-13 07:09:46)
- git-committer:
- Jiri Svoboda <jiri@…> (2018-09-13 12:05:53)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/adt/cht.c
rb2aaaa0 r09ab0a9a 26 26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 27 */ 28 29 28 30 29 /** @addtogroup genericadt … … 287 286 */ 288 287 289 290 288 #include <adt/cht.h> 291 289 #include <adt/hash.h> … … 396 394 } wnd_t; 397 395 398 399 396 /* Sentinel node used by all buckets. Stores the greatest possible hash value.*/ 400 397 static const cht_link_t sentinel = { … … 403 400 .hash = -1 404 401 }; 405 406 402 407 403 static size_t size_to_order(size_t bucket_cnt, size_t min_order); … … 1683 1679 } 1684 1680 1685 1686 1681 #if 0 1687 1682 static void move_head(marked_ptr_t *psrc_head, marked_ptr_t *pdest_head) … … 2710 2705 } 2711 2706 2712 2713 2707 /** @} 2714 2708 */
Note:
See TracChangeset
for help on using the changeset viewer.