Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for weigh (0.01 sec)

  1. guava-tests/test/com/google/common/cache/TestingWeighers.java

        }
    
        @Override
        public int weigh(Object key, Object value) {
          return constant;
        }
      }
    
      static final class IntKeyWeigher implements Weigher<Integer, Object> {
        @Override
        public int weigh(Integer key, Object value) {
          return key;
        }
      }
    
      static final class IntValueWeigher implements Weigher<Object, Integer> {
        @Override
        public int weigh(Object key, Integer value) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/cache/Weigher.java

     * @author Charles Fry
     * @since 11.0
     */
    @GwtCompatible
    public interface Weigher<K, V> {
    
      /**
       * Returns the weight of a cache entry. There is no unit for entry weights; rather they are simply
       * relative to each other.
       *
       * @return the weight of the entry; must be non-negative
       */
      int weigh(K key, V value);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 1K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/RequestData.java

        }
    
        /**
         * Gets the weight/priority of this request.
         * @return the weight
         */
        public float getWeight() {
            return weight;
        }
    
        /**
         * Sets the weight/priority of this request.
         * @param weight the weight
         */
        public void setWeight(float weight) {
            this.weight = weight;
        }
    
        /**
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 4K bytes
    - Viewed (0)
  4. docs/assets/css/app.css

        font-weight: 700;
        font-style: normal
    }
    
    body, input {
        font-family: cash-market,"Helvetica Neue",helvetica,sans-serif;
    }
    
    .md-typeset h1, .md-typeset h2, .md-typeset h3, .md-typeset h4 {
        font-family: cash-market,"Helvetica Neue",helvetica,sans-serif;
        line-height: normal;
        font-weight: bold;
    }
    
    button.dl {
      font-weight: 300;
      font-size: 25px;
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Feb 08 07:57:03 UTC 2022
    - 1.1K bytes
    - Viewed (2)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/builder/RequestDataBuilder.java

                return this;
            }
    
            /**
             * Sets the weight for the request data.
             *
             * @param weight the weight to set
             * @return the current RequestDataContext instance
             */
            public RequestDataContext weight(final float weight) {
                data.setWeight(weight);
                return this;
            }
    
            /**
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  6. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/entity/OpenSearchUrlQueue.java

        /**
         * Field name for creation time.
         */
        public static final String CREATE_TIME = "createTime";
    
        /**
         * Field name for weight.
         */
        public static final String WEIGHT = "weight";
    
        /**
         * Converts this URL queue entry to XContent format for OpenSearch indexing.
         *
         * @param builder The XContentBuilder to write to.
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/Extractor.java

         */
        ExtractData getText(InputStream in, Map<String, String> params);
    
        /**
         * Returns the weight of the extractor.
         * The default implementation returns a weight of 1.
         *
         * @return the weight of the extractor
         */
        default int getWeight() {
            return 1;
        }
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/UrlQueueImpl.java

            this.lastModified = lastModified;
        }
    
        @Override
        public float getWeight() {
            return weight;
        }
    
        @Override
        public void setWeight(float weight) {
            this.weight = weight;
        }
    
        /**
         * Returns a string representation of this object.
         * @return A string representation.
         */
        @Override
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/UrlQueue.java

         */
        void setCreateTime(Long createTime);
    
        /**
         * Retrieves the weight of the URL queue.
         *
         * @return the weight as a float value.
         */
        float getWeight();
    
        /**
         * Sets the weight of the URL queue.
         *
         * @param weight the weight to set
         */
        void setWeight(float weight);
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/entity/UrlQueueImplTest.java

            queue.setCreateTime(null);
            assertNull(queue.getCreateTime());
        }
    
        public void test_weightGetterSetter() {
            // Test weight getter/setter
            UrlQueueImpl<Long> queue = new UrlQueueImpl<>();
    
            // Default weight should be 1.0
            assertEquals(1.0f, queue.getWeight(), 0.001f);
    
            queue.setWeight(0.5f);
            assertEquals(0.5f, queue.getWeight(), 0.001f);
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 13 13:29:22 UTC 2025
    - 9.1K bytes
    - Viewed (0)
Back to top