Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for Wrappers$ (0.06 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. internal/kms/conn.go

    	"encoding/json"
    	"strconv"
    
    	jsoniter "github.com/json-iterator/go"
    	"github.com/minio/madmin-go/v3"
    )
    
    // conn represents a connection to a KMS implementation.
    // It's implemented by the MinKMS and KES client wrappers
    // and the static / single key KMS.
    type conn interface {
    	// Version returns version information about the KMS.
    	//
    	// TODO(aead): refactor this API call. It does not account
    	// for multiple endpoints.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/Equivalence.java

        /*
         * Equivalence's type argument is always non-nullable: Equivalence<Number>, never
         * Equivalence<@Nullable Number>. That can still produce wrappers of various types --
         * Wrapper<Number>, Wrapper<Integer>, Wrapper<@Nullable Integer>, etc. If we used just
         * Equivalence<? super T> below, no type could satisfy both that bound and T's own
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu May 16 14:34:47 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top