Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 45 for qmove (0.13 sec)

  1. guava-tests/test/com/google/common/collect/LenientSerializableTester.java

     * parameter for non-GWT, non-test files, and it didn't seem worth adding one for this unusual case.
     */
    @GwtCompatible(emulated = true)
    final class LenientSerializableTester {
      /*
       * TODO(cpovirk): move this to c.g.c.testing if we allow for c.g.c.annotations dependencies so
       * that it can be GWTified?
       */
      @CanIgnoreReturnValue
      @GwtIncompatible // SerializableTester
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Aug 04 15:33:27 GMT 2020
    - 2.5K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java

      protected Entry<K, V> entry(K key, V value) {
        return Helpers.mapEntry(key, value);
      }
    
      @Override
      protected void expectContents(Collection<Entry<K, V>> expected) {
        // TODO: move this to invariant checks once the appropriate hook exists?
        super.expectContents(expected);
        for (Entry<K, V> entry : expected) {
          assertEquals(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/HashBiMap.java

      }
    
      /**
       * Updates the specified entry to point to the new value: removes the old value from the V-to-K
       * mapping and puts the new one in. The entry does not move in the insertion order of the bimap.
       */
      private void replaceValueInEntry(int entry, @ParametricNullness V newValue, boolean force) {
        checkArgument(entry != ABSENT);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 06 16:06:58 GMT 2023
    - 36.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/math/Quantiles.java

       * greater than or equal to that.
       */
      private static int partition(double[] array, int from, int to) {
        // Select a pivot, and move it to the start of the slice i.e. to index from.
        movePivotToStartOfSlice(array, from, to);
        double pivot = array[from];
    
        // Move all elements with indexes in (from, to] which are greater than the pivot to the end of
        // the array. Keep track of where those elements begin.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 17:02:53 GMT 2023
    - 29.9K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/graph/ValueGraphTest.java

    import org.junit.After;
    import org.junit.Test;
    import org.junit.runner.RunWith;
    import org.junit.runners.JUnit4;
    
    /** Tests for {@link StandardMutableValueGraph} and related functionality. */
    // TODO(user): Expand coverage and move to proper test suite.
    @RunWith(JUnit4.class)
    public final class ValueGraphTest {
      private static final String DEFAULT = "default";
    
      MutableValueGraph<Integer, String> graph;
    
      @After
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 06 18:35:19 GMT 2024
    - 20K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/Collections2.java

          int n = 1;
          int r = 1;
          while (n < sortedInputList.size()) {
            int comparison = comparator.compare(sortedInputList.get(n - 1), sortedInputList.get(n));
            if (comparison < 0) {
              // We move to the next non-repeated element.
              permutations = IntMath.saturatedMultiply(permutations, IntMath.binomial(n, r));
              r = 0;
              if (permutations == Integer.MAX_VALUE) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java

      protected Entry<K, V> entry(K key, V value) {
        return Helpers.mapEntry(key, value);
      }
    
      @Override
      protected void expectContents(Collection<Entry<K, V>> expected) {
        // TODO: move this to invariant checks once the appropriate hook exists?
        super.expectContents(expected);
        for (Entry<K, V> entry : expected) {
          assertEquals(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/graph/EndpointPairTest.java

            .addEqualityGroup(orderedMirror)
            .addEqualityGroup(unordered, unorderedMirror)
            .testEquals();
      }
    
      // Tests for Graph.edges() and Network.asGraph().edges() methods
      // TODO(user): Move these to a more appropriate location in the test suite.
    
      @Test
      public void endpointPair_directedGraph() {
        MutableGraph<Integer> directedGraph = GraphBuilder.directed().allowsSelfLoops(true).build();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 9.4K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java

       * {@code expectContents()} invokes this version</strong>.
       *
       * @param expected expected value of {@link #container}
       */
      /*
       * TODO: improve this and other implementations and move out of this framework
       * for wider use
       *
       * TODO: could we incorporate the overriding logic from AbstractListTester, by
       * examining whether the features include KNOWN_ORDER?
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/graph/EndpointPairTest.java

            .addEqualityGroup(orderedMirror)
            .addEqualityGroup(unordered, unorderedMirror)
            .testEquals();
      }
    
      // Tests for Graph.edges() and Network.asGraph().edges() methods
      // TODO(user): Move these to a more appropriate location in the test suite.
    
      @Test
      public void endpointPair_directedGraph() {
        MutableGraph<Integer> directedGraph = GraphBuilder.directed().allowsSelfLoops(true).build();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 9.4K bytes
    - Viewed (0)
Back to top