Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 179 for Bowers (0.03 sec)

  1. guava-tests/test/com/google/common/math/MathBenchmarking.java

        return RANDOM_SOURCE.nextBoolean() ? result : result.negate();
      }
    
      /**
       * Chooses a number in (-2^numBits, 2^numBits) at random, with density concentrated in numbers of
       * lower magnitude.
       */
      static BigInteger randomBigInteger(int numBits) {
        while (true) {
          if (RANDOM_SOURCE.nextBoolean()) {
            return randomNonNegativeBigInteger(numBits);
          }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/escape/UnicodeEscaperTest.java

        }
      }
    
      public void testFalsePositivesForNextEscapedIndex() {
        UnicodeEscaper e =
            new UnicodeEscaper() {
              // Canonical escaper method that only escapes lower case ASCII letters.
              @Override
              protected char @Nullable [] escape(int cp) {
                return ('a' <= cp && cp <= 'z') ? new char[] {Character.toUpperCase((char) cp)} : null;
              }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/escape/UnicodeEscaperTest.java

        }
      }
    
      public void testFalsePositivesForNextEscapedIndex() {
        UnicodeEscaper e =
            new UnicodeEscaper() {
              // Canonical escaper method that only escapes lower case ASCII letters.
              @Override
              protected char @Nullable [] escape(int cp) {
                return ('a' <= cp && cp <= 'z') ? new char[] {Character.toUpperCase((char) cp)} : null;
              }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/math/StatsAccumulatorTest.java

      }
    
      public void testCountOverflow_doesNotThrow() {
        StatsAccumulator accumulator = new StatsAccumulator();
        accumulator.add(ONE_VALUE);
        for (int power = 1; power < Long.SIZE - 1; power++) {
          accumulator.addAll(accumulator.snapshot());
        }
        // Should overflow without throwing.
        accumulator.addAll(accumulator.snapshot());
        assertThat(accumulator.count()).isLessThan(0L);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/CaseFormat.java

     * non-ASCII input.
     *
     * @author Mike Bostock
     * @since 1.0
     */
    @GwtCompatible
    public enum CaseFormat {
      /**
       * Hyphenated variable naming convention, e.g., "lower-hyphen". This format is also colloquially
       * known as "kebab case".
       */
      LOWER_HYPHEN(CharMatcher.is('-'), "-") {
        @Override
        String normalizeWord(String word) {
          return Ascii.toLowerCase(word);
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Apr 15 22:14:00 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/cors/CorsHandlerFactoryTest.java

            // Setup
            String lowerCaseOrigin = "https://example.com";
            String upperCaseOrigin = "HTTPS://EXAMPLE.COM";
            TestCorsHandler lowerHandler = new TestCorsHandler("lower-handler");
            TestCorsHandler upperHandler = new TestCorsHandler("upper-handler");
    
            // Execute
            corsHandlerFactory.add(lowerCaseOrigin, lowerHandler);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/net/HostSpecifier.java

        return canonicalForm.hashCode();
      }
    
      /**
       * Returns a string representation of the host specifier suitable for inclusion in a URI. If the
       * host specifier is a domain name, the string will be normalized to all lower case. If the
       * specifier was an IPv6 address without brackets, brackets are added so that the result will be
       * usable in the host part of a URI.
       */
      @Override
      public String toString() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/SortedMultisets.java

          implements NavigableSet<E> {
        NavigableElementSet(SortedMultiset<E> multiset) {
          super(multiset);
        }
    
        @Override
        public @Nullable E lower(@ParametricNullness E e) {
          return getElementOrNull(multiset().headMultiset(e, OPEN).lastEntry());
        }
    
        @Override
        public @Nullable E floor(@ParametricNullness E e) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  9. guava/src/com/google/common/reflect/Types.java

          WildcardType wildcard = (WildcardType) componentType;
          Type[] lowerBounds = wildcard.getLowerBounds();
          checkArgument(lowerBounds.length <= 1, "Wildcard cannot have more than one lower bounds.");
          if (lowerBounds.length == 1) {
            return supertypeOf(newArrayType(lowerBounds[0]));
          } else {
            Type[] upperBounds = wildcard.getUpperBounds();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 23.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/hash/HashCode.java

      }
    
      /**
       * Creates a {@code HashCode} from a hexadecimal ({@code base 16}) encoded string. The string must
       * be at least 2 characters long, and contain only valid, lower-cased hexadecimal characters.
       *
       * <p>This method accepts the exact format generated by {@link #toString}. If you require more
       * lenient {@code base 16} decoding, please use {@link com.google.common.io.BaseEncoding#decode}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 12.6K bytes
    - Viewed (0)
Back to top