Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 531 - 540 of 2,006 for constructs (0.53 seconds)

  1. src/test/java/jcifs/pac/PacCredentialTypeTest.java

    class PacCredentialTypeTest {
    
        /**
         * Tests the constructor with a valid byte array.
         */
        @Test
        void testConstructorWithValidData() {
            // A byte array with a length less than 32 should be considered valid.
            byte[] validData = new byte[31];
            assertDoesNotThrow(() -> new PacCredentialType(validData));
        }
    
        /**
         * Tests the constructor with a null byte array, which should throw an exception.
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/dict/DictionaryExceptionTest.java

            // Test constructor with null message
            DictionaryException exception = new DictionaryException(null);
    
            assertNotNull(exception);
            assertNull(exception.getMessage());
            assertNull(exception.getCause());
        }
    
        @Test
        public void test_constructor_withNullMessageAndCause() {
            // Test constructor with null message but valid cause
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 6.5K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/tomcat/webresources/FessWebResourceRootTest.java

        }
    
        @Test
        public void test_constructorSignature() {
            // Verify constructor parameter types
            try {
                final java.lang.reflect.Constructor<?> constructor = FessWebResourceRoot.class.getConstructor(Context.class);
                final Class<?>[] paramTypes = constructor.getParameterTypes();
                assertEquals("Constructor should have one parameter", 1, paramTypes.length);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 4.4K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/opensearch/client/SearchEngineClientExceptionTest.java

            // Test constructor with null message
            SearchEngineClientException exception = new SearchEngineClientException(null);
    
            assertNotNull(exception);
            assertNull(exception.getMessage());
            assertNull(exception.getCause());
        }
    
        @Test
        public void test_constructor_withNullMessageAndCause() {
            // Test constructor with null message and null cause
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 7.1K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb1/util/MD4.java

        private final int[] X = new int[16];
    
        // Constructors
        //...........................................................................
    
        /**
         * Creates a new MD4 message digest instance.
         * Initializes the digest with the MD4 algorithm parameters.
         */
        public MD4() {
            super("MD4");
            engineReset();
        }
    
        /**
         *    This constructor is here to implement cloneability of this class.
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 9.6K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/exception/JobProcessingExceptionTest.java

            // Test constructor with null cause
            final JobProcessingException exception = new JobProcessingException((Throwable) null);
    
            assertNotNull(exception);
            assertNull(exception.getCause());
            assertNull(exception.getMessage());
        }
    
        @Test
        public void test_constructor_withNullMessageAndCause() {
            // Test constructor with null message and cause
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 7.2K bytes
    - Click Count (0)
  7. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerWriter.kt

        try {
          block(content)
          constructedBit = if (constructed) 0b0010_0000 else 0
          constructed = true // The enclosing object is constructed.
        } finally {
          stack.removeAt(stack.size - 1)
          path.removeAt(path.size - 1)
        }
    
        val sink = sink()
    
        // Write the tagClass, tag, and constructed bit. This takes 1 byte if tag is less than 31.
        if (tag < 31) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  8. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerReader.kt

      }
    
      fun readOctetString(): ByteString {
        if (bytesLeft == -1L || constructed) {
          throw ProtocolException("constructed octet strings not supported for DER")
        }
        return source.readByteString(bytesLeft)
      }
    
      fun readUtf8String(): String {
        if (bytesLeft == -1L || constructed) {
          throw ProtocolException("constructed strings not supported for DER")
        }
        return source.readUtf8(bytesLeft)
      }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 10.5K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/helper/QueryHelper.java

     * OpenSearch queries with appropriate filters and scoring mechanisms.
     */
    public class QueryHelper {
    
        /**
         * Default constructor.
         */
        public QueryHelper() {
            // Default constructor
        }
    
        /** Logger for this class */
        private static final Logger logger = LogManager.getLogger(QueryHelper.class);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 19.9K bytes
    - Click Count (0)
  10. src/test/java/jcifs/ntlmssp/av/AvPairTest.java

            byte[] raw = new byte[] { 0x01, 0x02, 0x03, 0x04 };
            AvPair avPair = new AvPair(type, raw);
    
            assertEquals(type, avPair.getType(), "Type should match the constructor argument.");
            assertArrayEquals(raw, avPair.getRaw(), "Raw data should match the constructor argument.");
    
            // Test with another type and empty raw data
            int type2 = AvPair.MsvAvEOL;
            byte[] raw2 = new byte[] {};
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3K bytes
    - Click Count (0)
Back to Top