Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for readAttributes (0.07 sec)

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

          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();
    
        // Check that source returns the right data
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java

          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();
    
        // Check that source returns the right data
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/create/Smb2CreateRequestTest.java

            request.writeBytesWireFormat(buffer, 0);
    
            // Read file attributes from buffer (offset 28-31)
            int readAttributes = (buffer[28] & 0xFF) | ((buffer[29] & 0xFF) << 8) | ((buffer[30] & 0xFF) << 16) | ((buffer[31] & 0xFF) << 24);
            assertEquals(attributes, readAttributes);
        }
    
        @Test
        @DisplayName("Test share access setter")
        void testSetShareAccess() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/PermissionHelper.java

                        });
                    } else if (fileAttributeView instanceof final PosixFileAttributeView posixFileAttributeView) {
                        final PosixFileAttributes attributes = posixFileAttributeView.readAttributes();
                        final UserPrincipal userPrincipal = attributes.owner();
                        if (logger.isDebugEnabled()) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 15.3K bytes
    - Viewed (0)
Back to top