This file is indexed.

/usr/include/likwid/ghash.h is in likwid 3.1.3+dfsg1-1.

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
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
/*
 * =======================================================================================
 *      Copyright (C) 1995-1997  Peter Mattis, Spencer Kimball and Josh MacDonald
 *
 *      This program is free software: you can redistribute it and/or modify it under
 *      the terms of the GNU Lesser General Public License as published by the Free Software
 *      Foundation, either version 2 of the License, or (at your option) any later
 *      version.
 *
 *      This program is distributed in the hope that it will be useful, but WITHOUT ANY
 *      WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
 *      PARTICULAR PURPOSE.  See the GNU General Public License for more details.
 *
 *      You should have received a copy of the GNU General Public License along with
 *      this program.  If not, see <http://www.gnu.org/licenses/>.
 *
 * =======================================================================================
 */

/*
 * Modified by the GLib Team and others 1997-2000.  See the AUTHORS
 * file for a list of people on the GLib Team.  See the ChangeLog
 * files for a list of changes.  These files are distributed with
 * GLib at ftp://ftp.gtk.org/pub/gtk/.
 */

#ifndef __G_HASH_H__
#define __G_HASH_H__

typedef char   gchar;
typedef short  gshort;
typedef long   glong;
typedef int    gint;
typedef gint   gboolean;

typedef unsigned char   guchar;
typedef unsigned short  gushort;
typedef unsigned long   gulong;
typedef unsigned int    guint;

typedef void* gpointer;
typedef const void *gconstpointer;

typedef struct _GHashTable  GHashTable;

typedef guint  (*GHashFunc)(gconstpointer  key);
typedef void            (*GDestroyNotify)       (gpointer       data);
typedef gboolean        (*GEqualFunc)           (gconstpointer  a,
                                                 gconstpointer  b);
typedef void            (*GHFunc)               (gpointer       key,
                                                 gpointer       value,
                                                 gpointer       user_data);

typedef gboolean  (*GHRFunc)  (gpointer  key,
                               gpointer  value,
                               gpointer  user_data);

typedef struct _GHashTableIter GHashTableIter;

struct _GHashTableIter
{
    /*< private >*/
    gpointer      dummy1;
    gpointer      dummy2;
    gpointer      dummy3;
    int           dummy4;
    gboolean      dummy5;
    gpointer      dummy6;
};

char* g_strdup (const char *str);

extern GHashTable* g_hash_table_new(GHashFunc hash_func, GEqualFunc key_equal_func);

extern void        g_hash_table_destroy(GHashTable  *hash_table);

extern gboolean    g_hash_table_insert(GHashTable  *hash_table,
                                            gpointer        key,
                                            gpointer        value);

extern gpointer    g_hash_table_lookup(GHashTable *hash_table,
                                            gconstpointer   key);

extern void        g_hash_table_foreach(GHashTable *hash_table,
                                            GHFunc          func,
                                            gpointer        user_data);

extern gpointer    g_hash_table_find(GHashTable *hash_table,
                                            GHRFunc         predicate,
                                            gpointer        user_data);

extern guint       g_hash_table_size(GHashTable *hash_table);

extern void        g_hash_table_iter_init(GHashTableIter *iter,
                                            GHashTable     *hash_table);

extern gboolean    g_hash_table_iter_next(GHashTableIter *iter,
                                            gpointer       *key,
                                            gpointer       *value);


/* Hash Functions
 */
extern gboolean g_str_equal    (gconstpointer  v1, gconstpointer  v2);
extern guint    g_str_hash     (gconstpointer  v);

extern gboolean g_int_equal    (gconstpointer  v1, gconstpointer  v2);
extern guint    g_int_hash     (gconstpointer  v);

extern gboolean g_int64_equal  (gconstpointer  v1, gconstpointer  v2);
extern guint    g_int64_hash   (gconstpointer  v);


#endif /* __G_HASH_H__ */