Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 282 for unnecessarily (0.09 seconds)

  1. android/guava/src/com/google/common/math/BigDecimalMath.java

       * values are even integers; this method returns the one that is a multiple of a greater power of
       * two.)
       *
       * @throws ArithmeticException if {@code mode} is {@link RoundingMode#UNNECESSARY} and {@code x}
       *     is not precisely representable as a {@code double}
       * @since 30.0
       */
      public static double roundToDouble(BigDecimal x, RoundingMode mode) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jul 17 15:26:41 GMT 2025
    - 3K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/graph/ImmutableNetwork.java

        // ImmutableMap.Builder maintains the order of the elements as inserted, so the map will have
        // whatever ordering the network's nodes do, so ImmutableSortedMap is unnecessary even if the
        // input nodes are sorted.
        ImmutableMap.Builder<N, NetworkConnections<N, E>> nodeConnections = ImmutableMap.builder();
        for (N node : network.nodes()) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 01:10:31 GMT 2026
    - 9.6K bytes
    - Click Count (0)
  3. docs/en/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    It might also help avoid confusion for new developers that see an unused parameter in your code and could think it's unnecessary.
    
    ///
    
    /// info
    
    In this example we use invented custom headers `X-Key` and `X-Token`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 2.9K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/io/BaseEncoding.java

    import static java.lang.Math.max;
    import static java.lang.Math.min;
    import static java.math.RoundingMode.CEILING;
    import static java.math.RoundingMode.FLOOR;
    import static java.math.RoundingMode.UNNECESSARY;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.base.Ascii;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:45:58 GMT 2026
    - 41.6K bytes
    - Click Count (0)
  5. architecture/standards/0006-use-of-provider-apis-in-gradle.md

        }
    }
    ```
    This is unnecessary because this value is not calculated and cannot be changed.
    
    #### Nested values
    
    This is an inappropriate use of lazy types:
    
    ```groovy
    interface NestedType {
        Property<String> getSomeProperty()
    }
    class Example {
        Property<NestedType> getNestedProperty()
    }
    ```
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Mar 05 12:39:41 GMT 2026
    - 10K bytes
    - Click Count (0)
  6. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.ci-reporting.gradle.kts

    import org.gradle.kotlin.dsl.support.serviceOf
    
    /**
     * When run from a Continuous Integration environment, we only want to archive a subset of reports, mostly for
     * failing tasks only, to not use up unnecessary disk space on Team City. This also improves the performance of
     * artifact publishing by reducing the artifacts and packaging reports that consist of multiple files.
     *
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Feb 11 09:36:42 GMT 2026
    - 3.1K bytes
    - Click Count (0)
  7. cmd/crossdomain-xml-handler.go

    const crossDomainXMLEntity = "/crossdomain.xml"
    
    // A cross-domain policy file is an XML document that grants a web client, such as Adobe Flash Player
    // or Adobe Acrobat (though not necessarily limited to these), permission to handle data across domains.
    // When clients request content hosted on a particular source domain and that content make requests
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Mar 18 06:42:40 GMT 2024
    - 2.2K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/io/FilesCreateTempDirTest.java

           */
          return;
        }
    
        /*
         * Only under Windows (or hypothetically when running with some other non-POSIX, ACL-based
         * filesystem) does our prod code look up the username. Thus, this test doesn't necessarily test
         * anything interesting under most environments. Still, we can run it (except for Android, at
         * least old versions), so we mostly do. This is useful because we don't actually run our CI on
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Sep 25 19:16:54 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/math/MathPreconditions.java

        }
        return x;
      }
    
      static void checkRoundingUnnecessary(boolean condition) {
        if (!condition) {
          throw new ArithmeticException("mode was UNNECESSARY, but rounding was necessary");
        }
      }
    
      static void checkInRangeForRoundingInputs(boolean condition, double input, RoundingMode mode) {
        if (!condition) {
          throw new ArithmeticException(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 3.2K bytes
    - Click Count (0)
  10. .teamcity/src/main/kotlin/configurations/Gradleception.kt

                "Builds Gradle with the version of Gradle which is currently under development (twice)$descriptionSuffix"
    
            requirements {
                requiresNotSharedHost()
            }
    
        /*
         To avoid unnecessary rerun, what we do here is a bit complicated:
    
         1. Build a Gradle distribution with a fixed timestamp and hash it, but never use this distribution.
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Mar 30 04:44:29 GMT 2026
    - 7.1K bytes
    - Click Count (0)
Back to Top