Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for Truncation (0.24 sec)

  1. cmd/object-api-listobjects_test.go

    		{"test-bucket-list-object", "/obj", "", "", 0, ListObjectsInfo{}, nil, true},
    		// Testing with prefix and truncation (29-30).
    		{"test-bucket-list-object", "new", "", "", 1, resultCases[7], nil, true},
    		{"test-bucket-list-object", "obj", "", "", 2, resultCases[8], nil, true},
    		// Testing with marker, but without prefix and truncation (31-35).
    		{"test-bucket-list-object", "", "newPrefix0", "", 6, resultCases[9], nil, true},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 11:07:40 GMT 2024
    - 73.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/hash/BloomFilter.java

       * @param m total number of bits in Bloom filter (must be positive)
       */
      @VisibleForTesting
      static int optimalNumOfHashFunctions(long n, long m) {
        // (m / n) * log(2), but avoid truncation due to division!
        return Math.max(1, (int) Math.round((double) m / n * Math.log(2)));
      }
    
      /**
       * Computes m (total bits of Bloom filter) which is expected to achieve, for the specified
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/math/LongMathTest.java

        for (long x : POSITIVE_LONG_CANDIDATES) {
          for (RoundingMode mode : ALL_SAFE_ROUNDING_MODES) {
            // Promote the long value (rather than using longValue() on the expected value) to avoid
            // any risk of truncation which could lead to a false positive.
            assertEquals(BigIntegerMath.sqrt(valueOf(x), mode), valueOf(LongMath.sqrt(x, mode)));
          }
        }
      }
    
      /* Relies on the correctness of sqrt(long, FLOOR). */
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 20:15:57 GMT 2024
    - 32.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/math/LongMathTest.java

        for (long x : POSITIVE_LONG_CANDIDATES) {
          for (RoundingMode mode : ALL_SAFE_ROUNDING_MODES) {
            // Promote the long value (rather than using longValue() on the expected value) to avoid
            // any risk of truncation which could lead to a false positive.
            assertEquals(BigIntegerMath.sqrt(valueOf(x), mode), valueOf(LongMath.sqrt(x, mode)));
          }
        }
      }
    
      /* Relies on the correctness of sqrt(long, FLOOR). */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 20:15:57 GMT 2024
    - 32.5K bytes
    - Viewed (0)
  5. RELEASE.md

        *   [CVE-2020-15200](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-15200),
        *   [CVE-2020-15201](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-15201)
    *   Fixes an integer truncation vulnerability in code using the work sharder
        API,
        ([CVE-2020-15202](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-15202))
    *   Fixes a format string vulnerability in `tf.strings.as_string`,
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Mon Apr 29 19:17:57 GMT 2024
    - 727.7K bytes
    - Viewed (8)
  6. doc/go_spec.html

    The conversion always yields a valid value; there is no indication of overflow.
    </li>
    <li>
    When converting a <a href="#Numeric_types">floating-point number</a> to an integer, the fraction is discarded
    (truncation towards zero).
    </li>
    <li>
    When converting an integer or floating-point number to a floating-point type,
    or a <a href="#Numeric_types">complex number</a> to another complex type, the result value is rounded
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu May 02 22:43:51 GMT 2024
    - 279.6K bytes
    - Viewed (0)
  7. doc/go1.17_spec.html

    The conversion always yields a valid value; there is no indication of overflow.
    </li>
    <li>
    When converting a floating-point number to an integer, the fraction is discarded
    (truncation towards zero).
    </li>
    <li>
    When converting an integer or floating-point number to a floating-point type,
    or a complex number to another complex type, the result value is rounded
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
Back to top