Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 2,263 for fmtE (0.07 sec)

  1. src/internal/trace/testdata/cmd/gotraceeventstats/main.go

    package main
    
    import (
    	"cmp"
    	"encoding/binary"
    	"flag"
    	"fmt"
    	"io"
    	"log"
    	"os"
    	"slices"
    	"text/tabwriter"
    
    	"internal/trace/event"
    	"internal/trace/raw"
    )
    
    func init() {
    	flag.Usage = func() {
    		fmt.Fprintf(flag.CommandLine.Output(), "Usage: %s [mode]\n", os.Args[0])
    		fmt.Fprintf(flag.CommandLine.Output(), "\n")
    		fmt.Fprintf(flag.CommandLine.Output(), "Accepts a trace at stdin.\n")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:31:29 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. 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)
  3. istioctl/pkg/install/k8sversion/version_test.go

    		},
    		{
    			version: versionInvalid1,
    			errMsg:  fmt.Errorf("could not parse Malformed version: %v", versionInvalid1.GitVersion),
    			isValid: false,
    		},
    		{
    			version: versionInvalid2,
    			errMsg:  fmt.Errorf("could not parse Malformed version: %v", versionInvalid2.GitVersion),
    			isValid: false,
    		},
    	}
    	for i, c := range cases {
    		t.Run(fmt.Sprintf("case %d %s", i, c.version), func(t *testing.T) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 19 02:46:48 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  4. pkg/url/url.go

    	DocsVersion = fmt.Sprintf("%s%s", "v", baseVersion)
    
    	// DocsURL is a base docs URL for istio.io
    	DocsURL = fmt.Sprintf("%s%s%s", BaseURL, DocsVersion, "/docs/")
    
    	// #####################################
    	// Operations related URLs for istio.io
    	// #####################################
    
    	// OpsURL is a base URL for operations related docs
    	OpsURL = fmt.Sprintf("%s%s", DocsURL, "ops/")
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 04 11:12:37 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  5. plugin/pkg/admission/noderestriction/admission.go

    func (p *Plugin) ValidateInitialization() error {
    	if p.nodeIdentifier == nil {
    		return fmt.Errorf("%s requires a node identifier", PluginName)
    	}
    	if p.podsGetter == nil {
    		return fmt.Errorf("%s requires a pod getter", PluginName)
    	}
    	if p.nodesGetter == nil {
    		return fmt.Errorf("%s requires a node getter", PluginName)
    	}
    	return nil
    }
    
    var (
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:22:55 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/goroot_executable.txt

    	if err != nil {
    		fmt.Fprintln(os.Stderr, err)
    		os.Exit(1)
    	}
    	want, err = filepath.EvalSymlinks(want)
    	if err != nil {
    		fmt.Fprintln(os.Stderr, err)
    		os.Exit(1)
    	}
    	if !strings.EqualFold(goroot, want) {
    		fmt.Fprintf(os.Stderr, "go env GOROOT:\nhave %s\nwant %s\n", goroot, want)
    		os.Exit(1)
    	}
    	fmt.Fprintf(os.Stderr, "go env GOROOT: %s\n", goroot)
    
    }
    -- check_runtime_goroot.go --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  7. src/cmd/covdata/covdata.go

    	if *verbflag >= vlevel {
    		fmt.Printf(s, a...)
    		fmt.Printf("\n")
    	}
    }
    
    func warn(s string, a ...interface{}) {
    	fmt.Fprintf(os.Stderr, "warning: ")
    	fmt.Fprintf(os.Stderr, s, a...)
    	fmt.Fprintf(os.Stderr, "\n")
    	if *hwflag {
    		panic("unexpected warning")
    	}
    }
    
    func fatal(s string, a ...interface{}) {
    	fmt.Fprintf(os.Stderr, "error: ")
    	fmt.Fprintf(os.Stderr, s, a...)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  8. pkg/config/validation/agent/validation.go

    		return nil
    	}
    	return fmt.Errorf("port number %d must be in the range 1..65535", port)
    }
    
    // encapsulates DNS 1123 checks common to both wildcarded hosts and FQDNs
    func CheckDNS1123Preconditions(name string) error {
    	if len(name) > 255 {
    		return fmt.Errorf("domain name %q too long (max 255)", name)
    	}
    	if len(name) == 0 {
    		return fmt.Errorf("empty domain name not allowed")
    	}
    	return nil
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  9. pilot/pkg/security/authz/model/generator.go

    	return nil, fmt.Errorf("unimplemented")
    }
    
    func (envoyFilterGenerator) extendedPrincipal(_ string, _ []string, _ bool) (*rbacpb.Principal, error) {
    	return nil, fmt.Errorf("unimplemented")
    }
    
    type srcIPGenerator struct{}
    
    func (srcIPGenerator) permission(_, _ string, _ bool) (*rbacpb.Permission, error) {
    	return nil, fmt.Errorf("unimplemented")
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 03 18:02:42 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  10. src/cmd/nm/nm.go

    				name := e.Name()
    				if name == "" {
    					fmt.Fprintf(w, "%s(%s):\t", file, "_go_.o")
    				} else {
    					fmt.Fprintf(w, "%s(%s):\t", file, name)
    				}
    			} else if filePrefix {
    				fmt.Fprintf(w, "%s:\t", file)
    			}
    			if sym.Code == 'U' {
    				fmt.Fprintf(w, "%8s", "")
    			} else {
    				fmt.Fprintf(w, "%8x", sym.Addr)
    			}
    			if *printSize {
    				fmt.Fprintf(w, " %10d", sym.Size)
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 3.1K bytes
    - Viewed (0)
Back to top