Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 310 for newLru (0.14 sec)

  1. pkg/kubelet/lifecycle/handlers_test.go

    				}
    				if fakeHTTPDoer.url != expectedURL {
    					t.Errorf("url = %v; want %v", fakeHTTPDoer.url, tt.Expected.NewURL)
    				}
    			}
    
    			t.Run("consistent", func(t *testing.T) {
    				verify(t, tt.Expected.NewHeader, tt.Expected.NewURL)
    			})
    		})
    	}
    }
    
    func TestRunHandlerNil(t *testing.T) {
    	ctx := context.Background()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 24.4K bytes
    - Viewed (0)
  2. platforms/core-runtime/client-services/src/test/groovy/org/gradle/internal/daemon/client/serialization/ClasspathInfererTest.groovy

                if (uri.startsWith("jar:")) {
                    int pos = uri.indexOf('!')
                    def newURI = uri.substring(0, pos + 2)
                    return new URI(newURI).toURL()
                } else {
                    def newURI = uri - resource
                    return new URI(newURI).toURL()
                }
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:53:31 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  3. pkg/controller/deployment/progress_test.go

    			fake := fake.Clientset{}
    			dc := &DeploymentController{
    				client: &fake,
    			}
    
    			if test.newRS != nil {
    				test.allRSs = append(test.allRSs, test.newRS)
    			}
    			_, ctx := ktesting.NewTestContext(t)
    			err := dc.syncRolloutStatus(ctx, test.allRSs, test.newRS, test.d)
    			if err != nil {
    				t.Error(err)
    			}
    
    			newCond := util.GetDeploymentCondition(test.d.Status, test.conditionType)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiextensions-apiserver/pkg/controller/finalizer/crd_finalizer.go

    	newCRD := newObj.(*apiextensionsv1.CustomResourceDefinition)
    	// only queue deleted things that haven't been finalized by us
    	if newCRD.DeletionTimestamp.IsZero() || !apiextensionshelpers.CRDHasFinalizer(newCRD, apiextensionsv1.CustomResourceCleanupFinalizer) {
    		return
    	}
    
    	// always requeue resyncs just in case
    	if oldCRD.ResourceVersion == newCRD.ResourceVersion {
    		c.enqueue(newCRD)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  5. pkg/kubelet/container/cache.go

    )
    
    // Cache stores the PodStatus for the pods. It represents *all* the visible
    // pods/containers in the container runtime. All cache entries are at least as
    // new or newer than the global timestamp (set by UpdateTime()), while
    // individual entries may be slightly newer than the global timestamp. If a pod
    // has no states known by the runtime, Cache returns an empty PodStatus object
    // with ID populated.
    //
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 17 07:37:01 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/composition.go

    	if a.result.Error != nil {
    		return types.NewErr("composited variable %q fails to compile: %v", a.name, a.result.Error)
    	}
    
    	v, details, err := a.result.Program.ContextEval(a.context, a.activation)
    	if details == nil {
    		return types.NewErr("unable to get evaluation details of variable %q", a.name)
    	}
    	costPtr := details.ActualCost()
    	if costPtr == nil {
    		return types.NewErr("unable to calculate cost of variable %q", a.name)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 13 21:06:39 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  7. pkg/controller/deployment/rolling_test.go

    		oldSelector := map[string]string{"foo": "old"}
    		newRS := rs("foo-new", test.newReplicas, newSelector, noTimestamp)
    		newRS.Status.AvailableReplicas = int32(test.readyPodsFromNewRS)
    		oldRS := rs("foo-old", test.oldReplicas, oldSelector, noTimestamp)
    		oldRS.Status.AvailableReplicas = int32(test.readyPodsFromOldRS)
    		oldRSs := []*apps.ReplicaSet{oldRS}
    		allRSs := []*apps.ReplicaSet{oldRS, newRS}
    		maxSurge := intstr.FromInt32(0)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 08 09:10:50 UTC 2023
    - 11K bytes
    - Viewed (0)
  8. pkg/controller/deployment/util/deployment_util.go

    	}
    	for k, v := range deployment.Annotations {
    		// newRS revision is updated automatically in getNewReplicaSet, and the deployment's revision number is then updated
    		// by copying its newRS revision number. We should not copy deployment's revision to its newRS, since the update of
    		// deployment revision number may fail (revision becomes stale) and the revision number in newRS is more reliable.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 07:09:11 UTC 2023
    - 39.3K bytes
    - Viewed (0)
  9. src/sort/slice.go

    // may be reversed from their original order.
    // For a stable sort, use [SliceStable].
    //
    // The less function must satisfy the same requirements as
    // the Interface type's Less method.
    //
    // Note: in many situations, the newer [slices.SortFunc] function is more
    // ergonomic and runs faster.
    func Slice(x any, less func(i, j int) bool) {
    	rv := reflectlite.ValueOf(x)
    	swap := reflectlite.Swapper(x)
    	length := rv.Len()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 28 16:40:32 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  10. src/cmd/go/internal/toolchain/switch.go

    	for i := len(list) - 1; i >= 0; i-- {
    		v := list[i]
    		if gover.Compare(v, need) < 0 {
    			break
    		}
    		if gover.Lang(latest) == gover.Lang(v) {
    			continue
    		}
    		newer := latest
    		latest = v
    		if newer != "" && !gover.IsPrerelease(newer) {
    			// latest is the last patch release of Go 1.X, and we saw a non-prerelease of Go 1.(X+1),
    			// so latest is the one we want.
    			break
    		}
    	}
    	if latest == "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 18:15:22 UTC 2024
    - 7K bytes
    - Viewed (0)
Back to top