Search Options

Results per page
Sort
Preferred Languages
Advance

Results 351 - 360 of 585 for thrice (0.04 sec)

  1. android/guava-tests/test/com/google/common/primitives/FloatsTest.java

        List<Float> one = Arrays.asList(1.0f);
        assertThat(Floats.toArray(one)).isEqualTo(ARRAY1);
    
        float[] array = {0.0f, 1.0f, 3.0f};
    
        List<Float> three = Arrays.asList(0.0f, 1.0f, 3.0f);
        assertThat(Floats.toArray(three)).isEqualTo(array);
    
        assertThat(Floats.toArray(Floats.asList(array))).isEqualTo(array);
      }
    
      public void testToArray_threadSafe() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/primitives/IntsTest.java

        assertThat(Ints.toArray(one)).isEqualTo(ARRAY1);
    
        int[] array = {(int) 0, (int) 1, (int) 0xdeadbeef};
    
        List<Integer> three = Arrays.asList((int) 0, (int) 1, (int) 0xdeadbeef);
        assertThat(Ints.toArray(three)).isEqualTo(array);
    
        assertThat(Ints.toArray(Ints.asList(array))).isEqualTo(array);
      }
    
      public void testToArray_threadSafe() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/primitives/FloatsTest.java

        List<Float> one = Arrays.asList(1.0f);
        assertThat(Floats.toArray(one)).isEqualTo(ARRAY1);
    
        float[] array = {0.0f, 1.0f, 3.0f};
    
        List<Float> three = Arrays.asList(0.0f, 1.0f, 3.0f);
        assertThat(Floats.toArray(three)).isEqualTo(array);
    
        assertThat(Floats.toArray(Floats.asList(array))).isEqualTo(array);
      }
    
      public void testToArray_threadSafe() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.4K bytes
    - Viewed (0)
  4. docs/yo/docs/index.md

    ```Python hl_lines="4  9-12  25-27"
    from typing import Union
    
    from fastapi import FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        price: float
        is_offer: Union[bool, None] = None
    
    
    @app.get("/")
    def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    def read_item(item_id: int, q: Union[str, None] = None):
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 24.1K bytes
    - Viewed (0)
  5. docs/fa/docs/index.md

    ```Python hl_lines="4  9-12  25-27"
    from typing import Optional
    
    from fastapi import FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        price: float
        is_offer: Union[bool, None] = None
    
    
    @app.get("/")
    def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    def read_item(item_id: int, q: Union[str, None] = None):
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 26K bytes
    - Viewed (0)
  6. src/test/java/jcifs/EmptyIteratorTest.java

            assertFalse(emptyIterator.hasNext(), "Empty iterator should have no next element");
    
            // Note: Standard Iterator would throw NoSuchElementException, but this implementation returns null
            // This is a design choice for this specific implementation
            assertNull(emptyIterator.next(), "This implementation returns null instead of throwing");
    
            // Verify remove can be called (even though no-op)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
  7. docs/ja/docs/tutorial/body-nested-models.md

    そして、それを属性の型として使用することができます:
    
    {* ../../docs_src/body_nested_models/tutorial004.py hl[20] *}
    
    これは **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"
        }
    }
    ```
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableBiMap.java

       *
       * {@snippet :
       * static final ImmutableBiMap<String, Integer> WORD_TO_INT =
       *     new ImmutableBiMap.Builder<String, Integer>()
       *         .put("one", 1)
       *         .put("two", 2)
       *         .put("three", 3)
       *         .buildOrThrow();
       * }
       *
       * <p>For <i>small</i> immutable bimaps, the {@code ImmutableBiMap.of()} methods are even more
       * convenient.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 22.2K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/exception/WebApiExceptionTest.java

            assertNotNull(exception);
            assertTrue(exception instanceof java.io.Serializable);
        }
    
        public void test_stackTrace() {
            // Test that stack trace is preserved
            int statusCode = 500;
            String message = "Error occurred";
    
            WebApiException exception = new WebApiException(statusCode, message);
    
            assertNotNull(exception.getStackTrace());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/IteratorsTest.java

        Iterator<String> iterator = asList("one", "two", "three", "four", "five").iterator();
        IllegalArgumentException expected =
            assertThrows(IllegalArgumentException.class, () -> getOnlyElement(iterator));
        assertThat(expected)
            .hasMessageThat()
            .isEqualTo("expected one element but was: <one, two, three, four, five>");
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 54.4K bytes
    - Viewed (0)
Back to top