Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 124 for upper (0.06 sec)

  1. android/guava/src/com/google/common/collect/ContiguousSet.java

       * (inclusive) to {@code upper} (inclusive). (These are the same values contained in {@code
       * Range.closed(lower, upper)}.)
       *
       * @throws IllegalArgumentException if {@code lower} is greater than {@code upper}
       * @since 23.0
       */
      public static ContiguousSet<Integer> closed(int lower, int upper) {
        return create(Range.closed(lower, upper), DiscreteDomain.integers());
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ContiguousSet.java

       * (inclusive) to {@code upper} (inclusive). (These are the same values contained in {@code
       * Range.closed(lower, upper)}.)
       *
       * @throws IllegalArgumentException if {@code lower} is greater than {@code upper}
       * @since 23.0
       */
      public static ContiguousSet<Integer> closed(int lower, int upper) {
        return create(Range.closed(lower, upper), DiscreteDomain.integers());
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Range.java

       * or equal to {@code upper}.
       *
       * @throws IllegalArgumentException if {@code lower} is greater than {@code upper}
       * @throws ClassCastException if {@code lower} and {@code upper} are not mutually comparable
       * @since 14.0
       */
      public static <C extends Comparable<?>> Range<C> closed(C lower, C upper) {
        return create(Cut.belowValue(lower), Cut.aboveValue(upper));
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/SortedLists.java

            // breakpoint...
            int lower = foundIndex;
            int upper = list.size() - 1;
            // Everything between lower and upper inclusive compares at >= 0.
            while (lower < upper) {
              int middle = (lower + upper + 1) >>> 1;
              int c = comparator.compare(list.get(middle), key);
              if (c > 0) {
                upper = middle - 1;
              } else { // c == 0
                lower = middle;
              }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 11K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/base/AsciiTest.java

        assertSame(LOWER, Ascii.toLowerCase(LOWER));
        assertEquals(IGNORED, Ascii.toLowerCase(IGNORED));
        assertEquals("foobar", Ascii.toLowerCase("fOobaR"));
      }
    
      public void testToUpperCase() {
        assertEquals(UPPER, Ascii.toUpperCase(LOWER));
        assertSame(UPPER, Ascii.toUpperCase(UPPER));
        assertEquals(IGNORED, Ascii.toUpperCase(IGNORED));
        assertEquals("FOOBAR", Ascii.toUpperCase("FoOBAr"));
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/SortedLists.java

            // breakpoint...
            int lower = foundIndex;
            int upper = list.size() - 1;
            // Everything between lower and upper inclusive compares at >= 0.
            while (lower < upper) {
              int middle = (lower + upper + 1) >>> 1;
              int c = comparator.compare(list.get(middle), key);
              if (c > 0) {
                upper = middle - 1;
              } else { // c == 0
                lower = middle;
              }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 11K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/Range.java

       * or equal to {@code upper}.
       *
       * @throws IllegalArgumentException if {@code lower} is greater than {@code upper}
       * @throws ClassCastException if {@code lower} and {@code upper} are not mutually comparable
       * @since 14.0
       */
      public static <C extends Comparable<?>> Range<C> closed(C lower, C upper) {
        return create(Cut.belowValue(lower), Cut.aboveValue(upper));
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  8. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/VersionRange.java

                                upper = res2.getUpperBound();
                                upperInclusive = res2.isUpperBoundInclusive();
                            }
                        }
    
                        // don't add if they are equal and one is not inclusive
                        if (lower == null || upper == null || lower.compareTo(upper) != 0) {
                            restrictions.add(new Restriction(lower, lowerInclusive, upper, upperInclusive));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 19K bytes
    - Viewed (0)
  9. guava/src/com/google/common/io/BaseEncoding.java

          byte[] newDecodabet = Arrays.copyOf(decodabet, decodabet.length);
          for (int upper = 'A'; upper <= 'Z'; upper++) {
            int lower = upper | 0x20;
            byte decodeUpper = decodabet[upper];
            byte decodeLower = decodabet[lower];
            if (decodeUpper == -1) {
              newDecodabet[upper] = decodeLower;
            } else {
              checkState(
                  decodeLower == -1,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 41.8K bytes
    - Viewed (0)
  10. cmd/object-api-interface_gen.go

    				return
    			}
    		default:
    			bts, err = msgp.Skip(bts)
    			if err != nil {
    				err = msgp.WrapError(err)
    				return
    			}
    		}
    	}
    	o = bts
    	return
    }
    
    // Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
    func (z BucketOptions) Msgsize() (s int) {
    	s = 1 + 8 + msgp.BoolSize + 7 + msgp.BoolSize + 11 + msgp.BoolSize
    	return
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 22 21:57:20 UTC 2024
    - 8.7K bytes
    - Viewed (0)
Back to top