[ Avaa Bypassed ]




Upload:

Command:

www-data@18.116.49.6: ~ $
#ifndef PERL_SEEN_HV_MACRO_H /* compile once */
#define PERL_SEEN_HV_MACRO_H

#if IVSIZE == 8
#define CAN64BITHASH
#endif

/*-----------------------------------------------------------------------------
 * Endianess, misalignment capabilities and util macros
 *
 * The following 3 macros are defined in this section. The other macros defined
 * are only needed to help derive these 3.
 *
 * U8TO16_LE(x)   Read a little endian unsigned 32-bit int
 * U8TO32_LE(x)   Read a little endian unsigned 32-bit int
 * U8TO28_LE(x)   Read a little endian unsigned 32-bit int
 * ROTL32(x,r)      Rotate x left by r bits
 * ROTL64(x,r)      Rotate x left by r bits
 * ROTR32(x,r)      Rotate x right by r bits
 * ROTR64(x,r)      Rotate x right by r bits
 */

#ifndef U32_ALIGNMENT_REQUIRED
  #if (BYTEORDER == 0x1234 || BYTEORDER == 0x12345678)
    #define U8TO16_LE(ptr)   (*((const U16*)(ptr)))
    #define U8TO32_LE(ptr)   (*((const U32*)(ptr)))
    #define U8TO64_LE(ptr)   (*((const U64*)(ptr)))
  #elif (BYTEORDER == 0x4321 || BYTEORDER == 0x87654321)
    #if defined(__GNUC__) && (__GNUC__>4 || (__GNUC__==4 && __GNUC_MINOR__>=3))
      #define U8TO16_LE(ptr)   (__builtin_bswap16(*((U16*)(ptr))))
      #define U8TO32_LE(ptr)   (__builtin_bswap32(*((U32*)(ptr))))
      #define U8TO64_LE(ptr)   (__builtin_bswap64(*((U64*)(ptr))))
    #endif
  #endif
#endif

#ifndef U8TO16_LE
    /* Without a known fast bswap32 we're just as well off doing this */
  #define U8TO16_LE(ptr)   ((U32)(ptr)[0]|(U32)(ptr)[1]<<8)
  #define U8TO32_LE(ptr)   ((U32)(ptr)[0]|(U32)(ptr)[1]<<8|(U32)(ptr)[2]<<16|(U32)(ptr)[3]<<24)
  #define U8TO64_LE(ptr)   ((U64)(ptr)[0]|(U64)(ptr)[1]<<8|(U64)(ptr)[2]<<16|(U64)(ptr)[3]<<24|\
                            (U64)(ptr)[4]<<32|(U64)(ptr)[5]<<40|\
                            (U64)(ptr)[6]<<48|(U64)(ptr)[7]<<56)
#endif

#ifdef CAN64BITHASH
  #ifndef U64TYPE
  /* This probably isn't going to work, but failing with a compiler error due to
   lack of uint64_t is no worse than failing right now with an #error.  */
  #define U64 uint64_t
  #endif
#endif

/* Find best way to ROTL32/ROTL64 */
#if defined(_MSC_VER)
  #include <stdlib.h>  /* Microsoft put _rotl declaration in here */
  #define ROTL32(x,r)  _rotl(x,r)
  #define ROTR32(x,r)  _rotr(x,r)
  #define ROTL64(x,r)  _rotl64(x,r)
  #define ROTR64(x,r)  _rotr64(x,r)
#else
  /* gcc recognises this code and generates a rotate instruction for CPUs with one */
  #define ROTL32(x,r)  (((U32)(x) << (r)) | ((U32)(x) >> (32 - (r))))
  #define ROTR32(x,r)  (((U32)(x) << (32 - (r))) | ((U32)(x) >> (r)))
  #define ROTL64(x,r)  ( ( (U64)(x) << (r) ) | ( (U64)(x) >> ( 64 - (r) ) ) )
  #define ROTR64(x,r)  ( ( (U64)(x) << ( 64 - (r) ) ) | ( (U64)(x) >> (r) ) )
#endif


