Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 224 for Sean (0.13 sec)

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

          }
        }
        assertThat(MANY_VALUES_STATS_ITERABLE.mean()).isWithin(ALLOWED_ERROR).of(MANY_VALUES_MEAN);
        assertThat(MANY_VALUES_STATS_ITERATOR.mean()).isWithin(ALLOWED_ERROR).of(MANY_VALUES_MEAN);
        assertThat(MANY_VALUES_STATS_SNAPSHOT.mean()).isWithin(ALLOWED_ERROR).of(MANY_VALUES_MEAN);
        assertThat(LARGE_VALUES_STATS.mean())
            .isWithin(ALLOWED_ERROR * Double.MAX_VALUE)
            .of(LARGE_VALUES_MEAN);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 28.4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/math/StatsTesting.java

              + (-22.0 - INTEGER_MANY_VALUES_MEAN) * (-22.0 - INTEGER_MANY_VALUES_MEAN)
              + (3333.0 - INTEGER_MANY_VALUES_MEAN) * (3333.0 - INTEGER_MANY_VALUES_MEAN)
              + (-4444.0 - INTEGER_MANY_VALUES_MEAN) * (-4444.0 - INTEGER_MANY_VALUES_MEAN)
              + (555555.0 - INTEGER_MANY_VALUES_MEAN) * (555555.0 - INTEGER_MANY_VALUES_MEAN);
      static final double INTEGER_MANY_VALUES_MAX = 555555.0;
    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)
  3. android/guava-tests/test/com/google/common/math/DoubleMathTest.java

          DoubleMath.mean(Double.POSITIVE_INFINITY);
          fail("Expected IllegalArgumentException");
        } catch (IllegalArgumentException expected) {
        }
      }
    
      @GwtIncompatible // DoubleMath.mean
      public void testMean_intVarargs() {
        assertEquals(-13.75, DoubleMath.mean(11, -22, 44, -88), 1.0e-10);
        assertEquals(11.0, DoubleMath.mean(11), 1.0e-10);
      }
    
      @GwtIncompatible // DoubleMath.mean
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 28.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/math/StatsAccumulatorTest.java

        assertThat(twoValuesAccumulatorByAddAllStats.mean())
            .isWithin(ALLOWED_ERROR)
            .of(TWO_VALUES_MEAN);
        assertThat(manyValuesAccumulatorByAddAllIterable.mean())
            .isWithin(ALLOWED_ERROR)
            .of(MANY_VALUES_MEAN);
        assertThat(manyValuesAccumulatorByAddAllIterator.mean())
            .isWithin(ALLOWED_ERROR)
            .of(MANY_VALUES_MEAN);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 34K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/math/DoubleMath.java

       */
      @Deprecated
      public static double mean(long... values) {
        checkArgument(values.length > 0, "Cannot take mean of 0 values");
        long count = 1;
        double mean = values[0];
        for (int index = 1; index < values.length; ++index) {
          count++;
          // Art of Computer Programming vol. 2, Knuth, 4.2.2, (15)
          mean += (values[index] - mean) / count;
        }
        return mean;
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 18.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/math/StatsAccumulator.java

          }
        } else {
          count++;
          if (isFinite(value) && isFinite(mean)) {
            // Art of Computer Programming vol. 2, Knuth, 4.2.2, (15) and (16)
            double delta = value - mean;
            mean += delta / count;
            sumOfSquaresOfDeltas += delta * (value - mean);
          } else {
            mean = calculateNewMeanNonFinite(mean, value);
            sumOfSquaresOfDeltas = NaN;
          }
          min = Math.min(min, value);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 17:02:53 GMT 2023
    - 14.2K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/configuration/BeanConfigurationRequest.java

    /**
     * A request to configure a bean from some configuration in the POM or similar.
     *
     */
    public interface BeanConfigurationRequest {
    
        /**
         * Gets the bean to configure. Eventually, a valid request must have a bean set.
         *
         * @return The bean to configure, or {@code null} if none.
         */
        Object getBean();
    
        /**
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  8. maven-core/src/test/java/org/apache/maven/session/scope/SessionScopeProxyTest.java

            MySingletonBean bean = container.lookup(MySingletonBean.class);
            assertNotNull(bean);
            assertNotNull(bean.anotherBean);
            assertSame(bean.anotherBean.getClass(), AnotherBean.class);
            assertNotNull(bean.myBean);
            assertNotSame(bean.myBean.getClass(), MySessionScopedBean.class);
    
            assertThrows(OutOfScopeException.class, () -> bean.myBean.getSession());
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Apr 23 12:52:20 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/math/DoubleMathTest.java

          DoubleMath.mean(Double.POSITIVE_INFINITY);
          fail("Expected IllegalArgumentException");
        } catch (IllegalArgumentException expected) {
        }
      }
    
      @GwtIncompatible // DoubleMath.mean
      public void testMean_intVarargs() {
        assertEquals(-13.75, DoubleMath.mean(11, -22, 44, -88), 1.0e-10);
        assertEquals(11.0, DoubleMath.mean(11), 1.0e-10);
      }
    
      @GwtIncompatible // DoubleMath.mean
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 28.1K bytes
    - Viewed (0)
  10. maven-core/src/test/java/org/apache/maven/configuration/DefaultBeanConfiguratorPathTest.java

            SomeBean bean = new SomeBean();
    
            Xpp3Dom config = toConfig("<file>test</file>");
    
            DefaultBeanConfigurationRequest request = new DefaultBeanConfigurationRequest();
            request.setBean(bean).setConfiguration(config);
    
            configurator.configureBean(request);
    
            assertEquals(Paths.get("test"), bean.file);
        }
    
        @Test
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 3.8K bytes
    - Viewed (0)
Back to top