Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 1,755 for constructed (0.25 sec)

  1. src/test/java/jcifs/tests/persistent/HandleGuidTest.java

            HandleGuid original = new HandleGuid();
            byte[] bytes = original.toBytes();
            HandleGuid reconstructed = new HandleGuid(bytes);
    
            assertEquals(original, reconstructed);
            assertEquals(original.toString(), reconstructed.toString());
            assertEquals(original.hashCode(), reconstructed.hashCode());
        }
    
        @Test
        public void testHandleGuidFromUuid() {
            UUID uuid = UUID.randomUUID();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/exception/InvalidAccessTokenExceptionTest.java

    import org.codelibs.fess.unit.UnitFessTestCase;
    
    public class InvalidAccessTokenExceptionTest extends UnitFessTestCase {
    
        public void test_constructor_withTypeAndMessage() {
            // Test constructor with type and message
            String type = "Bearer";
            String message = "Invalid access token provided";
            InvalidAccessTokenException exception = new InvalidAccessTokenException(type, message);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/exception/PluginExceptionTest.java

        public void test_constructor_withNullMessage() {
            // Test constructor with null message
            PluginException exception = new PluginException(null);
    
            assertNotNull(exception);
            assertNull(exception.getMessage());
            assertNull(exception.getCause());
        }
    
        public void test_constructor_withNullMessageAndCause() {
            // Test constructor with null message and null cause
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  4. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBenchmark.java

            useMonitor ? "com.google.common.util.concurrent.MonitorBased" : "java.util.concurrent.";
        String className = prefix + queueType + "BlockingQueue";
        Constructor<?> constructor = Class.forName(className).getConstructor(int.class);
        queue = (BlockingQueue<String>) constructor.newInstance(capacity);
    
        strings = new String[capacity];
        for (int i = 0; i < capacity; i++) {
          strings[i] = String.valueOf(Math.random());
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/MsrpcQueryInformationPolicyTest.java

        @Mock
        private NdrObject mockNdrObject;
    
        /**
         * Test the constructor of MsrpcQueryInformationPolicy.
         * It should correctly call the super constructor and set ptype and flags.
         */
        @Test
        @DisplayName("Constructor should initialize fields and call super constructor")
        void constructorTest() {
            short level = 1;
    
            // Create an instance of the class under test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/NetServerEnumIteratorTest.java

            // When & Then: Constructor should throw SmbException
            SmbException exception = assertThrows(SmbException.class, () -> new NetServerEnumIterator(parent, treeHandle, "*", 0, null));
    
            assertTrue(exception.getMessage().contains("invalid"));
            verify(treeHandle, never()).acquire();
        }
    
        @Test
        @DisplayName("Constructor should handle null parent")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/ConnectionPool.kt

     *
     * @constructor Create a new connection pool with tuning parameters appropriate for a single-user
     * application. The tuning parameters in this pool are subject to change in future OkHttp releases.
     * Currently this pool holds up to 5 idle connections which will be evicted after 5 minutes of
     * inactivity.
     */
    class ConnectionPool internal constructor(
      internal val delegate: RealConnectionPool,
    ) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jun 03 17:10:08 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/util/transport/ConnectionTimeoutExceptionTest.java

            // Test the no-argument constructor
            ConnectionTimeoutException exception = new ConnectionTimeoutException();
            assertNull(exception.getMessage(), "Message should be null for no-arg constructor");
            assertNull(exception.getCause(), "Cause should be null for no-arg constructor");
        }
    
        @Test
        void testStringConstructor() {
            // Test the constructor with a message
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/FuturesGetChecked.java

              .reverse();
      private static final Ordering<Constructor<?>> WITH_STRING_PARAM_THEN_WITH_THROWABLE_PARAM =
          ORDERING_BY_CONSTRUCTOR_PARAMETER_LIST.onResultOf(
              constructor -> asList(constructor.getParameterTypes()));
    
      private static <X> @Nullable X newFromConstructor(Constructor<X> constructor, Throwable cause) {
        Class<?>[] paramTypes = constructor.getParameterTypes();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/LinkedListMultimap.java

        @Nullable Node<K, V> previous;
    
        /** Constructs a new iterator over all values for the specified key. */
        ValueForKeyIterator(@ParametricNullness K key) {
          this.key = key;
          KeyList<K, V> keyList = keyToKeyList.get(key);
          next = (keyList == null) ? null : keyList.head;
        }
    
        /**
         * Constructs a new iterator over all values for the specified key starting at the specified
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 26.6K bytes
    - Viewed (0)
Back to top