Lines Matching refs:IntT
38 template <class IntT>
39 inline IntT getRandomInteger(IntT Min = 0,
40 IntT Max = std::numeric_limits<IntT>::max()) {
41 std::uniform_int_distribution<IntT> dist(Min, Max);
51 template <class IntT>
52 inline std::vector<IntT> getDuplicateIntegerInputs(size_t N) { in getDuplicateIntegerInputs()
53 std::vector<IntT> inputs(N, static_cast<IntT>(-1)); in getDuplicateIntegerInputs()
57 template <class IntT>
58 inline std::vector<IntT> getSortedIntegerInputs(size_t N) { in getSortedIntegerInputs()
59 std::vector<IntT> inputs; in getSortedIntegerInputs()
65 template <class IntT>
66 std::vector<IntT> getSortedLargeIntegerInputs(size_t N) { in getSortedLargeIntegerInputs()
67 std::vector<IntT> inputs; in getSortedLargeIntegerInputs()
74 template <class IntT>
75 std::vector<IntT> getSortedTopBitsIntegerInputs(size_t N) { in getSortedTopBitsIntegerInputs()
76 std::vector<IntT> inputs = getSortedIntegerInputs<IntT>(N); in getSortedTopBitsIntegerInputs()
77 for (auto& E : inputs) E <<= ((sizeof(IntT) / 2) * CHAR_BIT); in getSortedTopBitsIntegerInputs()
81 template <class IntT>
82 inline std::vector<IntT> getReverseSortedIntegerInputs(size_t N) { in getReverseSortedIntegerInputs()
83 std::vector<IntT> inputs; in getReverseSortedIntegerInputs()
92 template <class IntT>
93 std::vector<IntT> getPipeOrganIntegerInputs(size_t N) { in getPipeOrganIntegerInputs()
94 std::vector<IntT> v; v.reserve(N); in getPipeOrganIntegerInputs()
101 template <class IntT>
102 std::vector<IntT> getRandomIntegerInputs(size_t N) { in getRandomIntegerInputs()
103 std::vector<IntT> inputs; in getRandomIntegerInputs()
105 inputs.push_back(getRandomInteger<IntT>()); in getRandomIntegerInputs()