Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 135 for mkdir (0.03 sec)

  1. regression-test/src/androidTest/java/okhttp/regression/compare/AndroidHttpEngineTest.kt

    @SdkSuppress(minSdkVersion = 34)
    class AndroidHttpEngineTest {
      val context = InstrumentationRegistry.getInstrumentation().context
    
      val cacheDir =
        context.cacheDir.resolve("httpEngine").also {
          it.mkdirs()
        }
      val engine =
        HttpEngine.Builder(context)
          .setEnableBrotli(true)
          .setStoragePath(cacheDir.path)
          .setEnableHttpCache(HttpEngine.Builder.HTTP_CACHE_DISK, 10_000_000)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Mar 24 13:19:43 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  2. 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">
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Jan 18 06:55:55 UTC 2021
    - 3.4K bytes
    - Viewed (0)
  3. cni/pkg/plugin/plugin_test.go

    			Name:      testNSName,
    			Namespace: "",
    			Labels:    map[string]string{},
    		},
    	}
    
    	return fakePod, fakeNS
    }
    
    func (mrdir *mockInterceptRuleMgr) Program(podName, netns string, redirect *Redirect) error {
    	mrdir.lastRedirect = append(mrdir.lastRedirect, redirect)
    	return nil
    }
    
    // returns the test server URL and a dispose func for the test server
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultWagonManagerTest.java

        }
    
        private Artifact createTestPomArtifact(String directory) throws IOException {
            File testData = getTestFile(directory);
            FileUtils.deleteDirectory(testData);
            testData.mkdirs();
    
            Artifact artifact = artifactFactory.createProjectArtifact("test", "test", "1.0");
            artifact.setFile(new File(testData, "test-1.0.pom"));
            assertFalse(artifact.getFile().exists());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  5. build-logic/buildquality/src/main/kotlin/gradlebuild/incubation/action/IncubatingApiReportWorkAction.kt

        private
        fun generateHtmlReport(versionToIncubating: VersionsToIncubating) {
            val htmlReport = parameters.htmlReportFile.get().asFile
            val title = parameters.title.get()
            htmlReport.parentFile.mkdirs()
            htmlReport.printWriter(Charsets.UTF_8).use { writer ->
                writer.println(
                    """<html lang="en">
        <head>
           <META http-equiv="Content-Type" content="text/html; charset=UTF-8">
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jun 28 08:29:28 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  6. .teamcity/.mvn/wrapper/MavenWrapperDownloader.java

            File outputFile = new File(baseDirectory.getAbsolutePath(), MAVEN_WRAPPER_JAR_PATH);
            if(!outputFile.getParentFile().exists()) {
                if(!outputFile.getParentFile().mkdirs()) {
                    System.out.println(
                            "- ERROR creating output directory '" + outputFile.getParentFile().getAbsolutePath() + "'");
                }
            }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Feb 26 01:48:39 UTC 2020
    - 4.8K bytes
    - Viewed (0)
  7. build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/tasks/BuildReceipt.kt

        fun generate() {
            if (promotionBuild.get()) {
                logger.logBuildVersion()
            }
            val file = receiptFolder.file(buildReceiptLocation).get().asFile.also {
                it.parentFile.mkdirs()
            }
            ReproduciblePropertiesWriter.store(
                Properties().apply {
                    put("commitId", commitId.getOrElse("HEAD"))
                    put("versionNumber", version.get())
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Sat Sep 30 16:17:28 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/io/DefaultModelWriter.java

            Objects.requireNonNull(output, "output cannot be null");
            Objects.requireNonNull(model, "model cannot be null");
    
            output.getParentFile().mkdirs();
    
            write(new XmlStreamWriter(Files.newOutputStream(output.toPath())), options, model);
        }
    
        @Override
        public void write(Writer output, Map<String, Object> options, Model model) throws IOException {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  9. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/io/DefaultSettingsWriter.java

            Objects.requireNonNull(output, "output cannot be null");
            Objects.requireNonNull(settings, "settings cannot be null");
    
            output.getParentFile().mkdirs();
    
            write(Files.newOutputStream(output.toPath()), options, settings);
        }
    
        @Override
        public void write(Writer output, Map<String, Object> options, Settings settings) throws IOException {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  10. build-logic/documentation/src/main/groovy/gradlebuild/docs/GenerateDocInfo.java

            // TODO: This could probably use InputChanges API
            File destinationDirectory = getDestinationDirectory().get().getAsFile();
            getFs().delete(spec -> spec.delete(destinationDirectory));
            destinationDirectory.mkdirs();
    
            Path adocDir = getDocumentationRoot().get().getAsFile().toPath();
            getDocumentationFiles().getAsFileTree().matching(pattern -> pattern.include("**/*.adoc")).forEach(adocFile -> {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Sep 28 06:35:34 UTC 2021
    - 2.9K bytes
    - Viewed (0)
Back to top