Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for unescaped (0.06 sec)

  1. 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()) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sun Aug 31 02:56:02 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. gorm.go

    				Clauses:   map[string]clause.Clause{},
    				Vars:      make([]interface{}, 0, 8),
    				SkipHooks: db.Statement.SkipHooks,
    			}
    			if db.Config.PropagateUnscoped {
    				tx.Statement.Unscoped = db.Statement.Unscoped
    			}
    		} else {
    			// with clone statement
    			tx.Statement = db.Statement.clone()
    			tx.Statement.DB = tx
    		}
    
    		return tx
    	}
    
    	return db
    }
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Aug 26 06:24:29 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/util/QueryStringBuilder.java

        }
    
        /**
         * Escapes special characters in a query string if escaping is enabled.
         * Replaces reserved characters with their escaped equivalents based on the Constants.RESERVED array.
         *
         * @param value the query string to escape
         * @return the escaped query string, or the original value if escaping is disabled
         */
        protected String escapeQuery(final String value) {
            if (!escape) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java

            assertEquals("word2", result.get(2).getInput());
        }
    
        public void test_unescape() throws Exception {
            // Test with escaped characters (backslash sequences)
            String content = "test\\t1\n" + // escaped tab sequence
                    "test\\n2\n" + // escaped newline sequence
                    "test3\n"; // no escape
    
            // Write content to test file
            writeTestFile(content);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/ViewHelper.java

         *
         * @param text the text to process
         * @return the escaped and highlighted text
         */
        protected String escapeHighlight(final String text) {
            final String escaped = LaFunctions.h(text);
            final String value;
            if (ComponentUtil.getFessConfig().isQueryHighlightBoundaryPositionDetect()) {
                int pos = escaped.indexOf(escapedHighlightPre);
                while (pos >= 0) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 52.4K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/timer/MonitorTargetTest.java

            monitorTarget.append(buf, "dateKey", supplier);
            String result = buf.toString();
            assertTrue(result.startsWith("\"dateKey\":\""));
            // Check that the date was converted to string and properly escaped
            assertTrue(result.contains("2021") || result.contains("Jan") || result.contains("1609459200000"));
        }
    
        // Test appendTimestamp method
        public void test_appendTimestamp() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11K bytes
    - Viewed (0)
Back to top