Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 186 for Chars (0.02 seconds)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/props/MavenProperties.java

            }
    
            return out.toString();
        }
    
        /**
         * <p>Escapes the characters in a <code>String</code> using Java String rules.</p>
         *
         * <p>Deals correctly with quotes and control-chars (tab, backslash, cr, ff, etc.) </p>
         *
         * <p>So a tab becomes the characters <code>'\\'</code> and
         * <code>'t'</code>.</p>
         *
         * <p>The only difference between Java strings and JavaScript strings
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Oct 16 09:03:48 GMT 2025
    - 38.5K bytes
    - Click Count (0)
  2. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenProperties.java

            }
    
            return out.toString();
        }
    
        /**
         * <p>Escapes the characters in a <code>String</code> using Java String rules.</p>
         *
         * <p>Deals correctly with quotes and control-chars (tab, backslash, cr, ff, etc.) </p>
         *
         * <p>So a tab becomes the characters <code>'\\'</code> and
         * <code>'t'</code>.</p>
         *
         * <p>The only difference between Java strings and JavaScript strings
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 38.4K bytes
    - Click Count (0)
  3. README.md

    });
    ```
    
    ### Text Processing and JSON
    ```java
    import org.codelibs.core.text.*;
    
    // JSON utilities with proper escaping
    String escaped = JsonUtil.escape("Hello \"World\" with special chars");
    String unescaped = JsonUtil.unescape(escaped);
    
    // Text tokenization
    Tokenizer tokenizer = new Tokenizer("field1,field2,field3", ",");
    while (tokenizer.hasMoreTokens()) {
        String token = tokenizer.nextToken();
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sun Aug 31 02:56:02 GMT 2025
    - 12.7K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java

    import com.google.common.collect.testing.google.TestStringListMultimapGenerator;
    import com.google.common.collect.testing.google.UnmodifiableCollectionTests;
    import com.google.common.primitives.Chars;
    import com.google.common.testing.CollectorTester;
    import com.google.common.testing.EqualsTester;
    import com.google.common.testing.NullPointerTester;
    import com.google.common.testing.SerializableTester;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Nov 17 22:50:48 GMT 2025
    - 25.9K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

            final int[] values = getCrawlerDocumentCharsAsArray(QUERY_HIGHLIGHT_BOUNDARY_CHARS, getQueryHighlightBoundaryChars());
            final char[] chars = new char[values.length];
            for (int i = 0; i < values.length; i++) {
                chars[i] = (char) values[i];
            }
            return chars;
        }
    
        String getQueryHighlightTerminalChars();
    
        default int[] getQueryHighlightTerminalCharsAsArray() {
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Sat Dec 13 02:21:17 GMT 2025
    - 88.2K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/io/CharSourceTest.java

        Iterable<CharSource> cycle = Iterables.cycle(ImmutableList.of(source));
        CharSource concatenated = CharSource.concat(cycle);
    
        String expected = "abcdabcd";
    
        // read the first 8 chars manually, since there's no equivalent to ByteSource.slice
        // TODO(cgdecker): Add CharSource.slice?
        StringBuilder builder = new StringBuilder();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/suggest/analysis/SuggestAnalyzerTest.java

        }
    
        @Test
        public void testAnalyzeAndReadingWithMixedContent() {
            // Test analyzeAndReading with mixed content (numbers, letters, special chars)
            String text = "Test123 ABC-456";
            String field = "content";
            String lang = "en";
    
            List<AnalyzeToken> tokens = analyzer.analyzeAndReading(text, field, lang);
    
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Mon Sep 01 13:33:03 GMT 2025
    - 15.7K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/io/CharStreamsTest.java

            // with a len of 0 forever
            if (len <= 0) {
              fail("read called with a len of " + len);
            }
            // read fewer than the max number of chars to read
            // shouldn't be a problem unless the buffer is shrinking each call
            return in.read(cbuf, off, Math.max(len - 1024, 0));
          }
        };
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 11.3K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/io/CharStreamsTest.java

            // with a len of 0 forever
            if (len <= 0) {
              fail("read called with a len of " + len);
            }
            // read fewer than the max number of chars to read
            // shouldn't be a problem unless the buffer is shrinking each call
            return in.read(cbuf, off, Math.max(len - 1024, 0));
          }
        };
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 11.3K bytes
    - Click Count (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/exception/CrawlerSystemExceptionTest.java

        }
    
        /**
         * Test constructor with special characters in message
         */
        public void test_constructor_withSpecialCharactersInMessage() {
            String message = "Error: \n\t\r\0\b\f with special chars #@!$%^&*()[]{}";
            CrawlerSystemException exception = new CrawlerSystemException(message);
    
            assertNotNull(exception);
            assertEquals(message, exception.getMessage());
        }
    
        /**
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Wed Sep 03 14:42:53 GMT 2025
    - 20K bytes
    - Click Count (0)
Back to Top