Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 44 for concurrencia (0.17 sec)

  1. guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

        assertThat(map.entryHelper)
            .isInstanceOf(MapMakerInternalMap.StrongKeyStrongValueEntry.Helper.class);
    
        assertEquals(4, map.concurrencyLevel);
    
        // concurrency level
        assertThat(map.segments).hasLength(4);
        // initial capacity / concurrency level
        assertEquals(16 / map.segments.length, map.segments[0].table.length());
      }
    
      public void testSetKeyEquivalence() {
        Equivalence<Object> testEquivalence =
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 35.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

        assertThat(map.entryHelper)
            .isInstanceOf(MapMakerInternalMap.StrongKeyStrongValueEntry.Helper.class);
    
        assertEquals(4, map.concurrencyLevel);
    
        // concurrency level
        assertThat(map.segments).hasLength(4);
        // initial capacity / concurrency level
        assertEquals(16 / map.segments.length, map.segments[0].table.length());
      }
    
      public void testSetKeyEquivalence() {
        Equivalence<Object> testEquivalence =
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 35.1K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoExecutor.java

         * We also lock on a given project to forbid a forked lifecycle to be executed concurrently with the project.
         * TODO: ideally, the builder should take care of the ordering in a smarter way
         * TODO: and concurrency issues fixed with MNG-7157
         */
        private class ProjectLock implements AutoCloseable {
            final Lock acquiredAggregatorLock;
            final OwnerReentrantLock acquiredProjectLock;
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 23:31:09 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  4. android/guava-tests/benchmark/com/google/common/collect/ConcurrentHashMultisetBenchmark.java

        private final transient ConcurrentMap<E, Integer> countMap;
    
        /**
         * Creates a new, empty {@code OldConcurrentHashMultiset} using the default initial capacity,
         * load factor, and concurrency settings.
         */
        public static <E> OldConcurrentHashMultiset<E> create() {
          return new OldConcurrentHashMultiset<E>(new ConcurrentHashMap<E, Integer>());
        }
    
        @VisibleForTesting
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 06 12:56:11 GMT 2023
    - 16.6K bytes
    - Viewed (0)
  5. docs/fr/docs/tutorial/first-steps.md

    ```Python hl_lines="7"
    {!../../../docs_src/first_steps/tutorial003.py!}
    ```
    
    !!! note
        Si vous ne connaissez pas la différence, allez voir la section [Concurrence : *"Vous êtes pressés ?"*](../async.md#vous-etes-presses){.internal-link target=_blank}.
    
    ### Étape 5 : retourner le contenu
    
    ```Python hl_lines="8"
    {!../../../docs_src/first_steps/tutorial001.py!}
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Sep 27 20:52:31 GMT 2023
    - 10.3K bytes
    - Viewed (0)
  6. fastapi/dependencies/utils.py

        is_uploadfile_sequence_annotation,
        lenient_issubclass,
        sequence_types,
        serialize_sequence_value,
        value_is_sequence,
    )
    from fastapi.background import BackgroundTasks
    from fastapi.concurrency import (
        asynccontextmanager,
        contextmanager_in_threadpool,
    )
    from fastapi.dependencies.models import Dependant, SecurityRequirement
    from fastapi.logger import logger
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:52:56 GMT 2024
    - 29.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/cache/CacheBuilderSpec.java

      static class ConcurrencyLevelParser extends IntegerParser {
        @Override
        protected void parseInteger(CacheBuilderSpec spec, int value) {
          checkArgument(
              spec.concurrencyLevel == null,
              "concurrency level was already set to %s",
              spec.concurrencyLevel);
          spec.concurrencyLevel = value;
        }
      }
    
      /** Parse weakKeys */
      static class KeyStrengthParser implements ValueParser {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Aug 22 14:27:44 GMT 2022
    - 18.1K bytes
    - Viewed (0)
  8. guava/src/com/google/common/cache/CacheBuilderSpec.java

      static class ConcurrencyLevelParser extends IntegerParser {
        @Override
        protected void parseInteger(CacheBuilderSpec spec, int value) {
          checkArgument(
              spec.concurrencyLevel == null,
              "concurrency level was already set to %s",
              spec.concurrencyLevel);
          spec.concurrencyLevel = value;
        }
      }
    
      /** Parse weakKeys */
      static class KeyStrengthParser implements ValueParser {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Aug 22 14:27:44 GMT 2022
    - 18.1K bytes
    - Viewed (0)
  9. guava-tests/benchmark/com/google/common/collect/ConcurrentHashMultisetBenchmark.java

        private final transient ConcurrentMap<E, Integer> countMap;
    
        /**
         * Creates a new, empty {@code OldConcurrentHashMultiset} using the default initial capacity,
         * load factor, and concurrency settings.
         */
        public static <E> OldConcurrentHashMultiset<E> create() {
          return new OldConcurrentHashMultiset<E>(new ConcurrentHashMap<E, Integer>());
        }
    
        @VisibleForTesting
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed May 09 15:17:25 GMT 2018
    - 16.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/Monitor.java

       *
       * <p>We manage calls to this method carefully, to signal only when necessary, but never losing a
       * signal, which is the classic problem of this kind of concurrency construct. We must signal if
       * the current thread is about to relinquish the lock and may have changed the state protected by
       * the monitor, thereby causing some guard to be satisfied.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 18:22:01 GMT 2023
    - 38.6K bytes
    - Viewed (0)
Back to top