Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 101 - 110 of 822 for characters (0.07 seconds)

  1. build-conventions/src/main/java/org/elasticsearch/gradle/internal/conventions/precommit/LicenseHeadersTask.java

         */
        @Input
        private List<String> excludes = new ArrayList<String>();
        /**
         * Additional license families that may be found. The key is the license category name (5 characters),
         * followed by the family name and the value list of patterns to search for.
         */
        @Input
        protected Map<String, String> additionalLicenses = new HashMap<String, String>();
    
        /**
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Sep 09 18:53:35 GMT 2021
    - 10.6K bytes
    - Click Count (0)
  2. src/main/java/jcifs/util/ServerResponseValidator.java

            }
    
            // Check for control characters
            for (int i = 0; i < str.length(); i++) {
                char c = str.charAt(i);
                if (c < 0x20 && c != '\t' && c != '\r' && c != '\n') {
                    failedValidations.incrementAndGet();
                    log.warn("{} contains control characters", fieldName);
                    throw new SmbException(fieldName + " contains control characters");
                }
            }
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 16.6K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java

            System.arraycopy(buffer, Smb2Constants.SMB2_HEADER_LENGTH + 8, actualPath, 0, pathBytes.length);
            assertArrayEquals(pathBytes, actualPath);
        }
    
        @Test
        @DisplayName("Should handle Unicode characters in path")
        void testUnicodePathHandling() throws Exception {
            // Given
            String unicodePath = "\\\\server\\共享文件夹\\テスト";
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.6K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/helper/ActivityHelperTest.java

            // Create a script longer than 100 characters (default max length)
            StringBuilder sb = new StringBuilder();
            for (int i = 0; i < 120; i++) {
                sb.append("a");
            }
            String longScript = sb.toString();
    
            String result = activityHelper.normalizeScript(longScript);
    
            // Should be truncated to 100 characters (97 + "...")
            assertEquals(100, result.length());
    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)
  5. fastapi/sse.py

        """
    
        media_type = "text/event-stream"
    
    
    def _check_id_no_null(v: str | None) -> str | None:
        if v is not None and "\0" in v:
            raise ValueError("SSE 'id' must not contain null characters")
        return v
    
    
    class ServerSentEvent(BaseModel):
        """Represents a single Server-Sent Event.
    
        When `yield`ed from a *path operation function* that uses
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 01 09:21:52 GMT 2026
    - 6.2K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/util/DocumentUtil.java

        }
    
        /**
         * Encodes a URL by encoding non-URL-safe characters.
         * Uses the request's character encoding if available, otherwise defaults to UTF-8.
         * Only encodes characters that are not considered URL-safe according to CharUtil.
         *
         * @param url the URL to encode
         * @return the encoded URL with non-URL-safe characters properly encoded
         */
        public static String encodeUrl(final String url) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/dict/mapping/UploadForm.java

    /**
     * Form for uploading character mapping files to the Fess search engine.
     * Character mapping allows for normalization and transformation of characters during text analysis.
     * This form is used in the admin interface to upload custom character mapping dictionary files.
     */
    public class UploadForm {
    
        /**
         * The dictionary ID that identifies which character mapping dictionary configuration to update.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/llm/AbstractLlmClient.java

        protected abstract int getEvaluationMaxRelevantDocs();
    
        /**
         * Gets the maximum number of characters for evaluation description.
         *
         * @return the maximum number of characters
         */
        protected abstract int getEvaluationDescriptionMaxChars();
    
        /**
         * Gets the maximum characters for conversation history in LLM requests.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 72K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/entity/FessUserTest.java

            assertNull(user.getName());
    
            // Test with special characters in name
            user = new TestFessUser("******@****.***", new String[] {}, new String[] {}, new String[] {});
            assertEquals("******@****.***", user.getName());
    
            // Test with Unicode characters
            user = new TestFessUser("ユーザー名", new String[] {}, new String[] {}, new String[] {});
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 11.2K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/query/WildcardQueryCommandTest.java

        }
    
        @Test
        public void test_toLowercaseWildcard_internationalCharacters() {
            queryCommand.setLowercaseWildcard(true);
    
            // Test with various international characters
            assertEquals("äöü", queryCommand.toLowercaseWildcard("ÄÖÜ"));
            assertEquals("日本語", queryCommand.toLowercaseWildcard("日本語")); // Japanese doesn't change
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.2K bytes
    - Click Count (0)
Back to Top