- Sort Score
- Result 10 results
- Languages All
Results 391 - 400 of 528 for safety (2.81 sec)
-
android/guava/src/com/google/common/collect/Sets.java
} /** * Creates a thread-safe set backed by a hash map. The set is backed by a {@link * ConcurrentHashMap} instance, and thus carries the same concurrency guarantees. * * <p>Unlike {@code HashSet}, this class does NOT allow {@code null} to be used as an element. The * set is serializable. * * @return a new, empty thread-safe {@code Set} * @since 15.0 */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 81.6K 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) -
api/maven-api-core/src/main/java/org/apache/maven/api/package-info.java
* * <p>The {@link org.apache.maven.api.Session} interface is the main entry point for Maven operations. * It maintains the state of a Maven execution and provides access to all core services and components. * Sessions are thread-safe and can be obtained in session-scoped components using the * {@link org.apache.maven.api.di.SessionScoped} annotation.</p> * * <p>Key capabilities provided through the Session include:</p> * <ul>
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Mar 05 14:29:21 UTC 2025 - 7.7K 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/bufio/scan.go
s.end -= s.start s.start = 0 } // Finally we can read some input. Make sure we don't get stuck with // a misbehaving Reader. Officially we don't need to do this, but let's // be extra careful: Scanner is for safe, simple jobs. for loop := 0; ; { n, err := s.r.Read(s.buf[s.end:len(s.buf)]) if n < 0 || len(s.buf)-s.end < n { s.setErr(ErrBadReadCount) break } s.end += n if err != nil {
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed May 21 18:05:26 UTC 2025 - 14.2K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AbstractFutureState.java
} while (oldHead != Waiter.TOMBSTONE); } // re-read valueField, if we get here then we must have observed a TOMBSTONE while trying to // add a waiter. // requireNonNull is safe because valueField is always set before TOMBSTONE. return getDoneValue(requireNonNull(valueField)); } // If we get here then we have remainingNanos < SPIN_THRESHOLD_NANOS and there is no node on the
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 33.2K 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) -
android/guava/src/com/google/common/graph/Graphs.java
subgraph.addNode(node); } for (N node : subgraph.nodes()) { for (N successorNode : graph.successors(node)) { if (subgraph.nodes().contains(successorNode)) { // requireNonNull is safe because the endpoint pair comes from the graph. subgraph.putEdgeValue( node, successorNode, requireNonNull(graph.edgeValueOrDefault(node, successorNode, null)));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Aug 01 00:26:14 UTC 2025 - 22.7K bytes - Viewed (0) -
guava/src/com/google/common/graph/Graphs.java
subgraph.addNode(node); } for (N node : subgraph.nodes()) { for (N successorNode : graph.successors(node)) { if (subgraph.nodes().contains(successorNode)) { // requireNonNull is safe because the endpoint pair comes from the graph. subgraph.putEdgeValue( node, successorNode, requireNonNull(graph.edgeValueOrDefault(node, successorNode, null)));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Aug 01 00:26:14 UTC 2025 - 23.3K bytes - Viewed (0) -
cmd/iam-store.go
type IAMStorageAPI interface { // The role of the read-write lock is to prevent go routines from // concurrently reading and writing the IAM storage. The (r)lock() // functions return the iamCache. The cache can be safely written to // only when returned by `lock()`. lock() *iamCache unlock() rlock() *iamCache runlock() getUsersSysType() UsersSysType
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 86.7K bytes - Viewed (0)