This file is indexed.

/usr/include/singular/singular/kernel/spectrum/multicnt.h is in libsingular4-dev-common 1:4.1.0-p3+ds-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
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
// ----------------------------------------------------------------------------
//  multicnt.h
//  begin of file
//  Stephan Endrass, endrass@mathematik.uni-mainz.de
//  23.7.99
// ----------------------------------------------------------------------------

// ----------------------------------------------------------------------------
//  Description: the class multiCnt is a general multi purpose counter.
//  The counter holds an array  cnt  of  N  integers.
//  The integer  last_inc  holds the index of the last incremented entry.
// ----------------------------------------------------------------------------

#ifndef MULTICNT_H
#define MULTICNT_H

class multiCnt
{
public:

    int *cnt;
    int N;
    int last_inc;

    multiCnt( );
    multiCnt( int );
    multiCnt( int,int );
    multiCnt( int,int* );
    multiCnt( const multiCnt& );

    void    copy_zero   ( void );
    void    copy_new    ( int );
    void    copy_delete ( void );
    void    copy_shallow( multiCnt& );
    void    copy_deep   ( const multiCnt& );

    void    set( int );

    void    inc      ( void );
    void    inc_carry( void );
    int     inc      ( int );
    //void    dec      ( void );
    //void    dec_carry( void );
    //int     dec      ( int );
};

// ----------------------------------------------------------------------------
//  zero init
// ----------------------------------------------------------------------------

inline  void    multiCnt::copy_zero( void )
{
    cnt      = (int*)NULL;
    N        = 0;
    last_inc = 0;
}

// ----------------------------------------------------------------------------
//  copy a counter by reference
// ----------------------------------------------------------------------------

inline  void multiCnt::copy_shallow( multiCnt &C )
{
    cnt      = C.cnt;
    N        = C.N;
    last_inc = C.last_inc;
}

// ----------------------------------------------------------------------------
//  zero constructor
// ----------------------------------------------------------------------------

inline multiCnt::multiCnt( )
{
    copy_zero( );
}

#endif /* MULTICNT_H */

// ----------------------------------------------------------------------------
//  multicnt.h
//  end of file
// ----------------------------------------------------------------------------