Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 64 for chars (0.05 sec)

  1. src/cmd/vendor/golang.org/x/sys/unix/ztypes_linux_arm64.go

    // cgo -godefs -objdir=/tmp/arm64/cgo -- -Wall -Werror -static -I/tmp/arm64/include -fsigned-char linux/types.go | go run mkpost.go
    // Code generated by the command above; see README.md. DO NOT EDIT.
    
    //go:build arm64 && linux
    
    package unix
    
    const (
    	SizeofPtr  = 0x8
    	SizeofLong = 0x8
    )
    
    type (
    	_C_long int64
    )
    
    type Timespec struct {
    	Sec  int64
    	Nsec int64
    }
    
    type Timeval struct {
    	Sec  int64
    	Usec int64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  2. src/text/template/parse/parse_test.go

    	// dot following a literal value
    	{"dot after integer", "{{1.E}}", hasError, ""},
    	{"dot after float", "{{0.1.E}}", hasError, ""},
    	{"dot after boolean", "{{true.E}}", hasError, ""},
    	{"dot after char", "{{'a'.any}}", hasError, ""},
    	{"dot after string", `{{"hello".guys}}`, hasError, ""},
    	{"dot after dot", "{{..E}}", hasError, ""},
    	{"dot after nil", "{{nil.E}}", hasError, ""},
    	// Wrong pipeline
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 24 21:59:12 UTC 2024
    - 24K bytes
    - Viewed (0)
  3. src/go/types/operand.go

    	var kind BasicKind
    	switch k {
    	case token.INT:
    		kind = UntypedInt
    	case token.FLOAT:
    		kind = UntypedFloat
    	case token.IMAG:
    		kind = UntypedComplex
    	case token.CHAR:
    		kind = UntypedRune
    	case token.STRING:
    		kind = UntypedString
    	default:
    		panic("unreachable")
    	}
    
    	val := makeFromLiteral(lit, k)
    	if val.Kind() == constant.Unknown {
    		x.mode = invalid
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 21:17:10 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/mod/module/module.go

    	}
    	if path[0] == '-' {
    		return fmt.Errorf("leading dash in first path element")
    	}
    	for _, r := range path[:i] {
    		if !firstPathOK(r) {
    			return fmt.Errorf("invalid char %q in first path element", r)
    		}
    	}
    	if _, _, ok := SplitPathVersion(path); !ok {
    		return fmt.Errorf("invalid version")
    	}
    	return nil
    }
    
    // CheckImportPath checks that an import path is valid.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 09 20:17:07 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  5. src/encoding/xml/read_test.go

    	for {
    		t, err := d.Token()
    		if err == io.EOF { // found end of element
    			break
    		}
    		if err != nil {
    			return err
    		}
    		if char, ok := t.(CharData); ok {
    			m.body += string(char)
    		}
    	}
    	return nil
    }
    
    var _ Unmarshaler = (*MyCharData)(nil)
    
    func (m *MyCharData) UnmarshalXMLAttr(attr Attr) error {
    	panic("must not call")
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 29.1K bytes
    - Viewed (0)
  6. src/mime/multipart/multipart.go

    		r.nl = r.nl[1:]
    		r.nlDashBoundary = r.nlDashBoundary[1:]
    	}
    	return bytes.Equal(rest, r.nl)
    }
    
    // skipLWSPChar returns b with leading spaces and tabs removed.
    // RFC 822 defines:
    //
    //	LWSP-char = SPACE / HTAB
    func skipLWSPChar(b []byte) []byte {
    	for len(b) > 0 && (b[0] == ' ' || b[0] == '\t') {
    		b = b[1:]
    	}
    	return b
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 16:12:35 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  7. src/go/types/generate_test.go

    		renameSelectorExprs(f,
    			"syntax.Pos->token.Pos", "syntax.LitKind->token.Token",
    			"syntax.IntLit->token.INT", "syntax.FloatLit->token.FLOAT",
    			"syntax.ImagLit->token.IMAG", "syntax.RuneLit->token.CHAR",
    			"syntax.StringLit->token.STRING") // must happen before renaming identifiers
    		renameIdents(f, "syntax->ast")
    	},
    	"package.go":       nil,
    	"pointer.go":       nil,
    	"predicates.go":    nil,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/syntax/scanner.go

    	case 16:
    		return "hexadecimal"
    	}
    	panic("invalid base")
    }
    
    // invalidSep returns the index of the first invalid separator in x, or -1.
    func invalidSep(x string) int {
    	x1 := ' ' // prefix char, we only care if it's 'x'
    	d := '.'  // digit, one of '_', '0' (a digit), or '.' (anything else)
    	i := 0
    
    	// a prefix counts as a digit
    	if len(x) >= 2 && x[0] == '0' {
    		x1 = lower(rune(x[1]))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 28 18:17:41 UTC 2022
    - 17.1K bytes
    - Viewed (0)
  9. src/archive/tar/writer_test.go

    	if err != nil {
    		t.Fatalf("os.Stat:1 %v", err)
    	}
    	hdr.Typeflag = TypeDir
    	// Force a PAX long name to be written. The name was taken from a practical example
    	// that fails and replaced ever char through numbers to anonymize the sample.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 38.7K bytes
    - Viewed (0)
  10. src/encoding/json/decode.go

    func (d *decodeState) rescanLiteral() {
    	data, i := d.data, d.off
    Switch:
    	switch data[i-1] {
    	case '"': // string
    		for ; i < len(data); i++ {
    			switch data[i] {
    			case '\\':
    				i++ // escaped char
    			case '"':
    				i++ // tokenize the closing quote too
    				break Switch
    			}
    		}
    	case '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', '-': // number
    		for ; i < len(data); i++ {
    			switch data[i] {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 35.3K bytes
    - Viewed (0)
Back to top