Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 399 for Trune (0.06 sec)

  1. test/escape2.go

    }
    
    func stringtoslicerune0() {
    	s := "foo"
    	x := []rune(s) // ERROR "\(\[\]rune\)\(s\) does not escape$"
    	_ = x
    }
    
    func stringtoslicerune1() []rune {
    	s := "foo"
    	return []rune(s) // ERROR "\(\[\]rune\)\(s\) escapes to heap$"
    }
    
    func stringtoslicerune2() {
    	s := "foo"
    	sink = []rune(s) // ERROR "\(\[\]rune\)\(s\) escapes to heap$"
    }
    
    func slicerunetostring0() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 35.1K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/typecheck/_builtin/runtime.go

    func slicebytetostringtmp(ptr *byte, n int) string
    func slicerunetostring(*[32]byte, []rune) string
    func stringtoslicebyte(*[32]byte, string) []byte
    func stringtoslicerune(*[32]rune, string) []rune
    func slicecopy(toPtr *any, toLen int, fromPtr *any, fromLen int, wid uintptr) int
    
    func decoderune(string, int) (retv rune, retk int)
    func countrunes(string) int
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  3. src/internal/types/testdata/spec/range_int.go

    	}
    	for u8 = range 256 /* ERROR "cannot use 256 (untyped int constant) as uint8 value in range clause (overflows)" */ {
    	}
    }
    
    func issue64471() {
    	for i := range 'a' {
    		var _ *rune = &i // ensure i has type rune
    	}
    }
    
    func issue66561() {
    	for range 10.0 /* ERROR "cannot range over 10.0 (untyped float constant 10)" */ {
    	}
    	for range 1e3 /* ERROR "cannot range over 1e3 (untyped float constant 1000)" */ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 18:56:00 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  4. hack/verify-fieldname-docs.sh

            -o -wholename './release' \
            -o -wholename './target' \
            -o -wholename '*/third_party/*' \
            -o -wholename '*/vendor/*' \
            -o -wholename './pkg/*' \
          \) -prune \
        \) \
        \( -wholename './staging/src/k8s.io/api/*/v*/types.go' \
           -o -wholename './staging/src/k8s.io/kube-aggregator/pkg/apis/*/v*/types.go' \
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:07:32 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  5. istioctl/pkg/tag/tag.go

    without manual relabeling of the "istio.io/rev" tag.
    `,
    		Args: func(cmd *cobra.Command, args []string) error {
    			if len(args) != 0 {
    				return fmt.Errorf("unknown subcommand %q", args[0])
    			}
    			return nil
    		},
    		RunE: func(cmd *cobra.Command, args []string) error {
    			cmd.HelpFunc()(cmd, args)
    			return nil
    		},
    	}
    
    	cmd.AddCommand(tagSetCommand(ctx))
    	cmd.AddCommand(tagGenerateCommand(ctx))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 08:32:06 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  6. src/math/big/intconv.go

    // a leading "0x" or "0X" for "%#x" and "%#X" respectively,
    // specification of minimum digits precision, output field
    // width, space or zero padding, and '-' for left or right
    // justification.
    func (x *Int) Format(s fmt.State, ch rune) {
    	// determine base
    	var base int
    	switch ch {
    	case 'b':
    		base = 2
    	case 'o', 'O':
    		base = 8
    	case 'd', 's', 'v':
    		base = 10
    	case 'x', 'X':
    		base = 16
    	default:
    		// unknown format
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:59:09 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/build/relnote/links.go

    	}
    	// The open bracket must be preceeded by a link-adjacent rune (or by nothing).
    	if t := plainText(i - 1); t != "" {
    		r, _ := utf8.DecodeLastRuneInString(t)
    		if !isLinkAdjacentRune(r) {
    			return ""
    		}
    	}
    	// The element after the next must be a ']'.
    	if plainText(i+2) != "]" {
    		return ""
    	}
    	// The ']' must be followed by a link-adjacent rune (or by nothing).
    	if t := plainText(i + 3); t != "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  8. src/encoding/base32/base32.go

    type Encoding struct {
    	encode    [32]byte   // mapping of symbol index to symbol byte value
    	decodeMap [256]uint8 // mapping of symbol byte value to symbol index
    	padChar   rune
    }
    
    const (
    	StdPadding rune = '=' // Standard padding character
    	NoPadding  rune = -1  // No padding
    )
    
    const (
    	decodeMapInitialize = "" +
    		"\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff" +
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 16:25:54 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  9. src/path/filepath/match.go

    	failed := false
    	for len(chunk) > 0 {
    		if !failed && len(s) == 0 {
    			failed = true
    		}
    		switch chunk[0] {
    		case '[':
    			// character class
    			var r rune
    			if !failed {
    				var n int
    				r, n = utf8.DecodeRuneInString(s)
    				s = s[n:]
    			}
    			chunk = chunk[1:]
    			// possibly negated
    			negated := false
    			if len(chunk) > 0 && chunk[0] == '^' {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  10. hack/verify-netparse-cve.sh

            -o -wholename './_output' \
            -o -wholename './release' \
            -o -wholename './target' \
            -o -wholename '*/third_party/*' \
            -o -wholename '*/vendor/*' \
          \) -prune \
        \) -name '*.go'
    }
    
    # find files using net.ParseIP()
    netparseip_matches=$(find_files | xargs grep -nE "net.ParseIP\(.*\)" 2>/dev/null) || true
    if [[ -n "${netparseip_matches}" ]]; then
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:07:31 UTC 2024
    - 2.3K bytes
    - Viewed (0)
Back to top