bugged
stringlengths
6
599k
fixed
stringlengths
6
40.8M
__index_level_0__
int64
0
3.24M
private void addInstrumentationToSingleClass(File file) { logger.debug("Instrumenting class " + file.getAbsolutePath()); InputStream inputStream = null; ClassWriter cw; ClassInstrumenter cv; try { inputStream = new FileInputStream(file); ClassReader cr = new ClassReader(inputStream); cw = new ClassWriter(t...
private void addInstrumentationToSingleClass(File file) { logger.debug("Instrumenting class " + file.getAbsolutePath()); InputStream inputStream = null; ClassWriter cw; ClassInstrumenter cv; try { inputStream = new FileInputStream(file); ClassReader cr = new ClassReader(inputStream); cw = new ClassWriter(t...
3,236,924
private void parseArguments(String[] args) { File dataFile = CoverageDataFileHandler.getDefaultDataFile(); // Parse our parameters List filePaths = new ArrayList(); String baseDir = null; for (int i = 0; i < args.length; i++) { if (args[i].equals("--basedir")) baseDir = args[++i]; else if (args[i].equals(...
private void parseArguments(String[] args) { File dataFile = CoverageDataFileHandler.getDefaultDataFile(); // Parse our parameters List filePaths = new ArrayList(); String baseDir = null; for (int i = 0; i < args.length; i++) { if (args[i].equals("--basedir")) baseDir = args[++i]; else if (args[i].equals(...
3,236,925
private void parseArguments(String[] args) { File dataFile = CoverageDataFileHandler.getDefaultDataFile(); // Parse our parameters List filePaths = new ArrayList(); String baseDir = null; for (int i = 0; i < args.length; i++) { if (args[i].equals("--basedir")) baseDir = args[++i]; else if (args[i].equals(...
private void parseArguments(String[] args) { File dataFile = CoverageDataFileHandler.getDefaultDataFile(); // Parse our parameters List filePaths = new ArrayList(); String baseDir = null; for (int i = 0; i < args.length; i++) { if (args[i].equals("--basedir")) baseDir = args[++i]; else if (args[i].equals(...
3,236,926
private void parseArguments(String[] args) { File dataFile = CoverageDataFileHandler.getDefaultDataFile(); // Parse our parameters List filePaths = new ArrayList(); String baseDir = null; for (int i = 0; i < args.length; i++) { if (args[i].equals("--basedir")) baseDir = args[++i]; else if (args[i].equals(...
private void parseArguments(String[] args) { File dataFile = CoverageDataFileHandler.getDefaultDataFile(); // Parse our parameters List filePaths = new ArrayList(); String baseDir = null; for (int i = 0; i < args.length; i++) { if (args[i].equals("--basedir")) baseDir = args[++i]; else if (args[i].equals(...
3,236,927
public final IRubyObject call(IRubyObject recv, String name, IRubyObject[] args, int scope) { if (args == null) { args = new IRubyObject[0]; } CacheEntry ent = getRuntime().getMethodCache().getEntry(this, name); if (ent == null) { ent = getMethodBody(name); }...
public final IRubyObject call(IRubyObject recv, String name, IRubyObject[] args, int scope) { if (args == null) { args = new IRubyObject[0]; } CacheEntry ent = getRuntime().getMethodCache().getEntry(this, name); if (ent == null) { ent = getMethodBody(name); }...
3,236,928
public final IRubyObject call(IRubyObject recv, String name, IRubyObject[] args, int scope) { if (args == null) { args = new IRubyObject[0]; } CacheEntry ent = getRuntime().getMethodCache().getEntry(this, name); if (ent == null) { ent = getMethodBody(name); }...
ruby.getLastCallStatus().setPrivate(); return callMethodMissing(recv, name, args); ruby.getLastCallStatus().setPrivate(); return callMethodMissing(recv, name, args); ruby.getLastCallStatus().setPrivate(); return callMethodMissing(recv, name, args); ruby.getLastCallStatus().setPrivate(); return callMethodMissing(recv, n...
3,236,929
public final IRubyObject call(IRubyObject recv, String name, IRubyObject[] args, int scope) { if (args == null) { args = new IRubyObject[0]; } CacheEntry ent = getRuntime().getMethodCache().getEntry(this, name); if (ent == null) { ent = getMethodBody(name); }...
ruby.getLastCallStatus().setProtected(); return callMethodMissing(recv, name, args); ruby.getLastCallStatus().setProtected(); return callMethodMissing(recv, name, args); ruby.getLastCallStatus().setProtected(); return callMethodMissing(recv, name, args); ruby.getLastCallStatus().setProtected(); return callMethodMissing...
3,236,930
private void generateOverview(PackageData packageData) throws IOException { Iterator iter; String filename; if (packageData == null) { filename = "frame-summary.html"; } else { filename = "frame-summary-" + packageData.getName() + ".html"; } File file = new File(destinationDir, filename); PrintStream out...
private void generateOverview(PackageData packageData) throws IOException { Iterator iter; String filename; if (packageData == null) { filename = "frame-summary.html"; } else { filename = "frame-summary-" + packageData.getName() + ".html"; } File file = new File(destinationDir, filename); PrintStream out...
3,236,931
private void generateOverview(PackageData packageData) throws IOException { Iterator iter; String filename; if (packageData == null) { filename = "frame-summary.html"; } else { filename = "frame-summary-" + packageData.getName() + ".html"; } File file = new File(destinationDir, filename); PrintStream out...
private void generateOverview(PackageData packageData) throws IOException { Iterator iter; String filename; if (packageData == null) { filename = "frame-summary.html"; } else { filename = "frame-summary-" + packageData.getName() + ".html"; } File file = new File(destinationDir, filename); PrintStream out...
3,236,932
private void generateOverview(PackageData packageData) throws IOException { Iterator iter; String filename; if (packageData == null) { filename = "frame-summary.html"; } else { filename = "frame-summary-" + packageData.getName() + ".html"; } File file = new File(destinationDir, filename); PrintStream out...
private void generateOverview(PackageData packageData) throws IOException { Iterator iter; String filename; if (packageData == null) { filename = "frame-summary.html"; } else { filename = "frame-summary-" + packageData.getName() + ".html"; } File file = new File(destinationDir, filename); PrintStream out...
3,236,933
public void copy(IObject model, ModelMapper mapper) { if (model instanceof CategoryGroup) { CategoryGroup cg = (CategoryGroup) model; super.copy(model,mapper); // Details if (cg.getDetails()!=null){ this.setOwner((ExperimenterData) mapper.findTarg...
public void copy(IObject model, ModelMapper mapper) { if (model instanceof CategoryGroup) { CategoryGroup cg = (CategoryGroup) model; super.copy(model,mapper); // Details if (cg.getDetails()!=null){ this.setOwner((ExperimenterData) mapper.findTarg...
3,236,934
protected void paint(PPaintContext aPaintContext) { double scale = aPaintContext.getScale(); if (scale < Constants.SCALE_THRESHOLD) { params.setVisible(false); modules.setVisible(true); } else { params.setVisible(true); modules.setVisible(false); } }
protected void paint(PPaintContext aPaintContext) { double scale = aPaintContext.getScale(); if (scale < Constants.SCALE_THRESHOLD) { params.setVisible(false); modules.setVisible(true); } else { params.setVisible(true); modules.setVisible(false); } }
3,236,935
public static void main(String args[]) { //@START int n = Integer.parseInt(args[0]); HashMap hash1 = new HashMap(10000); HashMap hash2 = new HashMap(n); for(int i = 0; i < 10000; i++) hash1.put("foo_" + Integer.toString(i, 10), new Val(i)); for(int i = 0; i < n; i++) { Iterator it = hash1.entrySet().iterato...
public static void main(String args[]) { //@START int n = Integer.parseInt(args[0]); HashMap hash1 = new HashMap(10000); HashMap hash2 = new HashMap(n); for(int i = 0; i < 10000; i++) hash1.put("foo_" + Integer.toString(i, 10), new Val(i)); for(int i = 0; i < n; i++) { Iterator it = hash1.entrySet().iterato...
3,236,936
public RubyNumeric op_div(IRubyObject num) { RubyNumeric other = numericValue(num); if (other instanceof RubyFloat) { return RubyFloat.newFloat(getRuntime(), getDoubleValue()).op_div(other); } BigInteger results[] = getValue().divideAndRemainder(bigIntValue(other)); if...
public RubyNumeric op_div(IRubyObject num) { RubyNumeric other = numericValue(num); if (other instanceof RubyFloat) { return RubyFloat.newFloat(getRuntime(), getDoubleValue()).op_div(other); } BigInteger results[] = getValue().divideAndRemainder(bigIntValue(other)); if...
3,236,938
public RubyNumeric op_div(IRubyObject num) { RubyNumeric other = numericValue(num); if (other instanceof RubyFloat) { return RubyFloat.newFloat(getRuntime(), getDoubleValue()).op_div(other); } BigInteger results[] = getValue().divideAndRemainder(bigIntValue(other)); if...
public RubyNumeric op_div(IRubyObject num) { RubyNumeric other = numericValue(num); if (other instanceof RubyFloat) { return RubyFloat.newFloat(getRuntime(), getDoubleValue()).op_div(other); } BigInteger results[] = getValue().divideAndRemainder(bigIntValue(other)); if...
3,236,939
public RubyNumeric op_div(IRubyObject num) { RubyNumeric other = numericValue(num); if (other instanceof RubyFloat) { return RubyFloat.newFloat(getRuntime(), getDoubleValue()).op_div(other); } BigInteger results[] = getValue().divideAndRemainder(bigIntValue(other)); if...
public RubyNumeric op_div(IRubyObject num) { RubyNumeric other = numericValue(num); if (other instanceof RubyFloat) { return RubyFloat.newFloat(getRuntime(), getDoubleValue()).op_div(other); } BigInteger results[] = getValue().divideAndRemainder(bigIntValue(other)); if...
3,236,940
public RubyNumeric op_mul(IRubyObject num) { RubyNumeric other = numericValue(num); if (other instanceof RubyFloat) { return RubyFloat.newFloat(getRuntime(), getDoubleValue()).op_mul(other); } return bigNorm(getRuntime(), getValue().multiply(bigIntValue(other))); }
public RubyNumeric op_mul(IRubyObject num) { RubyNumeric other = numericValue(num); if (other instanceof RubyFloat) { return RubyFloat.newFloat(getRuntime(), getDoubleValue()).op_mul(other); } return bigNorm(getRuntime(), getValue().multiply(bigIntValue(other))); }
3,236,941
public Thumbnail(Integer attributeId, String path, String mimeType, org.openmicroscopy.omero.model.Image image, org.openmicroscopy.omero.model.Repository repository, org.openmicroscopy.omero.model.ModuleExecution moduleExecution) { this.attributeId = attributeId; this.path = path; this.mimeType...
public Thumbnail(Integer attributeId, String path, String mimeType, org.openmicroscopy.omero.model.Image image, org.openmicroscopy.omero.model.Repository repository, org.openmicroscopy.omero.model.ModuleExecution moduleExecution) { this.attributeId = attributeId; this.path = path; this.mimeType...
3,236,942
public org.openmicroscopy.omero.model.Image getImage() { return this.image; }
public Image getImage() { return this.image; }
3,236,943
public org.openmicroscopy.omero.model.ModuleExecution getModuleExecution() { return this.moduleExecution; }
public ModuleExecution getModuleExecution() { return this.moduleExecution; }
3,236,944
public org.openmicroscopy.omero.model.Repository getRepository() { return this.repository; }
public Repository getRepository() { return this.repository; }
3,236,945
public void setImage(org.openmicroscopy.omero.model.Image image) { this.image = image; }
public void setImage(Image image) { this.image = image; }
3,236,946
public void setModuleExecution(org.openmicroscopy.omero.model.ModuleExecution moduleExecution) { this.moduleExecution = moduleExecution; }
public void setModuleExecution(ModuleExecution moduleExecution) { this.moduleExecution = moduleExecution; }
3,236,947
public void setRepository(org.openmicroscopy.omero.model.Repository repository) { this.repository = repository; }
public void setRepository(Repository repository) { this.repository = repository; }
3,236,948
public void raise(RubyException exc) { // TODO: How do we raise the exception from the target thread // (as opposed to the calling thread)? //throw exc; }
throw new NotImplementedError(); public void raise(RubyException exc) {throw new NotImplementedError(); throw new NotImplementedError(); // TODO: How do we raise the exception from the target threadthrow new NotImplementedError(); throw new NotImplementedError(); // (as opposed to the calling thread)?throw new Not...
3,236,949
protected static RubyThread startThread(final IRubyObject recv, final IRubyObject[] args, boolean callInit) { if (!recv.getRuntime().isBlockGiven()) { System.out.println("No block given to thread!"); } final RubyThread result = new RubyThread(recv.getRuntime(), (RubyClass) recv); ...
protected static RubyThread startThread(final IRubyObject recv, final IRubyObject[] args, boolean callInit) { if (!recv.getRuntime().isBlockGiven()) { System.out.println("No block given to thread!"); } final RubyThread result = new RubyThread(recv.getRuntime(), (RubyClass) recv); ...
3,236,950
public void init() { // Test data : calculated before to not change times. if (!initialized) { super.init(); imgsPDI = getPercentOfCollection(allImgs, percent); imgsCGCI = getPercentOfCollection(allImgs, percent); imgsAnn1 = getPercentOfCollection(allImgs, p...
public OMEData init() { // Test data : calculated before to not change times. if (!initialized) { super.init(); imgsPDI = getPercentOfCollection(allImgs, percent); imgsCGCI = getPercentOfCollection(allImgs, percent); imgsAnn1 = getPercentOfCollection(allImgs...
3,236,951
private void broadcastToGroup(ContactGroup group) { StringBuffer buf = new StringBuffer(); InputDialog dialog = new InputDialog(); final String messageText = dialog.getInput(Res.getString("title.broadcast.message"), Res.getString("message.broadcast.to", group.getGroupName()), SparkRes.getImageI...
private void broadcastToGroup(ContactGroup group) { StringBuffer buf = new StringBuffer(); InputDialog dialog = new InputDialog(); final String messageText = dialog.getInput(Res.getString("title.broadcast.message"), Res.getString("message.broadcast.to", group.getGroupName()), SparkRes.getImageI...
3,236,953
public RubyClass getInternalClass() { if (isNil()) { return getRuby().getClasses().getNilClass(); } return rubyClass; }
publicRubyClassgetInternalClass(){if(isNil()){returngetRuby().getClasses().getNilClass();}returnrubyClass;}
3,236,954
public boolean isKindOf(RubyModule type) { RubyClass currType = getInternalClass(); while (currType != null) { if (currType == type || currType.getMethods().keySet().containsAll(type.getMethods().keySet())) { return true; } currType = currType.getSuperCl...
public boolean isKindOf(RubyModule type) { RubyClass currType = getInternalClass(); while (currType != null) { if (currType == type || currType.getMethods().keySet().containsAll(type.getMethods().keySet())) { return true; } currType = currType.getSuperCl...
3,236,955
public Object invoke( InvocationContext context ) throws Exception { return wrap( context, "&pixelsService" ); // FIXME }
public Object invoke( InvocationContext context ) throws Exception { return wrap( context, IPixels.class ); // FIXME }
3,236,956
public void setPixelsId( long pixelsId ) { if ( id == null || id.longValue() != pixelsId ) { id = new Long( pixelsId ); pixelsInstance = null; buffer = null; IPixels metadataService = (IPixels) serviceFactory.getContext() .getBean(IPixels.c...
public void setPixelsId( long pixelsId ) { if ( id == null || id.longValue() != pixelsId ) { id = new Long( pixelsId ); pixelsInstance = null; buffer = null; IPixels metadataService = (IPixels) serviceFactory.getContext() .getBean(IPixels.c...
3,236,957
public IRubyObject setValue(IRubyObject newValue) { assert newValue != null; throw newValue.getRuntime().newNameError(name + " is a read-only variable"); }
public IRubyObject setValue(IRubyObject newValue) { assert newValue != null; throw newValue.getRuntime().newNameError(name + " is a read-only variable", name); }
3,236,958
public static void main(String[] args) throws Exception { long startTime = System.currentTimeMillis(); LongOpt[] longOpts = new LongOpt[4]; longOpts[0] = new LongOpt("format", LongOpt.REQUIRED_ARGUMENT, null, 'f'); longOpts[1] = new LongOpt("instrumentation", LongOpt.REQUIRED_ARGUMENT, null, 'i'); longOpts[...
public static void main(String[] args) throws Exception { long startTime = System.currentTimeMillis(); LongOpt[] longOpts = new LongOpt[4]; longOpts[0] = new LongOpt("format", LongOpt.REQUIRED_ARGUMENT, null, 'f'); longOpts[1] = new LongOpt("instrumentation", LongOpt.REQUIRED_ARGUMENT, null, 'i'); longOpts[...
3,236,959
public static void main(String[] args) throws Exception { long startTime = System.currentTimeMillis(); LongOpt[] longOpts = new LongOpt[4]; longOpts[0] = new LongOpt("format", LongOpt.REQUIRED_ARGUMENT, null, 'f'); longOpts[1] = new LongOpt("instrumentation", LongOpt.REQUIRED_ARGUMENT, null, 'i'); longOpts[...
public static void main(String[] args) throws Exception { long startTime = System.currentTimeMillis(); LongOpt[] longOpts = new LongOpt[4]; longOpts[0] = new LongOpt("format", LongOpt.REQUIRED_ARGUMENT, null, 'f'); longOpts[1] = new LongOpt("instrumentation", LongOpt.REQUIRED_ARGUMENT, null, 'i'); longOpts[...
3,236,960
public void setProperties(Set properties) { this.properties = properties; }
public void setProperties(Set properties) { this.properties = properties; }
3,236,961
public Set findCGCPaths(@NotNull @Validate(Long.class) Set imgIds, String algorithm, Map options) { if (imgIds.size()==0){ return new HashSet(); } if (! IPojos.ALGORITHMS.contains(algorithm)) { throw new IllegalArgumentException( "No such algorithm known:"+algorithm); } PojoOptions po = new ...
public Set findCGCPaths(@NotNull @Validate(Long.class) Set imgIds, String algorithm, Map options) { if (imgIds.size()==0){ return new HashSet(); } if (! IPojos.ALGORITHMS.contains(algorithm)) { throw new IllegalArgumentException( "No such algorithm known:"+algorithm); } PojoOptions po = new ...
3,236,962
public Set findCGCPaths(@NotNull @Validate(Long.class) Set imgIds, String algorithm, Map options) { if (imgIds.size()==0){ return new HashSet(); } if (! IPojos.ALGORITHMS.contains(algorithm)) { throw new IllegalArgumentException( "No such algorithm known:"+algorithm); } PojoOptions po = new ...
public Set findCGCPaths(@NotNull @Validate(Long.class) Set imgIds, String algorithm, Map options) { if (imgIds.size()==0){ return new HashSet(); } if (! IPojos.ALGORITHMS.contains(algorithm)) { throw new IllegalArgumentException( "No such algorithm known:"+algorithm); } PojoOptions po = new ...
3,236,963
public Set findCGCPaths(@NotNull @Validate(Long.class) Set imgIds, String algorithm, Map options) { if (imgIds.size()==0){ return new HashSet(); } if (! IPojos.ALGORITHMS.contains(algorithm)) { throw new IllegalArgumentException( "No such algorithm known:"+algorithm); } PojoOptions po = new ...
public Set findCGCPaths(@NotNull @Validate(Long.class) Set imgIds, String algorithm, Map options) { if (imgIds.size()==0){ return new HashSet(); } if (! IPojos.ALGORITHMS.contains(algorithm)) { throw new IllegalArgumentException( "No such algorithm known:"+algorithm); } PojoOptions po = new ...
3,236,964
public Set findCGCPaths(@NotNull @Validate(Long.class) Set imgIds, String algorithm, Map options) { if (imgIds.size()==0){ return new HashSet(); } if (! IPojos.ALGORITHMS.contains(algorithm)) { throw new IllegalArgumentException( "No such algorithm known:"+algorithm); } PojoOptions po = new ...
publicProxyCleanupFilter filter = new ProxyCleanupFilter(); SetProxyCleanupFilter filter = new ProxyCleanupFilter(); findCGCPaths(@NotNullProxyCleanupFilter filter = new ProxyCleanupFilter(); @Validate(Long.class)ProxyCleanupFilter filter = new ProxyCleanupFilter(); SetProxyCleanupFilter filter = new ProxyCleanupFilte...
3,236,965
void loadRefreshedData(List nodes) { Class klass = null; if (browserType == Browser.PROJECT_EXPLORER) klass = ProjectData.class; else if (browserType == Browser.CATEGORY_EXPLORER) klass = CategoryGroupData.class; if (klass == null) return; state = Browser.LOADING_DA...
void loadRefreshedData(List nodes, List expandedTopNodes) { Class klass = null; if (browserType == Browser.PROJECT_EXPLORER) klass = ProjectData.class; else if (browserType == Browser.CATEGORY_EXPLORER) klass = CategoryGroupData.class; if (klass == null) return; sta...
3,236,967
void loadRefreshedData(List nodes) { Class klass = null; if (browserType == Browser.PROJECT_EXPLORER) klass = ProjectData.class; else if (browserType == Browser.CATEGORY_EXPLORER) klass = CategoryGroupData.class; if (klass == null) return; state = Browser.LOADING_DA...
void loadRefreshedData(List nodes) { Class klass = null; if (browserType == Browser.PROJECT_EXPLORER) klass = ProjectData.class; else if (browserType == Browser.CATEGORY_EXPLORER) klass = CategoryGroupData.class; if (klass == null) return; state = Browser.LOADING_DA...
3,236,968
public static List loadAllArticlesInFolder(File folder) throws XmlException, IOException{ List list = new ArrayList(); File[] articleFile = folder.listFiles(); if(articleFile!=null){ for(int i=0;i<articleFile.length;i++){ System.out.println("Attempting to load "+articleFile[i].toString()); ArticleItemBe...
public static List loadAllArticlesInFolder(File folder) throws XmlException, IOException{ List list = new ArrayList(); File[] articleFile = folder.listFiles(); if(articleFile!=null){ for(int i=0;i<articleFile.length;i++){ System.out.println("Attempting to load "+articleFile[i].toString()); ArticleItemBe...
3,236,969
public static List loadAllArticlesInFolder(File folder) throws XmlException, IOException{ List list = new ArrayList(); File[] articleFile = folder.listFiles(); if(articleFile!=null){ for(int i=0;i<articleFile.length;i++){ System.out.println("Attempting to load "+articleFile[i].toString()); ArticleItemBe...
public static List loadAllArticlesInFolder(File folder) throws XmlException, IOException{ List list = new ArrayList(); File[] articleFile = folder.listFiles(); if(articleFile!=null){ for(int i=0;i<articleFile.length;i++){ System.out.println("Attempting to load "+articleFile[i].toString()); ArticleItemBe...
3,236,970
public static List loadAllArticlesInFolder(File folder) throws XmlException, IOException{ List list = new ArrayList(); File[] articleFile = folder.listFiles(); if(articleFile!=null){ for(int i=0;i<articleFile.length;i++){ System.out.println("Attempting to load "+articleFile[i].toString()); ArticleItemBe...
public static List loadAllArticlesInFolder(File folder) throws XmlException, IOException{ List list = new ArrayList(); File[] articleFile = folder.listFiles(); if(articleFile!=null){ for(int i=0;i<articleFile.length;i++){ System.out.println("Attempting to load "+articleFile[i].toString()); ArticleItemBe...
3,236,971
public void updateDataModel(Integer start, Integer rows) { if (_dataModel == null) { _dataModel = new WFDataModel(); } int availableRows = 0; ArticleItemBean[] articleItemBean; try { articleItemBean = (ArticleItemBean[])loadAllArticlesInFolder(new File("/Test/article/")).toArray(new ArticleItemBean[0]); ava...
public void updateDataModel(Integer start, Integer rows) { if (_dataModel == null) { _dataModel = new WFDataModel(); } int availableRows = 0; ArticleItemBean[] articleItemBean; try { articleItemBean = (ArticleItemBean[])loadAllArticlesInFolder(new File("/Test/article/")).toArray(new ArticleItemBean[0]); ava...
3,236,972
public void updateDataModel(Integer start, Integer rows) { if (_dataModel == null) { _dataModel = new WFDataModel(); } int availableRows = 0; ArticleItemBean[] articleItemBean; try { articleItemBean = (ArticleItemBean[])loadAllArticlesInFolder(new File("/Test/article/")).toArray(new ArticleItemBean[0]); ava...
public void updateDataModel(Integer start, Integer rows) { if (_dataModel == null) { _dataModel = new WFDataModel(); } int availableRows = 0; ArticleItemBean[] articleItemBean; try { articleItemBean = (ArticleItemBean[])loadAllArticlesInFolder(new File("/Test/article/")).toArray(new ArticleItemBean[0]); ava...
3,236,973
public IRubyObject op_cmp(IRubyObject other) { if (other.isNil()) { return other; } if (other instanceof RubyTime) { return getRuntime().newFixnum(cmp((RubyTime) other)); } long millis = getTimeInMillis(); if (other instanceof Ruby...
public IRubyObject op_cmp(IRubyObject other) { if (other.isNil()) { return other; } if (other instanceof RubyTime) { return getRuntime().newFixnum(cmp((RubyTime) other)); } long millis = getTimeInMillis(); if (other instanceof Ruby...
3,236,974
public IRubyObject op_cmp(IRubyObject other) { if (other.isNil()) { return other; } if (other instanceof RubyTime) { return getRuntime().newFixnum(cmp((RubyTime) other)); } long millis = getTimeInMillis(); if (other instanceof Ruby...
public IRubyObject op_cmp(IRubyObject other) { if (other.isNil()) { return other; } if (other instanceof RubyTime) { return getRuntime().newFixnum(cmp((RubyTime) other)); } long millis = getTimeInMillis(); if (other instanceof Ruby...
3,236,975
public IRubyObject op_cmp(IRubyObject other) { if (other.isNil()) { return other; } if (other instanceof RubyTime) { return getRuntime().newFixnum(cmp((RubyTime) other)); } long millis = getTimeInMillis(); if (other instanceof Ruby...
public IRubyObject op_cmp(IRubyObject other) { if (other.isNil()) { return other; } if (other instanceof RubyTime) { return getRuntime().newFixnum(cmp((RubyTime) other)); } long millis = getTimeInMillis(); if (other instanceof Ruby...
3,236,976
public IRubyObject op_cmp(IRubyObject other) { if (other.isNil()) { return other; } if (other instanceof RubyTime) { return getRuntime().newFixnum(cmp((RubyTime) other)); } long millis = getTimeInMillis(); if (other instanceof Ruby...
public IRubyObject op_cmp(IRubyObject other) { if (other.isNil()) { return other; } if (other instanceof RubyTime) { return getRuntime().newFixnum(cmp((RubyTime) other)); } long millis = getTimeInMillis(); if (other instanceof Ruby...
3,236,977
public IRubyObject op_cmp(IRubyObject other) { if (other.isNil()) { return other; } if (other instanceof RubyTime) { return getRuntime().newFixnum(cmp((RubyTime) other)); } long millis = getTimeInMillis(); if (other instanceof Ruby...
public IRubyObject op_cmp(IRubyObject other) { if (other.isNil()) { return other; } if (other instanceof RubyTime) { return getRuntime().newFixnum(cmp((RubyTime) other)); } long millis = getTimeInMillis(); if (other instanceof Ruby...
3,236,978
protected void onDisplayChange(TreeImageDisplay selectedDisplay) { if (selectedDisplay == null) { setEnabled(false); return; } if (selectedDisplay.getParentDisplay() == null) { //root name = BROWSE; setEnabled(model.getSelectedBrowser().getBrowserT...
protected void onDisplayChange(TreeImageDisplay selectedDisplay) { if (selectedDisplay == null) { setEnabled(false); return; } if (selectedDisplay.getParentDisplay() == null) { //root name = BROWSE; setEnabled(model.getSelectedBrowser().getBrowserT...
3,236,979
private String keyName(IRubyObject key) { String name; if (key instanceof RubySymbol) { name = key.asSymbol(); } else if (key instanceof RubyString) { name = ((RubyString) key).getValue(); } else { throw getRuntime().newArgumentError(key.inspect() + " is ...
private String keyName(IRubyObject key) { String name; if (key instanceof RubySymbol) { name = key.asSymbol(); } else if (key instanceof RubyString) { name = ((RubyString) key).toString(); } else { throw getRuntime().newArgumentError(key.inspect() + " is ...
3,236,980
private PixelsStats makeStats(StackStatistics s, PixelsDimensions d) { double gMin = 0; double gMax = 1; double min, max; PixelsStats ps = new PixelsStats(d.sizeW, d.sizeT); //TODO: Need Polymorphic stats. for (int w = 0; w < d.sizeW; w++) { for (int t = 0; t < d.sizeT; t++) { min = s.minimum[w][t]; max ...
private PixelsStats makeStats(StackStatistics s, PixelsDimensions d) { double gMin = 0; double gMax = 1; double min, max; PixelsStats ps = new PixelsStats(d.sizeW, d.sizeT); //TODO: Need Polymorphic stats. for (int w = 0; w < d.sizeW; w++) { for (int t = 0; t < d.sizeT; t++) { min = s.minimum[w][t]; max ...
3,236,981
public void addNote(Event e) { DisplayedNote parentDisplayed = dd.getTree().getSelectedNote(); Note parentNote = parentDisplayed.getNote(); Note newNote = new Note("new", parentNote, ""); new DisplayedNote(parentDisplayed, newNote); }
public void addNote(Event e) { DisplayedNote parentDisplayed = dd.getTree().getSelectedNote(); Note parentNote = parentDisplayed.getNote(); Note newNote = new Note("new", parentNote, ""); new DisplayedNote(parentDisplayed, newNote); }
3,236,984
public void removeNotes(Event e) { for (DisplayedNote removeMe : dd.getTree().getSelectedNotes()) { removeMe.deleteSelfAndChildren(); } }
public void removeNotes(Event e) { for (DisplayedNote removeMe : dd.getTree().getSelectedNotes()) { removeMe.deleteSelfAndChildren(); } }
3,236,985
public void renameNote(Event e) { dd.getTree().initialiseTreeEditor(); }
public void renameNote(Event e) { dd.getTree().initialiseTreeEditor(); }
3,236,986
public void scaleChanged(Scale newScale);
public void scaleChanged(Scale newScale);
3,236,987
private static int[] getColor(Channel channel) { int emWave = channel.getLogicalChannel().getEmissionWave().intValue(); if (rangeBlue(emWave)) return BLUE_COLOR; if (rangeGreen(emWave)) return GREEN_COLOR; if (rangeRed(emWave)) return RED_COLOR; return null; }
private static Color getColor(Channel channel) { int emWave = channel.getLogicalChannel().getEmissionWave().intValue(); if (rangeBlue(emWave)) return BLUE_COLOR; if (rangeGreen(emWave)) return GREEN_COLOR; if (rangeRed(emWave)) return RED_COLOR; return null; }
3,236,988
public IRubyObject instance_eval(IRubyObject[] args) { if (runtime.isBlockGiven()) { RubyProc proc = RubyProc.newProc(getRuntime()); return proc.call(args, this); } else { return specificEval(getSingletonClass(), args); } }
public IRubyObject instance_eval(IRubyObject[] args) { /* if (runtime.isBlockGiven()) { RubyProc proc = RubyProc.newProc(getRuntime()); return proc.call(args, this); } else { return specificEval(getSingletonClass(), args); } }
3,236,989
public IRubyObject instance_eval(IRubyObject[] args) { if (runtime.isBlockGiven()) { RubyProc proc = RubyProc.newProc(getRuntime()); return proc.call(args, this); } else { return specificEval(getSingletonClass(), args); } }
public IRubyObject instance_eval(IRubyObject[] args) { if (runtime.isBlockGiven()) { RubyProc proc = RubyProc.newProc(getRuntime()); return proc.call(args, this); } else { */ return specificEval(getSingletonClass(), args); } }
3,236,990
public IRubyObject instance_eval(IRubyObject[] args) { if (runtime.isBlockGiven()) { RubyProc proc = RubyProc.newProc(getRuntime()); return proc.call(args, this); } else { return specificEval(getSingletonClass(), args); } }
public IRubyObject instance_eval(IRubyObject[] args) { if (runtime.isBlockGiven()) { RubyProc proc = RubyProc.newProc(getRuntime()); return proc.call(args, this); else { return specificEval(getSingletonClass(), args); }
3,236,991
public PojosGetImagesQueryDefinition(QueryParameter... parameters) { super(parameters); }
public PojosGetImagesQueryDefinition(QueryParameter... parameters) { super( defs, parameters ); }
3,236,992
public Query lookup(String queryID, QueryParameter...parameters) { Query q = null; try { Class klass = Class.forName(queryID); Constructor c = klass.getConstructor(QueryParameter[].class); q = (Query) c.newInstance(new Object[]{parameters}); } catch (C...
public Query lookup(String queryID, QueryParameter...parameters) { Query q = null; try { Class klass = Class.forName(queryID); Constructor c = klass.getConstructor(QueryParameter[].class); q = (Query) c.newInstance(new Object[]{parameters}); } catch (C...
3,236,993
public Object evaluate(Context context) throws PropertyException { Object ret; boolean timing = context.isTiming(); if (timing) context.startTiming(myName); ret = myBlock.evaluate(context); if (timing) context.stopTiming(); return ret; }
public Object evaluate(Context context) throws PropertyException { Object ret; boolean timing = context.isTiming(); if (timing) context.startTiming(myName); ret = myBlock.evaluate(context); if (timing) context.stopTiming(); return ret; }
3,236,994
public void display() { // for now if (errors == null) return; Iterator iter = errors.iterator(); String res = new String(); HashMap nodes = new HashMap(); DefaultMutableTreeNode classNode; DefaultMutableTreeNode objNode; DefaultMutableTreeNode root = new DefaultMutableTreeNode(); while (iter.hasNext()...
public void display() { // for now if (errors == null) return; Iterator iter = errors.iterator(); String res = new String(); HashMap nodes = new HashMap(); DefaultMutableTreeNode classNode; DefaultMutableTreeNode objNode; DefaultMutableTreeNode root = new DefaultMutableTreeNode(); while (iter.hasNext()...
3,236,995
public void setUp() { outStream = new PrintStream(new ByteArrayOutputStream()); }
public void setUp() { outStream = new PrintStream(new ByteArrayOutputStream()); }
3,236,997
public void testHelpDoesNotRunIntepreter() { String[] args = new String[] { "-h" }; CommandlineParser parser = new CommandlineParser(args, outStream); assertFalse(parser.isShouldRunInterpreter()); }
public void testHelpDoesNotRunIntepreter() { String[] args = new String[] { "-h" }; CommandlineParser parser = new CommandlineParser(new Main(System.in, out, err), args); assertFalse(parser.isShouldRunInterpreter()); }
3,236,998
public void testParsing() { CommandlineParser c = new CommandlineParser(new String[] { "-e", "hello", "-e", "world" }, outStream); assertEquals("hello\nworld\n", c.inlineScript()); assertNull(c.getScriptFileName()); assertEquals("-e", c.displayedFileName()); c = new CommandlinePar...
public void testParsing() { CommandlineParser c = new CommandlineParser(new Main(System.in, out, err), new String[] { "-e", "hello", "-e", "world" }); assertEquals("hello\nworld\n", c.inlineScript()); assertNull(c.getScriptFileName()); assertEquals("-e", c.displayedFileName()); c ...
3,236,999
public void testParsing() { CommandlineParser c = new CommandlineParser(new String[] { "-e", "hello", "-e", "world" }, outStream); assertEquals("hello\nworld\n", c.inlineScript()); assertNull(c.getScriptFileName()); assertEquals("-e", c.displayedFileName()); c = new CommandlinePar...
public void testParsing() { CommandlineParser c = new CommandlineParser(new String[] { "-e", "hello", "-e", "world" }, outStream); assertEquals("hello\nworld\n", c.inlineScript()); assertNull(c.getScriptFileName()); assertEquals("-e", c.displayedFileName()); c = new CommandlinePar...
3,237,000
public void testParsing() { CommandlineParser c = new CommandlineParser(new String[] { "-e", "hello", "-e", "world" }, outStream); assertEquals("hello\nworld\n", c.inlineScript()); assertNull(c.getScriptFileName()); assertEquals("-e", c.displayedFileName()); c = new CommandlinePar...
public void testParsing() { CommandlineParser c = new CommandlineParser(new String[] { "-e", "hello", "-e", "world" }, outStream); assertEquals("hello\nworld\n", c.inlineScript()); assertNull(c.getScriptFileName()); assertEquals("-e", c.displayedFileName()); c = new CommandlinePar...
3,237,001
public void testParsing() { CommandlineParser c = new CommandlineParser(new String[] { "-e", "hello", "-e", "world" }, outStream); assertEquals("hello\nworld\n", c.inlineScript()); assertNull(c.getScriptFileName()); assertEquals("-e", c.displayedFileName()); c = new CommandlinePar...
public void testParsing() { CommandlineParser c = new CommandlineParser(new String[] { "-e", "hello", "-e", "world" }, outStream); assertEquals("hello\nworld\n", c.inlineScript()); assertNull(c.getScriptFileName()); assertEquals("-e", c.displayedFileName()); c = new CommandlinePar...
3,237,002
public void testParsingWithDashDash() { class TestableCommandlineParser extends CommandlineParser { public TestableCommandlineParser(String[] arguments) { super(arguments, outStream); } protected void systemExit() { throw new IllegalStateException("Real Commandlin...
public void testParsingWithDashDash() { class TestableCommandlineParser extends CommandlineParser { public TestableCommandlineParser(String[] arguments) { super(arguments, outStream); } protected void systemExit() { throw new IllegalStateException("Real Commandlin...
3,237,003
public TestableCommandlineParser(String[] arguments) { super(arguments, outStream); }
public TestableCommandlineParser(String[] arguments) { super(new Main(System.in, out, err), arguments); }
3,237,004
public void testPrintVersionDoesNotRunInterpreter() { String[] args = new String[] { "-v" }; CommandlineParser parser = new CommandlineParser(args, outStream); assertTrue(parser.isShowVersion()); assertFalse(parser.isShouldRunInterpreter()); args = new String[] { "--version" }; ...
public void testPrintVersionDoesNotRunInterpreter() { String[] args = new String[] { "-v" }; CommandlineParser parser = new CommandlineParser(new Main(System.in, out, err), args); assertTrue(parser.isShowVersion()); assertFalse(parser.isShouldRunInterpreter()); args = new String[]...
3,237,005
public void testPrintVersionDoesNotRunInterpreter() { String[] args = new String[] { "-v" }; CommandlineParser parser = new CommandlineParser(args, outStream); assertTrue(parser.isShowVersion()); assertFalse(parser.isShouldRunInterpreter()); args = new String[] { "--version" }; ...
public void testPrintVersionDoesNotRunInterpreter() { String[] args = new String[] { "-v" }; CommandlineParser parser = new CommandlineParser(new Main(System.in, out, err), args); assertTrue(parser.isShowVersion()); assertFalse(parser.isShouldRunInterpreter()); args = new String[]...
3,237,006
public String getRedirectURI(IWActionURI uri) { //todo set to previewer or editor depending on action //todo register actions as subnodes of article String action = uri.getActionPart(); String subjectParameterName = ContentViewer.PARAMETER_CONTENT_RESOURCE; StringBuffer redirectURI = new StringBuffer(); redire...
public String getRedirectURI(IWActionURI uri) { //todo set to previewer or editor depending on action //todo register actions as subnodes of article String action = uri.getActionPart(); String subjectParameterName = ContentViewer.PARAMETER_CONTENT_RESOURCE; StringBuffer redirectURI = new StringBuffer(); redire...
3,237,007
public IRubyObject callSuper(IRubyObject[] args) { Frame frame = getCurrentFrame(); if (frame.getLastClass() == null) { throw runtime.newNameError("superclass method '" + frame.getLastFunc() + "' must be enabled by enableSuper()."); } iterStack.push(getCurrentIter().isNot() ...
public IRubyObject callSuper(IRubyObject[] args) { Frame frame = getCurrentFrame(); if (frame.getLastClass() == null) { throw runtime.newNameError("superclass method '" + frame.getLastFunc() + "' must be enabled by enableSuper()."); } iterStack.push(getCurrentIter().isNot() ...
3,237,009
public void preDefMethodInternalCall(RubyModule implementationClass, IRubyObject recv, String name, IRubyObject[] args, boolean noSuper) { pushIter(getCurrentIter().isPre() ? Iter.ITER_CUR : Iter.ITER_NOT); pushFrame(recv, args, name, noSuper ? null : implementationClass); getCurrentFrame().new...
public void preDefMethodInternalCall(IRubyObject recv, String name, IRubyObject[] args, boolean noSuper, SinglyLinkedList cref) { RubyModule implementationClass = (RubyModule)cref.getValue(); setCRef(cref); pushIter(getCurrentIter().isPre() ? Iter.ITER_CUR : Iter.ITER_NOT); pushFrame(recv, args, name,...
3,237,015
public void preDefMethodInternalCall(RubyModule implementationClass, IRubyObject recv, String name, IRubyObject[] args, boolean noSuper) { pushIter(getCurrentIter().isPre() ? Iter.ITER_CUR : Iter.ITER_NOT); pushFrame(recv, args, name, noSuper ? null : implementationClass); getCurrentFrame().new...
public void preDefMethodInternalCall(RubyModule implementationClass, IRubyObject recv, String name, IRubyObject[] args, boolean noSuper) { pushIter(getCurrentIter().isPre() ? Iter.ITER_CUR : Iter.ITER_NOT); pushFrame(recv, args, name, noSuper ? null : implementationClass); getCurrentFrame().new...
3,237,016
public void preDirectInvokeMethodInternalCall(RubyModule implementationClass, IRubyObject recv, String name, IRubyObject[] args, boolean noSuper) { pushRubyClass(implementationClass.parentModule); pushIter(getCurrentIter().isPre() ? Iter.ITER_CUR : Iter.ITER_NOT); pushFrame(recv, args, name, no...
public void preDirectInvokeMethodInternalCall(RubyModule implementationClass, IRubyObject recv, String name, IRubyObject[] args, boolean noSuper) { pushRubyClass((RubyModule)implementationClass.getCRef().getValue()); pushIter(getCurrentIter().isPre() ? Iter.ITER_CUR : Iter.ITER_NOT); pushFrame(...
3,237,017
public void preMethodCall(RubyModule implementationClass, IRubyObject recv, String name, IRubyObject[] args, boolean noSuper) { pushRubyClass(implementationClass.parentModule); pushIter(getCurrentIter().isPre() ? Iter.ITER_CUR : Iter.ITER_NOT); pushFrame(recv, args, name, noSuper ? null : imple...
public void preMethodCall(RubyModule implementationClass, IRubyObject recv, String name, IRubyObject[] args, boolean noSuper) { pushRubyClass((RubyModule)implementationClass.getCRef().getValue()); pushIter(getCurrentIter().isPre() ? Iter.ITER_CUR : Iter.ITER_NOT); pushFrame(recv, args, name, no...
3,237,019
public void preReflectedMethodInternalCall(RubyModule implementationClass, IRubyObject recv, String name, IRubyObject[] args, boolean noSuper) { pushRubyClass(implementationClass.parentModule); pushIter(getCurrentIter().isPre() ? Iter.ITER_CUR : Iter.ITER_NOT); pushFrame(recv, args, name, noSup...
public void preReflectedMethodInternalCall(RubyModule implementationClass, IRubyObject recv, String name, IRubyObject[] args, boolean noSuper) { pushRubyClass((RubyModule)implementationClass.getCRef().getValue()); pushIter(getCurrentIter().isPre() ? Iter.ITER_CUR : Iter.ITER_NOT); pushFrame(rec...
3,237,021
private String getArticleDefaultLocalizedFileName(){ return getArticleDefaultLocalizedFileName(getLanguage()); }
private String getArticleDefaultLocalizedFileName(){ return getArticleDefaultLocalizedFileName(getLanguage()); }
3,237,023
public String getPassword(String title, String description, Icon icon, Component parent) { System.out.println(parent); passwordField = new JPasswordField(); TitlePanel titlePanel = new TitlePanel(title, description, icon, true); // Construct main panel w/ layout. final JPanel main...
public String getPassword(String title, String description, Icon icon, Component parent) { passwordField = new JPasswordField(); TitlePanel titlePanel = new TitlePanel(title, description, icon, true); // Construct main panel w/ layout. final JPanel mainPanel = new JPanel(); ...
3,237,024
public final char BeginToken() throws java.io.IOException { tokenBegin = -1; char c = readChar(); tokenBuf = curBuf; tokenBegin = curBuf.curPos; return c; }
public final char BeginToken() throws java.io.IOException { tokenBeginPos = -1; char c = readChar(); tokenBuf = curBuf; tokenBegin = curBuf.curPos; return c; }
3,237,025
public final char BeginToken() throws java.io.IOException { tokenBegin = -1; char c = readChar(); tokenBuf = curBuf; tokenBegin = curBuf.curPos; return c; }
public final char BeginToken() throws java.io.IOException { tokenBegin = -1; char c = readChar(); tokenBuf = curBuf; tokenBegin = curBuf.curPos; return c; }
3,237,026
private final void FillBuff() throws java.io.IOException { // Buffer fill logic: // If there is at least 2K left in this buffer, just read some more // Otherwise, if we're processing a token and it either // (a) starts in the other buffer (meaning it's filled both part of // the other buffer and ...
private final void FillBuff() throws java.io.IOException { // Buffer fill logic: // If there is at least 2K left in this buffer, just read some more // Otherwise, if we're processing a token and it either // (a) starts in the other buffer (meaning it's filled both part of // the other buffer and ...
3,237,027
private final void FillBuff() throws java.io.IOException { // Buffer fill logic: // If there is at least 2K left in this buffer, just read some more // Otherwise, if we're processing a token and it either // (a) starts in the other buffer (meaning it's filled both part of // the other buffer and ...
private final void FillBuff() throws java.io.IOException { // Buffer fill logic: // If there is at least 2K left in this buffer, just read some more // Otherwise, if we're processing a token and it either // (a) starts in the other buffer (meaning it's filled both part of // the other buffer and ...
3,237,028
private final void FillBuff() throws java.io.IOException { // Buffer fill logic: // If there is at least 2K left in this buffer, just read some more // Otherwise, if we're processing a token and it either // (a) starts in the other buffer (meaning it's filled both part of // the other buffer and ...
private final void FillBuff() throws java.io.IOException { // Buffer fill logic: // If there is at least 2K left in this buffer, just read some more // Otherwise, if we're processing a token and it either // (a) starts in the other buffer (meaning it's filled both part of // the other buffer and ...
3,237,029
public final String GetImage() { if (tokenBuf == curBuf) return new String(curBuf.buffer, tokenBegin, curBuf.curPos - tokenBegin + 1); else return new String(otherBuf.buffer, tokenBegin, otherBuf.dataLen - tokenBegin) + new String(cu...
public final String GetImage() { if (tokenBuf == curBuf) return new String(curBuf.buffer, tokenBegin, curBuf.curPos - tokenBegin + 1); else return new String(otherBuf.buffer, tokenBegin, otherBuf.dataLen - tokenBegin) + new String(cu...
3,237,030
public final String GetImage() { if (tokenBuf == curBuf) return new String(curBuf.buffer, tokenBegin, curBuf.curPos - tokenBegin + 1); else return new String(otherBuf.buffer, tokenBegin, otherBuf.dataLen - tokenBegin) + new String(cu...
public final String GetImage() { if (tokenBuf == curBuf) return new String(curBuf.buffer, tokenBegin, curBuf.curPos - tokenBegin + 1); else return new String(otherBuf.buffer, tokenBegin, otherBuf.dataLen - tokenBegin) + new String(cu...
3,237,031
public final char[] GetSuffix(int len) { char[] ret = new char[len]; if ((curBuf.curPos + 1) >= len) System.arraycopy(curBuf.buffer, curBuf.curPos - len + 1, ret, 0, len); else { if (otherBuf != null) System.arraycopy(otherBuf.buffer, otherBuf.dataLen - ...
public final char[] GetSuffix(int len) { char[] ret = new char[len]; if ((curBuf.curPos + 1) >= len) System.arraycopy(curBuf.buffer, curBuf.curPos - len + 1, ret, 0, len); else { if (otherBuf.dataLen >= len - curBuf.curPos - 1) System.arraycopy(otherBuf.buffer, ...
3,237,032
public final void backup(int amount) { backupChars += amount; if (curBuf.curPos - amount < -1) { int addlChars = amount - 1 - curBuf.curPos; curBuf.curPos = 0; swapBuf(); curBuf.curPos = curBuf.dataLen - addlChars - 1; if (curBuf.curPos < -1) { // Throw something // Syste...
public final void backup(int amount) { backupChars += amount; if (curBuf.curPos - amount < 0) { int addlChars = amount - 1 - curBuf.curPos; curBuf.curPos = 0; swapBuf(); curBuf.curPos = curBuf.dataLen - addlChars - 1; if (curBuf.curPos < -1) { // Throw something // System...
3,237,033
public final void backup(int amount) { backupChars += amount; if (curBuf.curPos - amount < -1) { int addlChars = amount - 1 - curBuf.curPos; curBuf.curPos = 0; swapBuf(); curBuf.curPos = curBuf.dataLen - addlChars - 1; if (curBuf.curPos < -1) { // Throw something // Syste...
public final void backup(int amount) { backupChars += amount; if (curBuf.curPos - amount < -1) { int addlChars = amount - 1 - curBuf.curPos; curBuf.curPos = 0; swapBuf(); curBuf.curPos = curBuf.dataLen - addlChars - 1; if (curBuf.curPos < -1) { // Throw something // Syste...
3,237,034
public final int getBeginColumn() { return tokenBuf.bufcolumn[tokenBegin]; }
public final int getBeginColumn() { return tokenBeginBuf.bufcolumn[tokenBeginPos]; }
3,237,035
public final int getBeginLine() { return tokenBuf.bufline[tokenBegin]; }
public final int getBeginLine() { return tokenBeginBuf.bufline[tokenBeginPos]; }
3,237,036
public final char readChar() throws java.io.IOException { if (++curBuf.curPos >= curBuf.dataLen) { if (backupChars > 0) swapBuf(); else FillBuff(); }; char c = (char)((char)0xff & curBuf.buffer[curBuf.curPos]); // No need to update line numbers if we've already processed ...
public final char readChar() throws java.io.IOException { if (++curBuf.curPos >= curBuf.dataLen) { if (backupChars > 0) swapBuf(); else FillBuff(); }; char c = (char)((char)0xff & curBuf.buffer[curBuf.curPos]); // No need to update line numbers if we've already processed ...
3,237,037
public final char readChar() throws java.io.IOException { if (++curBuf.curPos >= curBuf.dataLen) { if (backupChars > 0) swapBuf(); else FillBuff(); }; char c = (char)((char)0xff & curBuf.buffer[curBuf.curPos]); // No need to update line numbers if we've already processed ...
public final char readChar() throws java.io.IOException { if (++curBuf.curPos >= curBuf.dataLen) { if (backupChars > 0) swapBuf(); else FillBuff(); }; char c = (char)((char)0xff & curBuf.buffer[curBuf.curPos]); // No need to update line numbers if we've already processed ...
3,237,038