Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for precedence (0.28 sec)

  1. doc/go1.17_spec.html

    </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>
    There are five precedence levels for binary operators.
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  2. src/cmd/cgo/doc.go

    means that if a header file foo/bar.h exists both in the source
    directory and also in the system include directory (or some other place
    specified by a -I flag), then "#include <foo/bar.h>" will always find the
    local version in preference to any other version.
    
    The cgo tool is enabled by default for native builds on systems where
    it is expected to work. It is disabled by default when cross-compiling
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
  3. src/archive/tar/common.go

    	//
    	// The following are semantically equivalent:
    	//  h.Xattrs[key] = value
    	//  h.PAXRecords["SCHILY.xattr."+key] = value
    	//
    	// When Writer.WriteHeader is called, the contents of Xattrs will take
    	// precedence over those in PAXRecords.
    	//
    	// Deprecated: Use PAXRecords instead.
    	Xattrs map[string]string
    
    	// PAXRecords is a map of PAX extended header records.
    	//
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24.7K bytes
    - Viewed (2)
  4. src/cmd/asm/internal/asm/parse.go

    // much practical consequence because the expressions we
    // see in assembly code are simple, but for the record:
    //
    // 1) Evaluation uses uint64; the old one used int64.
    // 2) Precedence uses Go rules not C rules.
    
    // expr = term | term ('+' | '-' | '|' | '^') term.
    func (p *Parser) expr() uint64 {
    	value := p.term()
    	for {
    		switch p.peek() {
    		case '+':
    			p.next()
    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. doc/go_spec.html

    </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>
    There are five precedence levels for binary operators.
    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)
  6. doc/asm.html

    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>.
    Also, constants are always evaluated as 64-bit unsigned integers.
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Nov 28 19:15:27 GMT 2023
    - 36.3K bytes
    - Viewed (0)
  7. api/go1.txt

    pkg go/token, method (Position) String() string
    pkg go/token, method (Token) IsKeyword() bool
    pkg go/token, method (Token) IsLiteral() bool
    pkg go/token, method (Token) IsOperator() bool
    pkg go/token, method (Token) Precedence() int
    pkg go/token, method (Token) String() string
    pkg go/token, type File struct
    pkg go/token, type FileSet struct
    pkg go/token, type Pos int
    pkg go/token, type Position struct
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Aug 14 18:58:28 GMT 2013
    - 1.7M bytes
    - Viewed (1)
  8. src/archive/zip/writer.go

    		fh.Flags |= 0x800
    	}
    
    	fh.CreatorVersion = fh.CreatorVersion&0xff00 | zipVersion20 // preserve compatibility byte
    	fh.ReaderVersion = zipVersion20
    
    	// If Modified is set, this takes precedence over MS-DOS timestamp fields.
    	if !fh.Modified.IsZero() {
    		// Contrary to the FileHeader.SetModTime method, we intentionally
    		// do not convert to UTC, because we assume the user intends to encode
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 04 14:28:57 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  9. doc/go1.22.html

      as in <code>/exact/match/{$}</code>.
    </p>
    
    <p>
      If two patterns overlap in the requests that they match, then the more specific pattern takes precedence.
      If neither is more specific, the patterns conflict.
      This rule generalizes the original precedence rules and maintains the property that the order in which
      patterns are registered does not matter.
    </p>
    
    <p>
    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