/dports/science/pagmo2/pagmo2-2.18.0/tests/ |
H A D | mbh.cpp | 58 mbh user_algo{inner_algo, 5, 1e-3}; in BOOST_AUTO_TEST_CASE() 61 BOOST_CHECK((user_algo.get_log() == mbh::log_type{})); in BOOST_AUTO_TEST_CASE() 64 mbh user_algo{inner_algo, 5, {1e-3, 1e-2, 1e-3, 1e-2}}; in BOOST_AUTO_TEST_CASE() 67 BOOST_CHECK((user_algo.get_log() == mbh::log_type{})); in BOOST_AUTO_TEST_CASE() 69 BOOST_CHECK_THROW((mbh{inner_algo, 5u, -2.1}), std::invalid_argument); in BOOST_AUTO_TEST_CASE() 70 BOOST_CHECK_THROW((mbh{inner_algo, 5u, 3.2}), std::invalid_argument); in BOOST_AUTO_TEST_CASE() 76 BOOST_CHECK_NO_THROW(mbh{}); in BOOST_AUTO_TEST_CASE() 157 auto before_log = algo.extract<mbh>()->get_log(); in BOOST_AUTO_TEST_CASE() 170 auto after_log = algo.extract<mbh>()->get_log(); in BOOST_AUTO_TEST_CASE() 232 const mbh uda(ia1{}, 5u, 1e-2, 23u); in BOOST_AUTO_TEST_CASE() [all …]
|
/dports/sysutils/syslinux/syslinux-6.03/com32/mboot/ |
H A D | map.c | 103 struct multiboot_header *mbh; in map_image() local 118 if (mbh->magic != MULTIBOOT_MAGIC) in map_image() 120 if (mbh->magic + mbh->flags + mbh->checksum) in map_image() 276 regs.eip = mbh->entry_addr; in map_image() 278 data_ptr = (char *)mbh - (mbh->header_addr - mbh->load_addr); in map_image() 280 if (mbh->load_end_addr) in map_image() 281 data_len = mbh->load_end_addr - mbh->load_addr; in map_image() 283 data_len = len - mbh_offset + (mbh->header_addr - mbh->load_addr); in map_image() 287 if (mbh->bss_end_addr) in map_image() 288 bss_len = mbh->bss_end_addr - mbh->load_end_addr; in map_image() [all …]
|
H A D | initvesa.c | 48 void set_graphics_mode(const struct multiboot_header *mbh, in set_graphics_mode() argument 62 if (!(mbh->flags & MULTIBOOT_VIDEO_MODE) || mbh->mode_type != 0) in set_graphics_mode() 96 wantx = mbh->width ? mbh->width : 0xffff; in set_graphics_mode() 97 wanty = mbh->height ? mbh->height : 0xffff; in set_graphics_mode() 180 else if (err == besterr && (pxf == (int)mbh->depth || pxf > bestpxf)) in set_graphics_mode()
|
H A D | mboot.c | 155 struct multiboot_header *mbh; in main() local 207 mbh = map_image(modules[0].data, modules[0].len); in main() 208 if (!mbh) in main() 241 set_graphics_mode(mbh, &mbinfo); in main()
|
/dports/net/belle-sip/belle-sip-1.6.3-0/tester/ |
H A D | belle_sip_core_tester.c | 286 belle_sip_memory_body_handler_t *mbh; in test_presence_marshal() local 299 belle_sip_body_handler_add_header(BELLE_SIP_BODY_HANDLER(mbh), content_transfer_encoding); in test_presence_marshal() 300 belle_sip_body_handler_add_header(BELLE_SIP_BODY_HANDLER(mbh), content_id); in test_presence_marshal() 301 belle_sip_body_handler_add_header(BELLE_SIP_BODY_HANDLER(mbh), content_type); in test_presence_marshal() 302 belle_sip_multipart_body_handler_add_part(mpbh, BELLE_SIP_BODY_HANDLER(mbh)); in test_presence_marshal() 314 belle_sip_memory_body_handler_apply_encoding(mbh, "deflate"); in test_compressed_body() 315 BC_ASSERT_EQUAL(belle_sip_memory_body_handler_unapply_encoding(mbh, "deflate"), 0, int, "%i"); in test_compressed_body() 316 belle_sip_object_unref(mbh); in test_compressed_body() 321 belle_sip_memory_body_handler_apply_encoding(mbh, "deflate"); in test_truncated_compressed_body() 323 …ody_handler_set_size(BELLE_SIP_BODY_HANDLER(mbh), belle_sip_body_handler_get_size(BELLE_SIP_BODY_H… in test_truncated_compressed_body() [all …]
|
/dports/science/pagmo2/pagmo2-2.18.0/src/algorithms/ |
H A D | mbh.cpp | 66 mbh::mbh() : m_algorithm(compass_search{}), m_stop(5u), m_perturb(1, 1e-2), m_verbosity(0u) in mbh() function in pagmo::mbh 73 void mbh::scalar_ctor_impl(double perturb) in scalar_ctor_impl() 81 void mbh::vector_ctor_impl(const vector_double &perturb) in vector_ctor_impl() 102 population mbh::evolve(population pop) const in evolve() 208 void mbh::set_seed(unsigned seed) in set_seed() 220 void mbh::set_perturb(const vector_double &perturb) in set_perturb() 238 thread_safety mbh::get_thread_safety() const in get_thread_safety() 247 std::string mbh::get_extra_info() const in get_extra_info() 262 void mbh::serialize(Archive &ar, unsigned) in serialize() 269 PAGMO_S11N_ALGORITHM_IMPLEMENT(pagmo::mbh)
|
/dports/science/pagmo2/pagmo2-2.18.0/include/pagmo/algorithms/ |
H A D | mbh.hpp | 82 class PAGMO_DLL_PUBLIC mbh class 90 mbh(); 123 explicit mbh(T &&a, unsigned stop, double perturb, unsigned seed = pagmo::random_device::next()) in mbh() function in pagmo::mbh 152 …explicit mbh(T &&a, unsigned stop, vector_double perturb, unsigned seed = pagmo::random_device::ne… in mbh() function in pagmo::mbh 299 PAGMO_S11N_ALGORITHM_EXPORT_KEY(pagmo::mbh)
|
/dports/print/pscal/pscal-1.16/ |
H A D | ChangeLog | 8 released by Mark Hanson 2005-01-01, mbh@panix.com 18 released by Mark Hanson 2002-01-12, mbh@panix.com 34 released by Mark Hanson 2001-12-23, mbh@panix.com 43 released by Mark Hanson 2001-04-15, mbh@panix.com 50 released by Mark Hanson 2001-04-14, mbh@panix.com 58 released by Mark Hanson 2000-10-31, mbh@panix.com 72 released by Mark Hanson 2000-06-11, mbh@netcom.com 80 released by Mark Hanson 2000-03-26, mbh@netcom.com 84 released by Mark Hanson 2000-01-25, mbh@netcom.com 87 released by Mark Hanson 1999-09-13, mbh@netcom.com
|
/dports/graphics/ossim/ossim-OrchidIsland-2.11.1/test/src/imaging/ |
H A D | ossim-histogram-test.cpp | 48 ossimRefPtr<ossimMultiBandHistogram> mbh = mrh->getMultiBandHistogram(0); in main() local 49 if ( mbh.valid() ) in main() 51 const ossim_uint32 BANDS = mbh->getNumberOfBands(); in main() 55 ossimRefPtr<ossimHistogram> h = mbh->getHistogram(band); in main()
|
/dports/science/py-pygmo2/pygmo2-2.18.0/pygmo/ |
H A D | _algorithm_test.py | 131 from .core import algorithm, _test_algorithm, mbh, de 146 t = mbh(_test_algorithm(), stop=5, perturb=[0.4]) 149 talgo = pt.extract(mbh) 386 from .core import algorithm, de, _tu_test_algorithm, mbh 406 from .core import algorithm, de, mbh 413 a_ = algorithm(mbh(de(), 10, 0.1)) 416 self.assertTrue(a.is_(mbh)) 417 self.assertTrue(a.extract(mbh).inner_algorithm.is_(de)) 423 a_ = algorithm(mbh(_algo(), 10, 0.1)) 426 self.assertTrue(a.is_(mbh)) [all …]
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/media/platform/s5p-mfc/ |
H A D | regs-mfc-v8.h | 110 #define S5P_FIMV_ME_BUFFER_SIZE_V8(imw, imh, mbw, mbh) \ argument 111 ((DIV_ROUND_UP((mbw * 16), 64) * DIV_ROUND_UP((mbh * 16), 64) * 256) \ 112 + (DIV_ROUND_UP((mbw) * (mbh), 32) * 16))
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/media/platform/s5p-mfc/ |
H A D | regs-mfc-v8.h | 110 #define S5P_FIMV_ME_BUFFER_SIZE_V8(imw, imh, mbw, mbh) \ argument 111 ((DIV_ROUND_UP((mbw * 16), 64) * DIV_ROUND_UP((mbh * 16), 64) * 256) \ 112 + (DIV_ROUND_UP((mbw) * (mbh), 32) * 16))
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/media/platform/s5p-mfc/ |
H A D | regs-mfc-v8.h | 110 #define S5P_FIMV_ME_BUFFER_SIZE_V8(imw, imh, mbw, mbh) \ argument 111 ((DIV_ROUND_UP((mbw * 16), 64) * DIV_ROUND_UP((mbh * 16), 64) * 256) \ 112 + (DIV_ROUND_UP((mbw) * (mbh), 32) * 16))
|
/dports/textproc/wiggle/wiggle-1.3/tests/linux/md-resync/ |
H A D | orig | 645 struct buffer_head *mbh; 661 mbh = bhl; 662 if (mbh == NULL) { 666 bhl = mbh->b_next; 667 mbh->b_next = NULL; 686 mbh->b_private = r1_bh; 1197 mbh = bhl; 1198 if (!mbh) { 1202 bhl = mbh->b_next; 1240 while (mbh) { [all …]
|
H A D | merge | 645 struct buffer_head *mbh; 661 mbh = bhl; 662 if (mbh == NULL) { 666 bhl = mbh->b_next; 667 mbh->b_next = NULL; 686 mbh->b_private = r1_bh; 1222 mbh = bhl; 1223 if (!mbh) { 1227 bhl = mbh->b_next; 1265 while (mbh) { [all …]
|
/dports/lang/clover/mesa-21.3.6/src/gallium/frontends/xvmc/tests/ |
H A D | xvmc_bench.c | 193 unsigned int mbw, mbh; in main() local 202 mbh = align(config.input_height, MACROBLOCK_HEIGHT) / MACROBLOCK_HEIGHT; in main() 240 …assert(XvMCCreateBlocks(display, &context, mbw * mbh * BLOCKS_PER_MACROBLOCK, &block_array) == Suc… in main() 241 assert(XvMCCreateMacroBlocks(display, &context, mbw * mbh, &mb_array) == Success); in main() 243 for (mby = 0; mby < mbh; ++mby) in main() 274 …face(display, &context, XVMC_FRAME_PICTURE, &surface, NULL, NULL, 0, mbw * mbh, 0, &mb_array, &blo… in main()
|
/dports/graphics/libosmesa/mesa-21.3.6/src/gallium/frontends/xvmc/tests/ |
H A D | xvmc_bench.c | 193 unsigned int mbw, mbh; in main() local 202 mbh = align(config.input_height, MACROBLOCK_HEIGHT) / MACROBLOCK_HEIGHT; in main() 240 …assert(XvMCCreateBlocks(display, &context, mbw * mbh * BLOCKS_PER_MACROBLOCK, &block_array) == Suc… in main() 241 assert(XvMCCreateMacroBlocks(display, &context, mbw * mbh, &mb_array) == Success); in main() 243 for (mby = 0; mby < mbh; ++mby) in main() 274 …face(display, &context, XVMC_FRAME_PICTURE, &surface, NULL, NULL, 0, mbw * mbh, 0, &mb_array, &blo… in main()
|
/dports/graphics/libosmesa-gallium/mesa-21.3.6/src/gallium/frontends/xvmc/tests/ |
H A D | xvmc_bench.c | 193 unsigned int mbw, mbh; in main() local 202 mbh = align(config.input_height, MACROBLOCK_HEIGHT) / MACROBLOCK_HEIGHT; in main() 240 …assert(XvMCCreateBlocks(display, &context, mbw * mbh * BLOCKS_PER_MACROBLOCK, &block_array) == Suc… in main() 241 assert(XvMCCreateMacroBlocks(display, &context, mbw * mbh, &mb_array) == Success); in main() 243 for (mby = 0; mby < mbh; ++mby) in main() 274 …face(display, &context, XVMC_FRAME_PICTURE, &surface, NULL, NULL, 0, mbw * mbh, 0, &mb_array, &blo… in main()
|
/dports/graphics/mesa-gallium-xa/mesa-21.3.6/src/gallium/frontends/xvmc/tests/ |
H A D | xvmc_bench.c | 193 unsigned int mbw, mbh; in main() local 202 mbh = align(config.input_height, MACROBLOCK_HEIGHT) / MACROBLOCK_HEIGHT; in main() 240 …assert(XvMCCreateBlocks(display, &context, mbw * mbh * BLOCKS_PER_MACROBLOCK, &block_array) == Suc… in main() 241 assert(XvMCCreateMacroBlocks(display, &context, mbw * mbh, &mb_array) == Success); in main() 243 for (mby = 0; mby < mbh; ++mby) in main() 274 …face(display, &context, XVMC_FRAME_PICTURE, &surface, NULL, NULL, 0, mbw * mbh, 0, &mb_array, &blo… in main()
|
/dports/graphics/mesa-libs/mesa-21.3.6/src/gallium/frontends/xvmc/tests/ |
H A D | xvmc_bench.c | 193 unsigned int mbw, mbh; in main() local 202 mbh = align(config.input_height, MACROBLOCK_HEIGHT) / MACROBLOCK_HEIGHT; in main() 240 …assert(XvMCCreateBlocks(display, &context, mbw * mbh * BLOCKS_PER_MACROBLOCK, &block_array) == Suc… in main() 241 assert(XvMCCreateMacroBlocks(display, &context, mbw * mbh, &mb_array) == Success); in main() 243 for (mby = 0; mby < mbh; ++mby) in main() 274 …face(display, &context, XVMC_FRAME_PICTURE, &surface, NULL, NULL, 0, mbw * mbh, 0, &mb_array, &blo… in main()
|
/dports/graphics/mesa-dri-gallium/mesa-21.3.6/src/gallium/frontends/xvmc/tests/ |
H A D | xvmc_bench.c | 193 unsigned int mbw, mbh; in main() local 202 mbh = align(config.input_height, MACROBLOCK_HEIGHT) / MACROBLOCK_HEIGHT; in main() 240 …assert(XvMCCreateBlocks(display, &context, mbw * mbh * BLOCKS_PER_MACROBLOCK, &block_array) == Suc… in main() 241 assert(XvMCCreateMacroBlocks(display, &context, mbw * mbh, &mb_array) == Success); in main() 243 for (mby = 0; mby < mbh; ++mby) in main() 274 …face(display, &context, XVMC_FRAME_PICTURE, &surface, NULL, NULL, 0, mbw * mbh, 0, &mb_array, &blo… in main()
|
/dports/graphics/mesa-gallium-va/mesa-21.3.6/src/gallium/frontends/xvmc/tests/ |
H A D | xvmc_bench.c | 193 unsigned int mbw, mbh; in main() local 202 mbh = align(config.input_height, MACROBLOCK_HEIGHT) / MACROBLOCK_HEIGHT; in main() 240 …assert(XvMCCreateBlocks(display, &context, mbw * mbh * BLOCKS_PER_MACROBLOCK, &block_array) == Suc… in main() 241 assert(XvMCCreateMacroBlocks(display, &context, mbw * mbh, &mb_array) == Success); in main() 243 for (mby = 0; mby < mbh; ++mby) in main() 274 …face(display, &context, XVMC_FRAME_PICTURE, &surface, NULL, NULL, 0, mbw * mbh, 0, &mb_array, &blo… in main()
|
/dports/graphics/mesa-devel/mesa-22.0-branchpoint-2059-ge8a63cf61ec/src/gallium/frontends/xvmc/tests/ |
H A D | xvmc_bench.c | 193 unsigned int mbw, mbh; in main() local 202 mbh = align(config.input_height, MACROBLOCK_HEIGHT) / MACROBLOCK_HEIGHT; in main() 240 …assert(XvMCCreateBlocks(display, &context, mbw * mbh * BLOCKS_PER_MACROBLOCK, &block_array) == Suc… in main() 241 assert(XvMCCreateMacroBlocks(display, &context, mbw * mbh, &mb_array) == Success); in main() 243 for (mby = 0; mby < mbh; ++mby) in main() 274 …face(display, &context, XVMC_FRAME_PICTURE, &surface, NULL, NULL, 0, mbw * mbh, 0, &mb_array, &blo… in main()
|
/dports/graphics/mesa-gallium-vdpau/mesa-21.3.6/src/gallium/frontends/xvmc/tests/ |
H A D | xvmc_bench.c | 193 unsigned int mbw, mbh; in main() local 202 mbh = align(config.input_height, MACROBLOCK_HEIGHT) / MACROBLOCK_HEIGHT; in main() 240 …assert(XvMCCreateBlocks(display, &context, mbw * mbh * BLOCKS_PER_MACROBLOCK, &block_array) == Suc… in main() 241 assert(XvMCCreateMacroBlocks(display, &context, mbw * mbh, &mb_array) == Success); in main() 243 for (mby = 0; mby < mbh; ++mby) in main() 274 …face(display, &context, XVMC_FRAME_PICTURE, &surface, NULL, NULL, 0, mbw * mbh, 0, &mb_array, &blo… in main()
|
/dports/graphics/mesa-dri-classic/mesa-20.2.3/src/gallium/frontends/xvmc/tests/ |
H A D | xvmc_bench.c | 193 unsigned int mbw, mbh; in main() local 202 mbh = align(config.input_height, MACROBLOCK_HEIGHT) / MACROBLOCK_HEIGHT; in main() 240 …assert(XvMCCreateBlocks(display, &context, mbw * mbh * BLOCKS_PER_MACROBLOCK, &block_array) == Suc… in main() 241 assert(XvMCCreateMacroBlocks(display, &context, mbw * mbh, &mb_array) == Success); in main() 243 for (mby = 0; mby < mbh; ++mby) in main() 274 …face(display, &context, XVMC_FRAME_PICTURE, &surface, NULL, NULL, 0, mbw * mbh, 0, &mb_array, &blo… in main()
|