Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for Barnes (0.23 sec)

  1. android/guava/src/com/google/common/net/HostAndPort.java

          }
          checkArgument(isValidPort(port), "Port number out of range: %s", hostPortString);
        }
    
        return new HostAndPort(host, port, hasBracketlessColons);
      }
    
      /**
       * Parses a bracketed host-port string, throwing IllegalArgumentException if parsing fails.
       *
       * @param hostPortString the full bracketed host-port specification. Port might not be specified.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Aug 22 20:55:57 GMT 2023
    - 11.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/primitives/Ints.java

        }
    
        int[] toIntArray() {
          return Arrays.copyOfRange(array, start, end);
        }
    
        private static final long serialVersionUID = 0;
      }
    
      /**
       * Parses the specified string as a signed decimal integer value. The ASCII character {@code '-'}
       * (<code>'&#92;u002D'</code>) is recognized as the minus sign.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 29.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/primitives/Doubles.java

        fpPattern =
            fpPattern.replace(
                "#",
                "+"
                );
        return
        java.util.regex.Pattern
            .compile(fpPattern);
      }
    
      /**
       * Parses the specified string as a double-precision floating point value. The ASCII character
       * {@code '-'} (<code>'&#92;u002D'</code>) is recognized as the minus sign.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 27.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/hash/BloomFilterStrategies.java

        boolean set(long bitIndex) {
          if (get(bitIndex)) {
            return false;
          }
    
          int longIndex = (int) (bitIndex >>> LONG_ADDRESSABLE_BITS);
          long mask = 1L << bitIndex; // only cares about low 6 bits of bitIndex
    
          long oldValue;
          long newValue;
          do {
            oldValue = data.get(longIndex);
            newValue = oldValue | mask;
            if (oldValue == newValue) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 10.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/hash/BloomFilter.java

         * is proportional to -log(p), but there is not much of a point after all, e.g.
         * optimalM(1000, 0.0000000000000001) = 76680 which is less than 10kb. Who cares!
         */
        long numBits = optimalNumOfBits(expectedInsertions, fpp);
        int numHashFunctions = optimalNumOfHashFunctions(expectedInsertions, numBits);
        try {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/primitives/Longs.java

            result['a' + i] = (byte) (10 + i);
          }
          asciiDigits = result;
        }
    
        static int digit(char c) {
          return (c < 128) ? asciiDigits[c] : -1;
        }
      }
    
      /**
       * Parses the specified string as a signed decimal long value. The ASCII character {@code '-'} (
       * <code>'&#92;u002D'</code>) is recognized as the minus sign.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 28.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/cache/CacheBuilderSpec.java

     *
     * @author Adam Winer
     * @since 12.0
     */
    @SuppressWarnings("GoodTime") // lots of violations (nanosecond math)
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    public final class CacheBuilderSpec {
      /** Parses a single value. */
      private interface ValueParser {
        void parse(CacheBuilderSpec spec, String key, @CheckForNull String value);
      }
    
      /** Splits each key-value pair. */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Aug 22 14:27:44 GMT 2022
    - 18.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/net/MediaType.java

        checkArgument(ascii().matchesAllOf(value), "parameter values must be ASCII: %s", value);
        return CHARSET_ATTRIBUTE.equals(attribute) ? Ascii.toLowerCase(value) : value;
      }
    
      /**
       * Parses a media type from its string representation.
       *
       * @throws IllegalArgumentException if the input is not parsable
       */
      @CanIgnoreReturnValue // TODO(b/219820829): consider removing
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Aug 07 16:17:10 GMT 2023
    - 46.2K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

      private final AtomicReference<Throwable> threadFailure = new AtomicReference<>(null);
    
      /**
       * Records an exception so that it can be rethrown later in the test harness thread, triggering a
       * test case failure. Only the first failure is recorded; subsequent calls to this method from
       * within the same test have no effect.
       */
      public void threadRecordFailure(Throwable t) {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 37.7K bytes
    - Viewed (0)
  10. guava/src/com/google/common/cache/CacheBuilderSpec.java

     *
     * @author Adam Winer
     * @since 12.0
     */
    @SuppressWarnings("GoodTime") // lots of violations (nanosecond math)
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    public final class CacheBuilderSpec {
      /** Parses a single value. */
      private interface ValueParser {
        void parse(CacheBuilderSpec spec, String key, @CheckForNull String value);
      }
    
      /** Splits each key-value pair. */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Aug 22 14:27:44 GMT 2022
    - 18.1K bytes
    - Viewed (0)
Back to top