Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for remainders (0.05 sec)

  1. guava/src/com/google/common/math/LongMath.java

            if (result < 0) {
              result = UnsignedLongs.remainder(result, m);
            }
            // result < 2^63 again
            result += aLo * bHi; // aLo * bHi < 2^63, result < 2^64
            result = times2ToThe32Mod(result, m); // result < m < 2^63
            return plusMod(result, UnsignedLongs.remainder(aLo * bLo /* < 2^64 */, m), m);
          }
    
          @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Aug 29 16:20:07 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/util/Base64.java

            if (length == 0) {
                return "";
            }
            final StringBuilder buffer = new StringBuilder((int) Math.ceil(length / 3d) * 4);
            final int remainder = length % 3;
            length -= remainder;
            int block;
            int i = 0;
            while (i < length) {
                block = (bytes[i++] & 0xff) << 16 | (bytes[i++] & 0xff) << 8 | bytes[i++] & 0xff;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/primitives/UnsignedLongsTest.java

        assertThat(UnsignedLongs.remainder(14, 5)).isEqualTo(4);
        assertThat(UnsignedLongs.remainder(0, 50)).isEqualTo(0);
        assertThat(UnsignedLongs.remainder(0xfffffffffffffffeL, 0xfffffffffffffffdL)).isEqualTo(1);
        assertThat(UnsignedLongs.remainder(0xfffffffffffffffdL, 0xfffffffffffffffeL))
            .isEqualTo(0xfffffffffffffffdL);
        assertThat(UnsignedLongs.remainder(0xfffffffffffffffeL, 65535)).isEqualTo(65534L);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/entity/QueryContextTest.java

            assertEquals("test query", queryContext.getQueryString());
            assertEquals("url", queryContext.getDefaultField());
        }
    
        // Test constructor with allinurl prefix and empty remainder
        public void test_constructor_allinurlPrefixEmptyRemainder() {
            queryContext = new QueryContext("allinurl:", false);
            assertEquals("*", queryContext.getQueryString());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/primitives/UnsignedLongs.java

       *
       * @param dividend the dividend (numerator)
       * @param divisor the divisor (denominator)
       * @throws ArithmeticException if divisor is 0
       * @since 11.0
       */
      public static long remainder(long dividend, long divisor) {
        if (divisor < 0) { // i.e., divisor >= 2^63:
          if (compare(dividend, divisor) < 0) {
            return dividend; // dividend < divisor
          } else {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  6. guava/src/com/google/common/primitives/UnsignedInteger.java

       * Returns this mod {@code val}.
       *
       * @throws ArithmeticException if {@code val} is zero
       * @since 14.0
       */
      public UnsignedInteger mod(UnsignedInteger val) {
        return fromIntBits(UnsignedInts.remainder(value, checkNotNull(val).value));
      }
    
      /**
       * Returns the value of this {@code UnsignedInteger} as an {@code int}. This is an inverse
       * operation to {@link #fromIntBits}.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/dcerpc/msrpc/lsarpcTest.java

                this.offset = 0;
            }
    
            @Override
            public int align(int a) {
                // Simulate alignment by advancing offset
                int remainder = offset % a;
                if (remainder != 0) {
                    offset += (a - remainder);
                }
                return 0; // Return dummy value
            }
    
            @Override
            public void enc_ndr_long(int v) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 60.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableCollection.java

     * ImmutableList}, which have well-defined {@link #equals} semantics, thus avoiding a common source
     * of bugs and confusion.
     *
     * <h3>About <i>all</i> {@code Immutable-} collections</h3>
     *
     * <p>The remainder of this documentation applies to every public {@code Immutable-} type in this
     * package, whether it is a subtype of {@code ImmutableCollection} or not.
     *
     * <h4>Guarantees</h4>
     *
     * <p>Each makes the following guarantees:
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/math/BigIntegerMathTest.java

            if (isAndroid && p.equals(BAD_FOR_ANDROID_P) && q.equals(BAD_FOR_ANDROID_Q)) {
              // https://issuetracker.google.com/issues/37074172
              continue;
            }
    
            boolean dividesEvenly = p.remainder(q).equals(ZERO);
    
            try {
              BigInteger quotient = BigIntegerMath.divide(p, q, UNNECESSARY);
              BigInteger undone = quotient.multiply(q);
              if (!p.equals(undone)) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ImmutableCollection.java

     * ImmutableList}, which have well-defined {@link #equals} semantics, thus avoiding a common source
     * of bugs and confusion.
     *
     * <h3>About <i>all</i> {@code Immutable-} collections</h3>
     *
     * <p>The remainder of this documentation applies to every public {@code Immutable-} type in this
     * package, whether it is a subtype of {@code ImmutableCollection} or not.
     *
     * <h4>Guarantees</h4>
     *
     * <p>Each makes the following guarantees:
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.7K bytes
    - Viewed (0)
Back to top