Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for pre (0.14 sec)

  1. doc/go_mem.html

    For example, a compiler must not invert the conditional in this program:
    </p>
    
    <pre>
    *p = 1
    if cond {
    	*p = 2
    }
    </pre>
    
    <p>
    That is, the compiler must not rewrite the program into this one:
    </p>
    
    <pre>
    *p = 2
    if !cond {
    	*p = 1
    }
    </pre>
    
    <p>
    If <code>cond</code> is false and another goroutine is reading <code>*p</code>,
    HTML
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Mar 04 15:54:42 GMT 2024
    - 26.6K bytes
    - Viewed (0)
  2. doc/go1.17_spec.html

    <pre>
    func(int) int
    </pre>
    
    <p>
    These two invocations are equivalent:
    </p>
    
    <pre>
    t.Mv(7)
    f := t.Mv; f(7)
    </pre>
    
    <p>
    Similarly, the expression
    </p>
    
    <pre>
    pt.Mp
    </pre>
    
    <p>
    yields a function value of type
    </p>
    
    <pre>
    func(float32) float32
    </pre>
    
    <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)
  3. doc/go1.22.html

      </li>
      <li>
        "For" loops may now range over integers.
        For <a href="https://go.dev/play/p/ky02zZxgk_r?v=gotip">example</a>:
    <pre>
    package main
    
    import "fmt"
    
    func main() {
      for i := range 10 {
        fmt.Println(10 - i)
      }
      fmt.Println("go1.22 has lift-off!")
    }
    </pre>
        See the spec for <a href="/ref/spec#For_range">details</a>.
      </li>
    </ul>
    
    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)
  4. doc/asm.html

    	0x0048 00072 (x.go:3)	JMP	0
    ...
    </pre>
    
    <p>
    The <code>FUNCDATA</code> and <code>PCDATA</code> directives contain information
    for use by the garbage collector; they are introduced by the compiler.
    </p>
    
    <p>
    To see what gets put in the binary after linking, use <code>go tool objdump</code>:
    </p>
    
    <pre>
    $ go build -o x.exe x.go
    $ go tool objdump -s main.main x.exe
    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)
  5. doc/go_spec.html

    </p>
    
    <pre class="ebnf">
    ShortVarDecl = IdentifierList ":=" ExpressionList .
    </pre>
    
    <p>
    It is shorthand for a regular <a href="#Variable_declarations">variable declaration</a>
    with initializer expressions but no types:
    </p>
    
    <pre class="grammar">
    "var" IdentifierList "=" ExpressionList .
    </pre>
    
    <pre>
    i, j := 0, 10
    f := func() int { return 7 }
    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)
  6. src/test/resources/plugin/repo1/index.html

    	<style>
    body {
    	background: #fff;
    }
    	</style>
    </head>
    
    <body>
    	<header>
    		<h1>org/codelibs/fess</h1>
    	</header>
    	<hr/>
    	<main>
    		<pre id="contents">
    <a href="../plugin/plugin">../</a>
    <a href="fess/" title="fess/">fess/</a>                                                            -         -      
    HTML
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Tue Aug 13 07:34:14 GMT 2019
    - 3.3K bytes
    - Viewed (0)
Back to top