Search Options

Results per page
Sort
Preferred Languages
Advance

Results 651 - 660 of 717 for failed (0.04 sec)

  1. TopKSelector.java

    private final int k; L108: private final Comparator<? super T> comparator; L109: L110: /* L111: * We are currently considering the elements in buffer in the range [0, bufferSize) as candidates L112: * for the top k elements. Whenever the buffer is filled, we quickselect the top k elements to the L113: * range [0, k) and ignore the remaining elements. L114: */ L115: private final @Nullable T[] buffer; L116: private int bufferSize; L117: L118: /** L119: * The largest of the lowest k elements...
    github.com/google/guava/android/guava/src/com/g...
    Wed Oct 30 16:15:19 UTC 2024
      11.1K bytes
  2. ArbitraryInstances.java

    arbitraryConstantInstanceOrNull(Class<T> type) { L397: Field[] fields = type.getDeclaredFields(); L398: Arrays.sort(fields, BY_FIELD_NAME); L399: for (Field field : fields) { L400: if (Modifier.isPublic(field.getModifiers()) L401: && Modifier.isStatic(field.getModifiers()) L402: && Modifier.isFinal(field.getModifiers())) { L403: if (field.getGenericType() == field.getType() && type.isAssignableFrom(field.getType())) { L404: field.setAccessible(true);...
    github.com/google/guava/guava-testlib/src/com/g...
    Sat Oct 19 00:26:48 UTC 2024
      21.2K bytes
  3. TraverserTest.java

    Traverser.forGraph(createDirectedGraph()).breadthFirst('a')); L317: } L318: L319: /** L320: * Checks that the elements of the iterable are calculated on the fly. Concretely, that means that L321: * {@link SuccessorsFunction#successors(Object)} can only be called for a subset of all nodes. L322: */ L323: @Test L324: public void forGraph_breadthFirstIterable_emptyGraph() { L325: assertEqualCharNodes( L326: Traverser.forGraph(createDirectedGraph()).breadthFirst(charactersOf("")), ""); L327: ...
    github.com/google/guava/android/guava-tests/tes...
    Wed Sep 06 17:04:31 UTC 2023
      47.5K bytes
  4. TraverserTest.java

    Traverser.forGraph(createDirectedGraph()).breadthFirst('a')); L317: } L318: L319: /** L320: * Checks that the elements of the iterable are calculated on the fly. Concretely, that means that L321: * {@link SuccessorsFunction#successors(Object)} can only be called for a subset of all nodes. L322: */ L323: @Test L324: public void forGraph_breadthFirstIterable_emptyGraph() { L325: assertEqualCharNodes( L326: Traverser.forGraph(createDirectedGraph()).breadthFirst(charactersOf("")), ""); L327: ...
    github.com/google/guava/guava-tests/test/com/go...
    Wed Sep 06 17:04:31 UTC 2023
      47.5K bytes
  5. PairedStats.java

    Objects; L28:import java.io.Serializable; L29:import java.nio.ByteBuffer; L30:import java.nio.ByteOrder; L31:import javax.annotation.CheckForNull; L32: L33:/** L34: * An immutable value object capturing some basic statistics about a collection of paired double L35: * values (e.g. points on a plane). Build instances with {@link PairedStatsAccumulator#snapshot}. L36: * L37: * @author Pete Gillin L38: * @since 20.0 L39: */ L40:@J2ktIncompatible L41:@GwtIncompatible L42:@ElementTypesAreNonnullByDefault...
    github.com/google/guava/android/guava/src/com/g...
    Fri May 12 17:02:53 UTC 2023
      12.6K bytes
  6. ImmutableList.java

    } else if (length == 0) { L462: return of(); L463: } else if (length == 1) { L464: return of(get(fromIndex)); L465: } else { L466: return subListUnchecked(fromIndex, toIndex); L467: } L468: } L469: L470: /** L471: * Called by the default implementation of {@link #subList} when {@code toIndex - fromIndex > 1}, L472: * after index validation has already been performed. L473: */ L474: ImmutableList<E> subListUnchecked(int fromIndex, int toIndex) { L475: return...
    github.com/google/guava/guava/src/com/google/co...
    Fri Aug 16 19:14:45 UTC 2024
      30.5K bytes
  7. 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/guava/src/com/google/co...
    Sat Oct 19 00:26:48 UTC 2024
      47.1K bytes
  8. LinkedListMultimap.java

    node.next) { L844: action.accept(node); L845: } L846: } L847: } L848: return new EntriesImpl(); L849: } L850: L851: @Override L852: Iterator<Entry<K, V>> entryIterator() { L853: throw new AssertionError("should never be called"); L854: } L855: L856: @Override L857: Map<K, Collection<V>> createAsMap() { L858: return new Multimaps.AsMap<>(this); L859: } L860: L861: /** L862: * @serialData the number of distinct keys, and then for each distinct key: the first key,...
    github.com/google/guava/guava/src/com/google/co...
    Fri Oct 13 14:11:58 UTC 2023
      27.5K bytes
  9. ConcurrentHashMultiset.java

    @Override L478: public boolean removeAll(Collection<?> c) { L479: return standardRemoveAll(c); L480: } L481: }; L482: } L483: L484: @Override L485: Iterator<E> elementIterator() { L486: throw new AssertionError("should never be called"); L487: } L488: L489: /** @deprecated Internal method, use {@link #entrySet()}. */ L490: @Deprecated L491: @Override L492: public Set<Multiset.Entry<E>> createEntrySet() { L493: return new EntrySet(); L494: } L495: L496: @Override L497:...
    github.com/google/guava/android/guava/src/com/g...
    Wed Oct 30 16:15:19 UTC 2024
      21.1K bytes
  10. clipboard.min.js

    ault:t}}var l=function(t){function o(t,e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,o);var n=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(o.__proto__||Object.getPrototypeOf(o)).call(this));return n.resolveOptions(e),n.listenClick(t),n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression...
    github.com/codelibs/fess/src/main/webapp/js/cli...
    Sat May 28 04:16:16 UTC 2022
      10.5K bytes
Back to top