Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 120 for moving (0.22 sec)

  1. CONTRIBUTING.md

    fix. Even if you think it's relatively minor, it's helpful to know what people
    are working on. And as mentioned above, API changes should be discussed
    thoroughly before moving to code.
    
    Some examples of types of pull requests that are immediately helpful:
    
      - Fixing a bug without changing a public API.
      - Fixing or improving documentation.
      - Improvements to Maven configuration.
    
    Plain Text
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Nov 17 18:47:47 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/graph/GraphPropertiesTest.java

    import org.junit.Before;
    import org.junit.Test;
    import org.junit.runner.RunWith;
    import org.junit.runners.JUnit4;
    
    /** Tests for {@link Graphs#hasCycle(Graph)} and {@link Graphs#hasCycle(Network)}. */
    // TODO(user): Consider moving this to GraphsTest.
    @RunWith(JUnit4.class)
    public class GraphPropertiesTest {
      ImmutableList<MutableGraph<Integer>> graphsToTest;
      Graph<Integer> directedGraph;
      Graph<Integer> undirectedGraph;
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 19 21:11:54 GMT 2017
    - 5.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/graph/GraphPropertiesTest.java

    import org.junit.Before;
    import org.junit.Test;
    import org.junit.runner.RunWith;
    import org.junit.runners.JUnit4;
    
    /** Tests for {@link Graphs#hasCycle(Graph)} and {@link Graphs#hasCycle(Network)}. */
    // TODO(user): Consider moving this to GraphsTest.
    @RunWith(JUnit4.class)
    public class GraphPropertiesTest {
      ImmutableList<MutableGraph<Integer>> graphsToTest;
      Graph<Integer> directedGraph;
      Graph<Integer> undirectedGraph;
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 07 15:09:01 GMT 2016
    - 5.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

        /**
         * Builds a new min-max priority queue using the previously specified options, and having no
         * initial contents.
         */
        public <T extends B> MinMaxPriorityQueue<T> create() {
          return create(Collections.<T>emptySet());
        }
    
        /**
         * Builds a new min-max priority queue using the previously specified options, and having the
         * given initial elements.
         */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 34K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/primitives/Longs.java

        @Override
        public boolean contains(@CheckForNull Object target) {
          // Overridden to prevent a ton of boxing
          return (target instanceof Long) && Longs.indexOf(array, (Long) target, start, end) != -1;
        }
    
        @Override
        public int indexOf(@CheckForNull Object target) {
          // Overridden to prevent a ton of boxing
          if (target instanceof Long) {
            int i = Longs.indexOf(array, (Long) target, start, end);
    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)
  6. android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

            iter.remove();
          }
        }
        assertIntact(q);
        assertThat(result).containsExactly(1, 15, 13, 8, 14);
      }
    
      /**
       * This tests a special case of the removeAt() call. Moving an element sideways on the heap could
       * break the invariants. Sometimes we need to bubble an element up instead of trickling down. See
       * implementation.
       */
      public void testInvalidatingRemove() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 36.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableSortedMultiset.java

       * generates a synthetic method for the body of the lambda, the actual method calls that Animal
       * Sniffer is flagging don't appear inside toImmutableSortedMultiset but rather inside that
       * synthetic method. By moving those calls to a named method, we're able to apply
       * @IgnoreJRERequirement somewhere that it will help.
       */
      private static <T extends @Nullable Object, E> void mapAndAdd(
          T t,
          Multiset<E> multiset,
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 35.3K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/CompactHashMap.java

      //
      // The elements of `keys`, `values`, and `entries` are added sequentially, so that elements 0 to
      // `size() - 1` are used and remaining elements are not. This makes iteration straightforward.
      // Removing an entry generally involves moving the last element of each array to where the removed
      // entry was, and adjusting index links accordingly.
    
      /**
       * The hashtable object. This can be either:
       *
       * <ul>
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Jun 26 21:02:13 GMT 2023
    - 39.8K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/ImmutableMapTest.java

        Collection<String> collection = map.values();
    
        LenientSerializableTester.reserializeAndAssertElementsEqual(collection);
      }
    
      // TODO: Re-enable this test after moving to new serialization format in ImmutableMap.
      @J2ktIncompatible
      @GwtIncompatible // SerializableTester
      @SuppressWarnings("unchecked")
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 27 13:27:08 GMT 2024
    - 41.3K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    three gardeners instantly jumped up, and began bowing to the
    King, the Queen, the royal children, and everybody else.
    
      `Leave off that!' screamed the Queen.  `You make me giddy.'
    And then, turning to the rose-tree, she went on, `What HAVE you
    been doing here?'
    
      `May it please your Majesty,' said Two, in a very humble tone,
    going down on one knee as he spoke, `we were trying--'
    
    Plain Text
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 29 21:35:03 GMT 2012
    - 145.2K bytes
    - Viewed (0)
Back to top