be.tarsos.dsp.util.ConcurrencyUtils.class Maven / Gradle / Ivy
???? 3 ?
$ U
V W
V X # Y
# Z # [ # \ # ] # ^ _ `
a@
b c
b d
b e ?
f g h
i # j k l m n o
i p q
r
s
t u
# v w x y InnerClasses CustomThreadFactory CustomExceptionHandler THREAD_POOL &Ljava/util/concurrent/ExecutorService; THREADS_BEGIN_N_1D_FFT_2THREADS I THREADS_BEGIN_N_1D_FFT_4THREADS THREADS_BEGIN_N_2D THREADS_BEGIN_N_3D NTHREADS ()V Code getNumberOfProcessors ()I getNumberOfThreads setNumberOfThreads (I)V getThreadsBeginN_1D_FFT_2Threads getThreadsBeginN_1D_FFT_4Threads getThreadsBeginN_2D getThreadsBeginN_3D setThreadsBeginN_1D_FFT_2Threads
StackMapTable setThreadsBeginN_1D_FFT_4Threads setThreadsBeginN_2D setThreadsBeginN_3D resetThreadsBeginN_FFT resetThreadsBeginN nextPow2 (I)I prevPow2
isPowerOf2 (I)Z sleep (J)V h submit 3(Ljava/lang/Runnable;)Ljava/util/concurrent/Future; Signature 6(Ljava/lang/Runnable;)Ljava/util/concurrent/Future<*>; waitForCompletion !([Ljava/util/concurrent/Future;)V o $([Ljava/util/concurrent/Future<*>;)V 1 2 z { | } 5 0 , F E + , - , . , / , "java/lang/IllegalArgumentException x must be greater or equal 1 1 ~ ? ? ? ? ? ? ? I J java/lang/InterruptedException ? 2 ) * ? L M ? ? ? 'java/util/concurrent/ExecutionException 7be/tarsos/dsp/util/ConcurrencyUtils$CustomThreadFactory :be/tarsos/dsp/util/ConcurrencyUtils$CustomExceptionHandler 1 ? 1 ? ? ? ? 4 5 #be/tarsos/dsp/util/ConcurrencyUtils java/lang/Object %be/tarsos/dsp/util/ConcurrencyUtils$1 java/lang/Runtime
getRuntime ()Ljava/lang/Runtime; availableProcessors (Ljava/lang/String;)V java/lang/Math log (D)D floor pow (DD)D java/lang/Thread printStackTrace $java/util/concurrent/ExecutorService java/util/concurrent/Future get ()Ljava/lang/Object; *(Lbe/tarsos/dsp/util/ConcurrencyUtils$1;)V ? UncaughtExceptionHandler .(Ljava/lang/Thread$UncaughtExceptionHandler;)V java/util/concurrent/Executors newCachedThreadPool L(Ljava/util/concurrent/ThreadFactory;)Ljava/util/concurrent/ExecutorService; )java/lang/Thread$UncaughtExceptionHandler ! # $ ) *
+ ,
- ,
. ,
/ ,
0 , 1 2 3 *? ? 4 5 3 ? ? ? 6 5 3 ? ? 7 8 3 ? ? ? 9 5 3 ? ? : 5 3 ? ? ; 5 3 ? ? <