Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for printBool (0.14 sec)

  1. test/print.go

    	println(uint(7))            // printuint
    	println(uintptr(7))         // printuint
    	println(8.0)                // printfloat
    	println(complex(9.0, 10.0)) // printcomplex
    	println(true)               // printbool
    	println(false)              // printbool
    	println("hello")            // printstring
    	println("one", "two")       // printsp
    
    	// test goprintf
    	defer println((interface{})(nil))
    	defer println((interface {
    		f()
    	})(nil))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 31 17:36:45 UTC 2018
    - 1.6K bytes
    - Viewed (0)
  2. test/runtime.go

    // functions in its symbol table, but some functions
    // in runtime are hard-coded into the compiler.
    // Does not compile.
    
    package main
    
    import "runtime"
    
    func main() {
    	runtime.printbool(true)	// ERROR "unexported|undefined"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 09 23:56:19 UTC 2020
    - 600 bytes
    - Viewed (0)
  3. src/cmd/internal/goobj/builtinlist.go

    	{"runtime.goPanicSlice3AcapU", 1},
    	{"runtime.goPanicSlice3B", 1},
    	{"runtime.goPanicSlice3BU", 1},
    	{"runtime.goPanicSlice3C", 1},
    	{"runtime.goPanicSlice3CU", 1},
    	{"runtime.goPanicSliceConvert", 1},
    	{"runtime.printbool", 1},
    	{"runtime.printfloat", 1},
    	{"runtime.printint", 1},
    	{"runtime.printhex", 1},
    	{"runtime.printuint", 1},
    	{"runtime.printcomplex", 1},
    	{"runtime.printstring", 1},
    	{"runtime.printpointer", 1},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  4. src/runtime/print.go

    	gp.writebuf = gp.writebuf[:len(gp.writebuf)+n]
    }
    
    func printsp() {
    	printstring(" ")
    }
    
    func printnl() {
    	printstring("\n")
    }
    
    func printbool(v bool) {
    	if v {
    		printstring("true")
    	} else {
    		printstring("false")
    	}
    }
    
    func printfloat(v float64) {
    	switch {
    	case v != v:
    		printstring("NaN")
    		return
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 20 03:27:26 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r51/TaskOriginCrossVersionSpec.groovy

                                }
                            }
                        }
                    }
                }
            """
    
            when:
            runBuild('printFoo')
    
            then:
            task(':printFoo').originPlugin.displayName == "MyPlugin"
        }
    
        private void runBuild(String task, Action<BuildLauncher> config = {}) {
            withConnection {
                    def launcher = newBuild()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 5.3K bytes
    - Viewed (0)
Back to top