Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 191 for Road (0.17 sec)

  1. android/guava/src/com/google/common/graph/ImmutableValueGraph.java

      }
    
      /**
       * A builder for creating {@link ImmutableValueGraph} instances, especially {@code static final}
       * graphs. Example:
       *
       * <pre>{@code
       * static final ImmutableValueGraph<City, Distance> CITY_ROAD_DISTANCE_GRAPH =
       *     ValueGraphBuilder.undirected()
       *         .<City, Distance>immutable()
       *         .putEdgeValue(PARIS, BERLIN, kilometers(1060))
       *         .putEdgeValue(PARIS, BRUSSELS, kilometers(317))
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 01 16:30:37 GMT 2022
    - 7.7K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/io/PropertiesUtilTest.java

            PropertiesUtil.load(properties, inputStreamReader);
        }
    
        /**
         * Test method for
         * {@link org.codelibs.core.io.PropertiesUtil#load(Properties, File)} .
         */
        @Test
        public void testLoadPropertiesFile() {
            final Properties properties = new Properties();
            PropertiesUtil.load(properties, inputFile);
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/cache/CacheLoader.java

     *
     * <p>Most implementations will only need to implement {@link #load}. Other methods may be
     * overridden as desired.
     *
     * <p>Usage example:
     *
     * <pre>{@code
     * CacheLoader<Key, Graph> loader = new CacheLoader<Key, Graph>() {
     *   public Graph load(Key key) throws AnyException {
     *     return createExpensiveGraph(key);
     *   }
     * };
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 19 20:20:14 GMT 2022
    - 9.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/cache/LoadingCache.java

       * {@code key}, simply waits for that thread to finish and returns its loaded value. Note that
       * multiple threads can concurrently load values for distinct keys.
       *
       * <p>Caches loaded by a {@link CacheLoader} will call {@link CacheLoader#load} to load new values
       * into the cache. Newly loaded values are added to the cache using {@code
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Sat Aug 06 17:12:03 GMT 2022
    - 8.3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        final AtomicInteger count = new AtomicInteger();
        final Exception e = new IllegalStateException("exception to trigger failure on first load()");
        CacheLoader<Integer, String> failOnceFunction =
            new CacheLoader<Integer, String>() {
    
              @Override
              public String load(Integer key) throws Exception {
                if (count.getAndIncrement() == 0) {
                  throw e;
                }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 86.2K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/SmallCharMatcher.java

      private static final double DESIRED_LOAD_FACTOR = 0.5;
    
      /**
       * Returns an array size suitable for the backing array of a hash table that uses open addressing
       * with linear probing in its implementation. The returned size is the smallest power of two that
       * can hold setSize elements with the desired load factor.
       */
      @VisibleForTesting
      static int chooseTableSize(int setSize) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/graph/UndirectedGraphConnections.java

          case UNORDERED:
            return new UndirectedGraphConnections<>(
                new HashMap<N, V>(INNER_CAPACITY, INNER_LOAD_FACTOR));
          case STABLE:
            return new UndirectedGraphConnections<>(
                new LinkedHashMap<N, V>(INNER_CAPACITY, INNER_LOAD_FACTOR));
          default:
            throw new AssertionError(incidentEdgeOrder.type());
        }
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Oct 06 00:47:57 GMT 2021
    - 3.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/AbstractConfigHelper.java

        protected long reloadInterval = 1000L;
    
        public void update() {
            CommonPoolUtil.execute(this::load);
        }
    
        protected void waitForNext() {
            if (reloadInterval > 0) {
                ThreadUtil.sleep(reloadInterval);
            }
        }
    
        public abstract int load();
    
        public void setReloadInterval(final long reloadInterval) {
            this.reloadInterval = reloadInterval;
        }
    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)
  9. src/main/java/org/codelibs/core/collection/LruHashMap.java

         */
        protected static final float DEFAULT_LOAD_FACTOR = 0.75f;
    
        /**
         * 上限サイズです。
         */
        protected final int limitSize;
    
        /**
         * {@link LruHashMap}を作成します。
         *
         * @param limitSize
         *            エントリ数の上限
         */
        public LruHashMap(final int limitSize) {
            this(limitSize, DEFAULT_INITIAL_CAPACITY, DEFAULT_LOAD_FACTOR);
        }
    
        /**
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/RelatedContentHelper.java

        @PostConstruct
        public void init() {
            if (logger.isDebugEnabled()) {
                logger.debug("Initialize {}", this.getClass().getSimpleName());
            }
            load();
        }
    
        public List<RelatedContent> getAvailableRelatedContentList() {
            return ComponentUtil.getComponent(RelatedContentBhv.class).selectList(cb -> {
                cb.query().matchAll();
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 4.8K bytes
    - Viewed (0)
Back to top