Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,388 for vfprintf (0.15 sec)

  1. src/cmd/compile/internal/types2/example_test.go

    	// Print package-level variables in initialization order.
    	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[types2.Object][]string)
    	for id, obj := range info.Uses {
    		posn := id.Pos()
    		lineCol := fmt.Sprintf("%d:%d", posn.Line(), posn.Col())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 28 17:58:07 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  2. istioctl/pkg/writer/envoy/configdump/cluster.go

    				if subset == "" {
    					subset = "-"
    				}
    				if includeConfigType {
    					c.Name = fmt.Sprintf("cluster/%s", c.Name)
    					_, _ = fmt.Fprintf(w, "%v\t%v\t%v\t%v\t%v\t%s\t%s\n", c.Name, fqdn, port, subset, direction, c.GetType(),
    						describeManagement(c.GetMetadata()))
    				} else {
    					_, _ = fmt.Fprintf(w, "%v\t%v\t%v\t%v\t%s\t%s\n", fqdn, port, subset, direction, c.GetType(),
    						describeManagement(c.GetMetadata()))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 11 05:38:17 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/test/testdata/gen/zeroGen.go

    		// type for test
    		fmt.Fprintf(w, "type Z%du1 struct {\n", s)
    		fmt.Fprintf(w, "  b   bool\n")
    		fmt.Fprintf(w, "  val [%d]byte\n", s)
    		fmt.Fprintf(w, "}\n")
    
    		fmt.Fprintf(w, "type Z%du2 struct {\n", s)
    		fmt.Fprintf(w, "  i   uint16\n")
    		fmt.Fprintf(w, "  val [%d]byte\n", s)
    		fmt.Fprintf(w, "}\n")
    
    		// function being tested
    		fmt.Fprintf(w, "//go:noinline\n")
    		fmt.Fprintf(w, "func zero%du1_ssa(t *Z%du1) {\n", s, s)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 20 02:13:02 UTC 2022
    - 4.1K bytes
    - Viewed (0)
  4. pilot/pkg/model/test/mockopenidserver.go

    	if atomic.LoadUint64(&ms.PubKeyHitNum) == ms.ReturnErrorForFirstNumHits+1 {
    		fmt.Fprintf(w, "%v", JwtPubKey1)
    		return
    	}
    
    	if ms.ReturnReorderedKeyAfterFirstNumHits != 0 && atomic.LoadUint64(&ms.PubKeyHitNum) >= ms.ReturnReorderedKeyAfterFirstNumHits+1 {
    		fmt.Fprintf(w, "%v", JwtPubKey1Reordered)
    		return
    	}
    
    	fmt.Fprintf(w, "%v", JwtPubKey2)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 23 09:47:21 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/errors.go

    func (err *error_) msg() string {
    	if err.empty() {
    		return "no error"
    	}
    
    	var buf strings.Builder
    	for i := range err.desc {
    		p := &err.desc[i]
    		if i > 0 {
    			fmt.Fprint(&buf, "\n\t")
    			if p.pos.IsKnown() {
    				fmt.Fprintf(&buf, "%s: ", p.pos)
    			}
    		}
    		buf.WriteString(p.msg)
    	}
    	return buf.String()
    }
    
    // report reports the error err, setting check.firstError if necessary.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 22:06:18 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  6. src/internal/coverage/encodemeta/encodefile.go

    	// Now emit blobs themselves.
    	for k, blob := range blobs {
    		if m.debug {
    			fmt.Fprintf(os.Stderr, "=+= writing blob %d len %d at off=%d hash %s\n", k, len(blob), off2, fmt.Sprintf("%x", md5.Sum(blob)))
    		}
    		if _, err = m.w.Write(blob); err != nil {
    			return fmt.Errorf("error writing %s: %v", m.mfname, err)
    		}
    		if m.debug {
    			fmt.Fprintf(os.Stderr, "=+= wrote package payload of %d bytes\n",
    				len(blob))
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 11 12:40:42 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  7. src/cmd/go/internal/test/cover.go

    	defer coverMerge.Unlock()
    
    	expect := fmt.Sprintf("mode: %s\n", cfg.BuildCoverMode)
    	buf := make([]byte, len(expect))
    	r, err := os.Open(file)
    	if err != nil {
    		// Test did not create profile, which is OK.
    		return
    	}
    	defer r.Close()
    
    	n, err := io.ReadFull(r, buf)
    	if n == 0 {
    		return
    	}
    	if err != nil || string(buf) != expect {
    		fmt.Fprintf(ew, "error: test wrote malformed coverage profile %s.\n", file)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 28 11:50:58 UTC 2022
    - 2K bytes
    - Viewed (0)
  8. src/internal/trace/testdata/mktests.go

    		skip, err := ctx.register(name)
    		if err != nil {
    			return err
    		}
    		if skip {
    			continue
    		}
    
    		fmt.Fprintf(os.Stderr, "generating %s... ", name)
    
    		// Get the test path.
    		testPath := filepath.Join(genroot, fmt.Sprintf("%s.test", name))
    
    		// Run generator.
    		cmd := exec.Command("go", "run", path, testPath)
    		if out, err := cmd.CombinedOutput(); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  9. internal/logger/target/testlogger/testlogger.go

    		case errorMessage:
    			logf = func(format string, args ...any) {
    				fmt.Fprintf(os.Stderr, format+"\n", args...)
    			}
    		case fatalMessage:
    			logf = func(format string, args ...any) {
    				fmt.Fprintf(os.Stderr, format+"\n", args...)
    			}
    			defer os.Exit(1)
    		default:
    			logf = func(format string, args ...any) {
    				fmt.Fprintf(os.Stdout, format+"\n", args...)
    			}
    		}
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/phases/addons/proxy/proxy.go

    		return err
    	}
    
    	fmt.Fprintln(out, "---")
    	fmt.Fprintf(out, "%s", saBytes)
    	fmt.Fprintln(out, "---")
    	fmt.Fprintf(out, "%s", crbBytes)
    	fmt.Fprintln(out, "---")
    	fmt.Fprintf(out, "%s", roleBytes)
    	fmt.Fprintln(out, "---")
    	fmt.Fprintf(out, "%s", roleBindingBytes)
    	fmt.Fprint(out, "---")
    	fmt.Fprintf(out, "%s", cmByte)
    	fmt.Fprint(out, "---")
    	fmt.Fprintf(out, "%s", dsByte)
    
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 26 13:23:44 UTC 2023
    - 8.1K bytes
    - Viewed (0)
Back to top