Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 191 - 200 of 472 for charactersOf (0.2 seconds)

  1. src/test/java/org/codelibs/fess/exception/StorageExceptionTest.java

            assertEquals(message, exception.getMessage());
        }
    
        @Test
        public void test_specialCharactersInMessage() {
            // Test with special characters in message
            String message = "Storage error: \n\t\r\"'<>&";
            StorageException exception = new StorageException(message);
    
            assertEquals(message, exception.getMessage());
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 7.2K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/escape/UnicodeEscaperTest.java

        assertThat(SIMPLE_ESCAPER.escape(input.toString())).isEqualTo(expected.toString());
      }
    
      public void testSurrogatePairs() {
        UnicodeEscaper e = SIMPLE_ESCAPER;
    
        // Build up a range of surrogate pair characters to test
        int min = Character.MIN_SUPPLEMENTARY_CODE_POINT;
        int max = Character.MAX_CODE_POINT;
        int range = max - min;
        int s1 = min + (1 * range) / 4;
        int s2 = min + (2 * range) / 4;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 6K bytes
    - Click Count (0)
  3. src/test/java/jcifs/pac/PacUnicodeStringTest.java

         */
        @Test
        void testCheck_withInvalidLength_throwsException() {
            // Length is 10 bytes, so expected string length is 5 characters
            PacUnicodeString pacString = new PacUnicodeString((short) 10, (short) 20, 100);
            String testString = "too-long"; // Length is 8
    
            // Expect a PACDecodingException to be thrown
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  4. cmd/object-api-input-checks.go

    		return ObjectNameInvalid{Bucket: bucket, Object: object}
    	}
    	if runtime.GOOS == globalWindowsOSName && strings.Contains(object, "\\") {
    		// Objects cannot be contain \ in Windows and is listed as `Characters to Avoid`.
    		return ObjectNameInvalid{Bucket: bucket, Object: object}
    	}
    	return nil
    }
    
    // Checks for all ListObjects arguments validity.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 5.7K bytes
    - Click Count (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/MultipartReaderTest.kt

        val part = parts.nextPart()!!
        assertThat(part.headers).isEqualTo(headersOf())
        assertThat(part.body.readUtf8()).isEqualTo("abcd")
    
        assertThat(parts.nextPart()).isNull()
      }
    
      @Test fun `other characters after boundary`() {
        val multipart =
          """
          |--simple boundary hi
          """.trimMargin()
            .replace(Regex("(?m)simple boundary$"), "simple boundary ")
            .replace("\n", "\r\n")
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed May 28 02:11:14 GMT 2025
    - 15.4K bytes
    - Click Count (0)
  6. src/test/java/jcifs/MsrpcDfsRootEnumTest.java

                assertEquals(200, enumInstance.level);
                assertNotNull(enumInstance.info);
            }
        }
    
        @Test
        @DisplayName("getEntries should properly convert DFS roots with special characters")
        void testGetEntries_specialCharacters() throws Exception {
            // Create array with special character names
            netdfs.DfsEnumArray200 specialArray = new netdfs.DfsEnumArray200();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.9K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/helper/MarkdownRenderer.java

                // Fallback to escaped plain text
                return escapeHtml(markdown);
            }
        }
    
        /**
         * Escapes HTML special characters for safe display.
         *
         * @param text the text to escape
         * @return HTML-escaped text
         */
        private String escapeHtml(final String text) {
            if (text == null) {
                return "";
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Jan 12 10:32:40 GMT 2026
    - 5.3K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/html/HtmlEscapers.java

       * compatible with HTML. Specifically, it does not perform entity replacement (symbolic or
       * numeric), so it does not replace non-ASCII code points with character references. This escaper
       * escapes only the following five ASCII characters: {@code '"&<>}.
       */
      public static Escaper htmlEscaper() {
        return HTML_ESCAPER;
      }
    
      // For each xxxEscaper() method, please add links to external reference pages
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 3K bytes
    - Click Count (0)
  9. src/main/java/jcifs/internal/dfs/DfsReferralDataInternal.java

         *
         * @param domain the domain name to append
         */
        void fixupDomain(String domain);
    
        /**
         * Reduces path consumed by the given value
         *
         * @param i the number of characters to strip from path consumed
         */
        void stripPathConsumed(int i);
    
        @Override
        DfsReferralDataInternal next();
    
        /**
         * Set the UNC path link for this referral
         *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  10. docs/en/docs/tutorial/header-params.md

    Most of the standard headers are separated by a "hyphen" character, also known as the "minus symbol" (`-`).
    
    But a variable like `user-agent` is invalid in Python.
    
    So, by default, `Header` will convert the parameter names characters from underscore (`_`) to hyphen (`-`) to extract and document the headers.
    
    Also, HTTP headers are case-insensitive, so, you can declare them with standard Python style (also known as "snake_case").
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Aug 31 09:15:41 GMT 2025
    - 3K bytes
    - Click Count (0)
Back to Top