hotspot/src/share/vm/libadt/vectset.cpp
changeset 38022 342a29d198d8
parent 24425 53764d2358f9
equal deleted inserted replaced
38019:28b6a97849ed 38022:342a29d198d8
    29 // Vector Sets - An Abstract Data Type
    29 // Vector Sets - An Abstract Data Type
    30 
    30 
    31 // BitsInByte is a lookup table which tells the number of bits that
    31 // BitsInByte is a lookup table which tells the number of bits that
    32 // are in the looked-up number.  It is very useful in VectorSet_Size.
    32 // are in the looked-up number.  It is very useful in VectorSet_Size.
    33 
    33 
    34 uint8_t bitsInByte[256] = {
    34 uint8_t bitsInByte[BITS_IN_BYTE_ARRAY_SIZE] = {
    35   0, 1, 1, 2, 1, 2, 2, 3, 1, 2, 2, 3, 2, 3, 3, 4,
    35   0, 1, 1, 2, 1, 2, 2, 3, 1, 2, 2, 3, 2, 3, 3, 4,
    36   1, 2, 2, 3, 2, 3, 3, 4, 2, 3, 3, 4, 3, 4, 4, 5,
    36   1, 2, 2, 3, 2, 3, 3, 4, 2, 3, 3, 4, 3, 4, 4, 5,
    37   1, 2, 2, 3, 2, 3, 3, 4, 2, 3, 3, 4, 3, 4, 4, 5,
    37   1, 2, 2, 3, 2, 3, 3, 4, 2, 3, 3, 4, 3, 4, 4, 5,
    38   2, 3, 3, 4, 3, 4, 4, 5, 3, 4, 4, 5, 4, 5, 5, 6,
    38   2, 3, 3, 4, 3, 4, 4, 5, 3, 4, 4, 5, 4, 5, 5, 6,
    39   1, 2, 2, 3, 2, 3, 3, 4, 2, 3, 3, 4, 3, 4, 4, 5,
    39   1, 2, 2, 3, 2, 3, 3, 4, 2, 3, 3, 4, 3, 4, 4, 5,