Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for maxline (0.08 sec)

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

            return true;
          }
        }
      }
    
      @Override
      public int size() {
        return elements.length;
      }
    
      // We're careful to put only E instances into the array in the mainline.
      // (In the backport, we don't need this suppression, but we keep it to minimize diffs.)
      @SuppressWarnings("unchecked")
      @Override
      public UnmodifiableIterator<E> iterator() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. LICENSES/third_party/forked/cgroups/LICENSE

          means any form of electronic, verbal, or written communication sent
          to the Licensor or its representatives, including but not limited to
          communication on electronic mailing lists, source code control systems,
          and issue tracking systems that are managed by, or on behalf of, the
          Licensor for the purpose of discussing and improving the Work, but
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Thu Oct 31 17:42:39 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  3. cmd/erasure-healing-common.go

    	// Return the collected common max time, with maxima
    	return latest, maxima
    }
    
    // commonTime returns a maximally occurring time from a list of time.
    func commonTimeAndOccurrence(times []time.Time, group time.Duration) (maxTime time.Time, maxima int) {
    	timeOccurrenceMap := make(map[int64]int, len(times))
    	groupNano := group.Nanoseconds()
    	// Ignore the uuid sentinel and count the rest.
    	for _, t := range times {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

        if (initialContents instanceof Collection) {
          int initialSize = ((Collection<?>) initialContents).size();
          result = max(result, initialSize);
        }
    
        // Now cap it at maxSize + 1
        return capAtMaximumSize(result, maximumSize);
      }
    
      private void growIfNeeded() {
        if (size > queue.length) {
          int newCapacity = calculateNewCapacity();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/ImmutableSetTest.java

        ImmutableSortedSet<String> sortedSet = ImmutableSortedSet.of("a");
        ImmutableSet<String> copy = ImmutableSet.copyOf(sortedSet);
        assertNotSame(sortedSet, copy);
      }
    
      // TODO(b/172823566): Use mainline testToImmutableSet once CollectorTester is usable to java7.
      public void testToImmutableSet_java7() {
        ImmutableSet.Builder<String> zis = ImmutableSet.<String>builder().add("a", "b", "a");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java

        ImmutableMap<String, Integer> copy = ImmutableMap.copyOf(original);
        assertMapEquals(copy, "one", 1, "two", 2, "three", 3);
        assertSame(copy, ImmutableMap.copyOf(copy));
      }
    
      // TODO(b/172823566): Use mainline testToImmutableMap once CollectorTester is usable to java7.
      public void testToImmutableMap_java7_combine() {
        ImmutableMap.Builder<String, Integer> zis =
            ImmutableMap.<String, Integer>builder().put("one", 1);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 36.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/MinMaxPriorityQueue.java

        if (initialContents instanceof Collection) {
          int initialSize = ((Collection<?>) initialContents).size();
          result = max(result, initialSize);
        }
    
        // Now cap it at maxSize + 1
        return capAtMaximumSize(result, maximumSize);
      }
    
      private void growIfNeeded() {
        if (size > queue.length) {
          int newCapacity = calculateNewCapacity();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java

        assertThrows(
            NullPointerException.class,
            () -> ImmutableListMultimap.copyOf((ArrayListMultimap<String, Integer>) input));
      }
    
      // TODO(b/172823566): Use mainline testToImmutableListMultimap once CollectorTester is usable.
      public void testToImmutableListMultimap_java7_combine() {
        ImmutableListMultimap.Builder<String, Integer> zis =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java

        assertThrows(
            NullPointerException.class,
            () -> ImmutableSetMultimap.copyOf((Multimap<String, Integer>) input));
      }
    
      // TODO(b/172823566): Use mainline testToImmutableSetMultimap once CollectorTester is usable.
      public void testToImmutableSetMultimap_java7_combine() {
        ImmutableSetMultimap.Builder<String, Integer> zis =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/ImmutableListTest.java

        assertThrows(
            NullPointerException.class,
            () -> ImmutableList.sortedCopyOf(String.CASE_INSENSITIVE_ORDER, (Collection<String>) c));
      }
    
      // TODO(b/172823566): Use mainline testToImmutableList once CollectorTester is usable to java7.
      public void testToImmutableList_java7_combine() {
        ImmutableList.Builder<String> zis = ImmutableList.<String>builder().add("a", "b");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 24.1K bytes
    - Viewed (0)
Back to top