Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for PrintString (0.27 sec)

  1. src/runtime/print.go

    }
    
    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
    	case v+v == v && v > 0:
    		printstring("+Inf")
    		return
    	case v+v == v && v < 0:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 20 03:27:26 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  2. test/print.go

    	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))
    	defer println((map[int]int)(nil))
    	defer println(([]int)(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)
  3. tensorflow/cc/framework/cc_op_gen_util.h

    string ToTitle(StringPiece name);
    
    // Change:     Into:
    //   ABC         /// ABC
    //               ///
    //   DEF         /// DEF
    string MakeComment(StringPiece text, StringPiece indent);
    
    string PrintString(StringPiece str);
    
    string PrintTensorShape(const TensorShapeProto& shape_proto);
    
    template <typename T>
    string PrintArray(int64_t num_elts, const T* array) {
      string ret;
      for (int64_t i = 0; i < num_elts; ++i) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Feb 26 00:57:05 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  4. src/cmd/internal/goobj/builtinlist.go

    	{"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},
    	{"runtime.printuintptr", 1},
    	{"runtime.printiface", 1},
    	{"runtime.printeface", 1},
    	{"runtime.printslice", 1},
    	{"runtime.printnl", 1},
    	{"runtime.printsp", 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)
Back to top