Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,372 for print_ (0.17 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/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)
  5. 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)
  6. 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)
  7. 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)
  8. tensorflow/compiler/mlir/tensorflow/tests/print.mlir

    // RUN: tf-opt %s --tf-print | FileCheck %s
    
    module {
    // Smoke test. We don't expect any modifications of the MLIR.
    
    // CHECK-LABEL: foo
    // CHECK: return
    func.func @foo(%arg0: tensor<f32>, %arg1: tensor<f32>) -> tensor<f32> {
      return %arg0 : tensor<f32>
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 12 23:15:17 UTC 2023
    - 260 bytes
    - Viewed (0)
  9. src/go/doc/comment/print.go

    	// measured in Unicode code points,
    	// excluding TextPrefix and the newline character.
    	// If TextWidth is zero, it defaults to 80 minus the number of code points in TextPrefix.
    	// If TextWidth is negative, there is no limit.
    	TextWidth int
    }
    
    func (p *Printer) headingLevel() int {
    	if p.HeadingLevel <= 0 {
    		return 3
    	}
    	return p.HeadingLevel
    }
    
    func (p *Printer) headingID(h *Heading) string {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  10. src/cmd/doc/pkg.go

    		}
    	}
    	return true
    }
    
    // valueDoc prints the docs for a constant or variable. The printed map records
    // which values have been printed already to avoid duplication. Otherwise, a
    // declaration like:
    //
    //	const ( c = 1; C = 2 )
    //
    // … could be printed twice if the -u flag is set, as it matches twice.
    func (pkg *Package) valueDoc(value *doc.Value, printed map[*ast.GenDecl]bool) {
    	if printed[value.Decl] {
    		return
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 08 20:15:52 UTC 2024
    - 32K bytes
    - Viewed (0)
Back to top