pike.git / src / post_modules / Nettle / nettle.cmod

version» Context lines:

pike.git/src/post_modules/Nettle/nettle.cmod:546:    0xE330A81A, 0x115B2B19, 0x020BD8ED, 0xF0605BEE,    0x24AA3F05, 0xD6C1BC06, 0xC5914FF2, 0x37FACCF1,    0x69E9F0D5, 0x9B8273D6, 0x88D28022, 0x7AB90321,    0xAE7367CA, 0x5C18E4C9, 0x4F48173D, 0xBD23943E,    0xF36E6F75, 0x0105EC76, 0x12551F82, 0xE03E9C81,    0x34F4F86A, 0xC69F7B69, 0xD5CF889D, 0x27A40B9E,    0x79B737BA, 0x8BDCB4B9, 0x988C474D, 0x6AE7C44E,    0xBE2DA0A5, 0x4C4623A6, 0x5F16D052, 0xAD7D5351,   };    - /*! @decl int(0..) crc32c(string(8bit) data, void|int seed) + /*! @decl int(0..) crc32c(string(8bit) data, void|int(0..) seed)    *! Implements the Castagnoli CRC, CRC32C. Hardware optimized on Intel    *! CPUs with SSE 4.2.    *!    *! @param seed    *! Can be fed with the result of the previous invocation to chain on new data.    *! Defaults to zero on virgin runs.    */ - PIKEFUN int(0..) crc32c(string(8bit) data, void|int seed) + PIKEFUN int(0..) crc32c(string(8bit) data, void|int(0..) seed)   {    unsigned int h = 0;    if(seed) {    if (TYPEOF(*seed) != PIKE_T_INT)    Pike_error("Bad argument type.\n");    h = seed->u.integer;    }   #ifdef HAVE_CRC32_INTRINSICS    if(supports_sse42)    {