Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 17 for Candidate (0.33 seconds)

  1. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/util/ports/ReservedPortRange.java

                current++;
                if (current > endPort) {
                    current = startPort;
                }
                int candidate = current;
                if (allocated.contains(candidate) == false && portDetector.isAvailable(candidate)) {
                    allocated.add(candidate);
                    return candidate;
                } else {
                    if (current == first) {
                        return -1;
                    }
                }
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 2.8K bytes
    - Click Count (0)
  2. .teamcity/scripts/update_wrapper_and_create_pr.sh

    #   TRIGGERED_BY    - Optional. If it's "Release - Final", version will be from version-info-final-release/version-info.properties
    #                     If it's "Release - Release Candidate", version will be from version-info-release-candidate/version-info.properties
    
    post() {
        local endpoint="$1"
        local data="$2"
    
        local response=$(curl -X POST \
            -H "Authorization: token $GITHUB_TOKEN" \
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Jul 29 03:20:20 GMT 2025
    - 2.9K bytes
    - Click Count (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() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/RegularImmutableSet.java

        if (target == null || table.length == 0) {
          return false;
        }
        for (int i = 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 size;
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:08:09 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  5. 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() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  6. .teamcity/src/main/kotlin/util/UpdateWrapper.kt

                allowEmpty = false,
                description =
                    "The version of Gradle to update to. " +
                        "Can be a specific version or one of 'latest', 'release-candidate', 'release-milestone'",
            )
            param("env.JAVA_HOME", javaHome(BuildToolBuildJvm, Os.LINUX))
            param("env.GITHUB_TOKEN", "%github.bot-gradle.token%")
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Jul 24 03:08:48 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  7. .teamcity/src/main/kotlin/promotion/PublishRelease.kt

            requiredConfirmationCode = "rc",
            init = {
                id(RELEASE_CANDIDATE_BUILD_CONFIGURATION_ID)
                name = "Release - Release Candidate"
                description = "Promotes the latest successful change on 'release' as a new release candidate"
            },
        )
    
    class PublishMilestone(
        branch: VersionedSettingsBranch,
    ) : PublishRelease(
            promotedBranch = branch.branchName,
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Jul 24 03:08:48 GMT 2025
    - 4K bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/RegularImmutableSet.java

        if (target == null || table.length == 0) {
          return false;
        }
        for (int i = 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;
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:08:09 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  9. build-logic/build-update-utils/src/main/kotlin/gradlebuild.wrapper.gradle.kts

    import gradlebuild.basics.capitalize
    import com.google.gson.Gson
    import java.net.URI
    
    wrapperUpdateTask("nightly", "nightly")
    wrapperUpdateTask("rc", "release-candidate")
    wrapperUpdateTask("current", "current")
    
    tasks.withType<Wrapper>().configureEach {
        val jvmOpts = "-Dfile.encoding=UTF-8"
        inputs.property("jvmOpts", jvmOpts)
        doLast {
            val optsEnvVar = "DEFAULT_JVM_OPTS"
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Sep 17 08:58:33 GMT 2024
    - 1.4K bytes
    - Click Count (0)
  10. 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++) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 27 16:19:35 GMT 2024
    - 5K bytes
    - Click Count (0)
Back to Top