Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 3,333 for vfprintf (0.21 sec)

  1. 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)
  2. src/cmd/compile/internal/test/testdata/gen/copyGen.go

    		fmt.Fprintf(w, "    t.Errorf(\"t%dcopy got=%%v, want %%v\\n\", a, want)\n", s)
    		fmt.Fprintf(w, "  }\n")
    		fmt.Fprintf(w, "}\n")
    	}
    
    	for _, s := range usizes {
    		// function being tested
    		fmt.Fprintf(w, "//go:noinline\n")
    		fmt.Fprintf(w, "func tu%dcopy_ssa(docopy bool, data [%d]byte, x *[%d]byte) {\n", s, s, s)
    		fmt.Fprintf(w, "  if docopy {\n")
    		fmt.Fprintf(w, "    *x = data\n")
    		fmt.Fprintf(w, "  }\n")
    		fmt.Fprintf(w, "}\n")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 20 02:13:02 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  3. security/pkg/credentialfetcher/plugin/mock.go

    func (ms *MetadataServer) getToken(w http.ResponseWriter, req *http.Request) {
    	ms.mutex.Lock()
    	defer ms.mutex.Unlock()
    
    	ms.numGetTokenCall++
    	token := fmt.Sprintf("%s%d", fakeTokenPrefix, ms.numGetTokenCall)
    	if ms.credential != "" {
    		token = ms.credential
    	}
    	fmt.Fprint(w, token)
    }
    
    func (ms *MetadataServer) Stop() {
    	ms.server.Close()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 3K bytes
    - Viewed (0)
  4. src/cmd/cgo/internal/testcshared/testdata/main3.c

      if (!handle) {
        fprintf(stderr, "ERROR: failed to open the shared library: %s\n",
                dlerror());
        return 2;
      }
    
      uintptr_t main_fn = (uintptr_t)dlsym(handle, "main.main");
      if (!main_fn) {
        fprintf(stderr, "ERROR: missing main.main: %s\n", dlerror());
        return 2;
      }
    
      // TODO(hyangah): check that main.main can run.
    
      printf("PASS\n");
      return 0;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 785 bytes
    - Viewed (0)
  5. src/cmd/pack/pack_test.go

    	}
    	b := bufio.NewWriter(f)
    
    	printf := func(format string, args ...any) {
    		_, err := fmt.Fprintf(b, format, args...)
    		if err != nil {
    			t.Fatalf("Writing to %s: %v", large, err)
    		}
    	}
    
    	printf("package large\n\ntype T struct {\n")
    	for i := 0; i < 1000; i++ {
    		printf("f%d int `tag:\"", i)
    		for j := 0; j < 100; j++ {
    			printf("t%d=%d,", j, j)
    		}
    		printf("\"`\n")
    	}
    	printf("}\n")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 04 16:27:35 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  6. src/cmd/cover/html.go

    	}
    	// Gradient from gray to green.
    	r := 128 - 12*(n-1)
    	g := 128 + 12*(n-1)
    	b := 128 + 3*(n-1)
    	return fmt.Sprintf("rgb(%v, %v, %v)", r, g, b)
    }
    
    // colors generates the CSS rules for coverage colors.
    func colors() template.CSS {
    	var buf strings.Builder
    	for i := 0; i < 11; i++ {
    		fmt.Fprintf(&buf, ".cov%v { color: %v }\n", i, rgb(i))
    	}
    	return template.CSS(buf.String())
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 08 14:33:36 UTC 2022
    - 6.8K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. src/internal/trace/testdata/cmd/gotraceeventstats/main.go

    func init() {
    	flag.Usage = func() {
    		fmt.Fprintf(flag.CommandLine.Output(), "Usage: %s [mode]\n", os.Args[0])
    		fmt.Fprintf(flag.CommandLine.Output(), "\n")
    		fmt.Fprintf(flag.CommandLine.Output(), "Accepts a trace at stdin.\n")
    		fmt.Fprintf(flag.CommandLine.Output(), "\n")
    		fmt.Fprintf(flag.CommandLine.Output(), "Supported modes:")
    		fmt.Fprintf(flag.CommandLine.Output(), "\n")
    		fmt.Fprintf(flag.CommandLine.Output(), "* size  - dumps size stats\n")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:31:29 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  10. src/runtime/wincallback.go

    `)
    	for i := 0; i < maxCallback; i++ {
    		fmt.Fprintf(&buf, "\tMOVD\t$%d, R12\n", i)
    		buf.WriteString("\tB\truntime·callbackasm1(SB)\n")
    	}
    
    	err := os.WriteFile("zcallback_windows_arm64.s", buf.Bytes(), 0666)
    	if err != nil {
    		fmt.Fprintf(os.Stderr, "wincallback: %s\n", err)
    		os.Exit(2)
    	}
    }
    
    func gengo() {
    	var buf bytes.Buffer
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 24 19:29:51 UTC 2023
    - 3.5K bytes
    - Viewed (0)
Back to top