Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 7 of 7 for request_state (0.08 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/test/java/jcifs/internal/smb2/lease/LeaseManagerTest.java

        void testRequestLease() {
            String path = "/share/file.txt";
            int requestedState = Smb2LeaseState.SMB2_LEASE_FULL;
    
            Smb2LeaseKey key = leaseManager.requestLease(path, requestedState);
    
            assertNotNull(key);
            LeaseEntry entry = leaseManager.getLease(key);
            assertNotNull(entry);
            assertEquals(requestedState, entry.getLeaseState());
            assertEquals(path, entry.getPath());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 00:16:17 GMT 2025
    - 13.2K bytes
    - Click Count (0)
  2. docs/smb3-features/01-smb3-lease-design.md

            
            String path = "/share/file.txt";
            int requestedState = Smb2LeaseState.SMB2_LEASE_FULL;
            
            Smb2LeaseKey key = manager.requestLease(path, requestedState);
            assertNotNull(key);
            
            LeaseEntry entry = manager.getLease(key);
            assertNotNull(entry);
            assertEquals(requestedState, entry.getLeaseState());
            
            // Test lease break
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 22K bytes
    - Click Count (0)
  3. src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseManager.java

        }
    
        /**
         * Request a directory lease
         *
         * @param directoryPath directory path
         * @param requestedState requested lease state
         * @param scope cache scope
         * @return lease key
         */
        public Smb2LeaseKey requestDirectoryLease(String directoryPath, int requestedState, DirectoryCacheScope scope) {
            // Directory leasing requires SMB 3.0 or higher
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 01:47:47 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  4. src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java

        /**
         * Add a lease V1 context to this request
         * @param leaseKey the lease key
         * @param requestedState the requested lease state
         */
        public void addLeaseV1Context(Smb2LeaseKey leaseKey, int requestedState) {
            LeaseV1CreateContextRequest leaseContext = new LeaseV1CreateContextRequest(leaseKey, requestedState);
            addCreateContext(leaseContext);
            setRequestedOplockLevel(SMB2_OPLOCK_LEVEL_LEASE);
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 02:21:31 GMT 2025
    - 22.9K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseManagerTest.java

        public void testRequestDirectoryLease() {
            String directoryPath = "/test/dir";
            int requestedState = DirectoryLeaseState.DIRECTORY_READ_HANDLE;
            DirectoryCacheScope scope = DirectoryCacheScope.IMMEDIATE_CHILDREN;
            Smb2LeaseKey expectedKey = new Smb2LeaseKey();
    
            when(baseLeaseManager.requestLease(directoryPath, requestedState)).thenReturn(expectedKey);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 01:47:47 GMT 2025
    - 15.9K bytes
    - Click Count (0)
  6. docs/smb3-features/04-directory-leasing-design.md

        
        public Smb2LeaseKey requestDirectoryLease(String directoryPath, 
                                                 int requestedState, 
                                                 DirectoryCacheScope scope) {
            // Request base lease
            Smb2LeaseKey leaseKey = baseLeaseManager.requestLease(directoryPath, requestedState);
            
            // Create directory cache entry
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 36.2K bytes
    - Click Count (0)
  7. fastapi/routing.py

            async def app(scope: Scope, receive: Receive, send: Send) -> None:
                # Starts customization
                response_awaited = False
                async with AsyncExitStack() as request_stack:
                    scope["fastapi_inner_astack"] = request_stack
                    async with AsyncExitStack() as function_stack:
                        scope["fastapi_function_astack"] = function_stack
                        response = await f(request)
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 193K bytes
    - Click Count (0)
Back to Top