Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for character (0.29 sec)

  1. doc/go1.17_spec.html

    an integer value identifying a Unicode code point.
    A rune literal is expressed as one or more characters enclosed in single quotes,
    as in <code>'x'</code> or <code>'\n'</code>.
    Within the quotes, any character may appear except newline and unescaped single
    quote. A single quoted character represents the Unicode value
    of the character itself,
    while multi-character sequences beginning with a backslash encode
    values in various formats.
    </p>
    
    <p>
    HTML
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  2. src/archive/tar/strconv.go

    // license that can be found in the LICENSE file.
    
    package tar
    
    import (
    	"bytes"
    	"fmt"
    	"strconv"
    	"strings"
    	"time"
    )
    
    // hasNUL reports whether the NUL character exists within s.
    func hasNUL(s string) bool {
    	return strings.Contains(s, "\x00")
    }
    
    // isASCII reports whether the input is an ASCII C-style string.
    func isASCII(s string) bool {
    	for _, c := range s {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Aug 01 14:28:42 GMT 2023
    - 9K bytes
    - Viewed (0)
  3. src/cmd/asm/internal/lex/tokenizer.go

    		return true
    	case '\u2215': // Represents the slash in runtime/debug.setGCPercent. U+2215 '∕' division slash
    		return true
    	}
    	// Digits are OK only after the first character.
    	return i > 0 && unicode.IsDigit(ch)
    }
    
    func (t *Tokenizer) Text() string {
    	switch t.tok {
    	case LSH:
    		return "<<"
    	case RSH:
    		return ">>"
    	case ARR:
    		return "->"
    	case ROT:
    		return "@>"
    	}
    	return t.s.TokenText()
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Aug 04 20:35:21 GMT 2022
    - 3K bytes
    - Viewed (0)
  4. src/cmd/cgo/ast.go

    						// This should have been checked when the file path was first resolved,
    						// but we double check here just to be sure.
    						fatalf("internal error: ParseGo: abspath contains unexpected newline character: %q", abspath)
    					}
    					f.Preamble += fmt.Sprintf("#line %d %q\n", sourceLine(cg), abspath)
    					f.Preamble += commentText(cg) + "\n"
    					f.Preamble += "#line 1 \"cgo-generated-wrapper\"\n"
    				}
    			}
    
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Jun 07 16:54:27 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  5. src/archive/tar/common.go

    	// Deprecated: Use TypeReg instead.
    	TypeRegA = '\x00'
    
    	// Type '1' to '6' are header-only flags and may not have a data body.
    	TypeLink    = '1' // Hard link
    	TypeSymlink = '2' // Symbolic link
    	TypeChar    = '3' // Character device node
    	TypeBlock   = '4' // Block device node
    	TypeDir     = '5' // Directory
    	TypeFifo    = '6' // FIFO node
    
    	// Type '7' is reserved.
    	TypeCont = '7'
    
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24.7K bytes
    - Viewed (2)
  6. src/bufio/bufio_test.go

    	// Invalid runes, including negative ones, should be written as the
    	// replacement character.
    	for _, r := range []rune{-1, utf8.MaxRune + 1} {
    		var buf strings.Builder
    		w := NewWriter(&buf)
    		w.WriteRune(r)
    		w.Flush()
    		if s := buf.String(); s != "\uFFFD" {
    			t.Errorf("WriteRune(%d) wrote %q, not replacement character", r, s)
    		}
    	}
    }
    
    func TestReadStringAllocs(t *testing.T) {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Feb 10 18:56:01 GMT 2023
    - 51.5K bytes
    - Viewed (0)
  7. doc/go_spec.html

    an integer value identifying a Unicode code point.
    A rune literal is expressed as one or more characters enclosed in single quotes,
    as in <code>'x'</code> or <code>'\n'</code>.
    Within the quotes, any character may appear except newline and unescaped single
    quote. A single quoted character represents the Unicode value
    of the character itself,
    while multi-character sequences beginning with a backslash encode
    values in various formats.
    </p>
    
    <p>
    HTML
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 279.3K bytes
    - Viewed (0)
  8. src/cmd/asm/internal/lex/lex.go

    )
    
    // A ScanToken represents an input item. It is a simple wrapping of rune, as
    // returned by text/scanner.Scanner, plus a couple of extra values.
    type ScanToken rune
    
    const (
    	// Asm defines some two-character lexemes. We make up
    	// a rune/ScanToken value for them - ugly but simple.
    	LSH          ScanToken = -1000 - iota // << Left shift.
    	RSH                                   // >> Logical right shift.
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Aug 29 18:31:05 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  9. src/cmd/cgo/doc.go

    the allowed CPPFLAGS, CXXFLAGS, FFLAGS, and LDFLAGS.
    
    Also for security reasons, only a limited set of characters are
    permitted, notably alphanumeric characters and a few symbols, such as
    '.', that will not be interpreted in unexpected ways. Attempts to use
    forbidden characters will get a "malformed #cgo argument" error.
    
    When building, the CGO_CFLAGS, CGO_CPPFLAGS, CGO_CXXFLAGS, CGO_FFLAGS and
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
  10. src/bytes/bytes.go

    // given ASCII character in the set. The 128-bits of the lower 16 bytes,
    // starting with the least-significant bit of the lowest word to the
    // most-significant bit of the highest word, map to the full range of all
    // 128 ASCII characters. The 128-bits of the upper 16 bytes will be zeroed,
    // ensuring that any non-ASCII character will be reported as not in the set.
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Feb 19 19:51:15 GMT 2024
    - 33.8K bytes
    - Viewed (0)
Back to top