Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for simple (0.18 sec)

  1. doc/next/6-stdlib/2-unique.md

    Two `Handle[T]` are equal if and only if the values used to produce the
    handles are equal, allowing programs to deduplicate values and reduce
    their memory footprint.
    Comparing two `Handle[T]` values is efficient, reducing down to a simple
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Apr 24 13:37:36 GMT 2024
    - 579 bytes
    - Viewed (0)
  2. README.md

    # The Go Programming Language
    
    Go is an open source programming language that makes it easy to build simple,
    reliable, and efficient software.
    
    ![Gopher image](https://golang.org/doc/gopher/fiveyears.jpg)
    *Gopher image by [Renee French][rf], licensed under [Creative Commons 4.0 Attributions license][cc4-by].*
    
    Our canonical Git repository is located at https://go.googlesource.com/go.
    There is a mirror of the repository at https://github.com/golang/go.
    
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Nov 02 20:14:56 GMT 2022
    - 1.4K bytes
    - Viewed (0)
  3. src/cmd/asm/internal/flags/flags.go

    }
    
    var (
    	D        MultiFlag
    	I        MultiFlag
    	PrintOut int
    	DebugV   bool
    )
    
    func init() {
    	flag.Var(&D, "D", "predefined symbol with optional simple value -D=identifier=value; can be set multiple times")
    	flag.Var(&I, "I", "include directory; can be set multiple times")
    	flag.BoolVar(&DebugV, "v", false, "print debug output")
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 22 19:18:23 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  4. src/cmd/asm/internal/asm/parse.go

    			p.registerExtension(a, tok.String(), prefix)
    			p.expectOperandEnd()
    			return
    		} else if r1, r2, scale, ok := p.register(tok.String(), prefix); ok {
    			if scale != 0 {
    				p.errorf("expected simple register reference")
    			}
    			a.Type = obj.TYPE_REG
    			a.Reg = r1
    			if r2 != 0 {
    				// Form is R1:R2. It is on RHS and the second register
    				// needs to go into the LHS.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  5. src/builtin/builtin.go

    //	String: the number of bytes in v.
    //	Channel: the number of elements queued (unread) in the channel buffer;
    //	         if v is nil, len(v) is zero.
    //
    // For some arguments, such as a string literal or a simple array expression, the
    // result can be a constant. See the Go language specification's "Length and
    // capacity" section for details.
    func len(v Type) int
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  6. src/cmd/asm/internal/lex/lex.go

    	"text/scanner"
    
    	"cmd/internal/src"
    )
    
    // 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.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 18:31:05 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/lex/lex_test.go

    	"text/scanner"
    )
    
    type lexTest struct {
    	name   string
    	input  string
    	output string
    }
    
    var lexTests = []lexTest{
    	{
    		"empty",
    		"",
    		"",
    	},
    	{
    		"simple",
    		"1 (a)",
    		"1.(.a.)",
    	},
    	{
    		"simple define",
    		lines(
    			"#define A 1234",
    			"A",
    		),
    		"1234.\n",
    	},
    	{
    		"define without value",
    		"#define A",
    		"",
    	},
    	{
    		"macro without arguments",
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  8. doc/go_spec.html

    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 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 00:39:16 GMT 2024
    - 279.6K bytes
    - Viewed (0)
  9. src/bytes/bytes.go

    // for a k-rune slice.
    func ReplaceAll(s, old, new []byte) []byte {
    	return Replace(s, old, new, -1)
    }
    
    // EqualFold reports whether s and t, interpreted as UTF-8 strings,
    // are equal under simple Unicode case-folding, which is a more general
    // form of case-insensitivity.
    func EqualFold(s, t []byte) bool {
    	// ASCII fast path
    	i := 0
    	for ; i < len(s) && i < len(t); i++ {
    		sr := s[i]
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Feb 19 19:51:15 GMT 2024
    - 33.8K bytes
    - Viewed (0)
  10. src/bufio/example_test.go

    	}
    	if err := scanner.Err(); err != nil {
    		fmt.Fprintln(os.Stderr, "shouldn't see an error scanning a string")
    	}
    	// Output:
    	// true
    }
    
    // Use a Scanner to implement a simple word-count utility by scanning the
    // input as a sequence of space-delimited tokens.
    func ExampleScanner_words() {
    	// An artificial input source.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Oct 23 09:06:30 GMT 2023
    - 4.9K bytes
    - Viewed (0)
Back to top