/dports/lang/io-devel/io-9bfac31d/libs/iovm/tests/correctness/ |
H A D | BlockTest.io | 4 block1 := Lobby getSlot("Block") clone 5 assertNotEquals(Lobby getSlot("Block") uniqueId, getSlot("block2") uniqueId) 6 block2 := Lobby getSlot("Block") clone 7 assertNotEquals(getSlot("block1") uniqueId, getSlot("block2") uniqueId) 18 getSlot("testBlock") setScope(nil) 20 getSlot("testBlock") setScope(self) 54 getSlot("selfBlock") setScope(nil) 55 assertNil(getSlot("selfBlock") scope) 60 getSlot("selfBlock") setScope(object) 63 getSlot("selfBlock") setScope [all …]
|
/dports/lang/io-devel/io-9bfac31d/libs/iovm/io/ |
H A D | Profiler.io | 2 m := getSlot("self") message 3 …writeln(" ", getSlot("self") profilerTime asString(0,6), "s in Block (", getSlot("self") argument… 6 Core getSlot("CFunction") printProfile := method( 7 …writeln(" ", getSlot("self") profilerTime asString(0,6), "s in CFunction ", getSlot("self") uniqu… 16 Core getSlot("CFunction") setProfilerOn(true) 23 Core getSlot("CFunction") setProfilerOn(false) 29 …blocks := self timedObjects select(b, getSlot("b") type == "Block") // or getSlot("b") type == "CF… 32 o newSlot("b", getSlot("b")) 33 o newSlot("profilerTime", getSlot("b") profilerTime) 42 b getSlot("b") printProfile
|
H A D | A2_Object.io | 11 elseif := Object getSlot("if") 135 getSlot("r") 155 getSlot("arg") 176 getSlot("arg") 254 getSlot("self") hasLocalSlot(n) or(getSlot("self") ancestorWithSlot(n) != nil) 336 getSlot("self") setSlot(name, getSlot("value")) 340 getSlot("value") 450 getSlot("b") 458 Object print := method(write(getSlot("self") asString); getSlot("self")) 461 println := method(getSlot("self") print; write("\n"); getSlot("self")) [all …]
|
H A D | A0_Object.io | 8 getSlot("obj") foreachSlot(name, value, 9 if(getSlot("self") hasLocalSlot(name), 11 …isNil, Exception raise("""Slot '#{name}' already exists in #{getSlot("self") type}[#{getSlot("self… 12 getSlot("self") setSlot(resolutions at(name), getSlot("value")) 15 getSlot("self") setSlot(name, getSlot("value")) 18 getSlot("self")
|
/dports/games/stendhal/stendhal-1.35/src/games/stendhal/server/entity/trade/ |
H A D | Market.java | 116 this.getSlot(OFFERS_SLOT_NAME).add(offer); in Market() 122 this.getSlot(EARNINGS_SLOT_NAME).add(earning); in Market() 201 RPSlot slot = this.getSlot(OFFERS_SLOT_NAME); in createOffer() 235 this.getSlot(EARNINGS_SLOT_NAME).add(earning); in acceptOffer() 360 getSlot(OFFERS_SLOT_NAME).remove(o.getID()); in removeOffer() 387 this.getSlot(OFFERS_SLOT_NAME).remove(o.getID()); in expireOffer() 388 this.getSlot(EXPIRED_OFFERS_SLOT_NAME).add(o); in expireOffer() 437 RPSlot slot = this.getSlot(OFFERS_SLOT_NAME); in prolongOffer() 457 for (RPObject o : getSlot(OFFERS_SLOT_NAME)) { in getOffersOlderThan() 482 RPSlot slot = this.getSlot(EARNINGS_SLOT_NAME); in getEarningsOlderThan() [all …]
|
H A D | Offer.java | 76 getSlot(OFFER_ITEM_SLOT_NAME).add(item); in Offer() 93 getSlot(OFFER_ITEM_SLOT_NAME).clear(); in Offer() 95 final RPObject itemObject = object.getSlot(OFFER_ITEM_SLOT_NAME).getFirst(); in Offer() 111 getSlot(OFFER_ITEM_SLOT_NAME).addPreservingId(entity); in Offer() 118 if (getSlot(OFFER_ITEM_SLOT_NAME).size() == 0) { in getItem() 121 return (Item) getSlot(OFFER_ITEM_SLOT_NAME).iterator().next(); in getItem() 129 return (hasSlot(OFFER_ITEM_SLOT_NAME) && getSlot(OFFER_ITEM_SLOT_NAME).size() != 0); in hasItem()
|
/dports/www/mediawiki137/mediawiki-1.37.1/tests/phpunit/unit/includes/Revision/ |
H A D | MutableRevisionSlotsTest.php | 53 $this->assertSame( $slotA, $slots->getSlot( 'some' ) ); 59 $this->assertSame( $slotB, $slots->getSlot( 'other' ) ); 70 $this->assertSame( $slotA, $slots->getSlot( SlotRecord::MAIN ) ); 75 $this->assertSame( $slotB, $slots->getSlot( SlotRecord::MAIN ) ); 97 $this->assertNotSame( $slotB, $slots->getSlot( SlotRecord::MAIN ) ); 98 $this->assertNotSame( $slotC, $slots->getSlot( 'foo' ) ); 100 $this->assertTrue( $slots->getSlot( 'foo' )->isInherited() ); 112 $this->assertSame( $slotA, $slots->getSlot( SlotRecord::MAIN ) ); 129 $slots->getSlot( SlotRecord::MAIN ); 142 $this->assertTrue( $slots->getSlot( 'some' )->isInherited() ); [all …]
|
H A D | RevisionStoreRecordTest.php | 100 $this->assertNotNull( $rev->getSlot( SlotRecord::MAIN, RevisionRecord::RAW ), 'raw can' ); 101 $this->assertNotNull( $rev->getSlot( SlotRecord::MAIN, RevisionRecord::FOR_PUBLIC ), 105 $rev->getSlot( SlotRecord::MAIN, RevisionRecord::FOR_THIS_USER, $performer ), 109 $rev->getSlot( SlotRecord::MAIN, RevisionRecord::RAW )->getContent(); 112 $rev->getSlot( SlotRecord::MAIN, RevisionRecord::FOR_PUBLIC )->getContent(); 113 $rev->getSlot( SlotRecord::MAIN, RevisionRecord::FOR_THIS_USER, $performer )->getContent();
|
/dports/www/mediawiki136/mediawiki-1.36.3/tests/phpunit/unit/includes/Revision/ |
H A D | MutableRevisionSlotsTest.php | 53 $this->assertSame( $slotA, $slots->getSlot( 'some' ) ); 59 $this->assertSame( $slotB, $slots->getSlot( 'other' ) ); 70 $this->assertSame( $slotA, $slots->getSlot( SlotRecord::MAIN ) ); 75 $this->assertSame( $slotB, $slots->getSlot( SlotRecord::MAIN ) ); 97 $this->assertNotSame( $slotB, $slots->getSlot( SlotRecord::MAIN ) ); 98 $this->assertNotSame( $slotC, $slots->getSlot( 'foo' ) ); 100 $this->assertTrue( $slots->getSlot( 'foo' )->isInherited() ); 112 $this->assertSame( $slotA, $slots->getSlot( SlotRecord::MAIN ) ); 129 $slots->getSlot( SlotRecord::MAIN ); 142 $this->assertTrue( $slots->getSlot( 'some' )->isInherited() ); [all …]
|
H A D | RevisionStoreRecordTest.php | 100 $this->assertNotNull( $rev->getSlot( SlotRecord::MAIN, RevisionRecord::RAW ), 'raw can' ); 101 $this->assertNotNull( $rev->getSlot( SlotRecord::MAIN, RevisionRecord::FOR_PUBLIC ), 105 $rev->getSlot( SlotRecord::MAIN, RevisionRecord::FOR_THIS_USER, $performer ), 109 $rev->getSlot( SlotRecord::MAIN, RevisionRecord::RAW )->getContent(); 112 $rev->getSlot( SlotRecord::MAIN, RevisionRecord::FOR_PUBLIC )->getContent(); 113 $rev->getSlot( SlotRecord::MAIN, RevisionRecord::FOR_THIS_USER, $performer )->getContent();
|
/dports/www/mediawiki135/mediawiki-1.35.5/tests/phpunit/includes/Revision/ |
H A D | MutableRevisionSlotsTest.php | 53 $this->assertSame( $slotA, $slots->getSlot( 'some' ) ); 59 $this->assertSame( $slotB, $slots->getSlot( 'other' ) ); 70 $this->assertSame( $slotA, $slots->getSlot( SlotRecord::MAIN ) ); 75 $this->assertSame( $slotB, $slots->getSlot( SlotRecord::MAIN ) ); 97 $this->assertNotSame( $slotB, $slots->getSlot( SlotRecord::MAIN ) ); 98 $this->assertNotSame( $slotC, $slots->getSlot( 'foo' ) ); 100 $this->assertTrue( $slots->getSlot( 'foo' )->isInherited() ); 112 $this->assertSame( $slotA, $slots->getSlot( SlotRecord::MAIN ) ); 129 $slots->getSlot( SlotRecord::MAIN ); 142 $this->assertTrue( $slots->getSlot( 'some' )->isInherited() ); [all …]
|
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/src/utils/IdealGraphVisualizer/View/src/com/sun/hotspot/igv/view/widgets/ |
H A D | SlotWidget.java | 72 public Slot getSlot() { in getSlot() method in SlotWidget 92 if (getSlot().getSource().getSourceNodes().size() > 0) { in paintWidget() 94 g.setColor(getSlot().getColor()); in paintWidget() 101 Font font = this.getSlot().getFigure().getDiagram().getSlotFont(); in paintWidget() 106 if (getSlot().getShortName() != null && getSlot().getShortName().length() > 0) { in paintWidget() 108 Rectangle2D r1 = g.getFontMetrics().getStringBounds(getSlot().getShortName(), g); in paintWidget() 120 …if (getSlot().getShortName() != null && getSlot().getShortName().length() > 0 && getScene().getZoo… in paintWidget() 121 Rectangle2D r1 = g.getFontMetrics().getStringBounds(getSlot().getShortName(), g); in paintWidget() 122 …g.drawString(getSlot().getShortName(), (int) (w - r1.getWidth()) / 2, g.getFontMetrics().getAscent… in paintWidget() 127 if (this.getSlot().getConnections().isEmpty()) { in paintWidget()
|
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/src/utils/IdealGraphVisualizer/View/src/com/sun/hotspot/igv/view/widgets/ |
H A D | SlotWidget.java | 72 public Slot getSlot() { in getSlot() method in SlotWidget 92 if (getSlot().getSource().getSourceNodes().size() > 0) { in paintWidget() 94 g.setColor(getSlot().getColor()); in paintWidget() 101 Font font = this.getSlot().getFigure().getDiagram().getSlotFont(); in paintWidget() 106 if (getSlot().getShortName() != null && getSlot().getShortName().length() > 0) { in paintWidget() 108 Rectangle2D r1 = g.getFontMetrics().getStringBounds(getSlot().getShortName(), g); in paintWidget() 120 …if (getSlot().getShortName() != null && getSlot().getShortName().length() > 0 && getScene().getZoo… in paintWidget() 121 Rectangle2D r1 = g.getFontMetrics().getStringBounds(getSlot().getShortName(), g); in paintWidget() 122 …g.drawString(getSlot().getShortName(), (int) (w - r1.getWidth()) / 2, g.getFontMetrics().getAscent… in paintWidget() 127 if (this.getSlot().getConnections().isEmpty()) { in paintWidget()
|
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/src/utils/IdealGraphVisualizer/View/src/com/sun/hotspot/igv/view/widgets/ |
H A D | SlotWidget.java | 72 public Slot getSlot() { in getSlot() method in SlotWidget 92 if (getSlot().getSource().getSourceNodes().size() > 0) { in paintWidget() 94 g.setColor(getSlot().getColor()); in paintWidget() 101 Font font = this.getSlot().getFigure().getDiagram().getSlotFont(); in paintWidget() 106 if (getSlot().getShortName() != null && getSlot().getShortName().length() > 0) { in paintWidget() 108 Rectangle2D r1 = g.getFontMetrics().getStringBounds(getSlot().getShortName(), g); in paintWidget() 120 …if (getSlot().getShortName() != null && getSlot().getShortName().length() > 0 && getScene().getZoo… in paintWidget() 121 Rectangle2D r1 = g.getFontMetrics().getStringBounds(getSlot().getShortName(), g); in paintWidget() 122 …g.drawString(getSlot().getShortName(), (int) (w - r1.getWidth()) / 2, g.getFontMetrics().getAscent… in paintWidget() 127 if (this.getSlot().getConnections().isEmpty()) { in paintWidget()
|
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/src/utils/IdealGraphVisualizer/View/src/com/sun/hotspot/igv/view/widgets/ |
H A D | SlotWidget.java | 72 public Slot getSlot() { in getSlot() method in SlotWidget 92 if (getSlot().getSource().getSourceNodes().size() > 0) { in paintWidget() 94 g.setColor(getSlot().getColor()); in paintWidget() 101 Font font = this.getSlot().getFigure().getDiagram().getSlotFont(); in paintWidget() 106 if (getSlot().getShortName() != null && getSlot().getShortName().length() > 0) { in paintWidget() 108 Rectangle2D r1 = g.getFontMetrics().getStringBounds(getSlot().getShortName(), g); in paintWidget() 120 …if (getSlot().getShortName() != null && getSlot().getShortName().length() > 0 && getScene().getZoo… in paintWidget() 121 Rectangle2D r1 = g.getFontMetrics().getStringBounds(getSlot().getShortName(), g); in paintWidget() 122 …g.drawString(getSlot().getShortName(), (int) (w - r1.getWidth()) / 2, g.getFontMetrics().getAscent… in paintWidget() 127 if (this.getSlot().getConnections().isEmpty()) { in paintWidget()
|
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/src/utils/IdealGraphVisualizer/View/src/com/sun/hotspot/igv/view/widgets/ |
H A D | SlotWidget.java | 72 public Slot getSlot() { in getSlot() method in SlotWidget 92 if (getSlot().getSource().getSourceNodes().size() > 0) { in paintWidget() 94 g.setColor(getSlot().getColor()); in paintWidget() 101 Font font = this.getSlot().getFigure().getDiagram().getSlotFont(); in paintWidget() 106 if (getSlot().getShortName() != null && getSlot().getShortName().length() > 0) { in paintWidget() 108 Rectangle2D r1 = g.getFontMetrics().getStringBounds(getSlot().getShortName(), g); in paintWidget() 120 …if (getSlot().getShortName() != null && getSlot().getShortName().length() > 0 && getScene().getZoo… in paintWidget() 121 Rectangle2D r1 = g.getFontMetrics().getStringBounds(getSlot().getShortName(), g); in paintWidget() 122 …g.drawString(getSlot().getShortName(), (int) (w - r1.getWidth()) / 2, g.getFontMetrics().getAscent… in paintWidget() 127 if (this.getSlot().getConnections().isEmpty()) { in paintWidget()
|
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/src/utils/IdealGraphVisualizer/View/src/com/sun/hotspot/igv/view/widgets/ |
H A D | SlotWidget.java | 72 public Slot getSlot() { in getSlot() method in SlotWidget 92 if (getSlot().getSource().getSourceNodes().size() > 0) { in paintWidget() 94 g.setColor(getSlot().getColor()); in paintWidget() 101 Font font = this.getSlot().getFigure().getDiagram().getSlotFont(); in paintWidget() 106 if (getSlot().getShortName() != null && getSlot().getShortName().length() > 0) { in paintWidget() 108 Rectangle2D r1 = g.getFontMetrics().getStringBounds(getSlot().getShortName(), g); in paintWidget() 120 …if (getSlot().getShortName() != null && getSlot().getShortName().length() > 0 && getScene().getZoo… in paintWidget() 121 Rectangle2D r1 = g.getFontMetrics().getStringBounds(getSlot().getShortName(), g); in paintWidget() 122 …g.drawString(getSlot().getShortName(), (int) (w - r1.getWidth()) / 2, g.getFontMetrics().getAscent… in paintWidget() 127 if (this.getSlot().getConnections().isEmpty()) { in paintWidget()
|
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/src/utils/IdealGraphVisualizer/View/src/com/sun/hotspot/igv/view/widgets/ |
H A D | SlotWidget.java | 72 public Slot getSlot() { in getSlot() method in SlotWidget 92 if (getSlot().getSource().getSourceNodes().size() > 0) { in paintWidget() 94 g.setColor(getSlot().getColor()); in paintWidget() 101 Font font = this.getSlot().getFigure().getDiagram().getSlotFont(); in paintWidget() 106 if (getSlot().getShortName() != null && getSlot().getShortName().length() > 0) { in paintWidget() 108 Rectangle2D r1 = g.getFontMetrics().getStringBounds(getSlot().getShortName(), g); in paintWidget() 120 …if (getSlot().getShortName() != null && getSlot().getShortName().length() > 0 && getScene().getZoo… in paintWidget() 121 Rectangle2D r1 = g.getFontMetrics().getStringBounds(getSlot().getShortName(), g); in paintWidget() 122 …g.drawString(getSlot().getShortName(), (int) (w - r1.getWidth()) / 2, g.getFontMetrics().getAscent… in paintWidget() 127 if (this.getSlot().getConnections().isEmpty()) { in paintWidget()
|
/dports/lang/maude/maude-2.7.1/src/FreeTheory/ |
H A D | freeInstruction.cc | 195 frame->getSlot(i->argIndex0)); 201 frame->getSlot(i->argIndex0), \ 202 frame->getSlot(i->argIndex1)); 207 frame->getSlot(i->argIndex0), \ 208 frame->getSlot(i->argIndex1), \ 209 frame->getSlot(i->argIndex2)); 289 localArgList[0] = frame->getSlot(i->argIndex0); in execute() 290 localArgList[1] = frame->getSlot(i->argIndex1); in execute() 299 localArgList[0] = frame->getSlot(i->argIndex0); in execute() 300 localArgList[1] = frame->getSlot(i->argIndex1); in execute() [all …]
|
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/src/utils/IdealGraphVisualizer/View/src/main/java/com/sun/hotspot/igv/view/widgets/ |
H A D | SlotWidget.java | 75 public Slot getSlot() { in getSlot() method in SlotWidget 95 if (getSlot().getSource().getSourceNodes().size() > 0) { in paintWidget() 97 g.setColor(getSlot().getColor()); in paintWidget() 104 Font font = this.getSlot().getFigure().getDiagram().getSlotFont(); in paintWidget() 112 if (getSlot().getShortName() != null && getSlot().getShortName().length() > 0) { in paintWidget() 114 Rectangle2D r1 = g.getFontMetrics().getStringBounds(getSlot().getShortName(), g); in paintWidget() 126 …if (getSlot().getShortName() != null && getSlot().getShortName().length() > 0 && getScene().getZoo… in paintWidget() 127 Rectangle2D r1 = g.getFontMetrics().getStringBounds(getSlot().getShortName(), g); in paintWidget() 128 …g.drawString(getSlot().getShortName(), (int) (w - r1.getWidth()) / 2, g.getFontMetrics().getAscent… in paintWidget() 133 if (this.getSlot().getConnections().isEmpty()) { in paintWidget()
|
/dports/science/opensph/sph-7de6c044339f649e3d19e61f735a6a24572b792a/core/run/test/ |
H A D | Node.cpp | 143 SlotData slot0 = node->getSlot(0); 144 SlotData slot1 = node->getSlot(1); 145 REQUIRE_THROWS_AS(node->getSlot(2), InvalidSetup); 168 REQUIRE(node->getSlot(0).provider == particles); 169 REQUIRE(node->getSlot(1).provider == material); 183 REQUIRE(node->getSlot(0).provider == particles); 184 REQUIRE(node->getSlot(1).provider == material); 187 REQUIRE(node->getSlot(0).provider == particles); 188 REQUIRE(node->getSlot(1).provider == nullptr); 192 REQUIRE(node->getSlot(0).provider == nullptr); [all …]
|
/dports/games/stendhal/stendhal-1.35/tests/games/stendhal/tools/playerUpdate/ |
H A D | UpdatePlayerEntitiesTest.java | 63 if (loaded.getSlot("bag").size() > 0) { in testDoUpdate() 64 loaded.getSlot("bag").remove(loaded.getSlot("bag").getFirst().getID()); in testDoUpdate() 72 assertTrue(loaded.getSlot("bag").has(item.getID())); in testDoUpdate() 83 assertNotNull(secondLoaded.getSlot("bag")); in testDoUpdate() 84 assertNotNull(secondLoaded.getSlot("bag").getFirst()); in testDoUpdate() 85 assertThat(secondLoaded.getSlot("bag").getFirst().get("name"), not(is("leather_armor_+1"))); in testDoUpdate()
|
/dports/lang/io-devel/io-9bfac31d/libs/iovm/io/_old/ |
H A D | A1_optransform.io | 1 true setSlot("and", Object getSlot("evalArg")) 4 nil setSlot("ifNil", Object getSlot("evalArgAndReturnSelf")) 5 Object setSlot("ifNil", Object getSlot("thisContext")) 7 nil setSlot("ifNilEval", Object getSlot("evalArg")) 8 Object setSlot("ifNilEval", Object getSlot("thisContext")) 51 setSlot("opShuffle", getSlot("opShuffleC")) 53 useCShuffle := method(self setSlot("opShuffle", getSlot("opShuffleC"))) 54 useIoShuffle := method(self setSlot("opShuffle", getSlot("opShuffleIo"))) 60 setSlot("contains", getSlot("hasKey")) 296 updateSlot("attach", self getSlot(name)) [all …]
|
/dports/games/odamex/odamex-src-0.7.0/common/ |
H A D | sarray.h | 244 return iterator(getSlot(id), this); in find() 249 return const_iterator(getSlot(id), this); in find() 254 return mItemRecords[getSlot(id)].mItem; in get() 259 return mItemRecords[getSlot(id)].mItem; in get() 264 return mItemRecords[getSlot(id)].mItem; 269 return mItemRecords[getSlot(item)].mId; in getId() 287 eraseSlot(getSlot(id)); in erase() 292 eraseSlot(getSlot(item)); in erase() 324 inline unsigned int getSlot(const SArrayId id) const in getSlot() function 331 inline unsigned int getSlot(const VT& item) const in getSlot() function
|
/dports/games/openxcom/OpenXcom-1.0/src/Battlescape/ |
H A D | Inventory.cpp | 219 if ((*i)->getSlot()->getType() == INV_SLOT) in drawItems() 224 else if ((*i)->getSlot()->getType() == INV_HAND) in drawItems() 292 if (item->getSlot()->getType() == INV_GROUND) in moveItem() 304 if (slot != item->getSlot()) in moveItem() 309 _selUnit->getTile()->addItem(item, item->getSlot()); in moveItem() 315 else if (item->getSlot() == 0 || item->getSlot()->getType() == INV_GROUND) in moveItem() 348 if ((*i)->getSlot() == slot && (*i)->occupiesSlot(x, y, item)) in overlapItems() 407 if (_selItem->getSlot()->getType() == INV_GROUND) in setSelectedItem() 642 if (item->getSlot()->getType() == INV_GROUND) in mouseClick() 733 if (_selItem->getSlot()->getType() == INV_GROUND) in mouseClick() [all …]
|