Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 991 for oldR (0.04 sec)

  1. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelNormalizer.java

         */
        private <T> List<T> injectList(List<T> list, Function<T, T> modifer) {
            List<T> newList = null;
            for (int i = 0; i < list.size(); i++) {
                T oldT = list.get(i);
                T newT = modifer.apply(oldT);
                if (newT != oldT) {
                    if (newList == null) {
                        newList = new ArrayList<>(list);
                    }
                    newList.set(i, newT);
                }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  2. releasenotes/notes/targetPort-service-entry.yaml

        This is particularly useful when doing TLS origination, allowing to set `port:80, targetPort: 443`.
        If undesired set `--compatibilityVersion=1.21` to revert to the old behavior, or remove the `targetPort` specification.
    upgradeNotes:
      - title: "`ServiceEntry` with `resolution: NONE` now respects `targetPort`"
        content: |
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 25 18:26:17 UTC 2024
    - 794 bytes
    - Viewed (0)
  3. guava/src/com/google/common/graph/GraphsBridgeMethods.java

    package com.google.common.graph;
    
    import com.google.common.annotations.Beta;
    import java.util.Set;
    
    /**
     * Supertype for {@link Graphs}, containing the old signatures of methods whose signatures we've
     * changed. This provides binary compatibility for users who compiled against the old signatures.
     */
    @Beta
    @ElementTypesAreNonnullByDefault
    abstract class GraphsBridgeMethods {
    
      @SuppressWarnings("PreferredInterfaceType")
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 14 19:31:40 UTC 2024
    - 707 bytes
    - Viewed (0)
  4. pkg/api/pod/util_test.go

    					dropDisabledFields(&newPod.Spec, nil, oldPodSpec, nil)
    
    					// old pod should never be changed
    					if !reflect.DeepEqual(oldPod, oldPodInfo.pod()) {
    						t.Errorf("old pod changed: %v", cmp.Diff(oldPod, oldPodInfo.pod()))
    					}
    
    					switch {
    					case enabled || oldPodHasProcMount:
    						// new pod should not be changed if the feature is enabled, or if the old pod had ProcMount
    						if !reflect.DeepEqual(newPod, newPodInfo.pod()) {
    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. staging/src/k8s.io/apiextensions-apiserver/pkg/registry/customresource/validator.go

    	if errs := a.ValidateTypeMeta(ctx, obj); len(errs) > 0 {
    		return errs
    	}
    
    	var allErrs field.ErrorList
    
    	allErrs = append(allErrs, validation.ValidateObjectMetaAccessorUpdate(obj, old, field.NewPath("metadata"))...)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 14:00:05 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  6. pkg/registry/core/service/strategy.go

    	allErrs := validation.ValidateServiceUpdate(obj.(*api.Service), old.(*api.Service))
    	return allErrs
    }
    
    // WarningsOnUpdate returns warnings for the given update.
    func (svcStrategy) WarningsOnUpdate(ctx context.Context, obj, old runtime.Object) []string {
    	return serviceapi.GetWarningsForService(obj.(*api.Service), old.(*api.Service))
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 11 13:09:36 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  7. src/cmd/go/internal/modfetch/codehost/git.go

    func (r *gitRepo) CheckReuse(ctx context.Context, old *Origin, subdir string) error {
    	if old == nil {
    		return fmt.Errorf("missing origin")
    	}
    	if old.VCS != "git" || old.URL != r.remoteURL {
    		return fmt.Errorf("origin moved from %v %q to %v %q", old.VCS, old.URL, "git", r.remoteURL)
    	}
    	if old.Subdir != subdir {
    		return fmt.Errorf("origin moved from %v %q %q to %v %q %q", old.VCS, old.URL, old.Subdir, "git", r.remoteURL, subdir)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 11 22:10:38 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  8. pkg/kube/controllers/common.go

    	case EventUpdate:
    		out = "update"
    	case EventDelete:
    		out = "delete"
    	}
    	return out
    }
    
    type Event struct {
    	Old   Object
    	New   Object
    	Event EventType
    }
    
    func (e Event) Latest() Object {
    	if e.New != nil {
    		return e.New
    	}
    	return e.Old
    }
    
    func FromEventHandler(handler func(o Event)) cache.ResourceEventHandler {
    	return cache.ResourceEventHandlerFuncs{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 11 08:27:29 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  9. pkg/kube/krt/core.go

    type Event[T any] struct {
    	// Old object, set on Update or Delete.
    	Old *T
    	// New object, set on Add or Update
    	New *T
    	// Event is the change type
    	Event controllers.EventType
    }
    
    // Items returns both the Old and New object, if present.
    func (e Event[T]) Items() []T {
    	res := make([]T, 0, 2)
    	if e.Old != nil {
    		res = append(res, *e.Old)
    	}
    	if e.New != nil {
    		res = append(res, *e.New)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 23:33:56 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetRemoveTester.java

        int originalCount = getMultiset().count(e0());
        assertEquals("old count", originalCount, getMultiset().remove(e0(), 0));
        expectUnchanged();
      }
    
      @CollectionSize.Require(absent = ZERO)
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      public void testRemove_occurrences_present() {
        assertEquals(
            "multiset.remove(present, 2) didn't return the old count",
            1,
            getMultiset().remove(e0(), 2));
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 7K bytes
    - Viewed (0)
Back to top