Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 49 of 49 for files (0.12 sec)

  1. 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)
  2. guava-gwt/pom.xml

                packages, like RangeTest. The reason for this is that GWT doesn't distinguish between
                .java files in c.g.c.collect.Collect, a module that the c.g.c.base test module inherits,
                and .java files in c.g.c.collect.testModule, one that it doesn't[*]. Consequently,
                c.g.c.base.testModule transitively pulls in .java files from both modules while reading
    XML
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Apr 11 15:00:55 GMT 2024
    - 19.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/net/MediaType.java

       * used for Web Video Text Tracks (WebVTT) files, used with the HTML5 track element.
       *
       * @since 20.0
       */
      public static final MediaType VTT_UTF_8 = createConstantUtf8(TEXT_TYPE, "vtt");
    
      /* image types */
      /**
       * <a href="https://en.wikipedia.org/wiki/BMP_file_format">Bitmap file format</a> ({@code bmp}
       * files).
       *
       * @since 13.0
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Aug 07 16:17:10 GMT 2023
    - 46.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/io/package-info.java

     * the License.
     */
    
    /**
     * Utility methods and classes for I/O; for example input streams, output streams, readers, writers,
     * and files.
     *
     * <p>At the core of this package are the Source/Sink types: {@link ByteSource ByteSource}, {@link
     * CharSource CharSource}, {@link ByteSink ByteSink} and {@link CharSink CharSink}. They are
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Jun 23 19:57:03 GMT 2023
    - 1.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/Futures.java

          ListenableFuture<? extends V>... futures) {
        ListenableFuture<List<@Nullable V>> nullable =
            new ListFuture<V>(ImmutableList.copyOf(futures), true);
        // allAsList ensures that it fills the output list with V instances.
        @SuppressWarnings("nullness")
        ListenableFuture<List<V>> nonNull = nullable;
        return nonNull;
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 59.6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java

          assertTrue(file.exists());
          assertThat(file.getName()).contains("FileBackedOutputStream");
          if (!isAndroid() && !isWindows()) {
            PosixFileAttributes attributes =
                java.nio.file.Files.getFileAttributeView(file.toPath(), PosixFileAttributeView.class)
                    .readAttributes();
            assertThat(attributes.permissions()).containsExactly(OWNER_READ, OWNER_WRITE);
          }
        }
        out.close();
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 5.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/LineProcessor.java

     * A callback to be used with the streaming {@code readLines} methods.
     *
     * <p>{@link #processLine} will be called for each line that is read, and should return {@code
     * false} when you want to stop processing.
     *
     * @author Miles Barr
     * @since 1.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    public interface LineProcessor<T extends @Nullable Object> {
    
      /**
       * This method will be called once for each line.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/graph/AbstractNetworkTest.java

         * including in MapRetrievalCache, so I'm not sure why this one is different. I did at least
         * confirm that my change to MapIteratorCache fixes the TSAN error in the (larger) test it was
         * originally reported in.
         */
        for (Future<?> future : futures.build()) {
          future.get();
        }
        executor.shutdown();
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 33K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/graph/AbstractNetworkTest.java

         * including in MapRetrievalCache, so I'm not sure why this one is different. I did at least
         * confirm that my change to MapIteratorCache fixes the TSAN error in the (larger) test it was
         * originally reported in.
         */
        for (Future<?> future : futures.build()) {
          future.get();
        }
        executor.shutdown();
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 32.7K bytes
    - Viewed (0)
Back to top