Records

Functions

  • template <typename LockType>
    LockType DeduceLockType (Lock<LockType> * )

    Utility to deduce the LockType given any subclass of Lock

    <LockType

    >.

  • size_t NextPrime (size_t n)

    Returns a prime number that reasonably accommodates a hash table of the given

    number of entries. Each number is selected to be slightly less than twice the

    previous and as far as possible from the nearest two powers of two.

    Defined at line 60 of file ../../zircon/system/ulib/lockdep/include/lockdep/common.h