bugged stringlengths 6 599k | fixed stringlengths 6 40.8M | __index_level_0__ int64 0 3.24M |
|---|---|---|
private int parseHereDocument(int closeQuote, boolean indent) { int c; ISourcePosition position = support.getPosition(); // int linesave = ruby.getSourceLine(); newtok(); switch (closeQuote) { case '\'' : case '"' : case '`' : while ((c = nextc()) != closeQuote) { tokadd(c); } if (closeQuote ==... | private int parseHereDocument(int closeQuote, boolean indent) { int c; ISourcePosition position = support.getPosition(); // int linesave = ruby.getSourceLine(); newtok(); switch (closeQuote) { case '\'' : case '"' : case '`' : while ((c = nextc()) != closeQuote) { tokadd(c); } if (closeQuote ==... | 3,237,908 |
private int parseHereDocument(int closeQuote, boolean indent) { int c; ISourcePosition position = support.getPosition(); // int linesave = ruby.getSourceLine(); newtok(); switch (closeQuote) { case '\'' : case '"' : case '`' : while ((c = nextc()) != closeQuote) { tokadd(c); } if (closeQuote ==... | private int parseHereDocument(int closeQuote, boolean indent) { int c; ISourcePosition position = support.getPosition(); // int linesave = ruby.getSourceLine(); newtok(); switch (closeQuote) { case '\'' : case '"' : case '`' : while ((c = nextc()) != closeQuote) { tokadd(c); } if (closeQuote ==... | 3,237,909 |
private int parseHereDocument(int closeQuote, boolean indent) { int c; ISourcePosition position = support.getPosition(); // int linesave = ruby.getSourceLine(); newtok(); switch (closeQuote) { case '\'' : case '"' : case '`' : while ((c = nextc()) != closeQuote) { tokadd(c); } if (closeQuote ==... | private int parseHereDocument(int closeQuote, boolean indent) { int c; ISourcePosition position = support.getPosition(); // int linesave = ruby.getSourceLine(); newtok(); switch (closeQuote) { case '\'' : case '"' : case '`' : while ((c = nextc()) != closeQuote) { tokadd(c); } if (closeQuote ==... | 3,237,910 |
private int parseHereDocument(int closeQuote, boolean indent) { int c; ISourcePosition position = support.getPosition(); // int linesave = ruby.getSourceLine(); newtok(); switch (closeQuote) { case '\'' : case '"' : case '`' : while ((c = nextc()) != closeQuote) { tokadd(c); } if (closeQuote ==... | private int parseHereDocument(int closeQuote, boolean indent) { int c; ISourcePosition position = support.getPosition(); // int linesave = ruby.getSourceLine(); newtok(); switch (closeQuote) { case '\'' : case '"' : case '`' : while ((c = nextc()) != closeQuote) { tokadd(c); } if (closeQuote ==... | 3,237,911 |
private int parseHereDocument(int closeQuote, boolean indent) { int c; ISourcePosition position = support.getPosition(); // int linesave = ruby.getSourceLine(); newtok(); switch (closeQuote) { case '\'' : case '"' : case '`' : while ((c = nextc()) != closeQuote) { tokadd(c); } if (closeQuote ==... | private int parseHereDocument(int closeQuote, boolean indent) { int c; ISourcePosition position = support.getPosition(); // int linesave = ruby.getSourceLine(); newtok(); switch (closeQuote) { case '\'' : case '"' : case '`' : while ((c = nextc()) != closeQuote) { tokadd(c); } if (closeQuote ==... | 3,237,912 |
private int parseHereDocument(int closeQuote, boolean indent) { int c; ISourcePosition position = support.getPosition(); // int linesave = ruby.getSourceLine(); newtok(); switch (closeQuote) { case '\'' : case '"' : case '`' : while ((c = nextc()) != closeQuote) { tokadd(c); } if (closeQuote ==... | private int parseHereDocument(int closeQuote, boolean indent) { int c; ISourcePosition position = support.getPosition(); // int linesave = ruby.getSourceLine(); newtok(); switch (closeQuote) { case '\'' : case '"' : case '`' : while ((c = nextc()) != closeQuote) { tokadd(c); } if (closeQuote ==... | 3,237,913 |
private int parseNumber(char c) { lexState = LexState.EXPR_END; StringBuffer number = new StringBuffer(); if (c == '-') { number.append(c); c = support.read(); } else if (c == '+') { c = support.read(); } char nondigit = '\0'; if (c == '0') { int startLen = number.length(); switch ((c = s... | private int parseNumber(char c) { lexState = LexState.EXPR_END; StringBuffer number = new StringBuffer(); if (c == '-') { number.append(c); c = support.read(); } else if (c == '+') { c = support.read(); } char nondigit = '\0'; if (c == '0') { int startLen = number.length(); switch ((c = s... | 3,237,914 |
private int parseQuotation() { char type = support.read(); char openQuote = type; if (Character.isLetterOrDigit(type)) { openQuote = support.read(); } else { type = 'Q'; } if (type == '\0' || openQuote == '\0') { errorHandler.handleError(IErrors.COMPILE_ERROR, support.getPosition(), Messages.getS... | private int parseQuotation() { char type = support.read(); char openQuote = type; if (Character.isLetterOrDigit(type)) { openQuote = support.read(); } else { type = 'Q'; } if (type == '\0' || openQuote == '\0') { errorHandler.handleError(IErrors.COMPILE_ERROR, support.getPosition(), Messages.getS... | 3,237,915 |
private int parseQuotation() { char type = support.read(); char openQuote = type; if (Character.isLetterOrDigit(type)) { openQuote = support.read(); } else { type = 'Q'; } if (type == '\0' || openQuote == '\0') { errorHandler.handleError(IErrors.COMPILE_ERROR, support.getPosition(), Messages.getS... | private int parseQuotation() { char type = support.read(); char openQuote = type; if (Character.isLetterOrDigit(type)) { openQuote = support.read(); } else { type = 'Q'; } if (type == '\0' || openQuote == '\0') { errorHandler.handleError(IErrors.COMPILE_ERROR, support.getPosition(), Messages.getS... | 3,237,916 |
private int parseQuotation() { char type = support.read(); char openQuote = type; if (Character.isLetterOrDigit(type)) { openQuote = support.read(); } else { type = 'Q'; } if (type == '\0' || openQuote == '\0') { errorHandler.handleError(IErrors.COMPILE_ERROR, support.getPosition(), Messages.getS... | private int parseQuotation() { char type = support.read(); char openQuote = type; if (Character.isLetterOrDigit(type)) { openQuote = support.read(); } else { type = 'Q'; } if (type == '\0' || openQuote == '\0') { errorHandler.handleError(IErrors.COMPILE_ERROR, support.getPosition(), Messages.getS... | 3,237,917 |
private int parseQuotation() { char type = support.read(); char openQuote = type; if (Character.isLetterOrDigit(type)) { openQuote = support.read(); } else { type = 'Q'; } if (type == '\0' || openQuote == '\0') { errorHandler.handleError(IErrors.COMPILE_ERROR, support.getPosition(), Messages.getS... | private int parseQuotation() { char type = support.read(); char openQuote = type; if (Character.isLetterOrDigit(type)) { openQuote = support.read(); } else { type = 'Q'; } if (type == '\0' || openQuote == '\0') { errorHandler.handleError(IErrors.COMPILE_ERROR, support.getPosition(), Messages.getS... | 3,237,918 |
private int parseQuotation() { char type = support.read(); char openQuote = type; if (Character.isLetterOrDigit(type)) { openQuote = support.read(); } else { type = 'Q'; } if (type == '\0' || openQuote == '\0') { errorHandler.handleError(IErrors.COMPILE_ERROR, support.getPosition(), Messages.getS... | private int parseQuotation() { char type = support.read(); char openQuote = type; if (Character.isLetterOrDigit(type)) { openQuote = support.read(); } else { type = 'Q'; } if (type == '\0' || openQuote == '\0') { errorHandler.handleError(IErrors.COMPILE_ERROR, support.getPosition(), Messages.getS... | 3,237,919 |
private int parseQuotedWords(int closeQuote, int openQuote) { int c = nextc(); ISourcePosition position = support.getPosition(); // Skip preceding spaces. while (isSpace(c)) { c = nextc(); } pushback(c); ArrayNode qwords = new ArrayNode(position); // FIX int nest = 0; StringBuffer stringToken = new StringBu... | private int parseQuotedWords(int closeQuote, int openQuote) { int c = nextc(); ISourcePosition position = support.getPosition(); // Skip preceding spaces. while (isSpace(c)) { c = nextc(); } pushback(c); ArrayNode qwords = new ArrayNode(position); // FIX int nest = 0; StringBuffer stringToken = new StringBu... | 3,237,920 |
private int parseQuotedWords(int closeQuote, int openQuote) { int c = nextc(); ISourcePosition position = support.getPosition(); // Skip preceding spaces. while (isSpace(c)) { c = nextc(); } pushback(c); ArrayNode qwords = new ArrayNode(position); // FIX int nest = 0; StringBuffer stringToken = new StringBu... | private int parseQuotedWords(int closeQuote, int openQuote) { int c = nextc(); ISourcePosition position = support.getPosition(); // Skip preceding spaces. while (isSpace(c)) { c = nextc(); } pushback(c); ArrayNode qwords = new ArrayNode(position); // FIX int nest = 0; StringBuffer stringToken = new StringBu... | 3,237,921 |
private int parseQuotedWords(int closeQuote, int openQuote) { int c = nextc(); ISourcePosition position = support.getPosition(); // Skip preceding spaces. while (isSpace(c)) { c = nextc(); } pushback(c); ArrayNode qwords = new ArrayNode(position); // FIX int nest = 0; StringBuffer stringToken = new StringBu... | private int parseQuotedWords(int closeQuote, int openQuote) { int c = nextc(); ISourcePosition position = support.getPosition(); // Skip preceding spaces. while (isSpace(c)) { c = nextc(); } pushback(c); ArrayNode qwords = new ArrayNode(position); // FIX int nest = 0; StringBuffer stringToken = new StringBu... | 3,237,922 |
private int parseQuotedWords(int closeQuote, int openQuote) { int c = nextc(); ISourcePosition position = support.getPosition(); // Skip preceding spaces. while (isSpace(c)) { c = nextc(); } pushback(c); ArrayNode qwords = new ArrayNode(position); // FIX int nest = 0; StringBuffer stringToken = new StringBu... | private int parseQuotedWords(int closeQuote, int openQuote) { int c = nextc(); ISourcePosition position = support.getPosition(); // Skip preceding spaces. while (isSpace(c)) { c = nextc(); } pushback(c); ArrayNode qwords = new ArrayNode(position); // FIX int nest = 0; StringBuffer stringToken = new StringBu... | 3,237,923 |
private int parseQuotedWords(int closeQuote, int openQuote) { int c = nextc(); ISourcePosition position = support.getPosition(); // Skip preceding spaces. while (isSpace(c)) { c = nextc(); } pushback(c); ArrayNode qwords = new ArrayNode(position); // FIX int nest = 0; StringBuffer stringToken = new StringBu... | private int parseQuotedWords(int closeQuote, int openQuote) { int c = nextc(); ISourcePosition position = support.getPosition(); // Skip preceding spaces. while (isSpace(c)) { c = nextc(); } pushback(c); ArrayNode qwords = new ArrayNode(position); // FIX int nest = 0; StringBuffer stringToken = new StringBu... | 3,237,924 |
private int parseQuotedWords(int closeQuote, int openQuote) { int c = nextc(); ISourcePosition position = support.getPosition(); // Skip preceding spaces. while (isSpace(c)) { c = nextc(); } pushback(c); ArrayNode qwords = new ArrayNode(position); // FIX int nest = 0; StringBuffer stringToken = new StringBu... | private int parseQuotedWords(int closeQuote, int openQuote) { int c = nextc(); ISourcePosition position = support.getPosition(); // Skip preceding spaces. while (isSpace(c)) { c = nextc(); } pushback(c); ArrayNode qwords = new ArrayNode(position); // FIX int nest = 0; StringBuffer stringToken = new StringBu... | 3,237,925 |
private int parseQuotedWords(int closeQuote, int openQuote) { int c = nextc(); ISourcePosition position = support.getPosition(); // Skip preceding spaces. while (isSpace(c)) { c = nextc(); } pushback(c); ArrayNode qwords = new ArrayNode(position); // FIX int nest = 0; StringBuffer stringToken = new StringBu... | private int parseQuotedWords(int closeQuote, int openQuote) { int c = nextc(); ISourcePosition position = support.getPosition(); // Skip preceding spaces. while (isSpace(c)) { c = nextc(); } pushback(c); ArrayNode qwords = new ArrayNode(position); // FIX int nest = 0; StringBuffer stringToken = new StringBu... | 3,237,926 |
private int parseQuotedWords(int closeQuote, int openQuote) { int c = nextc(); ISourcePosition position = support.getPosition(); // Skip preceding spaces. while (isSpace(c)) { c = nextc(); } pushback(c); ArrayNode qwords = new ArrayNode(position); // FIX int nest = 0; StringBuffer stringToken = new StringBu... | private int parseQuotedWords(int closeQuote, int openQuote) { int c = nextc(); ISourcePosition position = support.getPosition(); // Skip preceding spaces. while (isSpace(c)) { c = nextc(); } pushback(c); ArrayNode qwords = new ArrayNode(position); // FIX int nest = 0; StringBuffer stringToken = new StringBu... | 3,237,927 |
private int parseQuotedWords(int closeQuote, int openQuote) { int c = nextc(); ISourcePosition position = support.getPosition(); // Skip preceding spaces. while (isSpace(c)) { c = nextc(); } pushback(c); ArrayNode qwords = new ArrayNode(position); // FIX int nest = 0; StringBuffer stringToken = new StringBu... | private int parseQuotedWords(int closeQuote, int openQuote) { int c = nextc(); ISourcePosition position = support.getPosition(); // Skip preceding spaces. while (isSpace(c)) { c = nextc(); } pushback(c); ArrayNode qwords = new ArrayNode(position); // FIX int nest = 0; StringBuffer stringToken = new StringBu... | 3,237,928 |
private int parseQuotedWords(int closeQuote, int openQuote) { int c = nextc(); ISourcePosition position = support.getPosition(); // Skip preceding spaces. while (isSpace(c)) { c = nextc(); } pushback(c); ArrayNode qwords = new ArrayNode(position); // FIX int nest = 0; StringBuffer stringToken = new StringBu... | private int parseQuotedWords(int closeQuote, int openQuote) { int c = nextc(); ISourcePosition position = support.getPosition(); // Skip preceding spaces. while (isSpace(c)) { c = nextc(); } pushback(c); ArrayNode qwords = new ArrayNode(position); // FIX int nest = 0; StringBuffer stringToken = new StringBu... | 3,237,929 |
private int parseQuotedWords(int closeQuote, int openQuote) { int c = nextc(); ISourcePosition position = support.getPosition(); // Skip preceding spaces. while (isSpace(c)) { c = nextc(); } pushback(c); ArrayNode qwords = new ArrayNode(position); // FIX int nest = 0; StringBuffer stringToken = new StringBu... | private int parseQuotedWords(int closeQuote, int openQuote) { int c = nextc(); ISourcePosition position = support.getPosition(); // Skip preceding spaces. while (isSpace(c)) { c = nextc(); } pushback(c); ArrayNode qwords = new ArrayNode(position); // FIX int nest = 0; StringBuffer stringToken = new StringBu... | 3,237,930 |
private int parseRegexp(char closeQuote, char openQuote) { ISourcePosition position = support.getPosition(); DRegexpNode list = new DRegexpNode(position); StringToken token = new StringToken(support, errorHandler, position); int nest = 0; boolean lDyn = false; for (char c = support.read(); c != '\0' && (c != clo... | private int parseRegexp(char closeQuote, char openQuote) { ISourcePosition position = support.getPosition(); DRegexpNode list = new DRegexpNode(position); StringToken token = new StringToken(support, errorHandler, position); int nest = 0; boolean lDyn = false; for (char c = support.read(); c != '\0' && (c != clo... | 3,237,931 |
private int parseRegexp(char closeQuote, char openQuote) { ISourcePosition position = support.getPosition(); DRegexpNode list = new DRegexpNode(position); StringToken token = new StringToken(support, errorHandler, position); int nest = 0; boolean lDyn = false; for (char c = support.read(); c != '\0' && (c != clo... | private int parseRegexp(char closeQuote, char openQuote) { ISourcePosition position = support.getPosition(); DRegexpNode list = new DRegexpNode(position); StringToken token = new StringToken(support, errorHandler, position); int nest = 0; boolean lDyn = false; for (char c = support.read(); c != '\0' && (c != clo... | 3,237,932 |
private int parseRegexp(char closeQuote, char openQuote) { ISourcePosition position = support.getPosition(); DRegexpNode list = new DRegexpNode(position); StringToken token = new StringToken(support, errorHandler, position); int nest = 0; boolean lDyn = false; for (char c = support.read(); c != '\0' && (c != clo... | private int parseRegexp(char closeQuote, char openQuote) { ISourcePosition position = support.getPosition(); DRegexpNode list = new DRegexpNode(position); StringToken token = new StringToken(support, errorHandler, position); int nest = 0; boolean lDyn = false; for (char c = support.read(); c != '\0' && (c != clo... | 3,237,933 |
private int parseRegexp(char closeQuote, char openQuote) { ISourcePosition position = support.getPosition(); DRegexpNode list = new DRegexpNode(position); StringToken token = new StringToken(support, errorHandler, position); int nest = 0; boolean lDyn = false; for (char c = support.read(); c != '\0' && (c != clo... | private int parseRegexp(char closeQuote, char openQuote) { ISourcePosition position = support.getPosition(); DRegexpNode list = new DRegexpNode(position); StringToken token = new StringToken(support, errorHandler, position); int nest = 0; boolean lDyn = false; for (char c = support.read(); c != '\0' && (c != clo... | 3,237,934 |
private int parseRegexp(char closeQuote, char openQuote) { ISourcePosition position = support.getPosition(); DRegexpNode list = new DRegexpNode(position); StringToken token = new StringToken(support, errorHandler, position); int nest = 0; boolean lDyn = false; for (char c = support.read(); c != '\0' && (c != clo... | private int parseRegexp(char closeQuote, char openQuote) { ISourcePosition position = support.getPosition(); DRegexpNode list = new DRegexpNode(position); StringToken token = new StringToken(support, errorHandler, position); int nest = 0; boolean lDyn = false; for (char c = support.read(); c != '\0' && (c != clo... | 3,237,935 |
private int parseRegexp(char closeQuote, char openQuote) { ISourcePosition position = support.getPosition(); DRegexpNode list = new DRegexpNode(position); StringToken token = new StringToken(support, errorHandler, position); int nest = 0; boolean lDyn = false; for (char c = support.read(); c != '\0' && (c != clo... | private int parseRegexp(char closeQuote, char openQuote) { ISourcePosition position = support.getPosition(); DRegexpNode list = new DRegexpNode(position); StringToken token = new StringToken(support, errorHandler, position); int nest = 0; boolean lDyn = false; for (char c = support.read(); c != '\0' && (c != clo... | 3,237,936 |
private int parseRegexp(char closeQuote, char openQuote) { ISourcePosition position = support.getPosition(); DRegexpNode list = new DRegexpNode(position); StringToken token = new StringToken(support, errorHandler, position); int nest = 0; boolean lDyn = false; for (char c = support.read(); c != '\0' && (c != clo... | private int parseRegexp(char closeQuote, char openQuote) { ISourcePosition position = support.getPosition(); DRegexpNode list = new DRegexpNode(position); StringToken token = new StringToken(support, errorHandler, position); int nest = 0; boolean lDyn = false; for (char c = support.read(); c != '\0' && (c != clo... | 3,237,937 |
private int parseSingleQuotedString(int closeQuote, int openQuote) { ISourcePosition position = support.getPosition(); int c; int nest = 0; // int strstart = ruby.getSourceLine(); StringBuffer stringToken = new StringBuffer(); while ((c = nextc()) != closeQuote || nest > 0) { if (c == -1) { // ruby.setSourc... | private int parseSingleQuotedString(int closeQuote, int openQuote) { ISourcePosition position = support.getPosition(); int c; int nest = 0; // int strstart = ruby.getSourceLine(); StringBuffer stringToken = new StringBuffer(); while ((c = nextc()) != closeQuote || nest > 0) { if (c == -1) { // ruby.setSourc... | 3,237,938 |
private int parseSingleQuotedString(int closeQuote, int openQuote) { ISourcePosition position = support.getPosition(); int c; int nest = 0; // int strstart = ruby.getSourceLine(); StringBuffer stringToken = new StringBuffer(); while ((c = nextc()) != closeQuote || nest > 0) { if (c == -1) { // ruby.setSourc... | private int parseSingleQuotedString(int closeQuote, int openQuote) { ISourcePosition position = support.getPosition(); int c; int nest = 0; // int strstart = ruby.getSourceLine(); StringBuffer stringToken = new StringBuffer(); while ((c = nextc()) != closeQuote || nest > 0) { if (c == -1) { // ruby.setSourc... | 3,237,939 |
private int parseSingleQuotedString(int closeQuote, int openQuote) { ISourcePosition position = support.getPosition(); int c; int nest = 0; // int strstart = ruby.getSourceLine(); StringBuffer stringToken = new StringBuffer(); while ((c = nextc()) != closeQuote || nest > 0) { if (c == -1) { // ruby.setSourc... | private int parseSingleQuotedString(int closeQuote, int openQuote) { ISourcePosition position = support.getPosition(); int c; int nest = 0; // int strstart = ruby.getSourceLine(); StringBuffer stringToken = new StringBuffer(); while ((c = nextc()) != closeQuote || nest > 0) { if (c == -1) { // ruby.setSourc... | 3,237,940 |
private int parseSingleQuotedString(int closeQuote, int openQuote) { ISourcePosition position = support.getPosition(); int c; int nest = 0; // int strstart = ruby.getSourceLine(); StringBuffer stringToken = new StringBuffer(); while ((c = nextc()) != closeQuote || nest > 0) { if (c == -1) { // ruby.setSourc... | private int parseSingleQuotedString(int closeQuote, int openQuote) { ISourcePosition position = support.getPosition(); int c; int nest = 0; // int strstart = ruby.getSourceLine(); StringBuffer stringToken = new StringBuffer(); while ((c = nextc()) != closeQuote || nest > 0) { if (c == -1) { // ruby.setSourc... | 3,237,941 |
private int parseSingleQuotedString(int closeQuote, int openQuote) { ISourcePosition position = support.getPosition(); int c; int nest = 0; // int strstart = ruby.getSourceLine(); StringBuffer stringToken = new StringBuffer(); while ((c = nextc()) != closeQuote || nest > 0) { if (c == -1) { // ruby.setSourc... | private int parseSingleQuotedString(int closeQuote, int openQuote) { ISourcePosition position = support.getPosition(); int c; int nest = 0; // int strstart = ruby.getSourceLine(); StringBuffer stringToken = new StringBuffer(); while ((c = nextc()) != closeQuote || nest > 0) { if (c == -1) { // ruby.setSourc... | 3,237,942 |
private int parseSingleQuotedString(int closeQuote, int openQuote) { ISourcePosition position = support.getPosition(); int c; int nest = 0; // int strstart = ruby.getSourceLine(); StringBuffer stringToken = new StringBuffer(); while ((c = nextc()) != closeQuote || nest > 0) { if (c == -1) { // ruby.setSourc... | private int parseSingleQuotedString(int closeQuote, int openQuote) { ISourcePosition position = support.getPosition(); int c; int nest = 0; // int strstart = ruby.getSourceLine(); StringBuffer stringToken = new StringBuffer(); while ((c = nextc()) != closeQuote || nest > 0) { if (c == -1) { // ruby.setSourc... | 3,237,943 |
private int parseSingleQuotedString(int closeQuote, int openQuote) { ISourcePosition position = support.getPosition(); int c; int nest = 0; // int strstart = ruby.getSourceLine(); StringBuffer stringToken = new StringBuffer(); while ((c = nextc()) != closeQuote || nest > 0) { if (c == -1) { // ruby.setSourc... | private int parseSingleQuotedString(int closeQuote, int openQuote) { ISourcePosition position = support.getPosition(); int c; int nest = 0; // int strstart = ruby.getSourceLine(); StringBuffer stringToken = new StringBuffer(); while ((c = nextc()) != closeQuote || nest > 0) { if (c == -1) { // ruby.setSourc... | 3,237,944 |
private int parseString(int func, int closeQuote, int openQuote) { if (func == '\'') { return parseSingleQuotedString(closeQuote, openQuote); } if (func == 0) { // read 1 line for heredoc // -1 for chomp yaccValue = support.readLine(); return Token.tSTRING; } ISourcePosition position = support.getPositi... | private int parseString(int func, int closeQuote, int openQuote) { if (func == '\'') { return parseSingleQuotedString(closeQuote, openQuote); } if (func == 0) { // read 1 line for heredoc // -1 for chomp yaccValue = support.readLine(); return Token.tSTRING; } ISourcePosition position = support.getPositi... | 3,237,945 |
private int parseString(int func, int closeQuote, int openQuote) { if (func == '\'') { return parseSingleQuotedString(closeQuote, openQuote); } if (func == 0) { // read 1 line for heredoc // -1 for chomp yaccValue = support.readLine(); return Token.tSTRING; } ISourcePosition position = support.getPositi... | private int parseString(int func, int closeQuote, int openQuote) { if (func == '\'') { return parseSingleQuotedString(closeQuote, openQuote); } if (func == 0) { // read 1 line for heredoc // -1 for chomp yaccValue = support.readLine(); return Token.tSTRING; } ISourcePosition position = support.getPositi... | 3,237,946 |
private int parseString(int func, int closeQuote, int openQuote) { if (func == '\'') { return parseSingleQuotedString(closeQuote, openQuote); } if (func == 0) { // read 1 line for heredoc // -1 for chomp yaccValue = support.readLine(); return Token.tSTRING; } ISourcePosition position = support.getPositi... | private int parseString(int func, int closeQuote, int openQuote) { if (func == '\'') { return parseSingleQuotedString(closeQuote, openQuote); } if (func == 0) { // read 1 line for heredoc // -1 for chomp yaccValue = support.readLine(); return Token.tSTRING; } ISourcePosition position = support.getPositi... | 3,237,947 |
private int parseString(int func, int closeQuote, int openQuote) { if (func == '\'') { return parseSingleQuotedString(closeQuote, openQuote); } if (func == 0) { // read 1 line for heredoc // -1 for chomp yaccValue = support.readLine(); return Token.tSTRING; } ISourcePosition position = support.getPositi... | private int parseString(int func, int closeQuote, int openQuote) { if (func == '\'') { return parseSingleQuotedString(closeQuote, openQuote); } if (func == 0) { // read 1 line for heredoc // -1 for chomp yaccValue = support.readLine(); return Token.tSTRING; } ISourcePosition position = support.getPositi... | 3,237,948 |
private int parseString(int func, int closeQuote, int openQuote) { if (func == '\'') { return parseSingleQuotedString(closeQuote, openQuote); } if (func == 0) { // read 1 line for heredoc // -1 for chomp yaccValue = support.readLine(); return Token.tSTRING; } ISourcePosition position = support.getPositi... | private int parseString(int func, int closeQuote, int openQuote) { if (func == '\'') { return parseSingleQuotedString(closeQuote, openQuote); } if (func == 0) { // read 1 line for heredoc // -1 for chomp yaccValue = support.readLine(); return Token.tSTRING; } ISourcePosition position = support.getPositi... | 3,237,949 |
private int parseString(int func, int closeQuote, int openQuote) { if (func == '\'') { return parseSingleQuotedString(closeQuote, openQuote); } if (func == 0) { // read 1 line for heredoc // -1 for chomp yaccValue = support.readLine(); return Token.tSTRING; } ISourcePosition position = support.getPositi... | private int parseString(int func, int closeQuote, int openQuote) { if (func == '\'') { return parseSingleQuotedString(closeQuote, openQuote); } if (func == 0) { // read 1 line for heredoc // -1 for chomp yaccValue = support.readLine(); return Token.tSTRING; } ISourcePosition position = support.getPositi... | 3,237,950 |
private int parseString(int func, int closeQuote, int openQuote) { if (func == '\'') { return parseSingleQuotedString(closeQuote, openQuote); } if (func == 0) { // read 1 line for heredoc // -1 for chomp yaccValue = support.readLine(); return Token.tSTRING; } ISourcePosition position = support.getPositi... | private int parseString(int func, int closeQuote, int openQuote) { if (func == '\'') { return parseSingleQuotedString(closeQuote, openQuote); } if (func == 0) { // read 1 line for heredoc // -1 for chomp yaccValue = support.readLine(); return Token.tSTRING; } ISourcePosition position = support.getPositi... | 3,237,951 |
private int parseString(int func, int closeQuote, int openQuote) { if (func == '\'') { return parseSingleQuotedString(closeQuote, openQuote); } if (func == 0) { // read 1 line for heredoc // -1 for chomp yaccValue = support.readLine(); return Token.tSTRING; } ISourcePosition position = support.getPositi... | private int parseString(int func, int closeQuote, int openQuote) { if (func == '\'') { return parseSingleQuotedString(closeQuote, openQuote); } if (func == 0) { // read 1 line for heredoc // -1 for chomp yaccValue = support.readLine(); return Token.tSTRING; } ISourcePosition position = support.getPositi... | 3,237,952 |
private boolean peek(int c) { return support.isNext((char) c); } | private boolean peek(int c) { return support.isNext((char) c); } | 3,237,953 |
private void pushback(int c) { support.unread(); } | private void pushback(int c) { support.unread(); } | 3,237,954 |
private char readEscape() { char c; switch (c = support.read()) { case '\\' : // Backslash return '\\'; case 'n' : // newline return '\n'; case 't' : // horizontal tab return '\t'; case 'r' : // carriage-return return '\r'; case 'f' : // form-feed return '\f'; case 'v' : // vertical tab ... | private char readEscape() { char c; switch (c = support.read()) { case '\\' : // Backslash return '\\'; case 'n' : // newline return '\n'; case 't' : // horizontal tab return '\t'; case 'r' : // carriage-return return '\r'; case 'f' : // form-feed return '\f'; case 'v' : // vertical tab ... | 3,237,955 |
private char readEscape() { char c; switch (c = support.read()) { case '\\' : // Backslash return '\\'; case 'n' : // newline return '\n'; case 't' : // horizontal tab return '\t'; case 'r' : // carriage-return return '\r'; case 'f' : // form-feed return '\f'; case 'v' : // vertical tab ... | private char readEscape() { char c; switch (c = support.read()) { case '\\' : // Backslash return '\\'; case 'n' : // newline return '\n'; case 't' : // horizontal tab return '\t'; case 'r' : // carriage-return return '\r'; case 'f' : // form-feed return '\f'; case 'v' : // vertical tab ... | 3,237,956 |
private char readEscape() { char c; switch (c = support.read()) { case '\\' : // Backslash return '\\'; case 'n' : // newline return '\n'; case 't' : // horizontal tab return '\t'; case 'r' : // carriage-return return '\r'; case 'f' : // form-feed return '\f'; case 'v' : // vertical tab ... | private char readEscape() { char c; switch (c = support.read()) { case '\\' : // Backslash return '\\'; case 'n' : // newline return '\n'; case 't' : // horizontal tab return '\t'; case 'r' : // carriage-return return '\r'; case 'f' : // form-feed return '\f'; case 'v' : // vertical tab ... | 3,237,957 |
public void resetStacks() { cond_nest = 0; cond_stack = 0; cmdarg_stack = 0; } | public void resetStacks() { cond_nest = 0; cond_stack = 0; cmdarg_stack = 0; } | 3,237,958 |
public void setErrorHandler(IErrorHandler errorHandler) { this.errorHandler = errorHandler; } | public void setErrorHandler(IErrorHandler errorHandler) { this.errorHandler = errorHandler; } | 3,237,959 |
public void setSource(ILexerSource source) { //this.source = new LineBufferScannerSource(new LexerScannerSource(source)); this.support = new RubyLexerSupport(source); } | public void setSource(ILexerSource source) { //this.source = new LineBufferScannerSource(new LexerScannerSource(source)); this.support = new RubyLexerSupport(source); } | 3,237,960 |
public void setSource(ILexerSource source) { //this.source = new LineBufferScannerSource(new LexerScannerSource(source)); this.support = new RubyLexerSupport(source); } | public void setSource(ILexerSource source) { //this.source = new LineBufferScannerSource(new LexerScannerSource(source)); this.support = new RubyLexerSupport(source); } | 3,237,961 |
public void setState(ILexerState state) { this.lexState = (LexState) state; } | public void setState(ILexerState state) { this.lexState = (LexState) state; } | 3,237,962 |
private String tok() { return tokenbuf.toString(); } | private String tok() { return tokenbuf.toString(); } | 3,237,963 |
private void tokadd(int c) { tokenbuf.append((char) c); } | private void tokadd(int c) { tokenbuf.append((char) c); } | 3,237,964 |
public int token() { return token; } | public int token() { return token; } | 3,237,965 |
private char toklast() { return tokenbuf.charAt(toklen() - 1); } | private char toklast() { return tokenbuf.charAt(toklen() - 1); } | 3,237,966 |
private int toklen() { return tokenbuf.length(); } | private int toklen() { return tokenbuf.length(); } | 3,237,967 |
public Object value() { return yaccValue; } | public Object value() { return yaccValue; } | 3,237,968 |
private final void yyerror(String msg) { errorHandler.handleError(IErrors.ERROR, support.getPosition(), msg); } | private final void yyerror(String msg) { errorHandler.handleError(IErrors.ERROR, support.getPosition(), msg); } | 3,237,969 |
private int yylex() { int c; int space_seen = 0; Keyword kw; //first eat as much space as possible then grab the position of the //beginning of the tokenretry_space : for (;;) { switch (c = nextc()) { case '\0' : // NUL case '\004' : // ^D case '\032' : // ^Z case -1 : //end of... | private int yylex() { int c; int space_seen = 0; Keyword kw; //first eat as much space as possible then grab the position of the //beginning of the tokenretry_space : for (;;) { switch (c = nextc()) { case '\0' : // NUL case '\004' : // ^D case '\032' : // ^Z case -1 : //end of... | 3,237,970 |
public static IRubyObject each_object(IRubyObject recv, IRubyObject[] args) { RubyModule rubyClass; if (args.length == 0) { rubyClass = recv.getRuntime().getClasses().getObjectClass(); } else { rubyClass = (RubyModule) args[0]; } Iterator iter = recv.getRunti... | public static IRubyObject each_object(IRubyObject recv, IRubyObject[] args) { RubyModule rubyClass; if (args.length == 0) { rubyClass = recv.getRuntime().getClasses().getObjectClass(); } else { rubyClass = (RubyModule) args[0]; } Iterator iter = recv.getRunti... | 3,237,971 |
private void datasetNodeNavigation(DatasetSummary ds, DefaultMutableTreeNode node, boolean isExpanding) { DefaultTreeModel treeModel = (DefaultTreeModel) view.tree.getModel(); Integer datasetID = new Integer(ds.getID()); node.removeAllChildren(); if (isExpanding) { List list = agentCtrl.getAb... | private void datasetNodeNavigation(DatasetSummary ds, DefaultMutableTreeNode node, boolean isExpanding) { DefaultTreeModel treeModel = (DefaultTreeModel) view.tree.getModel(); Integer datasetID = new Integer(ds.getID()); node.removeAllChildren(); if (isExpanding) { List list = agentCtrl.getAb... | 3,237,972 |
private void onClick(MouseEvent e) { int selRow = view.tree.getRowForLocation(e.getX(), e.getY()); if (selRow != -1) { view.tree.setSelectionRow(selRow); DataObject target = view.getCurrentOMEObject(); // remove tree expansion listener //otherwise a tree expansion event is fired when we //double-cl... | private void onClick(MouseEvent e) { int selRow = view.tree.getRowForLocation(e.getX(), e.getY()); if (selRow != -1) { view.tree.setSelectionRow(selRow); DataObject target = view.getCurrentOMEObject(); // remove tree expansion listener //otherwise a tree expansion event is fired when we //double-cl... | 3,237,973 |
public void setUp() { clazz1 = new Clazz("HelloWorld"); clazz1.setNumberOfBranches(4); clazz1.setNumberOfCoveredBranches(2); clazz1.setNumberOfCoveredLines(20); clazz1.setNumberOfLines(40); for (int i = 0; i < clazz1.getNumberOfLines(); i++) { clazz1.addLine(i + 1, 5 * (i + 1)); } clazz2 = new Clazz("com.ex... | public void setUp() { clazz1 = new Clazz("HelloWorld"); clazz1.setNumberOfBranches(4); clazz1.setNumberOfCoveredBranches(2); clazz1.setNumberOfCoveredLines(20); clazz1.setNumberOfLines(40); for (int i = 0; i < clazz1.getNumberOfLines(); i++) { clazz1.addLine(i + 1, 5 * (i + 1)); } clazz2 = new Clazz("com.ex... | 3,237,974 |
public void testCoverage() { Coverage coverage = new Coverage(); assertEquals(0, coverage.getNumberOfBranches()); assertEquals(0, coverage.getNumberOfLines()); assertEquals(0, coverage.getBranchCoverageRate(), 0.00001); assertEquals(1, coverage.getLineCoverageRate(), 0.00001); assertNotNull(coverage.getPackages(... | public void testCoverage() { Coverage coverage = new Coverage(); assertEquals(0, coverage.getNumberOfBranches()); assertEquals(0, coverage.getNumberOfLines()); assertEquals(0, coverage.getBranchCoverageRate(), 0.00001); assertEquals(1, coverage.getLineCoverageRate(), 0.00001); assertNotNull(coverage.getPackages(... | 3,237,975 |
public void testCoverage() { Coverage coverage = new Coverage(); assertEquals(0, coverage.getNumberOfBranches()); assertEquals(0, coverage.getNumberOfLines()); assertEquals(0, coverage.getBranchCoverageRate(), 0.00001); assertEquals(1, coverage.getLineCoverageRate(), 0.00001); assertNotNull(coverage.getPackages(... | public void testCoverage() { Coverage coverage = new Coverage(); assertEquals(0, coverage.getNumberOfBranches()); assertEquals(0, coverage.getNumberOfLines()); assertEquals(0, coverage.getBranchCoverageRate(), 0.00001); assertEquals(1, coverage.getLineCoverageRate(), 0.00001); assertNotNull(coverage.getPackages(... | 3,237,976 |
public void testCoverage() { Coverage coverage = new Coverage(); assertEquals(0, coverage.getNumberOfBranches()); assertEquals(0, coverage.getNumberOfLines()); assertEquals(0, coverage.getBranchCoverageRate(), 0.00001); assertEquals(1, coverage.getLineCoverageRate(), 0.00001); assertNotNull(coverage.getPackages(... | public void testCoverage() { Coverage coverage = new Coverage(); assertEquals(0, coverage.getNumberOfBranches()); assertEquals(0, coverage.getNumberOfLines()); assertEquals(0, coverage.getBranchCoverageRate(), 0.00001); assertEquals(1, coverage.getLineCoverageRate(), 0.00001); assertNotNull(coverage.getPackages(... | 3,237,977 |
public void testCoverage() { Coverage coverage = new Coverage(); assertEquals(0, coverage.getNumberOfBranches()); assertEquals(0, coverage.getNumberOfLines()); assertEquals(0, coverage.getBranchCoverageRate(), 0.00001); assertEquals(1, coverage.getLineCoverageRate(), 0.00001); assertNotNull(coverage.getPackages(... | public void testCoverage() { Coverage coverage = new Coverage(); assertEquals(0, coverage.getNumberOfBranches()); assertEquals(0, coverage.getNumberOfLines()); assertEquals(0, coverage.getBranchCoverageRate(), 0.00001); assertEquals(1, coverage.getLineCoverageRate(), 0.00001); assertNotNull(coverage.getPackages(... | 3,237,978 |
public void testCoverage() { Coverage coverage = new Coverage(); assertEquals(0, coverage.getNumberOfBranches()); assertEquals(0, coverage.getNumberOfLines()); assertEquals(0, coverage.getBranchCoverageRate(), 0.00001); assertEquals(1, coverage.getLineCoverageRate(), 0.00001); assertNotNull(coverage.getPackages(... | public void testCoverage() { Coverage coverage = new Coverage(); assertEquals(0, coverage.getNumberOfBranches()); assertEquals(0, coverage.getNumberOfLines()); assertEquals(0, coverage.getBranchCoverageRate(), 0.00001); assertEquals(1, coverage.getLineCoverageRate(), 0.00001); assertNotNull(coverage.getPackages(... | 3,237,979 |
public void testCoverage() { Coverage coverage = new Coverage(); assertEquals(0, coverage.getNumberOfBranches()); assertEquals(0, coverage.getNumberOfLines()); assertEquals(0, coverage.getBranchCoverageRate(), 0.00001); assertEquals(1, coverage.getLineCoverageRate(), 0.00001); assertNotNull(coverage.getPackages(... | public void testCoverage() { Coverage coverage = new Coverage(); assertEquals(0, coverage.getNumberOfBranches()); assertEquals(0, coverage.getNumberOfLines()); assertEquals(0, coverage.getBranchCoverageRate(), 0.00001); assertEquals(1, coverage.getLineCoverageRate(), 0.00001); assertNotNull(coverage.getPackages(... | 3,237,980 |
public BrowserInternalFrame(BrowserController theController) { setSize(600,600); setDefaultCloseOperation(JInternalFrame.DISPOSE_ON_CLOSE); if(theController != null) { this.controller = theController; String title = controller.getName(); setTit... | public BrowserInternalFrame(BrowserController theController) { setSize(600,600); setDefaultCloseOperation(JInternalFrame.DISPOSE_ON_CLOSE); if(theController != null) { this.controller = theController; String title = controller.getName(); setTit... | 3,237,982 |
public BrowserInternalFrame(BrowserController theController) { setSize(600,600); setDefaultCloseOperation(JInternalFrame.DISPOSE_ON_CLOSE); if(theController != null) { this.controller = theController; String title = controller.getName(); setTit... | public BrowserInternalFrame(BrowserController theController) { setSize(600,600); setDefaultCloseOperation(JInternalFrame.DISPOSE_ON_CLOSE); if(theController != null) { this.controller = theController; String title = controller.getName(); setTit... | 3,237,983 |
public void actionPerformed(ActionEvent e) { controller.getOverlayModel().showPalette(UIConstants.ZOOM_PALETTE_NAME); } | public void actionPerformed(ActionEvent ae) { controller.getOverlayModel().showPalette(UIConstants.ZOOM_PALETTE_NAME); } | 3,237,984 |
public void actionPerformed(ActionEvent e) { controller.getOverlayModel().showPalette(UIConstants.ZOOM_PALETTE_NAME); } | public void actionPerformed(ActionEvent e) { HeatMapManager manager = env.getHeatMapManager(); HeatMapUI ui = manager.getUI(); ui.setClosable(true); ui.setIconifiable(true); ui.setResizable(false); ui.setMaximizable(false); if(!ui.isShowing()) { tf.addToDesktop(ui,TopFrame.PALETTE_... | 3,237,985 |
public final String toString () { return "macro-property:" + _vname; } | public final String toString () { return "macro-property:" + getVariableName(); } | 3,237,986 |
protected void setUp() { pixels = new Pixels(); pixels.setSizeX(256); pixels.setSizeY(256); pixels.setSizeZ(64); pixels.setSizeC(3); pixels.setSizeT(50); PixelsType type = new PixelsType(); pixels.setPixelsType(type); // FIXME pixelBu... | protected void setUp() { pixels = new Pixels(); pixels.setSizeX(256); pixels.setSizeY(256); pixels.setSizeZ(64); pixels.setSizeC(3); pixels.setSizeT(50); PixelsType type = new PixelsType(); pixels.setPixelsType(type); // FIXME PixelsS... | 3,237,987 |
public void testGetInitialPlaneOffset() { assertEquals(pixelBuffer.getPlaneOffset(0, 0, 0).longValue(), 0L); } | public void testGetInitialPlaneOffset() throws DimensionsOutOfBoundsException { assertEquals(pixelBuffer.getPlaneOffset(0, 0, 0).longValue(), 0L); } | 3,237,988 |
public void testGetPlaneOffset1() { long offset = ((long)timepointSize * 25) + ((long)planeSize * 25); assertEquals(pixelBuffer.getPlaneOffset(25, 0, 25).longValue(), offset); } | public void testGetPlaneOffset1() throws DimensionsOutOfBoundsException { long offset = ((long)timepointSize * 25) + ((long)planeSize * 25); assertEquals(pixelBuffer.getPlaneOffset(25, 0, 25).longValue(), offset); } | 3,237,989 |
public void testGetPlaneOffset2() { long offset = ((long)timepointSize * 25) + ((long)stackSize * 1) + ((long)planeSize * 25); assertEquals(pixelBuffer.getPlaneOffset(25, 1, 25).longValue(), offset); } | public void testGetPlaneOffset2() throws DimensionsOutOfBoundsException { long offset = ((long)timepointSize * 25) + ((long)stackSize * 1) + ((long)planeSize * 25); assertEquals(pixelBuffer.getPlaneOffset(25, 1, 25).longValue(), offset); } | 3,237,990 |
public void run() { if(model == null) return; if(selectedNode == null) return; if(!(selectedNode instanceof SemanticTypeTree.ElementNode) || selectedNode.getFQName() == null) { fireModeCancel(); currentMethod = null; ... | public void run() { if(model == null) return; if(selectedNode == null) return; if(!(selectedNode instanceof SemanticTypeTree.ElementNode) || selectedNode.getFQName() == null) { fireModeCancel(); currentMethod = null; ... | 3,237,991 |
private void analyzeInformation(String attribute, String elementName) { BrowserModel browserModel = model.getInfoSource(); List thumbnails = browserModel.getThumbnails(); Thumbnail[] ts = new Thumbnail[thumbnails.size()]; thumbnails.toArray(ts); System.err.println("Attribute: "... | private void analyzeInformation(String attribute, String elementName) { BrowserModel browserModel = model.getInfoSource(); List thumbnails = browserModel.getThumbnails(); Thumbnail[] ts = new Thumbnail[thumbnails.size()]; thumbnails.toArray(ts); double[] stats = RangeChe... | 3,237,992 |
public void copy(IObject model, ModelMapper mapper) { if (model instanceof Project) { Project p = (Project) model; super.copy(model,mapper); // Details if (p.getDetails() != null){ this.setOwner((ExperimenterData) mapper.find... | public void copy(IObject model, ModelMapper mapper) { if (model instanceof Project) { Project p = (Project) model; super.copy(model,mapper); // Details if (p.getDetails() != null){ this.setOwner((ExperimenterData) mapper.find... | 3,237,993 |
public void initialize() { boolean enabled = Enterprise.containsFeature(Enterprise.VCARD_FEATURE); if (!enabled) { return; } // Add Actions Menu final JMenu contactsMenu = SparkManager.getMainWindow().getMenuByName(Res.getString("menuitem.contacts")); final JMenu... | public void initialize() { boolean enabled = Enterprise.containsFeature(Enterprise.VCARD_FEATURE); if (!enabled) { return; } // Add Actions Menu final JMenu contactsMenu = SparkManager.getMainWindow().getMenuByName(Res.getString("menuitem.contacts")); final JMenu... | 3,237,994 |
public void visitDefnNode(DefnNode iVisited) { RubyModule rubyClass = ruby.getRubyClass(); if (rubyClass == null) { throw new TypeError(ruby, "No class to add method."); } //if (ruby_class == getRuby().getObjectClass() && node.nd_mid() == init) { // warn("redefining Obj... | public void visitDefnNode(DefnNode iVisited) { RubyModule rubyClass = ruby.getRubyClass(); if (rubyClass == null) { throw new TypeError(ruby, "No class to add method."); } //if (ruby_class == getRuby().getObjectClass() && node.nd_mid() == init) { // warn("redefining Obj... | 3,237,995 |
public void visitDefnNode(DefnNode iVisited) { RubyModule rubyClass = ruby.getRubyClass(); if (rubyClass == null) { throw new TypeError(ruby, "No class to add method."); } //if (ruby_class == getRuby().getObjectClass() && node.nd_mid() == init) { // warn("redefining Obj... | public void visitDefnNode(DefnNode iVisited) { RubyModule rubyClass = ruby.getRubyClass(); if (rubyClass == null) { throw new TypeError(ruby, "No class to add method."); } //if (ruby_class == getRuby().getObjectClass() && node.nd_mid() == init) { // warn("redefining Obj... | 3,237,996 |
public void visitDefnNode(DefnNode iVisited) { RubyModule rubyClass = ruby.getRubyClass(); if (rubyClass == null) { throw new TypeError(ruby, "No class to add method."); } //if (ruby_class == getRuby().getObjectClass() && node.nd_mid() == init) { // warn("redefining Obj... | public void visitDefnNode(DefnNode iVisited) { RubyModule rubyClass = ruby.getRubyClass(); if (rubyClass == null) { throw new TypeError(ruby, "No class to add method."); } //if (ruby_class == getRuby().getObjectClass() && node.nd_mid() == init) { // warn("redefining Obj... | 3,237,997 |
public void visitDefnNode(DefnNode iVisited) { RubyModule rubyClass = ruby.getRubyClass(); if (rubyClass == null) { throw new TypeError(ruby, "No class to add method."); } //if (ruby_class == getRuby().getObjectClass() && node.nd_mid() == init) { // warn("redefining Obj... | public void visitDefnNode(DefnNode iVisited) { RubyModule rubyClass = ruby.getRubyClass(); if (rubyClass == null) { throw new TypeError(ruby, "No class to add method."); } //if (ruby_class == getRuby().getObjectClass() && node.nd_mid() == init) { // warn("redefining Obj... | 3,237,998 |
public void visitDefnNode(DefnNode iVisited) { RubyModule rubyClass = ruby.getRubyClass(); if (rubyClass == null) { throw new TypeError(ruby, "No class to add method."); } //if (ruby_class == getRuby().getObjectClass() && node.nd_mid() == init) { // warn("redefining Obj... | public void visitDefnNode(DefnNode iVisited) { RubyModule rubyClass = ruby.getRubyClass(); if (rubyClass == null) { throw new TypeError(ruby, "No class to add method."); } //if (ruby_class == getRuby().getObjectClass() && node.nd_mid() == init) { // warn("redefining Obj... | 3,237,999 |
public ROIStats(ROIAgtCtrl control, Registry reg) { super(control.getReferenceFrame(), "ROI Results"); manager = new ROIStatsMng(this, control); IconManager im = IconManager.getInstance(reg); init(im); manager.attachListeners(); buildGUI(im); pack(); } | public ROIStats(ROIAgtCtrl control, Registry reg) { super(control.getReferenceFrame(), "ROI Results", true); manager = new ROIStatsMng(this, control); IconManager im = IconManager.getInstance(reg); init(im); manager.attachListeners(); buildGUI(im); pack(); } | 3,238,000 |
private JToolBar buildBar() { JToolBar bar = new JToolBar(); bar.setBorder(BorderFactory.createEtchedBorder()); bar.setFloatable(true); bar.putClientProperty("JToolBar.isRollover", Boolean.TRUE); bar.add(save); bar.add(Box.createRigidArea(HBOX)); bar.add(close); ... | private JPanel buildBar() { JToolBar bar = new JToolBar(); bar.setBorder(BorderFactory.createEtchedBorder()); bar.setFloatable(true); bar.putClientProperty("JToolBar.isRollover", Boolean.TRUE); bar.add(save); bar.add(Box.createRigidArea(HBOX)); bar.add(close); ... | 3,238,001 |
private JToolBar buildBar() { JToolBar bar = new JToolBar(); bar.setBorder(BorderFactory.createEtchedBorder()); bar.setFloatable(true); bar.putClientProperty("JToolBar.isRollover", Boolean.TRUE); bar.add(save); bar.add(Box.createRigidArea(HBOX)); bar.add(close); ... | private JToolBar buildBar() { JToolBar bar = new JToolBar(); bar.setBorder(BorderFactory.createEtchedBorder()); bar.setFloatable(true); bar.putClientProperty("JToolBar.isRollover", Boolean.TRUE); bar.add(save); bar.add(Box.createRigidArea(HBOX)); bar.add(close); ... | 3,238,002 |
private void init(IconManager im) { close = new JButton(im.getIcon(IconManager.CLOSE)); save = new JButton(im.getIcon(IconManager.SAVE)); close.setToolTipText( UIUtilities.formatToolTipText("Close the window.")); save.setToolTipText( UIUtilities.formatToo... | private void init(IconManager im) { close = new JButton(im.getIcon(IconManager.CLOSE)); save = new JButton(im.getIcon(IconManager.SAVE)); close.setToolTipText( UIUtilities.formatToolTipText("Close the window.")); save.setToolTipText( UIUtilities.formatToo... | 3,238,003 |
public RubyFixnum hash() { return getRuntime().newFixnum(toString().hashCode()); } | public RubyFixnum hash() { return getRuntime().newFixnum(hashCode()); } | 3,238,004 |
public void updateDataset(DatasetData retVal) { } | publicDataset d = (Dataset) createNewData(Dataset.class); d.setID(retVal.getID()); d.setName(retVal.getName()); d.setDescription(retVal.getDescription()); updateData(d); voidDataset d = (Dataset) createNewData(Dataset.class); d.setID(retVal.getID()); d.setName(retVal.getName()); d.setDescription(retVal.getDescription(... | 3,238,005 |
public void updateProject(ProjectData retVal) { } | Project p = (Project) createNewData(Project.class); p.setID(retVal.getID()); p.setName(retVal.getName()); p.setDescription(retVal.getDescription()); updateData(p); Project p = (Project) createNewData(Project.class); p.setID(retVal.getID()); p.setName(retVal.getName()); p.setDescription(retVal.getDescription()); updateD... | 3,238,006 |
private UIComponent getMetadataPanel() { String path = (String)WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "getFolderLocation"); String fileName = (String)WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "getHeadline");// System.out.println("path = "+path+"/"+fileName+".xml"); WebDAVMetadata metadataUI = new WebDAVMetadata(path+"/"+fi... | private UIComponent getMetadataPanel() { String path = (String)WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "getFolderLocation"); String fileName = (String)WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "getHeadline");// System.out.println("path = "+path+"/"+fileName+".xml"); WebDAVMetadata metadataUI = new WebDAVMetadata(path+"/"+fi... | 3,238,007 |
private UIComponent getMetadataPanel() { String path = (String)WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "getFolderLocation"); String fileName = (String)WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "getHeadline");// System.out.println("path = "+path+"/"+fileName+".xml"); WebDAVMetadata metadataUI = new WebDAVMetadata(path+"/"+fi... | private UIComponent getMetadataPanel() { String path = (String)WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "getFolderLocation"); String fileName = (String)WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "getHeadline");// System.out.println("path = "+path+"/"+fileName+".xml"); WebDAVMetadata metadataUI = new WebDAVMetadata(path+"/"+fi... | 3,238,008 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.