Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 287 for isInitialized (0.1 seconds)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/MonotonicClock.java

        }
    
        /**
         * Returns the initialization time of this monotonic clock.
         * This is a convenience method equivalent to {@code get().start()}.
         *
         * @return the instant when this monotonic clock was initialized
         * @see #startInstant()
         */
        public static Instant start() {
            return get().startInstant();
        }
    
        /**
         * Returns the elapsed time since clock initialization.
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jan 15 06:28:29 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  2. src/main/java/jcifs/util/Crypto.java

         * @throws CIFSUnsupportedCryptoException if Provider has already been initialized.
         */
        public static void initProvider(final Provider customProvider) throws CIFSUnsupportedCryptoException {
            if (provider != null) {
                throw new CIFSUnsupportedCryptoException(
                        "Provider can't be re-initialized. Provider has already been initialized with " + provider.getInfo());
            }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  3. src/test/java/jcifs/MsrpcGetMembersInAliasTest.java

        }
    
        @Test
        @DisplayName("Should correctly initialize MsrpcGetMembersInAlias with provided parameters")
        void testConstructorInitialization() {
            // Given
            // Mocks are already initialized by @BeforeEach
    
            // When
            MsrpcGetMembersInAlias msrpcGetMembersInAlias = new MsrpcGetMembersInAlias(mockAliasHandle, mockSids);
    
            // Then
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  4. src/test/java/jcifs/dcerpc/msrpc/MsrpcLsarCloseTest.java

            mockHandle = mock(policy_handle.class);
        }
    
        /**
         * Test case for the {@link MsrpcLsarClose#MsrpcLsarClose(policy_handle)} constructor.
         * Verifies that the handle, ptype, and flags are correctly initialized.
         */
        @Test
        void testConstructor() {
            // Create an instance of MsrpcLsarClose with the mock handle
            MsrpcLsarClose lsarClose = new MsrpcLsarClose(mockHandle);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/reflect/Reflection.java

      }
    
      /**
       * Ensures that the given classes are initialized, as described in <a
       * href="http://java.sun.com/docs/books/jls/third_edition/html/execution.html#12.4.2">JLS Section
       * 12.4.2</a>.
       *
       * <p>WARNING: Normally it's a smell if a class needs to be explicitly initialized, because static
       * state hurts system maintainability and testability. In cases when you have no choice while
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 3.4K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/query/QueryFieldConfigTest.java

            // Verify response fields are initialized
            assertNotNull(queryFieldConfig.getResponseFields());
            assertTrue(queryFieldConfig.getResponseFields().length > 0);
            assertEquals(QueryFieldConfig.SCORE_FIELD, queryFieldConfig.getResponseFields()[0]);
            assertEquals("id", queryFieldConfig.getResponseFields()[1]);
    
            // Verify scroll response fields are initialized
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 33.6K bytes
    - Click Count (0)
  7. okhttp/src/androidMain/kotlin/okhttp3/internal/publicsuffix/AssetPublicSuffixList.kt

            throw IOException(
              "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, " +
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Jul 28 07:33:49 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/thumbnail/impl/EmptyGeneratorTest.java

            try {
                emptyGenerator.isTarget(docMap);
            } catch (IllegalStateException e) {
                // Expected when container is not initialized
                assertTrue(e.getMessage().contains("Not initialized"));
            }
        }
    
        @Test
        public void test_getName() {
            // Initialize without container
            emptyGenerator = new EmptyGenerator();
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 6.5K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/SmbNegotiationRequestTest.java

            // When
            boolean result = request.isSigningEnforced();
    
            // Then
            assertFalse(result, "Custom implementation should return false when initialized with false");
        }
    
        @Test
        @DisplayName("Test custom implementation with signing enforced")
        void testCustomImplementationSigningEnforced() {
            // Given
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGeneratorTest.java

                }
                assertImageSize(outputFile, 100, 100);
            } catch (IllegalStateException e) {
                // Expected when container is not initialized
                if (e.getMessage().contains("Not initialized")) {
                    // Skip test when container is not available
                    return;
                }
                throw e;
            }
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 7.5K bytes
    - Click Count (0)
Back to Top