Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for Fprintf (0.22 sec)

  1. doc/go_mem.html

    </p>
    
    <p>
    In this program:
    </p>
    
    <pre>
    var a, b int
    
    func f() {
    	a = 1
    	b = 2
    }
    
    func g() {
    	print(b)
    	print(a)
    }
    
    func main() {
    	go f()
    	g()
    }
    </pre>
    
    <p>
    it can happen that <code>g</code> prints <code>2</code> and then <code>0</code>.
    </p>
    
    <p>
    This fact invalidates a few common idioms.
    </p>
    
    <p>
    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)
  2. doc/go1.22.html

      module requirements from configuration files for other vendoring tools
      (such as <code>Gopkg.lock</code>).
    </p>
    
    <!-- CL 495447 -->
    <p>
    <code>go</code> <code>test</code> <code>-cover</code> now prints coverage summaries for covered
    packages that do not have their own test files. Prior to Go 1.22 a
    <code>go</code> <code>test</code> <code>-cover</code> run for such a package would report
    </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)
  3. doc/go1.17_spec.html

    </p>
    
    <pre class="grammar">
    Function   Behavior
    
    print      prints all arguments; formatting of arguments is implementation-specific
    println    like print but prints spaces between arguments and a newline at the end
    </pre>
    
    <p>
    Implementation restriction: <code>print</code> and <code>println</code> need not
    accept arbitrary argument types, but printing of boolean, numeric, and string
    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)
  4. doc/asm.html

    (Exception: the <code>g</code> register renaming on ARM.)
    </p>
    
    <p>
    In Go object files and binaries, the full name of a symbol is the
    package path followed by a period and the symbol name:
    <code>fmt.Printf</code> or <code>math/rand.Int</code>.
    Because the assembler's parser treats period and slash as punctuation,
    those strings cannot be used directly as identifier names.
    Instead, the assembler allows the middle dot character U+00B7
    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)
  5. doc/go_spec.html

    iteration's variable at that moment.
    </p>
    
    <pre>
    var prints []func()
    for i := 0; i < 5; i++ {
    	prints = append(prints, func() { println(i) })
    	i++
    }
    for _, p := range prints {
    	p()
    }
    </pre>
    
    <p>
    prints
    </p>
    
    <pre>
    1
    3
    5
    </pre>
    
    <p>
    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)
Back to top