Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 54 for customCode (0.14 sec)

  1. platforms/jvm/code-quality/src/integTest/groovy/org/gradle/api/plugins/quality/pmd/PmdPluginVersionIntegrationTest.groovy

            !file("build/reports/pmd/main.xml").exists()
            file("htmlReport.html").exists()
        }
    
        def "use custom rule set files"() {
            assumeTrue(fileLockingIssuesSolved())
    
            customCode()
            file("customRuleSet.xml") << customRuleSet()
    
            buildFile << """
                pmd {
                    ruleSetFiles = files("customRuleSet.xml")
                }
            """
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 28 18:47:00 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/fixtures/CustomModel.java

     * limitations under the License.
     */
    
    package org.gradle.internal.cc.impl.fixtures;
    
    import java.io.Serializable;
    
    public class CustomModel implements Serializable {
        public int value;
    
        public CustomModel(int value) {
            this.value = value;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 840 bytes
    - Viewed (0)
  3. platforms/core-runtime/client-services/src/test/groovy/org/gradle/internal/daemon/client/serialization/CustomModel.java

     * limitations under the License.
     */
    
    package org.gradle.internal.daemon.client.serialization;
    
    import java.io.Serializable;
    
    public class CustomModel implements Serializable {
        public CustomModel(CustomAction customAction) {
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:53:31 UTC 2024
    - 816 bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/tests/post-quantize-dynamic-range.mlir

      %custom_1 = "tfl.custom"(%arg0, %dq_w) {custom_code = "CustomTestOp", custom_option = #tfl<const_bytes : "0x">} : (tensor<1x1x1x1xf32>, tensor<1024x1x1x1xf32>) -> tensor<*xf32>
      %custom_2 = "tfl.custom"(%arg0, %dq_w) {custom_code = "CustomTestOp", custom_option = #tfl<const_bytes : "0x">} : (tensor<1x1x1x1xf32>, tensor<1024x1x1x1xf32>) -> tensor<*xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r30/CustomToolingModelCrossVersionSpec.groovy

    class CustomThing implements Serializable {
    }
    
    class CustomBuilder implements ToolingModelBuilder {
        boolean canBuild(String modelName) {
            return modelName == '${CustomModel.name}'
        }
        Object buildAll(String modelName, Project project) {
            return new CustomModel()
        }
    }
    
    class CustomPlugin implements Plugin<Project> {
        @Inject
        CustomPlugin(ToolingModelBuilderRegistry registry) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  6. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r86/ProblemsServiceModelBuilderCrossVersionTest.groovy

                import ${Problems.name}
                import javax.inject.Inject
    
                allprojects {
                    apply plugin: CustomPlugin
                }
    
                class CustomModel implements Serializable {
                    CustomModel() {
                    }
                }
    
                class CustomBuilder implements ToolingModelBuilder {
                    private final Problems problemsService
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/ModelStreamingBuildAction.java

    import org.gradle.internal.cc.impl.fixtures.CustomModel;
    import org.gradle.tooling.BuildAction;
    import org.gradle.tooling.BuildController;
    import org.gradle.tooling.model.GradleProject;
    import org.gradle.tooling.model.eclipse.EclipseProject;
    
    class ModelStreamingBuildAction implements BuildAction<CustomModel> {
        @Override
        public CustomModel execute(BuildController controller) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/tests/legalize-tensorlist.mlir

      %0 = "tf.TensorListReserve"(%arg0, %arg1) : (tensor<i32>, tensor<i32>) -> tensor<!tf_type.variant<tensor<*xi32>>>
      // CHECK: %0 = "tfl.custom"(%arg0, %arg1) <{custom_code = "TensorListReserve", custom_option = #tfl<const_bytes : "0x02">}> : (tensor<i32>, tensor<i32>) -> tensor<!tf_type.variant<tensor<*xi32>>>
      func.return %0 : tensor<!tf_type.variant<tensor<*xi32>>>
    }
    
    // -----
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  9. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r86/ModelStreamingBuildAction.java

    import org.gradle.tooling.BuildController;
    import org.gradle.tooling.model.GradleProject;
    import org.gradle.tooling.model.eclipse.EclipseProject;
    
    class ModelStreamingBuildAction implements BuildAction<CustomModel> {
        @Override
        public CustomModel execute(BuildController controller) {
            EclipseProject eclipseProject = controller.getModel(EclipseProject.class);
            GradleProject gradleProject = controller.getModel(GradleProject.class);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 05 08:55:56 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  10. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r16/UnknownCustomModelFeedbackCrossVersionSpec.groovy

            when:
            withConnection {
                it.model(CustomModel.class).get()
            }
    
            then:
            UnknownModelException e = thrown()
            e.message == "No model of type 'CustomModel' is available in this build."
    
            and:
            failure.assertHasDescription("No builders are available to build a model of type 'org.gradle.integtests.tooling.r16.CustomModel'.")
            assertHasConfigureFailedLogging()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 1.8K bytes
    - Viewed (0)
Back to top