id
stringlengths
36
36
text
stringlengths
1
1.25M
214c21ca-b20c-4fa0-9d93-f4ecafb05239
public Accidents(int days, int hours) { this.days = days; this.hours = hours; this.accidents = new int[days][hours]; for(int x = 0; x < days; x++) { for(int y = 0; y < hours; y++) { accidents[x][y] = (int) ((Math.random()) * 10f); } } }
1dd8a2ae-30e5-4691-a098-5e84555ec8fc
public crmondemand.xml.customobject6.query.QueryType getCustomText38() { return this.customText38; }
d947cdb0-e32c-4f51-8024-252ee10a51f3
public void setExternalSystemId(java.lang.String externalSystemId) { this.externalSystemId = externalSystemId; }
89a48b9b-8821-43aa-939c-c51bf6fe7cfb
public crmondemand.xml.contact.query.QueryType getCustomNumber60() { return this.customNumber60; }
0d039708-cb21-4ad4-954d-98dea96766f1
public java.math.BigDecimal getCustomCurrency134() { return this.customCurrency134; }
078e2ce0-b615-4fef-8fe0-849c61dea1cc
public void setCustomText2(java.lang.String customText2) { this.customText2 = customText2; }
da4dc23d-3b58-4c5b-99b2-624489781079
public Pointer<Byte > Py_FileSystemDefaultEncoding() { try { return (Pointer<Byte >)BridJ.getNativeLibrary("python27").getSymbolPointer("Py_FileSystemDefaultEncoding").as(DefaultParameterizedType.paramType(Pointer.class, Byte.class)).get(); }catch (Throwable $ex$) { throw new RuntimeException($ex$); } }
d68c1201-57d0-4656-a274-dd921c61151e
public double[] getScores() { double[] scores = new double[quizResults.size()]; for (int i = 0; i < quizResults.size(); i++) { scores[i] = quizResults.get(i).PercentScore(); } return scores; }
035b549d-6bd4-4b4c-9102-56f18226ae88
public crmondemand.xml.customobject3.query.QueryType getCustomObject8Type() { return this.customObject8Type; }
1694b031-d829-43d1-b259-41757f0bd5fa
public crmondemand.xml.customobject6.query.QueryType getId() { return this.id; }
4a8df8ea-1feb-4817-aa1d-a98f5a956fd3
protected double convertToDF(double value){return 0;};
ee9bc36a-f520-48ea-b005-8021a00c1927
public crmondemand.xml.customobject3.query.QueryType getCustomObject3Name() { return this.customObject3Name; }
d92f337f-1a85-4bbd-ba41-a1581933afe9
public void setCustomPickList3(java.lang.String customPickList3) { this.customPickList3 = customPickList3; }
63dc635b-0f35-4eb1-b577-49d3844e73ff
public void setDealerStatus(java.lang.String dealerStatus) { this.dealerStatus = dealerStatus; }
155245f7-c487-492c-96b5-9c0bd0c31ec5
public void setPortfolioAccountType(java.lang.String portfolioAccountType) { this.portfolioAccountType = portfolioAccountType; }
dfc0f300-46c0-4648-ac76-fd20bef6d003
public com.google.protobuf.ByteString getMapHashBytes() { java.lang.Object ref = mapHash_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); mapHash_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } }
c466c0e9-a20f-4ea3-b674-68f90c19e044
public void setCustomCurrency19(crmondemand.xml.contact.query.QueryType customCurrency19) { this.customCurrency19 = customCurrency19; }
793de6e8-5621-4853-ae8d-2c7ab75dec4b
public java.lang.String getCustomText57() { return this.customText57; }
7aff769b-fbcb-4cdd-bbdb-6fb0f4e6d4c2
public void setCustomText15(java.lang.String customText15) { this.customText15 = customText15; }
e5fe26e7-db0c-4917-b67a-7e4f9e2c7a9c
public java.lang.String getCurrencyCode() { return this.currencyCode; }
ab3b3ebc-136a-4ca2-8ea8-4391f509bc48
public static Atom condense(Atom firstAtom, Atom[] a) { if (firstAtom.isString()) { // concatenate list of strings String s = firstAtom.getString(); for (int i=0; i<a.length; i++) { s += " " + a[i].toString(); } Atom atom = Atom.newAtom(s); return atom; } else { // if it's not a string, just return the first one return firstAtom; } }
2e582e7d-25d8-4019-9237-55afff4fb361
public java.math.BigDecimal getCustomCurrency9() { return this.customCurrency9; }
00f9f7bd-9f98-4fb6-92ef-d4e671922503
public void setVehicleId(java.lang.String vehicleId) { this.vehicleId = vehicleId; }
2a84a96a-4299-464b-bee5-a1fdb9108785
public crmondemand.xml.contact.query.QueryType getCustomDate53() { return this.customDate53; }
df7cf972-18e2-47c7-8f2d-f9847ad09246
public void setCustomNumber55(java.math.BigDecimal customNumber55) { this.customNumber55 = customNumber55; }
69b94336-cfb4-4352-b1f8-15eb1d556e5c
public java.math.BigDecimal getCustomNumber7() { return this.customNumber7; }
cf865c4c-6c5d-43f6-8545-b0cb80402d35
public crmondemand.xml.customobject6.query.QueryType getProductCategory() { return this.productCategory; }
1ad64847-c279-4330-a49d-ecb6b986b392
public void test_minusDays_symmetry(OffsetDate reference) { for (int days = 0; days < 365 * 8; days++) { OffsetDate t = reference.minusDays(days).minusDays(-days); assertEquals(t, reference); t = reference.minusDays(-days).minusDays(days); assertEquals(t, reference); } } @Test(groups = { "tck" }
83558ec2-5f95-40ac-b32d-8c41248a3697
public crmondemand.xml.contact.query.QueryType getCampaignId() { return this.campaignId; }
c91bb2a8-8aa1-48c3-96e7-ce7c41d5e470
public void setAttachFileName(crmondemand.xml.customobject6.query.QueryType attachFileName) { this.attachFileName = attachFileName; }
1115c655-f6a8-4591-b58a-f32118050d4c
public java.lang.String getCustomPickList2() { return this.customPickList2; }
702dc884-4977-4da9-8a1b-e9d9724e900b
public void setZCustomPickList19(java.lang.String zCustomPickList19) { this.zCustomPickList19 = zCustomPickList19; }
7dcbd2a9-b4e6-437c-a602-2c58a9638924
@EventHandler public void storeData(PlayerJoinEvent event) { File playerFiles = new File(Maleficus.getInstance().getDataFolder(), "Players"); File checkPlayer = new File(playerFiles, event.getPlayer().getName() + ".yml"); if (!checkPlayer.exists()) { FileConfiguration fileConfig = MPlayer.getPlayer(event.getPlayer()); MPlayer.saveDefaultPlayer(event.getPlayer()); if (!fileConfig.contains("anima") || fileConfig == null) { fileConfig.set("anima", Integer.valueOf(100)); } if (!fileConfig.contains("subanima") || fileConfig == null) { fileConfig.set("subanima", Integer.valueOf(100)); } if (!fileConfig.contains("level") || fileConfig == null) { fileConfig.set("level", Integer.valueOf(1)); } if (!fileConfig.contains("sublevel") || fileConfig == null) { fileConfig.set("sublevel", Integer.valueOf(1)); } if (!fileConfig.contains("element") || fileConfig == null) { fileConfig.set("element", "NONE"); } MPlayer.savePlayer(event.getPlayer(), fileConfig); } else { //if the file does exist, but data is missing; update the dataFile //forget this... because the methods above do this already } }
cb5b4c8d-43e7-4246-a893-bfa75ca41687
public java.lang.String getCustomText46() { return this.customText46; }
fe790dda-9c51-4479-a113-b0b38a8f90e6
public void setCustomObject14IntegrationId(java.lang.String customObject14IntegrationId) { this.customObject14IntegrationId = customObject14IntegrationId; }
22fa2177-af95-4656-8ab3-060f98811967
public crmondemand.xml.contact.query.QueryType getCustomObject10IntegrationId() { return this.customObject10IntegrationId; }
9155e249-26bf-4cd4-9cd4-66eacbd449a1
public crmondemand.xml.contact.query.QueryType getCustomObject9Name() { return this.customObject9Name; }
8e4c23b2-233f-4f48-811b-b697b4c00a1f
public java.lang.String getCreatedByLastName() { return this.createdByLastName; }
f1ca2cb5-c2b6-4c85-a015-c254aa1bfbbb
public java.util.Calendar getCustomDate39() { return this.customDate39; }
d260bdd5-3548-4cea-a8ca-0489e762a7e6
public crmondemand.xml.customobject6.query.QueryType getCustomPickList99() { return this.customPickList99; }
d9ff6312-661a-408a-89db-8241236919e1
public java.lang.String getCustomPickList94() { return this.customPickList94; }
73c58902-4544-4987-a48c-e8d2daeff685
public void setCustomObject7Type(java.lang.String customObject7Type) { this.customObject7Type = customObject7Type; }
058018f7-7b81-40b7-a78e-d9ecc6055f04
public java.lang.String getCustomPickList95() { return this.customPickList95; }
c79e6e34-d760-46d7-81c7-bf19a630e10c
public void setCustomInteger19(java.lang.Integer customInteger19) { this.customInteger19 = customInteger19; }
0aff7cd7-e36f-4502-a248-bbfebf1fc5ff
public void setFinancialAccountCurrencyCode(java.lang.String financialAccountCurrencyCode) { this.financialAccountCurrencyCode = financialAccountCurrencyCode; }
b819ee0b-c89b-4cc3-a298-bed04ac5e7a9
public crmondemand.xml.opportunity.query.QueryType getCustomNumber19() { return this.customNumber19; }
ca783a56-41e3-4744-b93e-b7089f08e45d
public crmondemand.xml.customobject6.query.QueryType getMaritalStatus() { return this.maritalStatus; }
d579a6db-a39a-47c7-8f29-57e9091e83f9
public void setCustomText8(crmondemand.xml.customobject3.query.QueryType customText8) { this.customText8 = customText8; }
40a6ab07-73e1-48fa-b596-95e2416117d1
public crmondemand.xml.customobject6.query.QueryType getZCustomDate45() { return this.zCustomDate45; }
d6c3a0af-60b1-452b-a809-142f0d2b7bec
* @return Cons */ public static Cons dropLoadPath(String path) { { StringWrapper dir = null; Cons iter000 = Stella.parseDirectoryPath(path); for (;!(iter000 == Stella.NIL); iter000 = iter000.rest) { dir = ((StringWrapper)(iter000.value)); Stella.$FILE_LOAD_PATH$ = Stella.$FILE_LOAD_PATH$.remove(dir); } } return (Stella.$FILE_LOAD_PATH$); }
d74defa5-fe8d-4f80-ac5b-c140677e731b
public crmondemand.xml.customobject3.query.QueryType getCustomNumber50() { return this.customNumber50; }
b8ed1fd7-8bf9-44f2-9586-a9565740dbe7
public crmondemand.xml.customobject6.query.QueryType getCustomBoolean15() { return this.customBoolean15; }
592ef74a-c755-4ddf-b057-e68b0c396b8f
public java.math.BigDecimal getCustomCurrency9() { return this.customCurrency9; }
c2514e68-bc32-4562-a8c1-eac915f7fc97
public void setCustomNumber24(crmondemand.xml.customobject6.query.QueryType customNumber24) { this.customNumber24 = customNumber24; }
ddee993e-99e9-4d46-b1af-e896751ecb56
public crmondemand.xml.customobject6.query.QueryType getCustomNumber17() { return this.customNumber17; }
10b2abef-9b4e-4b2e-9069-a7bd24b4fd73
public void setCustomPickList1(crmondemand.xml.customobject6.query.QueryType customPickList1) { this.customPickList1 = customPickList1; }
cc52973c-04ba-4bb6-810c-02c0238fb8ca
public static Document fileToDocument(File dataFile){ Document doc = new Document(); //LuceneеField doc.add(new Field("title", dataFile.getName(), Store.YES, Index.ANALYZED)); doc.add(new Field("link", reader(dataFile, "link"), Store.YES, Index.ANALYZED)); doc.add(new Field("content", contentReader(dataFile), Store.YES, Index.ANALYZED)); doc.add(new Field("size", NumberTools.longToString(dataFile.length()), Store.YES, Index.NOT_ANALYZED)); doc.add(new Field("path", dataFile.getAbsolutePath(), Store.YES, Index.NOT_ANALYZED)); return doc; }
91a9e1d0-00ac-451a-9d68-c36be812f856
public void display(Location loc, float offsetX, float offsetY, float offsetZ, float speed, int amount) { display(loc, MAX_RANGE, offsetX, offsetY, offsetZ, speed, amount); }
687bfdec-b9ee-46e1-a789-325ad0deb3fc
public crmondemand.xml.customobject6.query.QueryType getCustomBoolean33() { return this.customBoolean33; }
2cf324f6-603b-4c36-aa73-a6100105d03f
public void actionPerformed(java.awt.event.ActionEvent evt) { uSearchItActionPerformed(evt); }
52515169-c229-43b8-a8fa-da857b519cdd
public crmondemand.xml.customobject6.query.QueryType getCustomNumber3() { return this.customNumber3; }
94615e04-9354-47f9-b4f8-b05716e4058f
public void setCustomObject3Type(java.lang.String customObject3Type) { this.customObject3Type = customObject3Type; }
79cdf059-2200-494f-b9aa-accf436ff6df
public final int getDOTStack() { return info.get(MapleStatInfo.dotSuperpos); }
c89c5270-4913-43d9-b6f5-69aebb868e16
public crmondemand.xml.opportunity.query.QueryType getCustomBoolean25() { return this.customBoolean25; }
11452b52-402a-4e3a-8846-ddc389ba828a
public crmondemand.xml.customobject6.query.QueryType getCustomText75() { return this.customText75; }
bb02ef50-5e6a-4c20-813c-29653ccc9996
public crmondemand.xml.opportunity.query.QueryType getCustomDate35() { return this.customDate35; }
fbb8c78f-bc9e-43eb-a08d-cd85946b62ff
@Override public Object getResource() { return this.ttf; }
48442506-299a-4d3b-84dc-fe112c129646
public crmondemand.xml.contact.query.QueryType getCustomPickList16() { return this.customPickList16; }
5e75d97d-b943-4c31-8a4a-640e8a02b457
public void setCustomObject12ExternalSystemId(crmondemand.xml.customobject3.query.QueryType customObject12ExternalSystemId) { this.customObject12ExternalSystemId = customObject12ExternalSystemId; }
4082c3cc-e27f-4c9e-b412-6578a92631cd
public java.lang.String getCustomPickList17() { return this.customPickList17; }
0fa456e6-52f0-43f1-95b3-c09b4485422a
public void setCustomPickList80(crmondemand.xml.opportunity.query.QueryType customPickList80) { this.customPickList80 = customPickList80; }
6eebc55c-99c2-4f41-b57e-dcd23b4b1e9e
public java.lang.String getCustomText23() { return this.customText23; }
9dc34325-2545-402e-a18a-6e7235b21f47
public void setCustomCurrency4(crmondemand.xml.contact.query.QueryType customCurrency4) { this.customCurrency4 = customCurrency4; }
515b79f4-5f65-40ee-832d-f79b8bb577ac
public User querryUseName(String name){ String querry = "select * from user where name = \'"+ name+"\';"; User u = null; DBManager dbm = null; Connection conn = null; Statement stmt = null; ResultSet rs= null; try{ dbm = new DBManager(); conn = dbm.getConnection(); stmt = conn.createStatement(); rs = stmt.executeQuery(querry); while(rs.next()){ u = new User(); u.setId(rs.getInt(1)); u.setName(rs.getString(2)); u.setPass(rs.getString(3)); u.setRole(rs.getInt(4)); u.setRealName(rs.getString(5)); u.setPhone(rs.getString(6)); u.setEmail(rs.getString(7)); u.setAddress(rs.getString(8)); u.setAge(rs.getInt(9)); u.setSex(rs.getString(10)); u.setRegisterDate(rs.getDate(11)); } return u; }catch(Exception e){ e.printStackTrace(); }finally{} return u; }
571c359f-39a7-477b-8afa-d63fbb1871fa
public void test_plusWeeks_maximum() { LocalDateTime t = createDateMidnight(Year.MAX_YEAR, 12, 24).plusWeeks(1); check(t, Year.MAX_YEAR, 12, 31, 0, 0, 0, 0); } @Test(groups = { "tck" }
b6d24ffe-115a-4506-9619-5b03e7b7f746
public java.lang.String getCustomPickList4() { return this.customPickList4; }
a25f933e-01d2-4580-a379-a0783ec97961
public crmondemand.xml.customobject3.query.QueryType getCustomDate16() { return this.customDate16; }
b7545c16-8743-4e6d-9095-a38c748e9b3c
public void setCustomText93(java.lang.String customText93) { this.customText93 = customText93; }
d51f645c-c64d-4c28-a571-da2c3532918a
public void setCreatedById(java.lang.String createdById) { this.createdById = createdById; }
15af36f3-41c9-4c14-b3ef-2d02247f9eea
public JDialogReadDouble() { init(); initTextPanel(); initTextField(); initBtnPanel(); setLocationRelativeTo(null); pack(); setModal(true); setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE); }
7f348d20-a8d9-47e9-b509-a9a5b64d8a52
public Builder setMaxAirHits(int value) { bitField1_ |= 0x00000010; maxAirHits_ = value; onChanged(); return this; }
99f8f6a3-f7f4-470e-99c5-52fc5a03dca5
public java.lang.Boolean getCustomBoolean13() { return this.customBoolean13; }
a0aed2ea-ad4d-4107-9fbc-8dacb0d4f2b8
public crmondemand.xml.contact.query.QueryType getCustomObject11ExternalSystemId() { return this.customObject11ExternalSystemId; }
ae7686e1-b61b-489b-89b3-6faeb1de8e99
public crmondemand.xml.customobject6.query.QueryType getObjectiveId() { return this.objectiveId; }
3060c6b1-1b76-4e6f-bba9-b6047ca89987
public void setSolutionTitle(java.lang.String solutionTitle) { this.solutionTitle = solutionTitle; }
ecb00d55-344d-4126-934c-855d78ffbfca
public void actionPerformed(java.awt.event.ActionEvent evt) { btnLoginActionPerformed(evt); }
2b606c0e-941e-4f96-a8a2-612f45bd7449
public java.lang.String getCustomPickList50() { return this.customPickList50; }
526d6b9d-2dd6-4560-9263-ea3854d6f1b6
@Override public void add(int field, int amount) { // If amount == 0, do nothing even the given field is out of if (amount == 0) { return; // Do nothing! } if (field < 0 || field >= ZONE_OFFSET) { throw new IllegalArgumentException(); } switch (field) { case DAY_OF_MONTH: Calendar calendarDAY_OF_MONTH = toGregorianCalendar(); calendarDAY_OF_MONTH.add(DAY_OF_MONTH, amount); gregorianToHijri(calendarDAY_OF_MONTH, different); break; case DAY_OF_YEAR: Calendar calendarDAY_OF_YEAR = toGregorianCalendar(); calendarDAY_OF_YEAR.add(DAY_OF_YEAR, amount); gregorianToHijri(calendarDAY_OF_YEAR, different); break; case MONTH: int month = internalGet(MONTH) + amount; int year = (month-1) / getMaximum(MONTH); if(amount > 0){ //PLUS fields[YEAR] += year; if(month % getMaximum(MONTH) == 0) set(MONTH, DHU_AL_HIJJAH); else set(MONTH, month % getMaximum(MONTH)); }else{ //MINUS if(month > 0){ set(MONTH, month); }else{ year--; fields[YEAR] += year; set(MONTH, getMaximum(MONTH) + (month % getMaximum(MONTH))); } } if(internalGet(DATE) == 30 && getDaysMonth(internalGet(YEAR), internalGet(MONTH)) != 30) set(DATE, 29); break; default: set(field, internalGet(field) + amount); break; } }
c9b623bc-25bc-45f3-ad5c-6a144778e073
public void setCustomText21(crmondemand.xml.customobject3.query.QueryType customText21) { this.customText21 = customText21; }
32b6461d-c626-4c9e-8aea-1effe4be2e7f
public crmondemand.xml.contact.query.QueryType getCustomObject6Id() { return this.customObject6Id; }
16a37dd8-f5eb-40a1-a505-c03f1ab0c22f
public void setSolutionVerificationStatus(crmondemand.xml.opportunity.query.QueryType solutionVerificationStatus) { this.solutionVerificationStatus = solutionVerificationStatus; }
c41183d3-ccfd-4aaf-8821-119e20980d26
public void setCustomObject5Type(java.lang.String customObject5Type) { this.customObject5Type = customObject5Type; }
57d829f6-1c0c-47ec-80cc-ad21025322e7
public void setCustomNumber37(java.math.BigDecimal customNumber37) { this.customNumber37 = customNumber37; }
bba43b62-666c-44c4-879a-73b411214efa
opcode fd_19 = new opcode() { public void handler(){ Z80.IY.SetD(ADD16(Z80.IY.D,Z80.DE.D)); }}
f93e1c40-81f9-457d-9a1c-ce45efbd3ae1
public java.lang.String getCustomText66() { return this.customText66; }
629692ae-4b8d-4912-bcf2-e58e8b966dc0
@Override public void loginSuccesfull(User user) { friendsPanel = new FriendsPanel(user.getFriends()); friendsPanel.addLogoutButtonActionListener(new LogoutButtonAction()); friendsPanel.addFriendsListMouseListener(new ClickOnFriendListItem()); friendsPanel.addExitButtonActionListener(new ExitButton()); friendsPanel.addAddFriendButtonActionListener(new AddFriendButton()); client.registerFriendsManagerListener(friendsPanel); mainWindow.setContentPane(friendsPanel); mainWindow.setTitle(WINDOW_TITLE + " : " + client.getLoggedInUser().getName()); mainWindow.revalidate(); mainWindow.repaint(); }
54302510-582b-4135-a083-f5b6744702cd
public crmondemand.xml.contact.query.QueryType getCustomPickList94() { return this.customPickList94; }
60a4523c-3dbe-4dc2-a06b-16854301e161
public void setCustomInteger15(java.lang.Integer customInteger15) { this.customInteger15 = customInteger15; }
3ec29fca-98d6-423a-9375-d9f146e6d1a4
public crmondemand.xml.contact.query.QueryType getCustomText65() { return this.customText65; }
97536a38-cf34-44c2-bdd6-a39170191a85
private final void method3747(byte i) { anInt7597++; float f = ((float) -((OpenGlToolkit) this).anInt7853 * aFloat7851 / (float) ((OpenGlToolkit) this).anInt7771); float f_54_ = (aFloat7851 * (float) -((OpenGlToolkit) this).anInt7810 / (float) ((OpenGlToolkit) this).anInt7794); float f_55_ = (aFloat7851 * (float) (-((OpenGlToolkit) this).anInt7853 + ((OpenGlToolkit) this).anInt7688) / (float) ((OpenGlToolkit) this).anInt7771); float f_56_ = (aFloat7851 * (float) (((OpenGlToolkit) this).anInt7641 - ((OpenGlToolkit) this).anInt7810) / (float) ((OpenGlToolkit) this).anInt7794); OpenGL.glMatrixMode(5889); OpenGL.glLoadIdentity(); if (f != f_55_ && f_54_ != f_56_) OpenGL.glOrtho((double) f, (double) f_55_, (double) -f_56_, (double) -f_54_, (double) ((OpenGlToolkit) this).anInt7826, (double) anInt7814); OpenGL.glMatrixMode(5888); if (i != -63) ((OpenGlToolkit) this).anInt7795 = 67; }