Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 706 for elemEnds (0.1 sec)

  1. src/internal/pkgbits/decoder.go

    	assert(binary.Read(r, binary.LittleEndian, pr.elemEndsEnds[:]) == nil)
    
    	pr.elemEnds = make([]uint32, pr.elemEndsEnds[len(pr.elemEndsEnds)-1])
    	assert(binary.Read(r, binary.LittleEndian, pr.elemEnds[:]) == nil)
    
    	pos, err := r.Seek(0, io.SeekCurrent)
    	assert(err == nil)
    
    	pr.elemData = input[pos:]
    	assert(len(pr.elemData)-8 == int(pr.elemEnds[len(pr.elemEnds)-1]))
    
    	return pr
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 27 20:58:46 UTC 2022
    - 13.2K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java

        @Override
        protected Set<String> create(String[] elements) {
          return ImmutableSet.copyOf(elements);
        }
      }
    
      public static class ImmutableSetUnsizedBuilderGenerator extends TestStringSetGenerator {
        @Override
        protected Set<String> create(String[] elements) {
          ImmutableSet.Builder<String> builder = ImmutableSet.builder();
          for (String e : elements) {
            builder.add(e);
          }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableSet.java

            others.length <= Integer.MAX_VALUE - 6, "the total number of elements must fit in an int");
        final int paramCount = 6;
        Object[] elements = new Object[paramCount + others.length];
        elements[0] = e1;
        elements[1] = e2;
        elements[2] = e3;
        elements[3] = e4;
        elements[4] = e5;
        elements[5] = e6;
        System.arraycopy(others, 0, elements, paramCount, others.length);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java

        @Override
        protected Set<String> create(String[] elements) {
          return ImmutableSet.copyOf(elements);
        }
      }
    
      public static class ImmutableSetUnsizedBuilderGenerator extends TestStringSetGenerator {
        @Override
        protected Set<String> create(String[] elements) {
          ImmutableSet.Builder<String> builder = ImmutableSet.builder();
          for (String e : elements) {
            builder.add(e);
          }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableSortedMultiset.java

        }
    
        /**
         * Adds each element of {@code elements} to the {@code ImmutableSortedMultiset}.
         *
         * @param elements the elements to add
         * @return this {@code Builder} object
         * @throws NullPointerException if {@code elements} is null or contains a null element
         */
        @CanIgnoreReturnValue
        @Override
        public Builder<E> add(E... elements) {
          for (E element : elements) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 35.5K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/Queues.java

      }
    
      /**
       * Creates an {@code ArrayDeque} containing the elements of the specified iterable, in the order
       * they are returned by the iterable's iterator.
       *
       * @since 12.0
       */
      public static <E> ArrayDeque<E> newArrayDeque(Iterable<? extends E> elements) {
        if (elements instanceof Collection) {
          return new ArrayDeque<>((Collection<? extends E>) elements);
        }
        ArrayDeque<E> deque = new ArrayDeque<>();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 18K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableMultiset.java

        /**
         * Adds each element of {@code elements} to the {@code ImmutableMultiset}.
         *
         * @param elements the elements to add
         * @return this {@code Builder} object
         * @throws NullPointerException if {@code elements} is null or contains a null element
         */
        @CanIgnoreReturnValue
        @Override
        public Builder<E> add(E... elements) {
          super.add(elements);
          return this;
        }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/TestsForSetsInJavaUtil.java

                new TestEnumSetGenerator() {
                  @Override
                  public Set<AnEnum> create(AnEnum[] elements) {
                    return (elements.length == 0)
                        ? EnumSet.noneOf(AnEnum.class)
                        : EnumSet.copyOf(MinimalCollection.of(elements));
                  }
                })
            .named("EnumSet")
            .withFeatures(
                SetFeature.GENERAL_PURPOSE,
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ImmutableMultiset.java

        /**
         * Adds each element of {@code elements} to the {@code ImmutableMultiset}.
         *
         * @param elements the elements to add
         * @return this {@code Builder} object
         * @throws NullPointerException if {@code elements} is null or contains a null element
         */
        @CanIgnoreReturnValue
        @Override
        public Builder<E> add(E... elements) {
          super.add(elements);
          return this;
        }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 08 03:01:02 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  10. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedSet.java

        @Override
        public Builder<E> add(E... elements) {
          super.add(elements);
          return this;
        }
    
        @CanIgnoreReturnValue
        @Override
        public Builder<E> addAll(Iterable<? extends E> elements) {
          super.addAll(elements);
          return this;
        }
    
        @CanIgnoreReturnValue
        @Override
        public Builder<E> addAll(Iterator<? extends E> elements) {
          super.addAll(elements);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 08 03:01:02 UTC 2024
    - 15.3K bytes
    - Viewed (0)
Back to top