Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1181 - 1190 of 3,152 for get2 (0.03 sec)

  1. android/guava/src/com/google/common/collect/ImmutableList.java

        private final ImmutableList<E> list;
    
        Itr(ImmutableList<E> list, int index) {
          super(list.size(), index);
          this.list = list;
        }
    
        @Override
        protected E get(int index) {
          return list.get(index);
        }
      }
    
      @Override
      public int indexOf(@CheckForNull Object object) {
        return (object == null) ? -1 : Lists.indexOfImpl(this, object);
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 27.7K bytes
    - Viewed (0)
  2. tests/test_generate_unique_id_function.py

        )
        def post_router(item1: Item, item2: Item):
            return item1, item2  # pragma: nocover
    
        app.include_router(router)
        client = TestClient(app)
        response = client.get("/openapi.json")
        data = response.json()
        assert data == {
            "openapi": "3.1.0",
            "info": {"title": "FastAPI", "version": "0.1.0"},
            "paths": {
                "/": {
                    "post": {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Jan 13 15:10:26 UTC 2024
    - 66.7K bytes
    - Viewed (0)
  3. cni/pkg/repair/repaircontroller.go

    	// This will get a network namespace ID. This ID is scoped to the network namespace we running in.
    	// As such, we need to be in the host namespace: the CNI pod namespace has no relation to the users pod namespace.
    	netns, err := runInHost(func() (string, error) { return getPodNetNs(pod) })
    	if err != nil {
    		m.With(resultLabel.Value(resultFail)).Increment()
    		return fmt.Errorf("get netns: %v", err)
    	}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Sat Feb 10 00:31:55 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/SuggestHelper.java

                return false;
            }
            refresh();
            return true;
        }
    
        public boolean deleteDocumentWords() {
            final SuggestDeleteResponse response = suggester.indexer().deleteDocumentWords();
            if (response.hasError()) {
                logger.warn("Failed to delete document words.", response.getErrors().get(0));
                return false;
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  5. docs/fr/docs/index.md

    * Valider que `item_id` existe dans le chemin des requêtes `GET` et `PUT`.
    * Valider que `item_id` est de type `int` pour les requêtes `GET` et `PUT`.
        * Si ce n'est pas le cas, le client voit une erreur utile et claire.
    * Vérifier qu'il existe un paramètre de requête facultatif nommé `q` (comme dans `http://127.0.0.1:8000/items/foo?q=somequery`) pour les requêtes `GET`.
        * Puisque le paramètre `q` est déclaré avec `= None`, il est facultatif.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 22K bytes
    - Viewed (0)
  6. docs/zh-hant/docs/index.md

        - 數據模型
        - ...還有其他更多
    - 自動生成的 API 文件,包含 2 種不同的使用介面:
        - Swagger UI
        - ReDoc
    
    ---
    
    回到前面的的程式碼範例,**FastAPI** 還會:
    
    - 驗證 `GET` 和 `PUT` 請求路徑中是否包含 `item_id`。
    - 驗證 `GET` 和 `PUT` 請求中的 `item_id` 是否是 `int` 型別。
        - 如果驗證失敗,將會返回清楚有用的錯誤訊息。
    - 查看 `GET` 請求中是否有命名為 `q` 的查詢參數 (例如 `http://127.0.0.1:8000/items/foo?q=somequery`)。
        - 因為 `q` 參數被宣告為 `= None`,所以是選填的。
        - 如果沒有宣告 `None`,則此參數將會是必填 (例如 `PUT` 範例的請求 body)。
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 18.8K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/ReflectionFreeAssertThrows.java

        Predicate<Throwable> predicate = INSTANCE_OF.get(expectedThrowable);
        if (predicate == null) {
          throw new IllegalArgumentException(
              expectedThrowable
                  + " is not yet supported by ReflectionFreeAssertThrows. Add an entry for it in the"
                  + " map in that class.");
        }
        Object result;
        try {
          result = supplier.get();
        } catch (Throwable t) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/package-info.java

     *       {@linkplain SetMultimap#get collection of values} associated with a given key fulfills the
     *       {@link java.util.Set} contract.
     *   <dt>{@link SortedSetMultimap}
     *   <dd>An extension of {@link SetMultimap} for which the {@linkplain SortedSetMultimap#get
     *       collection values} associated with a given key is a {@link java.util.SortedSet}.
     *   <dt>{@link BiMap}
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jul 06 16:29:45 UTC 2023
    - 5K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/package-info.java

     *       {@linkplain SetMultimap#get collection of values} associated with a given key fulfills the
     *       {@link java.util.Set} contract.
     *   <dt>{@link SortedSetMultimap}
     *   <dd>An extension of {@link SetMultimap} for which the {@linkplain SortedSetMultimap#get
     *       collection values} associated with a given key is a {@link java.util.SortedSet}.
     *   <dt>{@link BiMap}
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jul 06 16:29:45 UTC 2023
    - 5K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/core/io/TraverserUtilTest.java

            traverser.forEach((ResourceHandler) (path, is) -> list.add(path));
            list.sort((s1, s2) -> s1.compareTo(s2));
            assertThat(list.size(), is(2));
            assertThat(list.get(0), is("junit/textui/ResultPrinter.class"));
            assertThat(list.get(1), is("junit/textui/TestRunner.class"));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testFromRootPackage_FileSystem() throws Exception {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 6.4K bytes
    - Viewed (0)
Back to top