Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for funescape (0.17 sec)

  1. src/main/java/org/codelibs/fess/util/GsaConfigParser.java

            }
            return Pattern.quote(s);
        }
    
        /**
         * Unescapes double backslashes in regex patterns.
         * Converts escaped backslashes (\\) back to single backslashes (\).
         *
         * @param s the string to unescape
         * @return the unescaped string
         */
        protected String unescape(final String s) {
            return s.replace("\\\\", "\\");
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  2. 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();
        // Process each token
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sun Aug 31 02:56:02 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/NtlmPasswordAuthenticationTest.java

            assertEquals(16, hash.length);
        }
    
        // Test unescape method
        @ParameterizedTest
        @CsvSource({ "'test%20string', 'test string'", "'test%25string', 'test%string'", "'test', 'test'", "'' , ''" })
        void testUnescape(String input, String expected) throws Exception {
            assertEquals(expected, NtlmPasswordAuthentication.unescape(input));
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  4. cmd/signature-v2.go

    	if !compareSignatureV2(signature, calculateSignatureV2(policy, cred.SecretKey)) {
    		return cred, ErrSignatureDoesNotMatch
    	}
    	return cred, ErrNone
    }
    
    // Escape encodedQuery string into unescaped list of query params, returns error
    // if any while unescaping the values.
    func unescapeQueries(encodedQuery string) (unescapedQueries []string, err error) {
    	for query := range strings.SplitSeq(encodedQuery, "&") {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java

         */
        public NtlmPasswordAuthentication(String userInfo) {
            domain = username = password = null;
    
            if (userInfo != null) {
                try {
                    userInfo = unescape(userInfo);
                } catch (final UnsupportedEncodingException uee) {}
                int i, u, end;
                char c;
    
                end = userInfo.length();
                for (i = 0, u = 0; i < end; i++) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 26.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

            String dom = null, user = null, pass = null;
            if (userInfo != null) {
                try {
                    userInfo = unescape(userInfo);
                } catch (UnsupportedEncodingException uee) {
                    throw new RuntimeCIFSException(uee);
                }
                int i, u;
                int end = userInfo.length();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30.3K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/dict/stopwords/StopwordsFileTest.java

            assertTrue(result.contains("StopwordsFile"));
            assertTrue(result.contains("path=" + testFile.getAbsolutePath()));
            assertTrue(result.contains("id=test_id"));
        }
    
        // Test unescape private method through reload
        public void test_unescape_noBackslash() {
            String content = "word1\n";
            InputStream is = new ByteArrayInputStream(content.getBytes(StandardCharsets.UTF_8));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  8. 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();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 20:58:01 UTC 2025
    - 23K bytes
    - Viewed (0)
Back to top