Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 333 for FileName (0.07 sec)

  1. src/main/java/jcifs/smb1/smb1/SmbComDelete.java

     */
    
    package jcifs.smb1.smb1;
    
    import jcifs.smb1.util.Hexdump;
    
    class SmbComDelete extends ServerMessageBlock {
    
        private int searchAttributes;
    
        SmbComDelete( String fileName ) {
            this.path = fileName;
            command = SMB_COM_DELETE;
            searchAttributes = ATTR_HIDDEN | ATTR_HIDDEN | ATTR_SYSTEM;
        }
    
        int writeParameterWordsWireFormat( byte[] dst, int dstIndex ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 1.9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/log/AdminLogAction.java

            final String filename = new String(Base64.getDecoder().decode(id), StandardCharsets.UTF_8).replace("..", "").replaceAll("\\s", "");
            final String logFilePath = systemHelper.getLogFilePath();
            if (StringUtil.isNotBlank(logFilePath) && isLogFilename(filename)) {
                final Path path = Paths.get(logFilePath, filename);
                return asStream(filename).contentTypeOctetStream().stream(out -> {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/project/LegacyLocalRepositoryManager.java

        }
    
        private String insertRepositoryKey(String filename, String repositoryKey) {
            String result;
            int idx = filename.indexOf('.');
            if (idx < 0) {
                result = filename + '-' + repositoryKey;
            } else {
                result = filename.substring(0, idx) + '-' + repositoryKey + filename.substring(idx);
            }
            return result;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  4. docs_src/request_files/tutorial001_an_py39.py

    
    @app.post("/files/")
    async def create_file(file: Annotated[bytes, File()]):
        return {"file_size": len(file)}
    
    
    @app.post("/uploadfile/")
    async def create_upload_file(file: UploadFile):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 322 bytes
    - Viewed (0)
  5. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/transforms/Minify.kt

        override fun transform(outputs: TransformOutputs) {
            for (entry in parameters.keepClassesByArtifact) {
                val fileName = artifact.get().asFile.name
                if (fileName.startsWith(entry.key)) {
                    val nameWithoutExtension = Files.getNameWithoutExtension(fileName)
                    minify(artifact.get().asFile, entry.value, outputs.file("$nameWithoutExtension-min.jar"))
                    return
                }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Sat Sep 30 16:17:28 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  6. docs_src/request_files/tutorial001_03_an.py

        return {"file_size": len(file)}
    
    
    @app.post("/uploadfile/")
    async def create_upload_file(
        file: Annotated[UploadFile, File(description="A file read as UploadFile")],
    ):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 431 bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/create/Smb2CreateResponse.java

        private byte[] fileId = new byte[16];
        private CreateContextResponse[] createContexts;
        private final String fileName;
    
    
        /**
         * @param config
         * @param name
         */
        public Smb2CreateResponse ( Configuration config, String name ) {
            super(config);
            this.fileName = name;
        }
    
    
        /**
         * {@inheritDoc}
         *
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/Trans2FindFirst2Response.java

                e.filename = readString( buffer, bufferIndex + 94, e.fileNameLength );
    
                /* lastNameOffset ends up pointing to either to
                 * the exact location of the filename(e.g. Win98)
                 * or to the start of the entry containing the
                 * filename(e.g. NT). Ahhrg! In either case the
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 8.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/PluginHelper.java

        protected Artifact getArtifactFromFileName(final ArtifactType artifactType, final String filename) {
            return getArtifactFromFileName(artifactType, filename, null);
        }
    
        public Artifact getArtifactFromFileName(final ArtifactType artifactType, final String filename, final String url) {
            final String baseName = StringUtils.removeEndIgnoreCase(filename, ".jar");
            final List<String> nameList = new ArrayList<>();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 01:47:10 UTC 2024
    - 17.8K bytes
    - Viewed (0)
  10. tests/test_datastructures.py

        def create_upload_file(file: UploadFile):
            testing_file_store.append(file)
            return {"filename": file.filename}
    
        client = TestClient(app)
        with path.open("rb") as file:
            response = client.post("/uploadfile/", files={"file": file})
        assert response.status_code == 200, response.text
        assert response.json() == {"filename": "test.txt"}
    
        assert testing_file_store
        assert testing_file_store[0].file.closed
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 18 12:36:40 UTC 2023
    - 2K bytes
    - Viewed (0)
Back to top