This file is indexed.

/usr/include/cutter/gcutter/gcut-hash-table.h is in cutter-glib-support 1.1.7-1.2ubuntu3.

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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
/* -*- Mode: C; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
 *  Copyright (C) 2008-2009  Kouhei Sutou <kou@clear-code.com>
 *
 *  This library 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 3 of the License, or
 *  (at your option) any later version.
 *
 *  This library 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 Lesser General Public License for more details.
 *
 *  You should have received a copy of the GNU Lesser General Public License
 *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 *
 */

#ifndef __GCUT_HASH_TABLE_H__
#define __GCUT_HASH_TABLE_H__

#include <glib-object.h>
#include <gcutter/gcut-list.h>

G_BEGIN_DECLS

/**
 * SECTION: gcut-hash-table
 * @title: Assertion Utilities for GHashTable
 * @short_description: Utilities to write assertions related
 * to #GHashTable more easily.
 *
 * To write assertions, you need to check equality and show
 * expected and actual values.
 *
 * The utilities help you to write assertions that are
 * related to #GHashTable.
 */


/**
 * gcut_hash_table_equal:
 * @hash1: a #GHashTable to be compared.
 * @hash2: a #GHashTable to be compared.
 * @equal_func: a function that compares two values.
 *
 * Compares two #GHashTable, @hash1 and
 * @hash2. @equal_func is called for each values of
 * the same key of @hash1 and @hash2.
 *
 * e.g.:
 * |[
 * TODO
 * ]|
 *
 * Returns: TRUE if all same key's values of @hash1 and
 * @hash2 are reported TRUE by @equal_func, FALSE
 * otherwise.
 *
 * Since: 1.0.5
 */
gboolean         gcut_hash_table_equal          (GHashTable *hash1,
                                                 GHashTable *hash2,
                                                 GEqualFunc equal_func);

/**
 * gcut_hash_table_inspect:
 * @hash: a #GHashTable to be inspected.
 * @key_inspect_func: a function that inspects each key.
 * @value_inspect_func: a function that inspects each value.
 * @user_data: user data to pass to the function.
 *
 * Inspects @hash. Each key of @hash is inspected by
 * @key_inspect_func and each value of @hash is inspected by
 * @value_inspect_func. The returned string should be freed
 * when no longer needed.
 *
 * e.g.:
 * |[
 * TODO
 * ]|
 *
 * Returns: inspected @hash as a string.
 *
 * Since: 1.0.5
 */
gchar           *gcut_hash_table_inspect        (GHashTable *hash,
                                                 GCutInspectFunction key_inspect_func,
                                                 GCutInspectFunction value_inspect_func,
                                                 gpointer user_data);

/**
 * gcut_hash_table_inspect_sorted:
 * @hash: a #GHashTable to be inspected and sorted.
 * @key_inspect_func: a function that inspects each key.
 * @value_inspect_func: a function that inspects each value.
 * @key_compare_func: a function that compares each key.
 * @user_data: user data to pass to the function.
 *
 * Sorts @hash as key by @key_compare_func and inspects
 * it. Each key of @hash is inspected by @key_inspect_func
 * and each value of @hash is inspected by
 * @value_inspect_func. The returned string should be freed
 * when no longer needed.
 *
 * If @key_compare_func is %NULL, @hash isn't sorted. It is
 * the same behavior as gcut_hash_table_inspect().
 *
 * e.g.:
 * |[
 * TODO
 * ]|
 *
 * Returns: inspected and sorted @hash as a string.
 *
 * Since: 1.0.9
 */
gchar           *gcut_hash_table_inspect_sorted (GHashTable          *hash,
                                                 GCutInspectFunction  key_inspect_func,
                                                 GCutInspectFunction  value_inspect_func,
                                                 GCompareFunc         key_compare_func,
                                                 gpointer             user_data);

/**
 * gcut_hash_table_string_equal:
 * @hash1: a #GHashTable to be compared.
 * @hash2: a #GHashTable to be compared.
 *
 * Compares two #GHashTable, @hash1 and
 * @hash2. @hash1 and @hash2 should have string key and
 * string value.
 *
 * Returns: TRUE if all same key's values of @hash1 and
 * @hash2 are same string content, FALSE otherwise.
 *
 * Since: 1.0.5
 */
gboolean         gcut_hash_table_string_equal   (GHashTable *hash1,
                                                 GHashTable *hash2);

/**
 * gcut_hash_table_string_string_inspect:
 * @hash: a #GHashTable to be inspected.
 *
 * Inspects @hash. @hash should have string key and string
 * value. The returned string should be freed when no longer
 * needed.
 *
 * Returns: inspected @hash as a string.
 *
 * Since: 1.0.5
 */
gchar           *gcut_hash_table_string_string_inspect
                                                (GHashTable *hash);

/**
 * gcut_hash_table_string_string_copy:
 * @hash: a #GHashTable to be copied.
 *
 * Copy @hash. @hash should have string key and string
 * value. The returned @hash should be freed by
 * g_hash_table_unref().
 *
 * Returns: copied #GHashTable. It should be freed when no
 *          longer needed.
 *
 * Since: 1.0.8
 */
GHashTable      *gcut_hash_table_string_string_copy
                                                (GHashTable *hash);


G_END_DECLS

#endif /* __GCUT_HASH_TABLE_H__ */

/*
vi:nowrap:ai:expandtab:sw=4:ts=4
*/