- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 104 for AtomicInteger (0.05 sec)
-
api/maven-api-core/src/main/java/org/apache/maven/api/services/ProblemCollector.java
import java.util.Comparator; import java.util.List; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.ConcurrentMap; import java.util.concurrent.CopyOnWriteArrayList; import java.util.concurrent.atomic.AtomicInteger; import java.util.concurrent.atomic.LongAdder; import java.util.function.Predicate; import java.util.stream.Stream; import org.apache.maven.api.Constants; import org.apache.maven.api.ProtoSession;
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jul 18 17:30:19 UTC 2025 - 11.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/exec/SuggestCreator.java
suggestHelper.storeAllBadWords(true); logger.info("Storing all elevate words."); suggestHelper.storeAllElevateWords(true); final AtomicInteger exitCode = new AtomicInteger(0); if (ComponentUtil.getFessConfig().isSuggestDocuments()) { final CountDownLatch latch = new CountDownLatch(1); logger.info("Parsing words from indexed documents.");
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 11.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/BufferCache.java
new java.util.concurrent.ConcurrentLinkedQueue<>(); // Track queue size with atomic counter for efficiency private static final java.util.concurrent.atomic.AtomicInteger queueSize = new java.util.concurrent.atomic.AtomicInteger(0); /** * Gets a buffer from the cache or creates a new one if the cache is empty. * * Performance: O(1) operation using concurrent queue *
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 4.2K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerContextTest.java
final CountDownLatch startLatch = new CountDownLatch(1); final CountDownLatch endLatch = new CountDownLatch(2); final AtomicInteger successCount = new AtomicInteger(0); Thread thread1 = new Thread(new Runnable() { @Override public void run() { try { startLatch.await();
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Sep 06 04:15:37 UTC 2025 - 25.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java
int noncesPerThread = 100; ConcurrentHashMap<String, Boolean> allNonces = new ConcurrentHashMap<>(); CountDownLatch latch = new CountDownLatch(threadCount); AtomicInteger collisions = new AtomicInteger(0); // When generating nonces concurrently ExecutorService executor = Executors.newFixedThreadPool(threadCount); for (int t = 0; t < threadCount; t++) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 44.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java
ExecutorService executor = Executors.newFixedThreadPool(10); CountDownLatch startLatch = new CountDownLatch(1); AtomicInteger successCount = new AtomicInteger(0); AtomicInteger failureCount = new AtomicInteger(0); // Submit tasks that try to sign data for (int i = 0; i < 5; i++) { executor.submit(() -> { try {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 43.7K bytes - Viewed (0) -
fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueServiceTest.java
// Poll concurrently final CountDownLatch startLatch = new CountDownLatch(1); final CountDownLatch doneLatch = new CountDownLatch(numThreads); final AtomicInteger totalPolled = new AtomicInteger(0); final List<String> allUrls = new ArrayList<>(); for (int i = 0; i < numThreads; i++) { new Thread(() -> { try {Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 20 08:40:57 UTC 2025 - 14.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryCacheEntry.java
private volatile boolean isComplete; private volatile boolean hasChanges; private DirectoryCacheScope scope; private long maxAge; private final AtomicInteger inconsistencyCount = new AtomicInteger(0); /** * Create a new directory cache entry * * @param path the directory path * @param key the lease key * @param scope the cache scope */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 11.4K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/project/ProjectBuilderTest.java
MavenProject mavenProject = results.get(0).getProject(); assertEquals(1, mavenProject.getArtifacts().size()); final MavenProject project = mavenProject; final AtomicInteger artifactsResultInAnotherThread = new AtomicInteger(); Thread t = new Thread(new Runnable() { @Override public void run() { artifactsResultInAnotherThread.set(project.getArtifacts().size());
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 10:01:14 UTC 2025 - 17.6K bytes - Viewed (0) -
docs/smb3-features/05-rdma-smb-direct-design.md
import java.util.concurrent.LinkedBlockingQueue; import java.util.concurrent.atomic.AtomicInteger; public abstract class RdmaConnection implements AutoCloseable { protected final InetSocketAddress remoteAddress; protected final InetSocketAddress localAddress; protected final AtomicInteger sendCredits; protected final AtomicInteger receiveCredits; protected final BlockingQueue<RdmaWorkRequest> pendingRequests;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 35.9K bytes - Viewed (0)