Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 158 for isSorted (1.9 sec)

  1. cmd/metacache-entries_test.go

    	o := entries.entries()
    	if !o.isSorted() {
    		t.Fatal("Expected sorted objects")
    	}
    
    	// Swap first and last
    	o[0], o[len(o)-1] = o[len(o)-1], o[0]
    	if o.isSorted() {
    		t.Fatal("Expected unsorted objects")
    	}
    
    	sorted := o.sort()
    	if !o.isSorted() {
    		t.Fatal("Expected sorted o objects")
    	}
    	if !sorted.entries().isSorted() {
    		t.Fatal("Expected sorted wrapped objects")
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 31.6K bytes
    - Viewed (0)
  2. cmd/metacache-entries.go

    }
    
    // sort entries by name.
    // m is sorted and a sorted metadata object is returned.
    // Changes to m will also be reflected in the returned object.
    func (m metaCacheEntries) sort() metaCacheEntriesSorted {
    	if m.isSorted() {
    		return metaCacheEntriesSorted{o: m}
    	}
    	sort.Slice(m, m.less)
    	return metaCacheEntriesSorted{o: m}
    }
    
    // isSorted returns whether the objects are sorted.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/math/Quantiles.java

     * double myMedian = median().compute(myDataset);
     * }
     *
     * where {@link #median()} has been statically imported.
     *
     * <p>To compute the 99th percentile:
     *
     * {@snippet :
     * double myPercentile99 = percentiles().index(99).compute(myDataset);
     * }
     *
     * where {@link #percentiles()} has been statically imported.
     *
     * <p>To compute median and the 90th and 99th percentiles:
     *
     * {@snippet :
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 30.1K bytes
    - Viewed (0)
  4. docs/en/docs/reference/middleware.md

    ::: fastapi.middleware.cors.CORSMiddleware
    
    It can be imported from `fastapi`:
    
    ```python
    from fastapi.middleware.cors import CORSMiddleware
    ```
    
    ::: fastapi.middleware.gzip.GZipMiddleware
    
    It can be imported from `fastapi`:
    
    ```python
    from fastapi.middleware.gzip import GZipMiddleware
    ```
    
    ::: fastapi.middleware.httpsredirect.HTTPSRedirectMiddleware
    
    It can be imported from `fastapi`:
    
    ```python
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 991 bytes
    - Viewed (0)
  5. CHANGELOG/CHANGELOG-1.24.md

    - CRD `x-kubernetes-validations` rules now support the CEL functions: `isSorted`, `sum`, `min`, `max`, `indexOf`, `lastIndexOf`, `find` and `findAll`. ([#108312](https://github.com/kubernetes/kubernetes/pull/108312), [@jpbetz](https://github.com/jpbetz))
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Thu Aug 24 00:02:43 UTC 2023
    - 473.4K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableSortedMultiset.java

       * Returns an immutable sorted multiset containing the given elements sorted by their natural
       * ordering.
       *
       * @throws NullPointerException if any element is null
       */
      public static <E extends Comparable<? super E>> ImmutableSortedMultiset<E> of(
          E e1, E e2, E e3, E e4) {
        return copyOf(Ordering.natural(), Arrays.asList(e1, e2, e3, e4));
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 29.5K bytes
    - Viewed (0)
  7. docs/distributed/iam-import-with-openid.sh

    fi
    
    pkill minio
    docker rm -f $(docker ps -aq)
    rm -rf /tmp/openid{1..4}
    
    export MC_HOST_myminio="http://minioadmin:minioadmin@localhost:22000"
    # The service account used below is already present in iam configuration getting imported
    export MC_HOST_myminio1="http://dillon-service-2:dillon-service-2@localhost:22000"
    
    # Start MinIO instance
    export CI=true
    
    if [ ! -f ./mc ]; then
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Sep 17 16:45:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/SortedSetMultimap.java

       * not necessarily a {@link SortedMap}: A {@code SortedSetMultimap} must expose the <i>values</i>
       * for a given key in sorted order, but it need not expose the <i>keys</i> in sorted order.
       * Individual {@code SortedSetMultimap} implementations, like those built with {@link
       * MultimapBuilder#treeKeys()}, may make additional guarantees.
       */
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/SampleElements.java

      public static class Chars extends SampleElements<Character> {
        public Chars() {
          // elements aren't sorted, to better test SortedSet iteration ordering
          super('b', 'a', 'c', 'd', 'e');
        }
      }
    
      public static class Enums extends SampleElements<AnEnum> {
        public Enums() {
          // elements aren't sorted, to better test SortedSet iteration ordering
          super(AnEnum.B, AnEnum.A, AnEnum.C, AnEnum.D, AnEnum.E);
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  10. docs/en/docs/reference/exceptions.md

    You can use:
    
    * `HTTPException`
    * `WebSocketException`
    
    These exceptions can be imported directly from `fastapi`:
    
    ```python
    from fastapi import HTTPException, WebSocketException
    ```
    
    ::: fastapi.HTTPException
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 597 bytes
    - Viewed (0)
Back to top