/dports/cad/digital/Digital-0.27/src/main/java/de/neemann/digital/fsm/ |
H A D | Transition.java | 50 setPos(other.getPos()); in Transition() 74 VectorFloat dir = fromState.getPos().sub(toState.getPos()); in calcForce() 83 VectorFloat center = fromState.getPos().add(toState.getPos()).mul(0.5f); in calcForce() 108 VectorFloat dist = toState.getPos().sub(fromState.getPos()); in posConstrain() 134 VectorFloat dif = getPos().sub(fromState.getPos()).getOrthogonal().mul(0.5f); in drawTo() 153 …VectorFloat correctedPos = getPos().mul(n).add(fromState.getPos().add(toState.getPos()).mul((1 - n… in drawTo() 175 if (fromState.getPos().getYFloat() < getPos().getYFloat() in drawTo() 176 && toState.getPos().getYFloat() < getPos().getYFloat()) { in drawTo() 180 if (fromState.getPos().getYFloat() > getPos().getYFloat() in drawTo() 181 && toState.getPos().getYFloat() > getPos().getYFloat()) { in drawTo() [all …]
|
H A D | State.java | 50 setPos(other.getPos()); in State() 92 addRepulsive(s.getPos(), REACH); in calcExpansionForce() 108 gr.drawCircle(getPos().sub(rad), getPos().add(rad), style); in drawTo() 114 VectorInterface delta = getPos().sub(pos).norm(); in drawTo() 116 VectorInterface a1 = getPos().sub(delta.mul(radius + Style.FILLED.getThickness())); in drawTo() 121 VectorFloat pos = getPos().add(delta.mul(-1)); in drawTo() 193 return pos.sub(getPos()).len() <= radius; in matches() 223 Math.round(getPos().getXFloat() / RASTER) * RASTER, in toRaster() 224 Math.round(getPos().getYFloat() / RASTER) * RASTER)); in toRaster() 258 public VectorInterface getPos() { in getInitialMarkerMovable() [all …]
|
/dports/astro/gpstk/GPSTk-8.0.0/core/tests/GNSSEph/ |
H A D | BDSEphemeris_T.cpp | 126 deriv[ii] = (1/h)*(-1.5*zeroth_array[ii].getPos() + in testSvXvtMEO() 127 2.0*zeroth_array[ii+1].getPos() - in testSvXvtMEO() 128 0.5*zeroth_array[ii+2].getPos()); in testSvXvtMEO() 133 0.5*zeroth_array[ii+1].getPos()); in testSvXvtMEO() 137 deriv[ii] = (1/h)*(0.5*zeroth_array[ii-2].getPos() - in testSvXvtMEO() 138 2.0*zeroth_array[ii-1].getPos() + in testSvXvtMEO() 139 1.5*zeroth_array[ii].getPos()); in testSvXvtMEO() 237 deriv[ii] = (1/h)*(-1.5*zeroth_array[ii].getPos() + in testSvXvtGEO() 250 1.5*zeroth_array[ii].getPos()); in testSvXvtGEO() 366 deriv[ii] = (1/h)*(-1.5*zeroth_array[ii].getPos() + [all …]
|
H A D | OrbitEph_T.cpp | 117 deriv[ii] = (1/h)*(-1.5*zeroth_array[ii].getPos() + in testSvXvt() 118 2.0*zeroth_array[ii+1].getPos() - in testSvXvt() 119 0.5*zeroth_array[ii+2].getPos()); in testSvXvt() 123 deriv[ii] = (1/h)*(-0.5*zeroth_array[ii-1].getPos() + in testSvXvt() 124 0.5*zeroth_array[ii+1].getPos()); in testSvXvt() 128 deriv[ii] = (1/h)*(0.5*zeroth_array[ii-2].getPos() - in testSvXvt() 129 2.0*zeroth_array[ii-1].getPos() + in testSvXvt() 130 1.5*zeroth_array[ii].getPos()); in testSvXvt() 134 deriv[ii] = (1/h)*((1.0/12.0)*zeroth_array[ii-2].getPos() - in testSvXvt() 135 (2.0/3.0)*zeroth_array[ii-1].getPos() + in testSvXvt() [all …]
|
H A D | OrbElem_T.cpp | 134 deriv[ii] = (1/h)*(-1.5*zeroth_array[ii].getPos() + in testSvXvt() 135 2.0*zeroth_array[ii+1].getPos() - in testSvXvt() 136 0.5*zeroth_array[ii+2].getPos()); in testSvXvt() 140 deriv[ii] = (1/h)*(-0.5*zeroth_array[ii-1].getPos() + in testSvXvt() 141 0.5*zeroth_array[ii+1].getPos()); in testSvXvt() 145 deriv[ii] = (1/h)*(0.5*zeroth_array[ii-2].getPos() - in testSvXvt() 146 2.0*zeroth_array[ii-1].getPos() + in testSvXvt() 147 1.5*zeroth_array[ii].getPos()); in testSvXvt() 151 deriv[ii] = (1/h)*((1.0/12.0)*zeroth_array[ii-2].getPos() - in testSvXvt() 152 (2.0/3.0)*zeroth_array[ii-1].getPos() + in testSvXvt() [all …]
|
/dports/lang/kawa/kawa-3.1.1/gnu/lists/ |
H A D | SeqPosition.java | 112 return sequence.hasNext(getPos()); in hasNext() 132 return sequence.getNextKind(getPos()); in getNextKind() 150 return sequence.hasPrevious(getPos()); in hasPrevious() 222 return sequence.getPosNext(getPos()); in getNext() 238 return sequence.nextIndex(getPos()); in nextIndex() 265 return sequence.isAfterPos(getPos()); in isAfter() 278 sequence.setPosNext(getPos(), value); in setNext() 303 public int getPos () in getPos() method in SeqPosition 311 sequence.releasePos(getPos()); in setPos() 319 sequence.releasePos(getPos()); in setPos() [all …]
|
/dports/math/teyjus/teyjus-2.1-7-ge63f40a/source/compiler/ |
H A D | lpyacc.mly | 117 *getPos: 120 let getPos i = 131 Symbol(Symbol.symbol name, kind, getPos 1) 134 (Symbol.symbol name, ty, kind, getPos 1) 137 IdTerm(Symbol.symbol sym, ty, ConstID, getPos 1) 232 Errormsg.error (getPos 2) 239 Errormsg.error (getPos 2) 328 Errormsg.error (getPos 1) 396 | INFIX { Infix(getPos 1) } 397 | INFIXL { Infixl(getPos 1) } [all …]
|
/dports/science/rdkit/rdkit-Release_2021_03_5/Code/ChemicalFeatures/ |
H A D | testChemicalFeatures.cpp | 29 TEST_ASSERT(RDKit::feq(f1.getPos().x, 1.0)); in test1() 30 TEST_ASSERT(RDKit::feq(f1.getPos().y, 1.0)); in test1() 31 TEST_ASSERT(RDKit::feq(f1.getPos().z, 1.0)); in test1() 37 TEST_ASSERT(RDKit::feq(f2.getPos().x, 1.0)); in test1() 38 TEST_ASSERT(RDKit::feq(f2.getPos().y, 1.0)); in test1() 39 TEST_ASSERT(RDKit::feq(f2.getPos().z, 1.0)); in test1() 46 TEST_ASSERT(RDKit::feq(f3.getPos().x, 1.0)); in test1() 47 TEST_ASSERT(RDKit::feq(f3.getPos().y, 1.0)); in test1() 48 TEST_ASSERT(RDKit::feq(f3.getPos().z, 1.0)); in test1() 54 TEST_ASSERT(RDKit::feq(f4.getPos().x, 1.0)); in test1() [all …]
|
/dports/astro/gpstk/GPSTk-8.0.0/ext/tests/GNSSEph/ |
H A D | OrbAlmGen_T.cpp | 110 deriv[ii] = (1/h)*(-1.5*zeroth_array[ii].getPos() + in testSvXvt() 111 2.0*zeroth_array[ii+1].getPos() - in testSvXvt() 112 0.5*zeroth_array[ii+2].getPos()); in testSvXvt() 116 deriv[ii] = (1/h)*(-0.5*zeroth_array[ii-1].getPos() + in testSvXvt() 117 0.5*zeroth_array[ii+1].getPos()); in testSvXvt() 121 deriv[ii] = (1/h)*(0.5*zeroth_array[ii-2].getPos() - in testSvXvt() 122 2.0*zeroth_array[ii-1].getPos() + in testSvXvt() 123 1.5*zeroth_array[ii].getPos()); in testSvXvt() 127 deriv[ii] = (1/h)*((1.0/12.0)*zeroth_array[ii-2].getPos() - in testSvXvt() 128 (2.0/3.0)*zeroth_array[ii-1].getPos() + in testSvXvt() [all …]
|
/dports/games/lordsawar/lordsawar-0.3.2/src/ |
H A D | ai_fast.cpp | 195 debug ("moving from (" << s->getPos().x << "," << s->getPos().y in startTurn() 373 if (src->getPos() == dest->getPos()) in findNearOwnStackToJoin() 377 int mp = pc.calculate(dest->getPos()); in findNearOwnStackToJoin() 522 if (s->getPos() == target->getPos()) in computerTurn() 560 else if (s->getPos() != target->getPos()) in computerTurn() 644 target->getPos().x <<","<< target->getPos().y << ")") in computerTurn() 682 printf("crap, it happened with a stack at %d,%d\n", s->getPos().x, s->getPos().y); in computerTurn() 852 if (stack->getPos() == dest) in computerChooseVisitRuin() 863 if (stack->getPos() == dest) in computerChoosePickupBag() 876 if (stack->getPos() == dest) in computerChooseVisitTempleForBlessing() [all …]
|
H A D | bridge.cpp | 28 GameMap::getInstance()->getTile(getPos())->setBuilding(Maptile::BRIDGE); in Bridge() 39 GameMap::getInstance()->getTile(getPos())->setBuilding(Maptile::BRIDGE); in Bridge() 58 retval &= helper->saveData("x", getPos().x); in save() 59 retval &= helper->saveData("y", getPos().y); in save() 95 return getPos() + Vector<int>(0, 1); in getRoadEntryPoint() 97 return getPos() + Vector<int>(0, -1); in getRoadEntryPoint() 99 return getPos() + Vector<int>(-1, 0); in getRoadEntryPoint() 101 return getPos() + Vector<int>(1, 0); in getRoadEntryPoint() 103 return getPos(); in getRoadEntryPoint()
|
H A D | templelist.cpp | 112 Vector<int> pos = s->getPos(); in getNearestVisibleAndUsefulTemple() 128 Vector<int> p = t->getPos(); in getNearestVisibleAndUsefulTemple() 149 Vector<int> pos = stack->getPos(); in getNearestVisibleAndUsefulTemple() 154 if (t->getPos().x <= pos.x + dist && t->getPos().x >= pos.x - dist && in getNearestVisibleAndUsefulTemple() 155 t->getPos().y <= pos.y + dist && t->getPos().y >= pos.y - dist) in getNearestVisibleAndUsefulTemple() 165 if (t->getPos().x <= pos.x + dist && t->getPos().x >= pos.x - dist && in getNearestVisibleTemple() 166 t->getPos().y <= pos.y + dist && t->getPos().y >= pos.y - dist) in getNearestVisibleTemple()
|
H A D | AI_Allocation.cpp | 1017 if (pos == stack->getPos()) in getFreeOtherSpotInCity() 1065 int tiles = dist(city->getPos(), s->getPos()); in findClosestStackToEnemyCity() 1100 Vector<int> spos = s->getPos(); in findClosestStackToCity() 1115 int tiles = dist(city->getPos(), s->getPos()); in findClosestStackToCity() 1139 Vector<int> spos = s->getPos(); in findBestAttackerFor() 1288 int distToCity = dist(s->getPos(), city->getPos()); in stackReinforce() 1292 if (city->contains(s->getPos())) in stackReinforce() 1332 if (target->contains(s->getPos())) in stackReinforce() 1371 if (stack->getPos() == target) in shuffleStacksWithinCity() 1387 printf("i am stack %d at %d,%d\n", stack->getId(), stack->getPos().x, stack->getPos().y); in shuffleStacksWithinCity() [all …]
|
H A D | LocationBox.cpp | 103 Vector<int> pos = getPos() + Vector<int>(j,i); in isFull() 116 Vector<int> pos = getPos() + Vector<int>(j,i); in getFreeStack() 143 pos.x = getPos().x + i; in isVisible() 144 pos.y = getPos().y + j; in isVisible() 157 fogmap->alterFogRadius (getPos(), 3, FogMap::OPEN); in deFog() 167 fogmap->alterFogRadius (getPos(), 3, FogMap::OPEN); in deFog() 172 return (pos.x >= getPos().x) && (pos.x < getPos().x + (int) d_size) in contains() 173 && (pos.y >= getPos().y) && (pos.y < getPos().y + (int) d_size); in contains() 190 return getNearestPos(m->getPos()); in getNearestPos() 200 Vector<int> target = Vector<int>(i,j) + getPos(); in getNearestPos()
|
/dports/cad/digital/Digital-0.27/src/main/java/de/neemann/digital/core/wiring/ |
H A D | Splitter.java | 121 … if (in.getPos() + in.getBits() <= out.getPos() || out.getPos() + out.getBits() <= in.getPos()) in fillOutput() 125 if (out.getPos() >= in.getPos() in fillOutput() 126 && out.getPos() + out.getBits() <= in.getPos() + in.getBits()) { in fillOutput() 128 final int bitPos = out.getPos() - in.getPos(); in fillOutput() 141 … if (out.getPos() <= in.getPos() && in.getPos() + in.getBits() <= out.getPos() + out.getBits()) { in fillOutput() 142 final int bitPos = in.getPos() - out.getPos(); in fillOutput() 162 if (in.getPos() < out.getPos()) { in fillOutput() 163 final int bitsToCopy = in.getPos() + in.getBits() - out.getPos(); in fillOutput() 165 final int shift = out.getPos() - in.getPos(); in fillOutput() 182 final int bitsToCopy = out.getPos() + out.getBits() - in.getPos(); in fillOutput() [all …]
|
/dports/science/rdkit/rdkit-Release_2021_03_5/Code/Demos/RDKit/Basement/TemplEnum/ |
H A D | main.cpp | 361 TEST_ASSERT(feq(m1->getAtomWithIdx(0)->getPos(), 362 m2->getAtomWithIdx(1)->getPos())); 364 TEST_ASSERT(feq(m2->getAtomWithIdx(0)->getPos(), 366 TEST_ASSERT(feq(m2->getAtomWithIdx(1)->getPos(), 368 TEST_ASSERT(feq(m2->getAtomWithIdx(2)->getPos(), 370 TEST_ASSERT(feq(m2->getAtomWithIdx(3)->getPos(), 372 TEST_ASSERT(feq(m2->getAtomWithIdx(4)->getPos(), 390 TEST_ASSERT(feq(m1->getAtomWithIdx(0)->getPos(), 391 m2->getAtomWithIdx(1)->getPos())); 420 m2->getAtomWithIdx(1)->getPos())); [all …]
|
/dports/print/texlive-base/texlive-20150521-source/utils/asymptote/ |
H A D | name.cc | 42 em.compiler(getPos()); in forceEquivalency() 85 v->encode(act, getPos(), e.c); in varTrans() 89 em.error(getPos()); in varTrans() 113 em.error(getPos()); in typeTrans() 124 em.error(getPos()); in tyEntryTrans() 164 em.error(qualifier->getPos()); in castToRecord() 179 v->encode(act, getPos(), e.c); in varTransVirtual() 199 v->encode(act, getPos(), e.c); in varTransField() 204 em.error(getPos()); in varTransField() 275 em.error(getPos()); in typeTrans() [all …]
|
H A D | camp.y | 267 | STRING { $$.pos = $1->getPos(); 288 type decidlist { $$ = new vardec($1->getPos(), $1, $2); } 318 decidstart { $$ = new decid($1->getPos(), $1); } 320 { $$ = new decid($1->getPos(), $1, $3); } 359 varinit { $$ = new arrayinit($1->getPos()); 435 { $$ = new nameExp($2->getPos(), $2); } 461 name { $$ = new nameExp($1->getPos(), $1); } 466 | LIT exp { $$ = new scaleExp($1->getPos(), $1, $2); } 528 new joinExp($2->getPos(), SYM_DOTS); 624 exp { $$ = new expStm($1->getPos(), $1); } [all …]
|
/dports/math/asymptote/asymptote-2.67/ |
H A D | name.cc | 42 em.compiler(getPos()); in forceEquivalency() 85 v->encode(act, getPos(), e.c); in varTrans() 89 em.error(getPos()); in varTrans() 113 em.error(getPos()); in typeTrans() 124 em.error(getPos()); in tyEntryTrans() 164 em.error(qualifier->getPos()); in castToRecord() 179 v->encode(act, getPos(), e.c); in varTransVirtual() 199 v->encode(act, getPos(), e.c); in varTransField() 204 em.error(getPos()); in varTransField() 275 em.error(getPos()); in typeTrans() [all …]
|
H A D | camp.y | 267 | STRING { $$.pos = $1->getPos(); 288 type decidlist { $$ = new vardec($1->getPos(), $1, $2); } 318 decidstart { $$ = new decid($1->getPos(), $1); } 320 { $$ = new decid($1->getPos(), $1, $3); } 359 varinit { $$ = new arrayinit($1->getPos()); 435 { $$ = new nameExp($2->getPos(), $2); } 461 name { $$ = new nameExp($1->getPos(), $1); } 466 | LIT exp { $$ = new scaleExp($1->getPos(), $1, $2); } 529 new joinExp($2->getPos(), SYM_DOTS); 625 exp { $$ = new expStm($1->getPos(), $1); } [all …]
|
/dports/science/qmcpack/qmcpack-3.11.0/src/AFQMC/Utilities/ |
H A D | myTimer.h | 55 int n = getPos(str); in add() 65 int n = getPos(str); in start() 78 int n = getPos(str); in stop() 90 int n = getPos(str); in add_time() 99 int n = getPos(str); in elapsed() 107 int n = getPos(str); in average() 116 int n = getPos(str); in total() 124 int n = getPos(str); in reset() 146 int n = getPos(str); in print_elapsed() 156 int n = getPos(str); in print_average() [all …]
|
/dports/devel/hadoop2/hadoop-2.7.2-src/hadoop-tools/hadoop-openstack/src/test/java/org/apache/hadoop/fs/swift/ |
H A D | TestSeek.java | 87 assertEquals(0, instream.getPos()); in testSeekZeroByteFile() 104 assertEquals(0, instream.getPos()); in testBlockReadZeroByteFile() 136 assertEquals(0, instream.getPos()); in testNegativeSeek() 139 long p = instream.getPos(); in testNegativeSeek() 147 assertEquals(0, instream.getPos()); in testNegativeSeek() 153 assertEquals(0, instream.getPos()); in testSeekFile() 159 assertEquals(2, instream.getPos()); in testSeekFile() 161 assertEquals(3, instream.getPos()); in testSeekFile() 163 assertEquals(128, instream.getPos()); in testSeekFile() 172 assertEquals(0, instream.getPos()); in testSeekAndReadPastEndOfFile() [all …]
|
/dports/devel/simgear/simgear-2020.3.11/simgear/ephemeris/ |
H A D | ephemeris.cxx | 82 mercury->getPos( &planets[0][0], &planets[0][1], &planets[0][2] ); in update() 83 venus ->getPos( &planets[1][0], &planets[1][1], &planets[1][2] ); in update() 84 mars ->getPos( &planets[2][0], &planets[2][1], &planets[2][2] ); in update() 85 jupiter->getPos( &planets[3][0], &planets[3][1], &planets[3][2] ); in update() 86 saturn ->getPos( &planets[4][0], &planets[4][1], &planets[4][2] ); in update() 87 uranus ->getPos( &planets[5][0], &planets[5][1], &planets[5][2] ); in update() 88 neptune->getPos( &planets[6][0], &planets[6][1], &planets[6][2] ); in update()
|
/dports/devel/hadoop2/hadoop-2.7.2-src/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/crypto/ |
H A D | CryptoFSDataOutputStream.java | 32 out.getPos()), null, out.getPos()); in CryptoFSDataOutputStream() 38 super(new CryptoOutputStream(out, codec, key, iv, out.getPos()), in CryptoFSDataOutputStream() 39 null, out.getPos()); in CryptoFSDataOutputStream() 44 public long getPos() throws IOException { in getPos() method in CryptoFSDataOutputStream 45 return fsOut.getPos(); in getPos()
|
/dports/games/glest/glest_source_3.2.2/source/glest_game/world/ |
H A D | unit_updater.cpp | 167 Vec2i escapePos= unit->getPos()*2-sighted->getPos(); in updateStop() 225 pos= target->getPos(); in updateAttack() 228 pos= command->getPos(); in updateAttack() 305 gameCamera->getPos()); in updateBuild() 347 gameCamera->getPos()); in updateBuild() 369 if(unit->getPos().dist(command->getPos())<harvestDistance && in updateHarvest() 379 switch(pathFinder.findPath(unit, command->getPos())){ in updateHarvest() 409 if(map->isNextTo(unit->getPos(), store)){ in updateHarvest() 482 switch(pathFinder.findPath(unit, command->getPos())){ in updateRepair() 723 Vec2i pos= unit->getCurrCommand()->getPos(); in searchForResource() [all …]
|