Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for headKey (0.06 sec)

  1. guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

        SortedSet<String> set = of("e", "f", "b", "d", "c");
        assertTrue(set.headSet("e") instanceof ImmutableSortedSet);
        assertThat(set.headSet("e")).containsExactly("b", "c", "d").inOrder();
        assertThat(set.headSet("g")).containsExactly("b", "c", "d", "e", "f").inOrder();
        assertSame(this.<String>of(), set.headSet("a"));
        assertSame(this.<String>of(), set.headSet("b"));
      }
    
      public void testOf_tailSet() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 46.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/FilteredCollectionsTestUtil.java

          for (List<Integer> contents : SAMPLE_INPUTS) {
            for (int i = 0; i < 10; i++) {
              assertEquals(
                  filter((C) createUnfiltered(contents).headSet(i), EVEN),
                  filter(createUnfiltered(contents), EVEN).headSet(i));
            }
          }
        }
    
        @SuppressWarnings("unchecked")
        public void testTailSet() {
          for (List<Integer> contents : SAMPLE_INPUTS) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 13K bytes
    - Viewed (0)
  3. cmd/api-response.go

    		w.Header().Get(xhttp.AmzRequestID), w.Header().Get(xhttp.AmzRequestHostID))
    	encodedErrorResponse := encodeResponse(errorResponse)
    	writeResponse(w, err.HTTPStatusCode, encodedErrorResponse, mimeXML)
    }
    
    func writeErrorResponseHeadersOnly(w http.ResponseWriter, err APIError) {
    	w.Header().Set(xMinIOErrCodeHeader, err.Code)
    	w.Header().Set(xMinIOErrDescHeader, "\""+err.Description+"\"")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 19:27:06 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ImmutableSortedSet.java

       *
       * <p>The {@link SortedSet#headSet} documentation states that a subset of a subset throws an
       * {@link IllegalArgumentException} if passed a {@code toElement} greater than an earlier {@code
       * toElement}. However, this method doesn't throw an exception in that situation, but instead
       * keeps the original {@code toElement}.
       */
      @Override
      public ImmutableSortedSet<E> headSet(E toElement) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 39.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

       *
       * <p>The {@link SortedSet#headSet} documentation states that a subset of a subset throws an
       * {@link IllegalArgumentException} if passed a {@code toElement} greater than an earlier {@code
       * toElement}. However, this method doesn't throw an exception in that situation, but instead
       * keeps the original {@code toElement}.
       */
      @Override
      public ImmutableSortedSet<E> headSet(E toElement) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/NavigableSetTestSuiteBuilder.java

        NavigableSet<E> createSubSet(SortedSet<E> sortedSet, E firstExclusive, E lastExclusive) {
          NavigableSet<E> set = (NavigableSet<E>) sortedSet;
          if (from == Bound.NO_BOUND && to == Bound.INCLUSIVE) {
            return set.headSet(lastInclusive, true);
          } else if (from == Bound.EXCLUSIVE && to == Bound.NO_BOUND) {
            return set.tailSet(firstExclusive, false);
          } else if (from == Bound.EXCLUSIVE && to == Bound.EXCLUSIVE) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Synchronized.java

          }
        }
    
        @Override
        public NavigableSet<E> headSet(E toElement, boolean inclusive) {
          synchronized (mutex) {
            return Synchronized.navigableSet(delegate().headSet(toElement, inclusive), mutex);
          }
        }
    
        @Override
        public SortedSet<E> headSet(E toElement) {
          return headSet(toElement, false);
        }
    
        @Override
        @CheckForNull
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 53.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/Synchronized.java

          }
        }
    
        @Override
        public NavigableSet<E> headSet(E toElement, boolean inclusive) {
          synchronized (mutex) {
            return Synchronized.navigableSet(delegate().headSet(toElement, inclusive), mutex);
          }
        }
    
        @Override
        public SortedSet<E> headSet(E toElement) {
          return headSet(toElement, false);
        }
    
        @Override
        @CheckForNull
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 57.2K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java

        @Override
        protected SortedSet<String> create(String[] elements) {
          List<String> list = Lists.newArrayList(elements);
          list.add("zzz");
          return ImmutableSortedSet.copyOf(list).headSet("zzy");
        }
      }
    
      public static class ImmutableSortedSetTailsetGenerator extends TestStringSortedSetGenerator {
        @Override
        protected SortedSet<String> create(String[] elements) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  10. ci/official/containers/ml_build/Dockerfile

    # When we use Patchelf versions <0.12, those shared libraries end up with a
    # corrupted PT_NOTE program header. This was fixed in v0.12, see https://github.com/NixOS/patchelf/commit/43a33482b501b0f5ee9da312aabfca3806570cc9.
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Oct 30 00:07:17 UTC 2024
    - 3.8K bytes
    - Viewed (0)
Back to top