returns the number of running calls that share a host with call . concode_field_sep ExecutorService executorService concode_elem_sep Deque<RealCall> runningSyncCalls concode_elem_sep int maxRequestsPerHost concode_elem_sep Deque<AsyncCall> readyAsyncCalls concode_elem_sep Deque<AsyncCall> runningAsyncCalls concode_elem_sep Runnable idleCallback concode_elem_sep int maxRequests concode_field_sep void cancelAll concode_elem_sep void promoteCalls concode_elem_sep ExecutorService executorService concode_elem_sep List<Call> queuedCalls concode_elem_sep void executed concode_elem_sep void finished concode_elem_sep void finished concode_elem_sep void finished concode_elem_sep void setMaxRequests concode_elem_sep int queuedCallsCount concode_elem_sep int getMaxRequestsPerHost concode_elem_sep void enqueue concode_elem_sep List<Call> runningCalls concode_elem_sep void setMaxRequestsPerHost concode_elem_sep int getMaxRequests concode_elem_sep void setIdleCallback concode_elem_sep int runningCallsCount
int function ( AsyncCall arg0 ) { int loc0 = 0 ; for ( AsyncCall loc1 : runningAsyncCalls ) { if ( loc1 . host ( ) . equals ( arg0 . host ( ) ) ) loc0 ++ ; } return loc0 ; }