This file is indexed.

/usr/include/sipxtapi/mp/MpDspUtilsShift.h is in libsipxtapi-dev 3.3.0~test17-2.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
//  
// Copyright (C) 2007 SIPfoundry Inc. 
// Licensed by SIPfoundry under the LGPL license. 
//  
// Copyright (C) 2007 SIPez LLC. 
// Licensed to SIPfoundry under a Contributor Agreement. 
//  
// $$ 
////////////////////////////////////////////////////////////////////////////// 

// Author: Alexander Chemeris <Alexander DOT Chemeris AT SIPez DOT com>

#ifndef _MpDspUtilsShift_h_
#define _MpDspUtilsShift_h_

/**
*  @file
*
*  DO NOT INCLUDE THIS FILE DIRECTLY! This files is designed to be included
*  to <mp/MpDspUtils.h> and should not be used outside of it.
*/

/* ============================ INLINE METHODS ============================ */

void MpDspUtils::shl16_I(int32_t &a, unsigned scale)
{
   a = shl16(a, scale);
}

int32_t MpDspUtils::shl16(int32_t a, unsigned scale)
{
   const int32_t thresold = INT16_MAX>>scale;
   return (a>=thresold) ? INT16_MAX : 
                          a<-thresold ? -INT16_MAX :
                                        a<<scale;
}

void MpDspUtils::shl32_I(int32_t &a, unsigned scale)
{
   a = shl32(a, scale);
}

int32_t MpDspUtils::shl32(int32_t a, unsigned scale)
{
   const int32_t thresold = INT32_MAX>>scale;
   return (a>=thresold) ? INT32_MAX : 
                          a<-thresold ? -INT32_MAX :
                                        a<<scale;
}

#endif  // _MpDspUtilsShift_h_