/dports/lang/slib/slib-3b6/ |
H A D | ncbi-dna.scm | 100 (cdx (or start 0))) 101 (if (<= len cdx) (slib:error 'reached 'end cdx)) 102 (let ((codon (string-ci->symbol (substring cDNA cdx (+ 3 cdx))))) 108 (else (loop (cons codon protein) (+ 3 cdx))))))) 119 (cdx (or start 0))) 120 (if (<= len cdx) (slib:error 'reached 'end cdx)) 121 (let ((codon (string-ci->symbol (substring cDNA cdx (+ 3 cdx))))) 127 (else (loop (cons (cadr asc) protein) (+ 3 cdx))))))) 139 (cdx (or start 0))) 140 (if (<= len cdx) (slib:error 'reached 'end cdx)) [all …]
|
H A D | peanosfc.scm | 117 (cdx 1 (* cdx 9))) 120 (offset (quotient cdx 2))) 131 (let loop ((edx 1) (cdx 1)) 132 (define offset (quotient cdx 2)) 140 (loop (* nine^rank edx) (* 9 cdx)))))
|
H A D | uri.scm | 211 (cdx (string-index hostport #\:)) 212 (host (if cdx (substring hostport 0 cdx) hostport)) 213 (port (and cdx 214 (substring hostport (+ 1 cdx) (string-length hostport))))) 274 (cdx (string-index front #\:)) 275 (scheme (and cdx (substring front 0 cdx))) 276 (path (if cdx 277 (substring front (+ 1 cdx) len)
|
/dports/graphics/blender/blender-2.91.0/extern/quadriflow/3rd/lemon-1.3.1/lemon/ |
H A D | unionfind.h | 340 return cdx; in insert() 526 cdx = unionFind->classes[cdx].next; 541 return i.cdx == cdx; 548 return i.cdx != cdx; 553 int cdx; variable 805 classes[classes[cdx].prev].next = classes[cdx].next; in eraseClass() 810 classes[classes[cdx].next].prev = classes[cdx].prev; in eraseClass() 838 cdx = extendFind->classes[cdx].next; 853 return i.cdx == cdx; 860 return i.cdx != cdx; [all …]
|
/dports/math/lemon/lemon-1.3.1/lemon/ |
H A D | unionfind.h | 340 return cdx; in insert() 526 cdx = unionFind->classes[cdx].next; 541 return i.cdx == cdx; 548 return i.cdx != cdx; 553 int cdx; variable 805 classes[classes[cdx].prev].next = classes[cdx].next; in eraseClass() 810 classes[classes[cdx].next].prev = classes[cdx].prev; in eraseClass() 838 cdx = extendFind->classes[cdx].next; 853 return i.cdx == cdx; 860 return i.cdx != cdx; [all …]
|
/dports/misc/openmvg/openMVG-2.0/src/third_party/lemon/lemon/ |
H A D | unionfind.h | 340 return cdx; in insert() 526 cdx = unionFind->classes[cdx].next; 541 return i.cdx == cdx; 548 return i.cdx != cdx; 553 int cdx; variable 805 classes[classes[cdx].prev].next = classes[cdx].next; in eraseClass() 810 classes[classes[cdx].next].prev = classes[cdx].prev; in eraseClass() 838 cdx = extendFind->classes[cdx].next; 853 return i.cdx == cdx; 860 return i.cdx != cdx; [all …]
|
/dports/science/rdkit/rdkit-Release_2021_03_5/rdkit/utils/ |
H A D | chemdraw_qax.py | 26 self.cdx = None 35 self.cdx = theClass(self) 37 self.cdx.ViewOnly = 1 52 data = self.cdx.GetData(fmt) 56 self.cdx.Objects.Clear() 57 res = self.cdx.SetData(fmt, data) 63 self.cdx.MoveWindow((0, self.offset, sz.width(), sz.height()), 1) 66 if self.cdx: 67 self.cdx = None
|
/dports/science/InsightToolkit/ITK-5.0.1/Modules/Segmentation/LevelSets/include/ |
H A D | itkSegmentationLevelSetFunction.hxx | 86 ContinuousIndexType cdx; in PropagationSpeed() local 90 cdx[i] = static_cast< double >( idx[i] ) - offset[i]; in PropagationSpeed() 93 if ( m_Interpolator->IsInsideBuffer(cdx) ) in PropagationSpeed() 96 m_Interpolator->EvaluateAtContinuousIndex(cdx) ) ); in PropagationSpeed() 108 ContinuousIndexType cdx; in AdvectionField() local 112 cdx[i] = static_cast< double >( idx[i] ) - offset[i]; in AdvectionField() 114 if ( m_VectorInterpolator->IsInsideBuffer(cdx) ) in AdvectionField() 116 return ( static_cast<VectorType>( m_VectorInterpolator->EvaluateAtContinuousIndex(cdx) ) ); in AdvectionField()
|
/dports/cad/calculix-ccx/CalculiX/ccx_2.18/src/ |
H A D | cd_bleedtapping.f | 59 real*8 ps2,ps1,dab,ps2pt1,ps1pt1,cdy(15),cd,cdx(20), local 72 cdx(i)=cdx1(i) 82 cdx(i)=cdx2(i) 110 call ident(cdx,dab,index,id) 117 & *(dab-cdx(id))/(cdx(id+1)-cdx(id))
|
/dports/x11-toolkits/p5-Prima/Prima-1.63/examples/ |
H A D | e.pl | 133 my $cdx = ( $sz[0] - 2) / $cx; 137 $canvas-> rect3d( 1 + $i * $cdx, $sz[1] / 2 + 1, 138 1 + $i * $cdx + $cdx - 1, $sz[1] - 2, 140 $canvas-> rect3d( 1 + $i * $cdx, 1, 141 1 + $i * $cdx + $cdx - 1, $sz[1] / 2, 151 my $cdx = ( $sz[0] - 2) / $cx; 154 $index += int(( $x - 1) / $cdx); 169 my $cdx = ( $sz[0] - 2) / $cx; 172 $index += int(( $x - 1) / $cdx);
|
/dports/games/xpat2/xpat2-1.07/src/ |
H A D | X-cards.c | 132 if (!p->cdx && !p->cdy) { /* only topmost card is visible */ in draw_pileupdate() 140 if ((p->cdx < 0 || p->cdy < 0) && delta < 0) in draw_pileupdate() 146 if (p->cdx) { in draw_pileupdate() 147 x = (CARDS_ON_PILE(pile)-1) * p->cdx + geo.cw - geo.rx; in draw_pileupdate() 152 x = (CARDS_ON_PILE(pile)-1) * p->cdx; in draw_pileupdate() 173 if (p->cdx == 0 && p->cdy > 0) in draw_pileupdate() 175 if (p->cdy == 0 && p->cdx > 0) in draw_pileupdate() 176 pw = p->cdx + geo.rx; in draw_pileupdate() 178 PaintCard(cx + p->cdx*i, in draw_pileupdate()
|
H A D | XQtMarkCrd.cpp | 99 if (p->cdx >= 0) { in show_mark() 100 m_x = p->ox + f * p->cdx; in show_mark() 101 m_w = (l-f)*p->cdx + geo.cw; in show_mark() 103 m_x = p->ox + l * p->cdx; in show_mark() 104 m_w = (f-l)*p->cdx + geo.cw; in show_mark()
|
H A D | X-markcard.c | 120 if (p->cdx >= 0) { in show_mark() 121 m_x = p->x + p->ox + f * p->cdx; in show_mark() 122 m_w = (l-f)*p->cdx + geo.cw; in show_mark() 124 m_x = p->x + p->ox + l * p->cdx; in show_mark() 125 m_w = (f-l)*p->cdx + geo.cw; in show_mark()
|
H A D | XQtCrdPile.cpp | 75 cx = p->ox + i * p->cdx; in mousePressEvent() 144 xdelta = p->cdx; in paintEvent() 214 if (p->cdx == 0 && p->cdy > 0) in paintEvent() 216 if (p->cdy == 0 && p->cdx > 0) in paintEvent() 217 pw = p->cdx + geo.rx; in paintEvent() 220 p->ox + p->cdx*i, p->oy + p->cdy*i, in paintEvent()
|
/dports/games/cgoban/cgoban-1.9.14/wmslib/src/but/ |
H A D | canvas.c | 234 cdx = 0; in butCan_slide() 238 cdx = 0; in butCan_slide() 266 if (cdx > csx) { in butCan_slide() 277 csx-cdx, win->h); in butCan_slide() 421 cdx = but->x; in draw() 425 if (x > cdx) { in draw() 426 csx += x - cdx; in draw() 427 cw -= x - cdx; in draw() 428 cdx = x; in draw() 435 if (x+w < cdx+cw) in draw() [all …]
|
/dports/graphics/geos/geos-3.9.1/src/triangulate/quadedge/ |
H A D | TrianglePredicate.cpp | 53 long double cdx = c.x - p.x; in isInCircleNormalized() local 57 long double cdxbdy = cdx * bdy; in isInCircleNormalized() 60 long double cdxady = cdx * ady; in isInCircleNormalized() 66 long double clift = cdx * cdx + cdy * cdy; in isInCircleNormalized()
|
/dports/science/opensph/sph-7de6c044339f649e3d19e61f735a6a24572b792a/core/post/ |
H A D | Compare.cpp | 39 [&](QuantityId id, const auto& px, const auto& pdx, const auto& cx, const auto& cdx) { in compareParticles() argument 49 if (!almostEqual(pdx[i], cdx[i], eps)) { in compareParticles() 51 … "Difference in {}\n{} == {}\n\n", getMetadata(id).derivativeName, pdx[i], cdx[i]); in compareParticles() 63 const auto& cdx, in compareParticles() 74 if (!almostEqual(pdx[i], cdx[i], eps)) { in compareParticles() 76 … "Difference in {}\n{} == {}\n\n", getMetadata(id).derivativeName, pdx[i], cdx[i]); in compareParticles()
|
/dports/math/jts/jts-jts-1.18.1/modules/core/src/main/java/org/locationtech/jts/triangulate/quadedge/ |
H A D | TrianglePredicate.java | 84 double cdx = c.x - p.x; in isInCircleNormalized() local 88 double bcdet = bdx * cdy - cdx * bdy; in isInCircleNormalized() 89 double cadet = cdx * ady - adx * cdy; in isInCircleNormalized() 92 double clift = cdx * cdx + cdy * cdy; in isInCircleNormalized() 226 DD cdx = DD.valueOf(c.x).selfSubtract(p.x); in isInCircleDDNormalized() local 230 DD bcdet = bdx.multiply(cdy).selfSubtract(cdx.multiply(bdy)); in isInCircleDDNormalized() 231 DD cadet = cdx.multiply(ady).selfSubtract(adx.multiply(cdy)); in isInCircleDDNormalized() 234 DD clift = cdx.multiply(cdx).selfAdd(cdy.multiply(cdy)); in isInCircleDDNormalized()
|
/dports/cad/gmsh/gmsh-4.9.2-source/contrib/hxt/predicates/include/ |
H A D | predicates.h | 60 double adx, bdx, cdx, ady, bdy, cdy, adz, bdz, cdz; in orient3d_inexact() local 65 cdx = pc[0] - pd[0]; in orient3d_inexact() 74 cdxbdy = cdx * bdy; in orient3d_inexact() 76 cdxady = cdx * ady; in orient3d_inexact()
|
/dports/misc/valentina/valentina-5b7e98bf48a86e3c444423a9f03533440a39aad9/src/libs/vobj/ |
H A D | predicates.cpp | 581 cdx = (qreal) (pc[0] - pd[0]); in incircleadapt() 587 Two_Product(cdx, bdy, cdxbdy1, cdxbdy0); in incircleadapt() 596 Two_Product(cdx, ady, cdxady1, cdxady0); in incircleadapt() 630 Two_Diff_Tail(pc[0], pd[0], cdx, cdxtail); in incircleadapt() 643 … + ((cdx * cdx + cdy * cdy) * ((adx * bdytail + bdy * adxtail) - (ady * bdxtail + bdx * adytail)) in incircleadapt() 669 Square(cdx, cdxcdx1, cdxcdx0); in incircleadapt() 1046 qreal adx, bdx, cdx, ady, bdy, cdy; in incircle() local 1054 cdx = pc[0] - pd[0]; in incircle() 1060 cdxbdy = cdx * bdy; in incircle() 1063 cdxady = cdx * ady; in incircle() [all …]
|
/dports/games/libretro-2048/libretro-2048-35a299c/pixman/pixman/ |
H A D | pixman-radial-gradient.c | 235 double B = -2. * (pdx*radial->cdx + pdy*radial->cdy + r1*radial->dr); in radial_gradient_get_scanline_32() 236 double cB = -2. * (cx*radial->cdx + cy*radial->cdy); in radial_gradient_get_scanline_32() 290 B = -2 * (pdx * radial->cdx + in radial_gradient_get_scanline_32() 357 radial->cdx = pixman_fixed_to_double (radial->c2.x - radial->c1.x); in pixman_image_create_radial_gradient() 360 radial->A = (radial->cdx * radial->cdx + in pixman_image_create_radial_gradient()
|
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bbas/bsol/ |
H A D | bsol_intrinsic_curve_2d.cxx | 363 double cdx=dx_[i]; in computeCurvatures() local 368 d2x=(cdx-pdx)/dL; in computeCurvatures() 372 if (std::fabs(cdx) >= ZERO_TOLERANCE || std::fabs(cdy) >= ZERO_TOLERANCE) in computeCurvatures() 373 K=(d2y*cdx-d2x*cdy)/std::pow((std::pow(cdx,2)+std::pow(cdy,2)),3/2); in computeCurvatures() 375 … std::cout << d2x << ' ' << d2y << ' ' << dL << ' ' << cdx << ' ' << cdy << ' ' << K << std::endl; in computeCurvatures() 387 double cdx=dx_[0]; in computeCurvatures() local 392 d2x=(cdx-pdx)/dL; in computeCurvatures() 398 if (std::fabs(cdx) < ZERO_TOLERANCE && std::fabs(cdy) < ZERO_TOLERANCE) in computeCurvatures() 401 K=(d2y*cdx-d2x*cdy)/std::pow((std::pow(cdx,2)+std::pow(cdy,2)),3/2); in computeCurvatures()
|
/dports/games/openjazz/openjazz-20190106/src/jj1bonuslevel/jj1bonuslevelplayer/ |
H A D | jj1bonuslevelplayer.cpp | 192 fixed cdx, cdy; in step() local 313 cdx = (MUL(fSin(direction), dr) * msps) >> 10; in step() 316 if (!bonus->checkMask(x + cdx, y)) x += cdx; in step() 326 if (running && bonus->checkMask(x + cdx, y + cdy)) { in step()
|
/dports/games/abstreet/abstreet-0.2.9-49-g74aca40c0/cargo-crates/robust-0.1.2/src/ |
H A D | lib.rs | 133 let cdx = pc.x - pd.x; in incircle() localVariable 139 let cdxbdy = cdx * bdy; in incircle() 142 let cdxady = cdx * ady; in incircle() 148 let clift = cdx * cdx + cdy * cdy; in incircle() 174 let cdx = pc.x - pd.x; in incircleadapt() localVariable 180 let (cdxbdy1, cdxbdy0) = two_product(cdx, bdy); in incircleadapt() 195 let (cdxady1, cdxady0) = two_product(cdx, ady); in incircleadapt() 242 let cdxtail = two_diff_tail(pc.x, pd.x, cdx); in incircleadapt() 261 + ((cdx * cdx + cdy * cdy) in incircleadapt() 289 let (cdxcdx1, cdxcdx0) = square(cdx); in incircleadapt() [all …]
|
/dports/science/opensph/sph-7de6c044339f649e3d19e61f735a6a24572b792a/core/timestepping/ |
H A D | TimeStepping.cpp | 106 SPH_ASSERT(cdx.size() == px.size()); in stepFirstOrder() 110 stepper(px[i], pdx[i], cdx[i]); in stepFirstOrder() 131 SPH_ASSERT(cdx.size() == px.size()); in stepPairFirstOrder() 132 SPH_ASSERT(cx.size() == cdx.size()); in stepPairFirstOrder() 135 stepper(px[i], pdx[i], cx[i], cdx[i]); in stepPairFirstOrder() 299 px -= Type(0.5_f * (cdx - pdx) * dt); in makeCorrections() 495 [h](auto& px, const auto& UNUSED(pdx), const auto& cx, const auto& cdx) INL { // in stepParticles() argument 497 px = Type(cx + h * cdx); in stepParticles() 529 px += Type(2._f * h * cdx); in stepParticles() 551 [h](auto& px, const auto& UNUSED(pdx), const auto& cx, const auto& cdx) INL { in stepParticles() argument [all …]
|