- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 11 for ThreadLocal (0.07 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
android/guava/src/com/google/common/escape/Platform.java
return requireNonNull(DEST_TL.get()); } /** * A thread-local destination buffer to keep us from creating new buffers. The starting size is * 1024 characters. If we grow past this we don't put it back in the threadlocal, we just keep * going and grow as needed. */ private static final ThreadLocal<char[]> DEST_TL = new ThreadLocal<char[]>() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 1.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/crawler/serializer/DataSerializer.java
/** Constant for Kryo serializer type. */ protected static final String KRYO = "kryo"; /** ThreadLocal container for Kryo instances to ensure thread safety. */ protected final ThreadLocal<Kryo> kryoThreadLocal; /** * Constructs a new DataSerializer. * <p> * Initializes the ThreadLocal Kryo instances with appropriate configuration.Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Jan 10 01:54:09 GMT 2026 - 10.5K bytes - Click Count (3) -
android/guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java
public void testDirectExecutorServiceServiceInThreadExecution() throws Exception { ListeningExecutorService executor = newDirectExecutorService(); ThreadLocal<Integer> threadLocalCount = new ThreadLocal<Integer>() { @Override protected Integer initialValue() { return 0; } };
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 26.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/crawler/serializer/DataSerializerTest.java
} /** * Test that ThreadLocal Kryo instances work correctly * This verifies that the ThreadLocal implementation doesn't cause issues */ @Test public void test_threadLocalKryo() { // Perform multiple serializations to ensure ThreadLocal works for (int i = 0; i < 10; i++) { String original = "Test " + i;Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 21.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java
public void testDirectExecutorServiceServiceInThreadExecution() throws Exception { ListeningExecutorService executor = newDirectExecutorService(); ThreadLocal<Integer> threadLocalCount = new ThreadLocal<Integer>() { @Override protected Integer initialValue() { return 0; } };
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 26.1K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/CrawlerContext.java
*/ protected Set<String> robotsTxtUrlSet = new LruHashSet<>(10000); /** * Thread-local storage for sitemaps. */ protected ThreadLocal<String[]> sitemapsLocal = new ThreadLocal<>(); /** The number of threads used by the crawler */ protected int numOfThread = 10; /** The maximum number of times to check for active threads. */Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Wed Dec 31 09:07:38 GMT 2025 - 9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/JobHelper.java
} /** Monitor interval in seconds (default: 1 hour) */ protected int monitorInterval = 60 * 60;// 1hour /** Thread-local storage for job runtime information */ protected ThreadLocal<LaJobRuntime> jobRuntimeLocal = new ThreadLocal<>(); /** * Registers a scheduled job with the job manager. * * @param scheduledJob the scheduled job to register */Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 10.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/SourceSinkFactories.java
} private abstract static class FileFactory { private static final Logger logger = Logger.getLogger(FileFactory.class.getName()); private final ThreadLocal<File> fileThreadLocal = new ThreadLocal<>(); File createFile() throws IOException { File file = File.createTempFile("SinkSourceFile", "txt"); fileThreadLocal.set(file); return file; }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jul 16 17:42:14 GMT 2025 - 12.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/ActivityHelperTest.java
import org.lastaflute.web.login.credential.LoginCredential; public class ActivityHelperTest extends UnitFessTestCase { private ActivityHelper activityHelper; private ThreadLocal<String> localLogMsg = new ThreadLocal<>(); @Override protected void setUp(TestInfo testInfo) throws Exception { super.setUp(testInfo); activityHelper = new ActivityHelper() { @OverrideCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 11:45:43 GMT 2026 - 24.3K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java
*/ // This is logically a Set, but an ArrayList is used to minimize the amount // of allocation done on lock()/unlock(). private static final ThreadLocal<List<LockGraphNode>> acquiredLocks = new ThreadLocal<List<LockGraphNode>>() { @Override protected List<LockGraphNode> initialValue() { return newArrayListWithCapacity(3); } }; /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 36K bytes - Click Count (0)