Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 46 for Remainder (0.05 seconds)

  1. 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)) {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  2. 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) {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 60.8K bytes
    - Click Count (0)
  3. 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.
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Jun 04 06:45:16 GMT 2024
    - 13.9K bytes
    - Click Count (0)
  4. apache-maven/src/main/appended-resources/licenses/EPL-1.0.txt

       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.
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Sep 17 05:50:12 GMT 2018
    - 11.1K bytes
    - Click Count (0)
  5. 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)) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Nov 19 01:35:24 GMT 2025
    - 27.1K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

                    }
                }
            } else {
                final String uncPath = context.getUNCPath();
                if (uncPath.equals("\\")) {
                    // context share != null, so the remainder is path
                    this.unc = '\\' + name.replace('/', '\\') + (trailingSlash ? "\\" : "");
                } else {
                    this.unc = uncPath + name.replace('/', '\\') + (trailingSlash ? "\\" : "");
                }
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 23.6K bytes
    - Click Count (0)
  7. 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.
       *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Feb 09 16:22:33 GMT 2025
    - 13.8K bytes
    - Click Count (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:
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 21.4K bytes
    - Click Count (0)
  9. src/bytes/bytes.go

    // If sep is empty, SplitN splits after each UTF-8 sequence.
    // The count determines the number of subslices to return:
    //   - n > 0: at most n subslices; the last subslice will be the unsplit remainder;
    //   - n == 0: the result is nil (zero subslices);
    //   - n < 0: all subslices.
    //
    // To split around the first instance of a separator, see [Cut].
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Sep 16 16:42:15 GMT 2025
    - 35.5K bytes
    - Click Count (0)
  10. src/archive/tar/reader.go

    	// normally be visible to the outside. As such, this loop iterates through
    	// one or more "header files" until it finds a "normal file".
    	format := FormatUSTAR | FormatPAX | FormatGNU
    	for {
    		// Discard the remainder of the file and any padding.
    		if err := discard(tr.r, tr.curr.physicalRemaining()); err != nil {
    			return nil, err
    		}
    		if _, err := tryReadFull(tr.r, tr.blk[:tr.pad]); err != nil {
    			return nil, err
    		}
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Oct 07 19:46:36 GMT 2025
    - 26.9K bytes
    - Click Count (0)
Back to Top