- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for synchronizedList (0.11 sec)
-
src/test/java/jcifs/smb/SmbSessionImplSecurityTest.java
CountDownLatch endLatch = new CountDownLatch(threadCount); AtomicInteger successCount = new AtomicInteger(0); List<Exception> exceptions = Collections.synchronizedList(new ArrayList<>()); // When - Multiple threads accessing trees concurrently for (int t = 0; t < threadCount; t++) { final int threadId = t; executor.submit(() -> {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/index/writer/SuggestWriterResult.java
// nothing } /** * A list of Throwables representing failures that occurred during the operation. */ protected List<Throwable> failures = Collections.synchronizedList(new ArrayList<>()); /** * Adds a Throwable to the list of failures. * * @param t the Throwable to add */ public void addFailure(final Throwable t) { failures.add(t);Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Fri Jul 04 14:00:23 UTC 2025 - 1.9K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/CompletionServiceStub.java
import org.apache.maven.lifecycle.internal.ProjectSegment; /** */ public class CompletionServiceStub implements CompletionService<ProjectSegment> { List<FutureTask<ProjectSegment>> projectBuildFutureTasks = Collections.synchronizedList(new ArrayList<>()); final boolean finishImmediately; public int size() { return projectBuildFutureTasks.size(); } public CompletionServiceStub(boolean finishImmediately) {
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 2.6K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/MojoExecutorStub.java
import org.apache.maven.project.MavenProject; /** */ public class MojoExecutorStub extends MojoExecutor { // This is being lazy instead of making interface protected final List<MojoExecution> executions = Collections.synchronizedList(new ArrayList<>()); public MojoExecutorStub() { super(null, null, null, null, null, null); } public MojoExecutorStub( BuildPluginManager pluginManager,Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Mar 21 04:56:21 UTC 2025 - 3.5K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/ListenerCallQueue.java
private static final LazyLogger logger = new LazyLogger(ListenerCallQueue.class); // TODO(chrisn): promote AppendOnlyCollection for use here. private final List<PerListenerQueue<L>> listeners = Collections.synchronizedList(new ArrayList<PerListenerQueue<L>>()); /** Method reference-compatible listener event. */ interface Event<L> { /** Call a method on the listener. */ void call(L listener); } /**
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 8.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTimingAttackTest.java
final int threadCount = 10; final int operationsPerThread = 100; final ExecutorService executor = Executors.newFixedThreadPool(threadCount); final List<Long> timings = Collections.synchronizedList(new ArrayList<>()); try { for (int t = 0; t < threadCount; t++) { executor.submit(() -> { for (int i = 0; i < operationsPerThread; i++) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11.2K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ListenerCallQueue.java
private static final LazyLogger logger = new LazyLogger(ListenerCallQueue.class); // TODO(chrisn): promote AppendOnlyCollection for use here. private final List<PerListenerQueue<L>> listeners = Collections.synchronizedList(new ArrayList<PerListenerQueue<L>>()); /** Method reference-compatible listener event. */ interface Event<L> { /** Call a method on the listener. */ void call(L listener); } /**
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 8.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Synchronized.java
return (list instanceof RandomAccess) ? new SynchronizedRandomAccessList<E>(list, mutex) : new SynchronizedList<E>(list, mutex); } private static class SynchronizedList<E extends @Nullable Object> extends SynchronizedCollection<E> implements List<E> { SynchronizedList(List<E> delegate, @Nullable Object mutex) { super(delegate, mutex); } @Override
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Aug 08 15:11:10 UTC 2025 - 53K bytes - Viewed (0) -
guava/src/com/google/common/collect/Synchronized.java
return (list instanceof RandomAccess) ? new SynchronizedRandomAccessList<E>(list, mutex) : new SynchronizedList<E>(list, mutex); } private static class SynchronizedList<E extends @Nullable Object> extends SynchronizedCollection<E> implements List<E> { SynchronizedList(List<E> delegate, @Nullable Object mutex) { super(delegate, mutex); } @Override
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Aug 08 15:11:10 UTC 2025 - 56.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/DataIndexHelper.java
/** * Thread-safe list of active data crawling threads. * Used to track and manage all currently running crawler threads. */ protected final List<DataCrawlingThread> dataCrawlingThreadList = Collections.synchronizedList(new ArrayList<>()); /** * Creates a new instance of DataIndexHelper. * This constructor initializes the helper for managing data crawling operations,Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 19K bytes - Viewed (0)