Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for amqp (0.15 sec)

  1. android/guava-tests/test/com/google/common/html/HtmlEscapersTest.java

        assertEquals("test & test & test", htmlEscaper().escape("test & test & test"));
        assertEquals("test &lt;&lt; 1", htmlEscaper().escape("test << 1"));
        assertEquals("test &gt;&gt; 1", htmlEscaper().escape("test >> 1"));
        assertEquals("&lt;tab&gt;", htmlEscaper().escape("<tab>"));
    
        // Test simple escape of '&'.
        assertEquals("foo&amp;bar", htmlEscaper().escape("foo&bar"));
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Dec 16 19:54:45 GMT 2020
    - 2.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/net/UrlEscapers.java

       *       the same.
       *   <li>The unreserved characters ".", "-", "~", and "_" remain the same.
       *   <li>The general delimiters "@" and ":" remain the same.
       *   <li>The subdelimiters "!", "$", "&amp;", "'", "(", ")", "*", "+", ",", ";", and "=" remain
       *       the same.
       *   <li>The space character " " is converted into %20.
       *   <li>All other characters are converted into one or more bytes using UTF-8 encoding and each
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 28 15:04:33 GMT 2021
    - 6.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/escape/ArrayBasedUnicodeEscaper.java

     * general way.
     *
     * <p>A good example of usage of this class is for HTML escaping where the replacement array
     * contains information about the named HTML entities such as {@code &amp;} and {@code &quot;} while
     * {@link #escapeUnsafe} is overridden to handle general escaping of the form {@code &#NNNNN;}.
     *
     * <p>The size of the data structure used by {@link ArrayBasedUnicodeEscaper} is proportional to the
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 8.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/html/HtmlEscapers.java

      private static final Escaper HTML_ESCAPER =
          Escapers.builder()
              .addEscape('"', "&quot;")
              // Note: "&apos;" is not defined in HTML 4.01.
              .addEscape('\'', "&#39;")
              .addEscape('&', "&amp;")
              .addEscape('<', "&lt;")
              .addEscape('>', "&gt;")
              .build();
    
      private HtmlEscapers() {}
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 14 22:08:54 GMT 2021
    - 3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/xml/XmlEscapers.java

            builder.addEscape(c, "\uFFFD");
          }
        }
    
        // Build the content escaper first and then add quote escaping for the
        // general escaper.
        builder.addEscape('&', "&amp;");
        builder.addEscape('<', "&lt;");
        builder.addEscape('>', "&gt;");
        XML_CONTENT_ESCAPER = builder.build();
        builder.addEscape('\'', "&apos;");
        builder.addEscape('"', "&quot;");
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 18 20:55:09 GMT 2022
    - 6.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/xml/XmlEscapersTest.java

          CharEscaper xmlEscaper, boolean shouldEscapeQuotes, boolean shouldEscapeWhitespaceChars) {
        // Simple examples (smoke tests)
        assertEquals("xxx", xmlEscaper.escape("xxx"));
        assertEquals("test &amp; test &amp; test", xmlEscaper.escape("test & test & test"));
        assertEquals("test &lt;&lt; 1", xmlEscaper.escape("test << 1"));
        assertEquals("test &gt;&gt; 1", xmlEscaper.escape("test >> 1"));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Dec 16 19:54:45 GMT 2020
    - 4.7K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/html/HtmlEscapersTest.java

        assertEquals("test &amp; test &amp; test", htmlEscaper().escape("test & test & test"));
        assertEquals("test &lt;&lt; 1", htmlEscaper().escape("test << 1"));
        assertEquals("test &gt;&gt; 1", htmlEscaper().escape("test >> 1"));
        assertEquals("&lt;tab&gt;", htmlEscaper().escape("<tab>"));
    
        // Test simple escape of '&'.
        assertEquals("foo&amp;bar", htmlEscaper().escape("foo&bar"));
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 2.3K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/xml/XmlEscapersTest.java

          CharEscaper xmlEscaper, boolean shouldEscapeQuotes, boolean shouldEscapeWhitespaceChars) {
        // Simple examples (smoke tests)
        assertEquals("xxx", xmlEscaper.escape("xxx"));
        assertEquals("test &amp; test &amp; test", xmlEscaper.escape("test & test & test"));
        assertEquals("test &lt;&lt; 1", xmlEscaper.escape("test << 1"));
        assertEquals("test &gt;&gt; 1", xmlEscaper.escape("test >> 1"));
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.7K bytes
    - Viewed (0)
  9. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java

     *     this.entry = entry;
     *   }
     *   public E getEntry() { return entry; }
     *   public int compareTo(FIFOEntry&lt;E&gt; other) {
     *     int res = entry.compareTo(other.entry);
     *     if (res == 0 &amp;&amp; other.entry != this.entry)
     *       res = (seqNum &lt; other.seqNum ? -1 : 1);
     *     return res;
     *   }
     * }</pre>
     *
     * @author Doug Lea
     * @author Justin T. Sampson
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 19.5K bytes
    - Viewed (0)
  10. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java

     *     this.entry = entry;
     *   }
     *   public E getEntry() { return entry; }
     *   public int compareTo(FIFOEntry&lt;E&gt; other) {
     *     int res = entry.compareTo(other.entry);
     *     if (res == 0 &amp;&amp; other.entry != this.entry)
     *       res = (seqNum &lt; other.seqNum ? -1 : 1);
     *     return res;
     *   }
     * }</pre>
     *
     * @author Doug Lea
     * @author Justin T. Sampson
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 19.5K bytes
    - Viewed (0)
Back to top