Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 527 for Initialize (0.05 sec)

  1. okhttp/src/androidMain/kotlin/okhttp3/internal/publicsuffix/AssetPublicSuffixList.kt

              "Platform applicationContext not initialized. " +
                "Possibly running Android unit test without Robolectric. " +
                "Android tests should run with Robolectric " +
                "and call OkHttp.initialize before test",
            )
          } else {
            throw IOException(
              "Platform applicationContext not initialized. " +
                "Startup Initializer possibly disabled, " +
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Jul 28 07:33:49 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/dcerpc/ndr/NdrLongTest.java

            assertEquals(positiveValue, ndrLongPositive.value, "Constructor should correctly initialize with a positive value.");
    
            // Test case 2: Negative value
            int negativeValue = -54321;
            NdrLong ndrLongNegative = new NdrLong(negativeValue);
            assertEquals(negativeValue, ndrLongNegative.value, "Constructor should correctly initialize with a negative value.");
    
            // Test case 3: Zero value
            int zeroValue = 0;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/beans/factory/BeanDescFactory.java

            if (!initialized) {
                initialize();
            }
            BeanDesc beanDesc = beanDescCache.get(clazz);
            if (beanDesc == null) {
                beanDesc = putIfAbsent(beanDescCache, clazz, new BeanDescImpl(clazz));
            }
            return beanDesc;
        }
    
        /**
         * Performs initialization.
         */
        public static void initialize() {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/container/CrawlerContainer.java

        void destroy();
    
        /**
         * Initializes the CrawlerContainer by setting the system property
         * "java.protocol.handler.pkgs" to include the package "org.codelibs.fess.net.protocol".
         * If the property is not already set, it will be initialized with this package.
         * If the property is set but does not contain this package, the package will be appended.
         */
        default void initialize() {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/rdma/disni/DisniRdmaProvider.java

        }
    
        /**
         * Initialize DiSNI components if not already initialized
         *
         * @throws IOException if initialization fails
         */
        private void ensureInitialized() throws IOException {
            if (!initialized) {
                try {
                    // In a real implementation, this would initialize DiSNI:
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/StaticJAASConfiguration.java

     *
     */
    class StaticJAASConfiguration extends Configuration {
    
        private Map<String, ?> options;
    
        /**
         * Initialize a static JAAS configuration with default settings
         */
        public StaticJAASConfiguration() {
            this.options = new HashMap<>();
        }
    
        /**
         * Initialize a static JAAS configuration with custom settings
         *
         * @param options
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/dcerpc/ndr/NdrHyperTest.java

    class NdrHyperTest {
    
        @Mock
        private NdrBuffer mockNdrBuffer;
    
        @BeforeEach
        void setUp() {
            // Initialize mocks before each test
            MockitoAnnotations.openMocks(this);
        }
    
        @Test
        void testConstructorAndGetValue() {
            // Test that the constructor correctly initializes the value
            long expectedValue = 123456789012345L;
            NdrHyper ndrHyper = new NdrHyper(expectedValue);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/message/MessageFormatter.java

            return new String(buffer);
        }
    
        /**
         * Initializes the class.
         */
        protected static synchronized void initialize() {
            if (!initialized) {
                DisposableUtil.add(() -> {
                    ResourceBundle.clearCache();
                    initialized = false;
                });
                initialized = true;
            }
        }
    
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/reflect/ReflectionTest.java

      }
    
      public void testInitialize() {
        assertEquals("This test can't be included twice in the same suite.", 0, classesInitialized);
    
        Reflection.initialize(A.class);
        assertEquals(1, classesInitialized);
    
        Reflection.initialize(
            A.class, // Already initialized (above)
            B.class, C.class);
        assertEquals(3, classesInitialized);
      }
    
      public void testNullPointers() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/http/NtlmHttpFilterTest.java

            assertDoesNotThrow(() -> filter.destroy());
        }
    
        @Test
        void testDoFilter_noAuthorizationHeader_shouldChallengeClient() throws Exception {
            // Initialize filter first
            initializeFilter();
    
            // Test request without Authorization header should challenge client
            when(request.getHeader("Authorization")).thenReturn(null);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
Back to top