/usr/include/mlpack/core/arma_extend/hdf5_misc.hpp is in libmlpack-dev 1.0.10-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 | // To hack in u64/s64 support to Armadillo when it is not compiled with
// ARMA_64BIT_WORD.
namespace hdf5_misc {
#if defined(ARMA_USE_HDF5)
#if !(defined(ARMA_64BIT_WORD) || defined(ARMA_USE_U64S64))
#if defined(ULLONG_MAX)
template<>
inline
hid_t
get_hdf5_type< long long >()
{
return H5Tcopy(H5T_NATIVE_LLONG);
}
template<>
inline
hid_t
get_hdf5_type< unsigned long long >()
{
return H5Tcopy(H5T_NATIVE_ULLONG);
}
#endif
#endif
#endif
} // namespace hdf5_misc
|