Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for Operator (0.23 sec)

  1. doc/go1.17_spec.html

    var bb = make([]byte, 1.0<<s)  // 1.0 has type int; len(bb) == 0
    </pre>
    
    <h4 id="Operator_precedence">Operator precedence</h4>
    <p>
    Unary operators have the highest precedence.
    As the  <code>++</code> and <code>--</code> operators form
    statements, not expressions, they fall
    outside the operator hierarchy.
    As a consequence, statement <code>*p++</code> is the same as <code>(*p)++</code>.
    </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/cmd/asm/internal/asm/testdata/arm64error.s

    	ADDW	R7@>2, R5, R16                                   // ERROR "unsupported shift operator"
    	ADDS	R7@>2, R5, R16                                   // ERROR "unsupported shift operator"
    	ADDSW	R7@>2, R5, R16                                   // ERROR "unsupported shift operator"
    	SUB	R7@>2, R5, R16                                   // ERROR "unsupported shift operator"
    Others
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Dec 08 03:28:17 GMT 2023
    - 37.8K bytes
    - Viewed (0)
  3. src/cmd/cgo/doc.go

    know the location of every pointer to Go memory. Because of this,
    there are restrictions on passing pointers between Go and C.
    
    In this section the term Go pointer means a pointer to memory
    allocated by Go (such as by using the & operator or calling the
    predefined new function) and the term C pointer means a pointer to
    memory allocated by C (such as by a call to C.malloc). Whether a
    pointer is a Go pointer or a C pointer is a dynamic property
    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)
  4. doc/go_spec.html

    var bb = make([]byte, 1.0&lt;&lt;s)  // 1.0 has type int; len(bb) == 0
    </pre>
    
    <h4 id="Operator_precedence">Operator precedence</h4>
    <p>
    Unary operators have the highest precedence.
    As the  <code>++</code> and <code>--</code> operators form
    statements, not expressions, they fall
    outside the operator hierarchy.
    As a consequence, statement <code>*p++</code> is the same as <code>(*p)++</code>.
    </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)
  5. src/cmd/asm/internal/asm/parse.go

    	}
    	return r1, r2, scale, true
    }
    
    // registerShift parses an ARM/ARM64 shifted register reference and returns the encoded representation.
    // There is known to be a register (current token) and a shift operator (peeked token).
    func (p *Parser) registerShift(name string, prefix rune) int64 {
    	if prefix != 0 {
    		p.errorf("prefix %c not allowed for shifted register: $%s", prefix, name)
    	}
    	// R1 op R2 or r1 op constant.
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  6. src/cmd/asm/internal/lex/lex.go

    	macroName                             // name of macro that should not be expanded
    )
    
    // IsRegisterShift reports whether the token is one of the ARM register shift operators.
    func IsRegisterShift(r ScanToken) bool {
    	return ROT <= r && r <= LSH // Order looks backwards because these are negative.
    }
    
    func (t ScanToken) String() string {
    	switch t {
    	case scanner.EOF:
    		return "EOF"
    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)
  7. doc/asm.html

    <p>
    Although the assembler takes its guidance from the Plan 9 assemblers,
    it is a distinct program, so there are some differences.
    One is in constant evaluation.
    Constant expressions in the assembler are parsed using Go's operator
    precedence, not the C-like precedence of the original.
    Thus <code>3&amp;1&lt;&lt;2</code> is 4, not 0—it parses as <code>(3&amp;1)&lt;&lt;2</code>
    not <code>3&amp;(1&lt;&lt;2)</code>.
    HTML
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Nov 28 19:15:27 GMT 2023
    - 36.3K bytes
    - Viewed (0)
  8. src/cmd/cgo/godefs.go

    // expression passed through gofmt, which means composite literals and
    // (due to the printer possibly inserting newlines because of position
    // information) operators.
    var gofmtLineReplacer = strings.NewReplacer(
    	// Want to replace \n without ; after everything from
    	// https://golang.org/ref/spec#Operators_and_punctuation
    	// EXCEPT ++ -- ) ] }
    	"++\n", "++;",
    	"--\n", "--;",
    
    	"+\n", "+ ",
    	"-\n", "- ",
    	"*\n", "* ",
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Sep 08 14:33:35 GMT 2022
    - 4.5K bytes
    - Viewed (0)
  9. doc/go1.22.html

          blank field (a field named <code>_</code>) somehow has a
          non-zero value.
          These changes make <code>IsZero</code> consistent with comparing
          a value to zero using the language <code>==</code> operator.
        </p>
    
        <p><!-- https://go.dev/issue/59599, CL 511035 -->
          The <a href="/pkg/reflect/#PtrTo"><code>PtrTo</code></a> function is deprecated,
    HTML
    - Registered: Tue Feb 06 11:13:10 GMT 2024
    - Last Modified: Wed Jan 31 20:51:56 GMT 2024
    - 45.6K bytes
    - Viewed (0)
Back to top