Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testByteSource_size_ofSymlinkToRegularFile_nofollowLinks (0.28 sec)

  1. guava-tests/test/com/google/common/io/MoreFilesTest.java

          ByteSource source = MoreFiles.asByteSource(link);
    
          assertEquals(10L, (long) source.sizeIfKnown().get());
          assertEquals(10L, source.size());
        }
      }
    
      public void testByteSource_size_ofSymlinkToRegularFile_nofollowLinks() throws IOException {
        try (FileSystem fs = Jimfs.newFileSystem(Configuration.unix())) {
          Path file = fs.getPath("file");
          Files.write(file, new byte[10]);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/MoreFilesTest.java

          ByteSource source = MoreFiles.asByteSource(link);
    
          assertEquals(10L, (long) source.sizeIfKnown().get());
          assertEquals(10L, source.size());
        }
      }
    
      public void testByteSource_size_ofSymlinkToRegularFile_nofollowLinks() throws IOException {
        try (FileSystem fs = Jimfs.newFileSystem(Configuration.unix())) {
          Path file = fs.getPath("file");
          Files.write(file, new byte[10]);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 26.5K bytes
    - Viewed (0)
Back to top