PostGIS  2.4.9dev-r@@SVN_REVISION@@

◆ quantile_llist_index_reset()

static void quantile_llist_index_reset ( struct quantile_llist qll)
static

Definition at line 971 of file rt_statistics.c.

References quantile_llist_index::element, quantile_llist::index, quantile_llist_index::index, quantile_llist::index_max, and RASTER_DEBUG.

Referenced by rt_band_get_quantiles_stream().

971  {
972  uint32_t i = 0;
973 
974  RASTER_DEBUG(5, "resetting index");
975  for (i = 0; i < qll->index_max; i++) {
976  qll->index[i].index = -1;
977  qll->index[i].element = NULL;
978  }
979 }
struct quantile_llist_element * element
Definition: librtcore.h:2369
unsigned int uint32_t
Definition: uthash.h:78
uint32_t index_max
Definition: librtcore.h:2354
#define RASTER_DEBUG(level, msg)
Definition: librtcore.h:295
struct quantile_llist_index * index
Definition: librtcore.h:2353
Here is the caller graph for this function: