Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 1,846 for _arrays (0.35 sec)

  1. guava-testlib/src/com/google/common/collect/testing/google/ListMultimapRemoveTester.java

    import com.google.common.collect.ListMultimap;
    import com.google.common.collect.testing.features.CollectionSize;
    import com.google.common.collect.testing.features.MapFeature;
    import java.util.Arrays;
    import java.util.Collection;
    import java.util.List;
    import java.util.Map.Entry;
    import org.junit.Ignore;
    
    /**
     * Testers for {@link ListMultimap#remove(Object, Object)}.
     *
     * @author Louis Wasserman
     */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  2. subprojects/core/src/test/groovy/org/gradle/internal/classpath/ClasspathWalkerTest.groovy

                assert entry.path.toString() == "a.class"
                assert Arrays.equals(entry.content, "a".bytes)
            }
            1 * visitor.visit({ it.name == "a/b/c.class" }) >> { ClasspathEntryVisitor.Entry entry ->
                assert entry.path.toString() == "a/b/c.class"
                assert Arrays.equals(entry.content, "c".bytes)
            }
            0 * visitor._
        }
    
        def "visits files of zip"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 20 11:15:22 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/google/MultimapReplaceValuesTester.java

      public void testReplaceValuesWithNullValue() {
        List<V> values = Arrays.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 = Arrays.asList(v0(), v2(), v3());
        multimap().replaceValues(null, values);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/CompoundOrdering.java

          CompoundOrdering<?> that = (CompoundOrdering<?>) object;
          return Arrays.equals(this.comparators, that.comparators);
        }
        return false;
      }
    
      @Override
      public int hashCode() {
        return Arrays.hashCode(comparators);
      }
    
      @Override
      public String toString() {
        return "Ordering.compound(" + Arrays.toString(comparators) + ")";
      }
    
      private static final long serialVersionUID = 0;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/toolingApi/customModel/groovy/plugin/src/main/java/org/gradle/sample/plugin/DefaultModel.java

    package org.gradle.sample.plugin;
    
    import java.io.Serializable;
    import java.lang.String;
    import java.util.List;
    import java.util.Arrays;
    
    /**
     * This is the implementation of the custom tooling model. It must be serializable and must have methods and properties that
     * are compatible with the custom tooling model interface. It may or may not implement the custom tooling model interface.
     */
    public class DefaultModel implements Serializable {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 599 bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionToArrayTester.java

            "toArray(sameSizeE[]) should return the given array", array, collection.toArray(array));
        expectArrayContentsInOrder(getOrderedElements(), array);
      }
    
      public void testToArray_rightSizedArrayOfObject() {
        Object[] array = new Object[getNumElements()];
        assertSame(
            "toArray(sameSizeObject[]) should return the given array",
            array,
            collection.toArray(array));
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/hash/Crc32cHashFunctionTest.java

      public void testZeros() {
        // Test 32 byte array of 0x00.
        byte[] zeros = new byte[32];
        assertCrc(0x8a9136aa, zeros);
      }
    
      public void testZeros100() {
        // Test 100 byte array of 0x00.
        byte[] zeros = new byte[100];
        assertCrc(0x07cb9ff6, zeros);
      }
    
      public void testFull() {
        // Test 32 byte array of 0xFF.
        byte[] fulls = new byte[32];
        Arrays.fill(fulls, (byte) 0xFF);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Dec 23 18:30:33 UTC 2020
    - 6.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/flatbuffer_translate.cc

        llvm::cl::init(false));
    
    // NOLINTNEXTLINE
    static opt<std::string> input_arrays_flag(
        "input-arrays",
        llvm::cl::desc(
            "List of input tensors, if different from the default inputs"),
        llvm::cl::init(""));
    
    // NOLINTNEXTLINE
    static opt<std::string> output_arrays_flag(
        "output-arrays",
        llvm::cl::desc(
            "List of output tensors, if different from the default outputs"),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 14 19:15:40 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/Predicates.java

        // TODO(kevinb): understand why we still get a warning despite @SafeVarargs!
        return Arrays.<Predicate<? super T>>asList(first, second);
      }
    
      private static <T> List<T> defensiveCopy(T... array) {
        return defensiveCopy(Arrays.asList(array));
      }
    
      static <T> List<T> defensiveCopy(Iterable<T> iterable) {
        ArrayList<T> list = new ArrayList<>();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:49:48 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  10. platforms/software/reporting/src/main/java/org/gradle/api/reporting/GenerateBuildDashboard.java

         * }
         * </pre>
         *
         * @param reportings an array of {@link Reporting} instances that are to be aggregated
         */
        @SuppressWarnings("unchecked")
        // TODO Use @SafeVarargs and make method final
        public void aggregate(Reporting<? extends ReportContainer<?>>... reportings) {
            aggregated.addAll(Arrays.asList(reportings));
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 22 11:30:12 UTC 2024
    - 7.2K bytes
    - Viewed (0)
Back to top