Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 117 for 11 (0.12 sec)

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

       * otherwise the default value of 11 is returned.
       */
      static int inferDistinctElements(Iterable<?> elements) {
        if (elements instanceof Multiset) {
          return ((Multiset<?>) elements).elementSet().size();
        }
        return 11; // initial capacity will be rounded up to 16
      }
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ImmutableSortedMultisetTest.java

          return Integer.toString(value);
        }
      }
    
      public void testCopyOfDuplicateInconsistentWithEquals() {
        IntegerDiv10 three = new IntegerDiv10(3);
        IntegerDiv10 eleven = new IntegerDiv10(11);
        IntegerDiv10 twelve = new IntegerDiv10(12);
        IntegerDiv10 twenty = new IntegerDiv10(20);
    
        List<IntegerDiv10> original = ImmutableList.of(three, eleven, twelve, twenty);
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 19.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/hash/BloomFilterTest.java

            bitArray.bitSize() > 0);
    
        // Ideally we would also test the bitSize() overflow of this BF, but it runs out of heap space
        // BloomFilter.create(Funnels.unencodedCharsFunnel(), 244412641, 1e-11);
      }
    
      /**
       * Asserts that {@link BloomFilter#approximateElementCount} is within 1 percent of the expected
       * value.
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Nov 09 22:49:56 GMT 2023
    - 21.3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java

        for (int i = 0; i < 11; i++) {
          assertEquals(rootLocaleFormat(format, i), factory.newThread(monitoredRunnable).getName());
        }
      }
    
      public void testNameFormatWithPercentD_custom() {
        String format = "super-duper-thread-%d";
        ThreadFactory factory = builder.setNameFormat(format).build();
        for (int i = 0; i < 11; i++) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 7.5K bytes
    - Viewed (0)
  5. guava-tests/benchmark/com/google/common/collect/SetCreationBenchmark.java

     * {@code Set} implementations.
     *
     * @author Christopher Swenson
     */
    public class SetCreationBenchmark {
      @Param({
        "3", "6", "11", "23", "45", "91", "181", "362", "724", "1448", "2896", "5793", "11585", "23170",
        "46341", "92682", "185364", "370728", "741455", "1482910", "2965821", "5931642"
      })
      private int size;
    
      // "" means no fixed seed
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 1.8K bytes
    - Viewed (0)
  6. android/guava-tests/benchmark/com/google/common/collect/SetIterationBenchmark.java

    import java.util.Set;
    
    /**
     * Test iteration speed at various size for {@link Set} instances.
     *
     * @author Christopher Swenson
     */
    public class SetIterationBenchmark {
      @Param({
        "3", "6", "11", "23", "45", "91", "181", "362", "724", "1448", "2896", "5793", "11585", "23170",
        "46341", "92682", "185364", "370728", "741455", "1482910", "2965821", "5931642"
      })
      private int size;
    
      // "" means no fixed seed
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 1.9K bytes
    - Viewed (0)
  7. android/pom.xml

        </profile>
        <profile>
          <id>run-error-prone</id>
          <activation>
            <!--
            Error Prone requires 11+: https://errorprone.info/docs/installation
            We skip 12-15 because of https://github.com/google/error-prone/issues/3540.
            -->
            <jdk>[11,12),[16,)</jdk>
          </activation>
          <build>
            <plugins>
              <plugin>
    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-tests/test/com/google/common/reflect/ClassPathTest.java

            .isEqualTo(new File("/c:/Documents and Settings/"));
        assertThat(ClassPath.toFile(new URL("file:///c:/Documents ~ Settings, or not/11-12 12:05")))
            .isEqualTo(new File("/c:/Documents ~ Settings, or not/11-12 12:05"));
      }
    
      // https://github.com/google/guava/issues/2152
      @AndroidIncompatible // works in newer Android versions but fails at the version we test with
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Apr 26 14:02:27 GMT 2024
    - 24.9K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/ImmutableSortedMultisetTest.java

          return Integer.toString(value);
        }
      }
    
      public void testCopyOfDuplicateInconsistentWithEquals() {
        IntegerDiv10 three = new IntegerDiv10(3);
        IntegerDiv10 eleven = new IntegerDiv10(11);
        IntegerDiv10 twelve = new IntegerDiv10(12);
        IntegerDiv10 twenty = new IntegerDiv10(20);
    
        List<IntegerDiv10> original = ImmutableList.of(three, eleven, twelve, twenty);
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/primitives/ImmutableIntArray.java

      public static ImmutableIntArray of(int e0, int e1, int e2, int e3, int e4, int e5) {
        return new ImmutableIntArray(new int[] {e0, e1, e2, e3, e4, e5});
      }
    
      // TODO(kevinb): go up to 11?
    
      /**
       * Returns an immutable array containing the given values, in order.
       *
       * <p>The array {@code rest} must not be longer than {@code Integer.MAX_VALUE - 1}.
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 16:34:24 GMT 2023
    - 18.9K bytes
    - Viewed (0)
Back to top