Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 331 - 340 of 866 for initialise (0.06 seconds)

  1. internal/lock/lock.go

    	r.mutex.Lock()
    	defer r.mutex.Unlock()
    
    	if r.refs == 0 {
    		return os.ErrInvalid
    	}
    
    	r.refs--
    	if r.refs == 0 {
    		err = r.File.Close()
    	}
    
    	return err
    }
    
    // Provides a new initialized read locked struct from *os.File
    func newRLockedFile(lkFile *LockedFile) (*RLockedFile, error) {
    	if lkFile == nil {
    		return nil, os.ErrInvalid
    	}
    
    	return &RLockedFile{
    		LockedFile: lkFile,
    		refs:       1,
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 2.5K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/dfs/DfsReferralDataInternalTest.java

            concreteImplementation = createInitializedDfsReferralDataImpl();
        }
    
        private DfsReferralDataImpl createInitializedDfsReferralDataImpl() {
            // Create a properly initialized instance using combine method
            DfsReferralDataImpl base = new DfsReferralDataImpl();
            DfsReferralData mockData = mock(DfsReferralData.class);
            when(mockData.getServer()).thenReturn("SERVER");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 28.2K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/exec/SuggestCreatorTest.java

                    // Any result is acceptable as long as no unexpected exception
                    assertNotNull(result);
                } catch (Exception e) {
                    // Expected behavior when components are not fully initialized
                    Throwable cause = e.getCause();
                    assertNotNull(cause);
                }
            } catch (Exception e) {
                // Test setup exception is acceptable
                assertNotNull(e);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/fileconfig/AdminFileconfigAction.java

        public HtmlResponse createnew() {
            saveToken();
            return asHtml(path_AdminFileconfig_AdminFileconfigEditJsp).useForm(CreateForm.class, op -> {
                op.setup(form -> {
                    form.initialize();
                    ComponentUtil.getCrawlingConfigHelper().getDefaultConfig(ConfigType.FILE).ifPresent(entity -> {
                        copyBeanToBean(entity, form, copyOp -> {
                            copyOp.excludeNull();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:54:13 GMT 2026
    - 21.8K bytes
    - Click Count (0)
  5. src/test/java/jcifs/http/NetworkExplorerTest.java

        }
    
        /**
         * Test Basic authentication when enabled
         */
        @Test
        void testDoGet_BasicAuth() throws Exception {
            // Initialize with Basic auth enabled
            initializeNetworkExplorer(true, "TestRealm");
    
            // Test with no auth - should request Basic
            when(request.getHeader("Authorization")).thenReturn(null);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 21.2K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/scheduler/AdminSchedulerAction.java

            saveToken();
            return asHtml(path_AdminScheduler_AdminSchedulerEditJsp).useForm(CreateForm.class, op -> {
                op.setup(scheduledJobForm -> {
                    scheduledJobForm.initialize();
                    scheduledJobForm.crudMode = CrudMode.CREATE;
                    scheduledJobForm.jobLogging = Constants.ON;
                    scheduledJobForm.crawler = Constants.ON;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 13:56:35 GMT 2025
    - 21.8K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/helper/OsddHelper.java

        /** The content type for OSDD response. */
        protected String contentType = "text/xml"; // "application/opensearchdescription+xml"
    
        /** The OSDD file. */
        protected File osddFile;
    
        /**
         * Initializes the OSDD helper.
         */
        @PostConstruct
        public void init() {
            if (logger.isDebugEnabled()) {
                logger.debug("Initializing {}", this.getClass().getSimpleName());
            }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  8. src/main/webapp/WEB-INF/view/admin/user/admin_user_details.jsp

                                                <th><la:message key="labels.user_initials"/></th>
                                                <td>${f:h(attributes.initials)}<la:hidden
                                                        property="attributes.initials"/></td>
                                            </tr>
                                            <tr>
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Feb 23 08:03:44 GMT 2026
    - 17.9K bytes
    - Click Count (0)
  9. guava-testlib/src/com/google/common/collect/testing/testers/AbstractListTester.java

    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class AbstractListTester<E extends @Nullable Object> extends AbstractCollectionTester<E> {
      /*
       * Previously we had a field named list that was initialized to the value of
       * collection in setUp(), but that caused problems when a tester changed the
       * value of list or collection but not both.
       */
      protected final List<E> getList() {
        return (List<E>) collection;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 2.9K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java

                // Close the digest
                digest.close();
    
                // Verify operations fail after close
                byte[] data = new byte[128];
                // Initialize the data buffer with proper SMB2 header structure
                SMBUtil.writeInt4(0xFE534D42, data, 0); // SMB2 signature
                SMBUtil.writeInt4(0x0000, data, 12); // Command = 0
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 43.7K bytes
    - Click Count (0)
Back to Top