Warning: session_start(): open(/var/lib/php/sessions/sess_gerchphrfka0j05mg93au9ggsn, O_RDWR) failed: No space left on device (28) in /var/www/tb-usercake/models/config.php on line 51
Warning: session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/tb-usercake/models/config.php on line 51
sclass HashedByteArray is Comparable {
byte[] data;
int hashCode;
*() {}
*(byte[] *data) {}
public int hashCode() {
if (hashCode == 0)
hashCode = oneIfZero(arrayHashCode(data));
ret hashCode;
}
public bool equals(O o) {
if (o cast HashedByteArray)
ret this == o || hashCode() == o.hashCode() && byteArraysEqual(data, o.data);
false;
}
// we interpret the bytes as ubytes
public int compareTo(HashedByteArray a) {
ret Arrays.compareUnsigned(data, a.data);
}
toString {
ret bytesToHex(data);
}
}