Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for candidates (0.06 sec)

  1. api/maven-api-di/src/main/java/org/apache/maven/api/di/Named.java

     * of the same type are available.
     * <p>
     * This annotation can be used in conjunction with {@link Inject} to specify
     * which implementation should be injected when multiple candidates exist.
     * The value represents a unique identifier for the dependency.
     * <p>
     * Example usage:
     * <pre>
     * {@literal @}Inject
     * {@literal @}Named("mysql")
     * private Repository mysqlRepository;
     * </pre>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Jan 30 23:28:59 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/CollectionBenchmarkSampleData.java

          shuffle(tmp, random);
          queryList.addAll(tmp.subList(0, extras));
        }
    
        // now add bad queries
        while (queryList.size() < numQueries) {
          Element candidate = newElement();
          if (!elementsInSet.contains(candidate)) {
            queryList.add(candidate);
          }
        }
        shuffle(queryList, random);
        return queryList.toArray(new Element[0]);
      }
    
      private Set<Element> createData() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/RegularImmutableSet.java

        if (target == null || table.length == 0) {
          return false;
        }
        for (int i = Hashing.smearedHash(target); ; i++) {
          i &= mask;
          Object candidate = table[i];
          if (candidate == null) {
            return false;
          } else if (candidate.equals(target)) {
            return true;
          }
        }
      }
    
      @Override
      public int size() {
        return elements.length;
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 21:07:18 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/CollectionBenchmarkSampleData.java

          shuffle(tmp, random);
          queryList.addAll(tmp.subList(0, extras));
        }
    
        // now add bad queries
        while (queryList.size() < numQueries) {
          Element candidate = newElement();
          if (!elementsInSet.contains(candidate)) {
            queryList.add(candidate);
          }
        }
        shuffle(queryList, random);
        return queryList.toArray(new Element[0]);
      }
    
      private Set<Element> createData() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  5. android/guava-tests/benchmark/com/google/common/base/JoinerBenchmark.java

            }
          }
          dummy ^= sb.toString().length();
        }
        return dummy;
      }
    
      /**
       * Only appends delimiter if the accumulated string is non-empty. Note: this isn't a candidate
       * implementation for Joiner since it fails on leading empty components.
       */
      @Benchmark
      int stringBuilderIsEmpty(int reps) {
        int dummy = 0;
        for (int i = 0; i < reps; i++) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Dec 27 16:19:35 UTC 2024
    - 5K bytes
    - Viewed (0)
Back to top