/dports/databases/twemproxy/twemproxy-0.5.0/src/ |
H A D | nc_stats.c | 100 nmetric = array_n(stats_metric); in stats_metric_reset() 163 nmetric = array_n(metric); in stats_metric_deinit() 196 nserver = array_n(server); in stats_server_map() 224 nserver = array_n(stats_server); in stats_server_unmap() 257 array_n(&stp->metric), array_n(&stp->metric)); in stats_pool_init() 267 npool = array_n(stats_pool); in stats_pool_reset() 275 nserver = array_n(&stp->server); in stats_pool_reset() 289 npool = array_n(server_pool); in stats_pool_map() 317 npool = array_n(stats_pool); in stats_pool_unmap() 618 for (i = 0; i < array_n(metric); i++) { in stats_copy_metric() [all …]
|
H A D | nc_server.c | 142 nserver = array_n(conf_server); in server_init() 144 ASSERT(array_n(server) == 0); in server_init() 157 ASSERT(array_n(server) == nserver); in server_init() 632 ASSERT(array_n(&pool->server) != 0); in server_pool_hash() 635 if (array_n(&pool->server) == 1) { in server_pool_hash() 650 uint32_t nserver = array_n(&pool->server); in server_pool_idx() 698 ASSERT(idx < array_n(&pool->server)); in server_pool_idx() 828 ASSERT(array_n(&pool->server) != 0); in server_pool_run() 861 npool = array_n(conf_pool); in server_pool_init() 863 ASSERT(array_n(server_pool) == 0); in server_pool_init() [all …]
|
H A D | nc_proxy.c | 217 array_n(&pool->server)); in proxy_each_init() 227 ASSERT(array_n(&ctx->pool) != 0); in proxy_init() 236 array_n(&ctx->pool)); in proxy_init() 260 ASSERT(array_n(&ctx->pool) != 0); in proxy_deinit() 268 array_n(&ctx->pool)); in proxy_deinit()
|
H A D | nc_array.c | 190 ASSERT(array_n(a) != 0); in array_each() 193 for (i = 0, nelem = array_n(a); i < nelem; i++) { in array_each()
|
H A D | nc_conf.c | 245 while (array_n(&cp->server) != 0) { in conf_pool_deinit() 327 npool = array_n(&cf->pool); in conf_dump() 359 nserver = array_n(&cp->server); in conf_dump() 507 if (array_n(&cf->arg) == 1) { in conf_handler() 513 narg = array_n(&cf->arg); in conf_handler() 686 } else if (array_n(&cf->arg) == cf->depth + 1) { in conf_parse_core() 733 ASSERT(array_n(&cf->arg) == 0); in conf_parse() 1172 nserver = array_n(&cp->server); in conf_validate_server() 1300 npool = array_n(&cf->pool); in conf_post_validate() 1407 while (array_n(&cf->arg) != 0) { in conf_destroy() [all …]
|
H A D | nc_array.h | 54 array_n(const struct array *a) in array_n() function
|
H A D | nc_message.c | 776 mbuf != NULL && array_n(&sendv) < NC_IOV_MAX && nsend < limit; in msg_send_chain() 796 if (array_n(&sendv) >= NC_IOV_MAX || nsend >= limit) { in msg_send_chain() 903 ASSERT(array_n(r->keys) == 0); in msg_set_placeholder_key()
|
H A D | nc_request.c | 73 if (array_n(req->keys) < 1) { in req_log() 571 ASSERT(array_n(msg->keys) > 0); in req_forward() 673 status = msg->fragment(msg, array_n(&pool->server), &frag_msgq); in req_recv_done()
|
H A D | nc_connection.c | 388 ASSERT(array_n(sendv) > 0); in conn_sendv()
|
/dports/biology/ugene/ugene-40.1/src/libs_3rdparty/qscore/src/qscore/ |
H A D | qscore_sab.cpp | 15 #define array_n(x) (sizeof(x)/sizeof(x[0])) macro 17 const unsigned nrefs = array_n(SAB_Ref2Filenames); 18 const unsigned nids = array_n(SAB_Ids);
|
/dports/math/py-pygsl/pygsl-2.3.0/src/rng/ |
H A D | rng_helpers.c | 1183 PyArrayObject *array_n = NULL, *array_p = NULL, *array_out = NULL; in PyGSL_pdf_dA_to_uint_or_dA() local 1210 if(array_n == NULL){ in PyGSL_pdf_dA_to_uint_or_dA() 1214 …uilt Matrix. Object @ %p with refcount %ld!", (void *) array_n, PyGSL_PY_ARRAY_GET_REFCNT(array_n)… in PyGSL_pdf_dA_to_uint_or_dA() 1215 dimension = PyArray_DIM(array_n, 0); in PyGSL_pdf_dA_to_uint_or_dA() 1240 PyArray_NDIM(array_n), in PyGSL_pdf_dA_to_uint_or_dA() 1241 PyArray_DIM(array_n, 0), PyArray_DIM(array_n, 1), in PyGSL_pdf_dA_to_uint_or_dA() 1242 PyArray_STRIDE(array_n, 0), PyArray_STRIDE(array_n, 1)); in PyGSL_pdf_dA_to_uint_or_dA() 1251 data_theta = (double *)PyArray_GETPTR1(array_n, i); in PyGSL_pdf_dA_to_uint_or_dA() 1272 (void *) array_p, (void *) array_n); in PyGSL_pdf_dA_to_uint_or_dA() 1274 Py_DECREF(array_n); in PyGSL_pdf_dA_to_uint_or_dA() [all …]
|
/dports/devel/orc/orc-0.4.31/testsuite/ |
H A D | show_parse.c | 31 int array_n = 10; variable 56 array_n = strtol (argv[i+1], NULL, 0); in main() 270 n = array_n; in show()
|
/dports/databases/twemproxy/twemproxy-0.5.0/src/hashkit/ |
H A D | nc_ketama.c | 74 ASSERT(array_n(&pool->server) > 0); in ketama_update() 85 nserver = array_n(&pool->server); in ketama_update()
|
H A D | nc_random.c | 46 nserver = array_n(&pool->server); in random_update()
|
H A D | nc_modula.c | 48 nserver = array_n(&pool->server); in modula_update()
|
/dports/databases/twemproxy/twemproxy-0.5.0/src/proto/ |
H A D | nc_memcache.c | 113 return array_n(r->keys) != 1; in memcache_should_fragment() 1299 r->frag_seq = nc_alloc(array_n(r->keys) * sizeof(*r->frag_seq)); in memcache_fragment_retrieval() 1324 for (i = 0; i < array_n(r->keys); i++) { /* for each key */ in memcache_fragment_retrieval() 1583 for (i = 0; i < array_n(request->keys); i++) { /* for each key */ in memcache_post_coalesce()
|
H A D | nc_redis.c | 2815 ASSERT(array_n(keys) == (r->narg - 1) / key_step); in redis_fragment_argx() 2823 r->frag_seq = nc_alloc(array_n(keys) * sizeof(*r->frag_seq)); in redis_fragment_argx() 2850 for (i = 0; i < array_n(keys); i++) { /* for each key */ in redis_fragment_argx() 2939 if (1 == array_n(r->keys)){ in redis_fragment() 3030 for (i = 0; i < array_n(request->keys); i++) { /* for each key */ in redis_post_coalesce_mget()
|
/dports/graphics/mupdf/mupdf-1.18.0-source/scripts/ |
H A D | mupdfwrap.py | 1893 array_n = type_.get_array_size() 1896 if array_n >= 0 or type_.kind == clang.cindex.TypeKind.INCOMPLETEARRAY: 1900 if array_n < 0: 1901 array_n = ''
|
/dports/graphics/photivo/photivo/photivoProject/ |
H A D | photivoProject.pro | 171 ../Sources/fastbilateral/array_n.h \
|
/dports/science/code_saturne/code_saturne-7.1.0/src/base/ |
H A D | cs_interface.c | 3241 cs_lnum_t *array_n = NULL; in _copy_sub_strided() local 3244 BFT_MALLOC(array_n, size_new, cs_lnum_t); in _copy_sub_strided() 3246 array_n[i] = array_o[i/stride]*stride + i%stride; in _copy_sub_strided() 3249 return array_n; in _copy_sub_strided()
|