Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 116 for apos (0.14 sec)

  1. android/guava-tests/test/com/google/common/xml/XmlEscapersTest.java

        // Test quotes are escaped.
        assertEquals(""test"", xmlAttributeEscaper.escape("\"test\""));
        assertEquals("'test'", xmlAttributeEscaper.escape("\'test'"));
        // Test all escapes
        assertEquals(
            "a&quot;b&lt;c&gt;d&amp;e&quot;f&apos;", xmlAttributeEscaper.escape("a\"b<c>d&e\"f'"));
        // Test '\t', '\n' and '\r' are escaped.
    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)
  2. guava-tests/test/com/google/common/xml/XmlEscapersTest.java

        // Test quotes are escaped.
        assertEquals("&quot;test&quot;", xmlAttributeEscaper.escape("\"test\""));
        assertEquals("&apos;test&apos;", xmlAttributeEscaper.escape("\'test'"));
        // Test all escapes
        assertEquals(
            "a&quot;b&lt;c&gt;d&amp;e&quot;f&apos;", xmlAttributeEscaper.escape("a\"b<c>d&e\"f'"));
        // Test '\t', '\n' and '\r' are escaped.
    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)
  3. android/guava/src/com/google/common/html/HtmlEscapers.java

      // that are considered authoritative for the behavior of that escaper.
    
      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)
  4. android/guava/src/com/google/common/xml/XmlEscapers.java

        // general escaper.
        builder.addEscape('&', "&amp;");
        builder.addEscape('<', "&lt;");
        builder.addEscape('>', "&gt;");
        XML_CONTENT_ESCAPER = builder.build();
        builder.addEscape('\'', "&apos;");
        builder.addEscape('"', "&quot;");
        XML_ESCAPER = builder.build();
        builder.addEscape('\t', "&#x9;");
        builder.addEscape('\n', "&#xA;");
        builder.addEscape('\r', "&#xD;");
    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)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/BasicJavadocLexer.java

        static {
            ENTITIES.put("amp", "&");
            ENTITIES.put("lt", "<");
            ENTITIES.put("gt", ">");
            ENTITIES.put("quot", "\"");
            ENTITIES.put("apos", "'");
        }
    
        private final JavadocScanner scanner;
    
        BasicJavadocLexer(JavadocScanner scanner) {
            this.scanner = scanner;
        }
    
        public void pushText(String rawCommentText) {
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 7.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/base/CharMatcher.java

              break;
            }
            chars[pos - spread] = chars[pos];
            pos++;
          }
          spread++;
        }
        return new String(chars, 0, pos - spread);
      }
    
      /**
       * Returns a string containing all matching BMP characters of a character sequence, in order. For
       * example:
       *
       * <pre>{@code
       * CharMatcher.is('a').retainFrom("bazaar")
       * }</pre>
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/ntlmssp/Type2Message.java

            pos += 8;
    
            if ( getFlag(NTLMSSP_NEGOTIATE_VERSION) ) {
                System.arraycopy(NTLMSSP_VERSION, 0, type2, pos, NTLMSSP_VERSION.length);
                pos += NTLMSSP_VERSION.length;
            }
    
            pos += writeSecurityBufferContent(type2, pos, targetNameOff, targetBytes);
            pos += writeSecurityBufferContent(type2, pos, targetInfoOff, targetInformationBytes);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 14.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/io/ClassTraversalUtil.java

                    final int pos = className.lastIndexOf('.');
                    final String packageName = pos == -1 ? null : className.substring(0, pos);
                    final String shortClassName = pos == -1 ? className : className.substring(pos + 1);
                    handler.processClass(packageName, shortClassName);
                }
            }
        }
    
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 11.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/convert/TimeConversionUtil.java

            }
            if (buf.indexOf("HH") == -1) {
                final int pos = buf.indexOf("H");
                if (pos != -1) {
                    buf.replace(pos, pos + 1, "HH");
                }
            }
            if (buf.indexOf("mm") == -1) {
                final int pos = buf.indexOf("m");
                if (pos != -1) {
                    buf.replace(pos, pos + 1, "mm");
                }
            }
            if (buf.indexOf("ss") == -1) {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 21.2K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/io/ByteSourceTest.java

        ByteProcessor<byte[]> processor =
            new ByteProcessor<byte[]>() {
              int pos;
    
              @Override
              public boolean processBytes(byte[] buf, int off, int len) throws IOException {
                System.arraycopy(buf, off, processedBytes, pos, len);
                pos += len;
                return true;
              }
    
              @Override
              public byte[] getResult() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 16.9K bytes
    - Viewed (0)
Back to top