Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 247 for legalize (0.17 sec)

  1. subprojects/core/src/test/groovy/org/gradle/api/internal/tasks/DefaultRealizableTaskCollectionTest.groovy

            collection.visitDependencies(Stub(TaskDependencyResolveContext))
    
            then:
            registry.state("tasks.redundant") == ModelNode.State.Discovered
        }
    
        def "realize is idempotent"() {
            given:
            ModelRegistryHelper registry = new ModelRegistryHelper()
            ModelPath path = ModelPath.path("tasks")
    
            registry.registerInstance("tasks", "foo tasks")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 22 12:57:17 UTC 2020
    - 3.5K bytes
    - Viewed (0)
  2. platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/DiagnosticToProblemListener.java

         * Formats and prints the number of diagnostics of a given kind.
         * <p>
         * E.g.:
         * <pre>
         * 1 error
         * 2 warnings
         * </pre>
         *
         * @param logger the logger used to localize the message
         * @param kind the kind of diagnostic (error, or warn)
         * @param number the total number of diagnostics of the given kind
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 06:17:43 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/convert/CalendarConversionUtil.java

        /**
         * ローカルの{@link TimeZone}と{@link Locale}をもつ{@link Calendar}に変換します。
         *
         * @param calendar
         *            {@link Calendar}
         * @return 変換された{@link Calendar}
         */
        public static Calendar localize(final Calendar calendar) {
            assertArgumentNotNull("calendar", calendar);
            final Calendar localCalendar = Calendar.getInstance();
            localCalendar.setTimeInMillis(calendar.getTimeInMillis());
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  4. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/TestOptionsIntegrationSpec.groovy

            // Configure task through suite
            testing {
                suites {
                    test {
                        useJUnitJupiter()
                        targets.all {
                            // explicitly realize the task now to cause this configuration to run now
                            testTask.get().configure {
                                options {
                                    includeTags 'fast'
                                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  5. subprojects/core/src/test/groovy/org/gradle/api/internal/AbstractDomainObjectCollectionSpec.groovy

            _ * provider2.present >> true
            _ * provider3.type >> otherType
            container.addLater(provider1)
            container.addLater(provider2)
            container.addLater(provider3)
    
            // Realize all object of type `type`
            toList(container.withType(type))
    
            when:
            def didRemoved1 = container.remove(provider1)
    
            then:
            didRemoved1
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 13:46:07 UTC 2024
    - 52.4K bytes
    - Viewed (0)
  6. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/internal/tooling/GradleProjectBuilder.java

            }
    
            return gradleProject;
        }
    
        private static List<LaunchableGradleProjectTask> collectTasks(DefaultGradleProject owner, TaskContainerInternal tasks) {
            tasks.discoverTasks();
            tasks.realize();
    
            return tasks.getNames().stream()
                .map(tasks::findByName)
                .filter(Objects::nonNull)
                .map(task -> buildTask(owner, task))
                .collect(toList());
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 13:57:30 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/caching/ForceRealizedMetadataIntegrationTest.groovy

    class ForceRealizedMetadataIntegrationTest extends AbstractHttpDependencyResolutionTest {
        MavenHttpModule direct
        MavenHttpModule transitive
    
        def setup() {
            executer.withArgument("-Dorg.gradle.integtest.force.realize.metadata=true")
    
            buildFile << """
                plugins {
                    id 'java'
                }
    
                repositories {
                    maven { url '$mavenHttpRepo.uri' }
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  8. platforms/software/platform-base/src/test/groovy/org/gradle/platform/base/plugins/BinaryBasePluginTest.groovy

            when:
            dsl {
                apply plugin: BinaryBasePlugin
                model {
                    baseBinary(BinarySpec) {
                    }
                }
            }
    
            then:
            realize("baseBinary") instanceof BinarySpec
        }
    
        def "adds a 'binaries' container to the project model"() {
            when:
            dsl {
                apply plugin: BinaryBasePlugin
            }
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tf2xla/transforms/legalization_op_config_test.cc

      EXPECT_FALSE(IsDynamicPadderOp(TypeID::get<TF::ConstOp>()));
    }
    
    // This test is kind of odd. We go through all the Tensorflow types and check
    // whether they are legalized with MLIR, TF2XLA, or both. Ideally the sets are
    // disjoint, but until that happens, this tests ensures that the set doesn't
    // grow.
    TEST_F(LegalizationOpConfigTest, CountLoweringsSet) {
      int mlir_lowering_count = 0;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 30 03:31:01 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  10. platforms/software/test-suites-base/src/test/groovy/org/gradle/testing/base/plugins/TestingModelBasePluginTest.groovy

            dsl {
                apply plugin: TestingModelBasePlugin
                model {
                    baseComponent(TestSuiteSpec) {
                    }
                }
            }
    
            then:
            realize("baseComponent") instanceof TestSuiteSpec
        }
    
        def "adds a 'testSuites' container to the project model"() {
            when:
            dsl {
                apply plugin: TestingModelBasePlugin
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 17 16:02:04 UTC 2023
    - 2.9K bytes
    - Viewed (0)
Back to top