Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 6 of 6 for Truncation (0.08 seconds)

  1. guava-tests/test/com/google/common/hash/MacHashFunctionTest.java

        checkSha1("4c9007f4026250c6bc8414f9bf50c86c2d7235da", key, data);
      }
    
      public void testRfc2202_hmacSha1_case5() {
        byte[] key = fillByteArray(20, 0x0c);
        String data = "Test With Truncation";
    
        checkSha1("4c1a03424b55e07fe7f27be1d58bb9324a9a5a04", key, data);
      }
    
      public void testRfc2202_hmacSha1_case6() {
        byte[] key = fillByteArray(80, 0xaa);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 14.2K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/helper/ActivityHelperTest.java

            assertFalse(result.endsWith("..."));
        }
    
        @Test
        public void test_normalizeScript_truncateBeforeReplace() {
            // Script with control chars beyond the truncation point
            StringBuilder sb = new StringBuilder();
            for (int i = 0; i < 97; i++) {
                sb.append("x");
            }
            for (int i = 0; i < 53; i++) {
                sb.append("\n");
            }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 11:45:43 GMT 2026
    - 24.3K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/llm/AbstractLlmClientTest.java

                final Map<String, Object> doc = new HashMap<>();
                doc.put("title", "Document " + i);
                doc.put("content", "This is a fairly long content for document " + i + " that should cause truncation.");
                documents.add(doc);
            }
    
            final String result = client.testBuildContext(documents);
            assertTrue(result.length() <= 300); // some overhead from header text
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 19 07:04:54 GMT 2026
    - 53K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/hash/BloomFilter.java

       */
      @VisibleForTesting
      static int optimalNumOfHashFunctions(double p) {
        // -log(p) / log(2), ensuring the result is rounded to avoid truncation.
        return max(1, (int) Math.round(-Math.log(p) / LOG_TWO));
      }
    
      /**
       * Computes m (total bits of Bloom filter) which is expected to achieve, for the specified
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 10 22:28:12 GMT 2026
    - 27.6K bytes
    - Click Count (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`,
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Mon Mar 30 18:31:38 GMT 2026
    - 746.5K bytes
    - Click Count (3)
  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
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed Apr 01 23:39:18 GMT 2026
    - 287.8K bytes
    - Click Count (1)
Back to Top