Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for nextRow (0.19 sec)

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

          } while (approxCmp > 0);
        } else {
          BigInteger nextPow = BigInteger.TEN.multiply(approxPow);
          int nextCmp = nextPow.compareTo(x);
          while (nextCmp <= 0) {
            approxLog10++;
            approxPow = nextPow;
            approxCmp = nextCmp;
            nextPow = BigInteger.TEN.multiply(approxPow);
            nextCmp = nextPow.compareTo(x);
          }
        }
    
        int floorLog = approxLog10;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 18.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/math/BigDecimalMathTest.java

            .setExpectation(DoubleUtils.nextDown(-Math.pow(2, 54)), FLOOR, UP)
            .roundUnnecessaryShouldThrow()
            .test();
      }
    
      public void testRoundToDouble_negativeTwoToThe54MinusThree() {
        new RoundToDoubleTester(BigDecimal.valueOf((-1L << 54) - 3))
            .setExpectation(-Math.pow(2, 54), DOWN, CEILING)
            .setExpectation(
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 10.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/math/BigDecimalMathTest.java

            .setExpectation(DoubleUtils.nextDown(-Math.pow(2, 54)), FLOOR, UP)
            .roundUnnecessaryShouldThrow()
            .test();
      }
    
      public void testRoundToDouble_negativeTwoToThe54MinusThree() {
        new RoundToDoubleTester(BigDecimal.valueOf((-1L << 54) - 3))
            .setExpectation(-Math.pow(2, 54), DOWN, CEILING)
            .setExpectation(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 10.6K bytes
    - Viewed (0)
  4. ci/devinfra/docker_windows/Dockerfile

            | Select NextHop).NextHop; \
        $ifIndex = (Get-NetAdapter -InterfaceDescription \"Hyper-V Virtual Ethernet*\" | Sort-Object \
            | Select ifIndex).ifIndex; \
        New-NetRoute -DestinationPrefix 169.254.169.254/32 -InterfaceIndex $ifIndex -NextHop $gateway
    
    # Enable Long Paths for Win32 File/Folder APIs.
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Fri Aug 18 17:24:20 GMT 2023
    - 13.6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/math/BigIntegerMathTest.java

        new RoundToDoubleTester(BigInteger.valueOf((-1L << 53) - 1))
            .setExpectation(-Math.pow(2, 53), DOWN, CEILING, HALF_DOWN, HALF_EVEN)
            .setExpectation(DoubleUtils.nextDown(-Math.pow(2, 53)), FLOOR, UP, HALF_UP)
            .roundUnnecessaryShouldThrow()
            .test();
      }
    
      @J2ktIncompatible
      @GwtIncompatible
      public void testRoundToDouble_negativeTwoToThe54MinusOne() {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 28.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/math/BigIntegerMathTest.java

        new RoundToDoubleTester(BigInteger.valueOf((-1L << 53) - 1))
            .setExpectation(-Math.pow(2, 53), DOWN, CEILING, HALF_DOWN, HALF_EVEN)
            .setExpectation(DoubleUtils.nextDown(-Math.pow(2, 53)), FLOOR, UP, HALF_UP)
            .roundUnnecessaryShouldThrow()
            .test();
      }
    
      @J2ktIncompatible
      @GwtIncompatible
      public void testRoundToDouble_negativeTwoToThe54MinusOne() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 28.2K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/math/MathTesting.java

          for (int direction : new int[] {1, -1}) {
            double d = Double.longBitsToDouble(Double.doubleToLongBits(Math.scalb(1.0, i)) + direction);
            // Math.nextUp/nextDown
            if (d != Math.rint(d)) {
              fractionalBuilder.add(d);
            }
          }
        }
        for (double d :
            Doubles.asList(
                0,
                1,
                2,
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 11.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/math/LongMath.java

                ? roundArbitrarily
                : DoubleUtils.nextDown(roundArbitrarily);
          case CEILING:
            return (cmpXToRoundArbitrarily <= 0) ? roundArbitrarily : Math.nextUp(roundArbitrarily);
          case DOWN:
            if (x >= 0) {
              return (cmpXToRoundArbitrarily >= 0)
                  ? roundArbitrarily
                  : DoubleUtils.nextDown(roundArbitrarily);
            } else {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 44.6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/math/MathTesting.java

          for (int direction : new int[] {1, -1}) {
            double d = Double.longBitsToDouble(Double.doubleToLongBits(Math.scalb(1.0, i)) + direction);
            // Math.nextUp/nextDown
            if (d != Math.rint(d)) {
              fractionalBuilder.add(d);
            }
          }
        }
        for (double d :
            Doubles.asList(
                0,
                1,
                2,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 11.2K bytes
    - Viewed (0)
  10. cmd/metacache-stream.go

    		m.metadata = nil
    	}
    	r.err = err
    	return m, err
    }
    
    // next will read one entry from the stream.
    // Generally not recommended for fast operation.
    func (r *metacacheReader) nextEOF() bool {
    	r.checkInit()
    	if r.err != nil {
    		return r.err == io.EOF
    	}
    	if r.current.name != "" {
    		return false
    	}
    	_, err := r.peek()
    	if err != nil {
    		r.err = err
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 19.5K bytes
    - Viewed (0)
Back to top