Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for evaluate (0.2 sec)

  1. doc/go1.17_spec.html

    type of a specially annotated switch expression.
    The switch expression is evaluated exactly once in a switch statement.
    </p>
    
    <h4 id="Expression_switches">Expression switches</h4>
    
    <p>
    In an expression switch,
    the switch expression is evaluated and
    the case expressions, which need not be constants,
    are evaluated left-to-right and top-to-bottom; the first one that equals the
    switch expression
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  2. src/cmd/cgo/gcc.go

    	// literal to evaluate the arguments at the right time.
    	//    defer func() func() {
    	//            _cgo0 := p
    	//            return func() {
    	//                    _cgoCheckPointer(_cgo0, nil)
    	//                    C.f(_cgo0)
    	//            }
    	//    }()()
    	// This works because the defer statement evaluates the first
    	// function literal in order to get the function to call.
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  3. doc/go_spec.html

    type of a specially annotated switch expression.
    The switch expression is evaluated exactly once in a switch statement.
    </p>
    
    <h4 id="Expression_switches">Expression switches</h4>
    
    <p>
    In an expression switch,
    the switch expression is evaluated and
    the case expressions, which need not be constants,
    are evaluated left-to-right and top-to-bottom; the first one that equals the
    switch expression
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu May 02 22:43:51 GMT 2024
    - 279.6K bytes
    - Viewed (0)
  4. src/cmd/asm/internal/asm/expr_test.go

    	for i, test := range exprTests {
    		p.start(lex.Tokenize(test.input))
    		result := int64(p.expr())
    		if result != test.output {
    			t.Errorf("%d: %q evaluated to %d; expected %d", i, test.input, result, test.output)
    		}
    		tok := p.next()
    		if test.atEOF && tok.ScanToken != scanner.EOF {
    			t.Errorf("%d: %q: at EOF got %s", i, test.input, tok)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  5. doc/godebug.md

    always have [`os.ModeIrregular`](/pkg/os#ModeIrregular) set. As a result of these changes,
    [`filepath.EvalSymlinks`](/pkg/path/filepath#EvalSymlinks) no longer evaluates
    mount points, which was a source of many inconsistencies and bugs.
    At previous versions (`winsymlink=0`), mount points are treated as symlinks,
    and other reparse points with non-default [`os.ModeType`](/pkg/os#ModeType) bits
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Tue Apr 16 17:29:58 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  6. doc/asm.html

    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.
    Thus <code>-2</code> is not the integer value minus two,
    but the unsigned 64-bit integer with the same bit pattern.
    The distinction rarely matters but
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Tue Nov 28 19:15:27 GMT 2023
    - 36.3K bytes
    - Viewed (0)
  7. doc/next/6-stdlib/99-minor/path/filepath/63703.md

    On Windows, [EvalSymlinks] no longer evaluates mount points,
    which was a source of many inconsistencies and bugs.
    This behavior is controlled by the `winsymlink` setting.
    For Go 1.23, it defaults to `winsymlink=1`.
    Previous versions default to `winsymlink=0`.
    
    On Windows, [EvalSymlinks] no longer tries to normalize
    volumes to drive letters, which was not always even possible.
    This behavior is controlled by the `winreadlinkvolume` setting.
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Apr 12 20:57:18 GMT 2024
    - 545 bytes
    - Viewed (0)
  8. src/cmd/asm/internal/asm/asm.go

    		return false
    	}
    	if !offsetOk && addr.Offset != 0 {
    		p.errorf("%s symbol %q must not be offset from SB", pseudo, symbolName(addr))
    		return false
    	}
    	return true
    }
    
    // evalInteger evaluates an integer constant for a pseudo-op.
    func (p *Parser) evalInteger(pseudo string, operands []lex.Token) int64 {
    	addr := p.address(operands)
    	return p.getConstantPseudo(pseudo, &addr)
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 25.3K bytes
    - Viewed (0)
Back to top