Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 966 for till (0.39 sec)

  1. src/main/java/jcifs/internal/smb2/Smb2SigningDigest.java

     * License as published by the Free Software Foundation; either
     * version 2.1 of the License, or (at your option) any later version.
     *
     * This library is distributed in the hope that it will be useful,
     * but WITHOUT ANY WARRANTY; without even the implied warranty of
     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     * Lesser General Public License for more details.
     *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

            // Verify hidden attribute is set
            assertTrue((file.getAttributes() & SmbConstants.ATTR_HIDDEN) != 0, "File should be hidden");
    
            // File should still be accessible
            assertTrue(file.exists(), "Hidden file should still exist");
            assertTrue(file.canRead(), "Hidden file should be readable");
        }
    
        @Test
        void testReadOnlyFileOperations() throws Exception {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 56K bytes
    - Viewed (0)
  3. src/main/java/jcifs/SID.java

         * the full DOMAIN\name form of the account will be
         * returned (e.g. MYDOM\alice or MYDOM\Domain Users).
         * If the SID has been resolved but it is is a domain SID,
         * only the domain name will be returned (e.g. MYDOM).
         * If the SID has been resolved but it is a builtin account,
         * only the name component will be returned (e.g. SYSTEM).
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/SmbResource.java

        /**
         * This method will delete the file or directory specified by this
         * <code>SmbResource</code>. If the target is a directory, the contents of
         * the directory will be deleted as well. If a file within the directory or
         * it's sub-directories is marked read-only, the read-only status will
         * be removed and the file will be deleted.
         *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 28K bytes
    - Viewed (1)
  5. src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java

                int offset = 10;
                byte[] buffer = new byte[64];
                byte[] fileId = createTestData(16);
                byte oplockLevel = 0x02;
    
                // Fill some random data before offset
                Arrays.fill(buffer, 0, offset, (byte) 0xAB);
    
                // Write valid data at offset
                SMBUtil.writeInt2(24, buffer, offset);
                buffer[offset + 2] = oplockLevel;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java

            @Test
            @DisplayName("Should not modify destination buffer")
            void testWriteBytesWireFormatDoesNotModifyBuffer() {
                // Given
                byte[] dst = new byte[100];
                Arrays.fill(dst, (byte) 0xFF);
                byte[] originalDst = dst.clone();
    
                // When
                response.writeBytesWireFormat(dst, 0);
    
                // Then
                assertArrayEquals(originalDst, dst);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/netbios/SessionServicePacketTest.java

            when(mockInputStream.read(any(byte[].class), anyInt(), anyInt())).thenReturn(-1); // Immediate EOF
    
            byte[] buffer = new byte[10];
    
            // The readn method will return 0 when stream returns -1
            // So this should still throw IOException, not return -1
            IOException exception = assertThrows(IOException.class, () -> {
                SessionServicePacket.readPacketType(mockInputStream, buffer, 0);
            });
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java

            // Assemble full body: base (fixed-size fields only), but actual context bytes sit elsewhere in the full packet
            // Return just the base; caller is responsible for placing ctx at the correct absolute offset.
            // We will return a composite buffer from the test when building the full packet.
            // To keep this helper simple, return base and let the caller append/pad and inject ctx.
            return base;
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/lock/Smb2LockRequestTest.java

            @DisplayName("Should update file ID multiple times")
            void testMultipleFileIdUpdates() {
                byte[] firstFileId = new byte[16];
                Arrays.fill(firstFileId, (byte) 0xAA);
                byte[] secondFileId = new byte[16];
                Arrays.fill(secondFileId, (byte) 0xBB);
    
                request.setFileId(firstFileId);
                request.setFileId(secondFileId);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/SidResolver.java

         * Domain groups nested inside a local group are currently not expanded. In
         * this case the key (SID) type will be SID_TYPE_DOM_GRP rather than
         * SID_TYPE_USER.
         *
         * @param tc
         *            The context to use
         * @param authorityServerName
         *            The server from which the local groups will be queried.
         * @param flags
         *            Flags that control the behavior of the operation. When all
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
Back to top