id
stringlengths
36
36
text
stringlengths
1
1.25M
dba35ad7-f911-4fe8-957b-12a3cf38dd68
public int getAge() { return 0; }
86e508e6-43b1-45f1-9117-c743b3165b2b
public crmondemand.xml.customobject6.query.QueryType getCustomNumber57() { return this.customNumber57; }
8b11808b-21b2-4739-a125-f20c290f55f1
public AStar(Heuristic heuristic) { setHeuristic(heuristic); }
ba777941-587c-44af-8414-3a9f2fd1c591
public crmondemand.xml.contact.query.QueryType getCustomNumber22() { return this.customNumber22; }
d14a73e8-d472-42f7-8030-cfab9dd7a131
public static Stella_Object walkMacroTree(Cons tree, Object [] MV_returnarray) { return (Stella_Object.walkATree(Cons.expandMacro(tree), MV_returnarray)); }
2a94cca7-04cd-48c9-b394-daba2ad73e2d
public java.lang.String getCustomPickList20() { return this.customPickList20; }
5f663f94-331d-481e-9a13-9db3e34c4c4e
public java.lang.Boolean getMaximumPermissionsViewAllForecasts() { return MaximumPermissionsViewAllForecasts; }
5f54a912-3ae7-44a3-bf28-7a1fe37e3f9e
public void setCustomText30(crmondemand.xml.opportunity.query.QueryType customText30) { this.customText30 = customText30; }
3c66c03c-940b-4a91-814c-30db63c5eb59
public void setPortfolioAccountNumber(java.lang.String portfolioAccountNumber) { this.portfolioAccountNumber = portfolioAccountNumber; }
e98f1593-fc2f-462e-ba33-6536b147ccda
public java.lang.String getSPRequestSPRequestName() { return this.sPRequestSPRequestName; }
267639bc-7bd4-484a-bd68-3b1784fd252f
private void offerPracticeQuestion() { JLabel pqInfoLabel = new JLabel("Would you like to try a practice question?"); pqInfoLabel.setSize(pqInfoLabel.getPreferredSize()); pqInfoLabel.setLocation(0, 20); JButton yespButton = new JButton("Yes"); yespButton.setSize(yespButton.getPreferredSize()); yespButton.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e){ displayPracticeQuestion(); } }); JButton nopButton = new JButton("No, Start the Quiz!"); nopButton.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e){ startQuiz(); } }); nopButton.setSize(nopButton.getPreferredSize()); yespButton.setLocation(10, 100); nopButton.setLocation(yespButton.getWidth() + 20, 100); QuestionPanel.removeAll(); QuestionPanel.add(pqInfoLabel); QuestionPanel.add(yespButton); QuestionPanel.add(nopButton); QuestionPanel.setVisible(true); QuestionPanel.repaint(); // }
213f29e4-ba0e-48ff-91ce-f1346b257078
public void setCustomPhone13(java.lang.String customPhone13) { this.customPhone13 = customPhone13; }
57c8338d-b443-4c70-8eff-e9d1903d3e75
public java.lang.String getFundId() { return this.fundId; }
6a5bec35-ab4a-4e3d-9818-22f76dda7182
public java.util.Calendar getCustomDate7() { return this.customDate7; }
0aa36655-7947-4801-bec9-900172922c9f
public java.lang.String getCustomPickList29() { return this.customPickList29; }
a3fc47ec-10b5-4d9e-ba67-6e908c611afb
public crmondemand.xml.opportunity.query.QueryType getCustomPhone14() { return this.customPhone14; }
d00f730b-2258-4a49-8b9d-9c93afb04fa3
public static boolean addFromDrop(final MapleClient c, Item item, final boolean show, final boolean enhance) { final MapleItemInformationProvider ii = MapleItemInformationProvider.getInstance(); if (c.getPlayer() == null || (ii.isPickupRestricted(item.getItemId()) && c.getPlayer().haveItem(item.getItemId(), 1, true, false)) || (!ii.itemExists(item.getItemId()))) { c.getSession().write(InventoryPacket.getInventoryFull()); c.getSession().write(InventoryPacket.showItemUnavailable()); return false; } final int before = c.getPlayer().itemQuantity(item.getItemId()); short quantity = item.getQuantity(); final MapleInventoryType type = GameConstants.getInventoryType(item.getItemId()); if (!type.equals(MapleInventoryType.EQUIP)) { final short slotMax = ii.getSlotMax(item.getItemId()); final List<Item> existing = c.getPlayer().getInventory(type).listById(item.getItemId()); if (!GameConstants.isRechargable(item.getItemId())) { if (quantity <= 0) { //wth c.getSession().write(InventoryPacket.getInventoryFull()); c.getSession().write(InventoryPacket.showItemUnavailable()); return false; } if (existing.size() > 0) { // first update all existing slots to slotMax Iterator<Item> i = existing.iterator(); while (quantity > 0) { if (i.hasNext()) { final Item eItem = i.next(); final short oldQ = eItem.getQuantity(); if (oldQ < slotMax && item.getOwner().equals(eItem.getOwner()) && item.getExpiration() == eItem.getExpiration()) { final short newQ = (short) Math.min(oldQ + quantity, slotMax); quantity -= (newQ - oldQ); eItem.setQuantity(newQ); c.getSession().write(InventoryPacket.updateInventorySlot(type, eItem, true)); } } else { break; } } } // add new slots if there is still something left while (quantity > 0) { final short newQ = (short) Math.min(quantity, slotMax); quantity -= newQ; final Item nItem = new Item(item.getItemId(), (byte) 0, newQ, item.getFlag()); nItem.setExpiration(item.getExpiration()); nItem.setOwner(item.getOwner()); nItem.setPet(item.getPet()); nItem.setGMLog(item.getGMLog()); short newSlot = c.getPlayer().getInventory(type).addItem(nItem); if (newSlot == -1) { c.getSession().write(InventoryPacket.getInventoryFull()); c.getSession().write(InventoryPacket.getShowInventoryFull()); item.setQuantity((short) (quantity + newQ)); return false; } c.getSession().write(InventoryPacket.addInventorySlot(type, nItem, true)); } } else { // Throwing Stars and Bullets - Add all into one slot regardless of quantity. final Item nItem = new Item(item.getItemId(), (byte) 0, quantity, item.getFlag()); nItem.setExpiration(item.getExpiration()); nItem.setOwner(item.getOwner()); nItem.setPet(item.getPet()); nItem.setGMLog(item.getGMLog()); final short newSlot = c.getPlayer().getInventory(type).addItem(nItem); if (newSlot == -1) { c.getSession().write(InventoryPacket.getInventoryFull()); c.getSession().write(InventoryPacket.getShowInventoryFull()); return false; } c.getSession().write(InventoryPacket.addInventorySlot(type, nItem)); c.getSession().write(CWvsContext.enableActions()); } } else { if (quantity == 1) { if (enhance) { item = checkEnhanced(item, c.getPlayer()); } final short newSlot = c.getPlayer().getInventory(type).addItem(item); if (newSlot == -1) { c.getSession().write(InventoryPacket.getInventoryFull()); c.getSession().write(InventoryPacket.getShowInventoryFull()); return false; } c.getSession().write(InventoryPacket.addInventorySlot(type, item, true)); if (GameConstants.isHarvesting(item.getItemId())) { c.getPlayer().getStat().handleProfessionTool(c.getPlayer()); } } else { throw new RuntimeException("Trying to create equip with non-one quantity"); } } if (item.getQuantity() >= 50 && item.getItemId() == 2340000) { c.setMonitored(true); } //if (before == 0) { // switch (item.getItemId()) { // case AramiaFireWorks.KEG_ID: // c.getPlayer().dropMessage(5, "You have gained a Powder Keg."); // break; // case AramiaFireWorks.SUN_ID: // c.getPlayer().dropMessage(5, "You have gained a Warm Sun."); // break; // case AramiaFireWorks.DEC_ID: // c.getPlayer().dropMessage(5, "You have gained a Tree Decoration."); // break; // } //} c.getPlayer().havePartyQuest(item.getItemId()); if (show) { c.getSession().write(InfoPacket.getShowItemGain(item.getItemId(), item.getQuantity())); } return true; }
325f958d-e167-4fc5-aff8-b3e48f3979d9
public void setCustomText25(java.lang.String customText25) { this.customText25 = customText25; }
ccbd9a70-7267-41a0-b52a-cc89c4b59567
public crmondemand.xml.customobject6.query.QueryType getAttachFileName() { return this.attachFileName; }
59c9248f-02da-4ab7-b372-c84e0e4ecd13
public String getJobName(short id) { return MapleJob.getName(MapleJob.getById(id)); }
1bfeac64-f754-4552-8827-eedeb1792189
public void backgroundMusic() { try { in = new FileInputStream(path + "red.wav"); as = new AudioStream(in); AudioPlayer.player.start(as); } catch (IOException e) { System.out.println("Could not load " + "red.wav"); } }
e2dd49b8-4c14-4b18-b798-46b03bafb5d8
public void setCustomCurrency13(java.math.BigDecimal customCurrency13) { this.customCurrency13 = customCurrency13; }
cb0551d5-5c40-41d9-b30e-de0e7b795935
public org.bwapi.proxy.messages.GameMessages.UnitTypeOrBuilder getWhatUsesOrBuilder( int index) { return whatUses_.get(index); }
935c725d-faba-4a30-9d87-fe1c5abde0a8
public void setCustomBoolean15(crmondemand.xml.customobject6.query.QueryType customBoolean15) { this.customBoolean15 = customBoolean15; }
b07983b6-fd9e-468e-a8ea-07657c0aede4
public void delete(String i){ Query query = new Query("Evaluacion"); query.addFilter("id_Evaluacion", FilterOperator.EQUAL, i); PreparedQuery pq = datastore.prepare(query); Entity Evaluacion = pq.asSingleEntity(); datastore.delete(Evaluacion.getKey()); }
91d2ddb6-6111-4985-844b-cc0dbdc25cfd
@Override public boolean add(E e) { // TODO: Simplify Code Link<E> link; if (tail == null) { link = new Link<E>(e, null); head = link; tail = link; } else { link = new Link<E>(e, tail); tail.setNext(link); tail = link; } size++; return true; }
59921d02-4549-47c1-8f89-6f88e555f931
public void setReferredById(java.lang.String referredById) { this.referredById = referredById; }
a8d8ce4f-8bc1-4042-b73e-32c909e69a07
public void setSPRequestSPRequestName(java.lang.String sPRequestSPRequestName) { this.sPRequestSPRequestName = sPRequestSPRequestName; }
05b69f09-f980-448b-a550-288d54ed3e05
public void setCustomObject3IntegrationId(java.lang.String customObject3IntegrationId) { this.customObject3IntegrationId = customObject3IntegrationId; }
5c4cdaa4-5405-4886-bc17-32898959198e
public crmondemand.xml.contact.query.QueryType getCustomText78() { return this.customText78; }
dd536d6c-9fd6-456a-ab79-cc4f6933efa7
public void setCustomPickList24(crmondemand.xml.customobject6.query.QueryType customPickList24) { this.customPickList24 = customPickList24; }
d47764ec-eb38-483d-a115-162c822fddaf
public crmondemand.xml.customobject6.query.QueryType getCustomNumber64() { return this.customNumber64; }
cf220cca-83c2-4d14-8e62-797b0d14c7ca
public void setCustomDate0(crmondemand.xml.contact.query.QueryType customDate0) { this.customDate0 = customDate0; }
153334de-34a1-4cd1-aaaa-12926ac2d42a
public void setCustomPickList18(crmondemand.xml.opportunity.query.QueryType customPickList18) { this.customPickList18 = customPickList18; }
36e4d6a8-bad1-4ca0-89bb-75894735a9cd
public java.lang.String getProgramPartnerType() { return this.programPartnerType; }
4a0984e3-04c5-4951-a2b1-f5e2867feef3
public crmondemand.xml.opportunity.query.QueryType getActivityIntegrationId() { return this.activityIntegrationId; }
cce58342-a252-4da6-bf58-db63cf70d0d8
public crmondemand.xml.customobject6.query.QueryType getOwnerLastName() { return this.ownerLastName; }
48874265-4473-4b5f-af3b-1a25127dbfdb
public java.lang.String getCustomPickList91() { return this.customPickList91; }
6faf562c-2a74-4b8d-839c-d04a71d3acb6
public crmondemand.xml.opportunity.query.QueryType getCustomDate7() { return this.customDate7; }
38eca94e-3fc0-4d53-bd5b-ee8beb4d92ec
public void setCustomNumber26(java.math.BigDecimal customNumber26) { this.customNumber26 = customNumber26; }
a21dbe8a-f7a9-41e8-9625-f847003fc777
public void setCustomText50(java.lang.String customText50) { this.customText50 = customText50; }
991818ac-72b4-4b42-b801-c66d064762fe
public void setCustomPickList59(crmondemand.xml.customobject6.query.QueryType customPickList59) { this.customPickList59 = customPickList59; }
700dee8c-caa4-460e-bb88-6c29592bf278
public void setTransactionName(java.lang.String transactionName) { this.transactionName = transactionName; }
4aea9233-3a73-4fdf-9d38-954f1df156ef
public void setCustomText55(java.lang.String customText55) { this.customText55 = customText55; }
c3b56add-bc1b-4515-bccb-d97205dfe14d
public void setInvtPeriodReconciledFlg(crmondemand.xml.opportunity.query.QueryType invtPeriodReconciledFlg) { this.invtPeriodReconciledFlg = invtPeriodReconciledFlg; }
3b50cc76-4558-4371-bbaa-0a5f4edaba92
public int getHeight() { return HEIGHT; }
697eff16-9015-49a7-9e47-80c83276a461
public java.lang.Integer getCustomInteger25() { return this.customInteger25; }
b3c5b158-604b-454e-8efe-fbe19b223981
public java.lang.Integer getCustomInteger16() { return this.customInteger16; }
e48f8e93-ff77-4489-ae4c-39fddc963ab6
public void setCustomBoolean5(crmondemand.xml.customobject6.query.QueryType customBoolean5) { this.customBoolean5 = customBoolean5; }
2f65563b-2d39-4dab-9713-355b84f1874d
static void copyAToBO(final Object aData, final int aStart, final int[] aStrides, final Object bData, final int bStart, final int[] bStrides, final int[] dimensions, final int depth) { final int jMax = bStart + dimensions[depth] * bStrides[depth]; if (depth < dimensions.length - 1) { for (int i = aStart, j = bStart; j != jMax; i += aStrides[depth], j += bStrides[depth]) { PyMultiarray.copyAToBO( aData, i, aStrides, bData, j, bStrides, dimensions, depth + 1); } } else { for (int i = aStart, j = bStart; j != jMax; i += aStrides[depth], j += bStrides[depth]) { Array.set(bData, j, Py.java2py(Array.get(aData, i))); } } }
2af8871f-78eb-4dda-841f-1424bcd8aee4
public java.lang.String getCustomPickList71() { return this.customPickList71; }
4786d2bf-4a12-44ad-add9-11d41aa1105d
public boolean getReuseAddress() { return false; }
964bdb85-abf5-417e-ae97-e6f4a8677cbc
public crmondemand.xml.contact.query.QueryType getCustomInteger32() { return this.customInteger32; }
7a6d6d45-7205-4f73-8c40-f3d186f59eb2
public void setCustomPickList71(crmondemand.xml.customobject6.query.QueryType customPickList71) { this.customPickList71 = customPickList71; }
6fd6b0b7-4a77-4f16-9cbe-6eb550f9c589
public java.util.Calendar getCustomDate13() { return this.customDate13; }
2adae4db-f401-4572-9a91-12722c9d5d36
public void setCustomNumber18(crmondemand.xml.customobject6.query.QueryType customNumber18) { this.customNumber18 = customNumber18; }
0aa78f04-4edd-46e8-a63c-1b3236587fd3
public void setDescription(String h) { description = h; }
8c5c22fc-9628-4ea9-9b1e-3d7fabc5a8c7
public void setCustomObject11Name(crmondemand.xml.customobject6.query.QueryType customObject11Name) { this.customObject11Name = customObject11Name; }
1413b959-00f6-4aeb-973e-cbad61d84699
public crmondemand.xml.customobject6.query.QueryType getCustomPickList77() { return this.customPickList77; }
7508dd05-2769-4816-9aaa-92a182fd4e19
public java.lang.String getCustomObject1IntegrationId() { return this.customObject1IntegrationId; }
2ace3a26-795f-4f40-a2fe-a4a8e6486ce7
public crmondemand.xml.customobject6.query.QueryType getServiceRequestSRNumber() { return this.serviceRequestSRNumber; }
b1ab56c9-4355-4a47-90af-f81d9129efb5
public crmondemand.xml.customobject6.query.QueryType getContactId() { return this.contactId; }
8350f3aa-b24e-4672-8c4f-56bd16dad027
public long getArtista_Id() { return artista_id; }
64710010-7507-40a2-91ad-b490afabd86d
public java.math.BigDecimal getCustomNumber31() { return this.customNumber31; }
ffc63295-bcfc-4d28-8ba7-89069c809645
public void setCustomObject3Name(crmondemand.xml.customobject6.query.QueryType customObject3Name) { this.customObject3Name = customObject3Name; }
4e589449-7dc6-417f-9773-6a481b3a021a
public void setActivitySubject(crmondemand.xml.opportunity.query.QueryType activitySubject) { this.activitySubject = activitySubject; }
3268d0ce-52fe-48d1-9dd6-384754ff2f88
public void setPolicyFaceAmount(java.math.BigDecimal policyFaceAmount) { this.policyFaceAmount = policyFaceAmount; }
0794ef95-8a25-46da-a988-202184a8f245
@SuppressWarnings("unused") private static void body() { }
2832b411-4f0d-40fe-8b5e-176e3afb0fee
public java.lang.String getCustomText48() { return this.customText48; }
488463b2-c84e-481d-b5c2-f5d19d3c4938
public void setCustomText72(java.lang.String customText72) { this.customText72 = customText72; }
a9e862b5-2a80-4a2a-a628-37bbe013e0a1
public java.math.BigDecimal getOpportunityRevenue() { return this.opportunityRevenue; }
6211e3bd-4f3f-4ac4-b4b2-24e220e6b8c6
public void setCustomBoolean6(crmondemand.xml.contact.query.QueryType customBoolean6) { this.customBoolean6 = customBoolean6; }
cb83e610-67e2-42aa-b27d-870a1d02cbee
public crmondemand.xml.opportunity.query.QueryType getCustomPickList67() { return this.customPickList67; }
9b8ecc76-1686-4dc7-91da-92bb99d85896
public crmondemand.xml.customobject3.query.QueryType getCustomDate15() { return this.customDate15; }
5dd82f66-e02f-4a75-bd43-77ee82e61e1d
public java.lang.String getWarranty() { return this.warranty; }
e8945d95-547f-494c-b411-d9baaf4ad0fc
public void setCustomDate20(java.util.Calendar customDate20) { this.customDate20 = customDate20; }
b4116317-1f6d-4d4e-9b57-163fba389464
public void setCustomNumber50(java.math.BigDecimal customNumber50) { this.customNumber50 = customNumber50; }
8db31531-7472-400e-bcba-9caae7941bba
public void setCustomDate13(crmondemand.xml.contact.query.QueryType customDate13) { this.customDate13 = customDate13; }
ec2c4adc-90f0-4928-8632-58190f760054
public java.math.BigDecimal getCustomNumber12() { return this.customNumber12; }
c82c4175-c768-45f7-93e2-56ed4fdb3c68
public void setCustomDate33(java.util.Calendar customDate33) { this.customDate33 = customDate33; }
5d5bfdab-369d-479c-8af1-22bce8224c28
public void handler() { if (m68klog != null) { fclose(m68klog); } throw new UnsupportedOperationException("Unimplemented"); }
b611ebf1-bc3d-4d84-a3d4-655e9fe9fe70
public java.math.BigDecimal getCustomCurrency135() { return this.customCurrency135; }
e1b7ab0a-5330-478f-9c39-88738133f7f1
public java.lang.Integer getCustomInteger21() { return this.customInteger21; }
1cbd14cb-f5cb-4fc9-a73b-afc5b15c7839
public java.lang.String getCustomText85() { return this.customText85; }
953dddb4-b81f-45e6-8803-67bc33cb40f4
public void setCustomObject4ExternalSystemId(crmondemand.xml.customobject6.query.QueryType customObject4ExternalSystemId) { this.customObject4ExternalSystemId = customObject4ExternalSystemId; }
1c793092-c90e-4a6c-8ab5-cc5d45c445bf
public void populateSymbolTable() { m_schemaText.populateSymbolTable(); m_predicate.populateSymbolTable(); }
cd418da5-e622-4f22-87a4-367d10db6b56
public void setCustomText10(crmondemand.xml.contact.query.QueryType customText10) { this.customText10 = customText10; }
26834273-66a4-45d0-bc29-e71eeb4a37fa
public crmondemand.xml.customobject6.query.QueryType getZCustomBoolean3() { return this.zCustomBoolean3; }
09437777-3db1-478e-8984-cf6b53979f34
public crmondemand.xml.opportunity.query.QueryType getCustomCurrency21() { return this.customCurrency21; }
643af53e-31da-494c-b62b-c851b0d86f72
public static void main(String[] args) { EventQueue.invokeLater(new Runnable() { public void run() { try { UIManager.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsLookAndFeel"); //ALWAYS SET BEFORE CREATING THE FRAME! new UOIGUI(); } catch (Exception e) { e.printStackTrace(); } } }); }
25574fb7-0567-40fe-b5ee-bc0f2f499485
public java.lang.String getConsolidatorOwner() { return this.consolidatorOwner; }
7eade88e-326f-4e69-8601-7214155bd277
public void setCustomText30(crmondemand.xml.customobject3.query.QueryType customText30) { this.customText30 = customText30; }
2e0eb2c0-2d8d-4fde-beaf-ca10bcad40cf
public void setCustomObject8IntegrationId(crmondemand.xml.opportunity.query.QueryType customObject8IntegrationId) { this.customObject8IntegrationId = customObject8IntegrationId; }
438026fb-cc93-43e3-b8f7-be4e788916d3
public void setServiceRequestId(crmondemand.xml.customobject6.query.QueryType serviceRequestId) { this.serviceRequestId = serviceRequestId; }
3bab6555-7103-4fdc-8a1f-7839b867eba4
public crmondemand.xml.customobject3.query.QueryType getCustomText40() { return this.customText40; }
9f25f3e9-a271-427c-a283-a119cf06f315
public crmondemand.xml.contact.query.QueryType getCustomPickList83() { return this.customPickList83; }
02fd71e0-cb5c-4d46-81a9-c2806ca811c5
public void setCustomPickList0(crmondemand.xml.customobject6.query.QueryType customPickList0) { this.customPickList0 = customPickList0; }
1e24fe68-0199-4889-811d-0649f5a888ad
public void setCustomInteger18(java.lang.Integer customInteger18) { this.customInteger18 = customInteger18; }
8a3ce6a9-1353-4e65-b34e-b2bcb812fb59
@Override public void setAgentPort(short agentPort) { m_agentPort = agentPort; }
fc4c2f45-65c8-440d-9aab-d7be39e2f932
public void setCustomNumber51(crmondemand.xml.contact.query.QueryType customNumber51) { this.customNumber51 = customNumber51; }