Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 321 - 330 of 800 for Initializer (0.07 seconds)

  1. internal/lock/lock_nix.go

    // acquire a write lock.
    func TryLockedOpenFile(path string, flag int, perm os.FileMode) (*LockedFile, error) {
    	return lockedOpenFile(path, flag, perm, syscall.LOCK_NB)
    }
    
    // LockedOpenFile - initializes a new lock and protects
    // the file from concurrent access across mount points.
    // This implementation doesn't support all the open
    // flags and shouldn't be considered as replacement
    // for os.OpenFile().
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Thu Aug 19 01:35:22 GMT 2021
    - 2.8K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/eventspy/internal/EventSpyDispatcher.java

                return;
            }
            for (EventSpy eventSpy : eventSpies) {
                try {
                    eventSpy.init(context);
                } catch (Exception | LinkageError e) {
                    logError("initialize", e, eventSpy);
                }
            }
        }
    
        public void onEvent(Object event) {
            if (eventSpies.isEmpty()) {
                return;
            }
            for (EventSpy eventSpy : eventSpies) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.3K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb1/smb1/SmbComNegotiateTest.java

        void setUp() {
            // Create a new instance before each test
            smbComNegotiate = new SmbComNegotiate();
        }
    
        /**
         * Test the constructor of SmbComNegotiate.
         * It should initialize the command and flags2 with default values.
         */
        @Test
        void testConstructor() {
            // Verify that the command is set to SMB_COM_NEGOTIATE
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/entity/HighlightInfo.java

        /** The maximum number of highlighted fragments to return. */
        private int numOfFragments;
        /** The offset for fragment positioning. */
        private int fragmentOffset;
    
        /**
         * Default constructor that initializes highlighting settings from Fess configuration.
         * Loads default values for type, fragment size, number of fragments, and fragment offset.
         */
        public HighlightInfo() {
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  5. src/main/java/jcifs/internal/smb2/rdma/RdmaNegotiateRequest.java

        private int preferredSendSize;
        private int maxReceiveSize;
        private int maxFragmentedSize;
    
        /**
         * Create new RDMA negotiation request
         */
        public RdmaNegotiateRequest() {
            // Initialize with default values
            this.minVersion = 0x0100; // SMB Direct 1.0
            this.maxVersion = 0x0100; // SMB Direct 1.0
            this.creditsRequested = RdmaCapabilities.DEFAULT_SEND_CREDIT_TARGET;
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 23 05:11:12 GMT 2025
    - 4K bytes
    - Click Count (0)
  6. src/test/java/jcifs/util/transport/RequestTest.java

    import org.mockito.Mock;
    import org.mockito.MockitoAnnotations;
    
    class RequestTest {
    
        @Mock
        private Request mockRequest;
    
        @BeforeEach
        void setUp() {
            // Initialize mocks before each test
            MockitoAnnotations.openMocks(this);
        }
    
        @Test
        void testGetCreditCost() {
            // Test case for getCreditCost method
            int expectedCreditCost = 10;
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/searchlist/AdminSearchlistAction.java

                // query matches on all documents.
                form.q = Constants.MATCHES_ALL_QUERY;
            }
            final WebRenderData renderData = new WebRenderData();
            form.initialize();
            request.setAttribute(Constants.SEARCH_LOG_ACCESS_TYPE, Constants.SEARCH_LOG_ACCESS_TYPE_ADMIN);
            try {
                searchHelper.search(form, renderData, getUserBean());
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Nov 20 13:56:35 GMT 2025
    - 22.7K bytes
    - Click Count (1)
  8. src/main/java/org/codelibs/fess/app/service/RequestHeaderService.java

        /**
         * Fess configuration settings.
         */
        @Resource
        protected FessConfig fessConfig;
    
        /**
         * Default constructor for RequestHeaderService.
         * Initializes the service with dependency injection.
         */
        public RequestHeaderService() {
            // Default constructor
        }
    
        /**
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2ResponseTest.java

            config = new PropertyConfiguration(props);
            response = new Trans2FindFirst2Response(config);
        }
    
        @Test
        void testConstructor() {
            // Test that the constructor properly initializes the object
            assertNotNull(response);
            // The command should be SMB_COM_TRANSACTION2 (0x32 = 50)
            assertEquals(ServerMessageBlock.SMB_COM_TRANSACTION2, response.getCommand());
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb1/smb1/Trans2GetDfsReferralTest.java

                    clazz = clazz.getSuperclass();
                }
            }
            throw new NoSuchFieldException(fieldName);
        }
    
        @Test
        @DisplayName("Constructor initializes fields")
        void testConstructor() throws Exception {
            Trans2GetDfsReferral cmd = new Trans2GetDfsReferral("/file");
            assertEquals("/file", getPrivateField(cmd, "path"));
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.6K bytes
    - Click Count (0)
Back to Top