package core:sort
⌘K
Ctrl+K
or
/
Index
Types (1)
Constants (0)
This section is empty.
Variables (0)
This section is empty.
Procedures (32)
- ORD
- bubble_sort
- bubble_sort_proc
- compare_bools
- compare_f32s
- compare_f64s
- compare_i16s
- compare_i32s
- compare_i64s
- compare_i8s
- compare_ints
- compare_strings
- compare_u16s
- compare_u32s
- compare_u64s
- compare_u8s
- compare_uints
- heap_sort
- heap_sort_proc
- is_sorted
- merge_sort
- merge_sort_proc
- quick_sort
- quick_sort_proc
- reverse_interface
- reverse_slice
- reverse_sort
- rotate
- slice
- slice_interface
- sort
- swap_range
Procedure Groups (0)
This section is empty.
Types
Interface ¶
Interface :: struct { len: proc(it: Interface) -> int, less: proc(it: Interface, i, j: int) -> bool, swap: proc(it: Interface, i, j: int), collection: rawptr, }
Related Procedures With Parameters
Related Procedures With Returns
Constants
This section is empty.
Variables
This section is empty.
Procedures
ORD ¶
ORD :: intrinsics.type_is_ordered
bubble_sort ¶
bubble_sort :: proc(array: $T/[]$T) {…}
bubble_sort_proc ¶
bubble_sort_proc :: proc(array: $T/[]$T, f: proc($T, $T) -> int) {…}
heap_sort ¶
heap_sort :: proc(array: $T/[]$T) {…}
heap_sort_proc ¶
heap_sort_proc :: proc(array: $T/[]$T, f: proc($T, $T) -> int) {…}
merge_sort ¶
merge_sort :: proc(array: $T/[]$T) {…}
merge_sort_proc ¶
merge_sort_proc :: proc(array: $T/[]$T, f: proc($T, $T) -> int) {…}
quick_sort ¶
quick_sort :: proc(array: $T/[]$T) {…}
quick_sort_proc ¶
quick_sort_proc :: proc(array: $T/[]$T, f: proc($T, $T) -> int) {…}
reverse_slice ¶
reverse_slice :: proc(array: $T/[]$T) {…}
reverse_sort ¶
reverse_sort :: proc(it: Interface) {…}
slice_interface ¶
slice_interface :: proc(s: ^$T/[]$T) -> Interface {…}
sort ¶
sort :: proc(it: Interface) {…}
sort sorts an Interface This sort is not guaranteed to be stable
Procedure Groups
This section is empty.
Source Files
Generation Information
Generated with odin version dev-2024-11 (vendor "odin") Windows_amd64 @ 2024-11-16 21:10:10.080495500 +0000 UTC