Home
last modified time | relevance | path

Searched refs:rstate (Results 1 – 25 of 1163) sorted by relevance

12345678910>>...47

/dports/net-p2p/c-lightning/lightning-0.10.2/gossipd/
H A Drouting.c25 struct routing_state *rstate; member
244 rstate->txout_failures_old = rstate->txout_failures; in txout_failure_age()
248 rstate->txout_failure_timer = new_reltimer(rstate->timers, in txout_failure_age()
286 rstate->nodes = new_node_map(rstate); in new_routing_state()
289 rstate->gs = gossip_store_new(rstate, peers); in new_routing_state()
307 rstate->gossip_time = tal(rstate, struct timeabs); in new_routing_state()
321 return rstate; in new_routing_state()
349 free_chan(rstate, c); in destroy_node()
737 pna->rstate = rstate; in catch_node_announcement()
876 rstate->gs, in routing_add_channel_announcement()
[all …]
H A Drouting.h62 void free_chan(struct routing_state *rstate, struct chan *chan);
277 get_channel(const struct routing_state *rstate, in get_channel() argument
280 return uintmap_get(&rstate->chanmap, scid->u64); in get_channel()
297 struct chan *new_chan(struct routing_state *rstate,
323 struct routing_state *rstate,
347 struct node *get_node(struct routing_state *rstate,
350 void route_prune(struct routing_state *rstate);
422 bool would_ratelimit_cupdate(struct routing_state *rstate,
451 void remove_channel_from_store(struct routing_state *rstate,
457 void remove_all_gossip(struct routing_state *rstate);
[all …]
/dports/math/py-theano/Theano-1.0.5/theano/gpuarray/tests/
H A Dtest_rng_mrg.py49 sample.rstate = rstate
83 rstate = [curr_rstate.copy()]
85 rstate.append(rng_mrg.ff_2p72(rstate[-1]))
86 rstate = np.asarray(rstate)
87 rstate = gpuarray_shared_constructor(rstate)
96 sample.rstate = rstate
141 rstate = [curr_rstate.copy()]
143 rstate.append(rng_mrg.ff_2p72(rstate[-1]))
144 rstate = np.asarray(rstate)
145 rstate = gpuarray_shared_constructor(rstate)
[all …]
/dports/www/libnghttp3/nghttp3-b9e565c/lib/
H A Dnghttp3_qpack.c2755 rstate->huffman_encoded = (b & (1 << rstate->prefix)) != 0; in qpack_read_state_check_huffman()
2760 rstate->name->len = nghttp3_buf_len(&rstate->namebuf); in qpack_read_state_terminate_name()
2765 rstate->value->len = nghttp3_buf_len(&rstate->valuebuf); in qpack_read_state_terminate_value()
3822 rstate->absidx = decoder->ctx.next_absidx - rstate->left - 1; in nghttp3_qpack_decoder_rel2abs()
3824 rstate->absidx = rstate->left; in nghttp3_qpack_decoder_rel2abs()
3834 nghttp3_qpack_read_state *rstate = &sctx->rstate; in nghttp3_qpack_decoder_brel2abs() local
3844 rstate->absidx = sctx->base - rstate->left - 1; in nghttp3_qpack_decoder_brel2abs()
3850 rstate->absidx = rstate->left; in nghttp3_qpack_decoder_brel2abs()
3861 nghttp3_qpack_read_state *rstate = &sctx->rstate; in nghttp3_qpack_decoder_pbrel2abs() local
3868 rstate->absidx = rstate->left + sctx->base; in nghttp3_qpack_decoder_pbrel2abs()
[all …]
H A Dnghttp3_conn.c475 nghttp3_stream_read_state *rstate = &stream->rstate; in conn_read_type() local
619 nghttp3_stream_read_state *rstate = &stream->rstate; in nghttp3_conn_read_control() local
666 rstate->left = rstate->fr.hd.length = rvint->acc; in nghttp3_conn_read_control()
836 if (rstate->left) { in nghttp3_conn_read_control()
978 if (rstate->left) { in nghttp3_conn_read_control()
1011 if (rstate->left) { in nghttp3_conn_read_control()
1184 nghttp3_stream_read_state *rstate = &stream->rstate; in nghttp3_conn_read_bidi() local
1247 rstate->left = rstate->fr.hd.length = rvint->acc; in nghttp3_conn_read_bidi()
1336 if (rstate->left) { in nghttp3_conn_read_bidi()
1369 if (rstate->left) { in nghttp3_conn_read_bidi()
[all …]
/dports/math/mingw32-libgmp/gmp-6.0.0/tests/
H A Dmisc.c334 mpz_urandomb (rop, rstate, gmp_urandomm_ui (rstate, nbits)); in mpz_erandomb()
348 mpz_rrandomb (rop, rstate, gmp_urandomm_ui (rstate, nbits)); in mpz_errandomb()
387 gmp_randstate_t rstate; in call_rand_algs() local
394 gmp_randclear (rstate); in call_rand_algs()
396 gmp_randinit_mt (rstate); in call_rand_algs()
398 gmp_randclear (rstate); in call_rand_algs()
402 gmp_randclear (rstate); in call_rand_algs()
406 gmp_randclear (rstate); in call_rand_algs()
410 gmp_randclear (rstate); in call_rand_algs()
416 gmp_randclear (rstate); in call_rand_algs()
[all …]
/dports/math/cado-nfs/cado-nfs-f4284e2391121b2bfb97bc4880b6273c7250dc2f/tests/linalg/bwc/
H A Dtest_matpoly.cpp37 gmp_randstate_t rstate; member
53 gmp_randinit_default(rstate); in matpoly_checker_base()
69 gmp_randinit_default(rstate); in matpoly_checker_base()
76 gmp_randclear(rstate); in ~matpoly_checker_base()
116 gmp_randseed_ui(rstate, seed); P0.clear_and_set_random(len1, rstate); in fill_random_is_deterministic()
117 gmp_randseed_ui(rstate, seed); P1.clear_and_set_random(len1, rstate); in fill_random_is_deterministic()
126 gmp_randseed_ui(rstate, seed); P0.clear_and_set_random(len1, rstate); in realloc_does_what_it_says()
127 gmp_randseed_ui(rstate, seed); P1.clear_and_set_random(len1, rstate); in realloc_does_what_it_says()
461 gmp_randstate_t rstate; in main() local
518 gmp_randinit_default(rstate); in main()
[all …]
/dports/math/gap/gap-4.11.0/extern/gmp/tests/
H A Dmisc.c348 mpz_urandomb (rop, rstate, gmp_urandomm_ui (rstate, nbits)); in mpz_erandomb()
362 mpz_rrandomb (rop, rstate, gmp_urandomm_ui (rstate, nbits)); in mpz_errandomb()
401 gmp_randstate_t rstate; in call_rand_algs() local
408 gmp_randclear (rstate); in call_rand_algs()
410 gmp_randinit_mt (rstate); in call_rand_algs()
412 gmp_randclear (rstate); in call_rand_algs()
416 gmp_randclear (rstate); in call_rand_algs()
420 gmp_randclear (rstate); in call_rand_algs()
424 gmp_randclear (rstate); in call_rand_algs()
430 gmp_randclear (rstate); in call_rand_algs()
[all …]
/dports/math/mpir/mpir-3.0.0/tests/
H A Dmisc.c347 mpz_urandomb (rop, rstate, gmp_urandomm_ui (rstate, nbits)); in mpz_erandomb()
361 mpz_rrandomb (rop, rstate, gmp_urandomm_ui (rstate, nbits)); in mpz_errandomb()
401 gmp_randstate_t rstate; in call_rand_algs() local
408 gmp_randclear (rstate); in call_rand_algs()
410 gmp_randinit_mt (rstate); in call_rand_algs()
412 gmp_randclear (rstate); in call_rand_algs()
416 gmp_randclear (rstate); in call_rand_algs()
420 gmp_randclear (rstate); in call_rand_algs()
424 gmp_randclear (rstate); in call_rand_algs()
430 gmp_randclear (rstate); in call_rand_algs()
[all …]
/dports/math/cado-nfs/cado-nfs-f4284e2391121b2bfb97bc4880b6273c7250dc2f/tests/linalg/bblas/
H A Dtest_bblas_level4_gauss.cpp34 mat64_fill_random(m, rstate); in gauss()
35 mat64_fill_random(e, rstate); in gauss()
36 mat64_fill_random(mm, rstate); in gauss()
39 memfill_random(m4, 4 * sizeof(mat64), rstate); in gauss()
64 TIME1(2, gauss_MN_C, 10, 2, rstate); in gauss()
65 TIME1(2, gauss_MN_C, 2, 10, rstate); in gauss()
66 TIME1(2, gauss_MN_C, 100, 2, rstate); in gauss()
67 TIME1(2, gauss_MN_C, 2, 100, rstate); in gauss()
68 TIME1(2, gauss_MN_C, 1000, 2, rstate); in gauss()
69 TIME1(2, gauss_MN_C, 2, 1000, rstate); in gauss()
[all …]
/dports/math/gmp/gmp-6.2.1/tests/
H A Dmisc.c376 mpz_urandomb (rop, rstate, gmp_urandomm_ui (rstate, nbits)); in mpz_erandomb()
390 mpz_rrandomb (rop, rstate, gmp_urandomm_ui (rstate, nbits)); in mpz_errandomb()
437 gmp_randstate_t rstate; in call_rand_algs() local
444 gmp_randclear (rstate); in call_rand_algs()
446 gmp_randinit_mt (rstate); in call_rand_algs()
448 gmp_randclear (rstate); in call_rand_algs()
452 gmp_randclear (rstate); in call_rand_algs()
456 gmp_randclear (rstate); in call_rand_algs()
460 gmp_randclear (rstate); in call_rand_algs()
466 gmp_randclear (rstate); in call_rand_algs()
[all …]
/dports/math/kalker/gmp-mpfr-sys-21966f4bfb56c87d407eb14c72e92ef4e55856aa/gmp-6.2.1-c/tests/
H A Dmisc.c376 mpz_urandomb (rop, rstate, gmp_urandomm_ui (rstate, nbits)); in mpz_erandomb()
390 mpz_rrandomb (rop, rstate, gmp_urandomm_ui (rstate, nbits)); in mpz_errandomb()
437 gmp_randstate_t rstate; in call_rand_algs() local
444 gmp_randclear (rstate); in call_rand_algs()
446 gmp_randinit_mt (rstate); in call_rand_algs()
448 gmp_randclear (rstate); in call_rand_algs()
452 gmp_randclear (rstate); in call_rand_algs()
456 gmp_randclear (rstate); in call_rand_algs()
460 gmp_randclear (rstate); in call_rand_algs()
466 gmp_randclear (rstate); in call_rand_algs()
[all …]
/dports/math/cado-nfs/cado-nfs-f4284e2391121b2bfb97bc4880b6273c7250dc2f/tests/linalg/bwc/mpfq/
H A Dmpfq_test.cpp.meta67 gmp_randstate_t rstate;
79 gmp_randinit_mt(rstate);
80 gmp_randseed_ui(rstate, seed);
108 gmp_randclear(rstate);
203 gmp_randstate_t rstate;
209 gmp_randinit_mt(rstate);
210 gmp_randseed_ui(rstate, seed);
277 Krandom2 (a0, rstate);
278 Krandom2 (a1, rstate);
284 Krandom2 (a0, rstate);
[all …]
/dports/math/cado-nfs/cado-nfs-f4284e2391121b2bfb97bc4880b6273c7250dc2f/tests/linalg/bwc/flint-fft/
H A Dtest-flint.c67 rs = 10 + gmp_urandomm_ui(rstate, 200); in operand_sizes()
136 mpn_rrandom(x, rstate, nx); in bitrandom()
138 mpn_randomb(x, rstate, nx); in bitrandom()
150 mpn_rrandom(x, rstate, cx * np); in bitrandom_fppol()
152 mpn_randomb(x, rstate, cx * np); in bitrandom_fppol()
300 int test_mul(gmp_randstate_t rstate) /*{{{*/ in test_mul() argument
503 gmp_randstate_t rstate; in main() local
504 gmp_randinit_default(rstate); in main()
548 gmp_randseed_ui(rstate, seed); in main()
560 test_mulmod(rstate); in main()
[all …]
/dports/net-p2p/c-lightning/lightning-0.10.2/gossipd/test/
H A Drun-txout_failure.c115 struct routing_state *rstate; in main() local
132 add_to_txout_failures(rstate, &scid1); in main()
133 assert(in_txout_failures(rstate, &scid1)); in main()
135 assert(rstate->num_txout_failures == 1); in main()
137 add_to_txout_failures(rstate, &scid2); in main()
138 assert(in_txout_failures(rstate, &scid1)); in main()
140 assert(rstate->num_txout_failures == 2); in main()
149 assert(rstate->num_txout_failures == 0); in main()
151 assert(rstate->num_txout_failures == 1); in main()
158 assert(rstate->num_txout_failures == 0); in main()
[all …]
/dports/archivers/pecl-rar/rar-4.2.0/
H A Drar_navigation.c137 rstate->out.eof = 0; in _rar_entry_search_seek()
138 rstate->out.found = 0; in _rar_entry_search_seek()
142 rstate->index = pos; in _rar_entry_search_seek()
161 rstate->out.eof = 0; in _rar_entry_search_rewind()
162 rstate->out.found = 0; in _rar_entry_search_rewind()
166 rstate->index = 0; in _rar_entry_search_rewind()
192 memset(&rstate->out, 0, sizeof rstate->out); in _rar_entry_search_advance()
196 if (rstate->out.eof || (rstate->index >= entries->num_entries) || in _rar_entry_search_advance()
199 rstate->out.eof = 1; in _rar_entry_search_advance()
292 rstate->out.eof = 1; in _rar_entry_search_advance()
[all …]
/dports/math/concorde/concorde/INCLUDE/
H A Dkdtree.h59 double *wcoord, CCrandstate *rstate),
62 int silent, CCrandstate *rstate),
65 int **olist, int silent, CCrandstate *rstate),
67 CCdatagroup *dat, double *wcoord, int *list, CCrandstate *rstate),
69 CCdatagroup *dat, double *wcoord, int *list, CCrandstate *rstate),
80 double *wcoord, int *outtree, double *val, CCrandstate *rstate),
82 int *outcycle, double *val, int silent, CCrandstate *rstate),
86 int *outcycle, double *val, CCrandstate *rstate),
88 int *outcycle, double *val, CCrandstate *rstate),
91 int silent, CCrandstate *rstate),
[all …]
/dports/games/openomf/openomf-c36c421/src/game/protos/
H A Dplayer.c259 rstate->disable_gravity = 1; in player_run()
261 rstate->disable_gravity = 0; in player_run()
344 rstate->method_flags &= 0x0010; in player_run()
350 rstate->method_flags &= 0x0001; in player_run()
355 rstate->method_flags &= 0x0008; in player_run()
360 rstate->method_flags &= 0x0100; in player_run()
364 rstate->method_flags &= 0x0400; in player_run()
381 rstate->pal_start_index = 1; in player_run()
400 rstate->o_correction.x = 0; in player_run()
406 rstate->o_correction.y = 0; in player_run()
[all …]
/dports/math/concorde/concorde/EDGEGEN/
H A Dedgegen.c148 CCrandstate *rstate),
151 CCrandstate *rstate),
154 CCrandstate *rstate),
172 CCrandstate *rstate),
181 CCrandstate *rstate),
186 CCrandstate *rstate),
196 CCrandstate *rstate);
206 CCrandstate *rstate) in CC_PTRWORLD_LIST_ROUTINES()
632 CCrandstate *rstate) in call_nearest() argument
1835 rstate)) { in call_mlinkern()
[all …]
/dports/devel/notcurses/notcurses-3.0.1/src/lib/
H A Drender.c839 if(nc->rstate.fgpalelidable && nc->rstate.lastr == palfg){ in emit_fg_palindex()
857 if(nc->rstate.bgpalelidable && nc->rstate.lastbr == palbg){ in emit_bg_palindex()
1163 …if(nc->rstate.fgelidable && nc->rstate.lastr == r && nc->rstate.lastg == g && nc->rstate.lastb == … in rasterize_core()
1173 r = nc->rstate.lastr; g = nc->rstate.lastg; b = nc->rstate.lastb; in rasterize_core()
1176 nc->rstate.lastr = r; nc->rstate.lastg = g; nc->rstate.lastb = b; in rasterize_core()
1192 …if(nc->rstate.bgelidable && nc->rstate.lastbr == br && nc->rstate.lastbg == bg && nc->rstate.lastb… in rasterize_core()
1201 nc->rstate.lastbr = br; nc->rstate.lastbg = bg; nc->rstate.lastbb = bb; in rasterize_core()
1236 … if((int)y > nc->rstate.logendy || ((int)y == nc->rstate.logendy && (int)x > nc->rstate.logendx)){ in rasterize_core()
1383 goto_location(nc, f, nc->rstate.logendy, nc->rstate.logendx, nc->rstate.lastsrcp); in notcurses_rasterize()
1399 nc->rstate.x = nc->rstate.y = 0; in clear_and_home()
[all …]
/dports/misc/ompl/ompl-1.5.2/src/ompl/base/spaces/src/
H A DRealVectorStateSpace.cpp81 rstate->values[i] = v; in sampleGaussian()
190 auto *rstate = static_cast<StateType *>(state); in enforceBounds() local
193 if (rstate->values[i] > bounds_.high[i]) in enforceBounds()
194 rstate->values[i] = bounds_.high[i]; in enforceBounds()
196 rstate->values[i] = bounds_.low[i]; in enforceBounds()
274 auto *rstate = new StateType(); in allocState() local
275 rstate->values = new double[dimension_]; in allocState()
276 return rstate; in allocState()
282 delete[] rstate->values; in freeState()
283 delete rstate; in freeState()
[all …]
/dports/math/concorde/concorde/BIGGUY/
H A Dbg_test.c35 intrand (int maxi, CCrandstate *rstate);
54 CCrandstate rstate; in main() local
56 CCutil_sprand (47, &rstate); in main()
77 &rstate); in main()
81 &rstate); in main()
109 x = bgrand (delta, maxx, rstate); in dotest()
111 y = bgrand (delta, maxy, rstate); in dotest()
113 m = intrand (maxm, rstate); in dotest()
134 j = CCutil_lprand (rstate); in dotest()
238 if (CCutil_lprand (rstate) & 1) { in bgrand()
[all …]
/dports/math/gmp/gmp-6.2.1/tests/rand/
H A Dt-rand.c139 gmp_randstate_t rstate; in main() local
179 gmp_randseed_ui (rstate, SEED); in main()
183 mpz_urandomb (rz, rstate, a->nbits); in main()
198 gmp_randclear (rstate); in main()
209 gmp_randseed_ui (rstate, SEED); in main()
215 mpf_urandomb (rf, rstate, a->nbits); in main()
230 gmp_randclear (rstate); in main()
244 gmp_randseed_ui (rstate, SEED); in main()
252 mpz_urandomb (rz, rstate, nbits); in main()
268 mpf_urandomb (rf, rstate, nbits); in main()
[all …]
/dports/math/gap/gap-4.11.0/extern/gmp/tests/rand/
H A Dt-rand.c139 gmp_randstate_t rstate; in main() local
179 gmp_randseed_ui (rstate, SEED); in main()
183 mpz_urandomb (rz, rstate, a->nbits); in main()
198 gmp_randclear (rstate); in main()
209 gmp_randseed_ui (rstate, SEED); in main()
215 mpf_urandomb (rf, rstate, a->nbits); in main()
230 gmp_randclear (rstate); in main()
244 gmp_randseed_ui (rstate, SEED); in main()
252 mpz_urandomb (rz, rstate, nbits); in main()
268 mpf_urandomb (rf, rstate, nbits); in main()
[all …]
/dports/math/mingw32-libgmp/gmp-6.0.0/tests/rand/
H A Dt-rand.c139 gmp_randstate_t rstate; in main() local
179 gmp_randseed_ui (rstate, SEED); in main()
183 mpz_urandomb (rz, rstate, a->nbits); in main()
198 gmp_randclear (rstate); in main()
209 gmp_randseed_ui (rstate, SEED); in main()
215 mpf_urandomb (rf, rstate, a->nbits); in main()
230 gmp_randclear (rstate); in main()
244 gmp_randseed_ui (rstate, SEED); in main()
252 mpz_urandomb (rz, rstate, nbits); in main()
268 mpf_urandomb (rf, rstate, nbits); in main()
[all …]

12345678910>>...47