bugged stringlengths 6 599k | fixed stringlengths 6 40.8M | __index_level_0__ int64 0 3.24M |
|---|---|---|
public void saveDisplayOptions() { abstraction.saveDisplayOptions(); } | public void saveDisplayOptions() { abstraction.saveDisplayOptions(); } | 3,235,714 |
public void setMappingPane() { presentation.setMappingPane(); } | public void setMappingPane() { presentation.setMappingPane(); } | 3,235,715 |
VALUE ID2SYM(ID id) { return RubySymbol.m_newSymbol(ruby, (RubyId)id); } | RubyObject ID2SYM(ID id) { return RubySymbol.m_newSymbol(ruby, (RubyId)id); } | 3,235,716 |
VALUE INT2FIX(int i) { return new RubyFixnum(ruby, i); } | VALUE INT2FIX(int i) { return new RubyFixnum(ruby, i); } | 3,235,717 |
ID SYM2ID(VALUE symbol) { return ((RubySymbol)symbol).getId(); } | RubyId SYM2ID(VALUE symbol) { return ((RubySymbol)symbol).getId(); } | 3,235,718 |
private void dyna_pop(RubyVarmap vars) { lvtbl.dlev--; ruby.getInterpreter().setDynamicVars(vars); } | private void dyna_pop(RubyVarmap vars) { lvtbl.dlev--; ruby.setDynamicVars(vars); } | 3,235,719 |
private RubyVarmap dyna_push() { RubyVarmap vars = ruby.getInterpreter().getDynamicVars(); rb_dvar_push(null, null); lvtbl.dlev++; return vars; } | private RubyVarmap dyna_push() { RubyVarmap vars = ruby.getInterpreter().getDynamicVars(); rb_dvar_push(null, null); lvtbl.dlev++; return vars; } | 3,235,720 |
VALUE rb_ary_new() { return rb_ary_new2(16); } | RubyObject rb_ary_new() { return rb_ary_new2(16); } | 3,235,721 |
VALUE rb_ary_new2(int size) { return rom.rb_ary_new2(size); } | VALUE rb_ary_new2(int size) { return rom.rb_ary_new2(size); } | 3,235,722 |
VALUE rb_const_get(VALUE clazz, ID name) { return rom.rb_const_get(clazz, name); } | VALUE rb_const_get(VALUE clazz, ID name) { return rom.rb_const_get(clazz, name); } | 3,235,723 |
VALUE rb_cstr2inum(String s, int radix) { //XXX no support for _ or leading and trailing spaces return new RubyFixnum(ruby, Integer.parseInt(s, radix)); } | RubyObject rb_cstr2inum(String s, int radix) { //XXX no support for _ or leading and trailing spaces return new RubyFixnum(ruby, Integer.parseInt(s, radix)); } | 3,235,724 |
boolean rb_dvar_curr(ID id) { if (ruby.getInterpreter().getDynamicVars() == null) { return false; } return ruby.getInterpreter().getDynamicVars().isCurrent((RubyId)id); } | boolean rb_dvar_curr(ID id) { if (ruby.getInterpreter().getDynamicVars() == null) { return false; } return ruby.getInterpreter().getDynamicVars().isCurrent((RubyId)id); } | 3,235,725 |
boolean rb_dvar_defined(ID id) { if (ruby.getInterpreter().getDynamicVars() == null) { return false; } return ruby.getInterpreter().getDynamicVars().isDefined((RubyId)id); } | boolean rb_dvar_defined(ID id) { if (ruby.getInterpreter().getDynamicVars() == null) { return false; } return ruby.getInterpreter().getDynamicVars().isDefined((RubyId)id); } | 3,235,726 |
void rb_dvar_push(ID id, VALUE value) { if (ruby.getInterpreter().getDynamicVars() == null) { ruby.getInterpreter().setDynamicVars(new_dvar(id, value, null)); } else { ruby.getInterpreter().getDynamicVars().push((RubyId)id, (RubyObject)value); } } | void rb_dvar_push(ID id, VALUE value) { if (ruby.getInterpreter().getDynamicVars() == null) { ruby.getInterpreter().setDynamicVars(new_dvar(id, value, null)); } else { ruby.getInterpreter().getDynamicVars().push((RubyId)id, (RubyObject)value); } } | 3,235,727 |
VALUE rb_float_new(double d) { return RubyFloat.m_newFloat(ruby, d); } | VALUE rb_float_new(double d) { return RubyFloat.m_newFloat(ruby, d); } | 3,235,728 |
VALUE rb_funcall(VALUE v1, char c, int j, VALUE v) { return rb_funcall(v1, ruby.intern(String.valueOf(c)), j, v); } | RubyObject rb_funcall(VALUE v1, char c, int j, VALUE v) { return rb_funcall(v1, ruby.intern(String.valueOf(c)), j, v); } | 3,235,729 |
VALUE rb_hash_aref(VALUE hash, VALUE key) {throw missing();} | VALUE rb_hash_aref(VALUE hash, VALUE key) {throw missing();} | 3,235,730 |
VALUE rb_reg_new(String s, int len, int options) { //XXX well... return new RubyRegexp(ruby, (RubyString)rb_str_new(s, len), options); } | RubyObject rb_reg_new(String s, int len, int options) { //XXX well... return new RubyRegexp(ruby, (RubyString)rb_str_new(s, len), options); } | 3,235,731 |
VALUE rb_str_concat(VALUE v, VALUE w) { //XXX need to keep identity and tainting RubyString vs = (RubyString)v; if (FIXNUM_P(w)) vs.setString(vs.getString() + (char)FIX2INT(w)); else vs.setString(vs.getString() + ((RubyString)w).getString()); return vs; } | RubyObject rb_str_concat(VALUE v, VALUE w) { //XXX need to keep identity and tainting RubyString vs = (RubyString)v; if (FIXNUM_P(w)) vs.setString(vs.getString() + (char)FIX2INT(w)); else vs.setString(vs.getString() + ((RubyString)w).getString()); return vs; ... | 3,235,732 |
VALUE rb_str_new(String s, int len) { return new RubyString(ruby, s.substring(0, len)); } | RubyObject rb_str_new(String s, int len) { return new RubyString(ruby, s.substring(0, len)); } | 3,235,733 |
VALUE rb_str_new2(String s) { return rb_str_new(s, s.length()); } | RubyObject rb_str_new2(String s) { return rb_str_new(s, s.length()); } | 3,235,734 |
top_local_init() { local_push(); lvtbl.cnt = ruby.getRubyScope().getLocalTbl() != null ? ruby.getRubyScope().getLocalTbl(0).intValue() : 0; if (lvtbl.cnt > 0) { lvtbl.tbl = new ID[lvtbl.cnt+3]; System.arraycopy(lvtbl.tbl, 0, ruby.getRubyScope().getLocalTbl(), 0, lvtbl.cnt+1); ... | top_local_init() { local_push(); lvtbl.cnt = ruby.getRubyScope().getLocalTbl() != null ? ruby.getRubyScope().getLocalTbl(0).intValue() : 0; if (lvtbl.cnt > 0) { lvtbl.tbl = new ID[lvtbl.cnt+3]; System.arraycopy(lvtbl.tbl, 0, ruby.getRubyScope().getLocalTbl(), 0, lvtbl.cnt+1); ... | 3,235,735 |
public static RubyObject convertJavaToRuby(Ruby ruby, Object object, Class javaClass) { if (object == null) { return ruby.getNil(); } if (javaClass.isPrimitive()) { String cName = javaClass.getName(); if (cName == "boolean") { return RubyBoolean.m... | public static RubyObject convertJavaToRuby(Ruby ruby, Object object, Class javaClass) { if (object == null) { return ruby.getNil(); } if (javaClass.isPrimitive()) { String cName = javaClass.getName(); if (cName == "boolean") { return RubyBoolean.m... | 3,235,736 |
public TransportRegistrationDialog(String serviceName) { setLayout(new GridBagLayout()); this.serviceName = serviceName; ResourceUtils.resButton(registerButton, Res.getString("button.register")); ResourceUtils.resButton(cancelButton, Res.getString("button.cancel")); final JPanel b... | public TransportRegistrationDialog(String serviceName) { setLayout(new GridBagLayout()); this.serviceName = serviceName; ResourceUtils.resButton(registerButton, Res.getString("button.register")); ResourceUtils.resButton(cancelButton, Res.getString("button.cancel")); final JPanel b... | 3,235,737 |
public void addCodomainMap(CodomainMapContext mapCtx) { rwl.writeLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); renderer.getCodomainChain().add(mapCtx.copy()); } rwl.writeLock().unlock(); } | public void addCodomainMap(CodomainMapContext mapCtx) { rwl.writeLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); renderer.getCodomainChain().add(mapCtx.copy()); } rwl.writeLock().unlock(); } | 3,235,738 |
public void addCodomainMap(CodomainMapContext mapCtx) { rwl.writeLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); renderer.getCodomainChain().add(mapCtx.copy()); } rwl.writeLock().unlock(); } | public void addCodomainMap(CodomainMapContext mapCtx) { rwl.writeLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); renderer.getCodomainChain().add(mapCtx.copy()); } } | 3,235,739 |
public void destroy() { rwl.writeLock().lock(); { renderer = null; } rwl.writeLock().unlock(); } | public void destroy() try { pixelsObj = null; rendDefObj = null; rwl.writeLock().lock(); try { pixelsObj = null; rendDefObj = null; renderer = null; } rwl.writeLock().unlock(); } | 3,235,740 |
public void destroy() { rwl.writeLock().lock(); { renderer = null; } rwl.writeLock().unlock(); } | public void destroy() { rwl.writeLock().lock(); { renderer = null; } } | 3,235,741 |
public double getChannelCurveCoefficient(int w) { double result; rwl.readLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); ChannelBinding[] cb = renderer.getChannelBindings(); result = cb[w].getC... | public double getChannelCurveCoefficient(int w) { rwl.readLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); ChannelBinding[] cb = renderer.getChannelBindings(); result = cb[w].getCoefficient().do... | 3,235,742 |
public double getChannelCurveCoefficient(int w) { double result; rwl.readLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); ChannelBinding[] cb = renderer.getChannelBindings(); result = cb[w].getC... | public double getChannelCurveCoefficient(int w) { double result; rwl.readLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); ChannelBinding[] cb = renderer.getChannelBindings(); result = cb[w].getC... | 3,235,743 |
public double getChannelCurveCoefficient(int w) { double result; rwl.readLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); ChannelBinding[] cb = renderer.getChannelBindings(); result = cb[w].getC... | public double getChannelCurveCoefficient(int w) { double result; rwl.readLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); ChannelBinding[] cb = renderer.getChannelBindings(); return cb[w].getCoe... | 3,235,744 |
public double getChannelCurveCoefficient(int w) { double result; rwl.readLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); ChannelBinding[] cb = renderer.getChannelBindings(); result = cb[w].getC... | public double getChannelCurveCoefficient(int w) { double result; rwl.readLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); ChannelBinding[] cb = renderer.getChannelBindings(); result = cb[w].getC... | 3,235,745 |
public int getChannelFamily(int w) { int result; rwl.readLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); ChannelBinding[] cb = renderer.getChannelBindings(); result = QuantumFactory.convertFami... | public int getChannelFamily(int w) { rwl.readLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); ChannelBinding[] cb = renderer.getChannelBindings(); result = QuantumFactory.convertFamilyType(cb[w]... | 3,235,746 |
public int getChannelFamily(int w) { int result; rwl.readLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); ChannelBinding[] cb = renderer.getChannelBindings(); result = QuantumFactory.convertFami... | public int getChannelFamily(int w) { int result; rwl.readLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); ChannelBinding[] cb = renderer.getChannelBindings(); result = QuantumFactory.convertFami... | 3,235,747 |
public int getChannelFamily(int w) { int result; rwl.readLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); ChannelBinding[] cb = renderer.getChannelBindings(); result = QuantumFactory.convertFami... | public int getChannelFamily(int w) { int result; rwl.readLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); ChannelBinding[] cb = renderer.getChannelBindings(); return QuantumFactory.convertFamily... | 3,235,748 |
public int getChannelFamily(int w) { int result; rwl.readLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); ChannelBinding[] cb = renderer.getChannelBindings(); result = QuantumFactory.convertFami... | public int getChannelFamily(int w) { int result; rwl.readLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); ChannelBinding[] cb = renderer.getChannelBindings(); result = QuantumFactory.convertFami... | 3,235,749 |
public boolean getChannelNoiseReduction(int w) { boolean result; rwl.readLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); ChannelBinding[] cb = renderer.getChannelBindings(); result = cb[w].getN... | public boolean getChannelNoiseReduction(int w) { rwl.readLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); ChannelBinding[] cb = renderer.getChannelBindings(); result = cb[w].getNoiseReduction().... | 3,235,750 |
public boolean getChannelNoiseReduction(int w) { boolean result; rwl.readLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); ChannelBinding[] cb = renderer.getChannelBindings(); result = cb[w].getN... | public boolean getChannelNoiseReduction(int w) { boolean result; rwl.readLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); ChannelBinding[] cb = renderer.getChannelBindings(); result = cb[w].getN... | 3,235,751 |
public boolean getChannelNoiseReduction(int w) { boolean result; rwl.readLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); ChannelBinding[] cb = renderer.getChannelBindings(); result = cb[w].getN... | public boolean getChannelNoiseReduction(int w) { boolean result; rwl.readLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); ChannelBinding[] cb = renderer.getChannelBindings(); return cb[w].getNoi... | 3,235,752 |
public boolean getChannelNoiseReduction(int w) { boolean result; rwl.readLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); ChannelBinding[] cb = renderer.getChannelBindings(); result = cb[w].getN... | public boolean getChannelNoiseReduction(int w) { boolean result; rwl.readLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); ChannelBinding[] cb = renderer.getChannelBindings(); result = cb[w].getN... | 3,235,753 |
public double[] getChannelStats(int w) { double[] result; rwl.readLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); ChannelBinding[] cb = renderer.getChannelBindings();// FIXME// double[] stat... | public double[] getChannelStats(int w) { rwl.readLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); ChannelBinding[] cb = renderer.getChannelBindings();// FIXME// double[] stats = cb[w].getStat... | 3,235,754 |
public double[] getChannelStats(int w) { double[] result; rwl.readLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); ChannelBinding[] cb = renderer.getChannelBindings();// FIXME// double[] stat... | public double[] getChannelStats(int w) { double[] result; rwl.readLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); ChannelBinding[] cb = renderer.getChannelBindings();// FIXME// double[] stat... | 3,235,755 |
public double[] getChannelStats(int w) { double[] result; rwl.readLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); ChannelBinding[] cb = renderer.getChannelBindings();// FIXME// double[] stat... | public double[] getChannelStats(int w) { double[] result; rwl.readLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); ChannelBinding[] cb = renderer.getChannelBindings();// FIXME// double[] stat... | 3,235,756 |
public double getChannelWindowEnd(int w) { double result; rwl.readLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); ChannelBinding[] cb = renderer.getChannelBindings(); result = cb[w].getInputEnd... | public double getChannelWindowEnd(int w) { rwl.readLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); ChannelBinding[] cb = renderer.getChannelBindings(); result = cb[w].getInputEnd().intValue(); ... | 3,235,757 |
public double getChannelWindowEnd(int w) { double result; rwl.readLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); ChannelBinding[] cb = renderer.getChannelBindings(); result = cb[w].getInputEnd... | public double getChannelWindowEnd(int w) { double result; rwl.readLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); ChannelBinding[] cb = renderer.getChannelBindings(); result = cb[w].getInputEnd... | 3,235,758 |
public double getChannelWindowEnd(int w) { double result; rwl.readLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); ChannelBinding[] cb = renderer.getChannelBindings(); result = cb[w].getInputEnd... | public double getChannelWindowEnd(int w) { double result; rwl.readLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); ChannelBinding[] cb = renderer.getChannelBindings(); return cb[w].getInputEnd()... | 3,235,759 |
public double getChannelWindowEnd(int w) { double result; rwl.readLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); ChannelBinding[] cb = renderer.getChannelBindings(); result = cb[w].getInputEnd... | public double getChannelWindowEnd(int w) { double result; rwl.readLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); ChannelBinding[] cb = renderer.getChannelBindings(); result = cb[w].getInputEnd... | 3,235,760 |
public double getChannelWindowStart(int w) { double result; rwl.readLock().unlock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); ChannelBinding[] cb = renderer.getChannelBindings(); result = cb[w].getInpu... | public double getChannelWindowStart(int w) { double result; rwl.readLock().unlock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); ChannelBinding[] cb = renderer.getChannelBindings(); result = cb[w].getInpu... | 3,235,761 |
public double getChannelWindowStart(int w) { double result; rwl.readLock().unlock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); ChannelBinding[] cb = renderer.getChannelBindings(); result = cb[w].getInpu... | public double getChannelWindowStart(int w) { double result; rwl.readLock().unlock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); ChannelBinding[] cb = renderer.getChannelBindings(); return cb[w].getInputS... | 3,235,762 |
public double getChannelWindowStart(int w) { double result; rwl.readLock().unlock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); ChannelBinding[] cb = renderer.getChannelBindings(); result = cb[w].getInpu... | public double getChannelWindowStart(int w) { double result; rwl.readLock().unlock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); ChannelBinding[] cb = renderer.getChannelBindings(); result = cb[w].getInpu... | 3,235,763 |
public int getDefaultT() { int result; rwl.readLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); result = renderer.getRenderingDef().getDefaultT().intValue(); } rwl.readLock().... | public int getDefaultT() { rwl.readLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); result = renderer.getRenderingDef().getDefaultT().intValue(); } rwl.readLock().unlock(); ... | 3,235,764 |
public int getDefaultT() { int result; rwl.readLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); result = renderer.getRenderingDef().getDefaultT().intValue(); } rwl.readLock().... | public int getDefaultT() { int result; rwl.readLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); result = renderer.getRenderingDef().getDefaultT().intValue(); } rwl.readLock().... | 3,235,765 |
public int getDefaultT() { int result; rwl.readLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); result = renderer.getRenderingDef().getDefaultT().intValue(); } rwl.readLock().... | public int getDefaultT() { int result; rwl.readLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); result = renderer.getRenderingDef().getDefaultT().intValue(); } rwl.readLock().... | 3,235,766 |
public int getDefaultZ() { int result; rwl.readLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); result = renderer.getRenderingDef().getDefaultZ().intValue(); } rwl.readLock().... | public int getDefaultZ() { rwl.readLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); result = renderer.getRenderingDef().getDefaultZ().intValue(); } rwl.readLock().unlock(); ... | 3,235,767 |
public int getDefaultZ() { int result; rwl.readLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); result = renderer.getRenderingDef().getDefaultZ().intValue(); } rwl.readLock().... | public int getDefaultZ() { int result; rwl.readLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); result = renderer.getRenderingDef().getDefaultZ().intValue(); } rwl.readLock().... | 3,235,768 |
public int getDefaultZ() { int result; rwl.readLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); result = renderer.getRenderingDef().getDefaultZ().intValue(); } rwl.readLock().... | public int getDefaultZ() { int result; rwl.readLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); result = renderer.getRenderingDef().getDefaultZ().intValue(); } rwl.readLock().... | 3,235,769 |
public int getModel() { int result; rwl.readLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); // TODO doesn't need render !!! other cases? result = RenderingDefConstants.convertType(rendDefOb... | public int getModel() { rwl.readLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); // TODO doesn't need render !!! other cases? result = RenderingDefConstants.convertType(rendDefObj.getModel()... | 3,235,770 |
public int getModel() { int result; rwl.readLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); // TODO doesn't need render !!! other cases? result = RenderingDefConstants.convertType(rendDefOb... | public int getModel() { int result; rwl.readLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); // TODO doesn't need render !!! other cases? result = RenderingDefConstants.convertType(rendDefOb... | 3,235,771 |
public int getModel() { int result; rwl.readLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); // TODO doesn't need render !!! other cases? result = RenderingDefConstants.convertType(rendDefOb... | public int getModel() { int result; rwl.readLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); // TODO doesn't need render !!! other cases? result = RenderingDefConstants.convertType(rendDefOb... | 3,235,772 |
public QuantumDef getQuantumDef() { QuantumDef result; rwl.readLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); result = renderer.getRenderingDef().getQuantization(); } rwl.readLock().unlock(... | public QuantumDef getQuantumDef() { rwl.readLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); result = renderer.getRenderingDef().getQuantization(); } rwl.readLock().unlock(); return re... | 3,235,773 |
public QuantumDef getQuantumDef() { QuantumDef result; rwl.readLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); result = renderer.getRenderingDef().getQuantization(); } rwl.readLock().unlock(... | public QuantumDef getQuantumDef() { QuantumDef result; rwl.readLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); result = renderer.getRenderingDef().getQuantization(); } rwl.readLock().unlock(... | 3,235,774 |
public QuantumDef getQuantumDef() { QuantumDef result; rwl.readLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); result = renderer.getRenderingDef().getQuantization(); } rwl.readLock().unlock(... | public QuantumDef getQuantumDef() { QuantumDef result; rwl.readLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); result = renderer.getRenderingDef().getQuantization(); } rwl.readLock().unlock(... | 3,235,775 |
public int[] getRGBA(int w) { int[] rgba = new int[4]; rwl.readLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); ChannelBinding[] cb = renderer.getChannelBindings(); // int[] rgba = cb[w].getColor... | public int[] getRGBA(int w) { rwl.readLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); ChannelBinding[] cb = renderer.getChannelBindings(); // int[] rgba = cb[w].getColor, copy = new int[rgba.le... | 3,235,776 |
public int[] getRGBA(int w) { int[] rgba = new int[4]; rwl.readLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); ChannelBinding[] cb = renderer.getChannelBindings(); // int[] rgba = cb[w].getColor... | public int[] getRGBA(int w) { int[] rgba = new int[4]; rwl.readLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); ChannelBinding[] cb = renderer.getChannelBindings(); // int[] rgba = cb[w].getColor... | 3,235,777 |
public int[] getRGBA(int w) { int[] rgba = new int[4]; rwl.readLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); ChannelBinding[] cb = renderer.getChannelBindings(); // int[] rgba = cb[w].getColor... | public int[] getRGBA(int w) { int[] rgba = new int[4]; rwl.readLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); ChannelBinding[] cb = renderer.getChannelBindings(); // int[] rgba = cb[w].getColor... | 3,235,778 |
public int getSizeX() { return pixelsObj.getSizeX().intValue(); } | public int getSizeX() { rwl.readLock().lock(); try { errorIfNullPixels(); return pixelsObj.getSizeX().intValue(); } finally { rwl.readLock().unlock(); } } | 3,235,779 |
public int getSizeY() { return pixelsObj.getSizeY().intValue(); } | public int getSizeY() { rwl.readLock().lock(); try { errorIfNullPixels(); return pixelsObj.getSizeY().intValue(); } finally { rwl.readLock().unlock(); } } | 3,235,780 |
public boolean isActive(int w) { boolean result; rwl.readLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); ChannelBinding[] cb = renderer.getChannelBindings(); result = cb[w].getActive().booleanV... | public boolean isActive(int w) { rwl.readLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); ChannelBinding[] cb = renderer.getChannelBindings(); result = cb[w].getActive().booleanValue(); }... | 3,235,781 |
public boolean isActive(int w) { boolean result; rwl.readLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); ChannelBinding[] cb = renderer.getChannelBindings(); result = cb[w].getActive().booleanV... | public boolean isActive(int w) { boolean result; rwl.readLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); ChannelBinding[] cb = renderer.getChannelBindings(); result = cb[w].getActive().booleanV... | 3,235,782 |
public boolean isActive(int w) { boolean result; rwl.readLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); ChannelBinding[] cb = renderer.getChannelBindings(); result = cb[w].getActive().booleanV... | public boolean isActive(int w) { boolean result; rwl.readLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); ChannelBinding[] cb = renderer.getChannelBindings(); return cb[w].getActive().booleanVal... | 3,235,783 |
public boolean isActive(int w) { boolean result; rwl.readLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); ChannelBinding[] cb = renderer.getChannelBindings(); result = cb[w].getActive().booleanV... | public boolean isActive(int w) { boolean result; rwl.readLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); ChannelBinding[] cb = renderer.getChannelBindings(); result = cb[w].getActive().booleanV... | 3,235,784 |
public void load() { rwl.writeLock().lock(); { /* * TODO we could also allow for setting of the buffer! perhaps * better caching, etc. */ PixelBuffer buffer = pixDataSrv.getPixelBuffer(pixelsObj); StatsFactory sf = new StatsFactor... | public void load() try { errorIfNullPixels(); rwl.writeLock().lock(); try { errorIfNullPixels(); /* * TODO we could also allow for setting of the buffer! perhaps * better caching, etc. */ PixelBuffer buffer = pixDataSrv.getPixelBuffer(... | 3,235,785 |
public void load() { rwl.writeLock().lock(); { /* * TODO we could also allow for setting of the buffer! perhaps * better caching, etc. */ PixelBuffer buffer = pixDataSrv.getPixelBuffer(pixelsObj); StatsFactory sf = new StatsFactor... | public void load() { rwl.writeLock().lock(); { /* * TODO we could also allow for setting of the buffer! perhaps * better caching, etc. */ PixelBuffer buffer = pixDataSrv.getPixelBuffer(pixelsObj); StatsFactory sf = new StatsFactor... | 3,235,786 |
public void load() { rwl.writeLock().lock(); { /* * TODO we could also allow for setting of the buffer! perhaps * better caching, etc. */ PixelBuffer buffer = pixDataSrv.getPixelBuffer(pixelsObj); StatsFactory sf = new StatsFactor... | public void load() { rwl.writeLock().lock(); { /* * TODO we could also allow for setting of the buffer! perhaps * better caching, etc. */ PixelBuffer buffer = pixDataSrv.getPixelBuffer(pixelsObj); StatsFactory sf = new StatsFactor... | 3,235,787 |
public void lookupPixels(long pixelsId) { rwl.writeLock().lock(); { this.pixelsObj = pixMetaSrv.retrievePixDescription(pixelsId); this.renderer = null; } rwl.writeLock().unlock(); } | public void lookupPixels(long pixelsId) { rwl.writeLock().lock(); { this.pixelsObj = pixMetaSrv.retrievePixDescription(pixelsId); this.renderer = null; } rwl.writeLock().unlock(); } | 3,235,788 |
public void lookupPixels(long pixelsId) { rwl.writeLock().lock(); { this.pixelsObj = pixMetaSrv.retrievePixDescription(pixelsId); this.renderer = null; } rwl.writeLock().unlock(); } | public void lookupPixels(long pixelsId) { rwl.writeLock().lock(); { this.pixelsObj = pixMetaSrv.retrievePixDescription(pixelsId); this.renderer = null; } if (log.isDebugEnabled()) log.debug("lookupPixels for id "+pixelsId+" succeeded: "+this.pixelsObj); } | 3,235,789 |
public void lookupRenderingDef(long pixelsId) { rwl.writeLock().lock(); { this.rendDefObj = pixMetaSrv.retrieveRndSettings(pixelsId); System.err.println(rendDefObj.toString()); this.renderer = null; } rwl.writeLock().unlock(); } | public void lookupRenderingDef(long pixelsId) try { rwl.writeLock().lock(); try { this.rendDefObj = pixMetaSrv.retrieveRndSettings(pixelsId); System.err.println(rendDefObj.toString()); this.renderer = null; } rwl.writeLock().unlock(); } | 3,235,790 |
public void lookupRenderingDef(long pixelsId) { rwl.writeLock().lock(); { this.rendDefObj = pixMetaSrv.retrieveRndSettings(pixelsId); System.err.println(rendDefObj.toString()); this.renderer = null; } rwl.writeLock().unlock(); } | public void lookupRenderingDef(long pixelsId) { rwl.writeLock().lock(); { this.rendDefObj = pixMetaSrv.retrieveRndSettings(pixelsId); this.renderer = null; } rwl.writeLock().unlock(); } | 3,235,791 |
public void lookupRenderingDef(long pixelsId) { rwl.writeLock().lock(); { this.rendDefObj = pixMetaSrv.retrieveRndSettings(pixelsId); System.err.println(rendDefObj.toString()); this.renderer = null; } rwl.writeLock().unlock(); } | public void lookupRenderingDef(long pixelsId) { rwl.writeLock().lock(); { this.rendDefObj = pixMetaSrv.retrieveRndSettings(pixelsId); System.err.println(rendDefObj.toString()); this.renderer = null; } if (log.isDebugEnabled()) log.debug("lookupRenderi... | 3,235,792 |
public void removeCodomainMap(CodomainMapContext mapCtx) { rwl.writeLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); renderer.getCodomainChain().remove(mapCtx.copy()); } rwl.writeLock().unlock(); ... | public void removeCodomainMap(CodomainMapContext mapCtx) { rwl.writeLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); renderer.getCodomainChain().remove(mapCtx.copy()); } rwl.writeLock().unlock(); ... | 3,235,793 |
public void removeCodomainMap(CodomainMapContext mapCtx) { rwl.writeLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); renderer.getCodomainChain().remove(mapCtx.copy()); } rwl.writeLock().unlock(); ... | public void removeCodomainMap(CodomainMapContext mapCtx) { rwl.writeLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); renderer.getCodomainChain().remove(mapCtx.copy()); } } | 3,235,794 |
public RGBBuffer render(PlaneDef pd) throws IOException, QuantizationException { RGBBuffer result = null; rwl.readLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); result = renderer.render(pd); ... | public RGBBuffer render(PlaneDef pd) throws IOException, QuantizationException { RGBBuffer result = null; rwl.readLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); result = renderer.render(pd); ... | 3,235,795 |
public RGBBuffer render(PlaneDef pd) throws IOException, QuantizationException { RGBBuffer result = null; rwl.readLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); result = renderer.render(pd); ... | public RGBBuffer render(PlaneDef pd) throws IOException, QuantizationException { RGBBuffer result = null; rwl.readLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); result = renderer.render(pd); ... | 3,235,796 |
public void resetDefaults() { rwl.writeLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); renderer.resetDefaults(); } rwl.writeLock().unlock(); } | public void resetDefaults() { rwl.writeLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); renderer.resetDefaults(); } rwl.writeLock().unlock(); } | 3,235,797 |
public void resetDefaults() { rwl.writeLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); renderer.resetDefaults(); } rwl.writeLock().unlock(); } | } finally { rwl.writeLock().unlock(); } finally { rwl.writeLock().unlock(); } finally { rwl.writeLock().unlock(); } finally { rwl.writeLock().unlock(); public} finally { rwl.writeLock().unlock(); void} finally { rwl.writeLock().unlock(); resetDefaults()} finally { rwl.writeLock().unlock(); } finally { rwl.writeLock().u... | 3,235,798 |
public void resetDefaults() { rwl.writeLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); renderer.resetDefaults(); } rwl.writeLock().unlock(); } | public void resetDefaults() { rwl.writeLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); renderer.resetDefaults(); } } | 3,235,799 |
public void saveCurrentSettings() { rwl.writeLock().lock(); { // TODO vararg save method. pixMetaSrv.saveRndSettings(rendDefObj); } rwl.writeLock().unlock(); } | public void saveCurrentSettings() try { errorIfNullRenderingDef(); rwl.writeLock().lock(); try { errorIfNullRenderingDef(); // TODO vararg save method. pixMetaSrv.saveRndSettings(rendDefObj); } rwl.writeLock().unlock(); } | 3,235,800 |
public void saveCurrentSettings() { rwl.writeLock().lock(); { // TODO vararg save method. pixMetaSrv.saveRndSettings(rendDefObj); } rwl.writeLock().unlock(); } | public void saveCurrentSettings() { rwl.writeLock().lock(); { // TODO vararg save method. pixMetaSrv.saveRndSettings(rendDefObj); } } | 3,235,801 |
public void setActive(int w, boolean active) { rwl.writeLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); ChannelBinding[] cb = renderer.getChannelBindings(); cb[w].setActive(Boolean.valueOf(active)); ... | public void setActive(int w, boolean active) { rwl.writeLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); ChannelBinding[] cb = renderer.getChannelBindings(); cb[w].setActive(Boolean.valueOf(active)); ... | 3,235,802 |
public void setActive(int w, boolean active) { rwl.writeLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); ChannelBinding[] cb = renderer.getChannelBindings(); cb[w].setActive(Boolean.valueOf(active)); ... | public void setActive(int w, boolean active) { rwl.writeLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); ChannelBinding[] cb = renderer.getChannelBindings(); cb[w].setActive(Boolean.valueOf(active)); ... | 3,235,803 |
public void setChannelWindow(int w, double start, double end) { rwl.writeLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); renderer.setChannelWindow(w, start, end); } rwl.writeLock().unlock(); } | public void setChannelWindow(int w, double start, double end) { rwl.writeLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); renderer.setChannelWindow(w, start, end); } rwl.writeLock().unlock(); } | 3,235,804 |
public void setChannelWindow(int w, double start, double end) { rwl.writeLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); renderer.setChannelWindow(w, start, end); } rwl.writeLock().unlock(); } | public void setChannelWindow(int w, double start, double end) { rwl.writeLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); renderer.setChannelWindow(w, start, end); } } | 3,235,805 |
public void setCodomainInterval(int start, int end) { rwl.writeLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); renderer.setCodomainInterval(start, end); } rwl.writeLock().unlock(); } | public void setCodomainInterval(int start, int end) { rwl.writeLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); renderer.setCodomainInterval(start, end); } rwl.writeLock().unlock(); } | 3,235,806 |
public void setCodomainInterval(int start, int end) { rwl.writeLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); renderer.setCodomainInterval(start, end); } rwl.writeLock().unlock(); } | public void setCodomainInterval(int start, int end) { rwl.writeLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); renderer.setCodomainInterval(start, end); } } | 3,235,807 |
public void setDefaultT(int t) { rwl.writeLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); renderer.setDefaultT(t); } rwl.writeLock().unlock(); } | public void setDefaultT(int t) { rwl.writeLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); renderer.setDefaultT(t); } rwl.writeLock().unlock(); } | 3,235,808 |
public void setDefaultT(int t) { rwl.writeLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); renderer.setDefaultT(t); } rwl.writeLock().unlock(); } | public void setDefaultT(int t) { rwl.writeLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); renderer.setDefaultT(t); } } | 3,235,809 |
public void setDefaultZ(int z) { rwl.writeLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); renderer.setDefaultZ(z); } rwl.writeLock().unlock(); } | public void setDefaultZ(int z) { rwl.writeLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); renderer.setDefaultZ(z); } rwl.writeLock().unlock(); } | 3,235,810 |
public void setDefaultZ(int z) { rwl.writeLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); renderer.setDefaultZ(z); } rwl.writeLock().unlock(); } | public void setDefaultZ(int z) { rwl.writeLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); renderer.setDefaultZ(z); } } | 3,235,811 |
public void setModel(int model) { rwl.writeLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); renderer.setModel(model); } rwl.writeLock().unlock(); } | public void setModel(int model) { rwl.writeLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); renderer.setModel(model); } rwl.writeLock().unlock(); } | 3,235,812 |
public void setModel(int model) { rwl.writeLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); renderer.setModel(model); } rwl.writeLock().unlock(); } | public void setModel(int model) { rwl.writeLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER); renderer.setModel(model); } } | 3,235,813 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.