Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 121 - 130 of 709 for unicode (0.15 seconds)

  1. src/bytes/reader.go

    // Copyright 2012 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package bytes
    
    import (
    	"errors"
    	"io"
    	"unicode/utf8"
    )
    
    // A Reader implements the [io.Reader], [io.ReaderAt], [io.WriterTo], [io.Seeker],
    // [io.ByteScanner], and [io.RuneScanner] interfaces by reading from
    // a byte slice.
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Tue Jul 16 18:17:37 GMT 2024
    - 3.9K bytes
    - Click Count (0)
  2. src/main/java/jcifs/smb1/ntlmssp/NtlmFlags.java

     */
    
    package jcifs.smb1.ntlmssp;
    
    /**
     * Flags used during negotiation of NTLMSSP authentication.
     */
    public interface NtlmFlags {
    
        /**
        * Indicates whether Unicode strings are supported or used.
        */
        int NTLMSSP_NEGOTIATE_UNICODE = 0x00000001;
    
        /**
        * Indicates whether OEM strings are supported or used.
        */
        int NTLMSSP_NEGOTIATE_OEM = 0x00000002;
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/curl/CurlRequestTest.java

            // Body with unicode characters
            String unicodeBody = "{\"message\":\"こんにちは世界\"}";
            request.body(unicodeBody);
    
            assertEquals(unicodeBody, request.body());
        }
    
        @Test
        public void testParamWithUnicodeCharacters() {
            CurlRequest request = new CurlRequest(Method.GET, "https://example.com");
    
            // Param with unicode characters
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 09:11:12 GMT 2026
    - 24.7K bytes
    - Click Count (0)
  4. 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!
    }
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Mon May 12 16:07:54 GMT 2025
    - 16.5K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/fscc/FileRenameInformation2Test.java

        void testWithUnicodeFilename() {
            String unicodeFileName = "文件名.txt";
            FileRenameInformation2 info = new FileRenameInformation2(unicodeFileName, false);
    
            byte[] buffer = new byte[200];
            int bytesWritten = info.encode(buffer, 0);
    
            // Verify the encoded data
            int nameLength = SMBUtil.readInt4(buffer, 16);
            byte[] nameBytes = new byte[nameLength];
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.3K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb/FileEntryTest.java

        static Stream<Arguments> nameProvider() {
            return Stream.of(Arguments.of("", "empty string is allowed"), Arguments.of(" ", "single space is preserved"),
                    Arguments.of("复杂名.txt", "unicode name is preserved"), Arguments.of(null, "null name is passed through"));
        }
    
        @ParameterizedTest(name = "getName returns as-set: [{0}] - {1}")
        @MethodSource("nameProvider")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10K bytes
    - Click Count (0)
  7. api/go1.5.txt

    pkg time, method (Time) AppendFormat([]uint8, string) []uint8
    pkg unicode, const Version = "8.0.0"
    pkg unicode, var Ahom *RangeTable
    pkg unicode, var Anatolian_Hieroglyphs *RangeTable
    pkg unicode, var Hatran *RangeTable
    pkg unicode, var Multani *RangeTable
    pkg unicode, var Old_Hungarian *RangeTable
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Jul 30 21:14:09 GMT 2015
    - 46.6K bytes
    - Click Count (0)
  8. internal/event/target/postgresql.go

    	} else if match {
    		return nil
    	}
    
    	// normalize the name to letters, digits, _ or $
    	valid := true
    	cleaned := strings.Map(func(r rune) rune {
    		switch {
    		case unicode.IsLetter(r):
    			return 'a'
    		case unicode.IsDigit(r):
    			return '0'
    		case r == '_', r == '$':
    			return r
    		default:
    			valid = false
    			return -1
    		}
    	}, name)
    
    	if valid {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Mar 30 00:56:02 GMT 2025
    - 13.3K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/exception/ContentNotFoundExceptionTest.java

            assertNull(exception.getCause());
        }
    
        @Test
        public void test_constructor_withUnicodeCharacters() {
            // Test with Unicode characters in URLs
            String parentUrl = "http://example.com/親/ディレクトリ";
            String url = "http://example.com/子/ファイル.html";
            ContentNotFoundException exception = new ContentNotFoundException(parentUrl, url);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 7.9K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessListedClassificationProviderTest.java

            }
            assertProvideThrowsException(longName.toString());
        }
    
        @Test
        public void test_provide_withUnicodeCharacters() {
            // Test classification names with Unicode characters
            assertProvideThrowsException("テスト分類");
            assertProvideThrowsException("测试分类");
            assertProvideThrowsException("테스트분류");
            assertProvideThrowsException("тестклассификация");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 7.7K bytes
    - Click Count (0)
Back to Top