Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 461 - 470 of 2,006 for constructs (0.07 seconds)

  1. src/test/java/jcifs/smb/SecurityBlobTest.java

            // Assert
            assertEquals(expected, actual, "Hex string should match expected format");
        }
    
        // Ensures a default-constructed blob starts empty and stable across APIs
        @Test
        @DisplayName("Default constructor yields empty state")
        void defaultConstructor_initialState() {
            // Arrange & Act
            SecurityBlob blob = new SecurityBlob();
    
            // Assert
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/Lists.java

       * use the {@code ArrayList} {@linkplain ArrayList#ArrayList() constructor} directly, taking
       * advantage of <a
       * href="https://docs.oracle.com/javase/tutorial/java/generics/genTypeInference.html#type-inference-instantiation">"diamond"
       * syntax</a>.
       */
      @SuppressWarnings("NonApiType") // acts as a direct substitute for a constructor call
      public static <E extends @Nullable Object> ArrayList<E> newArrayList() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 16:38:09 GMT 2026
    - 42.5K bytes
    - Click Count (0)
  3. src/main/webapp/js/clipboard.min.js

    on(t,e){return t.__proto__=e,t})(t,e)}function h(n){var o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}();return function(){var t,e=v(n);return t=o?(t=v(this).constructor,Reflect.construct(e,arguments,t)):e.apply(this,arguments),e=this,!(t=t)||"object"!==p(t)&&"function"!=typeof t?function(t){if(void...
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 12 06:14:02 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb1/smb1/SmbExceptionTest.java

     * Unit tests for {@link SmbException}.
     *
     * The tests exercise the public API: constructors, {@link #getNtStatus()},
     * {@link #getRootCause()}, and {@link #toString()}.
     */
    @ExtendWith(MockitoExtension.class)
    class SmbExceptionTest {
    
        /**
         * Happy path – constructor with a valid NT status code (0).
         */
        @Test
        @DisplayName("Constructor 0 – NT_STATUS_SUCCESS")
        void testConstructorWithZeroCode() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  5. android/guava-testlib/src/com/google/common/testing/NullPointerTester.java

       */
      public void testConstructors(Class<?> c, Visibility minimalVisibility) {
        for (Constructor<?> constructor : c.getDeclaredConstructors()) {
          if (minimalVisibility.isVisible(constructor) && !isIgnored(constructor)) {
            testConstructor(constructor);
          }
        }
      }
    
      /** Runs {@link #testConstructor} on every public constructor in class {@code c}. */
      public void testAllPublicConstructors(Class<?> c) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jul 14 14:44:08 GMT 2025
    - 24.9K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/util/concurrent/ExecutionError.java

       *     #initCause} later, so it is not quite equivalent to using a constructor that omits the
       *     cause.
       */
      @Deprecated
      protected ExecutionError() {}
    
      /**
       * Creates a new instance with the given detail message and no cause.
       *
       * @deprecated Prefer {@linkplain ExecutionError(String, Error)} a constructor that accepts a
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 13 17:34:21 GMT 2025
    - 4K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/exception/SearchQueryExceptionTest.java

            // Test constructor with null message
            SearchQueryException exception = new SearchQueryException((String) null);
    
            assertNull(exception.getMessage());
            assertNull(exception.getCause());
            assertTrue(exception instanceof FessSystemException);
        }
    
        @Test
        public void test_constructorWithNullCause() {
            // Test constructor with null cause
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 10K bytes
    - Click Count (0)
  8. src/test/java/jcifs/ntlmssp/av/AvFlagsTest.java

    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    
    import org.junit.jupiter.api.Test;
    
    public class AvFlagsTest {
    
        /**
         * Test constructor with raw bytes.
         */
        @Test
        void testAvFlagsByteArrayConstructor() {
            // Test with a positive integer
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/exception/ContainerNotAvailableExceptionTest.java

        public void test_constructor_withCause() {
            // Test constructor with cause only
            Throwable cause = new IllegalStateException("Container initialization failed");
            ContainerNotAvailableException exception = new ContainerNotAvailableException(cause);
    
            assertEquals("Container is not available.", exception.getMessage());
            // The cause is not passed to super constructor in the implementation
            assertNull(exception.getCause());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 10.1K bytes
    - Click Count (0)
  10. compat/maven-model/src/main/java/org/apache/maven/model/InputSource.java

         */
        private volatile int hashCode = 0;
    
        // ----------------/
        // - Constructors -/
        // ----------------/
    
        /**
         * Default constructor for InputSource.
         */
        public InputSource() {}
    
        /**
         * Creates a new InputSource from an API model InputSource.
         * This constructor is used for converting between the API model and the compat model.
         *
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 5.6K bytes
    - Click Count (0)
Back to Top