Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 87 for upper (0.22 sec)

  1. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  2. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  3. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/collection/LruHashMap.java

        /**
         * Default load factor.
         */
        protected static final float DEFAULT_LOAD_FACTOR = 0.75f;
    
        /**
         * Upper limit on the number of entries.
         */
        protected final int limitSize;
    
        /**
         * Creates an {@link LruHashMap}.
         *
         * @param limitSize the upper limit on the number of entries
         */
        public LruHashMap(final int limitSize) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  5. 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 Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 19K bytes
    - Viewed (0)
  6. src/test/java/jcifs/netbios/NameTest.java

            // Encode "TEST" (0x54 0x45 0x53 0x54)
            // T=0x54: upper nibble 0x5->F(0x46), lower nibble 0x4->E(0x45)
            src[1] = 'F';
            src[2] = 'E'; // T
            // E=0x45: upper nibble 0x4->E(0x45), lower nibble 0x5->F(0x46)
            src[3] = 'E';
            src[4] = 'F'; // E
            // S=0x53: upper nibble 0x5->F(0x46), lower nibble 0x3->D(0x44)
            src[5] = 'F';
            src[6] = 'D'; // S
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  7. compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionTest.java

            ComparableVersion upper = new ComparableVersion("1.0.0-ALPHA1");
            // Lower case is equal to upper case. This is *NOT* what Semver 1.0
            // specifies. Here we are explicitly deviating from Semver 1.0.
            assertTrue(upper.compareTo(lower) == 0, "expected 1.0.0-ALPHA1 == 1.0.0-alpha1");
            assertTrue(lower.compareTo(upper) == 0, "expected 1.0.0-alpha1 == 1.0.0-ALPHA1");
        }
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  8. cmd/metrics-v2_gen.go

    			}
    		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 *MetricDescription) Msgsize() (s int) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 23 20:56:18 UTC 2025
    - 19.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/lang/GenericsUtil.java

         * <li>If <code>type</code> is a wildcard type, its (first) upper bound is returned.</li>
         * <li>If <code>type</code> is a type variable and is a key in the given map, its actual type argument is returned.</li>
         * <li>If <code>type</code> is a type variable and is not a key in the given map, its (first) upper bound is returned.</li>
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 23.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/math/Quantiles.java

       * {@code upper}. Assumes that {@code lower <= upper}. Correctly handles infinities (but not
       * {@code NaN}).
       */
      private static double interpolate(double lower, double upper, double remainder, double scale) {
        if (lower == NEGATIVE_INFINITY) {
          if (upper == POSITIVE_INFINITY) {
            // Return NaN when lower == NEGATIVE_INFINITY and upper == POSITIVE_INFINITY:
            return NaN;
          }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 30.1K bytes
    - Viewed (0)
Back to top