/dports/emulators/elliott-803/Elliott-803-0.1.8/emulator/cpu/ |
H A D | alu_test.c | 93 const int64_t pos_max = INT803(0x3fffffffffLL); in main() local 113 test_add_op("4: M 0 1", 4, pos_max, zero, pos_1, neg_max, true); in main() 114 test_add_op("5: M 0 1", 5, neg_max, zero, pos_1, pos_max, true); in main() 115 test_add_op("7: -1 0 M", 5, neg_1, zero, pos_max, neg_max, false); in main() 123 test_mpy("M * M", pos_max, pos_max, pos_max_m1, pos_1); in main() 130 test_div("max / max", zero, pos_max, pos_max, pos_1); in main() 133 test_div("max/2 / max", pos_max_d2, pos_max, pos_max, pos_highest); in main() 135 test_div("maxH / max", pos_max, zero, pos_max, sign_bit); in main() 136 test_div("maxHL / max", pos_max, pos_max, pos_max, sign_bit | pos_1); in main() 138 test_div("-1 / -1", neg_1, pos_max, neg_1, pos_1); in main() [all …]
|
H A D | fpu_test.c | 93 const int64_t pos_max = FLOAT803(03777777777777LL); in main() local 160 test_2_args("add +max+max", fpu_add, pos_max, pos_max, pos_max, true); in main() 179 test_2_args("mpy 10 * max ", fpu_mpy, pos_10, pos_max, pos_max, true); in main() 183 test_2_args("div max / max", fpu_div, pos_max, pos_max, pos_1, false); in main() 184 test_2_args("div max / 2 ", fpu_div, pos_max, pos_2, pos_max_div_2, false); in main() 185 test_2_args("div max / 0.5", fpu_div, pos_max, pos_0_5, pos_max, true); in main() 190 test_2_args("div +1 / 0", fpu_div, pos_1, zero, pos_max, true); in main() 191 test_2_args("div -1 / 0", fpu_div, neg_1, zero, pos_max, true); in main()
|
/dports/math/mfem/mfem-4.3/miniapps/gslib/ |
H A D | findpts.cpp | 105 Vector pos_min, pos_max; in main() local 107 mesh.GetBoundingBox(pos_min, pos_max, mesh_poly_deg); in main() 109 << "x in [" << pos_min(0) << ", " << pos_max(0) << "]\n" in main() 110 << "y in [" << pos_min(1) << ", " << pos_max(1) << "]\n"; in main() 113 cout << "z in [" << pos_min(2) << ", " << pos_max(2) << "]\n"; in main() 195 vxyz(i) = 100*pos_min(0) + ip.x * (pos_max(0)-pos_min(0)); in main() 196 vxyz(pts_cnt + i) = 100*pos_min(1) + ip.y * (pos_max(1)-pos_min(1)); in main() 206 vxyz(i) = pos_min(0) + ip.x * (pos_max(0)-pos_min(0)); in main() 207 vxyz(pts_cnt + i) = pos_min(1) + ip.y * (pos_max(1)-pos_min(1)); in main() 208 vxyz(2*pts_cnt + i) = pos_min(2) + ip.z * (pos_max(2)-pos_min(2)); in main()
|
H A D | field-diff.cpp | 89 Vector pos_min, pos_max; in main() local 91 mesh_1.GetBoundingBox(pos_min, pos_max, mesh_poly_deg); in main() 93 << " x in [" << pos_min(0) << ", " << pos_max(0) << "]\n" in main() 94 << " y in [" << pos_min(1) << ", " << pos_max(1) << "]\n"; in main() 97 cout << "z in [" << pos_min(2) << ", " << pos_max(2) << "]\n"; in main() 149 vxyz(i) = pos_min(0) + ip.x * (pos_max(0)-pos_min(0)); in main() 150 vxyz(pts_cnt + i) = pos_min(1) + ip.y * (pos_max(1)-pos_min(1)); in main() 160 vxyz(i) = pos_min(0) + ip.x * (pos_max(0)-pos_min(0)); in main() 161 vxyz(pts_cnt + i) = pos_min(1) + ip.y * (pos_max(1)-pos_min(1)); in main() 162 vxyz(2*pts_cnt + i) = pos_min(2) + ip.z * (pos_max(2)-pos_min(2)); in main()
|
H A D | pfindpts.cpp | 118 Vector pos_min, pos_max; in main() local 120 mesh->GetBoundingBox(pos_min, pos_max, mesh_poly_deg); in main() 124 << "x in [" << pos_min(0) << ", " << pos_max(0) << "]\n" in main() 125 << "y in [" << pos_min(1) << ", " << pos_max(1) << "]\n"; in main() 128 cout << "z in [" << pos_min(2) << ", " << pos_max(2) << "]\n"; in main() 223 vxyz(i) = pos_min(0) + ip.x * (pos_max(0)-pos_min(0)); in main() 224 vxyz(pts_cnt + i) = pos_min(1) + ip.y * (pos_max(1)-pos_min(1)); in main() 234 vxyz(i) = pos_min(0) + ip.x * (pos_max(0)-pos_min(0)); in main() 235 vxyz(pts_cnt + i) = pos_min(1) + ip.y * (pos_max(1)-pos_min(1)); in main() 236 vxyz(2*pts_cnt + i) = pos_min(2) + ip.z * (pos_max(2)-pos_min(2)); in main()
|
/dports/emulators/vice/vice-3.5/src/lib/libffmpeg/libavformat/ |
H A D | ffmdec.c | 175 int64_t pos_min, pos_max; in adjust_write_index() local 185 pts = get_dts(s, pos_max); in adjust_write_index() 194 pts = get_dts(s, pos_max); in adjust_write_index() 209 pos_max = newpos; in adjust_write_index() 215 ffm->write_index += pos_max; in adjust_write_index() 566 int64_t pos_min, pos_max, pos; in ffm_seek() local 585 while (pos_min <= pos_max) { in ffm_seek() 587 pts_max = get_dts(s, pos_max); in ffm_seek() 598 else if (pos >= pos_max) in ffm_seek() 599 pos = pos_max; in ffm_seek() [all …]
|
H A D | yop.c | 196 int64_t frame_pos, pos_min, pos_max; in yop_read_seek() local 203 pos_max = avio_size(s->pb) - yop->frame_size; in yop_read_seek() 204 frame_count = (pos_max - pos_min) / yop->frame_size; in yop_read_seek()
|
/dports/emulators/libretro-vice/vice-libretro-5725415/vice/src/lib/libffmpeg/libavformat/ |
H A D | ffmdec.c | 175 int64_t pos_min, pos_max; in adjust_write_index() local 185 pts = get_dts(s, pos_max); in adjust_write_index() 194 pts = get_dts(s, pos_max); in adjust_write_index() 209 pos_max = newpos; in adjust_write_index() 215 ffm->write_index += pos_max; in adjust_write_index() 566 int64_t pos_min, pos_max, pos; in ffm_seek() local 585 while (pos_min <= pos_max) { in ffm_seek() 587 pts_max = get_dts(s, pos_max); in ffm_seek() 598 else if (pos >= pos_max) in ffm_seek() 599 pos = pos_max; in ffm_seek() [all …]
|
H A D | yop.c | 196 int64_t frame_pos, pos_min, pos_max; in yop_read_seek() local 203 pos_max = avio_size(s->pb) - yop->frame_size; in yop_read_seek() 204 frame_count = (pos_max - pos_min) / yop->frame_size; in yop_read_seek()
|
/dports/net/corosync2/corosync-2.4.5/include/corosync/ |
H A D | sq.h | 52 unsigned int pos_max; member 129 sq->pos_max = 0; in sq_init() 159 sq->pos_max = 0; in sq_reinit() 177 for (i = sq->pos_max + 1; i < sq->size; i++) { in sq_assert() 195 sq_dest->pos_max = sq_src->pos_max; in sq_copy() 230 if (sq_position > sq->pos_max) { in sq_item_add() 231 sq->pos_max = sq_position; in sq_item_add()
|
/dports/textproc/htdig/htdig-3.2.0b6/htnet/ |
H A D | Connection.cc | 88 : pos(0), pos_max(0), in Connection() 107 : pos(rhs.pos), pos_max(rhs.pos_max), in Connection() 496 if (pos >= pos_max) in Read_Char() 498 pos_max = Read_Partial(buffer, sizeof(buffer)); in Read_Char() 500 if (pos_max <= 0) in Read_Char() 665 if (pos < pos_max) in Read() 667 int n = MIN(length, pos_max - pos); in Read() 694 pos = pos_max = 0; in Flush()
|
/dports/sysutils/xvidcap/xvidcap-1.1.7/ffmpeg/libavformat/ |
H A D | ffm.c | 399 offset_t pos_min, pos_max; in adjust_write_index() local 409 pts = get_pts(s, pos_max); in adjust_write_index() 418 pts = get_pts(s, pos_max); in adjust_write_index() 433 pos_max = newpos; in adjust_write_index() 439 ffm->write_index += pos_max; in adjust_write_index() 673 offset_t pos_min, pos_max, pos; in ffm_seek() local 684 while (pos_min <= pos_max) { in ffm_seek() 686 pts_max = get_pts(s, pos_max); in ffm_seek() 693 else if (pos >= pos_max) in ffm_seek() 694 pos = pos_max; in ffm_seek() [all …]
|
/dports/science/votca/votca-2021.2-18560-gfbe18d971/csg/src/tools/ |
H A D | csg_reupdate.cc | 171 votca::Index pos_max = pos_start + potential_->ucg->getOptParamSize(); in BeginEvaluate() local 173 for (votca::Index row = pos_start; row < pos_max; row++) { in BeginEvaluate() 360 for (votca::Index row = pos_start; row < pos_max; row++) { in REUpdateLamda() 374 votca::Index pos_max = pos_start + potinfo->ucg->getOptParamSize(); in AAavgNonbonded() local 402 for (votca::Index row = pos_start; row < pos_max; row++) { in AAavgNonbonded() 427 for (votca::Index col = row; col < pos_max; col++) { in AAavgNonbonded() 487 votca::Index pos_max = pos_start + pot->ucg->getOptParamSize(); in ForkWorker() local 489 for (votca::Index row = pos_start; row < pos_max; row++) { in ForkWorker() 602 votca::Index pos_max = pos_start + potinfo->ucg->getOptParamSize(); in EvalNonbonded() local 613 for (votca::Index row = pos_start; row < pos_max; row++) { in EvalNonbonded() [all …]
|
/dports/science/votca/votca-2021.2-18560-gfbe18d971/csg/csg-da5c1dc/src/tools/ |
H A D | csg_reupdate.cc | 171 votca::Index pos_max = pos_start + potential_->ucg->getOptParamSize(); in BeginEvaluate() local 173 for (votca::Index row = pos_start; row < pos_max; row++) { in BeginEvaluate() 360 for (votca::Index row = pos_start; row < pos_max; row++) { in REUpdateLamda() 374 votca::Index pos_max = pos_start + potinfo->ucg->getOptParamSize(); in AAavgNonbonded() local 402 for (votca::Index row = pos_start; row < pos_max; row++) { in AAavgNonbonded() 427 for (votca::Index col = row; col < pos_max; col++) { in AAavgNonbonded() 487 votca::Index pos_max = pos_start + pot->ucg->getOptParamSize(); in ForkWorker() local 489 for (votca::Index row = pos_start; row < pos_max; row++) { in ForkWorker() 602 votca::Index pos_max = pos_start + potinfo->ucg->getOptParamSize(); in EvalNonbonded() local 613 for (votca::Index row = pos_start; row < pos_max; row++) { in EvalNonbonded() [all …]
|
/dports/games/stonesoup/crawl-0.27.1/crawl-ref/source/dat/dlua/layout/ |
H A D | geoelf_corridors.lua | 174 local pos_max 177 pos_max = math.min(pos2, pos1 + radius1) 180 pos_max = math.min(pos1, pos2 + radius2) 183 if (pos_min < pos_max) then 185 return crawl.random_range(pos_min, pos_max) 188 return math.floor((pos_min + pos_max) / 2)
|
/dports/devel/cpp2py/cpp2py-2.0.0/c++/cpp2py/ |
H A D | misc.hpp | 90 int pos = 0, pos_max = 0; member in cpp2py::reconstructor 93 reconstructor(PyObject *borrowed_ref) : tup(borrowed_ref) { pos_max = PyTuple_Size(tup) - 1; } in reconstructor() 95 if (pos > pos_max) CPP2PY_RUNTIME_ERROR << " Tuple too short in reconstruction"; in operator &()
|
/dports/sysutils/most/most-5.1.0/src/ |
H A D | file.c | 308 unsigned char *pos, *pos_max; in examine_file_contents() local 314 pos_max = pos + 512; in examine_file_contents() 315 if (pos_max > Most_Eob) in examine_file_contents() 316 pos_max = Most_Eob; in examine_file_contents() 318 while (pos < pos_max) in examine_file_contents() 332 pos_max = Most_Eob; in examine_file_contents() 333 if ((pos_max > pos + 80) in examine_file_contents()
|
/dports/audio/opencore-amr/opencore-amr-0.1.5/opencore/codecs_v2/audio/gsm_amr/amr_nb/enc/src/ |
H A D | c1035pf.cpp | 584 Word16 ipos[NB_PULSE], pos_max[NB_TRACK], codvec[NB_PULSE]; in code_10i40_35bits() local 589 set_sign12k2(dn, cn, sign, pos_max, NB_TRACK, ipos, STEP, pOverflow); in code_10i40_35bits() 593 dn, rr, ipos, pos_max, codvec, pOverflow); in code_10i40_35bits()
|
/dports/net/gopher/gopher/gopher/ |
H A D | pager.c | 124 static int pos_max; variable 224 pos_max = PosIncrement; in PagePosAlloc() 235 MallocSize = sizeof(int) * (pos_max + PosIncrement); in PagePosRealloc() 242 pos_max += PosIncrement; in PagePosRealloc() 406 if(currentpage == pos_max) in PagerNextPage() 478 if(currentpage == pos_max) in PagerSearch()
|
/dports/cad/kicad-devel/kicad-a17a58203b33e08b966075833b177dad5740c236/gerbview/ |
H A D | am_primitive.cpp | 752 wxSize pos_min, pos_max, pos; in GetShapeDim() local 765 pos_min = pos_max = pos; in GetShapeDim() 777 if( pos_max.x < pos.x ) in GetShapeDim() 778 pos_max.x = pos.x; in GetShapeDim() 780 if( pos_max.y < pos.y ) in GetShapeDim() 781 pos_max.y = pos.y; in GetShapeDim() 793 size.x = pos_max.x - pos_min.x; in GetShapeDim() 794 size.y = pos_max.y - pos_min.y; in GetShapeDim()
|
/dports/multimedia/gstreamer1-libav/gst-libav-1.16.2/gst-libs/ext/libav/libavformat/ |
H A D | yop.c | 191 int64_t frame_pos, pos_min, pos_max; in yop_read_seek() local 198 pos_max = avio_size(s->pb) - yop->frame_size; in yop_read_seek() 199 frame_count = (pos_max - pos_min) / yop->frame_size; in yop_read_seek()
|
/dports/multimedia/ffmpeg/ffmpeg-4.4.1/libavformat/ |
H A D | yop.c | 184 int64_t frame_pos, pos_min, pos_max; in yop_read_seek() local 191 pos_max = avio_size(s->pb) - yop->frame_size; in yop_read_seek() 192 frame_count = (pos_max - pos_min) / yop->frame_size; in yop_read_seek()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/ffmpeg/libavformat/ |
H A D | yop.c | 187 int64_t frame_pos, pos_min, pos_max; in yop_read_seek() local 194 pos_max = avio_size(s->pb) - yop->frame_size; in yop_read_seek() 195 frame_count = (pos_max - pos_min) / yop->frame_size; in yop_read_seek()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/ffmpeg/libavformat/ |
H A D | yop.c | 184 int64_t frame_pos, pos_min, pos_max; in yop_read_seek() local 191 pos_max = avio_size(s->pb) - yop->frame_size; in yop_read_seek() 192 frame_count = (pos_max - pos_min) / yop->frame_size; in yop_read_seek()
|
/dports/multimedia/handbrake/ffmpeg-4.4/libavformat/ |
H A D | yop.c | 184 int64_t frame_pos, pos_min, pos_max; in yop_read_seek() local 191 pos_max = avio_size(s->pb) - yop->frame_size; in yop_read_seek() 192 frame_count = (pos_max - pos_min) / yop->frame_size; in yop_read_seek()
|