/dports/net-mgmt/bosun/bosun-0.9.0-preview/vendor/golang.org/x/crypto/bn256/ |
H A D | optate.go | 11 B := newGFp2(pool).Mul(p.x, r.t, pool) 20 I := newGFp2(pool).Square(H, pool) 25 J := newGFp2(pool).Mul(H, E, pool) 30 V := newGFp2(pool).Mul(r.x, E, pool) 45 t2 := newGFp2(pool).Mul(r.y, J, pool) 89 A := newGFp2(pool).Square(r.x, pool) 90 B := newGFp2(pool).Square(r.y, pool) 91 C := newGFp2(pool).Square(B, pool) 102 G := newGFp2(pool).Square(E, pool) 323 fu, fu2, fu3 := newGFp12(pool), newGFp12(pool), newGFp12(pool) [all …]
|
/dports/devel/bit/bit-1.1.2/vendor/golang.org/x/crypto/bn256/ |
H A D | optate.go | 11 B := newGFp2(pool).Mul(p.x, r.t, pool) 20 I := newGFp2(pool).Square(H, pool) 25 J := newGFp2(pool).Mul(H, E, pool) 30 V := newGFp2(pool).Mul(r.x, E, pool) 45 t2 := newGFp2(pool).Mul(r.y, J, pool) 89 A := newGFp2(pool).Square(r.x, pool) 90 B := newGFp2(pool).Square(r.y, pool) 91 C := newGFp2(pool).Square(B, pool) 102 G := newGFp2(pool).Square(E, pool) 323 fu, fu2, fu3 := newGFp12(pool), newGFp12(pool), newGFp12(pool) [all …]
|
/dports/sysutils/terraform/terraform-1.0.11/vendor/github.com/miekg/dns/vendor/golang.org/x/crypto/bn256/ |
H A D | optate.go | 11 B := newGFp2(pool).Mul(p.x, r.t, pool) 20 I := newGFp2(pool).Square(H, pool) 25 J := newGFp2(pool).Mul(H, E, pool) 30 V := newGFp2(pool).Mul(r.x, E, pool) 45 t2 := newGFp2(pool).Mul(r.y, J, pool) 89 A := newGFp2(pool).Square(r.x, pool) 90 B := newGFp2(pool).Square(r.y, pool) 91 C := newGFp2(pool).Square(B, pool) 102 G := newGFp2(pool).Square(E, pool) 323 fu, fu2, fu3 := newGFp12(pool), newGFp12(pool), newGFp12(pool) [all …]
|
/dports/databases/mongodb36/mongodb-src-r3.6.23/src/mongo/gotools/src/github.com/mongodb/mongo-tools/vendor/golang.org/x/crypto/bn256/ |
H A D | optate.go | 11 B := newGFp2(pool).Mul(p.x, r.t, pool) 20 I := newGFp2(pool).Square(H, pool) 25 J := newGFp2(pool).Mul(H, E, pool) 30 V := newGFp2(pool).Mul(r.x, E, pool) 45 t2 := newGFp2(pool).Mul(r.y, J, pool) 89 A := newGFp2(pool).Square(r.x, pool) 90 B := newGFp2(pool).Square(r.y, pool) 91 C := newGFp2(pool).Square(B, pool) 102 G := newGFp2(pool).Square(E, pool) 323 fu, fu2, fu3 := newGFp12(pool), newGFp12(pool), newGFp12(pool) [all …]
|
/dports/databases/mongodb42-tools/mongo-tools-r4.2.17/vendor/golang.org/x/crypto/bn256/ |
H A D | optate.go | 11 B := newGFp2(pool).Mul(p.x, r.t, pool) 20 I := newGFp2(pool).Square(H, pool) 25 J := newGFp2(pool).Mul(H, E, pool) 30 V := newGFp2(pool).Mul(r.x, E, pool) 45 t2 := newGFp2(pool).Mul(r.y, J, pool) 89 A := newGFp2(pool).Square(r.x, pool) 90 B := newGFp2(pool).Square(r.y, pool) 91 C := newGFp2(pool).Square(B, pool) 102 G := newGFp2(pool).Square(E, pool) 323 fu, fu2, fu3 := newGFp12(pool), newGFp12(pool), newGFp12(pool) [all …]
|
/dports/multimedia/mpv/mpv-0.34.1/misc/ |
H A D | thread_pool.c | 66 work = pool->work[pool->num_work - 1]; in worker_thread() 74 if (pool->num_threads > pool->min_threads) { in worker_thread() 77 if (pthread_cond_timedwait(&pool->wakeup, &pool->lock, &ts)) in worker_thread() 78 got_timeout = pool->num_threads > pool->min_threads; in worker_thread() 80 pthread_cond_wait(&pool->wakeup, &pool->lock); in worker_thread() 103 MP_TARRAY_REMOVE_AT(pool->threads, pool->num_threads, n); in worker_thread() 149 MP_TARRAY_APPEND(pool, pool->threads, pool->num_threads, thread); in add_thread() 178 return pool; in mp_thread_pool_create() 195 if (pool->busy_threads + pool->num_work + 1 > pool->num_threads && in thread_pool_add() 196 pool->num_threads < pool->max_threads) in thread_pool_add() [all …]
|
/dports/devel/efl/efl-1.25.1/src/modules/eina/mp/one_big/ |
H A D | eina_one_big.c | 110 pool->base = malloc(pool->item_size * pool->max); in eina_one_big_malloc() 113 VALGRIND_MAKE_MEM_NOACCESS(pool->base, pool->item_size * pool->max); in eina_one_big_malloc() 117 if (pool->served < pool->max) in eina_one_big_malloc() 119 mem = pool->base + (pool->served++ *pool->item_size); in eina_one_big_malloc() 160 && ptr < (void *)(pool->base + (pool->max * pool->item_size))) in eina_one_big_free() 211 && ptr < (void *)(pool->base + (pool->max * pool->item_size))) in eina_one_big_from() 224 … ptr, ((unsigned char *)ptr - (unsigned char *) pool->base) % pool->item_size, pool, pool->name); in eina_one_big_from() 326 it->pool = pool; in eina_one_big_iterator_new() 367 if (pool->max < 1) pool->max = 1; in eina_one_big_init() 429 pool->name, pool->over); in eina_one_big_shutdown() [all …]
|
/dports/net/freerdp/freerdp-2.5.0/winpr/libwinpr/utils/collections/ |
H A D | ObjectPool.c | 49 obj = pool->array[--(pool->size)]; in ObjectPool_Take() 75 if ((pool->size + 1) >= pool->capacity) in ObjectPool_Return() 89 pool->array[(pool->size)++] = obj; in ObjectPool_Return() 110 (pool->size)--; in ObjectPool_Clear() 113 pool->object.fnObjectFree(pool->array[pool->size]); in ObjectPool_Clear() 130 if (pool) in ObjectPool_New() 134 pool->array = (void**)calloc(pool->capacity, sizeof(void*)); in ObjectPool_New() 137 free(pool); in ObjectPool_New() 146 return pool; in ObjectPool_New() 151 if (pool) in ObjectPool_Free() [all …]
|
/dports/sysutils/uefi-edk2-qemu/edk2-edk2-stable201911/CryptoPkg/Library/OpensslLib/openssl/crypto/rand/ |
H A D | rand_lib.c | 446 if (pool->alloc_len > pool->max_len) in rand_pool_new() 447 pool->alloc_len = pool->max_len; in rand_pool_new() 495 pool->min_len = pool->max_len = pool->alloc_len = pool->len; in rand_pool_attach() 595 if (pool->len < pool->min_len) in rand_pool_entropy_available() 622 if (pool->attached || len > pool->max_len - pool->len) { in rand_pool_grow() 674 if (pool->len < pool->min_len && in rand_pool_bytes_needed() 693 pool->max_len = pool->len = 0; in rand_pool_bytes_needed() 703 return pool->max_len - pool->len; in rand_pool_bytes_remaining() 718 if (len > pool->max_len - pool->len) { in rand_pool_add() 737 if (pool->alloc_len > pool->len && pool->buffer + pool->len == buffer) { in rand_pool_add() [all …]
|
/dports/www/libmicrohttpd/libmicrohttpd-0.9.74/src/microhttpd/ |
H A D | memorypool.c | 273 mhd_assert (pool->end >= pool->pos); in MHD_pool_destroy() 274 mhd_assert (pool->size >= pool->end - pool->pos); in MHD_pool_destroy() 303 mhd_assert (pool->size >= pool->end - pool->pos); in MHD_pool_get_free() 332 mhd_assert (pool->size >= pool->end - pool->pos); in MHD_pool_allocate() 336 if (asize > pool->end - pool->pos) in MHD_pool_allocate() 345 ret = &pool->memory[pool->pos]; in MHD_pool_allocate() 381 mhd_assert (pool->size >= pool->end - pool->pos); in MHD_pool_try_alloc() 388 if (asize > pool->end - pool->pos) in MHD_pool_try_alloc() 432 mhd_assert (pool->size >= pool->end - pool->pos); in MHD_pool_reallocate() 520 mhd_assert (pool->size >= pool->end - pool->pos); in MHD_pool_reset() [all …]
|
/dports/lang/ghc/ghc-8.10.7/rts/ |
H A D | Pool.c | 51 pool->current_size = 0; in poolInit() 55 pool->taken = NULL; in poolInit() 60 return pool; in poolInit() 63 int poolFree(Pool *pool) { in poolFree() argument 72 free(pool); in poolFree() 78 while (pool->current_size > size && pool->available != NULL) { in free_available() 99 if (pool->desired_size > pool->max_size) { in poolSetMaxSize() 121 } else if (pool->current_size < pool->max_size) { in poolTryTake_() 131 pool->taken = ent; in poolTryTake_() 149 waitCondition(&pool->cond, &pool->mutex); in poolTake() [all …]
|
/dports/devel/libfastcommon/libfastcommon-1.0.43/src/ |
H A D | pthread_pool.c | 53 if(pool == NULL || initialized != pool->state) break; in callback_proxy() 87 if( pool->current_index < pool->total_size ) in push2pool() 89 pool->list[ pool->current_index ] = thread; in push2pool() 97 if( pool->current_index >= pool->current_size ) in push2pool() 142 free(pool); in threadpool_init() 169 while(pool->current_index <= 0 && pool->current_size >= pool->total_size) in threadpool_run() 172 pthread_cond_wait(&pool->run_locker,&pool->mutex_locker); in threadpool_run() 214 pool->list[ pool->current_index ] = NULL; in threadpool_run() 240 if( pool->current_index < pool->current_size ) in threadpool_destroy() 286 free( pool); in threadpool_destroy() [all …]
|
/dports/graphics/Coin/coin-Coin-4.0.0/src/threads/ |
H A D | wpool.cpp | 90 wpool_lock(pool); in wpool_idle_cb() 102 wpool_unlock(pool); in wpool_idle_cb() 116 cc_condvar_wait(pool->waitcond, pool->mutex); in wpool_wait() 164 return pool; in cc_wpool_construct() 191 free(pool); in cc_wpool_destruct() 217 wpool_add_workers(pool, newnum - pool->numworkers); in cc_wpool_set_num_workers() 237 wpool_lock(pool); in cc_wpool_wait_all() 239 wpool_unlock(pool); in cc_wpool_wait_all() 274 wpool_lock(pool); in cc_wpool_try_begin() 296 wpool_lock(pool); in cc_wpool_begin() [all …]
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/mm/ |
H A D | mempool.c | 122 BUG_ON(pool->curr_nr >= pool->min_nr); in add_element() 125 pool->elements[pool->curr_nr++] = element; in add_element() 130 void *element = pool->elements[--pool->curr_nr]; in remove_element() 153 pool->free(element, pool->pool_data); in mempool_exit() 197 while (pool->curr_nr < pool->min_nr) { in mempool_init_node() 200 element = pool->alloc(gfp_mask, pool->pool_data); in mempool_init_node() 311 pool->free(element, pool->pool_data); in mempool_resize() 338 while (pool->curr_nr < pool->min_nr) { in mempool_resize() 344 if (pool->curr_nr < pool->min_nr) { in mempool_resize() 492 if (likely(pool->curr_nr < pool->min_nr)) { in mempool_free() [all …]
|
/dports/multimedia/libv4l/linux-5.13-rc2/mm/ |
H A D | mempool.c | 122 BUG_ON(pool->curr_nr >= pool->min_nr); in add_element() 125 pool->elements[pool->curr_nr++] = element; in add_element() 130 void *element = pool->elements[--pool->curr_nr]; in remove_element() 153 pool->free(element, pool->pool_data); in mempool_exit() 197 while (pool->curr_nr < pool->min_nr) { in mempool_init_node() 200 element = pool->alloc(gfp_mask, pool->pool_data); in mempool_init_node() 311 pool->free(element, pool->pool_data); in mempool_resize() 338 while (pool->curr_nr < pool->min_nr) { in mempool_resize() 344 if (pool->curr_nr < pool->min_nr) { in mempool_resize() 492 if (likely(pool->curr_nr < pool->min_nr)) { in mempool_free() [all …]
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/mm/ |
H A D | mempool.c | 122 BUG_ON(pool->curr_nr >= pool->min_nr); in add_element() 125 pool->elements[pool->curr_nr++] = element; in add_element() 130 void *element = pool->elements[--pool->curr_nr]; in remove_element() 153 pool->free(element, pool->pool_data); in mempool_exit() 197 while (pool->curr_nr < pool->min_nr) { in mempool_init_node() 200 element = pool->alloc(gfp_mask, pool->pool_data); in mempool_init_node() 311 pool->free(element, pool->pool_data); in mempool_resize() 338 while (pool->curr_nr < pool->min_nr) { in mempool_resize() 344 if (pool->curr_nr < pool->min_nr) { in mempool_resize() 492 if (likely(pool->curr_nr < pool->min_nr)) { in mempool_free() [all …]
|
/dports/java/java-subversion/subversion-1.14.1/subversion/tests/libsvn_fs_base/ |
H A D | fs-base-test.c | 61 pool)); in create_berkeley_filesystem() 88 SVN_ERR(svn_test__fs_new(&fs2, pool)); in open_berkeley_filesystem() 105 apr_pool_t *pool) in check_entry() argument 195 apr_pool_t *pool) in check_id() argument 258 apr_pool_t *pool) in abort_txn() argument 491 apr_pool_t *pool) in delete_mutables() argument 671 apr_pool_t *pool) in delete() argument 1145 apr_pool_t *pool) in create_within_copy() argument 1271 apr_pool_t *pool) in skip_deltas() argument 1344 apr_pool_t *pool) in redundant_copy() argument [all …]
|
/dports/devel/py-subversion/subversion-1.14.1/subversion/tests/libsvn_fs_base/ |
H A D | fs-base-test.c | 61 pool)); in create_berkeley_filesystem() 88 SVN_ERR(svn_test__fs_new(&fs2, pool)); in open_berkeley_filesystem() 105 apr_pool_t *pool) in check_entry() argument 195 apr_pool_t *pool) in check_id() argument 258 apr_pool_t *pool) in abort_txn() argument 491 apr_pool_t *pool) in delete_mutables() argument 671 apr_pool_t *pool) in delete() argument 1145 apr_pool_t *pool) in create_within_copy() argument 1271 apr_pool_t *pool) in skip_deltas() argument 1344 apr_pool_t *pool) in redundant_copy() argument [all …]
|
/dports/security/subversion-gnome-keyring/subversion-1.14.1/subversion/tests/libsvn_fs_base/ |
H A D | fs-base-test.c | 61 pool)); in create_berkeley_filesystem() 88 SVN_ERR(svn_test__fs_new(&fs2, pool)); in open_berkeley_filesystem() 105 apr_pool_t *pool) in check_entry() argument 195 apr_pool_t *pool) in check_id() argument 258 apr_pool_t *pool) in abort_txn() argument 491 apr_pool_t *pool) in delete_mutables() argument 671 apr_pool_t *pool) in delete() argument 1145 apr_pool_t *pool) in create_within_copy() argument 1271 apr_pool_t *pool) in skip_deltas() argument 1344 apr_pool_t *pool) in redundant_copy() argument [all …]
|
/dports/devel/p5-subversion/subversion-1.14.1/subversion/tests/libsvn_fs_base/ |
H A D | fs-base-test.c | 61 pool)); in create_berkeley_filesystem() 88 SVN_ERR(svn_test__fs_new(&fs2, pool)); in open_berkeley_filesystem() 105 apr_pool_t *pool) in check_entry() argument 195 apr_pool_t *pool) in check_id() argument 258 apr_pool_t *pool) in abort_txn() argument 491 apr_pool_t *pool) in delete_mutables() argument 671 apr_pool_t *pool) in delete() argument 1145 apr_pool_t *pool) in create_within_copy() argument 1271 apr_pool_t *pool) in skip_deltas() argument 1344 apr_pool_t *pool) in redundant_copy() argument [all …]
|
/dports/dns/bind911/bind-9.11.37/lib/isc/ |
H A D | pool.c | 45 pool = isc_mem_get(mctx, sizeof(*pool)); in alloc_pool() 55 if (pool->pool == NULL) { in alloc_pool() 56 isc_mem_put(mctx, pool, sizeof(*pool)); in alloc_pool() 88 result = init(&pool->pool[i], initarg); in isc_pool_create() 103 return (pool->pool[i % pool->count]); in isc_pool_get() 148 newpool->pool[i] = pool->pool[i]; in isc_pool_expand() 149 pool->pool[i] = NULL; in isc_pool_expand() 166 if (pool->free != NULL && pool->pool[i] != NULL) in isc_pool_destroy() 167 pool->free(&pool->pool[i]); in isc_pool_destroy() 169 isc_mem_put(pool->mctx, pool->pool, pool->count * sizeof(void *)); in isc_pool_destroy() [all …]
|
/dports/news/nzbget/nzbget-21.1/tests/nntp/ |
H A D | ServerPoolTest.cpp | 35 ServerPool pool; variable 37 pool.InitConnections(); 41 pool.InitConnections(); 67 ServerPool pool; variable 85 ServerPool pool; variable 107 pool.Changed(); 120 ServerPool pool; variable 142 ServerPool pool; variable 177 ServerPool pool; variable 216 ServerPool pool; variable [all …]
|
/dports/databases/py-aioredis/aioredis-1.3.1/tests/ |
H A D | pool_test.py | 21 def _assert_defaults(pool): argument 25 assert pool.size == 1 30 def test_connect(pool): argument 37 await pool.clear() 71 with pool: 96 with (await pool): 115 with (await pool): 131 with (await pool): 346 assert pool.size <= pool.maxsize 353 assert pool.size <= pool.maxsize [all …]
|
/dports/devel/cargo-c/cargo-c-0.9.6+cargo-0.58/cargo-crates/openssl-src-111.16.0+1.1.1l/openssl/crypto/rand/ |
H A D | rand_lib.c | 441 pool = OPENSSL_zalloc(sizeof(*pool)); in rand_pool_new() 451 if (pool->alloc_len > pool->max_len) in rand_pool_new() 452 pool->alloc_len = pool->max_len; in rand_pool_new() 500 pool->min_len = pool->max_len = pool->alloc_len = pool->len; in rand_pool_attach() 600 if (pool->len < pool->min_len) in rand_pool_entropy_available() 627 if (pool->attached || len > pool->max_len - pool->len) { in rand_pool_grow() 679 if (pool->len < pool->min_len && in rand_pool_bytes_needed() 698 pool->max_len = pool->len = 0; in rand_pool_bytes_needed() 708 return pool->max_len - pool->len; in rand_pool_bytes_remaining() 742 if (pool->alloc_len > pool->len && pool->buffer + pool->len == buffer) { in rand_pool_add() [all …]
|
/dports/security/cargo-audit/rustsec-cargo-audit-v0.15.2/cargo-audit/cargo-crates/openssl-src-111.16.0+1.1.1l/openssl/crypto/rand/ |
H A D | rand_lib.c | 441 pool = OPENSSL_zalloc(sizeof(*pool)); in rand_pool_new() 451 if (pool->alloc_len > pool->max_len) in rand_pool_new() 452 pool->alloc_len = pool->max_len; in rand_pool_new() 500 pool->min_len = pool->max_len = pool->alloc_len = pool->len; in rand_pool_attach() 600 if (pool->len < pool->min_len) in rand_pool_entropy_available() 627 if (pool->attached || len > pool->max_len - pool->len) { in rand_pool_grow() 679 if (pool->len < pool->min_len && in rand_pool_bytes_needed() 698 pool->max_len = pool->len = 0; in rand_pool_bytes_needed() 708 return pool->max_len - pool->len; in rand_pool_bytes_remaining() 742 if (pool->alloc_len > pool->len && pool->buffer + pool->len == buffer) { in rand_pool_add() [all …]
|