Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 44 for unicos (0.14 sec)

  1. android/guava/src/com/google/common/xml/XmlEscapers.java

        // The char values \uFFFE and \uFFFF are explicitly not allowed in XML
        // (Unicode code points above \uFFFF are represented via surrogate pairs
        // which means they are treated as pairs of safe characters).
        builder.setSafeRange(Character.MIN_VALUE, '\uFFFD');
        // Unsafe characters are replaced with the Unicode replacement character.
        builder.setUnsafeReplacement("\uFFFD");
    
        /*
    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)
  2. guava-tests/test/com/google/common/escape/EscapersTest.java

        assertEquals("<hello><hi><lo>", unicodeEscaper.escape("x\uD800\uDC00"));
    
        // Test that wrapped escapers acquire good Unicode semantics.
        assertEquals("<hi><hello><lo>", charEscaper.escape("\uD800x\uDC00"));
        try {
          unicodeEscaper.escape("\uD800x\uDC00");
          fail("should have failed for bad Unicode input");
        } catch (IllegalArgumentException e) {
          // pass
        }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/escape/ArrayBasedUnicodeEscaperTest.java

        String safeChars = "\0\u0100\uD800\uDC00\uFFFF";
        assertEquals(safeChars, escaper.escape(safeChars));
    
        // Ensure that Unicode escapers behave correctly wrt badly formed input.
        String badUnicode = "\uDC00\uD800";
        try {
          escaper.escape(badUnicode);
          fail("should fail for bad Unicode");
        } catch (IllegalArgumentException e) {
          // Pass
        }
      }
    
      public void testSafeRange() throws IOException {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 07 23:02:38 GMT 2024
    - 5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/ntlmssp/NtlmFlags.java

    package jcifs.ntlmssp;
    
    
    /**
     * Flags used during negotiation of NTLMSSP authentication.
     */
    public interface NtlmFlags {
    
        /**
         * Indicates whether Unicode strings are supported or used.
         */
        public static final int NTLMSSP_NEGOTIATE_UNICODE = 0x00000001;
    
        /**
         * Indicates whether OEM strings are supported or used.
         */
        public static final int NTLMSSP_NEGOTIATE_OEM = 0x00000002;
    
        /**
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/NtlmUtil.java

            hmac.update(clientChallenge);
            hmac.digest(response, 0, 16);
            System.arraycopy(clientChallenge, 0, response, 16, 8);
            return response;
        }
    
    
        /**
         * Generate the Unicode MD4 hash for the password associated with these credentials.
         * 
         * @param password
         * @param challenge
         * @return the calculated response
         * @throws GeneralSecurityException
         */
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Jul 07 12:07:20 GMT 2020
    - 9.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/html/HtmlEscapers.java

       * attribute values and in most elements' text contents, provided that the HTML
       * document's character encoding can encode any non-ASCII code points in the input (as UTF-8 and
       * other Unicode encodings can).
       *
       * <p><b>Note:</b> This escaper only performs minimal escaping to make content structurally
       * compatible with HTML. Specifically, it does not perform entity replacement (symbolic or
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 14 22:08:54 GMT 2021
    - 3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/Charsets.java

     * @since 1.0
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public final class Charsets {
      private Charsets() {}
    
      /**
       * US-ASCII: seven-bit ASCII, the Basic Latin block of the Unicode character set (ISO646-US).
       *
       * <p><b>Java 7+ users:</b> this constant should be treated as deprecated; use {@link
       * java.nio.charset.StandardCharsets#US_ASCII} instead.
       *
       */
      @J2ktIncompatible
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/ntlmssp/Type1Message.java

        private String suppliedWorkstation;
    
        static {
            DEFAULT_FLAGS = NTLMSSP_NEGOTIATE_NTLM |
                    (Config.getBoolean("jcifs.smb1.smb.client.useUnicode", true) ?
                            NTLMSSP_NEGOTIATE_UNICODE : NTLMSSP_NEGOTIATE_OEM);
            DEFAULT_DOMAIN = Config.getProperty("jcifs.smb1.smb.client.domain", null);
            String defaultWorkstation = null;
            try {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/dcerpc/rpc.java

                _src = _src.derive(_uuid_nodei);
                for (int _i = 0; _i < _uuid_nodes; _i++) {
                    uuid.node[_i] = (byte)_src.dec_ndr_small();
                }
            }
        }
        public static class unicode_string extends NdrObject {
    
            public short length;
            public short maximum_length;
            public short[] buffer;
    
            public void encode(NdrBuffer _dst) throws NdrException {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/Utf8.java

     * character encoding. UTF-8 is defined in section D92 of <a
     * href="http://www.unicode.org/versions/Unicode6.2.0/ch03.pdf">The Unicode Standard Core
     * Specification, Chapter 3</a>.
     *
     * <p>The variant of UTF-8 implemented by this class is the restricted definition of UTF-8
     * introduced in Unicode 3.1. One implication of this is that it rejects <a
     * href="http://www.unicode.org/versions/corrigendum1.html">"non-shortest form"</a> byte sequences,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 10 14:11:51 GMT 2023
    - 7K bytes
    - Viewed (0)
Back to top