Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 1,880 for constructed (0.08 sec)

  1. src/main/java/jcifs/smb1/util/transport/Response.java

     * Represents a response that can be received through the SMB1 transport layer.
     */
    public abstract class Response {
    
        /**
         * Default constructor for Response.
         */
        public Response() {
            // Default constructor
        }
    
        /**
         * The expiration time for this response in milliseconds.
         */
        public long expiration;
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 557 bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/JAASAuthenticatorTest.java

                JAASAuthenticator a = new JAASAuthenticator();
                // Provide a preset Subject so the getSubject() path uses the (serviceName, ps, this) constructor
                a.setSubject(new Subject());
                return a;
            }
            case WITH_CONFIG: {
                // Use the constructor that sets a StaticJAASConfiguration to exercise that branch
                return new JAASAuthenticator(new HashMap<String, String>(), "DOM", "user", "pass");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  3. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/CertificateAdapters.kt

        Adapters.sequence(
          "Validity",
          time,
          time,
          decompose = {
            listOf(
              it.notBefore,
              it.notAfter,
            )
          },
          construct = {
            Validity(
              notBefore = it[0] as Long,
              notAfter = it[1] as Long,
            )
          },
        )
    
      /** The type of the parameters depends on the algorithm that precedes it. */
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/dcerpc/msrpc/MsrpcSamrOpenDomainTest.java

            // Since SamrOpenDomain's constructor is called, we implicitly test that the arguments
            // are passed up. Mockito cannot directly verify super() calls without PowerMock,
            // which is not ideal for simple constructor tests.
            // The primary responsibility of this constructor is setting ptype and flags,
            // which are directly verifiable.
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/pac/kerberos/KerberosTokenTest.java

     */
    class KerberosTokenTest {
    
        /**
         * Test constructor with an empty token.
         */
        @Test
        void testConstructorWithEmptyToken() {
            byte[] emptyToken = new byte[0];
            assertThrows(PACDecodingException.class, () -> new KerberosToken(emptyToken));
        }
    
        /**
         * Test constructor with a malformed token (not ASN.1).
         */
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/CIFSException.java

        /**
         *
         */
        private static final long serialVersionUID = 7806460518865806784L;
    
        /**
         * Constructs a CIFS exception with no detail message.
         */
        public CIFSException() {
        }
    
        /**
         * Constructs a CIFS exception with the specified detail message and cause.
         *
         * @param message the detail message
         * @param cause the cause of this exception
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/dcerpc/ndr/NdrLongTest.java

            assertEquals(positiveValue, ndrLongPositive.value, "Constructor should correctly initialize with a positive value.");
    
            // Test case 2: Negative value
            int negativeValue = -54321;
            NdrLong ndrLongNegative = new NdrLong(negativeValue);
            assertEquals(negativeValue, ndrLongNegative.value, "Constructor should correctly initialize with a negative value.");
    
            // Test case 3: Zero value
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java

            response = new Trans2SetFileInformationResponse(config);
        }
    
        @Test
        @DisplayName("Test constructor initializes object correctly")
        void testConstructor() {
            // Test that the constructor properly initializes the object
            assertNotNull(response);
            // The command is not set in the constructor, defaults to 0
            assertEquals(0, response.getCommand());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/SMBProtocolDecodingException.java

        /**
         *
         */
        private static final long serialVersionUID = 4862398838709265475L;
    
        /**
         * Constructs a new SMBProtocolDecodingException with no detail message.
         */
        public SMBProtocolDecodingException() {
        }
    
        /**
         * Constructs a new SMBProtocolDecodingException with the specified detail message and cause.
         *
         * @param message the detail message
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/pac/PACDecodingException.java

    public class PACDecodingException extends CIFSException {
    
        private static final long serialVersionUID = 1L;
    
        /**
         * Constructs a new PAC decoding exception with no detail message.
         */
        public PACDecodingException() {
            this(null, null);
        }
    
        /**
         * Constructs a new PAC decoding exception with the specified detail message.
         * @param message 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)
Back to top