Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 242 for initialize (0.18 sec)

  1. 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;
        }
    
        /**
         * 初期化を行ないます。
         */
        public static void initialize() {
            synchronized (BeanDescFactory.class) {
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/message/MessageFormatter.java

        }
    
        /**
         * 初期化します。
         */
        protected static synchronized void initialize() {
            if (!initialized) {
                DisposableUtil.add(() -> {
                    ResourceBundle.clearCache();
                    initialized = false;
                });
                initialized = true;
            }
        }
    
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/cache/Striped64.java

       */
      final void retryUpdate(long x, @CheckForNull int[] hc, boolean wasUncontended) {
        int h;
        if (hc == null) {
          threadHashCode.set(hc = new int[1]); // Initialize randomly
          int r = rng.nextInt(); // Avoid zero to allow xorShift rehash
          h = hc[0] = (r == 0) ? 1 : r;
        } else h = hc[0];
        boolean collide = false; // True if last slot nonempty
        for (; ; ) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/api/admin/searchlist/SearchBody.java

        // `size` is prepared to be compatible with other Admin APIs
        @ValidateTypeFailure
        public Integer size;
    
        @Override
        public void initialize() {
            if (size != null) {
                num = (num == null || num < size) ? size : num;
            }
            super.initialize();
        }
    
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 1.2K bytes
    - Viewed (0)
  5. 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() {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 2.7K bytes
    - Viewed (0)
  6. android/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() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 2.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/http/Handler.java

                            handler = (URLStreamHandler) handlerClass.newInstance();
                            break;
                        }
                        catch ( Exception ex ) {
                            log.debug("Failed to initialize handler " + className, ex);
                        }
                    }
                }
                if ( handler == null ) {
                    for ( int i = 0; i < JVM_VENDOR_DEFAULT_PKGS.length; i++ ) {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 6.9K bytes
    - Viewed (0)
  8. maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/LifecycleExecutionPlanCalculatorStub.java

                        NoPluginFoundForPrefixException, LifecycleNotFoundException, PluginVersionResolutionException {
            List<MojoExecution> me = new ArrayList<>();
            me.add(createMojoExecution("initialize", "default-initialize", INITIALIZE));
            me.add(createMojoExecution("resources", "default-resources", PROCESS_RESOURCES));
            me.add(createMojoExecution("compile", "default-compile", COMPILE));
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Jan 09 20:57:17 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/annotations/LifecyclePhase.java

    /**
     * <a href="/ref/3.0.4/maven-core/lifecycles.html">Lifecycle phases</a>.
     *
     * @since 4.0.0
     */
    @Experimental
    public enum LifecyclePhase {
        VALIDATE("validate"),
        INITIALIZE("initialize"),
        GENERATE_SOURCES("generate-sources"),
        PROCESS_SOURCES("process-sources"),
        GENERATE_RESOURCES("generate-resources"),
        PROCESS_RESOURCES("process-resources"),
        COMPILE("compile"),
    Java
    - Registered: Sun Apr 07 03:35:11 GMT 2024
    - Last Modified: Thu Mar 23 05:29:39 GMT 2023
    - 2.2K bytes
    - Viewed (0)
  10. 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
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 3.5K bytes
    - Viewed (0)
Back to top