Search Options

Results per page
Sort
Preferred Languages
Advance

Results 691 - 700 of 717 for failed (0.04 sec)

  1. Stats.java

    L51: * <li>Or, to avoid storing up all the data first, create a {@link StatsAccumulator} instance, L52: * feed values to it as you get them, then call {@link StatsAccumulator#snapshot}. L53: * </ul> L54: * L55: * <p>Static convenience methods called {@code meanOf} are also provided for users who wish to L56: * calculate <i>only</i> the mean. L57: * L58: * <p><b>Java 8+ users:</b> If you are not using any of the variance statistics, you may wish to use L59: * built-in JDK libraries instead of...
    github.com/google/guava/guava/src/com/google/co...
    Wed Oct 23 16:45:30 UTC 2024
      24.9K bytes
  2. InetAddresses.java

    InetAddress representing the address in {@code hostAddr} L603: * @throws IllegalArgumentException if {@code hostAddr} is not a valid IPv4 address, or IPv6 L604: * address surrounded by square brackets, or if the address has a scope id that fails L605: * validation against interfaces on the machine L606: */ L607: public static InetAddress forUriString(String hostAddr) { L608: InetAddress addr = forUriStringOrNull(hostAddr, /* parseScope= */ true); L609: if (addr == null) { L610:...
    github.com/google/guava/android/guava/src/com/g...
    Sat Oct 19 00:26:48 UTC 2024
      47.1K bytes
  3. Ordering.java

    previous L107: * instance, but has the chance to act on values <i>before</i> handing off to that backing instance. L108: * As a result, it usually helps to read chained ordering expressions <i>backwards</i>. For example, L109: * when {@code compare} is called on the above ordering: L110: * L111: * <ol> L112: * <li>First, if only one {@code Foo} is null, that null value is treated as <i>greater</i> L113: * <li>Next, non-null {@code Foo} values are passed to {@code getBarFunction} (we will be L114: *...
    github.com/google/guava/android/guava/src/com/g...
    Wed Oct 30 16:15:19 UTC 2024
      39.4K bytes
  4. Converter.java

    still L229: * pass null inputs to LegacyConverter, and it can violate the contract of Converter. L230: * L231: * TODO(cpovirk): Could this be simplified if we modified implementations of LegacyConverter to L232: * override methods (probably called "unsafeDoForward" and "unsafeDoBackward") with the same L233: * signatures as the methods below, rather than overriding the same doForward and doBackward L234: * methods as implementations of normal converters do? L235: * L236: * But no matter...
    github.com/google/guava/android/guava/src/com/g...
    Thu Feb 15 16:12:13 UTC 2024
      23K bytes
  5. BloomFilter.java

    changed, this <i>might</i> be the first time {@code object} has L171: * been added to the filter. Note that {@code put(t)} always returns the <i>opposite</i> L172: * result to what {@code mightContain(t)} would have returned at the time it is called. L173: * @since 12.0 (present in 11.0 with {@code void} return type}) L174: */ L175: @CanIgnoreReturnValue L176: public boolean put(@ParametricNullness T object) { L177: return strategy.put(object, funnel, numHashFunctions, bits); L178: ...
    github.com/google/guava/android/guava/src/com/g...
    Wed Oct 23 16:45:30 UTC 2024
      26.6K bytes
  6. ImmutableDoubleArray.java

    <li>Access to all collection-based utilities via {@link #asList} (though at the cost of L52: * allocating garbage). L53: * </ul> L54: * L55: * <p>Disadvantages compared to {@code double[]}: L56: * L57: * <ul> L58: * <li>Memory footprint has a fixed overhead (about 24 bytes per instance). L59: * <li><i>Some</i> construction use cases force the data to be copied (though several construction L60: * APIs are offered that don't). L61: * <li>Can't be passed directly to methods that expect...
    github.com/google/guava/android/guava/src/com/g...
    Fri Oct 25 18:05:56 UTC 2024
      23K bytes
  7. CacheTest.kt

    Request.Builder() L3315: .url(url) L3316: .build() L3317: return client.newCall(request).execute() L3318: } L3319: L3320: private fun writeFile( L3321: directory: Path, L3322: file: String, L3323: content: String, L3324: ) { L3325: val sink = fileSystem.sink(directory.div(file)).buffer() L3326: sink.writeUtf8(content) L3327: sink.close() L3328: } L3329: L3330: /** L3331: * @param delta the offset from the current date to use. Negative values yield dates in the...
    github.com/square/okhttp/okhttp/src/test/java/o...
    Wed Apr 10 19:46:48 UTC 2024
      108.6K bytes
  8. ByteStreams.java

    Requires that both the input channel and the output L74: * channel have their own file descriptors. Generally this only happens when both channels L75: * are files or sockets. This performs zero copies - the bytes never enter userspace. L76: * <li>Use mmap(2) or equivalent. Requires that either the input channel or the output channel L77: * have file descriptors. Bytes are copied from the file into a kernel buffer, then directly L78: * into the other buffer (userspace)....
    github.com/google/guava/guava/src/com/google/co...
    Sat Oct 19 00:26:48 UTC 2024
      29.7K bytes
  9. Floats.java

    L549: for (int i = 0; i < len; i++) { L550: // checkNotNull for GWT (do not optimize) L551: array[i] = ((Number) checkNotNull(boxedArray[i])).floatValue(); L552: } L553: return array; L554: } L555: L556: /** L557: * Returns a fixed-size list backed by the specified array, similar to {@link L558: * Arrays#asList(Object[])}. The list supports {@link List#set(int, Object)}, but any attempt to L559: * set a value to {@code null} will result in a {@link NullPointerException}....
    github.com/google/guava/android/guava/src/com/g...
    Thu Oct 17 15:52:18 UTC 2024
      25.8K bytes
  10. Doubles.java

    L554: for (int i = 0; i < len; i++) { L555: // checkNotNull for GWT (do not optimize) L556: array[i] = ((Number) checkNotNull(boxedArray[i])).doubleValue(); L557: } L558: return array; L559: } L560: L561: /** L562: * Returns a fixed-size list backed by the specified array, similar to {@link L563: * Arrays#asList(Object[])}. The list supports {@link List#set(int, Object)}, but any attempt to L564: * set a value to {@code null} will result in a {@link NullPointerException}....
    github.com/google/guava/guava/src/com/google/co...
    Thu Oct 17 15:52:18 UTC 2024
      27.9K bytes
Back to top