Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 550 for locking (0.7 sec)

  1. android/guava/src/com/google/common/collect/EvictingQueue.java

    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.io.Serializable;
    import java.util.ArrayDeque;
    import java.util.Collection;
    import java.util.Queue;
    
    /**
     * A non-blocking queue which automatically evicts elements from the head of the queue when
     * attempting to add new elements onto the queue and it is full. This queue orders elements FIFO
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  2. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/tasks/SmokeIdeTest.kt

    import org.gradle.api.tasks.CacheableTask
    
    
    /**
     * A test that provides an IDE as environment for checking IDE and Gradle behavior during synchronization process.
     * These tests are running using `forking` executor, since current Gradle distribution has to be used as a Gradle version for IDE.
     */
    @CacheableTask
    abstract class SmokeIdeTest : DistributionTest() {
        override val prefix: String = "smokeIde"
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Fri Dec 29 10:30:14 UTC 2023
    - 1K bytes
    - Viewed (0)
  3. guava/src/com/google/common/cache/RemovalListeners.java

    public final class RemovalListeners {
    
      private RemovalListeners() {}
    
      /**
       * Returns a {@code RemovalListener} which processes all eviction notifications using {@code
       * executor}.
       *
       * @param listener the backing listener
       * @param executor the executor with which removal notifications are asynchronously executed
       */
      public static <K, V> RemovalListener<K, V> asynchronous(
          RemovalListener<K, V> listener, Executor executor) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  4. build-logic/integration-testing/src/main/kotlin/gradlebuild.integration-tests.gradle.kts

        extendsFrom(configurations.named("integTestDistributionRuntimeOnly").get())
    }
    createTasks(sourceSet, TestType.INTEGRATION)
    configureIde(TestType.INTEGRATION)
    
    createTestTask("integMultiVersionTest", "forking", sourceSet, TestType.INTEGRATION) {
        // This test task runs only multi-version tests and is intended to be used in the late pipeline to sweep up versions not previously tested
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Mon Aug 18 16:39:23 UTC 2025
    - 2.4K bytes
    - Viewed (5)
  5. src/main/java/org/codelibs/core/collection/LruHashSet.java

        /**
         * The internal LRU hash map used to store elements.
         */
        private final LruHashMap<E, Object> map;
    
        // Dummy value to associate with an Object in the backing Map
        private static final Object PRESENT = new Object();
    
        /**
         * Creates a new {@link LruHashSet} with the specified limit size.
         *
         * @param limitSize
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java

       * more bytes.
       *
       * <p>Note: Direct testing of the {@link IOException} scenario during write/flush is challenging
       * without mocking. This test verifies that normal operation with threshold crossing still works
       * correctly with the fix in place.
       */
      public void testThresholdCrossing_resourceManagement() throws Exception {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Oct 30 16:30:29 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  7. internal/pubsub/pubsub.go

    	types          uint64
    	numSubscribers int32
    	maxSubscribers int32
    
    	// not atomics:
    	subs []*Sub[T]
    	sync.RWMutex
    }
    
    // Publish message to the subscribers.
    // Note that publish is always non-blocking send so that we don't block on slow receivers.
    // Hence receivers should use buffered channel so as not to miss the published events.
    func (ps *PubSub[T, M]) Publish(item T) {
    	ps.RLock()
    	defer ps.RUnlock()
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Feb 06 16:57:30 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableAsList.java

    import java.io.ObjectInputStream;
    import java.io.Serializable;
    import org.jspecify.annotations.Nullable;
    
    /**
     * List returned by {@link ImmutableCollection#asList} that delegates {@code contains} checks to the
     * backing collection.
     *
     * @author Jared Levy
     * @author Louis Wasserman
     */
    @GwtCompatible
    @SuppressWarnings("serial")
    abstract class ImmutableAsList<E> extends ImmutableList<E> {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/ForwardingListeningExecutorService.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * A listening executor service which forwards all its method calls to another listening executor
     * service. Subclasses should override one or more methods to modify the behavior of the backing
     * executor service as desired per the <a
     * href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>.
     *
     * <p><b>{@code default} method warning:</b> This class does <i>not</i> forward calls to {@code
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  10. compat/maven-compat/src/test/java/org/apache/maven/project/ProjectClasspathTestType.java

            assertEquals(scopeValue, artifact.getScope(), "Check scope");
        }
    
        private Artifact getArtifact(MavenProject project, String groupId, String artifactId) {
            System.out.println("[ Looking for " + groupId + ":" + artifactId + " ]");
            for (Artifact a : project.getArtifacts()) {
                System.out.println(a.toString());
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 6.4K bytes
    - Viewed (0)
Back to top