Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 61 for content_es (0.1 sec)

  1. guava/src/com/google/common/collect/ImmutableList.java

        }
    
        private void getReadyToExpandTo(int minCapacity) {
          if (contents.length < minCapacity) {
            this.contents = Arrays.copyOf(contents, expandedCapacity(contents.length, minCapacity));
            forceCopy = false;
          } else if (forceCopy) {
            contents = Arrays.copyOf(contents, contents.length);
            forceCopy = false;
          }
        }
    
        /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 08 03:01:02 UTC 2024
    - 29.9K bytes
    - Viewed (0)
  2. .github/workflows/ci.yml

    name: CI
    
    on:
      push:
        branches:
          - master
      pull_request:
        branches:
          - master
    
    permissions:
      contents: read
    
    jobs:
      test:
        permissions:
          actions: write  # for styfle/cancel-workflow-action to cancel/stop running workflows
          contents: read  # for actions/checkout to fetch code
        name: "${{ matrix.root-pom }} on JDK ${{ matrix.java }} on ${{ matrix.os }}"
        strategy:
          matrix:
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 16:25:39 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableList.java

        private final ArrayList<E> contents;
    
        public Builder() {
          contents = Lists.newArrayList();
        }
    
        Builder(int capacity) {
          contents = Lists.newArrayListWithCapacity(capacity);
        }
    
        @CanIgnoreReturnValue
        @Override
        public Builder<E> add(E element) {
          contents.add(checkNotNull(element));
          return this;
        }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 08 03:01:02 UTC 2024
    - 11K bytes
    - Viewed (0)
  4. 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: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ImmutableCollection.java

    import java.util.Spliterators;
    import java.util.function.Predicate;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A {@link Collection} whose contents will never change, and which offers a few additional
     * guarantees detailed below.
     *
     * <p><b>Warning:</b> avoid <i>direct</i> usage of {@link ImmutableCollection} as a type (just as
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java

    /**
     * Base class for testers of classes (including {@link Collection} and {@link java.util.Map Map})
     * that contain elements.
     *
     * @param <C> the type of the container
     * @param <E> the type of the container's contents
     * @author George van den Driessche
     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @ElementTypesAreNonnullByDefault
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

       *
       * <p>A collection is considered immutable if:
       *
       * <ol>
       *   <li>All its mutation methods result in UnsupportedOperationException, and do not change the
       *       underlying contents.
       *   <li>All methods that return objects that can indirectly mutate the collection throw
       *       UnsupportedOperationException when those mutators are called.
       * </ol>
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 10 20:31:37 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetTestSuiteBuilder.java

            for (int i = 0; i < entry.getCount(); i++) {
              contents.add(entry.getElement());
            }
          }
          return ((Multiset<E>) gen.create(contents.toArray())).entrySet();
        }
    
        @SuppressWarnings("unchecked")
        @Override
        public Multiset.Entry<E>[] createArray(int length) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 26 19:46:10 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/io/IoTestCase.java

            return null;
          }
          copy(resourceUrl, file);
        }
    
        return file;
      }
    
      /**
       * Creates a new temp dir for testing. The returned directory and all contents of it will be
       * deleted in the tear-down for this test.
       */
      protected final File createTempDir() throws IOException {
        File tempFile = File.createTempFile("IoTestCase", "");
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 31 12:36:13 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/SetsTest.java

       * the set is the same as the ordering of the given contents.
       */
      private static <E> void verifyLinkedHashSetContents(
          LinkedHashSet<E> set, Collection<E> contents) {
        assertEquals(
            "LinkedHashSet should have preserved order for iteration",
            new ArrayList<E>(set),
            new ArrayList<E>(contents));
        verifySetContents(set, contents);
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 47.8K bytes
    - Viewed (0)
Back to top