Unnamed: 0
int64
0
305k
body
stringlengths
7
52.9k
name
stringlengths
1
185
56,200
void (int value) { super.setSomething2(value); }
setSomething2
56,201
void () { super.getSomething3(); }
getSomething3
56,202
void (int value) { super.setSomething4(value); }
setSomething4
56,203
int () { return super.getValue1(); }
getValue1
56,204
int () { return super.getValue2(); }
getValue2
56,205
void (int value) { super.setValue2(value); }
setValue2
56,206
int () { return super.getValue3(); }
getValue3
56,207
void (int value) { super.setValue4(value); }
setValue4
56,208
String () { return super.getSomeVar1(); }
getSomeVar1
56,209
String () { return "a"; }
getSomeVar1
56,210
void (String value) { }
setSomeVar2
56,211
void () { System.out.println(getValue()); }
run
56,212
Object () { return o; }
getValue
56,213
void (String s) { o = s; }
setValue
56,214
int () { return myX; }
getX
56,215
void (AAA other) { System.out.println(myX); System.out.println(other.myX); myX = 10; }
foo
56,216
String () { System.out.println("getter invoked"); return myX; }
getX
56,217
void (String x) { this.myX = x; }
setX
56,218
int () { return x; }
getX
56,219
Object () { return s; }
getValue
56,220
String () { return x; }
getX
56,221
void (String x) { System.out.println("setter invoked"); this.x = x; }
setX
56,222
int () { return field; }
getDefault
56,223
int () { return myX; }
getX
56,224
void (AAA other) { System.out.println(myX); System.out.println(other.myX); myX = 10; }
foo
56,225
int () { return x; }
getX
56,226
void (int x) { this.x = x; }
setY
56,227
String () { System.out.println("getter invoked"); return x; }
getX
56,228
void (String x) { this.x = x; }
setX
56,229
int () { return x; }
getX
56,230
void () { x = 10; }
foo
56,231
void () { int i = 0; if (i > 10); System.out.println("Done"); }
aVoid
56,232
void (String[] args) { System.out.println(void.class); System.out.println(boolean.class); System.out.println(int.class); System.out.println(double.class); System.out.println(int[].class); System.out.println(Object[].class); System.out.println(Object[][].class); }
main
56,233
void (String[] args) { boolean ANDAND = true && true && true; boolean OROR = true || true || true; int PLUS = 1 + 2 + 3; int MINUS = 1 - 2 - 3; int ASTERISK = 1 * 2 * 3; int DIV = 1 / 2 / 3; int PERC = 1 % 2 % 3; int GTGT = 1 << 2 << 3; int LTLT = 1 >> 2 >> 3; int XOR = 1 ^ 2 ^ 3; int AND = 1 & 2 & 3; int OR = 1 % 2 % ...
main
56,234
C () { return new C(); }
c
56,235
void () { B b = new B(); System.out.println(b + ""); String a = 1 + "0"; System.out.println(b.c() + ""); }
a
56,236
void (String[] args) { String p = new Test() + "123"; }
main
56,237
byte () { return 0; }
getByte
56,238
List<Object> (Collection<String> mutableCollection, Collection<Integer> nullableCollection) { return super.foo(mutableCollection, nullableCollection); }
foo
56,239
void () { collection.add("1") }
foo
56,240
Collection<String> () { return collection; }
getCollection
56,241
void () { for (Iterator<String> it = list.iterator(); it.hasNext(); ) { String s = it.next(); if (s.equals("")) it.remove(); } }
test
56,242
void (String name, int maxLen) { String.valueOf(1 + 1); "a".split("\\s+" + "\\s+", 2) kotlinApi.KotlinApiKt.extensionFunction(1 + 1) }
adjust
56,243
boolean (Object o) { return super.equals(o); }
equals
56,244
boolean (Object o) { return super.equals(o); }
equals
56,245
boolean (C c) { return false; }
equals
56,246
int (String[] args) { return args.length; }
foo
56,247
void () { char c = 1; int i = 1; b(i > c); b(i >= c); b(i < c); b(i <= c); b(c > i); b(c >= i); b(c < i); b(c <= i); b(c == i); b(c != i); b(i == c); b(i != c); i(i + c); i(i - c); i(i / c); i(i * c); i(i % c); i(i | c); i(i & c); i(i << c); i(i >> c); i(c + i); i(c - i); i(c / i); i(c * i); i(c % i); i(c | i); i(c & i...
operationsWithChar
56,248
void (boolean b) {}
b
56,249
void (int i) {}
i
56,250
void (int a) { if (a < 0) throw new RuntimeException("a = " + a); }
bar
56,251
void () { o = null; }
foo
56,252
void (String args[]) { try { FileInputStream fstream = new FileInputStream(); DataInputStream in = new DataInputStream(fstream); BufferedReader br = new BufferedReader(new InputStreamReader(in)); String strLine; while ((strLine = br.readLine()) != null) { System.out.println (strLine); } in.close(); } catch (Exception e...
main
56,253
<T> (T t) { }
G
56,254
void () { /* This is a function comment */ }
foo
56,255
int (int i) { switch (i) { case 0: return 0; case 1: return 1; case 2: return 2; case 3: return 3; default: return -1; } }
getInt
56,256
String () { return this.code; }
toString
56,257
String () { return "BASE"; }
toString
56,258
String () { return "Child"; }
toString
56,259
String (String name) { int size = name.length(); return name; }
toFileSystemSafeName
56,260
boolean (Double value) { return value == 3.14; }
test
56,261
void () { int i = 1; byte b = 1; short s = 1; long l = 1; double d = 1.0; float f = 1.0f; char c = 1; t(i == i); t(i == b); t(i == s); t(i == l); t(i == d); t(i == f); t(i == c); t(b == i); t(b == b); t(b == s); t(b == l); t(b == d); t(b == f); t(b == c); t(s == i); t(s == b); t(s == s); t(s == l); t(s == d); t(s == f)...
equals
56,262
void () { int i = 1; byte b = 1; short s = 1; long l = 1; double d = 1.0; float f = 1.0f; char c = 1; t(i > i); t(i > b); t(i > s); t(i > l); t(i > d); t(i > f); t(i > c); t(b > i); t(b > b); t(b > s); t(b > l); t(b > d); t(b > f); t(b > c); t(s > i); t(s > b); t(s > s); t(s > l); t(s > d); t(s > f); t(s > c); t(l > i)...
compare
56,263
void (boolean b) { }
t
56,264
boolean (File parent) { if (parent == null || !parent.exists()) { return false; } boolean result = true; if (parent.isDirectory()) { return true; } else return false; }
isDir
56,265
void () { int i = ALL_STYLES; }
foo
56,266
boolean (Language other) { return other.toString().equals(this.toString()); }
equals
56,267
void (String s) { s. this.v. }
m
56,268
int () { return super.hashCode(); }
hashCode
56,269
boolean (Object o) { return super.equals(o); }
equals
56,270
String () { return super.toString(); }
toString
56,271
int () { return super.hashCode(); }
hashCode
56,272
boolean (Object o) { return super.equals(o); }
equals
56,273
String () { return super.toString(); }
toString
56,274
T () { return myName; }
getName
56,275
void (String[] args) { Identifier<?> i1 = new Identifier<String>("name", false, true); Identifier i2 = new Identifier<String>("name", false); Identifier i3 = new Identifier<String>("name"); }
main
56,276
void (String[] args) { System.out.println("Halo!"); }
main
56,277
void () { for(int i1 = 0; i1 < 1; i1++) System.out.println(i1); byte b = 1; for(int i2 = 0; i2 < b; i2++) System.out.println(i2); short s = 1; for(int i3 = 0; i3 < s; i3++) System.out.println(i3); long l = 1L; for(int i4 = 0; i4 < l; i4++) System.out.println(i4); double d = 1.0; for(int i5 = 0; i5 < d; i5++) System.out...
printNumbers
56,278
byte (List<Byte> xs) { return xs.get(0).byteValue(); }
testByte
56,279
short (List<Short> xs) { return xs.get(0).shortValue(); }
testShort
56,280
int (List<Integer> xs) { return xs.get(0).intValue(); }
testInt
56,281
long (List<Long> xs) { return xs.get(0).longValue(); }
testLong
56,282
float (List<Float> xs) { return xs.get(0).floatValue(); }
testFloat
56,283
double (List<Double> xs) { return xs.get(0).doubleValue(); }
testDouble
56,284
void () { privateStatic1(); privateStatic2(); }
foo
56,285
void () { privateStatic1(); }
publicStatic
56,286
void () {}
privateStatic1
56,287
void () {}
privateStatic2
56,288
void () { privateStatic1(); privateStatic2(); }
foo
56,289
void () {}
privateStatic1
56,290
void () {}
privateStatic2
56,291
void () { privateStatic1(); privateStatic2(); }
foo
56,292
void () {}
privateStatic1
56,293
void () {}
privateStatic2
56,294
void () {}
privateStatic1
56,295
void () {}
privateStatic2
56,296
void () {}
privateStatic1
56,297
void () {}
privateStatic2
56,298
void () { List<Object> xs = new ArrayList<Object>(); List<Object> ys = new LinkedList<Object>(); ArrayList<Object> zs = new ArrayList<Object>(); xs.add(null); ys.add(null); xs.clear(); ys.clear(); zs.add(null); }
test
56,299
void () { ArrayList<Object> xs = new ArrayList<Object>(); List<Object> ys = new LinkedList<Object>(); for (Object x : xs) { ys.add(x); } for (Object y : ys) { xs.add(y); } }
test