Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 361 - 370 of 621 for incorrectly (0.11 seconds)

  1. android/guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java

       * more bytes.
       *
       * <p>Note: Direct testing of the {@link IOException} scenario during write/flush is challenging
       * without mocking. This test verifies that normal operation with threshold crossing still works
       * correctly with the fix in place.
       */
      public void testThresholdCrossing_resourceManagement() throws Exception {
        FileBackedOutputStream out = new FileBackedOutputStream(/* fileThreshold= */ 10);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Oct 30 16:30:29 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb1/com/SmbComNTCreateAndXTest.java

            int actual = (int) getPrivateField(req, "createOptions");
            assertEquals(0x0040, actual, "createOptions should be padded with 0x0040");
        }
    
        @Test
        @DisplayName("addFlags0 combines flags correctly")
        void addFlags0() {
            SmbComNTCreateAndX req = createRequest(0, 0);
            req.addFlags0(0x10);
            int flags0 = (int) getPrivateField(req, "flags0");
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  3. src/test/java/jcifs/pac/kerberos/KerberosTokenTest.java

            assertThrows(PACDecodingException.class, () -> new KerberosToken(malformedToken));
        }
    
        /**
         * Test constructor with a token that has an incorrect OID.
         *
         * @throws IOException if an I/O error occurs
         */
        @Test
        void testConstructorWithWrongOid() throws IOException {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/math/DoubleUtils.java

         * the exponent. This is exactly the behavior we get from just adding signifRounded to bits
         * directly. If the exponent is MAX_DOUBLE_EXPONENT, we round up (correctly) to
         * Double.POSITIVE_INFINITY.
         */
        bits |= x.signum() & SIGN_MASK;
        return longBitsToDouble(bits);
      }
    
      /** Returns its argument if it is non-negative, zero if it is negative. */
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 5.1K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycles.java

                }
                lifecyclesPrinted = true;
            }
    
            // If people are going to make their own lifecycles then we need to tell people how to namespace them correctly
            // so that they don't interfere with internally defined lifecycles.
    
            Map<String, Lifecycle> phaseToLifecycleMap = new HashMap<>();
    
            for (Lifecycle lifecycle : getLifeCycles()) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/EXTRACTOR_TESTS_README.md

    **Test Count**: 12 tests
    
    **Key Scenarios**:
    - ✅ Descriptive error messages for invalid archives
    - ✅ Continues processing when some entries fail
    - ✅ Handles empty archives gracefully
    - ✅ Mixed valid/invalid entries processed correctly
    - ✅ Null input stream validation
    
    ---
    
    ### 4. AbstractExtractorTest.java
    **Purpose**: Test the base AbstractExtractor functionality.
    
    **Key Test Areas**:
    - `validateInputStream()` method behavior
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Wed Nov 19 08:55:01 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/TextExtractorEnhancedTest.java

            assertNotNull(result.getContent());
            assertTrue("Should preserve Unicode characters", result.getContent().contains("世界"));
        }
    
        /**
         * Test that encoding can be changed and applied correctly.
         */
        public void test_encoding_canBeChangedAndApplied() {
            final String originalEncoding = textExtractor.getEncoding();
            assertEquals("UTF-8", originalEncoding);
    
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Mon Nov 24 03:59:47 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/ArrayListMultimap.java

     * implement {@link java.util.RandomAccess}.
     *
     * <p>This class is not threadsafe when any concurrent operations update the multimap. Concurrent
     * read operations will work correctly. To allow concurrent update operations, wrap your multimap
     * with a call to {@link Multimaps#synchronizedListMultimap}.
     *
     * <p>See the Guava User Guide article on <a href=
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Dec 05 23:15:58 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/escape/UnicodeEscaper.java

     * when it encounters surrogate pairs. This class facilitates the correct escaping of all Unicode
     * characters.
     *
     * <p>As there are important reasons, including potential security issues, to handle Unicode
     * correctly if you are considering implementing a new escaper you should favor using UnicodeEscaper
     * wherever possible.
     *
     * <p>A {@code UnicodeEscaper} instance is required to be stateless, and safe when used concurrently
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Feb 13 15:45:16 GMT 2025
    - 13.2K bytes
    - Click Count (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/MediaType.kt

          var s = typeSubtype.range.last + 1
          while (s < length) {
            val parameter = PARAMETER.matchAt(this, s)
            require(parameter != null) {
              "Parameter is not formatted correctly: \"${substring(s)}\" for: \"$this\""
            }
    
            val name = parameter.groups[1]?.value
            if (name == null) {
              s = parameter.range.last + 1
              continue
            }
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue May 27 14:51:08 GMT 2025
    - 5.9K bytes
    - Click Count (0)
Back to Top