Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 254 for 0x11 (0.08 sec)

  1. src/test/java/jcifs/util/HexdumpTest.java

            // When
            String result = Hexdump.toHexString(data, offset, length);
    
            // Then
            assertNotNull(result);
            assertFalse(result.isEmpty());
            // Check starts with byte at offset 16 (0x10)
            assertTrue(result.startsWith("10111213"));
            assertEquals(64, result.length()); // 32 bytes * 2 chars per byte
        }
    
        @Test
        @DisplayName("Should handle invalid offset and length parameters")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/SmbComQueryInformationResponseTest.java

            // 2 bytes for fileAttributes, 4 bytes for lastWriteTime, 4 bytes for fileSize
            byte[] buffer = new byte[20];
            // File Attributes: 0x0010 (Directory)
            buffer[0] = 0x10;
            buffer[1] = 0x00;
            // Last Write Time (UTime): A sample timestamp in milliseconds
            long sampleTimeMillis = 1672531200000L; // Represents a specific date in milliseconds
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/spnego/NegTokenInit.java

         */
        public static final int REPLAY_DETECTION = 0x20;
        /**
         * Context flag for sequence checking capability
         */
        public static final int SEQUENCE_CHECKING = 0x10;
        /**
         * Context flag for anonymity capability
         */
        public static final int ANONYMITY = 0x08;
        /**
         * Context flag for confidentiality (encryption) capability
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbComWrite.java

            dstIndex += 2;
    
            return dstIndex - start;
        }
    
        @Override
        int writeBytesWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
    
            dst[dstIndex] = (byte) 0x01; /* BufferFormat */
            dstIndex++;
            writeInt2(count, dst, dstIndex); /* DataLength? */
            dstIndex += 2;
            System.arraycopy(b, off, dst, dstIndex, count);
            dstIndex += count;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/Trans2SetFileInformation.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.smb1.smb1;
    
    class Trans2SetFileInformation extends SmbComTransaction {
    
        static final int SMB_FILE_BASIC_INFO = 0x101;
    
        private final int fid;
        private final int attributes;
        private final long createTime, lastWriteTime;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/com/SmbComWrite.java

            return dstIndex - start;
        }
    
        @Override
        protected int writeBytesWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
    
            dst[dstIndex] = (byte) 0x01; /* BufferFormat */
            dstIndex++;
            SMBUtil.writeInt2(this.count, dst, dstIndex); /* DataLength? */
            dstIndex += 2;
            System.arraycopy(this.b, this.off, dst, dstIndex, this.count);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequest.java

        /**
         * Flag to watch the directory tree recursively
         */
        public static final int SMB2_WATCH_TREE = 0x1;
    
        /**
         * Notify when a file name changes
         */
        public static final int FILE_NOTIFY_CHANGE_FILE_NAME = 0x1;
        /**
         * Notify when a directory name changes
         */
        public static final int FILE_NOTIFY_CHANGE_DIR_NAME = 0x2;
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbComNegotiateResponse.java

            if (dialectIndex > 10) {
                return bufferIndex - start;
            }
            server.securityMode = buffer[bufferIndex] & 0xFF;
            bufferIndex++;
            server.security = server.securityMode & 0x01;
            server.encryptedPasswords = (server.securityMode & 0x02) == 0x02;
            server.signaturesEnabled = (server.securityMode & 0x04) == 0x04;
            server.signaturesRequired = (server.securityMode & 0x08) == 0x08;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbComTransactionResponse.java

    abstract class SmbComTransactionResponse extends ServerMessageBlock implements Enumeration {
    
        // relative to headerStart
        private static final int SETUP_OFFSET = 61;
    
        private static final int DISCONNECT_TID = 0x01;
        private static final int ONE_WAY_TRANSACTION = 0x02;
    
        private int pad;
        private int pad1;
        private boolean parametersDone, dataDone;
    
        protected int totalParameterCount;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/pac/kerberos/KerberosToken.java

                }
    
                int readLow = stream.read() & 0xff;
                int readHigh = stream.read() & 0xff;
                int read = (readHigh << 8) + readLow;
                if (read != 0x01) {
                    throw new PACDecodingException("Malformed kerberos token");
                }
    
                ASN1TaggedObject mechToken = ASN1Util.as(ASN1TaggedObject.class, stream.readObject());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.8K bytes
    - Viewed (0)
Back to top