Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 19 of 19 for Arithmetic (0.15 sec)

  1. src/test/java/jcifs/internal/fscc/SmbInfoAllocationTest.java

            offset += 4;
            SMBUtil.writeInt2(bytesPerSect, buffer, offset);
    
            // Decode
            smbInfoAllocation.decode(buffer, 0, buffer.length);
    
            // Verify calculations use long arithmetic to avoid overflow
            long expectedCapacity = (long) alloc * sectPerAlloc * bytesPerSect;
            assertEquals(expectedCapacity, smbInfoAllocation.getCapacity());
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/math/Quantiles.java

          long numerator = (long) index * (dataset.length - 1);
          // Since scale is a positive int, index is in [0, scale], and (dataset.length - 1) is a
          // non-negative int, we can do long-arithmetic on index * (dataset.length - 1) / scale to get
          // a rounded ratio and a remainder which can be expressed as ints, without risk of overflow:
          int quotient = (int) LongMath.divide(numerator, scale, RoundingMode.DOWN);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 30.1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/math/StatsTesting.java

      static final double INTEGER_MANY_VALUES_MAX = 555555.0;
      static final double INTEGER_MANY_VALUES_MIN = -4444.0;
    
      // Integers which will overflow if summed (using integer arithmetic):
      static final int[] LARGE_INTEGER_VALUES = {Integer.MAX_VALUE, Integer.MAX_VALUE / 2};
      static final double LARGE_INTEGER_VALUES_MEAN =
          BigInteger.valueOf(Integer.MAX_VALUE)
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/math/StatsAccumulator.java

        return count;
      }
    
      /**
       * Returns the <a href="http://en.wikipedia.org/wiki/Arithmetic_mean">arithmetic mean</a> of the
       * values. The count must be non-zero.
       *
       * <p>If these values are a sample drawn from a population, this is also an unbiased estimator of
       * the arithmetic mean of the population.
       *
       * <h3>Non-finite values</h3>
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:36:11 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java

            void testLargeCapacityCalculation() throws SMBProtocolDecodingException {
                byte[] buffer = new byte[32];
                // Set large values to test 64-bit arithmetic
                buffer[0] = (byte) 0xFF;
                buffer[1] = (byte) 0xFF; // Large alloc
                buffer[24] = (byte) 0xFF; // Large sectPerAlloc
                buffer[28] = (byte) 0xFF;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  6. guava/src/com/google/common/primitives/UnsignedInteger.java

    import com.google.common.annotations.J2ktIncompatible;
    import java.math.BigInteger;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A wrapper class for unsigned {@code int} values, supporting arithmetic operations.
     *
     * <p>In some cases, when speed is more important than code readability, it may be faster simply to
     * treat primitive {@code int} values as unsigned, using the methods from {@link UnsignedInts}.
     *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/primitives/UnsignedLong.java

    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.math.BigInteger;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A wrapper class for unsigned {@code long} values, supporting arithmetic operations.
     *
     * <p>In some cases, when speed is more important than code readability, it may be faster simply to
     * treat primitive {@code long} values as unsigned, using the methods from {@link UnsignedLongs}.
     *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Jun 04 13:03:16 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    sigh.  `I only took the regular course.'
    
      `What was that?' inquired Alice.
    
      `Reeling and Writhing, of course, to begin with,' the Mock
    Turtle replied; `and then the different branches of Arithmetic--
    Ambition, Distraction, Uglification, and Derision.'
    
      `I never heard of "Uglification,"' Alice ventured to say.  `What is it?'
    
      The Gryphon lifted up both its paws in surprise.  `What!  Never
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Apr 21 02:27:51 UTC 2017
    - 145.2K bytes
    - Viewed (0)
  9. CHANGELOG/CHANGELOG-1.11.md

        * Function is linear between points. Resource utilization is defined as one minus ratio of total amount of resource requested by pods on node and node's capacity (scaled to 100).
        * Final utilization used for computation is arithmetic mean of cpu utilization and memory utilization.
        * Function is disabled by default and can be enabled via scheduler policy config file.
    Registered: Fri Dec 26 09:05:12 UTC 2025
    - Last Modified: Thu Feb 06 06:04:15 UTC 2020
    - 328.4K bytes
    - Viewed (0)
Back to top