Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for candidates (0.15 sec)

  1. cmd/metacache-entries.go

    	if len(m) == 0 {
    		return nil, false
    	}
    
    	dirExists := 0
    	if cap(r.candidates) < len(m) {
    		r.candidates = make([][]xlMetaV2ShallowVersion, 0, len(m))
    	}
    	r.candidates = r.candidates[:0]
    	objsAgree := 0
    	objsValid := 0
    	for i := range m {
    		entry := &m[i]
    		// Empty entry
    		if entry.name == "" {
    			continue
    		}
    
    		if entry.isDir() {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/TreeRangeSet.java

              if (!upperBoundWindow.contains(cut)) {
                return null;
              }
              Entry<Cut<C>, Range<C>> candidate = rangesByLowerBound.lowerEntry(cut);
              if (candidate != null && candidate.getValue().upperBound.equals(cut)) {
                return candidate.getValue();
              }
            } catch (ClassCastException e) {
              return null;
            }
          }
          return null;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 32.3K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnection.kt

       * requires us to have a DNS address for both hosts, which only happens after route planning. We
       * can't coalesce connections that use a proxy, since proxies don't tell us the origin server's IP
       * address.
       */
      private fun routeMatchesAny(candidates: List<Route>): Boolean =
        candidates.any {
          it.proxy.type() == Proxy.Type.DIRECT &&
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  4. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 31 13:15:26 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  5. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/math/Quantiles.java

            low = mid;
          } else {
            return mid; // allRequired[mid] = centerFloor, so we can't get closer than that
          }
        }
    
        // Now pick the closest of the two candidates. Note that there is no rounding here.
        if (from + to - allRequired[low] - allRequired[high] > 0) {
          return high;
        } else {
          return low;
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 30.1K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt

                noNewExchangesEvent = !candidate.noNewExchanges
                candidate.noNewExchanges = true
                connectionUser.releaseConnectionNoEvents()
              }
              candidate.noNewExchanges || !sameHostAndPort(candidate.route().address.url) -> {
                connectionUser.releaseConnectionNoEvents()
              }
              else -> null
            }
          }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 12K 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 Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 21.3K bytes
    - Viewed (0)
  9. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 18 15:05:43 UTC 2025
    - 22.8K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/math/LongMathTest.java

          for (long candidate : roundToDoubleTestCandidates) {
            assertThat(LongMath.roundToDouble(candidate, roundingMode))
                .isEqualTo(BigIntegerMath.roundToDouble(BigInteger.valueOf(candidate), roundingMode));
          }
        }
      }
    
      @GwtIncompatible
      public void testRoundToDoubleAgainstBigIntegerUnnecessary() {
        for (long candidate : roundToDoubleTestCandidates) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 31.4K bytes
    - Viewed (0)
Back to top