Search Options

Results per page
Sort
Preferred Languages
Advance

Results 391 - 400 of 1,740 for collection (0.06 sec)

  1. android/guava-tests/test/com/google/common/cache/EmptyCachesTest.java

          warmUp(cache, 0, 100);
    
          Collection<Object> values = cache.asMap().values();
          values.clear();
          checkEmpty(values);
          checkEmpty(cache);
        }
      }
    
      public void testValues_empty_remove() {
        for (LoadingCache<Object, Object> cache : caches()) {
          Collection<Object> values = cache.asMap().values();
          assertFalse(values.remove(null));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/cache/EmptyCachesTest.java

          warmUp(cache, 0, 100);
    
          Collection<Object> values = cache.asMap().values();
          values.clear();
          checkEmpty(values);
          checkEmpty(cache);
        }
      }
    
      public void testValues_empty_remove() {
        for (LoadingCache<Object, Object> cache : caches()) {
          Collection<Object> values = cache.asMap().values();
          assertFalse(values.remove(null));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/primitives/ImmutableIntArray.java

      public static ImmutableIntArray copyOf(Collection<Integer> values) {
        return values.isEmpty() ? EMPTY : new ImmutableIntArray(Ints.toArray(values));
      }
    
      /**
       * Returns an immutable array containing the given values, in order.
       *
       * <p><b>Performance note:</b> this method delegates to {@link #copyOf(Collection)} if {@code
       * values} is a {@link Collection}. Otherwise it creates a {@link #builder} and uses {@link
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/ArtifactMetadata.java

        }
    
        public void setArtifactExists(boolean artifactExists) {
            this.artifactExists = artifactExists;
        }
    
        public Collection<ArtifactMetadata> getDependencies() {
            return dependencies;
        }
    
        public void setDependencies(Collection<ArtifactMetadata> dependencies) {
            this.dependencies = dependencies;
        }
    
        public String getArtifactUri() {
            return artifactUri;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/ProfileSelector.java

     * under the License.
     */
    package org.apache.maven.model.profile;
    
    import java.util.Collection;
    import java.util.List;
    import java.util.stream.Collectors;
    
    import org.apache.maven.model.Profile;
    import org.apache.maven.model.building.ModelProblemCollector;
    
    /**
     * Calculates the active profiles among a given collection of profiles.
     *
     * @deprecated use {@link org.apache.maven.api.services.ModelBuilder} instead
     */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/testers/CollectionIsEmptyTester.java

      @CollectionSize.Require(ZERO)
      public void testIsEmpty_yes() {
        assertTrue("isEmpty() should return true", collection.isEmpty());
      }
    
      @CollectionSize.Require(absent = ZERO)
      public void testIsEmpty_no() {
        assertFalse("isEmpty() should return false", collection.isEmpty());
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/testing/GcFinalization.java

    import java.util.concurrent.Future;
    import java.util.concurrent.TimeoutException;
    
    /**
     * Testing utilities relating to garbage collection finalization.
     *
     * <p>Use this class to test code triggered by finalization, that is, one of the following
     * actions taken by the java garbage collection system:
     *
     * <ul>
     *   <li>invoking the {@code finalize} methods of unreachable objects
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectManager.java

            return Collections.unmodifiableCollection(attached);
        }
    
        @Override
        public Collection<ProducedArtifact> getAllArtifacts(Project project) {
            ArrayList<ProducedArtifact> result = new ArrayList<>(2);
            result.addAll(project.getArtifacts());
            result.addAll(getAttachedArtifacts(project));
            return Collections.unmodifiableCollection(result);
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  9. fastapi/background.py

    from starlette.background import BackgroundTasks as StarletteBackgroundTasks
    from typing_extensions import Annotated, Doc, ParamSpec
    
    P = ParamSpec("P")
    
    
    class BackgroundTasks(StarletteBackgroundTasks):
        """
        A collection of background tasks that will be called after a response has been
        sent to the client.
    
        Read more about it in the
        [FastAPI docs for Background Tasks](https://fastapi.tiangolo.com/tutorial/background-tasks/).
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Apr 02 02:48:51 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  10. manifests/charts/base/README.md

    ```console
    kubectl create namespace istio-system
    helm install istio-base istio/base -n istio-system
    ```
    
    ### Profiles
    
    Istio Helm charts have a concept of a `profile`, which is a bundled collection of value presets.
    These can be set with `--set profile=<profile>`.
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Jan 10 05:10:03 UTC 2024
    - 1.3K bytes
    - Viewed (0)
Back to top