Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,388 for vfprintf (0.16 sec)

  1. src/cmd/cgo/internal/testcshared/testdata/main0.c

      if (!ran_init) {
        fprintf(stderr, "ERROR: DidInitRun returned unexpected results: %d\n",
                ran_init);
        return 1;
      }
      int8_t ran_main = DidMainRun();
      if (ran_main) {
        fprintf(stderr, "ERROR: DidMainRun returned unexpected results: %d\n",
                ran_main);
        return 1;
      }
      int32_t from_pkg = FromPkg();
      if (from_pkg != 1024) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  2. 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)
  3. src/internal/concurrent/hashtriemap_test.go

    	for range depth {
    		fmt.Fprintf(&sb, "\t")
    	}
    	prefix := sb.String()
    	if n.isEntry {
    		e := n.entry()
    		for e != nil {
    			fmt.Printf("%s%p [Entry Key=%v Value=%v Overflow=%p, Hash=%016x]\n", prefix, e, e.key, e.value, e.overflow.Load(), ht.keyHash(unsafe.Pointer(&e.key), ht.seed))
    			e = e.overflow.Load()
    		}
    		return
    	}
    	i := n.indirect()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 16:01:55 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  4. src/cmd/cgo/internal/testcshared/testdata/main1.c

    int check_int8(void* handle, const char* fname, int8_t want) {
      int8_t (*fn)();
      fn = (int8_t (*)())dlsym(handle, fname);
      if (!fn) {
        fprintf(stderr, "ERROR: missing %s: %s\n", fname, dlerror());
        return 1;
      }
      signed char ret = fn();
      if (ret != want) {
        fprintf(stderr, "ERROR: %s=%d, want %d\n", fname, ret, want);
        return 1;
      }
      return 0;
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  5. src/mime/multipart/writer.go

    	if w.lastpart != nil {
    		fmt.Fprintf(&b, "\r\n--%s\r\n", w.boundary)
    	} else {
    		fmt.Fprintf(&b, "--%s\r\n", w.boundary)
    	}
    
    	keys := make([]string, 0, len(header))
    	for k := range header {
    		keys = append(keys, k)
    	}
    	slices.Sort(keys)
    	for _, k := range keys {
    		for _, v := range header[k] {
    			fmt.Fprintf(&b, "%s: %s\r\n", k, v)
    		}
    	}
    	fmt.Fprintf(&b, "\r\n")
    	_, err := io.Copy(w.w, &b)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/build/relnote/dump.go

    		switch in := in.(type) {
    		case *md.Plain:
    			dprintf(depth, "Plain(%q)\n", in.Text)
    		case *md.Code:
    			dprintf(depth, "Code(%q)\n", in.Text)
    		case *md.Link:
    			dprintf(depth, "Link:\n")
    			dumpInlines(in.Inner, depth+1)
    			dprintf(depth+1, "URL: %q\n", in.URL)
    		case *md.Strong:
    			dprintf(depth, "Strong(%q):\n", in.Marker)
    			dumpInlines(in.Inner, depth+1)
    		case *md.Emph:
    			dprintf(depth, "Emph(%q):\n", in.Marker)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  7. pkg/controller/garbagecollector/dump.go

    		{Key: "name", Value: v.name},
    		{Key: "uid", Value: string(v.uid)},
    		{Key: "missing", Value: fmt.Sprintf(`%v`, v.missingFromGraph)},
    		{Key: "beingDeleted", Value: fmt.Sprintf(`%v`, v.beingDeleted)},
    		{Key: "deletingDependents", Value: fmt.Sprintf(`%v`, v.deletingDependents)},
    		{Key: "virtual", Value: fmt.Sprintf(`%v`, v.virtual)},
    	}
    }
    
    // NewDOTVertex creates a new dotVertex.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 23 17:12:33 UTC 2022
    - 9.5K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top