Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 321 - 330 of 794 for fOo (0.02 seconds)

  1. guava-tests/test/com/google/common/collect/OrderingTest.java

        Integer foo = new Integer(Integer.MAX_VALUE - 10);
        Integer bar = new Integer(Integer.MAX_VALUE - 10);
    
        assertThat(foo).isNotSameInstanceAs(bar);
        assertThat(foo).isEqualTo(bar);
    
        List<Integer> list = asList(3, foo, bar, -1);
        List<Integer> result = numberOrdering.leastOf(list, list.size());
        assertEquals(ImmutableList.of(-1, 3, foo, bar), result);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 43.2K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/reflect/ClassPathTest.java

        ClassLoader classLoader = getClass().getClassLoader();
        assertThat(new ClassInfo(FILE, "Foo.class", classLoader).getSimpleName()).isEqualTo("Foo");
        assertThat(new ClassInfo(FILE, "a/b/Foo.class", classLoader).getSimpleName()).isEqualTo("Foo");
        assertThat(new ClassInfo(FILE, "a/b/Bar$Foo.class", classLoader).getSimpleName())
            .isEqualTo("Foo");
        assertThat(new ClassInfo(FILE, "a/b/Bar$1.class", classLoader).getSimpleName()).isEqualTo("");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 25.8K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/core/beans/util/CopyOptions.java

         * <th>{@literal Map} Property Name</th>
         * </tr>
         * <tr>
         * <td>{@literal foo}</td>
         * <td>{@literal foo}</td>
         * </tr>
         * <tr>
         * <td>{@literal foo_bar}</td>
         * <td>{@literal foo.bar}</td>
         * </tr>
         * <tr>
         * <td>{@literal foo_bar_baz}</td>
         * <td>{@literal foo.bar.baz}</td>
         * </tr>
         * </table>
         *
         * @param beanDelimiter
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Jul 05 00:11:05 GMT 2025
    - 17.5K bytes
    - Click Count (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt

            .build(),
        )
    
        val url = server.url("/same")
    
        // First QUERY request with body "foo"
        val request1 =
          Request
            .Builder()
            .url(url)
            .query("foo".toRequestBody())
            .cacheUrlOverride(url.newBuilder().addQueryParameter("body", "foo").build())
            .build()
        val response1 = client.newCall(request1).execute()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Mar 20 09:13:37 GMT 2026
    - 121K bytes
    - Click Count (0)
  5. docs_src/schema_extra_example/tutorial003_py310.py

        price: float
        tax: float | None = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(
        item_id: int,
        item: Item = Body(
            examples=[
                {
                    "name": "Foo",
                    "description": "A very nice Item",
                    "price": 35.4,
                    "tax": 3.2,
                }
            ],
        ),
    ):
        results = {"item_id": item_id, "item": item}
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 574 bytes
    - Click Count (0)
  6. docs/zh/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** 获得:
    
    * 对被嵌入的模型也适用的编辑器支持(自动补全等)
    * 数据转换
    * 数据校验
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 6.8K bytes
    - Click Count (0)
  7. docs_src/dependencies/tutorial002_py310.py

    from fastapi import Depends, FastAPI
    
    app = FastAPI()
    
    
    fake_items_db = [{"item_name": "Foo"}, {"item_name": "Bar"}, {"item_name": "Baz"}]
    
    
    class CommonQueryParams:
        def __init__(self, q: str | None = None, skip: int = 0, limit: int = 100):
            self.q = q
            self.skip = skip
            self.limit = limit
    
    
    @app.get("/items/")
    async def read_items(commons: CommonQueryParams = Depends(CommonQueryParams)):
        response = {}
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Jan 07 14:11:31 GMT 2022
    - 624 bytes
    - Click Count (0)
  8. docs_src/dependencies/tutorial004_py310.py

    from fastapi import Depends, FastAPI
    
    app = FastAPI()
    
    
    fake_items_db = [{"item_name": "Foo"}, {"item_name": "Bar"}, {"item_name": "Baz"}]
    
    
    class CommonQueryParams:
        def __init__(self, q: str | None = None, skip: int = 0, limit: int = 100):
            self.q = q
            self.skip = skip
            self.limit = limit
    
    
    @app.get("/items/")
    async def read_items(commons: CommonQueryParams = Depends()):
        response = {}
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Jan 07 14:11:31 GMT 2022
    - 607 bytes
    - Click Count (0)
  9. guava/src/com/google/common/base/Optional.java

       * {@code Optional} class. However, this common usage:
       *
       * {@snippet :
       * for (Foo foo : possibleFoo.asSet()) {
       *   doSomethingWith(foo);
       * }
       * }
       *
       * ... can be replaced with:
       *
       * {@snippet :
       * possibleFoo.ifPresent(foo -> doSomethingWith(foo));
       * }
       *
       * <p><b>Java 9 users:</b> some use cases can be written with calls to {@code optional.stream()}.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jun 04 13:03:16 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  10. android/guava-testlib/src/com/google/common/testing/EqualsTester.java

    /**
     * Tester for equals() and hashCode() methods of a class.
     *
     * <p>The simplest use case is:
     *
     * <pre>
     * new EqualsTester().addEqualityGroup(foo).testEquals();
     * </pre>
     *
     * <p>This tests {@code foo.equals(foo)}, {@code foo.equals(null)}, and a few other operations.
     *
     * <p>For more extensive testing, add multiple equality groups. Each group should contain objects
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 6.1K bytes
    - Click Count (0)
Back to Top