Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,213 for Mutation (0.15 sec)

  1. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/configurations/MutationValidator.java

    /**
     * Used to validate mutation of an object and its sub-parts.
     */
    public interface MutationValidator {
        enum MutationType {
            /**
             * The mutation of the resolution strategy of the configuration, i.e. caching, resolution rules etc.
             */
            STRATEGY("resolution strategy"),
    
            /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 22 00:26:55 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/cel/mutation/typeprovider.go

    limitations under the License.
    */
    
    package mutation
    
    import (
    	"k8s.io/apiserver/pkg/cel/mutation/common"
    
    	"github.com/google/cel-go/cel"
    	"github.com/google/cel-go/common/types"
    	"github.com/google/cel-go/common/types/ref"
    )
    
    // TypeProvider is a specialized CEL type provider that understands
    // the Object type alias that is used to construct an Apply configuration for
    // a mutation operation.
    type TypeProvider struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 15 21:02:36 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/configurations/ResolutionStrategyInternal.java

         */
        ResolutionStrategyInternal copy();
    
        /**
         * Sets the validator to invoke before mutation. Any exception thrown by the action will veto the mutation.
         */
        void setMutationValidator(MutationValidator action);
    
        /**
         * Returns the dependency locking provider linked to this resolution strategy.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 19:04:04 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/cel/mutation/unstructured/typeresolver_test.go

    */
    
    package unstructured
    
    import (
    	"reflect"
    	"testing"
    
    	"github.com/google/cel-go/cel"
    
    	"k8s.io/apimachinery/pkg/util/version"
    	"k8s.io/apiserver/pkg/cel/environment"
    	"k8s.io/apiserver/pkg/cel/mutation"
    )
    
    func TestTypeProvider(t *testing.T) {
    	for _, tc := range []struct {
    		name          string
    		expression    string
    		expectedValue any
    	}{
    		{
    			name:          "not an object",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/resolver/ResolutionAccess.java

         * Get the owner of the resolution.
         */
        ResolutionHost getHost();
    
        /**
         * Get the request attributes for this resolution. Calling this method will lock-in the
         * request attributes from further mutation but will not perform resolution.
         */
        ImmutableAttributes getAttributes();
    
        /**
         * Get the default artifact sort order for this resolution.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 17:36:01 UTC 2024
    - 2K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/cel/mutation/env_test.go

    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package mutation
    
    import (
    	"testing"
    
    	"github.com/google/cel-go/cel"
    
    	"k8s.io/apimachinery/pkg/util/version"
    	"k8s.io/apiserver/pkg/cel/environment"
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top