Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for shape (0.15 sec)

  1. android/guava/src/com/google/common/cache/Striped64.java

       * scattered in memory and thus don't interfere much with each
       * other. But Atomic objects residing in arrays will tend to be
       * placed adjacent to each other, and so will most often share
       * cache lines (with a huge negative performance impact) without
       * this precaution.
       *
       * In part because Cells are relatively large, we avoid creating
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/project/MavenProject.java

         * 3.0.x. Historically, it logged and ignored a second addition of the same g/a/v/c/t. Now it replaces the file for
         * the artifact, so that plugins (e.g. shade) can change the pathname of the file for a particular set of
         * coordinates.
         *
         * @param artifact the artifact to add or replace.
         * @deprecated Please use {@link MavenProjectHelper}
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 56.6K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/DerivedGoogleCollectionGenerators.java

          return samples;
        }
    
        @Override
        public Set<V> create(Object... elements) {
          @SuppressWarnings("unchecked")
          V[] valuesArray = (V[]) elements;
    
          // Start with a suitably shaped collection of entries
          Collection<Entry<K, V>> originalEntries = mapGenerator.getSampleElements(elements.length);
    
          // Create a copy of that, with the desired value for each value
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 6.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/RegularImmutableSortedSet.java

      }
    
      @Override
      public boolean containsAll(Collection<?> targets) {
        // TODO(jlevy): For optimal performance, use a binary search when
        // targets.size() < size() / log(size())
        // TODO(kevinb): see if we can share code with OrderedIterator after it
        // graduates from labs.
        if (targets instanceof Multiset) {
          targets = ((Multiset<?>) targets).elementSet();
        }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 9K bytes
    - Viewed (0)
  5. guava/src/com/google/common/cache/Striped64.java

       * scattered in memory and thus don't interfere much with each
       * other. But Atomic objects residing in arrays will tend to be
       * placed adjacent to each other, and so will most often share
       * cache lines (with a huge negative performance impact) without
       * this precaution.
       *
       * In part because Cells are relatively large, we avoid creating
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/Optional.java

     * object.
     *
     * <p><b>Comparison to {@code java.util.Optional} (JDK 8 and higher):</b> A new {@code Optional}
     * class was added for Java 8. The two classes are extremely similar, but incompatible (they cannot
     * share a common supertype). <i>All</i> known differences are listed either here or with the
     * relevant methods below.
     *
     * <ul>
     *   <li>This class is serializable; {@code java.util.Optional} is not.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/cache/LocalCacheTest.java

            makeLocalCache(createCacheBuilder().concurrencyLevel(concurrencyLevel));
        assertThat(map.segments).hasLength(segmentCount);
      }
    
      public void testSetInitialCapacity() {
        // share capacity over each segment, then round up to the nearest power of two
    
        checkInitialCapacity(1, 0, 1);
        checkInitialCapacity(1, 1, 1);
        checkInitialCapacity(1, 2, 2);
        checkInitialCapacity(1, 3, 4);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 112.3K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

            makeLocalCache(createCacheBuilder().concurrencyLevel(concurrencyLevel));
        assertThat(map.segments).hasLength(segmentCount);
      }
    
      public void testSetInitialCapacity() {
        // share capacity over each segment, then round up to the nearest power of two
    
        checkInitialCapacity(1, 0, 1);
        checkInitialCapacity(1, 1, 1);
        checkInitialCapacity(1, 2, 2);
        checkInitialCapacity(1, 3, 4);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 110.7K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/project/ReactorModelPool.java

         * @param artifactId never {@code null}
         * @param version can be {@code null}
         * @return the matching model or {@code null}
         * @throws IllegalStateException if version was null and multiple modules share the same groupId + artifactId
         */
        public Model get(String groupId, String artifactId, String version) {
            return modelsByGa.getOrDefault(new GAKey(groupId, artifactId), Collections.emptySet()).stream()
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/hash/Striped64.java

       * scattered in memory and thus don't interfere much with each
       * other. But Atomic objects residing in arrays will tend to be
       * placed adjacent to each other, and so will most often share
       * cache lines (with a huge negative performance impact) without
       * this precaution.
       *
       * In part because Cells are relatively large, we avoid creating
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.5K bytes
    - Viewed (0)
Back to top