Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 161 for ESCAPE (0.04 seconds)

  1. src/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java

         * all occurrences of '?' with '\?' to ensure that these characters
         * are treated as literals rather than wildcard characters in queries.
         *
         * @param query the query string to escape
         * @return the escaped query string
         */
        public static String escapeWildcardQuery(final String query) {
            return query.replace("*", "\\*").replace("?", "\\?");
        }
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Nov 23 11:21:40 GMT 2025
    - 17.5K bytes
    - Click Count (1)
  2. tests/upsert_test.go

    		if !regexp.MustCompile(`INTO .restricted_languages. .*\(.code.,.name.,.lang.\) .* (SET|UPDATE) .name.=.*.name.\W*$`).MatchString(r.Statement.SQL.String()) {
    			t.Errorf("Table with escape character, got %v", r.Statement.SQL.String())
    		}
    	}
    
    	user := *GetUser("upsert_on_conflict", Config{})
    	user.Age = 20
    	if err := DB.Create(&user).Error; err != nil {
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Tue Jul 29 11:06:13 GMT 2025
    - 13.1K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/primitives/ImmutableLongArray.java

        }
      }
    
      // Instance stuff here
    
      // The array is never mutated after storing in this field and the construction strategies ensure
      // it doesn't escape this class
      @SuppressWarnings("Immutable")
      private final long[] array;
    
      /*
       * TODO(kevinb): evaluate the trade-offs of going bimorphic to save these two fields from most
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 12 14:49:24 GMT 2025
    - 22K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/suggest/entity/SuggestItemBoundaryTest.java

            String json = item.toJsonString();
    
            assertNotNull(json);
            // JSON should properly escape quotes
            assertTrue("JSON should be valid", json.startsWith("{") && json.endsWith("}"));
        }
    
        @Test
        public void test_toJsonString_withAllFields() {
            String[] text = { "test" };
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Jan 17 05:10:37 GMT 2026
    - 22.2K bytes
    - Click Count (0)
  5. src/main/webapp/js/chat.js

            var html = marked.parse(text, { gfm: true, breaks: true });
            return DOMPurify.sanitize(html, markdownSanitizeConfig);
        }
    
        /**
         * Escape HTML characters
         */
        function escapeHtml(text) {
            if (!text) return '';
            var div = document.createElement('div');
            div.textContent = text;
            return div.innerHTML;
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 19 01:36:02 GMT 2026
    - 30.6K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/chat/ChatClient.java

                return Collections.emptyList();
            }
        }
    
        /**
         * Escapes special characters in the value for use in Fess queries.
         *
         * @param value the value to escape
         * @return the escaped value
         */
        protected String escapeQueryValue(final String value) {
            if (value == null) {
                return "";
            }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 56.6K bytes
    - Click Count (0)
  7. src/main/webapp/js/bootstrap.min.js.map

     = 1000\nconst TRANSITION_END = 'transitionend'\n\n/**\n * Properly escape IDs selectors to handle weird IDs\n * @param {string} selector\n * @returns {string}\n */\nconst parseSelector = selector => {\n  if (selector && window.CSS && window.CSS.escape) {\n    // document.querySelector needs escaping to handle IDs (html5+) containing for instance /\n    selector = selector.replace(/#([^\\s\"#']+)/g, (match, id) => `#${CSS.escape(id)}`)\n  }\n\n  return selector\n}\n\n// Shout-out Angus Croll (ht...
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 12 06:14:02 GMT 2025
    - 211.9K bytes
    - Click Count (0)
  8. src/bytes/buffer.go

    	//	return append(b, make([]byte, n)...)
    	// This avoids unnecessary zero-ing of the first len(b) bytes of the
    	// allocated slice, but this pattern causes b to escape onto the heap.
    	//
    	// Instead use the append-make pattern with a nil slice to ensure that
    	// we allocate buffers rounded up to the closest size class.
    	c := len(b) + n // ensure enough space for n elements
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Nov 14 19:01:17 GMT 2025
    - 16.5K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/xml/XmlEscapersTest.java

        // Simple examples (smoke tests)
        assertThat(xmlEscaper.escape("xxx")).isEqualTo("xxx");
        assertThat(xmlEscaper.escape("test & test & test")).isEqualTo("test & test & test");
        assertThat(xmlEscaper.escape("test << 1")).isEqualTo("test &lt;&lt; 1");
        assertThat(xmlEscaper.escape("test >> 1")).isEqualTo("test &gt;&gt; 1");
        assertThat(xmlEscaper.escape("<tab>")).isEqualTo("&lt;tab&gt;");
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 5K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/escape/ArrayBasedUnicodeEscaperTest.java

     * limitations under the License.
     */
    
    package com.google.common.escape;
    
    import static com.google.common.escape.ReflectionFreeAssertThrows.assertThrows;
    import static com.google.common.truth.Truth.assertThat;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.ImmutableMap;
    import com.google.common.escape.testing.EscaperAsserts;
    import java.io.IOException;
    import junit.framework.TestCase;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Feb 18 15:41:04 GMT 2025
    - 5.2K bytes
    - Click Count (0)
Back to Top