Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 134 for fmtE (0.04 sec)

  1. src/internal/trace/order.go

    func (c seqCounter) String() string {
    	return fmt.Sprintf("%d (gen=%d)", c.seq, c.gen)
    }
    
    func dumpOrdering(order *ordering) string {
    	var sb strings.Builder
    	for id, state := range order.gStates {
    		fmt.Fprintf(&sb, "G %d [status=%s seq=%s]\n", id, state.status, state.seq)
    	}
    	fmt.Fprintln(&sb)
    	for id, state := range order.pStates {
    		fmt.Fprintf(&sb, "P %d [status=%s seq=%s]\n", id, state.status, state.seq)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 52.4K bytes
    - Viewed (0)
  2. cmd/kubelet/app/server.go

    	kubeletConfigFile, err := filepath.Abs(name)
    	if err != nil {
    		return nil, fmt.Errorf(errFmt, name, err)
    	}
    	loader, err := configfiles.NewFsLoader(&utilfs.DefaultFs{}, kubeletConfigFile)
    	if err != nil {
    		return nil, fmt.Errorf(errFmt, name, err)
    	}
    	kc, err := loader.Load()
    	if err != nil {
    		return nil, fmt.Errorf(errFmt, name, err)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:34 UTC 2024
    - 53.9K bytes
    - Viewed (0)
  3. pkg/volume/testing/testing.go

    	}
    
    	if resizeOptions.VolumeSpec.Name() == AlwaysFailNodeExpansion {
    		return false, fmt.Errorf("test failure: NodeExpand")
    	}
    
    	if resizeOptions.VolumeSpec.Name() == FailVolumeExpansion {
    		return false, fmt.Errorf("fail volume expansion for volume: %s", FailVolumeExpansion)
    	}
    	return true, nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 12:32:15 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  4. pkg/controller/podautoscaler/horizontal.go

    		setCondition(hpa, autoscalingv2.ScalingActive, v1.ConditionFalse, "InvalidSelector", "the HPA target's scale is missing a selector")
    		return nil, fmt.Errorf(errMsg)
    	}
    
    	parsedSelector, err := labels.Parse(selector)
    	if err != nil {
    		errMsg := fmt.Sprintf("couldn't convert selector into a corresponding internal selector object: %v", err)
    		a.eventRecorder.Event(hpa, v1.EventTypeWarning, "InvalidSelector", errMsg)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 63.6K bytes
    - Viewed (0)
  5. pilot/pkg/config/kube/gateway/conversion.go

    				MatchType: &istio.StringMatch_Prefix{Prefix: fmt.Sprintf("/%s/", *m.Service)},
    			}, nil
    		}
    		if m.Service == nil {
    			return &istio.StringMatch{
    				MatchType: &istio.StringMatch_Regex{Regex: fmt.Sprintf("/[^/]+/%s", *m.Method)},
    			}, nil
    		}
    		return &istio.StringMatch{
    			MatchType: &istio.StringMatch_Exact{Exact: fmt.Sprintf("/%s/%s", *m.Service, *m.Method)},
    		}, nil
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 84.7K bytes
    - Viewed (0)
  6. src/testing/testing.go

    // ignores leading and trailing space.) These are examples of an example:
    //
    //	func ExampleHello() {
    //	    fmt.Println("hello")
    //	    // Output: hello
    //	}
    //
    //	func ExampleSalutations() {
    //	    fmt.Println("hello, and")
    //	    fmt.Println("goodbye")
    //	    // Output:
    //	    // hello, and
    //	    // goodbye
    //	}
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 76.1K bytes
    - Viewed (0)
  7. tests/integration/security/authz_test.go

    						host  string
    						allow allowValue
    					}{
    						{
    							host:  fmt.Sprintf("allow.%s.com", to.Config().Service),
    							allow: true,
    						},
    						{
    							host:  fmt.Sprintf("deny.%s.com", to.Config().Service),
    							allow: false,
    						},
    					}
    
    					for _, c := range cases {
    						c := c
    						testName := fmt.Sprintf("%s(%s)/http", c.host, c.allow)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 23:36:51 UTC 2024
    - 50.1K bytes
    - Viewed (0)
  8. 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)
  9. cmd/iam.go

    		NewHTTPTransport(), xhttp.DrainBody, globalSite.Region())
    	if err != nil {
    		iamLogIf(ctx, fmt.Errorf("Unable to initialize OpenID: %w", err), logger.WarningKind)
    	}
    
    	// Initialize if LDAP is enabled
    	ldapConfig, err := xldap.Lookup(s, globalRootCAs)
    	if err != nil {
    		iamLogIf(ctx, fmt.Errorf("Unable to load LDAP configuration (LDAP configuration will be disabled!): %w", err), logger.WarningKind)
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  10. pkg/controller/daemon/daemon_controller.go

    	ds, ok := obj.(*apps.DaemonSet)
    	if !ok {
    		tombstone, ok := obj.(cache.DeletedFinalStateUnknown)
    		if !ok {
    			utilruntime.HandleError(fmt.Errorf("couldn't get object from tombstone %#v", obj))
    			return
    		}
    		ds, ok = tombstone.Obj.(*apps.DaemonSet)
    		if !ok {
    			utilruntime.HandleError(fmt.Errorf("tombstone contained object that is not a DaemonSet %#v", obj))
    			return
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 51.3K bytes
    - Viewed (0)
Back to top