Search Options

Results per page
Sort
Preferred Languages
Advance

Results 341 - 350 of 583 for incorrectly (0.12 sec)

  1. 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
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 15:45:16 UTC 2025
    - 13.2K bytes
    - Viewed (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");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  3. 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);
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  4. 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=
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Dec 05 23:15:58 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  5. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/ConsoleIconTest.java

            assertEquals("-", ConsoleIcon.DETAIL.getAsciiFallback());
            assertEquals(">", ConsoleIcon.ACTION.getAsciiFallback());
        }
    
        @Test
        @DisplayName("should handle different charset encodings correctly")
        void shouldHandleDifferentCharsetEncodingsCorrectly() {
            Terminal mockTerminal = mock(Terminal.class);
    
            // Test with ISO-8859-1 (Latin-1) - should support some but not all Unicode chars
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Jul 15 09:35:08 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  6. cmd/erasure-object-conditional_test.go

    	"context"
    	"testing"
    
    	xhttp "github.com/minio/minio/internal/http"
    )
    
    // TestPutObjectConditionalWithReadQuorumFailure tests that conditional
    // PutObject operations (with if-match/if-none-match) behave correctly when read quorum
    // cannot be reached.
    //
    // Related to: https://github.com/minio/minio/issues/21603
    //
    // Should return an error when read quorum cannot
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Oct 24 04:05:31 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  7. cmd/api-response_test.go

    	}
    	body, err := io.ReadAll(resp.Body)
    	if err != nil {
    		t.Fatalf("reading response body failed: %v", err)
    	}
    	if string(body) != "hello" {
    		t.Fatalf("response body incorrect: %v", string(body))
    	}
    
    	// Check that Unwrap works
    	if trw.Unwrap() != rw {
    		t.Fatalf("Unwrap returned wrong result: %v", trw.Unwrap())
    	}
    }
    
    func TestHeadersAlreadyWritten(t *testing.T) {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Oct 24 04:05:19 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  8. internal/mountinfo/mountinfo_linux.go

    	for {
    		line, err := scanner.ReadString('\n')
    		if err == io.EOF {
    			break
    		}
    
    		fields := strings.Fields(line)
    		if len(fields) != expectedNumFieldsPerLine {
    			// ignore incorrect lines.
    			continue
    		}
    
    		// Freq should be an integer.
    		if _, err := strconv.Atoi(fields[4]); err != nil {
    			return nil, err
    		}
    
    		// Pass should be an integer.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Feb 18 16:25:55 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/IteratorTester.java

     *
     * <p>The value you pass to the parameter {@code steps} should be greater than the length of your
     * iterator, so that this class can check that your iterator behaves correctly when it is exhausted.
     *
     * <p>For example, to test {@link java.util.Collections#unmodifiableList(java.util.List)
     * Collections.unmodifiableList}'s iterator:
     *
     * {@snippet :
     * List<String> expectedElements =
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 20:54:16 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/escape/ArrayBasedUnicodeEscaperTest.java

        // Verify that everything else is left unescaped.
        String safeChars = "\0\u0100\uD800\uDC00\uFFFF";
        assertThat(escaper.escape(safeChars)).isEqualTo(safeChars);
    
        // Ensure that Unicode escapers behave correctly wrt badly formed input.
        String badUnicode = "\uDC00\uD800";
        assertThrows(IllegalArgumentException.class, () -> escaper.escape(badUnicode));
      }
    
      public void testSafeRange() throws IOException {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Feb 18 15:41:04 UTC 2025
    - 5.2K bytes
    - Viewed (0)
Back to top