Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 4,540 for myModel (0.12 sec)

  1. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/fixtures/ToolingApiSpec.groovy

        }
    
        private void addModelImplementation(String targetBuildName) {
            file("$targetBuildName/src/main/groovy/my/MyModel.groovy") << """
                package my
    
                class MyModel implements java.io.Serializable {
                    private final String message
                    MyModel(String message) { this.message = message }
                    String getMessage() { message }
                    String toString() { message }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  2. platforms/software/platform-base/src/integTest/groovy/org/gradle/language/base/ComponentModelIntegrationTest.groovy

    }
    
    apply plugin: Rules
    
    model {
        components {
            assert it.toString() == "ComponentSpecContainer 'components'"
            assert it instanceof ComponentSpecContainer
        }
    }
    """
    
            expect:
            succeeds 'tasks'
        }
    
        def "component sources and binaries containers are visible in model report"() {
            when:
            succeeds "model"
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 20.4K bytes
    - Viewed (0)
  3. platforms/software/platform-base/src/integTest/groovy/org/gradle/language/base/CustomComponentBinariesIntegrationTest.groovy

        SampleBinary 'sampleLib:2ndBinary'
            build using task: :sampleLib2ndBinary
    """)
            where:
            ruleInputs << ["SampleLibrary library, CustomModel myModel",  "CustomModel myModel, SampleLibrary library"]
        }
    
        def "@ComponentBinaries rule operates with fully configured component"() {
            given:
            buildFile << """
    @Managed
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 13.8K bytes
    - Viewed (0)
  4. tests/test_jsonable_encoder.py

        model = ModelWithDefault(foo="foo", bar="bar")
        assert jsonable_encoder(model) == {"foo": "foo", "bar": "bar", "bla": "bla"}
        assert jsonable_encoder(model, exclude_unset=True) == {"foo": "foo", "bar": "bar"}
        assert jsonable_encoder(model, exclude_defaults=True) == {"foo": "foo"}
        assert jsonable_encoder(model, exclude_unset=True, exclude_defaults=True) == {
            "foo": "foo"
        }
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 21:56:59 UTC 2024
    - 9K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r89/ToolingApiPolymorphismCrossVersionTest.groovy

        private static void assertModelIsPolymorphic(Object model) {
            assert model != null
    
            assert model instanceof BaseModel
    
            assert model instanceof ShallowChildModel
            assert ((ShallowChildModel) model).getShallowMessage() == "shallow poly from 'root'"
    
            assert model instanceof DeepChildModel
            assert ((DeepChildModel) model).getDeepMessage() == "deep poly from 'root'"
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 11:03:18 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  6. pilot/pkg/security/authz/model/model.go

    }
    
    type ruleList struct {
    	rules []*rule
    }
    
    // Model represents a single rule from an authorization policy. The conditions of the rule are consolidated into
    // permission or principal to align with the Envoy RBAC filter API.
    type Model struct {
    	permissions []ruleList
    	principals  []ruleList
    }
    
    // New returns a model representing a single authorization policy.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 25 10:39:25 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  7. pilot/pkg/xds/v3/model.go

    package v3
    
    import (
    	"istio.io/istio/pkg/model"
    )
    
    const (
    	ClusterType                = model.ClusterType
    	EndpointType               = model.EndpointType
    	ListenerType               = model.ListenerType
    	RouteType                  = model.RouteType
    	SecretType                 = model.SecretType
    	ExtensionConfigurationType = model.ExtensionConfigurationType
    	NameTableType              = model.NameTableType
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 04 20:29:08 UTC 2024
    - 2K bytes
    - Viewed (0)
  8. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/model/Model.java

     * limitations under the License.
     */
    
    package org.gradle.tooling.model;
    
    // TODO:ADAM - Deprecate
    /**
     * A model that is buildable by the Tooling API. Models contain various information regarding the build.
     * Models are typically tailored to a specific domain, for example build environment or IDE.
     *
     * @since 1.0-milestone-8
     */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 938 bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/main/java/org/gradle/model/Model.java

     * <p>
     * It is an error for a {@code @Model} rule to return {@code void} and specify a non-managed type as the first parameter.
     * It is an error for a {@code @Model} rule to return {@code void} and for the first parameter to be annotated with {@link Path}.
     * It is an error for a {@code @Model} rule to specify a managed type as the return type.
    
     * <h3>Creating non-managed model elements</h3>
     * <p>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  10. pilot/pkg/config/kube/gateway/model.go

    package gateway
    
    import (
    	corev1 "k8s.io/api/core/v1"
    	k8s "sigs.k8s.io/gateway-api/apis/v1alpha2"
    
    	"istio.io/istio/pilot/pkg/credentials"
    	"istio.io/istio/pilot/pkg/model"
    	creds "istio.io/istio/pilot/pkg/model/credentials"
    	"istio.io/istio/pkg/config"
    	"istio.io/istio/pkg/config/schema/gvk"
    	"istio.io/istio/pkg/util/sets"
    )
    
    const (
    	gatewayAliasForAnnotationKey = "gateway.istio.io/alias-for"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:09 UTC 2024
    - 4K bytes
    - Viewed (0)
Back to top