Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,388 for vfprintf (0.15 sec)

  1. src/net/http/cgi/cgi_main.go

    		panic(err)
    	}
    
    	params := req.Form
    	if params.Get("loc") != "" {
    		fmt.Printf("Location: %s\r\n\r\n", params.Get("loc"))
    		return
    	}
    
    	fmt.Printf("Content-Type: text/html\r\n")
    	fmt.Printf("X-CGI-Pid: %d\r\n", os.Getpid())
    	fmt.Printf("X-Test-Header: X-Test-Value\r\n")
    	fmt.Printf("\r\n")
    
    	if params.Get("writestderr") != "" {
    		fmt.Fprintf(os.Stderr, "Hello, stderr!\n")
    	}
    
    	if params.Get("bigresponse") != "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/_gen/allocators.go

    		fmt.Fprintf(w, "s = *sp\n")
    		fmt.Fprintf(w, "*sp = nil\n")
    		fmt.Fprintf(w, "c.hdr%s = append(c.hdr%s, sp)\n", a.name, a.name)
    	}
    	fmt.Fprintf(w, "}\n")
    	if a.resize != "" {
    		fmt.Fprintf(w, "s = %s\n", fmt.Sprintf(a.resize, "s", "n"))
    	}
    	fmt.Fprintf(w, "return s\n")
    	fmt.Fprintf(w, "}\n")
    	fmt.Fprintf(w, "func (c *Cache) free%s(s %s) {\n", a.name, a.typ)
    	fmt.Fprintf(w, "%s\n", fmt.Sprintf(a.clear, "s"))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 17 23:34:11 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/testcarchive/testdata/main2.c

    		die("sigaddset");
    	}
    	i = pthread_sigmask(SIG_BLOCK, &mask, NULL);
    	if (i != 0) {
    		fprintf(stderr, "pthread_sigmask: %s\n", strerror(i));
    		exit(EXIT_FAILURE);
    	}
    
    	if (verbose) {
    		printf("calling kill\n");
    	}
    
    	if (kill(0, SIGIO) < 0) {
    		die("kill");
    	}
    
    	if (verbose) {
    		printf("waiting for sigioSeen\n");
    	}
    
    	// Wait until the signal has been delivered.
    	i = 0;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/typecheck/mkbuiltin.go

    					fmt.Fprintf(w, "{%q, varTag, %d},\n", name.Name, typ)
    				}
    			}
    		default:
    			log.Fatal("unhandled decl type", decl)
    		}
    	}
    	fmt.Fprintln(w, "}")
    
    	fmt.Fprintln(w)
    	fmt.Fprintf(w, "func %sTypes() []*types.Type {\n", name)
    	fmt.Fprintf(w, "var typs [%d]*types.Type\n", len(interner.typs))
    	for i, typ := range interner.typs {
    		fmt.Fprintf(w, "typs[%d] = %s\n", i, typ)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 26 21:56:49 UTC 2023
    - 6K bytes
    - Viewed (0)
  5. src/cmd/cgo/internal/testcarchive/testdata/main5.c

    		}
    		case 4: {
    			fprintf(stderr, "OK\n");
    			fflush(stderr);
    
    			if (verbose) {
    				printf("calling Block\n");
    			}
    			Block();
    		}
    		default:
    			printf("Unknown test: %d\n", test);
    			return 0;
    	}
    
    	printf("FAIL\n");
    	return 0;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 2K bytes
    - Viewed (0)
  6. tensorflow/c/c_test.c

      TF_NewWritableFile(full_path, &h, status);
      if (TF_GetCode(status) != TF_OK) {
        fprintf(stderr, "TF_NewWritableFile failed: %s\n", TF_Message(status));
        return 1;
      }
      fprintf(stderr, "wrote %s\n", full_path);
      free(full_path);
      TF_CloseWritableFile(h, status);
      if (TF_GetCode(status) != TF_OK) {
        fprintf(stderr, "TF_CloseWritableFile failed: %s\n", TF_Message(status));
      }
      TF_StringStreamDone(s);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 20:50:35 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  7. src/go/types/example_test.go

    	fmt.Printf("InitOrder: %v\n\n", info.InitOrder)
    
    	// For each named object, print the line and
    	// column of its definition and each of its uses.
    	fmt.Println("Defs and Uses of each named object:")
    	usesByObj := make(map[types.Object][]string)
    	for id, obj := range info.Uses {
    		posn := fset.Position(id.Pos())
    		lineCol := fmt.Sprintf("%d:%d", posn.Line, posn.Column)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  8. src/cmd/go/internal/version/version.go

    				if isGoBinaryCandidate(file, info) {
    					fmt.Fprintf(os.Stderr, "%s: %v\n", file, err)
    				}
    			}
    		}
    		return
    	}
    
    	fmt.Printf("%s: %s\n", file, bi.GoVersion)
    	bi.GoVersion = "" // suppress printing go version again
    	mod := bi.String()
    	if *versionM && len(mod) > 0 {
    		fmt.Printf("\t%s\n", strings.ReplaceAll(mod[:len(mod)-1], "\n", "\n\t"))
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 19:27:00 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  9. cmd/preferredimports/preferredimports.go

    					}
    
    					fileInfo, err := os.Stat(pathToFile)
    					if err != nil {
    						panic(fmt.Sprintf("Error stat'ing file: %s\n%s\n", pathToFile, err.Error()))
    					}
    
    					err = os.WriteFile(pathToFile, buffer.Bytes(), fileInfo.Mode())
    					if err != nil {
    						panic(fmt.Sprintf("Error writing file: %s\n%s\n", pathToFile, err.Error()))
    					}
    				}
    			}
    		}
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:44 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  10. istioctl/pkg/metrics/metrics.go

    	_, _ = fmt.Fprintf(w, "%40s\tTOTAL RPS\tERROR RPS\tP50 LATENCY\tP90 LATENCY\tP99 LATENCY\t\n", "WORKLOAD")
    	_ = w.Flush()
    }
    
    func printMetrics(writer io.Writer, wm workloadMetrics) {
    	w := tabwriter.NewWriter(writer, 13, 1, 2, ' ', tabwriter.AlignRight)
    	_, _ = fmt.Fprintf(w, "%40s\t", wm.workload)
    	_, _ = fmt.Fprintf(w, "%.3f\t", wm.totalRPS)
    	_, _ = fmt.Fprintf(w, "%.3f\t", wm.errorRPS)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Apr 13 05:23:38 UTC 2024
    - 8.4K bytes
    - Viewed (0)
Back to top