- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 210 for Counter (0.16 sec)
-
src/main/java/org/codelibs/fess/helper/CrawlingConfigHelper.java
/** * Map storing crawling configurations by session ID. */ protected final Map<String, CrawlingConfig> crawlingConfigMap = new ConcurrentHashMap<>(); /** * Counter for generating unique session identifiers. */ protected int count = 1; /** * Cache for storing crawling configurations to improve performance. */Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 19.5K bytes - Viewed (1) -
android/guava/src/com/google/common/util/concurrent/FluentFuture.java
* exception is thrown, this exception is used as the result of the output {@code Future}. * * <p>Usage example: * * {@snippet : * // Falling back to a zero counter in case an exception happens when processing the RPC to fetch * // counters. * ListenableFuture<Integer> faultTolerantFuture = * fetchCounters().catching(FetchException.class, x -> 0, directExecutor()); * } *Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 19.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/BufferCache.java
private static final java.util.concurrent.ConcurrentLinkedQueue<byte[]> bufferQueue = 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); /**
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 4.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/CriticalPerformanceTest.java
byte[] buf = BufferCache.getBuffer(); BufferCache.releaseBuffer(buf); } // 3. Atomic Operations Test AtomicLong counter = new AtomicLong(0); for (int i = 0; i < 1000; i++) { counter.addAndGet(1024); } long end = System.nanoTime(); double totalTimeMs = (end - start) / 1_000_000.0;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 15.3K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/service/impl/DataServiceImpl.java
* </p> * * <p> * The class is a singleton, and is injected using the {@link Resource} annotation. * </p> * */ public class DataServiceImpl implements DataService<AccessResultImpl<Long>> { /** Counter for generating unique IDs */ protected static volatile long idCount = 0L; /** Lock object for synchronizing access to idCount */ private static Object idCountLock = new Object();Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 6.9K bytes - Viewed (0) -
src/test/java/jcifs/util/ResourceManagerTest.java
System.gc(); Thread.sleep(200); // Check for leaks resourceManager.checkForLeaks(); Map<String, Object> stats = resourceManager.getStatistics(); // The leak counter may or may not increment depending on GC timing assertNotNull(stats.get("totalLeaks")); } private void createLeakyResource() { TestResource resource = new TestResource("leaky");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 8.9K bytes - Viewed (0) -
okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt
.build(), ) val asyncRequestBody: RequestBody = object : RequestBody() { var counter = 0 override fun contentType() = null override fun writeTo(sink: BufferedSink) { counter++ assertThat(counter).isLessThanOrEqualTo(1) sink.writeUtf8("Hello request!") sink.close() }
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Nov 07 02:57:33 UTC 2025 - 39.4K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/CrawlerContext.java
protected Integer activeThreadCount = 0; /** * Lock object for synchronizing access to active thread count. */ protected Object activeThreadCountLock = new Object(); /** * Atomic counter for tracking the number of accesses made. */ protected AtomicLong accessCount = new AtomicLong(0); /** * Current status of the crawler. */Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 8.9K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AggregateFutureState.java
/** * A helper which does some thread-safe operations for aggregate futures, which must be implemented * differently in GWT. Namely: * * <ul> * <li>Lazily initializes a set of seen exceptions * <li>Decrements a counter atomically * </ul> */ @GwtCompatible @ReflectionSupport(value = ReflectionSupport.Level.FULL) abstract class AggregateFutureState<OutputT extends @Nullable Object> extends AbstractFuture.TrustedFuture<OutputT> {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 8.5K bytes - Viewed (0) -
CLAUDE.md
Execution context and configuration. **Important Fields**: ```java String sessionId // Format: yyyyMMddHHmmssSSS volatile CrawlerStatus status // DONE, RUNNING AtomicLong accessCount // Thread-safe counter int numOfThread = 10 // Crawler threads int maxDepth = -1 // Max depth (-1 = unlimited) long maxAccessCount = 0 // Max URLs (0 = unlimited) ```
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Fri Nov 28 17:31:34 UTC 2025 - 10.7K bytes - Viewed (0)