Home
last modified time | relevance | path

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

/dports/misc/thrill/thrill-12c5b59bca66df93b66628b3829027bd0f110dd9/tests/common/
H A Dzipf_distribution_test.cpp27 std::map<size_t, size_t> countmap; in TEST() local
30 countmap[zipf(rng)]++; in TEST()
33 for (const auto& e : countmap) { in TEST()
/dports/science/chemps2/CheMPS2-1.8.10/CheMPS2/include/chemps2/
H A DFCI.h545 …up, const unsigned int dim_down, double * origin, double * result, int * signmap, int * countmap );
546 …n, const unsigned int stop_down, double * origin, double * result, int * signmap, int * countmap );
547 …n, const unsigned int stop_down, double * origin, double * result, int * signmap, int * countmap );
550 …const unsigned int dim_new_down, double * origin, double * result, int * signmap, int * countmap );
551 …n, const unsigned int stop_down, double * origin, double * result, int * signmap, int * countmap );
552 …n, const unsigned int stop_down, double * origin, double * result, int * signmap, int * countmap );
/dports/emulators/dps8m/dps8m-572f79bb4f0f84a8b16c3892c894c2b9ed64b458/src/simh/
H A Dsim_tape.c1840 uint32 *countmap = NULL; in sim_tape_tpc_map() local
1846 countmap = (uint32 *)calloc (65536, sizeof(*countmap)); in sim_tape_tpc_map()
1855 if (countmap[bc] == 0) in sim_tape_tpc_map()
1857 ++countmap[bc]; in sim_tape_tpc_map()
1879 if (countmap[i]) { in sim_tape_tpc_map()
1883 …E_DBG_STR, dptr, "tpc_map: summary - %u %d byte record%s\n", countmap[i], (int)i, (countmap[i] > 1… in sim_tape_tpc_map()
1890 ((objc == countmap[0]) && in sim_tape_tpc_map()
1891 (countmap[0] != 2))) { /* Unreasonable format? */ in sim_tape_tpc_map()
1896 if (objc == countmap[0]) in sim_tape_tpc_map()
1898 free (countmap); in sim_tape_tpc_map()
[all …]
/dports/math/cadabra2/cadabra2-2.3.6.8/core/algorithms/
H A Dcanonicalise.cc56 std::set<Ex, tree_exact_less_mod_prel_obj> countmap(comp); in remove_traceless_traces() local
71 if(countmap.find(Ex(indit))==countmap.end()) { in remove_traceless_traces()
72 countmap.insert(Ex(indit)); in remove_traceless_traces()
/dports/science/chemps2/CheMPS2-1.8.10/CheMPS2/
H A DFCI.cpp530 …up, const unsigned int dim_down, double * origin, double * result, int * signmap, int * countmap ){ in excite_alpha_omp() argument
536 const int cnt_old_up = countmap[ cnt_new_up ]; in excite_alpha_omp()
545 …const unsigned int dim_new_down, double * origin, double * result, int * signmap, int * countmap ){ in excite_beta_omp() argument
551 const int cnt_old_down = countmap[ cnt_new_down ]; in excite_beta_omp()
560 …n, const unsigned int stop_down, double * origin, double * result, int * signmap, int * countmap ){ in excite_alpha_first() argument
565 const int cnt_old_up = countmap[ cnt_new_up ]; in excite_alpha_first()
574 …n, const unsigned int stop_down, double * origin, double * result, int * signmap, int * countmap ){ in excite_beta_first() argument
579 const int cnt_old_down = countmap[ cnt_new_down ]; in excite_beta_first()
594 const int cnt_new_up = countmap[ cnt_old_up ]; in excite_alpha_second_omp()
603 …n, const unsigned int stop_down, double * origin, double * result, int * signmap, int * countmap ){ in excite_beta_second_omp() argument
[all …]
/dports/devel/hs-darcs/darcs-2.16.4/src/Darcs/Util/
H A DTree.hs380 where fix t unmod items' = (unmod, t { items = (countmap items':: Int) `seq` items'
414 countmap :: forall a k. M.Map k a -> Int
415 countmap = M.foldr (\_ i -> i + 1) 0 function