Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for Quote (1.9 sec)

  1. src/main/java/org/codelibs/core/text/Tokenizer.java

        }
    
        private boolean processQuote() {
            if (peekc == QUOTE) {
                ttype = QUOTE;
                int i = 0;
                int d = read();
                int c = d;
                while (d >= 0) {
                    if (d == QUOTE) {
                        final int d2 = read();
                        if (d2 == QUOTE) {
                            c = QUOTE;
                        } else {
                            d = d2;
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. src/main/java/org/codelibs/fess/util/QueryStringBuilder.java

         * 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)
  7. src/test/java/org/codelibs/fess/util/QueryStringBuilderTest.java

            final String queryWithoutSort = new QueryStringBuilder().params(createSimpleParams("test")).build();
            assertEquals("test", queryWithoutSort);
        }
    
        public void test_quote() {
            // Test quote functionality through the builder behavior
            assertEquals("test", getQuery("test", new String[0], Collections.emptyMap(), Collections.emptyMap(), false));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  8. 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)
  9. cmd/common-main.go

    	}
    
    	key := envTokens[0]
    	val := envTokens[1]
    
    	// Remove quotes from the value if found
    	if len(val) >= 2 {
    		quote := val[0]
    		if (quote == '"' || quote == '\'') && val[len(val)-1] == quote {
    			val = val[1 : len(val)-1]
    		}
    	}
    
    	return envKV{
    		Key:   key,
    		Value: val,
    	}, nil
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  10. tests/sql_builder_test.go

    		t.Fatalf("\nexpected: %s\nactually: %s", expected, actually)
    	}
    }
    
    func replaceQuoteInSQL(sql string) string {
    	// convert single quote into double quote
    	sql = strings.ReplaceAll(sql, `'`, `"`)
    
    	// convert dialect special quote into double quote
    	switch DB.Dialector.Name() {
    	case "postgres", "gaussdb":
    		sql = strings.ReplaceAll(sql, `"`, `"`)
    	case "mysql", "sqlite":
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Jul 21 02:46:58 UTC 2025
    - 16.7K bytes
    - Viewed (0)
Back to top