|
MADNESS 0.10.1
|
#include <worldhashmap.h>


Public Member Functions | |
| bin () | |
| ~bin () | |
| void | clear () |
| bool | del (const keyT &key, int lockmode) |
| entryT * | find (const keyT &key, const int lockmode) const |
| std::pair< entryT *, bool > | insert (const datumT &datum, int lockmode) |
| std::size_t | size () const |
Public Attributes | |
| int | ninbin |
| entryT * | p |
Private Types | |
| typedef std::pair< const keyT, valueT > | datumT |
| typedef entry< keyT, valueT > | entryT |
Private Member Functions | |
| entryT * | match (const keyT &key) const |
| Private Member Functions inherited from madness::Spinlock | |
| Spinlock (int junk=0) | |
| Make and initialize a spinlock ... initial state is unlocked. | |
| virtual | ~Spinlock () |
| void | lock () const |
| Acquire the spinlock waiting if necessary. | |
| bool | try_lock () const |
| Try to acquire the spinlock ... return true on success, false on failure. | |
| void | unlock () const |
| Free a spinlock owned by this thread. | |
|
private |
|
inline |
References clear().
|
inline |
References madness::Spinlock::lock(), MADNESS_ASSERT, ninbin, p, and madness::Spinlock::unlock().
Referenced by ~bin().
|
inline |
References madness::Spinlock::lock(), ninbin, p, status, and madness::Spinlock::unlock().
|
inline |
|
inline |
|
inlineprivate |
|
inline |
References ninbin.
| int madness::Hash_private::bin< keyT, valueT >::ninbin |