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

54
LINES

< > BotCompany Repo | #1030114 // findBestThreshold [OK, could be optimized a bit more]

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (2777L/17K).

java.lang.RuntimeException: Unknown token 2: <: 
Warning: session_start(): open(/var/lib/php/sessions/sess_ih20ki8o5h97rhmh4q4cemlkn5, 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
{"1001241":"concatLists","1001518":"l function (synonym of length), length of arrays, strings, lists, size of maps","1002108":"empty - extended synonym of isEmpty","1003400":"sorted - takes a Collection and an optional func(A, A) -> int","1004216":"T3 - value triple - synonym: Triple","1004217":"t3 - make T3 value triple","1006807":"avg - average of 2 values","1013472":"countPred - synonym of nfilter - count objects in collection that match a predicate","1024542":"printVars_str - print a bunch of vars (don't use struct)","1030114":"findBestThreshold [OK, could be optimized a bit more]","1030116":"binarySearch_insertionPoint","1030117":"findThreshold_unmoved - just average between max of l1 and max of l2"} 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 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1030114
Snippet name: findBestThreshold [OK, could be optimized a bit more]
Eternal ID of this version: #1030114/24
Text MD5: 4272190d84b982676a723c5b3510dc65
Transpilation MD5: 927dbf964c9285876d25a252be82674c
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-11-10 09:38:30
Source code size: 2349 bytes / 54 lines
Pitched / IR pitched: No / No
Views / Downloads: 668 / 849
Version history: 23 change(s)
Referenced in: [show references]