- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 2,114 for qprint (0.12 sec)
-
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/printf/printf.go
// to learn whether a function behaves like fmt.Print or fmt.Printf. type Result struct { funcs map[*types.Func]Kind } // Kind reports whether fn behaves like fmt.Print or fmt.Printf. func (r *Result) Kind(fn *types.Func) Kind { _, ok := isPrint[fn.FullName()] if !ok { // Next look up just "printf", for use with -printf.funcs. _, ok = isPrint[strings.ToLower(fn.Name())] } if ok { if strings.HasSuffix(fn.Name(), "f") {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 32.5K bytes - Viewed (0) -
src/net/http/internal/ascii/print.go
// lower returns the ASCII lowercase version of b. func lower(b byte) byte { if 'A' <= b && b <= 'Z' { return b + ('a' - 'A') } return b } // IsPrint returns whether s is ASCII and printable according to // https://tools.ietf.org/html/rfc20#section-4.2. func IsPrint(s string) bool { for i := 0; i < len(s); i++ { if s[i] < ' ' || s[i] > '~' { return false } } return true }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 10 03:29:50 UTC 2024 - 1.2K bytes - Viewed (0) -
test/print.go
// run // Copyright 2014 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Test internal print routines that are generated // by the print builtin. This test is not exhaustive, // we're just checking that the formatting is correct. package main func main() { println((interface{})(nil)) // printeface println((interface { // printiface
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 31 17:36:45 UTC 2018 - 1.6K bytes - Viewed (0) -
src/fmt/example_test.go
// 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 // their corresponding Print, Println, and Printf functions shown here. func Example_printers() { a, b := 3.0, 4.0 h := math.Hypot(a, b) // Print inserts blanks between arguments when neither is a string.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 21:03:10 UTC 2019 - 11.8K bytes - Viewed (0) -
internal/logger/console.go
if len(line) == 0 { // No more text to print, just quit. break } for { // Save the attributes of the current cursor helps // us save the text color of the passed error message ansiSaveAttributes() // Print banner with or without the log tag if !tagPrinted { fmt.Fprint(Output, logBanner) tagPrinted = true } else { fmt.Fprint(Output, emptyBanner) }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 5.8K bytes - Viewed (0) -
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) -
hack/print-workspace-status.sh
# build stamping with git information. # # It is still useful for obtaining kube::version::get_version_vars without # sourcing Kubernetes build internals. # # Usage: `hack/print-workspace-status.sh`. set -o errexit set -o nounset set -o pipefail KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/.. source "${KUBE_ROOT}/hack/lib/version.sh" kube::version::get_version_vars
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jul 06 11:19:29 UTC 2022 - 2K bytes - Viewed (0) -
src/net/http/triv.go
case "POST": var buf strings.Builder io.Copy(&buf, req.Body) body := buf.String() if n, err := strconv.Atoi(body); err != nil { fmt.Fprintf(w, "bad POST: %v\nbody: [%v]\n", err, body) } else { ctr.n = n fmt.Fprint(w, "counter reset\n") } } fmt.Fprintf(w, "counter = %d\n", ctr.n) } // simple flag server var booleanflag = flag.Bool("boolean", true, "another flag for testing")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 10 03:29:50 UTC 2024 - 3.2K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/internal/driver/options.go
} func (ui *stdUI) ReadLine(prompt string) (string, error) { os.Stdout.WriteString(prompt) return ui.r.ReadString('\n') } func (ui *stdUI) Print(args ...interface{}) { ui.fprint(os.Stderr, args) } func (ui *stdUI) PrintErr(args ...interface{}) { ui.fprint(os.Stderr, args) } func (ui *stdUI) IsTerminal() bool { return false } func (ui *stdUI) WantBrowser() bool { return true }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 07 12:27:21 UTC 2018 - 2.3K bytes - Viewed (0) -
test/print.out
Anfernee Yongkun Gui <******@****.***> 1505455580 -0700
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 26 04:08:38 UTC 2017 - 247 bytes - Viewed (0)