Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for myrunes (0.12 sec)

  1. staging/src/k8s.io/apimachinery/pkg/apis/meta/fuzzer/fuzzer.go

    		partLen = c.Rand.Intn(63) + 1 // len is [1, 63]
    	}
    
    	runes := make([]rune, partLen)
    	if partLen == 0 {
    		return string(runes)
    	}
    
    	runes[0] = validStartEnd[c.Rand.Intn(len(validStartEnd))].choose(c.Rand)
    	for i := range runes[1:] {
    		runes[i+1] = validMiddle[c.Rand.Intn(len(validMiddle))].choose(c.Rand)
    	}
    	runes[len(runes)-1] = validStartEnd[c.Rand.Intn(len(validStartEnd))].choose(c.Rand)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 03 15:12:26 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  2. src/regexp/onepass.go

    			}
    			instQueue.insert(inst.Out)
    			runes := []rune{}
    			// expand case-folded runes
    			if syntax.Flags(inst.Arg)&syntax.FoldCase != 0 {
    				r0 := inst.Rune[0]
    				runes = append(runes, r0, r0)
    				for r1 := unicode.SimpleFold(r0); r1 != r0; r1 = unicode.SimpleFold(r1) {
    					runes = append(runes, r1, r1)
    				}
    				slices.Sort(runes)
    			} else {
    				runes = append(runes, inst.Rune[0], inst.Rune[0])
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:36:03 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/text/unicode/norm/composition.go

    		return ssOverflow
    	}
    	// The Stream-Safe Text Processing prescribes that the counting can stop
    	// as soon as a starter is encountered. However, there are some starters,
    	// like Jamo V and T, that can combine with other runes, leaving their
    	// successive non-starters appended to the previous, possibly causing an
    	// overflow. We will therefore consider any rune with a non-zero nLead to
    	// be a non-starter. Note that it always hold that if nLead > 0 then
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  4. pilot/pkg/status/distribution/reporter.go

    	tryLedgerPut(r.ledger, res)
    	myRes := status.ResourceFromModelConfig(res)
    	if myRes == (status.Resource{}) {
    		scope.Errorf("Unable to locate schema for %v, will not update status.", res)
    		return
    	}
    	r.mu.Lock()
    	defer r.mu.Unlock()
    	r.inProgressResources[myRes.ToModelKey()] = &inProgressEntry{
    		Resource:            myRes,
    		completedIterations: 0,
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jan 30 17:25:17 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  5. src/unicode/utf8/utf8.go

    	default:
    		return append(p, t4|byte(r>>18), tx|byte(r>>12)&maskx, tx|byte(r>>6)&maskx, tx|byte(r)&maskx)
    	}
    }
    
    // RuneCount returns the number of runes in p. Erroneous and short
    // encodings are treated as single runes of width 1 byte.
    func RuneCount(p []byte) int {
    	np := len(p)
    	var n int
    	for i := 0; i < np; {
    		n++
    		c := p[i]
    		if c < RuneSelf {
    			// ASCII fast path
    			i++
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 02:00:36 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  6. src/fmt/doc.go

    that is, runes. (This differs from C's printf where the
    units are always measured in bytes.) Either or both of the flags
    may be replaced with the character '*', causing their values to be
    obtained from the next operand (preceding the one to format),
    which must be of type int.
    
    For most values, width is the minimum number of runes to output,
    padding the formatted form with spaces if necessary.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 21:56:20 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  7. src/regexp/syntax/regexp.go

    const (
    	OpNoMatch        Op = 1 + iota // matches no strings
    	OpEmptyMatch                   // matches empty string
    	OpLiteral                      // matches Runes sequence
    	OpCharClass                    // matches Runes interpreted as range pair list
    	OpAnyCharNotNL                 // matches any character except newline
    	OpAnyChar                      // matches any character
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 16:41:51 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top