Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 321 - 330 of 818 for initializer (0.07 seconds)

  1. internal/once/init.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package once
    
    import (
    	"context"
    	"sync"
    	"sync/atomic"
    )
    
    // Inspired from Golang sync.Once but it is only marked
    // initialized when the provided function returns nil.
    
    // Init represents the structure.
    type Init struct {
    	done uint32
    	m    sync.Mutex
    }
    
    // Do is similar to sync.Once.Do - makes one successful
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue May 09 04:20:31 GMT 2023
    - 2.1K bytes
    - Click Count (0)
  2. internal/lock/lock_solaris.go

    // acquire a write lock.
    func TryLockedOpenFile(path string, flag int, perm os.FileMode) (*LockedFile, error) {
    	return lockedOpenFile(path, flag, perm, syscall.F_SETLK)
    }
    
    // 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: Sun Jan 02 17:15:06 GMT 2022
    - 2.8K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/helper/ProtocolHelper.java

        /**
         * Default constructor for ProtocolHelper.
         * Initializes the helper with empty protocol arrays that will be populated during init().
         */
        public ProtocolHelper() {
            // Default constructor
        }
    
        /**
         * Initializes the protocol helper by loading configured protocols from FessConfig
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Dec 12 13:58:40 GMT 2025
    - 12.4K bytes
    - Click Count (1)
  4. cmd/common-main.go

    	var err error
    	globalConfigDir, err = newConfigDir(configDir, configSet, defaultConfigDir.Get)
    	logger.FatalIf(err, "Unable to initialize the (deprecated) config directory")
    	globalCertsDir, err = newConfigDir(certsDir, certsSet, defaultCertsDir.Get)
    	logger.FatalIf(err, "Unable to initialize the certs directory")
    
    	// Remove this code when we deprecate and remove config-dir.
    	// This code is to make sure we inherit from the config-dir
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 32.5K bytes
    - Click Count (3)
  5. android/guava/src/com/google/common/util/concurrent/UncaughtExceptionHandlers.java

      private UncaughtExceptionHandlers() {}
    
      /**
       * Returns an exception handler that exits the system. This is particularly useful for the main
       * thread, which may start up other, non-daemon threads, but fail to fully initialize the
       * application successfully.
       *
       * <p>Example usage:
       *
       * <pre>
       * public static void main(String[] args) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Feb 10 21:03:40 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  6. cmd/erasure-object.go

    		return ObjectInfo{}, toObjectErr(errInvalidArgument)
    	}
    
    	// Initialize parts metadata
    	partsMetadata := make([]FileInfo, len(storageDisks))
    
    	fi := newFileInfo(pathJoin(minioMetaBucket, key), dataDrives, parityDrives)
    	fi.DataDir = mustGetUUID()
    
    	// Initialize erasure metadata.
    	for index := range partsMetadata {
    		partsMetadata[index] = fi
    	}
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Oct 24 04:05:31 GMT 2025
    - 80.4K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/plugin/PluginContainerException.java

    import org.codehaus.plexus.component.repository.exception.ComponentRepositoryException;
    import org.codehaus.plexus.configuration.PlexusConfigurationException;
    
    /**
     * Exception which occurs to indicate that the plugin cannot be initialized due
     * to some deeper problem with Plexus. Context information includes the groupId,
     * artifactId, and version for the plugin; at times, the goal name for which
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.2K bytes
    - Click Count (0)
  8. 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 Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 2.9K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/helper/SambaHelper.java

        /**
         * The Fess configuration.
         */
        protected FessConfig fessConfig;
    
        /**
         * Constructor.
         */
        public SambaHelper() {
            super();
        }
    
        /**
         * Initializes the SambaHelper.
         */
        @PostConstruct
        public void init() {
            if (logger.isDebugEnabled()) {
                logger.debug("Initializing {}", this.getClass().getSimpleName());
            }
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  10. 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)
Back to Top