Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 2,159 for fprint (0.12 sec)

  1. cmd/kubeadm/app/phases/addons/dns/dns.go

    	}
    
    	if printManifest {
    		fmt.Fprint(out, "---")
    		fmt.Fprintf(out, "%s", coreDNSDeploymentBytes)
    		fmt.Fprint(out, "---")
    		fmt.Fprintf(out, "%s", coreDNSConfigMapBytes)
    		fmt.Fprint(out, "---")
    		fmt.Fprintf(out, "%s", coreDNSServiceBytes)
    		fmt.Fprint(out, "---")
    		fmt.Fprintf(out, "%s", []byte(CoreDNSClusterRole))
    		fmt.Fprint(out, "---")
    		fmt.Fprintf(out, "%s", []byte(CoreDNSClusterRoleBinding))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 10:21:20 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  2. test/rotate.go

    	"strings"
    )
    
    func main() {
    	flag.Parse()
    
    	b := bufio.NewWriter(os.Stdout)
    	defer b.Flush()
    
    	fmt.Fprintf(b, "%s\n", prolog)
    
    	for logBits := uint(3); logBits <= 6; logBits++ {
    		typ := fmt.Sprintf("int%d", 1<<logBits)
    		fmt.Fprint(b, strings.Replace(checkFunc, "XXX", typ, -1))
    		fmt.Fprint(b, strings.Replace(checkFunc, "XXX", "u"+typ, -1))
    		gentest(b, 1<<logBits, mode&1 != 0, mode&2 != 0)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 3.3K bytes
    - Viewed (0)
  3. test/index.go

    		if c == "c" && n == "" && i == "fgood" {
    			if pass == 0 {
    				fmt.Fprintf(b, "\tuse(%s[%s])\n", pae, cni)
    				fmt.Fprintf(b, "\tuse(%s[0:%s])\n", pae, cni)
    				fmt.Fprintf(b, "\tuse(%s[1:%s])\n", pae, cni)
    				fmt.Fprintf(b, "\tuse(%s[%s:])\n", pae, cni)
    				fmt.Fprintf(b, "\tuse(%s[%s:%s])\n", pae, cni, cni)
    			}
    			return
    		}
    
    		// Only print the test case if it is appropriate for this pass.
    		if thisPass == pass {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Sep 08 17:28:20 UTC 2019
    - 6.4K bytes
    - Viewed (0)
  4. cmd/erasure-metadata.go

    				fmt.Fprintf(h, "%v", meta.Erasure.Distribution)
    			}
    
    			if meta.IsRemote() {
    				// ILM transition fields
    				fmt.Fprint(h, meta.TransitionStatus)
    				fmt.Fprint(h, meta.TransitionTier)
    				fmt.Fprint(h, meta.TransitionedObjName)
    				fmt.Fprint(h, meta.TransitionVersionID)
    			}
    
    			// If metadata says encrypted, ask for it in quorum.
    			if etyp, ok := crypto.IsEncrypted(meta.Metadata); ok {
    				fmt.Fprint(h, etyp)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  5. 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)
  6. src/encoding/gob/encgen.go

    		log.Fatal("usage: encgen [--output filename]")
    	}
    	var b bytes.Buffer
    	fmt.Fprintf(&b, "// Code generated by go run encgen.go -output %s; DO NOT EDIT.\n", *output)
    	fmt.Fprint(&b, header)
    	printMaps(&b, "Array")
    	fmt.Fprint(&b, "\n")
    	printMaps(&b, "Slice")
    	for _, t := range types {
    		fmt.Fprintf(&b, arrayHelper, t.lower, t.upper)
    		fmt.Fprintf(&b, sliceHelper, t.lower, t.upper, t.zero, t.encoder)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 22 16:39:09 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  7. src/cmd/cgo/godefs.go

    )
    
    // godefs returns the output for -godefs mode.
    func (p *Package) godefs(f *File, args []string) string {
    	var buf strings.Builder
    
    	fmt.Fprintf(&buf, "// Code generated by cmd/cgo -godefs; DO NOT EDIT.\n")
    	fmt.Fprintf(&buf, "// %s %s\n", filepath.Base(args[0]), strings.Join(args[1:], " "))
    	fmt.Fprintf(&buf, "\n")
    
    	override := make(map[string]string)
    
    	// Allow source file to specify override mappings.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/apf_controller_debug.go

    	}
    	runtime.HandleError(tabWriter.Flush())
    }
    
    func tabPrint(w io.Writer, row string) {
    	_, err := fmt.Fprint(w, row)
    	runtime.HandleError(err)
    }
    
    func continueLine(w io.Writer) {
    	_, err := fmt.Fprint(w, ",\t")
    	runtime.HandleError(err)
    }
    func endLine(w io.Writer) {
    	_, err := fmt.Fprint(w, "\n")
    	runtime.HandleError(err)
    }
    
    func rowForHeaders(headers []string) string {
    	return row(headers...)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 18 17:38:43 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  9. src/encoding/gob/decgen.go

    	}
    	var b bytes.Buffer
    	fmt.Fprintf(&b, "// Code generated by go run decgen.go -output %s; DO NOT EDIT.\n", *output)
    	fmt.Fprint(&b, header)
    	printMaps(&b, "Array")
    	fmt.Fprint(&b, "\n")
    	printMaps(&b, "Slice")
    	for _, t := range types {
    		fmt.Fprintf(&b, arrayHelper, t.lower, t.upper)
    		fmt.Fprintf(&b, sliceHelper, t.lower, t.upper, t.decoder)
    	}
    	fmt.Fprintf(&b, trailer)
    	source, err := format.Source(b.Bytes())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 20 14:15:38 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  10. 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)
Back to top