Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for vertices (0.2 sec)

  1. guava-tests/test/com/google/common/math/LinearTransformationTest.java

        double x = 1.2;
        LinearTransformation transformation = LinearTransformation.vertical(x);
        assertVerticalLinearTransformation(transformation, x);
      }
    
      public void testVertical_infiniteX() {
        assertThrows(
            IllegalArgumentException.class,
            () -> LinearTransformation.vertical(Double.NEGATIVE_INFINITY));
      }
    
      public void testVertical_nanX() {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 7.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/math/LinearTransformationTest.java

        double x = 1.2;
        LinearTransformation transformation = LinearTransformation.vertical(x);
        assertVerticalLinearTransformation(transformation, x);
      }
    
      public void testVertical_infiniteX() {
        assertThrows(
            IllegalArgumentException.class,
            () -> LinearTransformation.vertical(Double.NEGATIVE_INFINITY));
      }
    
      public void testVertical_nanX() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 7.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/math/PairedStatsTest.java

            HORIZONTAL_VALUES_PAIRED_STATS.leastSquaresFit(),
            HORIZONTAL_VALUES_PAIRED_STATS.yStats().mean());
        assertVerticalLinearTransformation(
            VERTICAL_VALUES_PAIRED_STATS.leastSquaresFit(),
            VERTICAL_VALUES_PAIRED_STATS.xStats().mean());
        assertThrows(IllegalStateException.class, () -> CONSTANT_VALUES_PAIRED_STATS.leastSquaresFit());
      }
    
      public void testEqualsAndHashCode() {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 14K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/math/PairedStatsTest.java

            HORIZONTAL_VALUES_PAIRED_STATS.leastSquaresFit(),
            HORIZONTAL_VALUES_PAIRED_STATS.yStats().mean());
        assertVerticalLinearTransformation(
            VERTICAL_VALUES_PAIRED_STATS.leastSquaresFit(),
            VERTICAL_VALUES_PAIRED_STATS.xStats().mean());
        assertThrows(IllegalStateException.class, () -> CONSTANT_VALUES_PAIRED_STATS.leastSquaresFit());
      }
    
      public void testEqualsAndHashCode() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 14K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/math/StatsTesting.java

          createPairedStatsOf(MANY_VALUES, OTHER_MANY_VALUES);
      static final PairedStats HORIZONTAL_VALUES_PAIRED_STATS = buildHorizontalValuesPairedStats();
      static final PairedStats VERTICAL_VALUES_PAIRED_STATS = buildVerticalValuesPairedStats();
      static final PairedStats CONSTANT_VALUES_PAIRED_STATS = buildConstantValuesPairedStats();
    
      private static PairedStats buildManyValuesPairedStats() {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Nov 09 22:49:56 GMT 2023
    - 23.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/Service.java

    import java.util.concurrent.TimeoutException;
    
    /**
     * An object with an operational state, plus asynchronous {@link #startAsync()} and {@link
     * #stopAsync()} lifecycle methods to transition between states. Example services include
     * webservers, RPC servers and timers.
     *
     * <p>The normal lifecycle of a service is:
     *
     * <ul>
     *   <li>{@linkplain State#NEW NEW} -&gt;
     *   <li>{@linkplain State#STARTING STARTING} -&gt;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 10.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java

       * </pre>
       *
       * Before going into the details of this particular function, let's keep in mind the basics:
       *
       * <ol>
       *   <li>The state of the RateLimiter (storedPermits) is a vertical line in this figure.
       *   <li>When the RateLimiter is not used, this goes right (up to maxPermits)
       *   <li>When the RateLimiter is used, this goes left (down to zero), since if we have
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 19.3K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

       */
      public void testTransitionRace() throws TimeoutException {
        for (int k = 0; k < 1000; k++) {
          List<Service> services = Lists.newArrayList();
          for (int i = 0; i < 5; i++) {
            services.add(new SnappyShutdownService(i));
          }
          ServiceManager manager = new ServiceManager(services);
          manager.startAsync().awaitHealthy();
          manager.stopAsync().awaitStopped(10, TimeUnit.SECONDS);
        }
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 02 17:20:27 GMT 2023
    - 23.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/math/PairedStats.java

       * xStats().populationVariance() > 0.0 || yStats().populationVariance() > 0.0}). The result is
       * guaranteed to be horizontal if there is variance in the {@code x} data but not the {@code y}
       * data, and vertical if there is variance in the {@code y} data but not the {@code x} data.
       *
       * <p>This fit minimizes the root-mean-square error in {@code y} as a function of {@code x}. This
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 17:02:53 GMT 2023
    - 12.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/net/InetAddresses.java

    /**
     * Static utility methods pertaining to {@link InetAddress} instances.
     *
     * <p><b>Important note:</b> Unlike {@code InetAddress.getByName()}, the methods of this class never
     * cause DNS services to be accessed. For this reason, you should prefer these methods as much as
     * possible over their JDK equivalents whenever you are expecting to handle only IP address string
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 44K bytes
    - Viewed (1)
Back to top