Search Options

Results per page
Sort
Preferred Languages
Advance

Results 281 - 290 of 1,850 for construct (0.36 sec)

  1. src/test/java/jcifs/ntlmssp/av/AvTargetNameTest.java

    import static org.junit.jupiter.api.Assertions.assertEquals;
    
    import java.nio.charset.StandardCharsets;
    
    import org.junit.jupiter.api.Test;
    
    class AvTargetNameTest {
    
        /**
         * Test constructor with raw bytes.
         * Verifies that the AvPair type is correctly set and raw bytes are stored.
         */
        @Test
        void testConstructorWithRawBytes() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/info/Smb2QueryInfoRequest.java

        private Encodable inputBuffer;
    
        /**
         * Constructs a SMB2 query info request with the specified configuration
         *
         * @param config
         *            the configuration to use for this request
         */
        public Smb2QueryInfoRequest(final Configuration config) {
            this(config, Smb2Constants.UNSPECIFIED_FILEID);
        }
    
        /**
         * Constructs a SMB2 query info request with the specified configuration and file ID
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/misc/Tuple4.java

            return new Tuple4<>(value1, value2, value3, value4);
        }
    
        /**
         * Constructs an instance.
         */
        public Tuple4() {
        }
    
        /**
         * Constructs an instance.
         *
         * @param value1
         *            The first value
         * @param value2
         *            The second value
         * @param value3
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/UncheckedExecutionException.java

       *     constructor that omits the cause.
       */
      @Deprecated
      protected UncheckedExecutionException() {}
    
      /**
       * Creates a new instance with the given detail message and no cause.
       *
       * @deprecated Prefer {@linkplain UncheckedExecutionException(String, Throwable)} a constructor
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/dcerpc/msrpc/SamrAliasHandleTest.java

            // We cannot directly access private fields of MsrpcSamrOpenAlias or its superclass
            // Instead, we verify the interaction with the DcerpcHandle and the return value.
            // The fact that the constructor completes without exception and sets 'opened' to true
            // implies the correct parameters were used internally.
        }
    
        @Test
        void constructor_shouldThrowSmbExceptionOnOpenFailure() throws IOException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/NtlmChallengeTest.java

    import jcifs.smb1.UniAddress;
    
    /**
     * Unit tests for {@link NtlmChallenge}.
     */
    class NtlmChallengeTest {
    
        @Nested
        @DisplayName("Constructor and Field Tests")
        class ConstructorTests {
    
            @Test
            @DisplayName("Constructor sets fields correctly")
            void testConstructorSetsFields() {
                byte[] challenge = new byte[] { 1, 2, 3 };
                UniAddress dc = mock(UniAddress.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/util/transport/TransportExceptionTest.java

    /**
     * Test class for TransportException
     */
    public class TransportExceptionTest {
    
        @Test
        @DisplayName("Test default constructor creates exception with null message")
        public void testDefaultConstructor() {
            // Create exception with default constructor
            TransportException exception = new TransportException();
    
            // Verify the exception is created and has no message
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/lang/ClassUtil.java

         *            The parameter types array
         * @return The {@link Constructor} object for the {@code public} constructor matching the specified {@code argTypes}
         * @throws NoSuchConstructorRuntimeException
         *             If a matching constructor is not found
         * @see Class#getConstructor(Class...)
         */
        public static <T> Constructor<T> getConstructor(final Class<T> clazz, final Class<?>... argTypes)
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/util/WebApiUtilTest.java

            // Verify that WebApiUtil has a private constructor (utility class pattern)
            try {
                Constructor<WebApiUtil> constructor = WebApiUtil.class.getDeclaredConstructor();
                assertTrue("Constructor should be private", java.lang.reflect.Modifier.isPrivate(constructor.getModifiers()));
    
                // Test that constructor is accessible when made accessible
                constructor.setAccessible(true);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/util/HMACT64Test.java

                HMACT64 hmac = new HMACT64(TEST_KEY);
                hmac.engineReset();
                verify(mockMd5, times(2)).reset(); // Once in constructor, once in reset
                verify(mockMd5, times(2)).update(any(byte[].class)); // Once in constructor, once in reset
            }
        }
    
        @Test
        void testEngineGetDigestLength() throws NoSuchAlgorithmException {
            // Test engineGetDigestLength()
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.6K bytes
    - Viewed (0)
Back to top