Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for candidates (0.07 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 Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Jan 30 23:28:59 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  2. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  3. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  4. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Dec 27 16:19:35 UTC 2024
    - 5K bytes
    - Viewed (0)
Back to top