Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 442 for INSTANCES (0.06 sec)

  1. android/guava-testlib/test/com/google/common/testing/EqualsTesterTest.java

      public void testAddNullReference() {
        assertThrows(NullPointerException.class, () -> equalsTester.addEqualityGroup((Object) null));
      }
    
      /** Test equalObjects after adding multiple instances at once with a null */
      public void testAddTwoEqualObjectsAtOnceWithNull() {
        assertThrows(
            NullPointerException.class,
            () -> equalsTester.addEqualityGroup(reference, equalObject1, null));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/math/PairedStatsAccumulatorTest.java

    import junit.framework.TestCase;
    
    /**
     * Tests for {@link PairedStatsAccumulator}. This tests the stats methods for instances built with
     * {@link PairedStatsAccumulator#add}, and various error cases of that method. For tests of the
     * {@link PairedStatsAccumulator#snapshot} method which returns {@link PairedStats} instances, see
     * {@link PairedStatsTest}.
     *
     * @author Pete Gillin
     */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 03 21:17:33 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/MinMaxPriorityQueue.java

          Iterable<? extends E> initialContents) {
        return new Builder<E>(Ordering.<E>natural()).create(initialContents);
      }
    
      /**
       * Creates and returns a new builder, configured to build {@code MinMaxPriorityQueue} instances
       * that use {@code comparator} to determine the least and greatest elements.
       */
      /*
       * TODO(cpovirk): Change to Comparator<? super B> to permit Comparator<@Nullable ...> and
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  4. .github/workflows/multipart/docker-compose-site2.yaml

      image: quay.io/minio/minio:${RELEASE}
      command: server http://site2-minio{1...4}/data{1...2}
      environment:
        - MINIO_PROMETHEUS_AUTH_TYPE=public
        - CI=true
    
    # starts 4 docker containers running minio server instances.
    # using nginx reverse proxy, load balancing, you can access
    # it through port 9000.
    services:
      site2-minio1:
        <<: *minio-common
        hostname: site2-minio1
        volumes:
          - site2-data1-1:/data1
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Sep 30 10:13:56 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/ResponseJvmTest.kt

        assertFailsWith<IllegalStateException> {
          response.peekBody(3)
        }
      }
    
      /**
       * Returns a new response body that refuses to be read once it has been closed. This is true of
       * most [BufferedSource] instances, but not of [Buffer].
       */
      private fun responseBody(content: String): ResponseBody {
        val data = Buffer().writeUtf8(content)
        val source: Source =
          object : Source {
            var closed = false
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/AbstractListeningExecutorService.java

    import java.util.concurrent.RunnableFuture;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Abstract {@link ListeningExecutorService} implementation that creates {@link ListenableFuture}
     * instances for each {@link Runnable} and {@link Callable} submitted to it. These tasks are run
     * with the abstract {@link #execute execute(Runnable)} method.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 18:32:03 UTC 2023
    - 3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/AbstractListeningExecutorService.java

    import java.util.concurrent.RunnableFuture;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Abstract {@link ListeningExecutorService} implementation that creates {@link ListenableFuture}
     * instances for each {@link Runnable} and {@link Callable} submitted to it. These tasks are run
     * with the abstract {@link #execute execute(Runnable)} method.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 18:32:03 UTC 2023
    - 3K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/google/MultisetIteratorTester.java

          @Override
          protected Iterator<E> newTargetIterator() {
            return getSubjectGenerator().create(e0(), e1(), e1(), e2()).iterator();
          }
        }.test();
      }
    
      /**
       * Returns {@link Method} instances for the tests that assume multisets support duplicates so that
       * the test of {@code Multisets.forSet()} can suppress them.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ImmutableEnumMap.java

      private void readObject(ObjectInputStream stream) throws InvalidObjectException {
        throw new InvalidObjectException("Use EnumSerializedForm");
      }
    
      /*
       * This class is used to serialize ImmutableEnumMap instances.
       */
      @J2ktIncompatible // serialization
      private static class EnumSerializedForm<K extends Enum<K>, V> implements Serializable {
        final EnumMap<K, V> delegate;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilderFactory.java

    import static java.util.Objects.requireNonNull;
    
    /**
     * A factory to create model builder instances when no dependency injection is available. Note: This class is
     * only meant as a utility for developers that want to employ the model builder outside the Maven build system, Maven
     * plugins should always acquire model builder instances via dependency injection. Developers might want to subclass
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17.6K bytes
    - Viewed (0)
Back to top