Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 36 for instantiate (0.06 seconds)

  1. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

      }
    
      /**
       * Instantiates {@code cls} by invoking one of its non-private constructors or non-private static
       * factory methods with the parameters automatically provided using dummy values.
       *
       * @return The instantiated instance, or {@code null} if the class has no non-private constructor
       *     or factory method to be constructed.
       */
      <T> @Nullable T instantiate(Class<T> cls)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 32.5K bytes
    - Click Count (0)
  2. docs/en/docs/editor-support.md

    ### Application Discovery { #application-discovery }
    
    By default, the extension will automatically discover FastAPI applications in your workspace by scanning for files that instantiate `FastAPI()`. If auto-detection doesn't work for your project structure, you can specify an entrypoint via `[tool.fastapi]` in `pyproject.toml` or the `fastapi.entryPoint` VS Code setting using module notation (e.g. `myapp.main:app`).
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 2.5K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/core/misc/DisposableUtil.java

     * create a class that implements {@link Disposable} and register it with this class.
     * </p>
     *
     * @author koichik
     */
    public abstract class DisposableUtil {
    
        /**
         * Do not instantiate.
         */
        protected DisposableUtil() {
        }
    
        /** Registered {@link Disposable} */
        protected static final Deque<Disposable> disposables = newLinkedList();
    
        /**
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Feb 12 12:10:45 GMT 2026
    - 3.1K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/core/misc/LocaleUtil.java

    import java.util.Locale;
    import java.util.function.Supplier;
    
    /**
     * Utility class for {@link Locale}.
     *
     * @author higa
     */
    public abstract class LocaleUtil {
    
        /**
         * Do not instantiate.
         */
        protected LocaleUtil() {
        }
    
        /**
         * Returns a {@link Locale}.
         *
         * @param localeStr
         *            A string representing the locale
         * @return {@link Locale}
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Feb 12 12:10:45 GMT 2026
    - 2.3K bytes
    - Click Count (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/testers/SortedMapNavigationTester.java

     * {@code SortedMapTestSuiteBuilder}.
     *
     * @author Jesse Wilson
     * @author Louis Wasserman
     */
    @GwtCompatible
    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 6.1K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/core/lang/SystemUtil.java

    import java.util.function.LongSupplier;
    
    /**
     * Utility class for system operations.
     *
     * @author wyukawa
     * @author shinsuke
     *
     */
    public abstract class SystemUtil {
    
        /**
         * Do not instantiate.
         */
        protected SystemUtil() {
        }
    
        /**
         * <code>file.encoding</code> system property. Example: UTF-8
         */
        public static final String FILE_ENCODING = System.getProperty("file.encoding");
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Feb 12 12:10:45 GMT 2026
    - 4.1K bytes
    - Click Count (0)
  7. docs/en/docs/advanced/async-tests.md

    `RuntimeError: Task attached to a different loop` when integrating asynchronous function calls in your tests (e.g. when using [MongoDB's MotorClient](https://stackoverflow.com/questions/41584243/runtimeerror-task-attached-to-a-different-loop)), remember to instantiate objects that need an event loop only within async functions, e.g. an `@app.on_event("startup")` callback.
    
    ///...
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 3.8K bytes
    - Click Count (0)
  8. guava-testlib/src/com/google/common/collect/testing/testers/SortedMapNavigationTester.java

     * {@code SortedMapTestSuiteBuilder}.
     *
     * @author Jesse Wilson
     * @author Louis Wasserman
     */
    @GwtCompatible
    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 6.1K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/util/SearchEngineUtilTest.java

            // Verify that SearchEngineUtil is a utility class with private constructor
            try {
                SearchEngineUtil.class.getDeclaredConstructor().newInstance();
                fail("Should not be able to instantiate utility class");
            } catch (Exception e) {
                // Expected - utility classes should have private constructors
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 13.8K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/core/io/SerializeUtil.java

     */
    public abstract class SerializeUtil {
    
        /**
         * Do not instantiate.
         */
        protected SerializeUtil() {
        }
    
        private static final int BYTE_ARRAY_SIZE = 8 * 1024;
    
        /**
         * Default set of allowed class name patterns for deserialization.
         * This helps prevent deserialization attacks by restricting which classes can be instantiated.
         */
        private static final Set<String> DEFAULT_ALLOWED_PATTERNS =
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Feb 12 12:10:45 GMT 2026
    - 8.9K bytes
    - Click Count (0)
Back to Top