Search Options

Results per page
Sort
Preferred Languages
Advance

Results 451 - 460 of 985 for concurrent1 (0.05 sec)

  1. guava-tests/test/com/google/common/util/concurrent/RunnablesTest.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.util.concurrent;
    
    import com.google.common.annotations.GwtCompatible;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Unit tests for {@link Runnables}.
     *
     * @author Olivier Pernet
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/cache/EmptyCachesTest.java

    import static com.google.common.cache.CacheTesting.checkEmpty;
    import static com.google.common.cache.TestingCacheLoaders.identityLoader;
    import static java.util.Arrays.asList;
    import static java.util.concurrent.TimeUnit.DAYS;
    import static java.util.concurrent.TimeUnit.SECONDS;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.base.Function;
    import com.google.common.cache.CacheBuilderFactory.DurationSpec;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Serialization.java

      static int readCount(ObjectInputStream stream) throws IOException {
        return stream.readInt();
      }
    
      /**
       * Stores the contents of a map in an output stream, as part of serialization. It does not support
       * concurrent maps whose content may change while the method is running.
       *
       * <p>The serialized output consists of the number of entries, first key, first value, second key,
       * second value, and so on.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/eventbus/SubscriberRegistry.java

    import java.util.List;
    import java.util.Map;
    import java.util.Map.Entry;
    import java.util.Objects;
    import java.util.Set;
    import java.util.concurrent.ConcurrentMap;
    import java.util.concurrent.CopyOnWriteArraySet;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Registry of subscribers to a single event bus.
     *
     * @author Colin Decker
     */
    final class SubscriberRegistry {
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/multichannel/ChannelManager.java

    import java.util.Comparator;
    import java.util.Enumeration;
    import java.util.List;
    import java.util.Map;
    import java.util.concurrent.ConcurrentHashMap;
    import java.util.concurrent.Executors;
    import java.util.concurrent.ScheduledExecutorService;
    import java.util.concurrent.TimeUnit;
    import java.util.concurrent.atomic.AtomicInteger;
    
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import jcifs.CIFSContext;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 20K bytes
    - Viewed (0)
  6. docs/smb3-features/01-smb3-lease-design.md

            return parentLeaseKey != null;
        }
    }
    ```
    
    ### 4.3 Lease Manager
    ```java
    package jcifs.internal.smb2.lease;
    
    import java.util.concurrent.ConcurrentHashMap;
    import java.util.concurrent.locks.ReadWriteLock;
    import java.util.concurrent.locks.ReentrantReadWriteLock;
    import jcifs.CIFSContext;
    
    public class LeaseManager {
        private final ConcurrentHashMap<Smb2LeaseKey, LeaseEntry> leases;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 22K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/PopularWordHelper.java

    package org.codelibs.fess.helper;
    
    import static org.codelibs.core.stream.StreamUtil.stream;
    
    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.List;
    import java.util.concurrent.ExecutionException;
    import java.util.concurrent.TimeUnit;
    
    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    import org.codelibs.core.lang.StringUtil;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddAllTester.java

       * figure out what to do with <a
       * href="https://github.com/openjdk/jdk/blob/c25c4896ad9ef031e3cddec493aef66ff87c48a7/src/java.base/share/classes/java/util/concurrent/ConcurrentHashMap.java#L4830">{@code
       * ConcurrentHashMap} support for {@code entrySet().add()}</a>.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  9. docs/smb3-features/02-persistent-handles-design.md

        }
    }
    ```
    
    ### 4.5 Persistent Handle Manager
    ```java
    package jcifs.internal.smb2.persistent;
    
    import java.util.concurrent.ConcurrentHashMap;
    import java.util.concurrent.ScheduledExecutorService;
    import java.util.concurrent.Executors;
    import java.util.concurrent.TimeUnit;
    import java.io.*;
    import java.nio.file.*;
    
    public class PersistentHandleManager {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 31.6K bytes
    - Viewed (0)
  10. okhttp-testing-support/src/main/kotlin/okhttp3/ClientRuleEventListener.kt

     * limitations under the License.
     */
    package okhttp3
    
    import java.io.IOException
    import java.net.InetAddress
    import java.net.InetSocketAddress
    import java.net.Proxy
    import java.util.concurrent.TimeUnit
    
    class ClientRuleEventListener(
      val delegate: EventListener = NONE,
      var logger: (String) -> Unit,
    ) : EventListener(),
      EventListener.Factory {
      private var startNs: Long? = null
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:58:02 UTC 2025
    - 6.5K bytes
    - Viewed (0)
Back to top