Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 619 for loss (0.05 seconds)

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

        this.max = max;
      }
    
      /**
       * Returns statistics over a dataset containing the given values.
       *
       * @param values a series of values, which will be converted to {@code double} values (this may
       *     cause loss of precision)
       */
      public static Stats of(Iterable<? extends Number> values) {
        StatsAccumulator accumulator = new StatsAccumulator();
        accumulator.addAll(values);
        return accumulator.snapshot();
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 25.1K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/math/StatsAccumulator.java

       *     cause loss of precision)
       */
      public void addAll(Iterable<? extends Number> values) {
        for (Number value : values) {
          add(value.doubleValue());
        }
      }
    
      /**
       * Adds the given values to the dataset.
       *
       * @param values a series of values, which will be converted to {@code double} values (this may
       *     cause loss of precision)
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Apr 14 16:36:11 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  3. src/main/java/jcifs/internal/smb2/persistent/HandleType.java

     */
    public enum HandleType {
        /**
         * No durability - standard handle
         */
        NONE(0),
    
        /**
         * SMB 2.1 durable handle - survives network loss
         */
        DURABLE_V1(1),
    
        /**
         * SMB 3.0 durable handle V2 - with timeout configuration
         */
        DURABLE_V2(2),
    
        /**
         * SMB 3.0 persistent handle - survives server reboot
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/math/LinearTransformationTest.java

        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.
      }
    
      public void testMappingWithSlope_maximalSlope() {
        double x1 = 1.2;
        double y1 = 3.4;
        double slope = Double.MAX_VALUE;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:11:48 GMT 2026
    - 7.2K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/math/LinearTransformationTest.java

        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.
      }
    
      public void testMappingWithSlope_maximalSlope() {
        double x1 = 1.2;
        double y1 = 3.4;
        double slope = Double.MAX_VALUE;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:11:48 GMT 2026
    - 7.2K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/math/DoubleMath.java

       *
       * @param values a nonempty series of values, which will be converted to {@code double} values
       *     (this may cause loss of precision for longs of magnitude over 2^53 (slightly over 9e15))
       * @throws IllegalArgumentException if {@code values} is empty
       * @deprecated Use {@link Stats#meanOf} instead, noting the less strict handling of non-finite
       *     values.
       */
      @Deprecated
      public static double mean(long... values) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 19.3K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/util/SMBUtilTest.java

            for (long time : testTimes) {
                SMBUtil.writeTime(time, buffer, 0);
                long readTime = SMBUtil.readTime(buffer, 0);
    
                // Account for precision loss in conversion
                long expectedTime = ((time + SmbConstants.MILLISECONDS_BETWEEN_1970_AND_1601) * 10000L) / 10000L
                        - SmbConstants.MILLISECONDS_BETWEEN_1970_AND_1601;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  8. architecture/standards/0008-use-nullaway.md

    Do not suppress NullAway errors without a justification.
    Prefer rearranging the code to avoid the error, unless there is a provable performance penalty or a significant loss of code readability.
    Use `Objects.requireNonNull` statement or `Preconditions` rather than `assert` or `@SuppressWarning` annotation to suppress if possible.
    
    For gradual adoption, enable checks project-by-project.
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Mar 05 12:39:41 GMT 2026
    - 4K bytes
    - Click Count (0)
  9. docs/erasure/README.md

    ## Why is Erasure Code useful?
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  10. src/test/java/jcifs/pac/PacDataInputStreamTest.java

            PacDataInputStream pdis = createInputStream(data);
            Date date = pdis.readFiletime();
            assertNotNull(date);
            // Allow for a small difference due to precision loss
            assertEquals(time / 1000, date.getTime() / 1000);
    
            // Test with null date (0x7fffffff ffffffff)
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 9.2K bytes
    - Click Count (0)
Back to Top