/dports/science/nwchem/nwchem-7b21660b82ebd85ef659f6fba7e1e73433b0bd0a/src/argos/ |
H A D | argos_diana_adddistance.F | 24 ndistp=ndist 25 ndist=ndist+1 26 if(ndist.gt.mxdist) call md_abort('Increase dimension mxdist',0) 33 + idist(ndist,i,1),idist(ndist,i,2)) 35 idist(ndist,1,3)=iddist 36 idist(ndist,2,3)=1 38 last=ndist 45 idist(ndist,2,3)=ndist-ndistp 53 ndims(3)=ndist 58 ndist=ndims(3)
|
/dports/science/nwchem-data/nwchem-7.0.2-release/src/argos/ |
H A D | argos_diana_adddistance.F | 24 ndistp=ndist 25 ndist=ndist+1 26 if(ndist.gt.mxdist) call md_abort('Increase dimension mxdist',0) 33 + idist(ndist,i,1),idist(ndist,i,2)) 35 idist(ndist,1,3)=iddist 36 idist(ndist,2,3)=1 38 last=ndist 45 idist(ndist,2,3)=ndist-ndistp 53 ndims(3)=ndist 58 ndist=ndims(3)
|
/dports/games/xnethack/xNetHack-xnh6.1/src/ |
H A D | track.c | 36 register int cnt, ndist; in gettrack() local 44 ndist = distmin(x, y, tc->x, tc->y); in gettrack() 47 if (ndist > 2) { in gettrack() 48 ndist -= 2; /* be careful due to extra decrement at top of loop */ in gettrack() 49 cnt -= ndist; in gettrack() 52 if (tc < &utrack[ndist]) in gettrack() 53 tc += (UTSZ - ndist); in gettrack() 55 tc -= ndist; in gettrack() 56 } else if (ndist <= 1) in gettrack() 57 return (ndist ? tc : 0); in gettrack()
|
/dports/games/nethack36-nox11/NetHack-NetHack-3.6.6_Released/src/ |
H A D | track.c | 37 register int cnt, ndist; local 45 ndist = distmin(x, y, tc->x, tc->y); 48 if (ndist > 2) { 49 ndist -= 2; /* be careful due to extra decrement at top of loop */ 50 cnt -= ndist; 53 if (tc < &utrack[ndist]) 54 tc += (UTSZ - ndist); 56 tc -= ndist; 57 } else if (ndist <= 1) 58 return (ndist ? tc : 0);
|
/dports/games/nethack36/NetHack-NetHack-3.6.6_Released/src/ |
H A D | track.c | 37 register int cnt, ndist; local 45 ndist = distmin(x, y, tc->x, tc->y); 48 if (ndist > 2) { 49 ndist -= 2; /* be careful due to extra decrement at top of loop */ 50 cnt -= ndist; 53 if (tc < &utrack[ndist]) 54 tc += (UTSZ - ndist); 56 tc -= ndist; 57 } else if (ndist <= 1) 58 return (ndist ? tc : 0);
|
/dports/games/unnethack/unnethack-5.1.0-20131208/src/ |
H A D | track.c | 34 register int cnt, ndist; local 40 ndist = distmin(x,y,tc->x,tc->y); 43 if(ndist > 2) { 44 ndist -= 2; /* be careful due to extra decrement at top of loop */ 45 cnt -= ndist; 48 if(tc < &utrack[ndist]) 49 tc += (UTSZ-ndist); 51 tc -= ndist; 52 } else if(ndist <= 1) 53 return(ndist ? tc : 0);
|
/dports/games/nethack33/nethack-3.3.1/src/ |
H A D | track.c | 42 register int cnt, ndist; local 48 ndist = distmin(x,y,tc->x,tc->y); 51 if(ndist > 2) { 52 ndist -= 2; /* be careful due to extra decrement at top of loop */ 53 cnt -= ndist; 56 if(tc < &utrack[ndist]) 57 tc += (UTSZ-ndist); 59 tc -= ndist; 60 } else if(ndist <= 1) 61 return(ndist ? tc : 0);
|
/dports/games/nethack33-nox11/nethack-3.3.1/src/ |
H A D | track.c | 42 register int cnt, ndist; local 48 ndist = distmin(x,y,tc->x,tc->y); 51 if(ndist > 2) { 52 ndist -= 2; /* be careful due to extra decrement at top of loop */ 53 cnt -= ndist; 56 if(tc < &utrack[ndist]) 57 tc += (UTSZ-ndist); 59 tc -= ndist; 60 } else if(ndist <= 1) 61 return(ndist ? tc : 0);
|
/dports/games/nethack34/nethack-3.4.3/src/ |
H A D | track.c | 42 register int cnt, ndist; local 48 ndist = distmin(x,y,tc->x,tc->y); 51 if(ndist > 2) { 52 ndist -= 2; /* be careful due to extra decrement at top of loop */ 53 cnt -= ndist; 56 if(tc < &utrack[ndist]) 57 tc += (UTSZ-ndist); 59 tc -= ndist; 60 } else if(ndist <= 1) 61 return(ndist ? tc : 0);
|
/dports/games/nethack34-nox11/nethack-3.4.3/src/ |
H A D | track.c | 42 register int cnt, ndist; local 48 ndist = distmin(x,y,tc->x,tc->y); 51 if(ndist > 2) { 52 ndist -= 2; /* be careful due to extra decrement at top of loop */ 53 cnt -= ndist; 56 if(tc < &utrack[ndist]) 57 tc += (UTSZ-ndist); 59 tc -= ndist; 60 } else if(ndist <= 1) 61 return(ndist ? tc : 0);
|
/dports/games/vultures-eye/vulture-2.3.67/nethack/src/ |
H A D | track.c | 42 register int cnt, ndist; local 48 ndist = distmin(x,y,tc->x,tc->y); 51 if(ndist > 2) { 52 ndist -= 2; /* be careful due to extra decrement at top of loop */ 53 cnt -= ndist; 56 if(tc < &utrack[ndist]) 57 tc += (UTSZ-ndist); 59 tc -= ndist; 60 } else if(ndist <= 1) 61 return(ndist ? tc : 0);
|
/dports/games/falconseye/falconseye-1.9.3_11/src/ |
H A D | track.c | 42 register int cnt, ndist; local 48 ndist = distmin(x,y,tc->x,tc->y); 51 if(ndist > 2) { 52 ndist -= 2; /* be careful due to extra decrement at top of loop */ 53 cnt -= ndist; 56 if(tc < &utrack[ndist]) 57 tc += (UTSZ-ndist); 59 tc -= ndist; 60 } else if(ndist <= 1) 61 return(ndist ? tc : 0);
|
/dports/games/vultures-eye/vulture-2.3.67/slashem/src/ |
H A D | track.c | 42 register int cnt, ndist; local 48 ndist = distmin(x,y,tc->x,tc->y); 51 if(ndist > 2) { 52 ndist -= 2; /* be careful due to extra decrement at top of loop */ 53 cnt -= ndist; 56 if(tc < &utrack[ndist]) 57 tc += (UTSZ-ndist); 59 tc -= ndist; 60 } else if(ndist <= 1) 61 return(ndist ? tc : 0);
|
/dports/games/vultures-eye/vulture-2.3.67/unnethack/src/ |
H A D | track.c | 42 register int cnt, ndist; local 48 ndist = distmin(x,y,tc->x,tc->y); 51 if(ndist > 2) { 52 ndist -= 2; /* be careful due to extra decrement at top of loop */ 53 cnt -= ndist; 56 if(tc < &utrack[ndist]) 57 tc += (UTSZ-ndist); 59 tc -= ndist; 60 } else if(ndist <= 1) 61 return(ndist ? tc : 0);
|
/dports/games/xonotic/Xonotic/source/darkplaces/ |
H A D | polygon.c | 103 float frac, pdist, ndist; in PolygonF_Clip() local 111 pdist = ndist; in PolygonF_Clip() 124 if ((pdist > epsilon && ndist < -epsilon) || (pdist < -epsilon && ndist > epsilon)) in PolygonF_Clip() 143 double frac, pdist, ndist; in PolygonD_Clip() local 151 pdist = ndist; in PolygonD_Clip() 164 if ((pdist > epsilon && ndist < -epsilon) || (pdist < -epsilon && ndist > epsilon)) in PolygonD_Clip() 183 float frac, pdist, ndist; in PolygonF_Divide() local 191 pdist = ndist; in PolygonF_Divide() 216 if ((pdist > epsilon && ndist < -epsilon) || (pdist < -epsilon && ndist > epsilon)) in PolygonF_Divide() 249 double frac, pdist, ndist; in PolygonD_Divide() local [all …]
|
/dports/games/nexuiz/Nexuiz/sources/darkplaces/ |
H A D | polygon.c | 103 float frac, pdist, ndist; in PolygonF_Clip() local 111 pdist = ndist; in PolygonF_Clip() 124 if ((pdist > epsilon && ndist < -epsilon) || (pdist < -epsilon && ndist > epsilon)) in PolygonF_Clip() 143 double frac, pdist, ndist; in PolygonD_Clip() local 151 pdist = ndist; in PolygonD_Clip() 164 if ((pdist > epsilon && ndist < -epsilon) || (pdist < -epsilon && ndist > epsilon)) in PolygonD_Clip() 183 float frac, pdist, ndist; in PolygonF_Divide() local 191 pdist = ndist; in PolygonF_Divide() 216 if ((pdist > epsilon && ndist < -epsilon) || (pdist < -epsilon && ndist > epsilon)) in PolygonF_Divide() 249 double frac, pdist, ndist; in PolygonD_Divide() local [all …]
|
/dports/games/darkplaces/darkplaces/ |
H A D | polygon.c | 103 float frac, pdist, ndist; in PolygonF_Clip() local 111 pdist = ndist; in PolygonF_Clip() 124 if ((pdist > epsilon && ndist < -epsilon) || (pdist < -epsilon && ndist > epsilon)) in PolygonF_Clip() 143 double frac, pdist, ndist; in PolygonD_Clip() local 151 pdist = ndist; in PolygonD_Clip() 164 if ((pdist > epsilon && ndist < -epsilon) || (pdist < -epsilon && ndist > epsilon)) in PolygonD_Clip() 183 float frac, pdist, ndist; in PolygonF_Divide() local 191 pdist = ndist; in PolygonF_Divide() 216 if ((pdist > epsilon && ndist < -epsilon) || (pdist < -epsilon && ndist > epsilon)) in PolygonF_Divide() 249 double frac, pdist, ndist; in PolygonD_Divide() local [all …]
|
/dports/science/cdo/cdo-2.0.0/src/ |
H A D | remap_point_search.cc | 182 if (ndist > gps.n) ndist = gps.n; in grid_search_point() 184 if (knnWeights.m_tmpaddr.empty()) knnWeights.m_tmpaddr.resize(ndist); in grid_search_point() 185 if (knnWeights.m_tmpdist.empty()) knnWeights.m_tmpdist.resize(ndist); in grid_search_point() 195 ndist = nadds; in grid_search_point() 196 if (ndist < numNeighbors) numNeighbors = ndist; in grid_search_point() 225 if (ndist > gps.n) ndist = gps.n; in grid_search_point_smooth() 227 if (knnWeights.m_tmpaddr.empty()) knnWeights.m_tmpaddr.resize(ndist); in grid_search_point_smooth() 238 ndist = nadds; in grid_search_point_smooth() 242 if (ndist < numNeighbors) numNeighbors = ndist; in grid_search_point_smooth() 251 knnWeights.m_numNeighbors = ndist; in grid_search_point_smooth() [all …]
|
/dports/science/quantum-espresso/q-e-qe-6.7.0/Modules/ |
H A D | dist.f90 | 79 ndist=0 104 ndist=ndist+1 105 IF (ndist > ndistx) THEN 109 atom1(ndist)=na 110 atom2(ndist)=nb 111 d(ndist)= dd 133 IF (ndist>0) CALL hpsort(ndist,d,idx) 137 DO nd=1,ndist 153 ndist=0 190 ndist=min(ndist+1,nn) [all …]
|
/dports/math/R-cran-robustbase/robustbase/src/ |
H A D | rffastmcd.f | 274 ndist(jj)=dat(jj,1) 276 call rfshsort(ndist,n) 426 ndist(j)=0.D0 864 qorder=ndist(nhalf) 996 ndist(j)=t 1160 ndist(j)=t 1425 double precision ndist(nn) 1628 double precision ndist(nn) 1632 ndist(i)=0 1634 ndist(i)=z(j,1)*(da(i,j)-means(j))+ndist(i) [all …]
|
/dports/databases/postgresql10-plperl/postgresql-10.19/src/backend/statistics/ |
H A D | mvdistinct.c | 131 Datum ndist; in statext_ndistinct_load() local 138 ndist = SysCacheGetAttr(STATEXTOID, htup, in statext_ndistinct_load() 236 MVNDistinct ndist; in statext_ndistinct_deserialize() local 254 memcpy(&ndist.type, tmp, sizeof(uint32)); in statext_ndistinct_deserialize() 261 ndist.magic, STATS_NDISTINCT_MAGIC); in statext_ndistinct_deserialize() 265 if (ndist.nitems == 0) in statext_ndistinct_deserialize() 282 ndistinct->magic = ndist.magic; in statext_ndistinct_deserialize() 283 ndistinct->type = ndist.type; in statext_ndistinct_deserialize() 284 ndistinct->nitems = ndist.nitems; in statext_ndistinct_deserialize() 355 for (i = 0; i < ndist->nitems; i++) in pg_ndistinct_out() [all …]
|
/dports/databases/postgresql10-pltcl/postgresql-10.19/src/backend/statistics/ |
H A D | mvdistinct.c | 131 Datum ndist; in statext_ndistinct_load() local 138 ndist = SysCacheGetAttr(STATEXTOID, htup, in statext_ndistinct_load() 236 MVNDistinct ndist; in statext_ndistinct_deserialize() local 254 memcpy(&ndist.type, tmp, sizeof(uint32)); in statext_ndistinct_deserialize() 261 ndist.magic, STATS_NDISTINCT_MAGIC); in statext_ndistinct_deserialize() 265 if (ndist.nitems == 0) in statext_ndistinct_deserialize() 282 ndistinct->magic = ndist.magic; in statext_ndistinct_deserialize() 283 ndistinct->type = ndist.type; in statext_ndistinct_deserialize() 284 ndistinct->nitems = ndist.nitems; in statext_ndistinct_deserialize() 355 for (i = 0; i < ndist->nitems; i++) in pg_ndistinct_out() [all …]
|
/dports/databases/postgresql10-server/postgresql-10.19/src/backend/statistics/ |
H A D | mvdistinct.c | 131 Datum ndist; in statext_ndistinct_load() local 138 ndist = SysCacheGetAttr(STATEXTOID, htup, in statext_ndistinct_load() 236 MVNDistinct ndist; in statext_ndistinct_deserialize() local 254 memcpy(&ndist.type, tmp, sizeof(uint32)); in statext_ndistinct_deserialize() 261 ndist.magic, STATS_NDISTINCT_MAGIC); in statext_ndistinct_deserialize() 265 if (ndist.nitems == 0) in statext_ndistinct_deserialize() 282 ndistinct->magic = ndist.magic; in statext_ndistinct_deserialize() 283 ndistinct->type = ndist.type; in statext_ndistinct_deserialize() 284 ndistinct->nitems = ndist.nitems; in statext_ndistinct_deserialize() 355 for (i = 0; i < ndist->nitems; i++) in pg_ndistinct_out() [all …]
|
/dports/databases/postgresql11-client/postgresql-11.14/src/backend/statistics/ |
H A D | mvdistinct.c | 131 Datum ndist; in statext_ndistinct_load() local 138 ndist = SysCacheGetAttr(STATEXTOID, htup, in statext_ndistinct_load() 236 MVNDistinct ndist; in statext_ndistinct_deserialize() local 254 memcpy(&ndist.type, tmp, sizeof(uint32)); in statext_ndistinct_deserialize() 261 ndist.magic, STATS_NDISTINCT_MAGIC); in statext_ndistinct_deserialize() 265 if (ndist.nitems == 0) in statext_ndistinct_deserialize() 282 ndistinct->magic = ndist.magic; in statext_ndistinct_deserialize() 283 ndistinct->type = ndist.type; in statext_ndistinct_deserialize() 284 ndistinct->nitems = ndist.nitems; in statext_ndistinct_deserialize() 355 for (i = 0; i < ndist->nitems; i++) in pg_ndistinct_out() [all …]
|
/dports/databases/postgresql10-client/postgresql-10.19/src/backend/statistics/ |
H A D | mvdistinct.c | 131 Datum ndist; in statext_ndistinct_load() local 138 ndist = SysCacheGetAttr(STATEXTOID, htup, in statext_ndistinct_load() 236 MVNDistinct ndist; in statext_ndistinct_deserialize() local 254 memcpy(&ndist.type, tmp, sizeof(uint32)); in statext_ndistinct_deserialize() 261 ndist.magic, STATS_NDISTINCT_MAGIC); in statext_ndistinct_deserialize() 265 if (ndist.nitems == 0) in statext_ndistinct_deserialize() 282 ndistinct->magic = ndist.magic; in statext_ndistinct_deserialize() 283 ndistinct->type = ndist.type; in statext_ndistinct_deserialize() 284 ndistinct->nitems = ndist.nitems; in statext_ndistinct_deserialize() 355 for (i = 0; i < ndist->nitems; i++) in pg_ndistinct_out() [all …]
|