Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 187 for test_ir (0.15 sec)

  1. tensorflow/compiler/mlir/tf2xla/api/v2/legalize_tf_test.cc

    TEST(LegalizeTFTest, DumpsProducedHLO) {
      Env* env = Env::Default();
      std::string test_dir = testing::TmpDir();
      setenv("TF_DUMP_GRAPH_PREFIX", test_dir.c_str(), /*overwrite=*/1);
      setenv("TF_DUMP_GRAPH_NAME_FILTER", "*", 1);
      DEBUG_DATA_DUMPER()->LoadEnvvars();
    
      std::vector<std::string> files;
      TF_ASSERT_OK(env->GetChildren(test_dir, &files));
      int original_files_size = files.size();
    
      TF_ASSERT_OK_AND_ASSIGN(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 13 23:59:33 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  2. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/DestinationRootCopySpecCodec.kt

            write(value.delegate)
        }
    
        override suspend fun ReadContext.decode(): DestinationRootCopySpec {
            val destDir = read() as? File
            val delegate = read() as CopySpecInternal
            val spec = DestinationRootCopySpec(fileResolver, delegate)
            destDir?.let(spec::into)
            return spec
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  3. testing/performance/src/templates/project-with-source/build.xml

        </target>
    
        <target name="compile">
            <mkdir dir="\${classes.dir}"/>
            <javac srcdir="\${src.dir}" destdir="\${classes.dir}"/>
        </target>
    
        <target name="compileTest" depends="compile">
            <mkdir dir="\${test.classes.dir}"/>
            <javac srcdir="\${test.src.dir}" destdir="\${test.classes.dir}">
                <classpath>
                    <path location="\${classes.dir}"/>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2K bytes
    - Viewed (0)
  4. platforms/software/resources/src/test/groovy/org/gradle/internal/resource/DownloadedUriTextResourceTest.groovy

        private TestFile testDir
        private File downloadedFile
        private URI sourceUri
        private RelativeFilePathResolver resolver = Mock()
    
        private TextResource underTest
    
        @Rule
        public TestNameTestDirectoryProvider tmpDir = new TestNameTestDirectoryProvider(getClass());
    
        def setup() {
            testDir = tmpDir.createDir('dir')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  5. subprojects/core/src/test/groovy/org/gradle/api/internal/file/copy/DefaultCopySpecResolutionTest.groovy

    class DefaultCopySpecResolutionTest extends Specification {
    
        @Rule
        public TestNameTestDirectoryProvider testDir = new TestNameTestDirectoryProvider(getClass())
        def fileResolver = TestFiles.resolver(testDir.testDirectory)
        def fileCollectionFactory = TestFiles.fileCollectionFactory(testDir.testDirectory)
        def objectFactory = TestUtil.objectFactory()
        def instantiator = TestUtil.instantiatorFactory().decorateLenient()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 28 12:39:32 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  6. build-logic/performance-testing/src/main/groovy/gradlebuild/performance/generator/tasks/AbstractProjectGeneratorTask.groovy

                def project = projects.empty ? new TestProject("root", this) : new TestProject("project${projects.size()}", this, projects.size())
                projects << project
            }
    
            ant.delete(dir: destDir)
            destDir.mkdirs()
    
            gradlebuild.performance.generator.MavenRepository repo = generateDependencyRepository()
            generateRootProject()
            subprojects.each { subproject ->
                if (repo) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jul 07 13:12:26 UTC 2021
    - 11.5K bytes
    - Viewed (0)
  7. subprojects/core/src/test/groovy/org/gradle/api/internal/plugins/DefaultPluginRegistryTest.groovy

    import org.gradle.util.internal.GUtil
    import org.junit.Rule
    import spock.lang.Specification
    
    class DefaultPluginRegistryTest extends Specification {
        @Rule
        final TestNameTestDirectoryProvider testDir = new TestNameTestDirectoryProvider(getClass())
        def classLoader = Mock(ClassLoader)
        def classLoaderScope = Stub(ClassLoaderScope) {
            getLocalClassLoader() >> classLoader
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 12 07:52:06 UTC 2021
    - 13K bytes
    - Viewed (0)
  8. platforms/ide/ide-native/src/test/groovy/org/gradle/ide/visualstudio/tasks/internal/RelativeFileNameTransformerTest.groovy

    import static org.gradle.util.internal.TextUtil.normaliseFileSeparators
    
    class RelativeFileNameTransformerTest extends Specification {
        static rootDir = new File("root")
    
        @Rule
        TestNameTestDirectoryProvider testDir = new TestNameTestDirectoryProvider(getClass())
    
        def "returns canonical path where file outside of root"() {
            expect:
            transform(relative, file) == normaliseFileSeparators(file.canonicalPath)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_sql_databases/test_sql_databases_middleware_py39.py

    @pytest.fixture(scope="module")
    def client(tmp_path_factory: pytest.TempPathFactory):
        tmp_path = tmp_path_factory.mktemp("data")
        cwd = os.getcwd()
        os.chdir(tmp_path)
        test_db = Path("./sql_app.db")
        if test_db.is_file():  # pragma: nocover
            test_db.unlink()
        # Import while creating the client to create the DB after starting the test session
        from docs_src.sql_databases.sql_app_py39 import alt_main
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Wed Mar 13 19:07:10 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_sql_databases/test_sql_databases_py310.py

    def get_client(tmp_path_factory: pytest.TempPathFactory):
        tmp_path = tmp_path_factory.mktemp("data")
        cwd = os.getcwd()
        os.chdir(tmp_path)
        test_db = Path("./sql_app.db")
        if test_db.is_file():  # pragma: nocover
            test_db.unlink()
        # Import while creating the client to create the DB after starting the test session
        from docs_src.sql_databases.sql_app_py310 import main
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Wed Mar 13 19:07:10 UTC 2024
    - 16.5K bytes
    - Viewed (0)
Back to top