- Sort Score
- Num 10 results
- Language All
Results 61 - 70 of 639 for locking (0.06 seconds)
-
android/guava/src/com/google/common/util/concurrent/MoreExecutors.java
* </ul> * * A specific warning about locking: Code that executes user-supplied tasks, such as {@code * ListenableFuture} listeners, should take care not to do so while holding a lock. Additionally, * as a further line of defense, prefer not to perform any locking inside a task that will be runCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jan 28 22:39:02 GMT 2026 - 45.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/pager/GroupPager.java
private int currentPageNumber; /** Group ID for search filtering. */ public String id; /** Group name for search filtering. */ public String name; /** Version number for optimistic locking. */ public String versionNo; /** * Default constructor for GroupPager. * Initializes the pager with default values for pagination settings. */ public GroupPager() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 7K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java
} } assertTrue(hasNonZero, "Signature should be present at correct offset"); } @Test @DisplayName("Should be thread-safe with optimized locking") void testSignThreadSafety() throws InterruptedException { int threadCount = 10; Thread[] threads = new Thread[threadCount]; byte[][] dataArrays = new byte[threadCount][128];Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 43.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/pager/FileAuthPager.java
public String createdBy; /** The timestamp when this file authentication entry was created. */ public String createdTime; /** The version number for optimistic locking. */ public String versionNo; /** * Clears all pagination and search criteria fields, resetting them to their default values. */ public void clear() { allRecordCount = 0;Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/SuggesterResourceLoadingTest.java
import java.io.IOException; import java.io.InputStream; import java.nio.charset.StandardCharsets; import org.junit.Test; /** * Test class for resource loading functionality in Suggester class. * * Tests cover: * - Successful resource loading * - Missing resource error handling * - Resource content validation * - InputStream null safety in try-with-resources */ public class SuggesterResourceLoadingTest {Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Mon Nov 24 03:40:05 GMT 2025 - 9.6K bytes - Click Count (0) -
internal/dsync/dsync_test.go
// fmt.Println("Unlocking dm1") dm1st.Unlock(t.Context()) }() expect += 2 * testDrwMutexAcquireTimeout var wg sync.WaitGroup wg.Add(2) go func() { defer wg.Done() dm2nd.Lock(id, source) // Release lock after 10 seconds go func() { time.Sleep(2 * testDrwMutexAcquireTimeout) // fmt.Println("Unlocking dm2") dm2nd.Unlock(t.Context())
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 10.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/script/groovy/GroovyEngine.java
import java.io.IOException; import java.util.Collections; import java.util.HashMap; import java.util.Map; import java.util.concurrent.ExecutionException; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.codelibs.core.lang.StringUtil; import org.codelibs.fess.Constants; import org.codelibs.fess.exception.JobProcessingException;
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 14:36:23 GMT 2026 - 11.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/ProcessHelper.java
this.streamCloseTimeout = streamCloseTimeout; } /** * Sends a command to the process associated with the given session ID. * Uses finer-grained locking to avoid blocking other operations during I/O. * * @param sessionId unique identifier for the process session * @param command the command to send to the processCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 20 06:54:47 GMT 2025 - 10.9K bytes - Click Count (0) -
android/guava/src/com/google/common/eventbus/SubscriberRegistry.java
* All registered subscribers, indexed by event type. * * <p>The {@link CopyOnWriteArraySet} values make it easy and relatively lightweight to get an * immutable snapshot of all current subscribers to an event without any locking. */ private final ConcurrentMap<Class<?>, CopyOnWriteArraySet<Subscriber>> subscribers = Maps.newConcurrentMap(); /** The event bus this registry belongs to. */ @Weak private final EventBus bus;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 10.8K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/BloomFilterStrategies.java
* * <p>Note that because of concurrent set calls and uses of atomics, this bitCount is a (very) * close *estimate* of the actual number of bits set. It's not possible to do better than an * estimate without locking. Note that the number, if not exactly accurate, is *always* * underestimating, never overestimating. */ long bitCount() { return bitCount.sum(); } LockFreeBitArray copy() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 10.7K bytes - Click Count (0)