Warning: session_start(): open(/var/lib/php/sessions/sess_5mjr2vmdol50ijlbesng4st2es, 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
// uses identity to compare a and new value
static class WeakAssoc {
O f; // func(A) -> B
WeakReference a;
B b;
*() {}
*(O *f) {}
synchronized B get(A a) {
if (a != (this.a != null ? this.a.get() : null)) {
b = (B) callF(f, a);
this.a = new WeakReference(a);
}
ret b;
}
}