Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 281 for encloses (0.06 sec)

  1. android/guava/src/com/google/common/collect/TreeRangeMap.java

        public void put(Range<K> range, V value) {
          checkArgument(
              subRange.encloses(range), "Cannot put range %s into a subRangeMap(%s)", range, subRange);
          TreeRangeMap.this.put(range, value);
        }
    
        @Override
        public void putCoalescing(Range<K> range, V value) {
          if (entriesByLowerBound.isEmpty() || !subRange.encloses(range)) {
            put(range, value);
            return;
          }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/RangeMap.java

       * for {@code asMapOfRanges().iterator().remove()}.
       *
       * <p>The returned range map will throw an {@link IllegalArgumentException} on an attempt to
       * insert a range not {@linkplain Range#encloses(Range) enclosed} by {@code range}.
       */
      // TODO(cpovirk): Consider documenting that IAE on the various methods that can throw it.
      RangeMap<K, V> subRangeMap(Range<K> range);
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/artifact/ArtifactScopeEnum.java

         * scope relationship function. Used by the graph conflict resolution policies
         *
         * @param scope a scope
         * @return true is supplied scope is an inclusive sub-scope of current one.
         */
        public boolean encloses(ArtifactScopeEnum scope) {
            final ArtifactScopeEnum s = checkScope(scope);
    
            // system scope is historic only - and simple
            if (id == system.id) {
                return scope.id == system.id;
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/TreeRangeSetTest.java

          for (Range<Integer> expectedRange : rangeSet.asRanges()) {
            if (expectedRange.encloses(query)) {
              expectEnclose = true;
              break;
            }
          }
    
          assertEquals(
              rangeSet + " was incorrect on encloses(" + query + ")",
              expectEnclose,
              rangeSet.encloses(query));
          assertEquals(
              rangeSet + " was incorrect on enclosesAll([" + query + "])",
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableRangeMap.java

      }
    
      @Override
      public ImmutableRangeMap<K, V> subRangeMap(final Range<K> range) {
        if (checkNotNull(range).isEmpty()) {
          return ImmutableRangeMap.of();
        } else if (ranges.isEmpty() || range.encloses(span())) {
          return this;
        }
        int lowerIndex =
            SortedLists.binarySearch(
                ranges,
                Range::upperBound,
                range.lowerBound,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/math/Quantiles.java

        // centerFloor and centerFloor + 1.
        int centerFloor = (from + to) >>> 1;
    
        // Do a binary search until we're down to the range of two which encloses centerFloor (unless
        // all values are lower or higher than centerFloor, in which case we find the two highest or
        // lowest respectively). If centerFloor is in allRequired, we will definitely find it. If not,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 17:02:53 UTC 2023
    - 29.9K bytes
    - Viewed (0)
  7. okhttp-testing-support/src/main/kotlin/okhttp3/CallEvent.kt

    @SuppressSignatureCheck
    sealed class CallEvent {
      abstract val timestampNs: Long
      abstract val call: Call
    
      val name: String
        get() = javaClass.simpleName
    
      /** Returns if the event closes this event, or null if this is no open event. */
      open fun closes(event: CallEvent): Boolean? = null
    
      data class ProxySelectStart(
        override val timestampNs: Long,
        override val call: Call,
        val url: HttpUrl,
      ) : CallEvent()
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  8. okhttp-testing-support/src/main/kotlin/okhttp3/ConnectionEvent.kt

    @SuppressSignatureCheck
    sealed class ConnectionEvent {
      abstract val timestampNs: Long
      open val connection: Connection?
        get() = null
    
      /** Returns if the event closes this event, or null if this is no open event. */
      open fun closes(event: ConnectionEvent): Boolean? = null
    
      val name: String
        get() = javaClass.simpleName
    
      data class ConnectStart(
        override val timestampNs: Long,
        val route: Route,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  9. internal/bucket/lifecycle/expiration.go

    	if err != nil {
    		return err
    	}
    	if numDays <= 0 {
    		return errLifecycleInvalidDays
    	}
    	*eDays = ExpirationDays(numDays)
    	return nil
    }
    
    // MarshalXML encodes number of days to expire if it is non-zero and
    // encodes empty string otherwise
    func (eDays ExpirationDays) MarshalXML(e *xml.Encoder, startElement xml.StartElement) error {
    	if eDays == 0 {
    		return nil
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Feb 21 20:28:34 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  10. internal/bucket/lifecycle/transition.go

    		return errTransitionDateNotMidnight
    	}
    
    	*tDate = TransitionDate{trnDate}
    	return nil
    }
    
    // MarshalXML encodes expiration date if it is non-zero and encodes
    // empty string otherwise
    func (tDate TransitionDate) MarshalXML(e *xml.Encoder, startElement xml.StartElement) error {
    	if tDate.Time.IsZero() {
    		return nil
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jan 10 17:07:49 UTC 2022
    - 5.1K bytes
    - Viewed (0)
Back to top