Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 271 - 280 of 475 for StringBuilder (0.11 seconds)

  1. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessListedClassificationProviderTest.java

            assertProvideThrowsException("Test123Classification");
        }
    
        @Test
        public void test_provide_withLongClassificationName() {
            // Test with very long classification name
            StringBuilder longName = new StringBuilder();
            for (int i = 0; i < 1000; i++) {
                longName.append("VeryLongClassificationName");
            }
            assertProvideThrowsException(longName.toString());
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 7.7K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/opensearch/client/SearchEngineClientExceptionTest.java

            assertEquals(cause, exception.getCause());
        }
    
        @Test
        public void test_constructor_withLongMessage() {
            // Test constructor with long message
            StringBuilder sb = new StringBuilder();
            for (int i = 0; i < 1000; i++) {
                sb.append("Long message content ");
            }
            String message = sb.toString();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 7.1K bytes
    - Click Count (0)
  3. src/main/java/jcifs/internal/dtyp/SecurityDescriptor.java

                }
            } else {
                this.aces = null;
            }
    
            return bufferIndex - start;
        }
    
        @Override
        public String toString() {
            StringBuilder ret = new StringBuilder("SecurityDescriptor:\n");
            if (this.aces != null) {
                for (final ACE element : this.aces) {
                    ret.append(element.toString()).append("\n");
                }
            } else {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/suggest/converter/AnalyzerConverter.java

                final List<AnalyzeToken> readingTokenList = readingResponse.getTokens();
                final List<AnalyzeToken> termTokenList = termResponse.getTokens();
    
                final StringBuilder readingBuf = new StringBuilder(text.length());
                if (readingTokenList != null && termTokenList != null) {
                    int offset = 0;
                    for (int i = 0; i < readingTokenList.size(); i++) {
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Nov 17 14:28:21 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  5. guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java

            Charset charset,
            TimeUnit unit,
            Class<?> cls,
            Joiner joiner,
            Pattern pattern,
            UnsignedInteger ui,
            UnsignedLong ul,
            StringBuilder sb,
            Predicate<?> pred,
            Function<?, ?> func,
            Object obj);
      }
    
      private static class ParameterTypesDifferentForwarder implements ParameterTypesDifferent {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 12.9K bytes
    - Click Count (0)
  6. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/RichReportScrapper.kt

        val accepted: List<ReportMessage>
    ) {
    
        val isEmpty: Boolean
            get() = errors.isEmpty() && warnings.isEmpty() && information.isEmpty()
    
        fun toText() =
            StringBuilder("Binary compatibility\n").apply {
                listOf("Errors" to errors, "Warnings" to warnings, "Information" to information, "Accepted" to accepted).forEach { (name, list) ->
                    if (list.isNotEmpty()) {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Jun 28 08:29:28 GMT 2024
    - 2.3K bytes
    - Click Count (0)
  7. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

         */
        @Override
        public String getParent() {
            String str = this.url.getAuthority();
    
            if (str != null && !str.isEmpty()) {
                final StringBuilder sb = new StringBuilder("smb://");
    
                sb.append(str);
    
                final String urlpath = getURLPath();
                if (urlpath.length() > 1) {
                    sb.append(urlpath);
                } else {
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 23.6K bytes
    - Click Count (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/AbstractRepositoryMetadata.java

            this.metadata.merge(repoMetadata.getMetadata());
        }
    
        @Override
        public String extendedToString() {
            StringBuilder buffer = new StringBuilder(256);
    
            buffer.append(LS).append("Repository Metadata").append(LS).append("--------------------------");
            buffer.append(LS).append("GroupId: ").append(getGroupId());
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/suggest/util/SettingsResourceLoader.java

         */
        public static String loadJsonResource(final ClassLoader classLoader, final String resourcePath, final Map<String, String> substitutions)
                throws IOException {
            final StringBuilder sb = new StringBuilder();
            try (InputStream is = classLoader.getResourceAsStream(resourcePath)) {
                if (is == null) {
                    throw new IOException("Resource not found: " + resourcePath);
                }
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 5.7K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/dict/stopwords/StopwordsItemTest.java

            assertEquals("  word  ", item3.toLineString());
        }
    
        @Test
        public void test_longStrings() {
            // Test with long strings
            StringBuilder longString = new StringBuilder();
            for (int i = 0; i < 1000; i++) {
                longString.append("word");
            }
            String longInput = longString.toString();
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.4K bytes
    - Click Count (0)
Back to Top