This file is indexed.

/usr/include/wvstreams/wvhash.h is in libwvstreams-dev 4.6.1-2build1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/* -*- Mode: C++ -*-
 * Worldvisions Weaver Software:
 *   Copyright (C) 1997-2002 Net Integration Technologies, Inc.
 *
 * Common hash functions for use with wvscatterhash.h and wvhashtable.h.
 */
#ifndef __WVHASH_H
#define __WVHASH_H

#include "wvstring.h"

// predefined hashing functions (note: string hashes are case-insensitive)
unsigned WvHash(WvStringParm s);
unsigned WvHash(const char *s);
unsigned WvHash(const int &i);
unsigned WvHash(const void *p);


// Default comparison function used by WvHashTable
template <class K>
struct OpEqComp
{
    static bool compare(const K *key1, const K *key2)
        { return *key1 == *key2; }
};


// Case-insensitive comparison function for WvHashTable
template <class K>
struct StrCaseComp
{
    static bool compare(const K *key1, const K *key2)
        { return strcasecmp(*key1, *key2) == 0; }
};

#endif // __WVHASH_H