Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 291 for msgs (0.63 sec)

  1. src/test/java/jcifs/smb/DosErrorTest.java

            // Arrange & Act
            String[] msgs = DosError.DOS_ERROR_MESSAGES;
    
            // Assert
            assertNotNull(msgs);
            assertTrue(msgs.length >= 3, "Expect at least the first 3 entries present");
            assertEquals("The operation completed successfully.", msgs[0]);
            assertEquals("Incorrect function.", msgs[1]);
            assertEquals("Incorrect function.", msgs[2]);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/WinErrorTest.java

        private static Optional<String> lookupMessage(int code) {
            int[] codes = WinError.WINERR_CODES;
            String[] msgs = WinError.WINERR_MESSAGES;
            for (int i = 0; i < codes.length; i++) {
                if (codes[i] == code) {
                    return Optional.of(msgs[i]);
                }
            }
            return Optional.empty();
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/dcerpc/DcerpcErrorTest.java

            assertEquals("DCERPC_FAULT_CANT_PERFORM", msg3);
    
            String msg4 = DcerpcException.getMessageByDcerpcError(DcerpcError.DCERPC_FAULT_NDR);
            assertEquals("DCERPC_FAULT_NDR", msg4);
    
            String msg5 = DcerpcException.getMessageByDcerpcError(DcerpcError.DCERPC_FAULT_INVALID_TAG);
            assertEquals("DCERPC_FAULT_INVALID_TAG", msg5);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/NtlmContext.java

                    }
                }
    
                this.ntlmsspFlags &= msg2.getFlags();
                final Type3Message msg3 = createType3Message(msg2);
                msg3.setupMIC(this.type1Bytes, token);
    
                final byte[] out = msg3.toByteArray();
    
                if (log.isTraceEnabled()) {
                    log.trace(msg3.toString());
                    log.trace(Hexdump.toHexString(token));
                }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/NtlmContext.java

                    final Type3Message msg3 =
                            new Type3Message(msg2, auth.getPassword(), auth.getDomain(), auth.getUsername(), workstation, ntlmsspFlags);
                    token = msg3.toByteArray();
    
                    if (LogStream.level >= 4) {
                        log.println(msg3);
                        if (LogStream.level >= 6) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/SmbComLogoffAndXTest.java

            SmbComLogoffAndX msg = new SmbComLogoffAndX(null);
            assertEquals(0, msg.readBytesWireFormat(new byte[15], index));
            assertEquals(0, msg.readBytesWireFormat(null, index));
        }
    
        @Test
        @DisplayName("toString formats correctly")
        void toStringFormatsCorrectly() {
            SmbComLogoffAndX msg = new SmbComLogoffAndX(null);
            String s = msg.toString();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/dcerpc/DcerpcHandle.java

                        msg.flags &= ~DCERPC_LAST_FRAG;
                        n = max_xmit - 24;
                    } else {
                        msg.flags |= DCERPC_LAST_FRAG;
                        isDirect = false;
                        msg.alloc_hint = n;
                    }
    
                    msg.length = 24 + n;
    
                    if (off > 0) {
                        msg.flags &= ~DCERPC_FIRST_FRAG;
                    }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/util/transport/TransportException.java

         */
        public TransportException() {
        }
    
        /**
         * Constructs a new TransportException with the specified detail message.
         *
         * @param msg the detail message
         */
        public TransportException(final String msg) {
            super(msg);
        }
    
        /**
         * Constructs a new TransportException with the specified root cause.
         *
         * @param rootCause the root cause of this exception
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/util/transport/RequestTimeoutException.java

         *
         * @param msg the detail message
         * @param rootCause the cause of the exception
         */
        public RequestTimeoutException(final String msg, final Throwable rootCause) {
            super(msg, rootCause);
        }
    
        /**
         * Constructs a new RequestTimeoutException with the specified detail message.
         *
         * @param msg the detail message
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/util/transport/ConnectionTimeoutException.java

         */
        public ConnectionTimeoutException() {
        }
    
        /**
         * Constructs a new ConnectionTimeoutException with the specified detail message.
         * @param msg the detail message
         */
        public ConnectionTimeoutException(final String msg) {
            super(msg);
        }
    
        /**
         * Constructs a new ConnectionTimeoutException with the specified cause.
         * @param rootCause the cause of this exception
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2K bytes
    - Viewed (0)
Back to top