Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for fewer (0.06 sec)

  1. android/guava-testlib/test/com/google/common/collect/testing/HelpersTest.java

        List<?> list = asList("a", "b", "c");
        assertEqualInOrder(list, list);
    
        List<?> fewer = asList("a", "b");
        try {
          assertEqualInOrder(list, fewer);
          throw new Error();
        } catch (AssertionFailedError expected) {
        }
    
        try {
          assertEqualInOrder(fewer, list);
          throw new Error();
        } catch (AssertionFailedError expected) {
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  2. guava-testlib/test/com/google/common/collect/testing/HelpersTest.java

        List<?> list = asList("a", "b", "c");
        assertEqualInOrder(list, list);
    
        List<?> fewer = asList("a", "b");
        try {
          assertEqualInOrder(list, fewer);
          throw new Error();
        } catch (AssertionFailedError expected) {
        }
    
        try {
          assertEqualInOrder(fewer, list);
          throw new Error();
        } catch (AssertionFailedError expected) {
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Ordering.java

        }
    
        return maxSoFar;
      }
    
      /**
       * Returns the {@code k} least elements of the given iterable according to this ordering, in order
       * from least to greatest. If there are fewer than {@code k} elements present, all will be
       * included.
       *
       * <p>The implementation does not necessarily use a <i>stable</i> sorting algorithm; when multiple
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/Ordering.java

        }
    
        return maxSoFar;
      }
    
      /**
       * Returns the {@code k} least elements of the given iterable according to this ordering, in order
       * from least to greatest. If there are fewer than {@code k} elements present, all will be
       * included.
       *
       * <p>The implementation does not necessarily use a <i>stable</i> sorting algorithm; when multiple
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  5. README.md

    * **Fast to code**: Increase the speed to develop features by about 200% to 300%. *
    * **Fewer bugs**: Reduce about 40% of human (developer) induced errors. *
    * **Intuitive**: Great editor support. <abbr title="also known as auto-complete, autocompletion, IntelliSense">Completion</abbr> everywhere. Less time debugging.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Oct 31 09:13:26 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/TopKSelector.java

        while (elements.hasNext()) {
          offer(elements.next());
        }
      }
    
      /**
       * Returns the top {@code k} elements offered to this {@code TopKSelector}, or all elements if
       * fewer than {@code k} have been offered, in the order specified by the factory used to create
       * this {@code TopKSelector}.
       *
       * <p>The returned list is an unmodifiable copy and will not be affected by further changes to
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java

          }
    
          // If we're still here, there was a race, so just try again.
        }
      }
    
      /**
       * Removes a number of occurrences of the specified element from this multiset. If the multiset
       * contains fewer than this number of occurrences to begin with, all occurrences will be removed.
       *
       * @param element the element whose occurrences should be removed
       * @param occurrences the number of occurrences of the element to remove
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  8. src/bytes/buffer.go

    		b.lastRead = opRead
    	}
    	return n, nil
    }
    
    // Next returns a slice containing the next n bytes from the buffer,
    // advancing the buffer as if the bytes had been returned by [Buffer.Read].
    // If there are fewer than n bytes in the buffer, Next returns the entire buffer.
    // The slice is only valid until the next call to a read or write method.
    func (b *Buffer) Next(n int) []byte {
    	b.lastRead = opInvalid
    	m := b.Len()
    	if n > m {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Oct 29 16:47:05 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/primitives/Ints.java

       *
       * <p>Arguably, it's preferable to use {@link java.nio.ByteBuffer}; that library exposes much more
       * flexibility at little cost in readability.
       *
       * @throws IllegalArgumentException if {@code bytes} has fewer than 4 elements
       */
      public static int fromByteArray(byte[] bytes) {
        checkArgument(bytes.length >= BYTES, "array too small: %s < %s", bytes.length, BYTES);
        return fromBytes(bytes[0], bytes[1], bytes[2], bytes[3]);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 31K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Iterators.java

       *     is greater than the number of elements remaining in {@code iterator}
       * @return the element at the specified position in {@code iterator} or {@code defaultValue} if
       *     {@code iterator} produces fewer than {@code position + 1} elements.
       * @throws IndexOutOfBoundsException if {@code position} is negative
       * @since 4.0
       */
      @ParametricNullness
      public static <T extends @Nullable Object> T get(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 50.3K bytes
    - Viewed (0)
Back to top