Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 57 for remainder (0.1 sec)

  1. android/guava/src/com/google/common/hash/AbstractStreamingHasher.java

        // Now process directly from the rest of the input buffer
        while (readBuffer.remaining() >= chunkSize) {
          process(readBuffer);
        }
    
        // Finally stick the remainder back in our usual buffer
        buffer.put(readBuffer);
        return this;
      }
    
      /*
       * Note: hashString(CharSequence, Charset) is intentionally not overridden.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 15 20:59:00 UTC 2022
    - 7.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/primitives/UnsignedLongTest.java

            if (b != 0) {
              UnsignedLong aUnsigned = UnsignedLong.fromLongBits(a);
              UnsignedLong bUnsigned = UnsignedLong.fromLongBits(b);
              long expected =
                  aUnsigned.bigIntegerValue().remainder(bUnsigned.bigIntegerValue()).longValue();
              UnsignedLong unsignedRem = aUnsigned.mod(bUnsigned);
              assertThat(unsignedRem.longValue()).isEqualTo(expected);
            }
          }
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  3. android/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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 23 18:45:50 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  4. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 23 18:45:50 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/primitives/UnsignedLong.java

      }
    
      /**
       * Returns this modulo {@code val}.
       *
       * @since 14.0
       */
      public UnsignedLong mod(UnsignedLong val) {
        return fromLongBits(UnsignedLongs.remainder(value, checkNotNull(val).value));
      }
    
      /** Returns the value of this {@code UnsignedLong} as an {@code int}. */
      @Override
      public int intValue() {
        return (int) value;
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Apr 22 13:09:25 UTC 2021
    - 8.9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/primitives/UnsignedLong.java

      }
    
      /**
       * Returns this modulo {@code val}.
       *
       * @since 14.0
       */
      public UnsignedLong mod(UnsignedLong val) {
        return fromLongBits(UnsignedLongs.remainder(value, checkNotNull(val).value));
      }
    
      /** Returns the value of this {@code UnsignedLong} as an {@code int}. */
      @Override
      public int intValue() {
        return (int) value;
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Apr 22 13:09:25 UTC 2021
    - 8.9K bytes
    - Viewed (0)
  7. internal/ioutil/ioutil.go

    			// closing 'w'.
    			if err = disk.DisableDirectIO(file); err != nil {
    				return written, err
    			}
    
    			// buf is not aligned, hence use writeUnaligned()
    			// for the remainder
    			un, err = w.Write(buf[len(buf)-remain:])
    			nw += int64(un)
    		}
    
    		if nw > 0 {
    			written += nw
    		}
    
    		if err != nil {
    			return written, err
    		}
    
    		if nw != int64(len(buf)) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 26 12:55:01 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  8. apache-maven/src/main/appended-resources/licenses/EPL-2.0.txt

    POSSIBILITY OF SUCH DAMAGES.
    
    7. GENERAL
    
    If any provision of this Agreement is invalid or unenforceable under
    applicable law, it shall not affect the validity or enforceability of
    the remainder of the terms of this Agreement, and without further
    action by the parties hereto, such provision shall be reformed to the
    minimum extent necessary to make such provision valid and enforceable.
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Jun 04 06:45:16 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

                    }
                }
            }
            else {
                String uncPath = context.getUNCPath();
                if ( uncPath.equals("\\") ) {
                    // context share != null, so the remainder is path
                    this.unc = '\\' + name.replace('/', '\\') + ( trailingSlash ? "\\" : "" );
                    this.canon = context.getURLPath() + name + ( trailingSlash ? "/" : "" );
                    this.share = shr;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Jul 20 08:24:53 UTC 2019
    - 23.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/primitives/UnsignedInts.java

       *
       * @param dividend the dividend (numerator)
       * @param divisor the divisor (denominator)
       * @throws ArithmeticException if divisor is 0
       */
      public static int remainder(int dividend, int divisor) {
        return (int) (toLong(dividend) % toLong(divisor));
      }
    
      /**
       * Returns the unsigned {@code int} value represented by the given string.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 21:17:54 UTC 2024
    - 13.7K bytes
    - Viewed (0)
Back to top