pike.git / src / pike_memory.h

version» Context lines:

pike.git/src/pike_memory.h:155:   /*    * The purpose of this function is to avoid dead store elimination in cases when    * sensitive data has to be cleared from memory.    */   static inline void ATTRIBUTE((unused)) * guaranteed_memset(void * p, int c, size_t n) {    volatile char * _p = (char *)p;    while (n--) *_p++ = c;    return (void *)p;   }    - #ifdef __x86_64__ + #ifdef HANDLES_UNALIGNED_MEMORY_ACCESS   /* it is faster to just do the unaligned operation. */   static inline UINT64 ATTRIBUTE((unused)) get_unaligned64(const void *ptr) {    return *(UINT64*)ptr;   }      static inline unsigned INT32 ATTRIBUTE((unused)) get_unaligned32(const void *ptr) {    return *(unsigned INT32*)ptr;   }      static inline unsigned INT16 ATTRIBUTE((unused)) get_unaligned16(const void *ptr) {