Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 1,586 for vfprintf (0.33 sec)

  1. cmd/kubeadm/app/util/patches/patches.go

    	if output == nil {
    		output = io.Discard
    	}
    
    	fmt.Fprintf(output, "[patches] Reading patches from path %q\n", path)
    
    	// Get the files in the path.
    	patchSets, patchFiles, ignoredFiles, err := getPatchSetsFromPath(path, knownTargets, output)
    	if err != nil {
    		return nil, err
    	}
    
    	if len(patchFiles) > 0 {
    		fmt.Fprintf(output, "[patches] Found the following patch files: %v\n", patchFiles)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  2. src/net/main_test.go

    	if len(sos) == 0 {
    		return
    	}
    	fmt.Fprintf(os.Stderr, "Inflight sockets:\n")
    	for s, so := range sos {
    		fmt.Fprintf(os.Stderr, "%v: %v\n", s, so)
    	}
    	fmt.Fprintf(os.Stderr, "\n")
    }
    
    func printSocketStats() {
    	sts := sw.Stats()
    	if len(sts) == 0 {
    		return
    	}
    	fmt.Fprintf(os.Stderr, "Socket statistical information:\n")
    	for _, st := range sts {
    		fmt.Fprintf(os.Stderr, "%v\n", st)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  3. docs/debugging/reorder-disks/main.go

    	for _, disk := range localDisks {
    		expectedDisksName[fmt.Sprintf("%d-%d", disk.index/setSize, disk.index%setSize)] = disk.path
    		format, err := getFormatJSON(disk.path)
    		if err != nil {
    			log.Printf("Unable to read format.json from `%s`, error: %v\n", disk.path, err)
    			continue
    		}
    		foundDiskLoc, err := getDiskLocation(format)
    		if err != nil {
    			log.Printf("Unable to get disk location of `%s`, error: %v\n", disk.path, err)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/cmd/token.go

    		expires = obj.Expires.Format(time.RFC3339)
    	}
    	ttl = fmt.Sprintf("%-9s", ttl)
    
    	usages := strings.Join(obj.Usages, ",")
    	if len(usages) == 0 {
    		usages = "<none>"
    	}
    	usages = fmt.Sprintf("%-22s", usages)
    
    	description := obj.Description
    	if len(description) == 0 {
    		description = "<none>"
    	}
    	description = fmt.Sprintf("%-56s", description)
    
    	groups := strings.Join(obj.Groups, ",")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 05:47:48 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  5. samples/jwt-server/src/main.go

    		serverPrivateKey:  key,
    	}
    }
    
    func main() {
    	flag.Parse()
    	s := NewJwtServer(*serverCert, *serverkey)
    	go s.runHTTP(fmt.Sprintf(":%s", *httpPort))
    	if s.serverCertificate != "" && s.serverPrivateKey != "" {
    		go s.runHTTPS(fmt.Sprintf(":%s", *httpsPort))
    	}
    	defer s.stop()
    
    	// Wait for the process to be shutdown.
    	sigs := make(chan os.Signal, 1)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 16 23:56:50 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  6. src/cmd/go/internal/envcmd/env_test.go

    			b.WriteString("@echo off\n")
    		}
    		PrintEnv(&b, []cfg.EnvVar{{Name: "var", Value: s}}, false)
    		var want string
    		if runtime.GOOS == "windows" {
    			fmt.Fprintf(&b, "echo \"%%var%%\"\n")
    			want += "\"" + s + "\"\r\n"
    		} else {
    			fmt.Fprintf(&b, "printf '%%s\\n' \"$var\"\n")
    			want += s + "\n"
    		}
    		scriptfilename := "script.sh"
    		if runtime.GOOS == "windows" {
    			scriptfilename = "script.bat"
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/compile.go

    		var keys []string
    		for key := range f.ruleMatches {
    			keys = append(keys, key)
    		}
    		sort.Strings(keys)
    		buf := new(strings.Builder)
    		fmt.Fprintf(buf, "%s: ", f.Name)
    		for _, key := range keys {
    			fmt.Fprintf(buf, "%s=%d ", key, f.ruleMatches[key])
    		}
    		fmt.Fprint(buf, "\n")
    		fmt.Print(buf.String())
    	}
    
    	// Squash error printing defer
    	phaseName = ""
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 14:55:18 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  8. istioctl/pkg/dashboard/dashboard.go

    	case "darwin":
    		err = exec.Command("open", url).Start()
    	default:
    		fmt.Fprintf(writer, "Unsupported platform %q; open %s in your browser.\n", runtime.GOOS, url)
    	}
    
    	if err != nil {
    		fmt.Fprintf(writer, "Failed to open browser; open %s in your browser.\n", url)
    	}
    }
    
    func Dashboard(cliContext cli.Context) *cobra.Command {
    	dashboardCmd := &cobra.Command{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 15 01:29:35 UTC 2024
    - 20.5K bytes
    - Viewed (0)
  9. src/cmd/internal/dwarf/putvarabbrevgen_test.go

    	}
    
    	buf := new(bytes.Buffer)
    	fmt.Fprint(buf, `// Code generated by TestPutVarAbbrevGenerator. DO NOT EDIT.
    // Regenerate using go test -run TestPutVarAbbrevGenerator -generate instead.
    
    package dwarf
    
    var putvarAbbrevs = []dwAbbrev{
    `)
    
    	for _, abbrev := range abbrevslice {
    		fmt.Fprint(buf, abbrev+",\n")
    	}
    
    	fmt.Fprint(buf, "\n}\n\n")
    
    	fmt.Fprint(buf, "func putAbstractVarAbbrev(v *Var) int {\n")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:45:07 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  10. istioctl/pkg/writer/ztunnel/configdump/connections.go

    			continue
    		}
    		name := fmt.Sprintf("%s.%s", wl.Info.Name, wl.Info.Namespace)
    		if filter.Direction != "outbound" {
    			for _, c := range wl.Connections.Inbound {
    				fmt.Fprintf(w, "%v\tInbound\t%v\t%v\t%v\n", name, lookupIP(c.ActualDst), lookupIP(c.Src), c.OriginalDst)
    			}
    		}
    		if filter.Direction != "inbound" {
    			for _, c := range wl.Connections.Outbound {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 21:45:11 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top