Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 23 for 33 (0.14 sec)

  1. src/test/java/jcifs/config/SecurityConfigurationTest.java

            assertTrue("LM compatibility should be 3 or higher for NTLMv2 only", config.getLanManCompatibility() >= 3);
            assertEquals("LM compatibility should default to 3", 3, config.getLanManCompatibility());
    
            // Verify maximum version supports latest SMB 3.1.1
            assertEquals("Maximum version should be SMB 3.1.1", DialectVersion.SMB311, config.getMaximumVersion());
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/util/MD4.java

            B = GG(B, C, D, A, X[13], 13);
            A = GG(A, B, C, D, X[2], 3);
            D = GG(D, A, B, C, X[6], 5);
            C = GG(C, D, A, B, X[10], 9);
            B = GG(B, C, D, A, X[14], 13);
            A = GG(A, B, C, D, X[3], 3);
            D = GG(D, A, B, C, X[7], 5);
            C = GG(C, D, A, B, X[11], 9);
            B = GG(B, C, D, A, X[15], 13);
    
            A = HH(A, B, C, D, X[0], 3);
            D = HH(D, A, B, C, X[8], 9);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java

            buffer[31] = 0x00;
    
            // Word count
            buffer[32] = 10; // 10 words = 20 bytes
    
            // Parameter words for transaction response
            // Total parameter count (2 bytes)
            buffer[33] = 0x00;
            buffer[34] = 0x00;
    
            // Total data count (2 bytes)
            buffer[35] = 0x00;
            buffer[36] = 0x00;
    
            // Reserved (2 bytes)
            buffer[37] = 0x00;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequestTest.java

            byte[] buffer = new byte[1024];
            int bytesWritten = request.writeBytesWireFormat(buffer, Smb2Constants.SMB2_HEADER_LENGTH);
    
            // Verify structure size
            assertEquals(33, buffer[Smb2Constants.SMB2_HEADER_LENGTH] | (buffer[Smb2Constants.SMB2_HEADER_LENGTH + 1] << 8));
    
            // Verify file information class
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java

        }
    
        @DisplayName("Should parse different share types correctly")
        @ParameterizedTest
        @CsvSource({ "1, 1", // DISK
                "2, 2", // PIPE
                "3, 3", // PRINT
                "0, 0", // Unknown
                "255, -1" // Byte overflow to signed
        })
        void testDifferentShareTypes(int shareTypeValue, int expectedValue) throws SMBProtocolDecodingException {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/info/Smb2SetInfoRequest.java

         */
        @Override
        protected int writeBytesWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
            SMBUtil.writeInt2(33, dst, dstIndex);
            dst[dstIndex + 2] = this.infoType;
            dst[dstIndex + 3] = this.fileInfoClass;
            dstIndex += 4;
    
            final int bufferLengthOffset = dstIndex;
            dstIndex += 4;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/pac/kerberos/KerberosPacAuthDataTest.java

                ByteArrayOutputStream baos = new ByteArrayOutputStream();
                DataOutputStream dos = new DataOutputStream(baos);
    
                // Write minimal PAC header
                dos.writeInt(Integer.reverseBytes(3)); // 3 buffers
                dos.writeInt(Integer.reverseBytes(PacConstants.PAC_VERSION));
    
                // Write buffer entries
                dos.writeInt(Integer.reverseBytes(PacConstants.LOGON_INFO));
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/netbios/Name.java

     * This class represents NetBIOS names used in SMB networking.
     */
    public class Name implements NetbiosName {
    
        private static final int TYPE_OFFSET = 31;
        private static final int SCOPE_OFFSET = 33;
    
        /**
         * Name
         */
        public String name;
        /**
         * Scope id
         */
        public String scope;
        /**
         * Type
         */
        public int hexCode;
        int srcHashCode; /*
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/witness/WitnessIntegrationTest.java

            // 2. Heartbeat processing
            assertTrue(mockService.processHeartbeat(regId, 1));
            assertTrue(mockService.processHeartbeat(regId, 2));
            assertTrue(mockService.processHeartbeat(regId, 3));
    
            // 3. Event notifications
            mockService.sendNotification(WitnessEventType.RESOURCE_CHANGE, "\\\\cluster\\share");
            mockService.sendNotification(WitnessEventType.CLIENT_MOVE, "\\\\cluster\\share");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/netbios/Name.java

     * This class represents a NetBIOS name with its associated type and scope.
     */
    public class Name {
    
        private static final int TYPE_OFFSET = 31;
        private static final int SCOPE_OFFSET = 33;
        private static final String DEFAULT_SCOPE = Config.getProperty("jcifs.smb1.netbios.scope");
    
        static final String OEM_ENCODING = Config.getProperty("jcifs.smb1.encoding", Charset.defaultCharset().displayName());
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.2K bytes
    - Viewed (0)
Back to top