Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for println (0.17 sec)

  1. doc/go1.22.html

      requires deferring the <code>time.Since</code> call. For example:
    </p>
    
    <pre>
    t := time.Now()
    defer log.Println(time.Since(t)) // non-deferred call to time.Since
    tmp := time.Since(t); defer log.Println(tmp) // equivalent to the previous defer
    
    defer func() {
      log.Println(time.Since(t)) // a correctly deferred call to time.Since
    }()
    </pre>
    
    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)
  2. build-logic/buildquality/src/main/kotlin/gradlebuild/incubation/action/IncubatingApiReportWorkAction.kt

                    writer.println("<a name=\"sec_$version\"></a>")
                    writer.println(
                        "<h2>Incubating since $version (${versions[version]?.run { "released on $this" } ?: "unreleased"})</h2>"
                    )
                    writer.println("<ul>")
                    incubatingDescriptions.sorted().forEach { incubating ->
                        writer.println("   <li>${incubating.escape()}</li>")
    HTML
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Sun Jun 25 02:53:14 GMT 2023
    - 12.7K bytes
    - Viewed (0)
  3. build-logic/buildquality/src/main/kotlin/gradlebuild/incubation/action/IncubatingApiReportAggregationWorkAction.kt

                        writer.println("<ul>")
                        issues.forEach {
                            writer.println("   <li>${it.escape()}</li>")
                        }
                        writer.println("</ul>")
                    }
                }
                writer.println("</body></html>")
            }
        }
    
        private
        fun String.escape() = replace("<", "&lt;").replace(">", "&gt;")
    }
    
    
    HTML
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Mon Jan 18 06:55:55 GMT 2021
    - 3.4K bytes
    - Viewed (0)
  4. doc/go_mem.html

    }
    
    func doprint() {
    	once.Do(setup)
    	print(a)
    }
    
    func twoprint() {
    	go doprint()
    	go doprint()
    }
    </pre>
    
    <p>
    calling <code>twoprint</code> will call <code>setup</code> exactly
    once.
    The <code>setup</code> function will complete before either call
    of <code>print</code>.
    The result will be that <code>"hello, world"</code> will be printed
    twice.
    </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)
  5. 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)
  6. doc/go_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: Fri Apr 26 00:39:16 GMT 2024
    - 279.6K bytes
    - Viewed (0)
  7. doc/asm.html

    	0x001d 00029 (x.go:4)	PCDATA	$0, $0
    	0x001d 00029 (x.go:4)	PCDATA	$1, $0
    	0x001d 00029 (x.go:4)	CALL	runtime.printlock(SB)
    	0x0022 00034 (x.go:4)	MOVQ	$3, (SP)
    	0x002a 00042 (x.go:4)	CALL	runtime.printint(SB)
    	0x002f 00047 (x.go:4)	CALL	runtime.printnl(SB)
    	0x0034 00052 (x.go:4)	CALL	runtime.printunlock(SB)
    	0x0039 00057 (x.go:5)	MOVQ	8(SP), BP
    	0x003e 00062 (x.go:5)	ADDQ	$16, SP
    	0x0042 00066 (x.go:5)	RET
    	0x0043 00067 (x.go:5)	NOP
    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)
Back to top