Search Options

Results per page
Sort
Preferred Languages
Advance

Results 401 - 410 of 1,119 for handled (0.06 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. src/test/java/jcifs/internal/AllocInfoTest.java

            @Test
            @DisplayName("Should handle zero values")
            void shouldHandleZeroValues() {
                // Given
                TestAllocInfo allocInfo = new TestAllocInfo(0L, 0L);
    
                // When & Then
                assertEquals(0L, allocInfo.getCapacity());
                assertEquals(0L, allocInfo.getFree());
            }
    
            @Test
            @DisplayName("Should handle maximum long values")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/io/Smb2ReadResponseTest.java

            // When
            int bytesWritten = response.writeBytesWireFormat(buffer, offset);
    
            // Then
            assertEquals(0, bytesWritten);
        }
    
        @Test
        @DisplayName("Should handle error response structure size 9")
        void testReadBytesWireFormatErrorResponse() throws Exception {
            // Given
            byte[] buffer = new byte[256];
            int bufferIndex = 0;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/context/SingletonContext.java

            SingletonContext.getInstance();
            String pkgs = System.getProperty("java.protocol.handler.pkgs");
            if (pkgs == null) {
                System.setProperty("java.protocol.handler.pkgs", "jcifs");
            } else if (pkgs.indexOf("jcifs") == -1) {
                pkgs += "|jcifs";
                System.setProperty("java.protocol.handler.pkgs", pkgs);
            }
        }
    
        /**
         *
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  8. src/cmd/asm/internal/lex/input.go

    	"strconv"
    	"strings"
    	"text/scanner"
    
    	"cmd/asm/internal/flags"
    	"cmd/internal/objabi"
    	"cmd/internal/src"
    )
    
    // Input is the main input: a stack of readers and some macro definitions.
    // It also handles #include processing (by pushing onto the input stack)
    // and parses and instantiates macro definitions.
    type Input struct {
    	Stack
    	includes        []string
    	beginningOfLine bool
    	ifdefStack      []bool
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Sep 06 13:17:27 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/Smb2EchoRequestTest.java

                configField.setAccessible(true);
                assertEquals(mockConfig, configField.get(request));
            }
    
            @Test
            @DisplayName("Should handle null configuration")
            void testConstructorWithNullConfig() {
                assertDoesNotThrow(() -> {
                    Smb2EchoRequest request = new Smb2EchoRequest(null);
                    assertNotNull(request);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbFileInputStream.java

         * @throws SmbException
         */
        synchronized SmbFileHandleImpl ensureOpen() throws CIFSException {
            if (this.handle == null || !this.handle.isValid()) {
                // one extra acquire to keep this open till the stream is released
                if (this.file instanceof SmbNamedPipe) {
                    this.handle = this.file.openUnshared(SmbConstants.O_EXCL, ((SmbNamedPipe) this.file).getPipeType() & 0xFF0000, this.sharing,
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.6K bytes
    - Viewed (0)
Back to top