- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for evaluation (0.25 sec)
-
doc/go_mem.html
defined as the partial order requirements set out by the <a href="/ref/spec">Go language specification</a> for Go's control flow constructs as well as the <a href="/ref/spec#Order_of_evaluation">order of evaluation for expressions</a>. </p> <p> A Go <i>program execution</i> is modeled as a set of goroutine executions,
HTML - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Mar 04 15:54:42 GMT 2024 - 26.6K bytes - Viewed (0) -
doc/go1.17_spec.html
However, the order of those events compared to the evaluation and indexing of <code>x</code> and the evaluation of <code>y</code> is not specified. </p> <pre> a := 1 f := func() int { a++; return a } x := []int{a, f()} // x may be [1, 2] or [2, 2]: evaluation order between a and f() is not specified m := map[int]int{a: 1, a: 2} // m may be {2: 1} or {2: 2}: evaluation order between the two map assignments is not specified
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) -
doc/asm.html
</pre> <h3 id="constants">Constants</h3> <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&1<<2</code> is 4, not 0—it parses as <code>(3&1)<<2</code>
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) -
doc/go_spec.html
precision, and vice versa. </p> <h3 id="Order_of_evaluation">Order of evaluation</h3> <p> At package level, <a href="#Package_initialization">initialization dependencies</a> determine the evaluation order of individual initialization expressions in <a href="#Variable_declarations">variable declarations</a>. Otherwise, when evaluating the <a href="#Operands">operands</a> of an expression, assignment, or
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)