This file is indexed.

/usr/share/gap/pkg/tomlib/gap/tmadmin.tmd is in gap-table-of-marks 1r2p6-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
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
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
#############################################################################
##
#W  tmadmin.tmd          GAP table of marks library           Thomas Merkwitz
##
#H  @(#)$Id: tmadmin.tmd,v 1.8 2010/05/19 15:56:24 gap Exp $
##
#Y  Copyright (C)  1997,  Lehrstuhl D fuer Mathematik,  RWTH Aachen,  Germany
##
##  This file contains the declarations of all functions and variables to
##  handle the table of marks library.
##
Revision.( "tomlib/gap/tmadmin_tmd" ) :=
    "@(#)$Id: tmadmin.tmd,v 1.8 2010/05/19 15:56:24 gap Exp $";


#############################################################################
##
#V  LIBTOMKNOWN
##
##  <#GAPDoc Label="LIBTOMKNOWN">
##  <ManSection>
##  <Var Name="LIBTOMKNOWN"/>
##
##  <Description>
##  <C>LIBTOMKNOWN</C> is a record that controls the loading of data files of the
##  &GAP; library of tables of marks.
##  It has the following components.
##  <List>
##  <Mark><C>ACTUAL</C> </Mark>
##  <Item>
##      the name of the file to be read at the moment
##      (set by <C>SetActualLibFileName</C>),
##  </Item>
##  <Mark><C>LOADSTATUS</C> </Mark>
##  <Item>
##      a record whose components are names of files in the library of
##      tables of marks,
##      with value a list whose first entry is one of <C>"loaded"</C>,
##      <C>"unloaded"</C>, <C>"userloaded"</C> and whose second entry is an integer
##      that controls when the corresponding tables of marks can be removed
##      from &GAP;,
##  </Item>
##  <Mark><C>MAX</C> </Mark>
##  <Item>
##      &GAP; remembers at most <C>MAX</C> of the previously loaded library
##      files (the default value is <M>10</M>),
##  </Item>
##  <Mark><C>UNLOAD</C> </Mark>
##  <Item>
##      is it allowed to remove previously loaded library files
##      (is set to <K>true</K> by default),
##  </Item>
##  <Mark><C>STDGEN</C> </Mark>
##  <Item>
##      a list describing standard generators of almost simple groups in the
##      table of marks library.
##  </Item>
##  </List>
##  <P/>
##  Additionally the names of the files already loaded occur as components of
##  <C>LIBTOMKNOWN</C>;
##  the corresponding values are given by the data of the files.
##  </Description>
##  </ManSection>
##  <#/GAPDoc>
##
DeclareGlobalVariable( "LIBTOMKNOWN" );
#T As soon as flushable records are supported, change the following lines!
#T InstallFlushableValue( LIBTOMKNOWN, rec(
InstallValue( LIBTOMKNOWN, rec(
    LOADSTATUS := rec(),
    UNLOAD := true,
    MAX := 10,
  ) );


#############################################################################
##
#R  IsLibTomRep
##
##  <#GAPDoc Label="IsLibTomRep">
## 
##  <ManSection>
##  <Filt Name="IsLibTomRep" Arg='obj' Type='Representation'/>
##
##  <Description>
##  Library tables of marks have their own representation. <C>IsLibTomRep</C> tests if <A>obj</A> is a library representation.
##  <!--  what does this mean?-->
##  </Description>
##  </ManSection>
##  <#/GAPDoc>
##
##  
DeclareRepresentation("IsLibTomRep", IsAttributeStoringRep,["sortperm"]);


#############################################################################
##
##  We replace the library function `TableOfMarksFromLibrary' that just
##  issues a warning about nonavailability of the Tables Of Marks Library.
##
if IsBoundGlobal( "TableOfMarksFromLibrary" ) then
  MakeReadWriteGlobal( "TableOfMarksFromLibrary" );
  UNBIND_GLOBAL( "TableOfMarksFromLibrary" );
fi;

