Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 47 for makedirs (0.19 sec)

  1. ci/official/containers/linux_arm64/devel.usertools/squash_testlogs.py

        )
        p.text += (
            "\n      Flakes make this pkg/pip_and_nonpip_tests target show "
            "as failing,"
        )
        p.text += "\n      but do not make the Kokoro invocation fail."
    
    os.makedirs(os.path.dirname(sys.argv[2]), exist_ok=True)
    result.update_statistics()
    Python
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Sep 18 19:00:37 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  2. ci/official/utilities/extract_resultstore_links.py

    def create_xml_file(result_store_dict: ResultDictType,
                        output_path: str,
                        verbose: bool = False):
      """Creates a JUnit-based XML file, with each invocation as a testcase."""
      os.makedirs(os.path.dirname(output_path), exist_ok=True)
      failure_count = 0
      error_count = 0
    
      date_time = datetime.datetime
      attrib = {'name': 'Bazel Invocations', 'time': '0.0',
    Python
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Nov 08 17:50:27 GMT 2023
    - 10.9K bytes
    - Viewed (0)
  3. maven-compat/src/test/java/org/apache/maven/artifact/testutils/TestFileManager.java

                Thread.sleep(20);
            } catch (InterruptedException e) {
                // ignore
            }
    
            File dir = new File(TEMP_DIR_PATH, baseFilename + System.currentTimeMillis());
    
            dir.mkdirs();
            markForDeletion(dir);
    
            return dir;
        }
    
        public synchronized File createTempFile() throws IOException {
            File tempFile = File.createTempFile(baseFilename, fileSuffix);
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  4. build-logic/documentation/src/test/groovy/gradlebuild/docs/FindBrokenInternalLinksTest.groovy

        private File docsRoot
        private File sampleDoc
        private File linkErrors
    
        private setup() {
            docsRoot = new File(projectDir, "docsRoot")
            new File(docsRoot, 'javadoc').mkdirs()
            sampleDoc = new File(docsRoot, "sample.adoc")
            linkErrors = new File(projectDir, "build/reports/dead-internal-links.txt")
    
    
            new File(projectDir, "build.gradle") << """
                plugins {
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Mon Nov 28 22:01:54 GMT 2022
    - 7.8K bytes
    - Viewed (0)
  5. build-logic/buildquality/src/test/kotlin/gradlebuild/testcleanup/TestFilesCleanupServiceTest.kt

    class TestFilesCleanupServiceTest {
        @TempDir
        lateinit var projectDir: File
    
        private
        fun File.mkdirsAndWriteText(text: String) {
            parentFile.mkdirs()
            writeText(text)
        }
    
        @BeforeEach
        fun setUp() {
            projectDir.resolve("settings.gradle.kts").writeText(
                """
                include(":failed-test-with-leftover")
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Wed Jun 14 12:35:52 GMT 2023
    - 10.6K bytes
    - Viewed (0)
  6. maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManagerTest.java

            File touchFile = updateCheckManager.getTouchfile(a);
            touchFile.delete();
    
            assertTrue(updateCheckManager.isUpdateRequired(a, remoteRepository));
    
            file.getParentFile().mkdirs();
            file.createNewFile();
            updateCheckManager.touch(a, remoteRepository, null);
    
            assertFalse(updateCheckManager.isUpdateRequired(a, remoteRepository));
    
            assertNull(
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  7. build-logic/buildquality/src/main/kotlin/gradlebuild/incubation/action/IncubatingApiReportAggregationWorkAction.kt

            else -> "Incubating since $version"
        }
    
        private
        fun generateReport(data: Map<String, ReportNameToProblems>) {
            val outputFile = parameters.htmlReportFile.get().asFile
            outputFile.parentFile.mkdirs()
            outputFile.printWriter(Charsets.UTF_8).use { writer ->
                writer.println(
                    """<html lang="en">
        <head>
           <META http-equiv="Content-Type" content="text/html; charset=UTF-8">
    HTML
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Mon Jan 18 06:55:55 GMT 2021
    - 3.4K bytes
    - Viewed (0)
  8. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt

        protected
        fun File.withFile(path: String, text: String = ""): File =
            resolve(path).apply {
                parentFile.mkdirs()
                writeText(text.trimIndent())
            }
    
        private
        fun File.withUniqueDirectory(prefixPath: String): File =
            Files.createTempDirectory(
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Mon Sep 25 13:49:37 GMT 2023
    - 16.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/tests/EnumTest.java

                  SmbFile f = new SmbFile(r, "enum-test/a/b/") ) {
    
                try ( SmbResource c = f.resolve("c/") ) {
                    if ( !c.exists() ) {
                        c.mkdirs();
                    }
                }
    
                Set<String> names = new HashSet<>();
                try ( CloseableIterator<SmbResource> chld = f.children() ) {
                    while ( chld.hasNext() ) {
    
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 25.5K bytes
    - Viewed (0)
  10. cmd/ftp-server-driver.go

    	stopFn := globalFtpMetrics.log(ctx, fromObjPath, toObjPath)
    	defer stopFn(err)
    
    	return NotImplemented{}
    }
    
    // MakeDir implements ftpDriver
    func (driver *ftpDriver) MakeDir(ctx *ftp.Context, objPath string) (err error) {
    	stopFn := globalFtpMetrics.log(ctx, objPath)
    	defer stopFn(err)
    
    	bucket, prefix := path2BucketObject(objPath)
    	if bucket == "" {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 12:23:42 GMT 2024
    - 13.6K bytes
    - Viewed (0)
Back to top