Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 611 - 620 of 3,502 for getC (0.03 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. docs_src/server_sent_events/tutorial001_py310.py

    ]
    
    
    @app.get("/items/stream", response_class=EventSourceResponse)
    async def sse_items() -> AsyncIterable[Item]:
        for item in items:
            yield item
    
    
    @app.get("/items/stream-no-async", response_class=EventSourceResponse)
    def sse_items_no_async() -> Iterable[Item]:
        for item in items:
            yield item
    
    
    @app.get("/items/stream-no-annotation", response_class=EventSourceResponse)
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 01 09:21:52 GMT 2026
    - 1.1K bytes
    - Click Count (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/SettingsBuilderRequest.java

    @Experimental
    @Immutable
    public interface SettingsBuilderRequest extends Request<ProtoSession> {
    
        /**
         * Gets the installation settings source.
         *
         * @return the installation settings source or {@code null} if none
         */
        @Nonnull
        Optional<Source> getInstallationSettingsSource();
    
        /**
         * Gets the project settings source.
         *
         * @return the project settings source or {@code null} if none
         */
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Feb 07 00:45:02 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  3. tests/test_swagger_ui_init_oauth.py

    swagger_ui_init_oauth = {"clientId": "the-foo-clients", "appName": "The Predendapp"}
    
    app = FastAPI(swagger_ui_init_oauth=swagger_ui_init_oauth)
    
    
    @app.get("/items/")
    async def read_items():
        return {"id": "foo"}
    
    
    client = TestClient(app)
    
    
    def test_swagger_ui():
        response = client.get("/docs")
        assert response.status_code == 200, response.text
        print(response.text)
        assert "ui.initOAuth" in response.text
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Aug 09 10:54:05 GMT 2020
    - 718 bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/DenseImmutableTable.java

        for (int i = 0; i < cellList.size(); i++) {
          Cell<R, C, V> cell = cellList.get(i);
          R rowKey = cell.getRowKey();
          C columnKey = cell.getColumnKey();
          // The requireNonNull calls are safe because we construct the indexes with indexMap.
          int rowIndex = requireNonNull(rowKeyToIndex.get(rowKey));
          int columnIndex = requireNonNull(columnKeyToIndex.get(columnKey));
          V existingValue = values[rowIndex][columnIndex];
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 9.6K bytes
    - Click Count (0)
  5. tests/test_deprecated_responses.py

        @app.get("/items")
        def get_items() -> Item:
            return Item(name="widget", price=9.99)
    
        return app
    
    
    def test_orjson_response_returns_correct_data():
        app = _make_orjson_app()
        client = TestClient(app)
        with warnings.catch_warnings():
            warnings.simplefilter("ignore", FastAPIDeprecationWarning)
            response = client.get("/items")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 22 16:34:59 GMT 2026
    - 2K bytes
    - Click Count (0)
  6. okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DnsOverHttpsTest.kt

          assertThat(ioe.cause!!).isInstanceOf<EOFException>()
        }
      }
    
      // TODO GET preferred order - with tests to confirm this
      // 1. successful fresh cached GET response
      // 2. unsuccessful (404, 500) fresh cached GET response
      // 3. successful network response
      // 4. successful stale cached GET response
      // 5. unsuccessful response
      @Test
      fun usesCache() {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  7. src/main/java/jcifs/internal/witness/WitnessUnregisterRequest.java

         */
        public WitnessUnregisterRequest() {
            // Default constructor
        }
    
        private String registrationId;
        private byte[] contextHandle;
    
        /**
         * Gets the registration ID to unregister.
         *
         * @return the registration ID
         */
        public String getRegistrationId() {
            return registrationId;
        }
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 24 00:12:28 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/thumbnail/impl/CommandGenerator.java

         */
        public void setCommandDestroyTimeout(final long commandDestroyTimeout) {
            this.commandDestroyTimeout = commandDestroyTimeout;
        }
    
        /**
         * Gets file extension from MIME type for creating temp files with proper extensions.
         * This helps ImageMagick correctly identify file formats.
         * @param mimeType The MIME type of the content.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jan 01 12:47:47 GMT 2026
    - 16.6K bytes
    - Click Count (0)
  9. src/main/java/jcifs/internal/smb2/create/LeaseV1CreateContextRequest.java

            this.leaseState = leaseState;
            this.leaseFlags = 0;
        }
    
        @Override
        public byte[] getName() {
            return CONTEXT_NAME_BYTES;
        }
    
        /**
         * Gets the lease key for this lease request
         * @return the lease key
         */
        public Smb2LeaseKey getLeaseKey() {
            return leaseKey;
        }
    
        /**
         * Sets the lease key for this lease request
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 02:21:31 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/WrappingExecutorServiceTest.java

          mock.assertLastMethodCalled("submit");
          f.get();
        }
        {
          MockExecutor mock = new MockExecutor();
          TestExecutor testExecutor = new TestExecutor(mock);
          Future<String> f = testExecutor.submit(doNothing(), RESULT_VALUE);
          mock.assertLastMethodCalled("submit");
          assertThat(f.get()).isEqualTo(RESULT_VALUE);
        }
        {
          MockExecutor mock = new MockExecutor();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 10.1K bytes
    - Click Count (0)
Back to Top