Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,035 for sfprintf (0.2 sec)

  1. build/pause/windows/pause.c

    	switch (fdwCtrlType)
    	{
    	case CTRL_C_EVENT:
    		fprintf(stderr, "Shutting down, got signal\n");
    		exit(0);
    
    	case CTRL_BREAK_EVENT:
    		fprintf(stderr, "Shutting down, got signal\n");
    		exit(0);
    
    	default:
    		return FALSE;
    	}
    }
    
    int main(int argc, char **argv)
    {
    	int i;
    	for (i = 1; i < argc; ++i)
    	{
    		if (!_stricmp(argv[i], "-v"))
    		{
    			fprintf(stdout, "pause.c %s\n", VERSION_STRING(VERSION));
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 13:09:17 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  2. src/cmd/dist/build.go

    		format = "set %s=%s\r\n"
    	}
    
    	xprintf(format, "GO111MODULE", "")
    	xprintf(format, "GOARCH", goarch)
    	xprintf(format, "GOBIN", gorootBin)
    	xprintf(format, "GODEBUG", os.Getenv("GODEBUG"))
    	xprintf(format, "GOENV", "off")
    	xprintf(format, "GOFLAGS", "")
    	xprintf(format, "GOHOSTARCH", gohostarch)
    	xprintf(format, "GOHOSTOS", gohostos)
    	xprintf(format, "GOOS", goos)
    	xprintf(format, "GOPROXY", os.Getenv("GOPROXY"))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 18:34:40 UTC 2024
    - 54K bytes
    - Viewed (0)
  3. 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)
  4. src/testing/example.go

    	if eg.Unordered {
    		if sortLines(got) != sortLines(want) && recovered == nil {
    			fail = fmt.Sprintf("got:\n%s\nwant (unordered):\n%s\n", stdout, eg.Output)
    		}
    	} else {
    		if got != want && recovered == nil {
    			fail = fmt.Sprintf("got:\n%s\nwant:\n%s\n", got, want)
    		}
    	}
    	if fail != "" || !finished || recovered != nil {
    		fmt.Printf("%s--- FAIL: %s (%s)\n%s", chatty.prefix(), eg.Name, dstr, fail)
    		passed = false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  5. pkg/test/framework/components/cluster/topology.go

    	buf := &bytes.Buffer{}
    
    	_, _ = fmt.Fprintf(buf, "Name:               %s\n", c.Name())
    	_, _ = fmt.Fprintf(buf, "StableName:         %s\n", c.StableName())
    	_, _ = fmt.Fprintf(buf, "PrimaryCluster:     %s\n", c.Primary().Name())
    	_, _ = fmt.Fprintf(buf, "ConfigCluster:      %s\n", c.Config().Name())
    	_, _ = fmt.Fprintf(buf, "Network:            %s\n", c.NetworkName())
    	_, _ = fmt.Fprintf(buf, "HTTPProxy:          %s\n", c.HTTPProxy())
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  6. docs/auditlog/auditlog-echo.go

    	body, err := io.ReadAll(r.Body)
    	defer r.Body.Close()
    	if err != nil {
    		log.Printf("Error reading request body: %v", err)
    		w.WriteHeader(http.StatusBadRequest)
    		return
    	}
    
    	log.Printf(">>> %s %s\n", r.Method, r.URL.Path)
    	var out bytes.Buffer
    	json.Indent(&out, body, "", "    ")
    	log.Printf("%s\n", out.String())
    
    	w.WriteHeader(http.StatusOK)
    }
    
    func main() {
    	flag.Parse()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 01 21:31:13 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/cmd/phases/init/certs.go

    }
    
    func newCertSubPhase(certSpec *certsphase.KubeadmCert, run func(c workflow.RunData) error) workflow.Phase {
    	phase := workflow.Phase{
    		Name:  certSpec.Name,
    		Short: fmt.Sprintf("Generate the %s", certSpec.LongName),
    		Long: fmt.Sprintf(
    			genericLongDesc,
    			certSpec.LongName,
    			certSpec.BaseName,
    			getSANDescription(certSpec),
    		),
    		Run:          run,
    		InheritFlags: getCertPhaseFlags(certSpec.Name),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 08 06:35:45 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  8. 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)
  9. operator/cmd/mesh/install.go

    	b.WriteString("InFilenames:      " + fmt.Sprint(a.InFilenames) + "\n")
    	b.WriteString("ReadinessTimeout: " + fmt.Sprint(a.ReadinessTimeout) + "\n")
    	b.WriteString("SkipConfirmation: " + fmt.Sprint(a.SkipConfirmation) + "\n")
    	b.WriteString("Force:            " + fmt.Sprint(a.Force) + "\n")
    	b.WriteString("Verify:           " + fmt.Sprint(a.Verify) + "\n")
    	b.WriteString("Set:              " + fmt.Sprint(a.Set) + "\n")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 17 21:52:35 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/compile.go

    				nAllocs := mEnd.Mallocs - mStart.Mallocs
    				stats = fmt.Sprintf("[%d ns %d allocs %d bytes]", time, nAllocs, nBytes)
    			} else {
    				stats = fmt.Sprintf("[%d ns]", time)
    			}
    
    			if f.Log() {
    				f.Logf("  pass %s end %s\n", p.name, stats)
    				printFunc(f)
    			}
    			f.HTMLWriter.WritePhase(phaseName, fmt.Sprintf("%s <span class=\"stats\">%s</span>", phaseName, stats))
    		}
    		if p.time || p.mem {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 14:55:18 UTC 2024
    - 18.6K bytes
    - Viewed (0)
Back to top