Home
last modified time | relevance | path

Searched refs:pool (Results 251 – 275 of 49837) sorted by relevance

1...<<11121314151617181920>>...1994

/dports/emulators/qemu-utils/qemu-4.2.1/roms/edk2/CryptoPkg/Library/OpensslLib/openssl/crypto/rand/
H A Drand_lib.c485 pool->min_len = pool->max_len = pool->len; in rand_pool_attach()
555 OPENSSL_cleanse(pool->buffer, pool->len); in rand_pool_reattach()
577 if (pool->entropy < pool->entropy_requested) in rand_pool_entropy_available()
580 if (pool->len < pool->min_len) in rand_pool_entropy_available()
593 if (pool->entropy < pool->entropy_requested) in rand_pool_entropy_needed()
623 if (pool->len < pool->min_len && in rand_pool_bytes_needed()
634 return pool->max_len - pool->len; in rand_pool_bytes_remaining()
649 if (len > pool->max_len - pool->len) { in rand_pool_add()
685 if (len > pool->max_len - pool->len) { in rand_pool_add_begin()
695 return pool->buffer + pool->len; in rand_pool_add_begin()
[all …]
/dports/emulators/qemu-guest-agent/qemu-5.0.1/roms/edk2/CryptoPkg/Library/OpensslLib/openssl/crypto/rand/
H A Drand_lib.c485 pool->min_len = pool->max_len = pool->len; in rand_pool_attach()
555 OPENSSL_cleanse(pool->buffer, pool->len); in rand_pool_reattach()
577 if (pool->entropy < pool->entropy_requested) in rand_pool_entropy_available()
580 if (pool->len < pool->min_len) in rand_pool_entropy_available()
593 if (pool->entropy < pool->entropy_requested) in rand_pool_entropy_needed()
623 if (pool->len < pool->min_len && in rand_pool_bytes_needed()
634 return pool->max_len - pool->len; in rand_pool_bytes_remaining()
649 if (len > pool->max_len - pool->len) { in rand_pool_add()
685 if (len > pool->max_len - pool->len) { in rand_pool_add_begin()
695 return pool->buffer + pool->len; in rand_pool_add_begin()
[all …]
/dports/chinese/fcitx/fcitx-4.2.9.7/src/lib/fcitx-utils/
H A Dobjpool.c49 return pool; in fcitx_obj_pool_new_with_prealloc()
57 free(pool); in fcitx_obj_pool_free()
76 pool->array = malloc(pool->alloc); in fcitx_obj_pool_init_with_prealloc()
93 offset = fcitx_obj_pool_offset(pool, pool->next_free); in fcitx_obj_pool_alloc_id()
94 pool->next_free = *(int*)(pool->array + offset); in fcitx_obj_pool_alloc_id()
99 pool->array = realloc(pool->array, pool->alloc); in fcitx_obj_pool_alloc_id()
101 id = pool->alloc / 2 / pool->ele_size; in fcitx_obj_pool_alloc_id()
107 for (offset = pool->alloc / 2 + pool->ele_size, in fcitx_obj_pool_alloc_id()
108 i = pool->alloc / 2 / pool->ele_size + 1; in fcitx_obj_pool_alloc_id()
109 i < pool->alloc / pool->ele_size - 1; in fcitx_obj_pool_alloc_id()
[all …]
/dports/net-p2p/go-ethereum/go-ethereum-1.10.14/vendor/github.com/status-im/keycard-go/vendor/github.com/ethereum/go-ethereum/crypto/bn256/google/
H A Dtwist.go73 yy := newGFp2(pool).Square(c.y, pool)
74 xxx := newGFp2(pool).Square(c.x, pool)
115 s1 := newGFp2(pool).Mul(a.y, t, pool)
118 s2 := newGFp2(pool).Mul(b.y, t, pool)
124 i := newGFp2(pool).Square(t, pool)
125 j := newGFp2(pool).Mul(h, i, pool)
135 v := newGFp2(pool).Mul(u1, i, pool)
137 t4 := newGFp2(pool).Square(r, pool)
174 C_ := newGFp2(pool).Square(B, pool)
177 t2 := newGFp2(pool).Square(t, pool)
[all …]
/dports/net-p2p/go-ethereum/go-ethereum-1.10.14/crypto/bn256/google/
H A Dtwist.go73 yy := newGFp2(pool).Square(c.y, pool)
74 xxx := newGFp2(pool).Square(c.x, pool)
115 s1 := newGFp2(pool).Mul(a.y, t, pool)
118 s2 := newGFp2(pool).Mul(b.y, t, pool)
124 i := newGFp2(pool).Square(t, pool)
125 j := newGFp2(pool).Mul(h, i, pool)
135 v := newGFp2(pool).Mul(u1, i, pool)
137 t4 := newGFp2(pool).Square(r, pool)
174 C_ := newGFp2(pool).Square(B, pool)
177 t2 := newGFp2(pool).Square(t, pool)
[all …]
/dports/devel/transwarp/transwarp-2.2.2/test/
H A Dtest_task_pool.cpp6 REQUIRE(3 == pool.size());
7 REQUIRE(3 == pool.idle_count());
8 REQUIRE(0 == pool.busy_count());
15 REQUIRE(3 == pool.size());
34 REQUIRE(2 == pool.size());
47 REQUIRE(4 == pool.size());
52 REQUIRE(4 == pool.size());
84 pool.resize(4);
86 pool.resize(1);
93 pool.resize(6);
[all …]
/dports/multimedia/ustreamer/ustreamer-4.10/src/ustreamer/
H A Dworkers.c37 workers_pool_s *pool; in workers_pool_init() local
38 A_CALLOC(pool, 1); in workers_pool_init()
39 pool->name = name; in workers_pool_init()
47 A_CALLOC(pool->workers, pool->n_workers); in workers_pool_init()
62 WR(pool) = pool; in workers_pool_init()
70 return pool; in workers_pool_init()
100 free(pool); in workers_pool_destroy()
107 A_COND_WAIT_TRUE(pool->free_workers, &pool->free_workers_cond, &pool->free_workers_mutex); in workers_pool_wait()
110 if (pool->oldest_wr && !atomic_load(&pool->oldest_wr->has_job)) { in workers_pool_wait()
113 pool->oldest_wr = pool->oldest_wr->next_wr; in workers_pool_wait()
[all …]
/dports/multimedia/v4l_compat/linux-5.13-rc2/sound/core/seq/
H A Dseq_memory.c24 return pool->total_elements - atomic_read(&pool->counter); in snd_seq_pool_available()
29 return snd_seq_pool_available(pool) >= pool->room; in snd_seq_output_ok()
178 pool = cell->pool; in snd_seq_cell_free()
229 while (pool->free == NULL && ! nonblock && ! pool->closing) { in snd_seq_cell_alloc()
395 cellptr->pool = pool; in snd_seq_pool_init()
399 pool->room = (pool->size + 1) / 2; in snd_seq_pool_init()
403 pool->total_elements = pool->size; in snd_seq_pool_init()
459 pool = kzalloc(sizeof(*pool), GFP_KERNEL); in snd_seq_pool_new()
460 if (!pool) in snd_seq_pool_new()
474 return pool; in snd_seq_pool_new()
[all …]
/dports/multimedia/libv4l/linux-5.13-rc2/sound/core/seq/
H A Dseq_memory.c24 return pool->total_elements - atomic_read(&pool->counter); in snd_seq_pool_available()
29 return snd_seq_pool_available(pool) >= pool->room; in snd_seq_output_ok()
178 pool = cell->pool; in snd_seq_cell_free()
229 while (pool->free == NULL && ! nonblock && ! pool->closing) { in snd_seq_cell_alloc()
395 cellptr->pool = pool; in snd_seq_pool_init()
399 pool->room = (pool->size + 1) / 2; in snd_seq_pool_init()
403 pool->total_elements = pool->size; in snd_seq_pool_init()
459 pool = kzalloc(sizeof(*pool), GFP_KERNEL); in snd_seq_pool_new()
460 if (!pool) in snd_seq_pool_new()
474 return pool; in snd_seq_pool_new()
[all …]
/dports/multimedia/v4l-utils/linux-5.13-rc2/sound/core/seq/
H A Dseq_memory.c24 return pool->total_elements - atomic_read(&pool->counter); in snd_seq_pool_available()
29 return snd_seq_pool_available(pool) >= pool->room; in snd_seq_output_ok()
178 pool = cell->pool; in snd_seq_cell_free()
229 while (pool->free == NULL && ! nonblock && ! pool->closing) { in snd_seq_cell_alloc()
395 cellptr->pool = pool; in snd_seq_pool_init()
399 pool->room = (pool->size + 1) / 2; in snd_seq_pool_init()
403 pool->total_elements = pool->size; in snd_seq_pool_init()
459 pool = kzalloc(sizeof(*pool), GFP_KERNEL); in snd_seq_pool_new()
460 if (!pool) in snd_seq_pool_new()
474 return pool; in snd_seq_pool_new()
[all …]
/dports/net/mpich/mpich-3.4.3/modules/libfabric/prov/util/src/
H A Dutil_buf.c56 if (pool->attr.max_cnt && pool->entry_cnt >= pool->attr.max_cnt) in ofi_bufpool_grow()
63 buf_region->pool = pool; in ofi_bufpool_grow()
74 pool->alloc_size = (pool->attr.chunk_cnt + 1) * in ofi_bufpool_grow()
76 pool->region_size = pool->alloc_size - pool->entry_size; in ofi_bufpool_grow()
111 pool->region_table[pool->region_cnt] = buf_region; in ofi_bufpool_grow()
152 pool->entry_cnt += pool->attr.chunk_cnt; in ofi_bufpool_grow()
176 if (!pool) in ofi_bufpool_create_attr()
194 pool->alloc_size = (pool->attr.chunk_cnt + 1) * pool->entry_size; in ofi_bufpool_create_attr()
200 pool->alloc_size = ofi_get_aligned_size(pool->alloc_size, in ofi_bufpool_create_attr()
204 pool->region_size = pool->alloc_size - pool->entry_size; in ofi_bufpool_create_attr()
[all …]
/dports/net/py-eventlet/eventlet-0.33.0/tests/
H A Ddagpool_test.py205 pool = DAGPool()
278 pool = DAGPool()
285 pool = DAGPool()
405 pool.waitall()
426 pool = DAGPool()
430 pool.spawn_many(deps, spawn_many_func, capture, pool)
487 pool = DAGPool()
494 pool.kill("a")
533 pool.kill("a")
617 pool["c"]
[all …]
/dports/net/grpcui/grpcui-1.1.0/vendor/golang.org/x/crypto/bn256/
H A Dtwist.go73 yy := newGFp2(pool).Square(c.y, pool)
74 xxx := newGFp2(pool).Square(c.x, pool)
109 s1 := newGFp2(pool).Mul(a.y, t, pool)
112 s2 := newGFp2(pool).Mul(b.y, t, pool)
118 i := newGFp2(pool).Square(t, pool)
119 j := newGFp2(pool).Mul(h, i, pool)
129 v := newGFp2(pool).Mul(u1, i, pool)
131 t4 := newGFp2(pool).Square(r, pool)
168 C := newGFp2(pool).Square(B, pool)
171 t2 := newGFp2(pool).Square(t, pool)
[all …]
/dports/mail/mailhog/MailHog-1.0.0/vendor/golang.org/x/crypto/bn256/
H A Dtwist.go73 yy := newGFp2(pool).Square(c.y, pool)
74 xxx := newGFp2(pool).Square(c.x, pool)
109 s1 := newGFp2(pool).Mul(a.y, t, pool)
112 s2 := newGFp2(pool).Mul(b.y, t, pool)
118 i := newGFp2(pool).Square(t, pool)
119 j := newGFp2(pool).Mul(h, i, pool)
129 v := newGFp2(pool).Mul(u1, i, pool)
131 t4 := newGFp2(pool).Square(r, pool)
168 C := newGFp2(pool).Square(B, pool)
171 t2 := newGFp2(pool).Square(t, pool)
[all …]
/dports/net/goreplay/goreplay-1.2.0/vendor/golang.org/x/crypto/crypto-75b288015ac9/bn256/
H A Dtwist.go73 yy := newGFp2(pool).Square(c.y, pool)
74 xxx := newGFp2(pool).Square(c.x, pool)
109 s1 := newGFp2(pool).Mul(a.y, t, pool)
112 s2 := newGFp2(pool).Mul(b.y, t, pool)
118 i := newGFp2(pool).Square(t, pool)
119 j := newGFp2(pool).Mul(h, i, pool)
129 v := newGFp2(pool).Mul(u1, i, pool)
131 t4 := newGFp2(pool).Square(r, pool)
168 C := newGFp2(pool).Square(B, pool)
171 t2 := newGFp2(pool).Square(t, pool)
[all …]
/dports/net/rclone/rclone-1.57.0/vendor/golang.org/x/crypto/bn256/
H A Dtwist.go73 yy := newGFp2(pool).Square(c.y, pool)
74 xxx := newGFp2(pool).Square(c.x, pool)
109 s1 := newGFp2(pool).Mul(a.y, t, pool)
112 s2 := newGFp2(pool).Mul(b.y, t, pool)
118 i := newGFp2(pool).Square(t, pool)
119 j := newGFp2(pool).Mul(h, i, pool)
129 v := newGFp2(pool).Mul(u1, i, pool)
131 t4 := newGFp2(pool).Square(r, pool)
168 C := newGFp2(pool).Square(B, pool)
171 t2 := newGFp2(pool).Square(t, pool)
[all …]
/dports/databases/pg_tileserv/pg_tileserv-1.0.8/vendor/golang.org/x/crypto/bn256/
H A Dtwist.go73 yy := newGFp2(pool).Square(c.y, pool)
74 xxx := newGFp2(pool).Square(c.x, pool)
109 s1 := newGFp2(pool).Mul(a.y, t, pool)
112 s2 := newGFp2(pool).Mul(b.y, t, pool)
118 i := newGFp2(pool).Square(t, pool)
119 j := newGFp2(pool).Mul(h, i, pool)
129 v := newGFp2(pool).Mul(u1, i, pool)
131 t4 := newGFp2(pool).Square(r, pool)
168 C := newGFp2(pool).Square(B, pool)
171 t2 := newGFp2(pool).Square(t, pool)
[all …]
/dports/sysutils/cbsd-mq-router/cbsd-mq-router-0.2/vendor/golang.org/x/crypto/bn256/
H A Dtwist.go73 yy := newGFp2(pool).Square(c.y, pool)
74 xxx := newGFp2(pool).Square(c.x, pool)
109 s1 := newGFp2(pool).Mul(a.y, t, pool)
112 s2 := newGFp2(pool).Mul(b.y, t, pool)
118 i := newGFp2(pool).Square(t, pool)
119 j := newGFp2(pool).Mul(h, i, pool)
129 v := newGFp2(pool).Mul(u1, i, pool)
131 t4 := newGFp2(pool).Square(r, pool)
168 C := newGFp2(pool).Square(B, pool)
171 t2 := newGFp2(pool).Square(t, pool)
[all …]
/dports/sysutils/cbsd-mq-api/cbsd-mq-api-0.3/vendor/golang.org/x/crypto/bn256/
H A Dtwist.go73 yy := newGFp2(pool).Square(c.y, pool)
74 xxx := newGFp2(pool).Square(c.x, pool)
109 s1 := newGFp2(pool).Mul(a.y, t, pool)
112 s2 := newGFp2(pool).Mul(b.y, t, pool)
118 i := newGFp2(pool).Square(t, pool)
119 j := newGFp2(pool).Mul(h, i, pool)
129 v := newGFp2(pool).Mul(u1, i, pool)
131 t4 := newGFp2(pool).Square(r, pool)
168 C := newGFp2(pool).Square(B, pool)
171 t2 := newGFp2(pool).Square(t, pool)
[all …]
/dports/databases/tile38/tile38-1.12.0/vendor/golang.org/x/crypto/bn256/
H A Dtwist.go73 yy := newGFp2(pool).Square(c.y, pool)
74 xxx := newGFp2(pool).Square(c.x, pool)
109 s1 := newGFp2(pool).Mul(a.y, t, pool)
112 s2 := newGFp2(pool).Mul(b.y, t, pool)
118 i := newGFp2(pool).Square(t, pool)
119 j := newGFp2(pool).Mul(h, i, pool)
129 v := newGFp2(pool).Mul(u1, i, pool)
131 t4 := newGFp2(pool).Square(r, pool)
168 C := newGFp2(pool).Square(B, pool)
171 t2 := newGFp2(pool).Square(t, pool)
[all …]
/dports/security/vault/vault-1.8.2/vendor/github.com/joyent/triton-go/vendor/golang.org/x/crypto/bn256/
H A Dtwist.go73 yy := newGFp2(pool).Square(c.y, pool)
74 xxx := newGFp2(pool).Square(c.x, pool)
109 s1 := newGFp2(pool).Mul(a.y, t, pool)
112 s2 := newGFp2(pool).Mul(b.y, t, pool)
118 i := newGFp2(pool).Square(t, pool)
119 j := newGFp2(pool).Mul(h, i, pool)
129 v := newGFp2(pool).Mul(u1, i, pool)
131 t4 := newGFp2(pool).Square(r, pool)
168 C := newGFp2(pool).Square(B, pool)
171 t2 := newGFp2(pool).Square(t, pool)
[all …]
/dports/deskutils/pet/pet-0.4.0/vendor/golang.org/x/crypto/bn256/
H A Dtwist.go73 yy := newGFp2(pool).Square(c.y, pool)
74 xxx := newGFp2(pool).Square(c.x, pool)
109 s1 := newGFp2(pool).Mul(a.y, t, pool)
112 s2 := newGFp2(pool).Mul(b.y, t, pool)
118 i := newGFp2(pool).Square(t, pool)
119 j := newGFp2(pool).Mul(h, i, pool)
129 v := newGFp2(pool).Mul(u1, i, pool)
131 t4 := newGFp2(pool).Square(r, pool)
168 C := newGFp2(pool).Square(B, pool)
171 t2 := newGFp2(pool).Square(t, pool)
[all …]
/dports/security/vault/vault-1.8.2/vendor/github.com/keybase/go-crypto/bn256/
H A Dtwist.go73 yy := newGFp2(pool).Square(c.y, pool)
74 xxx := newGFp2(pool).Square(c.x, pool)
109 s1 := newGFp2(pool).Mul(a.y, t, pool)
112 s2 := newGFp2(pool).Mul(b.y, t, pool)
118 i := newGFp2(pool).Square(t, pool)
119 j := newGFp2(pool).Mul(h, i, pool)
129 v := newGFp2(pool).Mul(u1, i, pool)
131 t4 := newGFp2(pool).Square(r, pool)
168 C := newGFp2(pool).Square(B, pool)
171 t2 := newGFp2(pool).Square(t, pool)
[all …]
/dports/security/vault/vault-1.8.2/vendor/golang.org/x/crypto/bn256/
H A Dtwist.go73 yy := newGFp2(pool).Square(c.y, pool)
74 xxx := newGFp2(pool).Square(c.x, pool)
109 s1 := newGFp2(pool).Mul(a.y, t, pool)
112 s2 := newGFp2(pool).Mul(b.y, t, pool)
118 i := newGFp2(pool).Square(t, pool)
119 j := newGFp2(pool).Mul(h, i, pool)
129 v := newGFp2(pool).Mul(u1, i, pool)
131 t4 := newGFp2(pool).Square(r, pool)
168 C := newGFp2(pool).Square(B, pool)
171 t2 := newGFp2(pool).Square(t, pool)
[all …]
/dports/www/go-www/www-2.0.0/vendor/golang.org/x/crypto/bn256/
H A Dtwist.go73 yy := newGFp2(pool).Square(c.y, pool)
74 xxx := newGFp2(pool).Square(c.x, pool)
109 s1 := newGFp2(pool).Mul(a.y, t, pool)
112 s2 := newGFp2(pool).Mul(b.y, t, pool)
118 i := newGFp2(pool).Square(t, pool)
119 j := newGFp2(pool).Mul(h, i, pool)
129 v := newGFp2(pool).Mul(u1, i, pool)
131 t4 := newGFp2(pool).Square(r, pool)
168 C := newGFp2(pool).Square(B, pool)
171 t2 := newGFp2(pool).Square(t, pool)
[all …]

1...<<11121314151617181920>>...1994