/dports/science/axom/axom-0.6.1/src/axom/primal/tests/ |
H A D | primal_sphere.cpp | 145 const double MAGIC_NUM = 42; in check_copy_constructor() local 146 double center[3] = {MAGIC_NUM, MAGIC_NUM, MAGIC_NUM}; in check_copy_constructor() 147 double radius = MAGIC_NUM; in check_copy_constructor() 157 EXPECT_DOUBLE_EQ(c2[i], MAGIC_NUM); in check_copy_constructor() 161 EXPECT_DOUBLE_EQ(s2.getRadius(), MAGIC_NUM); in check_copy_constructor() 168 const double MAGIC_NUM = 42; in check_assignment_operator() local 169 double center[3] = {MAGIC_NUM, MAGIC_NUM, MAGIC_NUM}; in check_assignment_operator() 170 double radius = MAGIC_NUM; in check_assignment_operator() 183 EXPECT_DOUBLE_EQ(c2[i], MAGIC_NUM); in check_assignment_operator() 187 EXPECT_DOUBLE_EQ(s2.getRadius(), MAGIC_NUM); in check_assignment_operator()
|
H A D | primal_plane.cpp | 39 const double MAGIC_NUM = 42; in check_copy_constructor() local 40 primal::Vector<double, NDIMS> n1(MAGIC_NUM); in check_copy_constructor() 41 double offset = MAGIC_NUM; in check_copy_constructor() 55 EXPECT_DOUBLE_EQ(p1.getOffset(), MAGIC_NUM); in check_copy_constructor() 62 const double MAGIC_NUM = 42; in check_assignment_operator() local 66 primal::Vector<double, NDIMS> n1(MAGIC_NUM); in check_assignment_operator() 67 double offset = MAGIC_NUM; in check_assignment_operator() 84 EXPECT_DOUBLE_EQ(p1.getOffset(), MAGIC_NUM); in check_assignment_operator()
|
/dports/comms/limesuite/LimeSuite-20.10.0/src/ConnectionSPI/ |
H A D | lime_spi.h | 11 #define MAGIC_NUM 117 macro 12 #define IOCTL_PROGSTOP _IO(MAGIC_NUM, 1) 13 #define IOCTL_PROGSTART _IO(MAGIC_NUM, 0)
|
/dports/games/cgoban/cgoban-1.9.14/wmslib/src/ |
H A D | wms.h | 153 #define MAGIC_NUM 31415927 /* Any random number will do. */ macro 154 #define MAGIC_SET(x) ((x)->magic = MAGIC_NUM) 156 #define MAGIC(x) ((x)->magic == MAGIC_NUM) 157 #define MAGICNULL(x) (((x) == NULL) || ((x)->magic == MAGIC_NUM))
|
/dports/science/axom/axom-0.6.1/src/axom/mint/tests/ |
H A D | mint_deprecated_mcarray.cpp | 626 constexpr T MAGIC_NUM = 52706; in check_emplace() local 652 v.emplace(9, v.size(), MAGIC_NUM); in check_emplace() 677 EXPECT_EQ(v(i, j), MAGIC_NUM); in check_emplace() 683 v.emplace(9, 0, MAGIC_NUM); in check_emplace() 704 EXPECT_EQ(v(i, j), MAGIC_NUM); in check_emplace() 727 EXPECT_EQ(v(i, j), MAGIC_NUM); in check_emplace() 734 v.emplace(9, middle, MAGIC_NUM); in check_emplace() 755 EXPECT_EQ(v(i, j), MAGIC_NUM); in check_emplace() 778 EXPECT_EQ(v(i, j), MAGIC_NUM); in check_emplace() 801 EXPECT_EQ(v(i, j), MAGIC_NUM); in check_emplace() [all …]
|
H A D | mint_mesh_field_variable.cpp | 179 const double MAGIC_NUM = 42; in TEST() local 195 ptr[i] = MAGIC_NUM; in TEST() 204 EXPECT_DOUBLE_EQ(f[i], MAGIC_NUM); in TEST()
|
/dports/science/axom/axom-0.6.1/src/axom/sidre/tests/ |
H A D | sidre_mcarray.cpp | 653 constexpr T MAGIC_NUM = 52706; in check_emplace() local 681 v.emplace(v.size(), MAGIC_NUM); in check_emplace() 708 EXPECT_EQ(v(i, j), MAGIC_NUM); in check_emplace() 716 v.emplace(0, MAGIC_NUM); in check_emplace() 738 EXPECT_EQ(v(i, j), MAGIC_NUM); in check_emplace() 762 EXPECT_EQ(v(i, j), MAGIC_NUM); in check_emplace() 771 v.emplace(middle, MAGIC_NUM); in check_emplace() 793 EXPECT_EQ(v(i, j), MAGIC_NUM); in check_emplace() 816 EXPECT_EQ(v(i, j), MAGIC_NUM); in check_emplace() 839 EXPECT_EQ(v(i, j), MAGIC_NUM); in check_emplace() [all …]
|
/dports/dns/knot-resolver/knot-resolver-5.4.3/modules/policy/lua-aho-corasick/ |
H A D | ac_slow.cxx | 298 #define MAGIC_NUM 0x5a in Save_Patterns() macro 299 _pattern_buf[buf_size] = MAGIC_NUM; in Save_Patterns() 314 ASSERT(_pattern_buf[buf_size] == MAGIC_NUM); in Save_Patterns() 315 #undef MAGIC_NUM in Save_Patterns()
|
/dports/math/sprng/sprng5/SRC/ |
H A D | info.h | 9 #define MAGIC_NUM "222222222222222" macro
|
H A D | basic.cpp | 337 num = MAGIC_NUM; in init_rel_prime()
|
/dports/security/ncrack/ncrack-0.7/ |
H A D | ncrack_resume.h | 142 #define MAGIC_NUM 0xdeadbe11 /* a bell that doesn't ring */ macro
|
H A D | ncrack_resume.cc | 225 uint32_t magic = MAGIC_NUM; /* a bell that doesn't ring */ in ncrack_save() 458 if (magic != MAGIC_NUM) in ncrack_resume()
|
/dports/math/sprng/sprng5/SRC/pmlcg/ |
H A D | info.h | 13 #define MAGIC_NUM "222222222222222" macro
|
H A D | basic.h | 336 num = (char *)MAGIC_NUM; in init_rel_prime()
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/media/platform/omap3isp/ |
H A D | ispstat.c | 29 #define MAGIC_NUM 0x55 macro 110 if (likely(*w != MAGIC_NUM)) in isp_stat_buf_check_magic() 123 if (unlikely(*w != MAGIC_NUM)) { in isp_stat_buf_check_magic() 151 memset(buf->virt_addr, MAGIC_NUM, MAGIC_SIZE); in isp_stat_buf_insert_magic() 152 memset(buf->virt_addr + buf_size, MAGIC_NUM, MAGIC_SIZE); in isp_stat_buf_insert_magic()
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/media/platform/omap3isp/ |
H A D | ispstat.c | 29 #define MAGIC_NUM 0x55 macro 110 if (likely(*w != MAGIC_NUM)) in isp_stat_buf_check_magic() 123 if (unlikely(*w != MAGIC_NUM)) { in isp_stat_buf_check_magic() 151 memset(buf->virt_addr, MAGIC_NUM, MAGIC_SIZE); in isp_stat_buf_insert_magic() 152 memset(buf->virt_addr + buf_size, MAGIC_NUM, MAGIC_SIZE); in isp_stat_buf_insert_magic()
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/media/platform/omap3isp/ |
H A D | ispstat.c | 29 #define MAGIC_NUM 0x55 macro 110 if (likely(*w != MAGIC_NUM)) in isp_stat_buf_check_magic() 123 if (unlikely(*w != MAGIC_NUM)) { in isp_stat_buf_check_magic() 151 memset(buf->virt_addr, MAGIC_NUM, MAGIC_SIZE); in isp_stat_buf_insert_magic() 152 memset(buf->virt_addr + buf_size, MAGIC_NUM, MAGIC_SIZE); in isp_stat_buf_insert_magic()
|
/dports/cad/irsim/irsim-9.7.110/base/ |
H A D | hist_io.c | 45 #define MAGIC_NUM( DELTA, NNODES ) ( ((DELTA) ^ (NNODES)) & 0xffff ) macro 209 mag = MAGIC_NUM( cur_delta, nnodes ); 259 magic != MAGIC_NUM( newTime, n_nodes ) )
|
/dports/net/pathneck/pathneck-1.3/ |
H A D | pathneck.h | 78 #define MAGIC_NUM 0xabcdef78 /* used for matching pkts */ macro
|
H A D | pathneck.c | 267 outicmp->icmp_mask = htonl(MAGIC_NUM); 550 if (ntohl(icmp->icmp_mask) != MAGIC_NUM)
|
/dports/math/vtk9/VTK-9.1.0/IO/OMF/core/ |
H A D | OMFFile.cxx | 173 constexpr unsigned char MAGIC_NUM[MAGIC_NUM_LEN] = { 0x84, 0x83, 0x82, 0x81 }; in ReadHeader() local 188 if (MAGIC_NUM[i] != magicNum[i]) in ReadHeader()
|
/dports/finance/moneymanagerex/moneymanagerex-1.2.7/src/ |
H A D | general_report_manager.h | 126 MAGIC_NUM = 16, enumerator
|
H A D | general_report_manager.cpp | 409 if (FindWindow(type + MAGIC_NUM)) return; in createEditorTab() 412 wxPanel* panel = new wxPanel(editors_notebook, type + MAGIC_NUM); in createEditorTab()
|
/dports/games/dxx-rebirth/dxx-rebirth_20211220-src/similar/editor/ |
H A D | curves.cpp | 330 #define MAGIC_NUM 0.707*F1_0 in generate_banked_curve() macro 333 scaled_ang = fixdiv(angle,fixmul(maxscale,MAGIC_NUM)); in generate_banked_curve()
|
/dports/science/axom/axom-0.6.1/src/axom/core/tests/ |
H A D | core_array.hpp | 1154 constexpr double MAGIC_NUM = 5683578.8; in TEST() local 1164 std::fill_n(buffer.doubles, MAX_VALUES, MAGIC_NUM); in TEST() 1177 std::fill_n(v_double_view.data(), size, MAGIC_NUM); in TEST() 1182 EXPECT_EQ(buffer.doubles[i], MAGIC_NUM); in TEST()
|