File: hash.h

package info (click to toggle)
gperf 3.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 7,144 kB
  • sloc: exp: 23,423; ansic: 18,851; cpp: 5,957; sh: 5,300; perl: 2,118; makefile: 634
file content (15 lines) | stat: -rw-r--r-- 398 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// This may look like C code, but it is really -*- C++ -*-

/* 
Copyright (C) 1988, 1992, 2000, 2002 Free Software Foundation
    written by Doug Lea <dl@rocky.oswego.edu>
*/

#ifndef _hash_h
#define _hash_h 1

/* a hash function for char[] arrays using the
   method described in Aho, Sethi, & Ullman, p 436. */
extern unsigned int hashpjw (const unsigned char *string, unsigned int len);

#endif