Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 191 for Score (0.03 sec)

  1. src/main/java/jcifs/internal/smb2/multichannel/NetworkInterfaceInfo.java

        }
    
        /**
         * Get a score for interface selection (higher is better)
         *
         * @return interface score
         */
        public int getScore() {
            int score = linkSpeed; // Base score is link speed
    
            if (rssCapable)
                score += 1000; // Prefer RSS-capable
            if (rdmaCapable)
                score += 2000; // Prefer RDMA-capable
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/score/ScoreBooster.java

                flush();
            }
            return (long) ids.length;
        };
    
        /**
         * Processes the score boosting.
         * @return The number of processed documents.
         */
        public abstract long process();
    
        /**
         * Enables this score booster.
         */
        protected void enable() {
            final ScoreUpdater scoreUpdater = ComponentUtil.getComponent("scoreUpdater");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/multichannel/ChannelInfo.java

            if (errorRate > 0.1)
                score -= 50;
            else if (errorRate > 0.01)
                score -= 20;
    
            // Adjust based on interface capabilities
            score += localInterface.getScore() / 100;
            score += remoteInterface.getScore() / 100;
    
            // Prefer primary channel slightly
            if (isPrimary)
                score += 10;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  4. docs/smb3-features/03-multi-channel-design.md

        
        public int getScore() {
            // Score interface for selection (higher is better)
            int score = linkSpeed;  // Base score is link speed
            
            if (rssCapable) score += 1000;   // Prefer RSS-capable
            if (rdmaCapable) score += 2000;  // Prefer RDMA-capable
            if (!ipv6) score += 100;         // Slight preference for IPv4
            
            return score;
        }
        
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 39.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/rank/fusion/DefaultSearcher.java

                docMap.put(fessConfig.getResponseFieldSitePath(), viewHelper.getSitePath(docMap));
            }
    
            if (!docMap.containsKey(Constants.SCORE)) {
                final float score = searchHit.getScore();
                if (Float.isFinite(score)) {
                    docMap.put(Constants.SCORE, score);
                }
            }
    
            if (!docMap.containsKey(fessConfig.getIndexFieldId())) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/multichannel/ChannelInfoTest.java

            assertTrue(baseScore > 0);
    
            // Active channel should have lower score (busy penalty)
            channelInfo.setState(ChannelState.ACTIVE);
            int activeScore = channelInfo.getScore();
            assertTrue(activeScore < baseScore);
    
            // Failed channel should have zero score
            channelInfo.setState(ChannelState.FAILED);
            assertEquals(0, channelInfo.getScore());
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/SearchHelper.java

                        }
    
                        if (!docMap.containsKey(Constants.SCORE)) {
                            final float score = hit.getScore();
                            if (Float.isFinite(score)) {
                                docMap.put(Constants.SCORE, score);
                            }
                        }
    
                        docMap.put(fessConfig.getIndexFieldId(), hit.getId());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 35.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/rank/fusion/RankFusionProcessor.java

    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    import org.apache.lucene.search.TotalHits.Relation;
    import org.codelibs.core.collection.ArrayUtil;
    import org.codelibs.core.concurrent.CommonPoolUtil;
    import org.codelibs.core.lang.StringUtil;
    import org.codelibs.core.stream.StreamUtil;
    import org.codelibs.fess.Constants;
    import org.codelibs.fess.entity.FacetInfo;
    import org.codelibs.fess.entity.GeoInfo;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/multichannel/NetworkInterfaceInfoTest.java

        }
    
        @Test
        void testGetScore() {
            NetworkInterfaceInfo basic = new NetworkInterfaceInfo(testAddress, 1000);
            assertEquals(1000, basic.getScore()); // Base score is link speed
    
            NetworkInterfaceInfo fast = new NetworkInterfaceInfo(testAddress, 10000);
            assertTrue(fast.getScore() > basic.getScore());
        }
    
        @Test
        void testCapabilitySettings() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/score/ScoreBoosterTest.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.score;
    
    import org.codelibs.fess.unit.UnitFessTestCase;
    
    public class ScoreBoosterTest extends UnitFessTestCase {
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 1.4K bytes
    - Viewed (0)
Back to top