Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for transformations (0.29 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        // We need to test with two input futures since ExecutionList.execute
        // doesn't catch Errors and we cannot depend on the order that our
        // transformations run. (So it is possible that the Error being thrown
        // could prevent our second transformations from running).
        SettableFuture<Integer> exceptionInput = SettableFuture.create();
        ListenableFuture<Integer> exceptionComposedFuture =
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/math/LinearTransformationTest.java

        LinearTransformation transformation = LinearTransformation.mapping(x1, y1).withSlope(slope);
        assertThat(transformation.isVertical()).isFalse();
        assertThat(transformation.isHorizontal()).isFalse();
        assertThat(transformation.slope()).isWithin(ALLOWED_ERROR).of(slope);
        // Note that we cannot test the actual mapping of points, as the results will be unreliable due
        // to loss of precision with this value of the slope.
      }
    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)
  3. android/guava-tests/test/com/google/common/math/LinearTransformationTest.java

        LinearTransformation transformation = LinearTransformation.mapping(x1, y1).withSlope(slope);
        assertThat(transformation.isVertical()).isFalse();
        assertThat(transformation.isHorizontal()).isFalse();
        assertThat(transformation.slope()).isWithin(ALLOWED_ERROR).of(slope);
        // Note that we cannot test the actual mapping of points, as the results will be unreliable due
        // to loss of precision with this value of the slope.
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 7.1K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        // We need to test with two input futures since ExecutionList.execute
        // doesn't catch Errors and we cannot depend on the order that our
        // transformations run. (So it is possible that the Error being thrown
        // could prevent our second transformations from running).
        SettableFuture<Integer> exceptionInput = SettableFuture.create();
        ListenableFuture<Integer> exceptionComposedFuture =
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/FluentFuture.java

       * @param function A Function to transform the results of this future to the results of the
       *     returned future.
       * @param executor Executor to run the function in.
       * @return A future that holds result of the transformation.
       */
      public final <T extends @Nullable Object> FluentFuture<T> transform(
          Function<? super V, T> function, Executor executor) {
        return (FluentFuture<T>) Futures.transform(this, function, executor);
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 11 19:08:44 GMT 2023
    - 18.7K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/TableCollectionTest.java

      @J2ktIncompatible
      @GwtIncompatible // suite
      public static Test suite() {
        TestSuite suite = new TestSuite();
    
        // Not testing rowKeySet() or columnKeySet() of Table.transformValues()
        // since the transformation doesn't affect the row and column key sets.
    
        suite.addTest(
            SetTestSuiteBuilder.using(
                    new TestStringSetGenerator() {
                      @Override
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 35.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/base/Charsets.java

      /**
       * UTF-8: eight-bit UCS Transformation Format.
       *
       * <p><b>Java 7+ users:</b> this constant should be treated as deprecated; use {@link
       * java.nio.charset.StandardCharsets#UTF_8} instead.
       *
       */
      public static final Charset UTF_8 = Charset.forName("UTF-8");
    
      /**
       * UTF-16BE: sixteen-bit UCS Transformation Format, big-endian byte order.
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/math/PairedStatsAccumulator.java

            ensurePositive(xSumOfSquaresOfDeltas * ySumOfSquaresOfDeltas);
        return ensureInUnitRange(sumOfProductsOfDeltas / Math.sqrt(productOfSumsOfSquaresOfDeltas));
      }
    
      /**
       * Returns a linear transformation giving the best fit to the data according to <a
       * href="http://mathworld.wolfram.com/LeastSquaresFitting.html">Ordinary Least Squares linear
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 17:02:53 GMT 2023
    - 10.3K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/math/StatsTesting.java

        assertThat(transformation.inverse().inverse()).isSameInstanceAs(transformation);
      }
    
      /**
       * Asserts that {@code transformation} behaves as expected for {@link
       * LinearTransformation#forNaN}.
       */
      static void assertLinearTransformationNaN(LinearTransformation transformation) {
        assertThat(transformation.isHorizontal()).isFalse();
    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)
  10. android/guava/src/com/google/common/base/Charsets.java

      /**
       * UTF-8: eight-bit UCS Transformation Format.
       *
       * <p><b>Java 7+ users:</b> this constant should be treated as deprecated; use {@link
       * java.nio.charset.StandardCharsets#UTF_8} instead.
       *
       */
      public static final Charset UTF_8 = Charset.forName("UTF-8");
    
      /**
       * UTF-16BE: sixteen-bit UCS Transformation Format, big-endian byte order.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 3.8K bytes
    - Viewed (0)
Back to top