Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 372 for positive (0.22 sec)

  1. android/guava/src/com/google/common/io/ReaderInputStream.java

       * is perpetually "flipped" (unencoded characters between position and limit).
       */
      private CharBuffer charBuffer;
    
      /**
       * byteBuffer holds encoded characters that have not yet been sent to the caller of the input
       * stream. When encoding it is "unflipped" (encoded bytes between 0 and position) and when
       * draining it is flipped (undrained bytes between position and limit).
       */
      private ByteBuffer byteBuffer;
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 28 20:13:02 GMT 2023
    - 9.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/math/PairedStatsAccumulator.java

        double ySumOfSquaresOfDeltas = yStats.sumOfSquaresOfDeltas();
        checkState(xSumOfSquaresOfDeltas > 0.0);
        checkState(ySumOfSquaresOfDeltas > 0.0);
        // The product of two positive numbers can be zero if the multiplication underflowed. We
        // force a positive value by effectively rounding up to MIN_VALUE.
        double productOfSumsOfSquaresOfDeltas =
            ensurePositive(xSumOfSquaresOfDeltas * ySumOfSquaresOfDeltas);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 17:02:53 GMT 2023
    - 10.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/math/ToDoubleRounder.java

              return Double.MAX_VALUE * sign(x);
            case FLOOR:
              return (roundArbitrarily == Double.POSITIVE_INFINITY)
                  ? Double.MAX_VALUE
                  : Double.NEGATIVE_INFINITY;
            case CEILING:
              return (roundArbitrarily == Double.POSITIVE_INFINITY)
                  ? Double.POSITIVE_INFINITY
                  : -Double.MAX_VALUE;
            case UP:
              return roundArbitrarily;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  4. internal/bucket/lifecycle/expiration.go

    )
    
    var (
    	errLifecycleInvalidDate         = Errorf("Date must be provided in ISO 8601 format")
    	errLifecycleInvalidDays         = Errorf("Days must be positive integer when used with Expiration")
    	errLifecycleInvalidExpiration   = Errorf("Exactly one of Days (positive integer) or Date (positive ISO 8601 format) should be present inside Expiration.")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Feb 21 20:28:34 GMT 2024
    - 6.6K bytes
    - Viewed (1)
  5. android/guava/src/com/google/common/math/Quantiles.java

        if (lower == NEGATIVE_INFINITY) {
          if (upper == POSITIVE_INFINITY) {
            // Return NaN when lower == NEGATIVE_INFINITY and upper == POSITIVE_INFINITY:
            return NaN;
          }
          // Return NEGATIVE_INFINITY when NEGATIVE_INFINITY == lower <= upper < POSITIVE_INFINITY:
          return NEGATIVE_INFINITY;
        }
        if (upper == POSITIVE_INFINITY) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 17:02:53 GMT 2023
    - 29.9K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/math/LinearTransformationTest.java

        assertVerticalLinearTransformation(transformation, x);
      }
    
      public void testMapping_infiniteX1() {
        assertThrows(
            IllegalArgumentException.class,
            () -> LinearTransformation.mapping(Double.POSITIVE_INFINITY, 3.4));
      }
    
      public void testMapping_infiniteY1() {
        assertThrows(
            IllegalArgumentException.class,
            () -> LinearTransformation.mapping(1.2, Double.NEGATIVE_INFINITY));
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 7.1K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/math/LinearTransformationTest.java

        assertVerticalLinearTransformation(transformation, x);
      }
    
      public void testMapping_infiniteX1() {
        assertThrows(
            IllegalArgumentException.class,
            () -> LinearTransformation.mapping(Double.POSITIVE_INFINITY, 3.4));
      }
    
      public void testMapping_infiniteY1() {
        assertThrows(
            IllegalArgumentException.class,
            () -> LinearTransformation.mapping(1.2, Double.NEGATIVE_INFINITY));
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 7.1K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/hash/BloomFilterTest.java

        for (int i = 0; i < numInsertions * 2; i += 2) {
          assertTrue(bf.mightContain(Integer.toString(i)));
        }
    
        // Now we check for known false positives using a set of known false positives.
        // (These are all of the false positives under 900.)
        ImmutableSet<Integer> falsePositives =
            ImmutableSet.of(
                49, 51, 59, 163, 199, 321, 325, 363, 367, 469, 545, 561, 727, 769, 773, 781);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Nov 09 22:49:56 GMT 2023
    - 21.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/math/PairedStats.java

        double ySumOfSquaresOfDeltas = yStats().sumOfSquaresOfDeltas();
        checkState(xSumOfSquaresOfDeltas > 0.0);
        checkState(ySumOfSquaresOfDeltas > 0.0);
        // The product of two positive numbers can be zero if the multiplication underflowed. We
        // force a positive value by effectively rounding up to MIN_VALUE.
        double productOfSumsOfSquaresOfDeltas =
            ensurePositive(xSumOfSquaresOfDeltas * ySumOfSquaresOfDeltas);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 17:02:53 GMT 2023
    - 12.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/hash/BloomFilterStrategies.java

          boolean bitsChanged = false;
          for (int i = 1; i <= numHashFunctions; i++) {
            int combinedHash = hash1 + (i * hash2);
            // Flip all the bits if it's negative (guaranteed positive number)
            if (combinedHash < 0) {
              combinedHash = ~combinedHash;
            }
            bitsChanged |= bits.set(combinedHash % bitSize);
          }
          return bitsChanged;
        }
    
        @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 10.7K bytes
    - Viewed (0)
Back to top