Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 30 for Groves (5.52 sec)

  1. android/guava/src/com/google/common/collect/CompactHashSet.java

        if (index == -1) {
          return false;
        }
    
        moveLastEntry(index, mask);
        size--;
        incrementModCount();
    
        return true;
      }
    
      /**
       * Moves the last entry in the entry array into {@code dstIndex}, and nulls out its old position.
       */
      void moveLastEntry(int dstIndex, int mask) {
        Object table = requireTable();
        int[] entries = requireEntries();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 05 21:38:59 GMT 2024
    - 24K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

          int leftChildIndex = getLeftChildIndex(index);
          if (leftChildIndex < 0) {
            return -1;
          }
          return findMin(getLeftChildIndex(leftChildIndex), 4);
        }
    
        /**
         * Moves an element one level up from a min level to a max level (or vice versa). Returns the
         * new position of the element.
         */
        int crossOverUp(int index, E x) {
          if (index == 0) {
            queue[0] = x;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 34K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/OrderingTest.java

            verifyScenario(alteration.mutate(scenario), level + 1);
          }
        }
      }
    
      /**
       * An aggregation of an ordering with a list (of size > 1) that should prove to be in strictly
       * increasing order according to that ordering.
       */
      private static class Scenario<T extends @Nullable Object> {
        final Ordering<T> ordering;
        final List<T> strictlyOrderedList;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/OrderingTest.java

            verifyScenario(alteration.mutate(scenario), level + 1);
          }
        }
      }
    
      /**
       * An aggregation of an ordering with a list (of size > 1) that should prove to be in strictly
       * increasing order according to that ordering.
       */
      private static class Scenario<T extends @Nullable Object> {
        final Ordering<T> ordering;
        final List<T> strictlyOrderedList;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/IterablesTest.java

        assertEquals("bar", Iterables.getLast(iterable, "qux"));
      }
    
      /**
       * {@link ArrayList} extension that forbids the use of {@link Collection#iterator} for tests that
       * need to prove that it isn't called.
       */
      private static class DiesOnIteratorArrayList extends ArrayList<String> {
        /** @throws UnsupportedOperationException all the time */
        @Override
        public Iterator<String> iterator() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 47.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Sets.java

        public int hashCode() {
          // Warning: this is broken if size() == 0, so it is critical that we
          // substitute an empty ImmutableSet to the user in place of this
    
          // It's a weird formula, but tests prove it works.
          int adjust = size() - 1;
          for (int i = 0; i < axes.size(); i++) {
            adjust *= 31;
            adjust = ~~adjust;
            // in GWT, we have to deal with integer overflow carefully
          }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
  7. android/pom.xml

          <name>Kevin Bourrillion</name>
          <email>******@****.***</email>
          <organization>Google</organization>
          <organizationUrl>http://www.google.com</organizationUrl>
          <roles>
            <role>owner</role>
            <role>developer</role>
          </roles>
          <timezone>-8</timezone>
        </developer>
      </developers>
      <ciManagement>
        <system>GitHub Actions</system>
        <url>https://github.com/google/guava/actions</url>
    XML
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Mar 12 20:26:18 GMT 2024
    - 19.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/io/Files.java

           */
          return;
        }
        parent.mkdirs();
        if (!parent.isDirectory()) {
          throw new IOException("Unable to create parent directories of " + file);
        }
      }
    
      /**
       * Moves a file from one path to another. This method can rename a file and/or move it to a
       * different directory. In either case {@code to} must be the target path for the file itself; not
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/IterablesTest.java

        assertEquals("bar", Iterables.getLast(iterable, "qux"));
      }
    
      /**
       * {@link ArrayList} extension that forbids the use of {@link Collection#iterator} for tests that
       * need to prove that it isn't called.
       */
      private static class DiesOnIteratorArrayList extends ArrayList<String> {
        /** @throws UnsupportedOperationException all the time */
        @Override
        public Iterator<String> iterator() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 46K bytes
    - Viewed (0)
  10. guava/src/com/google/common/base/Preconditions.java

        }
      }
    
      /*
       * Preconditions.checkNotNull is *intended* for performing eager null checks on parameters that a
       * nullness checker can already "prove" are non-null. That means that the first parameter to
       * checkNotNull *should* be annotated to require it to be non-null.
       *
       * However, for a variety of reasons, Google developers have written a ton of code over the past
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Feb 14 15:46:55 GMT 2024
    - 52.9K bytes
    - Viewed (0)
Back to top