Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 44 for createFile (0.47 sec)

  1. cmd/storage-rest-server.go

    	fileSize, err := strconv.Atoi(fileSizeStr)
    	if err != nil {
    		s.writeErrorResponse(w, err)
    		return
    	}
    
    	done, body := keepHTTPReqResponseAlive(w, r)
    	done(s.getStorage().CreateFile(r.Context(), origvolume, volume, filePath, int64(fileSize), body))
    }
    
    // DeleteVersionHandler delete updated metadata.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 44.8K bytes
    - Viewed (0)
  2. cmd/erasure-object.go

    			// prematurely closed and we do not find any xl.meta or
    			// part.1's - in such a scenario we must return as if client
    			// disconnected. This means that erasure.Encode() CreateFile()
    			// did not do anything.
    			return ObjectInfo{}, IncompleteBody{Bucket: bucket, Object: object}
    		}
    		return ObjectInfo{}, toObjectErr(err, bucket, object)
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  3. cmd/bucket-replication.go

    	}
    
    	globalLocalDrivesMu.RLock()
    	localDrives := cloneDrives(globalLocalDrives)
    	globalLocalDrivesMu.RUnlock()
    
    	for _, localDrive := range localDrives {
    		r := newReader()
    		err := localDrive.CreateFile(ctx, "", minioMetaBucket, pathJoin(replicationMRFDir, globalLocalNodeNameHex+".bin"), -1, r)
    		r.Close()
    		if err == nil {
    			break
    		}
    	}
    }
    
    // save mrf entries to nodenamehex.bin
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 112.2K bytes
    - Viewed (1)
  4. src/main/java/jcifs/internal/fscc/FileBasicInfo.java

            dstIndex += 4;
            return dstIndex - start;
        }
    
    
        @Override
        public String toString () {
            return new String(
                "SmbQueryFileBasicInfo[" + "createTime=" + new Date(this.createTime) + ",lastAccessTime=" + new Date(this.lastAccessTime)
                        + ",lastWriteTime=" + new Date(this.lastWriteTime) + ",changeTime=" + new Date(this.changeTime) + ",attributes=0x"
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 4.2K bytes
    - Viewed (0)
  5. 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() {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 5.4K bytes
    - Viewed (0)
  6. 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
    				}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Aug 23 10:07:06 GMT 2023
    - 6K bytes
    - Viewed (0)
  7. 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;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 3.1K 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
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 3.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/tests/FileAttributesTest.java

                    assertCloseTime(f.createTime());
                }
                finally {
                    f.delete();
                }
            }
        }
    
    
        @Test
        public void testSetCreated () throws CIFSException, MalformedURLException, UnknownHostException {
            try ( SmbResource f = createTestFile() ) {
                try {
                    long orig = f.createTime();
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 12.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/FileEntry.java

         */
        int getType ();
    
    
        /**
         * 
         * @return the file attributes
         */
        int getAttributes ();
    
    
        /**
         * 
         * @return the creation time
         */
        long createTime ();
    
    
        /**
         * 
         * @return the last modified time
         */
        long lastModified ();
    
    
        /**
         * 
         * @return the last access time
         */
        long lastAccess ();
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 1.4K bytes
    - Viewed (0)
Back to top