Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,586 for vfprintf (0.17 sec)

  1. istioctl/pkg/waypoint/waypoint.go

    						break
    					}
    					if time.Since(startTime) > waitTimeout {
    						errorMsg := fmt.Sprintf("timed out while waiting for waypoint %v/%v", gw.Namespace, gw.Name)
    						if err != nil {
    							errorMsg += fmt.Sprintf(": %s", err)
    						}
    						return fmt.Errorf(errorMsg)
    					}
    				}
    			}
    			fmt.Fprintf(cmd.OutOrStdout(), "waypoint %v/%v applied\n", gw.Namespace, gw.Name)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 15:59:33 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/asmdecl/asmdecl.go

    		var inner bytes.Buffer
    		if len(v.inner) > 0 {
    			fmt.Fprintf(&inner, " containing")
    			for i, vi := range v.inner {
    				if i > 0 && len(v.inner) > 2 {
    					fmt.Fprintf(&inner, ",")
    				}
    				fmt.Fprintf(&inner, " ")
    				if i > 0 && i == len(v.inner)-1 {
    					fmt.Fprintf(&inner, "and ")
    				}
    				fmt.Fprintf(&inner, "%s+%d(FP)", vi.name, vi.off)
    			}
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. src/net/http/pprof/pprof.go

    		if pc != 0 {
    			f := runtime.FuncForPC(uintptr(pc))
    			if f != nil {
    				fmt.Fprintf(&buf, "%#x %s\n", pc, f.Name())
    			}
    		}
    
    		// Wait until here to check for err; the last
    		// symbol will have an err because it doesn't end in +.
    		if err != nil {
    			if err != io.EOF {
    				fmt.Fprintf(&buf, "reading request: %v\n", err)
    			}
    			break
    		}
    	}
    
    	w.Write(buf.Bytes())
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 27 17:34:05 UTC 2024
    - 14.1K bytes
    - Viewed (0)
Back to top