new_head++;
new_head = (new_head + 1) % new_sizeof_buffer;
    private void grow(int size) {        int new_sizeof_buffer = size;        int[] new_buffer = new int[size];        int new_head = 0;        int new_tail = 0;        int new_sizeof_queue = 0;        while (sizeof_queue > 0) {            new_buffer[new_head] = buffer[tail];            new_head++;            tail = (tail + 1) % sizeof_buffer;            sizeof_queue--;            new_sizeof_queue++;        }        sizeof_buffer = new_sizeof_buffer;        buffer = new_buffer;        head = new_head;        tail = new_tail;        sizeof_queue = new_sizeof_queue;    }