Searched refs:shuffle (Results 1 - 25 of 31) sorted by relevance

12

/freebsd-13-stable/tests/sys/cddl/zfs/tests/txg_integrity/
H A Dmake_patterns.py32 random.shuffle(perm)
/freebsd-13-stable/sys/geom/bde/
H A Dg_bde_lock.c103 * I have not worked out the statistical properties of this shuffle, but
108 * We include (and shuffle) an extra hash field in the stored version for
122 * The chosen shuffle algorithm only works as long as we have no more than 16
151 int shuffle[NLOCK_FIELDS]; local
158 g_bde_shuffle_lock(sha2, shuffle);
160 switch(shuffle[i]) {
185 le64enc(p, gl->lsector[shuffle[i] - 5]);
221 int shuffle[NLOCK_FIELDS]; local
228 g_bde_shuffle_lock(sc->sha2, shuffle);
230 switch(shuffle[
[all...]
/freebsd-13-stable/usr.bin/enigma/
H A Denigma.c33 static void shuffle(char *);
131 shuffle(deck);
142 shuffle(char deckary[]) function
/freebsd-13-stable/contrib/llvm-project/llvm/tools/bugpoint/
H A DFindBugs.cpp44 std::shuffle(PassesToRun.begin(), PassesToRun.end(), randomness);
H A DListReducer.h95 std::shuffle(ShuffledList.begin(), ShuffledList.end(), randomness);
97 // Check that random shuffle doesn't lose the bug
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dquarantine.h59 void shuffle(u32 State) { ::scudo::shuffle(Batch, Count, &State); } function in struct:scudo::QuarantineBatch
288 B->shuffle(Seed);
H A Dcommon.h92 template <typename T> inline void shuffle(T *A, u32 N, u32 *RandState) { function in namespace:scudo
H A Dprimary32.h311 shuffle(PointersArray, Count, &Sci->RandState);
370 // local array that we then shuffle before populating the batches.
H A Dprimary64.h323 // No need to shuffle the batches size class.
325 shuffle(PointersArray, Count, &Region->RandState);
/freebsd-13-stable/contrib/bmake/unit-tests/
H A Dvarmod-order-shuffle.mk1 # $NetBSD: varmod-order-shuffle.mk,v 1.6 2020/11/09 20:16:33 rillig Exp $
H A DMakefile355 TESTS+= varmod-order-shuffle
/freebsd-13-stable/contrib/googletest/googletest/
H A DMakefile.am84 test/googletest-shuffle-test_.cc \
109 test/googletest-shuffle-test.py \
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/MCTargetDesc/
H A DHexagonMCShuffler.cpp14 #define DEBUG_TYPE "hexagon-shuffle"
30 DisableShuffle("disable-hexagon-shuffle", cl::Hidden, cl::init(false),
95 if (shuffle()) {
165 // try shuffle with this duplex
174 doneShuffling = MCS.reshuffleTo(MCB); // shuffle
H A DHexagonShuffler.h210 bool shuffle();
H A DHexagonShuffler.cpp14 #define DEBUG_TYPE "hexagon-shuffle"
635 bool HexagonShuffler::shuffle() { function in class:HexagonShuffler
/freebsd-13-stable/contrib/googletest/googletest/src/
H A Dgtest-internal-inl.h92 const char kShuffleFlag[] = "shuffle";
173 shuffle_ = GTEST_FLAG(shuffle);
195 GTEST_FLAG(shuffle) = shuffle_;
303 // Performs an in-place shuffle of a range of the vector's elements.
306 // shuffle to the end of the vector.
312 << "Invalid shuffle range start " << begin << ": must be in range [0, "
315 << "Invalid shuffle range finish " << end << ": must be in range ["
318 // Fisher-Yates shuffle, from
327 // Performs an in-place shuffle of the vector's elements.
805 // Restores the test cases and tests to their order before the first shuffle
[all...]
H A Dgtest.cc316 shuffle,
317 internal::BoolFromGTestEnv("shuffle", false),
2861 // Restores the test order to before the first shuffle.
3177 if (GTEST_FLAG(shuffle)) {
3871 if (GTEST_FLAG(shuffle)) {
4234 if (GTEST_FLAG(shuffle)) {
5204 random_seed_ = GTEST_FLAG(shuffle) ?
5228 if (has_tests_to_run && GTEST_FLAG(shuffle)) {
5289 // This is not enclosed in "if (GTEST_FLAG(shuffle)) { ... }", in
5294 if (GTEST_FLAG(shuffle)) {
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonBitTracker.cpp296 auto shuffle = [this] (const BT::RegisterCell &Rs, const BT::RegisterCell &Rt,
775 RegisterCell RC = shuffle(rc(1), rc(2), 8, false);
779 RegisterCell RC = shuffle(rc(1), rc(2), 16, false);
783 RegisterCell RC = shuffle(rc(1), rc(2), 8, true);
787 RegisterCell RC = shuffle(rc(1), rc(2), 16, true);
/freebsd-13-stable/contrib/llvm-project/clang/lib/Headers/
H A Dopencl-c.h13688 * The shuffle and shuffle2 built-in functions construct
13692 * input and length that is the same as the shuffle mask.
13694 * size of each element in the result. For shuffle, only
13703 * by vec_step(gentypem). The shuffle mask operand
13711 * float4 r = shuffle(a, mask);
13722 * b = shuffle(a, mask);
13727 * b = shuffle(a, mask); <- not valid
13729 char2 __ovld __cnfn shuffle(char2 x, uchar2 mask);
13730 char2 __ovld __cnfn shuffle(char4 x, uchar2 mask);
13731 char2 __ovld __cnfn shuffle(char
[all...]
/freebsd-13-stable/contrib/googletest/googletest/test/
H A Dgtest_unittest.cc51 || testing::GTEST_FLAG(shuffle)
212 using testing::GTEST_FLAG(shuffle);
840 "Invalid shuffle range start -1: must be in range \\[0, 3\\]");
843 "Invalid shuffle range start 4: must be in range \\[0, 3\\]");
846 "Invalid shuffle range finish 2: must be in range \\[3, 3\\]");
849 "Invalid shuffle range finish 4: must be in range \\[3, 3\\]");
961 // there are no off-by-one problems in our shuffle algorithm.
1573 GTEST_FLAG(shuffle) = false;
1600 EXPECT_FALSE(GTEST_FLAG(shuffle));
1616 GTEST_FLAG(shuffle)
5589 Shuffle(bool shuffle) argument
5630 bool shuffle; member in struct:testing::Flags
[all...]
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerDriver.cpp664 Options.ShuffleAtStartUp = Flags.shuffle;
H A DFuzzerLoop.cpp760 std::shuffle(CorporaFiles.begin(), CorporaFiles.end(), MD.GetRand());
H A DFuzzerMutate.cpp99 std::shuffle(Data + ShuffleStart, Data + ShuffleStart + ShuffleAmount, Rand);
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-stress/
H A Dllvm-stress.cpp717 std::shuffle(BoolInst.begin(), BoolInst.end(), R);
/freebsd-13-stable/usr.bin/bmake/unit-tests/
H A DMakefile359 TESTS+= varmod-order-shuffle

Completed in 595 milliseconds

12