Home
last modified time | relevance | path

Searched refs:isPermutation (Results 1 – 4 of 4) sorted by relevance

/netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/algorithm/
H A Dcomparison.d1893 bool isPermutation(AllocateGC allocate_gc, Range1, Range2)
1941 bool isPermutation(alias pred = "a == b", Range1, Range2)
2017 assert(isPermutation([1, 2, 3], [3, 2, 1]));
2018 assert(isPermutation([1.1, 2.3, 3.5], [2.3, 3.5, 1.1]));
2019 assert(isPermutation("abc", "bca"));
2021 assert(!isPermutation([1, 2], [3, 4]));
2022 assert(!isPermutation([1, 1, 2, 3], [1, 2, 2, 3]));
2023 assert(!isPermutation([1, 1], [1, 1, 1]));
2026 assert(isPermutation!(Yes.allocateGC)([1.1, 2.3, 3.5], [2.3, 3.5, 1.1]));
2027 assert(!isPermutation!(Yes.allocateGC)([1, 2], [3, 4]));
[all …]
/netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/algorithm/
H A Dcomparison.d2232 bool isPermutation(Flag!"allocateGC" allocateGC, Range1, Range2)
2280 bool isPermutation(alias pred = "a == b", Range1, Range2)
2356 assert(isPermutation([1, 2, 3], [3, 2, 1]));
2357 assert(isPermutation([1.1, 2.3, 3.5], [2.3, 3.5, 1.1]));
2358 assert(isPermutation("abc", "bca"));
2360 assert(!isPermutation([1, 2], [3, 4]));
2361 assert(!isPermutation([1, 1, 2, 3], [1, 2, 2, 3]));
2362 assert(!isPermutation([1, 1], [1, 1, 1]));
2365 assert(isPermutation!(Yes.allocateGC)([1.1, 2.3, 3.5], [2.3, 3.5, 1.1]));
2366 assert(!isPermutation!(Yes.allocateGC)([1, 2], [3, 4]));
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Support/
H A DGenericDomTreeConstruction.h699 static bool isPermutation(const SmallVectorImpl<NodePtr> &A, in isPermutation() function
724 if (!isPermutation(DT.Roots, Roots)) { in UpdateRootsAfterUpdate()
1248 if (!isPermutation(DT.Roots, ComputedRoots)) { in verifyRoots()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/
H A DHexagonISelDAGToDAGHVX.cpp920 static bool isPermutation(ArrayRef<int> Mask) { in isPermutation() function
1691 if (!isPermutation(SM.Mask)) in perfect()