Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 148 for roundUp (0.07 seconds)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt

        assertFailsWith<EOFException> {
          source.buffer().readByteString(101)
        }
      }
    
      @Test fun blockedStreamDoesntStarveNewStream() {
        val framesThatFillWindow =
          roundUp(Settings.DEFAULT_INITIAL_WINDOW_SIZE, peer.maxOutboundDataLength())
    
        // Write the mocking script. This accepts more data frames than necessary!
        peer.sendFrame().settings(Settings())
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu Jul 31 04:18:40 GMT 2025
    - 75.5K bytes
    - Click Count (0)
  2. guava/src/com/google/common/math/ToDoubleRounder.java

      /**
       * Returns x rounded to either the greatest double less than or equal to the precise value of x,
       * or the least double greater than or equal to the precise value of x.
       */
      abstract double roundToDoubleArbitrarily(X x);
    
      /** Returns the sign of x: either -1, 0, or 1. */
      abstract int sign(X x);
    
      /** Returns d's value as an X, rounded with the specified mode. */
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 5.8K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/math/MathTesting.java

          int x = 1 << exponent;
          intValues.add(x, x + 1, x - 1);
        }
        intValues.add(9999).add(10000).add(10001).add(1000000); // near powers of 10
        intValues.add(5792).add(5793); // sqrt(2^25) rounded up and down
        POSITIVE_INTEGER_CANDIDATES = intValues.build();
        NEGATIVE_INTEGER_CANDIDATES =
            ImmutableList.copyOf(
                Iterables.concat(
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Aug 10 19:54:19 GMT 2025
    - 11.3K bytes
    - Click Count (0)
  4. cmd/prepare-storage.go

    	}
    
    	// prepare getElapsedTime() to calculate elapsed time since we started trying formatting disks.
    	// All times are rounded to avoid showing milli, micro and nano seconds
    	formatStartTime := time.Now().Round(time.Second)
    	getElapsedTime := func() string {
    		return time.Now().Round(time.Second).Sub(formatStartTime).String()
    	}
    
    	var (
    		tries   int
    		verbose bool
    	)
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Jul 12 20:51:54 GMT 2024
    - 11.1K bytes
    - Click Count (1)
  5. src/main/webapp/css/bootstrap.min.css

    e-none{pointer-events:none!important}.pe-auto{pointer-events:auto!important}.rounded{border-radius:var(--bs-border-radius)!important}.rounded-0{border-radius:0!important}.rounded-1{border-radius:var(--bs-border-radius-sm)!important}.rounded-2{border-radius:var(--bs-border-radius)!important}.rounded-3{border-radius:var(--bs-border-radius-lg)!important}.rounded-4{border-radius:var(--bs-border-radius-xl)!important}.rounded-5{border-radius:var(--bs-border-radius-xxl)!important}.rounded-circle{border...
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Sun Jan 12 06:14:02 GMT 2025
    - 227.5K bytes
    - Click Count (0)
  6. guava/src/com/google/common/math/LongMath.java

      static int lessThanBranchFree(long x, long y) {
        // Returns the sign bit of x - y.
        return (int) (~~(x - y) >>> (Long.SIZE - 1));
      }
    
      /**
       * Returns the base-2 logarithm of {@code x}, rounded according to the specified rounding mode.
       *
       * @throws IllegalArgumentException if {@code x <= 0}
       * @throws ArithmeticException if {@code mode} is {@link RoundingMode#UNNECESSARY} and {@code x}
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Nov 03 21:01:09 GMT 2025
    - 46.8K bytes
    - Click Count (0)
  7. guava/src/com/google/common/hash/SipHashFunction.java

      // The number of compression rounds.
      private final int c;
      // The number of finalization rounds.
      private final int d;
      // Two 64-bit keys (represent a single 128-bit key).
      private final long k0;
      private final long k1;
    
      /**
       * @param c the number of compression rounds (must be positive)
       * @param d the number of finalization rounds (must be positive)
       * @param k0 the first half of the key
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Feb 13 17:34:21 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  8. cmd/metrics-v3-system-cpu.go

    		m.Set(sysCPULoadPerc, math.Round(perc*100)/100)
    	}
    
    	ts := cpuMetrics.TimesStat
    	if ts != nil {
    		tot := ts.User + ts.System + ts.Idle + ts.Iowait + ts.Nice + ts.Steal
    		cpuUserVal := math.Round(ts.User/tot*100*100) / 100
    		m.Set(sysCPUUser, cpuUserVal)
    		cpuSystemVal := math.Round(ts.System/tot*100*100) / 100
    		m.Set(sysCPUSystem, cpuSystemVal)
    		cpuNiceVal := math.Round(ts.Nice/tot*100*100) / 100
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Thu Jun 20 17:55:03 GMT 2024
    - 3K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/hash/SipHashFunction.java

      // The number of compression rounds.
      private final int c;
      // The number of finalization rounds.
      private final int d;
      // Two 64-bit keys (represent a single 128-bit key).
      private final long k0;
      private final long k1;
    
      /**
       * @param c the number of compression rounds (must be positive)
       * @param d the number of finalization rounds (must be positive)
       * @param k0 the first half of the key
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Feb 13 17:34:21 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/math/BigIntegerMathTest.java

          int result = BigIntegerMath.log2(x, HALF_UP);
          BigInteger x2 = x.pow(2);
          // x^2 < 2^(2 * result + 1), or else we would have rounded up
          assertThat(ZERO.setBit(2 * result + 1)).isGreaterThan(x2);
          // x^2 >= 2^(2 * result - 1), or else we would have rounded down
          assertTrue(result == 0 || ZERO.setBit(2 * result - 1).compareTo(x2) <= 0);
        }
      }
    
      public void testLog2HalfDown() {
    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)
Back to Top