Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for model1 (0.25 sec)

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

            outputContains("creating model with parameter='fetch1' for root project 'root'")
            outputContains("creating model with parameter='fetch1' for project ':a'")
            outputContains("creating model with parameter='fetch1' for project ':b'")
    
            and:
            model1.keySet() ==~ [":", ":a", ":b"]
            model1.values().every { it.size() == 1 }
    
            model1[":"][0].message == "fetch1 It works from project :"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiGradleLifecycleIntegrationTest.groovy

            """
    
            withIsolatedProjects()
            def model3 = runBuildAction(new FetchCustomModelForEachProject())
    
            then:
            model3.size() == 2
            model3[0].message == "updated message for root"
            model3[1].message == "It works from project :a"
    
            fixture.assertStateUpdated {
                fileChanged("build.gradle")
                projectConfigured(":buildSrc")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiCompositeBuildsIntegrationTest.groovy

                modelsCreated(":", ":a")
            }
    
            when:
            executer.withArguments(ENABLE_CLI)
            def model2 = runBuildAction(new FetchCustomModelForEachProjectInTree())
    
            then:
            model2.size() == 2
            model2[0].message == "It works from project :"
            model2[1].message == "It works from project :a"
    
            and:
            fixture.assertStateLoaded()
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiStreamingBuildActionIntegrationTest.groovy

            and:
            (model.left as GradleProject).name == "hello-world"
            (model.right as EclipseProject).gradleProject.name == "hello-world"
    
            and:
            def streamedModels = listener1.models as List<CustomModel>
            streamedModels.size() == 2
            streamedModels[0].value == 1
            streamedModels[1].value == 2
    
    
            when:
            withIsolatedProjects()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheToolingApiInvocationIntegrationTest.groovy

            when:
            def model = runPhasedBuildAction(new SomeToolingModelBuildAction(), new SomeToolingModelBuildAction())
    
            then:
            model.left.message == "It works from project :"
            model.right.message == "It works from project :"
            outputContains("script log statement")
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  6. docs/ko/docs/tutorial/body-nested-models.md

    ```Python hl_lines="15"
    {!../../../docs_src/body_nested_models/tutorial008.py!}
    ```
    
    ## 어디서나 편집기 지원
    
    그리고 어디서나 편집기 지원을 받을수 있습니다.
    
    리스트 내부 항목의 경우에도:
    
    <img src="/img/tutorial/body-nested-models/image01.png">
    
    Pydantic 모델 대신에 `dict`를 직접 사용하여 작업할 경우, 이러한 편집기 지원을 받을수 없습니다.
    
    하지만 수신한 딕셔너리가 자동으로 변환되고 출력도 자동으로 JSON으로 변환되므로 걱정할 필요는 없습니다.
    
    ## 단독 `dict`의 본문
    
    일부 타입의 키와 다른 타입의 값을 사용하여 `dict`로 본문을 선언할 수 있습니다.
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Wed Jun 12 12:49:35 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiParallelModelQueryIntegrationTest.groovy

            when:
            withIsolatedProjects()
            def models = runBuildAction(new FetchCustomModelForSameProjectInParallel())
    
            then:
            // Ensure nested requests are all executed and not cached individually
            outputContains("Executing nested-1")
            outputContains("Executing nested-2")
    
            and:
            models.size == 2
            models[0].message == "It works from project :"
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/models/IntermediateModelController.kt

    import org.gradle.internal.model.CalculatedValueContainerFactory
    import org.gradle.internal.serialize.Decoder
    import org.gradle.internal.serialize.Encoder
    import org.gradle.tooling.provider.model.UnknownModelException
    import org.gradle.tooling.provider.model.internal.ToolingModelParameterCarrier
    import org.gradle.util.Path
    
    
    /**
     * Responsible for loading and storing intermediate models used during tooling API build action execution.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/models/IntermediateModel.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.internal.cc.impl.models
    
    import org.gradle.internal.extensions.stdlib.uncheckedCast
    import org.gradle.tooling.provider.model.UnknownModelException
    
    
    sealed class IntermediateModel {
        abstract fun <T> result(): T?
    
        class NoModel(val message: String) : IntermediateModel() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apimachinery/go.mod

    // This is a generated file. Do not edit directly.
    
    module k8s.io/apimachinery
    
    go 1.22.0
    
    require (
    	github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5
    	github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc
    	github.com/fxamacker/cbor/v2 v2.7.0-beta
    	github.com/gogo/protobuf v1.3.2
    	github.com/golang/protobuf v1.5.4
    	github.com/google/gnostic-models v0.6.8
    	github.com/google/go-cmp v0.6.0
    	github.com/google/gofuzz v1.2.0
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 14:02:04 UTC 2024
    - 2.2K bytes
    - Viewed (0)
Back to top