Search Options

Results per page
Sort
Preferred Languages
Advance

Results 261 - 270 of 1,097 for asdict (0.04 sec)

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

     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import static com.google.common.truth.Truth.assertThat;
    import static java.lang.Math.max;
    import static java.util.Arrays.asList;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.collect.testing.SetTestSuiteBuilder;
    import com.google.common.collect.testing.TestStringSetGenerator;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionToArrayTester.java

        assertEqualIgnoringOrder(asList(expected), asList(actual));
      }
    
      private void expectArrayContentsInOrder(List<E> expected, Object[] actual) {
        assertEquals("toArray() ordered contents: ", expected, asList(actual));
      }
    
      /**
       * Returns the {@link Method} instance for {@link #testToArray_isPlainObjectArray()} so that tests
       * of {@link Arrays#asList(Object[])} can suppress it with {@code
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  3. guava-testlib/test/com/google/common/collect/testing/OpenJdk6SetTests.java

      }
    
      @Override
      protected Collection<Method> suppressForTreeSetNatural() {
        return asList(
            getAddNullUnsupportedMethod(),
            getAddAllNullUnsupportedMethod(),
            getCreateWithNullUnsupportedMethod());
      }
    
      @Override
      protected Collection<Method> suppressForCheckedSet() {
        return asList(getAddNullSupportedMethod(), getAddSupportedNullPresentMethod());
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  4. android/guava-testlib/test/com/google/common/collect/testing/OpenJdk6ListTests.java

        return new OpenJdk6ListTests().allTests();
      }
    
      @Override
      protected Collection<Method> suppressForArraysAsList() {
        return asList(getToArrayIsPlainObjectArrayMethod());
      }
    
      @Override
      protected Collection<Method> suppressForCheckedList() {
        return asList(
            CollectionAddTester.getAddNullSupportedMethod(),
            getAddSupportedNullPresentMethod(),
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  5. android/guava-tests/benchmark/com/google/common/util/concurrent/StripedBenchmark.java

        for (int i = 0; i < numStripes; i++) {
          stripes[i] = i;
        }
        List<Integer> asList = Ints.asList(stripes);
        Collections.shuffle(asList, new Random(0xdeadbeef));
    
        // do bulk gets with exactly 10 keys (possibly <10 stripes) (or less if numStripes is smaller)
        bulkGetSet = ImmutableList.copyOf(limit(cycle(asList), 10));
      }
    
      @Footprint
      Object sizeOfStriped() {
        return impl.get(numStripes);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4K bytes
    - Viewed (0)
  6. guava-tests/benchmark/com/google/common/util/concurrent/StripedBenchmark.java

        for (int i = 0; i < numStripes; i++) {
          stripes[i] = i;
        }
        List<Integer> asList = Ints.asList(stripes);
        Collections.shuffle(asList, new Random(0xdeadbeef));
    
        // do bulk gets with exactly 10 keys (possibly <10 stripes) (or less if numStripes is smaller)
        bulkGetSet = ImmutableList.copyOf(limit(cycle(asList), 10));
      }
    
      @Footprint
      Object sizeOfStriped() {
        return impl.get(numStripes);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4K bytes
    - Viewed (0)
  7. android/guava-testlib/test/com/google/common/collect/testing/OpenJdk6SetTests.java

      }
    
      @Override
      protected Collection<Method> suppressForTreeSetNatural() {
        return asList(
            getAddNullUnsupportedMethod(),
            getAddAllNullUnsupportedMethod(),
            getCreateWithNullUnsupportedMethod());
      }
    
      @Override
      protected Collection<Method> suppressForCheckedSet() {
        return asList(getAddNullSupportedMethod(), getAddSupportedNullPresentMethod());
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/hash/HashingTest.java

        new EqualsTester()
            .addEqualityGroup(Hashing.concatenating(asList(Hashing.md5())))
            .addEqualityGroup(Hashing.concatenating(asList(Hashing.murmur3_32())))
            .addEqualityGroup(
                Hashing.concatenating(Hashing.md5(), Hashing.md5()),
                Hashing.concatenating(asList(Hashing.md5(), Hashing.md5())))
            .addEqualityGroup(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 09 17:40:09 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  9. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/HtmlToXmlJavadocLexer.java

                if (name.equals("li")) {
                    unwindTo(Arrays.asList("ul", "ol"), visitor);
                } else if (name.equals("dt") || name.endsWith("dd")) {
                    unwindTo(Arrays.asList("dl"), visitor);
                } else if (name.equals("tr")) {
                    unwindTo(Arrays.asList("table", "thead", "tbody"), visitor);
                } else if (name.equals("th") || name.endsWith("td")) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 5.8K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/google/MultimapReplaceValuesTester.java

      public void testReplaceValuesWithNullValue() {
        List<V> values = asList(v0(), null, v3());
        multimap().replaceValues(k0(), values);
        assertGet(k0(), values);
      }
    
      @MapFeature.Require({SUPPORTS_PUT, SUPPORTS_REMOVE, ALLOWS_NULL_KEYS})
      public void testReplaceValuesWithNullKey() {
        List<V> values = asList(v0(), v2(), v3());
        multimap().replaceValues(null, values);
        assertGet(null, values);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.1K bytes
    - Viewed (0)
Back to top