#ifdef UV_IS_QUAD
#define ROTL_UV(x,r) ROTL64(x,r)
#define ROTR_UV(x,r) ROTL64(x,r)
#else
#define ROTL_UV(x,r) ROTL32(x,r)
#define ROTR_UV(x,r) ROTR32(x,r)
#endif
#if IVSIZE == 8
#define CAN64BITHASH
#endif

#endif

Filemanager

Name Type Size Permission Actions
EXTERN.h File 1.61 KB 0644
INTERN.h File 1.28 KB 0644
XSUB.h File 23.83 KB 0644
av.h File 3.22 KB 0644
bitcount.h File 850 B 0644
charclass_invlists.h File 3.92 MB 0644
config.h File 159.91 KB 0644
cop.h File 39.77 KB 0644
cv.h File 12.03 KB 0644
dosish.h File 5.33 KB 0644
dquote_inline.h File 1.82 KB 0644
ebcdic_tables.h File 48.39 KB 0644
embed.h File 100.29 KB 0644
embedvar.h File 22.92 KB 0644
fakesdio.h File 3.13 KB 0644
feature.h File 4.93 KB 0644
form.h File 1.43 KB 0644
git_version.h File 357 B 0644
gv.h File 10.46 KB 0644
handy.h File 123.57 KB 0644
hv.h File 24.95 KB 0644
hv_func.h File 10.53 KB 0644
hv_macro.h File 2.88 KB 0644
inline.h File 67.25 KB 0644
intrpvar.h File 28.74 KB 0644
invlist_inline.h File 2.91 KB 0644
iperlsys.h File 47.62 KB 0644
keywords.h File 6.43 KB 0644
l1_char_class_tab.h File 123.96 KB 0644
malloc_ctl.h File 1.49 KB 0644
metaconfig.h File 952 B 0644
mg.h File 2.94 KB 0644
mg_data.h File 4.9 KB 0644
mg_raw.h File 4.27 KB 0644
mg_vtable.h File 9.34 KB 0644
mydtrace.h File 1.65 KB 0644
nostdio.h File 3.31 KB 0644
op.h File 35.5 KB 0644
op_reg_common.h File 5.77 KB 0644
opcode.h File 91.09 KB 0644
opnames.h File 8.65 KB 0644
overload.h File 3.2 KB 0644
pad.h File 16.82 KB 0644
parser.h File 6.83 KB 0644
patchlevel-debian.h File 6.76 KB 0644
patchlevel.h File 5.25 KB 0644
perl.h File 263.84 KB 0644
perl_inc_macro.h File 6.08 KB 0644
perl_langinfo.h File 2.85 KB 0644
perlapi.h File 9.93 KB 0644
perlio.h File 9.24 KB 0644
perliol.h File 13.44 KB 0644
perlsdio.h File 527 B 0644
perlvars.h File 13 KB 0644
perly.h File 4.33 KB 0644
pp.h File 28.29 KB 0644
pp_proto.h File 11.85 KB 0644
proto.h File 252.88 KB 0644
reentr.h File 76.62 KB 0644
regcharclass.h File 136.87 KB 0644
regcomp.h File 47.78 KB 0644
regexp.h File 35.77 KB 0644
regnodes.h File 37.16 KB 0644
sbox32_hash.h File 55.95 KB 0644
scope.h File 11.61 KB 0644
stadtx_hash.h File 10.23 KB 0644
sv.h File 83.43 KB 0644
thread.h File 11.81 KB 0644
time64.h File 1.55 KB 0644
time64_config.h File 2 KB 0644
uconfig.h File 159.59 KB 0644
uni_keywords.h File 523.04 KB 0644
unicode_constants.h File 7.84 KB 0644
unixish.h File 5.07 KB 0644
utf8.h File 46.47 KB 0644
utfebcdic.h File 65.48 KB 0644
util.h File 9.78 KB 0644
uudmap.h File 904 B 0644
vutil.h File 7.81 KB 0644
warnings.h File 8.04 KB 0644
zaphod32_hash.h File 10.29 KB 0644