gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r33757 - gnunet/src/dht


From: gnunet
Subject: [GNUnet-SVN] r33757 - gnunet/src/dht
Date: Mon, 23 Jun 2014 00:19:02 +0200

Author: grothoff
Date: 2014-06-23 00:19:02 +0200 (Mon, 23 Jun 2014)
New Revision: 33757

Modified:
   gnunet/src/dht/gnunet_dht_profiler.c
Log:
-fix doxygen

Modified: gnunet/src/dht/gnunet_dht_profiler.c
===================================================================
--- gnunet/src/dht/gnunet_dht_profiler.c        2014-06-22 21:23:23 UTC (rev 
33756)
+++ gnunet/src/dht/gnunet_dht_profiler.c        2014-06-22 22:19:02 UTC (rev 
33757)
@@ -21,7 +21,7 @@
 /**
  * @file dht/gnunet_dht_profiler.c
  * @brief Profiler for GNUnet DHT
- * @author Sree Harsha Totakura <address@hidden> 
+ * @author Sree Harsha Totakura <address@hidden>
  */
 
 #include "platform.h"
@@ -114,7 +114,7 @@
   struct GNUNET_DHT_GetHandle *dht_get;
 
   /**
-   * The hash of the @put_data
+   * The hash of the @e put_data
    */
   struct GNUNET_HashCode hash;
 
@@ -124,7 +124,7 @@
   GNUNET_SCHEDULER_TaskIdentifier delay_task;
 
   /**
-   * The size of the put_data
+   * The size of the @e put_data
    */
   uint16_t put_data_size;
 
@@ -212,14 +212,14 @@
 {
   struct ActiveContext *ac;
   unsigned int cnt;
-  
+
   if (NULL != a_ctx)
   {
     for (cnt=0; cnt < num_peers; cnt++)
     {
       if (NULL != a_ctx[cnt].op)
         GNUNET_TESTBED_operation_done (a_ctx[cnt].op);
-      
+
       /* Cleanup active context if this peer is an active peer */
       ac = a_ctx[cnt].ac;
       if (NULL == ac)
@@ -293,7 +293,7 @@
  * @param size number of bytes in @a data
  * @param data pointer to the result data
  */
-static void 
+static void
 get_iter (void *cls,
           struct GNUNET_TIME_Absolute exp,
           const struct GNUNET_HashCode *key,
@@ -306,7 +306,7 @@
 {
   struct ActiveContext *ac = cls;
   struct ActiveContext *get_ac = ac->get_ac;
-  
+
   if (get_ac->put_data_size != size)
   {
     DEBUG ("Found a GET with incorrect data length (this may happen, but very 
unlikely)\n");
@@ -413,7 +413,7 @@
   ac->put_data_size += GNUNET_CRYPTO_random_u32 (GNUNET_CRYPTO_QUALITY_WEAK,
                                                  (63*1024));
   ac->put_data = GNUNET_malloc (ac->put_data_size);
-  GNUNET_CRYPTO_random_block (GNUNET_CRYPTO_QUALITY_WEAK, 
+  GNUNET_CRYPTO_random_block (GNUNET_CRYPTO_QUALITY_WEAK,
                               ac->put_data, ac->put_data_size);
   GNUNET_CRYPTO_hash (ac->put_data, ac->put_data_size, &ac->hash);
   DEBUG ("Doing a DHT PUT with data of size %u\n", ac->put_data_size);
@@ -487,7 +487,7 @@
  * @param cls the active context
  * @param op_result service handle returned from the connect adapter
  */
-static void 
+static void
 dht_disconnect (void *cls, void *op_result)
 {
   struct ActiveContext *ac = cls;
@@ -560,7 +560,7 @@
   }
   INFO ("%u peers started\n", num_peers);
   a_ctx = GNUNET_malloc (sizeof (struct Context) * num_peers);
-  
+
   /* select the peers which actively participate in profiling */
   n_active = num_peers * PUT_PROBABILITY / 100;
   if (0 == n_active)
@@ -611,7 +611,7 @@
      const struct GNUNET_CONFIGURATION_Handle *config)
 {
   uint64_t event_mask;
-  
+
   if (0 == num_peers)
   {
     GNUNET_log (GNUNET_ERROR_TYPE_ERROR, _("Exiting as the number of peers is 
%u\n"),




reply via email to

[Prev in Thread] Current Thread [Next in Thread]