Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 91 for weight (0.07 sec)

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

      /** Returns a {@link Weigher} that uses the integer key as the weight. */
      static Weigher<Integer, Object> intKeyWeigher() {
        return new IntKeyWeigher();
      }
    
      /** Returns a {@link Weigher} that uses the integer value as the weight. */
      static Weigher<Object, Integer> intValueWeigher() {
        return new IntValueWeigher();
      }
    
      static final class ConstantWeigher implements Weigher<Object, Object> {
        private final int constant;
    
    Registered: Fri Sep 05 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/CacheBuilder.java

        checkArgument(maximumSize >= 0, "maximum size must not be negative");
        this.maximumSize = maximumSize;
        return this;
      }
    
      /**
       * Specifies the maximum weight of entries the cache may contain. Weight is determined using the
       * {@link Weigher} specified with {@link #weigher}, and use of this method requires a
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 51.7K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/CrawlerThread.java

         * @param childUrl The child URL to store.
         * @param parentUrl The parent URL.
         * @param weight The weight of the child URL.
         * @param depth The depth of the child URL.
         */
        protected void storeChildUrl(final String childUrl, final String parentUrl, final float weight, final int depth) {
            if (crawlerContext.getMaxDepth() >= 0 && depth > crawlerContext.getMaxDepth()) {
                return;
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 20.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/http/ne.css

        display: block;
        float: left;
        width: 300px;
        height: 50px;
        padding: 2px;
        font-family: Verdana, sans-serif;
        font-size: 10pt;
        color: #000000;
        text-decoration: none
    }
    a.plain {
        display: inline;
        float: none;
        width: auto;
        height: auto
    }
    a.sort {
        display: block;
        float: left;
        width: 100px;
        height: 15px;
        font-family: Verdana, sans-serif;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/crawler/FessCrawlerThread.java

         * @param parentUrl the parent URL that referenced this child URL
         * @param weight the weight/priority of the child URL
         * @param depth the crawling depth of the child URL
         */
        @Override
        protected void storeChildUrl(final String childUrl, final String parentUrl, final float weight, final int depth) {
            if (StringUtil.isNotBlank(childUrl)) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 19.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestRequest.java

         */
        public void setNormalizer(final Normalizer normalizer) {
            this.normalizer = normalizer;
        }
    
        /**
         * Sets the prefix match weight.
         * @param prefixMatchWeight The prefix match weight.
         */
        public void setPrefixMatchWeight(final float prefixMatchWeight) {
            this.prefixMatchWeight = prefixMatchWeight;
        }
    
        /**
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/AppendableWriter.java

      @Override
      public void write(char[] cbuf, int off, int len) throws IOException {
        checkNotClosed();
        // It turns out that creating a new String is usually as fast, or faster
        // than wrapping cbuf in a light-weight CharSequence.
        target.append(new String(cbuf, off, len));
      }
    
      /*
       * Override a few functions for performance reasons to avoid creating unnecessary strings.
       */
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:37:28 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/multichannel/ChannelLoadBalancer.java

            }
            return leastLoadedChannel != null ? leastLoadedChannel : channels.iterator().next();
        }
    
        private ChannelInfo selectWeightedRandom(Collection<ChannelInfo> channels) {
            // Calculate total weight
            int totalWeight = 0;
            for (ChannelInfo channel : channels) {
                totalWeight += channel.getScore();
            }
    
            if (totalWeight == 0) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  9. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueService.java

        protected List<OpenSearchUrlQueue> fetchUrlQueueList(final String sessionId) {
            return getList(OpenSearchUrlQueue.class, sessionId, null, 0, pollingFetchSize,
                    SortBuilders.fieldSort(OpenSearchUrlQueue.WEIGHT).order(SortOrder.DESC),
                    SortBuilders.fieldSort(CREATE_TIME).order(SortOrder.ASC));
        }
    
        /**
         * Saves the session state (currently not implemented).
         *
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 17K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/graph/Graphs.java

       * at {@code node} and ending at {@code v}. This implementation includes {@code node} as the first
       * element in the result.
       *
       * <p>If needed, the {@link Traverser} class provides more flexible and lighter-weight ways to
       * list the nodes reachable from a given node or nodes. See the <a
       * href="https://github.com/google/guava/wiki/GraphsExplained#Graph-traversal">"Graph traversal"
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Aug 01 00:26:14 UTC 2025
    - 22.7K bytes
    - Viewed (0)
Back to top