Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for emptypb (0.14 sec)

  1. pkg/api/pod/util_test.go

    	}
    
    	// emptyPod is a stub containing empty object names
    	emptyPod := &api.Pod{
    		Spec: api.PodSpec{
    			Containers: []api.Container{{
    				EnvFrom: []api.EnvFromSource{{
    					SecretRef: &api.SecretEnvSource{
    						LocalObjectReference: api.LocalObjectReference{
    							Name: ""}}}}}},
    		},
    	}
    	VisitPodSecretNames(emptyPod, func(name string) bool {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 108.8K bytes
    - Viewed (0)
  2. pkg/config/validation/validation.go

    				continue
    			}
    			// there can be only one catch all egress listener with empty port, and it should be the last listener.
    			if egress.Port == nil {
    				if !catchAllEgressListenerFound {
    					if index == len(rule.Egress)-1 {
    						catchAllEgressListenerFound = true
    					} else {
    						errs = AppendValidation(errs, fmt.Errorf("sidecar: the egress listener with empty port should be the last listener in the list"))
    					}
    				} else {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 04:03:33 UTC 2024
    - 107.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc

      void EnqueueCallers(func::FuncOp fn);
    
      // Returns the function at the front of the queue.
      func::FuncOp front() { return queue_.front(); }
    
      // Returns whether work queue is empty.
      bool EmptyQueue() const { return queue_.empty(); }
    
      // Returns function from the front of the work queue.
      func::FuncOp pop_front() {
        func::FuncOp ret = queue_.front();
        queue_.pop();
        queue_set_.erase(ret);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 08 07:28:49 UTC 2024
    - 134.1K bytes
    - Viewed (0)
  4. src/cmd/go/internal/work/exec.go

    	if err != nil {
    		return err
    	}
    
    	// Prepare Go import config.
    	// We start it off with a comment so it can't be empty, so icfg.Bytes() below is never nil.
    	// It should never be empty anyway, but there have been bugs in the past that resulted
    	// in empty configs, which then unfortunately turn into "no config passed to compiler",
    	// and the compiler falls back to looking in pkg itself, which mostly works,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 14:46:37 UTC 2024
    - 105.6K bytes
    - Viewed (0)
  5. pkg/kubelet/kubelet_test.go

    	fittingPod := podWithUIDNameNsSpec("1", "fittingpod", "foo", fittingPodSpec)
    	emptyPod := podWithUIDNameNsSpec("2", "emptypod", "foo", emptyPodSpec)
    	missingPod := podWithUIDNameNsSpec("3", "missingpod", "foo", missingPodSpec)
    	failedPod := podWithUIDNameNsSpec("4", "failedpod", "foo", failedPodSpec)
    
    	kl.HandlePodAdditions([]*v1.Pod{fittingPod, emptyPod, missingPod, failedPod})
    
    	// Check pod status stored in the status map.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 106.9K bytes
    - Viewed (0)
  6. src/reflect/all_test.go

    	// named types and equal underlying types
    	{V(new(int)), V(new(integer))},
    	{V(new(integer)), V(new(int))},
    	{V(Empty{}), V(struct{}{})},
    	{V(new(Empty)), V(new(struct{}))},
    	{V(struct{}{}), V(Empty{})},
    	{V(new(struct{})), V(new(Empty))},
    	{V(Empty{}), V(Empty{})},
    	{V(MyBytes{}), V([]byte{})},
    	{V([]byte{}), V(MyBytes{})},
    	{V((func())(nil)), V(MyFunc(nil))},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
  7. cmd/site-replication.go

    			return madmin.ReplicateAddStatus{}, errSRDuplicateSites
    		}
    		deploymentIDsSet.Add(v.DeploymentID)
    
    		if v.self {
    			selfIdx = i
    			localHasBuckets = !v.Empty
    			continue
    		}
    		if !v.Empty && !currDeploymentIDsSet.Contains(v.DeploymentID) {
    			nonLocalPeerWithBuckets = v.Name
    		}
    	}
    	if selfIdx == -1 {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 184.3K bytes
    - Viewed (0)
  8. pkg/kubelet/eviction/helpers_test.go

    func TestSortByEvictionPriority(t *testing.T) {
    	for _, tc := range []struct {
    		name       string
    		thresholds []evictionapi.Threshold
    		expected   []evictionapi.Threshold
    	}{
    		{
    			name:       "empty threshold list",
    			thresholds: []evictionapi.Threshold{},
    			expected:   []evictionapi.Threshold{},
    		},
    		{
    			name: "memory first",
    			thresholds: []evictionapi.Threshold{
    				{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 15 23:14:12 UTC 2024
    - 106.7K bytes
    - Viewed (0)
  9. pkg/kubelet/kubelet_pods.go

    	// cleanup of pod cgroups.
    	stringIfTrue := func(t bool) string {
    		if t {
    			return "true"
    		}
    		return ""
    	}
    	runningPods := make(map[types.UID]sets.Empty)
    	possiblyRunningPods := make(map[types.UID]sets.Empty)
    	for uid, sync := range workingPods {
    		switch sync.State {
    		case SyncPod:
    			runningPods[uid] = struct{}{}
    			possiblyRunningPods[uid] = struct{}{}
    		case TerminatingPod:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
  10. src/crypto/x509/x509_test.go

    		}
    	}
    }
    
    func TestVerifyEmptyCertificate(t *testing.T) {
    	if _, err := new(Certificate).Verify(VerifyOptions{}); err != errNotParsed {
    		t.Errorf("Verifying empty certificate resulted in unexpected error: %q (wanted %q)", err, errNotParsed)
    	}
    }
    
    func TestInsecureAlgorithmErrorString(t *testing.T) {
    	tests := []struct {
    		sa   SignatureAlgorithm
    		want string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:00:16 UTC 2024
    - 163.4K bytes
    - Viewed (0)
Back to top