Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 2,346 for printb (0.2 sec)

  1. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/printf/types.go

    // license that can be found in the LICENSE file.
    
    package printf
    
    import (
    	"fmt"
    	"go/ast"
    	"go/types"
    
    	"golang.org/x/tools/go/analysis"
    	"golang.org/x/tools/internal/aliases"
    	"golang.org/x/tools/internal/typeparams"
    )
    
    var errorType = types.Universe.Lookup("error").Type().Underlying().(*types.Interface)
    
    // matchArgType reports an error if printf verb t is not appropriate for
    // operand arg.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/cmd/token.go

    	}
    
    	return fmt.Sprintf("%s\t%s\t%s\t%s\t%s\t%s\n", obj.Token, ttl, expires, usages, description, groups)
    }
    
    // tokenTextPrinter prints bootstrap token in a text form
    type tokenTextPrinter struct {
    	output.TextPrinter
    	columns         []string
    	headerIsPrinted bool
    }
    
    // PrintObj is an implementation of ResourcePrinter.PrintObj for plain text output
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 05:47:48 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  3. src/cmd/internal/metadata/main.go

    	"fmt"
    	"internal/sysinfo"
    	"runtime"
    )
    
    func main() {
    	fmt.Printf("# GOARCH: %s\n", runtime.GOARCH)
    	fmt.Printf("# CPU: %s\n", sysinfo.CPUName())
    
    	fmt.Printf("# GOOS: %s\n", runtime.GOOS)
    	ver, err := osinfo.Version()
    	if err != nil {
    		ver = fmt.Sprintf("UNKNOWN: error determining OS version: %v", err)
    	}
    	fmt.Printf("# OS Version: %s\n", ver)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 17 21:40:36 UTC 2023
    - 876 bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/printf/doc.go

    // Package printf defines an Analyzer that checks consistency
    // of Printf format strings and arguments.
    //
    // # Analyzer printf
    //
    // printf: check consistency of Printf format strings and arguments
    //
    // The check applies to calls of the formatting functions such as
    // [fmt.Printf] and [fmt.Sprintf], as well as any detected wrappers of
    // those functions such as [log.Printf]. It reports a variety of
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  5. src/go/doc/testdata/benchmark.go

    				benchName = fmt.Sprintf("%s-%d", Benchmark.Name, procs)
    			}
    			fmt.Printf("%s\t", benchName)
    			r := b.run()
    			if b.failed {
    				// The output could be very long here, but probably isn't.
    				// We print it all, regardless, because we don't want to trim the reason
    				// the benchmark failed.
    				fmt.Printf("--- FAIL: %s\n%s", benchName, b.output)
    				continue
    			}
    			fmt.Printf("%v\n", r)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Oct 02 02:28:27 UTC 2022
    - 7.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/tests/tf_executor_ops_location_roundtrip.mlir

    // RUN: tf-opt %s -mlir-print-debuginfo -mlir-print-local-scope | tf-opt -mlir-print-debuginfo -mlir-print-op-generic -mlir-print-local-scope | FileCheck %s
    
    // This file should be written in the generic form with debug locations.
    // (that is, as if printed with `-mlir-print-debuginfo -mlir-print-op-generic`).
    // The test parses the file, prints it in the pretty form with debug locations,
    // then parses it back, then prints it in the generic form again.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 05 14:24:12 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  7. src/cmd/internal/obj/util.go

    			fmt.Fprintf(w, "$%d", a.Offset)
    		} else {
    			fmt.Fprintf(w, "$%d-%d", a.Offset, a.Val.(int32))
    		}
    
    	case TYPE_FCONST:
    		str := fmt.Sprintf("%.17g", a.Val.(float64))
    		// Make sure 1 prints as 1.0
    		if !strings.ContainsAny(str, ".e") {
    			str += ".0"
    		}
    		fmt.Fprintf(w, "$(%s)", str)
    
    	case TYPE_SCONST:
    		fmt.Fprintf(w, "$%q", a.Val.(string))
    
    	case TYPE_ADDR:
    		io.WriteString(w, "$")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  8. src/cmd/internal/objfile/disasm.go

    			} else {
    				// Print instruction as 32-bit words.
    				for j := uint64(0); j < size; j += 4 {
    					if j > 0 {
    						fmt.Fprintf(tw, " ")
    					}
    					fmt.Fprintf(tw, "%08x", d.byteOrder.Uint32(code[i+j:]))
    				}
    			}
    			fmt.Fprintf(tw, "\t%s\t\n", text)
    		})
    		tw.Flush()
    	}
    	bw.Flush()
    }
    
    // Decode disassembles the text segment range [start, end), calling f for each instruction.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 20 02:13:02 UTC 2022
    - 10.5K bytes
    - Viewed (0)
  9. logger/logger.go

    		} else {
    			l.Printf(l.traceWarnStr, utils.FileWithLineNum(), slowLog, float64(elapsed.Nanoseconds())/1e6, rows, sql)
    		}
    	case l.LogLevel == Info:
    		sql, rows := fc()
    		if rows == -1 {
    			l.Printf(l.traceStr, utils.FileWithLineNum(), float64(elapsed.Nanoseconds())/1e6, "-", sql)
    		} else {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Tue Nov 07 02:19:41 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  10. src/html/template/exec_test.go

    	// Print etc.
    	{"print", `{{print "hello, print"}}`, "hello, print", tVal, true},
    	{"print 123", `{{print 1 2 3}}`, "1 2 3", tVal, true},
    	{"print nil", `{{print nil}}`, "&lt;nil&gt;", tVal, true},
    	{"println", `{{println 1 2 3}}`, "1 2 3\n", tVal, true},
    	{"printf int", `{{printf "%04x" 127}}`, "007f", tVal, true},
    	{"printf float", `{{printf "%g" 3.5}}`, "3.5", tVal, true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 24 21:59:12 UTC 2024
    - 57.6K bytes
    - Viewed (0)
Back to top