Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 922 for print_ (0.09 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/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)
  3. 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)
  4. src/fmt/print.go

    	return
    }
    
    // Print formats using the default formats for its operands and writes to standard output.
    // Spaces are added between operands when neither is a string.
    // It returns the number of bytes written and any write error encountered.
    func Print(a ...any) (n int, err error) {
    	return Fprint(os.Stdout, a...)
    }
    
    // Sprint formats using the default formats for its operands and returns the resulting string.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:22:43 UTC 2024
    - 31.8K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/util/output/output.go

    	return fmt.Fprintf(writer, format, args...)
    }
    
    // Fprintln is a wrapper around fmt.Fprintln
    func (tp *TextPrinter) Fprintln(writer io.Writer, args ...interface{}) (n int, err error) {
    	return fmt.Fprintln(writer, args...)
    }
    
    // Printf is a wrapper around fmt.Printf
    func (tp *TextPrinter) Printf(format string, args ...interface{}) (n int, err error) {
    	return fmt.Printf(format, args...)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 19 08:22:45 UTC 2024
    - 8K bytes
    - Viewed (0)
  6. src/cmd/go/internal/tool/tool.go

    	}
    	if err != nil {
    		// Only print about the exit status if the command
    		// didn't even run (not an ExitError) or it didn't exit cleanly
    		// or we're printing command lines too (-x mode).
    		// Assume if command exited cleanly (even with non-zero status)
    		// it printed any messages it wanted to print.
    		if e, ok := err.(*exec.ExitError); !ok || !e.Exited() || cfg.BuildX {
    			fmt.Fprintf(os.Stderr, "go tool %s: %s\n", toolName, err)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 18:02:11 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/tools/go/analysis/internal/analysisflags/flags.go

    	flag.Var(&value, name, usage)
    	return &value
    }
    
    // triState implements flag.Value, flag.Getter, and flag.boolFlag.
    // They work like boolean flags: we can say vet -printf as well as vet -printf=true
    func (ts *triState) Get() interface{} {
    	return *ts == setTrue
    }
    
    func (ts triState) isTrue() bool {
    	return ts == setTrue
    }
    
    func (ts *triState) Set(value string) error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 19:00:13 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  8. src/fmt/doc.go

    	Too few arguments: %!verb(MISSING)
    		Printf("hi%d"):            hi%!d(MISSING)
    	Non-int for width or precision: %!(BADWIDTH) or %!(BADPREC)
    		Printf("%*s", 4.5, "hi"):  %!(BADWIDTH)hi
    		Printf("%.*s", 4.5, "hi"): %!(BADPREC)hi
    	Invalid or invalid use of argument index: %!(BADINDEX)
    		Printf("%*[2]d", 7):       %!d(BADINDEX)
    		Printf("%.[2]d", 7):       %!d(BADINDEX)
    
    All errors begin with the string "%!" followed sometimes
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 21:56:20 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  9. src/cmd/go/internal/bug/bug.go

    `
    
    func printGoVersion(w io.Writer) {
    	fmt.Fprintf(w, "### What version of Go are you using (`go version`)?\n\n")
    	fmt.Fprintf(w, "<pre>\n")
    	fmt.Fprintf(w, "$ go version\n")
    	fmt.Fprintf(w, "go version %s %s/%s\n", runtime.Version(), runtime.GOOS, runtime.GOARCH)
    	fmt.Fprintf(w, "</pre>\n")
    	fmt.Fprintf(w, "\n")
    }
    
    func printEnvDetails(w io.Writer) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  10. src/cmd/trace/main.go

    	log.Print("Preparing trace for viewer...")
    	parsed, err := parseTraceInteractive(tracef, traceSize)
    	if err != nil {
    		logAndDie(err)
    	}
    	// N.B. tracef not needed after this point.
    	// We might double-close, but that's fine; we ignore the error.
    	tracef.Close()
    
    	// Print a nice message for a partial trace.
    	if parsed.err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 10.4K bytes
    - Viewed (0)
Back to top