Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1021 - 1030 of 3,796 for Get (0.05 sec)

  1. docs_src/app_testing/tutorial001.py

    from fastapi import FastAPI
    from fastapi.testclient import TestClient
    
    app = FastAPI()
    
    
    @app.get("/")
    async def read_main():
        return {"msg": "Hello World"}
    
    
    client = TestClient(app)
    
    
    def test_read_main():
        response = client.get("/")
        assert response.status_code == 200
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Mar 26 19:09:53 UTC 2020
    - 334 bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/api/admin/joblog/ApiAdminJoblogAction.java

                    .total(pager.getAllRecordCount()).status(ApiResult.Status.OK).result());
        }
    
        // GET /api/admin/joblog/log/{id}
        @Execute
        public JsonResponse<ApiResult> get$log(final String id) {
            return asJson(new ApiLogResponse().log(jobLogService.getJobLog(id).map(this::createEditBody).orElseGet(() -> {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  3. android/guava-tests/benchmark/com/google/common/math/QuantilesBenchmark.java

          dummy += algorithm.multipleQuantiles(ImmutableSet.of(90, 99), 100, dataset(i)).get(90);
        }
        return dummy;
      }
    
      @Benchmark
      double threePercentiles(int reps) {
        double dummy = 0.0;
        for (int i = 0; i < reps; i++) {
          dummy += algorithm.multipleQuantiles(ImmutableSet.of(90, 95, 99), 100, dataset(i)).get(90);
        }
        return dummy;
      }
    
      @Benchmark
      double allDeciles(int reps) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  4. guava-tests/benchmark/com/google/common/math/QuantilesBenchmark.java

          dummy += algorithm.multipleQuantiles(ImmutableSet.of(90, 99), 100, dataset(i)).get(90);
        }
        return dummy;
      }
    
      @Benchmark
      double threePercentiles(int reps) {
        double dummy = 0.0;
        for (int i = 0; i < reps; i++) {
          dummy += algorithm.multipleQuantiles(ImmutableSet.of(90, 95, 99), 100, dataset(i)).get(90);
        }
        return dummy;
      }
    
      @Benchmark
      double allDeciles(int reps) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/AbstractIndexedListIterator.java

      private final int size;
      private int position;
    
      /** Returns the element with the specified index. This method is called by {@link #next()}. */
      @ParametricNullness
      protected abstract E get(int index);
    
      /**
       * Constructs an iterator across a sequence of the given size whose initial position is 0. That
       * is, the first call to {@link #next()} will return the first element (or throw {@link
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jul 09 17:31:04 UTC 2021
    - 3.2K bytes
    - Viewed (0)
  6. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/io/DefaultToolchainsReader.java

            Objects.requireNonNull(input, "input cannot be null");
    
            try (Reader in = input) {
                InputSource source = (InputSource) options.get(InputSource.class.getName());
                return new PersistedToolchains(new MavenToolchainsStaxReader().read(in, isStrict(options), source));
            } catch (XMLStreamException e) {
                throw new ToolchainsParseException(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  7. build-logic/documentation/src/test/groovy/gradlebuild/docs/model/SimpleClassMetaDataRepositoryTest.groovy

            repository.find('class') == value
            repository.get('class') == value
        }
    
        def findReturnsNullForUnknownClass() {
            expect:
            repository.find('unknown') == null
        }
    
        def getFailsForUnknownClass() {
            given:
            repository.put('unkown', new TestDomainObject('unknown'))
    
            when:
            repository.get('unknown')
    
            then:
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Sat Apr 06 02:21:33 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/LinkedHashMultimapTest.java

      }
    
      private void assertOrderingReadOnly(Multimap<String, Integer> multimap) {
        assertThat(multimap.get("foo")).containsExactly(5, 3).inOrder();
        assertThat(multimap.get("bar")).containsExactly(4, 1).inOrder();
        assertThat(multimap.get("cow")).contains(2);
    
        assertThat(multimap.keySet()).containsExactly("foo", "bar", "cow").inOrder();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java

                                // older wagons throw this. Just get() instead
                                wagon.get(remotePath, temp);
    
                                downloaded = true;
                            }
                        } else {
                            wagon.get(remotePath, temp);
                            downloaded = true;
                        }
                    } finally {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 29.9K bytes
    - Viewed (0)
  10. docs/em/docs/index.md

        * 🦁 🎚.
        * 📄.
    
    ---
    
    👟 🔙 ⏮️ 📟 🖼, **FastAPI** 🔜:
    
    * ✔ 👈 📤 `item_id` ➡ `GET` &amp; `PUT` 📨.
    * ✔ 👈 `item_id` 🆎 `int` `GET` &amp; `PUT` 📨.
        * 🚥 ⚫️ 🚫, 👩‍💻 🔜 👀 ⚠, 🆑 ❌.
    * ✅ 🚥 📤 📦 🔢 🔢 📛 `q` ( `http://127.0.0.1:8000/items/foo?q=somequery`) `GET` 📨.
        *  `q` 🔢 📣 ⏮️ `= None`, ⚫️ 📦.
        * 🍵 `None` ⚫️ 🔜 🚚 (💪 💼 ⏮️ `PUT`).
    *  `PUT` 📨 `/items/{item_id}`, ✍ 💪 🎻:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 17.1K bytes
    - Viewed (0)
Back to top