Home
last modified time | relevance | path

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

/ext-ds/src/
H A Dcommon.c8 uint32_t ds_next_power_of_2(uint32_t n, uint32_t min) in ds_next_power_of_2() argument
10 if (n < min) return min; in ds_next_power_of_2()
12 n--; in ds_next_power_of_2()
13 n |= n >> 1; in ds_next_power_of_2()
14 n |= n >> 2; in ds_next_power_of_2()
15 n |= n >> 4; in ds_next_power_of_2()
16 n |= n >> 8; in ds_next_power_of_2()
17 n |= n >> 16; in ds_next_power_of_2()
18 n++; in ds_next_power_of_2()
20 return n; in ds_next_power_of_2()
H A Dcommon.h264 uint32_t ds_next_power_of_2(uint32_t n, uint32_t min);
/ext-ds/src/ds/
H A Dds_vector.c97 const zend_long n = vector->size; in ds_vector_auto_truncate() local
99 if (n <= c / 4 && c / 2 >= DS_VECTOR_MIN_CAPACITY) { in ds_vector_auto_truncate()
391 zend_long n = vector->size; in ds_vector_rotate() local
393 if (n < 2) { in ds_vector_rotate()
397 if (r < 0) r = n - (llabs(r) % n); in ds_vector_rotate()
398 else if (r > n) r = r % n; in ds_vector_rotate()
401 if (r == 0 || r == n) return; in ds_vector_rotate()
405 c = a + n; // End of buffer in ds_vector_rotate()
H A Dds_deque.c522 void ds_deque_rotate(ds_deque_t *deque, zend_long n) in ds_deque_rotate() argument
528 if (n < 0) { in ds_deque_rotate()
529 for (n = llabs(n) % deque->size; n > 0; n--) { in ds_deque_rotate()
538 } else if (n > 0) { in ds_deque_rotate()
539 for (n = n % deque->size; n > 0; n--) { in ds_deque_rotate()
H A Dds_priority_queue.c14 #define STAMP(n) (Z_NEXT((n)->value)) argument
/ext-ds/
H A Dappveyor.yml37 - cmd: choco feature enable -n=allowGlobalConfirmation

Completed in 11 milliseconds