Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,197 for runes (0.17 sec)

  1. src/internal/poll/fd_windows.go

    	// So limit the buffer to 16000 characters. This number was
    	// discovered by experimenting with syscall.WriteConsole.
    	const maxWrite = 16000
    	for len(runes) > 0 {
    		m := len(runes)
    		if m > maxWrite {
    			m = maxWrite
    		}
    		chunk := runes[:m]
    		runes = runes[m:]
    		uint16s := utf16.Encode(chunk)
    		for len(uint16s) > 0 {
    			var written uint32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 31 16:50:42 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  2. src/text/tabwriter/tabwriter.go

    // The text itself is stored in a separate buffer; cell only describes the
    // segment's size in bytes, its width in runes, and whether it's an htab
    // ('\t') terminated cell.
    type cell struct {
    	size  int  // cell size in bytes
    	width int  // cell width in runes
    	htab  bool // true if the cell is terminated by an htab ('\t')
    }
    
    // A Writer is a filter that inserts padding around tab-delimited
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 16:46:34 UTC 2024
    - 17.8K bytes
    - Viewed (0)
  3. src/go/internal/gcimporter/gcimporter_test.go

    // TODO(rfindley): this should not be necessary.
    func sanitizeObjectString(s string) string {
    	var runes []rune
    	for _, r := range s {
    		if '₀' <= r && r < '₀'+10 {
    			continue // trim type parameter subscripts
    		}
    		runes = append(runes, r)
    	}
    	return string(runes)
    }
    
    func checkFile(t *testing.T, filename string, src []byte) *types.Package {
    	fset := token.NewFileSet()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:22:59 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  4. src/vendor/golang.org/x/net/idna/idna10.0.0.go

    // as defined in Section 5.4 of RFC 5891. This includes testing for correct use
    // of hyphens ('-'), normalization, validity of runes, and the context rules.
    // In particular, ValidateLabels also sets the CheckHyphens and CheckJoiners flags
    // in UTS #46.
    func ValidateLabels(enable bool) Option {
    	return func(o *options) {
    		// Don't override existing mappings, but set one that at least checks
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 20.9K bytes
    - Viewed (0)
  5. src/vendor/golang.org/x/net/idna/idna9.0.0.go

    // as defined in Section 5.4 of RFC 5891. This includes testing for correct use
    // of hyphens ('-'), normalization, validity of runes, and the context rules.
    // In particular, ValidateLabels also sets the CheckHyphens and CheckJoiners flags
    // in UTS #46.
    func ValidateLabels(enable bool) Option {
    	return func(o *options) {
    		// Don't override existing mappings, but set one that at least checks
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 19.2K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/text/unicode/norm/normalize.go

    			ss = 0
    			continue
    		}
    		info := f.info(src, i)
    		if info.size == 0 {
    			if atEOF {
    				// include incomplete runes
    				return n, true
    			}
    			return lastSegStart, true
    		}
    		// This block needs to be before the next, because it is possible to
    		// have an overflow for runes that are starters (e.g. with U+FF9E).
    		switch ss.next(info) {
    		case ssStarter:
    			lastSegStart = i
    		case ssOverflow:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  7. src/unicode/letter_test.go

    var notletterTest = []rune{
    	0x20,
    	0x35,
    	0x375,
    	0x619,
    	0x700,
    	0x1885,
    	0xfffe,
    	0x1ffff,
    	0x10ffff,
    }
    
    // Contains all the special cased Latin-1 chars.
    var spaceTest = []rune{
    	0x09,
    	0x0a,
    	0x0b,
    	0x0c,
    	0x0d,
    	0x20,
    	0x85,
    	0xA0,
    	0x2000,
    	0x3000,
    }
    
    type caseT struct {
    	cas     int
    	in, out rune
    }
    
    var caseTest = []caseT{
    	// errors
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Sep 09 01:46:03 UTC 2023
    - 14.8K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/text/unicode/norm/iter.go

    package norm
    
    import (
    	"fmt"
    	"unicode/utf8"
    )
    
    // MaxSegmentSize is the maximum size of a byte buffer needed to consider any
    // sequence of starter and non-starter runes for the purpose of normalization.
    const MaxSegmentSize = maxByteBufferSize
    
    // An Iter iterates over a string or byte slice, while normalizing it
    // to a given Form.
    type Iter struct {
    	rb     reorderBuffer
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 11K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/text/cases/map.go

    // A mapFunc takes a context set to the current rune and writes the mapped
    // version to the same context. It may advance the context to the next rune. It
    // returns whether a checkpoint is possible: whether the pDst bytes written to
    // dst so far won't need changing as we see more source bytes.
    type mapFunc func(*context) bool
    
    // A spanFunc takes a context set to the current rune and returns whether this
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/cel/common/schemas.go

    		return dyn
    	}
    
    	// We ignore XPreserveUnknownFields since we don't support validation rules on
    	// data that we don't have schema information for.
    
    	if isResourceRoot {
    		// 'apiVersion', 'kind', 'metadata.name' and 'metadata.generateName' are always accessible to validator rules
    		// at the root of resources, even if not specified in the schema.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 09 18:00:45 UTC 2023
    - 10.5K bytes
    - Viewed (0)
Back to top