Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 9,781 for file (0.04 seconds)

  1. src/main/java/org/codelibs/fess/app/service/FileAuthenticationService.java

            // search
    
        }
    
        /**
         * Retrieves all file authentication configurations associated with a specific file configuration.
         *
         * @param fileConfigId the ID of the file configuration to retrieve authentications for
         * @return a list of file authentication configurations for the specified file configuration
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/FindBadMultiLangSnippets.java

        private void gatherBadSnippetsInFile(File file, Map<File, List<Error>> errors) {
            List<String> lines = new ArrayList<>();
            try (java.util.stream.Stream<String> stream = Files.lines(file.toPath())) {
                stream.forEach(lines::add);
            } catch (IOException ex) {
                // If a file can't be read, add an error
                addError(errors, file, new Error(1, "Failed to read file: " + ex.getMessage()));
                return;
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Aug 29 10:12:17 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/helper/ProtocolHelper.java

                        if (directory.exists() && directory.isDirectory()) {
                            final File[] files = directory.listFiles(File::isDirectory);
                            if (files != null) {
                                for (final File file : files) {
                                    final String name = file.getName();
                                    subPackages.add(name);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 13:59:25 GMT 2026
    - 12.4K bytes
    - Click Count (1)
  4. src/main/java/jcifs/SmbConstants.java

         * File is a directory
         */
        int ATTR_DIRECTORY = 0x10;
    
        /**
         * Files is marked to be archived
         */
        int ATTR_ARCHIVE = 0x20;
    
        // extended file attribute encoding(others same as above)
        /**
         * File is compressed.
         */
        int ATTR_COMPRESSED = 0x800;
        /**
         * File is a normal file.
         */
        int ATTR_NORMAL = 0x080;
        /**
         * File is temporary.
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 24 00:49:49 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  5. docs_src/request_files/tutorial001_02_py310.py

    from fastapi import FastAPI, File, UploadFile
    
    app = FastAPI()
    
    
    @app.post("/files/")
    async def create_file(file: bytes | None = File(default=None)):
        if not file:
            return {"message": "No file sent"}
        else:
            return {"file_size": len(file)}
    
    
    @app.post("/uploadfile/")
    async def create_upload_file(file: UploadFile | None = None):
        if not file:
            return {"message": "No upload file sent"}
        else:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri May 13 23:38:22 GMT 2022
    - 470 bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb/FileEntry.java

    package jcifs.smb;
    
    /**
     * Interface representing a file entry in an SMB directory listing.
     * Provides access to file metadata and attributes.
     *
     */
    public interface FileEntry {
    
        /**
         * Gets the file name.
         *
         * @return the file name
         */
        String getName();
    
        /**
         * Gets the file type.
         *
         * @return the file type
         */
        int getType();
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  7. src/main/java/jcifs/smb/SmbFileOutputStream.java

         *
         * @param file
         *            An <code>SmbFile</code> representing the file to write to
         * @param append
         *            Append to the end of file
         * @throws SmbException if an SMB error occurs
         */
    
        public SmbFileOutputStream(final SmbFile file, final boolean append) throws SmbException {
            this(file, append, append ? SmbConstants.O_CREAT | SmbConstants.O_WRONLY | SmbConstants.O_APPEND
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java

            }
        }
    
        private void cleanupTemporaryFiles(List<File> files) {
            for (File file : files) {
                // really don't care if it failed here only log warning
                if (!file.delete()) {
                    logger.warn("skip failed to delete temporary file : " + file.getAbsolutePath());
                    file.deleteOnExit();
                }
            }
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 29.9K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/core/io/ResourceUtil.java

        }
    
        /**
         * Returns the file of the resource.
         *
         * @param url
         *            The resource URL. Must not be {@literal null}.
         * @return The file.
         */
        public static File getFile(final URL url) {
            assertArgumentNotNull("url", url);
    
            final File file = new File(getFileName(url));
            if (file != null && file.exists()) {
                return file;
            }
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 14.7K bytes
    - Click Count (0)
  10. docs_src/request_files/tutorial001_03_an_py310.py

    from fastapi import FastAPI, File, UploadFile
    
    app = FastAPI()
    
    
    @app.post("/files/")
    async def create_file(file: Annotated[bytes, File(description="A file read as bytes")]):
        return {"file_size": len(file)}
    
    
    @app.post("/uploadfile/")
    async def create_upload_file(
        file: Annotated[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
    - 421 bytes
    - Click Count (0)
Back to Top