Search Options

Results per page
Sort
Preferred Languages
Advance

Results 281 - 290 of 620 for initializer (0.27 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt

       *
       * Note that if the application chooses to not call this method to initialize the cache. By
       * default, OkHttp will perform lazy initialization upon the first usage of the cache.
       */
      @Throws(IOException::class)
      fun initialize() {
        cache.initialize()
      }
    
      /**
       * Closes the cache and deletes all of its stored values. This will delete all files in the cache
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  2. 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;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 4K bytes
    - Viewed (0)
  3. 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;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  4. android/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;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/netbios/NameQueryRequestTest.java

        private Name mockName;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
        }
    
        @Test
        void testConstructor() {
            // Test that the constructor correctly initializes questionName and questionType
            NameQueryRequest request = new NameQueryRequest(mockConfig, mockName);
    
            assertNotNull(request);
            assertEquals(mockName, request.questionName);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  6. 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() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  7. 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");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 25K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImplTest.java

                crawlingConfigHelperField.setAccessible(true);
                crawlingConfigHelperField.set(null, null);
            } catch (Exception e) {
                // Ignore
            }
    
            // Initialize test helpers
            systemHelper = new TestSystemHelper();
            indexingHelper = new TestIndexingHelper();
            crawlingInfoHelper = new TestCrawlingInfoHelper();
            searchLogHelper = new TestSearchLogHelper();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 24.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/validation/UriTypeValidator.java

        /**
         * Default constructor for UriTypeValidator.
         */
        public UriTypeValidator() {
            // Default constructor
        }
    
        private String[] protocols;
    
        @Override
        public void initialize(final UriType uriType) {
            protocols = switch (uriType.protocolType()) {
            case WEB -> ComponentUtil.getProtocolHelper().getWebProtocols();
            case FILE -> ComponentUtil.getProtocolHelper().getFileProtocols();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java

        public ThumbnailManager() {
            // Default constructor
        }
    
        /**
         * Initializes the thumbnail manager after construction.
         * Sets up base directory and starts background processing.
         */
        @PostConstruct
        public void init() {
            if (logger.isDebugEnabled()) {
                logger.debug("Initialize {}", this.getClass().getSimpleName());
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 26.9K bytes
    - Viewed (0)
Back to top