ERIS CORE

◆ hash()

uint32_t Surface::hash ( const char *  s)
inlineprotected

Definition at line 183 of file ILI9341_t3_ERIS.h.

183  {
184  //uint32 djb2 string hash
185  uint32_t h = 5381;
186  int c;
187  while ((c = *s++)){
188  h = ((h << 5) + h) + c;
189  }
190  return h;
191  }
const char PROGMEM s[][16]
Definition: Eris.h:246
uint16_t h

References h, and s.

Referenced by Surface().

+ Here is the caller graph for this function: