Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 54 for quoted (1.23 sec)

  1. statement.go

    }
    
    // WriteQuoted write quoted value
    func (stmt *Statement) WriteQuoted(value interface{}) {
    	stmt.QuoteTo(&stmt.SQL, value)
    }
    
    // QuoteTo write quoted value to writer
    func (stmt *Statement) QuoteTo(writer clause.Writer, field interface{}) {
    	write := func(raw bool, str string) {
    		if raw {
    			writer.WriteString(str)
    		} else {
    			stmt.DB.Dialector.QuoteTo(writer, str)
    		}
    	}
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Sep 04 13:13:16 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/exception/ThemeExceptionTest.java

        }
    
        public void test_messageWithSpecialCharacters() {
            // Test message with special characters
            String message = "Theme error: 日本語 & special <characters> \"quoted\" 'text'";
            ThemeException exception = new ThemeException(message);
    
            assertNotNull(exception);
            assertEquals(message, exception.getMessage());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/util/QueryStringBuilder.java

            // Default constructor
        }
    
        /**
         * Quotes a string value if it contains spaces.
         * Multi-word values are wrapped in double quotes with internal quotes replaced by spaces.
         *
         * @param value the string value to quote
         * @return the quoted string if it contains spaces, otherwise the original value
         */
        protected String quote(final String value) {
            if (value.split("\\s").length > 1) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/util/GsaConfigParser.java

                return "^" + Pattern.quote(s.substring(1, s.length() - 1)) + "$";
            }
            if (s.startsWith("^")) {
                return "^" + Pattern.quote(s.substring(1));
            }
            if (s.endsWith("$")) {
                return Pattern.quote(s.substring(0, s.length() - 1)) + "$";
            }
            return Pattern.quote(s);
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/service/ElevateWordService.java

                logger.warn("Failed to write a sugget elevate word.", e);
            }
        }
    
        /**
         * Safely retrieves a value from a list at the specified index, handling bounds checking
         * and cleaning up quoted strings.
         *
         * @param list the list to retrieve the value from
         * @param index the index of the value to retrieve
         * @return the cleaned value at the specified index, or empty string if index is out of bounds
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 18.3K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/job/JobExecutorTest.java

            result = jobExecutor.execute("test", "script with \"quotes\"");
            assertEquals("Executed: test script with \"quotes\"", result);
    
            result = jobExecutor.execute("test", "script with 'single quotes'");
            assertEquals("Executed: test script with 'single quotes'", result);
        }
    
        public void test_execute_longScript() {
            // Test with long script
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/opensearch/user/exbhv/RoleBhv.java

        @Override
        protected String asEsIndex() {
            if (indexName == null) {
                final String name = ComponentUtil.getFessConfig().getIndexUserIndex();
                indexName = super.asEsIndex().replaceFirst(Pattern.quote("fess_user"), name);
            }
            return indexName;
        }
    
        @Override
        protected <RESULT extends Role> RESULT createEntity(final Map<String, Object> source, final Class<? extends RESULT> entityType) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/base/ThrowablesTest.java

    import static com.google.common.base.Throwables.throwIfInstanceOf;
    import static com.google.common.base.Throwables.throwIfUnchecked;
    import static com.google.common.truth.Truth.assertThat;
    import static java.util.regex.Pattern.quote;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/opensearch/user/exbhv/UserBhv.java

        @Override
        protected String asEsIndex() {
            if (indexName == null) {
                final String name = ComponentUtil.getFessConfig().getIndexUserIndex();
                indexName = super.asEsIndex().replaceFirst(Pattern.quote("fess_user"), name);
            }
            return indexName;
        }
    
        @Override
        protected <RESULT extends User> RESULT createEntity(final Map<String, Object> source, final Class<? extends RESULT> entityType) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/entity/RequestParameterTest.java

            // Test toString with special characters
            String name = "special[]param";
            String[] values = { "[value]", ",comma,", "quote\"test" };
            RequestParameter param = new RequestParameter(name, values);
    
            String expected = "[special[]param, [[value], ,comma,, quote\"test]]";
            assertEquals(expected, param.toString());
        }
    
        public void test_immutability() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.7K bytes
    - Viewed (0)
Back to top