Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 49 for mutating (0.12 sec)

  1. subprojects/core/src/test/groovy/org/gradle/api/internal/AbstractDomainObjectCollectionSpec.groovy

            1 * provider1.present >> true
            1 * provider1.get() >> a
            1 * action.execute(a)
            0 * _
        }
    
        void setupContainerDefaults() {}
    
        def "disallow mutating from common methods when #mutatingMethods.key"() {
            setupContainerDefaults()
            addToContainer(a)
            String methodUnderTest = mutatingMethods.key
            Closure method = bind(mutatingMethods.value)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 13:46:07 UTC 2024
    - 52.4K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/docs/userguide/releases/upgrading/upgrading_version_8.adoc

    * **Hierarchy**: Configuration hierarchy (`extendsFrom`) should be set upon creation. Mutating the hierarchy prior to resolution is highly discouraged, but is permitted within a `withDependencies` hook.
    * **Resolution Strategy**: Mutating a configuration's ResolutionStrategy is still permitted in a `beforeResolve` hook; however, this is not recommended.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 17:01:07 UTC 2024
    - 90.7K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/registry/DefaultModelRegistryTest.groovy

            mutatorAction.execute(_) >> { Bean bean -> bean.value = "prefix: $bean.value" }
    
            registry.realize("parent") // TODO - should not need this: parent mutations should be applied before mutating element
    
            expect:
            registry.realize("parent.bar", Bean).value == "prefix: bar"
            registry.realize("parent.foo", String) == "ignore me"
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 56K bytes
    - Viewed (0)
  4. pkg/apis/admissionregistration/validation/validation.go

    		auditAnnotationValuesExpressions: sets.New[string](),
    	}
    }
    
    func findMutatingPreexistingExpressions(mutating *admissionregistration.MutatingWebhookConfiguration) preexistingExpressions {
    	preexisting := newPreexistingExpressions()
    	for _, wh := range mutating.Webhooks {
    		for _, mc := range wh.MatchConditions {
    			preexisting.matchConditionExpressions.Insert(mc.Expression)
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 56.6K bytes
    - Viewed (0)
  5. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/AbstractGradleExecuter.java

            }
        }
    
        /**
         * Adjusts the calculated invocation prior to execution. This method is responsible for handling the implicit launcher JVM args in some way, by mutating the invocation appropriately.
         */
        protected void transformInvocation(GradleInvocation gradleInvocation) {
            gradleInvocation.launcherJvmArgs.addAll(0, gradleInvocation.implicitLauncherJvmArgs);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/configurations/DefaultConfiguration.java

         * during a forbidden state.
         *
         * @return true if a deprecation was emitted
         */
        private boolean maybePreventMutation(MutationType type, String typeDescription) {
            // If an external party has seen the public state (variant metadata) of our configuration,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 17:36:01 UTC 2024
    - 85.4K bytes
    - Viewed (0)
  7. pilot/pkg/serviceregistry/serviceregistry_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    }
    
    func makeService(t *testing.T, c kubernetes.Interface, svc *v1.Service) {
    	t.Helper()
    	// avoid mutating input
    	svc = svc.DeepCopy()
    	// simulate actual k8s behavior
    	for i, port := range svc.Spec.Ports {
    		if port.TargetPort.IntVal == 0 && port.TargetPort.StrVal == "" {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 51.2K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store.go

    					return
    				}
    				// DeepCopy the deletion options because individual graceful deleters communicate changes via a mutating
    				// function in the delete strategy called in the delete method.  While that is always ugly, it works
    				// when making a single call.  When making multiple calls via delete collection, the mutation applied to
    				// pod/A can change the option ultimately used for pod/B.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 19 23:22:44 UTC 2024
    - 60.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/transforms/lower_static_tensor_list.cc

            mlir::Operation *op = use.getOwner();
            // Currently we only check if the tensorlist argument is consumed by
            // `TensorListPushBack` or `TensorListResize`, since those are the only
            // length-mutating ops supported in this pass.
            if (llvm::isa<TF::TensorListPushBackOp>(op) ||
                llvm::isa<TF::TensorListResizeOp>(op)) {
              indexes.insert(arg.getArgNumber());
            }
          }
        }
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 70.7K bytes
    - Viewed (0)
  10. src/net/http/request.go

    	// ctx is either the client or server context. It should only
    	// be modified via copying the whole Request using Clone or WithContext.
    	// It is unexported to prevent people from using Context wrong
    	// and mutating the contexts held by callers of the same request.
    	ctx context.Context
    
    	// The following fields are for requests matched by ServeMux.
    	pat         *pattern          // the pattern that matched
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 49.4K bytes
    - Viewed (0)
Back to top