Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 2,040 for file (0.03 seconds)

  1. android/guava/src/com/google/common/io/Files.java

       *
       * @since 14.0
       */
      public static ByteSource asByteSource(File file) {
        return new FileByteSource(file);
      }
    
      private static final class FileByteSource extends
          ByteSource
      {
    
        private final File file;
    
        private FileByteSource(File file) {
          this.file = checkNotNull(file);
        }
    
        @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jan 05 22:13:21 GMT 2026
    - 32.8K bytes
    - Click Count (0)
  2. src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java

                    fp = 0L;
                }
            }
            if (file instanceof SmbNamedPipe && file.unc.startsWith("\\pipe\\")) {
                file.unc = file.unc.substring(5);
                file.send(new TransWaitNamedPipe("\\pipe" + file.unc), new TransWaitNamedPipeResponse());
            }
            file.open(openFlags, access | SmbConstants.FILE_WRITE_DATA, SmbFile.ATTR_NORMAL, 0);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 11K bytes
    - Click Count (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/FindBrokenInternalLinks.java

        private void reportErrors(Map<File, List<Error>> errors, File reportFile) {
            try (PrintWriter fw = new PrintWriter(new FileWriter(reportFile))) {
                writeHeader(fw);
                if (errors.isEmpty()) {
                    fw.println("All clear!");
                    return;
                }
                for (Map.Entry<File, List<Error>> e : errors.entrySet()) {
                    File file = e.getKey();
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Mar 12 23:22:57 GMT 2026
    - 12.8K bytes
    - Click Count (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/artifact/AbstractArtifactComponentTestCase.java

            File file = new File(localRepo.getBasedir(), path);
    
            assertTrue(file.exists(), "Local artifact " + file + " should be present.");
        }
    
        protected void assertRemoteArtifactNotPresent(Artifact artifact) throws Exception {
            ArtifactRepository remoteRepo = remoteRepository();
    
            String path = remoteRepo.pathOf(artifact);
    
            File file = new File(remoteRepo.getBasedir(), path);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 10 09:40:15 GMT 2025
    - 13.8K bytes
    - Click Count (0)
  5. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/DependencyLicensesTask.java

            }
    
            return Arrays.stream(array).filter(file -> file.getName().endsWith(SHA_EXTENSION)).collect(Collectors.toSet());
        }
    
        String getSha1(File file) throws IOException, NoSuchAlgorithmException {
            byte[] bytes = Files.readAllBytes(file.toPath());
    
            MessageDigest digest = MessageDigest.getInstance("SHA-1");
            char[] encoded = Hex.encodeHex(digest.digest(bytes));
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Jul 26 12:16:14 GMT 2021
    - 14.3K bytes
    - Click Count (0)
  6. build-tools-internal/src/main/groovy/org/elasticsearch/gradle/internal/test/AntFixture.groovy

        }
    
        /** Returns a file that the wrapper script writes when the command failed. */
        @Internal
        protected File getFailureMarker() {
            return new File(cwd, 'run.failed')
        }
    
        /** Returns a file that the wrapper script writes when the command failed. */
        @Internal
        protected File getRunLog() {
            return new File(cwd, 'run.log')
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 10.1K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/io/SourceSinkFactories.java

        private final ThreadLocal<File> fileThreadLocal = new ThreadLocal<>();
    
        File createFile() throws IOException {
          File file = File.createTempFile("SinkSourceFile", "txt");
          fileThreadLocal.set(file);
          return file;
        }
    
        File getFile() {
          return fileThreadLocal.get();
        }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jul 16 17:42:14 GMT 2025
    - 12.7K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/helper/ProtocolHelper.java

                        if (directory.exists() && directory.isDirectory()) {
                            final File[] files = directory.listFiles(File::isDirectory);
                            if (files != null) {
                                for (final File file : files) {
                                    final String name = file.getName();
                                    subPackages.add(name);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 13:59:25 GMT 2026
    - 12.4K bytes
    - Click Count (1)
  9. src/main/java/jcifs/SmbConstants.java

         * File is a directory
         */
        int ATTR_DIRECTORY = 0x10;
    
        /**
         * Files is marked to be archived
         */
        int ATTR_ARCHIVE = 0x20;
    
        // extended file attribute encoding(others same as above)
        /**
         * File is compressed.
         */
        int ATTR_COMPRESSED = 0x800;
        /**
         * File is a normal file.
         */
        int ATTR_NORMAL = 0x080;
        /**
         * File is temporary.
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 24 00:49:49 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  10. src/main/java/jcifs/smb/SmbFileOutputStream.java

         *
         * @param file
         *            An <code>SmbFile</code> representing the file to write to
         * @param append
         *            Append to the end of file
         * @throws SmbException if an SMB error occurs
         */
    
        public SmbFileOutputStream(final SmbFile file, final boolean append) throws SmbException {
            this(file, append, append ? SmbConstants.O_CREAT | SmbConstants.O_WRONLY | SmbConstants.O_APPEND
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 12.8K bytes
    - Click Count (0)
Back to Top