Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 314 for Inverse (0.05 sec)

  1. guava-testlib/src/com/google/common/testing/CollectorTester.java

        List<T> list = Arrays.asList(inputs);
        doExpectCollects(expectedResult, list);
        if (collector.characteristics().contains(Collector.Characteristics.UNORDERED)) {
          Collections.reverse(list);
          doExpectCollects(expectedResult, list);
        }
        return this;
      }
    
      private void doExpectCollects(R expectedResult, List<T> inputs) {
        for (CollectStrategy scheme : CollectStrategy.values()) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 17:40:56 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public class MinMaxPriorityQueueTest extends TestCase {
      private static final Ordering<Integer> SOME_COMPARATOR = Ordering.<Integer>natural().reverse();
    
      @J2ktIncompatible
      @GwtIncompatible // suite
      public static Test suite() {
        TestSuite suite = new TestSuite();
        suite.addTestSuite(MinMaxPriorityQueueTest.class);
        suite.addTest(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35.9K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

         */
        final Stack<E> previousElements = new Stack<>();
    
        /**
         * {@link #nextElements} if {@code next()} was called more recently then {@code previous},
         * {@link #previousElements} if the reverse is true, or -- overriding both of these -- {@code
         * null} if {@code remove()} or {@code add()} has been called more recently than either. We use
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_separate_openapi_schemas/test_tutorial001_py310.py

        assert response.status_code == 200, response.text
        assert response.json() == [
            {
                "name": "Portal Gun",
                "description": "Device to travel through the multi-rick-verse",
            },
            {"name": "Plumbus", "description": None},
        ]
    
    
    @needs_py310
    @needs_pydanticv2
    def test_openapi_schema(client: TestClient) -> None:
        response = client.get("/openapi.json")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Sep 28 04:14:40 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_separate_openapi_schemas/test_tutorial002.py

        assert response.status_code == 200, response.text
        assert response.json() == [
            {
                "name": "Portal Gun",
                "description": "Device to travel through the multi-rick-verse",
            },
            {"name": "Plumbus", "description": None},
        ]
    
    
    @needs_pydanticv2
    def test_openapi_schema(client: TestClient) -> None:
        response = client.get("/openapi.json")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Aug 25 19:10:22 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/DescendingMultiset.java

      @Override
      public Comparator<? super E> comparator() {
        Comparator<? super E> result = comparator;
        if (result == null) {
          return comparator = Ordering.from(forwardMultiset().comparator()).<E>reverse();
        }
        return result;
      }
    
      @LazyInit @CheckForNull private transient NavigableSet<E> elementSet;
    
      @Override
      public NavigableSet<E> elementSet() {
        NavigableSet<E> result = elementSet;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jun 26 21:02:13 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  7. docs/debugging/inspect/export.go

    				// Read metadata CRC (added in v2, ignore if not found)
    				b = nbuf
    			}
    
    			nVers, v, e := decodeXLHeaders(v)
    			if e != nil {
    				return nil, e
    			}
    			type version struct {
    				Idx      int
    				Header   json.RawMessage
    				Metadata json.RawMessage
    			}
    			versions := make([]version, nVers)
    			e = decodeVersions(v, nVers, func(idx int, hdr, meta []byte) error {
    				var header xlMetaV2VersionHeaderV2
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Nov 08 15:58:02 UTC 2022
    - 9.1K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/primitives/BytesTest.java

        input = Arrays.copyOf(input, input.length);
        Bytes.reverse(input);
        assertThat(input).isEqualTo(expectedOutput);
      }
    
      private static void testReverse(byte[] input, int fromIndex, int toIndex, byte[] expectedOutput) {
        input = Arrays.copyOf(input, input.length);
        Bytes.reverse(input, fromIndex, toIndex);
        assertThat(input).isEqualTo(expectedOutput);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  9. cmd/xl-storage-format-utils_test.go

    		}
    	}
    
    	// versions are stored in xl-meta sorted in descending order of their ModTime
    	slices.Reverse(allVersionIDs)
    
    	fivs, err = getFileInfoVersions(buf, basefi.Volume, basefi.Name, true)
    	if err != nil {
    		t.Fatalf("getFileInfoVersions failed: %v", err)
    	}
    	if !chkNumVersions(fivs.Versions) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_separate_openapi_schemas/test_tutorial002_py310.py

        assert response.status_code == 200, response.text
        assert response.json() == [
            {
                "name": "Portal Gun",
                "description": "Device to travel through the multi-rick-verse",
            },
            {"name": "Plumbus", "description": None},
        ]
    
    
    @needs_py310
    @needs_pydanticv2
    def test_openapi_schema(client: TestClient) -> None:
        response = client.get("/openapi.json")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Aug 25 19:10:22 UTC 2023
    - 4.9K bytes
    - Viewed (0)
Back to top