Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for createFile (0.1 sec)

  1. compat/maven-compat/src/test/java/org/apache/maven/artifact/testutils/TestFileManager.java

        protected void finalize() throws Throwable {
            maybeWarnAboutCleanUp();
    
            super.finalize();
        }
    
        public File createFile(String filename, String content, String encoding) throws IOException {
            File dir = createTempDir();
            return createFile(dir, filename, content, encoding);
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/MoreFilesTest.java

        Files.createDirectories(fs.getPath("dir/b/i/j/l"));
        Files.createFile(fs.getPath("dir/a"));
        Files.createFile(fs.getPath("dir/c"));
        Files.createSymbolicLink(fs.getPath("dir/d"), fs.getPath("b/i"));
        Files.createDirectory(fs.getPath("dir/e"));
        Files.createSymbolicLink(fs.getPath("dir/f"), fs.getPath("/dontdelete"));
        Files.createFile(fs.getPath("dir/b/g"));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  3. cmd/xl-storage-disk-id-check.go

    	})
    }
    
    func (p *xlStorageDiskIDCheck) CreateFile(ctx context.Context, origvolume, volume, path string, size int64, reader io.Reader) (err error) {
    	ctx, done, err := p.TrackDiskHealth(ctx, storageMetricCreateFile, volume, path)
    	if err != nil {
    		return err
    	}
    	defer done(size, &err)
    
    	return p.storage.CreateFile(ctx, origvolume, volume, path, size, io.NopCloser(reader))
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:56:26 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/io/MoreFiles.java

        } catch (NoSuchFileException e) {
          try {
            Files.createFile(path);
          } catch (FileAlreadyExistsException ignore) {
            // The file didn't exist when we called setLastModifiedTime, but it did when we called
            // createFile, so something else created the file in between. The end result is
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 35K bytes
    - Viewed (0)
  5. guava/src/com/google/common/io/MoreFiles.java

        } catch (NoSuchFileException e) {
          try {
            Files.createFile(path);
          } catch (FileAlreadyExistsException ignore) {
            // The file didn't exist when we called setLastModifiedTime, but it did when we called
            // createFile, so something else created the file in between. The end result is
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  6. cmd/xl-storage.go

    			file.Close()
    			return nil, err
    		}
    	}
    	return &sendFileReader{Reader: io.LimitReader(file, length), Closer: file}, nil
    }
    
    // CreateFile - creates the file.
    func (s *xlStorage) CreateFile(ctx context.Context, origvolume, volume, path string, fileSize int64, r io.Reader) (err error) {
    	if origvolume != "" {
    		origvolumeDir, err := s.getVolDir(origvolume)
    		if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 91.3K bytes
    - Viewed (0)
  7. 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)
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top