/dports/cad/gmsh/gmsh-4.9.2-source/demos/api/ |
H A D | gui.py | 19 gmsh.model.occ.addBox(-R, -R, -R, 2 * R, 2 * R, 2 * R, 1) 20 gmsh.model.occ.addSphere(0, 0, 0, Rt, 2) 21 gmsh.model.occ.intersect([(3, 1)], [(3, 2)], 3) 22 gmsh.model.occ.addCylinder(-2 * R, 0, 0, 4 * R, 0, 0, Rs, 4) 23 gmsh.model.occ.addCylinder(0, -2 * R, 0, 0, 4 * R, 0, Rs, 5) 24 gmsh.model.occ.addCylinder(0, 0, -2 * R, 0, 0, 4 * R, Rs, 6) 25 gmsh.model.occ.fuse([(3, 4), (3, 5)], [(3, 6)], 7) 26 gmsh.model.occ.cut([(3, 3)], [(3, 7)], 8) 27 gmsh.model.occ.synchronize()
|
H A D | pipe.py | 17 gmsh.model.occ.addPoint(r * math.cos(theta), r * math.sin(theta), 20 gmsh.model.occ.addSpline(range(1, npts), 1) 21 gmsh.model.occ.addWire([1], 1) 23 gmsh.model.occ.addDisk(1,0,0, rd, rd, 1) 25 gmsh.model.occ.addRectangle(1+2*rd,-rd,0, 2*rd,2*rd, 2, rd/5) 26 gmsh.model.occ.rotate([(2, 1), (2, 2)], 0, 0, 0, 1, 0, 0, math.pi/2) 29 gmsh.model.occ.addPipe([(2, 1), (2, 2)], 1, 'Frenet') 31 gmsh.model.occ.remove([(2, 1), (2, 2), (1, 1)]) 33 gmsh.model.occ.synchronize()
|
H A D | gui.jl | 17 gmsh.model.occ.addBox(-R, -R, -R, 2 * R, 2 * R, 2 * R, 1) 18 gmsh.model.occ.addSphere(0, 0, 0, Rt, 2) 19 gmsh.model.occ.intersect([(3, 1)], [(3, 2)], 3) 20 gmsh.model.occ.addCylinder(-2 * R, 0, 0, 4 * R, 0, 0, Rs, 4) 21 gmsh.model.occ.addCylinder(0, -2 * R, 0, 0, 4 * R, 0, Rs, 5) 22 gmsh.model.occ.addCylinder(0, 0, -2 * R, 0, 0, 4 * R, Rs, 6) 23 gmsh.model.occ.fuse([(3, 4), (3, 5)], [(3, 6)], 7) 24 gmsh.model.occ.cut([(3, 3)], [(3, 7)], 8) 25 gmsh.model.occ.synchronize()
|
/dports/multimedia/navidrome/navidrome-0.40.0/vendor/github.com/esimonov/ifshort/pkg/analyzer/ |
H A D | occurrences.go | 18 return occ.ifStmtPos != token.NoPos && occ.declarationPos != token.NoPos 40 for marker, occ := range smo { 41 if occ.declarationPos < pos && occ.declarationPos >= foundPos { 43 foundPos = occ.declarationPos 54 for _, occ := range smo { 55 if occ.ifStmtPos == pos { 92 marker: occ, 228 occ := markeredOccs[marker] 229 if occ.isComplete() { 233 occ.ifStmtPos = ifPos [all …]
|
/dports/science/qmcpack/qmcpack-3.11.0/tests/solids/diamondC_2x1x1-Gaussian_pp_MSD/twf_input/ |
H A D | Carbon2x1x1-tw0.out | 182 Highest 2-occ = 0.62762071686568 | 0.627620716865679 | 0.627620716865679 183 Lowest 0-occ = 0.835046163460989 | 0.835046163460946 | 0.835046163460946 185 Highest 2-occ = 0.489378808205246 | 0.489378808205247 | 0.489378808205247 186 Lowest 0-occ = 0.955467099670779 | 0.955467099670773 | 0.955467099670773 205 Highest 2-occ = 0.357025408075562 | 0.357025408075562 | 0.357025408075562 206 Lowest 0-occ = 1.0116578179863 | 1.0116578179863 | 1.0116578179863 208 Highest 2-occ = 0.166662885634153 | 0.16666288563415 | 0.16666288563415 209 Lowest 0-occ = 1.13913508130548 | 1.13913508130549 | 1.13913508130549 228 Highest 2-occ = 0.339783798539549 | 0.344362284121849 | 0.344362284121849 229 Lowest 0-occ = 1.01329717515038 | 1.01283759212578 | 1.01283759212578 [all …]
|
/dports/science/qmcpack/qmcpack-3.11.0/tests/solids/diamondC_2x1x1-Gaussian_pp_cplx_MSD_excited/twf_input/ |
H A D | Carbon2x1x1-tw1.out | 183 Highest 2-occ = 0.612860052687173 | 0.612860052687172 | 0.612860052687172 184 Lowest 0-occ = 0.886343130138124 | 0.886343130138119 | 0.886343130138119 186 Highest 2-occ = 0.495398598905267 | 0.495398598905267 | 0.495398598905267 187 Lowest 0-occ = 0.956157424471335 | 0.956157424471306 | 0.956157424471302 206 Highest 2-occ = 0.288034489113472 | 0.288034489113468 | 0.288034489113468 207 Lowest 0-occ = 1.04377939892096 | 1.04377939892096 | 1.04377939892096 209 Highest 2-occ = 0.170593073801419 | 0.170593073801417 | 0.170593073801418 210 Lowest 0-occ = 1.1393574503986 | 1.1393574503986 | 1.1393574503986 229 Highest 2-occ = 0.27717540910405 | 0.280236805386599 | 0.280236805386599 230 Lowest 0-occ = 1.04427045919647 | 1.04410607164177 | 1.04410607164177 [all …]
|
/dports/science/qmcpack/qmcpack-3.11.0/tests/solids/diamondC_2x1x1-Gaussian_pp_cplx_MSD/twf_input/ |
H A D | Carbon2x1x1-tw1.out | 184 Highest 2-occ = 0.612860052671807 | 0.612860052671804 | 0.612860052671805 185 Lowest 0-occ = 0.8863431300946 | 0.886343130094599 | 0.886343130094599 187 Highest 2-occ = 0.495398598878647 | 0.495398598878645 | 0.495398598878645 188 Lowest 0-occ = 0.956157424483262 | 0.956157424483259 | 0.956157424483256 207 Highest 2-occ = 0.288034489097422 | 0.288034489097416 | 0.288034489097416 208 Lowest 0-occ = 1.0437793988626 | 1.0437793988626 | 1.0437793988626 210 Highest 2-occ = 0.170593073773853 | 0.170593073773857 | 0.170593073773857 211 Lowest 0-occ = 1.13935745040266 | 1.13935745040266 | 1.13935745040266 230 Highest 2-occ = 0.277175409088273 | 0.280236805372314 | 0.280236805372314 231 Lowest 0-occ = 1.04427045917727 | 1.04410607161181 | 1.04410607161181 [all …]
|
/dports/x11/alacritty/alacritty-0.9.0/alacritty_terminal/src/grid/ |
H A D | tests.rs | 36 assert_eq!(grid[Line(0)].occ, 1); in scroll_up() 38 assert_eq!(grid[Line(1)].occ, 1); in scroll_up() 40 assert_eq!(grid[Line(2)].occ, 1); in scroll_up() 42 assert_eq!(grid[Line(3)].occ, 1); in scroll_up() 44 assert_eq!(grid[Line(4)].occ, 1); in scroll_up() 46 assert_eq!(grid[Line(5)].occ, 1); in scroll_up() 48 assert_eq!(grid[Line(6)].occ, 1); in scroll_up() 50 assert_eq!(grid[Line(7)].occ, 1); in scroll_up() 52 assert_eq!(grid[Line(8)].occ, 0); in scroll_up() 54 assert_eq!(grid[Line(9)].occ, 0); in scroll_up() [all …]
|
/dports/cad/gmsh/gmsh-4.9.2-source/tutorial/python/ |
H A D | t18.py | 26 gmsh.model.occ.addBox(0, 0, 0, 1, 1, 1, 1) 27 gmsh.model.occ.synchronize() 55 gmsh.model.occ.addBox(2, 0, 0, 1, 1, 1, 10) 59 gmsh.model.occ.addSphere(x, y, z, 0.35, 11) 60 gmsh.model.occ.addSphere(x + 1, y, z, 0.35, 12) 61 gmsh.model.occ.addSphere(x, y + 1, z, 0.35, 13) 62 gmsh.model.occ.addSphere(x, y, z + 1, 0.35, 14) 63 gmsh.model.occ.addSphere(x + 1, y + 1, z, 0.35, 15) 64 gmsh.model.occ.addSphere(x, y + 1, z + 1, 0.35, 16) 65 gmsh.model.occ.addSphere(x + 1, y, z + 1, 0.35, 17) [all …]
|
H A D | t20.py | 24 v = gmsh.model.occ.importShapes(os.path.join(path, os.pardir, 't20_data.step')) 34 xmin, ymin, zmin, xmax, ymax, zmax = gmsh.model.occ.getBoundingBox( 52 s.append((2, gmsh.model.occ.addRectangle(xmin, ymin, zmin, L, H))) 54 gmsh.model.occ.rotate([s[0]], xmin, ymin, zmin, 0, 1, 0, -math.pi/2) 56 gmsh.model.occ.rotate([s[0]], xmin, ymin, zmin, 1, 0, 0, math.pi/2) 60 gmsh.model.occ.translate([s[0]], tx, ty, tz) 64 s.extend(gmsh.model.occ.copy([s[0]])) 65 gmsh.model.occ.translate([s[-1]], i * tx, i * ty, i * tz) 68 gmsh.model.occ.fragment(v, s) 73 gmsh.model.occ.remove(gmsh.model.occ.getEntities(2), True) [all …]
|
/dports/dns/dnscrypt-proxy2/dnscrypt-proxy-2.1.1/vendor/github.com/esimonov/ifshort/pkg/analyzer/ |
H A D | occurrences.go | 18 return occ.ifStmtPos != token.NoPos && occ.declarationPos != token.NoPos 40 for marker, occ := range smo { 41 if occ.declarationPos < pos && occ.declarationPos >= foundPos { 43 foundPos = occ.declarationPos 54 for _, occ := range smo { 55 if occ.ifStmtPos == pos { 92 marker: occ, 251 occ := markeredOccs[marker] 252 if occ.isComplete() { 256 occ.ifStmtPos = ifPos [all …]
|
/dports/devel/p5-Algorithm-Accounting/Algorithm-Accounting-0.08/lib/Algorithm/Accounting/Report/ |
H A D | Imager.pm | 12 my $occ = $occhash->{$field}; 14 for(sort {$occ->{$b} <=> $occ->{$a} } keys %$occ) { 16 push @values, $occ->{$_}; 24 my $filename = md5_hex($occ); 33 my $occ = $group_occurrence->[$i]; 34 my $rows = sum(values %$occ);
|
/dports/databases/evolution-data-server/evolution-data-server-3.42.1/src/calendar/libecal/ |
H A D | e-cal-recur.c | 2164 i_cal_time_set_date (start_tt, occ->year, occ->month + 1, occ->day); in generate_instances_for_chunk() 2165 i_cal_time_set_time (start_tt, occ->hour, occ->minute, occ->second); in generate_instances_for_chunk() 2196 occ, in generate_instances_for_chunk() 2205 i_cal_time_set_date (end_tt, occ->year, occ->month + 1, occ->day); in generate_instances_for_chunk() 2206 i_cal_time_set_time (end_tt, occ->hour, occ->minute, occ->second); in generate_instances_for_chunk() 2306 occ, in cal_object_get_rdate_end() 2401 &occ)) in cal_obj_expand_recurrence() 2650 occ->day, occ->month + 1, occ->year, occ->hour, occ->minute, in cal_obj_generate_set_default() 3794 occ->year, in cal_obj_bymonthday_filter() 3934 if (occ->year == year && occ->month == month) in cal_obj_byday_expand_monthly() [all …]
|
/dports/math/clingo/clingo-5.5.1/app/clingo/tests/python/ |
H A D | project.lp | 105 { occ(P, 1, P) : seq(P, S) } :- pattern(1,S). 107 :- seq(P, S), not occ(P, 1, P), pattern(1,S). 113 0{ occ(I,n,Q) : seq(Q,S), pattern(n,S), Q>P } 1 :- occ(I, n-1, P). 115 :- occ(I, n-1, P), occ(I, n, Q), seq(P',S), pattern(n,S), P<P', P'<Q. 116 :- occ(I, n, P), occ(J, n, P'), P=P', I<J. 117 :- occ(I, 1, P), occ(J, 1, P'), occ(I, n, Q), occ(J, n, Q'), P<P', Q'<Q, I!=J. 119 idocc(I,n) :- occ(I,n,Q).
|
/dports/math/clingo/clingo-5.5.1/libgringo/src/input/ |
H A D | aggregate.cc | 34 for (auto &occ : vars) { occurr[occ.first->ref].emplace_back(occ.first); } in add() local 48 for (auto &occ : occs.second) { occ->level = l; } in assignLevels() local 104 for (auto &occ : vars) { in getGlobal() local 105 if (occ.first->level == 0 && seen.emplace(occ.first->name).second) { in getGlobal() 106 global.emplace_back(occ.first->clone()); in getGlobal() 114 for (auto &occ : vars) { in getLocal() local 115 if (occ.first->level != 0 && seen.emplace(occ.first->name).second) { in getLocal() 116 local.emplace_back(occ.first->clone()); in getLocal()
|
/dports/science/InsightToolkit/ITK-5.0.1/Modules/ThirdParty/TIFF/src/itktiff/ |
H A D | tif_lzw.c | 388 if (residue > occ) { in LZWDecode() 400 tp = op + occ; in LZWDecode() 432 while (occ > 0) { in LZWDecode() 513 tp = op + occ; in LZWDecode() 551 if (occ > 0) { in LZWDecode() 612 if (residue > occ) { in LZWDecodeCompat() 623 tp = op + occ; in LZWDecodeCompat() 627 } while (--occ); in LZWDecodeCompat() 651 while (occ > 0) { in LZWDecodeCompat() 729 tp = op + occ; in LZWDecodeCompat() [all …]
|
/dports/multimedia/opentoonz/opentoonz-1.5.0/thirdparty/tiff-4.0.3/libtiff/ |
H A D | tif_lzw.c | 388 if (residue > occ) { in LZWDecode() 400 tp = op + occ; in LZWDecode() 432 while (occ > 0) { in LZWDecode() 513 tp = op + occ; in LZWDecode() 551 if (occ > 0) { in LZWDecode() 623 tp = op + occ; in LZWDecodeCompat() 627 } while (--occ); in LZWDecodeCompat() 651 while (occ > 0) { in LZWDecodeCompat() 729 tp = op + occ; in LZWDecodeCompat() 733 } while (--occ); in LZWDecodeCompat() [all …]
|
/dports/graphics/argyllcms/Argyll_V1.9.2/tiff/libtiff/ |
H A D | tif_lzw.c | 403 tp = op + occ; in LZWDecode() 415 occ -= residue; in LZWDecode() 459 occ--; in LZWDecode() 545 occ -= len; in LZWDecode() 548 occ--; in LZWDecode() 561 if (occ > 0) { in LZWDecode() 633 tp = op + occ; in LZWDecodeCompat() 644 occ -= residue; in LZWDecodeCompat() 685 occ--; in LZWDecodeCompat() 759 occ--; in LZWDecodeCompat() [all …]
|
/dports/converters/wkhtmltopdf/qt-5db36ec/src/3rdparty/libtiff/libtiff/ |
H A D | tif_lzw.c | 388 if (residue > occ) { in LZWDecode() 400 tp = op + occ; in LZWDecode() 432 while (occ > 0) { in LZWDecode() 513 tp = op + occ; in LZWDecode() 551 if (occ > 0) { in LZWDecode() 623 tp = op + occ; in LZWDecodeCompat() 627 } while (--occ); in LZWDecodeCompat() 651 while (occ > 0) { in LZWDecodeCompat() 729 tp = op + occ; in LZWDecodeCompat() 733 } while (--occ); in LZWDecodeCompat() [all …]
|
/dports/x11-toolkits/py-wxPython40/wxPython-4.0.7/ext/wxWidgets/src/tiff/libtiff/ |
H A D | tif_lzw.c | 387 if (residue > occ) { in LZWDecode() 399 tp = op + occ; in LZWDecode() 431 while (occ > 0) { in LZWDecode() 512 tp = op + occ; in LZWDecode() 550 if (occ > 0) { in LZWDecode() 622 tp = op + occ; in LZWDecodeCompat() 626 } while (--occ); in LZWDecodeCompat() 650 while (occ > 0) { in LZWDecodeCompat() 728 tp = op + occ; in LZWDecodeCompat() 732 } while (--occ); in LZWDecodeCompat() [all …]
|
/dports/x11-toolkits/wxgtk30/wxWidgets-3.0.5.1/src/tiff/libtiff/ |
H A D | tif_lzw.c | 387 if (residue > occ) { in LZWDecode() 399 tp = op + occ; in LZWDecode() 431 while (occ > 0) { in LZWDecode() 512 tp = op + occ; in LZWDecode() 550 if (occ > 0) { in LZWDecode() 622 tp = op + occ; in LZWDecodeCompat() 626 } while (--occ); in LZWDecodeCompat() 650 while (occ > 0) { in LZWDecodeCompat() 728 tp = op + occ; in LZWDecodeCompat() 732 } while (--occ); in LZWDecodeCompat() [all …]
|
/dports/devel/upp/upp/bazaar/plugin/gdal/frmts/gtiff/libtiff/ |
H A D | tif_lzw.c | 390 if (residue > occ) { in LZWDecode() 402 tp = op + occ; in LZWDecode() 434 while (occ > 0) { in LZWDecode() 515 tp = op + occ; in LZWDecode() 553 if (occ > 0) { in LZWDecode() 625 tp = op + occ; in LZWDecodeCompat() 629 } while (--occ); in LZWDecodeCompat() 653 while (occ > 0) { in LZWDecodeCompat() 731 tp = op + occ; in LZWDecodeCompat() 735 } while (--occ); in LZWDecodeCompat() [all …]
|
/dports/misc/openmvg/openMVG-2.0/src/third_party/tiff/ |
H A D | tif_lzw.c | 388 if (residue > occ) { in LZWDecode() 400 tp = op + occ; in LZWDecode() 432 while (occ > 0) { in LZWDecode() 513 tp = op + occ; in LZWDecode() 551 if (occ > 0) { in LZWDecode() 623 tp = op + occ; in LZWDecodeCompat() 627 } while (--occ); in LZWDecodeCompat() 651 while (occ > 0) { in LZWDecodeCompat() 729 tp = op + occ; in LZWDecodeCompat() 733 } while (--occ); in LZWDecodeCompat() [all …]
|
/dports/graphics/openjpeg/openjpeg-2.4.0/thirdparty/libtiff/ |
H A D | tif_lzw.c | 391 if (residue > occ) { in LZWDecode() 403 tp = op + occ; in LZWDecode() 435 while (occ > 0) { in LZWDecode() 518 tp = op + occ; in LZWDecode() 556 if (occ > 0) { in LZWDecode() 628 tp = op + occ; in LZWDecodeCompat() 632 } while (--occ); in LZWDecodeCompat() 656 while (occ > 0) { in LZWDecodeCompat() 736 tp = op + occ; in LZWDecodeCompat() 740 } while (--occ); in LZWDecodeCompat() [all …]
|
/dports/editors/texmaker/texmaker-5.0.3/pdfium/third_party/libtiff/ |
H A D | tif_lzw.c | 391 if (residue > occ) { in LZWDecode() 403 tp = op + occ; in LZWDecode() 435 while (occ > 0) { in LZWDecode() 518 tp = op + occ; in LZWDecode() 556 if (occ > 0) { in LZWDecode() 628 tp = op + occ; in LZWDecodeCompat() 632 } while (--occ); in LZWDecodeCompat() 656 while (occ > 0) { in LZWDecodeCompat() 736 tp = op + occ; in LZWDecodeCompat() 740 } while (--occ); in LZWDecodeCompat() [all …]
|