Search Options

Results per page
Sort
Preferred Languages
Advance

Results 441 - 450 of 589 for barT (0.06 sec)

  1. guava/src/com/google/common/collect/RangeMap.java

       *
       * <p>For example, if {@code rangeMap} had the entries {@code [1, 5] => "foo", (6, 8) => "bar",
       * (10, ∞) => "baz"} then {@code rangeMap.subRangeMap(Range.open(3, 12))} would return a range map
       * with the entries {@code (3, 5] => "foo", (6, 8) => "bar", (10, 12) => "baz"}.
       *
       * <p>The returned range map supports all optional operations that this range map supports, except
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/FilesTest.java

        assertEquals("", Files.getFileExtension("blah."));
        assertEquals("", Files.getFileExtension(".blah."));
        assertEquals("", Files.getFileExtension("/foo.bar/blah"));
        assertEquals("", Files.getFileExtension("/foo/.bar/blah"));
      }
    
      public void testGetNameWithoutExtension() {
        assertEquals("", Files.getNameWithoutExtension(".txt"));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/AtomicsTest.java

        assertThrows(NegativeArraySizeException.class, () -> Atomics.newReferenceArray(-1));
      }
    
      public void testNewReferenceArray_withStringArray() throws Exception {
        String[] array = {"foo", "bar", "baz"};
        AtomicReferenceArray<String> refArray = Atomics.newReferenceArray(array);
        for (int i = 0; i < array.length; ++i) {
          assertEquals(array[i], refArray.get(i));
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  4. docs/de/docs/tutorial/query-params-str-validations.md

    Dann, mit einer URL wie:
    
    ```
    http://localhost:8000/items/?q=foo&q=bar
    ```
    
    bekommen Sie alle `q`-*Query-Parameter*-Werte (`foo` und `bar`) in einer Python-Liste – `list` – in ihrer *Pfadoperation-Funktion*, im Funktionsparameter `q`, überreicht.
    
    Die Response für diese URL wäre also:
    
    ```JSON
    {
      "q": [
        "foo",
        "bar"
      ]
    }
    ```
    
    /// tip | "Tipp"
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  5. mockwebserver/src/test/java/mockwebserver3/CustomDispatcherTest.kt

        assertThat(requestsMade.size).isEqualTo(1)
      }
    
      @Test
      fun outOfOrderResponses() {
        val firstResponseCode = AtomicInteger()
        val secondResponseCode = AtomicInteger()
        val secondRequest = "/bar"
        val firstRequest = "/foo"
        val latch = CountDownLatch(1)
        val dispatcher: Dispatcher =
          object : Dispatcher() {
            override fun dispatch(request: RecordedRequest): MockResponse {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  6. docs/em/docs/tutorial/body-nested-models.md

    ```
    
    ////
    
    👉 🔜 ⛓ 👈 **FastAPI** 🔜 ⌛ 💪 🎏:
    
    ```JSON
    {
        "name": "Foo",
        "description": "The pretender",
        "price": 42.0,
        "tax": 3.2,
        "tags": ["rock", "metal", "bar"],
        "image": {
            "url": "http://example.com/baz.jpg",
            "name": "The Foo live"
        }
    }
    ```
    
    🔄, 🤸 👈 📄, ⏮️ **FastAPI** 👆 🤚:
    
    * 👨‍🎨 🐕‍🦺 (🛠️, ♒️), 🐦 🏷
    * 💽 🛠️
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/net/UrlEscapersTest.java

        // Plus for spaces
        assertEscaping(e, "+", ' ');
        assertEscaping(e, "%2B", '+');
    
        assertEquals("safe+with+spaces", e.escape("safe with spaces"));
        assertEquals("foo%40bar.com", e.escape("foo@bar.com"));
      }
    
      public void testUrlPathSegmentEscaper() {
        UnicodeEscaper e = (UnicodeEscaper) urlPathSegmentEscaper();
        assertPathEscaper(e);
        assertUnescaped(e, '+');
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 17:53:22 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/dfs/DfsReferralDataImpl.java

            return dr;
        }
    
    
        /*
         * Split DFS path like \fs1.example.com\root5\link2\foo\bar.txt into at
         * most 3 components (not including the first index which is always empty):
         * result[0] = ""
         * result[1] = "fs1.example.com"
         * result[2] = "root5"
         * result[3] = "link2\foo\bar.txt"
         */
        private static int dfsPathSplit ( String path, String[] result ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Nov 13 15:13:49 UTC 2021
    - 11K bytes
    - Viewed (0)
  9. docs/ko/docs/tutorial/response-model.md

    ///
    
    #### 기본값이 있는 필드를 갖는 값의 데이터
    
    하지만 모델의 필드가 기본값이 있어도 ID가 `bar`인 항목(items)처럼 데이터가 값을 갖는다면:
    
    ```Python hl_lines="3  5"
    {
        "name": "Bar",
        "description": "The bartenders",
        "price": 62,
        "tax": 20.2
    }
    ```
    
    응답에 해당 값들이 포함됩니다.
    
    #### 기본값과 동일한 값을 갖는 데이터
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  10. docs/zh/docs/advanced/advanced-dependencies.md

    ```
    
    本例中,**FastAPI** 不使用 `__init__`,我们要直接在代码中使用。
    
    ## 创建实例
    
    使用以下代码创建类实例:
    
    ```Python hl_lines="16"
    {!../../docs_src/dependencies/tutorial011.py!}
    ```
    
    这样就可以**参数化**依赖项,它包含 `checker.fixed_content` 的属性 - `"bar"`。
    
    ## 把实例作为依赖项
    
    然后,不要再在 `Depends(checker)` 中使用 `Depends(FixedContentQueryChecker)`, 而是要使用 `checker`,因为依赖项是类实例 - `checker`,不是类。
    
    处理依赖项时,**FastAPI** 以如下方式调用 `checker`:
    
    ```Python
    checker(q="somequery")
    ```
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2K bytes
    - Viewed (0)
Back to top