- Sort Score
- Result 10 results
- Languages All
Results 261 - 270 of 1,090 for safe (0.09 sec)
-
fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/MemoryDataHelper.java
* * <p>It uses {@code Map} and {@code Queue} data structures to hold the data. The class provides * methods to add, remove, clear, and retrieve data from these structures. * * <p>The class is thread-safe due to the use of {@code synchronized} keyword on methods that * modify the internal data structures. The internal maps are also declared as {@code volatile} * to ensure visibility of changes across threads. *Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 8.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackTest.java
// Execution time should be greater than 0 assertTrue(callback.getExecuteTime() >= 10L); } public void test_concurrent_stores() { // Test thread-safe implementation final AtomicLong counter = new AtomicLong(0); IndexUpdateCallback callback = new IndexUpdateCallback() { @OverrideRegistered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 12.4K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketReader.kt
import okio.Buffer import okio.BufferedSource import okio.ByteString /** * An [RFC 6455][rfc_6455]-compatible WebSocket frame reader. * * This class is not thread safe. * * [rfc_6455]: http://tools.ietf.org/html/rfc6455 */ class WebSocketReader( private val isClient: Boolean, val source: BufferedSource, private val frameCallback: FrameCallback,
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue Jul 29 22:04:11 UTC 2025 - 9.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/Smb2SigningDigest.java
} // Initialize the digest once to validate configuration this.digest = createMacInstance(); } /** * Create a new Mac instance for thread-safe operations * @return initialized Mac instance * @throws GeneralSecurityException if Mac cannot be created */ private Mac createMacInstance() throws GeneralSecurityException { if (this.closed) {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 9.9K bytes - Viewed (0) -
src/main/java/jcifs/util/SimpleCircuitBreaker.java
import java.util.concurrent.atomic.AtomicReference; import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** * Simplified circuit breaker implementation for SMB operations. * Thread-safe and lock-free implementation to prevent cascading failures. * * Features: * - Simple state management (CLOSED, OPEN, HALF_OPEN) * - Lock-free atomic operations * - Configurable thresholds and timeouts
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 11.3K bytes - Viewed (0) -
src/test/java/jcifs/EmptyIteratorTest.java
// Verify remove can be called (even though no-op) assertDoesNotThrow(() -> emptyIterator.remove(), "remove() should be safe to call"); // Verify still empty after operations assertFalse(emptyIterator.hasNext(), "Should remain empty after operations"); }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12K bytes - Viewed (0) -
guava/src/com/google/common/collect/ObjectArrays.java
} /** * Returns an array containing all of the elements in the specified collection. This method * returns the elements in the order they are returned by the collection's iterator. The returned * array is "safe" in that no references to it are maintained by the collection. The caller is * thus free to modify the returned array. * * <p>This method assumes that the collection size doesn't change while the method is running.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 8.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Streams.java
this.holder = t; } @Override public boolean tryAdvance(Consumer<? super R> action) { if (fromSpliterator.tryAdvance(this)) { try { // The cast is safe because tryAdvance puts a T into `holder`. action.accept(function.apply(uncheckedCastNullableTToT(holder), index++)); return true; } finally { holder = null; }Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 37K bytes - Viewed (0) -
src/test/java/jcifs/SmbWatchHandleTest.java
} /** * Test concurrent watch operations */ @Test void testConcurrentWatch() throws Exception { // Create a thread-safe implementation SmbWatchHandle concurrentHandle = new SmbWatchHandle() { private final Object lock = new Object(); private int watchCount = 0; @OverrideRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.2K bytes - Viewed (1) -
src/main/java/org/codelibs/fess/exec/Crawler.java
/** Atomic flag indicating whether the crawler is currently running. */ private static AtomicBoolean running = new AtomicBoolean(false); /** Thread-safe queue for collecting error messages during crawling operations. */ private static Queue<String> errors = new ConcurrentLinkedQueue<>(); /** Injected search engine client for OpenSearch operations. */ @ResourceRegistered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 31K bytes - Viewed (0)