Wrote /root/JavaX-Caches/tmp_1211073467/main.java - 10070 bytes (written=10070, should be 10070)
javac=0, ecj=1, useJarBot=0
Checking ECJ at port 4898 at 127.0.0.1
/root/jdk-17/bin/javac -source 11 -target 11 -nowarn -encoding utf8 -Xdiags:verbose -cp /root/.javax/x30.jar:/root/dexcompiler/android.jar:/root/dexcompiler/support-v4-22.2.1.jar:/root/javafx/javafx.base.jar:/root/javafx/javafx.graphics.jar:/root/javafx/javafx.swing.jar -d /root/JavaX-Caches/tmp_850602676 /root/JavaX-Caches/tmp_1211073467/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_1211073467/main.java:22: error: class, interface, or enum expected
sclass LongIntHashMap_IntMemory64 extends AbstractMap {
^
/root/JavaX-Caches/tmp_1211073467/main.java:23: error: class, interface, or enum expected
final static int INITIAL_SIZE = 3;
^
/root/JavaX-Caches/tmp_1211073467/main.java:24: error: class, interface, or enum expected
final static double LOAD_FACTOR = 0.6;
^
/root/JavaX-Caches/tmp_1211073467/main.java:32: error: class, interface, or enum expected
final static long noKey = Long.MIN_VALUE; // null in original code
^
/root/JavaX-Caches/tmp_1211073467/main.java:33: error: class, interface, or enum expected
final static long deletedKey = Long.MIN_VALUE+1;
^
/root/JavaX-Caches/tmp_1211073467/main.java:35: error: class, interface, or enum expected
IIntMemory64 mem;
^
/root/JavaX-Caches/tmp_1211073467/main.java:43: error: class, interface, or enum expected
long tableSize;
^
/root/JavaX-Caches/tmp_1211073467/main.java:44: error: class, interface, or enum expected
long elements;
^
/root/JavaX-Caches/tmp_1211073467/main.java:45: error: class, interface, or enum expected
long freecells;
^
/root/JavaX-Caches/tmp_1211073467/main.java:46: error: class, interface, or enum expected
int modCount;
^
/root/JavaX-Caches/tmp_1211073467/main.java:48: error: class, interface, or enum expected
*() {
^
/root/JavaX-Caches/tmp_1211073467/main.java:50: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1211073467/main.java:54: error: class, interface, or enum expected
values = (Int[]) new Object[(size==0 ? 1 : size)];
^
/root/JavaX-Caches/tmp_1211073467/main.java:55: error: class, interface, or enum expected
elements = 0;
^
/root/JavaX-Caches/tmp_1211073467/main.java:56: error: class, interface, or enum expected
freecells = tableSize;
^
/root/JavaX-Caches/tmp_1211073467/main.java:57: error: class, interface, or enum expected
modCount = 0;
^
/root/JavaX-Caches/tmp_1211073467/main.java:58: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1211073467/main.java:65: error: class, interface, or enum expected
public synchronized int size() {
^
/root/JavaX-Caches/tmp_1211073467/main.java:67: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1211073467/main.java:72: error: class, interface, or enum expected
public synchronized boolean isEmpty() {
^
/root/JavaX-Caches/tmp_1211073467/main.java:74: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1211073467/main.java:79: error: class, interface, or enum expected
public synchronized void clear() {
^
/root/JavaX-Caches/tmp_1211073467/main.java:81: error: class, interface, or enum expected
for (long ix = 0; ix < tableSize; ix++) {
^
/root/JavaX-Caches/tmp_1211073467/main.java:81: error: class, interface, or enum expected
for (long ix = 0; ix < tableSize; ix++) {
^
/root/JavaX-Caches/tmp_1211073467/main.java:81: error: class, interface, or enum expected
for (long ix = 0; ix < tableSize; ix++) {
^
/root/JavaX-Caches/tmp_1211073467/main.java:83: error: class, interface, or enum expected
setValue(ix, 0); // just for beauty
^
/root/JavaX-Caches/tmp_1211073467/main.java:84: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1211073467/main.java:86: error: class, interface, or enum expected
modCount++;
^
/root/JavaX-Caches/tmp_1211073467/main.java:87: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1211073467/main.java:89: error: class, interface, or enum expected
long ptr(long i) { ret 6+i*3; }
^
/root/JavaX-Caches/tmp_1211073467/main.java:93: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1211073467/main.java:97: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1211073467/main.java:102: error: class, interface, or enum expected
public synchronized boolean containsKey(Object k) {
^
/root/JavaX-Caches/tmp_1211073467/main.java:104: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1211073467/main.java:109: error: class, interface, or enum expected
public synchronized boolean containsValue(Object v) {
^
/root/JavaX-Caches/tmp_1211073467/main.java:110: error: class, interface, or enum expected
for (int ix = 0; ix < tableSize; ix++)
^
/root/JavaX-Caches/tmp_1211073467/main.java:110: error: class, interface, or enum expected
for (int ix = 0; ix < tableSize; ix++)
^
/root/JavaX-Caches/tmp_1211073467/main.java:114: error: class, interface, or enum expected
return false;
^
/root/JavaX-Caches/tmp_1211073467/main.java:115: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1211073467/main.java:120: error: class, interface, or enum expected
public synchronized Set> entrySet() {
^
/root/JavaX-Caches/tmp_1211073467/main.java:122: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1211073467/main.java:128: error: class, interface, or enum expected
public synchronized Int remove(Object k) {
^
/root/JavaX-Caches/tmp_1211073467/main.java:132: error: class, interface, or enum expected
if (keys[index] != null) {
^
/root/JavaX-Caches/tmp_1211073467/main.java:137: error: class, interface, or enum expected
keys[index] = (Long) deletedObject;
^
/root/JavaX-Caches/tmp_1211073467/main.java:138: error: class, interface, or enum expected
values[index] = (Int) deletedObject;
^
/root/JavaX-Caches/tmp_1211073467/main.java:139: error: class, interface, or enum expected
modCount++;
^
/root/JavaX-Caches/tmp_1211073467/main.java:140: error: class, interface, or enum expected
elements--;
^
/root/JavaX-Caches/tmp_1211073467/main.java:141: error: class, interface, or enum expected
return v;
^
/root/JavaX-Caches/tmp_1211073467/main.java:142: error: class, interface, or enum expected
} else
^
/root/JavaX-Caches/tmp_1211073467/main.java:145: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1211073467/main.java:151: error: class, interface, or enum expected
public synchronized Int put(Long k, Int v) {
^
/root/JavaX-Caches/tmp_1211073467/main.java:153: error: class, interface, or enum expected
long index = (hash & 0x7FFFFFFF) % tableSize;
^
/root/JavaX-Caches/tmp_1211073467/main.java:154: error: class, interface, or enum expected
int offset = 1;
^
/root/JavaX-Caches/tmp_1211073467/main.java:155: error: class, interface, or enum expected
int deletedix = -1;
^
/root/JavaX-Caches/tmp_1211073467/main.java:158: error: class, interface, or enum expected
while(keys[index] != null &&
^
/root/JavaX-Caches/tmp_1211073467/main.java:167: error: class, interface, or enum expected
index = ((index + offset) & 0x7FFFFFFF) % tableSize;
^
/root/JavaX-Caches/tmp_1211073467/main.java:168: error: class, interface, or enum expected
offset = offset*2 + 1;
^
/root/JavaX-Caches/tmp_1211073467/main.java:170: error: class, interface, or enum expected
if (offset == -1)
^
/root/JavaX-Caches/tmp_1211073467/main.java:172: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1211073467/main.java:177: error: class, interface, or enum expected
else
^
/root/JavaX-Caches/tmp_1211073467/main.java:180: error: class, interface, or enum expected
modCount++;
^
/root/JavaX-Caches/tmp_1211073467/main.java:181: error: class, interface, or enum expected
elements++;
^
/root/JavaX-Caches/tmp_1211073467/main.java:183: error: class, interface, or enum expected
keys[index] = (Long) k;
^
/root/JavaX-Caches/tmp_1211073467/main.java:184: error: class, interface, or enum expected
values[index] = (Int) v;
^
/root/JavaX-Caches/tmp_1211073467/main.java:187: error: class, interface, or enum expected
if (1 - (freecells / (double) tableSize) > LOAD_FACTOR)
^
/root/JavaX-Caches/tmp_1211073467/main.java:189: error: class, interface, or enum expected
return null;
^
/root/JavaX-Caches/tmp_1211073467/main.java:190: error: class, interface, or enum expected
} else { // was there already
^
/root/JavaX-Caches/tmp_1211073467/main.java:192: error: class, interface, or enum expected
Int oldv = values[index];
^
/root/JavaX-Caches/tmp_1211073467/main.java:193: error: class, interface, or enum expected
values[index] = (Int) v;
^
/root/JavaX-Caches/tmp_1211073467/main.java:194: error: class, interface, or enum expected
return oldv;
^
/root/JavaX-Caches/tmp_1211073467/main.java:195: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1211073467/main.java:203: error: class, interface, or enum expected
Long[] newKeys = (Long[]) new Object[newCapacity];
^
/root/JavaX-Caches/tmp_1211073467/main.java:204: error: class, interface, or enum expected
Int[] newValues = (Int[]) new Object[newCapacity];
^
/root/JavaX-Caches/tmp_1211073467/main.java:206: error: class, interface, or enum expected
for (int ix = 0; ix < oldCapacity; ix++) {
^
/root/JavaX-Caches/tmp_1211073467/main.java:206: error: class, interface, or enum expected
for (int ix = 0; ix < oldCapacity; ix++) {
^
/root/JavaX-Caches/tmp_1211073467/main.java:206: error: class, interface, or enum expected
for (int ix = 0; ix < oldCapacity; ix++) {
^
/root/JavaX-Caches/tmp_1211073467/main.java:208: error: class, interface, or enum expected
if (k == null || k == deletedObject)
^
/root/JavaX-Caches/tmp_1211073467/main.java:211: error: class, interface, or enum expected
int hash = k.hashCode();
^
/root/JavaX-Caches/tmp_1211073467/main.java:212: error: class, interface, or enum expected
int index = (hash & 0x7FFFFFFF) % newCapacity;
^
/root/JavaX-Caches/tmp_1211073467/main.java:213: error: class, interface, or enum expected
int offset = 1;
^
/root/JavaX-Caches/tmp_1211073467/main.java:216: error: class, interface, or enum expected
while(newKeys[index] != null) { // no need to test for duplicates
^
/root/JavaX-Caches/tmp_1211073467/main.java:218: error: class, interface, or enum expected
offset = offset*2 + 1;
^
/root/JavaX-Caches/tmp_1211073467/main.java:220: error: class, interface, or enum expected
if (offset == -1)
^
/root/JavaX-Caches/tmp_1211073467/main.java:222: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1211073467/main.java:225: error: class, interface, or enum expected
newValues[index] = values[ix];
^
/root/JavaX-Caches/tmp_1211073467/main.java:226: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1211073467/main.java:229: error: class, interface, or enum expected
values = newValues;
^
/root/JavaX-Caches/tmp_1211073467/main.java:230: error: class, interface, or enum expected
freecells = tableSize - elements;
^
/root/JavaX-Caches/tmp_1211073467/main.java:231: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1211073467/main.java:237: error: class, interface, or enum expected
public synchronized Int get(Object k) {
^
/root/JavaX-Caches/tmp_1211073467/main.java:239: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1211073467/main.java:245: error: class, interface, or enum expected
public synchronized Collection values() {
^
/root/JavaX-Caches/tmp_1211073467/main.java:247: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1211073467/main.java:252: error: class, interface, or enum expected
public synchronized Set keySet() {
^
/root/JavaX-Caches/tmp_1211073467/main.java:254: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1211073467/main.java:258: error: class, interface, or enum expected
final int findKeyIndex(Object k) {
^
/root/JavaX-Caches/tmp_1211073467/main.java:262: error: class, interface, or enum expected
int hash = k.hashCode();
^
/root/JavaX-Caches/tmp_1211073467/main.java:263: error: class, interface, or enum expected
int index = (hash & 0x7FFFFFFF) % tableSize;
^
/root/JavaX-Caches/tmp_1211073467/main.java:264: error: class, interface, or enum expected
int offset = 1;
^
/root/JavaX-Caches/tmp_1211073467/main.java:267: error: class, interface, or enum expected
while(keys[index] != null &&
^
100 errors
only showing the first 100 errors, of 105 total; use -Xmaxerrs if you would like to see more