id
stringlengths
36
36
text
stringlengths
1
1.25M
bd777532-83d6-4525-926f-47347e0536ff
public void setCustomText41(java.lang.String customText41) { this.customText41 = customText41; }
369f9c9d-6038-459f-837f-ed7481aa58d3
public GTurtle() { setSize(TURTLE_IMAGE_SIZE); turtleVisible = true; penDown = false; direction = 0; animator = new Animator(); setSpeed(DEFAULT_SPEED); erasePath(); }
d433c579-de04-4c30-bc49-545b14619305
public crmondemand.xml.customobject6.query.QueryType getCustomObject14Type() { return this.customObject14Type; }
3986d848-042f-46b6-9fae-fd82407dbe6b
public void handler() { CLR_NZV(); SET_NZ8(m6800.a); INDEXED(); WM(ea, m6800.a); }
34f039f2-3ac1-4df8-8f36-d3c48b6417f4
public java.lang.String getCustomObject6Id() { return this.customObject6Id; }
0362fa88-e03f-45a3-aa76-8389a1009462
public void redraw () { checkWidget (); if (drawCount <= 0) super.redraw (); }
14413c5b-c5c9-4e9d-994c-25c191898b3f
private void createModifyLastSimulationButton() { JButton modifyLastSimulation = new JButton("Modify last simulation"); Insets insets = container.getInsets(); Dimension size = modifyLastSimulation.getPreferredSize(); modifyLastSimulation.setBounds(insets.left + 300, insets.top + 20, size.width, size.height); modifyLastSimulation.addActionListener(new ModifyLastSimulation(this, startingHands, simulationResult)); container.add(modifyLastSimulation); }
db2ee636-8a81-4841-ad14-b5853bf1eeff
public java.util.Calendar getCancelledSoldDate() { return this.cancelledSoldDate; }
da94365f-dafa-4a51-a5c2-ef5ba1a29714
public void setSPRequestSPRequestName(java.lang.String sPRequestSPRequestName) { this.sPRequestSPRequestName = sPRequestSPRequestName; }
939173dd-230c-45ef-8425-1bd430bd3989
public void setFundRequestExternalSystemId(crmondemand.xml.contact.query.QueryType fundRequestExternalSystemId) { this.fundRequestExternalSystemId = fundRequestExternalSystemId; }
3ad44be3-7c1b-4b9c-b87a-3324b5c1c487
public void setCustomText68(java.lang.String customText68) { this.customText68 = customText68; }
5fb05209-9c9e-4120-98d3-4123b91f3fd4
public void setCustomDate42(crmondemand.xml.opportunity.query.QueryType customDate42) { this.customDate42 = customDate42; }
57337005-8f08-4615-91ab-7860242e0957
public java.lang.String getFundRequestId() { return this.fundRequestId; }
90166517-1109-4ce6-826b-373534c3641e
public boolean addCard(Card c) { return c.isUntapped() && c.isCreature(); }
70bd5c85-dcf8-4ee1-9721-f98ad749ae67
public java.lang.String getCustomPickList57() { return this.customPickList57; }
d4084707-6389-4110-ae8b-3625e85475d0
public void setFundRequestExternalSystemId(java.lang.String fundRequestExternalSystemId) { this.fundRequestExternalSystemId = fundRequestExternalSystemId; }
c0078cac-fd3b-4dda-82f4-e6daaf4cb0eb
opcode dd_b8 = new opcode() { public void handler(){ illegal_1(); }}
850373f2-b6ca-4386-a0d0-aa33404a464a
public java.lang.String getCustomObject11ExternalSystemId() { return this.customObject11ExternalSystemId; }
9663c066-d91a-4e22-9582-97f3bc714c2e
public java.lang.String getCreatedByFirstName() { return this.createdByFirstName; }
396e6a90-1113-4cc1-b101-7f0e8e69c3bf
public crmondemand.xml.customobject3.query.QueryType getCustomText22() { return this.customText22; }
0c885854-7e8c-4096-b745-bc22085e585b
public void setCustomDate1(java.util.Calendar customDate1) { this.customDate1 = customDate1; }
e407fa45-0565-43fb-9d39-6c3a0ef9c0ef
public void setBrokerProfileExternalSystemId(crmondemand.xml.contact.query.QueryType brokerProfileExternalSystemId) { this.brokerProfileExternalSystemId = brokerProfileExternalSystemId; }
f1bdc79b-690c-45d6-9774-15a477e3a0cc
public void setDescription(crmondemand.xml.opportunity.query.QueryType description) { this.description = description; }
6f25fc61-5d2a-478b-b42c-ff66151a32ef
public crmondemand.xml.customobject3.query.QueryType getCustomPickList20() { return this.customPickList20; }
b3a4f13b-b6d5-4924-935d-4da58acddb79
public java.lang.String getCustomObject12IntegrationId() { return this.customObject12IntegrationId; }
2ba3942c-6e70-40bb-b60d-9af1e28090ea
public java.util.Calendar getCustomDate19() { return this.customDate19; }
52dcc609-593e-4a1d-b2d2-9b65ec49da88
public void setCustomerPriority(java.lang.String customerPriority) { this.customerPriority = customerPriority; }
fd81665c-eba7-45a6-a4ef-9c1587402f14
public final byte getQuestStatus(final int quest) { final MapleQuest qq = MapleQuest.getInstance(quest); if (getQuestNoAdd(qq) == null) { return 0; } return getQuestNoAdd(qq).getStatus(); }
6afb8f45-b317-4c10-bd51-d266938c1f9c
public void setCustomText86(crmondemand.xml.opportunity.query.QueryType customText86) { this.customText86 = customText86; }
8997aeb6-18e3-4e68-be60-4764eae0e1c5
@Override public void addDamage(final MapleCharacter from, final long damage, final boolean updateAttackTime) { if (chrid == from.getId()) { this.damage += damage; if (updateAttackTime) { lastAttackTime = System.currentTimeMillis(); } } }
3040ec58-6ac0-44e7-9975-ef4515c06310
public Date getStartDate() { return startDate; }
d0edd4fc-2693-4a2d-ad79-b50a53ab4120
public void setCustomPickList87(crmondemand.xml.customobject3.query.QueryType customPickList87) { this.customPickList87 = customPickList87; }
36e0167b-4aea-4689-b1fc-559cc5f8d6e5
public static Class<?> getClass(String name, SubPackageType type) throws Exception { return Class.forName(type + "." + name); }
4e888eeb-d2cc-4f3c-b7ee-989864d78813
public boolean getStuck() { return stuck_; }
d559aa9e-c010-468b-92bd-4c96e739815b
public void setCustomObject13Name(crmondemand.xml.opportunity.query.QueryType customObject13Name) { this.customObject13Name = customObject13Name; }
03b27aec-3ffe-4366-848e-d27abc299385
public void setIndexedBoolean0(crmondemand.xml.contact.query.QueryType indexedBoolean0) { this.indexedBoolean0 = indexedBoolean0; }
c746b1ae-6490-4ca4-ba81-bd7800070054
public java.lang.Boolean getCustomBoolean17() { return this.customBoolean17; }
64096224-020f-42fb-ae50-676518d9dbfc
public java.lang.Integer getCustomInteger11() { return this.customInteger11; }
6086088c-307b-4fdb-826f-84a5a7bb4ab0
public crmondemand.xml.contact.query.QueryType getCustomBoolean32() { return this.customBoolean32; }
77089f4e-3ce9-4086-80e9-b700101a3756
public java.lang.String getCustomObject8ExternalSystemId() { return this.customObject8ExternalSystemId; }
9b409c3c-0a65-4643-9988-cfce076cf406
public void setCustomText47(crmondemand.xml.customobject3.query.QueryType customText47) { this.customText47 = customText47; }
d8f3412f-bf1c-40a5-b99d-499a77a5cc7c
public java.util.Calendar getCreatedDate() { return this.createdDate; }
9de96fe5-1a60-44e4-bb8e-761fb5162fa3
public java.util.Calendar getCustomDate24() { return this.customDate24; }
ce8d4953-6d6d-4228-87b2-c3467b730810
public java.lang.String getCustomPickList0() { return this.customPickList0; }
93893e60-1c2a-4645-a78b-a8314d5058a1
public crmondemand.xml.opportunity.query.QueryType getProductIntegrationId() { return this.productIntegrationId; }
18ce418e-bfe1-464b-8b20-3d15ef201939
public void setCustomCurrency1(crmondemand.xml.contact.query.QueryType customCurrency1) { this.customCurrency1 = customCurrency1; }
ec7e8075-4032-4cdc-830f-eca3230535a3
public void setCustomInteger7(java.lang.Integer customInteger7) { this.customInteger7 = customInteger7; }
d0e0c28b-3070-46a6-be68-9aaecef1c748
public crmondemand.xml.contact.query.QueryType getCustomNumber51() { return this.customNumber51; }
f7b75f98-4254-4dc7-abd4-5fed2656dcac
public void setFinancialAccountPrimaryAccount(java.lang.Boolean financialAccountPrimaryAccount) { this.financialAccountPrimaryAccount = financialAccountPrimaryAccount; }
c2043b5f-6905-4114-a1f2-456eb5957b47
private void spRandomRBActionPerformed(java.awt.event.ActionEvent evt) {// GEN-FIRST:event_spRandomRBActionPerformed this.enableOrDisableSubControls(); }
1f9c3f3a-691f-4482-ae1d-4f357e73aa44
public void verifyText(VerifyEvent evt) { if((ce_input.getText() + evt.text).matches("[A-Za-z][A-Za-z0-9_]*")) evt.doit = true; else evt.doit = false; }
f32b7c63-607f-4197-9616-21af4ea14493
public Effect getEffect() { return effect; }
a832a3ad-6e8c-43fd-b9f4-85d1c30777fd
public Produto (String nomeProduto, String descricaoProduto, float precoProduto, String unidadeProduto) { this.nomeProduto = nomeProduto; this.descricaoProduto = descricaoProduto; this.precoProduto = precoProduto; this.unidadeProduto = unidadeProduto; }
eef6a458-a20c-4381-8585-bb7a347202b2
public void setCustomPickList66(java.lang.String customPickList66) { this.customPickList66 = customPickList66; }
ab6cc7b0-b647-4c4f-ac37-0564f6184140
public crmondemand.xml.customobject3.query.QueryType getCustomText27() { return this.customText27; }
3fff8e9b-3980-4999-9af7-21826dd019ef
public void setCustomText7(crmondemand.xml.customobject6.query.QueryType customText7) { this.customText7 = customText7; }
b237341e-a056-4071-9828-b7c0914c709a
public java.lang.String getCustomPickList15() { return this.customPickList15; }
920dded2-a777-46fc-b05b-8a455dd7d468
public void setCustomNumber44(crmondemand.xml.contact.query.QueryType customNumber44) { this.customNumber44 = customNumber44; }
1dcfd3b3-1c02-4862-8021-35a9b3382b4f
public static ComplexNumber multiply(ComplexNumber a, ComplexNumber b) { return new ComplexNumber(a.x * b.x - a.y * b.y, a.x * b.y + a.y * b.x); }
d7b62440-1fa7-4caa-a31f-cd0667984c63
public void send(Connection connection) throws SQLException { // Create the query and send it statement = connection.createStatement(); result = statement.executeQuery(query); // Usefull data from the result resultMetaData = result.getMetaData(); header = new Vector<String>(); dataList = new Vector<Vector<String>>(); for (int i = 1; i <= resultMetaData.getColumnCount(); i++) { header.add(resultMetaData.getColumnName(i)); } }
7f750cee-f789-498e-9de2-3fd6db797779
public Object hacerPersistente(Object obj) { return persistencia.makePersistent(obj); }
83e47d73-1608-49e6-aeeb-7543da2b070f
public static int max(Comparable[] a) { return max(a, 0, a.length - 1); }
8053eda8-0394-4ce0-b607-a3251babffcd
public java.lang.String getCustomPickList56() { return this.customPickList56; }
6e585a6d-d071-4e02-b043-998530380170
public void setCustomObject4Name(java.lang.String customObject4Name) { this.customObject4Name = customObject4Name; }
c3f668a1-fb42-4dcd-acd7-fecc523496c8
public void setCustomPickList29(java.lang.String customPickList29) { this.customPickList29 = customPickList29; }
fed3ff53-9fb1-40d1-976e-24ae0128bbab
public java.lang.String getCustomObject8Name() { return this.customObject8Name; }
d6d58ba2-880e-4789-8cae-ec6802a4d3af
public crmondemand.xml.contact.query.QueryType getCustomCurrency18() { return this.customCurrency18; }
da2bfb71-d347-4bb9-b144-732fd44f43cf
public crmondemand.xml.customobject3.query.QueryType getCustomNumber12() { return this.customNumber12; }
c70ebead-a731-4e78-b528-2f9b6130a603
public java.math.BigDecimal getCustomNumber37() { return this.customNumber37; }
69c41b1d-c82e-4ccc-91ee-c2eec6d5f93a
public Image getImage2() { return img2[currentFrame2]; }
2743bcf1-7f73-4443-98d9-f85bdcc7694f
public java.lang.String getCustomPickList29() { return this.customPickList29; }
672a57d6-134e-44e2-907c-ae71aa4f50e9
public java.lang.Integer getCustomInteger19() { return this.customInteger19; }
6e4554a4-7f85-44e8-96ea-6bca7743a4d4
* <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li> * </ul> */ public void remove (int [] indices) { checkWidget (); if (indices == null) SWT.error (SWT.ERROR_NULL_ARGUMENT); if (indices.length == 0) return; int [] newIndices = new int [indices.length]; System.arraycopy (indices, 0, newIndices, 0, indices.length); sortDescent (newIndices); int start = newIndices [newIndices.length - 1], end = newIndices [0]; if (!(0 <= start && start <= end && end < itemsCount)) { SWT.error (SWT.ERROR_INVALID_RANGE); } int lastRemovedIndex = -1; int[] eventData = new int[5]; for (int i = 0; i < newIndices.length; i++) { if (newIndices [i] != lastRemovedIndex) { items [newIndices [i]].dispose (); eventData[0] = ACC.DELETE; eventData[1] = newIndices[i]; eventData[2] = 1; eventData[3] = 0; eventData[4] = 0; getAccessible().sendEvent(ACC.EVENT_TABLE_CHANGED, eventData); lastRemovedIndex = newIndices [i]; } } }
dd508159-9042-4a96-ac3a-d40ed70584ef
public java.lang.String getCustomText13() { return this.customText13; }
ef129f1f-b509-4867-a1df-9d378dbb2c55
public static void main(String[] args) { // TODO Auto-generated method stub }
d36d2c47-b072-468c-93d7-e216a176f795
public static void main(String [ ] args){ // caretaker DietInfoCaretaker dietInfoCaretaker = new DietInfoCaretaker (); // originator DietInfo dietInfo = new DietInfo ("Fred" , 1 , 100); System.out.println(dietInfo ); dietInfo.setDayNumberAndWeight (2 , 99); System.out.println(dietInfo ); System.out.println ("Saving state."); dietInfoCaretaker.saveState(dietInfo ); dietInfo.setDayNumberAndWeight (3 , 98); System.out.println(dietInfo ); dietInfo.setDayNumberAndWeight (4 , 97); System.out.println(dietInfo ); System.out.println ("Restoring saved state."); dietInfoCaretaker.restoreState(dietInfo ); System.out.println(dietInfo ); }
8a250e96-1fff-42a7-8bf0-b32d98865248
public crmondemand.xml.customobject6.query.QueryType getCustomText59() { return this.customText59; }
2ba0af79-bd9b-48f1-a242-a0eef5b73461
public void addTransition(String fromState, CogaenId toState, String eventId) { addTransition(new CogaenId(fromState), toState, new CogaenId(eventId)); }
057b3657-e8c0-4e3c-a2a1-612b4bccd849
public java.lang.Integer getCustomInteger23() { return this.customInteger23; }
e85d8139-42e2-4a2f-9e9c-1cee7bed4ff6
public crmondemand.xml.opportunity.query.QueryType getProductCategory() { return this.productCategory; }
b619eaeb-ba9e-4eb6-b531-486927197ddc
public void setOwnerIntegrationId(crmondemand.xml.customobject3.query.QueryType ownerIntegrationId) { this.ownerIntegrationId = ownerIntegrationId; }
05df345d-00d3-496f-a8a5-85ae6637c43e
public static void main(String[] args) { double a = 1, b = 0, c = 0; // doubles are used becuase we need to work with square roots int x, y, z, answer; // int are used becuase the double is to small to hold the final answer boolean soultionFound = false; //Bollean to control when the loop ends while ( soultionFound == false ) { // This progeam brute forces by checking every value of a^2 + b^2 untill it is right b++; //Gets the new b value ready to be tested c = ( a * a ) + ( b * b ); //Finds what a^2 + b^2 is c = Math.sqrt(c); //Finds what the c in c^2 to be used in the addtion phase if ( a + b + c == 1000 ) { // Checks if the sum of the three numbers are 1000 x = (int)Math.round(a); // Converts the double to int because the double is to small when we get the product y = (int)Math.round(b); z = (int)Math.round(c); answer = x*y*z; System.out.println(a + " + " + b + " = " + c); System.out.println(answer); soultionFound = true; } if ( (a + b + c) > 1000 ) { // If the sum over 1000 it resets b and tries the next a value b = 0; // Resets to b value to retry with the new a value a++; // Gets the new a value to be tested } } }
a1854b6d-0a8d-40db-b642-5e1ad869b881
public int getSize();
27bd66a8-5f9f-4a34-bd9e-43806a1ecf50
private void initFields() { userid_ = ""; state_ = com.google.protobuf.ByteString.EMPTY; }
963d2665-af59-4709-ae2b-2d51d74e7725
public crmondemand.xml.customobject3.query.QueryType getPolicyNumber() { return this.policyNumber; }
23aa9761-6c5f-42e2-b62c-9915ccd67f42
public void setCustomText21(java.lang.String customText21) { this.customText21 = customText21; }
159ef5c5-d091-4c67-89c7-77ba1de24943
@Override public Calendar toGregorianCalendar(){ return hijriToGregorian(internalGet(YEAR), internalGet(MONTH), internalGet(DAY_OF_MONTH)); }
b4141eb0-5f53-43cd-b8db-f9aab09e0b25
public crmondemand.xml.customobject6.query.QueryType getCustomDate29() { return this.customDate29; }
ce86ce80-a090-4e4e-b2a9-773185819cd7
public crmondemand.xml.customobject6.query.QueryType getInvtPeriodEndDate() { return this.invtPeriodEndDate; }
00e45843-f117-442f-b544-d21f47c46e45
public java.lang.String getOrderExternalSystemId() { return this.orderExternalSystemId; }
e3c6e566-708a-441f-b82b-38f365c60a55
public void setCustomPickList93(crmondemand.xml.contact.query.QueryType customPickList93) { this.customPickList93 = customPickList93; }
bec99010-df68-433d-b149-dc683a4aac24
public Object visit(Rule_methodLocals rule) { if (!terminal) System.out.println(); System.out.print("<methodLocals>"); terminal = false; visitRules(rule.rules); if (!terminal) System.out.println(); System.out.print("</methodLocals>"); terminal = false; return null; }
074285d3-73e7-45e2-af22-f2321c4689c5
public int getId () { return 1; //return id; }
a44a5f76-1e2d-4b48-8acf-a2051dd4c47d
public void setCourseIdentifier(java.lang.String courseIdentifier) { this.courseIdentifier = courseIdentifier; }
c2c651a1-a6ad-4ae4-9fa7-c732feac0aa8
public void setCustomBoolean4(java.lang.Boolean customBoolean4) { this.customBoolean4 = customBoolean4; }
1ebca136-9c4c-4ae9-8592-302db31bbac3
public java.lang.String getCustomObject12ExternalSystemId() { return this.customObject12ExternalSystemId; }
aebe99c8-55fc-4fd2-bdcd-fec37d685dcb
public int getEstagio() { return estagio; }
c9249828-e69a-4c83-be9c-58c1535c7ea7
public java.lang.String getCustomPickList87() { return this.customPickList87; }
cc0dcb2a-6193-4960-98be-47edc058c51f
public void setCustomText74(java.lang.String customText74) { this.customText74 = customText74; }
23a50421-3881-4197-b742-6fa35eddaad0
public static Builder newBuilder(com.google.protobuf.DescriptorProtos.SourceCodeInfo.Location prototype) { return newBuilder().mergeFrom(prototype); }