Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 702 for myModel (0.27 sec)

  1. 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)
  2. 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)
  3. architecture/build-state-model.md

    # Build state model
    
    The Gradle daemon tracks state for various elements. These are arranged in a hierarchy:
    
    ```mermaid
      graph TD
    
      process["build process"]
      
      session["build session"]
      process --> session
      
      build_tree["build tree"]
      session --> build_tree
      
      build1["root build"]
      build_tree --> build1
      
      project1["root project"]
      build1 --> project1
      
      project2["project"]
      build1 --> project2
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 13:39:49 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  4. src/cmd/go/internal/work/security_test.go

    	{"-F-dir"},
    	{"-I@dir"},
    	{"-I-dir"},
    	{"-O@1"},
    	{"-Wa,-foo"},
    	{"-W@foo"},
    	{"-Wp,-DX,-D@X"},
    	{"-Wp,-UX,-U@X"},
    	{"-g@gdb"},
    	{"-g-gdb"},
    	{"-march=@dawn"},
    	{"-march=-dawn"},
    	{"-mcmodel=@model"},
    	{"-mlarge-data-threshold=@12"},
    	{"-std=@c99"},
    	{"-std=-c99"},
    	{"-x@c"},
    	{"-x-c"},
    	{"-D", "@foo"},
    	{"-D", "-foo"},
    	{"-I", "@foo"},
    	{"-I", "-foo"},
    	{"-I", "=@obj"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:47:34 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  5. maven-model/pom.xml

        <version>4.0.0-beta-4-SNAPSHOT</version>
      </parent>
    
      <artifactId>maven-model</artifactId>
    
      <name>Maven Model</name>
      <description>Model for Maven POM (Project Object Model)</description>
    
      <dependencies>
        <dependency>
          <groupId>org.apache.maven</groupId>
          <artifactId>maven-api-model</artifactId>
        </dependency>
        <dependency>
          <groupId>org.apache.maven</groupId>
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed May 22 14:07:09 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  6. pilot/pkg/serviceregistry/util/workloadinstances/index_test.go

    	wi1 := &model.WorkloadInstance{
    		Name:      selector.Name,
    		Namespace: selector.Namespace,
    		Endpoint: &model.IstioEndpoint{
    			Address: "2.2.2.2",
    			Labels:  map[string]string{"app": "wle"}, // should match
    		},
    	}
    
    	wi2 := &model.WorkloadInstance{
    		Name:      "same-ip",
    		Namespace: selector.Namespace,
    		Endpoint: &model.IstioEndpoint{
    			Address: "2.2.2.2",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 5K bytes
    - Viewed (0)
  7. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r72/CompositeBuildCrossVersionSpec.groovy

            def model = withConnection {
                it.getModel(GradleBuild)
            }
    
            expect:
            model.includedBuilds.size() == 1
            def included = model.includedBuilds[0]
            included.buildIdentifier.rootDir == file("child")
            included.includedBuilds.size() == 1
            included.editableBuilds.empty
    
            model.editableBuilds.size() == 2
    
            model.editableBuilds[0].is(included)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  8. maven-model-builder/src/main/java/org/apache/maven/model/validation/ModelValidator.java

     * under the License.
     */
    package org.apache.maven.model.validation;
    
    import java.util.List;
    
    import org.apache.maven.model.Model;
    import org.apache.maven.model.Profile;
    import org.apache.maven.model.building.ModelBuildingRequest;
    import org.apache.maven.model.building.ModelProblemCollector;
    
    /**
     * Checks the model for missing or invalid values.
     *
     */
    public interface ModelValidator {
        /**
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sat May 18 14:09:22 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  9. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r30/CustomToolingModelCrossVersionSpec.groovy

        }
    
        def "retains underlying object identity in model returned to client"() {
            when:
            def model = withConnection { connection ->
                connection.model(CustomModel).get()
            }
    
            then:
            model.thing.is(model.thing)
            model.things[0].is(model.thing)
            model.thingsByName.child.is(model.thing)
            model.findThing("child").is(model.thing)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  10. pilot/pkg/xds/discovery_test.go

    	allTriggers := []model.TriggerReason{
    		model.EndpointUpdate,
    		model.ConfigUpdate,
    		model.ServiceUpdate,
    		model.ProxyUpdate,
    		model.GlobalUpdate,
    		model.UnknownTrigger,
    		model.DebugTrigger,
    		model.SecretTrigger,
    		model.NetworksTrigger,
    		model.ProxyRequest,
    		model.NamespaceUpdate,
    	}
    	// Number of (simulated) proxies
    	proxies := 500
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 00:26:45 UTC 2024
    - 9.2K bytes
    - Viewed (0)
Back to top