#############################################################################
##
#F  TableOfMarksFromLibrary( <string> )
##
##  <#GAPDoc Label="TableOfMarksFromLibrary">
##  <ManSection>
##  <Func Name="TableOfMarksFromLibrary" Arg='string'/>
##  
##  <Returns>the table of marks with name <A>string</A>.</Returns>
## 
##  </ManSection>
##  <#/GAPDoc>
##
DeclareGlobalFunction( "TableOfMarksFromLibrary" );


#############################################################################
##
#F  ConvertToLibTom( <record> )
##
##  <#GAPDoc Label="ConvertToLibTom">
##  <ManSection>
##  <Func Name="ConvertToLibTom" Arg='record'/>
##
##  <Description>
##  <C>ConvertToLibTom</C> converts a record with components from
##  <C>TableOfMarksComponents</C> into a library table of marks object with the
##  corresponding attribute values set.
##  </Description>
##  </ManSection>
##  <#/GAPDoc>
##
DeclareGlobalFunction( "ConvertToLibTom" );


#############################################################################
##
#F  SetActualLibFileName( <filename> )
##
##  <#GAPDoc Label="SetActualLibFileName">
##  <ManSection>
##  <Func Name="SetActualLibFileName" Arg='filename'/>
##
##  <Description>
##  Sets the file name for <A>filename</A>.
##  </Description>
##  </ManSection>
##  <#/GAPDoc>
##
DeclareGlobalFunction( "SetActualLibFileName" );


#############################################################################
##
#F  LIBTOM( <arg> )
#F  AFLT( <source>, <destination>, <fusion> )
#F  ACLT( <identifier>, <component>, <value> )
##
##  <#GAPDoc Label="LIBTOM">
##  <ManSection>
##  <Func Name="LIBTOM" Arg='arg'/>
##  <Func Name="AFLT" Arg='source, destination, fusion'/>
##  <Func Name="ACLT" Arg='identifier, component, value'/>
##
##  <Description>
##  The library format of a library table of marks is a call to the function
##  <C>LIBTOM</C>, with the arguments sorted as in <C>TableOfMarksComponents</C>
##  .
##  <P/>
##  <C>AFLT</C> adds a fusion map <A>value</A> from the table of marks with name
##  <A>source</A> to the table of marks with name <A>destination</A>.
##  The fusion map is a list of positive integers, storing at position <M>i</M>
##  the position of the class in <A>destination</A> that contains the subgroups
##  in the <M>i</M>-th class of <A>source</A>.
##  <P/>
##  <C>ACLT</C> adds the value <A>value</A> of a component with name <A>component</A> to the
##  table of marks with identifier value <A>identifier</A> in the library of
##  tables of marks.
##  </Description>
##  </ManSection>
##  <#/GAPDoc>
##
DeclareGlobalFunction( "LIBTOM" );
DeclareGlobalFunction( "AFLT" );
DeclareGlobalFunction( "ACLT" );


#############################################################################
##
#F  MakeLIBTOMLIST()
##
##  <#GAPDoc Label="MakeLIBTOMLIST">
##  <ManSection>
##  <Func Name="MakeLIBTOMLIST" Arg=''/>
##
##  <Description>
##  </Description>
##  </ManSection>
##  <#/GAPDoc>
##
DeclareGlobalFunction( "MakeLIBTOMLIST" );


#############################################################################
##
#F  AllLibTomNames()
##
##  <#GAPDoc Label="AllLibTomNames">
##  <ManSection>
##  <Func Name="AllLibTomNames" Arg=''/>
##
## 
##  <Returns> a list containing all names of available library tables of
##  marks.</Returns>
##  
##  </ManSection>
##  <#/GAPDoc>
##
DeclareGlobalFunction( "AllLibTomNames" );


