Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 57 for Decodable (2.63 sec)

  1. src/main/java/jcifs/internal/fscc/FileStandardInfo.java

            return bufferIndex - start;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Encodable#size()
         */
        @Override
        public int size() {
            return 22;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Encodable#encode(byte[], int)
         */
        @Override
        public int encode(final byte[] dst, int dstIndex) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/dtyp/SecurityInfo.java

     */
    package jcifs.internal.dtyp;
    
    import jcifs.Decodable;
    
    /**
     * Interface for Windows Data Type (DTYP) security information structures.
     * Defines constants and functionality for security information types used in
     * SMB security descriptor operations and access control management.
     *
     * @author mbechler
     */
    public interface SecurityInfo extends Decodable {
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/nego/EncryptionNegotiateContext.java

                    dstIndex += 2;
                }
            }
            return dstIndex - start;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Decodable#decode(byte[], int, int)
         */
        @Override
        public int decode(final byte[] buffer, int bufferIndex, final int len) throws SMBProtocolDecodingException {
            final int start = bufferIndex;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/dfs/DfsReferralResponseBuffer.java

    import java.util.Arrays;
    
    import jcifs.Decodable;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * DFS (Distributed File System) referral response buffer parser.
     * Decodes server responses to DFS referral requests, extracting information about
     * available DFS targets, path consumption details, and referral flags.
     *
     * @author mbechler
     */
    public class DfsReferralResponseBuffer implements Decodable {
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoResponseTest.java

            Method createInfoMethod = Smb2QueryInfoResponse.class.getDeclaredMethod("createInformation", byte.class, byte.class);
            createInfoMethod.setAccessible(true);
    
            Decodable result = (Decodable) createInfoMethod.invoke(null, infoType, infoClass);
    
            assertNotNull(result, String.format("Should create information for type %d, class %d", infoType, infoClass));
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/fscc/FileBasicInfo.java

            return bufferIndex - start;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Encodable#size()
         */
        @Override
        public int size() {
            return 40;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Encodable#encode(byte[], int)
         */
        @Override
        public int encode(final byte[] dst, int dstIndex) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/fscc/SmbInfoAllocation.java

        }
    
        @Override
        public long getFree() {
            return this.free * this.sectPerAlloc * this.bytesPerSect;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Decodable#decode(byte[], int, int)
         */
        @Override
        public int decode(final byte[] buffer, int bufferIndex, final int len) throws SMBProtocolDecodingException {
            final int start = bufferIndex;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/dtyp/ACE.java

     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.internal.dtyp;
    
    import jcifs.Decodable;
    import jcifs.internal.util.SMBUtil;
    import jcifs.smb.SID;
    import jcifs.util.Hexdump;
    
    /**
     * An Access Control Entry (ACE) is an element in a security descriptor
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/fscc/FileEndOfFileInformation.java

         * {@inheritDoc}
         *
         * @see jcifs.Decodable#decode(byte[], int, int)
         */
        @Override
        public int decode(final byte[] buffer, final int bufferIndex, final int len) throws SMBProtocolDecodingException {
            this.endOfFile = SMBUtil.readInt8(buffer, bufferIndex);
            return 8;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Encodable#size()
         */
        @Override
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/AllocInfoTest.java

            }
    
            @Test
            @DisplayName("Should implement Decodable interface through FileSystemInformation")
            void shouldImplementDecodableInterface() {
                // Verify that AllocInfo indirectly implements Decodable
                assertTrue(jcifs.Decodable.class.isAssignableFrom(AllocInfo.class));
            }
    
            @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.8K bytes
    - Viewed (0)
Back to top