Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 127 for 65537 (0.03 seconds)

  1. docs_src/security/tutorial004_py39.py

    ACCESS_TOKEN_EXPIRE_MINUTES = 30
    
    
    fake_users_db = {
        "johndoe": {
            "username": "johndoe",
            "full_name": "John Doe",
            "email": "******@****.***",
            "hashed_password": "$argon2id$v=19$m=65536,t=3,p=4$wagCPXjifgvUFBzq4hqe3w$CYaIb8sB+wtD+Vu/P4uod1+Qof8h+1g7bbDlBID48Rc",
            "disabled": False,
        }
    }
    
    
    class Token(BaseModel):
        access_token: str
        token_type: str
    
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  2. docs_src/security/tutorial004_an_py310.py

    ACCESS_TOKEN_EXPIRE_MINUTES = 30
    
    
    fake_users_db = {
        "johndoe": {
            "username": "johndoe",
            "full_name": "John Doe",
            "email": "******@****.***",
            "hashed_password": "$argon2id$v=19$m=65536,t=3,p=4$wagCPXjifgvUFBzq4hqe3w$CYaIb8sB+wtD+Vu/P4uod1+Qof8h+1g7bbDlBID48Rc",
            "disabled": False,
        }
    }
    
    
    class Token(BaseModel):
        access_token: str
        token_type: str
    
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Sep 29 02:57:38 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescTest.java

        private static final int ALL_SECURITY_INFORMATION = 0x0000000F;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
            when(mockConfig.getTransactionBufferSize()).thenReturn(65535);
        }
    
        @Test
        @DisplayName("Test constructor initialization with basic parameters")
        void testConstructorBasic() {
            int fid = 0x1234;
            int securityInfo = OWNER_SECURITY_INFORMATION;
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.9K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectResponseTest.java

            assertEquals("Structure size != 4", ex1.getMessage());
    
            // Test maximum 2-byte value (65535)
            SMBUtil.writeInt2(65535, buffer, 0);
    
            SMBProtocolDecodingException ex2 = assertThrows(SMBProtocolDecodingException.class, () -> response.readBytesWireFormat(buffer, 0));
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeTest.java

        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
            when(mockConfig.getNotifyBufferSize()).thenReturn(4096);
            when(mockConfig.getTransactionBufferSize()).thenReturn(65535);
        }
    
        @Test
        @DisplayName("Test constructor initialization with basic parameters")
        void testConstructorBasic() {
            int fid = 0x1234;
            int completionFilter = FILE_NOTIFY_CHANGE_FILE_NAME;
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.4K bytes
    - Click Count (0)
  6. src/main/java/jcifs/util/ServerResponseValidator.java

        // Protocol limits
        private static final int MAX_SMB_MESSAGE_SIZE = 16 * 1024 * 1024; // 16MB max for SMB3
        private static final int MAX_SMB1_MESSAGE_SIZE = 65535; // 64KB for SMB1
        private static final int MIN_SMB_HEADER_SIZE = 32;
        private static final int MAX_PATH_COMPONENT_SIZE = 255;
        private static final int MAX_PATH_SIZE = 32767;
    
        // Statistics
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 16.6K bytes
    - Click Count (0)
  7. src/main/java/jcifs/smb1/smb1/Trans2FindFirst2.java

        private static final int FLAGS_RESUME_FROM_PREVIOUS_END = 0x08;
        private static final int FLAGS_FIND_WITH_BACKUP_INTENT = 0x10;
    
        private static final int DEFAULT_LIST_SIZE = 65535;
        private static final int DEFAULT_LIST_COUNT = 200;
    
        private final int searchAttributes;
        private final int flags;
        private final int informationLevel;
        private final int searchStorageType = 0;
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  8. src/test/java/jcifs/context/BaseContextTest.java

            when(mockConfig.getDefaultDomain()).thenReturn(null);
            when(mockConfig.getBufferCacheSize()).thenReturn(16);
            when(mockConfig.getMaximumBufferSize()).thenReturn(65536);
    
            context = new BaseContext(mockConfig);
        }
    
        @Test
        @DisplayName("Constructor should initialize all components")
        void testConstructorInitialization() {
            // Then
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequestTest.java

        private Smb2QueryDirectoryRequest request;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
            when(mockConfig.getMaximumBufferSize()).thenReturn(65536);
            when(mockConfig.getListSize()).thenReturn(65536);
            when(mockContext.getConfig()).thenReturn(mockConfig);
        }
    
        @Test
        @DisplayName("Test constructor with configuration only")
        void testConstructorWithConfig() {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.2K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/SMBSigningDigestTest.java

        }
    
        @Test
        @DisplayName("Test sign method with large data array")
        void testSignWithLargeData() {
            // Arrange
            byte[] largeData = new byte[65536]; // 64KB
            for (int i = 0; i < largeData.length; i++) {
                largeData[i] = (byte) (i % 256);
            }
            int offset = 1024;
            int length = 32768; // 32KB
    
            // Act
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.9K bytes
    - Click Count (0)
Back to Top