Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 472 for charactersOf (0.09 seconds)

  1. guava-testlib/src/com/google/common/escape/testing/EscaperAsserts.java

       *
       * @param escaper the non-null escaper to test
       */
      public static void assertBasic(Escaper escaper) throws IOException {
        // Escapers operate on characters: no characters, no escaping.
        Assert.assertEquals("", escaper.escape(""));
        // Assert that escapers throw null pointer exceptions.
        try {
          escaper.escape((String) null);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jan 18 20:55:09 GMT 2022
    - 3.8K bytes
    - Click Count (0)
  2. src/main/java/jcifs/smb1/util/Hexdump.java

                    val >>>= 4;
                }
                size--;
            }
        }
    
        /**
         * Converts a long value to hexadecimal characters and writes them to the specified character array.
         *
         * @param val the long value to convert to hexadecimal characters
         * @param dst the destination character array to write the hex digits into
         * @param dstIndex the starting index in the destination array
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  3. android/guava/src/com/google/thirdparty/publicsuffix/PublicSuffixTrie.java

     * 3 to 4 characters. This would allow:
     *
     * <ul>
     *   <li>A full 32-bit offset for the String Pool (using 2 characters).
     *   <li>A full 16-bit child count (using the freed bits from the 4th character).
     * </ul>
     */
    @GwtCompatible
    public final class PublicSuffixTrie {
    
      /** Each node in the trie takes up 3 characters. */
      static final int NODE_SIZE = 3;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 21:21:59 GMT 2026
    - 9.1K bytes
    - Click Count (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt

     * characters, and characters that already have another meaning in a particular context.
     *
     * Percent encoding is used in every URL component except for the hostname. But the set of
     * characters that need to be encoded is different for each component. For example, the path
     * component must escape all of its `?` characters, otherwise it could be interpreted as the
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 63.5K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/RequestWithPathTest.java

            assertEquals("", testImplementation.getFullUNCPath());
        }
    
        @Test
        @DisplayName("Test with special characters in paths")
        void testWithSpecialCharacters() {
            // Test path with spaces and special characters
            String specialPath = "/share/folder name/file with spaces & special!@#$%.txt";
            testImplementation.setPath(specialPath);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.2K bytes
    - Click Count (0)
  6. android/guava-tests/benchmark/com/google/common/io/CharStreamsCopyBenchmark.java

      @BeforeExperiment
      public void setUp() {
        // precalculate some random strings of ascii characters.
        StringBuilder sb = new StringBuilder();
        Random random = new Random(0xdeadbeef); // for unpredictable but reproducible behavior
        sb.ensureCapacity(size);
        for (int k = 0; k < size; k++) {
          // [9-127) includes all ascii non-control characters
          sb.append((char) (random.nextInt(127 - 9) + 9));
        }
        data = sb.toString();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/io/CharSource.java

    import java.util.List;
    import java.util.function.Consumer;
    import java.util.stream.Stream;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A readable source of characters, such as a text file. Unlike a {@link Reader}, a {@code
     * CharSource} is not an open, stateful stream of characters that can be read and closed. Instead,
     * it is an immutable <i>supplier</i> of {@code Reader} instances.
     *
     * <p>{@code CharSource} provides two kinds of methods:
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 25.7K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/job/PurgeDocJobTest.java

            // Execute the job
            String result = purgeDocJob.execute();
    
            // Assert deleteByQuery was called with special characters
            assertTrue(deleteByQueryCalled);
            assertEquals("fess.update-index$special%chars", deleteIndex);
    
            // Assert field name with special characters was used
            assertNotNull(deleteQuery);
            assertTrue(deleteQuery instanceof RangeQueryBuilder);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 16.4K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/escape/ArrayBasedUnicodeEscaperTest.java

        // A surrogate pair defining a code point outside the safe range (but both
        // of the surrogate characters lie within the safe range). It is important
        // not to accidentally treat this as a sequence of safe characters.
        String unsafeInput = "\uDBFF\uDFFF"; // 0x10FFFF
        assertThat(surrogateEscaper.escape(unsafeInput)).isEqualTo("X");
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Feb 18 15:41:04 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/util/GsaConfigParser.java

         *
         * @param ch the characters from the XML document
         * @param start the start position in the character array
         * @param length the number of characters to use from the character array
         * @throws SAXException if a SAX error occurs during character processing
         */
        @Override
        public void characters(final char[] ch, final int start, final int length) throws SAXException {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 21.6K bytes
    - Click Count (0)
Back to Top