id
stringlengths
36
36
text
stringlengths
1
1.25M
a9d3feff-244e-47b5-a7d5-38fb8e6b2afe
public crmondemand.xml.customobject6.query.QueryType getCustomPhone17() { return this.customPhone17; }
513b690f-a2ac-42e3-9b6b-34aae02254a7
public void setInvtPeriodReconciledFlg(java.lang.Boolean invtPeriodReconciledFlg) { this.invtPeriodReconciledFlg = invtPeriodReconciledFlg; }
de38a9fc-c341-49d8-90bf-f5942df1300c
public TreeItem addItem( String text );
86c0fcb4-0ae3-4ce8-8b56-4cc26105d20e
public void setCanceledDate(crmondemand.xml.contact.query.QueryType canceledDate) { this.canceledDate = canceledDate; }
3291d80a-00b8-4b52-a4a9-35cdb5f48b40
public crmondemand.xml.opportunity.query.QueryType getCreatedByAlias() { return this.createdByAlias; }
728fbcd1-57a5-4b41-9e62-585f0cb4cad4
public void calculateMultinomialProbability() { double denominator = voca.size(); for (String token : wordCounts.keySet()) { denominator += wordCounts.get(token); } for (int token = 1; token <= voca.size(); token++) { double numerator = 1.0; // calculate the probability boolean contain = wordCounts.containsKey(Integer.toString(token)); if (contain) { numerator += wordCounts.get(token); } multinominalProbabilities.put(Integer.toString(token), (numerator / denominator)); } }
a40e2f9f-4d7d-41d6-9d6e-a68328b8e9fb
public void setTitle(String title){ Display.setTitle(title); }
804c4be9-573e-4563-9e76-75e2a967f337
public void connected(Channel channel) throws IOException { if(log.isLoggable(Level.FINE)) log.fine(channel+"about to accept"); currentChannel = clientSideChanMgr.createTCPChannel("xxx", null); currentChannel.setName("<not known yet>"); InetSocketAddress addr = new InetSocketAddress(delaySvrAddr, 0); currentChannel.bind(addr); currentChannel.oldConnect(realSvr); if(log.isLoggable(Level.FINE)) log.fine(channel+"connected to real server"); if(log.isLoggable(Level.FINE)) log.fine(channel+":"+currentChannel+"connected all links"); sockets.add((TCPChannel) channel); sockets.add(currentChannel); currentChannel.registerForReads(new Delayer((TCPChannel) channel)); channel.registerForReads(new Delayer(currentChannel)); }
684491a9-64b9-49f0-a2c8-788a8987b9f8
public int getCountErrors(final String callName) { int nbErrors = 0; final List<CallData> data = getCallData(callName); for (final CallData callData : data) { if(Status.ERROR.equals(callData.getStatus())) { nbErrors++; } } return nbErrors; }
e0c4e5cd-5b09-4880-b9b3-09662a3acb6b
public crmondemand.xml.customobject6.query.QueryType getCustomInteger30() { return this.customInteger30; }
93d5fb37-0426-4ef2-87a3-7016842ff827
public void setCustomBoolean0(java.lang.Boolean customBoolean0) { this.customBoolean0 = customBoolean0; }
7c6b805d-8d55-4090-8a24-197ea1138cdf
public java.lang.Integer getCustomInteger13() { return this.customInteger13; }
03f0c86b-9f3f-4043-bedf-97944f45473f
public crmondemand.xml.opportunity.query.QueryType getCustomInteger19() { return this.customInteger19; }
b0cb1593-6db4-44b4-934a-073f050cce0e
public java.lang.String getCustomPickList38() { return this.customPickList38; }
cfd0cabb-68eb-4961-a510-50c0901973d4
public void setCustomText3(java.lang.String customText3) { this.customText3 = customText3; }
f80dd459-a6ff-4fe1-9780-064b6df57e9c
public void setCustomBoolean11(crmondemand.xml.opportunity.query.QueryType customBoolean11) { this.customBoolean11 = customBoolean11; }
1b982213-4933-4086-8d5f-10e475cb9503
public void setCustomPhone19(java.lang.String customPhone19) { this.customPhone19 = customPhone19; }
2390222d-432d-4866-b2f9-f18cf03a5ae6
public void setCreatedByAlias(java.lang.String createdByAlias) { this.createdByAlias = createdByAlias; }
e4fe3830-c785-40e9-a4e5-7e4a3ade8e70
public crmondemand.xml.customobject3.query.QueryType getCustomText46() { return this.customText46; }
1ddce2e7-0752-4859-90bd-fb904b39cbc2
public ExpressionContext expression() { return getRuleContext(ExpressionContext.class,0); }
96837f8d-6de8-4bd3-9eed-6e7b508085ea
public void setPartnerLocation(java.lang.String partnerLocation) { this.partnerLocation = partnerLocation; }
569a8e28-8a02-4fe4-ad5a-9165b0dad0eb
public PacketMessage(String msg) { this.msg = msg; }
6e423fea-3a76-4d0d-87b3-deb82d0f48e0
public void setCampaignType(crmondemand.xml.opportunity.query.QueryType campaignType) { this.campaignType = campaignType; }
aa929c63-4904-4562-95f1-636ebbf6fb2c
public void setCustomPickList17(crmondemand.xml.contact.query.QueryType customPickList17) { this.customPickList17 = customPickList17; }
47fc86fe-3704-4f0a-8d8a-e66dfa29521c
public void setFilterCriteria(List<ITraceEvent> criteria) { m_criteriaList = criteria; }
3e34b3b0-92fd-4a7c-82ca-a5d0353f2e6e
public crmondemand.xml.contact.query.QueryType getServiceRequestIntegrationId() { return this.serviceRequestIntegrationId; }
dae50431-72fb-4121-b976-604fa379b598
public void setCustomText6(java.lang.String customText6) { this.customText6 = customText6; }
72f4f166-b69f-4f46-8ada-f0fedf9404e7
public boolean errorOut(MOB mob) { mob.tell(L("You are not allowed to do that here.")); return false; }
309539b8-0a2b-4c61-be02-516ef208b519
@Test public void testGetAllUsers() { man.saveUser(User); man.saveUser(User2); List<User> testList = man.getUsers(); Assert.assertEquals(2, testList.size()); Assert.assertEquals(true, testList.contains(User)); Assert.assertEquals(true, testList.contains(User2)); }
d865e63d-a03d-4a1d-938c-4433bec8a19c
public void setCustomNumber39(java.math.BigDecimal customNumber39) { this.customNumber39 = customNumber39; }
b46d5144-b161-42e6-a764-f76668cf8f7a
public void setCustomText66(crmondemand.xml.contact.query.QueryType customText66) { this.customText66 = customText66; }
dfe60eb6-06c1-4d4e-af01-e8fb3c3365aa
public void setCustomText48(crmondemand.xml.contact.query.QueryType customText48) { this.customText48 = customText48; }
7b67e2af-1a82-4c0b-b982-d9816f98a339
public void setCustomCurrency14(crmondemand.xml.customobject6.query.QueryType customCurrency14) { this.customCurrency14 = customCurrency14; }
70ab3a06-2cbb-4ef4-a797-7bd82223d477
public java.math.BigDecimal getCustomNumber9() { return this.customNumber9; }
72a4ff94-4a2f-4bd2-98dd-850d6adee9d2
public void setCustomText19(crmondemand.xml.customobject3.query.QueryType customText19) { this.customText19 = customText19; }
5a46b58c-2fa3-46a3-b3d3-b604031414c7
public void handler() { if (m68klog != null) { fclose(m68klog); } throw new UnsupportedOperationException("Unimplemented"); }
e16bffa2-6021-4086-9af3-7da5fad2b53e
public void startAlert(final int jq) { StringBuilder sb = new StringBuilder(); String readableTargetName = MapleCharacterUtil.makeMapleReadable(getName()); sb.append(getName()); sb.append(" (").append(readableTargetName).append(")"); sb.append(" has just started the JQ: "); sb.append(jq); sb.append("."); jqStart = new java.text.SimpleDateFormat("dd/MM/yyyy HH:mm:ss").format(new java.util.Date(System.currentTimeMillis())); sb.append(" Started at System time : ").append(jqStart).append(" . "); try { getClient().getChannelServer().broadcastStaffPacket(MaplePacketCreator.serverNotice(5, sb.toString())); } catch (Exception ignored) { } }
dbecec71-0b5c-4148-a90b-2beaa03b8d73
public void setCustomPickList18(java.lang.String customPickList18) { this.customPickList18 = customPickList18; }
dd2625bb-5575-44ce-bf36-606b2058b457
public AgentDeactivate(AgentPanel panel, int id) { super(); agentDB.connect();//call to DB connect method before GUI is loaded this.setModal(true);//set dialog to modal parent = panel;//save the parent oldAgentId = id;//set local agentid to agentid passed from parent initGUI(); }
c75ceed4-d729-408c-92ae-771779538bd2
public void render(GameContainer gc, StateBasedGame sbg, Graphics g) throws SlickException { //back.draw(); g.drawString(Game.Title, 150 + counter, 150 + counter); }
0006bcd2-9c94-402b-b726-220833be0cf2
public void setCustomText0(crmondemand.xml.opportunity.query.QueryType customText0) { this.customText0 = customText0; }
e9be6d15-6b5e-4c43-9090-99fe36b9e9a0
public crmondemand.xml.customobject6.query.QueryType getCustomPickList35() { return this.customPickList35; }
c7036598-3e92-440c-8c22-42082c894f8d
ApplicationGUI() { }
5da1c5aa-106c-4f86-8490-51a5097edbef
public void run() { try { //NGXg̉ ByteArrayOutputStream baos = null; short host_port = 80; String host = null; byte[] req_data = null; baos = new ByteArrayOutputStream(1024); String str; char[] str_c; int line = 0; int content_length = -1; boolean connection_changed = false; do { str = TextIn.readLine(); if (str == null) { break; } str_c = str.toLowerCase().toCharArray(); if (line == 0) { int start = str.indexOf(HTTP_URL_START); int host_start = start + HTTP_URL_START.length(); int end = str.indexOf("/", host_start); int pt_start; //zXgƃf[^̏ host = str.substring(host_start, end); if ((pt_start = host.indexOf(":")) >= 0) { String port_str = host.substring(pt_start + 1); host_port = Short.parseShort(port_str); host = host.substring(0, pt_start); } str = str.substring(0, start) + str.substring(end); } else if (content_length < 0 && Request.strcmp_start(str_c, CONTNT_LENGTH_HEADER_C)) { content_length = Integer.valueOf(str.substring( CONTNT_LENGTH_HEADER.length())); } else if (!connection_changed && Request.strcmp_start(str_c, PROXY_CONNECTION_HEADER_C)) { str = CONNECTION_HEADER; connection_changed = true; } else if ( Request.strcmp_start(str_c, KEEP_ALIVE_HEADER_C) || Request.strcmp_start(str_c, CHACHE_HEADER_C)) { continue; } baos.write(str.getBytes()); baos.write("\r\n".getBytes()); line++; } while (!(str_c.length == 0)); //f[^̎M int total_size = 0; int size; while (total_size < content_length && (size = DataIn.read(Buffer, 0, Request.BUFF_SIZE)) > 0) { baos.write(Buffer, 0, size); total_size += size; } baos.flush(); req_data = baos.toByteArray(); baos.close(); ClientSocket.shutdownInput(); //v̒lj Request req = new Request(LoginInfo, ServerCommunicator.ACTION_REQUEST, host_port, host, req_data); ReqQueue.offer(req); //ʂԂ if (req.getConnected() && req.getReceived()) { if (req.getResultCode() != ServerCommunicator.ACTION_RESULT) { TextOut.write("Kicked."); TextOut.flush(); } else { InputStream res_dis = req.getRecvInputStream(); try { byte[] data = new byte[Request.BUFF_SIZE]; int in; while ((in = res_dis.read(data, 0, Request.BUFF_SIZE)) > 0) { DataOut.write(data, 0, in); } DataOut.flush(); } finally { req.cancel(); res_dis.close(); ClientSocket.shutdownOutput(); } } } } catch (IOException ex) { ex.printStackTrace(); } finally { try { //\Pbg‚ TextIn.close(); DataIn.close(); DataOut.close(); TextOut.close(); ClientSocket.close(); } catch (IOException ex1) { ex1.printStackTrace(); } //Z}tHԂ Sem.release(); } }
89f55c78-c12f-4bb2-a808-e7b5c9f6bd95
public void setCustomInteger22(crmondemand.xml.contact.query.QueryType customInteger22) { this.customInteger22 = customInteger22; }
2665b0c0-f419-430f-b1c4-eac5ef18d317
public void setCustomObject3Name(crmondemand.xml.opportunity.query.QueryType customObject3Name) { this.customObject3Name = customObject3Name; }
5e5574b9-1cb0-48b4-9e90-29e114bcf944
public void setCustomPickList81(java.lang.String customPickList81) { this.customPickList81 = customPickList81; }
88073a05-3c0f-4a51-8d4b-d60e9c7dc25d
public crmondemand.xml.opportunity.query.QueryType getCustomNumber30() { return this.customNumber30; }
9a66f656-18c1-4044-a2e2-fb2a4da291e7
public crmondemand.xml.opportunity.query.QueryType getLeadIntegrationId() { return this.leadIntegrationId; }
ce2f749f-c605-44b9-a75c-cf27e77281bf
public RowIdLifetime getRowIdLifetime() throws SQLException { throw new SQLFeatureNotSupportedException( "SPIDatabaseMetadata.getRowIdLifetime() not implemented yet.", "0A000" ); }
6f29acb5-0996-4550-ac0a-b5543627a024
public int handler(int offset) { int res; res = EEPROM_read_bit(); res |= 0x02;//konami_eeprom_ack() << 5; /* add the ack */ res |= readinputport(3) & 0x0c; /* test switch */ if (init_eeprom_count != 0) { init_eeprom_count--; res &= 0xfb; } return res; }
95e3c362-7cc0-4a55-bda6-d88f59f0f588
public java.math.BigDecimal getCustomNumber30() { return this.customNumber30; }
7ba47389-d14b-47e4-b5f3-38e584f9b678
public java.lang.String getCustomText61() { return this.customText61; }
626cbb65-a5b5-4bbc-a6b7-14202e299595
public crmondemand.xml.customobject3.query.QueryType getCustomPickList22() { return this.customPickList22; }
75c9a106-43f6-4753-ae91-6f6d0c1eaa64
public java.math.BigDecimal getCustomNumber31() { return this.customNumber31; }
78cc9259-bddd-496c-a03c-7fc985e84f3c
public java.lang.String getCurrencyCode() { return this.currencyCode; }
a876796a-d820-4ece-8dc5-e6ac21947cf1
public crmondemand.xml.customobject3.query.QueryType getExamExternalSystemId() { return this.examExternalSystemId; }
be02c5cb-bf1f-4d99-ad27-706d71f80266
public void setSubmittedDate(java.util.Calendar submittedDate) { this.submittedDate = submittedDate; }
3562643a-6ea7-488c-a647-b2818bc655ff
public HashMap<String, MovableObject> getArrayInventory(){ return inventory; }
f3473aa8-7f04-4fce-ac3a-9de5baad5468
public void setLastAssignmentSubmissionDate(java.util.Calendar lastAssignmentSubmissionDate) { this.lastAssignmentSubmissionDate = lastAssignmentSubmissionDate; }
6b602bc0-41c0-4147-a171-794ee5d7d1b6
public void setCustomObject10ExternalSystemId(java.lang.String customObject10ExternalSystemId) { this.customObject10ExternalSystemId = customObject10ExternalSystemId; }
ef85e6bf-9231-4753-972d-60f54347098a
public java.math.BigDecimal getCustomNumber50() { return this.customNumber50; }
3006eddf-9e12-44ed-b73f-d156e35d6392
public void listarC(){ Query query = new Query("Administracion_usuario_roles").addSort("date", Query.SortDirection.DESCENDING); List<Entity> Administracion_usuario_roles = datastore.prepare(query).asList(FetchOptions.Builder.withDefaults()); if (Administracion_usuario_roles.isEmpty()) { System.out.println(" no Administracion_usuario_roles"); } else { System.out.println("there Administracion_usuario_roles and are ...."); for (int i=0;i<Administracion_usuario_roles.size();i++) { System.out.println("--->"+Administracion_usuario_roles.set(i, A_ur).getProperties()); } } }
cfc4a43c-7d97-48b3-94cd-34f2d4dea65f
public java.lang.String getUpdatedByIntegrationId() { return this.updatedByIntegrationId; }
7ef90309-202c-4209-8581-964cd415c9fb
public void setCustomDate42(java.util.Calendar customDate42) { this.customDate42 = customDate42; }
1aab5a4f-5741-42ee-9a5b-59b23c33259d
public void setCustomPickList31(crmondemand.xml.opportunity.query.QueryType customPickList31) { this.customPickList31 = customPickList31; }
6d25ece9-6080-4af5-8847-f7edc7175cc8
public ArrayList<Game> getProjectGames() { return projectGames; }
dacc8550-678e-410b-bc6f-778a4b8ec28d
public crmondemand.xml.customobject3.query.QueryType getCustomText57() { return this.customText57; }
1679ea68-eaee-4cfb-9cc4-1c51a2129bc2
public void setCustomNumber10(java.math.BigDecimal customNumber10) { this.customNumber10 = customNumber10; }
a01ee105-60c0-46b5-b883-a523ff8429e8
public java.lang.String getCustomPhone7() { return this.customPhone7; }
13b9e48f-8302-431f-b33e-0f040f7bcaaf
public void setCustomNumber9(crmondemand.xml.contact.query.QueryType customNumber9) { this.customNumber9 = customNumber9; }
22a18ffc-2de7-43de-9b28-e0bb3b45ec1d
public crmondemand.xml.contact.query.QueryType getActivitySubject() { return this.activitySubject; }
1478a03d-508a-4d21-8a63-59414680697f
public void setCustomPickList47(java.lang.String customPickList47) { this.customPickList47 = customPickList47; }
483b3c24-7cc2-4049-a32c-042d6e9d8476
public Player(int entityX, int entityY, int totalHitPoints, String state, String entityName, int entityLevel, int totalMana, Image playerImage, Polygon poly) { super(entityX, entityY, totalHitPoints, state, entityName, entityLevel, playerImage, poly); // Sets all superclass fields this.totalMana = totalMana; this.currentMana = totalMana; this.currentHitPoints = totalHitPoints; this.experienceToLvlUp = 100; // Hardcode some shit here <--------!!!!! this.currentExperience = 0; }
9e9923f2-27ae-45a8-9e2a-7e198ddb8542
public java.util.Calendar getCustomDate29() { return this.customDate29; }
01659f4c-1d27-41b6-8d26-dbdcbf8779ac
public crmondemand.xml.opportunity.query.QueryType getFinancialAccountFinancialAccountNumber() { return this.financialAccountFinancialAccountNumber; }
6435be0f-8944-4cea-a33e-875249d8bae8
public void setCustomBoolean12(java.lang.Boolean customBoolean12) { this.customBoolean12 = customBoolean12; }
a4b40a49-6166-40dc-a96c-65ca454c76dc
public Job(PrintQueue printQueue) { this.printQueue = printQueue; }
53949d96-b108-4329-b74e-72cc9989b913
public GameLoop() { }
9428f045-6174-47dc-83e2-f4fdba0c7dec
public java.lang.String getObjectiveName() { return this.objectiveName; }
b8931c6b-a031-4f11-b77c-c82044d4714d
public void setFR1(Register FR1) { this.FR1 = FR1; }
c8c4a5ba-56a7-45cf-a57d-56d5b3f81713
public crmondemand.xml.opportunity.query.QueryType getCustomPickList52() { return this.customPickList52; }
b807c58c-8c75-4289-addc-c927906f20f5
public int getUser() { return User; }
9976de36-cffb-4952-8b8a-eea274832e74
public java.lang.String getCustomObject2ExternalSystemId() { return this.customObject2ExternalSystemId; }
fc191b40-bbb5-4ee4-9bf2-d9508d9688f9
public void setCustomInteger24(java.lang.Integer customInteger24) { this.customInteger24 = customInteger24; }
3c027884-cd16-4192-b4b4-f17ff5ac451d
public void setOwnerId(java.lang.String ownerId) { this.ownerId = ownerId; }
85d13edf-f87b-4eb4-8fc1-7a8725503abf
public void setCustomObject10Type(java.lang.String customObject10Type) { this.customObject10Type = customObject10Type; }
c759ca1c-7037-4d99-aad7-e3715945da32
public crmondemand.xml.customobject3.query.QueryType getCustomText32() { return this.customText32; }
4f93e49d-eb26-462c-b133-bb6e5e002f09
@Override public void close() { try { conn.close(); } catch(SQLException ex) { ex.printStackTrace(); } }
f021c641-c9a2-4d23-80b6-d6385bf3dd55
private Node(double x, double y) { this.x = x; this.y = y; parentNode = this; }
8d6d5702-1ddb-4d43-a3cd-4f98ab1e0b10
public void setCustomInteger24(java.lang.Integer customInteger24) { this.customInteger24 = customInteger24; }
a7106319-8fdd-4082-b46a-8c5e83280d30
public int DEC(int tmp) { tmp = (tmp-1)&0xFF; SET_NZ(tmp); return tmp; }
339ce62a-51e6-4065-960b-51d4b7e25887
public int numOptions() { return answer.size(); }
0372bffd-b533-4bbd-a5b1-f33f95bb6d9b
public crmondemand.xml.customobject6.query.QueryType getAccountId() { return this.accountId; }
d6693610-a441-4871-933c-43ce934ed551
public void setCustomDate37(crmondemand.xml.customobject3.query.QueryType customDate37) { this.customDate37 = customDate37; }
c8f16043-af58-487f-8509-6b54f2fd44b0
public crmondemand.xml.contact.query.QueryType getUpdatedByFirstName() { return this.updatedByFirstName; }
edd68bdb-2d77-4d1b-84e9-9958fb18b726
public void setImage(BufferedImage image) { this.image = image; }
5f1022f2-bb47-4a4a-a2b6-60533b6699d5
public void setClientSinceDate(crmondemand.xml.customobject6.query.QueryType clientSinceDate) { this.clientSinceDate = clientSinceDate; }
190416e8-888f-4f84-a4b7-4fddd7e01391
public DepthImage(File file) { // Try turn BufferedImage to img // DataBufferByte data = (DataBufferByte) // img.getRaster().getDataBuffer(); // byte[] imageByte = data.getData(); // try { // ByteArrayOutputStream os = new ByteArrayOutputStream(); // ImageIO.write(img, "jpg", os); // InputStream fis = new ByteArrayInputStream(os.toByteArray()); // String imageData = Util.readInputStream(fis); // // Fail to load correct imageData // loadImageData(imageData); // } catch (IOException e) { // // TODO Auto-generated catch block // e.printStackTrace(); // } // String imageData = Util.encodeToString(img,"jpg"); InputStream is; try { is = new FileInputStream(file); String imageData = Util.readInputStream(is); loadImageData(imageData); } catch (FileNotFoundException e) { // TODO Auto-generated catch block e.printStackTrace(); } }
15f930c8-f4aa-4a32-84c4-9dfca2852692
public crmondemand.xml.contact.query.QueryType getIndexedPick3() { return this.indexedPick3; }