Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 528 for unicode (0.17 sec)

  1. okhttp/src/test/java/okhttp3/internal/idn/PunycodeTest.kt

        )
        assertNull(
          Punycode.encode(a1000MaxCodePoint.repeat(2)),
        )
      }
    
      @Test fun invalidPunycode() {
        assertNull(Punycode.decode("xn--ls8h="))
      }
    
      private fun testEncodeDecode(
        unicode: String,
        punycode: String,
      ) {
        assertEquals(unicode, Punycode.decode(punycode))
        assertEquals(punycode, Punycode.encode(unicode))
      }
    
      private fun testDecodeOnly(
    Plain Text
    - Registered: Fri Apr 12 11:42:09 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/UrlComponentEncodingTester.kt

        }
    
      fun nonAscii(encoding: Encoding) =
        apply {
          encodings[UNICODE_2] = encoding
          encodings[UNICODE_3] = encoding
          encodings[UNICODE_4] = encoding
        }
    
      fun test(component: Component) =
        apply {
          for ((codePoint, encoding) in encodings) {
            val codePointString = Encoding.IDENTITY.encode(codePoint)
            if (encoding == Encoding.FORBIDDEN) {
    Plain Text
    - Registered: Fri Apr 12 11:42:09 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/idn/Punycode.kt

     * limitations under the License.
     */
    package okhttp3.internal.idn
    
    import okio.Buffer
    import okio.ByteString.Companion.encodeUtf8
    
    /**
     * An [RFC 3492] punycode decoder for converting ASCII to Unicode domain name labels. This is
     * intended for use in Internationalized Domain Names (IDNs).
     *
     * This class contains a Kotlin implementation of the pseudocode specified by RFC 3492. It includes
    Plain Text
    - Registered: Fri Apr 12 11:42:09 GMT 2024
    - Last Modified: Wed Apr 03 03:04:50 GMT 2024
    - 8.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/dcerpc/msrpc/lsarpc.idl

    		uint32_t length;
    		uint8_t *root_directory;
    		unicode_string *object_name;
    		uint32_t attributes;
    		uint32_t security_descriptor;
    		LsarQosInfo *security_quality_of_service;
    	} LsarObjectAttributes;
    
    	typedef struct {
    		unicode_string name;
    		sid_t *sid;
    	} LsarDomainInfo;
    
    	typedef struct {
    		unicode_string name;
    		unicode_string dns_domain;
    		unicode_string dns_forest;
    		uuid_t domain_guid;
    		sid_t *sid;
    Others
    - Registered: Sun Apr 14 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 3.1K bytes
    - Viewed (1)
  5. src/main/java/jcifs/smb1/dcerpc/msrpc/lsarpc.idl

    		uint32_t length;
    		uint8_t *root_directory;
    		unicode_string *object_name;
    		uint32_t attributes;
    		uint32_t security_descriptor;
    		LsarQosInfo *security_quality_of_service;
    	} LsarObjectAttributes;
    
    	typedef struct {
    		unicode_string name;
    		sid_t *sid;
    	} LsarDomainInfo;
    
    	typedef struct {
    		unicode_string name;
    		unicode_string dns_domain;
    		unicode_string dns_forest;
    		uuid_t domain_guid;
    		sid_t *sid;
    Others
    - Registered: Sun Apr 14 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 3.1K bytes
    - Viewed (0)
  6. src/bytes/bytes.go

    			}
    			b[i] = c
    		}
    		return b
    	}
    	return Map(unicode.ToLower, s)
    }
    
    // ToTitle treats s as UTF-8-encoded bytes and returns a copy with all the Unicode letters mapped to their title case.
    func ToTitle(s []byte) []byte { return Map(unicode.ToTitle, s) }
    
    // ToUpperSpecial treats s as UTF-8-encoded bytes and returns a copy with all the Unicode letters mapped to their
    Go
    - Registered: Tue Apr 16 11:13:10 GMT 2024
    - Last Modified: Mon Feb 19 19:51:15 GMT 2024
    - 33.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/fscc/FileBothDirectoryInfo.java

        private String filename;
        private final Configuration config;
        private final boolean unicode;
    
    
        /**
         * @param config
         * @param unicode
         * 
         */
        public FileBothDirectoryInfo ( Configuration config, boolean unicode ) {
            this.config = config;
            this.unicode = unicode;
        }
    
    
        @Override
        public String getName () {
            return this.filename;
        }
    Java
    - Registered: Sun Apr 14 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 5.6K bytes
    - Viewed (0)
  8. src/bytes/example_test.go

    }
    
    func ExampleTrimFunc() {
    	fmt.Println(string(bytes.TrimFunc([]byte("go-gopher!"), unicode.IsLetter)))
    	fmt.Println(string(bytes.TrimFunc([]byte("\"go-gopher!\""), unicode.IsLetter)))
    	fmt.Println(string(bytes.TrimFunc([]byte("go-gopher!"), unicode.IsPunct)))
    	fmt.Println(string(bytes.TrimFunc([]byte("1234go-gopher!567"), unicode.IsNumber)))
    	// Output:
    	// -gopher!
    	// "go-gopher!"
    	// go-gopher
    	// go-gopher!
    }
    Go
    - Registered: Tue Apr 16 11:13:10 GMT 2024
    - Last Modified: Mon Mar 04 15:54:40 GMT 2024
    - 15K bytes
    - Viewed (1)
  9. guava-testlib/src/com/google/common/escape/testing/EscaperAsserts.java

      }
    
      /**
       * Asserts that a Unicode escaper does not escape the given character.
       *
       * @param escaper the non-null escaper to test
       * @param cp the Unicode code point to test
       */
      public static void assertUnescaped(UnicodeEscaper escaper, int cp) {
        Assert.assertNull(computeReplacement(escaper, cp));
      }
    
      /**
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Jan 18 20:55:09 GMT 2022
    - 3.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbConstants.java

                    ( USE_NTSTATUS ? FLAGS2_STATUS32 : 0 ) |
                    ( USE_UNICODE ? FLAGS2_UNICODE : 0 );
        static final int DEFAULT_CAPABILITIES =
                    ( USE_NTSMBS ? CAP_NT_SMBS : 0 ) |
                    ( USE_NTSTATUS ? CAP_STATUS32 : 0 ) |
                    ( USE_UNICODE ? CAP_UNICODE : 0 ) |
                    CAP_DFS;
    Java
    - Registered: Sun Apr 14 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 8.4K bytes
    - Viewed (0)
Back to top