- Sort Score
- Result 10 results
- Languages All
Results 261 - 270 of 1,090 for safe (0.02 sec)
-
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() { @Override
Registered: 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) -
guava/src/com/google/common/util/concurrent/AbstractFutureState.java
* problematic AtomicReferenceFieldUpdaterAtomicHelper code path. However, the same problem *does* * matter with AggregateFutureState, which does not have an Unsafe-based helper. * * This same problem is one of the reasons for us to likewise use package-private for the fields * in Waiter. */ /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 34.8K 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; @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.2K 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) -
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. */ @Resource
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 31K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryCacheEntry.java
import java.util.concurrent.atomic.AtomicInteger; import java.util.concurrent.locks.ReadWriteLock; import java.util.concurrent.locks.ReentrantReadWriteLock; /** * Cache entry for directory contents with thread-safe operations */ public class DirectoryCacheEntry { private final String directoryPath; private final Smb2LeaseKey leaseKey; private final long createTime; private volatile long lastUpdateTime;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 11.4K bytes - Viewed (0)