Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

61
LINES

< > BotCompany Repo | #1016582 // Global Utils (stuff in here gets moved to x30_pkg.x30_util.*)

JavaX source code (desktop) [tags: use-pretranspiled] - run with: x30.jar

Download Jar. Libraryless. Click here for Pure Java version (14897L/78K).

java.lang.RuntimeException: Unknown token 2: <: 
Warning: session_start(): open(/var/lib/php/sessions/sess_ds593hjp7t5s5bjqq98lmb0i1b, 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
{"1000415":"\"set\" function (set field by reflection)","1000619":"get function","1000630":"call function(s) for reflective calls to objects\/classes","1000659":"fail functions (improved)","1000688":"javaTok function - Java + JavaX tokenizer, but parses just about anything","1000810":"join function + array version","1000864":"isAndroid","1001101":"\"getOpt\" function (get field by reflection, return null if not there)","1001199":"callOpt - now forwards to callOpt_withVarargs","1001713":"hasBot","1001717":"newTypeWriterTextArea","1003363":"struct - short for structure","1003483":"callF + safeCallF - call a Runnable, func, voidfunc or function name","1003627":"isAWTThread","1004381":"isHeadless - \"headless\" graphics environment (no display)?","1004434":"jlabel - make JLabel with automatic tooltip and popup menu","1004683":"doEvery - install a java.util.Timer","1005598":"setOpt, setOpt_findField, optimized for objects (but not for classes yet, LIVE)","1005738":"loadPageSilentlyWithTimeout","1006746":"fixNewLines - convert both sole \\r and \\r\\n to \\n","1007211":"rethrow - rethrow an exception as RuntimeException","1007833":"multiMapPut - multimap put in normal Map; also: put in MultiMap if key & value are not null","1008249":"joinWithSpace - synonym of joinWithSpaces","1008264":"endsWithLetterOrDigit","1008563":"nohupJavax using module - NOTE: starts a different thread; don't use directly before System.exit (use directNohupJavax instead)","1008946":"sfu - synonym of structureForUser - structure() without too many back refs","1010621":"newWeakHashMap - use this instead of new WeakHashMap; map is always synchronized","1011383":"BetterThreadLocal - no memory leaks. sadly (but I bet it's _really_ ok! Has anyone checked whether it makes any difference in practice?) a bit slower than ThreadLocal","1011792":"_handleError - store hard errors (OutOfMemoryError etc.)","1013186":"getExceptionCause - goes just one level deep","1015710":"doLater - install a java.util.Timer","1016424":"print_append (helper for print function)","1016585":"call_checkArgs","1017670":"uniqueString - make UniqueString","1030297":"FlexThreadLocal - more flexible version of BetterThreadLocal [for inheriting threadlocals in thread pools]","1032578":"Fiber - \"light weight\" thread structure","1032580":"FiberLocal - variable local to fiber"} at main.fail(m1008705.java:1589) at main$jsonDecode_Y.fail_base(m1008705.java:14008) at main$jsonDecode_Y.fail(m1008705.java:14006) at main$jsonDecode_Y.parseExpr(m1008705.java:14058) at main$jsonDecode_Y.parse(m1008705.java:14012) at main.jsonDecode(m1008705.java:13990) at main.jsonDecodeMap(m1008705.java:12844) at main.getSnippetTitles(m1008705.java:10820) at main$JavaXHyperlinker.codeToHTML(m1008705.java:6209) at main.html2(m1008705.java:85) at main.html(m1008705.java:67) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104) at java.base/java.lang.reflect.Method.invoke(Method.java:577) at main.invokeMethod(m1008705.java:1601) at main.callOpt_withVarargs(m1008705.java:4387) at main.callOpt(m1008705.java:3326) at main.callHtmlMethod2(m1008705.java:11404) at main$MyHTTPD$1.get(m1008705.java:7337) at main$MyHTTPD$1.get(m1008705.java:1) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104) at java.base/java.lang.reflect.Method.invoke(Method.java:577) at main.invokeMethod(m1008705.java:1601) at main.safeCallF(m1008705.java:642) at main.callF(m1008705.java:611) at main$MyHTTPD.serve(m1008705.java:7373) at main$NanoHTTPD.serve_2(m1008705.java:9572) at main$NanoHTTPD.serve(m1008705.java:9553) at main$NanoHTTPD$HTTPSession.execute(m1008705.java:8453) at main$NanoHTTPD$ClientHandler.run(m1008705.java:7829) at java.base/java.lang.Thread.run(Thread.java:833)

download  show line numbers  debug dex  old transpilations   

Travelled to 16 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1016582
Snippet name: Global Utils (stuff in here gets moved to x30_pkg.x30_util.*)
Eternal ID of this version: #1016582/34
Text MD5: cd846d17627e0268cfe77ca590f41b98
Transpilation MD5: add133748c49ef2eaf611f4e99c8b89b
Author: stefan
Category: javax
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-10-27 08:11:36
Source code size: 1816 bytes / 61 lines
Pitched / IR pitched: No / No
Views / Downloads: 875 / 2677
Version history: 33 change(s)
Referenced in: #1001638 - x30.java (JavaX) - packaged by #1001639
#1016742 - x30_makeUtilsSource
#1019849 - Loadable Utils