Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 202 for nome (0.6 sec)

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

        return CollectCollectors.flatteningToImmutableSetMultimap(keyFunction, valuesFunction);
      }
    
      /**
       * Returns the empty multimap.
       *
       * <p><b>Performance note:</b> the instance returned is a singleton.
       */
      // Casting is safe because the multimap will never hold any elements.
      @SuppressWarnings("unchecked")
      public static <K, V> ImmutableSetMultimap<K, V> of() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/math/LongMath.java

         *          {@link LongMathTest#testSqrtOfPerfectSquareAsDoubleIsPerfect}
         */
        long guess = (long) Math.sqrt((double) x);
        // Note: guess is always <= FLOOR_SQRT_MAX_LONG.
        long guessSquared = guess * guess;
        // Note (2013-2-26): benchmarks indicate that, inscrutably enough, using if statements is
        // faster here than using lessThanBranchFree.
        switch (mode) {
          case UNNECESSARY:
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 44.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/ListsImplTest.java

      public abstract static class ListExample {
    
        private final String name;
        private final Modifiability modifiability;
    
        protected ListExample(String name, Modifiability modifiability) {
          this.name = name;
          this.modifiability = modifiability;
        }
    
        /** Gets the name of the example */
        public String getName() {
          return name;
        }
    
        /** Creates a new list with the given contents. */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 16:35:21 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/graph/NetworkMutationTest.java

    import org.junit.runners.JUnit4;
    
    /** Tests for repeated node and edge addition and removal in a {@link Network}. */
    @RunWith(JUnit4.class)
    
    public final class NetworkMutationTest {
      private static final int NUM_TRIALS = 5;
      private static final int NUM_NODES = 20;
      private static final int NUM_EDGES = 100;
      private static final int NODE_POOL_SIZE = 1000; // must be >> NUM_NODES
    
      @Test
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 10 19:42:18 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/io/BaseEncoding.java

        }
    
        private Alphabet(String name, char[] chars, byte[] decodabet, boolean ignoreCase) {
          this.name = checkNotNull(name);
          this.chars = checkNotNull(chars);
          try {
            this.bitsPerChar = log2(chars.length, UNNECESSARY);
          } catch (ArithmeticException e) {
            throw new IllegalArgumentException("Illegal alphabet length " + chars.length, e);
          }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Mar 15 16:33:32 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

     */
    
    package com.google.common.util.concurrent;
    
    import static com.google.common.base.StandardSystemProperty.JAVA_SPECIFICATION_VERSION;
    import static com.google.common.base.StandardSystemProperty.OS_NAME;
    import static com.google.common.truth.Truth.assertThat;
    import static com.google.common.truth.Truth.assertWithMessage;
    import static com.google.common.util.concurrent.MoreExecutors.directExecutor;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 46.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

            succ = curr.next;
            if (curr.thread != null) { // we aren't unlinking this node, update pred.
              pred = curr;
            } else if (pred != null) { // We are unlinking this node and it has a predecessor.
              pred.next = succ;
              if (pred.thread == null) { // We raced with another node that unlinked pred. Restart.
                continue restart;
              }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/features/CollectionFeature.java

       * documentation for {@link Collection}:
       *
       * <blockquote>
       *
       * "Some collection implementations have restrictions on the elements that they may contain. For
       * example, some implementations prohibit null elements, and some have restrictions on the types
       * of their elements."
       *
       * </blockquote>
       */
      RESTRICTS_ELEMENTS,
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/base/ToStringHelperTest.java

        assertTrue(toTest, toTest.matches(".*\\{\\}"));
      }
    
      @GwtIncompatible // Class names are obfuscated in GWT
      public void testToStringHelper_moreThanNineAnonymousClasses() {
        // The nth anonymous class has a name ending like "Outer.$n"
        Object unused1 = new Object() {};
        Object unused2 = new Object() {};
        Object unused3 = new Object() {};
        Object unused4 = new Object() {};
        Object unused5 = new Object() {};
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:24:55 GMT 2024
    - 15.6K bytes
    - Viewed (0)
  10. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSet.java

        Collections.addAll(all, e1, e2, e3, e4, e5, e6);
        Collections.addAll(all, others);
        return copyOf(all.iterator());
      }
    
      /** ImmutableSet.of API that is friendly to use from JavaScript. */
      @JsMethod(name = "of")
      static <E> ImmutableSet<E> jsOf(E... elements) {
        return copyOf(elements);
      }
    
      @JsMethod
      public static <E> ImmutableSet<E> copyOf(E[] elements) {
        checkNotNull(elements);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 23 18:43:40 GMT 2024
    - 8.3K bytes
    - Viewed (0)
Back to top