Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 964 for Mutation (0.14 sec)

  1. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/testing/testcase.go

    }
    
    // DurationTest is webhook duration test case, used both in mutating and
    // validating plugin test cases.
    type DurationTest struct {
    	Name                string
    	Webhooks            []registrationv1.ValidatingWebhook
    	InitContext         bool
    	IsDryRun            bool
    	ExpectedDurationSum time.Duration
    	ExpectedDurationMax time.Duration
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 03 06:51:04 UTC 2023
    - 47.6K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

        }
      }
    
      /**
       * Verifies that a collection is immutable.
       *
       * <p>A collection is considered immutable if:
       *
       * <ol>
       *   <li>All its mutation methods result in UnsupportedOperationException, and do not change the
       *       underlying contents.
       *   <li>All methods that return objects that can indirectly mutate the collection throw
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 10 20:31:37 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

        }
      }
    
      /**
       * Verifies that a collection is immutable.
       *
       * <p>A collection is considered immutable if:
       *
       * <ol>
       *   <li>All its mutation methods result in UnsupportedOperationException, and do not change the
       *       underlying contents.
       *   <li>All methods that return objects that can indirectly mutate the collection throw
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 10 20:31:37 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  4. pkg/securitycontext/accessors_test.go

    			if !reflect.DeepEqual(podSC, originalPodSC) {
    				t.Errorf("%s: unexpected mutation: %#v, %#v", k, podSC, originalPodSC)
    			}
    			if !reflect.DeepEqual(sc, originalSC) {
    				t.Errorf("%s: unexpected mutation: %#v, %#v", k, sc, originalSC)
    			}
    			if !reflect.DeepEqual(m.ContainerSecurityContext(), originalSC) {
    				t.Errorf("%s: unexpected mutation: %#v, %#v", k, m.ContainerSecurityContext(), originalSC)
    			}
    		}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 22 16:15:27 UTC 2023
    - 27.8K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiextensions-apiserver/pkg/controller/status/naming_controller.go

    		panic(err)
    	}
    
    	for _, curr := range list {
    		if curr.Spec.Group != group {
    			continue
    		}
    
    		// for each item here, see if we have a mutation cache entry that is more recent
    		// this makes sure that if we tight loop on update and run, our mutation cache will show
    		// us the version of the objects we just updated to.
    		item := curr
    		obj, exists, err := c.crdMutationCache.GetByKey(curr.Name)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/api/ConfigurationRoleUsageIntegrationTest.groovy

            succeeds 'help'
    
            where:
            configuration << ["legacy", "consumable", "resolvable", "consumableUnlocked", "resolvableUnlocked", "dependencyScopeUnlocked"]
        }
    
        def "can prevent usage mutation of roleless configurations"() {
            given:
            buildFile << """
                configurations {
                    custom {
                        assert canBeResolved == true
                        preventUsageMutation()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 27 01:42:49 UTC 2024
    - 27.5K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/moduleconverter/DefaultRootComponentMetadataBuilder.java

            }
    
            public void cache(LocalComponentGraphResolveState state, boolean useStrongReference) {
                if (useStrongReference) {
                    // Keep a hard reference to the state for re-evaluation on mutation
                    // and to force the value to be reused for resolution of other configurations
                    reference = null;
                    cachedValue = state;
                } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 14:19:34 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/main/java/org/gradle/internal/management/DefaultDependencyResolutionManagement.java

            if (!mutable) {
                throw new InvalidUserCodeException("Mutation of dependency resolution management in settings is only allowed during settings evaluation");
            }
        }
    
        private void mutationDisallowed(ArtifactRepository artifactRepository) {
            throw new InvalidUserCodeException("Mutation of repositories declared in settings is only allowed during settings evaluation");
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 12K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolutionstrategy/DefaultResolutionStrategySpec.groovy

            when:
            strategy.cacheDynamicVersionsFor(1, "hours")
    
            then:
            1 * cachePolicy.cacheDynamicVersionsFor(1 * 60 * 60 * 1000, TimeUnit.MILLISECONDS)
        }
    
        def "mutation is checked for public API"() {
            def validator = Mock(MutationValidator)
            strategy.setMutationValidator(validator)
    
            when: strategy.failOnVersionConflict()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 02:50:41 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  10. subprojects/core/src/main/java/org/gradle/api/internal/attributes/DefaultImmutableAttributes.java

            throw new UnsupportedOperationException("Mutation of attributes is not allowed");
        }
    
        @Override
        public ImmutableSet<Attribute<?>> keySet() {
            return hierarchy.keySet();
        }
    
        @Override
        public <T> AttributeContainer attributeProvider(Attribute<T> key, Provider<? extends T> provider) {
            throw new UnsupportedOperationException("Mutation of attributes is not allowed");
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 10 12:57:50 UTC 2024
    - 9.9K bytes
    - Viewed (0)
Back to top