Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 40 for content_es (0.15 sec)

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

        builder.add(-1);
        Object[] prevArray = null;
        for (int i = 0; i < 10; i++) {
          builder.add(i);
          assertNotSame(builder.contents, prevArray);
          prevArray = builder.contents;
          ImmutableSet<Integer> unused = builder.build();
        }
      }
    
      @GwtIncompatible("Builder impl")
      public void testPresizedBuilderDedups() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ImmutableListTest.java

          builder.add(i);
          assertNotSame(builder.contents, prevArray);
          prevArray = builder.contents;
          ImmutableList<Integer> unused = builder.build();
        }
      }
    
      @GwtIncompatible
      public void testBuilderExactlySizedReusesArray() {
        ImmutableList.Builder<Integer> builder = ImmutableList.builderWithExpectedSize(10);
        Object[] builderArray = builder.contents;
        for (int i = 0; i < 10; i++) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/MinMaxPriorityQueue.java

    @ElementTypesAreNonnullByDefault
    public final class MinMaxPriorityQueue<E> extends AbstractQueue<E> {
    
      /**
       * Creates a new min-max priority queue with default settings: natural order, no maximum size, no
       * initial contents, and an initial expected size of 11.
       */
      public static <E extends Comparable<E>> MinMaxPriorityQueue<E> create() {
        return new Builder<Comparable<E>>(Ordering.natural()).create();
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManager.java

                int hash = (auth.getUsername() + auth.getPassword()).hashCode();
                buffer.append(hash).append('@');
            }
    
            // consider the URL (instead of the id) as this most closely relates to the contents in the repo
            buffer.append(repository.getUrl());
    
            return buffer.toString();
        }
    
        private void writeLastUpdated(File touchfile, String key, String error) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ArrayTable.java

     * associated with it: It is not possible to "remove" a value, only to replace it with {@code null},
     * which will still appear when iterating over the table's contents in a foreach loop or a call to a
     * null-hostile method like {@link ImmutableTable#copyOf}. For alternatives, please see <a
     * href="https://github.com/google/guava/wiki/NewCollectionTypesExplained#table">the wiki</a>.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/RepositoryUtils.java

        }
    
        private static boolean policyEquals(RepositoryPolicy p1, RepositoryPolicy p2) {
            if (p1 == p2) {
                return true;
            }
            // update policy doesn't affect contents
            return p1.isEnabled() == p2.isEnabled() && Objects.equals(p1.getChecksumPolicy(), p2.getChecksumPolicy());
        }
    
        private static boolean repositoryEquals(RemoteRepository r1, RemoteRepository r2) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

       * PermittedMetaException}.
       */
      protected final class MultiExceptionListIterator implements ListIterator<E> {
        // TODO: track seen elements when order isn't guaranteed
        // TODO: verify contents afterward
        // TODO: something shiny and new instead of Stack
        // TODO: test whether null is supported (create a Feature)
        /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/BenchmarkHelpers.java

            return new TreeSet<E>(contents);
          }
        },
        UnmodifiableSetImpl {
          @Override
          public <E extends Comparable<E>> Set<E> create(Collection<E> contents) {
            return unmodifiableSet(new HashSet<E>(contents));
          }
        },
        SynchronizedSetImpl {
          @Override
          public <E extends Comparable<E>> Set<E> create(Collection<E> contents) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

            assertThat(q).containsExactlyElementsIn(contents);
            q.add(next);
            contents.add(next);
            assertThat(q).containsExactlyElementsIn(contents);
            q.remove(i);
            assertTrue(contents.remove(Integer.valueOf(i)));
            assertThat(q).containsExactlyElementsIn(contents);
            assertEquals(next, q.poll());
            contents.remove(next);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/io/ByteSource.java

        copyTo(Funnels.asOutputStream(hasher));
        return hasher.hash();
      }
    
      /**
       * Checks that the contents of this byte source are equal to the contents of the given byte
       * source.
       *
       * @throws IOException if an I/O error occurs while reading from this source or {@code other}
       */
      public boolean contentEquals(ByteSource other) throws IOException {
        checkNotNull(other);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 26.2K bytes
    - Viewed (0)
Back to top