Warning: session_start(): open(/var/lib/php/sessions/sess_ng4ha0t12nbo5k7o2d70tk74tp, 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
// Finds out the index of a sublist in the original list // Works with nested (grand-parent) sublists. // Does not work with lists not made with subList() (returns -1) static int magicIndexOfSubList(L list, L sublist) { if (sublist == list) ret 0; ifdef OurSubLists if (sublist cast ISubList) { L root = sublist.rootList(); int o2 = sublist.subListOffset(); if (list cast ISubList) { if (list.rootList() != root) ret -1; L o1 = list.subListOffset(); ret o2-o1; } else { if (list != root) ret -1; ret o2; } } ret -1; endifdef ifndef OurSubLists Int o2 = cast get(sublist, "offset"); if (o2 == null) ret -1; Int o1 = cast getOpt(list, "offset"); ret o2-(o1 != null ? o1 : 0); endifndef }