Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/libcxx/include/__mdspan/
H A Dlayout_stride.h136 …HIDE_FROM_ABI constexpr void __bubble_sort_by_strides(array<rank_type, __rank_>& __permute) const { in __bubble_sort_by_strides() argument
139 if (__strides_[__permute[__r]] > __strides_[__permute[__r + 1]]) { in __bubble_sort_by_strides()
140 swap(__permute[__r], __permute[__r + 1]); in __bubble_sort_by_strides()
144 if ((__strides_[__permute[__r]] == __strides_[__permute[__r + 1]]) && in __bubble_sort_by_strides()
145 (__extents_.extent(__permute[__r]) > static_cast<index_type>(1))) in __bubble_sort_by_strides()
146 swap(__permute[__r], __permute[__r + 1]); in __bubble_sort_by_strides()
197 array<rank_type, __rank_> __permute{_Pos...};
198 __bubble_sort_by_strides(__permute);
202 if (static_cast<index_type>(__strides[__permute[__i]]) <
203 … static_cast<index_type>(__strides[__permute[__i - 1]]) * __extents_.extent(__permute[__i - 1]))