- Sort Score
- Result 10 results
- Languages All
Results 361 - 370 of 517 for Unsafe (0.33 sec)
-
android/guava/src/com/google/common/util/concurrent/ThreadFactoryBuilder.java
// TODO(b/139735208): Figure out what to do when the factory returns null. requireNonNull(thread); if (nameFormat != null) { // requireNonNull is safe because we create `count` if (and only if) we have a nameFormat. thread.setName(format(nameFormat, requireNonNull(count).getAndIncrement())); } if (daemon != null) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:35:26 UTC 2025 - 9K bytes - Viewed (0) -
src/cmd/asm/internal/lex/input.go
in.peek = false tok := in.peekToken in.text = in.peekText return tok } // If we cannot generate a token after 100 macro invocations, we're in trouble. // The usual case is caught by Push, below, but be safe. for nesting := 0; nesting < 100; { tok := in.Stack.Next() switch tok { case '#': if !in.beginningOfLine { in.Error("'#' must be first item on line") } in.beginningOfLine = in.hash()
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Wed Nov 12 03:59:40 UTC 2025 - 12.4K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ListenerCallQueue.java
queue.add(event, label); } } } /** * Dispatches all events enqueued prior to this call, serially and in order, for every listener. * * <p>Note: this method is idempotent and safe to call from any thread */ public void dispatch() { // iterate by index to avoid concurrent modification exceptions for (int i = 0; i < listeners.size(); i++) { listeners.get(i).dispatch(); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 8.1K 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.2K bytes - Viewed (1) -
fess-crawler/src/main/java/org/codelibs/fess/net/protocol/storage/Handler.java
/** * Establishes a connection to the storage service. * This method creates a MinIO client using environment variables for configuration. * This method is synchronized to ensure thread-safe connection initialization. * * @throws IOException If the connection cannot be established */ @Override public synchronized void connect() throws IOException {Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 20 08:52:56 UTC 2025 - 11.1K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/interval/impl/HostIntervalControllerTest.java
final long elapsed2 = (System.nanoTime() - start2) / 1000000; assertTrue("Second access should delay at least 100ms", elapsed2 >= 90); } /** * Test that cache is thread-safe with concurrent access */ public void test_cacheThreadSafety() { final int numTasks = 50; final Long waittime = 50L;
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 11.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ContiguousSet.java
throw new IllegalArgumentException(e); } boolean empty; if (effectiveRange.isEmpty()) { empty = true; } else { /* * requireNonNull is safe because the effectiveRange operations above would have thrown or * effectiveRange.isEmpty() would have returned true. */ C afterLower = requireNonNull(range.lowerBound.leastValueAbove(domain));
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 9.9K bytes - Viewed (0) -
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: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 8.1K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/CacheBuilder.java
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Oct 08 18:55:33 UTC 2025 - 51.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. */ @ResourceRegistered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 31.4K bytes - Viewed (0)