Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 79 for vfprintf (0.15 sec)

  1. pkg/controller/daemon/daemon_controller_test.go

    	for i := 0; i < number; i++ {
    		pod := newPod(fmt.Sprintf("%s-", nodeName), nodeName, label, ds)
    		podStore.Add(pod)
    	}
    }
    
    func addFailedPods(podStore cache.Store, nodeName string, label map[string]string, ds *apps.DaemonSet, number int) {
    	for i := 0; i < number; i++ {
    		pod := newPod(fmt.Sprintf("%s-", nodeName), nodeName, label, ds)
    		pod.Status = v1.PodStatus{Phase: v1.PodFailed}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 111.4K bytes
    - Viewed (0)
  2. src/cmd/go/internal/load/pkg.go

    				foundMain = true
    				break
    			}
    		}
    		if !foundMain {
    			fmt.Fprintf(os.Stderr, "go: warning: %q matched only non-main packages\n", m.Pattern())
    		}
    	}
    
    	return mains
    }
    
    type mainPackageError struct {
    	importPath string
    }
    
    func (e *mainPackageError) Error() string {
    	return fmt.Sprintf("package %s is not a main package", e.importPath)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 28 17:00:51 UTC 2024
    - 120K bytes
    - Viewed (0)
  3. cmd/site-replication.go

    	var success int
    	msgs := []string{}
    	for d, err := range errMap {
    		name := c.state.Peers[d].Name
    		if err == nil {
    			msgs = append(msgs, fmt.Sprintf("'%s' on site %s (%s): succeeded", actionName, name, d))
    			success++
    		} else {
    			msgs = append(msgs, fmt.Sprintf("'%s' on site %s (%s): failed(%v)", actionName, name, d, err))
    		}
    	}
    	if success == len(errMap) {
    		return nil
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 184.3K bytes
    - Viewed (0)
  4. pkg/api/pod/util_test.go

    				oldPodHasProcMount, oldPod := oldPodInfo.hasProcMount, oldPodInfo.pod()
    				newPodHasProcMount, newPod := newPodInfo.hasProcMount, newPodInfo.pod()
    				if newPod == nil {
    					continue
    				}
    
    				t.Run(fmt.Sprintf("feature enabled=%v, old pod %v, new pod %v", enabled, oldPodInfo.description, newPodInfo.description), func(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 108.8K bytes
    - Viewed (0)
  5. pkg/controller/podautoscaler/horizontal_test.go

    		if tc.verifyEvents {
    			switch obj.Reason {
    			case "SuccessfulRescale":
    				assert.Equal(t, fmt.Sprintf("New size: %d; reason: cpu resource utilization (percentage of request) above target", tc.expectedDesiredReplicas), obj.Message)
    			case "DesiredReplicasComputed":
    				assert.Equal(t, fmt.Sprintf(
    					"Computed the desired num of replicas: %d (avgCPUutil: %d, current replicas: %d)",
    					tc.expectedDesiredReplicas,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 199.3K bytes
    - Viewed (0)
  6. src/cmd/link/internal/ld/data.go

    	if debugGCProg {
    		fmt.Fprintf(os.Stderr, "ld: start GCProg %s\n", name)
    		p.w.Debug(os.Stderr)
    	}
    }
    
    func (p *GCProg) writeByte() func(x byte) {
    	return func(x byte) {
    		p.sym.AddUint8(x)
    	}
    }
    
    func (p *GCProg) End(size int64) {
    	p.w.ZeroUntil(size / int64(p.ctxt.Arch.PtrSize))
    	p.w.End()
    	if debugGCProg {
    		fmt.Fprintf(os.Stderr, "ld: end GCProg\n")
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 12 15:10:50 UTC 2024
    - 100.5K bytes
    - Viewed (1)
  7. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/validation_test.go

    				ValsEqualThemselvesAndDataLiteral("self.val3", "self.val4", fmt.Sprintf("%d", math.MaxInt32)),
    				ValsEqualThemselvesAndDataLiteral("self.val5", "self.val6", fmt.Sprintf("%d", math.MaxInt64)),
    				"self.val1 == self.val6", // integer with no format is the same as int64
    				"type(self.val1) == int",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 17:14:10 UTC 2024
    - 159.9K bytes
    - Viewed (0)
  8. cmd/object-handlers_test.go

    				// Read first byte of object
    				fmt.Sprintf("bytes=%d-%d", 0, 0),
    				// Read second byte of object
    				fmt.Sprintf("bytes=%d-%d", 1, 1),
    				// Read last byte of object
    				fmt.Sprintf("bytes=-%d", 1),
    				// Read all but first byte of object
    				"bytes=1-",
    				// Read first half of object
    				fmt.Sprintf("bytes=%d-%d", 0, objLen/2),
    				// Read last half of object
    				fmt.Sprintf("bytes=-%d", objLen/2),
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 161.9K bytes
    - Viewed (0)
  9. pkg/proxy/ipvs/proxier_test.go

    }
    
    func makeTestEndpointSlice(namespace, name string, sliceNum int, epsFunc func(*discovery.EndpointSlice)) *discovery.EndpointSlice {
    	eps := &discovery.EndpointSlice{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      fmt.Sprintf("%s-%d", name, sliceNum),
    			Namespace: namespace,
    			Labels:    map[string]string{discovery.LabelServiceName: name},
    		},
    	}
    	epsFunc(eps)
    	return eps
    }
    
    func TestCleanupLeftovers(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 01:31:57 UTC 2024
    - 186.8K bytes
    - Viewed (0)
  10. pkg/scheduler/framework/runtime/framework_test.go

    			plugins: buildScoreConfigDefaultWeights(scorePlugin1),
    			pluginConfigs: []config.PluginConfig{
    				{
    					Name: scorePlugin1,
    					Args: &runtime.Unknown{
    						Raw: []byte(fmt.Sprintf(`{ "scoreRes": %d }`, framework.MaxNodeScore+1)),
    					},
    				},
    			},
    			err: true,
    		},
    		{
    			name:    "Score plugin return score less than MinNodeScore",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 09:07:27 UTC 2024
    - 103K bytes
    - Viewed (0)
Back to top