Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 161 - 170 of 9,781 for file (0.04 seconds)

  1. guava-tests/test/com/google/common/io/FilesFileTraverserTest.java

        File dir2 = newFile("dir-1/dir-2");
    
        assertThat(Files.fileTraverser().breadthFirst(rootDir))
            .containsExactly(rootDir, fileA, fileB, dir1, dir2);
      }
    
      @CanIgnoreReturnValue
      private File newDir(String name) {
        File file = new File(rootDir, name);
        file.mkdir();
        return file;
      }
    
      @CanIgnoreReturnValue
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 3.4K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/util/ThreadDumpUtilTest.java

            // Create a temporary file for testing
            Path tempFile = Files.createTempFile("test-thread-dump", ".txt");
    
            try {
                ThreadDumpUtil.writeThreadDump(tempFile.toString());
    
                // Verify the file was created and contains content
                assertTrue("Thread dump file should exist", Files.exists(tempFile));
                assertTrue("Thread dump file should not be empty", Files.size(tempFile) > 0);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 15.6K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/app/web/api/admin/fileconfig/ApiAdminFileconfigAction.java

    import jakarta.annotation.Resource;
    
    /**
     * API action for admin file configuration management.
     * Provides RESTful API endpoints for managing file crawling configuration settings in the Fess search engine.
     * File configurations define settings for crawling file systems, FTP servers, and other file-based data sources.
     *
     */
    public class ApiAdminFileconfigAction extends FessApiAdminAction {
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  4. build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/test/rest/RestResourcesPluginFuncTest.groovy

            file("/build/restResources/yamlSpecs/rest-api-spec/api/" + apiCore1).exists()
            file("/build/restResources/yamlSpecs/rest-api-spec/api/" + apiCore2).exists()
            file("/build/restResources/yamlSpecs/rest-api-spec/api/" + apiXpack).exists()
            file("/build/restResources/yamlTests/rest-api-spec/test/" + coreTest).exists()
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jul 20 21:05:16 GMT 2021
    - 7K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/core/io/WriterUtil.java

        }
    
        /**
         * Creates a {@link Writer} to output to a file with the default encoding.
         *
         * @param file the file (must not be {@literal null})
         * @return a {@link Writer} to output to the file
         */
        public static Writer create(final File file) {
            assertArgumentNotNull("file", file);
    
            try {
                return new FileWriter(file);
            } catch (final IOException e) {
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 3K bytes
    - Click Count (0)
  6. docs_src/request_files/tutorial001_03_py310.py

    from fastapi import FastAPI, File, UploadFile
    
    app = FastAPI()
    
    
    @app.post("/files/")
    async def create_file(file: bytes = File(description="A file read as bytes")):
        return {"file_size": len(file)}
    
    
    @app.post("/uploadfile/")
    async def create_upload_file(
        file: UploadFile = File(description="A file read as UploadFile"),
    ):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 371 bytes
    - Click Count (0)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/FindMissingDocumentationFiles.java

     * limitations under the License.
     */
    
    package gradlebuild.docs;
    
    import java.io.File;
    import java.io.FileReader;
    import java.io.IOException;
    import java.nio.file.Files;
    import java.nio.file.Path;
    import java.nio.file.Paths;
    import java.util.HashSet;
    import java.util.Set;
    import java.util.List;
    import java.util.stream.Stream;
    import java.util.ArrayList;
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Aug 21 15:38:58 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/internal/io/FaultyFileSystem.kt

      }
    
      override fun appendingSink(
        file: Path,
        mustExist: Boolean,
      ): Sink = FaultySink(super.appendingSink(file, mustExist), file)
    
      override fun sink(
        file: Path,
        mustCreate: Boolean,
      ): Sink = FaultySink(super.sink(file, mustCreate), file)
    
      inner class FaultySink(
        sink: Sink,
        private val file: Path,
      ) : ForwardingSink(sink) {
        override fun write(
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  9. compat/maven-builder-support/src/main/java/org/apache/maven/building/FileSource.java

         * Creates a new source backed by the specified file.
         *
         * @param file The file, must not be {@code null}.
         * @deprecated Use {@link #FileSource(Path)} instead.
         */
        @Deprecated
        public FileSource(File file) {
            this(Objects.requireNonNull(file, "file cannot be null").toPath());
        }
    
        /**
         * Creates a new source backed by the specified file.
         *
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jan 15 18:51:29 GMT 2025
    - 3K bytes
    - Click Count (0)
  10. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t12scm/ProjectInheritanceTest.java

        @Test
        void testScmInfoCalculatedCorrectlyOnParentAndChildRead() throws Exception {
            File localRepo = getLocalRepositoryPath();
    
            File pom0 = new File(localRepo, "p0/pom.xml");
            File pom0Basedir = pom0.getParentFile();
            File pom1 = new File(pom0Basedir, "modules/p1/pom.xml");
    
            // load the child project, which inherits from p0...
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sun Mar 30 23:08:36 GMT 2025
    - 3K bytes
    - Click Count (0)
Back to Top