Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for Wrappers$ (0.12 sec)

  1. android/guava-tests/test/com/google/common/primitives/PrimitivesTest.java

                void.class);
    
        assertThrows(UnsupportedOperationException.class, () -> primitives.remove(boolean.class));
      }
    
      public void testAllWrapperTypes() {
        Set<Class<?>> wrappers = Primitives.allWrapperTypes();
        assertThat(wrappers)
            .containsExactly(
                Boolean.class,
                Byte.class,
                Character.class,
                Double.class,
                Float.class,
                Integer.class,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/primitives/PrimitivesTest.java

                void.class);
    
        assertThrows(UnsupportedOperationException.class, () -> primitives.remove(boolean.class));
      }
    
      public void testAllWrapperTypes() {
        Set<Class<?>> wrappers = Primitives.allWrapperTypes();
        assertThat(wrappers)
            .containsExactly(
                Boolean.class,
                Byte.class,
                Character.class,
                Double.class,
                Float.class,
                Integer.class,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/MultisetsCollectionTest.java

    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.List;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    
    /**
     * Collection tests on wrappers from {@link Multisets}.
     *
     * @author Jared Levy
     */
    @GwtIncompatible // suite // TODO(cpovirk): set up collect/gwt/suites version
    public class MultisetsCollectionTest extends TestCase {
      public static Test suite() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

    @ElementTypesAreNonnullByDefault
    public final class ForwardingWrapperTester {
    
      private boolean testsEquals = false;
    
      /**
       * Asks for {@link Object#equals} and {@link Object#hashCode} to be tested. That is, forwarding
       * wrappers of equal instances should be equal.
       */
      @CanIgnoreReturnValue
      public ForwardingWrapperTester includingEquals() {
        this.testsEquals = true;
        return this;
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/MultisetsCollectionTest.java

    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.List;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    
    /**
     * Collection tests on wrappers from {@link Multisets}.
     *
     * @author Jared Levy
     */
    @GwtIncompatible // suite // TODO(cpovirk): set up collect/gwt/suites version
    public class MultisetsCollectionTest extends TestCase {
      public static Test suite() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

    @ElementTypesAreNonnullByDefault
    public final class ForwardingWrapperTester {
    
      private boolean testsEquals = false;
    
      /**
       * Asks for {@link Object#equals} and {@link Object#hashCode} to be tested. That is, forwarding
       * wrappers of equal instances should be equal.
       */
      @CanIgnoreReturnValue
      public ForwardingWrapperTester includingEquals() {
        this.testsEquals = true;
        return this;
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  7. tensorflow/c/eager/parallel_device/parallel_device_lib.h

     private:
      // A sequence of device names, indicating which devices replicated operations
      // are forwarded to.
      const std::vector<std::string> underlying_devices_;
      // A sequence of thread wrappers, one per device, for executing operations in
      // parallel.
      //
      // Conceptually this is a thread pool with one thread per device. It requires
      // less synchronization than a thread pool would for this task, since Execute
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Mon Oct 21 04:14:14 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/AbstractImmutableSetTest.java

       * single-threaded.
       */
      @GwtIncompatible // GWT is single threaded
      public void testCopyOf_threadSafe() {
        /*
         * The actual collections that we pass as inputs will be wrappers around these, so
         * ImmutableSet.copyOf won't short-circuit because it won't see an ImmutableSet input.
         */
        ImmutableList<ImmutableSet<String>> distinctCandidatesByAscendingSize =
            ImmutableList.of(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java

    import java.util.Map.Entry;
    import java.util.Set;
    import java.util.TreeSet;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    
    /**
     * Run collection tests on wrappers from {@link Multimaps}.
     *
     * @author Jared Levy
     */
    @GwtIncompatible // suite // TODO(cpovirk): set up collect/gwt/suites version
    public class MultimapsCollectionTest extends TestCase {
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java

    import java.util.Map.Entry;
    import java.util.Set;
    import java.util.TreeSet;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    
    /**
     * Run collection tests on wrappers from {@link Multimaps}.
     *
     * @author Jared Levy
     */
    @GwtIncompatible // suite // TODO(cpovirk): set up collect/gwt/suites version
    public class MultimapsCollectionTest extends TestCase {
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 28.9K bytes
    - Viewed (0)
Back to top