Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for candidates (0.07 sec)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/Init.java

                                                    LineReader reader, ParsedLine line, List<Candidate> candidates) {
                                                if (!line.line().startsWith(prefix)) {
                                                    candidates.add(
                                                            new Candidate(prefix, prefix, null, null, null, null, false));
                                                }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/TopKSelector.java

      }
    
      private final int k;
      private final Comparator<? super T> comparator;
    
      /*
       * We are currently considering the elements in buffer in the range [0, bufferSize) as candidates
       * for the top k elements. Whenever the buffer is filled, we quickselect the top k elements to the
       * range [0, k) and ignore the remaining elements.
       */
      private final @Nullable T[] buffer;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/AbstractImmutableSetTest.java

                        byAscendingSize, startIndex, inputIsSet),
                    e);
              }
              /*
               * TODO(cpovirk): Check that the values match one of candidates that
               * MutatedOnQuery*.delegate() actually returned during this test?
               */
              assertWithMessage(
                      "byAscendingSize %s, startIndex %s, inputIsSet %s",
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  4. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/TreeRangeMap.java

                }
    
                if (candidate != null
                    && candidate.getKey().isConnected(subRange)
                    && candidate.getKey().intersection(subRange).equals(r)) {
                  return candidate.getValue();
                }
              }
            } catch (ClassCastException e) {
              return null;
            }
            return null;
          }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  6. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  7. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  8. cmd/erasure-metadata.go

    			}
    		}
    	}
    
    	if found {
    		// Update candidate FileInfo with succModTime and numVersions in quorum when available
    		if props, ok := otherPropsMap.GetValueWithQuorum(quorum); ok {
    			candidate.SuccessorModTime = props.succModTime
    			candidate.IsLatest = props.succModTime.IsZero()
    			candidate.NumVersions = props.numVersions
    		}
    		return candidate, nil
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/TreeRangeMap.java

                }
    
                if (candidate != null
                    && candidate.getKey().isConnected(subRange)
                    && candidate.getKey().intersection(subRange).equals(r)) {
                  return candidate.getValue();
                }
              }
            } catch (ClassCastException e) {
              return null;
            }
            return null;
          }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.7K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java

                org.apache.maven.api.model.Dependency candidate, List<Exclusion> exclusions) {
            return candidate.withExclusions(Stream.concat(candidate.getExclusions().stream(), exclusions.stream())
                    .toList());
        }
    
        private boolean match(Exclusion exclusion, org.apache.maven.api.model.Dependency candidate) {
            return match(exclusion.getGroupId(), candidate.getGroupId())
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 83.6K bytes
    - Viewed (0)
Back to top