Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,475 for codes (0.01 sec)

  1. src/main/java/org/codelibs/core/message/MessageFormatter.java

        }
    
        /**
         * Returns the message with the message code.
         *
         * @param messageCode
         *            Message code
         * @param simpleMessage
         *            Simple message with arguments expanded
         * @return Message with message code
         */
        public static String getFormattedMessage(final String messageCode, final String simpleMessage) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/Objects.java

       *
       * <ul>
       *   <li>{@code true} if {@code a} and {@code b} are both null.
       *   <li>{@code true} if {@code a} and {@code b} are both non-null and they are equal according to
       *       {@link Object#equals(Object)}.
       *   <li>{@code false} in all other situations.
       * </ul>
       *
       * <p>This assumes that any non-null objects passed to this function conform to the {@code
       * equals()} contract.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 28 22:51:26 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbOperationException.java

         *
         * @param errorCode the error code
         * @param message the error message
         */
        public SmbOperationException(ErrorCode errorCode, String message) {
            this(errorCode, message, null, RetryPolicy.DEFAULT, Collections.emptyMap());
        }
    
        /**
         * Create a new SmbOperationException with cause
         *
         * @param errorCode the error code
         * @param message the error message
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbAuthExceptionTest.java

     */
    @ExtendWith(MockitoExtension.class)
    public class SmbAuthExceptionTest {
    
        /**
         * Provide representative error codes for the int constructor.
         * - NT status code (high bits set)
         * - Success code (0)
         * - Non-NT small code to exercise default mapping to NT_STATUS_UNSUCCESSFUL
         */
        static Stream<Arguments> intErrorCodes() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/CommonServerMessageBlockTest.java

            verify(messageBlock).getCommand();
        }
    
        @Test
        @DisplayName("Test setCommand with various SMB command codes")
        void testSetCommandWithVariousCodes() {
            // Test common SMB command codes
            int[] commandCodes = { 0x00, 0x72, 0x73, 0x74, 0x75, 0xFF };
    
            for (int command : commandCodes) {
                doNothing().when(messageBlock).setCommand(command);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/hash/Hasher.java

      @Override
      Hasher putLong(long l);
    
      /** Equivalent to {@code putInt(Float.floatToRawIntBits(f))}. */
      @CanIgnoreReturnValue
      @Override
      Hasher putFloat(float f);
    
      /** Equivalent to {@code putLong(Double.doubleToRawLongBits(d))}. */
      @CanIgnoreReturnValue
      @Override
      Hasher putDouble(double d);
    
      /** Equivalent to {@code putByte(b ? (byte) 1 : (byte) 0)}. */
      @CanIgnoreReturnValue
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/SID.java

     * accounts. SIDs are commonly represented using a textual format such as
     * <code>S-1-5-21-1496946806-2192648263-3843101252-1029</code> but they may
     * also be resolved to yield the name of the associated Windows account
     * such as <code>Administrators</code> or <code>MYDOM\alice</code>.
     * <p>
     * Consider the following output of <code>examples/SidLookup.java</code>:
     *
     * <pre>
     *        toString: S-1-5-21-4133388617-793952518-2001621813-512
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/dcerpc/msrpc/SamrPolicyHandleTest.java

            SamrPolicyHandle handle = new SamrPolicyHandle(mockHandle, server, access);
    
            SmbException thrown = assertThrows(SmbException.class, handle::close);
    
            // SmbException constructor maps non-NT status codes to NT_STATUS_UNSUCCESSFUL
            assertEquals(0xC0000001, thrown.getNtStatus()); // NT_STATUS_UNSUCCESSFUL
            verify(mockHandle, times(1)).sendrecv(any(MsrpcSamrCloseHandle.class));
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/Smb2Constants.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.internal.smb2;
    
    /**
     * Constants for SMB2/SMB3 protocol.
     *
     * This class contains protocol-specific constants, command codes,
     * flags, and other values used in SMB2/SMB3 communication.
     *
     * @author mbechler
     */
    public final class Smb2Constants {
    
        /**
         *
         */
        private Smb2Constants() {
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/SmbExceptionTest.java

         */
        @Test
        @DisplayName("Winerr code 123 – message equals 123")
        void testConstructorWithWinerr() {
            SmbException ex = new SmbException(123, true);
            assertEquals("123", ex.getMessage());
            assertEquals(123, ex.getNtStatus());
        }
    
        /**
         * Parameterised test covering many error codes.
         * - Error code 0 returns 0 (NT_STATUS_SUCCESS)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
Back to top