Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 76 for createFile (0.1 sec)

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

        class SmbQueryFileBasicInfo implements Info {
            long createTime;
            long lastAccessTime;
            long lastWriteTime;
            long changeTime;
            int attributes;
    
            public int getAttributes() {
                return attributes;
            }
            public long getCreateTime() {
                return createTime;
            }
            public long getLastWriteTime() {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 5.4K bytes
    - Viewed (0)
  2. cmd/config.go

    		if err != nil {
    			return nil, err
    		}
    		for _, obj := range res.Objects {
    			cfgEntry := madmin.ConfigHistoryEntry{
    				RestoreID:  strings.TrimSuffix(path.Base(obj.Name), kvPrefix),
    				CreateTime: obj.ModTime, // ModTime is createTime for config history entries.
    			}
    			if withData {
    				data, err := readConfig(ctx, objAPI, obj.Name)
    				if err != nil {
    					// ignore history file if not readable.
    					continue
    				}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 23 10:07:06 UTC 2023
    - 6K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/UrlQueueImpl.java

         */
        @Override
        public Long getCreateTime() {
            return createTime;
        }
    
        /*
         * (non-Javadoc)
         *
         * @see org.codelibs.fess.crawler.entity.UrlQueue#setCreateTime(java.sql.Long)
         */
        @Override
        public void setCreateTime(final Long createTime) {
            this.createTime = createTime;
        }
    
        /*
         * (non-Javadoc)
         *
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Mon Nov 04 07:44:18 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/AccessResultImpl.java

         */
        @Override
        public Long getCreateTime() {
            return createTime;
        }
    
        /*
         * (non-Javadoc)
         *
         * @see
         * org.codelibs.fess.crawler.entity.AccessResult#setCreateTime(java.sql.Long)
         */
        @Override
        public void setCreateTime(final Long createTime) {
            this.createTime = createTime;
        }
    
        /*
         * (non-Javadoc)
         *
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/Trans2SetFileInformation.java

        private int fid;
        private int attributes;
        private long createTime, lastWriteTime;
    
        Trans2SetFileInformation( int fid, int attributes, long createTime, long lastWriteTime ) {
            this.fid = fid;
            this.attributes = attributes;
            this.createTime = createTime;
            this.lastWriteTime = lastWriteTime;
            command = SMB_COM_TRANSACTION2;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 3.1K bytes
    - Viewed (0)
  6. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/entity/OpenSearchUrlQueue.java

                builder.field(DEPTH, depth);
            }
            if (lastModified != null) {
                builder.field(LAST_MODIFIED, lastModified);
            }
            if (createTime != null) {
                builder.field(CREATE_TIME, createTime);
            }
            builder.field(WEIGHT, weight);
            builder.endObject();
            return builder;
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  7. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/entity/OpenSearchAccessResult.java

                builder.field(METHOD, method);
            }
            if (mimeType != null) {
                builder.field(MIME_TYPE, mimeType);
            }
            if (createTime != null) {
                builder.field(CREATE_TIME, createTime);
            }
            if (executionTime != null) {
                builder.field(EXECUTION_TIME, executionTime);
            }
            if (contentLength != null) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/trans2/Trans2SetFileInformation.java

         * 
         * @param config
         * @param fid
         * @param attributes
         * @param createTime
         * @param lastWriteTime
         * @param lastAccessTime
         */
        public Trans2SetFileInformation ( Configuration config, int fid, int attributes, long createTime, long lastWriteTime, long lastAccessTime ) {
            this(config, fid, new FileBasicInfo(createTime, lastAccessTime, lastWriteTime, 0L, attributes | 0x80));
        }
    
    
        @Override
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.6K bytes
    - Viewed (0)
  9. docs_src/request_forms_and_files/tutorial001_an.py

    from fastapi import FastAPI, File, Form, UploadFile
    from typing_extensions import Annotated
    
    app = FastAPI()
    
    
    @app.post("/files/")
    async def create_file(
        file: Annotated[bytes, File()],
        fileb: Annotated[UploadFile, File()],
        token: Annotated[str, Form()],
    ):
        return {
            "file_size": len(file),
            "token": token,
            "fileb_content_type": fileb.content_type,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 396 bytes
    - Viewed (0)
  10. docs_src/request_files/tutorial001_03_an_py39.py

    from typing import Annotated
    
    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")],
    ):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 421 bytes
    - Viewed (0)
Back to top