queue
Queue, Stack, and Priority Queue
Functions
Details
queue_pages_for
fn queue_pages_for(n: i64) -> i64queue_new
fn queue_new() -> &i64queue_grow
fn queue_grow(q: &i64)queue_push
fn queue_push(q: &i64, val: i64)queue_pop
fn queue_pop(q: &i64) -> i64queue_peek
fn queue_peek(q: &i64) -> i64queue_len
fn queue_len(q: &i64) -> i64queue_empty
fn queue_empty(q: &i64) -> i64stack_new
fn stack_new() -> &i64stack_push
fn stack_push(s: &i64, val: i64)stack_pop
fn stack_pop(s: &i64) -> i64stack_peek
fn stack_peek(s: &i64) -> i64stack_len
fn stack_len(s: &i64) -> i64stack_empty
fn stack_empty(s: &i64) -> i64pq_new
fn pq_new() -> &i64pq_parent
fn pq_parent(i: i64) -> i64pq_left
fn pq_left(i: i64) -> i64pq_right
fn pq_right(i: i64) -> i64pq_sift_up
fn pq_sift_up(pq: &i64, idx: i64)pq_sift_down
fn pq_sift_down(pq: &i64, idx: i64)pq_push
fn pq_push(pq: &i64, val: i64)pq_pop
fn pq_pop(pq: &i64) -> i64pq_peek
fn pq_peek(pq: &i64) -> i64pq_len
fn pq_len(pq: &i64) -> i64pq_empty
fn pq_empty(pq: &i64) -> i64