Search Options

Results per page
Sort
Preferred Languages
Advance

Results 501 - 510 of 1,113 for handles (0.41 sec)

  1. src/main/java/jcifs/smb/SmbTreeConnection.java

         * @param host
         * @return tree handle
         * @throws IOException
         */
        public synchronized SmbTreeHandleImpl connectHost(final SmbResourceLocatorImpl loc, final String host) throws IOException {
            return connectHost(loc, host, null);
        }
    
        /**
         *
         * @param loc
         * @param host
         * @param referral
         * @return tree handle
         * @throws IOException
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 30.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/io/Smb2WriteResponseTest.java

                assertEquals(16, bytesRead);
                assertEquals(2048, response.getCount());
                assertEquals(1024, response.getRemaining());
            }
    
            @Test
            @DisplayName("Should handle zero count and remaining")
            void testReadZeroValues() throws SMBProtocolDecodingException {
                byte[] buffer = createValidWriteResponse(0, 0);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/ntlmssp/Type1MessageTest.java

        @Test
        @DisplayName("Should handle null domain and workstation")
        void testNullDomainAndWorkstation() {
            // When
            Type1Message type1 = new Type1Message(mockContext, 0, null, null);
    
            // Then
            assertNull(type1.getSuppliedDomain());
            assertNull(type1.getSuppliedWorkstation());
        }
    
        @Test
        @DisplayName("Should handle case sensitivity in domain and workstation")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/SmbTransportPoolTest.java

                assertEquals(transport, result);
                verify(transportPool).getSmbTransport(context, TEST_HOST, DEFAULT_PORT, false, true);
            }
    
            @Test
            @DisplayName("Should handle UnknownHostException")
            void testGetSmbTransportUnknownHost() throws UnknownHostException, IOException {
                // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/netbios/LmhostsTest.java

            assertNotNull(table.get(name1));
            assertNotNull(table.get(name2));
        }
    
        @Test
        void testPopulateWithIncludeDirective() throws Exception {
            // Test that #INCLUDE directive is handled (even if the include fails)
            String content = "#INCLUDE \\\\server\\share\\lmhosts\n" + "192.168.1.100 MAINHOST\n";
    
            // Mock SmbFileInputStream to simulate include file
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/persistent/DurableHandleReconnectResponse.java

    import jcifs.internal.smb2.create.CreateContextResponse;
    
    /**
     * SMB2 Durable Handle Reconnect Response Create Context
     *
     * MS-SMB2 Section 2.2.14.2.5
     */
    public class DurableHandleReconnectResponse implements CreateContextResponse {
    
        /**
         * Context name for durable handle reconnect response
         */
        public static final String CONTEXT_NAME = "DHnC";
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 2K bytes
    - Viewed (0)
  7. cmd/os_windows.go

    	if err != nil {
    		return errInvalidArgument
    	}
    	data := &syscall.Win32finddata{}
    	handle, err := syscall.FindFirstFile(globAllP, data)
    	if err != nil {
    		if err = syscallErrToFileErr(dirPath, err); err == errFileNotFound {
    			return nil
    		}
    		return err
    	}
    	defer syscall.FindClose(handle)
    
    	for ; ; err = syscall.FindNextFile(handle, data) {
    		if err != nil {
    			if err == syscall.ERROR_NO_MORE_FILES {
    				break
    			}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Feb 18 16:25:55 UTC 2025
    - 5K bytes
    - Viewed (0)
  8. docs/en/docs/advanced/wsgi.md

    And then mount that under a path.
    
    {* ../../docs_src/wsgi/tutorial001.py hl[2:3,3] *}
    
    ## Check it { #check-it }
    
    Now, every request under the path `/v1/` will be handled by the Flask application.
    
    And the rest will be handled by **FastAPI**.
    
    If you run it and go to <a href="http://localhost:8000/v1/" class="external-link" target="_blank">http://localhost:8000/v1/</a> you will see the response from Flask:
    
    ```txt
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/create/CreateContextResponseTest.java

                assertArrayEquals(expectedName, actualName);
                verify(response, times(1)).getName();
            }
    
            @Test
            @DisplayName("getName() should handle null return value")
            void testGetNameWithNull() {
                CreateContextResponse response = mock(CreateContextResponse.class);
                when(response.getName()).thenReturn(null);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/NtStatusTest.java

            assertNotNull(messages[0]);
            assertTrue(messages[0].toLowerCase().contains("success") || messages[0].toLowerCase().contains("completed"));
        }
    
        @Test
        @DisplayName("Should handle access denied status")
        void testAccessDeniedStatus() {
            // Given
            int status = NtStatus.NT_STATUS_ACCESS_DENIED;
    
            // When/Then
            assertEquals((int) 0xC0000022L, status);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
Back to top