Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 38 for person (0.51 sec)

  1. android/guava/src/com/google/common/hash/Funnel.java

     *
     * <pre>{@code
     * public enum PersonFunnel implements Funnel<Person> {
     *   INSTANCE;
     *   public void funnel(Person person, PrimitiveSink into) {
     *     into.putUnencodedChars(person.getFirstName())
     *         .putUnencodedChars(person.getLastName())
     *         .putInt(person.getAge());
     *   }
     * }
     * }</pre>
     *
     * @author Dimitris Andreou
     * @since 11.0
     */
    @Beta
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 20 18:43:59 GMT 2021
    - 2.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/math/PairedStatsTest.java

          if (values.hasAnyNonFinite()) {
            assertWithMessage("Pearson's correlation coefficient of " + values)
                .that(pearsonsCorrelationCoefficient)
                .isNaN();
          } else {
            assertWithMessage("Pearson's correlation coefficient of " + values)
                .that(pearsonsCorrelationCoefficient)
                .isWithin(ALLOWED_ERROR)
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 14K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/math/PairedStatsTest.java

          if (values.hasAnyNonFinite()) {
            assertWithMessage("Pearson's correlation coefficient of " + values)
                .that(pearsonsCorrelationCoefficient)
                .isNaN();
          } else {
            assertWithMessage("Pearson's correlation coefficient of " + values)
                .that(pearsonsCorrelationCoefficient)
                .isWithin(ALLOWED_ERROR)
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 14K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/math/PairedStatsAccumulatorTest.java

            assertWithMessage("Pearson's correlation coefficient of " + values)
                .that(pearsonsCorrelationCoefficient)
                .isNaN();
            assertWithMessage("Pearson's correlation coefficient by addAll(PairedStats) of " + values)
                .that(pearsonsCorrelationCoefficient)
                .isNaN();
          } else {
            assertWithMessage("Pearson's correlation coefficient of " + values)
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 23.4K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/math/PairedStatsAccumulatorTest.java

            assertWithMessage("Pearson's correlation coefficient of " + values)
                .that(pearsonsCorrelationCoefficient)
                .isNaN();
            assertWithMessage("Pearson's correlation coefficient by addAll(PairedStats) of " + values)
                .that(pearsonsCorrelationCoefficient)
                .isNaN();
          } else {
            assertWithMessage("Pearson's correlation coefficient of " + values)
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 23.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/WrappingScheduledExecutorService.java

      }
    
      @Override
      public final ScheduledFuture<?> scheduleAtFixedRate(
          Runnable command, long initialDelay, long period, TimeUnit unit) {
        return delegate.scheduleAtFixedRate(wrapTask(command), initialDelay, period, unit);
      }
    
      @Override
      public final ScheduledFuture<?> scheduleWithFixedDelay(
          Runnable command, long initialDelay, long delay, TimeUnit unit) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 2.4K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        for (int i = 0; i < 8; i++) {
          limiter.acquire(); // // #1
        }
        stopwatch.sleepMillis(4500); // #2: back to cold state (warmup period + repay last acquire)
        for (int i = 0; i < 3; i++) { // only three steps, we're somewhere in the warmup period
          limiter.acquire(); // #3
        }
    
        limiter.setRate(4.0); // double the rate!
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/math/PairedStats.java

      public double sampleCovariance() {
        checkState(count() > 1);
        return sumOfProductsOfDeltas / (count() - 1);
      }
    
      /**
       * Returns the <a href="http://mathworld.wolfram.com/CorrelationCoefficient.html">Pearson's or
       * product-moment correlation coefficient</a> of the values. The count must greater than one, and
       * the {@code x} and {@code y} values must both have non-zero population variance (i.e. {@code
    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)
  9. android/guava-tests/test/com/google/common/util/concurrent/WrappingScheduledExecutorServiceTest.java

        @Override
        public ScheduledFuture<?> scheduleAtFixedRate(
            Runnable command, long initialDelay, long period, TimeUnit unit) {
          assertThat(command).isInstanceOf(WrappedRunnable.class);
          lastMethodCalled = "scheduleAtFixedRate";
          lastInitialDelay = initialDelay;
          lastDelay = period;
          lastUnit = unit;
          return null;
        }
    
        @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Dec 16 19:54:45 GMT 2020
    - 7.6K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/util/concurrent/testing/SameThreadScheduledExecutorService.java

    /*
     * Copyright (C) 2009 The Guava Authors
     *
     * Licensed under the Apache License, Version 2.0 (the "License");
     * you may not use this file except in compliance with the License.
     * You may obtain a copy of the License at
     *
     * http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an "AS IS" BASIS,
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Oct 06 00:47:57 GMT 2021
    - 6.4K bytes
    - Viewed (0)
Back to top