This file is indexed.

/usr/include/BALL/CONCEPT/timeStamp.iC is in libball1.4-dev 1.4.1+20111206-3.

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
// -*- Mode: C++; tab-width: 2; -*-
// vi: set ts=2:
//

BALL_INLINE
PreciseTime::PreciseTime(long secs, long usecs)
	
	:	secs_(secs),
		usecs_(usecs)
{
}

BALL_INLINE
PreciseTime::~PreciseTime()
	
{
}

BALL_INLINE
void PreciseTime::set(const PreciseTime& time)
	
{
	secs_ = time.secs_;
	usecs_ = time.usecs_;
}

BALL_INLINE
void PreciseTime::set(long secs, long usecs)
	
{
	secs_ = secs;
	usecs_ = usecs;
}

BALL_INLINE
const PreciseTime& PreciseTime::operator = (const PreciseTime& time)
	
{
	set(time);
	return *this;
}

BALL_INLINE
void PreciseTime::clear() 
	
{
	secs_ = 0;
	usecs_ = 0;
}

BALL_INLINE
bool PreciseTime::operator < (const PreciseTime& time) const
	
{
	return ((secs_ < time.secs_) || ((secs_ == time.secs_) && (usecs_ < time.usecs_)));
}

BALL_INLINE
bool PreciseTime::operator > (const PreciseTime& time) const 
	
{
	return ((secs_ > time.secs_) || ((secs_ == time.secs_) && (usecs_ > time.usecs_)));
}

BALL_INLINE
bool PreciseTime::operator == (const PreciseTime& time) const 
	
{
	return ((secs_ == time.secs_) && (usecs_ == time.usecs_));
}

BALL_INLINE
long PreciseTime::getSeconds() const 
	
{
	return secs_;
}

BALL_INLINE
long PreciseTime::getMicroSeconds() const 
	
{
	return usecs_;
}

BALL_INLINE
bool TimeStamp::isOlderThan(const PreciseTime& time) const 
	
{
	return (time_ < time);
}

BALL_INLINE
bool TimeStamp::isNewerThan(const PreciseTime& time) const 
	
{
	return (time_ > time);
}

BALL_INLINE
bool TimeStamp::isOlderThan(const TimeStamp& stamp) const 
	
{
	return (time_ < stamp.time_);
}

BALL_INLINE
bool TimeStamp::isNewerThan(const TimeStamp& stamp) const 
	
{
	return (time_ > stamp.time_);
}

BALL_INLINE
void TimeStamp::clear()
	
{
	time_.clear();
}

BALL_INLINE
TimeStamp::~TimeStamp()
	
{
	clear();
}

BALL_INLINE
void TimeStamp::stamp(const PreciseTime& time) 
	
{
	// in the default case, stamp with the current 
	// time
	if (time == PreciseTime::ZERO)
	{
		time_ = PreciseTime::now();
	}
	else 
	{
		time_ = time;
	}
}

BALL_INLINE
const PreciseTime& TimeStamp::getTime() const 
	
{
	return time_;
}

BALL_INLINE
void TimeStamp::write(PersistenceManager& pm) const
	
{
	pm.writeStorableObject(time_, "time_");
}

BALL_INLINE
bool TimeStamp::read(PersistenceManager& pm)
	
{
	return pm.readStorableObject(time_, "time_");
}

BALL_INLINE
bool TimeStamp::operator == (const TimeStamp& stamp) const 
	
{
	return time_ == stamp.time_;
}