/* * ulist is a generic data structure to hold a collection of unique u64 * values. The only operations it supports is adding to the list and * enumerating it. * It is possible to store an auxiliary value along with the key. *
*/ struct ulist_iterator { struct list_head *cur_list; /* hint to start search */
};
/* * element of the list
*/ struct ulist_node {
u64 val; /* value to store */
u64 aux; /* auxiliary value saved along with the val */
struct list_head list; /* used to link node */ struct rb_node rb_node; /* used to speed up search */
};
struct ulist { /* * number of elements stored in list
*/ unsignedlong nnodes;
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.