Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1001 - 1010 of 1,566 for failed (0.03 sec)

  1. src/test/java/jcifs/smb1/netbios/NbtExceptionTest.java

        }
    
        @ParameterizedTest(name = "session error {1} -\\u003e {2}")
        @CsvSource({ "-1,Connection refused", "0x80,Not listening on called name", "0x81,Not listening for calling name",
                "0x82,Called name not present", "0x83,Called name present, but insufficient resources", "0x8F,Unspecified error",
                "999,Unknown error code: 999" })
        @DisplayName("getErrorString for SSN service errors")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/dcerpc/DcerpcSecurityProviderTest.java

        }
    
        @Test
        void testWrapMethodIsCalled() throws DcerpcException {
            // Test that the wrap method can be called without throwing an exception
            dcerpcSecurityProvider.wrap(mockNdrBuffer);
    
            // Verify that the wrap method was called exactly once with the mockNdrBuffer
            verify(dcerpcSecurityProvider, times(1)).wrap(mockNdrBuffer);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/netbios/NbtException.java

                    result.append("Not listening on called name");
                    break;
                case NOT_LISTENING_CALLING:
                    result.append("Not listening for calling name");
                    break;
                case CALLED_NOT_PRESENT:
                    result.append("Called name not present");
                    break;
                case NO_RESOURCES:
                    result.append("Called name present, but insufficient resources");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java

            byte[] fileId = new byte[16];
            for (int i = 0; i < fileId.length; i++)
                fileId[i] = (byte) (i + 1);
    
            byte[] header = buildSmb2Header();
            byte[] body = buildCreateBodyNoContexts((byte) 0x7, (byte) 0x2, 0x11223344, 1111L, 2222L, 3333L, 4444L, 123456789L, 987654321L,
                    0xA5A5A5A5, fileId);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/DirFileEntryEnumIterator2.java

            try {
                @SuppressWarnings("resource")
                final SmbTreeHandleImpl th = getTreeHandle();
                if (this.fileId != null && th.isConnected()) {
                    th.send(new Smb2CloseRequest(th.getConfig(), this.fileId));
                }
            } finally {
                this.fileId = null;
            }
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/lock/Smb2LockRequest.java

         *
         * @param config the configuration for this request
         * @param fileId the file identifier for the file to lock
         * @param locks the array of lock elements to apply
         */
        public Smb2LockRequest(final Configuration config, final byte[] fileId, final Smb2Lock[] locks) {
            super(config, SMB2_LOCK);
            this.fileId = fileId;
            this.locks = locks;
        }
    
        /**
         * {@inheritDoc}
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/persistent/DurableHandleReconnect.java

        private byte[] fileId; // 16-byte file ID from previous open
    
        /**
         * Create a new durable handle reconnect context
         * @param fileId the 16-byte file ID from the previous open
         */
        public DurableHandleReconnect(byte[] fileId) {
            if (fileId.length != 16) {
                throw new IllegalArgumentException("File ID must be 16 bytes");
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/ioctl/Smb2IoctlRequest.java

         * @param controlCode the IOCTL control code
         * @param fileId the file identifier
         */
        public Smb2IoctlRequest(final Configuration config, final int controlCode, final byte[] fileId) {
            super(config, SMB2_IOCTL);
            this.controlCode = controlCode;
            this.fileId = fileId;
            this.maxOutputResponse = config.getTransactionBufferSize() & ~0x7;
            this.outputBuffer = null;
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequestTest.java

        }
    
        @Test
        @DisplayName("Test constructor with configuration and fileId")
        void testConstructorWithConfigAndFileId() {
            byte[] fileId = new byte[16];
            for (int i = 0; i < 16; i++) {
                fileId[i] = (byte) i;
            }
    
            request = new Smb2QueryDirectoryRequest(mockConfig, fileId);
    
            assertNotNull(request);
            assertEquals(14, request.getCommand());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/AddressTest.java

            // When
            String firstName = mockAddress.firstCalledName();
    
            // Then
            assertEquals(expectedFirstName, firstName, "Should return first called name");
            assertNotNull(firstName, "First called name should not be null");
        }
    
        @Test
        @DisplayName("nextCalledName should return valid name for fallback attempts")
        void testNextCalledNameContract() {
            // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.9K bytes
    - Viewed (0)
Back to top