Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for create_file (0.23 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. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/entity/OpenSearchUrlQueue.java

        public static final String PARENT_URL = "parentUrl";
    
        public static final String DEPTH = "depth";
    
        public static final String LAST_MODIFIED = "lastModified";
    
        public static final String CREATE_TIME = "createTime";
    
        public static final String WEIGHT = "weight";
    
        @Override
        public XContentBuilder toXContent(final XContentBuilder builder, final Params params) throws IOException {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  4. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/entity/OpenSearchAccessResult.java

        public static final String HTTP_STATUS_CODE = "httpStatusCode";
    
        public static final String METHOD = "method";
    
        public static final String MIME_TYPE = "mimeType";
    
        public static final String CREATE_TIME = "createTime";
    
        public static final String EXECUTION_TIME = "executionTime";
    
        public static final String CONTENT_LENGTH = "contentLength";
    
        public static final String LAST_MODIFIED = "lastModified";
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  5. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueService.java

            return getList(OpenSearchUrlQueue.class, sessionId, null, 0, pollingFetchSize,
                    SortBuilders.fieldSort(OpenSearchUrlQueue.WEIGHT).order(SortOrder.DESC),
                    SortBuilders.fieldSort(CREATE_TIME).order(SortOrder.ASC));
        }
    
        @Override
        public void saveSession(final String sessionId) {
            // TODO use cache
        }
    
        @Override
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  6. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java

        protected static final String LAST_MODIFIED = "lastModified";
    
        protected static final String CREATE_TIME = "createTime";
    
        protected static final String _DOC = "_doc";
    
        protected static final String[] timestampFields = { LAST_MODIFIED, CREATE_TIME };
    
        protected static final HashFunction murmur3Hash = Hashing.murmur3_128(0);
    
        @Resource
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top