Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

凌虚御风 cbweixin

🏠
Working from home
View GitHub Profile
View IntEx.class
D:\Applications\Scoop\apps\ojdkbuild8\1.8.0.252-2.b09\bin\java.exe "-javaagent:D:\apps\IntelliJ IDEA Community Edition 2020.1.2\lib\idea_rt.jar=49844:D:\apps\IntelliJ IDEA Community Edition 2020.1.2\bin" -Dfile.encoding=UTF-8 -classpath D:\Applications\Scoop\apps\ojdkbuild8\1.8.0.252-2.b09\jre\lib\charsets.jar;D:\Applications\Scoop\apps\ojdkbuild8\1.8.0.252-2.b09\jre\lib\ext\access-bridge-64.jar;D:\Applications\Scoop\apps\ojdkbuild8\1.8.0.252-2.b09\jre\lib\ext\cldrdata.jar;D:\Applications\Scoop\apps\ojdkbuild8\1.8.0.252-2.b09\jre\lib\ext\dnsns.jar;D:\Applications\Scoop\apps\ojdkbuild8\1.8.0.252-2.b09\jre\lib\ext\jaccess.jar;D:\Applications\Scoop\apps\ojdkbuild8\1.8.0.252-2.b09\jre\lib\ext\localedata.jar;D:\Applications\Scoop\apps\ojdkbuild8\1.8.0.252-2.b09\jre\lib\ext\nashorn.jar;D:\Applications\Scoop\apps\ojdkbuild8\1.8.0.252-2.b09\jre\lib\ext\sunec.jar;D:\Applications\Scoop\apps\ojdkbuild8\1.8.0.252-2.b09\jre\lib\ext\sunjce_provider.jar;D:\Applications\Scoop\apps\ojdkbuild8\1.8.0.252-2.b09\jre\lib\ext\sunms
View idea.vmoptions
-Xms1024m
-Xmx4096m
-XX:ReservedCodeCacheSize=1024m
-XX:+UseCompressedOops
-Dfile.encoding=UTF-8
-XX:+UseConcMarkSweepGC
-XX:SoftRefLRUPolicyMSPerMB=50
-ea
-XX:CICompilerCount=2
-Dsun.io.useCanonPrefixCache=false
View ProcessFunctionTimers
D:\apps\oraclejava8\bin\java.exe "-javaagent:D:\apps\IntelliJ IDEA Community Edition 2020.1.2\lib\idea_rt.jar=51076:D:\apps\IntelliJ IDEA Community Edition 2020.1.2\bin" -Dfile.encoding=UTF-8 -classpath D:\apps\oraclejava8\jre\lib\charsets.jar;D:\apps\oraclejava8\jre\lib\deploy.jar;D:\apps\oraclejava8\jre\lib\ext\access-bridge-64.jar;D:\apps\oraclejava8\jre\lib\ext\cldrdata.jar;D:\apps\oraclejava8\jre\lib\ext\dnsns.jar;D:\apps\oraclejava8\jre\lib\ext\jaccess.jar;D:\apps\oraclejava8\jre\lib\ext\jfxrt.jar;D:\apps\oraclejava8\jre\lib\ext\localedata.jar;D:\apps\oraclejava8\jre\lib\ext\nashorn.jar;D:\apps\oraclejava8\jre\lib\ext\sunec.jar;D:\apps\oraclejava8\jre\lib\ext\sunjce_provider.jar;D:\apps\oraclejava8\jre\lib\ext\sunmscapi.jar;D:\apps\oraclejava8\jre\lib\ext\sunpkcs11.jar;D:\apps\oraclejava8\jre\lib\ext\zipfs.jar;D:\apps\oraclejava8\jre\lib\javaws.jar;D:\apps\oraclejava8\jre\lib\jce.jar;D:\apps\oraclejava8\jre\lib\jfr.jar;D:\apps\oraclejava8\jre\lib\jfxswt.jar;D:\apps\oraclejava8\jre\lib\jsse.jar;D:\apps\o
View LateDataHandling
This file has been truncated, but you can view the full file.
322746482042)
4> SensorReading(sensor_36,1593975312788,70.838703767601)
4> SensorReading(sensor_37,1593975310142,61.77140819560398)
4> SensorReading(sensor_38,1593975312896,55.83213050196591)
9> SensorReading(sensor_88,1593975310430,71.2708589718904)
9> SensorReading(sensor_89,1593975309811,41.16878436575479)
9> *** late reading *** sensor_90
7> SensorReading(sensor_66,1593975310714,42.17072371362509)
7> SensorReading(sensor_67,1593975312036,62.836473171229635)
View customwindow
/Library/Java/JavaVirtualMachines/jdk1.8.0_221.jdk/Contents/Home/bin/java -javaagent:/Applications/IntelliJ IDEA.app/Contents/lib/idea_rt.jar=65199:/Applications/IntelliJ IDEA.app/Contents/bin -Dfile.encoding=UTF-8 -classpath /Library/Java/JavaVirtualMachines/jdk1.8.0_221.jdk/Contents/Home/jre/lib/charsets.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_221.jdk/Contents/Home/jre/lib/deploy.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_221.jdk/Contents/Home/jre/lib/ext/cldrdata.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_221.jdk/Contents/Home/jre/lib/ext/dnsns.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_221.jdk/Contents/Home/jre/lib/ext/jaccess.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_221.jdk/Contents/Home/jre/lib/ext/jfxrt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_221.jdk/Contents/Home/jre/lib/ext/localedata.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_221.jdk/Contents/Home/jre/lib/ext/nashorn.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_221.jdk/Contents/Home/jre/lib/ext/sunec.jar:/Librar
View flink log 1
View thread dump 2
"ScalaTest-run-running-GenTest" #1 prio=5 os_prio=31 tid=0x00007f85f780f000 nid=0xe03 waiting on condition [0x0000700004d5d000]
java.lang.Thread.State: WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for <0x0000000719c7e4e8> (a java.util.concurrent.FutureTask)
at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
at java.util.concurrent.FutureTask.awaitDone(FutureTask.java:429)
at java.util.concurrent.FutureTask.get(FutureTask.java:191)
at fpinscala.chapt7.Par$.$anonfun$map2$1(Par.scala:97)
at fpinscala.chapt7.Par$$$Lambda$216/875016237.apply(Unknown Source)
at fpinscala.chapt7.Par$.$anonfun$map2$1(Par.scala:95)
View thread dump 1
"ScalaTest-run-running-GenTest" #1 prio=5 os_prio=31 tid=0x00007f85f780f000 nid=0xe03 waiting on condition [0x0000700004d5d000]
java.lang.Thread.State: WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for <0x0000000719c7e4e8> (a java.util.concurrent.FutureTask)
at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
at java.util.concurrent.FutureTask.awaitDone(FutureTask.java:429)
at java.util.concurrent.FutureTask.get(FutureTask.java:191)
at fpinscala.chapt7.Par$.$anonfun$map2$1(Par.scala:97)
at fpinscala.chapt7.Par$$$Lambda$216/875016237.apply(Unknown Source)
at fpinscala.chapt7.Par$.$anonfun$map2$1(Par.scala:95)
@cbweixin
cbweixin / Populating.java
Created Dec 22, 2016
population next point II
View Populating.java
TreeLinkNode leftMost = root;
while(leftMost!=null){
TreeLinkNode p = leftMost;
while(p!=null && p.left==null && p.right==null){
p = p.next;
}
if(p==null){
return;
}
leftMost = p.left!=null ? p.left : p.right;
View LinkedHashMap usage - sort by value
package beginnersbook.com;
import java.util.Collections;
import java.util.Comparator;
import java.util.HashMap;
import java.util.Iterator;
import java.util.LinkedHashMap;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import java.util.Set;
You can’t perform that action at this time.