Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 294 for gwon (0.14 sec)

  1. guava-tests/test/com/google/common/cache/CacheEvictionTest.java

        assertThat(cache.asMap().keySet()).containsExactly(2, 4);
    
        CacheTesting.processPendingNotifications(cache);
        assertThat(removalListener.getCount()).isEqualTo(1);
    
        // 5 won't be cached, won't dump cache
        assertThat(cache.getUnchecked(5)).isEqualTo(5);
        assertThat(cache.asMap().keySet()).containsExactly(2, 4);
    
        CacheTesting.processPendingNotifications(cache);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 14.9K bytes
    - Viewed (0)
  2. android/guava-testlib/test/com/google/common/collect/testing/MyTester.java

     * annotations even on JUnit 3 tests.
     *
     * TODO(b/225350400): Remove @Ignore, which doesn't seem like it should be necessary and probably
     * soon won't be.
     */
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    @Ignore
    public final class MyTester extends AbstractTester<@Nullable Void> {
      static int timesTestClassWasRun = 0;
    
      public void testNothing() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 17 14:48:57 GMT 2023
    - 1.3K bytes
    - Viewed (0)
  3. docs/en/docs/advanced/response-directly.md

    !!! tip
        `JSONResponse` itself is a sub-class of `Response`.
    
    And when you return a `Response`, **FastAPI** will pass it directly.
    
    It won't do any data conversion with Pydantic models, it won't convert the contents to any type, etc.
    
    This gives you a lot of flexibility. You can return any data type, override any data declaration or validation, etc.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Aug 29 14:02:58 GMT 2020
    - 3K bytes
    - Viewed (0)
  4. docs/en/docs/advanced/custom-response.md

    ```Python hl_lines="2  7  19"
    {!../../../docs_src/custom_response/tutorial003.py!}
    ```
    
    !!! warning
        A `Response` returned directly by your *path operation function* won't be documented in OpenAPI (for example, the `Content-Type` won't be documented) and won't be visible in the automatic interactive docs.
    
    !!! info
        Of course, the actual `Content-Type` header, status code, etc, will come from the `Response` object you returned.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  5. guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java

                return new Iterator<Integer>() {
                  @Override
                  public void remove() {
                    // We should throw here, but we won't!
                  }
    
                  @Override
                  public Integer next() {
                    // We should throw here, but we won't!
                    return 0;
                  }
    
                  @Override
                  public boolean hasNext() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 12:41:04 GMT 2023
    - 10.4K bytes
    - Viewed (0)
  6. docs/features/events.md

    ### EventListener.Factory
    
    In the preceding example we used a field, `callStartNanos`, to track the elapsed time of each event. This is handy, but it won’t work if multiple calls are executing concurrently. To accommodate this, use a `Factory` to create a new `EventListener` instance for each `Call`. This allows each listener to keep call-specific state.
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 7.7K bytes
    - Viewed (0)
  7. guava-testlib/test/com/google/common/collect/testing/MyTester.java

     * annotations even on JUnit 3 tests.
     *
     * TODO(b/225350400): Remove @Ignore, which doesn't seem like it should be necessary and probably
     * soon won't be.
     */
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    @Ignore
    public final class MyTester extends AbstractTester<@Nullable Void> {
      static int timesTestClassWasRun = 0;
    
      public void testNothing() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 14:48:57 GMT 2023
    - 1.3K bytes
    - Viewed (0)
  8. ci/official/debug_tfci.sh

    # ==============================================================================
    # This script dumps some information about the environment. It's most useful
    # for verifying changes to the TFCI scripts system, and most users won't need
    # to interact with it at all.
    source "${BASH_SOURCE%/*}/utilities/setup.sh"
    
    echo "==TFCI== env outside of tfrun:"
    env
    echo "==TFCI== env inside of tfrun:"
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Nov 01 19:54:25 GMT 2023
    - 1022 bytes
    - Viewed (0)
  9. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/upgrades/UpgradedProperty.java

     * limitations under the License.
     */
    
    package gradlebuild.binarycompatibility.upgrades;
    
    import com.google.common.collect.ImmutableList;
    import com.google.gson.annotations.SerializedName;
    import japicmp.model.JApiMethod;
    
    import java.util.List;
    import java.util.Objects;
    
    public class UpgradedProperty {
        private final String propertyName;
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Apr 23 08:40:36 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/static-files.md

    This is different from using an `APIRouter` as a mounted application is completely independent. The OpenAPI and docs from your main application won't include anything from the mounted application, etc.
    
    You can read more about this in the [Advanced User Guide](../advanced/index.md){.internal-link target=_blank}.
    
    ## Details
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jan 11 19:56:09 GMT 2024
    - 1.6K bytes
    - Viewed (0)
Back to top