- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 308 for mkdirs (0.11 sec)
-
fess-crawler/src/test/java/org/codelibs/fess/crawler/util/CrawlerWebServer.java
} } protected static File createDocRoot(final int count) { try { final File tempDir = File.createTempFile("crawlerDocRoot", ""); tempDir.delete(); tempDir.mkdirs(); // robots.txt StringBuilder buf = new StringBuilder(); buf.append("User-agent: *").append('\n'); buf.append("Disallow: /admin/").append('\n');
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 6.3K bytes - Viewed (0) -
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) -
fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/util/CrawlerWebServer.java
} } protected static File createDocRoot(final int count) { try { final File tempDir = File.createTempFile("crawlerDocRoot", ""); tempDir.delete(); tempDir.mkdirs(); final StringBuilder buf = new StringBuilder(); buf.append("User-agent: *").append('\n'); buf.append("Disallow: /admin/").append('\n');
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Nov 07 04:44:10 UTC 2024 - 5K bytes - Viewed (0) -
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 {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Aug 21 08:08:05 UTC 2024 - 8.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/DictionaryManagerTest.java
private File file1; @Override public void setUp() throws Exception { super.setUp(); testDir = File.createTempFile("synonymtest", "_dir"); testDir.delete(); testDir.mkdirs(); file1 = new File(testDir, "synonym.txt"); FileUtil.writeBytes(file1.getAbsolutePath(), "abc=>123\nxyz,890".getBytes(Constants.UTF_8)); } @Override public void tearDown() throws Exception {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 2.4K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
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)