[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r25319 - gnunet/src/include
From: |
gnunet |
Subject: |
[GNUnet-SVN] r25319 - gnunet/src/include |
Date: |
Fri, 7 Dec 2012 23:13:35 +0100 |
Author: grothoff
Date: 2012-12-07 23:13:35 +0100 (Fri, 07 Dec 2012)
New Revision: 25319
Modified:
gnunet/src/include/gnunet_container_lib.h
Log:
-function never existed
Modified: gnunet/src/include/gnunet_container_lib.h
===================================================================
--- gnunet/src/include/gnunet_container_lib.h 2012-12-07 18:14:58 UTC (rev
25318)
+++ gnunet/src/include/gnunet_container_lib.h 2012-12-07 22:13:35 UTC (rev
25319)
@@ -1082,25 +1082,7 @@
GNUNET_CONTAINER_HeapIterator iterator,
void *iterator_cls);
-
/**
- * Return a *uniform* random element from the heap. Choose a random
- * number between 0 and heap size and then walk directly to it.
- * This cost can be between 0 and n, amortized cost of logN.
- *
- * @param heap heap to choose random element from
- * @param max how many nodes from the heap to choose from
- *
- * @return data stored at the chosen random node,
- * NULL if the heap is empty.
- *
- */
-void *
-GNUNET_CONTAINER_heap_get_random (struct GNUNET_CONTAINER_Heap *heap,
- uint32_t max);
-
-
-/**
* Perform a random walk of the tree. The walk is biased
* towards elements closer to the root of the tree (since
* each walk starts at the root and ends at a random leaf).
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r25319 - gnunet/src/include,
gnunet <=