Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 131 - 140 of 599 for Characters (0.06 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilCommon.kt

    }
    
    /**
     * Returns the index of the first character in this string that is either a control character (like
     * `\u0000` or `\n`) or a non-ASCII character. Returns -1 if this string has no such characters.
     */
    internal fun String.indexOfControlOrNonAscii(): Int {
      for (i in 0 until length) {
        val c = this[i]
        if (c <= '\u001f' || c >= '\u007f') {
          return i
        }
      }
      return -1
    }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon May 05 16:01:00 GMT 2025
    - 10.1K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/escape/UnicodeEscaperTest.java

        String[] BAD_STRINGS = {
          String.valueOf(Character.MIN_LOW_SURROGATE),
          Character.MIN_LOW_SURROGATE + "xyz",
          "abc" + Character.MIN_LOW_SURROGATE,
          "abc" + Character.MIN_LOW_SURROGATE + "xyz",
          String.valueOf(Character.MAX_LOW_SURROGATE),
          Character.MAX_LOW_SURROGATE + "xyz",
          "abc" + Character.MAX_LOW_SURROGATE,
          "abc" + Character.MAX_LOW_SURROGATE + "xyz",
        };
    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/org/codelibs/fess/exception/InvalidQueryExceptionTest.java

            assertEquals(messageCode, exception.getMessageCode());
        }
    
        @Test
        public void test_constructor_withMessageCodeAndMessage() {
            // Setup
            final String message = "Query contains invalid characters";
            final VaMessenger<FessMessages> messageCode = messages -> messages.addErrorsInvalidQueryUnknown(UserMessages.GLOBAL_PROPERTY_KEY);
    
            // Execute
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 15.9K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb1/netbios/Name.java

        static final String OEM_ENCODING = Config.getProperty("jcifs.smb1.encoding", Charset.defaultCharset().displayName());
    
        /** The NetBIOS name (up to 15 characters) */
        public String name;
        /** The NetBIOS scope identifier */
        public String scope;
        /** The NetBIOS name type/suffix (hexadecimal code) */
        public int hexCode;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/design/UploadForm.java

         */
        @Required
        public MultipartFormFile designFile;
    
        /**
         * The name for the design file being uploaded.
         * Must not contain invalid file system characters like backslash, colon, asterisk, etc.
         */
        @Pattern(regexp = "^[^\\\\|/|:|\\*|?|\"|<|>|\\|]+$", message = "{errors.design_file_name_is_invalid}")
        public String designFileName;
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  6. src/test/java/jcifs/netbios/NameTest.java

        void writeWireFormat_withMaxLengthName_shouldHandleCorrectly() {
            String maxName = "123456789012345"; // 15 characters
            Name name = new Name(mockConfig, maxName, 0x20, null);
            byte[] dst = new byte[100];
    
            int length = name.writeWireFormat(dst, 0);
    
            // Should encode all 15 characters
            assertTrue(length >= 34);
            assertEquals(0x20, dst[0]);
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 19.4K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/exception/ResultOffsetExceededExceptionTest.java

            assertEquals("Third instance", exception3.getMessage());
        }
    
        @Test
        public void test_specialCharactersInMessage() {
            // Test with special characters in message
            String messageWithSpecialChars = "Error: offset > 1000 && offset < 2000 | \"quotes\" 'single' \n\t tab";
            ResultOffsetExceededException exception = new ResultOffsetExceededException(messageWithSpecialChars);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 9.9K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/chat/ChatClient.java

         * @param mode the content mode (full, smart_summary, source_titles, source_titles_and_urls, truncated, none)
         * @param assistantMaxChars the maximum characters for truncated mode
         * @param summaryMaxChars the maximum characters for summary modes
         * @return the content string for history, or null if the message should be excluded
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 56.6K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/app/web/admin/wizard/AdminWizardActionTest.java

        }
    
        @Test
        public void test_convertCrawlingPath_s3_with_special_characters() {
            // S3 paths with special characters in object keys
            assertEquals("s3://bucket/path/file%20with%20spaces.txt",
                    wizardAction.convertCrawlingPath("s3://bucket/path/file%20with%20spaces.txt"));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 9.9K bytes
    - Click Count (0)
  10. 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)
Back to Top