Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,386 for myModel (0.26 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. 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)
  3. 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)
  4. docs/en/docs/tutorial/response-model.md

    But if we use the same model for another *path operation*, we could be sending our user's passwords to every client.
    
    !!! danger
        Never store the plain password of a user or send it in a response like this, unless you know all the caveats and you know what you are doing.
    
    ## Add an output model
    
    We can instead create an input model with the plaintext password and an output model without it:
    
    === "Python 3.10+"
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/modelRules/basicRuleSourcePlugin/tests/basicRuleSourcePlugin-model-task.out

              | Creator: 	Project.<init>.tasks.javaToolchains()
              | Rules:
                 ⤷ copyToTaskContainer
        + model
              | Type:   	org.gradle.api.reporting.model.ModelReport
              | Value:  	task ':model'
              | Creator: 	Project.<init>.tasks.model()
              | Rules:
                 ⤷ copyToTaskContainer
        + outgoingVariants
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 15:10:38 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/snippets/customModel/internalViews/tests/softwareModelExtend-iv-model.out

              | Creator: 	Project.<init>.tasks.javaToolchains()
              | Rules:
                 ⤷ copyToTaskContainer
        + model
              | Type:   	org.gradle.api.reporting.model.ModelReport
              | Value:  	task ':model'
              | Creator: 	Project.<init>.tasks.model()
              | Rules:
                 ⤷ copyToTaskContainer
        + outgoingVariants
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 13:33:19 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  7. pkg/config/model.go

    John Howard <******@****.***> 1716996669 -0700
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 15:31:09 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. plugin/pkg/admission/noderestriction/admission_test.go

    		}
    	})
    }
    
    func Test_nodePlugin_Admit(t *testing.T) {
    	var (
    		mynode = &user.DefaultInfo{Name: "system:node:mynode", Groups: []string{"system:nodes"}}
    		bob    = &user.DefaultInfo{Name: "bob"}
    
    		mynodeObjMeta    = metav1.ObjectMeta{Name: "mynode", UID: "mynode-uid"}
    		mynodeObj        = &api.Node{ObjectMeta: mynodeObjMeta}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 73.2K bytes
    - Viewed (0)
Back to top