Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,344 for print_ (0.36 sec)

  1. tensorflow/compiler/jit/build_xla_ops_pass.cc

            string cpu_device = "/job:localhost/replica:0/task:0/device:CPU:0";
            ops::Print print_op(s.WithOpName("print_", oidx)
                                    .WithDevice(cpu_device)
                                    .WithAssignedDevice(cpu_device),
                                new_output, {new_output},
                                ops::Print::Attrs{}
                                    .Message(absl::StrCat("output ", oidx, " from ",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/mod/modfile/print.go

    	}
    	return b
    }
    
    // A printer collects the state during printing of a file or expression.
    type printer struct {
    	bytes.Buffer           // output buffer
    	comment      []Comment // pending end-of-line comments
    	margin       int       // left margin (indent), a number of tabs
    }
    
    // printf prints to the buffer.
    func (p *printer) printf(format string, args ...interface{}) {
    	fmt.Fprintf(p, format, args...)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 00:48:59 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  3. src/cmd/vet/testdata/print/print.go

    	fmt.Printf("%v", &stringerv)
    	fmt.Printf("%T", &stringerv)
    	fmt.Printf("%s", &embeddedStringerv)
    	fmt.Printf("%v", &embeddedStringerv)
    	fmt.Printf("%T", &embeddedStringerv)
    	fmt.Printf("%v", notstringerv)
    	fmt.Printf("%T", notstringerv)
    	fmt.Printf("%q", stringerarrayv)
    	fmt.Printf("%v", stringerarrayv)
    	fmt.Printf("%s", stringerarrayv)
    	fmt.Printf("%v", notstringerarrayv)
    	fmt.Printf("%T", notstringerarrayv)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 09 01:28:01 UTC 2023
    - 27.5K bytes
    - Viewed (0)
  4. src/go/ast/print.go

    		}
    	}()
    
    	// print x
    	if x == nil {
    		p.printf("nil\n")
    		return
    	}
    	p.print(reflect.ValueOf(x))
    	p.printf("\n")
    
    	return
    }
    
    // Print prints x to standard output, skipping nil fields.
    // Print(fset, x) is the same as Fprint(os.Stdout, fset, x, NotNilFilter).
    func Print(fset *token.FileSet, x any) error {
    	return Fprint(os.Stdout, fset, x, NotNilFilter)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 28 21:32:41 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/printf/printf.go

    	"fmt.Printf":   true,
    	"fmt.Println":  true,
    	"fmt.Sprint":   true,
    	"fmt.Sprintf":  true,
    	"fmt.Sprintln": true,
    
    	"runtime/trace.Logf": true,
    
    	"log.Print":             true,
    	"log.Printf":            true,
    	"log.Println":           true,
    	"log.Fatal":             true,
    	"log.Fatalf":            true,
    	"log.Fatalln":           true,
    	"log.Panic":             true,
    	"log.Panicf":            true,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 32.5K bytes
    - Viewed (0)
  6. src/fmt/example_test.go

    	// 21 bytes written.
    }
    
    // Print, Println, and Printf lay out their arguments differently. In this example
    // we can compare their behaviors. Println always adds blanks between the items it
    // prints, while Print adds blanks only between non-string arguments and Printf
    // does exactly what it is told.
    // Sprint, Sprintln, Sprintf, Fprint, Fprintln, and Fprintf behave the same as
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 21:03:10 UTC 2019
    - 11.8K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/syntax/printer.go

    		p.print(_Func)
    		p.printSignature(n)
    
    	case *InterfaceType:
    		p.print(_Interface)
    		if p.linebreaks && len(n.MethodList) > 1 {
    			p.print(blank)
    			p.print(_Lbrace)
    			p.print(newline, indent)
    			p.printMethodList(n.MethodList)
    			p.print(outdent, newline)
    		} else {
    			p.print(_Lbrace)
    			p.printMethodList(n.MethodList)
    		}
    		p.print(_Rbrace)
    
    	case *MapType:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 24 07:17:27 UTC 2023
    - 21.5K bytes
    - Viewed (0)
  8. src/go/printer/printer.go

    // or assignment-compatible to [ast.Expr], [ast.Decl], [ast.Spec], or [ast.Stmt].
    func (cfg *Config) Fprint(output io.Writer, fset *token.FileSet, node any) error {
    	return cfg.fprint(output, fset, node, make(map[ast.Node]int))
    }
    
    // Fprint "pretty-prints" an AST node to output.
    // It calls [Config.Fprint] with default settings.
    // Note that gofmt uses tabs for indentation but spaces for alignment;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 41.6K bytes
    - Viewed (0)
  9. src/runtime/print.go

    	sp := (*slice)(unsafe.Pointer(&s))
    	print("[", len(s), "/", cap(s), "]")
    	printpointer(sp.array)
    }
    
    func printeface(e eface) {
    	print("(", e._type, ",", e.data, ")")
    }
    
    func printiface(i iface) {
    	print("(", i.tab, ",", i.data, ")")
    }
    
    // hexdumpWords prints a word-oriented hex dump of [p, end).
    //
    // If mark != nil, it will be called with each printed word's address
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 20 03:27:26 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ir/fmt.go

    			break
    		}
    
    		fmt.Fprint(s, "for")
    		if n.DistinctVars {
    			fmt.Fprint(s, " /* distinct */")
    		}
    		if simpleinit {
    			fmt.Fprintf(s, " %v;", n.Init()[0])
    		} else if n.Post != nil {
    			fmt.Fprint(s, " ;")
    		}
    
    		if n.Cond != nil {
    			fmt.Fprintf(s, " %v", n.Cond)
    		}
    
    		if n.Post != nil {
    			fmt.Fprintf(s, "; %v", n.Post)
    		} else if simpleinit {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 05 15:20:28 UTC 2023
    - 26K bytes
    - Viewed (0)
Back to top