Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 411 - 420 of 859 for initializers (0.07 seconds)

  1. src/test/java/org/codelibs/fess/job/CrawlJobTest.java

        private static class TestFessConfig extends FessConfig.SimpleImpl {
            private static final long serialVersionUID = 1L;
    
            public TestFessConfig() {
                super();
                // Initialize the properties to avoid NullPointerException
                try {
                    java.lang.reflect.Field propField = org.lastaflute.core.direction.ObjectiveConfig.class.getDeclaredField("prop");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 25K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/util/LogNotificationAppender.java

                if (levelStr != null) {
                    return Level.toLevel(levelStr, minLevel);
                }
            } catch (final Exception e) {
                // ComponentUtil not initialized yet
            }
            return minLevel;
        }
    
        /**
         * Factory method to create a LogNotificationAppender instance.
         *
         * @param name the appender name
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 6K bytes
    - Click Count (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketWriter.kt

      private val messageBuffer = Buffer()
    
      /** The [Buffer] of [sink]. Write to this and then flush/emit [sink]. */
      private val sinkBuffer: Buffer = sink.buffer
      private var writerClosed = false
    
      /** Lazily initialized on first use. */
      private var messageDeflater: MessageDeflater? = null
    
      // Masks are only a concern for client writers.
      private val maskKey: ByteArray? = if (isClient) ByteArray(4) else null
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 6K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/util/concurrent/NullnessCasts.java

       * its runtime check.
       *
       * <p>An example use case for this method is in implementing an {@code Iterator<T>} whose {@code
       * next} field is lazily initialized. The type of that field would be {@code @Nullable T}, and the
       * code would be responsible for populating a "real" {@code T} (which might still be the value
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Aug 13 20:49:47 GMT 2025
    - 4K bytes
    - Click Count (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/gcs/GcsClient.java

         * Helper for managing content length validation and limits.
         */
        @Resource
        protected ContentLengthHelper contentLengthHelper;
    
        /**
         * Flag indicating whether the client has been initialized.
         */
        protected volatile boolean isInit = false;
    
        /**
         * The GCS Storage client instance for interacting with Google Cloud Storage.
         */
        protected Storage storage;
    
        /**
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Thu Dec 11 08:38:29 GMT 2025
    - 17.5K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/rank/fusion/RankFusionSearcherTest.java

            String name = searcher.getName();
            assertNotNull(name);
            assertTrue(name.equals("my_custom") || name.equals("mycustom"));
        }
    
        /**
         * Test getName() is cached (lazily initialized).
         */
        @Test
        public void test_getNameCached() {
            final TestSearcher searcher = new TestSearcher();
            final String name1 = searcher.getName();
            final String name2 = searcher.getName();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 6.5K bytes
    - Click Count (0)
  7. src/main/java/jcifs/internal/smb2/rdma/SmbDirectNegotiateRequest.java

            SMBUtil.writeInt4(maxReceiveSize, data, idx);
            idx += 4;
            SMBUtil.writeInt4(maxFragmentedSize, data, idx);
            idx += 4;
    
            // Reserved fields (8 bytes)
            // Already zero-initialized
    
            return data;
        }
    
        /**
         * Get size of this message
         *
         * @return size in bytes (32)
         */
        public static int size() {
            return 32;
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 24 00:12:28 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/smb1/com/SmbComNTCreateAndXTest.java

            assertNotNull(resp, "Response should not be null after init");
            // getResponse should now return the same instance
            assertSame(resp, req.getResponse(), "getResponse should expose the initialized response");
        }
    
        @Test
        @DisplayName("getResponse before initResponse returns null")
        void getResponseInitiallyNull() {
            SmbComNTCreateAndX req = createRequest(0, 0);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  9. api/maven-api-annotations/src/main/java/org/apache/maven/api/annotations/Config.java

             * typically set by Maven itself and flagged as readOnly=true or by users via maven-system.properties files.
             * System properties are initialized before the build starts and are available throughout the entire Maven
             * execution. They are used for core Maven functionality that needs to be established at startup.
             */
            SYSTEM_PROPERTIES,
            /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Jul 03 14:18:26 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  10. internal/config/storageclass/storage-class_test.go

    		{STANDARD, 16, 10, 6},
    		{"", 16, 9, 7},
    	}
    	for i, tt := range tests {
    		scfg := Config{
    			Standard: StorageClass{
    				Parity: 8,
    			},
    			RRS: StorageClass{
    				Parity: 2,
    			},
    			initialized: true,
    		}
    		// Set env var for test case 4
    		if i+1 == 4 {
    			scfg.RRS.Parity = 7
    		}
    		// Set env var for test case 5
    		if i+1 == 5 {
    			scfg.Standard.Parity = 6
    		}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Aug 15 23:04:20 GMT 2023
    - 4.3K bytes
    - Click Count (0)
Back to Top