Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,330 for vfprintf (0.34 sec)

  1. samples/extauthz/cmd/extauthz/main.go

    	body, err := io.ReadAll(request.Body)
    	if err != nil {
    		log.Printf("[HTTP] read body failed: %v", err)
    	}
    	l := fmt.Sprintf("%s %s%s, headers: %v, body: [%s]\n", request.Method, request.Host, request.URL, request.Header, returnIfNotTooLong(string(body)))
    	if allowedValue == request.Header.Get(checkHeader) {
    		log.Printf("[HTTP][allowed]: %s", l)
    		response.Header().Set(resultHeader, resultAllowed)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 15 18:23:48 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/arch/x86/x86asm/inst.go

    			continue
    		}
    		fmt.Fprintf(&buf, "%v ", p)
    	}
    	fmt.Fprintf(&buf, "%v", i.Op)
    	sep := " "
    	for _, v := range i.Args {
    		if v == nil {
    			break
    		}
    		fmt.Fprintf(&buf, "%s%v", sep, v)
    		sep = ", "
    	}
    	return buf.String()
    }
    
    func isReg(a Arg) bool {
    	_, ok := a.(Reg)
    	return ok
    }
    
    func isSegReg(a Arg) bool {
    	r, ok := a.(Reg)
    	return ok && ES <= r && r <= GS
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  3. src/mime/multipart/formdata_test.go

    			for i := 0; i < count; i++ {
    				w, _ := fw.CreateFormField(fmt.Sprintf("field%v", i))
    				fmt.Fprintf(w, "value %v", i)
    			}
    		},
    	}, {
    		name: "files",
    		form: func(fw *Writer, count int) {
    			for i := 0; i < count; i++ {
    				w, _ := fw.CreateFormFile(fmt.Sprintf("field%v", i), fmt.Sprintf("file%v", i))
    				fmt.Fprintf(w, "value %v", i)
    			}
    		},
    	}} {
    		b.Run(test.name, func(b *testing.B) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 05 18:31:56 UTC 2024
    - 14K bytes
    - Viewed (0)
  4. src/internal/coverage/cfile/emit.go

    	capturedOsArgs = captureOsArgs()
    
    	if s.debug {
    		fmt.Fprintf(os.Stderr, "=+= GOCOVERDIR is %s\n", os.Getenv("GOCOVERDIR"))
    		fmt.Fprintf(os.Stderr, "=+= contents of covmetalist:\n")
    		for k, b := range ml {
    			fmt.Fprintf(os.Stderr, "=+= slot: %d path: %s ", k, b.PkgPath)
    			if b.PkgID != -1 {
    				fmt.Fprintf(os.Stderr, " hcid: %d", b.PkgID)
    			}
    			fmt.Fprintf(os.Stderr, "\n")
    		}
    		pm := rtcov.Meta.PkgMap
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:57:47 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/cmd/phases/init/certs.go

    }
    
    func newCertSubPhase(certSpec *certsphase.KubeadmCert, run func(c workflow.RunData) error) workflow.Phase {
    	phase := workflow.Phase{
    		Name:  certSpec.Name,
    		Short: fmt.Sprintf("Generate the %s", certSpec.LongName),
    		Long: fmt.Sprintf(
    			genericLongDesc,
    			certSpec.LongName,
    			certSpec.BaseName,
    			getSANDescription(certSpec),
    		),
    		Run:          run,
    		InheritFlags: getCertPhaseFlags(certSpec.Name),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 08 06:35:45 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/util/patches/patches.go

    	if output == nil {
    		output = io.Discard
    	}
    
    	fmt.Fprintf(output, "[patches] Reading patches from path %q\n", path)
    
    	// Get the files in the path.
    	patchSets, patchFiles, ignoredFiles, err := getPatchSetsFromPath(path, knownTargets, output)
    	if err != nil {
    		return nil, err
    	}
    
    	if len(patchFiles) > 0 {
    		fmt.Fprintf(output, "[patches] Found the following patch files: %v\n", patchFiles)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/cmd/token.go

    		expires = obj.Expires.Format(time.RFC3339)
    	}
    	ttl = fmt.Sprintf("%-9s", ttl)
    
    	usages := strings.Join(obj.Usages, ",")
    	if len(usages) == 0 {
    		usages = "<none>"
    	}
    	usages = fmt.Sprintf("%-22s", usages)
    
    	description := obj.Description
    	if len(description) == 0 {
    		description = "<none>"
    	}
    	description = fmt.Sprintf("%-56s", description)
    
    	groups := strings.Join(obj.Groups, ",")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 05:47:48 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/compile.go

    		var keys []string
    		for key := range f.ruleMatches {
    			keys = append(keys, key)
    		}
    		sort.Strings(keys)
    		buf := new(strings.Builder)
    		fmt.Fprintf(buf, "%s: ", f.Name)
    		for _, key := range keys {
    			fmt.Fprintf(buf, "%s=%d ", key, f.ruleMatches[key])
    		}
    		fmt.Fprint(buf, "\n")
    		fmt.Print(buf.String())
    	}
    
    	// Squash error printing defer
    	phaseName = ""
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 14:55:18 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  9. istioctl/pkg/dashboard/dashboard.go

    	case "darwin":
    		err = exec.Command("open", url).Start()
    	default:
    		fmt.Fprintf(writer, "Unsupported platform %q; open %s in your browser.\n", runtime.GOOS, url)
    	}
    
    	if err != nil {
    		fmt.Fprintf(writer, "Failed to open browser; open %s in your browser.\n", url)
    	}
    }
    
    func Dashboard(cliContext cli.Context) *cobra.Command {
    	dashboardCmd := &cobra.Command{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 15 01:29:35 UTC 2024
    - 20.5K bytes
    - Viewed (0)
  10. pkg/kubelet/kubelet_server_journal.go

    	if err != nil {
    		fmt.Fprintf(w, "\nfailed to get logging cmd: %v\n", err)
    		return
    	}
    	cmd := exec.CommandContext(ctx, cmdStr, args...)
    	cmd.Stdout = w
    	cmd.Stderr = w
    
    	if err := cmd.Run(); err != nil {
    		if _, ok := err.(*exec.ExitError); ok {
    			return
    		}
    		if previousBoot == 0 {
    			fmt.Fprintf(w, "\nerror: journal output not available\n")
    		}
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 26 18:56:28 UTC 2023
    - 13.5K bytes
    - Viewed (0)
Back to top