- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 26 for doPrint (0.14 sec)
-
test/ken/cplx0.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 31 17:36:45 UTC 2018 - 455 bytes - Viewed (0) -
test/ken/cplx4.go
if s != w { panic(s + " != " + w) } } func doprint(c complex128, w string) { s := fmt.Sprintf("%f", c) want(s, w) } func main() { // constants s := fmt.Sprintf("%f", -C1) want(s, "(-5.000000-6.000000i)") doprint(C1, "(5.000000+6.000000i)") // variables c1 := C1 s = fmt.Sprintf("%f", c1) want(s, "(5.000000+6.000000i)") doprint(c1, "(5.000000+6.000000i)") // 128
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 24 05:24:24 UTC 2012 - 1K bytes - Viewed (0) -
doc/go_mem.html
<pre> var a string var done bool func setup() { a = "hello, world" done = true } func doprint() { if !done { once.Do(setup) } print(a) } func twoprint() { go doprint() go doprint() } </pre> <p> but there is no guarantee that, in <code>doprint</code>, observing the write to <code>done</code> implies observing the write to <code>a</code>. This
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 15:54:42 UTC 2024 - 26.6K bytes - Viewed (0) -
src/fmt/print.go
func Sprint(a ...any) string { p := newPrinter() p.doPrint(a) s := string(p.buf) p.free() return s } // Append formats using the default formats for its operands, appends the result to // the byte slice, and returns the updated slice. func Append(b []byte, a ...any) []byte { p := newPrinter() p.doPrint(a) b = append(b, p.buf...) p.free() return b }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 21:22:43 UTC 2024 - 31.8K bytes - Viewed (0) -
platforms/core-configuration/model-groovy/src/integTest/groovy/org/gradle/model/dsl/internal/transform/ModelDslRuleInputDetectionIntegrationSpec.groovy
} } class PrintTask extends DefaultTask { @Internal String message @TaskAction void doPrint() { println "message: " + message } } apply type: MyPlugin model { strings { $code
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 13.3K bytes - Viewed (0) -
src/runtime/traceback.go
fail := u.flags&(unwindPrintErrors|unwindSilentErrors) == 0 doPrint := u.flags&unwindSilentErrors == 0 if doPrint && gp.m.incgo && f.funcID == abi.FuncID_sigpanic { // We can inject sigpanic // calls directly into C code, // in which case we'll see a C // return PC. Don't complain. doPrint = false } if fail || doPrint {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 16:25:21 UTC 2024 - 55.1K bytes - Viewed (0) -
test/goprint.go
Brad Fitzpatrick <******@****.***> 1570735383 +0000
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 10 19:38:06 UTC 2019 - 722 bytes - Viewed (0) -
test/goprint.out
Ian Lance Taylor <******@****.***> 1326931944 -0800
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jan 19 00:12:24 UTC 2012 - 65 bytes - Viewed (0) -
src/fmt/errors.go
// the error interface. The %w verb is otherwise a synonym for %v. func Errorf(format string, a ...any) error { p := newPrinter() p.wrapErrs = true p.doPrintf(format, a) s := string(p.buf) var err error switch len(p.wrappedErrs) { case 0: err = errors.New(s) case 1: w := &wrapError{msg: s} w.err, _ = a[p.wrappedErrs[0]].(error) err = w default:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 1.7K bytes - Viewed (0) -
pom.xml
<version>3.6.3</version> <configuration> <encoding>UTF-8</encoding> <docencoding>UTF-8</docencoding> <charset>UTF-8</charset> <source>8</source> <doclint>none</doclint> </configuration> </plugin> <plugin> <artifactId>maven-jar-plugin</artifactId> <version>3.3.0</version> <configuration> <archive> <manifestEntries>
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Sun May 26 04:00:03 UTC 2024 - 9.3K bytes - Viewed (0)