Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 135 for distfile (0.06 seconds)

  1. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/InternalDistributionBwcSetupPlugin.java

            }
        }
    
        private static class DistributionProjectArtifact {
            final File distFile;
            final File expandedDistDir;
    
            DistributionProjectArtifact(File distFile, File expandedDistDir) {
                this.distFile = distFile;
                this.expandedDistDir = expandedDistDir;
            }
        }
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Aug 18 09:11:28 GMT 2021
    - 14.5K bytes
    - Click Count (0)
  2. build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/InternalDistributionBwcSetupPluginFuncTest.groovy

            }
    
            tasks.register("resolveDistributionArchive") {
                inputs.files(configurations.dists)
                doLast {
                    configurations.dists.files.each {
                        println "distfile " + (it.absolutePath - project.rootDir.absolutePath)
                    }
                }
            }
            """
            when:
            def result = gradleRunner(":resolveDistributionArchive",
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Fri Sep 03 10:22:28 GMT 2021
    - 7.9K bytes
    - Click Count (0)
  3. samples/guide/src/main/java/okhttp3/recipes/kt/PostFile.kt

    import okhttp3.HttpUrl.Companion.toHttpUrl
    import okhttp3.MediaType.Companion.toMediaType
    import okhttp3.OkHttpClient
    import okhttp3.Request
    import okhttp3.RequestBody.Companion.asRequestBody
    
    class PostFile {
      private val client = OkHttpClient()
    
      fun run() {
        val file = File("README.md")
    
        val request =
          Request(
            url = "https://api.github.com/markdown/raw".toHttpUrl(),
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.4K bytes
    - Click Count (0)
  4. samples/guide/src/main/java/okhttp3/recipes/PostFile.java

    import java.io.File;
    import java.io.IOException;
    import okhttp3.MediaType;
    import okhttp3.OkHttpClient;
    import okhttp3.Request;
    import okhttp3.RequestBody;
    import okhttp3.Response;
    
    public final class PostFile {
      public static final MediaType MEDIA_TYPE_MARKDOWN
          = MediaType.get("text/x-markdown; charset=utf-8");
    
      private final OkHttpClient client = new OkHttpClient();
    
      public void run() throws Exception {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat May 25 18:02:55 GMT 2019
    - 1.5K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/io/Files.java

        return FilePredicate.IS_DIRECTORY;
      }
    
      /**
       * Returns a predicate that returns the result of {@link File#isFile} on input files.
       *
       * @since 15.0
       */
      public static Predicate<File> isFile() {
        return FilePredicate.IS_FILE;
      }
    
      private enum FilePredicate implements Predicate<File> {
        IS_DIRECTORY {
          @Override
          public boolean apply(File file) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jan 05 22:13:21 GMT 2026
    - 32.8K bytes
    - Click Count (0)
  6. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupService.kt

            reports.filter { it.isDirectory }.forEach {
                val destFile = rootBuildDir.resolve("report$projectPathName-${it.name}.zip")
                zip(destFile, it)
            }
    
            // Zip all files in project build directory into a single zip file to avoid publishing too many tiny files
            reports.filter { it.isFile && it.toPath().startsWith(projectBuildDirPath) }
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Feb 11 11:05:07 GMT 2026
    - 14.3K bytes
    - Click Count (1)
  7. src/test/java/org/codelibs/fess/app/web/base/FessAdminActionTest.java

            System.setProperty("fess.var.path", varDir.toString());
            final File testFile = new File(varDir.toFile(), "data/test.txt");
            testFile.getParentFile().mkdirs();
            testFile.createNewFile();
    
            // Should not throw
            action.validateFilePath(testFile.getAbsolutePath());
        }
    
        @Test
        public void test_validateFilePath_pathOutsideVarPath() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 22.7K bytes
    - Click Count (0)
  8. src/test/java/jcifs/smb/SmbFileTest.java

            }
    
            @Test
            void testListFiles() throws SmbException {
                // Arrange
                doReturn(new SmbFile[0]).when(smbFile).listFiles();
    
                // Act
                SmbFile[] files = smbFile.listFiles();
    
                // Assert
                assertNotNull(files);
                assertEquals(0, files.length);
            }
    
            @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.8K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java

        // Test FilePurgeVisitor
        @Test
        public void test_FilePurgeVisitor() throws IOException {
            // Create a test file
            File testFile = new File(tempDir, "_1/_2/test.png");
            testFile.getParentFile().mkdirs();
            testFile.createNewFile();
            testFile.setLastModified(System.currentTimeMillis() - 2000L);
    
            // Since FilePurgeVisitor is an inner class and we can't directly test it,
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 20.4K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/io/IoTestCase.java

        if (testFileUrl == null) {
          throw new RuntimeException("unable to locate testdata directory");
        }
    
        if (testFileUrl.getProtocol().equals("file")) {
          try {
            File testFile = new File(testFileUrl.toURI());
            testDir = testFile.getParentFile(); // the testdata directory
          } catch (Exception ignore) {
            // probably URISyntaxException or IllegalArgumentException
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 5.6K bytes
    - Click Count (0)
Back to Top