/usr/include/polybori/groebner/Long64From32BitsPair.h is in libbrial-groebner-dev 1.2.0-2.
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 | // -*- c++ -*-
//*****************************************************************************
/** @file Long64From32BitsPair.h
*
* @author Alexander Dreyer
* @date 2012-02-23
*
* This file includes the definition of the class @c Long64From32BitsPair.
*
* @par Copyright:
* (c) 2012 by The PolyBoRi Team
*
**/
//*****************************************************************************
#ifndef polybori_groebner_Long64From32BitsPair_h_
#define polybori_groebner_Long64From32BitsPair_h_
// include basic definitions
#include "groebner_defs.h"
#include "PseudoLongLong.h"
BEGIN_NAMESPACE_PBORIGB
/** @class Long64From32BitsPairBase
* @brief This class defines an auxiliary class for @c Long64From32BitsPair.
*
**/
template <unsigned long High, unsigned long Low, unsigned SizeOfLong>
class Long64From32BitsPairBase;
template <unsigned long High, unsigned long Low>
class Long64From32BitsPairBase<High, Low, 4> {
public:
static PseudoLongLong<High, Low> get() {
return PseudoLongLong<High, Low>();
}
};
template <unsigned long High,
unsigned long Low>
class Long64From32BitsPairBase<High, Low, 8> {
public:
typedef unsigned long long_type;
static long_type get() { return (High << sizeof(long_type)*4) + Low; }
};
/** @class Long64From32BitsPair
* @brief This class defines Long64From32BitsPair.
*
**/
template <unsigned long High, unsigned long Low>
class Long64From32BitsPair:
public Long64From32BitsPairBase<High, Low,
sizeof(unsigned long)> {
public:
typedef unsigned long long_type;
};
END_NAMESPACE_PBORIGB
#endif /* polybori_groebner_Long64From32BitsPair_h_ */
|