Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for angular (0.17 sec)

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

     * Tests for {@link LinearTransformation}.
     *
     * @author Pete Gillin
     */
    public class LinearTransformationTest extends TestCase {
    
      private static final double ALLOWED_ERROR = 1e-10;
    
      public void testMappingAnd_regular() {
        double x1 = 1.2;
        double y1 = 3.4;
        double xDelta = 5.6;
        double yDelta = 7.8;
        LinearTransformation transformation =
            LinearTransformation.mapping(x1, y1).and(x1 + xDelta, y1 + yDelta);
    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

     * Tests for {@link LinearTransformation}.
     *
     * @author Pete Gillin
     */
    public class LinearTransformationTest extends TestCase {
    
      private static final double ALLOWED_ERROR = 1e-10;
    
      public void testMappingAnd_regular() {
        double x1 = 1.2;
        double y1 = 3.4;
        double xDelta = 5.6;
        double yDelta = 7.8;
        LinearTransformation transformation =
            LinearTransformation.mapping(x1, y1).and(x1 + xDelta, y1 + yDelta);
    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. android/guava/src/com/google/common/primitives/IntsMethodsForWeb.java

     * the License.
     */
    
    package com.google.common.primitives;
    
    import com.google.common.annotations.GwtCompatible;
    
    /**
     * Holder for web specializations of methods of {@code Ints}. Intended to be empty for regular
     * version.
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Apr 22 13:09:25 GMT 2021
    - 904 bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/io/PatternFilenameFilter.java

    import java.io.File;
    import java.io.FilenameFilter;
    import java.util.regex.Pattern;
    import java.util.regex.PatternSyntaxException;
    
    /**
     * File name filter that only accepts files matching a regular expression. This class is thread-safe
     * and immutable.
     *
     * @author Apple Chow
     * @since 1.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/TimeLimiter.java

       *     wait on each method call to the proxy
       * @return a time-limiting proxy
       * @throws IllegalArgumentException if {@code interfaceType} is a regular class, enum, or
       *     annotation type, rather than an interface
       */
      <T> T newProxy(T target, Class<T> interfaceType, long timeoutDuration, TimeUnit timeoutUnit);
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 18:32:03 GMT 2023
    - 8.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/base/ExtraObjectsMethodsForWeb.java

     * the License.
     */
    
    package com.google.common.base;
    
    import com.google.common.annotations.GwtCompatible;
    
    /**
     * Holder for extra methods of {@code Objects} only in web. Intended to be empty for regular
     * version.
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Apr 09 00:52:54 GMT 2021
    - 904 bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/SortedMapTestSuiteBuilder.java

       * Creates a suite whose map has some elements filtered out of view.
       *
       * <p>Because the map may be ascending or descending, this test must derive the relative order of
       * these extreme values rather than relying on their regular sort ordering.
       */
      final TestSuite createSubmapSuite(
          FeatureSpecificTestSuiteBuilder<
                  ?, ? extends OneSizeTestContainerGenerator<Map<K, V>, Entry<K, V>>>
              parentBuilder,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 5K bytes
    - Viewed (0)
  8. android/guava-tests/benchmark/com/google/common/hash/HashStringBenchmark.java

    /** Benchmarks for the hashing of UTF-8 strings. */
    public class HashStringBenchmark {
      static class MaxCodePoint {
        final int value;
    
        /**
         * Convert the input string to a code point. Accepts regular decimal numerals, hex strings, and
         * some symbolic names meaningful to humans.
         */
        private static int decode(String userFriendly) {
          try {
            return Integer.decode(userFriendly);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 5.3K bytes
    - Viewed (0)
  9. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSet.java

     * they are thin wrapper around {@link java.util.Collections#emptySet()}, {@link
     * Collections#singleton(Object)} and {@link java.util.LinkedHashSet} for empty, singleton and
     * regular sets respectively. For the sorted sets, it's a thin wrapper around {@link
     * java.util.TreeSet}.
     *
     * @see ImmutableSortedSet
     * @author Hayward Chan
     */
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 23 18:43:40 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  10. guava/src/com/google/common/base/Stopwatch.java

        long nanos = elapsedNanos();
    
        TimeUnit unit = chooseUnit(nanos);
        double value = (double) nanos / NANOSECONDS.convert(1, unit);
    
        // Too bad this functionality is not exposed as a regular method call
        return Platform.formatCompact4Digits(value) + " " + abbreviate(unit);
      }
    
      private static TimeUnit chooseUnit(long nanos) {
        if (DAYS.convert(nanos, NANOSECONDS) > 0) {
          return DAYS;
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 23 15:09:35 GMT 2023
    - 9.2K bytes
    - Viewed (0)
Back to top