Search Options

Results per page
Sort
Preferred Languages
Advance

Results 571 - 580 of 717 for failed (0.04 sec)

  1. ListSetTester.java

    until <a L127: * href="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6409434">Sun bug 6409434</a> is fixed. L128: * It's unclear whether nulls were to be permitted or forbidden, but presumably the eventual fix L129: * will be to permit them, as it seems more likely that code would depend on that behavior than on L130: * the other. Thus, we say the bug is in set(), which fails to support null. L131: */ L132: @J2ktIncompatible L133: @GwtIncompatible // reflection L134: public static...
    github.com/google/guava/android/guava-testlib/s...
    Wed Oct 30 16:15:19 UTC 2024
      5.2K bytes
  2. JoinerBenchmark.java

    } L91: dummy ^= sb.toString().length(); L92: } L93: return dummy; L94: } L95: L96: /** L97: * Only appends delimiter if the accumulated string is non-empty. Note: this isn't a candidate L98: * implementation for Joiner since it fails on leading empty components. L99: */ L100: @Benchmark L101: int stringBuilderIsEmpty(int reps) { L102: int dummy = 0; L103: for (int i = 0; i < reps; i++) { L104: StringBuilder sb = new StringBuilder(); L105: for (String comp :...
    github.com/google/guava/guava-tests/benchmark/c...
    Mon Dec 04 17:37:03 UTC 2017
      4.9K bytes
  3. HostAndPortTest.java

    Non-bracketed non-IPv6 works fine. L211: assertEquals("x", HostAndPort.fromString("x").requireBracketsForIPv6().getHost()); L212: assertEquals("x", HostAndPort.fromString("x:80").requireBracketsForIPv6().getHost()); L213: L214: // Non-bracketed IPv6 fails. L215: assertThrows( L216: IllegalArgumentException.class, L217: () -> HostAndPort.fromString("::1").requireBracketsForIPv6()); L218: } L219: L220: public void testToString() { L221: // With ports. L222: assertEquals("foo:101",...
    github.com/google/guava/android/guava-tests/tes...
    Mon Oct 21 15:41:36 UTC 2024
      9.4K bytes
  4. PairedStatsAccumulator.java

    java.lang.Double.isNaN; L21: L22:import com.google.common.annotations.GwtIncompatible; L23:import com.google.common.annotations.J2ktIncompatible; L24:import com.google.common.primitives.Doubles; L25: L26:/** L27: * A mutable object which accumulates paired double values (e.g. points on a plane) and tracks some L28: * basic statistics over all the values added so far. This class is not thread safe. L29: * L30: * @author Pete Gillin L31: * @since 20.0 L32: */ L33:@J2ktIncompatible L34:@GwtIncompatible...
    github.com/google/guava/guava/src/com/google/co...
    Fri May 12 17:02:53 UTC 2023
      10.3K bytes
  5. ImmutableList.java

    fromIndex; L444: if (length == size()) { L445: return this; L446: } else if (length == 0) { L447: return of(); L448: } else { L449: return subListUnchecked(fromIndex, toIndex); L450: } L451: } L452: L453: /** L454: * Called by the default implementation of {@link #subList} when {@code toIndex - fromIndex > 1}, L455: * after index validation has already been performed. L456: */ L457: ImmutableList<E> subListUnchecked(int fromIndex, int toIndex) { L458: return...
    github.com/google/guava/android/guava/src/com/g...
    Wed Oct 16 21:21:17 UTC 2024
      27.7K bytes
  6. TreeMultiset.java

    } L585: } L586: L587: private static final class AvlNode<E extends @Nullable Object> { L588: /* L589: * For "normal" nodes, the type of this field is `E`, not `@Nullable E` (though note that E is a L590: * type that can include null, as in a TreeMultiset<@Nullable String>). L591: * L592: * For the header node, though, this field contains `null`, regardless of the type of the L593: * multiset. L594: * L595: * Most code that operates on an AvlNode never operates on the...
    github.com/google/guava/guava/src/com/google/co...
    Fri Oct 18 20:24:49 UTC 2024
      34.5K bytes
  7. ImmutableSortedSet.java

    actually copying the data when it is L203: * safe to do so. The exact circumstances under which a copy will or will not be performed are L204: * undocumented and subject to change. L205: * L206: * <p>This method is not type-safe, as it may be called on elements that are not mutually L207: * comparable. L208: * L209: * @throws ClassCastException if the elements are not mutually comparable L210: * @throws NullPointerException if any of {@code elements} is null L211: */ L212: public static...
    github.com/google/guava/android/guava/src/com/g...
    Wed Oct 30 16:15:19 UTC 2024
      36.9K bytes
  8. codeql.yml

    matrix.language }} L68: build-mode: ${{ matrix.build-mode }} L69: # If you wish to specify custom queries, you can do so here or in a config file. L70: # By default, queries listed here will override any specified in a config file. L71: # Prefix the list here with "+" to use these queries and those in the config file. L72: L73: # For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your...
    github.com/codelibs/fess/.github/workflows/code...
    Wed Aug 14 23:51:19 UTC 2024
      4.4K bytes
  9. LICENSE

    the Derivative Works; and L109: L110:d. If the Work includes a "NOTICE" text file as part of its distribution, L111:then any Derivative Works that You distribute must include a readable copy L112:of the attribution notices contained within such NOTICE file, excluding L113:those notices that do not pertain to any part of the Derivative Works, in at L114:least one of the following places: within a NOTICE text file distributed as L115:part of the Derivative Works; within the Source form or documentation,...
    github.com/kubernetes/kubernetes/LICENSES/third...
    Thu Jul 08 11:48:19 UTC 2021
      9.2K bytes
  10. FuturesGetChecked.java

    // TODO(cpovirk): if reference has been cleared, remove it? L168: } L169: checkExceptionClassValidity(exceptionClass); L170: L171: /* L172: * It's very unlikely that any loaded Futures class will see getChecked called with more L173: * than a handful of exceptions. But it seems prudent to set a cap on how many we'll cache. L174: * This avoids out-of-control memory consumption, and it keeps the cache from growing so L175: * large that doing...
    github.com/google/guava/guava/src/com/google/co...
    Thu Feb 22 17:40:56 UTC 2024
      11.9K bytes
Back to top