Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 968 for Mutated (0.16 sec)

  1. pkg/proxy/endpointslicecache_test.go

    // Check verifies that no objects in the cacheMutationCheck have been mutated.
    func (cmc *cacheMutationCheck) Check(t *testing.T) {
    	for _, o := range cmc.objects {
    		if !reflect.DeepEqual(o.original, o.deepCopy) {
    			// Cached objects can't be safely mutated and instead should be deep
    			// copied before changed in any way.
    			t.Errorf("Cached object was unexpectedly mutated. Original: %+v, Mutated: %+v", o.deepCopy, o.original)
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 21:07:21 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/cel/openapi/resolver/refs.go

    )
    
    // PopulateRefs recursively replaces Refs in the schema with the referred one.
    // schemaOf is the callback to find the corresponding schema by the ref.
    // This function will not mutate the original schema. If the schema needs to be
    // mutated, a copy will be returned, otherwise it returns the original schema.
    func PopulateRefs(schemaOf func(ref string) (*spec.Schema, bool), rootRef string) (*spec.Schema, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 17:23:50 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  3. platforms/software/signing/src/integTest/groovy/org/gradle/plugins/signing/SigningPublicationsIntegrationSpec.groovy

            and:
            file("build", "libs", "sign-1.0.jar.asc").text
            file("build", "publications", "mavenJava", "pom-default.xml.asc").text
        }
    
        def "component can still be mutated after signing is configured for a Maven publication"() {
            given:
            buildFile << """
                apply plugin: 'maven-publish'
                ${keyInfo.addAsPropertiesScript()}
    
                publishing {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 09 01:09:32 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/cel/common/adaptor.go

    	// the type includes "kind", "apiVersion" field
    	// the "metadata" field requires "name" and "generateName" to be set
    	// The original schema must not be mutated. Make a copy if necessary.
    	WithTypeAndObjectMeta() Schema
    }
    
    // Validations contains OpenAPI validation that the CEL library uses.
    type Validations interface {
    	Pattern() string
    	Minimum() *float64
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 10 21:26:55 UTC 2023
    - 3K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/execution/plan/QueryableExecutionPlan.java

    import org.gradle.api.Task;
    
    import java.util.Collections;
    import java.util.List;
    import java.util.Set;
    import java.util.function.BiConsumer;
    
    /**
     * An execution plan that has been finalized and can no longer be mutated.
     *
     * <p>Implementations may or may not be thread-safe.</p>
     */
    public interface QueryableExecutionPlan {
        QueryableExecutionPlan EMPTY = new QueryableExecutionPlan() {
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 23 19:05:29 UTC 2023
    - 3K bytes
    - Viewed (0)
  6. subprojects/core-api/src/main/java/org/gradle/api/file/ProjectLayout.java

         * <p>Creates a read-only {@link FileCollection} containing the given files, as defined by {@link Project#files(Object...)}.
         *
         * <p>This method can also be used to create an empty collection, but the collection may not be mutated later.</p>
         *
         * @param paths The paths to the files. May be empty.
         * @return The file collection. Never returns null.
         * @since 4.8
         */
        FileCollection files(Object... paths);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/api/internal/DefaultDomainObjectSet.java

            super(type, new IterationOrderRetainingSetElementSource<T>(), decorator);
        }
    
        /**
         * Adds an action which is executed before this collection is mutated with the addition or removal of elements.
         * Any exception thrown by the action will veto the mutation.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/runtime/helper.go

    // is only safe if the output object is not mutated or reused.
    func (c unsafeObjectConvertor) ConvertToVersion(in Object, outVersion GroupVersioner) (Object, error) {
    	return c.Scheme.UnsafeConvertToVersion(in, outVersion)
    }
    
    // UnsafeObjectConvertor performs object conversion without copying the object structure,
    // for use when the converted object will not be reused or mutated. Primarily for use within
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Dec 13 22:54:34 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/schema/extract/ScalarCollectionModelView.java

                    // if the collection is *not* read-only, then we will initialize it only if the collection is the
                    // subject of a rule, that is to say that it can be mutated. This may look strange, if a read-write
                    // collection is null to initialize it to an empty list, but this is how the specs define reaw-write
                    // collections of scalar types.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  10. pkg/registry/networking/ingress/strategy_test.go

    	if len(errs) == 0 {
    		t.Errorf("Expected a validation error")
    	}
    	if invalidIngress.ResourceVersion != "4" {
    		t.Errorf("Incoming resource version on update should not be mutated")
    	}
    }
    
    func TestIngressStatusStrategy(t *testing.T) {
    	ctx := genericapirequest.NewDefaultContext()
    	if !StatusStrategy.NamespaceScoped() {
    		t.Errorf("Ingress must be namespace scoped")
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 02 23:13:31 UTC 2022
    - 4.1K bytes
    - Viewed (0)
Back to top