#############################################################################
##
#A  NamesLibTom( <string> )
#A  NamesLibTom( <tom> )
##
##  <#GAPDoc Label="NamesLibTom">
##  <ManSection>
##  <Attr Name="NamesLibTom" Arg='string'/>
##  <Attr Name="NamesLibTom" Arg='tom'/>
##
##  <Returns>
##  all names of the library table <A>tom</A> or of the library table with
##  name <A>string</A>
##  </Returns>
##  </ManSection>
##  <#/GAPDoc>
##
DeclareAttribute( "NamesLibTom", IsTableOfMarks and IsLibTomRep );
DeclareAttribute( "NamesLibTom", IsString );


#############################################################################
##
#A  NotifiedFusionsOfLibTom( <tom> )
#A  NotifiedFusionsOfLibTom( <string> )
#A  FusionsOfLibTom( <tom> )
#A  FusionsOfLibTom( <string> )
##
##  <#GAPDoc Label="NotifiedFusionsOfLibTom">
##  <ManSection>
##  <Attr Name="NotifiedFusionsOfLibTom" Arg='tom'/>
##  <Attr Name="NotifiedFusionsOfLibTom" Arg='string'/>
##  <Attr Name="FusionsOfLibTom" Arg='tom'/>
##  <Attr Name="FusionsOfLibTom" Arg='string'/>
##
##  <Description>
##  Are there any fusions from the library table of marks <A>tom</A> or  the
##  table of marks with name <A>string</A> into other library tables  marks?
##  <P/>
##  <C>NotifiedFusionsOfLibTom</C> returns the names of all such tables of marks.
##  <C>FusionsOfLibTom</C> returns the complete fusion maps. For that the
##  corresponding library file has to be loaded.
##  </Description>
##  </ManSection>
##  <#/GAPDoc>
##
DeclareAttribute( "NotifiedFusionsOfLibTom",
    IsTableOfMarks and IsLibTomRep );
DeclareAttribute( "NotifiedFusionsOfLibTom", IsString );

DeclareAttribute( "FusionsOfLibTom", IsTableOfMarks and IsLibTomRep );
DeclareAttribute( "FusionsOfLibTom", IsString );
#T what is the difference to `FusionsTom'?


#############################################################################
##
#A  NotifiedFusionsToLibTom( <tom> )
#A  NotifiedFusionsToLibTom( <string> )
#A  FusionsToLibTom( <tom> )
#A  FusionsToLibTom( <string> )
##
##  <#GAPDoc Label="NotifiedFusionsToLibTom">
##  <ManSection>
##  <Attr Name="NotifiedFusionsToLibTom" Arg='tom'/>
##  <Attr Name="NotifiedFusionsToLibTom" Arg='string'/>
##  <Attr Name="FusionsToLibTom" Arg='tom'/>
##  <Attr Name="FusionsToLibTom" Arg='string'/>
##
##  <Description>
##  Are there any fusions from other library table of marks to <A>tom</A> or the
##  table of marks with name <A>string</A>.
##  <P/>
##  <C>NotifiedFusionsToLibTom</C> returns the names of all such tables of marks.
##  <C>FusionsToLibTom</C> returns the complete fusion maps.
##  For that, the correponding library files have to be loaded.
##  </Description>
##  </ManSection>
##  <#/GAPDoc>
##
DeclareAttribute( "NotifiedFusionsToLibTom",
    IsTableOfMarks and IsLibTomRep );
DeclareAttribute( "NotifiedFusionsToLibTom", IsString );
#T replace this by `NamesOfFusionSources'!!

DeclareAttribute( "FusionsToLibTom", IsTableOfMarks and IsLibTomRep );
DeclareAttribute( "FusionsToLibTom", IsString );


#############################################################################
##
#F  UnloadTableOfMarksData()
##
##  <#GAPDoc Label="UnloadTableOfMarksData">
##  <ManSection>
##  <Func Name="UnloadTableOfMarksData" Arg=''/>
##
##  <Description>
##  <C>UnloadTableOfMarksData</C> clears the cache of tables of marks.
##  This can be used to free up to several hundred megabytes of space
##  in the current &GAP; session.
##  </Description>
##  </ManSection>
##  <#/GAPDoc>
##
DeclareGlobalFunction( "UnloadTableOfMarksData" );


#############################################################################
##
#E