Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 86 for Negative (0.1 sec)

  1. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/FileSizeFormat.java

            public abstract String symbol();
    
            public static ScaleUnit getScaleUnit(long size) {
                if (size < 0L) {
                    throw new IllegalArgumentException("file size cannot be negative: " + size);
                }
    
                if (size >= GIGABYTE.bytes()) {
                    return GIGABYTE;
                } else if (size >= MEGABYTE.bytes()) {
                    return MEGABYTE;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  2. compat/maven-embedder/src/main/java/org/fusesource/jansi/Ansi.java

            return x > 0 ? appendEscapeSequence('D', x) : x < 0 ? cursorRight(-x) : this;
        }
    
        /**
         * Moves the cursor relative to the current position. The cursor is moved right if x is
         * positive, left if negative and down if y is positive and up if negative.
         *
         * @param x the number of characters to move horizontally
         * @param y the number of lines to move vertically
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  3. src/bytes/buffer.go

    // another n bytes. After Grow(n), at least n bytes can be written to the
    // buffer without another allocation.
    // If n is negative, Grow will panic.
    // If the buffer can't grow it will panic with [ErrTooLarge].
    func (b *Buffer) Grow(n int) {
    	if n < 0 {
    		panic("bytes.Buffer.Grow: negative count")
    	}
    	m := b.grow(n)
    	b.buf = b.buf[:m]
    }
    
    // Write appends the contents of p to the buffer, growing the buffer as
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Oct 29 16:47:05 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/primitives/Longs.java

          throw new IllegalArgumentException(
              "radix must be between MIN_RADIX and MAX_RADIX but was " + radix);
        }
        boolean negative = string.charAt(0) == '-';
        int index = negative ? 1 : 0;
        if (index == string.length()) {
          return null;
        }
        int digit = AsciiDigits.digit(string.charAt(index++));
        if (digit < 0 || digit >= radix) {
          return null;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 29.3K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/repository/ArtifactTransferResource.java

         */
        String getUrl();
    
        /**
         * The size of the artifact in bytes.
         *
         * @return The of the artifact in bytes or a negative value if unknown.
         */
        long getContentLength();
    
        /**
         * Gets the timestamp when the transfer of this artifact was started.
         *
         * @return The timestamp when the transfer of this artifact was started.
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java

       * @param occurrences the number of occurrences to add
       * @return the previous count of the element before the operation; possibly zero
       * @throws IllegalArgumentException if {@code occurrences} is negative, or if the resulting amount
       *     would exceed {@link Integer#MAX_VALUE}
       */
      @CanIgnoreReturnValue
      @Override
      public int add(E element, int occurrences) {
        checkNotNull(element);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/repository/DefaultMirrorSelector.java

            } else {
                // process the list
                String[] repos = pattern.split(",");
                for (String repo : repos) {
                    repo = repo.trim();
                    // see if this is a negative match
                    if (repo.length() > 1 && repo.startsWith("!")) {
                        if (repo.substring(1).equals(originalId)) {
                            // explicitly exclude. Set result and stop processing.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/primitives/UnsignedInts.java

    import java.util.Arrays;
    import java.util.Comparator;
    
    /**
     * Static utility methods pertaining to {@code int} primitives that interpret values as
     * <i>unsigned</i> (that is, any negative value {@code x} is treated as the positive value {@code
     * 2^32 + x}). The methods for which signedness is not an issue are in {@link Ints}, as well as
     * signed versions of methods for which signedness is an issue.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 21:17:54 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  9. guava/src/com/google/common/primitives/UnsignedInts.java

    import java.util.Arrays;
    import java.util.Comparator;
    
    /**
     * Static utility methods pertaining to {@code int} primitives that interpret values as
     * <i>unsigned</i> (that is, any negative value {@code x} is treated as the positive value {@code
     * 2^32 + x}). The methods for which signedness is not an issue are in {@link Ints}, as well as
     * signed versions of methods for which signedness is an issue.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 21:17:54 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/primitives/Ints.java

       * equivalent {@link Integer#compare} method instead.
       *
       * @param a the first {@code int} to compare
       * @param b the second {@code int} to compare
       * @return a negative value if {@code a} is less than {@code b}; a positive value if {@code a} is
       *     greater than {@code b}; or zero if they are equal
       */
      @InlineMe(replacement = "Integer.compare(a, b)")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 31K bytes
    - Viewed (0)
Back to top