Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for funescape (0.31 sec)

  1. android/guava/src/com/google/common/net/UrlEscapers.java

       * characters, even though <a href="https://goo.gl/e7E0In">many of these are accepted in modern
       * URLs</a>. (<a href="https://goo.gl/jfVxXW">If the escaper were to leave these characters
       * unescaped, they would be escaped by the consumer at parse time, anyway.</a>) Additionally, the
       * escaper escapes the slash character ("/"). While slashes are acceptable in URL paths, they are
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 28 15:04:33 GMT 2021
    - 6.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/escape/ArrayBasedUnicodeEscaper.java

     * code point. An additional safe range is provided that determines whether code points without
     * specific replacements are to be considered safe and left unescaped or should be escaped in a
     * general way.
     *
     * <p>A good example of usage of this class is for HTML escaping where the replacement array
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 8.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/net/PercentEscaper.java

    import javax.annotation.CheckForNull;
    
    /**
     * A {@code UnicodeEscaper} that escapes some set of Java characters using a UTF-8 based percent
     * encoding scheme. The set of safe characters (those which remain unescaped) can be specified on
     * construction.
     *
     * <p>This class is primarily used for creating URI escapers in {@link UrlEscapers} but can be used
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 8.7K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/net/UrlEscapersTest.java

        try {
          e.escape((String) null);
          fail("Escaping null string should throw exception");
        } catch (NullPointerException x) {
          // pass
        }
    
        // All URL escapers should leave 0-9, A-Z, a-z unescaped
        assertUnescaped(e, 'a');
        assertUnescaped(e, 'z');
        assertUnescaped(e, 'A');
        assertUnescaped(e, 'Z');
        assertUnescaped(e, '0');
        assertUnescaped(e, '9');
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.9K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/net/PercentEscaperTest.java

        assertEquals("string with spaces", spaceEscaper.escape("string with spaces"));
      }
    
      /** Tests that if we add extra 'safe' characters they remain unescaped */
      public void testCustomEscaper() {
        UnicodeEscaper e = new PercentEscaper("+*/-", false);
        for (char c = 0; c < 128; c++) {
          if ((c >= '0' && c <= '9')
              || (c >= 'a' && c <= 'z')
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 5.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/escape/ArrayBasedUnicodeEscaperTest.java

              }
            };
        EscaperAsserts.assertBasic(escaper);
        assertEquals("<tab>Fish <and> Chips<newline>", escaper.escape("\tFish & Chips\n"));
    
        // Verify that everything else is left unescaped.
        String safeChars = "\0\u0100\uD800\uDC00\uFFFF";
        assertEquals(safeChars, escaper.escape(safeChars));
    
        // Ensure that Unicode escapers behave correctly wrt badly formed input.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 07 23:02:38 GMT 2024
    - 5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/net/UrlEscapersTest.java

        try {
          e.escape((String) null);
          fail("Escaping null string should throw exception");
        } catch (NullPointerException x) {
          // pass
        }
    
        // All URL escapers should leave 0-9, A-Z, a-z unescaped
        assertUnescaped(e, 'a');
        assertUnescaped(e, 'z');
        assertUnescaped(e, 'A');
        assertUnescaped(e, 'Z');
        assertUnescaped(e, '0');
        assertUnescaped(e, '9');
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue May 15 20:25:06 GMT 2018
    - 4.9K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/net/PercentEscaperTest.java

        assertEquals("string with spaces", spaceEscaper.escape("string with spaces"));
      }
    
      /** Tests that if we add extra 'safe' characters they remain unescaped */
      public void testCustomEscaper() {
        UnicodeEscaper e = new PercentEscaper("+*/-", false);
        for (char c = 0; c < 128; c++) {
          if ((c >= '0' && c <= '9')
              || (c >= 'a' && c <= 'z')
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 5.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/escape/UnicodeEscaper.java

              destIndex += escaped.length;
            }
            // If we dealt with an escaped character, reset the unescaped range.
            unescapedChunkStart = nextIndex;
          }
          index = nextEscapeIndex(s, nextIndex, end);
        }
    
        // Process trailing unescaped characters - no need to account for escaped
        // length or padding the allocation.
        int charsSkipped = end - unescapedChunkStart;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 18 20:55:09 GMT 2022
    - 13.2K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/reflect/ClassPathTest.java

    
      @AndroidIncompatible // Android forbids null parent ClassLoader
      // https://github.com/google/guava/issues/2152
      public void testJarFileWithSpaces() throws Exception {
        URL url = makeJarUrlWithName("To test unescaped spaces in jar file name.jar");
        URLClassLoader classloader = new URLClassLoader(new URL[] {url}, null);
        assertThat(ClassPath.from(classloader).getTopLevelClasses()).isNotEmpty();
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Apr 26 14:02:27 GMT 2024
    - 24.9K bytes
    - Viewed (0)
Back to top