Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 200 for Escaper (0.05 seconds)

  1. android/guava-tests/test/com/google/common/escape/ArrayBasedEscaperMapTest.java

     * See the License for the specific language governing permissions and
     * 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;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 2.7K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/reflect/ClassPath.java

      static File toFile(URL url) {
        checkArgument(url.getProtocol().equals("file"));
        try {
          return new File(url.toURI()); // Accepts escaped characters like %20.
        } catch (URISyntaxException e) { // URL.toURI() doesn't escape chars.
          return new File(url.getPath()); // Accepts non-escaped chars like space.
        }
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 24.8K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/helper/MarkdownRendererTest.java

        }
    
        @Test
        public void test_render_escapedCharacters() {
            String markdown = "\\*not italic\\*";
            String result = markdownRenderer.render(markdown);
            // Escaped asterisks should not be converted to italics
            assertFalse(result.contains(""));
        }
    
        @Test
        public void test_render_strikethrough() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 11.1K bytes
    - Click Count (0)
  4. schema/utils_test.go

    	settings := ParseTagSetting(reflect.StructTag(tag).Get("gorm"), ";")
    	if v, ok := settings["EXPRESSION"]; !ok || v != `to_tsvector('english', "Name")` {
    		t.Errorf("ParseTagSetting did not handle escaped double quotes correctly: got %#v", v)
    	}
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Thu Oct 30 11:15:36 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/helper/CrawlerStatsHelperTest.java

        }
    
        @Test
        public void test_escapeValue() {
            String input = "test\twith\ttabs";
            String escaped = crawlerStatsHelper.escapeValue(input);
            assertEquals("test with tabs", escaped);
            assertFalse(escaped.contains("\t"));
        }
    
        @Test
        public void test_statsKeyObjectWithoutUrl() {
            StatsKeyObject key = new StatsKeyObject("test_id");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 15.3K bytes
    - Click Count (0)
  6. build-logic/buildquality/src/main/kotlin/gradlebuild/incubation/action/IncubatingApiReportAggregationWorkAction.kt

                        writer.println("<h3>In $project</h3>")
                        writer.println("<ul>")
                        problems.forEach {
                            writer.println("   <li>${it.name.escape()}</li>")
                        }
                        writer.println("</ul>")
                    }
                }
                writer.println("</body></html>")
            }
        }
    
        private
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Jun 02 09:57:54 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/escape/PackageSanityTests.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.escape;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.testing.AbstractPackageSanityTests;
    import org.jspecify.annotations.NullUnmarked;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 1K bytes
    - Click Count (0)
  8. cmd/event-notification.go

    	ReqParams    map[string]string
    	RespElements map[string]string
    	Host         string
    	UserAgent    string
    }
    
    // ToEvent - converts to notification event.
    func (args eventArgs) ToEvent(escape bool) event.Event {
    	eventTime := UTCNow()
    	uniqueID := fmt.Sprintf("%X", eventTime.UnixNano())
    	if !args.Object.ModTime.IsZero() {
    		uniqueID = fmt.Sprintf("%X", args.Object.ModTime.UnixNano())
    	}
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Jun 21 22:22:24 GMT 2024
    - 7.7K bytes
    - Click Count (0)
  9. internal/s3select/jstream/decoder.go

    	r2 := d.u4()
    	if r2 < 0 {
    		return "", d.mkError(ErrSyntax, "in unicode escape sequence")
    	}
    
    	// write surrogate pair
    	d.scratch.addRune(utf16.DecodeRune(r, r2))
    	c = d.next()
    	goto scan
    }
    
    // u4 reads four bytes following a \u escape
    func (d *Decoder) u4() rune {
    	// logic taken from:
    	// github.com/buger/jsonparser/blob/master/escape.go#L20
    	var h [4]int
    	for i := range 4 {
    		c := d.next()
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 13.4K bytes
    - Click Count (0)
  10. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/vagrant/VagrantProgressLogger.java

        }
    
        @Override
        public String apply(String line) {
            if (line.startsWith("\r\u001b")) {
                /* We don't want to try to be a full terminal emulator but we want to
                  keep the escape sequences from leaking and catch _some_ of the
                  meaning. */
                line = line.substring(2);
                if ("[K".equals(line)) {
                    inProgressReport = true;
                }
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 1.8K bytes
    - Click Count (0)