__key__
stringlengths
16
21
__url__
stringclasses
1 value
txt
stringlengths
183
1.2k
funcom_train/24516813
/tmp/hf-datasets-cache/medium/datasets/31837353763449-config-parquet-and-info-apcl-funcom-java-long-1b0b1ae9/downloads/d42b7d3130dd02820b64692a8810efdf479c66e589141ea4cfe3cb3bba421716
TDAT: private void updateRowHeightUI(boolean respectRowSetFlag) { if (respectRowSetFlag && isXTableRowHeightSet) return; int minimumSize = getFont().getSize() + 6; int uiSize = UIManager.getInt(UIPREFIX + "rowHeight"); setRowHeight(Math.max(minimumSize, uiSize != 0 ? uiSi...
funcom_train/50301975
/tmp/hf-datasets-cache/medium/datasets/31837353763449-config-parquet-and-info-apcl-funcom-java-long-1b0b1ae9/downloads/d42b7d3130dd02820b64692a8810efdf479c66e589141ea4cfe3cb3bba421716
TDAT: public CmsGroup addGroup(String name, String description, int flags, String parent) throws CmsException { return (m_rb.addGroup(m_context.currentUser(), m_context.currentProject(), name, description, flags, parent)); } COM: <s> adds a new group to the cms </s>
funcom_train/42709473
/tmp/hf-datasets-cache/medium/datasets/31837353763449-config-parquet-and-info-apcl-funcom-java-long-1b0b1ae9/downloads/d42b7d3130dd02820b64692a8810efdf479c66e589141ea4cfe3cb3bba421716
TDAT: public JButton getJButtonUpdateAdress() { if (jButtonUpdateAdress == null) { jButtonUpdateAdress = new JButton(); jButtonUpdateAdress.setActionCommand("UpdateAdress"); jButtonUpdateAdress.setBounds(new Rectangle(140, 270, 121, 21)); jButtonUpdateAdress.setText("Update"); } return jButtonUpdateA...
funcom_train/19242933
/tmp/hf-datasets-cache/medium/datasets/31837353763449-config-parquet-and-info-apcl-funcom-java-long-1b0b1ae9/downloads/d42b7d3130dd02820b64692a8810efdf479c66e589141ea4cfe3cb3bba421716
TDAT: public String getString(final String key) { String value = null; try { value = getResourceBundle().getString(key); } catch (MissingResourceException e) { Trace.fatal(CLASS, this, "getString", "Couldn't find value for: " + key, e); } ...
funcom_train/3379258
/tmp/hf-datasets-cache/medium/datasets/31837353763449-config-parquet-and-info-apcl-funcom-java-long-1b0b1ae9/downloads/d42b7d3130dd02820b64692a8810efdf479c66e589141ea4cfe3cb3bba421716
TDAT: public void encode(DerOutputStream out) throws IOException { DerOutputStream theChoice = new DerOutputStream(); if (fullName != null) { fullName.encode(theChoice); out.writeImplicit( DerValue.createTag(DerValue.TAG_CONTEXT, true, TAG_FULL_NAME), theChoice); } else { relativeName.encod...
funcom_train/23453327
/tmp/hf-datasets-cache/medium/datasets/31837353763449-config-parquet-and-info-apcl-funcom-java-long-1b0b1ae9/downloads/d42b7d3130dd02820b64692a8810efdf479c66e589141ea4cfe3cb3bba421716
TDAT: protected void addSParameterPropertyDescriptor(Object object) { itemPropertyDescriptors.add (createItemPropertyDescriptor (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), getResourceLocator(), getString("_UI_ServiceParameter_sParameter_feature"), getString("_UI_Proper...
funcom_train/16791179
/tmp/hf-datasets-cache/medium/datasets/31837353763449-config-parquet-and-info-apcl-funcom-java-long-1b0b1ae9/downloads/d42b7d3130dd02820b64692a8810efdf479c66e589141ea4cfe3cb3bba421716
TDAT: protected void buildItemMap(TreeItem[] items, Map<Directory, TreeItem> itemMap) { for (TreeItem item: items) { if (item.getData() != null) itemMap.put((Directory) item.getData(), item); this.buildItemMap(item.getItems(), itemMap); } } COM: <s> build a map of the existing directory...
funcom_train/12188813
/tmp/hf-datasets-cache/medium/datasets/31837353763449-config-parquet-and-info-apcl-funcom-java-long-1b0b1ae9/downloads/d42b7d3130dd02820b64692a8810efdf479c66e589141ea4cfe3cb3bba421716
TDAT: public void testEmpty() throws Exception { Sequence sequence = factory.createSequence(new Item[0]); Function function = new SubsequenceFunction(); Value result; result = invokeSubsequence(function, sequence, 1); assertSame(sequence, result); result = invokeS...
funcom_train/9533174
/tmp/hf-datasets-cache/medium/datasets/31837353763449-config-parquet-and-info-apcl-funcom-java-long-1b0b1ae9/downloads/d42b7d3130dd02820b64692a8810efdf479c66e589141ea4cfe3cb3bba421716
TDAT: // private Ontology getDestinationOntology() { // if (!hasDestinationCharField()) return null; // CharField cf = getDestinationCharField(); // if (!cf.hasOntologies()) { // Ontology ont = new Ontology(cf.getName()); // cf.addOntology(ont); // } // return cf.getOntology(); // jus...
funcom_train/3703267
/tmp/hf-datasets-cache/medium/datasets/31837353763449-config-parquet-and-info-apcl-funcom-java-long-1b0b1ae9/downloads/d42b7d3130dd02820b64692a8810efdf479c66e589141ea4cfe3cb3bba421716
TDAT: protected List convert(List listTuples) { List listOut = new LinkedList(); Iterator it = listOut.iterator(); Tuple t; while (it.hasNext()) { t = (Tuple) it.next(); listOut.add(convert(t)); } return (listOut); } // of meth...
funcom_train/43683432
/tmp/hf-datasets-cache/medium/datasets/31837353763449-config-parquet-and-info-apcl-funcom-java-long-1b0b1ae9/downloads/d42b7d3130dd02820b64692a8810efdf479c66e589141ea4cfe3cb3bba421716
TDAT: public String selectRole() { if(getModel() == null || getModel().getId() == null || user == null || user.getId() == null) { throw new ApplicationException("Please select a role at least."); } selectRole(getModel().getId(), user.getId(), true); return JSON; } COM: <s> checkb...
funcom_train/4969408
/tmp/hf-datasets-cache/medium/datasets/31837353763449-config-parquet-and-info-apcl-funcom-java-long-1b0b1ae9/downloads/d42b7d3130dd02820b64692a8810efdf479c66e589141ea4cfe3cb3bba421716
TDAT: public void loadGlobalConfiguration() throws Exception { XToolsConfiguration c = XToolsConfiguration.getInstance(); minorityStrongMultiStarPercentage = c.getFloat( ConfigSection.MINORITIES, "strongMultiStarPercentage", minorityStrongMultiStarPercentage); assignOneStrongMultiStar = c.getBoolean(Conf...
funcom_train/34339468
/tmp/hf-datasets-cache/medium/datasets/31837353763449-config-parquet-and-info-apcl-funcom-java-long-1b0b1ae9/downloads/d42b7d3130dd02820b64692a8810efdf479c66e589141ea4cfe3cb3bba421716
TDAT: public Command getEnviar() { if (Enviar == null) {//GEN-END:|16-getter|0|16-preInit // write pre-init user code here Enviar = new Command("Enviar", Command.OK, 0);//GEN-LINE:|16-getter|1|16-postInit // write post-init user code here }//GEN-BEGIN:|16-getter|2...
funcom_train/6490090
/tmp/hf-datasets-cache/medium/datasets/31837353763449-config-parquet-and-info-apcl-funcom-java-long-1b0b1ae9/downloads/d42b7d3130dd02820b64692a8810efdf479c66e589141ea4cfe3cb3bba421716
TDAT: public void setRunsValid(boolean state) { LogTools.trace(logger, 25, "Cycle.setRunsValid("+state+")"); _runsValid = state; notifyListeners(new CycleEvent(this, state ? CycleEvent.RUNS_VALID : CycleEvent.RUNS_INVALID)); } COM: <s> set the invalidated status of the run list </s>
funcom_train/16546676
/tmp/hf-datasets-cache/medium/datasets/31837353763449-config-parquet-and-info-apcl-funcom-java-long-1b0b1ae9/downloads/d42b7d3130dd02820b64692a8810efdf479c66e589141ea4cfe3cb3bba421716
TDAT: public Record getRecord(String type, String identifier) throws RetrievalException { log.debug("retrieving " + type + " " + identifier); identifier = identifierFromURI(identifier); // TODO if (identifier == null) return null; for (DataStore store : stores) { Record reco...
funcom_train/13261178
/tmp/hf-datasets-cache/medium/datasets/31837353763449-config-parquet-and-info-apcl-funcom-java-long-1b0b1ae9/downloads/d42b7d3130dd02820b64692a8810efdf479c66e589141ea4cfe3cb3bba421716
TDAT: private void findRegionNodes() { //nodes of ther region must be found, using their names network = sim.getNetwork(); regionNodes = new NetNode[regionNodeNames.length]; for (int i = 0; i < regionNodeNames.length; i++) { //TODO: check wrong names...? regionNodes[i] = network.getNode(regionNodeNames[i...
funcom_train/17788398
/tmp/hf-datasets-cache/medium/datasets/31837353763449-config-parquet-and-info-apcl-funcom-java-long-1b0b1ae9/downloads/d42b7d3130dd02820b64692a8810efdf479c66e589141ea4cfe3cb3bba421716
TDAT: private int DecodeLengthsNew(int lblock, int codingPasses) throws EOFException, IOException { int numBits; int length = 0; numBits = lblock + (int) Math.floor(Math.log(codingPasses) / Math.log(2D)); for (int nb = numBits - 1; nb >= 0; nb--) { length += (1 << nb) * getBit(); } retu...
funcom_train/23716466
/tmp/hf-datasets-cache/medium/datasets/31837353763449-config-parquet-and-info-apcl-funcom-java-long-1b0b1ae9/downloads/d42b7d3130dd02820b64692a8810efdf479c66e589141ea4cfe3cb3bba421716
TDAT: public StringItem getStringItem2 () { if (stringItem2 == null) {//GEN-END:|79-getter|0|79-preInit // write pre-init user code here stringItem2 = new StringItem ("PODTYTU\u0141: \n", null);//GEN-LINE:|79-getter|1|79-postInit // write post-init user code here }//GEN-BEGIN:|79-getter|2| return stringItem2; } COM:...
funcom_train/36930430
/tmp/hf-datasets-cache/medium/datasets/31837353763449-config-parquet-and-info-apcl-funcom-java-long-1b0b1ae9/downloads/d42b7d3130dd02820b64692a8810efdf479c66e589141ea4cfe3cb3bba421716
TDAT: private void readLoop() { if (!(ttype == TT_WORD && sval.equals("outer"))) { CCLog.error("Format Error:expecting 'outer' on line " + lineno()); return; } getToken(); if (!(ttype == TT_WORD && sval.equals("loop"))) { CCLog.error("Format Error:expecting 'loop' on line " + lineno()); } else{ ...
funcom_train/39973828
/tmp/hf-datasets-cache/medium/datasets/31837353763449-config-parquet-and-info-apcl-funcom-java-long-1b0b1ae9/downloads/d42b7d3130dd02820b64692a8810efdf479c66e589141ea4cfe3cb3bba421716
TDAT: public float getArea() { float area = 0; int numPoints = vertices.size(); for (int i = 0; i < numPoints; i++) { Vec2D a = vertices.get(i); Vec2D b = vertices.get((i + 1) % numPoints); area += a.x * b.y; area -= a.y * b.x; } ...
funcom_train/2763024
/tmp/hf-datasets-cache/medium/datasets/31837353763449-config-parquet-and-info-apcl-funcom-java-long-1b0b1ae9/downloads/d42b7d3130dd02820b64692a8810efdf479c66e589141ea4cfe3cb3bba421716
TDAT: public String getMetaInfoString() { return "["+getMetaName()+"/"+_user+"@"+_url+" accessing a '"+_databaseProductName+"' version '"+_databaseProductVersion+"' using a '"+_driverName+"' version '"+_driverVersion+"']"; } COM: <s> returns a string representing the meta data </s>
funcom_train/14178151
/tmp/hf-datasets-cache/medium/datasets/31837353763449-config-parquet-and-info-apcl-funcom-java-long-1b0b1ae9/downloads/d42b7d3130dd02820b64692a8810efdf479c66e589141ea4cfe3cb3bba421716
TDAT: public String loadGame(int gameID) { Session session = HibernateUtil.getSessionFactory().getCurrentSession(); Transaction tx = null; List result = null; try { tx = session.beginTransaction(); Query q = session .createQuery("from GameState where GAMEID like :un"); q.setInteger("un", gameID...
funcom_train/19849537
/tmp/hf-datasets-cache/medium/datasets/31837353763449-config-parquet-and-info-apcl-funcom-java-long-1b0b1ae9/downloads/d42b7d3130dd02820b64692a8810efdf479c66e589141ea4cfe3cb3bba421716
TDAT: private void loadCollaborations() throws JAXBException, IOException { this.collaborations.clear(); for (Collaboration c : ((Collaborations) JAXBContext.newInstance(Collaborations.class) .createUnmarshaller().unmarshal( new File( this.path + File.separatorChar + this.c...
funcom_train/38429696
/tmp/hf-datasets-cache/medium/datasets/31837353763449-config-parquet-and-info-apcl-funcom-java-long-1b0b1ae9/downloads/d42b7d3130dd02820b64692a8810efdf479c66e589141ea4cfe3cb3bba421716
TDAT: protected String getBlock() { String encodedType = URLEncoder.encode( sLocationType ); String encodedName = URLEncoder.encode( mName ); String locationBlock = encodedName + "\n" + encodedType + "\n" + ...
funcom_train/44118511
/tmp/hf-datasets-cache/medium/datasets/31837353763449-config-parquet-and-info-apcl-funcom-java-long-1b0b1ae9/downloads/d42b7d3130dd02820b64692a8810efdf479c66e589141ea4cfe3cb3bba421716
TDAT: private void setCodedFont(byte font, ByteArrayOutputStream afpdata) { // Avoid unnecessary specification of the font if (String.valueOf(font).equals(_currentFont)) { return; } else { _currentFont = String.valueOf(font); } afpdata.write(new byte[] { 0x03, (byte) 0xF1, font, }, 0, 3); } COM: <...
funcom_train/2537064
/tmp/hf-datasets-cache/medium/datasets/31837353763449-config-parquet-and-info-apcl-funcom-java-long-1b0b1ae9/downloads/d42b7d3130dd02820b64692a8810efdf479c66e589141ea4cfe3cb3bba421716
TDAT: private void loadStyles(AbstractMTApplication app, InputSource source) { List<CSSStyle> styles= new ArrayList<CSSStyle>(); cssh = new CSSHandler(app, styles); pa = new Parser(); pa.setDocumentHandler(cssh); try { pa.parseStyleSheet(source); } catch (CSSException e) { e.printStackTrace(); } ca...
funcom_train/45486440
/tmp/hf-datasets-cache/medium/datasets/31837353763449-config-parquet-and-info-apcl-funcom-java-long-1b0b1ae9/downloads/d42b7d3130dd02820b64692a8810efdf479c66e589141ea4cfe3cb3bba421716
TDAT: private JButton getJButton8Del() { if (jButton8Del == null) { jButton8Del = new JButton(); jButton8Del.setBounds(new Rectangle(951, 196, 64, 26)); Font font = new Font("Serif", Font.BOLD, 16); jButton8Del.setFont(font); jButton8Del.setForeground(Color.red); jButton8Del.setText("8"); } ret...
funcom_train/14601503
/tmp/hf-datasets-cache/medium/datasets/31837353763449-config-parquet-and-info-apcl-funcom-java-long-1b0b1ae9/downloads/d42b7d3130dd02820b64692a8810efdf479c66e589141ea4cfe3cb3bba421716
TDAT: public void showAddDocument() { if(addDocumentDialog != null) { return; } addDocumentDialog = new JDialog(ui.UserInterface.win, "YART : Add a Document"); addDocumentDialog.setDefaultCloseOperation(JDialog.DISPOSE_ON_CLOSE); documentView = new DocumentView(this); addDocumentDialog.add(documentVi...
funcom_train/32112364
/tmp/hf-datasets-cache/medium/datasets/31837353763449-config-parquet-and-info-apcl-funcom-java-long-1b0b1ae9/downloads/d42b7d3130dd02820b64692a8810efdf479c66e589141ea4cfe3cb3bba421716
TDAT: public CoreMaterial getCoreMaterial(int coreMaterialId) { if((coreMaterialId < 0) || (coreMaterialId >= vectorCoreMaterial.size())) { //TODO afegir exepcio //CalError::setLastError(CalError::INVALID_HANDLE, __FILE__, __LINE__); return null; } return vectorCoreMaterial.get(coreMaterialId); } C...
funcom_train/37821930
/tmp/hf-datasets-cache/medium/datasets/31837353763449-config-parquet-and-info-apcl-funcom-java-long-1b0b1ae9/downloads/d42b7d3130dd02820b64692a8810efdf479c66e589141ea4cfe3cb3bba421716
TDAT: private void checkIfPartitionsAreValid() { int sum = 0; Set<Event> all = new HashSet<Event>(); for (Partition p : observations) { sum += p.getElements().size(); all.addAll(p.getElements()); } if (sum == params.getEvents().size() && all.equals(params.getEvents())) { bForward.setEnabled(true); ...
funcom_train/14640230
/tmp/hf-datasets-cache/medium/datasets/31837353763449-config-parquet-and-info-apcl-funcom-java-long-1b0b1ae9/downloads/d42b7d3130dd02820b64692a8810efdf479c66e589141ea4cfe3cb3bba421716
TDAT: public void setRawFrom(String rawFrom) { if (rawFrom==null) { throw new RuntimeException("rawFrom must not be null."); } String oldRawFrom = this.rawFrom; this.rawFrom = rawFrom; this.firePropertyChange("rawFrom",oldRawFrom,this.rawFrom); } COM: <s> s...
funcom_train/5272382
/tmp/hf-datasets-cache/medium/datasets/31837353763449-config-parquet-and-info-apcl-funcom-java-long-1b0b1ae9/downloads/d42b7d3130dd02820b64692a8810efdf479c66e589141ea4cfe3cb3bba421716
TDAT: public void run() { int counter = 0; while(go) { if(counter % 60 == 1) { try { sendSocket.send(sendTo, sendWhat); Thread.sleep(1000); } catch(InterruptedException e) { DEBUG.error("LANkeepalive: run: sleep thrown exception, exiting to prevent flooding net!"); go = false; ...
funcom_train/9853673
/tmp/hf-datasets-cache/medium/datasets/31837353763449-config-parquet-and-info-apcl-funcom-java-long-1b0b1ae9/downloads/d42b7d3130dd02820b64692a8810efdf479c66e589141ea4cfe3cb3bba421716
TDAT: public String toString() { return getClass().getName() +"["+ host +","+ getPort() +","+ username +","+ nick +","+ realname +","+ pass +","+ isConnected() +"]"; } COM: <s> generates a code string code with some information about the instance of </s>
funcom_train/3474939
/tmp/hf-datasets-cache/medium/datasets/31837353763449-config-parquet-and-info-apcl-funcom-java-long-1b0b1ae9/downloads/d42b7d3130dd02820b64692a8810efdf479c66e589141ea4cfe3cb3bba421716
TDAT: public WindowDeactivation (Environment env, StructureElement[] children) { super(env, children); StructureElement[] filteredChildren = getChildren ("jacareto.record.WindowEventRecordable"); this.windowName = ((WindowEventRecordable) filteredChildren[0]).getWindowName (); this....
funcom_train/9535722
/tmp/hf-datasets-cache/medium/datasets/31837353763449-config-parquet-and-info-apcl-funcom-java-long-1b0b1ae9/downloads/d42b7d3130dd02820b64692a8810efdf479c66e589141ea4cfe3cb3bba421716
TDAT: public void write(String data) { try { myLogger.debug(myThreadName + COLON + "Writing data"); if (isChunked(data)) { sendChunkedData(data); } else { myOutputStream.write(data.getBytes()); myOutputStream.flush(); ...
funcom_train/41383572
/tmp/hf-datasets-cache/medium/datasets/31837353763449-config-parquet-and-info-apcl-funcom-java-long-1b0b1ae9/downloads/d42b7d3130dd02820b64692a8810efdf479c66e589141ea4cfe3cb3bba421716
TDAT: public void resetBallPosition() { ball.resetPosition(); // The ball is reset to the position, so the status is not restored Macadam.setRestored(false); // Disable game over text if ((InGameState) GameStateManager.getInstance().getChild( GameStates.IN_GAME) != null) ((InGameState) GameStateManage...
funcom_train/32867889
/tmp/hf-datasets-cache/medium/datasets/31837353763449-config-parquet-and-info-apcl-funcom-java-long-1b0b1ae9/downloads/d42b7d3130dd02820b64692a8810efdf479c66e589141ea4cfe3cb3bba421716
TDAT: public void groupChatPresence(String sNewPresence) { Enumeration e = groupChats.keys(); while (e.hasMoreElements()) { Object obj = groupChats.get(e.nextElement()); ((GroupChat)obj).presenceChange(moJabberComm, sNewPresence); } } COM: <s> user has changed hi...
funcom_train/18742685
/tmp/hf-datasets-cache/medium/datasets/31837353763449-config-parquet-and-info-apcl-funcom-java-long-1b0b1ae9/downloads/d42b7d3130dd02820b64692a8810efdf479c66e589141ea4cfe3cb3bba421716
TDAT: protected GraphJEdge computeJEdge(E edge, boolean bidirectional) { GraphJEdge result = createJEdge(edge); result.setBidirectional(bidirectional); result.refreshAttributes(); JEdgeLayout layout = this.layoutMap.getLayout(edge); if (layout != null) { result.ge...
funcom_train/19104920
/tmp/hf-datasets-cache/medium/datasets/31837353763449-config-parquet-and-info-apcl-funcom-java-long-1b0b1ae9/downloads/d42b7d3130dd02820b64692a8810efdf479c66e589141ea4cfe3cb3bba421716
TDAT: public void inquiryCompleted( int completionType ){ switch( completionType ){ case INQUIRY_ERROR: System.err.println("BT Locator: An error occured during the last inquiry."); break; case INQUIRY_TERMINATED: System.err.println("BT Locator: The last inquiry was interrupted."); b...
funcom_train/29985204
/tmp/hf-datasets-cache/medium/datasets/31837353763449-config-parquet-and-info-apcl-funcom-java-long-1b0b1ae9/downloads/d42b7d3130dd02820b64692a8810efdf479c66e589141ea4cfe3cb3bba421716
TDAT: public void createZip (File dir, File zipfile) throws IOException { ZipOutputStream zos = new ZipOutputStream (new FileOutputStream (zipfile)); zos.setMethod (ZipOutputStream.DEFLATED); zos.setLevel (9); if (!(dir.getName ().equals ("."))) addDir ("." + File.separatorChar + dir.getName () + File.sepa...
funcom_train/8357614
/tmp/hf-datasets-cache/medium/datasets/31837353763449-config-parquet-and-info-apcl-funcom-java-long-1b0b1ae9/downloads/d42b7d3130dd02820b64692a8810efdf479c66e589141ea4cfe3cb3bba421716
TDAT: private JComboBox getCmbtype() { if (cmbtype == null) { cmbtype = new JComboBox(); cmbtype.setModel(new DefaultComboBoxModel(new Object[] {TYPE_CSVM, TYPE_NUSVM})); cmbtype.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent e) { upda...
funcom_train/10628673
/tmp/hf-datasets-cache/medium/datasets/31837353763449-config-parquet-and-info-apcl-funcom-java-long-1b0b1ae9/downloads/d42b7d3130dd02820b64692a8810efdf479c66e589141ea4cfe3cb3bba421716
TDAT: public void testSignumNegative() { byte aBytes[] = {12, 56, 100, -2, -76, 89, 45, 91, 3, -15, 35, 26, 3, 91}; int aSign = -1; BigInteger aNumber = new BigInteger(aSign, aBytes); assertEquals("incorrect sign", -1, aNumber.signum()); } COM: <s> signum of a negative number </...
funcom_train/7389812
/tmp/hf-datasets-cache/medium/datasets/31837353763449-config-parquet-and-info-apcl-funcom-java-long-1b0b1ae9/downloads/d42b7d3130dd02820b64692a8810efdf479c66e589141ea4cfe3cb3bba421716
TDAT: private void abrirUsuarios(){ log.log("abrirUsuarios()::Inicializado", PGLog.DEBUG); Rectangle tmp = new Rectangle();; boolean reabierto = false; try{ if (listUsers.isVisible()) { tmp = listUsers.getBounds(); reabierto = true; listUsers.setVisible(false); } } catch (Exception...
funcom_train/50912122
/tmp/hf-datasets-cache/medium/datasets/31837353763449-config-parquet-and-info-apcl-funcom-java-long-1b0b1ae9/downloads/d42b7d3130dd02820b64692a8810efdf479c66e589141ea4cfe3cb3bba421716
TDAT: public void setProperty(String property, Object value) { if (property != null) { if (propertyMap == null) { propertyMap = new HashMap<String, Object>(); } if (value == null) { propertyMap.remove(property); } else { ...
funcom_train/48128461
/tmp/hf-datasets-cache/medium/datasets/31837353763449-config-parquet-and-info-apcl-funcom-java-long-1b0b1ae9/downloads/d42b7d3130dd02820b64692a8810efdf479c66e589141ea4cfe3cb3bba421716
TDAT: protected void addNombreColumnaPropertyDescriptor(Object object) { itemPropertyDescriptors.add (createItemPropertyDescriptor (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), getResourceLocator(), getString("_UI_Columna_NombreColumna_feature"), getString("_UI_PropertyD...
funcom_train/8685519
/tmp/hf-datasets-cache/medium/datasets/31837353763449-config-parquet-and-info-apcl-funcom-java-long-1b0b1ae9/downloads/d42b7d3130dd02820b64692a8810efdf479c66e589141ea4cfe3cb3bba421716
TDAT: public File getSourceContainer(String classname) throws IOException { String sourceLocation = classname.replace('.', '/') + ".java"; // we look through the source path elements. If the element is a dir // we look for the file. If it is a zip, we look for the zip entry. // This...
funcom_train/10658504
/tmp/hf-datasets-cache/medium/datasets/31837353763449-config-parquet-and-info-apcl-funcom-java-long-1b0b1ae9/downloads/d42b7d3130dd02820b64692a8810efdf479c66e589141ea4cfe3cb3bba421716
TDAT: public Socket getSocket(String host, int port) throws IOException { if (proxySet) { return new Socket(proxyHost, proxyPort); } else if (enableDirect) { return new Socket(host, port); } else { // rmi.81=HTTP proxy is not set throw new NoRo...
funcom_train/1804023
/tmp/hf-datasets-cache/medium/datasets/31837353763449-config-parquet-and-info-apcl-funcom-java-long-1b0b1ae9/downloads/d42b7d3130dd02820b64692a8810efdf479c66e589141ea4cfe3cb3bba421716
TDAT: public void setCountries(Collection<String> countries) { if (countries == null || countries.isEmpty()) { clearCountry(); } else { this.countryState = CountryState.COUNTRIES; LinkedHashSet<String> set = new LinkedHashSet<String>(); for (String country : countries) { set.ad...
funcom_train/7850787
/tmp/hf-datasets-cache/medium/datasets/31837353763449-config-parquet-and-info-apcl-funcom-java-long-1b0b1ae9/downloads/d42b7d3130dd02820b64692a8810efdf479c66e589141ea4cfe3cb3bba421716
TDAT: public long longArg(final int n) throws ArgumentTypeMismatchException, InsufficientArgsException { final Object a = getArg(n); if (a == null) { throw new ArgumentTypeMismatchException(n, "long", "null"); } try { return ((Number) a).longValue(); } catch (final ClassCastException e) { throw new ...
funcom_train/8343433
/tmp/hf-datasets-cache/medium/datasets/31837353763449-config-parquet-and-info-apcl-funcom-java-long-1b0b1ae9/downloads/d42b7d3130dd02820b64692a8810efdf479c66e589141ea4cfe3cb3bba421716
TDAT: private void appendPopupMenuItems() { JMenuItem currentItem; if (menu.getSubElements().length > 0) { menu.addSeparator(); } currentItem = new JMenuItem(EXPAND_ENTIRE_TREE); currentItem.addActionListener(sTreePaneMenuActionListener); menu.add(currentItem); currentItem = new JMenuItem(COLLAPSE_E...
funcom_train/39534687
/tmp/hf-datasets-cache/medium/datasets/31837353763449-config-parquet-and-info-apcl-funcom-java-long-1b0b1ae9/downloads/d42b7d3130dd02820b64692a8810efdf479c66e589141ea4cfe3cb3bba421716
TDAT: protected void retrieveModulePopupItems(){ //getting all the loaded modules Collection<Module> modules=getSVGEditor().getSVGModuleLoader().getModules(); Collection<PopupItem> itemsList=null; //for each module, gets the popup items linked with the given list of nodes for(Module module : modules){ ...
funcom_train/10416494
/tmp/hf-datasets-cache/medium/datasets/31837353763449-config-parquet-and-info-apcl-funcom-java-long-1b0b1ae9/downloads/d42b7d3130dd02820b64692a8810efdf479c66e589141ea4cfe3cb3bba421716
TDAT: public void setDistributable(boolean distributable) { boolean oldDistributable = this.distributable; this.distributable = distributable; support.firePropertyChange("distributable", new Boolean(oldDistributable), new ...
funcom_train/4193453
/tmp/hf-datasets-cache/medium/datasets/31837353763449-config-parquet-and-info-apcl-funcom-java-long-1b0b1ae9/downloads/d42b7d3130dd02820b64692a8810efdf479c66e589141ea4cfe3cb3bba421716
TDAT: protected String getStatus() { switch (status) { case D_INIT : return "D_INIT"; case D_WAITING : return "D_WAITING"; case D_SUBSCRIBED : return "D_SUBSCRIBED"; case D_PENDING : return "D_PENDING"; case D_ACTIVE : return "D_ACTIVE"; case...
funcom_train/50310502
/tmp/hf-datasets-cache/medium/datasets/31837353763449-config-parquet-and-info-apcl-funcom-java-long-1b0b1ae9/downloads/d42b7d3130dd02820b64692a8810efdf479c66e589141ea4cfe3cb3bba421716
TDAT: public void notify(Object data) { CallBackData cbData = (CallBackData)data; Logger.log(Logger.DEBUG, "Jobs: Call-back from job ID: " + cbData.getJobId(), this); Task theSchedule = (Task)(jobs.get(new Integer(cbData.getJobId()))); if ((theSchedule != null)&&(theSchedule.isCallback()==true)) { theSch...
funcom_train/43245371
/tmp/hf-datasets-cache/medium/datasets/31837353763449-config-parquet-and-info-apcl-funcom-java-long-1b0b1ae9/downloads/d42b7d3130dd02820b64692a8810efdf479c66e589141ea4cfe3cb3bba421716
TDAT: public void testGetECTwoPhoneNumber() { System.out.println("getECTwoPhoneNumber"); EmergencyContactDG4Object instance = new EmergencyContactDG4Object(); String expResult = ""; String result = instance.getECTwoPhoneNumber(); assertEquals(expResult, resu...
funcom_train/38157316
/tmp/hf-datasets-cache/medium/datasets/31837353763449-config-parquet-and-info-apcl-funcom-java-long-1b0b1ae9/downloads/d42b7d3130dd02820b64692a8810efdf479c66e589141ea4cfe3cb3bba421716
TDAT: private void fireDownloadCompleted(Command command) { TransferEvent evt = createTransferEvent(command); TransferListener[] listeners = (TransferListener[]) listenerList.getListeners(TransferListener.class); if(listeners.length == 0) { downloadCompletedQueue.add(evt); ...
funcom_train/39252994
/tmp/hf-datasets-cache/medium/datasets/31837353763449-config-parquet-and-info-apcl-funcom-java-long-1b0b1ae9/downloads/d42b7d3130dd02820b64692a8810efdf479c66e589141ea4cfe3cb3bba421716
TDAT: public boolean isUnstyled() { if (this.foreground != null) return false; if (this.background != null) return false; if (this.fontStyle != SWT.NORMAL) return false; if(!this.fontName.equals("宋体")) return false; if(this.font...
funcom_train/32776660
/tmp/hf-datasets-cache/medium/datasets/31837353763449-config-parquet-and-info-apcl-funcom-java-long-1b0b1ae9/downloads/d42b7d3130dd02820b64692a8810efdf479c66e589141ea4cfe3cb3bba421716
TDAT: public Length getLength(int index) { if (index < 0 || index >= size()) { // empty path or invalid index return new Length(); } Length length = new Length(); Position p = getPosition(0); Space space = p.getSpace(); for (int i = 1; i <= index; i++) { Position next = getPosition(i); length =...
funcom_train/51104416
/tmp/hf-datasets-cache/medium/datasets/31837353763449-config-parquet-and-info-apcl-funcom-java-long-1b0b1ae9/downloads/d42b7d3130dd02820b64692a8810efdf479c66e589141ea4cfe3cb3bba421716
TDAT: private String getPropertyMappingName(Element entityMapping, String propertyXmlTag) { for (Iterator it = XMLUtil.getChildren(entityMapping).iterator(); it.hasNext();) { Element propertyMapping = (Element) it.next(); if (propertyXmlTag.equals(propertyMapping.getAttribute("xmlTa...
funcom_train/35361939
/tmp/hf-datasets-cache/medium/datasets/31837353763449-config-parquet-and-info-apcl-funcom-java-long-1b0b1ae9/downloads/d42b7d3130dd02820b64692a8810efdf479c66e589141ea4cfe3cb3bba421716
TDAT: public void config(Configuration config, String prefix, String name) { // for now we will use just one list for anything. This can be modified // by having a map from TokenType to String[] or something.... items = config.getPrefixPropertyList(prefix, name + ".Items"); } COM: <s> ...
funcom_train/5374448
/tmp/hf-datasets-cache/medium/datasets/31837353763449-config-parquet-and-info-apcl-funcom-java-long-1b0b1ae9/downloads/d42b7d3130dd02820b64692a8810efdf479c66e589141ea4cfe3cb3bba421716
TDAT: public void setSelection (int start) { checkWidget (); /* if (!OS.IsUnicode && OS.IsDBLocale) start = wcsToMbcsPos (start); OS.SendMessage (handle, OS.EM_SETSEL, start, start); OS.SendMessage (handle, OS.EM_SCROLLCARET, 0, 0); */ setSelection(start, textHandle.value.length ()); } COM: <s> sets the selecti...
funcom_train/45598604
/tmp/hf-datasets-cache/medium/datasets/31837353763449-config-parquet-and-info-apcl-funcom-java-long-1b0b1ae9/downloads/d42b7d3130dd02820b64692a8810efdf479c66e589141ea4cfe3cb3bba421716
TDAT: private void writeFile(FileInputStream inFile, FileOutputStream outFile) throws IOException { //Buffer is 2 kilobytes byte[] buf = new byte[2048]; int read; //Reads buffering, and stops if should while ((read = inFile.read(buf)) > 0 && !stopped) outFile.writ...
funcom_train/10533011
/tmp/hf-datasets-cache/medium/datasets/31837353763449-config-parquet-and-info-apcl-funcom-java-long-1b0b1ae9/downloads/d42b7d3130dd02820b64692a8810efdf479c66e589141ea4cfe3cb3bba421716
TDAT: private File serializeCBCSS(ControlBeanContextServicesSupport cbcss, String serFileName) throws IOException { File serFile = File.createTempFile(serFileName, "ser"); ObjectOutputStream oos = new ObjectOutputStream(new FileOutputStream(serFile)); oos.writeObject(cbcss); oos.clos...
funcom_train/927623
/tmp/hf-datasets-cache/medium/datasets/31837353763449-config-parquet-and-info-apcl-funcom-java-long-1b0b1ae9/downloads/d42b7d3130dd02820b64692a8810efdf479c66e589141ea4cfe3cb3bba421716
TDAT: public void saveRecentFiles() { //Create directory if it doesnt exist File dir = new File(m_sDirectory); if (!dir.exists()) { dir.mkdir(); } File rmFile = new File(m_sDirectory + m_sFileName); try { ObjectOutputStream oos = new ObjectOutputStream(new FileOutputStream(rmFile)); oo...
funcom_train/50366212
/tmp/hf-datasets-cache/medium/datasets/31837353763449-config-parquet-and-info-apcl-funcom-java-long-1b0b1ae9/downloads/d42b7d3130dd02820b64692a8810efdf479c66e589141ea4cfe3cb3bba421716
TDAT: public Object clone() throws CloneNotSupportedException { MTable clone = (MTable) super.clone(); clone.innerTable = new ArrayList<MethodInfoStructure>(); for(MethodInfoStructure mis : innerTable) { clone.addElement((MethodInfoStructure) mis.clone()); } clone...
funcom_train/1383069
/tmp/hf-datasets-cache/medium/datasets/31837353763449-config-parquet-and-info-apcl-funcom-java-long-1b0b1ae9/downloads/d42b7d3130dd02820b64692a8810efdf479c66e589141ea4cfe3cb3bba421716
TDAT: private PlanningMese getGiugno() { if (giugno == null) { try { giugno = new PlanningMese(PlanningMese.GIUGNO, dbm, listener, padre); giugno.setPreferredSize(new Dimension(600, 300)); // Generated dbm.addDBStateChange(giugno); } catch (java.lang.Throwable e) { // TODO: Something } } ...
funcom_train/50427535
/tmp/hf-datasets-cache/medium/datasets/31837353763449-config-parquet-and-info-apcl-funcom-java-long-1b0b1ae9/downloads/d42b7d3130dd02820b64692a8810efdf479c66e589141ea4cfe3cb3bba421716
TDAT: public List getTuples() { if (sortedTableListCache == null) getSortedTables(); if (sortedTableListCache.size() == 1) return ((Table) sortedTableListCache.get(0)).getTuples(); if (isRemote()) importDatabaseToLocal(); return joinAll(); } COM: <s> this is the outer join funct...
funcom_train/6206453
/tmp/hf-datasets-cache/medium/datasets/31837353763449-config-parquet-and-info-apcl-funcom-java-long-1b0b1ae9/downloads/d42b7d3130dd02820b64692a8810efdf479c66e589141ea4cfe3cb3bba421716
TDAT: protected void processProjectDeltas(IProject project, IResourceDelta delta) throws CoreException { try { handleProjectDeltas(project, delta); if (project.isAccessible()) { IGaijinProject gaijinProject = GaijinCore.getModel().getGaijinProject(project); if (gaijinProject != null) { processAppl...
funcom_train/50084101
/tmp/hf-datasets-cache/medium/datasets/31837353763449-config-parquet-and-info-apcl-funcom-java-long-1b0b1ae9/downloads/d42b7d3130dd02820b64692a8810efdf479c66e589141ea4cfe3cb3bba421716
TDAT: public String toString() { StringBuffer resultString = new StringBuffer(); resultString.append("LonePair("); resultString.append(this.hashCode()); if (atom != null) { resultString.append(", ").append(atom.toString()); } resultString.append(')'); ...
funcom_train/9006110
/tmp/hf-datasets-cache/medium/datasets/31837353763449-config-parquet-and-info-apcl-funcom-java-long-1b0b1ae9/downloads/d42b7d3130dd02820b64692a8810efdf479c66e589141ea4cfe3cb3bba421716
TDAT: public void write(String identifier, String key, String value) { Key dhtKey = new KeyImpl(identifier); HashMap<String, String> data = retrieve(identifier); try { // Clear old value. chord.remove(dhtKey, data); // Append new value to end. data.put(key, value); // Put updated HashMap back in...
funcom_train/14609734
/tmp/hf-datasets-cache/medium/datasets/31837353763449-config-parquet-and-info-apcl-funcom-java-long-1b0b1ae9/downloads/d42b7d3130dd02820b64692a8810efdf479c66e589141ea4cfe3cb3bba421716
TDAT: public void swap(int x1, int y1, int x2, int y2) { int temp = nPuzzleData[y1 * nGridWidth + x1]; nPuzzleData[y1 * nGridWidth + x1] = nPuzzleData[y2 * nGridWidth + x2]; nPuzzleData[y2 * nGridWidth + x2] = temp; ++_counterValue; } COM: <s> swaps two pieces of the puzzle </s>
funcom_train/20884954
/tmp/hf-datasets-cache/medium/datasets/31837353763449-config-parquet-and-info-apcl-funcom-java-long-1b0b1ae9/downloads/d42b7d3130dd02820b64692a8810efdf479c66e589141ea4cfe3cb3bba421716
TDAT: public void testXML() { check(XML, "<root></root>", 0, TestDTOA.class); check(XML, "<TestDTOA><fieldA>a</fieldA><fieldB>b</fieldB></TestDTOA>", 1, TestDTOA.class); } COM: <s> tests full cycle for xml </s>
funcom_train/592883
/tmp/hf-datasets-cache/medium/datasets/31837353763449-config-parquet-and-info-apcl-funcom-java-long-1b0b1ae9/downloads/d42b7d3130dd02820b64692a8810efdf479c66e589141ea4cfe3cb3bba421716
TDAT: private int getKey(NodeEvaluation eval) { Object key = eval.getNode().getTypedValue(); if (key.getClass() != Integer.class) { throw new EvaluationException ("Attempting to index into an array using a non-integer index: " + key); } return (Intege...
funcom_train/5678864
/tmp/hf-datasets-cache/medium/datasets/31837353763449-config-parquet-and-info-apcl-funcom-java-long-1b0b1ae9/downloads/d42b7d3130dd02820b64692a8810efdf479c66e589141ea4cfe3cb3bba421716
TDAT: public void start() { if (DEBUG) System.out.println("Splash.start()"); SwingUtilities.invokeLater( new SplashRunner( this) { public void run() { Dimension d = Toolkit.getDefaultToolkit().getScreenSize(); int width = getSplash().getSize().width; int height = getSplash().getSize().height; ...
funcom_train/21305997
/tmp/hf-datasets-cache/medium/datasets/31837353763449-config-parquet-and-info-apcl-funcom-java-long-1b0b1ae9/downloads/d42b7d3130dd02820b64692a8810efdf479c66e589141ea4cfe3cb3bba421716
TDAT: private JButton getJButton1() { if (jButton1 == null) { jButton1 = new JButton(new ImageIcon(getClass().getResource("/irudiak/g2.png"))); jButton1.setBackground(Color.blue); jButton1.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent e) {...
funcom_train/44717269
/tmp/hf-datasets-cache/medium/datasets/31837353763449-config-parquet-and-info-apcl-funcom-java-long-1b0b1ae9/downloads/d42b7d3130dd02820b64692a8810efdf479c66e589141ea4cfe3cb3bba421716
TDAT: public interface Manipulator { /** * Performs some function on the Property and/or DataObject. * * @param p The Property * @param data The DataObject that p belongs to. * * @pre data.getObjectType.hasProperty(p.getName()); * *...
funcom_train/18255437
/tmp/hf-datasets-cache/medium/datasets/31837353763449-config-parquet-and-info-apcl-funcom-java-long-1b0b1ae9/downloads/d42b7d3130dd02820b64692a8810efdf479c66e589141ea4cfe3cb3bba421716
TDAT: private void createThreads() { if (factory.getThreads() != executors.length) { executors = new ExecutionThread[factory.getThreads()]; for (int i = 0; i < executors.length; i++) { executors[i] = new ExecutionThread(mainStrategy + " thread " + i, mainStrategy); ...
funcom_train/1034097
/tmp/hf-datasets-cache/medium/datasets/31837353763449-config-parquet-and-info-apcl-funcom-java-long-1b0b1ae9/downloads/d42b7d3130dd02820b64692a8810efdf479c66e589141ea4cfe3cb3bba421716
TDAT: public String getDescriptor() { // FIXME: this is not completely accurate at this point (for // example, it knows nothing about the packages for compound // types) if (clazz != null) { return descriptor(clazz); } if (elementType != null) { return "[" + descriptor(elementType....
funcom_train/49247184
/tmp/hf-datasets-cache/medium/datasets/31837353763449-config-parquet-and-info-apcl-funcom-java-long-1b0b1ae9/downloads/d42b7d3130dd02820b64692a8810efdf479c66e589141ea4cfe3cb3bba421716
TDAT: private void copyStream(InputStream inputStream, OutputStream outputStream) throws IOException { byte[] buffer = new byte[10240]; int length = inputStream.read(buffer); int byteCounter = length; while (length > -1) { outputStream.write(buffer, 0, length); length = inputStream.read(buffer); if (l...
funcom_train/18488391
/tmp/hf-datasets-cache/medium/datasets/31837353763449-config-parquet-and-info-apcl-funcom-java-long-1b0b1ae9/downloads/d42b7d3130dd02820b64692a8810efdf479c66e589141ea4cfe3cb3bba421716
TDAT: public void dumpThreadInfo() { System.out.println("Full Java thread dump"); long[] tids = tmbean.getAllThreadIds(); ThreadInfo[] tinfos = tmbean.getThreadInfo(tids, Integer.MAX_VALUE); for (ThreadInfo ti : tinfos) { printThreadInfo(ti); } } COM: <s> prints th...
funcom_train/18304379
/tmp/hf-datasets-cache/medium/datasets/31837353763449-config-parquet-and-info-apcl-funcom-java-long-1b0b1ae9/downloads/d42b7d3130dd02820b64692a8810efdf479c66e589141ea4cfe3cb3bba421716
TDAT: public void shutdown() { // Notify connection listeners of the connection closing if done hasn't already been set. if (!done) { synchronized (connectionListeners) { for (Iterator i=connectionListeners.iterator(); i.hasNext(); ) { ConnectionListen...
funcom_train/31646884
/tmp/hf-datasets-cache/medium/datasets/31837353763449-config-parquet-and-info-apcl-funcom-java-long-1b0b1ae9/downloads/d42b7d3130dd02820b64692a8810efdf479c66e589141ea4cfe3cb3bba421716
TDAT: public void performTextAction(Mobile m, String s){ Mobile target = m.getRoom().findMobile(s); if(target == null) { m.toUser(new MudData("text","That person doesn't exist.")); } else { doCombat(m,target); } } COM: <s> perform the kill action </...
funcom_train/9236047
/tmp/hf-datasets-cache/medium/datasets/31837353763449-config-parquet-and-info-apcl-funcom-java-long-1b0b1ae9/downloads/d42b7d3130dd02820b64692a8810efdf479c66e589141ea4cfe3cb3bba421716
TDAT: protected void fireTrimmed() { final Object[] listenerList = listeners.getListenerList(); for (int i = 0; i < listenerList.length; i += 2) { if (listenerList[i] == IRCDocumentListener.class) { ((IRCDocumentListener) listenerList[i + 1]).trimmed(iterators.size()); ...
funcom_train/45538029
/tmp/hf-datasets-cache/medium/datasets/31837353763449-config-parquet-and-info-apcl-funcom-java-long-1b0b1ae9/downloads/d42b7d3130dd02820b64692a8810efdf479c66e589141ea4cfe3cb3bba421716
TDAT: public void dispose() { fCodeScanner= null; fMultilineCommentScanner= null; fSinglelineCommentScanner= null; fStringScanner= null; fJSCDocScanner= null; if (fColorManager != null) { fColorManager.dispose(); fColorManager= null; } if (fPreferenceStore != null) { fPreferenceStore.remove...
funcom_train/46982209
/tmp/hf-datasets-cache/medium/datasets/31837353763449-config-parquet-and-info-apcl-funcom-java-long-1b0b1ae9/downloads/d42b7d3130dd02820b64692a8810efdf479c66e589141ea4cfe3cb3bba421716
TDAT: public void updateProjectToURL(String url, HashSet<String> userGroupSet) { String urlID = getURLID(url); if(urlID == null) { urlID = getNewValidURLID(); urlHashMap.put(urlID, url); } serviceUrlToUserGroupSet.put(urlID, userGroupSet); } COM: <s> upda...
funcom_train/20110134
/tmp/hf-datasets-cache/medium/datasets/31837353763449-config-parquet-and-info-apcl-funcom-java-long-1b0b1ae9/downloads/d42b7d3130dd02820b64692a8810efdf479c66e589141ea4cfe3cb3bba421716
TDAT: public void testGetActiveSiteEnrollmentByType_ReturnsCommandResult() { String type = "project"; Collection result = service.getActiveSiteEnrollmentByType(userContext1, type); GetActiveSiteEnrollmentByTypeInvoker cmd = (GetActiveSiteEnrollmentByTypeInvoker...
funcom_train/36188794
/tmp/hf-datasets-cache/medium/datasets/31837353763449-config-parquet-and-info-apcl-funcom-java-long-1b0b1ae9/downloads/d42b7d3130dd02820b64692a8810efdf479c66e589141ea4cfe3cb3bba421716
TDAT: public void testErrorReComposeAtomicPlan() throws Exception { CompositionPlan plan; this.activate(compContext); this.setServiceDiscovery(serviceDiscovery); ArrayList<PssService> failedServices = new ArrayList<PssService> (); CompositionPlan newPlan = this.reCo...
funcom_train/34138984
/tmp/hf-datasets-cache/medium/datasets/31837353763449-config-parquet-and-info-apcl-funcom-java-long-1b0b1ae9/downloads/d42b7d3130dd02820b64692a8810efdf479c66e589141ea4cfe3cb3bba421716
TDAT: public void addAll(Collection<? extends TrackedRect> rects) { boolean initialized = false; boolean wasEmpty = false; synchronized (mRectQueue) { initialized = mInitialized; wasEmpty = mRectQueue.isEmpty(); mRectQueue.addAll(rects); } ...
funcom_train/29710324
/tmp/hf-datasets-cache/medium/datasets/31837353763449-config-parquet-and-info-apcl-funcom-java-long-1b0b1ae9/downloads/d42b7d3130dd02820b64692a8810efdf479c66e589141ea4cfe3cb3bba421716
TDAT: public void createTreeViewerComposite(Composite parent) { Composite treeViewerComposite = new Composite(parent, SWT.NONE); GridLayout layout = new GridLayout(); layout.marginWidth = 0; treeViewerComposite.setLayout(layout); GridData gridData = new GridData(GridData.FILL_HORIZONTAL); gridData.horizont...
funcom_train/124364
/tmp/hf-datasets-cache/medium/datasets/31837353763449-config-parquet-and-info-apcl-funcom-java-long-1b0b1ae9/downloads/d42b7d3130dd02820b64692a8810efdf479c66e589141ea4cfe3cb3bba421716
TDAT: public void showPreviousCard() { if (getComponentCount() <= 0) { return; } int index = getVisibleChildIndex(); if (index == -1) { showCard(getComponent(0)); } else if (index == 0) { showCard(getComponent(getComponentCount() - 1)); ...
funcom_train/45389361
/tmp/hf-datasets-cache/medium/datasets/31837353763449-config-parquet-and-info-apcl-funcom-java-long-1b0b1ae9/downloads/d42b7d3130dd02820b64692a8810efdf479c66e589141ea4cfe3cb3bba421716
TDAT: public boolean isPending() { //#if DEBUG==1 logger.print("CONNECT",Logger.INFO, "connect::isPending: httpComplete=" + httpComplete + ";httpState=" + httpState); //#endif if (httpState == H_BUSY) return true; // pending activity return false; ...
funcom_train/5070007
/tmp/hf-datasets-cache/medium/datasets/31837353763449-config-parquet-and-info-apcl-funcom-java-long-1b0b1ae9/downloads/d42b7d3130dd02820b64692a8810efdf479c66e589141ea4cfe3cb3bba421716
TDAT: public void update() { updateButtons(); if (folders != null) { for (Iterator iterator = folders.iterator(); iterator.hasNext();) { TextMarkerPageFolder v = (TextMarkerPageFolder) iterator.next(); if (!v.verify()) { iterator.remove(); } } } fLocatio...
funcom_train/28350359
/tmp/hf-datasets-cache/medium/datasets/31837353763449-config-parquet-and-info-apcl-funcom-java-long-1b0b1ae9/downloads/d42b7d3130dd02820b64692a8810efdf479c66e589141ea4cfe3cb3bba421716
TDAT: protected Component createConfirmBar() { Box confirmBar = new Box( BoxLayout.X_AXIS ); confirmBar.setBorder( BorderFactory.createEtchedBorder() ); confirmBar.add( Box.createHorizontalGlue() ); JButton closeButton = new JButton("Close"); closeButton.addActionListener( new ActionListener() { pub...
funcom_train/9869474
/tmp/hf-datasets-cache/medium/datasets/31837353763449-config-parquet-and-info-apcl-funcom-java-long-1b0b1ae9/downloads/d42b7d3130dd02820b64692a8810efdf479c66e589141ea4cfe3cb3bba421716
TDAT: public void setValue3(Integer newVal) { if ((newVal != null && this.value3 != null && (newVal.compareTo(this.value3) == 0)) || (newVal == null && this.value3 == null && value3_is_initialized)) { return; } this.value3 = newVal; value3_is_modified = true; ...
funcom_train/26455087
/tmp/hf-datasets-cache/medium/datasets/31837353763449-config-parquet-and-info-apcl-funcom-java-long-1b0b1ae9/downloads/d42b7d3130dd02820b64692a8810efdf479c66e589141ea4cfe3cb3bba421716
TDAT: private Cache createCache() { log.info("Creating new cache"); Cache newCache = new Cache(isMemoryCaching(), isUnlimitedDiskCache(), isBlocking(), algorithmClass, cacheCapacity); // Give the cache a name nameCache("applicationCache", newCache); configureStandardListen...
funcom_train/644603
/tmp/hf-datasets-cache/medium/datasets/31837353763449-config-parquet-and-info-apcl-funcom-java-long-1b0b1ae9/downloads/d42b7d3130dd02820b64692a8810efdf479c66e589141ea4cfe3cb3bba421716
TDAT: public void alwaysOnTopStateChanged() { boolean isAlwaysOnTop = frameMain.getCheckBoxMenuItemAlwaysOnTop().isSelected(); frameMain.setAlwaysOnTop(isAlwaysOnTop); persistenceManager.gettIniFile().setValue(PersistenceManager.Sections.Appearance.name(), PersistenceManager.Keys.alwaysOnTop...
funcom_train/3600365
/tmp/hf-datasets-cache/medium/datasets/31837353763449-config-parquet-and-info-apcl-funcom-java-long-1b0b1ae9/downloads/d42b7d3130dd02820b64692a8810efdf479c66e589141ea4cfe3cb3bba421716
TDAT: private Object getField(String columnName, int row) throws SQLException { if (row == -1) { currentRecord++; row = currentRecord; } int iColumnIndex = searchItem(columnName.toUpperCase()); java.util.LinkedList columnData = ((java.util.LinkedList) lstColumnData.get(iColumnIndex - 1)); ...
funcom_train/46617170
/tmp/hf-datasets-cache/medium/datasets/31837353763449-config-parquet-and-info-apcl-funcom-java-long-1b0b1ae9/downloads/d42b7d3130dd02820b64692a8810efdf479c66e589141ea4cfe3cb3bba421716
TDAT: private JCheckBox getDecorateWindowCheckBox() { if (decorateWindowCheckBox == null) { decorateWindowCheckBox = new JCheckBox(); // read from properties String decorateWindow = LocalProperties.getInstance().getProperty(LocalProperties.PROP_SYSTEM_STYLE_DECORATE); decorateWindowCheckBo...
funcom_train/29017207
/tmp/hf-datasets-cache/medium/datasets/31837353763449-config-parquet-and-info-apcl-funcom-java-long-1b0b1ae9/downloads/d42b7d3130dd02820b64692a8810efdf479c66e589141ea4cfe3cb3bba421716
TDAT: public void dispose () { if (tree != null && !tree.isDisposed()) { if (this.column > -1 && this.column < tree.getColumnCount()){ TreeColumn treeColumn = tree.getColumn(this.column); treeColumn.removeControlListener(columnListener); } if (treeListener != null) tree.removeTreeListener(treeListener); }...
funcom_train/9941378
/tmp/hf-datasets-cache/medium/datasets/31837353763449-config-parquet-and-info-apcl-funcom-java-long-1b0b1ae9/downloads/d42b7d3130dd02820b64692a8810efdf479c66e589141ea4cfe3cb3bba421716
TDAT: private void setCartLabel() { final int size = objectLookup.getShoppingCartContents().size(); String text = "There are " + size + " files in your shopping cart."; if (size > MAX_ITEMS_TO_DISPLAY) { text += " Displaying the first " + MAX_ITEMS_TO_DISPLAY + "."; } ...