Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 1,586 for vfprintf (0.12 sec)

  1. src/cmd/go/internal/modfetch/codehost/codehost.go

    	dir = filepath.Join(cfg.GOMODCACHE, "cache/vcs", fmt.Sprintf("%x", sha256.Sum256([]byte(key))))
    
    	xLog, buildX := cfg.BuildXWriter(ctx)
    	if buildX {
    		fmt.Fprintf(xLog, "mkdir -p %s # %s %s\n", filepath.Dir(dir), typ, name)
    	}
    	if err := os.MkdirAll(filepath.Dir(dir), 0777); err != nil {
    		return "", "", err
    	}
    
    	lockfile = dir + ".lock"
    	if buildX {
    		fmt.Fprintf(xLog, "# lock %s\n", lockfile)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:50:24 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  2. src/cmd/covdata/metamerge.go

    		blobs = append(blobs, blob)
    		if _, err := fh.Write(ph[:]); err != nil {
    			panic(fmt.Sprintf("internal error: md5 sum failed: %v", err))
    		}
    		tlen += uint64(len(blob))
    	}
    	var finalHash [16]byte
    	fhh := fh.Sum(nil)
    	copy(finalHash[:], fhh)
    
    	// Open meta-file for writing.
    	fn := fmt.Sprintf("%s.%x", coverage.MetaFilePref, finalHash)
    	fpath := filepath.Join(outdir, fn)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 12 17:17:47 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  3. src/html/template/exec_test.go

    	{"printf int", `{{printf "%04x" 127}}`, "007f", tVal, true},
    	{"printf float", `{{printf "%g" 3.5}}`, "3.5", tVal, true},
    	{"printf complex", `{{printf "%g" 1+7i}}`, "(1+7i)", tVal, true},
    	{"printf string", `{{printf "%s" "hello"}}`, "hello", tVal, true},
    	{"printf function", `{{printf "%#q" zeroArgs}}`, "`zeroArgs`", tVal, true},
    	{"printf field", `{{printf "%s" .U.V}}`, "v", tVal, true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 24 21:59:12 UTC 2024
    - 57.6K bytes
    - Viewed (0)
  4. src/cmd/go/internal/test/test.go

    	if err != nil {
    		fmt.Fprintf(h, "err %v\n", err)
    		return h.Sum(), nil
    	}
    	hashWriteStat(h, info)
    	if info.IsDir() {
    		files, err := os.ReadDir(name)
    		if err != nil {
    			fmt.Fprintf(h, "err %v\n", err)
    		}
    		for _, f := range files {
    			fmt.Fprintf(h, "file %s ", f.Name())
    			finfo, err := f.Info()
    			if err != nil {
    				fmt.Fprintf(h, "err %v\n", err)
    			} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  5. istioctl/pkg/wait/wait.go

    					t.Stop()
    					errTmpl := "timeout expired before resource %s became effective on %s"
    					var errMsg string
    					if proxyFlag != "" {
    						errMsg = fmt.Sprintf(errTmpl, targetResource, proxyFlag)
    					} else {
    						errMsg = fmt.Sprintf(errTmpl, targetResource, "all sidecars")
    					}
    					return fmt.Errorf(errMsg)
    				}
    			}
    		},
    		Args: func(cmd *cobra.Command, args []string) error {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Feb 17 12:24:17 UTC 2024
    - 10.1K bytes
    - Viewed (1)
  6. internal/grid/muxserver.go

    	if seq != m.RecvSeq {
    		if debugPrint {
    			fmt.Printf("expected sequence %d, got %d\n", m.RecvSeq, seq)
    		}
    		m.disconnect(fmt.Sprintf("receive sequence number mismatch. want %d, got %d", m.RecvSeq, seq), false)
    		return false
    	}
    	m.RecvSeq++
    	return true
    }
    
    func (m *muxServer) message(msg message) {
    	if debugPrint {
    		fmt.Printf("muxServer: received message %d, length %d\n", msg.Seq, len(msg.Payload))
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  7. pkg/webhooks/validation/server/server.go

    	Mux *http.ServeMux
    }
    
    // String produces a stringified version of the arguments for debugging.
    func (o Options) String() string {
    	buf := &bytes.Buffer{}
    
    	_, _ = fmt.Fprintf(buf, "DomainSuffix: %s\n", o.DomainSuffix)
    	_, _ = fmt.Fprintf(buf, "Port: %d\n", o.Port)
    
    	return buf.String()
    }
    
    // DefaultArgs allocates an Options struct initialized with Webhook's default configuration.
    func DefaultArgs() Options {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat May 04 06:13:56 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  8. src/cmd/pack/pack.go

    		action(e)
    	}
    }
    
    // listEntry prints to standard output a line describing the entry.
    func listEntry(e *archive.Entry, verbose bool) {
    	if verbose {
    		fmt.Fprintf(stdout, "%s\n", e.String())
    	} else {
    		fmt.Fprintf(stdout, "%s\n", e.Name)
    	}
    }
    
    // output copies the entry to the specified writer.
    func (ar *Archive) output(e *archive.Entry, w io.Writer) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  9. docs/debugging/xl-meta/main.go

    								break
    							}
    							file := file
    							dataFile := fmt.Sprintf("%s%s/part.%d", strings.TrimSuffix(file, "xl.meta"), uuid.UUID(ei.V2Obj.DDir).String(), i)
    							if i > 1 {
    								file = fmt.Sprintf("%s/part.%d", file, i)
    								filemap[file] = make(map[string]string)
    								filemap[file][verID] = fmt.Sprintf("%s/part.%d/shard-%02d-of-%02d", verID, i, idx, ei.V2Obj.EcN+ei.V2Obj.EcM)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 31 14:49:23 UTC 2024
    - 38.5K bytes
    - Viewed (0)
  10. pkg/webhooks/validation/controller/controller.go

    }
    
    // String produces a string field version of the arguments for debugging.
    func (o Options) String() string {
    	buf := &bytes.Buffer{}
    	_, _ = fmt.Fprintf(buf, "WatchedNamespace: %v\n", o.WatchedNamespace)
    	_, _ = fmt.Fprintf(buf, "Revision: %v\n", o.Revision)
    	_, _ = fmt.Fprintf(buf, "ServiceName: %v\n", o.ServiceName)
    	return buf.String()
    }
    
    type Controller struct {
    	o      Options
    	client kube.Client
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 28 16:52:19 UTC 2024
    - 11.3K bytes
    - Viewed (0)
Back to top