Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 127 for nCopies (0.03 sec)

  1. guava/src/com/google/common/primitives/Chars.java

            }
          }
          return left.length - right.length;
        }
    
        @Override
        public String toString() {
          return "Chars.lexicographicalComparator()";
        }
      }
    
      /**
       * Copies a collection of {@code Character} instances into a new array of primitive {@code char}
       * values.
       *
       * <p>Elements are copied from the argument collection as if by {@code collection.toArray()}.
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  2. gradle/wrapper/gradle-wrapper.jar

    the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: (a) You must give any other recipients of the Work or Derivative Works a copy of this...
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Oct 30 01:56:29 UTC 2025
    - 44.6K bytes
    - Viewed (1)
  3. android/guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

            segment.expand();
          }
          assertEquals(i, segment.table.length());
          assertEquals(liveCount, countLiveEntries(map));
          // expansion cleanup is sloppy, with a goal of avoiding unnecessary copies
          assertThat(segment.count).isAtLeast(liveCount);
          assertThat(segment.count).isAtMost(originalCount);
          assertEquals(originalMap, ImmutableMap.copyOf(map));
        }
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:07:52 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

            segment.expand();
          }
          assertEquals(i, segment.table.length());
          assertEquals(liveCount, countLiveEntries(map));
          // expansion cleanup is sloppy, with a goal of avoiding unnecessary copies
          assertThat(segment.count).isAtLeast(liveCount);
          assertThat(segment.count).isAtMost(originalCount);
          assertEquals(originalMap, ImmutableMap.copyOf(map));
        }
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:07:52 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ImmutableList.java

       */
      static <E> ImmutableList<E> asImmutableList(Object[] elements) {
        return asImmutableList(elements, elements.length);
      }
    
      /**
       * Views the array as an immutable list. Copies if the specified range does not cover the complete
       * array. Does not check for nulls.
       */
      static <E> ImmutableList<E> asImmutableList(@Nullable Object[] elements, int length) {
        switch (length) {
          case 0:
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Nov 17 22:50:48 UTC 2025
    - 30.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Sets.java

          for (E element : this) {
            builder.add(checkNotNull(element));
          }
          return builder.build();
        }
    
        /**
         * Copies the current contents of this set view into an existing set. This method has equivalent
         * behavior to {@code set.addAll(this)}, assuming that all the sets involved are based on the
         * same notion of equivalence.
         *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 81.6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

          }
          assertThat(segment.table.length()).isEqualTo(i);
          assertThat(countLiveEntries(map, 0)).isEqualTo(liveCount);
          // expansion cleanup is sloppy, with a goal of avoiding unnecessary copies
          assertThat(segment.count).isAtLeast(liveCount);
          assertThat(segment.count).isAtMost(originalCount);
          assertThat(ImmutableMap.copyOf(map)).isEqualTo(originalMap);
        }
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Dec 12 00:25:21 UTC 2025
    - 115.9K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/cache/LocalCacheTest.java

          }
          assertThat(segment.table.length()).isEqualTo(i);
          assertThat(countLiveEntries(map, 0)).isEqualTo(liveCount);
          // expansion cleanup is sloppy, with a goal of avoiding unnecessary copies
          assertThat(segment.count).isAtLeast(liveCount);
          assertThat(segment.count).isAtMost(originalCount);
          assertThat(ImmutableMap.copyOf(map)).isEqualTo(originalMap);
        }
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Dec 12 00:25:21 UTC 2025
    - 117.5K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/Iterators.java

          Iterator<? extends T> iterator, @ParametricNullness T defaultValue) {
        return iterator.hasNext() ? getOnlyElement(iterator) : defaultValue;
      }
    
      /**
       * Copies an iterator's elements into an array. The iterator will be left exhausted: its {@code
       * hasNext()} method will return {@code false}.
       *
       * @param iterator the iterator to copy
       * @param type the type of the elements
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 16 12:42:11 UTC 2025
    - 51.4K bytes
    - Viewed (0)
  10. docs/changelogs/changelog_3x.md

        Loading the resource using a path relative to the class prevents conflicts
        when the OkHttp classes are relocated (shaded) by allowing multiple private
        copies of the database.
     *  Fix: Accept cookies for URLs that have an IPv6 address for a host.
     *  Fix: Don't log the protocol (HTTP/1.1, h2) in HttpLoggingInterceptor if the
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sun Feb 06 14:55:54 UTC 2022
    - 50.8K bytes
    - Viewed (0)
Back to top