Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 77 for files (0.14 sec)

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

      public static boolean equal(File file1, File file2) throws IOException {
        checkNotNull(file1);
        checkNotNull(file2);
        if (file1 == file2 || file1.equals(file2)) {
          return true;
        }
    
        /*
         * Some operating systems may return zero as the length for files denoting system-dependent
         * entities such as devices or pipes, in which case we must fall back on comparing the bytes
         * directly.
         */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/FilesFileTraverserTest.java

        File dir2 = newFile("dir-1/dir-2");
    
        assertThat(Files.fileTraverser().breadthFirst(rootDir))
            .containsExactly(rootDir, fileA, fileB, dir1, dir2);
      }
    
      @CanIgnoreReturnValue
      private File newDir(String name) {
        File file = new File(rootDir, name);
        file.mkdir();
        return file;
      }
    
      @CanIgnoreReturnValue
      private File newFile(String name) throws IOException {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Apr 21 20:17:27 GMT 2023
    - 3.4K bytes
    - Viewed (0)
  3. .gitattributes

    # Auto detect text files and perform LF normalization
    * text=auto
    
    # Known text files
    *.java text
    *.xml text
    *.yml text
    *.md text
    *.sh text
    *.css text
    *.txt text
    
    # Known binary files
    Plain Text
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Nov 04 21:50:10 GMT 2014
    - 196 bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/io/SourceSinkFactories.java

        private final ThreadLocal<File> fileThreadLocal = new ThreadLocal<>();
    
        protected File createFile() throws IOException {
          File file = File.createTempFile("SinkSourceFile", "txt");
          fileThreadLocal.set(file);
          return file;
        }
    
        protected File getFile() {
          return fileThreadLocal.get();
        }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Apr 06 12:56:11 GMT 2023
    - 12.7K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/io/IoTestCase.java

      @CanIgnoreReturnValue
      private boolean delete(File file) {
        if (file.isDirectory()) {
          File[] files = file.listFiles();
          if (files != null) {
            for (File f : files) {
              if (!delete(f)) {
                return false;
              }
            }
          }
        }
    
        if (!file.delete()) {
          logger.log(Level.WARNING, "couldn't delete file: {0}", new Object[] {file});
          return false;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 5.6K bytes
    - Viewed (0)
  6. guava-gwt/src/com/google/common/io/Io.gwt.xml

        util.concurrent tests under Guava.
    
        The problem is that GWT responds poorly to two .gwt.xml files in the same
        Java package; see https://goo.gl/pRV3Yn for details.
    
        The summary is that it ignores one file in favor of the other.
        util.concurrent, like nearly all our packages, has two .gwt.xml files: one
        for prod and one for tests. However, unlike our other packages, as of this
    XML
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Jan 06 15:30:58 GMT 2022
    - 1.5K bytes
    - Viewed (0)
  7. guava-gwt/src/com/google/common/math/Math.gwt.xml

        util.concurrent tests under Guava.
    
        The problem is that GWT responds poorly to two .gwt.xml files in the same
        Java package; see https://goo.gl/pRV3Yn for details.
    
        The summary is that it ignores one file in favor of the other.
        util.concurrent, like nearly all our packages, has two .gwt.xml files: one
        for prod and one for tests. However, unlike our other packages, as of this
    XML
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Jan 06 15:30:58 GMT 2022
    - 1.5K bytes
    - Viewed (0)
  8. guava-gwt/src/com/google/thirdparty/publicsuffix/PublicSuffixPatterns.gwt.xml

        util.concurrent tests under Guava.
    
        The problem is that GWT responds poorly to two .gwt.xml files in the same
        Java package; see https://goo.gl/pRV3Yn for details.
    
        The summary is that it ignores one file in favor of the other.
        util.concurrent, like nearly all our packages, has two .gwt.xml files: one
        for prod and one for tests. However, unlike our other packages, as of this
    XML
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Jan 06 15:30:58 GMT 2022
    - 1.5K bytes
    - Viewed (0)
  9. guava-gwt/src/com/google/common/net/Net.gwt.xml

        util.concurrent tests under Guava.
    
        The problem is that GWT responds poorly to two .gwt.xml files in the same
        Java package; see https://goo.gl/pRV3Yn for details.
    
        The summary is that it ignores one file in favor of the other.
        util.concurrent, like nearly all our packages, has two .gwt.xml files: one
        for prod and one for tests. However, unlike our other packages, as of this
    XML
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Jan 06 15:30:58 GMT 2022
    - 1.7K bytes
    - Viewed (0)
  10. guava-gwt/test/com/google/common/collect/testing/Testing.gwt.xml

        util.concurrent tests under Guava.
    
        The problem is that GWT responds poorly to two .gwt.xml files in the same
        Java package; see https://goo.gl/pRV3Yn for details.
    
        The summary is that it ignores one file in favor of the other.
        util.concurrent, like nearly all our packages, has two .gwt.xml files: one
        for prod and one for tests. However, unlike our other packages, as of this
    XML
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Jan 06 15:30:58 GMT 2022
    - 1.6K bytes
    - Viewed (0)
Back to top