oss_src/graphlab/util/hopscotch_table.hpp
hopscotch_table(size_t len,
                    Hash hashfun = Hash(),
                    KeyEqual equalfun = KeyEqual()):
                                              data(next_powerof2(len) + 32),
                                              hashfun(hashfun),
                                              equalfun(equalfun),
                                              numel(0),
                                              mask(data.size() - 32 - 1) {
    }
/**
     * Constructs a hopscotch table of a given length.
     *
     * \param len This rounded up to the next power of 2 will be used as
     *            the length of the table. This table is not resizeable.
     * \param hashfun The hasher functor. Defaults to Hash()
     * \param equalfun A functor used to test for equality. Defaults to KeyEqual()
     */
Constructs a hopscotch table of a given length.
\param len This rounded up to the next power of 2 will be used as
the length of the table. This table is not resizeable.
\param hashfun The hasher functor. Defaults to Hash()
\param equalfun A functor used to test for equality.
Constructs a hopscotch table of a given length . \ param len This rounded up to the next power of 2 will be used as the length of the table . This table is not resizeable . \ param hashfun The hasher functor . Defaults to Hash () \ param equalfun A functor used to test for equality .
hopscotch_table(size_t len,
                    Hash hashfun = Hash(),
                    KeyEqual equalfun = KeyEqual()):
                                              data(next_powerof2(len) + 32),
                                              hashfun(hashfun),
                                              equalfun(equalfun),
                                              numel(0),
                                              mask(data.size() - 32 - 1) {
    }
hopscotch_table ( size_t len , Hash hashfun = Hash ( ) , KeyEqual equalfun = KeyEqual ( ) ) : data ( next_powerof2 ( len ) + 32 ) , hashfun ( hashfun ) , equalfun ( equalfun ) , numel ( 0 ) , mask ( data . size ( ) - 32 - 1 ) { }
Constructs a hopscotch table of a given length.
Constructs a hopscotch table of a given length .