Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 92 for createFile (0.06 seconds)

  1. docs/smb3-features/02-persistent-handles-design.md

                this.createGuid = guid;
                this.fileId = Arrays.copyOf(fileId, 16);
                this.type = type;
                this.timeout = timeout;
                this.createTime = System.currentTimeMillis();
                this.lastAccessTime = createTime;
                this.leaseKey = leaseKey;
                this.reconnecting = false;
            }
            
            public boolean isExpired() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 31.6K bytes
    - Click Count (0)
  2. src/main/java/jcifs/internal/smb1/net/SmbShareInfo.java

            return SmbConstants.TYPE_SHARE;
        }
    
        @Override
        public int getAttributes() {
            return SmbConstants.ATTR_READONLY | SmbConstants.ATTR_DIRECTORY;
        }
    
        @Override
        public long createTime() {
            return 0L;
        }
    
        @Override
        public long lastModified() {
            return 0L;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.smb.FileEntry#lastAccess()
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb1/smb1/SmbComQueryInformationResponseTest.java

        }
    
        /**
         * Test of getCreateTime method, of class SmbComQueryInformationResponse.
         */
        @Test
        public void testGetCreateTime() {
            // Initially, lastWriteTime is 0, so createTime should be just the offset.
            assertEquals(serverTimeZoneOffset, response.getCreateTime());
        }
    
        /**
         * Test of getLastWriteTime method, of class SmbComQueryInformationResponse.
         */
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  4. src/main/java/jcifs/internal/fscc/FileBothDirectoryInfo.java

        public String getFilename() {
            return this.filename;
        }
    
        @Override
        public int getAttributes() {
            return this.extFileAttributes;
        }
    
        @Override
        public long createTime() {
            return this.creationTime;
        }
    
        @Override
        public long lastModified() {
            return this.lastWriteTime;
        }
    
        @Override
        public long lastAccess() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6K bytes
    - Click Count (0)
  5. src/main/java/jcifs/SmbResource.java

         * <code>createTime()</code>, <code>lastModified()</code>, <code>lastAccess()</code> methods.
         * <br>
         * This method does not apply to workgroups, servers, or shares.
         *
         * @see #setCreateTime
         * @see #setLastAccess
         * @see #setLastModified
         *
         * @param createTime
         *            the create time as milliseconds since Jan 1, 1970
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 28K bytes
    - Click Count (1)
  6. src/main/java/jcifs/smb/SmbFile.java

             * why? am I going around in circles?
             * this.type = type == TYPE_WORKGROUP ? 0 : type;
             */
            this.fileLocator.updateType(type);
            this.attributes = attributes;
            this.createTime = createTime;
            this.lastModified = lastModified;
            this.lastAccess = lastAccess;
            this.size = size;
            this.isExists = true;
    
            if (loadedAttributes) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 103.2K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationResponseTest.java

                Trans2QueryPathInformationResponse.SmbQueryFileBasicInfo basicInfo = response.new SmbQueryFileBasicInfo();
    
                basicInfo.attributes = 0x20; // Archive attribute
                basicInfo.createTime = 1000000L;
                basicInfo.lastWriteTime = 2000000L;
                basicInfo.lastAccessTime = 1500000L;
                basicInfo.changeTime = 2500000L;
    
                assertEquals(0x20, basicInfo.getAttributes());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  8. fastapi/datastructures.py

        ## Example
    
        ```python
        from typing import Annotated
    
        from fastapi import FastAPI, File, UploadFile
    
        app = FastAPI()
    
    
        @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):
            return {"filename": file.filename}
        ```
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 5.2K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb/NetServerFileEntryAdapterIteratorTest.java

            public int getType() {
                return type;
            }
    
            @Override
            public int getAttributes() {
                return 0;
            }
    
            @Override
            public long createTime() {
                return 0;
            }
    
            @Override
            public long lastModified() {
                return 0;
            }
    
            @Override
            public long lastAccess() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb1/smb1/Trans2FindFirst2ResponseTest.java

            assertEquals("test.txt", info.getName());
            assertEquals(SmbFile.TYPE_FILESYSTEM, info.getType());
            assertEquals(SmbFile.ATTR_ARCHIVE, info.getAttributes());
            assertEquals(1672531200000L, info.createTime());
            assertEquals(1672617600000L, info.lastModified());
            assertEquals(1024, info.length());
        }
    
        @Test
        void testSmbFindFileBothDirectoryInfo_ToString() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.3K bytes
    - Click Count (0)
Back to Top