- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 540 for safety (0.04 sec)
-
fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerStatusTest.java
assertTrue(status == CrawlerStatus.RUNNING || status == CrawlerStatus.DONE); assertFalse(status == CrawlerStatus.INITIALIZING && status == CrawlerStatus.DONE); } /** * Test null safety in comparisons */ public void test_nullSafety() { CrawlerStatus status = CrawlerStatus.INITIALIZING; CrawlerStatus nullStatus = null; // Enum == null should be false
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Wed Sep 03 14:42:53 UTC 2025 - 15.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ForwardingMapEntry.java
* comparator is not consistent with {@code equals}. * * <p>The {@code standard} methods are not guaranteed to be thread-safe, even when all of the * methods that they depend on are thread-safe. * * @author Mike Bostock * @author Louis Wasserman * @since 2.0 */ @GwtCompatible
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 17:32:30 UTC 2025 - 4.3K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/util/XmlUtil.java
* <pre> * {@code * String escapedXml = XmlUtil.escapeXml("<tag>value</tag>"); * Map<String, Object> dataMap = XmlUtil.getDataMap(accessResultData); * } * </pre> * * <h2>Thread Safety:</h2> * <p> * This class is thread-safe as it does not maintain any state. * </p> * * <h2>Dependencies:</h2> * <ul> * <li>org.apache.logging.log4j.Logger</li> * <li>org.apache.logging.log4j.LogManager</li>
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 9.4K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/util/XPathAPI.java
* The implementation of this is a little slow, since it creates * a number of objects each time it is called. This could be optimized * to keep the same objects around, but then thread-safety issues would arise. * * @param contextNode The node to start searching from. * @param expression A valid XPath string.
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 4.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ForwardingList.java
* thread-safe, even when all of the methods that they depend on are thread-safe. * * @author Mike Bostock * @author Louis Wasserman * @since 2.0 */ @GwtCompatible public abstract class ForwardingList<E extends @Nullable Object> extends ForwardingCollection<E> implements List<E> { // TODO(lowasser): identify places where thread safety is actually lost
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 7.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/util/LogStreamTest.java
// but PrintStream doesn't throw exceptions on write after close } @Test void testConcurrentAccess() throws InterruptedException { // Test thread safety of getInstance LogStream.setInstance(testStream); final LogStream[] instances = new LogStream[10]; Thread[] threads = new Thread[10]; for (int i = 0; i < threads.length; i++) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessSecurityResourceProviderTest.java
assertNotNull(provider2.providePrimaryOneWayCryptographer()); assertNotSame(provider1.providePrimaryOneWayCryptographer(), provider2.providePrimaryOneWayCryptographer()); } // Test thread safety public void test_threadSafety() { // Test that the provider returns the same instances in multi-threaded environment final int threadCount = 10; final Thread[] threads = new Thread[threadCount];
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 12.8K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/service/impl/UrlQueueServiceImpl.java
* <li>Checking if a URL has already been visited.</li> * <li>Generating URL queues from a previous session's access results.</li> * </ul> * * <p> * The class uses synchronization to ensure thread safety when accessing and modifying the URL queue. * It also checks for duplicate URLs before adding them to the queue, * both within the queue itself and against previously accessed URLs stored in the {@link MemoryDataHelper}. * </p>
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 9.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EchoRequestTest.java
assertEquals(4, written); assertEquals(4, SMBUtil.readInt2(largeBuffer, 5000)); } @Test @DisplayName("Should maintain thread safety") void testThreadSafety() throws InterruptedException { int threadCount = 10; Thread[] threads = new Thread[threadCount]; boolean[] success = new boolean[threadCount];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.3K bytes - Viewed (0) -
src/test/java/jcifs/util/SimpleCircuitBreakerTest.java
assertEquals(0, stats.consecutiveFailures); assertEquals(SimpleCircuitBreaker.State.CLOSED, circuitBreaker.getState()); } @RepeatedTest(10) @DisplayName("Test thread safety") void testThreadSafety() throws InterruptedException { SimpleCircuitBreaker breaker = new SimpleCircuitBreaker("concurrent", 5, 3, 100); AtomicInteger successCount = new AtomicInteger(0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 10.6K bytes - Viewed (0)