bugged
stringlengths
6
599k
fixed
stringlengths
6
40.8M
__index_level_0__
int64
0
3.24M
public ITypes getTypesService(){ return (ITypes) this.ctx.getBean("typesService"); }
public ITypes getTypesService(){ return getServiceByClass(ITypes.class); }
3,233,307
public IUpdate getUpdateService(){ return (IUpdate) this.ctx.getBean("updateService"); }
public IUpdate getUpdateService(){ return getServiceByClass(IUpdate.class); }
3,233,308
public String getSourceFileName() { String baseName; if (sourceFileName != null) baseName = sourceFileName; else { int firstDollarSign = getName().indexOf('$'); if (firstDollarSign == -1) baseName = getBaseName() + ".java"; else baseName = getBaseName().substring(0, firstDollarSign - 1) + ".java"; } ...
public String getSourceFileName() { String baseName; if (sourceFileName != null) baseName = sourceFileName; else { int firstDollarSign = getName().indexOf('$'); if (firstDollarSign == -1) baseName = getBaseName() + ".java"; else baseName = getBaseName().substring(0, firstDollarSign - 1) + ".java"; } ...
3,233,309
public String getSourceFileName() { String baseName; if (sourceFileName != null) baseName = sourceFileName; else { int firstDollarSign = getName().indexOf('$'); if (firstDollarSign == -1) baseName = getBaseName() + ".java"; else baseName = getBaseName().substring(0, firstDollarSign - 1) + ".java"; } ...
public String getSourceFileName() { String baseName; if (sourceFileName != null) baseName = sourceFileName; else { int firstDollarSign = getName().indexOf('$'); if (firstDollarSign == -1) baseName = getBaseName() + ".java"; else baseName = getBaseName().substring(0, firstDollarSign - 1) + ".java"; } ...
3,233,310
public ColouredButton(String text, Color color) { super(text); if (color == null) throw new IllegalArgumentException("No color."); setBackground(color); uiDelegate = new ColouredButtonUI(this, color); setUI(uiDelegate); setRolloverEnabled(false); }
public ColouredButton(String text, Color color) { super(text); if (color == null) throw new IllegalArgumentException("No color."); setBackground(color); uiDelegate = new ColouredButtonUI(this, color); setRolloverEnabled(false); }
3,233,312
public List childNodes() { return Collections.EMPTY_LIST; }
public List childNodes() { return EMPTY_LIST; }
3,233,313
void onStateChange(boolean b) { if (b) { tSelectionField.setEditable(model.getMaxT() != 0); tSelectionField.setEditable(model.getMaxZ() != 0); } else { tSelectionField.setEditable(b); zSelectionField.setEditable(b); } }
void onStateChange(boolean b) { if (b) { tSelectionField.setEditable(model.getMaxT() != 0); zSelectionField.setEditable(model.getMaxZ() != 0); } else { tSelectionField.setEditable(b); zSelectionField.setEditable(b); } }
3,233,314
public void setZoomFactor(double factor) { if (factor != -1) { if (factor > ZoomAction.MAX_ZOOM_FACTOR || factor < ZoomAction.MIN_ZOOM_FACTOR) throw new IllegalArgumentException("The zoom factor is value " + "between "+ZoomAction.MIN_ZOOM_FACTOR+" and "+ ...
public void setZoomFactor(double factor) { if (factor != -1) { if (factor > ZoomAction.MAX_ZOOM_FACTOR || factor < ZoomAction.MIN_ZOOM_FACTOR) throw new IllegalArgumentException("The zoom factor is value " + "between "+ZoomAction.MIN_ZOOM_FACTOR+" and "+ ...
3,233,315
public void setZoomFactor(double factor) { if (factor != -1) { if (factor > ZoomAction.MAX_ZOOM_FACTOR || factor < ZoomAction.MIN_ZOOM_FACTOR) throw new IllegalArgumentException("The zoom factor is value " + "between "+ZoomAction.MIN_ZOOM_FACTOR+" and "+ ...
public void setZoomFactor(double factor) { if (factor != -1) { if (factor > ZoomAction.MAX_ZOOM_FACTOR || factor < ZoomAction.MIN_ZOOM_FACTOR) throw new IllegalArgumentException("The zoom factor is value " + "between "+ZoomAction.MIN_ZOOM_FACTOR+" and "+ ...
3,233,316
public void setZoomFactor(double factor) { if (factor != -1) { if (factor > ZoomAction.MAX_ZOOM_FACTOR || factor < ZoomAction.MIN_ZOOM_FACTOR) throw new IllegalArgumentException("The zoom factor is value " + "between "+ZoomAction.MIN_ZOOM_FACTOR+" and "+ ...
public void setZoomFactor(double factor) { if (factor != -1) { if (factor > ZoomAction.MAX_ZOOM_FACTOR || factor < ZoomAction.MIN_ZOOM_FACTOR) throw new IllegalArgumentException("The zoom factor is value " + "between "+ZoomAction.MIN_ZOOM_FACTOR+" and "+ ...
3,233,317
private JPanel buildListPanel() { JPanel p = new JPanel(); JLabel label = new JLabel("Select channels "); GridBagLayout gridbag = new GridBagLayout(); GridBagConstraints c = new GridBagConstraints(); p.setLayout(gridbag); c.weightx = 0.5; c.gridx = 0; ...
private JPanel buildListPanel() { JPanel p = new JPanel(); JLabel label = new JLabel("Select channels "); GridBagLayout gridbag = new GridBagLayout(); GridBagConstraints c = new GridBagConstraints(); p.setLayout(gridbag); c.weightx = 0.5; c.gridx = 0; ...
3,233,318
public void test_HandlesExplicitPermissionReduction() throws Exception { login( uname, gname, "Test" ); p = new Project(); p.setName( "ticket:339" ); d = new Dataset(); d.setName( "ticket:339" ); p.linkDataset( d ); Permissions perms = Permissions.IMMUTABLE; // relatively common use-case p.getDetails().set...
public void test_HandlesExplicitPermissionReduction() throws Exception { login( uname, gname, "Test" ); p = new Project(); p.setName( "ticket:339" ); d = new Dataset(); d.setName( "ticket:339" ); p.linkDataset( d ); Permissions perms = Permissions.READ_ONLY; // relatively common use-case p.getDetails().set...
3,233,319
public static XmlBeanDefinitionReader createBeanDefinitionReader( SpringApplicationContext applicationContext, BeanDefinitionRegistry registry, List xmlPreprocessors) { String version = SpringVersion.getVersion(); String className = "org.apache....
public static XmlBeanDefinitionReader createBeanDefinitionReader( SpringApplicationContext applicationContext, BeanDefinitionRegistry registry, List xmlPreprocessors) { String version = SpringVersion.getVersion(); String className = "org.apache....
3,233,320
public Object[] getValues() {// "Headline", "Published", "Author", "Status" List values = new ArrayList(); values.add(getHeadline()); values.add(getAuthor()); values.add(getSource()); values.add(getCreationDate()); values.add(getLocaleIdAsString()); values.add(getStatus()); return values.toArray(new Object[...
public Object[] getValues() {// "Headline", "Published", "Author", "Status" List values = new ArrayList(); values.add(getHeadline()); values.add(getAuthor()); values.add(getSource()); values.add(getCreationDate()); values.add(getLocaleIdAsString()); values.add(getStatus()); return values.toArray(new Object[...
3,233,321
public MainMenuController(DisplayedDocument displayedDocument) { super(displayedDocument); }
public MainMenuController(DisplayedDocument displayedDocument) { super(displayedDocument); }
3,233,322
public Node block_append(Node head, Node tail) { if (tail == null) { return head; } else if (head == null) { return tail; } Node end; if (head instanceof BlockNode) { end = ((BlockNode) head).getEndNode(); } else { end = nf.newBlo...
public Node block_append(Node head, Node tail) { if (tail == null) { return head; } else if (head == null) { return tail; } Node end; if (head instanceof BlockNode) { end = ((BlockNode) head).getEndNode(); } else { end = nf.newBlo...
3,233,324
public Node cond(Node node) { // return cond1(node, 0); if (node == null) { return null; } if (node.getType() == Constants.NODE_NEWLINE) { node.setNextNode(cond0(node.getNextNode()/*, logop*/)); return node; } return cond0(node/*, lo...
public Node cond(Node node) {// return cond1(node, 0);if (node == null) {return null;}if (node.getType() == Constants.NODE_NEWLINE) {node.setNextNode(cond0(node.getNextNode()/*, logop*/));return node;}return cond0(node/*, logop*/);}
3,233,325
public Node cond(Node node) { // return cond1(node, 0); if (node == null) { return null; } if (node.getType() == Constants.NODE_NEWLINE) { node.setNextNode(cond0(node.getNextNode()/*, logop*/)); return node; } return cond0(node/*, lo...
public Node cond(Node node) { // return cond1(node, 0); if (node == null) { return null; } if (node.getType() == Constants.NODE_NEWLINE) { node.setNextNode(cond0(node.getNextNode())); return node; } return cond0(node/*, logop*/); ...
3,233,326
public Node cond(Node node) { // return cond1(node, 0); if (node == null) { return null; } if (node.getType() == Constants.NODE_NEWLINE) { node.setNextNode(cond0(node.getNextNode()/*, logop*/)); return node; } return cond0(node/*, lo...
public Node cond(Node node) { // return cond1(node, 0); if (node == null) { return null; } if (node.getType() == Constants.NODE_NEWLINE) { node.setNextNode(cond0(node.getNextNode()/*, logop*/)); return node; } return cond0(node); ...
3,233,327
private Node cond0(Node node /*, int logop*/) { int type = node.getType(); // enum node_type assign_in_cond(node); // DOT => FLIP boolean exclusive = true; switch (type) { /*case Constants.NODE_DSTR : case Constants.NODE_STR : if (logop...
private Node cond0(Node node /*, int logop*/) { int type = node.getType(); // enum node_type assign_in_cond(node); // DOT => FLIP boolean exclusive = true; switch (type) { /*case Constants.NODE_DSTR : case Constants.NODE_STR : if (logop...
3,233,328
private Node cond0(Node node /*, int logop*/) { int type = node.getType(); // enum node_type assign_in_cond(node); // DOT => FLIP boolean exclusive = true; switch (type) { /*case Constants.NODE_DSTR : case Constants.NODE_STR : if (logop...
private Node cond0(Node node /*, int logop*/) { int type = node.getType(); // enum node_type assign_in_cond(node); // DOT => FLIP boolean exclusive = true; switch (type) { /*case Constants.NODE_DSTR : case Constants.NODE_STR : if (logop...
3,233,329
private Node cond0(Node node /*, int logop*/) { int type = node.getType(); // enum node_type assign_in_cond(node); // DOT => FLIP boolean exclusive = true; switch (type) { /*case Constants.NODE_DSTR : case Constants.NODE_STR : if (logop...
privateNodecond0(Nodenode/*,intlogop*/){inttype=node.getType();//enumnode_typeassign_in_cond(node);//DOT=>FLIPbooleanexclusive=true;switch(type){/*caseConstants.NODE_DSTR:caseConstants.NODE_STR:if(logop!=0){break;}rb_warn("stringliteralincondition");break;*/caseConstants.NODE_DREGX:caseConstants.NODE_DREGX_ONCE://warni...
3,233,330
private Node cond0(Node node /*, int logop*/) { int type = node.getType(); // enum node_type assign_in_cond(node); // DOT => FLIP boolean exclusive = true; switch (type) { /*case Constants.NODE_DSTR : case Constants.NODE_STR : if (logop...
private Node cond0(Node node /*, int logop*/) { int type = node.getType(); // enum node_type assign_in_cond(node); // DOT => FLIP boolean exclusive = true; switch (type) { /*case Constants.NODE_DSTR : case Constants.NODE_STR : if (logop...
3,233,331
private Node cond0(Node node /*, int logop*/) { int type = node.getType(); // enum node_type assign_in_cond(node); // DOT => FLIP boolean exclusive = true; switch (type) { /*case Constants.NODE_DSTR : case Constants.NODE_STR : if (logop...
privateNodecond0(Nodenode/*,intlogop*/){inttype=node.getType();//enumnode_typeassign_in_cond(node);//DOT=>FLIPbooleanexclusive=true;switch(type){/*caseConstants.NODE_DSTR:caseConstants.NODE_STR:if(logop!=0){break;}rb_warn("stringliteralincondition");break;*/caseConstants.NODE_DREGX:caseConstants.NODE_DREGX_ONCE://warni...
3,233,332
public Node getAccessNode(String id) { id = id.intern(); if (id.charAt(0) == '#') { // Special variable or constant id = id.substring(1).intern(); if (id == "self") { return nf.newSelf(); } else if (id == "nil") { return nf.newN...
public Node getAccessNode(String id) { id = id.intern(); /*if (id.charAt(0) == '#') { // Special variable or constant id = id.substring(1).intern(); if (id == "self") { return nf.newSelf(); } else if (id == "nil") { return nf.ne...
3,233,333
public Node getAccessNode(String id) { id = id.intern(); if (id.charAt(0) == '#') { // Special variable or constant id = id.substring(1).intern(); if (id == "self") { return nf.newSelf(); } else if (id == "nil") { return nf.newN...
public Node getAccessNode(String id) { id = id.intern(); if (id.charAt(0) == '#') { // Special variable or constant id = id.substring(1).intern(); if (id == "self") { return nf.newSelf(); } else if (id == "nil") { return nf.newN...
3,233,334
public Node getAccessNode(String id) { id = id.intern(); if (id.charAt(0) == '#') { // Special variable or constant id = id.substring(1).intern(); if (id == "self") { return nf.newSelf(); } else if (id == "nil") { return nf.newN...
public Node getAccessNode(String id) { id = id.intern(); if (id.charAt(0) == '#') { // Special variable or constant id = id.substring(1).intern(); if (id == "self") { return nf.newSelf(); else if (id == "nil") { return nf.newNi...
3,233,335
public Node getAssignmentNode(String id, Node valueNode) { value_expr(valueNode); id = id.intern(); if (id.charAt(0) == '#') { // Special variable or constant. id = id.substring(1).intern(); if (id == "self") { yyerror("Can't change the value of s...
public Node getAssignmentNode(String id, Node valueNode) { value_expr(valueNode); id = id.intern(); /*if (id.charAt(0) == '#') { // Special variable or constant. id = id.substring(1).intern(); if (id == "self") { yyerror("Can't change the value of...
3,233,336
public Node getAssignmentNode(String id, Node valueNode) { value_expr(valueNode); id = id.intern(); if (id.charAt(0) == '#') { // Special variable or constant. id = id.substring(1).intern(); if (id == "self") { yyerror("Can't change the value of s...
public Node getAssignmentNode(String id, Node valueNode) { value_expr(valueNode); id = id.intern(); if (id.charAt(0) == '#') { // Special variable or constant. id = id.substring(1).intern(); if (id == "self") { yyerror("Can't change the value of s...
3,233,337
public int getLine() { return _line; }
public int getLine() { return ruby.getSourceLine(); }
3,233,338
public Node newline_node(Node node) { NewlineNode nl = null; if (node != null) { nl = nf.newNewline(node); fixpos(nl, node); // nl.setNth(node.getLine()); not needed anymore Benoit } return nl; }
public Node newline_node(Node node) { NewlineNode nl = null; if (node != null) { nl = nf.newNewline(node); nl.setPosFrom(node); // nl.setNth(node.getLine()); not needed anymore Benoit } return nl; }
3,233,339
public Node node_assign(Node lhs, Node rhs) { if (lhs == null) { return null; } value_expr(rhs); switch (lhs.getType()) { case Constants.NODE_GASGN : case Constants.NODE_IASGN : case Constants.NODE_LASGN : case Constants.NODE_DASGN :...
public Node node_assign(Node lhs, Node rhs) { if (lhs == null) { return null; } value_expr(rhs); switch (lhs.getType()) { case Constants.NODE_GASGN : case Constants.NODE_IASGN : case Constants.NODE_LASGN : case Constants.NODE_DASGN :...
3,233,340
public Node node_assign(Node lhs, Node rhs) { if (lhs == null) { return null; } value_expr(rhs); switch (lhs.getType()) { case Constants.NODE_GASGN : case Constants.NODE_IASGN : case Constants.NODE_LASGN : case Constants.NODE_DASGN :...
public Node node_assign(Node lhs, Node rhs) { if (lhs == null) { return null; } value_expr(rhs); switch (lhs.getType()) { case Constants.NODE_GASGN : case Constants.NODE_IASGN : case Constants.NODE_LASGN : case Constants.NODE_DASGN :...
3,233,341
public void testAPITask() { final class T extends APITask { public T() { DefaultLogger logger = new DefaultLogger(); logger.setMessageOutputLevel(Project.MSG_DEBUG); logger.setErrorPrintStream(System.err); logger.setO...
public void testAPITask() { final class T extends APITask { public T() { DefaultLogger logger = new DefaultLogger(); logger.setMessageOutputLevel(Project.MSG_DEBUG); logger.setErrorPrintStream(System.err); logger.setO...
3,233,342
public void testAPITask() { final class T extends APITask { public T() { DefaultLogger logger = new DefaultLogger(); logger.setMessageOutputLevel(Project.MSG_DEBUG); logger.setErrorPrintStream(System.err); logger.setO...
public void testAPITask() { final class T extends APITask { public T() { DefaultLogger logger = new DefaultLogger(); logger.setMessageOutputLevel(Project.MSG_DEBUG); logger.setErrorPrintStream(System.err); logger.setO...
3,233,343
public void testAPITask() { final class T extends APITask { public T() { DefaultLogger logger = new DefaultLogger(); logger.setMessageOutputLevel(Project.MSG_DEBUG); logger.setErrorPrintStream(System.err); logger.setO...
public void testAPITask() { final class T extends APITask { public T() { DefaultLogger logger = new DefaultLogger(); logger.setMessageOutputLevel(Project.MSG_DEBUG); logger.setErrorPrintStream(System.err); logger.setO...
3,233,344
public void testAPITask() { final class T extends APITask { public T() { DefaultLogger logger = new DefaultLogger(); logger.setMessageOutputLevel(Project.MSG_DEBUG); logger.setErrorPrintStream(System.err); logger.setO...
public void testAPITask() { final class T extends APITask { public T() { DefaultLogger logger = new DefaultLogger(); logger.setMessageOutputLevel(Project.MSG_DEBUG); logger.setErrorPrintStream(System.err); logger.setO...
3,233,345
public T() { DefaultLogger logger = new DefaultLogger(); logger.setMessageOutputLevel(Project.MSG_DEBUG); logger.setErrorPrintStream(System.err); logger.setOutputPrintStream(System.out); setProject(new Project()); ...
public T() { DefaultLogger logger = new DefaultLogger(); logger.setMessageOutputLevel(Project.MSG_DEBUG); logger.setErrorPrintStream(System.err); logger.setOutputPrintStream(System.out); setProject(new Project()); ...
3,233,346
public IRubyObject createBacktrace(int level, boolean nativeException) { RubyArray backtrace = runtime.newArray(); int traceSize = frameIndex - level; if (traceSize <= 0) { return backtrace; } if (nativeException) { // assert level == 0; ...
public IRubyObject createBacktrace(int level, boolean nativeException) { RubyArray backtrace = runtime.newArray(); int traceSize = frameIndex - level; if (traceSize <= 0) { return backtrace; } if (nativeException) { // assert level == 0; ...
3,233,347
public IRubyObject backtrace() { if (backtrace == null) { return getRuntime().getNil(); } return backtrace; }
public IRubyObject backtrace() { if (backtrace == null) { return getRuntime().getNil(); } return backtrace; }
3,233,351
public RubyException exception(IRubyObject[] args) { switch (args.length) { case 0 : return this; case 1 : if (args[0] == this) { return this; } return newInstance(getMetaClass(), args); default : ...
public RubyException exception(IRubyObject[] args) { switch (args.length) { case 0 : return this; case 1 : if (args[0] == this) { return this; } return newInstance(getMetaClass(), args); default : ...
3,233,352
public RubyException exception(IRubyObject[] args) { switch (args.length) { case 0 : return this; case 1 : if (args[0] == this) { return this; } return newInstance(getMetaClass(), args); default : ...
publicRubyExceptionexception(IRubyObject[]args){switch(args.length){case0:returnthis;case1:if(args[0]==this){returnthis;}returnnewInstance(getMetaClass(),args);default:throwgetRuntime().newArgumentError("Wrongargumentcount");}}
3,233,353
public IRubyObject inspect() { RubyModule rubyClass = getMetaClass(); RubyString exception = RubyString.stringValue(this); if (exception.getValue().length() == 0) { return getRuntime().newString(rubyClass.getName()); } StringBuffer sb = new StringBuffer(); sb.app...
publicIRubyObjectinspect(){RubyModulerubyClass=getMetaClass();RubyStringexception=RubyString.stringValue(this);if(exception.getValue().length()==0){returngetRuntime().newString(rubyClass.getName());}StringBuffersb=newStringBuffer();sb.append("#<");sb.append(rubyClass.getName());sb.append(":");sb.append(exception.getVal...
3,233,354
public IRubyObject inspect() { RubyModule rubyClass = getMetaClass(); RubyString exception = RubyString.stringValue(this); if (exception.getValue().length() == 0) { return getRuntime().newString(rubyClass.getName()); } StringBuffer sb = new StringBuffer(); sb.app...
public IRubyObject inspect() { RubyModule rubyClass = getMetaClass(); RubyString exception = RubyString.stringValue(this); if (exception.getValue().length() == 0) { return getRuntime().newString(rubyClass.getName()); } StringBuffer sb = new StringBuffer(); sb.app...
3,233,355
public void printBacktrace(PrintStream errorStream) { IRubyObject[] elements = ((RubyArray) backtrace()).toJavaArray(); for (int i = 1; i < elements.length; i++) { IRubyObject stackTraceLine = elements[i]; if (stackTraceLine instanceof RubyString) { printStackTraceLine(errorStream, stackTraceLine); ...
public void printBacktrace(PrintStream errorStream) { IRubyObject[] elements = ((RubyArray) backtrace()).toJavaArray(); for (int i = 1; i < elements.length; i++) { IRubyObject stackTraceLine = elements[i]; if (stackTraceLine instanceof RubyString) { printStackTraceLine(errorStream, stackTraceLine); ...
3,233,356
public void printBacktrace(PrintStream errorStream) { IRubyObject[] elements = ((RubyArray) backtrace()).toJavaArray(); for (int i = 1; i < elements.length; i++) { IRubyObject stackTraceLine = elements[i]; if (stackTraceLine instanceof RubyString) { printStackTraceLine(errorStream, stackTraceLine); ...
public void printBacktrace(PrintStream errorStream) { IRubyObject[] elements = ((RubyArray) backtrace()).toJavaArray(); for (int i = 1; i < elements.length; i++) { IRubyObject stackTraceLine = elements[i]; if (stackTraceLine instanceof RubyString) { printStackTraceLine(errorStream, stackTraceLine); ...
3,233,357
public void printBacktrace(PrintStream errorStream) { IRubyObject[] elements = ((RubyArray) backtrace()).toJavaArray(); for (int i = 1; i < elements.length; i++) { IRubyObject stackTraceLine = elements[i]; if (stackTraceLine instanceof RubyString) { printStackTraceLine(errorStream, stackTraceLine); ...
public void printBacktrace(PrintStream errorStream) { IRubyObject[] elements = ((RubyArray) backtrace()).toJavaArray(); for (int i = 1; i < elements.length; i++) { IRubyObject stackTraceLine = elements[i]; if (stackTraceLine instanceof RubyString) { printStackTraceLine(errorStream, stackTraceLine); ...
3,233,358
public RubyArray set_backtrace(IRubyObject obj) { backtrace = obj.convertToArray(); return backtrace; }
public RubyArray set_backtrace(IRubyObject obj) { backtrace = obj.convertToArray(); return backtrace; }
3,233,359
private int sysread(StringBuffer buf, int length) throws IOException { if (buf == null) { throw new IOException("sysread2: Buf is null"); } int i = 0; for (;i < length; i++) { int c = sysread(); if (c == -1) { if (i <= 0...
protected int sysread(StringBuffer buf, int length) throws IOException { if (buf == null) { throw new IOException("sysread2: Buf is null"); } int i = 0; for (;i < length; i++) { int c = sysread(); if (c == -1) { if (i <=...
3,233,360
private void init() { env = BrowserEnvironment.getInstance(); progressListeners = new HashSet(); modelListeners = new HashSet(); selectedThumbnails = new HashSet(); attributeMap = new AttributeMap(); groupingMethod = new SingleGroupingMethod(); groupModels = Array...
private void init() { env = BrowserEnvironment.getInstance(); progressListeners = new HashSet(); modelListeners = new HashSet(); selectedThumbnails = new HashSet(); attributeMap = new AttributeMap(); groupingMethod = new SingleGroupingMethod(); groupModels = Array...
3,233,361
protected boolean managedPermissions(boolean locked, boolean privileged, IObject obj, Details previousDetails, Details currentDetails, Details newDetails) { // setup boolean altered = false; Permissions previousP = previousDetails == null ? null : previousDetails.getPermissions(); Permissions currentP = c...
protected boolean managedPermissions(boolean locked, boolean privileged, IObject obj, Details previousDetails, Details currentDetails, Details newDetails) { // setup boolean altered = false; Permissions previousP = previousDetails == null ? null : previousDetails.getPermissions(); Permissions currentP = c...
3,233,362
protected boolean managedPermissions(boolean locked, boolean privileged, IObject obj, Details previousDetails, Details currentDetails, Details newDetails) { // setup boolean altered = false; Permissions previousP = previousDetails == null ? null : previousDetails.getPermissions(); Permissions currentP = c...
protected boolean managedPermissions(boolean locked, boolean privileged, IObject obj, Details previousDetails, Details currentDetails, Details newDetails) { // setup boolean altered = false; Permissions previousP = previousDetails == null ? null : previousDetails.getPermissions(); Permissions currentP = c...
3,233,363
public static RubyClass createBignumClass(Ruby ruby) { RubyClass bignumClass = ruby.defineClass("Bignum", ruby.getClasses().getIntegerClass()); //rb_define_method(rb_cBignum, "-@", rb_big_uminus, 0); //rb_define_method(rb_cBignum, "divmod", rb_big_divmod, 1); //rb_define_method(rb_cBignu...
public static RubyClass createBignumClass(Ruby ruby) {RubyClass bignumClass = ruby.defineClass("Bignum", ruby.getClasses().getIntegerClass());//rb_define_method(rb_cBignum, "-@", rb_big_uminus, 0);//rb_define_method(rb_cBignum, "divmod", rb_big_divmod, 1);//rb_define_method(rb_cBignum, "modulo", rb_big_modulo, 1);//rb_...
3,233,365
public IRubyObject callIndexed(int index, IRubyObject[] args) { switch (index) { case ObjectDefinition.CLONE : return rbClone(); case ObjectDefinition.DUP : return dup(); case ObjectDefinition.EQUAL : return equal(args[0]); ...
public IRubyObject callIndexed(int index, IRubyObject[] args) { switch (index) { case ObjectDefinition.RBCLONE : return rbClone(); case ObjectDefinition.DUP : return dup(); case ObjectDefinition.EQUAL : return equal(args[0]); ...
3,233,367
public IRubyObject callIndexed(int index, IRubyObject[] args) { switch (index) { case ObjectDefinition.CLONE : return rbClone(); case ObjectDefinition.DUP : return dup(); case ObjectDefinition.EQUAL : return equal(args[0]); ...
public IRubyObject callIndexed(int index, IRubyObject[] args) { switch (index) { case ObjectDefinition.CLONE : return rbClone(); case ObjectDefinition.DUP : return dup(); case ObjectDefinition.EQUAL : return equal(args[0]); ...
3,233,368
public void testUnallowedPasswordChange() throws Exception { loginRoot(); // create a new user for the test Experimenter e = new Experimenter(); e.setFirstName("user admin setters"); e.setLastName("test"); e.setOmeName(UUID.randomUUID().toString()); iAdmin.createUser(e); loginUser(e.getOmeName()); try { i...
public void testUnallowedPasswordChange() throws Exception { loginRoot(); // create a new user for the test Experimenter e = new Experimenter(); e.setFirstName("user admin setters"); e.setLastName("test"); e.setOmeName(UUID.randomUUID().toString()); iAdmin.createUser(e); loginUser(e.getOmeName()); try { i...
3,233,369
protected void onSetUp() throws Exception { super.onSetUp(); //ome.security.Utils.setUserAuth(); pix = (IPixels) applicationContext.getBean("pixelsService"); }
protected void onSetUp() throws Exception { super.onSetUp(); //ome.security.Utils.setUserAuth(); pix = factory.getPixelsService(); }
3,233,370
public RubyFixnum hash() { return newFixnum((int) value ^ (int) (value >> 32)); }
public RubyFixnum hash() { return newFixnum(hashCode()); }
3,233,371
protected boolean managedPermissions(boolean locked, boolean privileged, IObject obj, Details previousDetails, Details currentDetails, Details newDetails) { // setup boolean altered = false; Permissions previousP = previousDetails == null ? null : previousDetails.getPermissions(); Permissions currentP = c...
protected boolean managedPermissions(boolean locked, boolean privileged, IObject obj, Details previousDetails, Details currentDetails, Details newDetails) { // setup boolean altered = false; Permissions previousP = previousDetails == null ? null : previousDetails.getPermissions(); Permissions currentP = c...
3,233,373
public void runAsAdmin(AdminAction action) { Assert.notNull(action); disable(MergeEventListener.MERGE_EVENT); cd.setAdmin(true); try { action.runAsAdmin(); } finally { cd.setAdmin(false); enable(MergeEventListener.MERGE_EVENT); } }
public void runAsAdmin(AdminAction action) { Assert.notNull(action); disable(MergeEventListener.MERGE_EVENT); cd.setAdmin(true); try { action.runAsAdmin(); } finally { cd.setAdmin(false); enable(MergeEventListener.MERGE_EVENT); } }
3,233,374
public Main(String[] args) { LongOpt[] longOpts = new LongOpt[2]; longOpts[0] = new LongOpt("instrumentation", LongOpt.REQUIRED_ARGUMENT, null, 'i'); longOpts[1] = new LongOpt("output", LongOpt.REQUIRED_ARGUMENT, null, 'o'); Getopt g = new Getopt(getClass().getName(), args, ":i:o:", longOpts); int c; File ...
public Main(String[] args) { LongOpt[] longOpts = new LongOpt[2]; longOpts[0] = new LongOpt("instrumentation", LongOpt.REQUIRED_ARGUMENT, null, 'i'); longOpts[1] = new LongOpt("output", LongOpt.REQUIRED_ARGUMENT, null, 'o'); Getopt g = new Getopt(getClass().getName(), args, ":i:o:", longOpts); int c; File ...
3,233,375
public Main(String[] args) { LongOpt[] longOpts = new LongOpt[2]; longOpts[0] = new LongOpt("instrumentation", LongOpt.REQUIRED_ARGUMENT, null, 'i'); longOpts[1] = new LongOpt("output", LongOpt.REQUIRED_ARGUMENT, null, 'o'); Getopt g = new Getopt(getClass().getName(), args, ":i:o:", longOpts); int c; File ...
public Main(String[] args) { LongOpt[] longOpts = new LongOpt[2]; longOpts[0] = new LongOpt("instrumentation", LongOpt.REQUIRED_ARGUMENT, null, 'i'); longOpts[1] = new LongOpt("output", LongOpt.REQUIRED_ARGUMENT, null, 'o'); Getopt g = new Getopt(getClass().getName(), args, ":i:o:", longOpts); int c; File ...
3,233,376
public Main(String[] args) { LongOpt[] longOpts = new LongOpt[2]; longOpts[0] = new LongOpt("instrumentation", LongOpt.REQUIRED_ARGUMENT, null, 'i'); longOpts[1] = new LongOpt("output", LongOpt.REQUIRED_ARGUMENT, null, 'o'); Getopt g = new Getopt(getClass().getName(), args, ":i:o:", longOpts); int c; File ...
public Main(String[] args) { LongOpt[] longOpts = new LongOpt[2]; longOpts[0] = new LongOpt("instrumentation", LongOpt.REQUIRED_ARGUMENT, null, 'i'); longOpts[1] = new LongOpt("output", LongOpt.REQUIRED_ARGUMENT, null, 'o'); Getopt g = new Getopt(getClass().getName(), args, ":i:o:", longOpts); int c; File ...
3,233,377
public static void main(String[] args) { Copyright.print(System.out); System.out.println("Cobertura instrumentation merge tool"); boolean hasCommandsFile = false; String commandsFileName = null; for (int i = 0; i < args.length; i++) { if (args[i].equals("-commandsfile")) { hasCommandsFile = true; comma...
public static void main(String[] args) { Copyright.print(System.out); System.out.println("Cobertura instrumentation merge tool"); boolean hasCommandsFile = false; String commandsFileName = null; for (int i = 0; i < args.length; i++) { if (args[i].equals("-commandsfile")) { hasCommandsFile = true; comma...
3,233,378
private void synch(int v) { curZ = v; view.getZSlider().setValue(v); view.getZField().setText(""+v); manager.onZChange(curZ); }
private void synch(int v) { curZ = v; view.getZSlider().setValue(v); view.getZField().setText(""+v); view.repaint(); manager.onZChange(curZ); }
3,233,379
public void copy(IObject model, ModelMapper mapper) { if (model instanceof Experimenter) { Experimenter exp = (Experimenter) model; super.copy(model,mapper); // Fields this.setFirstName(exp.getFirstName()); this.setLastName(exp.getLastName()); this.setEmail(exp.getEmail...
public void copy(IObject model, ModelMapper mapper) { if (model instanceof Experimenter) { Experimenter exp = (Experimenter) model; super.copy(model,mapper); // Fields this.setFirstName(exp.getFirstName()); this.setLastName(exp.getLastName()); this.setEmail(exp.getEmail...
3,233,380
public HTMLReport(ProjectData projectData, File outputDir, File sourceDir) throws Exception { this.destinationDir = outputDir; this.sourceDir = sourceDir; this.projectData = projectData; CopyFiles.copy(outputDir); generatePackageList(); generateSourceFileLists(); generateOverviews(); generateSourceFiles(); }
public HTMLReport(ProjectData projectData, File outputDir, File sourceDir) throws Exception { this.destinationDir = outputDir; this.sourceDir = sourceDir; this.projectData = projectData; CopyFiles.copy(outputDir); generatePackageList(); generateSourceFileLists(); generateOverviews(); generateSourceFiles(); }
3,233,381
public HTMLReport(ProjectData projectData, File outputDir, File sourceDir) throws Exception { this.destinationDir = outputDir; this.sourceDir = sourceDir; this.projectData = projectData; CopyFiles.copy(outputDir); generatePackageList(); generateSourceFileLists(); generateOverviews(); generateSourceFiles(); }
public HTMLReport(ProjectData projectData, File outputDir, File sourceDir) throws Exception { this.destinationDir = outputDir; this.sourceDir = sourceDir; this.projectData = projectData; CopyFiles.copy(outputDir); generatePackageList(); generateSourceFileLists(); generateOverviews(); generateSourceFiles(); }
3,233,382
private void generateSourceFile(SourceFileData sourceFileData) throws IOException { if (!sourceFileData.containsInstrumentationInfo()) { logger.info("Data file does not contain instrumentation " + "information for the file " + sourceFileData.getName() + ". Ensure this class was instrumented, and this " ...
private void generateSourceFile(SourceFileData sourceFileData) throws IOException { if (!sourceFileData.containsInstrumentationInfo()) { logger.info("Data file does not contain instrumentation " + "information for the file " + sourceFileData.getName() + ". Ensure this class was instrumented, and this " ...
3,233,383
private String generateTableRowForPackage(PackageData packageData) { StringBuffer ret = new StringBuffer(); String url1 = "frame-summary-" + packageData.getName() + ".html"; String url2 = "frame-sourcefiles-" + packageData.getName() + ".html"; double lineCoverage = -1; double branchCoverage = -1; double ccn = Ut...
private String generateTableRowForPackage(PackageData packageData) { StringBuffer ret = new StringBuffer(); String url1 = "frame-summary-" + packageData.getName() + ".html"; String url2 = "frame-sourcefiles-" + packageData.getName() + ".html"; double lineCoverage = -1; double branchCoverage = -1; double ccn = Ut...
3,233,384
private String generateTableRowForSourceFile(SourceFileData sourceFileData) { StringBuffer ret = new StringBuffer(); double lineCoverage = -1; double branchCoverage = -1; double ccn = Util.getCCN( new File(sourceDir, sourceFileData.getName()), false); if (sourceFileData.getNumberOfValidLines() > 0) lineCover...
private String generateTableRowForSourceFile(SourceFileData sourceFileData) { StringBuffer ret = new StringBuffer(); double lineCoverage = -1; double branchCoverage = -1; double ccn = Util.getCCN( new File(sourceDir, sourceFileData.getName()), false); if (sourceFileData.getNumberOfValidLines() > 0) lineCover...
3,233,385
private String generateTableRowForTotal() { StringBuffer ret = new StringBuffer(); double lineCoverage = -1; double branchCoverage = -1; double ccn = Util.getCCN(sourceDir, true); if (projectData.getNumberOfValidLines() > 0) lineCoverage = projectData.getLineCoverageRate(); if (projectData.getNumberOfValidBran...
private String generateTableRowForTotal() { StringBuffer ret = new StringBuffer(); double lineCoverage = -1; double branchCoverage = -1; double ccn = Util.getCCN(sourceDir, true); if (projectData.getNumberOfValidLines() > 0) lineCoverage = projectData.getLineCoverageRate(); if (projectData.getNumberOfValidBran...
3,233,386
private String generateTableRowForTotal() { StringBuffer ret = new StringBuffer(); double lineCoverage = -1; double branchCoverage = -1; double ccn = Util.getCCN(sourceDir, true); if (projectData.getNumberOfValidLines() > 0) lineCoverage = projectData.getLineCoverageRate(); if (projectData.getNumberOfValidBran...
private String generateTableRowForTotal() { StringBuffer ret = new StringBuffer(); double lineCoverage = -1; double branchCoverage = -1; double ccn = Util.getCCN(sourceDir, true); if (projectData.getNumberOfValidLines() > 0) lineCoverage = projectData.getLineCoverageRate(); if (projectData.getNumberOfValidBran...
3,233,387
public RubyObject[] getArray(Ruby ruby, RubyObject self) { ArrayList ary = new ArrayList(getALength()); for (Node node = this; node != null ; node = node.getNextNode()) { ary.add(node.getHeadNode().eval(ruby, self)); } return (RubyObject[])ary.toArray(new RubyObject[ary.size()...
public RubyObject[] getArray(Ruby ruby, RubyObject self) { ArrayList ary = new ArrayList(getALength()); for (Node node = this; node != null ; node = node.getNextNode()) { ary.add(node.getHeadNode().eval(ruby, self)); } return (RubyObject[])ary.toArray(new RubyObject[ary.size()...
3,233,388
public void testAddBundel() throws Exception { Project project; Bundle bundle; BundleClassLoader bundleClassLoader; Class clazz = null; project = mavenBundleManager.loadProject("springframework", "spring", "1.2.4"); bundle = mavenBundleManager.installBundle(project); ...
public void testAddBundel() throws Exception { Project project; Bundle bundle; BundleClassLoader bundleClassLoader; Class clazz = null; project = mavenBundleManager.loadProject("springframework", "spring", "1.2.4"); bundle = mavenBundleManager.installBundle(project); ...
3,233,390
Set getPercentOfCollection(final Set ids, double percent) { if (ids.size() == 0) { throw new IllegalArgumentException(emptyColl); } List ordered = new ArrayList(ids); Set result = new HashSet(); while (result.size() < ids.size() * percent) { int choice = rand...
Set getPercentOfCollection(final Set ids, double percent) { if (ids.size() == 0) { throw new IllegalArgumentException(emptyColl); } List ordered = new ArrayList(ids); Set result = new HashSet(); while (ordered.size() >0 && result.size() < ids.size() * percent) { ...
3,233,391
public static void main(final String[] args) { /*EnhancedDebuggerWindow.PERSISTED_DEBUGGER = true; EnhancedDebuggerWindow.MAX_TABLE_ROWS = 10; XMPPConnection.DEBUG_ENABLED = true; */ String current = System.getProperty("java.library.path"); String classPath = System.getProp...
public static void main(final String[] args) { /*EnhancedDebuggerWindow.PERSISTED_DEBUGGER = true; EnhancedDebuggerWindow.MAX_TABLE_ROWS = 10; XMPPConnection.DEBUG_ENABLED = true; */ String current = System.getProperty("java.library.path"); String classPath = System.getProp...
3,233,393
public RubyString to_s() { return getRuntime().newString(String.valueOf(getLongValue())); }
public RubyString to_s() { return getRuntime().newString(String.valueOf(getLongValue())); }
3,233,394
public long length() { return list.size(); }
public int length() { return list.size(); }
3,233,397
public RubyString m_inspect() { // HACK +++ StringBuffer sb = new StringBuffer(100); sb.append("["); for (int i = 0; i < length(); i++) { if (i > 0) { sb.append(", "); } sb.append(((RubyString)entry(i).funcall(getRuby().intern("inspect")))...
public RubyString m_inspect() { // HACK +++ StringBuffer sb = new StringBuffer(100); sb.append("["); int length = length(); for (int i = 0; i < length; i++) { if (i > 0) { sb.append(", "); } sb.append(((RubyString)entry(i).funcall(getRub...
3,233,398
public RubyArray m_push(RubyObject[] items) { if (items.length == 0) { throw new RubyArgumentException("wrong # of arguments(at least 1)"); } modify(); for (int i = 0; i < items.length; i++) { list.add(items[i]); } return this; }
public RubyArray m_push(RubyObject[] items) { if (items.length == 0) { throw new RubyArgumentException("wrong # of arguments(at least 1)"); } modify(); for (int i = 0; i < length; i++) { list.add(items[i]); } return this; }
3,233,399
public void write(org.webmacro.FastWriter out, org.webmacro.Context context) throws org.webmacro.PropertyException, java.io.IOException { try { String s = null; Context c = null; Macro macro = (Macro)_evalTarget.getValue(context); if (_mapExpr...
public void write(org.webmacro.FastWriter out, org.webmacro.Context context) throws org.webmacro.PropertyException, java.io.IOException { try { String s = null; Context c = null; Macro macro = (Macro)_evalTarget.getValue(context); if (_mapExpr...
3,233,402
final protected void execute (Template tmpl, WebContext c) { FastWriter fw = null; boolean timing = Flags.PROFILE && c.isTiming (); try { if (timing) c.startTiming ("Template.write", tmpl); try { HttpServletResponse resp= c.getResponse (); ...
final protected void execute (Template tmpl, WebContext c) { FastWriter fw = null; boolean timing = Flags.PROFILE && c.isTiming (); try { if (timing) c.startTiming ("Template.write", tmpl); try { HttpServletResponse resp= c.getResponse (); ...
3,233,403
public Quantization_8_16_bit(QuantumDef qd, PixelsType type) { super(qd,type); }
public Quantization_8_16_bit(QuantumDef qd, PixelsType type) { super(qd,type); }
3,233,404
private void buildLUT() { if (LUT == null) initLUT(); // Comparable assumed to be Integer //domain double dStart = getWindowStart(), dEnd = getWindowEnd(); double k = getCurveCoefficient(); double a1 = (qDef.getCdEnd().intValue()-qDef.getCdStart().intValue())/ qDef.getBitResolu...
private void buildLUT() { if (LUT == null) initLUT(); // Comparable assumed to be Integer //domain double dStart = getWindowStart(), dEnd = getWindowEnd(); double k = getCurveCoefficient(); double a1 = (qDef.getCdEnd().intValue()-qDef.getCdStart().intValue())/ qDef.getBitResolu...
3,233,405
private void buildLUT() { if (LUT == null) initLUT(); // Comparable assumed to be Integer //domain double dStart = getWindowStart(), dEnd = getWindowEnd(); double k = getCurveCoefficient(); double a1 = (qDef.getCdEnd().intValue()-qDef.getCdStart().intValue())/ qDef.getBitResolu...
private void buildLUT() { if (LUT == null) initLUT(); // Comparable assumed to be Integer //domain double dStart = getWindowStart(), dEnd = getWindowEnd(); double k = getCurveCoefficient(); double a1 = (qDef.getCdEnd().intValue()-qDef.getCdStart().intValue())/ qDef.getBitResolu...
3,233,406
private void buildLUT() { if (LUT == null) initLUT(); // Comparable assumed to be Integer //domain double dStart = getWindowStart(), dEnd = getWindowEnd(); double k = getCurveCoefficient(); double a1 = (qDef.getCdEnd().intValue()-qDef.getCdStart().intValue())/ qDef.getBitResolu...
private void buildLUT() { if (LUT == null) initLUT(); // Comparable assumed to be Integer //domain double dStart = getWindowStart(), dEnd = getWindowEnd(); double k = getCurveCoefficient(); double a1 = (qDef.getCdEnd().intValue()-qDef.getCdStart().intValue())/ qDef.getBitResolu...
3,233,407
private void buildLUT() { if (LUT == null) initLUT(); // Comparable assumed to be Integer //domain double dStart = getWindowStart(), dEnd = getWindowEnd(); double k = getCurveCoefficient(); double a1 = (qDef.getCdEnd().intValue()-qDef.getCdStart().intValue())/ qDef.getBitResolu...
private void buildLUT() { if (LUT == null) initLUT(); // Comparable assumed to be Integer //domain double dStart = getWindowStart(), dEnd = getWindowEnd(); double k = getCurveCoefficient(); double a1 = (qDef.getCdEnd().intValue()-qDef.getCdStart().intValue())/ qDef.getBitResolu...
3,233,408
private void buildLUT() { if (LUT == null) initLUT(); // Comparable assumed to be Integer //domain double dStart = getWindowStart(), dEnd = getWindowEnd(); double k = getCurveCoefficient(); double a1 = (qDef.getCdEnd().intValue()-qDef.getCdStart().intValue())/ qDef.getBitResolu...
private void buildLUT() { if (LUT == null) initLUT(); // Comparable assumed to be Integer //domain double dStart = getWindowStart(), dEnd = getWindowEnd(); double k = getCurveCoefficient(); double a1 = (qDef.getCdEnd().intValue()-qDef.getCdStart().intValue())/ qDef.getBitResolu...
3,233,409
private void buildLUT() { if (LUT == null) initLUT(); // Comparable assumed to be Integer //domain double dStart = getWindowStart(), dEnd = getWindowEnd(); double k = getCurveCoefficient(); double a1 = (qDef.getCdEnd().intValue()-qDef.getCdStart().intValue())/ qDef.getBitResolu...
private void buildLUT() { if (LUT == null) initLUT(); // Comparable assumed to be Integer //domain double dStart = getWindowStart(), dEnd = getWindowEnd(); double k = getCurveCoefficient(); double a1 = (qDef.getCdEnd().intValue()-qDef.getCdStart().intValue())/ qDef.getBitResolu...
3,233,410
private void buildLUT() { if (LUT == null) initLUT(); // Comparable assumed to be Integer //domain double dStart = getWindowStart(), dEnd = getWindowEnd(); double k = getCurveCoefficient(); double a1 = (qDef.getCdEnd().intValue()-qDef.getCdStart().intValue())/ qDef.getBitResolu...
private void buildLUT() { if (LUT == null) initLUT(); // Comparable assumed to be Integer //domain double dStart = getWindowStart(), dEnd = getWindowEnd(); double k = getCurveCoefficient(); double a1 = (qDef.getCdEnd().intValue()-qDef.getCdStart().intValue())/ qDef.getBitResolu...
3,233,411
private void initDecileMap(double dStart, double dEnd) { double denum = (dEnd-dStart), num = MAX; double decile = ((double) (max-min))/DECILE; Q1 = min; Q9 = max; bDecile = dStart; if (getNoiseReduction()) { Q1 = min+decile; Q9 = max-decile; ...
private double initDecileMap(double dStart, double dEnd) { double denum = (dEnd-dStart), num = MAX; double decile = ((double) (max-min))/DECILE; Q1 = min; Q9 = max; bDecile = dStart; if (getNoiseReduction()) { Q1 = min+decile; Q9 = max-decile; ...
3,233,412
private void initDecileMap(double dStart, double dEnd) { double denum = (dEnd-dStart), num = MAX; double decile = ((double) (max-min))/DECILE; Q1 = min; Q9 = max; bDecile = dStart; if (getNoiseReduction()) { Q1 = min+decile; Q9 = max-decile; ...
private void initDecileMap(double dStart, double dEnd) { double denum = (dEnd-dStart), num = MAX; double decile = ((double) (max-min))/DECILE; Q1 = min; Q9 = max; if (getNoiseReduction()) { Q1 = min+decile; Q9 = max-decile; denum = Q9-Q1;...
3,233,413
private void initDecileMap(double dStart, double dEnd) { double denum = (dEnd-dStart), num = MAX; double decile = ((double) (max-min))/DECILE; Q1 = min; Q9 = max; bDecile = dStart; if (getNoiseReduction()) { Q1 = min+decile; Q9 = max-decile; ...
private void initDecileMap(double dStart, double dEnd) { double denum = (dEnd-dStart), num = MAX; double decile = ((double) (max-min))/DECILE; Q1 = min; Q9 = max; b = dStart; if (getNoiseReduction()) { Q1 = min+decile; Q9 = max-decile; de...
3,233,414
private void initDecileMap(double dStart, double dEnd) { double denum = (dEnd-dStart), num = MAX; double decile = ((double) (max-min))/DECILE; Q1 = min; Q9 = max; bDecile = dStart; if (getNoiseReduction()) { Q1 = min+decile; Q9 = max-decile; ...
private void initDecileMap(double dStart, double dEnd) { double denum = (dEnd-dStart), num = MAX; double decile = ((double) (max-min))/DECILE; Q1 = min; Q9 = max; b = dStart; if (getNoiseReduction()) { Q1 = min+decile; Q9 = max-decile; de...
3,233,415
private void initDecileMap(double dStart, double dEnd) { double denum = (dEnd-dStart), num = MAX; double decile = ((double) (max-min))/DECILE; Q1 = min; Q9 = max; bDecile = dStart; if (getNoiseReduction()) { Q1 = min+decile; Q9 = max-decile; ...
private void initDecileMap(double dStart, double dEnd) { double denum = (dEnd-dStart), num = MAX; double decile = ((double) (max-min))/DECILE; Q1 = min; Q9 = max; bDecile = dStart; if (getNoiseReduction()) { Q1 = min+decile; Q9 = max-decile; ...
3,233,416
private void initNormalizedMap(double k) { ysNormalized = valueMapper.transform(MIN, k); yeNormalized = valueMapper.transform(MAX, k); aNormalized = qDef.getBitResolution().floatValue()/(yeNormalized-ysNormalized); }
private void initNormalizedMap(double k) { ysNormalized = valueMapper.transform(MIN, k); yeNormalized = valueMapper.transform(MAX, k); aNormalized = qDef.getBitResolution().intValue()/ (yeNormalized-ysNormalized); }
3,233,418
public static RubyClass createStringClass(Ruby ruby) { RubyClass stringClass = ruby.defineClass("String", ruby.getObjectClass()); stringClass.includeModule(ruby.getRubyClass("Comparable")); // stringClass.includeModule(ruby.getModules().getEnumerable()); stringClass.defin...
public static RubyClass createStringClass(Ruby ruby) { RubyClass stringClass = ruby.defineClass("String", ruby.getObjectClass()); stringClass.includeModule(ruby.getRubyClass("Comparable")); // stringClass.includeModule(ruby.getModules().getEnumerable()); stringClass.defin...
3,233,419
public static RubyClass createStringClass(Ruby ruby) { RubyClass stringClass = ruby.defineClass("String", ruby.getObjectClass()); stringClass.includeModule(ruby.getRubyClass("Comparable")); // stringClass.includeModule(ruby.getModules().getEnumerable()); stringClass.defin...
public static RubyClass createStringClass(Ruby ruby) { RubyClass stringClass = ruby.defineClass("String", ruby.getObjectClass()); stringClass.includeModule(ruby.getRubyClass("Comparable")); // stringClass.includeModule(ruby.getModules().getEnumerable()); stringClass.defin...
3,233,420
public MetaClass(IRuby runtime, RubyClass superClass, RubyModule parentModule) { super(runtime, runtime.getClass("Class"), superClass, parentModule, null); }
public MetaClass(IRuby runtime, RubyClass superClass, RubyModule parentModule) { super(runtime, runtime.getClass("Class"), superClass, parentModule, null); }
3,233,421