Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 63 for getScope (0.06 sec)

  1. compat/maven-artifact/src/test/java/org/apache/maven/artifact/DefaultArtifactTest.java

            assertEquals(groupId + ":" + artifactId + ":" + type, artifact.getDependencyConflictId());
        }
    
        @Test
        void testGetDependencyConflictIdNullScope() {
            artifact.setScope(null);
            assertEquals(groupId + ":" + artifactId + ":" + type + ":" + classifier, artifact.getDependencyConflictId());
        }
    
        @Test
        void testToString() {
            assertEquals(
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/multichannel/ChannelManager.java

                    remoteInterfaces.add(info);
                }
            }
    
            // Sort by score (best interfaces first)
            remoteInterfaces.sort((a, b) -> Integer.compare(b.getScore(), a.getScore()));
    
            log.debug("Discovered {} remote network interfaces", remoteInterfaces.size());
        }
    
        private void discoverLocalInterfaces() {
            localInterfaces.clear();
    
            try {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 20K bytes
    - Viewed (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/repository/LegacyRepositorySystemTest.java

            //
            Dependency d = new Dependency();
            d.setGroupId("org.apache.maven.its");
            d.setArtifactId("b");
            d.setVersion("0.1");
            d.setScope(Artifact.SCOPE_COMPILE);
            Artifact artifact = repositorySystem.createDependencyArtifact(d);
    
            ArtifactResolutionRequest request = new ArtifactResolutionRequest()
                    .setArtifact(artifact)
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/multichannel/ChannelLoadBalancer.java

        private ChannelInfo selectWeightedRandom(Collection<ChannelInfo> channels) {
            // Calculate total weight
            int totalWeight = 0;
            for (ChannelInfo channel : channels) {
                totalWeight += channel.getScore();
            }
    
            if (totalWeight == 0) {
                // All channels have zero score, pick randomly
                List<ChannelInfo> list = new ArrayList<>(channels);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/LinkedListMultimap.java

         * to call getCopy and removeAllNodes only with a true K, then we could check containsKey first.
         * But that check wouldn't eliminate the warnings.)
         */
        @SuppressWarnings({"unchecked", "nullness"})
        K castKey = (K) key;
        List<V> oldValues = getCopy(castKey);
        removeAllNodes(castKey);
        return oldValues;
      }
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  6. mockwebserver/api/mockwebserver3.api

    	public final fun getBody ()Lmockwebserver3/MockResponseBody;
    	public final fun getBodyDelayNanos ()J
    	public final fun getCode ()I
    	public final fun getDoNotReadRequestBody ()Z
    	public final fun getFailHandshake ()Z
    	public final fun getHeaders ()Lokhttp3/Headers;
    	public final fun getHeadersDelayNanos ()J
    	public final fun getInTunnel ()Z
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  7. 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)
  8. src/test/java/jcifs/internal/smb2/multichannel/MultiChannelIntegrationTest.java

            assertTrue(nic.isRssCapable());
            assertFalse(nic.isRdmaCapable());
            assertEquals(address, nic.getAddress());
    
            // Test scoring
            int score = nic.getScore();
            assertEquals(11000, score); // 10000 (link speed) + 1000 (RSS bonus)
    
            // Test encoding/decoding
            byte[] encoded = nic.encode();
            assertNotNull(encoded);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  9. compat/maven-compat/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java

                    Exclusion exclusion) {
                Dependency d = new Dependency();
                d.setGroupId(groupId);
                d.setArtifactId(artifactId);
                d.setVersion(version);
                d.setScope(scope);
    
                if (systemPath != null && scope.equals(Artifact.SCOPE_SYSTEM)) {
                    d.setSystemPath(systemPath);
                }
    
                if (exclusion != null) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jan 24 17:29:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  10. 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)
Back to top