Changeset 1951


Ignore:
Timestamp:
Feb 29, 2012, 10:14:41 PM (7 years ago)
Author:
ksherdy
Message:

Updated hash.hpp bit_slice method warning.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/hash.hpp

    r1948 r1951  
    1818///////////////////////////////////////////////////////////////////////////////
    1919//
    20 // bit_slice, byte_slice slice 'forward' relative to the 'idx' argument
     20// WARNING: Pad or Perish
     21//
     22// 'bit_slice' and 'byte_slice' slice forward via a static cast to the
     23// uint64_t type at the position of the base address + idx
    2124// and require sizeof(uint64_t) bytes of addtional padding.
    2225//
     
    2932//static IDISA_ALWAYS_INLINE uint64_t byte_slice(const uint8_t * base, const int32_t byte_idx, const uint32_t slice_bytes);
    3033static IDISA_ALWAYS_INLINE uint64_t bit_slice(const uint8_t * base, const int32_t bit_idx, const uint32_t slice_bits);
    31 
    3234static IDISA_ALWAYS_INLINE uint64_t compress_hash(const uint8_t * h0, const uint8_t * h1, const uint32_t slice_bits, const uint32_t hash_bits);
    3335
Note: See TracChangeset for help on using the changeset viewer.