Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for isHangup (0.16 sec)

  1. src/internal/poll/fd_plan9.go

    		return 0, nil
    	}
    	fd.rmu.Lock()
    	if fd.rtimedout {
    		fd.rmu.Unlock()
    		return 0, ErrDeadlineExceeded
    	}
    	fd.raio = newAsyncIO(fn, b)
    	fd.rmu.Unlock()
    	n, err := fd.raio.Wait()
    	fd.raio = nil
    	if isHangup(err) {
    		err = io.EOF
    	}
    	if isInterrupted(err) {
    		err = ErrDeadlineExceeded
    	}
    	return n, err
    }
    
    // Write implements io.Writer.
    func (fd *FD) Write(fn func([]byte) (int, error), b []byte) (int, error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 06 14:00:54 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  2. src/vendor/golang.org/x/text/unicode/norm/input.go

    }
    
    func (in *input) hangul(p int) (r rune) {
    	var size int
    	if in.bytes == nil {
    		if !isHangulString(in.str[p:]) {
    			return 0
    		}
    		r, size = utf8.DecodeRuneInString(in.str[p:])
    	} else {
    		if !isHangul(in.bytes[p:]) {
    			return 0
    		}
    		r, size = utf8.DecodeRune(in.bytes[p:])
    	}
    	if size != hangulUTF8Size {
    		return 0
    	}
    	return r
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 11 20:28:54 UTC 2019
    - 2K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/text/unicode/norm/input.go

    }
    
    func (in *input) hangul(p int) (r rune) {
    	var size int
    	if in.bytes == nil {
    		if !isHangulString(in.str[p:]) {
    			return 0
    		}
    		r, size = utf8.DecodeRuneInString(in.str[p:])
    	} else {
    		if !isHangul(in.bytes[p:]) {
    			return 0
    		}
    		r, size = utf8.DecodeRune(in.bytes[p:])
    	}
    	if size != hangulUTF8Size {
    		return 0
    	}
    	return r
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 2K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/text/unicode/norm/composition.go

    	jamoTBase  = 0x11A7
    	jamoTEnd   = 0x11C3
    
    	jamoTCount   = 28
    	jamoVCount   = 21
    	jamoVTCount  = 21 * 28
    	jamoLVTCount = 19 * 21 * 28
    )
    
    const hangulUTF8Size = 3
    
    func isHangul(b []byte) bool {
    	if len(b) < hangulUTF8Size {
    		return false
    	}
    	b0 := b[0]
    	if b0 < hangulBase0 {
    		return false
    	}
    	b1 := b[1]
    	switch {
    	case b0 == hangulBase0:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  5. src/vendor/golang.org/x/text/unicode/norm/composition.go

    	jamoTBase  = 0x11A7
    	jamoTEnd   = 0x11C3
    
    	jamoTCount   = 28
    	jamoVCount   = 21
    	jamoVTCount  = 21 * 28
    	jamoLVTCount = 19 * 21 * 28
    )
    
    const hangulUTF8Size = 3
    
    func isHangul(b []byte) bool {
    	if len(b) < hangulUTF8Size {
    		return false
    	}
    	b0 := b[0]
    	if b0 < hangulBase0 {
    		return false
    	}
    	b1 := b[1]
    	switch {
    	case b0 == hangulBase0:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 19:27:51 UTC 2019
    - 14.1K bytes
    - Viewed (0)
Back to top