Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for Candidate (0.07 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. cmd/data-usage-cache.go

    	})
    	for remove > 0 && len(leaves) > 0 {
    		// Remove top entry.
    		e := leaves[0]
    		candidate := e.path
    		if candidate == path && !compactSelf {
    			// We should be the biggest,
    			// if we cannot compact ourself, we are done.
    			break
    		}
    		removing := d.totalChildrenRec(candidate.Key())
    		flat := d.sizeRecursive(candidate.Key())
    		if flat == nil {
    			leaves = leaves[1:]
    			continue
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 34.7K bytes
    - Viewed (0)
  8. 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)
  9. android/guava/src/com/google/common/collect/TopKSelector.java

        this.buffer = (T[]) new Object[IntMath.checkedMultiply(k, 2)];
        this.bufferSize = 0;
        this.threshold = null;
      }
    
      /**
       * Adds {@code elem} as a candidate for the top {@code k} elements. This operation takes amortized
       * O(1) time.
       */
      public void offer(@ParametricNullness T elem) {
        if (k == 0) {
          return;
        } else if (bufferSize == 0) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 11.1K 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