src/algorithm/LAGraph_ConnectedComponents.c
static inline void ht_init
(
    int32_t *ht_key,
    int32_t *ht_val
)
{
    memset (ht_key, -1, sizeof (int32_t) * HASH_SIZE) ;
    memset (ht_val,  0, sizeof (int32_t) * HASH_SIZE) ;
}
// todo: the name "ht_val" is confusing.  It is not a value, but a count of
// the number of times the value x = ht_key [h] has been inserted into the
// hth position in the hash table.  It should be renamed ht_cnt.
the name "ht_val" is confusing.  It is not a value, but a count of
the number of times the value x = ht_key [h] has been inserted into the
hth position in the hash table.  It should be renamed ht_cnt.
the name " ht_val " is confusing . It is not a value but a count of the number of times the value x = ht_key [ h ] has been inserted into the hth position in the hash table . It should be renamed ht_cnt .
static inline void ht_init
(
    int32_t *ht_key,
    int32_t *ht_val
)
{
    memset (ht_key, -1, sizeof (int32_t) * HASH_SIZE) ;
    memset (ht_val,  0, sizeof (int32_t) * HASH_SIZE) ;
}
static inline void ht_init ( int32_t * ht_key , int32_t * ht_val ) { memset ( ht_key , -1 , sizeof ( int32_t ) * HASH_SIZE ) ; memset ( ht_val , 0 , sizeof ( int32_t ) * HASH_SIZE ) ; }
todo: the name "ht_val" is confusing.
todo : the name " ht_val " is confusing .