Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for UTF8 (0.15 sec)

  1. src/archive/zip/testdata/utf8-winzip.zip

    Joe Tsai <******@****.***> 1509655996 -0700
    ZIP Archive
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Nov 06 21:35:59 GMT 2017
    - 146 bytes
    - Viewed (0)
  2. src/archive/tar/testdata/gnu-utf8.tar

    Joe Tsai <******@****.***> 1503528984 -0700
    TAR Archive
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Aug 24 01:35:39 GMT 2017
    - 2.5K bytes
    - Viewed (0)
  3. src/archive/zip/testdata/utf8-7zip.zip

    Joe Tsai <******@****.***> 1509655996 -0700
    ZIP Archive
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Nov 06 21:35:59 GMT 2017
    - 146 bytes
    - Viewed (0)
  4. src/archive/zip/testdata/utf8-infozip.zip

    Joe Tsai <******@****.***> 1509655996 -0700
    ZIP Archive
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Nov 06 21:35:59 GMT 2017
    - 162 bytes
    - Viewed (0)
  5. src/archive/zip/testdata/utf8-osx.zip

    Joe Tsai <******@****.***> 1509655996 -0700
    ZIP Archive
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Nov 06 21:35:59 GMT 2017
    - 138 bytes
    - Viewed (0)
  6. src/archive/zip/testdata/utf8-winrar.zip

    Joe Tsai <******@****.***> 1509655996 -0700
    ZIP Archive
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Nov 06 21:35:59 GMT 2017
    - 146 bytes
    - Viewed (0)
  7. src/archive/tar/testdata/gnu-not-utf8.tar

    Joe Tsai <******@****.***> 1503528984 -0700
    TAR Archive
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Aug 24 01:35:39 GMT 2017
    - 1.5K bytes
    - Viewed (0)
  8. src/bufio/export_test.go

    // license that can be found in the LICENSE file.
    
    package bufio
    
    // Exported for testing only.
    import (
    	"unicode/utf8"
    )
    
    var IsSpace = isSpace
    
    const DefaultBufSize = defaultBufSize
    
    func (s *Scanner) MaxTokenSize(n int) {
    	if n < utf8.UTFMax || n > 1e9 {
    		panic("bad max token size")
    	}
    	if n < len(s.buf) {
    		s.buf = make([]byte, n)
    	}
    	s.maxTokenSize = n
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 17:17:44 GMT 2017
    - 597 bytes
    - Viewed (0)
  9. src/bytes/buffer_test.go

    	}
    }
    
    func TestRuneIO(t *testing.T) {
    	const NRune = 1000
    	// Built a test slice while we write the data
    	b := make([]byte, utf8.UTFMax*NRune)
    	var buf Buffer
    	n := 0
    	for r := rune(0); r < NRune; r++ {
    		size := utf8.EncodeRune(b[n:], r)
    		nbytes, err := buf.WriteRune(r)
    		if err != nil {
    			t.Fatalf("WriteRune(%U) error: %s", r, err)
    		}
    		if nbytes != size {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 13:31:36 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  10. src/bytes/bytes.go

    // It returns -1 if rune is not present in s.
    // If r is utf8.RuneError, it returns the first instance of any
    // invalid UTF-8 byte sequence.
    func IndexRune(s []byte, r rune) int {
    	switch {
    	case 0 <= r && r < utf8.RuneSelf:
    		return IndexByte(s, byte(r))
    	case r == utf8.RuneError:
    		for i := 0; i < len(s); {
    			r1, n := utf8.DecodeRune(s[i:])
    			if r1 == utf8.RuneError {
    				return i
    			}
    			i += n
    		}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Feb 19 19:51:15 GMT 2024
    - 33.8K bytes
    - Viewed (0)
Back to top