Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 251 - 260 of 818 for initializer (0.06 seconds)

  1. src/test/java/jcifs/MsrpcQueryInformationPolicyTest.java

        /**
         * Test the constructor of MsrpcQueryInformationPolicy.
         * It should correctly call the super constructor and set ptype and flags.
         */
        @Test
        @DisplayName("Constructor should initialize fields and call super constructor")
        void constructorTest() {
            short level = 1;
    
            // Create an instance of the class under test
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/validation/CronExpressionValidator.java

        /**
         * Default constructor.
         */
        public CronExpressionValidator() {
            // Empty constructor
        }
    
        @Override
        public void initialize(final CronExpression constraintAnnotation) {
        }
    
        @Override
        public boolean isValid(final String value, final ConstraintValidatorContext context) {
            return determineValid(value);
        }
    
        /**
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/filter/UrlFilter.java

     */
    package org.codelibs.fess.crawler.filter;
    
    /**
     * UrlFilter checks if a given url is a target one.
     *
     * @author shinsuke
     *
     */
    public interface UrlFilter {
    
        /**
         * Initialize a url filter by sessionId.
         *
         * @param sessionId Session ID
         */
        void init(String sessionId);
    
        /**
         * Check if a given url is a target.
         *
         * @param url URL
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sat Mar 15 06:52:00 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  4. internal/dsync/locked_rand.go

    func (r *lockedRandSource) Int63() (n int64) {
    	r.lk.Lock()
    	n = r.src.Int63()
    	r.lk.Unlock()
    	return n
    }
    
    // Seed uses the provided seed value to initialize the generator to a
    // deterministic state.
    func (r *lockedRandSource) Seed(seed int64) {
    	r.lk.Lock()
    	r.src.Seed(seed)
    	r.lk.Unlock()
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  5. 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. android/guava-testlib/src/com/google/common/collect/testing/testers/ListRemoveTester.java

        collection = getSubjectGenerator().create(arrayAndDuplicate.elements);
        E duplicate = arrayAndDuplicate.duplicate;
    
        int firstIndex = getList().indexOf(duplicate);
        int initialSize = getList().size();
        assertTrue("remove(present) should return true", getList().remove(duplicate));
        assertTrue(
            "After remove(duplicate), a list should still contain the duplicate element",
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 2.6K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/dict/protwords/ProtwordsCreator.java

     */
    public class ProtwordsCreator extends DictionaryCreator {
        private static final Logger logger = LogManager.getLogger(ProtwordsCreator.class);
    
        /**
         * Constructor for ProtwordsCreator.
         * Initializes the creator with a pattern to match protwords files.
         */
        public ProtwordsCreator() {
            super("protwords.*\\.txt");
        }
    
        /**
         * Registers this creator with the dictionary manager.
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 2K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/core/lang/ConstructorUtil.java

     *
     * @author higa
     */
    public abstract class ConstructorUtil {
    
        /**
         * Do not instantiate.
         */
        protected ConstructorUtil() {
        }
    
        /**
         * Creates and initializes a new instance of the class declared by the specified constructor with the given initialization parameters.
         *
         * @param <T> the type of the object
         * @param constructor the constructor (must not be {@literal null})
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  9. src/main/java/jcifs/internal/smb2/persistent/DurableHandleResponse.java

        private byte[] reserved = new byte[8];
    
        /**
         * Create a new durable handle response
         */
        public DurableHandleResponse() {
            // Reserved field initialized to zeros
        }
    
        @Override
        public byte[] getName() {
            return CONTEXT_NAME_BYTES;
        }
    
        @Override
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  10. utils/tests/dummy_dialecter.go

    	"gorm.io/gorm/logger"
    	"gorm.io/gorm/schema"
    )
    
    type DummyDialector struct {
    	TranslatedErr error
    }
    
    func (DummyDialector) Name() string {
    	return "dummy"
    }
    
    func (DummyDialector) Initialize(db *gorm.DB) error {
    	callbacks.RegisterDefaultCallbacks(db, &callbacks.Config{
    		CreateClauses:        []string{"INSERT", "VALUES", "ON CONFLICT", "RETURNING"},
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Mon Mar 06 06:03:31 GMT 2023
    - 2.2K bytes
    - Click Count (0)
Back to Top