id
stringlengths 36
36
| text
stringlengths 1
1.25M
|
---|---|
12fc0557-fcca-4b4f-b2f7-07a011ae4318 | public int getSuccessSize() {
return (this.success == null) ? 0 : this.success.size();
} |
1cb9fbe8-ba36-418f-92b4-ac57bce1e626 | public void setCustomInteger26(java.lang.Integer customInteger26) {
this.customInteger26 = customInteger26;
} |
37a71779-5656-44e7-82b2-118470ddaab3 | public crmondemand.xml.customobject6.query.QueryType getCustomText34() {
return this.customText34;
} |
dc2dc453-2abe-476b-bf4f-3045b9bb31f2 | public void setIndexedPick4(crmondemand.xml.contact.query.QueryType indexedPick4) {
this.indexedPick4 = indexedPick4;
} |
bdf1249a-b583-4222-bf5a-d0914e78308b | public void setCustomBoolean2(crmondemand.xml.customobject6.query.QueryType customBoolean2) {
this.customBoolean2 = customBoolean2;
} |
a1134d5c-87fa-432e-9040-d3b9c68a72de | public void setCustomText67(crmondemand.xml.customobject6.query.QueryType customText67) {
this.customText67 = customText67;
} |
1d6c4ca5-8773-473d-89df-f02e1c02ba19 | public boolean getLazy() {
return lazy_;
} |
c390a5cf-7ea2-410c-8f2b-97b128658a87 | public crmondemand.xml.opportunity.query.QueryType getCustomText38() {
return this.customText38;
} |
6f555ac8-b967-43d8-82f1-73aa94a394aa | public void setCustomText78(crmondemand.xml.customobject6.query.QueryType customText78) {
this.customText78 = customText78;
} |
a9c02a4b-d8d7-45ce-ab75-c7e6a62b97a7 | public java.lang.Boolean getCustomBoolean32() {
return this.customBoolean32;
} |
022c21b3-1e7c-4b2f-8c60-e45f1fc60435 | public void setCustomNumber10(java.math.BigDecimal customNumber10) {
this.customNumber10 = customNumber10;
} |
a14b23ac-5ede-4db1-bd2d-cc79b202b04c | public void setCustomBoolean0(crmondemand.xml.customobject3.query.QueryType customBoolean0) {
this.customBoolean0 = customBoolean0;
} |
7b7da1fc-f5f7-4112-854c-1c1da7774cd1 | public java.lang.String getCustomPhone5() {
return this.customPhone5;
} |
7f573b65-120f-4e52-8b41-d78f2584dacd | public void setCustomObject15Id(java.lang.String customObject15Id) {
this.customObject15Id = customObject15Id;
} |
c8219a38-8a0c-4cfb-b31d-28537a9950a5 | public java.math.BigDecimal getPolicyFaceAmount() {
return this.policyFaceAmount;
} |
84e62dc8-0727-4173-9ad7-35531467e33b | public crmondemand.xml.customobject6.query.QueryType getProductPartNumber() {
return this.productPartNumber;
} |
4917f488-3a18-45be-9691-9d891f12c272 | public java.lang.String getAddress() {
return this.address;
} |
9c52be58-567a-4640-b319-34a92602fbf1 | public boolean canDOT(long now) {
return lastDOTTime > 0 && lastDOTTime + 8000 < now;
} |
0a57c804-e334-4e1e-9b0a-2c994ff3aa3e | public crmondemand.xml.opportunity.query.QueryType getCustomText38() {
return this.customText38;
} |
853dc42e-6583-468f-b4b8-f18418383caa | public MaplePortal findClosestSpawnpoint(Point from) {
MaplePortal closest = getPortal(0);
double distance, shortestDistance = Double.POSITIVE_INFINITY;
for (MaplePortal portal : portals.values()) {
distance = portal.getPosition().distanceSq(from);
if (portal.getType() >= 0 && portal.getType() <= 2 && distance < shortestDistance && portal.getTargetMapId() == 999999999) {
closest = portal;
shortestDistance = distance;
}
}
return closest;
} |
e27d8574-0269-4323-ae66-4bcde226b7d4 | public void setCustomBoolean32(crmondemand.xml.opportunity.query.QueryType customBoolean32) {
this.customBoolean32 = customBoolean32;
} |
2eb4e098-62f4-47ed-8137-fce1c93e9065 | public crmondemand.xml.customobject6.query.QueryType getCustomNumber4() {
return this.customNumber4;
} |
2571aaa3-fc2e-47fd-b61d-a3ffdb0561a5 | public static byte[] getGachaponMega(String name, String message, int channel, Item item, byte rareness, String gacha) {
return getGachaponMega(name, message, channel, item, rareness, false, gacha);
} |
30a0fae8-bd0b-45b8-9d2d-25cf649bb567 | public crmondemand.xml.customobject6.query.QueryType getCustomObject8Id() {
return this.customObject8Id;
} |
73600296-ea92-41f9-acc4-d6f16d12952a | public java.lang.String getCustomText75() {
return this.customText75;
} |
84e07e38-ba74-4ed0-878f-378367e5f714 | public java.lang.String getCourseType() {
return this.courseType;
} |
e6ffdda4-b6de-4782-9bb8-2052d7e4a683 | public crmondemand.xml.opportunity.query.QueryType getSampleLotCutoffDate() {
return this.sampleLotCutoffDate;
} |
9847eedb-f5f9-467e-803e-c5cee92d2bff | public java.lang.String getCampaignId() {
return this.campaignId;
} |
443e12e8-b31a-4d11-98e1-ab303e3de316 | public String listSocials(Session viewerS, List<String> commands)
{
WikiFlag wiki = getWikiFlagRemoved(commands);
final StringBuilder buf=new StringBuilder("^xAll Defined Socials: ^N\n\r");
final int COL_LEN=CMLib.lister().fixColWidth(18.0,viewerS);
int col=0;
Set<String> baseDone = new HashSet<String>();
for(String social : CMLib.socials().getSocialsList())
{
final Social soc=CMLib.socials().fetchSocial(social,true);
if(baseDone.contains(soc.baseName()))
continue;
baseDone.add(soc.baseName());
if(wiki == WikiFlag.WIKILIST)
buf.append("*[["+social+"|"+social+"]]\n\r");
else
if(wiki == WikiFlag.WIKIHELP)
{
final String TargetNoneYouSee;
final String TargetNoneOthersSee;
final String TargetSomeoneNoTarget;
final String TargetSomeoneYouSee;
final String TargetSomeoneTargetSees;
final String TargetSomeoneOthersSee;
final String TargetSelfYouSee;
final String TargetSelfOthersSee;
final Social TargetNoneSoc = CMLib.socials().fetchSocial(soc.baseName(), true);
if(TargetNoneSoc!=null)
{
TargetNoneYouSee = TargetNoneSoc.You_see();
TargetNoneOthersSee = TargetNoneSoc.Third_party_sees();
}
else
{
TargetNoneYouSee = "";
TargetNoneOthersSee = "";
}
final Social TargetSomeoneSoc = CMLib.socials().fetchSocial(soc.baseName()+" <T-NAME>", true);
if(TargetSomeoneSoc!=null)
{
TargetSomeoneNoTarget = TargetSomeoneSoc.See_when_no_target();
TargetSomeoneYouSee = TargetSomeoneSoc.You_see();
TargetSomeoneOthersSee = TargetSomeoneSoc.Third_party_sees();
TargetSomeoneTargetSees=TargetSomeoneSoc.Target_sees();
}
else
{
TargetSomeoneNoTarget = "";
TargetSomeoneYouSee = "";
TargetSomeoneOthersSee = "";
TargetSomeoneTargetSees= "";
}
final Social TargetSelfSoc = CMLib.socials().fetchSocial(soc.baseName()+" SELF", true);
if(TargetSelfSoc!=null)
{
TargetSelfYouSee = TargetSelfSoc.You_see();
TargetSelfOthersSee = TargetSelfSoc.Third_party_sees();
}
else
{
TargetSelfYouSee = "";
TargetSelfOthersSee = "";
}
buf.append("{{SocialTemplate"
+ "|Name="+CMStrings.capitalizeAndLower(soc.baseName())
+ "|TargetNoneUSee="+TargetNoneYouSee
+ "|TargetNoneTheySee="+TargetNoneOthersSee
+ "|TargetSomeoneNoTarget="+TargetSomeoneNoTarget
+ "|TargetSomeoneUSee="+TargetSomeoneYouSee
+ "|TargetSomeoneTargetSees="+TargetSomeoneTargetSees
+ "|TargetSomeoneOthersSee="+TargetSomeoneOthersSee
+ "|TargetSelfUSee="+TargetSelfYouSee
+ "|TargetSelfOthersSee="+TargetSelfOthersSee
+ "}}\n\r");
}
else
{
buf.append(CMStrings.padRight(social,COL_LEN)+" ");
col++;
if(col==4)
{
col=0;
buf.append("\n\r");
}
}
}
if(buf.length()==0)
return "None defined.";
return buf.toString();
} |
1a833630-8650-4050-8f25-5e452861cec5 | public crmondemand.xml.contact.query.QueryType getCustomPickList7() {
return this.customPickList7;
} |
90d01362-ece5-4e81-8745-9a105e6cb131 | public crmondemand.xml.contact.query.QueryType getCustomBoolean16() {
return this.customBoolean16;
} |
8aa47ab0-179f-47cb-bbf4-5d809d20fcea | public void setCustomDate7(java.util.Calendar customDate7) {
this.customDate7 = customDate7;
} |
4073f3b4-bda2-4d75-803e-f62254cee9a4 | public java.lang.String getCustomPickList35() {
return this.customPickList35;
} |
e70bc1b4-12d2-4245-a8f2-bc3bf8018a97 | public crmondemand.xml.contact.query.QueryType getCustomDate21() {
return this.customDate21;
} |
24191533-e110-441f-a5dd-403fb58c748e | public java.lang.String getCustomPickList79() {
return this.customPickList79;
} |
43ae431a-cacc-4c36-ad2a-5ddb1e588352 | public void setCustomText27(crmondemand.xml.customobject3.query.QueryType customText27) {
this.customText27 = customText27;
} |
4842221f-5fd2-4939-8ec3-2b49cc34cb5d | public crmondemand.xml.contact.query.QueryType getCustomObject12IntegrationId() {
return this.customObject12IntegrationId;
} |
f0db68af-77d2-4e27-aa63-dd8db321b70d | public java.math.BigDecimal getCustomNumber13() {
return this.customNumber13;
} |
d7da1f31-4b20-40a8-a052-4591a5e9ae09 | public Long getId() {
return id;
} |
c9830c30-22c4-4d35-a02c-1790512bb045 | public void setColor(String color) {
m_color = color;
} |
c97c8183-8c43-4641-8812-07e06b701a3a | public void enCueHandler(Cueable tgt) {
if (cueTimeLineObject!=null && tgt!=null) {
if (cue.checkQued(cueTimeLineObject, tgt)) {
cue.deCue(cueTimeLineObject, tgt);
} else if (cueTimeLineObject != tgt) {
cue.addToCue(cueTimeLineObject, tgt, (mouseButton==LEFT?"p":"l"),false,
checkSameGroup(tgt.getId(),cueTimeLineObject.getId()) || shift // stop if shift or in the same group
);
}
cueTimeLineObject = null;
}
} |
96dfd0f8-9161-43f2-bed8-0d3b9a0d69a0 | public void StartNewGame()
{
for (int i = 0; i < this.m_nCol * this.m_nRow; i++) {
this.srcPicArray[i] = null;
}
for (int iNum = 0; iNum < this.m_nCol * this.m_nRow; iNum++)
{
this.m_map[iNum] = this.BLANK_STATE;
}
Random r = new Random();
ArrayList<Integer> tmpMap = new ArrayList<Integer>();
int randomNumber = 0;
int numElements = 114;
for (int i = 0; i < this.m_nCol * this.m_nRow / 4; i++)
{
randomNumber = r.nextInt(numElements);
for (int j = 0; j < 4; j++) {
tmpMap.add(Integer.valueOf(randomNumber));
}
}
int nIndex = 0;
int rIndex = 0;
for (int i = 0; i < this.m_nRow * this.m_nCol; i++)
{
nIndex = r.nextInt(tmpMap.size());
this.m_map[i] = ((Integer)tmpMap.get(nIndex)).intValue();
rIndex = r.nextInt(3);
this.r_map[i] = rIndex;
tmpMap.remove(nIndex);
}
} |
1b9f2896-cc51-4e60-9ecf-6aa1d2f19bf8 | opcode xxcb_dc = new opcode() { public void handler(){ throw new UnsupportedOperationException("unimplemented");}} |
6b04f32e-1bf1-41d7-934c-330f5a76cbb9 | public void setPortfolioIntegrationId(java.lang.String portfolioIntegrationId) {
this.portfolioIntegrationId = portfolioIntegrationId;
} |
454a779a-3449-4783-8b4f-7acf17a7137d | public crmondemand.xml.customobject3.query.QueryType getCampaignName() {
return this.campaignName;
} |
89f8acb0-7046-49e2-8c20-aa48bf2d8f75 | public void setApprovedDRID(crmondemand.xml.opportunity.query.QueryType approvedDRID) {
this.approvedDRID = approvedDRID;
} |
7dfecda4-992f-465e-9560-f9f3346fb6e2 | public void setCustomPickList14(java.lang.String customPickList14) {
this.customPickList14 = customPickList14;
} |
e74a1247-d19b-440b-8fd9-d3d9033a29d7 | public void setCustomPickList41(java.lang.String customPickList41) {
this.customPickList41 = customPickList41;
} |
352cbc63-c953-4725-9dca-58fc964b0c83 | public void setCustomCurrency18(crmondemand.xml.opportunity.query.QueryType customCurrency18) {
this.customCurrency18 = customCurrency18;
} |
d48b0c3e-cb47-40ea-81d2-988dcd602da2 | public java.math.BigDecimal getCustomNumber22() {
return this.customNumber22;
} |
96afe40c-c844-4be8-9b73-6865a33cab5a | @Override public int getRuleIndex() { return RULE_typeDeclaration; } |
6aaaa3fc-636c-4c5a-a453-5255c2833e4b | private double nightPortion(double angle) {
double calc = 0;
if (adjustHighLats == AngleBased)
calc = (angle)/60.0;
else if (adjustHighLats == MidNight)
calc = 0.5;
else if (adjustHighLats == OneSeventh)
calc = 0.14286;
return calc;
} |
c1714156-f353-477b-8977-2ab751163582 | public int getId_cas() {
return id_cas;
} |
4db23976-c6f9-42b1-95db-94a2c47edc27 | public void setCustomDate24(crmondemand.xml.customobject6.query.QueryType customDate24) {
this.customDate24 = customDate24;
} |
dd0876e0-b6e1-4608-8f7c-af8e464659e9 | public crmondemand.xml.opportunity.query.QueryType getPartnerLocation() {
return this.partnerLocation;
} |
0e772b9d-88db-45c6-b89c-27cfb5dae121 | public void setCustomBoolean107(crmondemand.xml.customobject6.query.QueryType customBoolean107) {
this.customBoolean107 = customBoolean107;
} |
af07a075-ceae-4058-b13c-6bf7ef605fc1 | public java.lang.String getCustomObject15ExternalSystemId() {
return this.customObject15ExternalSystemId;
} |
f2b386a1-df52-4d69-846e-73eb44346f57 | public void setCustomObject8ExternalSystemId(java.lang.String customObject8ExternalSystemId) {
this.customObject8ExternalSystemId = customObject8ExternalSystemId;
} |
6dc43b1d-5acd-4862-bb25-68503b9e6b9e | public java.lang.String getCustomText25() {
return this.customText25;
} |
378ae85a-f282-4846-8413-87897eb2dd32 | public crmondemand.xml.contact.query.QueryType getCustomText0() {
return this.customText0;
} |
e81af16a-c9e5-43f5-91de-c6232e395f3a | public java.lang.String getCustomText79() {
return this.customText79;
} |
3e6bd0df-7dc6-4621-bebc-8ccad60d1fec | public void setCustomPickList96(crmondemand.xml.customobject6.query.QueryType customPickList96) {
this.customPickList96 = customPickList96;
} |
b46a3826-a7c6-41f6-80c2-2f0b54178c9e | public void setCustomPickList7(java.lang.String customPickList7) {
this.customPickList7 = customPickList7;
} |
85f70b8a-de63-4e70-83ec-4093912ea635 | Data getConfigurationData(final SystemObject object, final AttributeGroupUsage atgUsage) {
return ((ConfigSystemObject)object).getConfigurationData(atgUsage, this);
} |
c32afc68-7efb-4e29-bf8c-cdb3e14ad8c9 | public crmondemand.xml.contact.query.QueryType getCustomInteger25() {
return this.customInteger25;
} |
fd70c4cc-e661-47c2-b3c9-2634f43bf5e4 | public Builder clearStance() {
bitField0_ = (bitField0_ & ~0x00000002);
stance_ = org.bwapi.proxy.messages.GameMessages.PlayerStance.Neutral;
onChanged();
return this;
} |
e8d3cf32-e951-4c2c-a586-556debb0d14c | public int getProductionAmount()
{
return productionAmount;
} |
6f224cc4-a5e9-41cb-b35a-0411a60b9ba3 | public Alliance getAlliance() {
return alliance;
} |
1b8966f8-1445-4927-b353-77b65442935b | public java.math.BigDecimal getCustomCurrency18() {
return this.customCurrency18;
} |
4276869b-6c96-4f68-9bf3-5d1b18869fe9 | public void setCustomInteger24(java.lang.Integer customInteger24) {
this.customInteger24 = customInteger24;
} |
53bcee4d-f15e-4190-a8d9-2f7c0994b156 | public void setCustomText60(java.lang.String customText60) {
this.customText60 = customText60;
} |
cbc265c8-1984-4317-acd4-6ea6ccf046ff | public void setCustomPickList61(java.lang.String customPickList61) {
this.customPickList61 = customPickList61;
} |
6f3c62e8-630e-459f-a82d-fde5da195aba | public java.lang.String getCustomPickList15() {
return this.customPickList15;
} |
4086bb98-ba01-438b-bab7-72eaf43c0777 | public crmondemand.xml.contact.query.QueryType getCustomDate56() {
return this.customDate56;
} |
40f630bc-79e4-4c8b-8237-20451831293a | public MOB getElligibleOfficer(Law laws,
Area myArea,
MOB criminal,
MOB victim)
{
final Room R=criminal.location();
if(R==null)
return null;
if((myArea!=null)&&(!myArea.inMyMetroArea(R.getArea())))
return null;
MOB M=getElligibleOfficerHere(laws,myArea,R,criminal,victim);
if(M!=null)
return M;
for(int d=Directions.NUM_DIRECTIONS()-1;d>=0;d--)
{
final Room R2=R.getRoomInDir(d);
if(R2!=null)
{
M=getElligibleOfficerHere(laws,myArea,R2,criminal,victim);
if(M!=null)
{
final int direction=Directions.getOpDirectionCode(d);
CMLib.tracking().walk(M,direction,false,false);
if(M.location()==R)
return M;
}
}
}
return null;
} |
17b5edd8-5df5-449c-a0e3-acaac5521a90 | public java.lang.String getCustomText74() {
return this.customText74;
} |
f90fcf69-471d-4421-a553-f3fdd8f25d58 | public crmondemand.xml.customobject3.query.QueryType getCustomPickList44() {
return this.customPickList44;
} |
9b4a10b0-caee-4fbd-ad7b-806e7d86fe9f | public java.lang.String getCustomText15() {
return this.customText15;
} |
148fac72-4488-46a0-ad98-b3629dc97321 | public void test_minusSeconds() {
OffsetDateTime base = OffsetDateTime.of(2008, 6, 30, 11, 30, 59, OFFSET_PONE);
OffsetDateTime test = base.minusSeconds(1);
assertEquals(test, OffsetDateTime.of(2008, 6, 30, 11, 30, 58, OFFSET_PONE));
}
// -----------------------------------------------------------------------
// minusNanos()
// -----------------------------------------------------------------------
@Test(groups = { "tck" } |
9654ece7-6105-4bec-ab31-c9d51b95d9b1 | public void setCustomDate37(java.util.Calendar customDate37) {
this.customDate37 = customDate37;
} |
ea6a44e9-bec5-404c-8ac1-5c4b8c82b8c4 | public void setCustomPickList54(java.lang.String customPickList54) {
this.customPickList54 = customPickList54;
} |
5bcab870-f65b-46cb-bece-815201eb4029 | public void setCustomNumber22(crmondemand.xml.contact.query.QueryType customNumber22) {
this.customNumber22 = customNumber22;
} |
0a880a91-da5e-41ec-858b-a53390faeb6f | public void setCustomNumber22(java.math.BigDecimal customNumber22) {
this.customNumber22 = customNumber22;
} |
c3f621e9-42f6-4d59-83fa-fe21fbf3b0a8 | public void mouseEntered(java.awt.event.MouseEvent evt) {
jBConfigurarMouseEntered(evt);
} |
7325f5b5-63e0-4e32-8e6b-2e9527b69e4b | public void setClaimLossType(java.lang.String claimLossType) {
this.claimLossType = claimLossType;
} |
0f1ffcb1-2cff-4633-9ec6-36695bf18a4a | public void setCustomDate28(java.util.Calendar customDate28) {
this.customDate28 = customDate28;
} |
77f94a2e-2d69-43bd-b867-16d90c6a3662 | public void setCustomObject4Type(java.lang.String customObject4Type) {
this.customObject4Type = customObject4Type;
} |
e83f4ec0-b102-4e59-b374-99a54157fa76 | public java.lang.String getMedEdId() {
return this.medEdId;
} |
8cfdbc44-64ac-4d38-8413-ccff14c6f4da | public void setCustomPickList18(java.lang.String customPickList18) {
this.customPickList18 = customPickList18;
} |
4074e2ab-8045-45d1-94bb-d4418f640fc2 | public void setCustomDate32(java.util.Calendar customDate32) {
this.customDate32 = customDate32;
} |
9be13d8e-ccc6-4998-b175-f4d0b0bedf89 | public void setActivityExternalSystemId(crmondemand.xml.customobject3.query.QueryType activityExternalSystemId) {
this.activityExternalSystemId = activityExternalSystemId;
} |
b05f3870-19bf-4d47-8b6a-044c1f9b65f6 | public crmondemand.xml.contact.query.QueryType getCustomInteger33() {
return this.customInteger33;
} |
a040ee94-b4fb-4ee5-bccd-aca57aa71c38 | public java.util.Calendar getSampleLotStartDate() {
return this.sampleLotStartDate;
} |
4a19af88-966b-472a-9d99-f278804ce7ef | public void setCustomCurrency4(crmondemand.xml.customobject3.query.QueryType customCurrency4) {
this.customCurrency4 = customCurrency4;
} |
107dce2f-08eb-4034-a5cd-cb38244b9e12 | @Test
public void testIsTriangleSuccess() {
Assert.assertEquals(TriangleSimple.isTriangle(3, 4, 5), true);
} |
eda9e93e-1466-470e-bfce-e06b67a61f91 | public java.lang.String getCustomText87() {
return this.customText87;
} |
390ff2d0-4801-4949-8c40-d057988bd635 | public void setPlanName(crmondemand.xml.opportunity.query.QueryType planName) {
this.planName = planName;
} |
0fdf4950-2457-424e-bc9e-604e0bf64deb | public void setFundRequestId(crmondemand.xml.contact.query.QueryType fundRequestId) {
this.fundRequestId = fundRequestId;
} |
a14e559e-5179-4bfa-b567-43aa6d6c97cb | public java.lang.String getCustomObject6Id() {
return this.customObject6Id;
} |
1536ffe4-f598-4be3-8005-e2758059aaf9 | public void setCustomObject5ExternalSystemId(java.lang.String customObject5ExternalSystemId) {
this.customObject5ExternalSystemId = customObject5ExternalSystemId;
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.