Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,415 for print_ (0.27 sec)

  1. 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)
  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/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)
  4. src/cmd/go/internal/version/version.go

    )
    
    var CmdVersion = &base.Command{
    	UsageLine: "go version [-m] [-v] [file ...]",
    	Short:     "print Go version",
    	Long: `Version prints the build information for Go binary files.
    
    Go version reports the Go version used to build each of the named files.
    
    If no files are named on the command line, go version prints its own
    version information.
    
    If a directory is named, go version walks that directory, recursively,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 19:27:00 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. src/cmd/compile/internal/syntax/dumper.go

    				if first {
    					p.printf("\n")
    					first = false
    				}
    				p.printf("%s: ", name)
    				p.dump(x.Field(i), nil)
    				p.printf("\n")
    			}
    		}
    
    		p.indent--
    		p.printf("}")
    
    	default:
    		switch x := x.Interface().(type) {
    		case string:
    			// print strings in quotes
    			p.printf("%q", x)
    		default:
    			p.printf("%v", x)
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 08 17:32:14 UTC 2021
    - 4.5K bytes
    - Viewed (0)
  8. test/print.go

    	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))
    	defer println(int64(-11))
    	defer println(uint64(12))
    	defer println(uint32(12))
    	defer println(uint16(12))
    	defer println(uint8(12))
    	defer println(uint(12))
    	defer println(uintptr(12))
    	defer println(13.0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 31 17:36:45 UTC 2018
    - 1.6K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/print.go

    				p.value(v, live[v.ID])
    				printed[v.ID] = true
    			}
    			p.endBlock(b, reachable[b.ID])
    			continue
    		}
    
    		// print phis first since all value cycles contain a phi
    		n := 0
    		for _, v := range b.Values {
    			if v.Op != OpPhi {
    				continue
    			}
    			p.value(v, live[v.ID])
    			printed[v.ID] = true
    			n++
    		}
    
    		// print rest of values in dependency order
    		for n < len(b.Values) {
    			m := n
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 31 21:41:20 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/print.cc

    void PrintPass::runOnOperation() {
      llvm::sys::SmartScopedLock<true> instrumentationLock(mutex_);
      OpPrintingFlags flags =
          OpPrintingFlags().elideLargeElementsAttrs().enableDebugInfo(false);
      getOperation()->print(*os_, flags);
    }
    }  // namespace
    
    std::unique_ptr<OperationPass<ModuleOp>> CreatePrintPass(raw_ostream* os) {
      return std::make_unique<PrintPass>(os);
    }
    
    }  // namespace TF
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 12 23:15:17 UTC 2023
    - 2.1K bytes
    - Viewed (0)
Back to top