Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 667 for initializers (0.08 sec)

  1. src/test/java/jcifs/dcerpc/msrpc/MsrpcDfsRootEnumTest.java

    /**
     * Tests for the MsrpcDfsRootEnum class.
     * This class uses JUnit 5 for testing.
     */
    class MsrpcDfsRootEnumTest {
    
        /**
         * Test the constructor of MsrpcDfsRootEnum.
         * Verifies that the object is initialized with the correct default values.
         */
        @Test
        void testConstructor() {
            // Given
            String serverName = "test-server";
    
            // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGeneratorTest.java

                }
                assertImageSize(outputFile, 100, 100);
            } catch (IllegalStateException e) {
                // Expected when container is not initialized
                if (e.getMessage().contains("Not initialized")) {
                    // Skip test when container is not available
                    return;
                }
                throw e;
            }
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/dcerpc/msrpc/MsrpcSamrOpenDomainTest.java

            // Then
            // Verify that ptype is set to 0
            assertEquals(0, msrpcSamrOpenDomain.getPtype(), "ptype should be initialized to 0");
    
            // Verify that flags are set correctly (DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG)
            // The actual values for DCERPC_FIRST_FRAG and DCERPC_LAST_FRAG are typically 0x01 and 0x02 respectively.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/design/DesignForm.java

     * Handles upload and management of design templates and CSS files.
     */
    public class DesignForm {
    
        /**
         * Creates a new instance of DesignForm.
         * This constructor initializes the form for design file management
         * in the admin interface, handling upload and management of templates and CSS files.
         */
        public DesignForm() {
            // Default constructor with explicit documentation
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/validation/CronExpressionValidatorTest.java

            }
        }
    
        public void test_constructorAndInitialize() {
            assertNotNull(validator);
    
            // Test initialize method doesn't throw exception
            validator.initialize(null);
    
            // Test that validator can be used after initialization
            assertTrue(validator.isValid(null, null));
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/dcerpc/msrpc/MsrpcLsarCloseTest.java

            mockHandle = mock(policy_handle.class);
        }
    
        /**
         * Test case for the {@link MsrpcLsarClose#MsrpcLsarClose(policy_handle)} constructor.
         * Verifies that the handle, ptype, and flags are correctly initialized.
         */
        @Test
        void testConstructor() {
            // Create an instance of MsrpcLsarClose with the mock handle
            MsrpcLsarClose lsarClose = new MsrpcLsarClose(mockHandle);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  7. tensorflow/c/c_api_macros_internal.h

    #ifndef TENSORFLOW_C_C_API_MACROS_INTERNAL_H_
    #define TENSORFLOW_C_C_API_MACROS_INTERNAL_H_
    
    #ifdef __cplusplus
    #include "tensorflow/core/platform/status.h"
    
    // Macro to verify that the field `struct_size` of STRUCT_OBJ is initialized.
    // `struct_size` is used for struct member compatibility check between core TF
    // and plug-ins with the same C API minor version. More info here:
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Mon Mar 13 17:40:56 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationResponseTest.java

        }
    
        @Nested
        @DisplayName("Constructor Tests")
        class ConstructorTests {
    
            @Test
            @DisplayName("Should initialize with SMB_QUERY_FILE_BASIC_INFO level")
            void testConstructorWithBasicInfo() throws Exception {
                Trans2QueryPathInformationResponse resp =
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  9. prepare_stmt.go

    	"reflect"
    	"sync"
    	"time"
    
    	"gorm.io/gorm/internal/stmt_store"
    )
    
    type PreparedStmtDB struct {
    	Stmts stmt_store.Store
    	Mux   *sync.RWMutex
    	ConnPool
    }
    
    // NewPreparedStmtDB creates and initializes a new instance of PreparedStmtDB.
    //
    // Parameters:
    // - connPool: A connection pool that implements the ConnPool interface, used for managing database connections.
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Fri Apr 25 08:22:26 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/SmbComNtTransactionTest.java

        }
    
        @Test
        void testConstructor() {
            // Test if the offsets are initialized correctly by the constructor.
            assertEquals(69, smbComNtTransaction.primarySetupOffset, "primarySetupOffset should be initialized to 69");
            assertEquals(51, smbComNtTransaction.secondaryParameterOffset, "secondaryParameterOffset should be initialized to 51");
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
Back to top